@lssm/example.team-hub 0.0.0-canary-20251217062139 → 0.0.0-canary-20251217060834
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/announcement/announcement.contracts.d.ts +16 -16
- package/dist/announcement/announcement.contracts.js +1 -1
- package/dist/announcement/announcement.schema.d.ts +15 -15
- package/dist/announcement/announcement.schema.js +1 -1
- package/dist/docs/team-hub.docblock.js +1 -1
- package/dist/entities/index.d.ts +137 -137
- package/dist/entities/index.js +1 -1
- package/dist/events.d.ts +78 -78
- package/dist/events.js +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/ritual/ritual.contracts.d.ts +28 -28
- package/dist/ritual/ritual.contracts.js +1 -1
- package/dist/ritual/ritual.schema.d.ts +20 -20
- package/dist/ritual/ritual.schema.js +1 -1
- package/dist/space/space.contracts.d.ts +13 -13
- package/dist/space/space.contracts.js +1 -1
- package/dist/space/space.schema.d.ts +12 -12
- package/dist/space/space.schema.js +1 -1
- package/dist/task/task.contracts.d.ts +60 -60
- package/dist/task/task.contracts.js +1 -1
- package/dist/task/task.schema.d.ts +19 -19
- package/dist/task/task.schema.js +1 -1
- package/package.json +10 -10
- package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -1
- package/dist/libs/contracts/dist/client/index.js +0 -1
- package/dist/libs/contracts/dist/client/react/feature-render.js +0 -1
- package/dist/libs/contracts/dist/client/react/form-render.js +0 -1
- package/dist/libs/contracts/dist/client/react/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
- package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -1
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -76
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -350
- package/dist/libs/contracts/dist/docs/index.js +0 -1
- package/dist/libs/contracts/dist/docs/presentations.js +0 -1
- package/dist/libs/contracts/dist/docs/registry.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -383
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -140
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -86
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -58
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -38
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -213
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -289
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -262
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -57
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -63
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -36
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -20
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -65
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -41
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -122
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -1
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -68
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -1
- package/dist/libs/contracts/dist/events.js +0 -1
- package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
- package/dist/libs/contracts/dist/index.js +0 -1
- package/dist/libs/contracts/dist/install.js +0 -1
- package/dist/libs/contracts/dist/integrations/contracts.js +0 -1
- package/dist/libs/contracts/dist/integrations/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -1
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/index.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -1
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -1
- package/dist/libs/contracts/dist/jsonschema.js +0 -1
- package/dist/libs/contracts/dist/knowledge/contracts.js +0 -1
- package/dist/libs/contracts/dist/knowledge/index.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -1
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -1
- package/dist/libs/contracts/dist/llm/exporters.js +0 -1
- package/dist/libs/contracts/dist/llm/index.js +0 -1
- package/dist/libs/contracts/dist/llm/prompts.js +0 -1
- package/dist/libs/contracts/dist/onboarding-base.js +0 -1
- package/dist/libs/contracts/dist/openapi.js +0 -1
- package/dist/libs/contracts/dist/ownership.js +0 -1
- package/dist/libs/contracts/dist/presentations.js +0 -1
- package/dist/libs/contracts/dist/presentations.v2.js +0 -1
- package/dist/libs/contracts/dist/prompt.js +0 -1
- package/dist/libs/contracts/dist/promptRegistry.js +0 -1
- package/dist/libs/contracts/dist/regenerator/index.js +0 -1
- package/dist/libs/contracts/dist/regenerator/service.js +0 -1
- package/dist/libs/contracts/dist/registry.js +0 -1
- package/dist/libs/contracts/dist/resources.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/libs/contracts/dist/schema/dist/index.js +0 -1
- package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -1
- package/dist/libs/contracts/dist/server/index.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -1
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
- package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
- package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
- package/dist/libs/contracts/dist/server/rest-express.js +0 -1
- package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
- package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
- package/dist/libs/contracts/dist/spec.js +0 -1
- package/dist/libs/contracts/dist/telemetry/index.js +0 -1
- package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
- package/dist/libs/contracts/dist/tests/index.js +0 -1
- package/dist/libs/contracts/dist/tests/runner.js +0 -1
- package/dist/libs/contracts/dist/workflow/index.js +0 -1
- package/dist/libs/contracts/dist/workflow/runner.js +0 -1
- package/dist/libs/schema/dist/EnumType.js +0 -1
- package/dist/libs/schema/dist/FieldType.js +0 -1
- package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/libs/schema/dist/SchemaModel.js +0 -1
- package/dist/libs/schema/dist/entity/defineEntity.js +0 -1
- package/dist/libs/schema/dist/entity/index.js +0 -1
- package/dist/libs/schema/dist/entity/types.js +0 -1
- package/dist/libs/schema/dist/index.js +0 -1
package/dist/events.d.ts
CHANGED
|
@@ -1,285 +1,285 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema17 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const SpaceCreatedEvent:
|
|
5
|
+
declare const SpaceCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
6
6
|
spaceId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
orgId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
ownerId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
timestamp: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
}>>;
|
|
23
|
-
declare const TaskCreatedEvent:
|
|
23
|
+
declare const TaskCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
24
24
|
taskId: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
spaceId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
status: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
assigneeId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
orgId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
timestamp: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
}>>;
|
|
49
|
-
declare const TaskStatusChangedEvent:
|
|
49
|
+
declare const TaskStatusChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
50
50
|
taskId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
spaceId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
status: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
assigneeId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
orgId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
timestamp: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
}>>;
|
|
75
|
-
declare const RitualScheduledEvent:
|
|
75
|
+
declare const RitualScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
76
76
|
ritualId: {
|
|
77
|
-
type:
|
|
77
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
78
78
|
isOptional: false;
|
|
79
79
|
};
|
|
80
80
|
spaceId: {
|
|
81
|
-
type:
|
|
81
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
scheduledFor: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
status: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
orgId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
}>>;
|
|
97
|
-
declare const RitualOccurredEvent:
|
|
97
|
+
declare const RitualOccurredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
98
98
|
ritualId: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
100
100
|
isOptional: false;
|
|
101
101
|
};
|
|
102
102
|
spaceId: {
|
|
103
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
104
104
|
isOptional: false;
|
|
105
105
|
};
|
|
106
106
|
scheduledFor: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
108
108
|
isOptional: false;
|
|
109
109
|
};
|
|
110
110
|
status: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
112
112
|
isOptional: false;
|
|
113
113
|
};
|
|
114
114
|
orgId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
}>>;
|
|
119
|
-
declare const AnnouncementPostedEvent:
|
|
119
|
+
declare const AnnouncementPostedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
120
120
|
announcementId: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
spaceId: {
|
|
125
|
-
type:
|
|
125
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
126
126
|
isOptional: true;
|
|
127
127
|
};
|
|
128
128
|
audience: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
orgId: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
createdBy: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
createdAt: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
}>>;
|
|
145
145
|
declare const TeamHubEvents: {
|
|
146
|
-
SpaceCreatedEvent:
|
|
146
|
+
SpaceCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
147
147
|
spaceId: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
149
149
|
isOptional: false;
|
|
150
150
|
};
|
|
151
151
|
orgId: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
ownerId: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
timestamp: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
}>>;
|
|
164
|
-
TaskCreatedEvent:
|
|
164
|
+
TaskCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
165
165
|
taskId: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
spaceId: {
|
|
170
|
-
type:
|
|
170
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
171
171
|
isOptional: false;
|
|
172
172
|
};
|
|
173
173
|
status: {
|
|
174
|
-
type:
|
|
174
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
175
175
|
isOptional: false;
|
|
176
176
|
};
|
|
177
177
|
assigneeId: {
|
|
178
|
-
type:
|
|
178
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
179
179
|
isOptional: true;
|
|
180
180
|
};
|
|
181
181
|
orgId: {
|
|
182
|
-
type:
|
|
182
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
183
183
|
isOptional: false;
|
|
184
184
|
};
|
|
185
185
|
timestamp: {
|
|
186
|
-
type:
|
|
186
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
187
187
|
isOptional: false;
|
|
188
188
|
};
|
|
189
189
|
}>>;
|
|
190
|
-
TaskStatusChangedEvent:
|
|
190
|
+
TaskStatusChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
191
191
|
taskId: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
193
193
|
isOptional: false;
|
|
194
194
|
};
|
|
195
195
|
spaceId: {
|
|
196
|
-
type:
|
|
196
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
197
197
|
isOptional: false;
|
|
198
198
|
};
|
|
199
199
|
status: {
|
|
200
|
-
type:
|
|
200
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
201
201
|
isOptional: false;
|
|
202
202
|
};
|
|
203
203
|
assigneeId: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
205
205
|
isOptional: true;
|
|
206
206
|
};
|
|
207
207
|
orgId: {
|
|
208
|
-
type:
|
|
208
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
209
209
|
isOptional: false;
|
|
210
210
|
};
|
|
211
211
|
timestamp: {
|
|
212
|
-
type:
|
|
212
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
213
213
|
isOptional: false;
|
|
214
214
|
};
|
|
215
215
|
}>>;
|
|
216
|
-
RitualScheduledEvent:
|
|
216
|
+
RitualScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
217
217
|
ritualId: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
219
219
|
isOptional: false;
|
|
220
220
|
};
|
|
221
221
|
spaceId: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
223
223
|
isOptional: false;
|
|
224
224
|
};
|
|
225
225
|
scheduledFor: {
|
|
226
|
-
type:
|
|
226
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
227
227
|
isOptional: false;
|
|
228
228
|
};
|
|
229
229
|
status: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
231
231
|
isOptional: false;
|
|
232
232
|
};
|
|
233
233
|
orgId: {
|
|
234
|
-
type:
|
|
234
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
235
235
|
isOptional: false;
|
|
236
236
|
};
|
|
237
237
|
}>>;
|
|
238
|
-
RitualOccurredEvent:
|
|
238
|
+
RitualOccurredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
239
239
|
ritualId: {
|
|
240
|
-
type:
|
|
240
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
241
241
|
isOptional: false;
|
|
242
242
|
};
|
|
243
243
|
spaceId: {
|
|
244
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
scheduledFor: {
|
|
248
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
status: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
orgId: {
|
|
256
|
-
type:
|
|
256
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
257
257
|
isOptional: false;
|
|
258
258
|
};
|
|
259
259
|
}>>;
|
|
260
|
-
AnnouncementPostedEvent:
|
|
260
|
+
AnnouncementPostedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema17.SchemaModel<{
|
|
261
261
|
announcementId: {
|
|
262
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
263
263
|
isOptional: false;
|
|
264
264
|
};
|
|
265
265
|
spaceId: {
|
|
266
|
-
type:
|
|
266
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
267
267
|
isOptional: true;
|
|
268
268
|
};
|
|
269
269
|
audience: {
|
|
270
|
-
type:
|
|
270
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
271
271
|
isOptional: false;
|
|
272
272
|
};
|
|
273
273
|
orgId: {
|
|
274
|
-
type:
|
|
274
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
275
275
|
isOptional: false;
|
|
276
276
|
};
|
|
277
277
|
createdBy: {
|
|
278
|
-
type:
|
|
278
|
+
type: _lssm_lib_schema17.FieldType<string, string>;
|
|
279
279
|
isOptional: false;
|
|
280
280
|
};
|
|
281
281
|
createdAt: {
|
|
282
|
-
type:
|
|
282
|
+
type: _lssm_lib_schema17.FieldType<Date, string>;
|
|
283
283
|
isOptional: false;
|
|
284
284
|
};
|
|
285
285
|
}>>;
|
package/dist/events.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ScalarTypeEnum as e,defineSchemaModel as t}from"@lssm/lib.schema";import{defineEvent as n}from"@lssm/lib.contracts";const r=t({name:`SpaceEventPayload`,description:`Payload for space events`,fields:{spaceId:{type:e.String_unsecure(),isOptional:!1},orgId:{type:e.String_unsecure(),isOptional:!1},ownerId:{type:e.String_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),i=t({name:`TaskEventPayload`,description:`Payload for task events`,fields:{taskId:{type:e.String_unsecure(),isOptional:!1},spaceId:{type:e.String_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},assigneeId:{type:e.String_unsecure(),isOptional:!0},orgId:{type:e.String_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),a=t({name:`RitualEventPayload`,description:`Payload for ritual events`,fields:{ritualId:{type:e.String_unsecure(),isOptional:!1},spaceId:{type:e.String_unsecure(),isOptional:!1},scheduledFor:{type:e.DateTime(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},orgId:{type:e.String_unsecure(),isOptional:!1}}}),o=t({name:`AnnouncementPayload`,description:`Payload for announcements`,fields:{announcementId:{type:e.String_unsecure(),isOptional:!1},spaceId:{type:e.String_unsecure(),isOptional:!0},audience:{type:e.String_unsecure(),isOptional:!1},orgId:{type:e.String_unsecure(),isOptional:!1},createdBy:{type:e.String_unsecure(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1}}}),s=n({name:`team.space.created`,version:1,description:`A space was created.`,payload:r}),c=n({name:`team.task.created`,version:1,description:`A task was created.`,payload:i}),l=n({name:`team.task.status_changed`,version:1,description:`A task status changed.`,payload:i}),u=n({name:`team.ritual.scheduled`,version:1,description:`A ritual was scheduled.`,payload:a}),d=n({name:`team.ritual.occurred`,version:1,description:`A ritual occurrence was logged.`,payload:a}),f=n({name:`team.announcement.posted`,version:1,description:`An announcement was posted.`,payload:o}),p={SpaceCreatedEvent:s,TaskCreatedEvent:c,TaskStatusChangedEvent:l,RitualScheduledEvent:u,RitualOccurredEvent:d,AnnouncementPostedEvent:f};export{f as AnnouncementPostedEvent,d as RitualOccurredEvent,u as RitualScheduledEvent,s as SpaceCreatedEvent,c as TaskCreatedEvent,l as TaskStatusChangedEvent,p as TeamHubEvents};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { PostAnnouncementContract } from "./announcement/announcement.contracts.js";
|
|
2
2
|
import { AnnouncementModel, PostAnnouncementInputModel } from "./announcement/announcement.schema.js";
|
|
3
|
+
import "./announcement/index.js";
|
|
3
4
|
import { CreateSpaceInputModel, SpaceModel } from "./space/space.schema.js";
|
|
4
5
|
import { CreateSpaceContract } from "./space/space.contracts.js";
|
|
6
|
+
import "./space/index.js";
|
|
5
7
|
import { CreateTaskInputModel, TaskModel, UpdateTaskStatusInputModel } from "./task/task.schema.js";
|
|
6
8
|
import { CreateTaskContract, ListTasksInputModel, ListTasksOperation, ListTasksOutputModel, UpdateTaskStatusContract } from "./task/task.contracts.js";
|
|
9
|
+
import "./task/index.js";
|
|
7
10
|
import { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel } from "./ritual/ritual.schema.js";
|
|
8
11
|
import { LogRitualOccurrenceContract, ScheduleRitualContract } from "./ritual/ritual.contracts.js";
|
|
12
|
+
import "./ritual/index.js";
|
|
9
13
|
export { AnnouncementModel, CreateSpaceContract, CreateSpaceInputModel, CreateTaskContract, CreateTaskInputModel, ListTasksInputModel, ListTasksOperation, ListTasksOutputModel, LogRitualOccurrenceContract, LogRitualOccurrenceInputModel, PostAnnouncementContract, PostAnnouncementInputModel, RitualModel, ScheduleRitualContract, ScheduleRitualInputModel, SpaceModel, TaskModel, UpdateTaskStatusContract, UpdateTaskStatusInputModel };
|
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema151 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts14 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_contracts14.ContractSpec<_lssm_lib_schema151.SchemaModel<{
|
|
9
9
|
spaceId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
title: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
cadence: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
dayOfWeek: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
time: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
facilitatorId: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema151.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
spaceId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
title: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
cadence: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
dayOfWeek: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
time: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema151.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_contracts14.ContractSpec<_lssm_lib_schema151.SchemaModel<{
|
|
63
63
|
ritualId: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
scheduledFor: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema151.FieldType<Date, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
status: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
summary: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
77
77
|
isOptional: true;
|
|
78
78
|
};
|
|
79
|
-
}>,
|
|
79
|
+
}>, _lssm_lib_schema151.SchemaModel<{
|
|
80
80
|
id: {
|
|
81
|
-
type:
|
|
81
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
spaceId: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
title: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
cadence: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
dayOfWeek: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
time: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema151.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{LogRitualOccurrenceInputModel as e,RitualModel as t,ScheduleRitualInputModel as n}from"./ritual.schema.js";import{defineCommand as r}from"@lssm/lib.contracts";const i=[`@examples.team-hub`],a=r({meta:{name:`team.ritual.schedule`,version:1,stability:`stable`,owners:[...i],tags:[`team-hub`,`ritual`,`schedule`],description:`Schedule a recurring ritual.`,goal:`Team ceremonies.`,context:`Ritual management.`},io:{input:n,output:t},policy:{auth:`user`}}),o=r({meta:{name:`team.ritual.logOccurrence`,version:1,stability:`stable`,owners:[...i],tags:[`team-hub`,`ritual`,`log`],description:`Log a ritual occurrence.`,goal:`Record ritual history.`,context:`Ritual management.`},io:{input:e,output:t},policy:{auth:`user`}});export{o as LogRitualOccurrenceContract,a as ScheduleRitualContract};
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema177 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_schema177.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
spaceId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
title: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
cadence: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
dayOfWeek: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
time: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema177.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_schema177.SchemaModel<{
|
|
37
37
|
spaceId: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
title: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
cadence: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
dayOfWeek: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
time: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
facilitatorId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema177.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_schema177.SchemaModel<{
|
|
66
66
|
ritualId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
scheduledFor: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema177.FieldType<Date, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
status: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
summary: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema177.FieldType<string, string>;
|
|
80
80
|
isOptional: true;
|
|
81
81
|
};
|
|
82
82
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ScalarTypeEnum as e,defineSchemaModel as t}from"@lssm/lib.schema";const n=t({name:`Ritual`,description:`Recurring ritual`,fields:{id:{type:e.String_unsecure(),isOptional:!1},spaceId:{type:e.String_unsecure(),isOptional:!1},title:{type:e.String_unsecure(),isOptional:!1},cadence:{type:e.String_unsecure(),isOptional:!1},dayOfWeek:{type:e.String_unsecure(),isOptional:!0},time:{type:e.String_unsecure(),isOptional:!0}}}),r=t({name:`ScheduleRitualInput`,description:`Create a ritual`,fields:{spaceId:{type:e.String_unsecure(),isOptional:!1},title:{type:e.String_unsecure(),isOptional:!1},cadence:{type:e.String_unsecure(),isOptional:!1},dayOfWeek:{type:e.String_unsecure(),isOptional:!0},time:{type:e.String_unsecure(),isOptional:!0},facilitatorId:{type:e.String_unsecure(),isOptional:!0}}}),i=t({name:`LogRitualOccurrenceInput`,description:`Record ritual occurrence results`,fields:{ritualId:{type:e.String_unsecure(),isOptional:!1},scheduledFor:{type:e.DateTime(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},summary:{type:e.String_unsecure(),isOptional:!0}}});export{i as LogRitualOccurrenceInputModel,n as RitualModel,r as ScheduleRitualInputModel};
|