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