Real-time clock toggle: per-event use_realtime_clock flag
- Migration 20260834000000: events.use_realtime_clock (boolean, default false) - Admin: Real-time clock toggle in the Events create/edit modal - Convivo: useEvent picks new Date() vs simulated DEFAULT_NOW from the flag; Home shows a 'Demo clock' badge only in simulated mode - Docs: app-structure, admin-app, schema, next-steps
This commit is contained in:
1 parent
a5ad9795ee
commit
5ac0aa3f57
11 files changed
+113
-23
No files matched your search
@@ -152,6 +152,7 @@ export async function upsertEvent(
|
||||
end_date: string;
|
||||
location?: string | null;
|
||||
sessionize_endpoint?: string | null;
|
||||
use_realtime_clock?: boolean;
|
||||
},
|
||||
): Promise<void> {
|
||||
if (id) {
|
||||
|
||||
@@ -31,6 +31,8 @@ export interface Event {
|
||||
end_date: string;
|
||||
location: string | null;
|
||||
is_active: boolean;
|
||||
/** When true, the Convivo app uses the real system clock for slot status. */
|
||||
use_realtime_clock: boolean;
|
||||
/** Sessionize API URL for this event (e.g. .../api/v2/<id>/view/All). */
|
||||
sessionize_endpoint: string | null;
|
||||
/** When the Sessionize sync last ran for this event. */
|
||||
|
||||
Reference in new issue
Block a user