Archived
WIP 1.51.9: frontend on v2 for series, passes, bundles, coupons, campuses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ls1vMdg2GYqbnKZmPaX1ot
This commit is contained in:
@@ -194,7 +194,7 @@ export type Event = {
|
||||
export type EventSeriesRef = { id: string; name: string; slug: string };
|
||||
export type NextInSeries = { id: string; title: string; startDate: string; endDate: string; location?: string | null };
|
||||
|
||||
/** GET /api/series (supervisors): a series with its events and number of followers. */
|
||||
/** GET /api/v2/series (supervisors): a series with its events and number of followers. */
|
||||
export type EventSeries = EventSeriesRef & {
|
||||
description: string | null;
|
||||
picture: string | null;
|
||||
@@ -225,7 +225,7 @@ export type SeasonPassPurchase = {
|
||||
registrations: { id: string; status: string; event: { id: string; title: string; startDate: string } }[];
|
||||
};
|
||||
|
||||
/** GET /api/series/:id/compare — one row per event in the series, oldest first. */
|
||||
/** GET /api/v2/series/{id}/compare — one row per event in the series, oldest first. */
|
||||
export type SeriesComparisonRow = {
|
||||
eventId: string; title: string; startDate: string; endDate: string; campus?: Event["campus"]; isActive: boolean;
|
||||
sessions: number; registrations: number; tickets: number; income: number; checkedIn: number; attendanceRate: number | null;
|
||||
|
||||
Reference in New Issue
Block a user