@lssm/example.team-hub 0.0.0-canary-20251217060834 → 0.0.0-canary-20251217063201
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 +77 -77
- package/dist/events.js +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/libs/contracts/dist/capabilities/openbanking.js +1 -0
- package/dist/libs/contracts/dist/client/index.js +1 -0
- package/dist/libs/contracts/dist/client/react/feature-render.js +1 -0
- package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
- package/dist/libs/contracts/dist/client/react/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/schemas.js +1 -0
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +76 -0
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
- package/dist/libs/contracts/dist/docs/index.js +1 -0
- package/dist/libs/contracts/dist/docs/presentations.js +1 -0
- package/dist/libs/contracts/dist/docs/registry.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +58 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +38 -0
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +213 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +289 -0
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +262 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +57 -0
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +63 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +36 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +65 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +41 -0
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +122 -0
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +68 -0
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +1 -0
- package/dist/libs/contracts/dist/events.js +1 -0
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -0
- package/dist/libs/contracts/dist/index.js +1 -0
- package/dist/libs/contracts/dist/install.js +1 -0
- package/dist/libs/contracts/dist/integrations/contracts.js +1 -0
- package/dist/libs/contracts/dist/integrations/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/powens.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/registry.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +1 -0
- package/dist/libs/contracts/dist/jsonschema.js +1 -0
- package/dist/libs/contracts/dist/knowledge/contracts.js +1 -0
- package/dist/libs/contracts/dist/knowledge/index.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/libs/contracts/dist/llm/index.js +1 -0
- package/dist/libs/contracts/dist/llm/prompts.js +1 -0
- package/dist/libs/contracts/dist/onboarding-base.js +1 -0
- package/dist/libs/contracts/dist/openapi.js +1 -0
- package/dist/libs/contracts/dist/ownership.js +1 -0
- package/dist/libs/contracts/dist/presentations.js +1 -0
- package/dist/libs/contracts/dist/presentations.v2.js +1 -0
- package/dist/libs/contracts/dist/prompt.js +1 -0
- package/dist/libs/contracts/dist/promptRegistry.js +1 -0
- package/dist/libs/contracts/dist/regenerator/index.js +1 -0
- package/dist/libs/contracts/dist/regenerator/service.js +1 -0
- package/dist/libs/contracts/dist/registry.js +1 -0
- package/dist/libs/contracts/dist/resources.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/index.js +1 -0
- package/dist/libs/contracts/dist/server/graphql-pothos.js +1 -0
- package/dist/libs/contracts/dist/server/index.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -0
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -0
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -0
- package/dist/libs/contracts/dist/server/rest-express.js +1 -0
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -0
- package/dist/libs/contracts/dist/spec.js +1 -0
- package/dist/libs/contracts/dist/telemetry/index.js +1 -0
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -0
- package/dist/libs/contracts/dist/tests/index.js +1 -0
- package/dist/libs/contracts/dist/tests/runner.js +1 -0
- package/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/contracts/dist/workflow/runner.js +1 -0
- package/dist/libs/schema/dist/EnumType.js +1 -0
- package/dist/libs/schema/dist/FieldType.js +1 -0
- package/dist/libs/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/libs/schema/dist/SchemaModel.js +1 -0
- package/dist/libs/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/schema/dist/entity/index.js +1 -0
- package/dist/libs/schema/dist/entity/types.js +1 -0
- package/dist/libs/schema/dist/index.js +1 -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/events.d.ts
CHANGED
|
@@ -1,285 +1,285 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const SpaceCreatedEvent: _lssm_lib_contracts0.EventSpec<
|
|
5
|
+
declare const SpaceCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
6
6
|
spaceId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
orgId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
ownerId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
timestamp: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
}>>;
|
|
23
|
-
declare const TaskCreatedEvent: _lssm_lib_contracts0.EventSpec<
|
|
23
|
+
declare const TaskCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
24
24
|
taskId: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
spaceId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
status: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
assigneeId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
orgId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
timestamp: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
}>>;
|
|
49
|
-
declare const TaskStatusChangedEvent: _lssm_lib_contracts0.EventSpec<
|
|
49
|
+
declare const TaskStatusChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
50
50
|
taskId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
spaceId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
status: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
assigneeId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
orgId: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
timestamp: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
}>>;
|
|
75
|
-
declare const RitualScheduledEvent: _lssm_lib_contracts0.EventSpec<
|
|
75
|
+
declare const RitualScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
76
76
|
ritualId: {
|
|
77
|
-
type:
|
|
77
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
78
78
|
isOptional: false;
|
|
79
79
|
};
|
|
80
80
|
spaceId: {
|
|
81
|
-
type:
|
|
81
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
scheduledFor: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
status: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
orgId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
}>>;
|
|
97
|
-
declare const RitualOccurredEvent: _lssm_lib_contracts0.EventSpec<
|
|
97
|
+
declare const RitualOccurredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
98
98
|
ritualId: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
100
100
|
isOptional: false;
|
|
101
101
|
};
|
|
102
102
|
spaceId: {
|
|
103
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
104
104
|
isOptional: false;
|
|
105
105
|
};
|
|
106
106
|
scheduledFor: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
108
108
|
isOptional: false;
|
|
109
109
|
};
|
|
110
110
|
status: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
112
112
|
isOptional: false;
|
|
113
113
|
};
|
|
114
114
|
orgId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
}>>;
|
|
119
|
-
declare const AnnouncementPostedEvent: _lssm_lib_contracts0.EventSpec<
|
|
119
|
+
declare const AnnouncementPostedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
120
120
|
announcementId: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
spaceId: {
|
|
125
|
-
type:
|
|
125
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
126
126
|
isOptional: true;
|
|
127
127
|
};
|
|
128
128
|
audience: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
orgId: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
createdBy: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
createdAt: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
}>>;
|
|
145
145
|
declare const TeamHubEvents: {
|
|
146
|
-
SpaceCreatedEvent: _lssm_lib_contracts0.EventSpec<
|
|
146
|
+
SpaceCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
147
147
|
spaceId: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
149
149
|
isOptional: false;
|
|
150
150
|
};
|
|
151
151
|
orgId: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
ownerId: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
timestamp: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
}>>;
|
|
164
|
-
TaskCreatedEvent: _lssm_lib_contracts0.EventSpec<
|
|
164
|
+
TaskCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
165
165
|
taskId: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
spaceId: {
|
|
170
|
-
type:
|
|
170
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
171
171
|
isOptional: false;
|
|
172
172
|
};
|
|
173
173
|
status: {
|
|
174
|
-
type:
|
|
174
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
175
175
|
isOptional: false;
|
|
176
176
|
};
|
|
177
177
|
assigneeId: {
|
|
178
|
-
type:
|
|
178
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
179
179
|
isOptional: true;
|
|
180
180
|
};
|
|
181
181
|
orgId: {
|
|
182
|
-
type:
|
|
182
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
183
183
|
isOptional: false;
|
|
184
184
|
};
|
|
185
185
|
timestamp: {
|
|
186
|
-
type:
|
|
186
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
187
187
|
isOptional: false;
|
|
188
188
|
};
|
|
189
189
|
}>>;
|
|
190
|
-
TaskStatusChangedEvent: _lssm_lib_contracts0.EventSpec<
|
|
190
|
+
TaskStatusChangedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
191
191
|
taskId: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
193
193
|
isOptional: false;
|
|
194
194
|
};
|
|
195
195
|
spaceId: {
|
|
196
|
-
type:
|
|
196
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
197
197
|
isOptional: false;
|
|
198
198
|
};
|
|
199
199
|
status: {
|
|
200
|
-
type:
|
|
200
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
201
201
|
isOptional: false;
|
|
202
202
|
};
|
|
203
203
|
assigneeId: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
205
205
|
isOptional: true;
|
|
206
206
|
};
|
|
207
207
|
orgId: {
|
|
208
|
-
type:
|
|
208
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
209
209
|
isOptional: false;
|
|
210
210
|
};
|
|
211
211
|
timestamp: {
|
|
212
|
-
type:
|
|
212
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
213
213
|
isOptional: false;
|
|
214
214
|
};
|
|
215
215
|
}>>;
|
|
216
|
-
RitualScheduledEvent: _lssm_lib_contracts0.EventSpec<
|
|
216
|
+
RitualScheduledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
217
217
|
ritualId: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
219
219
|
isOptional: false;
|
|
220
220
|
};
|
|
221
221
|
spaceId: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
223
223
|
isOptional: false;
|
|
224
224
|
};
|
|
225
225
|
scheduledFor: {
|
|
226
|
-
type:
|
|
226
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
227
227
|
isOptional: false;
|
|
228
228
|
};
|
|
229
229
|
status: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
231
231
|
isOptional: false;
|
|
232
232
|
};
|
|
233
233
|
orgId: {
|
|
234
|
-
type:
|
|
234
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
235
235
|
isOptional: false;
|
|
236
236
|
};
|
|
237
237
|
}>>;
|
|
238
|
-
RitualOccurredEvent: _lssm_lib_contracts0.EventSpec<
|
|
238
|
+
RitualOccurredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
239
239
|
ritualId: {
|
|
240
|
-
type:
|
|
240
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
241
241
|
isOptional: false;
|
|
242
242
|
};
|
|
243
243
|
spaceId: {
|
|
244
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
scheduledFor: {
|
|
248
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
status: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
orgId: {
|
|
256
|
-
type:
|
|
256
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
257
257
|
isOptional: false;
|
|
258
258
|
};
|
|
259
259
|
}>>;
|
|
260
|
-
AnnouncementPostedEvent: _lssm_lib_contracts0.EventSpec<
|
|
260
|
+
AnnouncementPostedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
261
261
|
announcementId: {
|
|
262
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
263
263
|
isOptional: false;
|
|
264
264
|
};
|
|
265
265
|
spaceId: {
|
|
266
|
-
type:
|
|
266
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
267
267
|
isOptional: true;
|
|
268
268
|
};
|
|
269
269
|
audience: {
|
|
270
|
-
type:
|
|
270
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
271
271
|
isOptional: false;
|
|
272
272
|
};
|
|
273
273
|
orgId: {
|
|
274
|
-
type:
|
|
274
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
275
275
|
isOptional: false;
|
|
276
276
|
};
|
|
277
277
|
createdBy: {
|
|
278
|
-
type:
|
|
278
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
279
279
|
isOptional: false;
|
|
280
280
|
};
|
|
281
281
|
createdAt: {
|
|
282
|
-
type:
|
|
282
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
283
283
|
isOptional: false;
|
|
284
284
|
};
|
|
285
285
|
}>>;
|
package/dist/events.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{l as e}from"./libs/schema/dist/ScalarTypeEnum.js";import{n as t}from"./libs/schema/dist/SchemaModel.js";import"./libs/schema/dist/index.js";import{e as n}from"./libs/contracts/dist/events.js";import"./libs/contracts/dist/index.js";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,13 +1,9 @@
|
|
|
1
1
|
import { PostAnnouncementContract } from "./announcement/announcement.contracts.js";
|
|
2
2
|
import { AnnouncementModel, PostAnnouncementInputModel } from "./announcement/announcement.schema.js";
|
|
3
|
-
import "./announcement/index.js";
|
|
4
3
|
import { CreateSpaceInputModel, SpaceModel } from "./space/space.schema.js";
|
|
5
4
|
import { CreateSpaceContract } from "./space/space.contracts.js";
|
|
6
|
-
import "./space/index.js";
|
|
7
5
|
import { CreateTaskInputModel, TaskModel, UpdateTaskStatusInputModel } from "./task/task.schema.js";
|
|
8
6
|
import { CreateTaskContract, ListTasksInputModel, ListTasksOperation, ListTasksOutputModel, UpdateTaskStatusContract } from "./task/task.contracts.js";
|
|
9
|
-
import "./task/index.js";
|
|
10
7
|
import { LogRitualOccurrenceInputModel, RitualModel, ScheduleRitualInputModel } from "./ritual/ritual.schema.js";
|
|
11
8
|
import { LogRitualOccurrenceContract, ScheduleRitualContract } from "./ritual/ritual.contracts.js";
|
|
12
|
-
import "./ritual/index.js";
|
|
13
9
|
export { AnnouncementModel, CreateSpaceContract, CreateSpaceInputModel, CreateTaskContract, CreateTaskInputModel, ListTasksInputModel, ListTasksOperation, ListTasksOutputModel, LogRitualOccurrenceContract, LogRitualOccurrenceInputModel, PostAnnouncementContract, PostAnnouncementInputModel, RitualModel, ScheduleRitualContract, ScheduleRitualInputModel, SpaceModel, TaskModel, UpdateTaskStatusContract, UpdateTaskStatusInputModel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e}from"../ownership.js";const t=[`platform.finance`],n=[`open-banking`,`finance`];[...t],[...n],e.Experimental,[...t],[...n],e.Experimental,[...t],[...n],e.Experimental;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"./react/feature-render.js";import"./react/form-render.js";import"./react/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../presentations.v2.js";import"react";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react";import"react-hook-form";import"@hookform/resolvers/zod";import"react/jsx-runtime";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"./feature-render.js";import"./form-render.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,n as t,r as n}from"./schemas.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e}from"../ownership.js";import t from"zod";const n=t.enum([`contractspec:operation`,`contractspec:event`,`contractspec:presentation`,`contractspec:form`,`contractspec:feature`,`contractspec:workflow`,`contractspec:template`,`contractspec:integration`,`contractspec:data-view`,`contractspec:migration`,`contractspec:telemetry`,`contractspec:experiment`,`contractspec:app-config`,`contractspec:knowledge`]),r=t.object({path:t.string().min(1),type:t.string().min(1),content:t.string().optional()}),i=t.object({name:t.string().min(1),type:n,version:t.number().int().nonnegative(),title:t.string().min(1),description:t.string().min(1),meta:t.object({stability:t.enum([e.Idea,e.InCreation,e.Experimental,e.Beta,e.Stable,e.Deprecated]),owners:t.array(t.string().min(1)).default([]),tags:t.array(t.string().min(1)).default([])}),dependencies:t.array(t.string().min(1)).optional(),registryDependencies:t.array(t.string().min(1)).optional(),files:t.array(r).min(1),schema:t.object({input:t.unknown().optional(),output:t.unknown().optional()}).optional()});t.object({$schema:t.string().min(1).optional(),name:t.string().min(1),homepage:t.string().min(1).optional(),items:t.array(i)});export{i,n,r};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import{a as e}from"./registry.js";e([{id:`docs.PUBLISHING`,title:`Publishing ContractSpec Libraries`,summary:`This guide describes how we release the ContractSpec libraries to npm. We use a dual-track release system: **Stable** (manual) and **Canary** (automatic).`,kind:`reference`,visibility:`public`,route:`/docs/PUBLISHING`,tags:[`PUBLISHING`],body:`# Publishing ContractSpec Libraries
|
|
2
|
+
|
|
3
|
+
This guide describes how we release the ContractSpec libraries to npm. We use a dual-track release system: **Stable** (manual) and **Canary** (automatic).
|
|
4
|
+
|
|
5
|
+
## Release Tracks
|
|
6
|
+
|
|
7
|
+
| Track | Branch | npm Tag | Frequency | Versioning | Use Case |
|
|
8
|
+
|-------|--------|---------|-----------|------------|----------|
|
|
9
|
+
| **Stable** | \`release\` | \`latest\` | Manual | SemVer (e.g., \`1.7.4\`) | Production, external users |
|
|
10
|
+
| **Canary** | \`main\` | \`canary\` | Every Push | Snapshot (e.g., \`1.7.4-canary...\`) | Dev, internal testing |
|
|
11
|
+
|
|
12
|
+
## Prerequisites
|
|
13
|
+
|
|
14
|
+
- ✅ \`NPM_TOKEN\` secret is configured in GitHub (owner or automation token with _publish_ scope).
|
|
15
|
+
- ✅ \`GITHUB_TOKEN\` (built-in) has permissions to create PRs (enabled by default in new repos).
|
|
16
|
+
- ✅ For stable releases: \`release\` branch exists and is protected.
|
|
17
|
+
|
|
18
|
+
## Canary Workflow (Automatic)
|
|
19
|
+
|
|
20
|
+
Every commit pushed to \`main\` triggers the \`.github/workflows/publish-canary.yml\` workflow.
|
|
21
|
+
|
|
22
|
+
1. **Trigger**: Push to \`main\`.
|
|
23
|
+
2. **Versioning**: Runs \`changeset version --snapshot canary\` to generate a temporary snapshot version.
|
|
24
|
+
3. **Publish**: Packages are published to npm with the \`canary\` tag using \`changeset publish --tag canary\`.
|
|
25
|
+
|
|
26
|
+
### Consuming Canary Builds
|
|
27
|
+
|
|
28
|
+
To install the latest bleeding-edge version:
|
|
29
|
+
|
|
30
|
+
\`\`\`bash
|
|
31
|
+
npm install @lssm/lib.contracts@canary
|
|
32
|
+
# or
|
|
33
|
+
bun add @lssm/lib.contracts@canary
|
|
34
|
+
\`\`\`
|
|
35
|
+
|
|
36
|
+
## Stable Release Workflow (Manual)
|
|
37
|
+
|
|
38
|
+
Stable releases are managed via the \`release\` branch using the standard [Changesets Action](https://github.com/changesets/action).
|
|
39
|
+
|
|
40
|
+
1. **Develop on \`main\`**: Create features and fixes.
|
|
41
|
+
2. **Add Changesets**: Run \`bun changeset\` to document changes and impact (major/minor/patch).
|
|
42
|
+
3. **Merge to \`release\`**: When ready to ship, open a PR from \`main\` to \`release\` or merge manually.
|
|
43
|
+
4. **"Version Packages" PR**:
|
|
44
|
+
- The GitHub Action detects new changesets and automatically creates a Pull Request titled **"Version Packages"**.
|
|
45
|
+
- This PR contains the version bumps and updated \`CHANGELOG.md\` files.
|
|
46
|
+
5. **Merge & Publish**:
|
|
47
|
+
- Review and merge the "Version Packages" PR.
|
|
48
|
+
- The Action runs again, detects the versions have been bumped, builds the libraries, and publishes them to npm with the \`latest\` tag.
|
|
49
|
+
|
|
50
|
+
### Publishing Steps
|
|
51
|
+
|
|
52
|
+
1. Ensure all changesets are present on \`main\`.
|
|
53
|
+
2. Merge \`main\` into \`release\`:
|
|
54
|
+
\`\`\`bash
|
|
55
|
+
git checkout release
|
|
56
|
+
git pull origin release
|
|
57
|
+
git merge main
|
|
58
|
+
git push origin release
|
|
59
|
+
\`\`\`
|
|
60
|
+
3. Go to GitHub Pull Requests. You will see a **"Version Packages"** PR created by the bot.
|
|
61
|
+
4. Merge that PR.
|
|
62
|
+
5. The release is now live on npm!
|
|
63
|
+
|
|
64
|
+
## Manual Verification (Optional)
|
|
65
|
+
|
|
66
|
+
Before publishing a new version you can run:
|
|
67
|
+
|
|
68
|
+
\`\`\`bash
|
|
69
|
+
bun run build:not-apps
|
|
70
|
+
npx npm-packlist --json packages/libs/contracts
|
|
71
|
+
\`\`\`
|
|
72
|
+
|
|
73
|
+
## Rollback
|
|
74
|
+
|
|
75
|
+
If a publish fails mid-way, re-run the workflow once the issue is fixed. Already published packages are skipped automatically. Use \`npm deprecate <package>@<version>\` if we need to warn consumers about a broken release.
|
|
76
|
+
`}]);
|