@contractspec/lib.contracts 1.52.0 → 1.54.0
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/app-config/{contracts.d.ts → app-config.contracts.d.ts} +51 -51
- package/dist/app-config/{contracts.js → app-config.contracts.js} +1 -1
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/app-config/runtime.d.ts +4 -4
- package/dist/app-config/spec.d.ts +3 -3
- package/dist/capabilities/guards.d.ts +1 -1
- package/dist/capabilities/validation.d.ts +1 -1
- package/dist/contract-registry/schemas.d.ts +4 -4
- package/dist/data-views/data-views.d.ts +1 -1
- package/dist/data-views/index.d.ts +1 -1
- package/dist/data-views/registry.d.ts +1 -1
- package/dist/data-views/report/contractVerificationTable.d.ts +10 -0
- package/dist/data-views/report/contractVerificationTable.js +95 -0
- package/dist/data-views/runtime.d.ts +2 -2
- package/dist/data-views/spec.d.ts +1 -1
- package/dist/data-views/types.d.ts +2 -2
- package/dist/docs/capabilities/documentationSystem.capability.d.ts +7 -0
- package/dist/docs/capabilities/documentationSystem.capability.js +71 -0
- package/dist/docs/capabilities/index.d.ts +2 -0
- package/dist/docs/capabilities/index.js +3 -0
- package/dist/docs/commands/docsGenerate.command.d.ts +95 -0
- package/dist/docs/commands/docsGenerate.command.js +142 -0
- package/dist/docs/commands/docsPublish.command.d.ts +64 -0
- package/dist/docs/commands/docsPublish.command.js +107 -0
- package/dist/docs/commands/index.d.ts +3 -0
- package/dist/docs/commands/index.js +4 -0
- package/dist/docs/constants.d.ts +7 -0
- package/dist/docs/constants.js +10 -0
- package/dist/docs/contracts.d.ts +442 -0
- package/dist/docs/contracts.js +58 -0
- package/dist/docs/ensure-docblocks.d.ts +1 -0
- package/dist/docs/ensure-docblocks.js +1 -0
- package/dist/docs/events/docsGenerated.event.d.ts +62 -0
- package/dist/docs/events/docsGenerated.event.js +53 -0
- package/dist/docs/events/docsPublished.event.d.ts +70 -0
- package/dist/docs/events/docsPublished.event.js +57 -0
- package/dist/docs/events/index.d.ts +3 -0
- package/dist/docs/events/index.js +4 -0
- package/dist/docs/forms/docsSearch.form.d.ts +22 -0
- package/dist/docs/forms/docsSearch.form.js +113 -0
- package/dist/docs/forms/index.d.ts +2 -0
- package/dist/docs/forms/index.js +3 -0
- package/dist/docs/index.d.ts +23 -1
- package/dist/docs/index.js +25 -1
- package/dist/docs/presentations/docsLayout.presentation.d.ts +7 -0
- package/dist/docs/presentations/docsLayout.presentation.js +35 -0
- package/dist/docs/presentations/docsReferencePage.presentation.d.ts +7 -0
- package/dist/docs/presentations/docsReferencePage.presentation.js +35 -0
- package/dist/docs/presentations/index.d.ts +3 -0
- package/dist/docs/presentations/index.js +4 -0
- package/dist/docs/queries/contractReference.query.d.ts +217 -0
- package/dist/docs/queries/contractReference.query.js +125 -0
- package/dist/docs/queries/docsIndex.query.d.ts +272 -0
- package/dist/docs/queries/docsIndex.query.js +133 -0
- package/dist/docs/queries/index.d.ts +3 -0
- package/dist/docs/queries/index.js +4 -0
- package/dist/docs/tech/cli.docblock.js +10 -0
- package/dist/docs/tech/docs-system.docblock.d.ts +1 -0
- package/dist/docs/tech/docs-system.docblock.js +128 -0
- package/dist/docs/tech/report-verification-table.docblock.d.ts +1 -0
- package/dist/docs/tech/report-verification-table.docblock.js +50 -0
- package/dist/docs/views/contractReference.dataView.d.ts +7 -0
- package/dist/docs/views/contractReference.dataView.js +81 -0
- package/dist/docs/views/docsIndex.dataView.d.ts +7 -0
- package/dist/docs/views/docsIndex.dataView.js +136 -0
- package/dist/docs/views/exampleCatalog.dataView.d.ts +7 -0
- package/dist/docs/views/exampleCatalog.dataView.js +91 -0
- package/dist/docs/views/index.d.ts +4 -0
- package/dist/docs/views/index.js +5 -0
- package/dist/events.d.ts +1 -1
- package/dist/examples/schema.d.ts +17 -17
- package/dist/examples/types.d.ts +1 -1
- package/dist/experiments/spec.d.ts +2 -2
- package/dist/features/install.d.ts +1 -1
- package/dist/features/types.d.ts +3 -3
- package/dist/forms/forms.d.ts +1 -1
- package/dist/index.d.ts +40 -22
- package/dist/index.js +20 -2
- package/dist/install.d.ts +1 -1
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/integrations/providers/impls/stripe-payments.js +1 -1
- package/dist/integrations/spec.d.ts +2 -2
- package/dist/jsonschema.d.ts +1 -1
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/knowledge/spec.d.ts +1 -1
- package/dist/llm/exporters.d.ts +3 -3
- package/dist/llm/types.d.ts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/operations/index.d.ts +4 -1
- package/dist/operations/index.js +4 -1
- package/dist/operations/operation.d.ts +3 -3
- package/dist/operations/registry.d.ts +1 -1
- package/dist/operations/report/getContractVerificationStatus.d.ts +75 -0
- package/dist/operations/report/getContractVerificationStatus.js +96 -0
- package/dist/operations/report/index.d.ts +13 -0
- package/dist/operations/report/index.js +45 -0
- package/dist/policy/validation.d.ts +1 -1
- package/dist/presentations/registry.d.ts +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/serialization/serializers.d.ts +3 -3
- 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/spec.d.ts +1 -1
- package/dist/telemetry/tracker.d.ts +3 -2
- package/dist/tests/runner.d.ts +1 -1
- package/dist/themes.d.ts +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/workflow/spec.d.ts +2 -2
- package/dist/workflow/validation.d.ts +2 -2
- package/dist/workspace-config/contractsrc-schema.d.ts +3 -3
- package/dist/workspace-config/contractsrc-schema.js +1 -0
- package/dist/workspace-config/contractsrc-types.d.ts +7 -8
- package/dist/workspace-config/index.d.ts +2 -2
- package/package.json +38 -11
|
@@ -2,47 +2,47 @@ import { AnyOperationSpec, OperationSpec } from "../operations/operation.js";
|
|
|
2
2
|
import "../operations/index.js";
|
|
3
3
|
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
4
4
|
import "../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _contractspec_lib_schema256 from "@contractspec/lib.schema";
|
|
6
6
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
7
7
|
|
|
8
8
|
//#region src/knowledge/operations.d.ts
|
|
9
9
|
declare const CreateKnowledgeSource: OperationSpec<SchemaModel<{
|
|
10
10
|
tenantId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
spaceKey: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
spaceVersion: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
label: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
sourceType: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
config: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema256.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
syncSchedule: {
|
|
35
35
|
type: SchemaModel<{
|
|
36
36
|
enabled: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema256.FieldType<boolean, boolean>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
cron: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
intervalMs: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema256.FieldType<number, number>;
|
|
46
46
|
isOptional: true;
|
|
47
47
|
};
|
|
48
48
|
}>;
|
|
@@ -50,92 +50,92 @@ declare const CreateKnowledgeSource: OperationSpec<SchemaModel<{
|
|
|
50
50
|
};
|
|
51
51
|
}>, SchemaModel<{
|
|
52
52
|
id: {
|
|
53
|
-
type:
|
|
53
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
tenantId: {
|
|
57
|
-
type:
|
|
57
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
spaceKey: {
|
|
61
|
-
type:
|
|
61
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
spaceVersion: {
|
|
65
|
-
type:
|
|
65
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
label: {
|
|
69
|
-
type:
|
|
69
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
70
70
|
isOptional: false;
|
|
71
71
|
};
|
|
72
72
|
sourceType: {
|
|
73
|
-
type:
|
|
73
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
74
74
|
isOptional: false;
|
|
75
75
|
};
|
|
76
76
|
syncSchedule: {
|
|
77
77
|
type: SchemaModel<{
|
|
78
78
|
enabled: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema256.FieldType<boolean, boolean>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
cron: {
|
|
83
|
-
type:
|
|
83
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
intervalMs: {
|
|
87
|
-
type:
|
|
87
|
+
type: _contractspec_lib_schema256.FieldType<number, number>;
|
|
88
88
|
isOptional: true;
|
|
89
89
|
};
|
|
90
90
|
}>;
|
|
91
91
|
isOptional: true;
|
|
92
92
|
};
|
|
93
93
|
lastSyncStatus: {
|
|
94
|
-
type:
|
|
94
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
lastSyncAt: {
|
|
98
|
-
type:
|
|
98
|
+
type: _contractspec_lib_schema256.FieldType<Date, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
itemsProcessed: {
|
|
102
|
-
type:
|
|
102
|
+
type: _contractspec_lib_schema256.FieldType<number, number>;
|
|
103
103
|
isOptional: true;
|
|
104
104
|
};
|
|
105
105
|
createdAt: {
|
|
106
|
-
type:
|
|
106
|
+
type: _contractspec_lib_schema256.FieldType<Date, string>;
|
|
107
107
|
isOptional: true;
|
|
108
108
|
};
|
|
109
109
|
updatedAt: {
|
|
110
|
-
type:
|
|
110
|
+
type: _contractspec_lib_schema256.FieldType<Date, string>;
|
|
111
111
|
isOptional: true;
|
|
112
112
|
};
|
|
113
113
|
}>, undefined>;
|
|
114
114
|
declare const UpdateKnowledgeSource: OperationSpec<SchemaModel<{
|
|
115
115
|
sourceId: {
|
|
116
|
-
type:
|
|
116
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
label: {
|
|
120
|
-
type:
|
|
120
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
121
121
|
isOptional: true;
|
|
122
122
|
};
|
|
123
123
|
config: {
|
|
124
|
-
type:
|
|
124
|
+
type: _contractspec_lib_schema256.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
125
125
|
isOptional: true;
|
|
126
126
|
};
|
|
127
127
|
syncSchedule: {
|
|
128
128
|
type: SchemaModel<{
|
|
129
129
|
enabled: {
|
|
130
|
-
type:
|
|
130
|
+
type: _contractspec_lib_schema256.FieldType<boolean, boolean>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
cron: {
|
|
134
|
-
type:
|
|
134
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
intervalMs: {
|
|
138
|
-
type:
|
|
138
|
+
type: _contractspec_lib_schema256.FieldType<number, number>;
|
|
139
139
|
isOptional: true;
|
|
140
140
|
};
|
|
141
141
|
}>;
|
|
@@ -143,149 +143,149 @@ declare const UpdateKnowledgeSource: OperationSpec<SchemaModel<{
|
|
|
143
143
|
};
|
|
144
144
|
}>, SchemaModel<{
|
|
145
145
|
id: {
|
|
146
|
-
type:
|
|
146
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
147
147
|
isOptional: false;
|
|
148
148
|
};
|
|
149
149
|
tenantId: {
|
|
150
|
-
type:
|
|
150
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
spaceKey: {
|
|
154
|
-
type:
|
|
154
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
155
155
|
isOptional: false;
|
|
156
156
|
};
|
|
157
157
|
spaceVersion: {
|
|
158
|
-
type:
|
|
158
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
label: {
|
|
162
|
-
type:
|
|
162
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
sourceType: {
|
|
166
|
-
type:
|
|
166
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
syncSchedule: {
|
|
170
170
|
type: SchemaModel<{
|
|
171
171
|
enabled: {
|
|
172
|
-
type:
|
|
172
|
+
type: _contractspec_lib_schema256.FieldType<boolean, boolean>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
cron: {
|
|
176
|
-
type:
|
|
176
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
177
177
|
isOptional: true;
|
|
178
178
|
};
|
|
179
179
|
intervalMs: {
|
|
180
|
-
type:
|
|
180
|
+
type: _contractspec_lib_schema256.FieldType<number, number>;
|
|
181
181
|
isOptional: true;
|
|
182
182
|
};
|
|
183
183
|
}>;
|
|
184
184
|
isOptional: true;
|
|
185
185
|
};
|
|
186
186
|
lastSyncStatus: {
|
|
187
|
-
type:
|
|
187
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
188
188
|
isOptional: true;
|
|
189
189
|
};
|
|
190
190
|
lastSyncAt: {
|
|
191
|
-
type:
|
|
191
|
+
type: _contractspec_lib_schema256.FieldType<Date, string>;
|
|
192
192
|
isOptional: true;
|
|
193
193
|
};
|
|
194
194
|
itemsProcessed: {
|
|
195
|
-
type:
|
|
195
|
+
type: _contractspec_lib_schema256.FieldType<number, number>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
createdAt: {
|
|
199
|
-
type:
|
|
199
|
+
type: _contractspec_lib_schema256.FieldType<Date, string>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
};
|
|
202
202
|
updatedAt: {
|
|
203
|
-
type:
|
|
203
|
+
type: _contractspec_lib_schema256.FieldType<Date, string>;
|
|
204
204
|
isOptional: true;
|
|
205
205
|
};
|
|
206
206
|
}>, undefined>;
|
|
207
207
|
declare const DeleteKnowledgeSource: OperationSpec<SchemaModel<{
|
|
208
208
|
sourceId: {
|
|
209
|
-
type:
|
|
209
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
210
210
|
isOptional: false;
|
|
211
211
|
};
|
|
212
212
|
}>, SchemaModel<{
|
|
213
213
|
success: {
|
|
214
|
-
type:
|
|
214
|
+
type: _contractspec_lib_schema256.FieldType<boolean, boolean>;
|
|
215
215
|
isOptional: false;
|
|
216
216
|
};
|
|
217
217
|
}>, undefined>;
|
|
218
218
|
declare const ListKnowledgeSources: OperationSpec<SchemaModel<{
|
|
219
219
|
tenantId: {
|
|
220
|
-
type:
|
|
220
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
221
221
|
isOptional: false;
|
|
222
222
|
};
|
|
223
223
|
spaceKey: {
|
|
224
|
-
type:
|
|
224
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
225
225
|
isOptional: true;
|
|
226
226
|
};
|
|
227
227
|
}>, SchemaModel<{
|
|
228
228
|
sources: {
|
|
229
229
|
type: SchemaModel<{
|
|
230
230
|
id: {
|
|
231
|
-
type:
|
|
231
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
232
232
|
isOptional: false;
|
|
233
233
|
};
|
|
234
234
|
tenantId: {
|
|
235
|
-
type:
|
|
235
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
236
236
|
isOptional: false;
|
|
237
237
|
};
|
|
238
238
|
spaceKey: {
|
|
239
|
-
type:
|
|
239
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
240
240
|
isOptional: false;
|
|
241
241
|
};
|
|
242
242
|
spaceVersion: {
|
|
243
|
-
type:
|
|
243
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
244
244
|
isOptional: false;
|
|
245
245
|
};
|
|
246
246
|
label: {
|
|
247
|
-
type:
|
|
247
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
248
248
|
isOptional: false;
|
|
249
249
|
};
|
|
250
250
|
sourceType: {
|
|
251
|
-
type:
|
|
251
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
syncSchedule: {
|
|
255
255
|
type: SchemaModel<{
|
|
256
256
|
enabled: {
|
|
257
|
-
type:
|
|
257
|
+
type: _contractspec_lib_schema256.FieldType<boolean, boolean>;
|
|
258
258
|
isOptional: false;
|
|
259
259
|
};
|
|
260
260
|
cron: {
|
|
261
|
-
type:
|
|
261
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
262
262
|
isOptional: true;
|
|
263
263
|
};
|
|
264
264
|
intervalMs: {
|
|
265
|
-
type:
|
|
265
|
+
type: _contractspec_lib_schema256.FieldType<number, number>;
|
|
266
266
|
isOptional: true;
|
|
267
267
|
};
|
|
268
268
|
}>;
|
|
269
269
|
isOptional: true;
|
|
270
270
|
};
|
|
271
271
|
lastSyncStatus: {
|
|
272
|
-
type:
|
|
272
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
273
273
|
isOptional: true;
|
|
274
274
|
};
|
|
275
275
|
lastSyncAt: {
|
|
276
|
-
type:
|
|
276
|
+
type: _contractspec_lib_schema256.FieldType<Date, string>;
|
|
277
277
|
isOptional: true;
|
|
278
278
|
};
|
|
279
279
|
itemsProcessed: {
|
|
280
|
-
type:
|
|
280
|
+
type: _contractspec_lib_schema256.FieldType<number, number>;
|
|
281
281
|
isOptional: true;
|
|
282
282
|
};
|
|
283
283
|
createdAt: {
|
|
284
|
-
type:
|
|
284
|
+
type: _contractspec_lib_schema256.FieldType<Date, string>;
|
|
285
285
|
isOptional: true;
|
|
286
286
|
};
|
|
287
287
|
updatedAt: {
|
|
288
|
-
type:
|
|
288
|
+
type: _contractspec_lib_schema256.FieldType<Date, string>;
|
|
289
289
|
isOptional: true;
|
|
290
290
|
};
|
|
291
291
|
}>;
|
|
@@ -295,20 +295,20 @@ declare const ListKnowledgeSources: OperationSpec<SchemaModel<{
|
|
|
295
295
|
}>, undefined>;
|
|
296
296
|
declare const TriggerKnowledgeSourceSync: OperationSpec<SchemaModel<{
|
|
297
297
|
sourceId: {
|
|
298
|
-
type:
|
|
298
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
299
299
|
isOptional: false;
|
|
300
300
|
};
|
|
301
301
|
}>, SchemaModel<{
|
|
302
302
|
success: {
|
|
303
|
-
type:
|
|
303
|
+
type: _contractspec_lib_schema256.FieldType<boolean, boolean>;
|
|
304
304
|
isOptional: false;
|
|
305
305
|
};
|
|
306
306
|
itemsProcessed: {
|
|
307
|
-
type:
|
|
307
|
+
type: _contractspec_lib_schema256.FieldType<number, number>;
|
|
308
308
|
isOptional: true;
|
|
309
309
|
};
|
|
310
310
|
error: {
|
|
311
|
-
type:
|
|
311
|
+
type: _contractspec_lib_schema256.FieldType<string, string>;
|
|
312
312
|
isOptional: true;
|
|
313
313
|
};
|
|
314
314
|
}>, undefined>;
|
package/dist/knowledge/spec.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OwnerShipMeta } from "../ownership.js";
|
|
2
1
|
import { PolicyRef } from "../policy/spec.js";
|
|
3
2
|
import { SpecContractRegistry } from "../registry.js";
|
|
3
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
4
4
|
|
|
5
5
|
//#region src/knowledge/spec.d.ts
|
|
6
6
|
type KnowledgeCategory = 'canonical' | 'operational' | 'external' | 'ephemeral';
|
package/dist/llm/exporters.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DocBlock } from "../docs/types.js";
|
|
2
|
-
import { PresentationSpec } from "../presentations/presentations.js";
|
|
3
2
|
import { AnyOperationSpec } from "../operations/operation.js";
|
|
4
|
-
import "../
|
|
5
|
-
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
3
|
+
import { PresentationSpec } from "../presentations/presentations.js";
|
|
6
4
|
import { PresentationRegistry } from "../presentations/registry.js";
|
|
7
5
|
import "../presentations/index.js";
|
|
6
|
+
import "../operations/index.js";
|
|
8
7
|
import { FeatureModuleSpec } from "../features/types.js";
|
|
9
8
|
import "../features/index.js";
|
|
9
|
+
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
10
10
|
import { EventSpec } from "../events.js";
|
|
11
11
|
import { FeatureExportOptions, FeatureExportResult, SpecExportOptions, SpecExportResult } from "./types.js";
|
|
12
12
|
import { AnySchemaModel } from "@contractspec/lib.schema";
|
package/dist/llm/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DocBlock } from "../docs/types.js";
|
|
2
|
-
import { PresentationSpec } from "../presentations/presentations.js";
|
|
3
2
|
import { AnyOperationSpec } from "../operations/operation.js";
|
|
3
|
+
import { PresentationSpec } from "../presentations/presentations.js";
|
|
4
4
|
import "../operations/index.js";
|
|
5
5
|
import { FeatureModuleSpec } from "../features/types.js";
|
|
6
6
|
import "../features/index.js";
|
package/dist/markdown.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OperationSpecRegistry } from "./operations/registry.js";
|
|
2
1
|
import { PresentationRegistry } from "./presentations/registry.js";
|
|
3
2
|
import "./presentations/index.js";
|
|
4
3
|
import { FeatureRegistry } from "./features/registry.js";
|
|
5
4
|
import "./features/index.js";
|
|
5
|
+
import { OperationSpecRegistry } from "./operations/registry.js";
|
|
6
6
|
|
|
7
7
|
//#region src/markdown.d.ts
|
|
8
8
|
/**
|
|
@@ -1,136 +1,136 @@
|
|
|
1
1
|
import { OperationSpec } from "./operations/operation.js";
|
|
2
2
|
import "./index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _contractspec_lib_schema25 from "@contractspec/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/onboarding-base.d.ts
|
|
7
7
|
/** Save/update onboarding draft (auto-save during flow) */
|
|
8
8
|
declare const SaveOnboardingDraftInput: SchemaModel<{
|
|
9
9
|
data: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema25.FieldType<unknown, unknown>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
}>;
|
|
14
14
|
declare const SaveOnboardingDraftOutput: SchemaModel<{
|
|
15
15
|
id: {
|
|
16
|
-
type:
|
|
16
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
17
17
|
isOptional: false;
|
|
18
18
|
};
|
|
19
19
|
organizationId: {
|
|
20
|
-
type:
|
|
20
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
21
21
|
isOptional: false;
|
|
22
22
|
};
|
|
23
23
|
}>;
|
|
24
24
|
declare const SaveOnboardingDraftBaseSpec: OperationSpec<SchemaModel<{
|
|
25
25
|
data: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema25.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
}>, SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
organizationId: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
}>, undefined>;
|
|
39
39
|
/** Get current onboarding draft (on mount/restore) */
|
|
40
40
|
declare const GetOnboardingDraftOutput: SchemaModel<{
|
|
41
41
|
id: {
|
|
42
|
-
type:
|
|
42
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
43
43
|
isOptional: true;
|
|
44
44
|
};
|
|
45
45
|
organizationId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
47
47
|
isOptional: true;
|
|
48
48
|
};
|
|
49
49
|
data: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema25.FieldType<unknown, unknown>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
createdAt: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema25.FieldType<Date, string>;
|
|
55
55
|
isOptional: true;
|
|
56
56
|
};
|
|
57
57
|
updatedAt: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema25.FieldType<Date, string>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
}>;
|
|
62
|
-
declare const GetOnboardingDraftBaseSpec: OperationSpec<
|
|
62
|
+
declare const GetOnboardingDraftBaseSpec: OperationSpec<_contractspec_lib_schema25.AnySchemaModel, SchemaModel<{
|
|
63
63
|
id: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
65
65
|
isOptional: true;
|
|
66
66
|
};
|
|
67
67
|
organizationId: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
69
69
|
isOptional: true;
|
|
70
70
|
};
|
|
71
71
|
data: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema25.FieldType<unknown, unknown>;
|
|
73
73
|
isOptional: true;
|
|
74
74
|
};
|
|
75
75
|
createdAt: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema25.FieldType<Date, string>;
|
|
77
77
|
isOptional: true;
|
|
78
78
|
};
|
|
79
79
|
updatedAt: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema25.FieldType<Date, string>;
|
|
81
81
|
isOptional: true;
|
|
82
82
|
};
|
|
83
83
|
}>, undefined>;
|
|
84
84
|
/** Delete onboarding draft (cleanup after completion or cancel) */
|
|
85
85
|
declare const DeleteOnboardingDraftOutput: SchemaModel<{
|
|
86
86
|
ok: {
|
|
87
|
-
type:
|
|
87
|
+
type: _contractspec_lib_schema25.FieldType<boolean, boolean>;
|
|
88
88
|
isOptional: false;
|
|
89
89
|
};
|
|
90
90
|
}>;
|
|
91
|
-
declare const DeleteOnboardingDraftBaseSpec: OperationSpec<
|
|
91
|
+
declare const DeleteOnboardingDraftBaseSpec: OperationSpec<_contractspec_lib_schema25.AnySchemaModel, SchemaModel<{
|
|
92
92
|
ok: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema25.FieldType<boolean, boolean>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
}>, undefined>;
|
|
97
97
|
/** Complete onboarding (final submit, creates entities) */
|
|
98
98
|
declare const CompleteOnboardingBaseInput: SchemaModel<{
|
|
99
99
|
data: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema25.FieldType<unknown, unknown>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
104
104
|
declare const CompleteOnboardingBaseOutput: SchemaModel<{
|
|
105
105
|
success: {
|
|
106
|
-
type:
|
|
106
|
+
type: _contractspec_lib_schema25.FieldType<boolean, boolean>;
|
|
107
107
|
isOptional: false;
|
|
108
108
|
};
|
|
109
109
|
userId: {
|
|
110
|
-
type:
|
|
110
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
111
111
|
isOptional: true;
|
|
112
112
|
};
|
|
113
113
|
organizationId: {
|
|
114
|
-
type:
|
|
114
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
115
115
|
isOptional: true;
|
|
116
116
|
};
|
|
117
117
|
}>;
|
|
118
118
|
declare const CompleteOnboardingBaseSpec: OperationSpec<SchemaModel<{
|
|
119
119
|
data: {
|
|
120
|
-
type:
|
|
120
|
+
type: _contractspec_lib_schema25.FieldType<unknown, unknown>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
}>, SchemaModel<{
|
|
124
124
|
success: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema25.FieldType<boolean, boolean>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
userId: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
organizationId: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema25.FieldType<string, string>;
|
|
134
134
|
isOptional: true;
|
|
135
135
|
};
|
|
136
136
|
}>, undefined>;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { AnyOperationSpec, EmitDecl, EmitDeclInline, EmitDeclRef, ImplementationRef, ImplementationType, OpKind, OperationSpec, OperationSpecMeta, TelemetryTrigger, defineCommand, defineQuery, isEmitDeclRef } from "./operation.js";
|
|
2
|
+
import { ContractVerificationStatusModel, GetContractVerificationStatusInput, GetContractVerificationStatusOutput, GetContractVerificationStatusQuery } from "./report/getContractVerificationStatus.js";
|
|
3
|
+
import { ContractVerificationTableDataView } from "../data-views/report/contractVerificationTable.js";
|
|
4
|
+
import { getContractVerificationStatusHandler, registerReportContracts } from "./report/index.js";
|
|
2
5
|
import { OperationKey, OperationSpecRegistry, opKey } from "./registry.js";
|
|
3
|
-
export { AnyOperationSpec, EmitDecl, EmitDeclInline, EmitDeclRef, ImplementationRef, ImplementationType, OpKind, OperationKey, OperationSpec, OperationSpecMeta, OperationSpecRegistry, TelemetryTrigger, defineCommand, defineQuery, isEmitDeclRef, opKey };
|
|
6
|
+
export { AnyOperationSpec, ContractVerificationStatusModel, ContractVerificationTableDataView, EmitDecl, EmitDeclInline, EmitDeclRef, GetContractVerificationStatusInput, GetContractVerificationStatusOutput, GetContractVerificationStatusQuery, ImplementationRef, ImplementationType, OpKind, OperationKey, OperationSpec, OperationSpecMeta, OperationSpecRegistry, TelemetryTrigger, defineCommand, defineQuery, getContractVerificationStatusHandler, isEmitDeclRef, opKey, registerReportContracts };
|
package/dist/operations/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { defineCommand, defineQuery, isEmitDeclRef } from "./operation.js";
|
|
2
2
|
import { OperationSpecRegistry, opKey } from "./registry.js";
|
|
3
|
+
import { ContractVerificationStatusModel, GetContractVerificationStatusInput, GetContractVerificationStatusOutput, GetContractVerificationStatusQuery } from "./report/getContractVerificationStatus.js";
|
|
4
|
+
import { ContractVerificationTableDataView } from "../data-views/report/contractVerificationTable.js";
|
|
5
|
+
import { getContractVerificationStatusHandler, registerReportContracts } from "./report/index.js";
|
|
3
6
|
|
|
4
|
-
export { OperationSpecRegistry, defineCommand, defineQuery, isEmitDeclRef, opKey };
|
|
7
|
+
export { ContractVerificationStatusModel, ContractVerificationTableDataView, GetContractVerificationStatusInput, GetContractVerificationStatusOutput, GetContractVerificationStatusQuery, OperationSpecRegistry, defineCommand, defineQuery, getContractVerificationStatusHandler, isEmitDeclRef, opKey, registerReportContracts };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CapabilityRef } from "../capabilities/capabilities.js";
|
|
2
|
-
import { OwnerShipMeta } from "../ownership.js";
|
|
3
|
-
import { PolicyRef } from "../policy/spec.js";
|
|
4
1
|
import { ResourceRefDescriptor } from "../resources.js";
|
|
2
|
+
import { PolicyRef } from "../policy/spec.js";
|
|
5
3
|
import { TestSpecRef } from "../tests/spec.js";
|
|
4
|
+
import { CapabilityRef } from "../capabilities/capabilities.js";
|
|
5
|
+
import { OwnerShipMeta } from "../ownership.js";
|
|
6
6
|
import { EventSpec } from "../events.js";
|
|
7
7
|
import { AnySchemaModel } from "@contractspec/lib.schema";
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ResourceRefDescriptor } from "../resources.js";
|
|
2
2
|
import { AnyOperationSpec, OperationSpec } from "./operation.js";
|
|
3
|
+
import { SpecContractRegistry } from "../registry.js";
|
|
3
4
|
import { HandlerForOperationSpec } from "../install.js";
|
|
4
5
|
import { HandlerCtx } from "../types.js";
|
|
5
|
-
import { SpecContractRegistry } from "../registry.js";
|
|
6
6
|
import { AnySchemaModel } from "@contractspec/lib.schema";
|
|
7
7
|
|
|
8
8
|
//#region src/operations/registry.d.ts
|