@lssm/example.team-hub 0.0.0-canary-20251217083314 → 0.0.0-canary-20251219202229
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/LICENSE +21 -0
- package/dist/announcement/announcement.contracts.d.ts +18 -17
- package/dist/announcement/announcement.contracts.d.ts.map +1 -0
- package/dist/announcement/announcement.contracts.js +2 -1
- package/dist/announcement/announcement.contracts.js.map +1 -0
- package/dist/announcement/announcement.schema.d.ts +17 -16
- package/dist/announcement/announcement.schema.d.ts.map +1 -0
- package/dist/announcement/announcement.schema.js +17 -18
- package/dist/announcement/announcement.schema.js.map +1 -0
- package/dist/docs/team-hub.docblock.js +2 -1
- package/dist/docs/team-hub.docblock.js.map +1 -0
- package/dist/entities/index.d.ts +139 -138
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +87 -87
- package/dist/entities/index.js.map +1 -0
- package/dist/events.d.ts +79 -78
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +28 -29
- package/dist/events.js.map +1 -0
- package/dist/example.d.ts +2 -1
- package/dist/example.d.ts.map +1 -0
- package/dist/example.js +2 -1
- package/dist/example.js.map +1 -0
- package/dist/handlers/index.d.ts +2 -1
- package/dist/handlers/index.d.ts.map +1 -0
- package/dist/handlers/index.js +2 -1
- package/dist/handlers/index.js.map +1 -0
- package/dist/libs/contracts/dist/capabilities/openbanking.js +2 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js.map +1 -0
- package/dist/libs/contracts/dist/contract-registry/schemas.js +2 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js.map +1 -0
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/index.js +2 -6
- package/dist/libs/contracts/dist/docs/meta.docs.js +30 -0
- package/dist/libs/contracts/dist/docs/meta.docs.js.map +1 -0
- package/dist/libs/contracts/dist/docs/presentations.js +2 -1
- package/dist/libs/contracts/dist/docs/presentations.js.map +1 -0
- package/dist/libs/contracts/dist/docs/registry.js +2 -1
- package/dist/libs/contracts/dist/docs/registry.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +2 -1
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -0
- package/dist/libs/contracts/dist/docs/tech-contracts.docs.js +97 -0
- package/dist/libs/contracts/dist/docs/tech-contracts.docs.js.map +1 -0
- package/dist/libs/contracts/dist/events.js +2 -1
- package/dist/libs/contracts/dist/events.js.map +1 -0
- package/dist/libs/contracts/dist/index.js +2 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +65 -66
- package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +31 -32
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +18 -19
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +32 -33
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +60 -61
- package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +2 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/powens.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +1 -0
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +2 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/contracts.js +44 -45
- package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js.map +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +2 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js +2 -1
- package/dist/libs/contracts/dist/llm/exporters.js.map +1 -0
- package/dist/libs/contracts/dist/onboarding-base.js +22 -23
- package/dist/libs/contracts/dist/onboarding-base.js.map +1 -0
- package/dist/libs/contracts/dist/ownership.js +4 -2
- package/dist/libs/contracts/dist/ownership.js.map +1 -0
- package/dist/libs/contracts/dist/presentations.v2.js +2 -1
- package/dist/libs/contracts/dist/presentations.v2.js.map +1 -0
- package/dist/libs/contracts/dist/regenerator/service.js +2 -1
- package/dist/libs/contracts/dist/regenerator/service.js.map +1 -0
- package/dist/libs/contracts/dist/schema/dist/index.js +3873 -6
- package/dist/libs/contracts/dist/schema/dist/index.js.map +1 -0
- package/dist/libs/contracts/dist/spec.js +2 -1
- package/dist/libs/contracts/dist/spec.js.map +1 -0
- package/dist/libs/schema/dist/index.js +4889 -6
- package/dist/libs/schema/dist/index.js.map +1 -0
- package/dist/presentations/index.d.ts +2 -1
- package/dist/presentations/index.d.ts.map +1 -0
- package/dist/presentations/index.js +2 -1
- package/dist/presentations/index.js.map +1 -0
- package/dist/presentations.d.ts +2 -1
- package/dist/presentations.d.ts.map +1 -0
- package/dist/presentations.js +2 -1
- package/dist/presentations.js.map +1 -0
- package/dist/ritual/ritual.contracts.d.ts +30 -29
- package/dist/ritual/ritual.contracts.d.ts.map +1 -0
- package/dist/ritual/ritual.contracts.js +2 -1
- package/dist/ritual/ritual.contracts.js.map +1 -0
- package/dist/ritual/ritual.schema.d.ts +22 -21
- package/dist/ritual/ritual.schema.d.ts.map +1 -0
- package/dist/ritual/ritual.schema.js +22 -23
- package/dist/ritual/ritual.schema.js.map +1 -0
- package/dist/space/space.contracts.d.ts +15 -14
- package/dist/space/space.contracts.d.ts.map +1 -0
- package/dist/space/space.contracts.js +2 -1
- package/dist/space/space.contracts.js.map +1 -0
- package/dist/space/space.schema.d.ts +14 -13
- package/dist/space/space.schema.d.ts.map +1 -0
- package/dist/space/space.schema.js +14 -15
- package/dist/space/space.schema.js.map +1 -0
- package/dist/task/task.contracts.d.ts +62 -61
- package/dist/task/task.contracts.d.ts.map +1 -0
- package/dist/task/task.contracts.js +11 -12
- package/dist/task/task.contracts.js.map +1 -0
- package/dist/task/task.schema.d.ts +21 -20
- package/dist/task/task.schema.d.ts.map +1 -0
- package/dist/task/task.schema.js +21 -22
- package/dist/task/task.schema.js.map +1 -0
- package/dist/team-hub.feature.d.ts +2 -1
- package/dist/team-hub.feature.d.ts.map +1 -0
- package/dist/team-hub.feature.js +2 -1
- package/dist/team-hub.feature.js.map +1 -0
- package/package.json +12 -11
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/schema/dist/EnumType.js +0 -2
- package/dist/libs/schema/dist/FieldType.js +0 -49
- package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/libs/schema/dist/SchemaModel.js +0 -39
- package/dist/libs/schema/dist/entity/defineEntity.js +0 -236
- package/dist/libs/schema/dist/entity/index.js +0 -2
- package/dist/libs/schema/dist/entity/types.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":["export const TeamHubPresentations = [\n 'team-hub.dashboard',\n 'team-hub.space.list',\n 'team-hub.task.board',\n 'team-hub.task.detail',\n 'team-hub.ritual.calendar',\n 'team-hub.announcement.feed',\n];\n"],"mappings":";AAAA,MAAa,uBAAuB;CAClC;CACA;CACA;CACA;CACA;CACA;CACD"}
|
package/dist/presentations.d.ts
CHANGED
|
@@ -8,4 +8,5 @@ declare const TaskDetailPresentation: PresentationDescriptorV2;
|
|
|
8
8
|
declare const RitualCalendarPresentation: PresentationDescriptorV2;
|
|
9
9
|
declare const AnnouncementFeedPresentation: PresentationDescriptorV2;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { AnnouncementFeedPresentation, RitualCalendarPresentation, SpaceListPresentation, TaskBoardPresentation, TaskDetailPresentation, TeamDashboardPresentation };
|
|
11
|
+
export { AnnouncementFeedPresentation, RitualCalendarPresentation, SpaceListPresentation, TaskBoardPresentation, TaskDetailPresentation, TeamDashboardPresentation };
|
|
12
|
+
//# sourceMappingURL=presentations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.d.ts","names":[],"sources":["../src/presentations.ts"],"sourcesContent":[],"mappings":";;;cAEa,2BAA2B;cAoB3B,uBAAuB;AApBvB,cAwCA,qBAtBZ,EAsBmC,wBAxCI;AAoB3B,cAwCA,sBAxCuB,EAwCC,wBAtBpC;AAEY,cAwCA,0BAxCuB,EAwCK,wBAtBxC;AAEY,cAwCA,4BAxCwB,EAwCM,wBAtB1C"}
|
package/dist/presentations.js
CHANGED
|
@@ -124,4 +124,5 @@ const AnnouncementFeedPresentation = {
|
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
//#endregion
|
|
127
|
-
export { AnnouncementFeedPresentation, RitualCalendarPresentation, SpaceListPresentation, TaskBoardPresentation, TaskDetailPresentation, TeamDashboardPresentation };
|
|
127
|
+
export { AnnouncementFeedPresentation, RitualCalendarPresentation, SpaceListPresentation, TaskBoardPresentation, TaskDetailPresentation, TeamDashboardPresentation };
|
|
128
|
+
//# sourceMappingURL=presentations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentations.js","names":["TeamDashboardPresentation: PresentationDescriptorV2","SpaceListPresentation: PresentationDescriptorV2","TaskBoardPresentation: PresentationDescriptorV2","TaskDetailPresentation: PresentationDescriptorV2","RitualCalendarPresentation: PresentationDescriptorV2","AnnouncementFeedPresentation: PresentationDescriptorV2"],"sources":["../src/presentations.ts"],"sourcesContent":["import type { PresentationDescriptorV2 } from '@lssm/lib.contracts';\n\nexport const TeamDashboardPresentation: PresentationDescriptorV2 = {\n meta: {\n name: 'team-hub.dashboard',\n version: 1,\n description: 'Team hub dashboard with activity overview',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'dashboard'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'TeamDashboard',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['team.dashboard.enabled'],\n },\n};\n\nexport const SpaceListPresentation: PresentationDescriptorV2 = {\n meta: {\n name: 'team-hub.space.list',\n version: 1,\n description: 'List of team spaces',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'spaces', 'list'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'SpaceList',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['team.spaces.enabled'],\n },\n};\n\nexport const TaskBoardPresentation: PresentationDescriptorV2 = {\n meta: {\n name: 'team-hub.task.board',\n version: 1,\n description: 'Task board with kanban view',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'tasks', 'board', 'kanban'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'TaskBoard',\n },\n targets: ['react'],\n policy: {\n flags: ['team.tasks.enabled'],\n },\n};\n\nexport const TaskDetailPresentation: PresentationDescriptorV2 = {\n meta: {\n name: 'team-hub.task.detail',\n version: 1,\n description: 'Task detail with comments and history',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'task', 'detail'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'TaskDetail',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['team.tasks.enabled'],\n },\n};\n\nexport const RitualCalendarPresentation: PresentationDescriptorV2 = {\n meta: {\n name: 'team-hub.ritual.calendar',\n version: 1,\n description: 'Calendar view of team rituals',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'rituals', 'calendar'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'RitualCalendar',\n },\n targets: ['react'],\n policy: {\n flags: ['team.rituals.enabled'],\n },\n};\n\nexport const AnnouncementFeedPresentation: PresentationDescriptorV2 = {\n meta: {\n name: 'team-hub.announcement.feed',\n version: 1,\n description: 'Feed of team announcements',\n domain: 'collaboration',\n owners: ['@team-hub'],\n tags: ['team', 'announcements', 'feed'],\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'AnnouncementFeed',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['team.announcements.enabled'],\n },\n};\n"],"mappings":";AAEA,MAAaA,4BAAsD;CACjE,MAAM;EACJ,MAAM;EACN,SAAS;EACT,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM,CAAC,QAAQ,YAAY;EAC5B;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,yBAAyB,EAClC;CACF;AAED,MAAaC,wBAAkD;CAC7D,MAAM;EACJ,MAAM;EACN,SAAS;EACT,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAU;GAAO;EACjC;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,sBAAsB,EAC/B;CACF;AAED,MAAaC,wBAAkD;CAC7D,MAAM;EACJ,MAAM;EACN,SAAS;EACT,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAS;GAAS;GAAS;EAC3C;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CAClB,QAAQ,EACN,OAAO,CAAC,qBAAqB,EAC9B;CACF;AAED,MAAaC,yBAAmD;CAC9D,MAAM;EACJ,MAAM;EACN,SAAS;EACT,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAQ;GAAS;EACjC;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,qBAAqB,EAC9B;CACF;AAED,MAAaC,6BAAuD;CAClE,MAAM;EACJ,MAAM;EACN,SAAS;EACT,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAW;GAAW;EACtC;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CAClB,QAAQ,EACN,OAAO,CAAC,uBAAuB,EAChC;CACF;AAED,MAAaC,+BAAyD;CACpE,MAAM;EACJ,MAAM;EACN,SAAS;EACT,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,YAAY;EACrB,MAAM;GAAC;GAAQ;GAAiB;GAAO;EACxC;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,6BAA6B,EACtC;CACF"}
|
|
@@ -1,106 +1,107 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema257 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts12 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/ritual/ritual.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Schedule a ritual.
|
|
7
7
|
*/
|
|
8
|
-
declare const ScheduleRitualContract:
|
|
8
|
+
declare const ScheduleRitualContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema257.SchemaModel<{
|
|
9
9
|
spaceId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
title: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
cadence: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
dayOfWeek: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
time: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
facilitatorId: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema257.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
spaceId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
title: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
cadence: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
dayOfWeek: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
time: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
}>, undefined>;
|
|
59
59
|
/**
|
|
60
60
|
* Log ritual occurrence.
|
|
61
61
|
*/
|
|
62
|
-
declare const LogRitualOccurrenceContract:
|
|
62
|
+
declare const LogRitualOccurrenceContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema257.SchemaModel<{
|
|
63
63
|
ritualId: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
scheduledFor: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema257.FieldType<Date, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
status: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
summary: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
77
77
|
isOptional: true;
|
|
78
78
|
};
|
|
79
|
-
}>,
|
|
79
|
+
}>, _lssm_lib_schema257.SchemaModel<{
|
|
80
80
|
id: {
|
|
81
|
-
type:
|
|
81
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
spaceId: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
title: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
cadence: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
dayOfWeek: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
time: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema257.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
}>, undefined>;
|
|
105
105
|
//#endregion
|
|
106
|
-
export { LogRitualOccurrenceContract, ScheduleRitualContract };
|
|
106
|
+
export { LogRitualOccurrenceContract, ScheduleRitualContract };
|
|
107
|
+
//# sourceMappingURL=ritual.contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ritual.contracts.d.ts","names":[],"sources":["../../src/ritual/ritual.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAYa,8CAAsB,iCAAA;EAAtB,OAAA,EAAA;IAgBX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAhBiC,OAAA,EAAA;;;;;;;;EAAA,IAAA,EAAA;IAqBtB,IAAA,+BAgBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;CAhBsC,CAAA,iCAAA,CAAA;;UArBL,mBAAA,CAAA;;;;;qBAqBK;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;cAA3B,mDAA2B,iCAAA;;UAgBtC,mBAAA,CAAA;;;;;;;;;;;;;;;;;UAhBsC,mBAAA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ritual.contracts.js","names":[],"sources":["../../src/ritual/ritual.contracts.ts"],"sourcesContent":["import { defineCommand } from '@lssm/lib.contracts';\nimport {\n RitualModel,\n ScheduleRitualInputModel,\n LogRitualOccurrenceInputModel,\n} from './ritual.schema';\n\nconst OWNERS = ['@examples.team-hub'] as const;\n\n/**\n * Schedule a ritual.\n */\nexport const ScheduleRitualContract = defineCommand({\n meta: {\n name: 'team.ritual.schedule',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['team-hub', 'ritual', 'schedule'],\n description: 'Schedule a recurring ritual.',\n goal: 'Team ceremonies.',\n context: 'Ritual management.',\n },\n io: {\n input: ScheduleRitualInputModel,\n output: RitualModel,\n },\n policy: { auth: 'user' },\n});\n\n/**\n * Log ritual occurrence.\n */\nexport const LogRitualOccurrenceContract = defineCommand({\n meta: {\n name: 'team.ritual.logOccurrence',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['team-hub', 'ritual', 'log'],\n description: 'Log a ritual occurrence.',\n goal: 'Record ritual history.',\n context: 'Ritual management.',\n },\n io: {\n input: LogRitualOccurrenceInputModel,\n output: RitualModel,\n },\n policy: { auth: 'user' },\n});\n"],"mappings":";;;;;AAOA,MAAM,SAAS,CAAC,qBAAqB;;;;AAKrC,MAAa,yBAAyB,cAAc;CAClD,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAY;GAAU;GAAW;EACxC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACT;CACD,QAAQ,EAAE,MAAM,QAAQ;CACzB,CAAC;;;;AAKF,MAAa,8BAA8B,cAAc;CACvD,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAY;GAAU;GAAM;EACnC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACT;CACD,QAAQ,EAAE,MAAM,QAAQ;CACzB,CAAC"}
|
|
@@ -1,84 +1,85 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema283 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/ritual/ritual.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Recurring ritual.
|
|
6
6
|
*/
|
|
7
|
-
declare const RitualModel:
|
|
7
|
+
declare const RitualModel: _lssm_lib_schema283.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
spaceId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
title: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
cadence: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
dayOfWeek: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
time: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
34
34
|
* Input for scheduling a ritual.
|
|
35
35
|
*/
|
|
36
|
-
declare const ScheduleRitualInputModel:
|
|
36
|
+
declare const ScheduleRitualInputModel: _lssm_lib_schema283.SchemaModel<{
|
|
37
37
|
spaceId: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
title: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
cadence: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
dayOfWeek: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
time: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
facilitatorId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
62
62
|
/**
|
|
63
63
|
* Input for logging ritual occurrence.
|
|
64
64
|
*/
|
|
65
|
-
declare const LogRitualOccurrenceInputModel:
|
|
65
|
+
declare const LogRitualOccurrenceInputModel: _lssm_lib_schema283.SchemaModel<{
|
|
66
66
|
ritualId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
scheduledFor: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema283.FieldType<Date, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
status: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
summary: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema283.FieldType<string, string>;
|
|
80
80
|
isOptional: true;
|
|
81
81
|
};
|
|
82
82
|
}>;
|
|
83
83
|
//#endregion
|
|
84
|
-
export { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel };
|
|
84
|
+
export { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel };
|
|
85
|
+
//# sourceMappingURL=ritual.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ritual.schema.d.ts","names":[],"sources":["../../src/ritual/ritual.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,WAWX,sBAXsB,WAWtB,CAAA;EAAA,EAAA,EAAA;UAAA,mBAAA,CAAA;;;;;qBAXsB;EAAA,CAAA;EAgBX,KAAA,EAAA;IAWX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAXmC,SAAA,EAAA;IAgBxB,IAAA,+BASX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;CATwC,CAAA;;;;cAhB7B,8CAAwB;;UAWnC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,mDAA6B;;UASxC,mBAAA,CAAA"}
|
|
@@ -1,37 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineSchemaModel } from "../libs/schema/dist/SchemaModel.js";
|
|
3
|
-
import "../libs/schema/dist/index.js";
|
|
1
|
+
import { E5, K5 } from "../libs/schema/dist/index.js";
|
|
4
2
|
|
|
5
3
|
//#region src/ritual/ritual.schema.ts
|
|
6
4
|
/**
|
|
7
5
|
* Recurring ritual.
|
|
8
6
|
*/
|
|
9
|
-
const RitualModel =
|
|
7
|
+
const RitualModel = K5({
|
|
10
8
|
name: "Ritual",
|
|
11
9
|
description: "Recurring ritual",
|
|
12
10
|
fields: {
|
|
13
11
|
id: {
|
|
14
|
-
type:
|
|
12
|
+
type: E5.String_unsecure(),
|
|
15
13
|
isOptional: false
|
|
16
14
|
},
|
|
17
15
|
spaceId: {
|
|
18
|
-
type:
|
|
16
|
+
type: E5.String_unsecure(),
|
|
19
17
|
isOptional: false
|
|
20
18
|
},
|
|
21
19
|
title: {
|
|
22
|
-
type:
|
|
20
|
+
type: E5.String_unsecure(),
|
|
23
21
|
isOptional: false
|
|
24
22
|
},
|
|
25
23
|
cadence: {
|
|
26
|
-
type:
|
|
24
|
+
type: E5.String_unsecure(),
|
|
27
25
|
isOptional: false
|
|
28
26
|
},
|
|
29
27
|
dayOfWeek: {
|
|
30
|
-
type:
|
|
28
|
+
type: E5.String_unsecure(),
|
|
31
29
|
isOptional: true
|
|
32
30
|
},
|
|
33
31
|
time: {
|
|
34
|
-
type:
|
|
32
|
+
type: E5.String_unsecure(),
|
|
35
33
|
isOptional: true
|
|
36
34
|
}
|
|
37
35
|
}
|
|
@@ -39,32 +37,32 @@ const RitualModel = defineSchemaModel({
|
|
|
39
37
|
/**
|
|
40
38
|
* Input for scheduling a ritual.
|
|
41
39
|
*/
|
|
42
|
-
const ScheduleRitualInputModel =
|
|
40
|
+
const ScheduleRitualInputModel = K5({
|
|
43
41
|
name: "ScheduleRitualInput",
|
|
44
42
|
description: "Create a ritual",
|
|
45
43
|
fields: {
|
|
46
44
|
spaceId: {
|
|
47
|
-
type:
|
|
45
|
+
type: E5.String_unsecure(),
|
|
48
46
|
isOptional: false
|
|
49
47
|
},
|
|
50
48
|
title: {
|
|
51
|
-
type:
|
|
49
|
+
type: E5.String_unsecure(),
|
|
52
50
|
isOptional: false
|
|
53
51
|
},
|
|
54
52
|
cadence: {
|
|
55
|
-
type:
|
|
53
|
+
type: E5.String_unsecure(),
|
|
56
54
|
isOptional: false
|
|
57
55
|
},
|
|
58
56
|
dayOfWeek: {
|
|
59
|
-
type:
|
|
57
|
+
type: E5.String_unsecure(),
|
|
60
58
|
isOptional: true
|
|
61
59
|
},
|
|
62
60
|
time: {
|
|
63
|
-
type:
|
|
61
|
+
type: E5.String_unsecure(),
|
|
64
62
|
isOptional: true
|
|
65
63
|
},
|
|
66
64
|
facilitatorId: {
|
|
67
|
-
type:
|
|
65
|
+
type: E5.String_unsecure(),
|
|
68
66
|
isOptional: true
|
|
69
67
|
}
|
|
70
68
|
}
|
|
@@ -72,28 +70,29 @@ const ScheduleRitualInputModel = defineSchemaModel({
|
|
|
72
70
|
/**
|
|
73
71
|
* Input for logging ritual occurrence.
|
|
74
72
|
*/
|
|
75
|
-
const LogRitualOccurrenceInputModel =
|
|
73
|
+
const LogRitualOccurrenceInputModel = K5({
|
|
76
74
|
name: "LogRitualOccurrenceInput",
|
|
77
75
|
description: "Record ritual occurrence results",
|
|
78
76
|
fields: {
|
|
79
77
|
ritualId: {
|
|
80
|
-
type:
|
|
78
|
+
type: E5.String_unsecure(),
|
|
81
79
|
isOptional: false
|
|
82
80
|
},
|
|
83
81
|
scheduledFor: {
|
|
84
|
-
type:
|
|
82
|
+
type: E5.DateTime(),
|
|
85
83
|
isOptional: false
|
|
86
84
|
},
|
|
87
85
|
status: {
|
|
88
|
-
type:
|
|
86
|
+
type: E5.String_unsecure(),
|
|
89
87
|
isOptional: false
|
|
90
88
|
},
|
|
91
89
|
summary: {
|
|
92
|
-
type:
|
|
90
|
+
type: E5.String_unsecure(),
|
|
93
91
|
isOptional: true
|
|
94
92
|
}
|
|
95
93
|
}
|
|
96
94
|
});
|
|
97
95
|
|
|
98
96
|
//#endregion
|
|
99
|
-
export { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel };
|
|
97
|
+
export { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel };
|
|
98
|
+
//# sourceMappingURL=ritual.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ritual.schema.js","names":["defineSchemaModel","ScalarTypeEnum"],"sources":["../../src/ritual/ritual.schema.ts"],"sourcesContent":["import { defineSchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\n\n/**\n * Recurring ritual.\n */\nexport const RitualModel = defineSchemaModel({\n name: 'Ritual',\n description: 'Recurring ritual',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n spaceId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n title: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n cadence: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n dayOfWeek: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n time: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n\n/**\n * Input for scheduling a ritual.\n */\nexport const ScheduleRitualInputModel = defineSchemaModel({\n name: 'ScheduleRitualInput',\n description: 'Create a ritual',\n fields: {\n spaceId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n title: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n cadence: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n dayOfWeek: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n time: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n facilitatorId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n\n/**\n * Input for logging ritual occurrence.\n */\nexport const LogRitualOccurrenceInputModel = defineSchemaModel({\n name: 'LogRitualOccurrenceInput',\n description: 'Record ritual occurrence results',\n fields: {\n ritualId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n scheduledFor: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n summary: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n"],"mappings":";;;;;;AAKA,MAAa,cAAcA,GAAkB;CAC3C,MAAM;CACN,aAAa;CACb,QAAQ;EACN,IAAI;GAAE,MAAMC,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACjE,SAAS;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACtE,OAAO;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACpE,SAAS;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACtE,WAAW;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAM;EACvE,MAAM;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAM;EACnE;CACF,CAAC;;;;AAKF,MAAa,2BAA2BD,GAAkB;CACxD,MAAM;CACN,aAAa;CACb,QAAQ;EACN,SAAS;GAAE,MAAMC,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACtE,OAAO;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACpE,SAAS;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACtE,WAAW;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAM;EACvE,MAAM;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAM;EAClE,eAAe;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAM;EAC5E;CACF,CAAC;;;;AAKF,MAAa,gCAAgCD,GAAkB;CAC7D,MAAM;CACN,aAAa;CACb,QAAQ;EACN,UAAU;GAAE,MAAMC,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACvE,cAAc;GAAE,MAAMA,GAAe,UAAU;GAAE,YAAY;GAAO;EACpE,QAAQ;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAO;EACrE,SAAS;GAAE,MAAMA,GAAe,iBAAiB;GAAE,YAAY;GAAM;EACtE;CACF,CAAC"}
|
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema302 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts14 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/space/space.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new team space.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateSpaceContract:
|
|
8
|
+
declare const CreateSpaceContract: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema302.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
description: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
orgId: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
ownerId: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
|
-
}>,
|
|
25
|
+
}>, _lssm_lib_schema302.SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
name: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
description: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
orgId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
ownerId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema302.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
}>, undefined>;
|
|
47
47
|
//#endregion
|
|
48
|
-
export { CreateSpaceContract };
|
|
48
|
+
export { CreateSpaceContract };
|
|
49
|
+
//# sourceMappingURL=space.contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.contracts.d.ts","names":[],"sources":["../../src/space/space.contracts.ts"],"sourcesContent":[],"mappings":";;;;;;;cAQa,2CAAmB,iCAAA;EAAnB,IAAA,EAAA;IAgBX,IAAA,EAAA,mBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;uCAhB8B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;IAAA,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;UAAA,mBAAA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.contracts.js","names":[],"sources":["../../src/space/space.contracts.ts"],"sourcesContent":["import { defineCommand } from '@lssm/lib.contracts';\nimport { SpaceModel, CreateSpaceInputModel } from './space.schema';\n\nconst OWNERS = ['@examples.team-hub'] as const;\n\n/**\n * Create a new team space.\n */\nexport const CreateSpaceContract = defineCommand({\n meta: {\n name: 'team.space.create',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['team-hub', 'space', 'create'],\n description: 'Create a new team space.',\n goal: 'Organize teams/projects.',\n context: 'Workspace creation.',\n },\n io: {\n input: CreateSpaceInputModel,\n output: SpaceModel,\n },\n policy: { auth: 'user' },\n});\n"],"mappings":";;;;;AAGA,MAAM,SAAS,CAAC,qBAAqB;;;;AAKrC,MAAa,sBAAsB,cAAc;CAC/C,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;EACX,QAAQ,CAAC,GAAG,OAAO;EACnB,MAAM;GAAC;GAAY;GAAS;GAAS;EACrC,aAAa;EACb,MAAM;EACN,SAAS;EACV;CACD,IAAI;EACF,OAAO;EACP,QAAQ;EACT;CACD,QAAQ,EAAE,MAAM,QAAQ;CACzB,CAAC"}
|
|
@@ -1,51 +1,52 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema313 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/space/space.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Team space/project.
|
|
6
6
|
*/
|
|
7
|
-
declare const SpaceModel:
|
|
7
|
+
declare const SpaceModel: _lssm_lib_schema313.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
description: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
orgId: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
ownerId: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
}>;
|
|
29
29
|
/**
|
|
30
30
|
* Input for creating a space.
|
|
31
31
|
*/
|
|
32
|
-
declare const CreateSpaceInputModel:
|
|
32
|
+
declare const CreateSpaceInputModel: _lssm_lib_schema313.SchemaModel<{
|
|
33
33
|
name: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
description: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
39
39
|
isOptional: true;
|
|
40
40
|
};
|
|
41
41
|
orgId: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
ownerId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema313.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
}>;
|
|
50
50
|
//#endregion
|
|
51
|
-
export { CreateSpaceInputModel, SpaceModel };
|
|
51
|
+
export { CreateSpaceInputModel, SpaceModel };
|
|
52
|
+
//# sourceMappingURL=space.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.schema.d.ts","names":[],"sources":["../../src/space/space.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,UAUX,sBAVqB,WAUrB,CAAA;EAAA,EAAA,EAAA;UAAA,mBAAA,CAAA;;;;uCAVqB,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAeV,CAAA;EASX,WAAA,EAAA;;;;;IATgC,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;cAArB,2CAAqB;;UAShC,mBAAA,CAAA"}
|