Checkpoint for implementing OH Schedule

This commit is contained in:
Antoine Phan
2025-07-08 17:47:54 -04:00
parent 0639f07bf7
commit 9c3e2fad64
7 changed files with 123 additions and 65 deletions

42
src/lib/schemas.ts Normal file
View File

@@ -0,0 +1,42 @@
export interface EventPost {
id: string;
title: string;
description: string;
date: string;
time: string;
location: string;
image: string;
link: string;
category: string;
payment: string; // event payment link (e.g., Zeffy)
}
export interface CouncilMember {
role: string;
name: string;
email: string;
image: string;
major: string;
year: string;
}
import type { InputValue } from '@portabletext/svelte';
export type HomepageCMSResponse = {
description: InputValue;
councilPhoto: string;
faqs: {
question: string;
answer: string;
}[];
};
export type OhCMSResponse = {
day: string;
startTime: string;
endTime: string;
host: {
name: string;
position: string;
};
}[];