@lssm/lib.contracts 0.0.0-canary-20251221114240 → 0.0.0-canary-20251221144710
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/_virtual/rolldown_runtime.js +37 -0
- package/dist/app-config/contracts.d.ts +56 -55
- package/dist/app-config/contracts.js +5 -4
- package/dist/app-config/docs/app-config.docblock.js +0 -1
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +83 -82
- package/dist/app-config/lifecycle-contracts.js +2 -1
- package/dist/app-config/runtime.d.ts +4 -2
- package/dist/app-config/spec.d.ts +2 -1
- package/dist/app-config/validation.d.ts +4 -2
- package/dist/{capabilities.d.ts → capabilities/capabilities.d.ts} +3 -3
- package/dist/{capabilities.js → capabilities/capabilities.js} +1 -1
- package/dist/capabilities/docs/capabilities.docblock.js +0 -1
- package/dist/capabilities/index.d.ts +3 -0
- package/dist/capabilities/index.js +4 -0
- package/dist/capabilities/openbanking.d.ts +2 -1
- package/dist/client/react/feature-render.d.ts +3 -1
- package/dist/client/react/feature-render.js +2 -1
- package/dist/client/react/form-render.d.ts +1 -1
- package/dist/client/react/form-render.js +1 -1
- package/dist/{data-views.d.ts → data-views/data-views.d.ts} +15 -4
- package/dist/data-views/data-views.js +61 -0
- package/dist/data-views/docs/data-views.docblock.js +0 -1
- package/dist/data-views/index.d.ts +4 -0
- package/dist/data-views/index.js +5 -0
- package/dist/data-views/query-generator.d.ts +2 -1
- package/dist/data-views/runtime.d.ts +2 -1
- package/dist/docs/presentations.d.ts +3 -2
- package/dist/docs/registry.d.ts +3 -2
- package/dist/docs/tech/llm/llm-integration.docblock.js +2 -2
- package/dist/experiments/docs/experiments.docblock.js +0 -1
- package/dist/experiments/spec-resolver.d.ts +2 -1
- package/dist/features.d.ts +19 -5
- package/dist/features.js +26 -0
- package/dist/forms/docs/forms.docblock.js +0 -1
- package/dist/{forms.d.ts → forms/forms.d.ts} +13 -2
- package/dist/{forms.js → forms/forms.js} +27 -1
- package/dist/forms/index.d.ts +2 -0
- package/dist/forms/index.js +3 -0
- package/dist/index.d.ts +20 -13
- package/dist/index.js +24 -15
- package/dist/install.d.ts +3 -2
- package/dist/install.js +1 -1
- package/dist/integrations/docs/integrations.docblock.js +0 -1
- package/dist/integrations/openbanking/contracts/accounts.d.ts +69 -68
- package/dist/integrations/openbanking/contracts/accounts.js +2 -1
- package/dist/integrations/openbanking/contracts/balances.d.ts +37 -36
- package/dist/integrations/openbanking/contracts/balances.js +2 -1
- package/dist/integrations/openbanking/contracts/index.d.ts +1 -1
- package/dist/integrations/openbanking/contracts/transactions.d.ts +51 -50
- package/dist/integrations/openbanking/contracts/transactions.js +2 -1
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +437 -0
- package/dist/integrations/{contracts.js → operations.js} +3 -2
- package/dist/integrations/spec.d.ts +2 -1
- package/dist/jsonschema.d.ts +5 -4
- package/dist/knowledge/docs/knowledge.docblock.js +0 -1
- package/dist/knowledge/{contracts.d.ts → operations.d.ts} +70 -69
- package/dist/knowledge/{contracts.js → operations.js} +3 -2
- package/dist/llm/exporters.d.ts +10 -8
- package/dist/llm/exporters.js +11 -10
- package/dist/llm/index.d.ts +2 -2
- package/dist/llm/index.js +2 -2
- package/dist/llm/prompts.d.ts +2 -1
- package/dist/llm/prompts.js +8 -8
- package/dist/llm/types.d.ts +3 -2
- package/dist/markdown.d.ts +5 -4
- package/dist/markdown.js +6 -5
- package/dist/onboarding-base.d.ts +31 -30
- package/dist/onboarding-base.js +2 -1
- package/dist/openapi.d.ts +1 -1
- package/dist/operations/index.d.ts +3 -0
- package/dist/operations/index.js +4 -0
- package/dist/{operation.d.ts → operations/operation.d.ts} +7 -7
- package/dist/{operation.js → operations/operation.js} +1 -1
- package/dist/{registry.d.ts → operations/registry.d.ts} +38 -6
- package/dist/{registry.js → operations/registry.js} +59 -4
- package/dist/policy/docs/policy.docblock.js +0 -1
- package/dist/presentations/docs/presentations-conventions.docblock.js +0 -1
- package/dist/presentations/index.d.ts +4 -0
- package/dist/presentations/index.js +4 -0
- package/dist/{presentations.d.ts → presentations/presentations.d.ts} +16 -5
- package/dist/{presentations.js → presentations/presentations.js} +26 -1
- package/dist/presentations/presentations.v2.d.ts +54 -0
- package/dist/{presentations.v2.d.ts → presentations/transform-engine.d.ts} +3 -51
- package/dist/{presentations.v2.js → presentations/transform-engine.js} +2 -2
- package/dist/regenerator/docs/regenerator.docblock.js +0 -1
- package/dist/registry-utils.d.ts +107 -0
- package/dist/registry-utils.js +122 -0
- package/dist/{contracts-adapter-hydration.d.ts → server/contracts-adapter-hydration.d.ts} +2 -2
- package/dist/{contracts-adapter-hydration.js → server/contracts-adapter-hydration.js} +1 -1
- package/dist/{contracts-adapter-input.d.ts → server/contracts-adapter-input.d.ts} +2 -3
- package/dist/{contracts-adapter-input.js → server/contracts-adapter-input.js} +2 -2
- package/dist/server/graphql-pothos.d.ts +1 -1
- package/dist/server/graphql-pothos.js +2 -2
- package/dist/server/mcp/createMcpServer.d.ts +1 -1
- package/dist/server/mcp/mcpTypes.d.ts +3 -2
- package/dist/server/mcp/registerPresentations.js +3 -2
- package/dist/server/mcp/registerTools.d.ts +1 -1
- package/dist/server/rest-elysia.d.ts +1 -1
- package/dist/server/rest-express.d.ts +1 -1
- package/dist/server/rest-generic.d.ts +1 -1
- package/dist/server/rest-next-app.d.ts +1 -1
- package/dist/server/rest-next-mcp.d.ts +1 -1
- package/dist/server/rest-next-pages.d.ts +1 -1
- package/dist/telemetry/docs/telemetry.docblock.js +0 -1
- package/dist/tests/runner.d.ts +1 -1
- package/dist/tests/spec.d.ts +1 -1
- package/dist/workflow/spec.d.ts +13 -2
- package/dist/workflow/spec.js +26 -0
- package/dist/workflow/validation.d.ts +2 -2
- package/dist/workspace-config/contractsrc-schema.d.ts +112 -2
- package/dist/workspace-config/contractsrc-schema.js +28 -3
- package/package.json +23 -19
- package/dist/data-views.js +0 -35
- package/dist/integrations/contracts.d.ts +0 -436
- package/dist/openbanking/docs/openbanking.docblock.d.ts +0 -6
- package/dist/openbanking/docs/openbanking.docblock.js +0 -22
- package/dist/presentations.backcompat.d.ts +0 -7
- package/dist/presentations.backcompat.js +0 -47
- package/dist/types/all.d.ts +0 -60
- /package/dist/{types/all.js → presentations/presentations.v2.js} +0 -0
|
@@ -1,81 +1,82 @@
|
|
|
1
1
|
import { EventSpec } from "../events.js";
|
|
2
|
-
import { OperationSpec } from "../operation.js";
|
|
3
|
-
import
|
|
2
|
+
import { OperationSpec } from "../operations/operation.js";
|
|
3
|
+
import "../operations/index.js";
|
|
4
|
+
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
4
5
|
import "../index.js";
|
|
5
|
-
import * as
|
|
6
|
+
import * as _lssm_lib_schema237 from "@lssm/lib.schema";
|
|
6
7
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
7
8
|
|
|
8
9
|
//#region src/app-config/lifecycle-contracts.d.ts
|
|
9
10
|
declare const CreateTenantConfigDraftCommand: OperationSpec<SchemaModel<{
|
|
10
11
|
tenantId: {
|
|
11
|
-
type:
|
|
12
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
12
13
|
isOptional: false;
|
|
13
14
|
};
|
|
14
15
|
appId: {
|
|
15
|
-
type:
|
|
16
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
16
17
|
isOptional: false;
|
|
17
18
|
};
|
|
18
19
|
blueprintName: {
|
|
19
|
-
type:
|
|
20
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
20
21
|
isOptional: false;
|
|
21
22
|
};
|
|
22
23
|
blueprintVersion: {
|
|
23
|
-
type:
|
|
24
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
24
25
|
isOptional: false;
|
|
25
26
|
};
|
|
26
27
|
environment: {
|
|
27
|
-
type:
|
|
28
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
28
29
|
isOptional: true;
|
|
29
30
|
};
|
|
30
31
|
fromVersion: {
|
|
31
|
-
type:
|
|
32
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
32
33
|
isOptional: true;
|
|
33
34
|
};
|
|
34
35
|
createdBy: {
|
|
35
|
-
type:
|
|
36
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
36
37
|
isOptional: false;
|
|
37
38
|
};
|
|
38
39
|
}>, SchemaModel<{
|
|
39
40
|
version: {
|
|
40
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
41
42
|
isOptional: false;
|
|
42
43
|
};
|
|
43
44
|
status: {
|
|
44
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
45
46
|
isOptional: false;
|
|
46
47
|
};
|
|
47
48
|
createdAt: {
|
|
48
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema237.FieldType<Date, string>;
|
|
49
50
|
isOptional: false;
|
|
50
51
|
};
|
|
51
52
|
}>, {
|
|
52
53
|
ref: EventSpec<SchemaModel<{
|
|
53
54
|
tenantId: {
|
|
54
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
55
56
|
isOptional: false;
|
|
56
57
|
};
|
|
57
58
|
appId: {
|
|
58
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
59
60
|
isOptional: false;
|
|
60
61
|
};
|
|
61
62
|
version: {
|
|
62
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
63
64
|
isOptional: false;
|
|
64
65
|
};
|
|
65
66
|
blueprintName: {
|
|
66
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
67
68
|
isOptional: false;
|
|
68
69
|
};
|
|
69
70
|
blueprintVersion: {
|
|
70
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
71
72
|
isOptional: false;
|
|
72
73
|
};
|
|
73
74
|
createdBy: {
|
|
74
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
75
76
|
isOptional: false;
|
|
76
77
|
};
|
|
77
78
|
clonedFrom: {
|
|
78
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
79
80
|
isOptional: true;
|
|
80
81
|
};
|
|
81
82
|
}>>;
|
|
@@ -83,55 +84,55 @@ declare const CreateTenantConfigDraftCommand: OperationSpec<SchemaModel<{
|
|
|
83
84
|
}[]>;
|
|
84
85
|
declare const PromoteTenantConfigToPreviewCommand: OperationSpec<SchemaModel<{
|
|
85
86
|
tenantId: {
|
|
86
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
87
88
|
isOptional: false;
|
|
88
89
|
};
|
|
89
90
|
appId: {
|
|
90
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
91
92
|
isOptional: false;
|
|
92
93
|
};
|
|
93
94
|
version: {
|
|
94
|
-
type:
|
|
95
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
95
96
|
isOptional: false;
|
|
96
97
|
};
|
|
97
98
|
promotedBy: {
|
|
98
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
99
100
|
isOptional: false;
|
|
100
101
|
};
|
|
101
102
|
}>, SchemaModel<{
|
|
102
103
|
version: {
|
|
103
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
104
105
|
isOptional: false;
|
|
105
106
|
};
|
|
106
107
|
status: {
|
|
107
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
108
109
|
isOptional: false;
|
|
109
110
|
};
|
|
110
111
|
warnings: {
|
|
111
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
112
113
|
isOptional: true;
|
|
113
114
|
isArray: true;
|
|
114
115
|
};
|
|
115
116
|
}>, {
|
|
116
117
|
ref: EventSpec<SchemaModel<{
|
|
117
118
|
tenantId: {
|
|
118
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
119
120
|
isOptional: false;
|
|
120
121
|
};
|
|
121
122
|
appId: {
|
|
122
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
123
124
|
isOptional: false;
|
|
124
125
|
};
|
|
125
126
|
version: {
|
|
126
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
127
128
|
isOptional: false;
|
|
128
129
|
};
|
|
129
130
|
promotedBy: {
|
|
130
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
131
132
|
isOptional: false;
|
|
132
133
|
};
|
|
133
134
|
warnings: {
|
|
134
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
135
136
|
isOptional: true;
|
|
136
137
|
isArray: true;
|
|
137
138
|
};
|
|
@@ -140,74 +141,74 @@ declare const PromoteTenantConfigToPreviewCommand: OperationSpec<SchemaModel<{
|
|
|
140
141
|
}[]>;
|
|
141
142
|
declare const PublishTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
142
143
|
tenantId: {
|
|
143
|
-
type:
|
|
144
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
144
145
|
isOptional: false;
|
|
145
146
|
};
|
|
146
147
|
appId: {
|
|
147
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
148
149
|
isOptional: false;
|
|
149
150
|
};
|
|
150
151
|
version: {
|
|
151
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
152
153
|
isOptional: false;
|
|
153
154
|
};
|
|
154
155
|
environment: {
|
|
155
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
156
157
|
isOptional: true;
|
|
157
158
|
};
|
|
158
159
|
publishedBy: {
|
|
159
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
160
161
|
isOptional: false;
|
|
161
162
|
};
|
|
162
163
|
changeSummary: {
|
|
163
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
164
165
|
isOptional: true;
|
|
165
166
|
};
|
|
166
167
|
}>, SchemaModel<{
|
|
167
168
|
version: {
|
|
168
|
-
type:
|
|
169
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
169
170
|
isOptional: false;
|
|
170
171
|
};
|
|
171
172
|
status: {
|
|
172
|
-
type:
|
|
173
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
173
174
|
isOptional: false;
|
|
174
175
|
};
|
|
175
176
|
previousVersion: {
|
|
176
|
-
type:
|
|
177
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
177
178
|
isOptional: true;
|
|
178
179
|
};
|
|
179
180
|
publishedAt: {
|
|
180
|
-
type:
|
|
181
|
+
type: _lssm_lib_schema237.FieldType<Date, string>;
|
|
181
182
|
isOptional: false;
|
|
182
183
|
};
|
|
183
184
|
}>, {
|
|
184
185
|
ref: EventSpec<SchemaModel<{
|
|
185
186
|
tenantId: {
|
|
186
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
187
188
|
isOptional: false;
|
|
188
189
|
};
|
|
189
190
|
appId: {
|
|
190
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
191
192
|
isOptional: false;
|
|
192
193
|
};
|
|
193
194
|
version: {
|
|
194
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
195
196
|
isOptional: false;
|
|
196
197
|
};
|
|
197
198
|
previousVersion: {
|
|
198
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
199
200
|
isOptional: true;
|
|
200
201
|
};
|
|
201
202
|
publishedBy: {
|
|
202
|
-
type:
|
|
203
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
203
204
|
isOptional: false;
|
|
204
205
|
};
|
|
205
206
|
changeSummary: {
|
|
206
|
-
type:
|
|
207
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
207
208
|
isOptional: true;
|
|
208
209
|
};
|
|
209
210
|
changedSections: {
|
|
210
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
211
212
|
isOptional: true;
|
|
212
213
|
isArray: true;
|
|
213
214
|
};
|
|
@@ -216,70 +217,70 @@ declare const PublishTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
|
216
217
|
}[]>;
|
|
217
218
|
declare const RollbackTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
218
219
|
tenantId: {
|
|
219
|
-
type:
|
|
220
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
220
221
|
isOptional: false;
|
|
221
222
|
};
|
|
222
223
|
appId: {
|
|
223
|
-
type:
|
|
224
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
224
225
|
isOptional: false;
|
|
225
226
|
};
|
|
226
227
|
toVersion: {
|
|
227
|
-
type:
|
|
228
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
228
229
|
isOptional: false;
|
|
229
230
|
};
|
|
230
231
|
environment: {
|
|
231
|
-
type:
|
|
232
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
232
233
|
isOptional: true;
|
|
233
234
|
};
|
|
234
235
|
rolledBackBy: {
|
|
235
|
-
type:
|
|
236
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
236
237
|
isOptional: false;
|
|
237
238
|
};
|
|
238
239
|
reason: {
|
|
239
|
-
type:
|
|
240
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
240
241
|
isOptional: false;
|
|
241
242
|
};
|
|
242
243
|
}>, SchemaModel<{
|
|
243
244
|
newVersion: {
|
|
244
|
-
type:
|
|
245
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
245
246
|
isOptional: false;
|
|
246
247
|
};
|
|
247
248
|
status: {
|
|
248
|
-
type:
|
|
249
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
249
250
|
isOptional: false;
|
|
250
251
|
};
|
|
251
252
|
rolledBackFrom: {
|
|
252
|
-
type:
|
|
253
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
253
254
|
isOptional: false;
|
|
254
255
|
};
|
|
255
256
|
}>, {
|
|
256
257
|
ref: EventSpec<SchemaModel<{
|
|
257
258
|
tenantId: {
|
|
258
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
259
260
|
isOptional: false;
|
|
260
261
|
};
|
|
261
262
|
appId: {
|
|
262
|
-
type:
|
|
263
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
263
264
|
isOptional: false;
|
|
264
265
|
};
|
|
265
266
|
newVersion: {
|
|
266
|
-
type:
|
|
267
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
267
268
|
isOptional: false;
|
|
268
269
|
};
|
|
269
270
|
rolledBackFrom: {
|
|
270
|
-
type:
|
|
271
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
271
272
|
isOptional: false;
|
|
272
273
|
};
|
|
273
274
|
rolledBackTo: {
|
|
274
|
-
type:
|
|
275
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
275
276
|
isOptional: false;
|
|
276
277
|
};
|
|
277
278
|
rolledBackBy: {
|
|
278
|
-
type:
|
|
279
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
279
280
|
isOptional: false;
|
|
280
281
|
};
|
|
281
282
|
reason: {
|
|
282
|
-
type:
|
|
283
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
283
284
|
isOptional: false;
|
|
284
285
|
};
|
|
285
286
|
}>>;
|
|
@@ -287,22 +288,22 @@ declare const RollbackTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
|
287
288
|
}[]>;
|
|
288
289
|
declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
|
|
289
290
|
tenantId: {
|
|
290
|
-
type:
|
|
291
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
291
292
|
isOptional: false;
|
|
292
293
|
};
|
|
293
294
|
appId: {
|
|
294
|
-
type:
|
|
295
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
295
296
|
isOptional: false;
|
|
296
297
|
};
|
|
297
298
|
}>, SchemaModel<{
|
|
298
299
|
versions: {
|
|
299
300
|
type: SchemaModel<{
|
|
300
301
|
meta: {
|
|
301
|
-
type:
|
|
302
|
+
type: _lssm_lib_schema237.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
302
303
|
isOptional: false;
|
|
303
304
|
};
|
|
304
305
|
config: {
|
|
305
|
-
type:
|
|
306
|
+
type: _lssm_lib_schema237.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
306
307
|
isOptional: false;
|
|
307
308
|
};
|
|
308
309
|
}>;
|
|
@@ -312,35 +313,35 @@ declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
|
|
|
312
313
|
transitions: {
|
|
313
314
|
type: SchemaModel<{
|
|
314
315
|
tenantId: {
|
|
315
|
-
type:
|
|
316
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
316
317
|
isOptional: false;
|
|
317
318
|
};
|
|
318
319
|
appId: {
|
|
319
|
-
type:
|
|
320
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
320
321
|
isOptional: false;
|
|
321
322
|
};
|
|
322
323
|
fromStatus: {
|
|
323
|
-
type:
|
|
324
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
324
325
|
isOptional: false;
|
|
325
326
|
};
|
|
326
327
|
toStatus: {
|
|
327
|
-
type:
|
|
328
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
328
329
|
isOptional: false;
|
|
329
330
|
};
|
|
330
331
|
version: {
|
|
331
|
-
type:
|
|
332
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
332
333
|
isOptional: false;
|
|
333
334
|
};
|
|
334
335
|
timestamp: {
|
|
335
|
-
type:
|
|
336
|
+
type: _lssm_lib_schema237.FieldType<Date, string>;
|
|
336
337
|
isOptional: false;
|
|
337
338
|
};
|
|
338
339
|
actor: {
|
|
339
|
-
type:
|
|
340
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
340
341
|
isOptional: false;
|
|
341
342
|
};
|
|
342
343
|
reason: {
|
|
343
|
-
type:
|
|
344
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
344
345
|
isOptional: true;
|
|
345
346
|
};
|
|
346
347
|
}>;
|
|
@@ -350,26 +351,26 @@ declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
|
|
|
350
351
|
}>, undefined>;
|
|
351
352
|
declare const GetTenantConfigVersionQuery: OperationSpec<SchemaModel<{
|
|
352
353
|
tenantId: {
|
|
353
|
-
type:
|
|
354
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
354
355
|
isOptional: false;
|
|
355
356
|
};
|
|
356
357
|
appId: {
|
|
357
|
-
type:
|
|
358
|
+
type: _lssm_lib_schema237.FieldType<string, string>;
|
|
358
359
|
isOptional: false;
|
|
359
360
|
};
|
|
360
361
|
version: {
|
|
361
|
-
type:
|
|
362
|
+
type: _lssm_lib_schema237.FieldType<number, number>;
|
|
362
363
|
isOptional: false;
|
|
363
364
|
};
|
|
364
365
|
}>, SchemaModel<{
|
|
365
366
|
version: {
|
|
366
367
|
type: SchemaModel<{
|
|
367
368
|
meta: {
|
|
368
|
-
type:
|
|
369
|
+
type: _lssm_lib_schema237.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
369
370
|
isOptional: false;
|
|
370
371
|
};
|
|
371
372
|
config: {
|
|
372
|
-
type:
|
|
373
|
+
type: _lssm_lib_schema237.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
373
374
|
isOptional: false;
|
|
374
375
|
};
|
|
375
376
|
}>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { E5, x8 } from "../schema/dist/index.js";
|
|
2
|
-
import { defineCommand, defineQuery } from "../operation.js";
|
|
3
2
|
import { OwnersEnum, StabilityEnum, TagsEnum } from "../ownership.js";
|
|
3
|
+
import { defineCommand, defineQuery } from "../operations/operation.js";
|
|
4
|
+
import "../operations/index.js";
|
|
4
5
|
import { ConfigDraftCreatedEvent, ConfigPromotedToPreviewEvent, ConfigPublishedEvent, ConfigRolledBackEvent } from "./events.js";
|
|
5
6
|
|
|
6
7
|
//#region src/app-config/lifecycle-contracts.ts
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { PolicyRef, PolicyRegistry, PolicySpec } from "../policy/spec.js";
|
|
2
2
|
import { TelemetryRegistry, TelemetrySpec } from "../telemetry/spec.js";
|
|
3
|
-
import { CapabilityRef, CapabilityRegistry, CapabilitySpec } from "../capabilities.js";
|
|
3
|
+
import { CapabilityRef, CapabilityRegistry, CapabilitySpec } from "../capabilities/capabilities.js";
|
|
4
|
+
import "../capabilities/index.js";
|
|
4
5
|
import { ExperimentRef, ExperimentRegistry, ExperimentSpec } from "../experiments/spec.js";
|
|
5
|
-
import { DataViewRegistry, DataViewSpec } from "../data-views.js";
|
|
6
|
+
import { DataViewRegistry, DataViewSpec } from "../data-views/data-views.js";
|
|
7
|
+
import "../data-views/index.js";
|
|
6
8
|
import { WorkflowRegistry, WorkflowSpec } from "../workflow/spec.js";
|
|
7
9
|
import { ThemeRegistry, ThemeSpec } from "../themes.js";
|
|
8
10
|
import { IntegrationSpec, IntegrationSpecRegistry } from "../integrations/spec.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OwnerShipMeta } from "../ownership.js";
|
|
2
2
|
import { PolicyRef } from "../policy/spec.js";
|
|
3
|
-
import { CapabilityRef } from "../capabilities.js";
|
|
3
|
+
import { CapabilityRef } from "../capabilities/capabilities.js";
|
|
4
|
+
import "../capabilities/index.js";
|
|
4
5
|
import { ExperimentRef } from "../experiments/spec.js";
|
|
5
6
|
import { ThemeRef } from "../themes.js";
|
|
6
7
|
import { IntegrationCategory, IntegrationOwnershipMode } from "../integrations/spec.js";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { CapabilityRegistry } from "../capabilities.js";
|
|
2
|
-
import
|
|
1
|
+
import { CapabilityRegistry } from "../capabilities/capabilities.js";
|
|
2
|
+
import "../capabilities/index.js";
|
|
3
|
+
import { DataViewRegistry } from "../data-views/data-views.js";
|
|
4
|
+
import "../data-views/index.js";
|
|
3
5
|
import { WorkflowRegistry } from "../workflow/spec.js";
|
|
4
6
|
import { IntegrationSpecRegistry } from "../integrations/spec.js";
|
|
5
7
|
import { IntegrationConnection } from "../integrations/connection.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OwnerShipMeta } from "
|
|
2
|
-
import { DocId } from "
|
|
1
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
2
|
+
import { DocId } from "../docs/registry.js";
|
|
3
3
|
|
|
4
|
-
//#region src/capabilities.d.ts
|
|
4
|
+
//#region src/capabilities/capabilities.d.ts
|
|
5
5
|
type CapabilityKind = 'api' | 'event' | 'data' | 'ui' | 'integration';
|
|
6
6
|
type CapabilitySurface = 'operation' | 'event' | 'workflow' | 'presentation' | 'resource';
|
|
7
7
|
interface CapabilitySurfaceRef {
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CapabilityKind, CapabilityMeta, CapabilityRef, CapabilityRegistry, CapabilityRequirement, CapabilitySpec, CapabilitySurface, CapabilitySurfaceRef, capabilityKey, defineCapability } from "./capabilities.js";
|
|
2
|
+
import { openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities } from "./openbanking.js";
|
|
3
|
+
export { CapabilityKind, CapabilityMeta, CapabilityRef, CapabilityRegistry, CapabilityRequirement, CapabilitySpec, CapabilitySurface, CapabilitySurfaceRef, capabilityKey, defineCapability, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CapabilityRegistry, capabilityKey, defineCapability } from "./capabilities.js";
|
|
2
|
+
import { openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities } from "./openbanking.js";
|
|
3
|
+
|
|
4
|
+
export { CapabilityRegistry, capabilityKey, defineCapability, openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CapabilityRegistry, CapabilitySpec } from "
|
|
1
|
+
import { CapabilityRegistry, CapabilitySpec } from "./capabilities.js";
|
|
2
|
+
import "./index.js";
|
|
2
3
|
|
|
3
4
|
//#region src/capabilities/openbanking.d.ts
|
|
4
5
|
declare const openBankingAccountsReadCapability: CapabilitySpec;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PresentationDescriptorV2, PresentationTarget } from "../../presentations/presentations.v2.js";
|
|
2
|
+
import { ComponentMap, TransformEngine } from "../../presentations/transform-engine.js";
|
|
3
|
+
import "../../presentations/index.js";
|
|
2
4
|
import { FeatureModuleSpec, FeatureRegistry } from "../../features.js";
|
|
3
5
|
import React from "react";
|
|
4
6
|
import { BlockConfig } from "@blocknote/core";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { createDefaultTransformEngine, registerBasicValidation, registerDefaultReactRenderer } from "../../presentations.
|
|
1
|
+
import { createDefaultTransformEngine, registerBasicValidation, registerDefaultReactRenderer } from "../../presentations/transform-engine.js";
|
|
2
|
+
import "../../presentations/index.js";
|
|
2
3
|
import React from "react";
|
|
3
4
|
|
|
4
5
|
//#region src/client/react/feature-render.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormOption, FormSpec, FormValuesFor } from "../../forms.js";
|
|
1
|
+
import { FormOption, FormSpec, FormValuesFor } from "../../forms/forms.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buildZodWithRelations, evalPredicate } from "../../forms.js";
|
|
1
|
+
import { buildZodWithRelations, evalPredicate } from "../../forms/forms.js";
|
|
2
2
|
import React, { useEffect, useMemo, useState } from "react";
|
|
3
3
|
import { Controller, useFieldArray, useForm } from "react-hook-form";
|
|
4
4
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { OwnerShipMeta } from "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
2
|
+
import { GroupKeyFn, RegistryFilter } from "../registry-utils.js";
|
|
3
|
+
import { ExperimentRef } from "../experiments/spec.js";
|
|
4
|
+
import { EventRef, OpRef, PresentationRef } from "../features.js";
|
|
4
5
|
|
|
5
|
-
//#region src/data-views.d.ts
|
|
6
|
+
//#region src/data-views/data-views.d.ts
|
|
6
7
|
type DataViewKind = 'list' | 'detail' | 'table' | 'grid';
|
|
7
8
|
interface DataViewMeta extends OwnerShipMeta {
|
|
8
9
|
/** Fully-qualified data view name (e.g., "sigil.spaces.admin_list"). */
|
|
@@ -125,6 +126,16 @@ declare class DataViewRegistry {
|
|
|
125
126
|
register(spec: DataViewSpec): this;
|
|
126
127
|
list(): DataViewSpec[];
|
|
127
128
|
get(name: string, version?: number): DataViewSpec | undefined;
|
|
129
|
+
/** Filter data views by criteria. */
|
|
130
|
+
filter(criteria: RegistryFilter): DataViewSpec[];
|
|
131
|
+
/** List data views with specific tag. */
|
|
132
|
+
listByTag(tag: string): DataViewSpec[];
|
|
133
|
+
/** List data views by owner. */
|
|
134
|
+
listByOwner(owner: string): DataViewSpec[];
|
|
135
|
+
/** Group data views by key function. */
|
|
136
|
+
groupBy(keyFn: GroupKeyFn<DataViewSpec>): Map<string, DataViewSpec[]>;
|
|
137
|
+
/** Get unique tags from all data views. */
|
|
138
|
+
getUniqueTags(): string[];
|
|
128
139
|
}
|
|
129
140
|
declare function dataViewKey(spec: DataViewSpec): string;
|
|
130
141
|
//#endregion
|