@happyvertical/smrt-events 0.55.11 → 0.55.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +1 -1
- package/dist/smrt-knowledge.json +3 -3
- package/package.json +14 -14
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
18
18
|
};
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/__smrt-register__.ts
|
|
21
|
-
ObjectRegistry.registerPackageManifest(JSON.parse(`{"version":"1.0.0","timestamp":0,"packageName":"@happyvertical/smrt-events","packageVersion":"0.55.11","objects":{"@happyvertical/smrt-events:EventAssetCollection":{"name":"eventassetcollection","className":"EventAssetCollection","qualifiedName":"@happyvertical/smrt-events:EventAssetCollection","collection":"eventassets","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventAssetCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"byRight":{"name":"byRight","async":true,"parameters":[{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<TItem[]>","isStatic":false,"isPublic":true},"byLeft":{"name":"byLeft","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<TItem[]>","isStatic":false,"isPublic":true},"attach":{"name":"attach","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionAttachOptions","optional":true}],"returnType":"Promise<TItem>","isStatic":false,"isPublic":true},"detach":{"name":"detach","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"setLinks":{"name":"setLinks","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightIds","type":"string[]","optional":false},{"name":"opts","type":"JunctionAttachOptions","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"getAssets":{"name":"getAssets","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<Asset[]>","isStatic":false,"isPublic":true},"addAsset":{"name":"addAsset","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"asset","type":"Asset","optional":false},{"name":"relationship","type":"any","optional":true,"default":"attachment"},{"name":"sortOrder","type":"any","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"removeAsset":{"name":"removeAsset","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"assetId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true}},"decoratorConfig":{"api":false,"mcp":false,"cli":false,"tableName":"event_assets"},"extends":"SmrtJunction","extendsTypeArg":"EventAsset","exportName":"EventAssetCollection","collectionExportName":"EventAssetCollectionCollection","schema":{"tableName":"event_assets","ddl":"CREATE TABLE IF NOT EXISTS \\"event_assets\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"event_id\\" UUID NOT NULL,\\n \\"asset_id\\" UUID NOT NULL,\\n \\"relationship\\" TEXT NOT NULL,\\n \\"sort_order\\" INTEGER NOT NULL DEFAULT 0\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false,"unique":false},"event_id":{"type":"UUID","referenceKind":"foreignKey","notNull":true,"unique":false,"foreignKey":{"table":"events","column":"id","onDelete":"CASCADE","onUpdate":"CASCADE"}},"asset_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":true,"unique":false},"relationship":{"type":"TEXT","notNull":true,"unique":false},"sort_order":{"type":"INTEGER","notNull":true,"unique":false,"default":0}},"indexes":[{"name":"event_assets_event_id_asset_id_idx","columns":["event_id","asset_id","relationship"],"unique":true},{"name":"event_assets_slug_context_idx","columns":["slug","context"]},{"name":"event_assets_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_assets_asset_id_idx","columns":["asset_id"]}],"version":"aeebedc6"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventCollection":{"name":"eventcollection","className":"EventCollection","qualifiedName":"@happyvertical/smrt-events:EventCollection","collection":"events","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"getBySeriesId":{"name":"getBySeriesId","async":true,"parameters":[{"name":"seriesId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByPlace":{"name":"getByPlace","async":true,"parameters":[{"name":"placeId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByDateRange":{"name":"getByDateRange","async":true,"parameters":[{"name":"startDate","type":"Date","optional":false},{"name":"endDate","type":"Date","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getUpcoming":{"name":"getUpcoming","async":true,"parameters":[{"name":"limit","type":"number","optional":true}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByStatus":{"name":"getByStatus","async":true,"parameters":[{"name":"status","type":"EventStatus","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByType":{"name":"getByType","async":true,"parameters":[{"name":"typeId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getRootEvents":{"name":"getRootEvents","async":true,"parameters":[],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByParent":{"name":"getByParent","async":true,"parameters":[{"name":"parentId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getEventTree":{"name":"getEventTree","async":true,"parameters":[{"name":"eventId","type":"string","optional":false}],"returnType":"Promise<Event | null>","isStatic":false,"isPublic":true},"getAssets":{"name":"getAssets","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<Asset[]>","isStatic":false,"isPublic":true},"addAsset":{"name":"addAsset","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"asset","type":"Asset","optional":false},{"name":"relationship","type":"any","optional":true,"default":"attachment"},{"name":"sortOrder","type":"any","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"removeAsset":{"name":"removeAsset","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"assetId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"search":{"name":"search","async":true,"parameters":[{"name":"query","type":"string","optional":false},{"name":"filters","type":"EventSearchFilters","optional":true}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getInProgress":{"name":"getInProgress","async":true,"parameters":[],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"findByTenant":{"name":"findByTenant","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"findGlobal":{"name":"findGlobal","async":true,"parameters":[],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"findWithGlobals":{"name":"findWithGlobals","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true}},"decoratorConfig":{},"extends":"SmrtCollection","extendsTypeArg":"Event","exportName":"EventCollection","collectionExportName":"EventCollectionCollection","schema":{"tableName":"events","ddl":"CREATE TABLE IF NOT EXISTS \\"events\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"parent_id\\" UUID,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"series_id\\" UUID,\\n \\"type_id\\" UUID,\\n \\"place_id\\" UUID,\\n \\"description\\" TEXT,\\n \\"start_date\\" TIMESTAMP,\\n \\"end_date\\" TIMESTAMP,\\n \\"all_day\\" BOOLEAN DEFAULT FALSE,\\n \\"time_zone\\" TEXT,\\n \\"status\\" TEXT DEFAULT 'scheduled',\\n \\"round\\" INTEGER,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"parent_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"events","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"series_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_series","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"type_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_types","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"place_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false},"description":{"type":"TEXT","notNull":false},"start_date":{"type":"TIMESTAMP","notNull":false},"end_date":{"type":"TIMESTAMP","notNull":false},"all_day":{"type":"BOOLEAN","notNull":false,"default":false},"time_zone":{"type":"TEXT","notNull":false},"status":{"type":"TEXT","notNull":false,"default":"scheduled"},"round":{"type":"INTEGER","notNull":false},"metadata":{"type":"TEXT","notNull":false},"external_id":{"type":"TEXT","notNull":false},"source":{"type":"TEXT","notNull":false}},"indexes":[{"name":"events_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"events_meta_type_idx","columns":["_meta_type"]},{"name":"events_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"events_parent_id_idx","columns":["parent_id"]},{"name":"events_series_id_idx","columns":["series_id"]},{"name":"events_type_id_idx","columns":["type_id"]},{"name":"events_place_id_idx","columns":["place_id"]}],"version":"8e689646"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventParticipantCollection":{"name":"eventparticipantcollection","className":"EventParticipantCollection","qualifiedName":"@happyvertical/smrt-events:EventParticipantCollection","collection":"eventparticipants","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventParticipantCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"byRight":{"name":"byRight","async":true,"parameters":[{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<TItem[]>","isStatic":false,"isPublic":true},"byLeft":{"name":"byLeft","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<TItem[]>","isStatic":false,"isPublic":true},"attach":{"name":"attach","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionAttachOptions","optional":true}],"returnType":"Promise<TItem>","isStatic":false,"isPublic":true},"detach":{"name":"detach","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"setLinks":{"name":"setLinks","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightIds","type":"string[]","optional":false},{"name":"opts","type":"JunctionAttachOptions","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"getByPlacement":{"name":"getByPlacement","async":true,"parameters":[{"name":"eventId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"getByGroup":{"name":"getByGroup","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"groupId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"getHome":{"name":"getHome","async":true,"parameters":[{"name":"eventId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"getAway":{"name":"getAway","async":true,"parameters":[{"name":"eventId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"search":{"name":"search","async":true,"parameters":[{"name":"filters","type":"ParticipantSearchFilters","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"getParticipantStats":{"name":"getParticipantStats","async":true,"parameters":[{"name":"profileId","type":"string","optional":false},{"name":"eventTypeId","type":"string","optional":true}],"returnType":"Promise<object>","isStatic":false,"isPublic":true},"findByTenant":{"name":"findByTenant","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"findGlobal":{"name":"findGlobal","async":true,"parameters":[],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"findWithGlobals":{"name":"findWithGlobals","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true}},"decoratorConfig":{},"extends":"SmrtJunction","extendsTypeArg":"EventParticipant","exportName":"EventParticipantCollection","collectionExportName":"EventParticipantCollectionCollection","schema":{"tableName":"event_participants","ddl":"CREATE TABLE IF NOT EXISTS \\"event_participants\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"event_id\\" UUID,\\n \\"profile_id\\" UUID,\\n \\"role\\" TEXT DEFAULT '',\\n \\"placement\\" INTEGER,\\n \\"group_id\\" TEXT,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false,"unique":false},"event_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"unique":false,"foreignKey":{"table":"events","column":"id","onDelete":"CASCADE","onUpdate":"CASCADE"}},"profile_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false,"unique":false},"role":{"type":"TEXT","notNull":false,"unique":false,"default":""},"placement":{"type":"INTEGER","notNull":false,"unique":false},"group_id":{"type":"TEXT","notNull":false,"unique":false},"metadata":{"type":"TEXT","notNull":false,"unique":false},"external_id":{"type":"TEXT","notNull":false,"unique":false},"source":{"type":"TEXT","notNull":false,"unique":false}},"indexes":[{"name":"event_participants_event_id_profile_id_idx","columns":["event_id","profile_id","role"],"unique":true,"nullsNotDistinct":true},{"name":"event_participants_slug_context_idx","columns":["slug","context"]},{"name":"event_participants_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_participants_profile_id_idx","columns":["profile_id"]}],"version":"c2faac84"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventSeriesCollection":{"name":"eventseriescollection","className":"EventSeriesCollection","qualifiedName":"@happyvertical/smrt-events:EventSeriesCollection","collection":"eventserieses","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventSeriesCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"getByOrganizer":{"name":"getByOrganizer","async":true,"parameters":[{"name":"organizerId","type":"string","optional":false}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"getActive":{"name":"getActive","async":true,"parameters":[],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"getUpcoming":{"name":"getUpcoming","async":true,"parameters":[{"name":"limit","type":"number","optional":true}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"getByType":{"name":"getByType","async":true,"parameters":[{"name":"typeId","type":"string","optional":false}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"search":{"name":"search","async":true,"parameters":[{"name":"query","type":"string","optional":false},{"name":"filters","type":"EventSeriesSearchFilters","optional":true}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"findByTenant":{"name":"findByTenant","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"findGlobal":{"name":"findGlobal","async":true,"parameters":[],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"findWithGlobals":{"name":"findWithGlobals","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true}},"decoratorConfig":{},"extends":"SmrtCollection","extendsTypeArg":"EventSeries","exportName":"EventSeriesCollection","collectionExportName":"EventSeriesCollectionCollection","schema":{"tableName":"event_series","ddl":"CREATE TABLE IF NOT EXISTS \\"event_series\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"type_id\\" UUID,\\n \\"organizer_id\\" UUID,\\n \\"description\\" TEXT,\\n \\"start_date\\" TIMESTAMP,\\n \\"end_date\\" TIMESTAMP,\\n \\"recurrence\\" TEXT,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"type_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_types","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE"}},"organizer_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false},"description":{"type":"TEXT","notNull":false},"start_date":{"type":"TIMESTAMP","notNull":false},"end_date":{"type":"TIMESTAMP","notNull":false},"recurrence":{"type":"TEXT","notNull":false},"metadata":{"type":"TEXT","notNull":false},"external_id":{"type":"TEXT","notNull":false},"source":{"type":"TEXT","notNull":false}},"indexes":[{"name":"event_series_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"event_series_meta_type_idx","columns":["_meta_type"]},{"name":"event_series_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_series_type_id_idx","columns":["type_id"]},{"name":"event_series_organizer_id_idx","columns":["organizer_id"]}],"version":"c79f5863"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventTypeCollection":{"name":"eventtypecollection","className":"EventTypeCollection","qualifiedName":"@happyvertical/smrt-events:EventTypeCollection","collection":"eventtypes","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventTypeCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"getOrCreate":{"name":"getOrCreate","async":true,"parameters":[{"name":"slug","type":"string","optional":false},{"name":"name","type":"string","optional":true}],"returnType":"Promise<EventType>","isStatic":false,"isPublic":true},"getBySlug":{"name":"getBySlug","async":true,"parameters":[{"name":"slug","type":"string","optional":false}],"returnType":"Promise<EventType | null>","isStatic":false,"isPublic":true},"initializeDefaults":{"name":"initializeDefaults","async":true,"parameters":[],"returnType":"Promise<EventType[]>","isStatic":false,"isPublic":true},"findByTenant":{"name":"findByTenant","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventType[]>","isStatic":false,"isPublic":true},"findGlobal":{"name":"findGlobal","async":true,"parameters":[],"returnType":"Promise<EventType[]>","isStatic":false,"isPublic":true},"findWithGlobals":{"name":"findWithGlobals","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventType[]>","isStatic":false,"isPublic":true}},"decoratorConfig":{},"extends":"SmrtCollection","extendsTypeArg":"EventType","exportName":"EventTypeCollection","collectionExportName":"EventTypeCollectionCollection","schema":{"tableName":"event_types","ddl":"CREATE TABLE IF NOT EXISTS \\"event_types\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"description\\" TEXT DEFAULT '',\\n \\"schema\\" TEXT DEFAULT '',\\n \\"participant_schema\\" TEXT DEFAULT ''\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"description":{"type":"TEXT","notNull":false,"default":""},"schema":{"type":"TEXT","notNull":false,"default":""},"participant_schema":{"type":"TEXT","notNull":false,"default":""}},"indexes":[{"name":"event_types_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"event_types_meta_type_idx","columns":["_meta_type"]},{"name":"event_types_tenant_id_created_at_idx","columns":["tenant_id","created_at"]}],"version":"922ae3b0"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:Event":{"name":"event","className":"Event","qualifiedName":"@happyvertical/smrt-events:Event","collection":"events","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/Event.ts","packageName":"@happyvertical/smrt-events","fields":{"created_at":{"type":"datetime","required":false},"updated_at":{"type":"datetime","required":false},"parentId":{"type":"foreignKey","required":false,"related":"Event","_meta":{"nullable":true,"constraint":{"engines":["postgres","sqlite"]}}},"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"name":{"type":"text","required":false,"default":"","description":"What the event is called.","_meta":{"description":"What the event is called."}},"seriesId":{"type":"foreignKey","required":false,"related":"EventSeries","description":"The series this event is part of, if any.","_meta":{"description":"The series this event is part of, if any.","constraint":{"engines":["postgres","sqlite"]}}},"typeId":{"type":"foreignKey","required":false,"related":"EventType","description":"The kind of event.","_meta":{"description":"The kind of event.","constraint":{"engines":["postgres","sqlite"]}}},"placeId":{"type":"crossPackageRef","required":false,"related":"@happyvertical/smrt-places:Place","description":"Where it takes place.","_meta":{"description":"Where it takes place."}},"description":{"type":"text","required":false,"description":"What the event is about.","_meta":{"description":"What the event is about."}},"startDate":{"type":"datetime","required":false,"description":"When it starts.","_meta":{"description":"When it starts."}},"endDate":{"type":"datetime","required":false,"description":"When it ends.","_meta":{"description":"When it ends."}},"allDay":{"type":"boolean","required":false,"default":false,"description":"Whether the event lasts all day.","_meta":{"description":"Whether the event lasts all day."}},"timeZone":{"type":"text","required":false},"status":{"type":"text","required":false,"default":"scheduled","description":"scheduled, in progress, completed, cancelled or postponed.","_meta":{"description":"scheduled, in progress, completed, cancelled or postponed."},"enum":["scheduled","in_progress","completed","cancelled","postponed"]},"round":{"type":"integer","required":false},"metadata":{"type":"text","required":false},"externalId":{"type":"text","required":false},"source":{"type":"text","required":false},"createdAt":{"type":"text","required":false},"updatedAt":{"type":"text","required":false}},"methods":{"getParent":{"name":"getParent","async":true,"parameters":[],"returnType":"Promise<this | null>","isStatic":false,"isPublic":true},"getChildren":{"name":"getChildren","async":true,"parameters":[],"returnType":"Promise<this[]>","isStatic":false,"isPublic":true},"getAncestors":{"name":"getAncestors","async":true,"parameters":[],"returnType":"Promise<this[]>","isStatic":false,"isPublic":true},"getDescendants":{"name":"getDescendants","async":true,"parameters":[],"returnType":"Promise<this[]>","isStatic":false,"isPublic":true},"getHierarchy":{"name":"getHierarchy","async":true,"parameters":[],"returnType":"Promise<HierarchyView<this>>","isStatic":false,"isPublic":true},"moveTo":{"name":"moveTo","async":true,"parameters":[{"name":"newParent","type":"this | string | null","optional":false,"unionBranches":[{"type":"this"},{"type":"string"},{"type":"null"}]}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"getMetadata":{"name":"getMetadata","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setMetadata":{"name":"setMetadata","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"updateMetadata":{"name":"updateMetadata","async":false,"parameters":[{"name":"updates","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"updateStatus":{"name":"updateStatus","async":true,"parameters":[{"name":"newStatus","type":"EventStatus","optional":false}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"getSeries":{"name":"getSeries","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getType":{"name":"getType","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getPlace":{"name":"getPlace","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getRootEvent":{"name":"getRootEvent","async":true,"parameters":[],"returnType":"Promise<Event>","isStatic":false,"isPublic":true},"getParticipants":{"name":"getParticipants","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getAssets":{"name":"getAssets","async":true,"parameters":[{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<Asset[]>","isStatic":false,"isPublic":true},"addAsset":{"name":"addAsset","async":true,"parameters":[{"name":"asset","type":"Asset","optional":false},{"name":"relationship","type":"any","optional":true,"default":"attachment"},{"name":"sortOrder","type":"any","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"removeAsset":{"name":"removeAsset","async":true,"parameters":[{"name":"assetId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"isInProgress":{"name":"isInProgress","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true},"isRoot":{"name":"isRoot","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true}},"decoratorConfig":{"tableStrategy":"sti","api":{"include":["list","get","create","update","delete"]},"mcp":{"include":["list","get","create","update"]},"cli":{"skipApiCheck":true},"tenantScoped":{"mode":"optional"},"conflictColumns":["tenant_id","slug","context","_meta_type"]},"extends":"SmrtHierarchical","exportName":"Event","collectionExportName":"EventCollection","displayLabelField":"name","schema":{"tableName":"events","ddl":"CREATE TABLE IF NOT EXISTS \\"events\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"parent_id\\" UUID,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"series_id\\" UUID,\\n \\"type_id\\" UUID,\\n \\"place_id\\" UUID,\\n \\"description\\" TEXT,\\n \\"start_date\\" TIMESTAMP,\\n \\"end_date\\" TIMESTAMP,\\n \\"all_day\\" BOOLEAN DEFAULT FALSE,\\n \\"time_zone\\" TEXT,\\n \\"status\\" TEXT DEFAULT 'scheduled',\\n \\"round\\" INTEGER,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"parent_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"events","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"series_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_series","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"type_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_types","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"place_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false},"description":{"type":"TEXT","notNull":false},"start_date":{"type":"TIMESTAMP","notNull":false},"end_date":{"type":"TIMESTAMP","notNull":false},"all_day":{"type":"BOOLEAN","notNull":false,"default":false},"time_zone":{"type":"TEXT","notNull":false},"status":{"type":"TEXT","notNull":false,"default":"scheduled"},"round":{"type":"INTEGER","notNull":false},"metadata":{"type":"TEXT","notNull":false},"external_id":{"type":"TEXT","notNull":false},"source":{"type":"TEXT","notNull":false}},"indexes":[{"name":"events_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"events_meta_type_idx","columns":["_meta_type"]},{"name":"events_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"events_parent_id_idx","columns":["parent_id"]},{"name":"events_series_id_idx","columns":["series_id"]},{"name":"events_type_id_idx","columns":["type_id"]},{"name":"events_place_id_idx","columns":["place_id"]}],"version":"8e689646"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventAsset":{"name":"eventasset","className":"EventAsset","qualifiedName":"@happyvertical/smrt-events:EventAsset","collection":"eventassets","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/EventAsset.ts","packageName":"@happyvertical/smrt-events","fields":{"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"eventId":{"type":"foreignKey","required":true,"related":"Event","_meta":{"required":true}},"assetId":{"type":"crossPackageRef","required":true,"related":"@happyvertical/smrt-assets:Asset"},"relationship":{"type":"text","required":true,"_meta":{"required":true}},"sortOrder":{"type":"integer","required":true,"default":0}},"methods":{},"decoratorConfig":{"tableName":"event_assets","conflictColumns":["event_id","asset_id","relationship"],"api":false,"mcp":false,"cli":false,"tenantScoped":{"mode":"optional"}},"extends":"SmrtObject","exportName":"EventAsset","collectionExportName":"EventAssetCollection","validationRules":[{"field":"eventId","rule":"required","fieldType":"foreignKey"},{"field":"assetId","rule":"required","fieldType":"crossPackageRef"},{"field":"relationship","rule":"required","fieldType":"text"},{"field":"sortOrder","rule":"required","fieldType":"integer"}],"schema":{"tableName":"event_assets","ddl":"CREATE TABLE IF NOT EXISTS \\"event_assets\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"event_id\\" UUID NOT NULL,\\n \\"asset_id\\" UUID NOT NULL,\\n \\"relationship\\" TEXT NOT NULL,\\n \\"sort_order\\" INTEGER NOT NULL DEFAULT 0\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false,"unique":false},"event_id":{"type":"UUID","referenceKind":"foreignKey","notNull":true,"unique":false,"foreignKey":{"table":"events","column":"id","onDelete":"CASCADE","onUpdate":"CASCADE"}},"asset_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":true,"unique":false},"relationship":{"type":"TEXT","notNull":true,"unique":false},"sort_order":{"type":"INTEGER","notNull":true,"unique":false,"default":0}},"indexes":[{"name":"event_assets_event_id_asset_id_idx","columns":["event_id","asset_id","relationship"],"unique":true},{"name":"event_assets_slug_context_idx","columns":["slug","context"]},{"name":"event_assets_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_assets_asset_id_idx","columns":["asset_id"]}],"version":"aeebedc6"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventParticipant":{"name":"eventparticipant","className":"EventParticipant","qualifiedName":"@happyvertical/smrt-events:EventParticipant","collection":"eventparticipants","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/EventParticipant.ts","packageName":"@happyvertical/smrt-events","fields":{"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"eventId":{"type":"foreignKey","required":false,"related":"Event","description":"The event the person takes part in.","_meta":{"description":"The event the person takes part in."}},"profileId":{"type":"crossPackageRef","required":false,"related":"@happyvertical/smrt-profiles:Profile","description":"The person taking part.","_meta":{"description":"The person taking part."}},"role":{"type":"text","required":false,"default":"","description":"What they do there, for example speaker or attendee.","_meta":{"description":"What they do there, for example speaker or attendee."}},"placement":{"type":"integer","required":false},"groupId":{"type":"text","required":false},"metadata":{"type":"text","required":false},"externalId":{"type":"text","required":false},"source":{"type":"text","required":false},"createdAt":{"type":"text","required":false},"updatedAt":{"type":"text","required":false}},"methods":{"getMetadata":{"name":"getMetadata","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setMetadata":{"name":"setMetadata","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"updateMetadata":{"name":"updateMetadata","async":false,"parameters":[{"name":"updates","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getEvent":{"name":"getEvent","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getProfile":{"name":"getProfile","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getGroupParticipants":{"name":"getGroupParticipants","async":true,"parameters":[],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"isHome":{"name":"isHome","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true},"isAway":{"name":"isAway","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true}},"decoratorConfig":{"conflictColumns":["event_id","profile_id","role"],"api":{"include":["list","get","create","update","delete"]},"mcp":{"include":["list","get","create","update"]},"cli":{"skipApiCheck":true},"tenantScoped":{"mode":"optional"}},"extends":"SmrtObject","exportName":"EventParticipant","collectionExportName":"EventParticipantCollection","schema":{"tableName":"event_participants","ddl":"CREATE TABLE IF NOT EXISTS \\"event_participants\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"event_id\\" UUID,\\n \\"profile_id\\" UUID,\\n \\"role\\" TEXT DEFAULT '',\\n \\"placement\\" INTEGER,\\n \\"group_id\\" TEXT,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false,"unique":false},"event_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"unique":false,"foreignKey":{"table":"events","column":"id","onDelete":"CASCADE","onUpdate":"CASCADE"}},"profile_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false,"unique":false},"role":{"type":"TEXT","notNull":false,"unique":false,"default":""},"placement":{"type":"INTEGER","notNull":false,"unique":false},"group_id":{"type":"TEXT","notNull":false,"unique":false},"metadata":{"type":"TEXT","notNull":false,"unique":false},"external_id":{"type":"TEXT","notNull":false,"unique":false},"source":{"type":"TEXT","notNull":false,"unique":false}},"indexes":[{"name":"event_participants_event_id_profile_id_idx","columns":["event_id","profile_id","role"],"unique":true,"nullsNotDistinct":true},{"name":"event_participants_slug_context_idx","columns":["slug","context"]},{"name":"event_participants_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_participants_profile_id_idx","columns":["profile_id"]}],"version":"c2faac84"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventSeries":{"name":"eventseries","className":"EventSeries","qualifiedName":"@happyvertical/smrt-events:EventSeries","collection":"eventserieses","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/EventSeries.ts","packageName":"@happyvertical/smrt-events","fields":{"created_at":{"type":"datetime","required":false},"updated_at":{"type":"datetime","required":false},"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"name":{"type":"text","required":false,"default":"","description":"What the series is called.","_meta":{"description":"What the series is called."}},"typeId":{"type":"foreignKey","required":false,"related":"EventType","description":"The kind of event in this series.","_meta":{"description":"The kind of event in this series."}},"organizerId":{"type":"crossPackageRef","required":false,"related":"@happyvertical/smrt-profiles:Profile","description":"Who runs the series.","_meta":{"description":"Who runs the series."}},"description":{"type":"text","required":false,"description":"What the series is about.","_meta":{"description":"What the series is about."}},"startDate":{"type":"datetime","required":false,"description":"When the series begins.","_meta":{"description":"When the series begins."}},"endDate":{"type":"datetime","required":false,"description":"When the series ends.","_meta":{"description":"When the series ends."}},"recurrence":{"type":"text","required":false,"description":"How often it repeats.","_meta":{"description":"How often it repeats."}},"metadata":{"type":"text","required":false},"externalId":{"type":"text","required":false},"source":{"type":"text","required":false},"createdAt":{"type":"text","required":false},"updatedAt":{"type":"text","required":false}},"methods":{"getRecurrence":{"name":"getRecurrence","async":false,"parameters":[],"returnType":"RecurrencePattern | null","isStatic":false,"isPublic":true},"setRecurrence":{"name":"setRecurrence","async":false,"parameters":[{"name":"pattern","type":"RecurrencePattern","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getOccurrences":{"name":"getOccurrences","async":false,"parameters":[{"name":"rangeStart","type":"Date","optional":false},{"name":"rangeEnd","type":"Date","optional":false},{"name":"options","type":"object","optional":true,"memberTypes":["string","Date","number"]}],"returnType":"Date[]","isStatic":false,"isPublic":true},"getMetadata":{"name":"getMetadata","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setMetadata":{"name":"setMetadata","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"updateMetadata":{"name":"updateMetadata","async":false,"parameters":[{"name":"updates","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getType":{"name":"getType","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getOrganizer":{"name":"getOrganizer","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getEvents":{"name":"getEvents","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"isActive":{"name":"isActive","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true}},"decoratorConfig":{"tableStrategy":"sti","api":{"include":["list","get","create","update","delete"]},"mcp":{"include":["list","get","create","update"]},"cli":{"skipApiCheck":true},"tenantScoped":{"mode":"optional"},"conflictColumns":["tenant_id","slug","context","_meta_type"]},"extends":"SmrtObject","exportName":"EventSeries","collectionExportName":"EventSeriesCollection","displayLabelField":"name","schema":{"tableName":"event_series","ddl":"CREATE TABLE IF NOT EXISTS \\"event_series\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"type_id\\" UUID,\\n \\"organizer_id\\" UUID,\\n \\"description\\" TEXT,\\n \\"start_date\\" TIMESTAMP,\\n \\"end_date\\" TIMESTAMP,\\n \\"recurrence\\" TEXT,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"type_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_types","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE"}},"organizer_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false},"description":{"type":"TEXT","notNull":false},"start_date":{"type":"TIMESTAMP","notNull":false},"end_date":{"type":"TIMESTAMP","notNull":false},"recurrence":{"type":"TEXT","notNull":false},"metadata":{"type":"TEXT","notNull":false},"external_id":{"type":"TEXT","notNull":false},"source":{"type":"TEXT","notNull":false}},"indexes":[{"name":"event_series_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"event_series_meta_type_idx","columns":["_meta_type"]},{"name":"event_series_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_series_type_id_idx","columns":["type_id"]},{"name":"event_series_organizer_id_idx","columns":["organizer_id"]}],"version":"c79f5863"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventType":{"name":"eventtype","className":"EventType","qualifiedName":"@happyvertical/smrt-events:EventType","collection":"eventtypes","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/EventType.ts","packageName":"@happyvertical/smrt-events","fields":{"created_at":{"type":"datetime","required":false},"updated_at":{"type":"datetime","required":false},"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"name":{"type":"text","required":true,"default":"","description":"What this kind of event is called, for example workshop.","_meta":{"required":true,"description":"What this kind of event is called, for example workshop."}},"description":{"type":"text","required":false,"default":"","description":"What this kind of event is for.","_meta":{"description":"What this kind of event is for."}},"schema":{"type":"text","required":false,"default":""},"participantSchema":{"type":"text","required":false,"default":""},"createdAt":{"type":"datetime","required":false},"updatedAt":{"type":"datetime","required":false}},"methods":{"getSchema":{"name":"getSchema","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setSchema":{"name":"setSchema","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getParticipantSchema":{"name":"getParticipantSchema","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setParticipantSchema":{"name":"setParticipantSchema","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getBySlug":{"name":"getBySlug","async":true,"parameters":[{"name":"_slug","type":"string","optional":false}],"returnType":"Promise<EventType | null>","isStatic":true,"isPublic":true}},"decoratorConfig":{"tableStrategy":"sti","api":{"include":["list","get","create","update","delete"]},"mcp":{"include":["list","get","create"]},"cli":{"skipApiCheck":true},"tenantScoped":{"mode":"optional"},"conflictColumns":["tenant_id","slug","context","_meta_type"]},"extends":"SmrtObject","exportName":"EventType","collectionExportName":"EventTypeCollection","displayLabelField":"name","validationRules":[{"field":"name","rule":"required","fieldType":"text"}],"schema":{"tableName":"event_types","ddl":"CREATE TABLE IF NOT EXISTS \\"event_types\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"description\\" TEXT DEFAULT '',\\n \\"schema\\" TEXT DEFAULT '',\\n \\"participant_schema\\" TEXT DEFAULT ''\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"description":{"type":"TEXT","notNull":false,"default":""},"schema":{"type":"TEXT","notNull":false,"default":""},"participant_schema":{"type":"TEXT","notNull":false,"default":""}},"indexes":[{"name":"event_types_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"event_types_meta_type_idx","columns":["_meta_type"]},{"name":"event_types_tenant_id_created_at_idx","columns":["tenant_id","created_at"]}],"version":"922ae3b0"},"importPath":"@happyvertical/smrt-events"}},"moduleType":"smrt","recipes":[{"id":"events.calendar","className":"CalendarRecipe","label":"Events","summary":"Schedule events, group them in series and track who takes part.","synonyms":["calendar","schedule","meetings","bookings","attendees"],"models":["@happyvertical/smrt-events:Event","@happyvertical/smrt-events:EventType","@happyvertical/smrt-events:EventSeries","@happyvertical/smrt-events:EventParticipant"],"nav":[{"label":"Events","model":"@happyvertical/smrt-events:Event","icon":"calendar","description":"Everything on your calendar, with who and when."},{"label":"Event types","model":"@happyvertical/smrt-events:EventType","icon":"tag","description":"The kinds of events you run, such as workshops or classes."},{"label":"Event series","model":"@happyvertical/smrt-events:EventSeries","icon":"repeat","description":"Repeating schedules, like a class every Tuesday evening."}],"requires":[],"section":{"id":"calendar","label":"Calendar","icon":"calendar","description":"Events and what is scheduled when."},"options":{"@happyvertical/smrt-events:Event":{"fields":{"parentId":{"visibility":"hidden"},"round":{"visibility":"hidden"},"metadata":{"visibility":"hidden"},"externalId":{"visibility":"hidden"},"source":{"visibility":"hidden"},"timeZone":{"visibility":"hidden"}}},"@happyvertical/smrt-events:EventType":{"fields":{"schema":{"visibility":"hidden"},"participantSchema":{"visibility":"hidden"}}},"@happyvertical/smrt-events:EventSeries":{"fields":{"metadata":{"visibility":"hidden"},"externalId":{"visibility":"hidden"},"source":{"visibility":"hidden"}}},"@happyvertical/smrt-events:EventParticipant":{"fields":{"groupId":{"visibility":"hidden"},"placement":{"visibility":"hidden"},"metadata":{"visibility":"hidden"},"externalId":{"visibility":"hidden"},"source":{"visibility":"hidden"}}}},"help":{"markdown":"## Overview\\n\\nEvents is your calendar. Each event has a time and a type, can belong to a\\nseries, and lists who takes part.\\n\\n## Tasks\\n\\n### Schedule an event\\n\\n1. Create a new event.\\n2. Enter the **{field:name}**, the **{field:startDate}** and the\\n **{field:endDate}**.\\n3. Pick the **{field:typeId}**, and the **{field:seriesId}** if it repeats.\\n4. Add the people taking part with their **{field:role}**.\\n\\n### Keep it current\\n\\n1. Update **{field:status}** as the event goes ahead, finishes or is postponed.\\n","fieldRefs":["endDate","name","role","seriesId","startDate","status","typeId"]},"surfaces":[{"kind":"route","path":"/events/meeting","export":"@happyvertical/smrt-events/svelte#MeetingView","label":"Meeting view"}],"runtime":"both","demo":{"mode":"server","reasons":["Needs a server because its package does not build for a browser: node:crypto; and its package depends on @happyvertical/smrt-places, @happyvertical/smrt-profiles, @happyvertical/smrt-tenancy, which do not build for a browser (#3617, #3624, #3626, #3627)."]}}],"smrtDependencies":["@happyvertical/smrt-assets","@happyvertical/smrt-core","@happyvertical/smrt-places","@happyvertical/smrt-profiles","@happyvertical/smrt-tenancy"],"browser":{"status":"server-only","issues":["#3617","#3624","#3626","#3627"],"reason":"node:crypto","via":["@happyvertical/smrt-places","@happyvertical/smrt-profiles","@happyvertical/smrt-tenancy"]},"stampsConstructors":true}`));
|
|
21
|
+
ObjectRegistry.registerPackageManifest(JSON.parse(`{"version":"1.0.0","timestamp":0,"packageName":"@happyvertical/smrt-events","packageVersion":"0.55.13","objects":{"@happyvertical/smrt-events:EventAssetCollection":{"name":"eventassetcollection","className":"EventAssetCollection","qualifiedName":"@happyvertical/smrt-events:EventAssetCollection","collection":"eventassets","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventAssetCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"byRight":{"name":"byRight","async":true,"parameters":[{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<TItem[]>","isStatic":false,"isPublic":true},"byLeft":{"name":"byLeft","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<TItem[]>","isStatic":false,"isPublic":true},"attach":{"name":"attach","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionAttachOptions","optional":true}],"returnType":"Promise<TItem>","isStatic":false,"isPublic":true},"detach":{"name":"detach","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"setLinks":{"name":"setLinks","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightIds","type":"string[]","optional":false},{"name":"opts","type":"JunctionAttachOptions","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"getAssets":{"name":"getAssets","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<Asset[]>","isStatic":false,"isPublic":true},"addAsset":{"name":"addAsset","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"asset","type":"Asset","optional":false},{"name":"relationship","type":"any","optional":true,"default":"attachment"},{"name":"sortOrder","type":"any","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"removeAsset":{"name":"removeAsset","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"assetId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true}},"decoratorConfig":{"api":false,"mcp":false,"cli":false,"tableName":"event_assets"},"extends":"SmrtJunction","extendsTypeArg":"EventAsset","exportName":"EventAssetCollection","collectionExportName":"EventAssetCollectionCollection","schema":{"tableName":"event_assets","ddl":"CREATE TABLE IF NOT EXISTS \\"event_assets\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"event_id\\" UUID NOT NULL,\\n \\"asset_id\\" UUID NOT NULL,\\n \\"relationship\\" TEXT NOT NULL,\\n \\"sort_order\\" INTEGER NOT NULL DEFAULT 0\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false,"unique":false},"event_id":{"type":"UUID","referenceKind":"foreignKey","notNull":true,"unique":false,"foreignKey":{"table":"events","column":"id","onDelete":"CASCADE","onUpdate":"CASCADE"}},"asset_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":true,"unique":false},"relationship":{"type":"TEXT","notNull":true,"unique":false},"sort_order":{"type":"INTEGER","notNull":true,"unique":false,"default":0}},"indexes":[{"name":"event_assets_event_id_asset_id_idx","columns":["event_id","asset_id","relationship"],"unique":true},{"name":"event_assets_slug_context_idx","columns":["slug","context"]},{"name":"event_assets_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_assets_asset_id_idx","columns":["asset_id"]}],"version":"aeebedc6"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventCollection":{"name":"eventcollection","className":"EventCollection","qualifiedName":"@happyvertical/smrt-events:EventCollection","collection":"events","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"getBySeriesId":{"name":"getBySeriesId","async":true,"parameters":[{"name":"seriesId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByPlace":{"name":"getByPlace","async":true,"parameters":[{"name":"placeId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByDateRange":{"name":"getByDateRange","async":true,"parameters":[{"name":"startDate","type":"Date","optional":false},{"name":"endDate","type":"Date","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getUpcoming":{"name":"getUpcoming","async":true,"parameters":[{"name":"limit","type":"number","optional":true}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByStatus":{"name":"getByStatus","async":true,"parameters":[{"name":"status","type":"EventStatus","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByType":{"name":"getByType","async":true,"parameters":[{"name":"typeId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getRootEvents":{"name":"getRootEvents","async":true,"parameters":[],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getByParent":{"name":"getByParent","async":true,"parameters":[{"name":"parentId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getEventTree":{"name":"getEventTree","async":true,"parameters":[{"name":"eventId","type":"string","optional":false}],"returnType":"Promise<Event | null>","isStatic":false,"isPublic":true},"getAssets":{"name":"getAssets","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<Asset[]>","isStatic":false,"isPublic":true},"addAsset":{"name":"addAsset","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"asset","type":"Asset","optional":false},{"name":"relationship","type":"any","optional":true,"default":"attachment"},{"name":"sortOrder","type":"any","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"removeAsset":{"name":"removeAsset","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"assetId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"search":{"name":"search","async":true,"parameters":[{"name":"query","type":"string","optional":false},{"name":"filters","type":"EventSearchFilters","optional":true}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"getInProgress":{"name":"getInProgress","async":true,"parameters":[],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"findByTenant":{"name":"findByTenant","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"findGlobal":{"name":"findGlobal","async":true,"parameters":[],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true},"findWithGlobals":{"name":"findWithGlobals","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<Event[]>","isStatic":false,"isPublic":true}},"decoratorConfig":{},"extends":"SmrtCollection","extendsTypeArg":"Event","exportName":"EventCollection","collectionExportName":"EventCollectionCollection","schema":{"tableName":"events","ddl":"CREATE TABLE IF NOT EXISTS \\"events\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"parent_id\\" UUID,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"series_id\\" UUID,\\n \\"type_id\\" UUID,\\n \\"place_id\\" UUID,\\n \\"description\\" TEXT,\\n \\"start_date\\" TIMESTAMP,\\n \\"end_date\\" TIMESTAMP,\\n \\"all_day\\" BOOLEAN DEFAULT FALSE,\\n \\"time_zone\\" TEXT,\\n \\"status\\" TEXT DEFAULT 'scheduled',\\n \\"round\\" INTEGER,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"parent_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"events","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"series_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_series","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"type_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_types","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"place_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false},"description":{"type":"TEXT","notNull":false},"start_date":{"type":"TIMESTAMP","notNull":false},"end_date":{"type":"TIMESTAMP","notNull":false},"all_day":{"type":"BOOLEAN","notNull":false,"default":false},"time_zone":{"type":"TEXT","notNull":false},"status":{"type":"TEXT","notNull":false,"default":"scheduled"},"round":{"type":"INTEGER","notNull":false},"metadata":{"type":"TEXT","notNull":false},"external_id":{"type":"TEXT","notNull":false},"source":{"type":"TEXT","notNull":false}},"indexes":[{"name":"events_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"events_meta_type_idx","columns":["_meta_type"]},{"name":"events_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"events_parent_id_idx","columns":["parent_id"]},{"name":"events_series_id_idx","columns":["series_id"]},{"name":"events_type_id_idx","columns":["type_id"]},{"name":"events_place_id_idx","columns":["place_id"]}],"version":"8e689646"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventParticipantCollection":{"name":"eventparticipantcollection","className":"EventParticipantCollection","qualifiedName":"@happyvertical/smrt-events:EventParticipantCollection","collection":"eventparticipants","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventParticipantCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"byRight":{"name":"byRight","async":true,"parameters":[{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<TItem[]>","isStatic":false,"isPublic":true},"byLeft":{"name":"byLeft","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<TItem[]>","isStatic":false,"isPublic":true},"attach":{"name":"attach","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionAttachOptions","optional":true}],"returnType":"Promise<TItem>","isStatic":false,"isPublic":true},"detach":{"name":"detach","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightId","type":"string","optional":false},{"name":"opts","type":"JunctionFilterOptions","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"setLinks":{"name":"setLinks","async":true,"parameters":[{"name":"leftId","type":"string","optional":false},{"name":"rightIds","type":"string[]","optional":false},{"name":"opts","type":"JunctionAttachOptions","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"getByPlacement":{"name":"getByPlacement","async":true,"parameters":[{"name":"eventId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"getByGroup":{"name":"getByGroup","async":true,"parameters":[{"name":"eventId","type":"string","optional":false},{"name":"groupId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"getHome":{"name":"getHome","async":true,"parameters":[{"name":"eventId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"getAway":{"name":"getAway","async":true,"parameters":[{"name":"eventId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"search":{"name":"search","async":true,"parameters":[{"name":"filters","type":"ParticipantSearchFilters","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"getParticipantStats":{"name":"getParticipantStats","async":true,"parameters":[{"name":"profileId","type":"string","optional":false},{"name":"eventTypeId","type":"string","optional":true}],"returnType":"Promise<object>","isStatic":false,"isPublic":true},"findByTenant":{"name":"findByTenant","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"findGlobal":{"name":"findGlobal","async":true,"parameters":[],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"findWithGlobals":{"name":"findWithGlobals","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true}},"decoratorConfig":{},"extends":"SmrtJunction","extendsTypeArg":"EventParticipant","exportName":"EventParticipantCollection","collectionExportName":"EventParticipantCollectionCollection","schema":{"tableName":"event_participants","ddl":"CREATE TABLE IF NOT EXISTS \\"event_participants\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"event_id\\" UUID,\\n \\"profile_id\\" UUID,\\n \\"role\\" TEXT DEFAULT '',\\n \\"placement\\" INTEGER,\\n \\"group_id\\" TEXT,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false,"unique":false},"event_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"unique":false,"foreignKey":{"table":"events","column":"id","onDelete":"CASCADE","onUpdate":"CASCADE"}},"profile_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false,"unique":false},"role":{"type":"TEXT","notNull":false,"unique":false,"default":""},"placement":{"type":"INTEGER","notNull":false,"unique":false},"group_id":{"type":"TEXT","notNull":false,"unique":false},"metadata":{"type":"TEXT","notNull":false,"unique":false},"external_id":{"type":"TEXT","notNull":false,"unique":false},"source":{"type":"TEXT","notNull":false,"unique":false}},"indexes":[{"name":"event_participants_event_id_profile_id_idx","columns":["event_id","profile_id","role"],"unique":true,"nullsNotDistinct":true},{"name":"event_participants_slug_context_idx","columns":["slug","context"]},{"name":"event_participants_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_participants_profile_id_idx","columns":["profile_id"]}],"version":"c2faac84"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventSeriesCollection":{"name":"eventseriescollection","className":"EventSeriesCollection","qualifiedName":"@happyvertical/smrt-events:EventSeriesCollection","collection":"eventserieses","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventSeriesCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"getByOrganizer":{"name":"getByOrganizer","async":true,"parameters":[{"name":"organizerId","type":"string","optional":false}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"getActive":{"name":"getActive","async":true,"parameters":[],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"getUpcoming":{"name":"getUpcoming","async":true,"parameters":[{"name":"limit","type":"number","optional":true}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"getByType":{"name":"getByType","async":true,"parameters":[{"name":"typeId","type":"string","optional":false}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"search":{"name":"search","async":true,"parameters":[{"name":"query","type":"string","optional":false},{"name":"filters","type":"EventSeriesSearchFilters","optional":true}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"findByTenant":{"name":"findByTenant","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"findGlobal":{"name":"findGlobal","async":true,"parameters":[],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true},"findWithGlobals":{"name":"findWithGlobals","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventSeries[]>","isStatic":false,"isPublic":true}},"decoratorConfig":{},"extends":"SmrtCollection","extendsTypeArg":"EventSeries","exportName":"EventSeriesCollection","collectionExportName":"EventSeriesCollectionCollection","schema":{"tableName":"event_series","ddl":"CREATE TABLE IF NOT EXISTS \\"event_series\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"type_id\\" UUID,\\n \\"organizer_id\\" UUID,\\n \\"description\\" TEXT,\\n \\"start_date\\" TIMESTAMP,\\n \\"end_date\\" TIMESTAMP,\\n \\"recurrence\\" TEXT,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"type_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_types","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE"}},"organizer_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false},"description":{"type":"TEXT","notNull":false},"start_date":{"type":"TIMESTAMP","notNull":false},"end_date":{"type":"TIMESTAMP","notNull":false},"recurrence":{"type":"TEXT","notNull":false},"metadata":{"type":"TEXT","notNull":false},"external_id":{"type":"TEXT","notNull":false},"source":{"type":"TEXT","notNull":false}},"indexes":[{"name":"event_series_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"event_series_meta_type_idx","columns":["_meta_type"]},{"name":"event_series_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_series_type_id_idx","columns":["type_id"]},{"name":"event_series_organizer_id_idx","columns":["organizer_id"]}],"version":"c79f5863"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventTypeCollection":{"name":"eventtypecollection","className":"EventTypeCollection","qualifiedName":"@happyvertical/smrt-events:EventTypeCollection","collection":"eventtypes","filePath":"/home/runner/work/smrt/smrt/packages/events/src/collections/EventTypeCollection.ts","packageName":"@happyvertical/smrt-events","fields":{},"methods":{"getOrCreate":{"name":"getOrCreate","async":true,"parameters":[{"name":"slug","type":"string","optional":false},{"name":"name","type":"string","optional":true}],"returnType":"Promise<EventType>","isStatic":false,"isPublic":true},"getBySlug":{"name":"getBySlug","async":true,"parameters":[{"name":"slug","type":"string","optional":false}],"returnType":"Promise<EventType | null>","isStatic":false,"isPublic":true},"initializeDefaults":{"name":"initializeDefaults","async":true,"parameters":[],"returnType":"Promise<EventType[]>","isStatic":false,"isPublic":true},"findByTenant":{"name":"findByTenant","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventType[]>","isStatic":false,"isPublic":true},"findGlobal":{"name":"findGlobal","async":true,"parameters":[],"returnType":"Promise<EventType[]>","isStatic":false,"isPublic":true},"findWithGlobals":{"name":"findWithGlobals","async":true,"parameters":[{"name":"tenantId","type":"string","optional":false}],"returnType":"Promise<EventType[]>","isStatic":false,"isPublic":true}},"decoratorConfig":{},"extends":"SmrtCollection","extendsTypeArg":"EventType","exportName":"EventTypeCollection","collectionExportName":"EventTypeCollectionCollection","schema":{"tableName":"event_types","ddl":"CREATE TABLE IF NOT EXISTS \\"event_types\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"description\\" TEXT DEFAULT '',\\n \\"schema\\" TEXT DEFAULT '',\\n \\"participant_schema\\" TEXT DEFAULT ''\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"description":{"type":"TEXT","notNull":false,"default":""},"schema":{"type":"TEXT","notNull":false,"default":""},"participant_schema":{"type":"TEXT","notNull":false,"default":""}},"indexes":[{"name":"event_types_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"event_types_meta_type_idx","columns":["_meta_type"]},{"name":"event_types_tenant_id_created_at_idx","columns":["tenant_id","created_at"]}],"version":"922ae3b0"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:Event":{"name":"event","className":"Event","qualifiedName":"@happyvertical/smrt-events:Event","collection":"events","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/Event.ts","packageName":"@happyvertical/smrt-events","fields":{"created_at":{"type":"datetime","required":false},"updated_at":{"type":"datetime","required":false},"parentId":{"type":"foreignKey","required":false,"related":"Event","_meta":{"nullable":true,"constraint":{"engines":["postgres","sqlite"]}}},"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"name":{"type":"text","required":false,"default":"","description":"What the event is called.","_meta":{"description":"What the event is called."}},"seriesId":{"type":"foreignKey","required":false,"related":"EventSeries","description":"The series this event is part of, if any.","_meta":{"description":"The series this event is part of, if any.","constraint":{"engines":["postgres","sqlite"]}}},"typeId":{"type":"foreignKey","required":false,"related":"EventType","description":"The kind of event.","_meta":{"description":"The kind of event.","constraint":{"engines":["postgres","sqlite"]}}},"placeId":{"type":"crossPackageRef","required":false,"related":"@happyvertical/smrt-places:Place","description":"Where it takes place.","_meta":{"description":"Where it takes place."}},"description":{"type":"text","required":false,"description":"What the event is about.","_meta":{"description":"What the event is about."}},"startDate":{"type":"datetime","required":false,"description":"When it starts.","_meta":{"description":"When it starts."}},"endDate":{"type":"datetime","required":false,"description":"When it ends.","_meta":{"description":"When it ends."}},"allDay":{"type":"boolean","required":false,"default":false,"description":"Whether the event lasts all day.","_meta":{"description":"Whether the event lasts all day."}},"timeZone":{"type":"text","required":false},"status":{"type":"text","required":false,"default":"scheduled","description":"scheduled, in progress, completed, cancelled or postponed.","_meta":{"description":"scheduled, in progress, completed, cancelled or postponed."},"enum":["scheduled","in_progress","completed","cancelled","postponed"]},"round":{"type":"integer","required":false},"metadata":{"type":"text","required":false},"externalId":{"type":"text","required":false},"source":{"type":"text","required":false},"createdAt":{"type":"text","required":false},"updatedAt":{"type":"text","required":false}},"methods":{"getParent":{"name":"getParent","async":true,"parameters":[],"returnType":"Promise<this | null>","isStatic":false,"isPublic":true},"getChildren":{"name":"getChildren","async":true,"parameters":[],"returnType":"Promise<this[]>","isStatic":false,"isPublic":true},"getAncestors":{"name":"getAncestors","async":true,"parameters":[],"returnType":"Promise<this[]>","isStatic":false,"isPublic":true},"getDescendants":{"name":"getDescendants","async":true,"parameters":[],"returnType":"Promise<this[]>","isStatic":false,"isPublic":true},"getHierarchy":{"name":"getHierarchy","async":true,"parameters":[],"returnType":"Promise<HierarchyView<this>>","isStatic":false,"isPublic":true},"moveTo":{"name":"moveTo","async":true,"parameters":[{"name":"newParent","type":"this | string | null","optional":false,"unionBranches":[{"type":"this"},{"type":"string"},{"type":"null"}]}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"getMetadata":{"name":"getMetadata","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setMetadata":{"name":"setMetadata","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"updateMetadata":{"name":"updateMetadata","async":false,"parameters":[{"name":"updates","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"updateStatus":{"name":"updateStatus","async":true,"parameters":[{"name":"newStatus","type":"EventStatus","optional":false}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"getSeries":{"name":"getSeries","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getType":{"name":"getType","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getPlace":{"name":"getPlace","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getRootEvent":{"name":"getRootEvent","async":true,"parameters":[],"returnType":"Promise<Event>","isStatic":false,"isPublic":true},"getParticipants":{"name":"getParticipants","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getAssets":{"name":"getAssets","async":true,"parameters":[{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<Asset[]>","isStatic":false,"isPublic":true},"addAsset":{"name":"addAsset","async":true,"parameters":[{"name":"asset","type":"Asset","optional":false},{"name":"relationship","type":"any","optional":true,"default":"attachment"},{"name":"sortOrder","type":"any","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"removeAsset":{"name":"removeAsset","async":true,"parameters":[{"name":"assetId","type":"string","optional":false},{"name":"relationship","type":"string","optional":true}],"returnType":"Promise<void>","isStatic":false,"isPublic":true},"isInProgress":{"name":"isInProgress","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true},"isRoot":{"name":"isRoot","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true}},"decoratorConfig":{"tableStrategy":"sti","api":{"include":["list","get","create","update","delete"]},"mcp":{"include":["list","get","create","update"]},"cli":{"skipApiCheck":true},"tenantScoped":{"mode":"optional"},"conflictColumns":["tenant_id","slug","context","_meta_type"]},"extends":"SmrtHierarchical","exportName":"Event","collectionExportName":"EventCollection","displayLabelField":"name","schema":{"tableName":"events","ddl":"CREATE TABLE IF NOT EXISTS \\"events\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"parent_id\\" UUID,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"series_id\\" UUID,\\n \\"type_id\\" UUID,\\n \\"place_id\\" UUID,\\n \\"description\\" TEXT,\\n \\"start_date\\" TIMESTAMP,\\n \\"end_date\\" TIMESTAMP,\\n \\"all_day\\" BOOLEAN DEFAULT FALSE,\\n \\"time_zone\\" TEXT,\\n \\"status\\" TEXT DEFAULT 'scheduled',\\n \\"round\\" INTEGER,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"parent_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"events","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"series_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_series","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"type_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_types","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE","engines":["postgres","sqlite"]}},"place_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false},"description":{"type":"TEXT","notNull":false},"start_date":{"type":"TIMESTAMP","notNull":false},"end_date":{"type":"TIMESTAMP","notNull":false},"all_day":{"type":"BOOLEAN","notNull":false,"default":false},"time_zone":{"type":"TEXT","notNull":false},"status":{"type":"TEXT","notNull":false,"default":"scheduled"},"round":{"type":"INTEGER","notNull":false},"metadata":{"type":"TEXT","notNull":false},"external_id":{"type":"TEXT","notNull":false},"source":{"type":"TEXT","notNull":false}},"indexes":[{"name":"events_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"events_meta_type_idx","columns":["_meta_type"]},{"name":"events_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"events_parent_id_idx","columns":["parent_id"]},{"name":"events_series_id_idx","columns":["series_id"]},{"name":"events_type_id_idx","columns":["type_id"]},{"name":"events_place_id_idx","columns":["place_id"]}],"version":"8e689646"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventAsset":{"name":"eventasset","className":"EventAsset","qualifiedName":"@happyvertical/smrt-events:EventAsset","collection":"eventassets","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/EventAsset.ts","packageName":"@happyvertical/smrt-events","fields":{"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"eventId":{"type":"foreignKey","required":true,"related":"Event","_meta":{"required":true}},"assetId":{"type":"crossPackageRef","required":true,"related":"@happyvertical/smrt-assets:Asset"},"relationship":{"type":"text","required":true,"_meta":{"required":true}},"sortOrder":{"type":"integer","required":true,"default":0}},"methods":{},"decoratorConfig":{"tableName":"event_assets","conflictColumns":["event_id","asset_id","relationship"],"api":false,"mcp":false,"cli":false,"tenantScoped":{"mode":"optional"}},"extends":"SmrtObject","exportName":"EventAsset","collectionExportName":"EventAssetCollection","validationRules":[{"field":"eventId","rule":"required","fieldType":"foreignKey"},{"field":"assetId","rule":"required","fieldType":"crossPackageRef"},{"field":"relationship","rule":"required","fieldType":"text"},{"field":"sortOrder","rule":"required","fieldType":"integer"}],"schema":{"tableName":"event_assets","ddl":"CREATE TABLE IF NOT EXISTS \\"event_assets\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"event_id\\" UUID NOT NULL,\\n \\"asset_id\\" UUID NOT NULL,\\n \\"relationship\\" TEXT NOT NULL,\\n \\"sort_order\\" INTEGER NOT NULL DEFAULT 0\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false,"unique":false},"event_id":{"type":"UUID","referenceKind":"foreignKey","notNull":true,"unique":false,"foreignKey":{"table":"events","column":"id","onDelete":"CASCADE","onUpdate":"CASCADE"}},"asset_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":true,"unique":false},"relationship":{"type":"TEXT","notNull":true,"unique":false},"sort_order":{"type":"INTEGER","notNull":true,"unique":false,"default":0}},"indexes":[{"name":"event_assets_event_id_asset_id_idx","columns":["event_id","asset_id","relationship"],"unique":true},{"name":"event_assets_slug_context_idx","columns":["slug","context"]},{"name":"event_assets_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_assets_asset_id_idx","columns":["asset_id"]}],"version":"aeebedc6"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventParticipant":{"name":"eventparticipant","className":"EventParticipant","qualifiedName":"@happyvertical/smrt-events:EventParticipant","collection":"eventparticipants","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/EventParticipant.ts","packageName":"@happyvertical/smrt-events","fields":{"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"eventId":{"type":"foreignKey","required":false,"related":"Event","description":"The event the person takes part in.","_meta":{"description":"The event the person takes part in."}},"profileId":{"type":"crossPackageRef","required":false,"related":"@happyvertical/smrt-profiles:Profile","description":"The person taking part.","_meta":{"description":"The person taking part."}},"role":{"type":"text","required":false,"default":"","description":"What they do there, for example speaker or attendee.","_meta":{"description":"What they do there, for example speaker or attendee."}},"placement":{"type":"integer","required":false},"groupId":{"type":"text","required":false},"metadata":{"type":"text","required":false},"externalId":{"type":"text","required":false},"source":{"type":"text","required":false},"createdAt":{"type":"text","required":false},"updatedAt":{"type":"text","required":false}},"methods":{"getMetadata":{"name":"getMetadata","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setMetadata":{"name":"setMetadata","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"updateMetadata":{"name":"updateMetadata","async":false,"parameters":[{"name":"updates","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getEvent":{"name":"getEvent","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getProfile":{"name":"getProfile","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getGroupParticipants":{"name":"getGroupParticipants","async":true,"parameters":[],"returnType":"Promise<EventParticipant[]>","isStatic":false,"isPublic":true},"isHome":{"name":"isHome","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true},"isAway":{"name":"isAway","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true}},"decoratorConfig":{"conflictColumns":["event_id","profile_id","role"],"api":{"include":["list","get","create","update","delete"]},"mcp":{"include":["list","get","create","update"]},"cli":{"skipApiCheck":true},"tenantScoped":{"mode":"optional"}},"extends":"SmrtObject","exportName":"EventParticipant","collectionExportName":"EventParticipantCollection","schema":{"tableName":"event_participants","ddl":"CREATE TABLE IF NOT EXISTS \\"event_participants\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"event_id\\" UUID,\\n \\"profile_id\\" UUID,\\n \\"role\\" TEXT DEFAULT '',\\n \\"placement\\" INTEGER,\\n \\"group_id\\" TEXT,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false,"unique":false},"event_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"unique":false,"foreignKey":{"table":"events","column":"id","onDelete":"CASCADE","onUpdate":"CASCADE"}},"profile_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false,"unique":false},"role":{"type":"TEXT","notNull":false,"unique":false,"default":""},"placement":{"type":"INTEGER","notNull":false,"unique":false},"group_id":{"type":"TEXT","notNull":false,"unique":false},"metadata":{"type":"TEXT","notNull":false,"unique":false},"external_id":{"type":"TEXT","notNull":false,"unique":false},"source":{"type":"TEXT","notNull":false,"unique":false}},"indexes":[{"name":"event_participants_event_id_profile_id_idx","columns":["event_id","profile_id","role"],"unique":true,"nullsNotDistinct":true},{"name":"event_participants_slug_context_idx","columns":["slug","context"]},{"name":"event_participants_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_participants_profile_id_idx","columns":["profile_id"]}],"version":"c2faac84"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventSeries":{"name":"eventseries","className":"EventSeries","qualifiedName":"@happyvertical/smrt-events:EventSeries","collection":"eventserieses","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/EventSeries.ts","packageName":"@happyvertical/smrt-events","fields":{"created_at":{"type":"datetime","required":false},"updated_at":{"type":"datetime","required":false},"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"name":{"type":"text","required":false,"default":"","description":"What the series is called.","_meta":{"description":"What the series is called."}},"typeId":{"type":"foreignKey","required":false,"related":"EventType","description":"The kind of event in this series.","_meta":{"description":"The kind of event in this series."}},"organizerId":{"type":"crossPackageRef","required":false,"related":"@happyvertical/smrt-profiles:Profile","description":"Who runs the series.","_meta":{"description":"Who runs the series."}},"description":{"type":"text","required":false,"description":"What the series is about.","_meta":{"description":"What the series is about."}},"startDate":{"type":"datetime","required":false,"description":"When the series begins.","_meta":{"description":"When the series begins."}},"endDate":{"type":"datetime","required":false,"description":"When the series ends.","_meta":{"description":"When the series ends."}},"recurrence":{"type":"text","required":false,"description":"How often it repeats.","_meta":{"description":"How often it repeats."}},"metadata":{"type":"text","required":false},"externalId":{"type":"text","required":false},"source":{"type":"text","required":false},"createdAt":{"type":"text","required":false},"updatedAt":{"type":"text","required":false}},"methods":{"getRecurrence":{"name":"getRecurrence","async":false,"parameters":[],"returnType":"RecurrencePattern | null","isStatic":false,"isPublic":true},"setRecurrence":{"name":"setRecurrence","async":false,"parameters":[{"name":"pattern","type":"RecurrencePattern","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getOccurrences":{"name":"getOccurrences","async":false,"parameters":[{"name":"rangeStart","type":"Date","optional":false},{"name":"rangeEnd","type":"Date","optional":false},{"name":"options","type":"object","optional":true,"memberTypes":["string","Date","number"]}],"returnType":"Date[]","isStatic":false,"isPublic":true},"getMetadata":{"name":"getMetadata","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setMetadata":{"name":"setMetadata","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"updateMetadata":{"name":"updateMetadata","async":false,"parameters":[{"name":"updates","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getType":{"name":"getType","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getOrganizer":{"name":"getOrganizer","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"getEvents":{"name":"getEvents","async":true,"parameters":[],"returnType":"any","isStatic":false,"isPublic":true},"isActive":{"name":"isActive","async":false,"parameters":[],"returnType":"boolean","isStatic":false,"isPublic":true}},"decoratorConfig":{"tableStrategy":"sti","api":{"include":["list","get","create","update","delete"]},"mcp":{"include":["list","get","create","update"]},"cli":{"skipApiCheck":true},"tenantScoped":{"mode":"optional"},"conflictColumns":["tenant_id","slug","context","_meta_type"]},"extends":"SmrtObject","exportName":"EventSeries","collectionExportName":"EventSeriesCollection","displayLabelField":"name","schema":{"tableName":"event_series","ddl":"CREATE TABLE IF NOT EXISTS \\"event_series\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"type_id\\" UUID,\\n \\"organizer_id\\" UUID,\\n \\"description\\" TEXT,\\n \\"start_date\\" TIMESTAMP,\\n \\"end_date\\" TIMESTAMP,\\n \\"recurrence\\" TEXT,\\n \\"metadata\\" TEXT,\\n \\"external_id\\" TEXT,\\n \\"source\\" TEXT\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"type_id":{"type":"UUID","referenceKind":"foreignKey","notNull":false,"foreignKey":{"table":"event_types","column":"id","onDelete":"NO ACTION","onUpdate":"CASCADE"}},"organizer_id":{"type":"UUID","referenceKind":"crossPackageRef","notNull":false},"description":{"type":"TEXT","notNull":false},"start_date":{"type":"TIMESTAMP","notNull":false},"end_date":{"type":"TIMESTAMP","notNull":false},"recurrence":{"type":"TEXT","notNull":false},"metadata":{"type":"TEXT","notNull":false},"external_id":{"type":"TEXT","notNull":false},"source":{"type":"TEXT","notNull":false}},"indexes":[{"name":"event_series_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"event_series_meta_type_idx","columns":["_meta_type"]},{"name":"event_series_tenant_id_created_at_idx","columns":["tenant_id","created_at"]},{"name":"event_series_type_id_idx","columns":["type_id"]},{"name":"event_series_organizer_id_idx","columns":["organizer_id"]}],"version":"c79f5863"},"importPath":"@happyvertical/smrt-events"},"@happyvertical/smrt-events:EventType":{"name":"eventtype","className":"EventType","qualifiedName":"@happyvertical/smrt-events:EventType","collection":"eventtypes","filePath":"/home/runner/work/smrt/smrt/packages/events/src/models/EventType.ts","packageName":"@happyvertical/smrt-events","fields":{"created_at":{"type":"datetime","required":false},"updated_at":{"type":"datetime","required":false},"tenantId":{"type":"text","required":false,"_meta":{"sqlType":"UUID","nullable":true,"__tenancy":{"isTenantIdField":true,"autoFilter":true,"required":false,"autoPopulate":true,"nullable":true,"mode":"optional","field":"tenantId","allowSuperAdminBypass":false}}},"name":{"type":"text","required":true,"default":"","description":"What this kind of event is called, for example workshop.","_meta":{"required":true,"description":"What this kind of event is called, for example workshop."}},"description":{"type":"text","required":false,"default":"","description":"What this kind of event is for.","_meta":{"description":"What this kind of event is for."}},"schema":{"type":"text","required":false,"default":""},"participantSchema":{"type":"text","required":false,"default":""},"createdAt":{"type":"datetime","required":false},"updatedAt":{"type":"datetime","required":false}},"methods":{"getSchema":{"name":"getSchema","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setSchema":{"name":"setSchema","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getParticipantSchema":{"name":"getParticipantSchema","async":false,"parameters":[],"returnType":"Record<string, unknown>","isStatic":false,"isPublic":true},"setParticipantSchema":{"name":"setParticipantSchema","async":false,"parameters":[{"name":"data","type":"Record<string, unknown>","optional":false}],"returnType":"void","isStatic":false,"isPublic":true},"getBySlug":{"name":"getBySlug","async":true,"parameters":[{"name":"_slug","type":"string","optional":false}],"returnType":"Promise<EventType | null>","isStatic":true,"isPublic":true}},"decoratorConfig":{"tableStrategy":"sti","api":{"include":["list","get","create","update","delete"]},"mcp":{"include":["list","get","create"]},"cli":{"skipApiCheck":true},"tenantScoped":{"mode":"optional"},"conflictColumns":["tenant_id","slug","context","_meta_type"]},"extends":"SmrtObject","exportName":"EventType","collectionExportName":"EventTypeCollection","displayLabelField":"name","validationRules":[{"field":"name","rule":"required","fieldType":"text"}],"schema":{"tableName":"event_types","ddl":"CREATE TABLE IF NOT EXISTS \\"event_types\\" (\\n \\"id\\" UUID PRIMARY KEY NOT NULL,\\n \\"slug\\" TEXT NOT NULL,\\n \\"context\\" TEXT NOT NULL DEFAULT '',\\n \\"_meta_type\\" TEXT NOT NULL,\\n \\"_meta_data\\" JSON,\\n \\"created_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"updated_at\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\"tenant_id\\" UUID,\\n \\"name\\" TEXT DEFAULT '',\\n \\"description\\" TEXT DEFAULT '',\\n \\"schema\\" TEXT DEFAULT '',\\n \\"participant_schema\\" TEXT DEFAULT ''\\n);","columns":{"id":{"type":"UUID","primaryKey":true,"referenceKind":"id","notNull":true},"slug":{"type":"TEXT","notNull":true},"context":{"type":"TEXT","notNull":true,"default":""},"_meta_type":{"type":"TEXT","notNull":true},"_meta_data":{"type":"JSON","notNull":false},"created_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"updated_at":{"type":"TIMESTAMP","notNull":true,"default":"current_timestamp"},"tenant_id":{"type":"UUID","referenceKind":"tenantId","notNull":false},"name":{"type":"TEXT","notNull":false,"default":""},"description":{"type":"TEXT","notNull":false,"default":""},"schema":{"type":"TEXT","notNull":false,"default":""},"participant_schema":{"type":"TEXT","notNull":false,"default":""}},"indexes":[{"name":"event_types_slug_context_meta_type_idx","columns":["tenant_id","slug","context","_meta_type"],"unique":true,"nullsNotDistinct":true},{"name":"event_types_meta_type_idx","columns":["_meta_type"]},{"name":"event_types_tenant_id_created_at_idx","columns":["tenant_id","created_at"]}],"version":"922ae3b0"},"importPath":"@happyvertical/smrt-events"}},"moduleType":"smrt","recipes":[{"id":"events.calendar","className":"CalendarRecipe","label":"Events","summary":"Schedule events, group them in series and track who takes part.","synonyms":["calendar","schedule","meetings","bookings","attendees"],"models":["@happyvertical/smrt-events:Event","@happyvertical/smrt-events:EventType","@happyvertical/smrt-events:EventSeries","@happyvertical/smrt-events:EventParticipant"],"nav":[{"label":"Events","model":"@happyvertical/smrt-events:Event","icon":"calendar","description":"Everything on your calendar, with who and when."},{"label":"Event types","model":"@happyvertical/smrt-events:EventType","icon":"tag","description":"The kinds of events you run, such as workshops or classes."},{"label":"Event series","model":"@happyvertical/smrt-events:EventSeries","icon":"repeat","description":"Repeating schedules, like a class every Tuesday evening."}],"requires":[],"section":{"id":"calendar","label":"Calendar","icon":"calendar","description":"Events and what is scheduled when."},"options":{"@happyvertical/smrt-events:Event":{"fields":{"parentId":{"visibility":"hidden"},"round":{"visibility":"hidden"},"metadata":{"visibility":"hidden"},"externalId":{"visibility":"hidden"},"source":{"visibility":"hidden"},"timeZone":{"visibility":"hidden"}}},"@happyvertical/smrt-events:EventType":{"fields":{"schema":{"visibility":"hidden"},"participantSchema":{"visibility":"hidden"}}},"@happyvertical/smrt-events:EventSeries":{"fields":{"metadata":{"visibility":"hidden"},"externalId":{"visibility":"hidden"},"source":{"visibility":"hidden"}}},"@happyvertical/smrt-events:EventParticipant":{"fields":{"groupId":{"visibility":"hidden"},"placement":{"visibility":"hidden"},"metadata":{"visibility":"hidden"},"externalId":{"visibility":"hidden"},"source":{"visibility":"hidden"}}}},"help":{"markdown":"## Overview\\n\\nEvents is your calendar. Each event has a time and a type, can belong to a\\nseries, and lists who takes part.\\n\\n## Tasks\\n\\n### Schedule an event\\n\\n1. Create a new event.\\n2. Enter the **{field:name}**, the **{field:startDate}** and the\\n **{field:endDate}**.\\n3. Pick the **{field:typeId}**, and the **{field:seriesId}** if it repeats.\\n4. Add the people taking part with their **{field:role}**.\\n\\n### Keep it current\\n\\n1. Update **{field:status}** as the event goes ahead, finishes or is postponed.\\n","fieldRefs":["endDate","name","role","seriesId","startDate","status","typeId"]},"surfaces":[{"kind":"route","path":"/events/meeting","export":"@happyvertical/smrt-events/svelte#MeetingView","label":"Meeting view"}],"runtime":"both","demo":{"mode":"server","reasons":["Needs a server because its package does not build for a browser: node:crypto; and its package depends on @happyvertical/smrt-places, @happyvertical/smrt-profiles, @happyvertical/smrt-tenancy, which do not build for a browser (#3617, #3624, #3626, #3627)."]}}],"smrtDependencies":["@happyvertical/smrt-assets","@happyvertical/smrt-core","@happyvertical/smrt-places","@happyvertical/smrt-profiles","@happyvertical/smrt-tenancy"],"browser":{"status":"server-only","issues":["#3617","#3624","#3626","#3627"],"reason":"node:crypto","via":["@happyvertical/smrt-places","@happyvertical/smrt-profiles","@happyvertical/smrt-tenancy"]},"stampsConstructors":true}`));
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/calendar/icalendar.ts
|
|
24
24
|
var CalendarEventValidationError = class extends Error {
|