Productionize EventSphere platform
This commit is contained in:
16
packages/shared/src/contracts.ts
Normal file
16
packages/shared/src/contracts.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export type EventStatus = "draft" | "active" | "closed";
|
||||
export interface EventRecord {
|
||||
id: string;
|
||||
name: string;
|
||||
slug: string;
|
||||
status: EventStatus;
|
||||
startsAt: string;
|
||||
venue: string;
|
||||
}
|
||||
export interface AttendeeRecord {
|
||||
id: string;
|
||||
fullName: string;
|
||||
email: string;
|
||||
company?: string;
|
||||
status: "invited" | "registered" | "approved" | "checked_in";
|
||||
}
|
||||
Reference in New Issue
Block a user