@contractspec/lib.contracts 0.0.0-canary-20260119225944 → 0.0.0-canary-20260202053150

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.
Files changed (166) hide show
  1. package/dist/app-config/{contracts.d.ts → app-config.contracts.d.ts} +52 -52
  2. package/dist/app-config/{contracts.js → app-config.contracts.js} +1 -1
  3. package/dist/app-config/lifecycle-contracts.d.ts +55 -55
  4. package/dist/app-config/runtime.d.ts +4 -4
  5. package/dist/app-config/spec.d.ts +2 -2
  6. package/dist/capabilities/capabilities.d.ts +64 -5
  7. package/dist/capabilities/capabilities.js +125 -0
  8. package/dist/capabilities/context.d.ts +88 -0
  9. package/dist/capabilities/context.js +87 -0
  10. package/dist/capabilities/docs/capabilities.docblock.js +191 -2
  11. package/dist/capabilities/guards.d.ts +110 -0
  12. package/dist/capabilities/guards.js +146 -0
  13. package/dist/capabilities/index.d.ts +4 -1
  14. package/dist/capabilities/index.js +4 -1
  15. package/dist/capabilities/validation.d.ts +76 -0
  16. package/dist/capabilities/validation.js +141 -0
  17. package/dist/client/react/feature-render.d.ts +2 -2
  18. package/dist/data-views/data-views.d.ts +2 -1
  19. package/dist/data-views/index.d.ts +2 -1
  20. package/dist/data-views/registry.d.ts +1 -1
  21. package/dist/data-views/report/contractVerificationTable.d.ts +10 -0
  22. package/dist/data-views/report/contractVerificationTable.js +95 -0
  23. package/dist/data-views/runtime.d.ts +2 -2
  24. package/dist/data-views/spec.d.ts +2 -8
  25. package/dist/data-views/types.d.ts +1 -1
  26. package/dist/docs/capabilities/documentationSystem.capability.d.ts +7 -0
  27. package/dist/docs/capabilities/documentationSystem.capability.js +71 -0
  28. package/dist/docs/capabilities/index.d.ts +2 -0
  29. package/dist/docs/capabilities/index.js +3 -0
  30. package/dist/docs/commands/docsGenerate.command.d.ts +95 -0
  31. package/dist/docs/commands/docsGenerate.command.js +142 -0
  32. package/dist/docs/commands/docsPublish.command.d.ts +64 -0
  33. package/dist/docs/commands/docsPublish.command.js +107 -0
  34. package/dist/docs/commands/index.d.ts +3 -0
  35. package/dist/docs/commands/index.js +4 -0
  36. package/dist/docs/constants.d.ts +7 -0
  37. package/dist/docs/constants.js +10 -0
  38. package/dist/docs/contracts.d.ts +442 -0
  39. package/dist/docs/contracts.js +58 -0
  40. package/dist/docs/ensure-docblocks.d.ts +1 -0
  41. package/dist/docs/ensure-docblocks.js +1 -0
  42. package/dist/docs/events/docsGenerated.event.d.ts +62 -0
  43. package/dist/docs/events/docsGenerated.event.js +53 -0
  44. package/dist/docs/events/docsPublished.event.d.ts +70 -0
  45. package/dist/docs/events/docsPublished.event.js +57 -0
  46. package/dist/docs/events/index.d.ts +3 -0
  47. package/dist/docs/events/index.js +4 -0
  48. package/dist/docs/forms/docsSearch.form.d.ts +22 -0
  49. package/dist/docs/forms/docsSearch.form.js +113 -0
  50. package/dist/docs/forms/index.d.ts +2 -0
  51. package/dist/docs/forms/index.js +3 -0
  52. package/dist/docs/index.d.ts +23 -2
  53. package/dist/docs/index.js +25 -1
  54. package/dist/docs/presentations/docsLayout.presentation.d.ts +7 -0
  55. package/dist/docs/presentations/docsLayout.presentation.js +35 -0
  56. package/dist/docs/presentations/docsReferencePage.presentation.d.ts +7 -0
  57. package/dist/docs/presentations/docsReferencePage.presentation.js +35 -0
  58. package/dist/docs/presentations/index.d.ts +3 -0
  59. package/dist/docs/presentations/index.js +4 -0
  60. package/dist/docs/queries/contractReference.query.d.ts +217 -0
  61. package/dist/docs/queries/contractReference.query.js +125 -0
  62. package/dist/docs/queries/docsIndex.query.d.ts +272 -0
  63. package/dist/docs/queries/docsIndex.query.js +133 -0
  64. package/dist/docs/queries/index.d.ts +3 -0
  65. package/dist/docs/queries/index.js +4 -0
  66. package/dist/docs/tech/cli.docblock.js +10 -0
  67. package/dist/docs/tech/docs-system.docblock.d.ts +1 -0
  68. package/dist/docs/tech/docs-system.docblock.js +128 -0
  69. package/dist/docs/tech/report-verification-table.docblock.d.ts +1 -0
  70. package/dist/docs/tech/report-verification-table.docblock.js +50 -0
  71. package/dist/docs/views/contractReference.dataView.d.ts +7 -0
  72. package/dist/docs/views/contractReference.dataView.js +80 -0
  73. package/dist/docs/views/docsIndex.dataView.d.ts +7 -0
  74. package/dist/docs/views/docsIndex.dataView.js +136 -0
  75. package/dist/docs/views/exampleCatalog.dataView.d.ts +7 -0
  76. package/dist/docs/views/exampleCatalog.dataView.js +91 -0
  77. package/dist/docs/views/index.d.ts +4 -0
  78. package/dist/docs/views/index.js +5 -0
  79. package/dist/events.d.ts +80 -14
  80. package/dist/events.js +33 -3
  81. package/dist/examples/schema.d.ts +12 -12
  82. package/dist/examples/types.d.ts +1 -1
  83. package/dist/experiments/spec.d.ts +9 -6
  84. package/dist/features/index.d.ts +2 -2
  85. package/dist/features/install.d.ts +4 -4
  86. package/dist/features/types.d.ts +28 -32
  87. package/dist/forms/forms.d.ts +1 -1
  88. package/dist/index.d.ts +60 -31
  89. package/dist/index.js +32 -4
  90. package/dist/install.d.ts +1 -1
  91. package/dist/integrations/openbanking/contracts/accounts.d.ts +67 -67
  92. package/dist/integrations/openbanking/contracts/balances.d.ts +35 -35
  93. package/dist/integrations/openbanking/contracts/transactions.d.ts +49 -49
  94. package/dist/integrations/openbanking/models.d.ts +55 -55
  95. package/dist/integrations/operations.d.ts +103 -103
  96. package/dist/integrations/spec.d.ts +2 -2
  97. package/dist/jsonschema.d.ts +1 -1
  98. package/dist/knowledge/operations.d.ts +67 -67
  99. package/dist/knowledge/spec.d.ts +1 -1
  100. package/dist/llm/exporters.d.ts +4 -4
  101. package/dist/llm/types.d.ts +1 -1
  102. package/dist/markdown.d.ts +2 -2
  103. package/dist/operations/index.d.ts +4 -1
  104. package/dist/operations/index.js +4 -1
  105. package/dist/operations/operation.d.ts +8 -2
  106. package/dist/operations/registry.d.ts +1 -1
  107. package/dist/operations/report/getContractVerificationStatus.d.ts +75 -0
  108. package/dist/operations/report/getContractVerificationStatus.js +96 -0
  109. package/dist/operations/report/index.d.ts +13 -0
  110. package/dist/operations/report/index.js +45 -0
  111. package/dist/ownership.d.ts +133 -8
  112. package/dist/ownership.js +25 -0
  113. package/dist/policy/context.d.ts +237 -0
  114. package/dist/policy/context.js +227 -0
  115. package/dist/policy/guards.d.ts +145 -0
  116. package/dist/policy/guards.js +254 -0
  117. package/dist/policy/index.d.ts +12 -1
  118. package/dist/policy/index.js +11 -1
  119. package/dist/policy/spec.d.ts +7 -4
  120. package/dist/policy/validation.d.ts +67 -0
  121. package/dist/policy/validation.js +307 -0
  122. package/dist/presentations/presentations.d.ts +6 -0
  123. package/dist/presentations/registry.d.ts +1 -1
  124. package/dist/registry.d.ts +1 -1
  125. package/dist/serialization/index.d.ts +3 -0
  126. package/dist/serialization/index.js +3 -0
  127. package/dist/serialization/serializers.d.ts +40 -0
  128. package/dist/serialization/serializers.js +148 -0
  129. package/dist/serialization/types.d.ts +103 -0
  130. package/dist/serialization/types.js +0 -0
  131. package/dist/server/rest-elysia.d.ts +1 -1
  132. package/dist/server/rest-express.d.ts +1 -1
  133. package/dist/server/rest-generic.d.ts +1 -1
  134. package/dist/server/rest-next-app.d.ts +1 -1
  135. package/dist/server/rest-next-mcp.d.ts +1 -1
  136. package/dist/server/rest-next-pages.d.ts +1 -1
  137. package/dist/telemetry/spec.d.ts +1 -1
  138. package/dist/telemetry/tracker.d.ts +3 -2
  139. package/dist/tests/runner.d.ts +1 -1
  140. package/dist/tests/spec.d.ts +17 -12
  141. package/dist/themes.d.ts +8 -5
  142. package/dist/translations/index.d.ts +6 -0
  143. package/dist/translations/index.js +5 -0
  144. package/dist/translations/registry.d.ts +144 -0
  145. package/dist/translations/registry.js +223 -0
  146. package/dist/translations/spec.d.ts +126 -0
  147. package/dist/translations/spec.js +31 -0
  148. package/dist/translations/validation.d.ts +85 -0
  149. package/dist/translations/validation.js +328 -0
  150. package/dist/types.d.ts +142 -16
  151. package/dist/versioning/index.d.ts +2 -1
  152. package/dist/versioning/index.js +2 -1
  153. package/dist/versioning/refs.d.ts +179 -0
  154. package/dist/versioning/refs.js +161 -0
  155. package/dist/workflow/context.d.ts +191 -0
  156. package/dist/workflow/context.js +227 -0
  157. package/dist/workflow/index.d.ts +6 -3
  158. package/dist/workflow/index.js +4 -2
  159. package/dist/workflow/spec.d.ts +4 -11
  160. package/dist/workflow/validation.d.ts +64 -2
  161. package/dist/workflow/validation.js +194 -1
  162. package/dist/workspace-config/contractsrc-schema.d.ts +3 -3
  163. package/dist/workspace-config/contractsrc-schema.js +1 -0
  164. package/dist/workspace-config/contractsrc-types.d.ts +7 -8
  165. package/dist/workspace-config/index.d.ts +2 -2
  166. package/package.json +52 -9
@@ -1,39 +1,39 @@
1
1
  import { OperationSpec } from "../operations/operation.js";
2
- import { OperationSpecRegistry } from "../operations/registry.js";
3
2
  import "../operations/index.js";
4
- import * as _contractspec_lib_schema53 from "@contractspec/lib.schema";
3
+ import { OperationSpecRegistry } from "../operations/registry.js";
4
+ import * as _contractspec_lib_schema106 from "@contractspec/lib.schema";
5
5
  import { SchemaModel } from "@contractspec/lib.schema";
6
6
 
7
- //#region src/app-config/contracts.d.ts
7
+ //#region src/app-config/app-config.contracts.d.ts
8
8
  declare const UpdateTenantBrandingCommand: OperationSpec<SchemaModel<{
9
9
  tenantId: {
10
- type: _contractspec_lib_schema53.FieldType<string, string>;
10
+ type: _contractspec_lib_schema106.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  appId: {
14
- type: _contractspec_lib_schema53.FieldType<string, string>;
14
+ type: _contractspec_lib_schema106.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  environment: {
18
- type: _contractspec_lib_schema53.FieldType<string, string>;
18
+ type: _contractspec_lib_schema106.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  appName: {
22
- type: _contractspec_lib_schema53.FieldType<Record<string, unknown>, Record<string, unknown>>;
22
+ type: _contractspec_lib_schema106.FieldType<Record<string, unknown>, Record<string, unknown>>;
23
23
  isOptional: true;
24
24
  };
25
25
  assets: {
26
26
  type: SchemaModel<{
27
27
  type: {
28
- type: _contractspec_lib_schema53.FieldType<string, string>;
28
+ type: _contractspec_lib_schema106.FieldType<string, string>;
29
29
  isOptional: false;
30
30
  };
31
31
  url: {
32
- type: _contractspec_lib_schema53.FieldType<string, string>;
32
+ type: _contractspec_lib_schema106.FieldType<string, string>;
33
33
  isOptional: false;
34
34
  };
35
35
  mimeType: {
36
- type: _contractspec_lib_schema53.FieldType<string, string>;
36
+ type: _contractspec_lib_schema106.FieldType<string, string>;
37
37
  isOptional: true;
38
38
  };
39
39
  }>;
@@ -41,92 +41,92 @@ declare const UpdateTenantBrandingCommand: OperationSpec<SchemaModel<{
41
41
  isArray: true;
42
42
  };
43
43
  colors: {
44
- type: _contractspec_lib_schema53.FieldType<Record<string, unknown>, Record<string, unknown>>;
44
+ type: _contractspec_lib_schema106.FieldType<Record<string, unknown>, Record<string, unknown>>;
45
45
  isOptional: true;
46
46
  };
47
47
  customDomain: {
48
- type: _contractspec_lib_schema53.FieldType<string, string>;
48
+ type: _contractspec_lib_schema106.FieldType<string, string>;
49
49
  isOptional: true;
50
50
  };
51
51
  subdomain: {
52
- type: _contractspec_lib_schema53.FieldType<string, string>;
52
+ type: _contractspec_lib_schema106.FieldType<string, string>;
53
53
  isOptional: true;
54
54
  };
55
55
  }>, SchemaModel<{
56
56
  success: {
57
- type: _contractspec_lib_schema53.FieldType<boolean, boolean>;
57
+ type: _contractspec_lib_schema106.FieldType<boolean, boolean>;
58
58
  isOptional: false;
59
59
  };
60
60
  updatedAt: {
61
- type: _contractspec_lib_schema53.FieldType<Date, string>;
61
+ type: _contractspec_lib_schema106.FieldType<Date, string>;
62
62
  isOptional: false;
63
63
  };
64
64
  }>, undefined>;
65
65
  declare const VerifyCustomDomainCommand: OperationSpec<SchemaModel<{
66
66
  tenantId: {
67
- type: _contractspec_lib_schema53.FieldType<string, string>;
67
+ type: _contractspec_lib_schema106.FieldType<string, string>;
68
68
  isOptional: false;
69
69
  };
70
70
  appId: {
71
- type: _contractspec_lib_schema53.FieldType<string, string>;
71
+ type: _contractspec_lib_schema106.FieldType<string, string>;
72
72
  isOptional: false;
73
73
  };
74
74
  domain: {
75
- type: _contractspec_lib_schema53.FieldType<string, string>;
75
+ type: _contractspec_lib_schema106.FieldType<string, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  }>, SchemaModel<{
79
79
  status: {
80
- type: _contractspec_lib_schema53.FieldType<string, string>;
80
+ type: _contractspec_lib_schema106.FieldType<string, string>;
81
81
  isOptional: false;
82
82
  };
83
83
  message: {
84
- type: _contractspec_lib_schema53.FieldType<string, string>;
84
+ type: _contractspec_lib_schema106.FieldType<string, string>;
85
85
  isOptional: true;
86
86
  };
87
87
  }>, undefined>;
88
88
  declare const UpdateBlueprintTranslationCatalogCommand: OperationSpec<SchemaModel<{
89
89
  blueprintName: {
90
- type: _contractspec_lib_schema53.FieldType<string, string>;
90
+ type: _contractspec_lib_schema106.FieldType<string, string>;
91
91
  isOptional: false;
92
92
  };
93
93
  blueprintVersion: {
94
- type: _contractspec_lib_schema53.FieldType<number, number>;
94
+ type: _contractspec_lib_schema106.FieldType<number, number>;
95
95
  isOptional: false;
96
96
  };
97
97
  catalogName: {
98
- type: _contractspec_lib_schema53.FieldType<string, string>;
98
+ type: _contractspec_lib_schema106.FieldType<string, string>;
99
99
  isOptional: false;
100
100
  };
101
101
  catalogVersion: {
102
- type: _contractspec_lib_schema53.FieldType<string, string>;
102
+ type: _contractspec_lib_schema106.FieldType<string, string>;
103
103
  isOptional: false;
104
104
  };
105
105
  defaultLocale: {
106
- type: _contractspec_lib_schema53.FieldType<string, string>;
106
+ type: _contractspec_lib_schema106.FieldType<string, string>;
107
107
  isOptional: false;
108
108
  };
109
109
  supportedLocales: {
110
- type: _contractspec_lib_schema53.FieldType<string, string>;
110
+ type: _contractspec_lib_schema106.FieldType<string, string>;
111
111
  isOptional: false;
112
112
  isArray: true;
113
113
  };
114
114
  entries: {
115
115
  type: SchemaModel<{
116
116
  key: {
117
- type: _contractspec_lib_schema53.FieldType<string, string>;
117
+ type: _contractspec_lib_schema106.FieldType<string, string>;
118
118
  isOptional: false;
119
119
  };
120
120
  locale: {
121
- type: _contractspec_lib_schema53.FieldType<string, string>;
121
+ type: _contractspec_lib_schema106.FieldType<string, string>;
122
122
  isOptional: false;
123
123
  };
124
124
  value: {
125
- type: _contractspec_lib_schema53.FieldType<string, string>;
125
+ type: _contractspec_lib_schema106.FieldType<string, string>;
126
126
  isOptional: false;
127
127
  };
128
128
  context: {
129
- type: _contractspec_lib_schema53.FieldType<string, string>;
129
+ type: _contractspec_lib_schema106.FieldType<string, string>;
130
130
  isOptional: true;
131
131
  };
132
132
  }>;
@@ -135,39 +135,39 @@ declare const UpdateBlueprintTranslationCatalogCommand: OperationSpec<SchemaMode
135
135
  };
136
136
  }>, SchemaModel<{
137
137
  success: {
138
- type: _contractspec_lib_schema53.FieldType<boolean, boolean>;
138
+ type: _contractspec_lib_schema106.FieldType<boolean, boolean>;
139
139
  isOptional: false;
140
140
  };
141
141
  updatedAt: {
142
- type: _contractspec_lib_schema53.FieldType<Date, string>;
142
+ type: _contractspec_lib_schema106.FieldType<Date, string>;
143
143
  isOptional: false;
144
144
  };
145
145
  }>, undefined>;
146
146
  declare const UpdateTenantTranslationOverridesCommand: OperationSpec<SchemaModel<{
147
147
  tenantId: {
148
- type: _contractspec_lib_schema53.FieldType<string, string>;
148
+ type: _contractspec_lib_schema106.FieldType<string, string>;
149
149
  isOptional: false;
150
150
  };
151
151
  appId: {
152
- type: _contractspec_lib_schema53.FieldType<string, string>;
152
+ type: _contractspec_lib_schema106.FieldType<string, string>;
153
153
  isOptional: false;
154
154
  };
155
155
  entries: {
156
156
  type: SchemaModel<{
157
157
  key: {
158
- type: _contractspec_lib_schema53.FieldType<string, string>;
158
+ type: _contractspec_lib_schema106.FieldType<string, string>;
159
159
  isOptional: false;
160
160
  };
161
161
  locale: {
162
- type: _contractspec_lib_schema53.FieldType<string, string>;
162
+ type: _contractspec_lib_schema106.FieldType<string, string>;
163
163
  isOptional: false;
164
164
  };
165
165
  value: {
166
- type: _contractspec_lib_schema53.FieldType<string, string>;
166
+ type: _contractspec_lib_schema106.FieldType<string, string>;
167
167
  isOptional: false;
168
168
  };
169
169
  context: {
170
- type: _contractspec_lib_schema53.FieldType<string, string>;
170
+ type: _contractspec_lib_schema106.FieldType<string, string>;
171
171
  isOptional: true;
172
172
  };
173
173
  }>;
@@ -175,67 +175,67 @@ declare const UpdateTenantTranslationOverridesCommand: OperationSpec<SchemaModel
175
175
  isArray: true;
176
176
  };
177
177
  defaultLocale: {
178
- type: _contractspec_lib_schema53.FieldType<string, string>;
178
+ type: _contractspec_lib_schema106.FieldType<string, string>;
179
179
  isOptional: true;
180
180
  };
181
181
  enabledLocales: {
182
- type: _contractspec_lib_schema53.FieldType<string, string>;
182
+ type: _contractspec_lib_schema106.FieldType<string, string>;
183
183
  isOptional: true;
184
184
  isArray: true;
185
185
  };
186
186
  }>, SchemaModel<{
187
187
  success: {
188
- type: _contractspec_lib_schema53.FieldType<boolean, boolean>;
188
+ type: _contractspec_lib_schema106.FieldType<boolean, boolean>;
189
189
  isOptional: false;
190
190
  };
191
191
  updatedAt: {
192
- type: _contractspec_lib_schema53.FieldType<Date, string>;
192
+ type: _contractspec_lib_schema106.FieldType<Date, string>;
193
193
  isOptional: false;
194
194
  };
195
195
  }>, undefined>;
196
196
  declare const GetResolvedBrandingQuery: OperationSpec<SchemaModel<{
197
197
  tenantId: {
198
- type: _contractspec_lib_schema53.FieldType<string, string>;
198
+ type: _contractspec_lib_schema106.FieldType<string, string>;
199
199
  isOptional: false;
200
200
  };
201
201
  appId: {
202
- type: _contractspec_lib_schema53.FieldType<string, string>;
202
+ type: _contractspec_lib_schema106.FieldType<string, string>;
203
203
  isOptional: false;
204
204
  };
205
205
  environment: {
206
- type: _contractspec_lib_schema53.FieldType<string, string>;
206
+ type: _contractspec_lib_schema106.FieldType<string, string>;
207
207
  isOptional: true;
208
208
  };
209
209
  }>, SchemaModel<{
210
210
  branding: {
211
- type: _contractspec_lib_schema53.FieldType<Record<string, unknown>, Record<string, unknown>>;
211
+ type: _contractspec_lib_schema106.FieldType<Record<string, unknown>, Record<string, unknown>>;
212
212
  isOptional: false;
213
213
  };
214
214
  }>, undefined>;
215
215
  declare const ResolveMessageQuery: OperationSpec<SchemaModel<{
216
216
  tenantId: {
217
- type: _contractspec_lib_schema53.FieldType<string, string>;
217
+ type: _contractspec_lib_schema106.FieldType<string, string>;
218
218
  isOptional: false;
219
219
  };
220
220
  appId: {
221
- type: _contractspec_lib_schema53.FieldType<string, string>;
221
+ type: _contractspec_lib_schema106.FieldType<string, string>;
222
222
  isOptional: false;
223
223
  };
224
224
  locale: {
225
- type: _contractspec_lib_schema53.FieldType<string, string>;
225
+ type: _contractspec_lib_schema106.FieldType<string, string>;
226
226
  isOptional: false;
227
227
  };
228
228
  key: {
229
- type: _contractspec_lib_schema53.FieldType<string, string>;
229
+ type: _contractspec_lib_schema106.FieldType<string, string>;
230
230
  isOptional: false;
231
231
  };
232
232
  }>, SchemaModel<{
233
233
  value: {
234
- type: _contractspec_lib_schema53.FieldType<string, string>;
234
+ type: _contractspec_lib_schema106.FieldType<string, string>;
235
235
  isOptional: true;
236
236
  };
237
237
  source: {
238
- type: _contractspec_lib_schema53.FieldType<string, string>;
238
+ type: _contractspec_lib_schema106.FieldType<string, string>;
239
239
  isOptional: true;
240
240
  };
241
241
  }>, undefined>;
@@ -3,7 +3,7 @@ import { defineCommand, defineQuery } from "../operations/operation.js";
3
3
  import "../operations/index.js";
4
4
  import { ScalarTypeEnum, SchemaModel } from "@contractspec/lib.schema";
5
5
 
6
- //#region src/app-config/contracts.ts
6
+ //#region src/app-config/app-config.contracts.ts
7
7
  const BrandingAssetInput = new SchemaModel({
8
8
  name: "BrandingAssetInput",
9
9
  fields: {
@@ -1,52 +1,52 @@
1
1
  import { OperationSpec } from "../operations/operation.js";
2
- import { OperationSpecRegistry } from "../operations/registry.js";
3
2
  import "../operations/index.js";
3
+ import { OperationSpecRegistry } from "../operations/registry.js";
4
4
  import { EventSpecMeta } from "../events.js";
5
5
  import "../index.js";
6
- import * as _contractspec_lib_schema102 from "@contractspec/lib.schema";
6
+ import * as _contractspec_lib_schema53 from "@contractspec/lib.schema";
7
7
  import { SchemaModel } from "@contractspec/lib.schema";
8
8
 
9
9
  //#region src/app-config/lifecycle-contracts.d.ts
10
10
  declare const CreateTenantConfigDraftCommand: OperationSpec<SchemaModel<{
11
11
  tenantId: {
12
- type: _contractspec_lib_schema102.FieldType<string, string>;
12
+ type: _contractspec_lib_schema53.FieldType<string, string>;
13
13
  isOptional: false;
14
14
  };
15
15
  appId: {
16
- type: _contractspec_lib_schema102.FieldType<string, string>;
16
+ type: _contractspec_lib_schema53.FieldType<string, string>;
17
17
  isOptional: false;
18
18
  };
19
19
  blueprintName: {
20
- type: _contractspec_lib_schema102.FieldType<string, string>;
20
+ type: _contractspec_lib_schema53.FieldType<string, string>;
21
21
  isOptional: false;
22
22
  };
23
23
  blueprintVersion: {
24
- type: _contractspec_lib_schema102.FieldType<number, number>;
24
+ type: _contractspec_lib_schema53.FieldType<number, number>;
25
25
  isOptional: false;
26
26
  };
27
27
  environment: {
28
- type: _contractspec_lib_schema102.FieldType<string, string>;
28
+ type: _contractspec_lib_schema53.FieldType<string, string>;
29
29
  isOptional: true;
30
30
  };
31
31
  fromVersion: {
32
- type: _contractspec_lib_schema102.FieldType<string, string>;
32
+ type: _contractspec_lib_schema53.FieldType<string, string>;
33
33
  isOptional: true;
34
34
  };
35
35
  createdBy: {
36
- type: _contractspec_lib_schema102.FieldType<string, string>;
36
+ type: _contractspec_lib_schema53.FieldType<string, string>;
37
37
  isOptional: false;
38
38
  };
39
39
  }>, SchemaModel<{
40
40
  version: {
41
- type: _contractspec_lib_schema102.FieldType<string, string>;
41
+ type: _contractspec_lib_schema53.FieldType<string, string>;
42
42
  isOptional: false;
43
43
  };
44
44
  status: {
45
- type: _contractspec_lib_schema102.FieldType<string, string>;
45
+ type: _contractspec_lib_schema53.FieldType<string, string>;
46
46
  isOptional: false;
47
47
  };
48
48
  createdAt: {
49
- type: _contractspec_lib_schema102.FieldType<Date, string>;
49
+ type: _contractspec_lib_schema53.FieldType<Date, string>;
50
50
  isOptional: false;
51
51
  };
52
52
  }>, {
@@ -55,32 +55,32 @@ declare const CreateTenantConfigDraftCommand: OperationSpec<SchemaModel<{
55
55
  }[]>;
56
56
  declare const PromoteTenantConfigToPreviewCommand: OperationSpec<SchemaModel<{
57
57
  tenantId: {
58
- type: _contractspec_lib_schema102.FieldType<string, string>;
58
+ type: _contractspec_lib_schema53.FieldType<string, string>;
59
59
  isOptional: false;
60
60
  };
61
61
  appId: {
62
- type: _contractspec_lib_schema102.FieldType<string, string>;
62
+ type: _contractspec_lib_schema53.FieldType<string, string>;
63
63
  isOptional: false;
64
64
  };
65
65
  version: {
66
- type: _contractspec_lib_schema102.FieldType<string, string>;
66
+ type: _contractspec_lib_schema53.FieldType<string, string>;
67
67
  isOptional: false;
68
68
  };
69
69
  promotedBy: {
70
- type: _contractspec_lib_schema102.FieldType<string, string>;
70
+ type: _contractspec_lib_schema53.FieldType<string, string>;
71
71
  isOptional: false;
72
72
  };
73
73
  }>, SchemaModel<{
74
74
  version: {
75
- type: _contractspec_lib_schema102.FieldType<string, string>;
75
+ type: _contractspec_lib_schema53.FieldType<string, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  status: {
79
- type: _contractspec_lib_schema102.FieldType<string, string>;
79
+ type: _contractspec_lib_schema53.FieldType<string, string>;
80
80
  isOptional: false;
81
81
  };
82
82
  warnings: {
83
- type: _contractspec_lib_schema102.FieldType<string, string>;
83
+ type: _contractspec_lib_schema53.FieldType<string, string>;
84
84
  isOptional: true;
85
85
  isArray: true;
86
86
  };
@@ -90,44 +90,44 @@ declare const PromoteTenantConfigToPreviewCommand: OperationSpec<SchemaModel<{
90
90
  }[]>;
91
91
  declare const PublishTenantConfigCommand: OperationSpec<SchemaModel<{
92
92
  tenantId: {
93
- type: _contractspec_lib_schema102.FieldType<string, string>;
93
+ type: _contractspec_lib_schema53.FieldType<string, string>;
94
94
  isOptional: false;
95
95
  };
96
96
  appId: {
97
- type: _contractspec_lib_schema102.FieldType<string, string>;
97
+ type: _contractspec_lib_schema53.FieldType<string, string>;
98
98
  isOptional: false;
99
99
  };
100
100
  version: {
101
- type: _contractspec_lib_schema102.FieldType<string, string>;
101
+ type: _contractspec_lib_schema53.FieldType<string, string>;
102
102
  isOptional: false;
103
103
  };
104
104
  environment: {
105
- type: _contractspec_lib_schema102.FieldType<string, string>;
105
+ type: _contractspec_lib_schema53.FieldType<string, string>;
106
106
  isOptional: true;
107
107
  };
108
108
  publishedBy: {
109
- type: _contractspec_lib_schema102.FieldType<string, string>;
109
+ type: _contractspec_lib_schema53.FieldType<string, string>;
110
110
  isOptional: false;
111
111
  };
112
112
  changeSummary: {
113
- type: _contractspec_lib_schema102.FieldType<string, string>;
113
+ type: _contractspec_lib_schema53.FieldType<string, string>;
114
114
  isOptional: true;
115
115
  };
116
116
  }>, SchemaModel<{
117
117
  version: {
118
- type: _contractspec_lib_schema102.FieldType<string, string>;
118
+ type: _contractspec_lib_schema53.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  status: {
122
- type: _contractspec_lib_schema102.FieldType<string, string>;
122
+ type: _contractspec_lib_schema53.FieldType<string, string>;
123
123
  isOptional: false;
124
124
  };
125
125
  previousVersion: {
126
- type: _contractspec_lib_schema102.FieldType<string, string>;
126
+ type: _contractspec_lib_schema53.FieldType<string, string>;
127
127
  isOptional: true;
128
128
  };
129
129
  publishedAt: {
130
- type: _contractspec_lib_schema102.FieldType<Date, string>;
130
+ type: _contractspec_lib_schema53.FieldType<Date, string>;
131
131
  isOptional: false;
132
132
  };
133
133
  }>, {
@@ -136,40 +136,40 @@ declare const PublishTenantConfigCommand: OperationSpec<SchemaModel<{
136
136
  }[]>;
137
137
  declare const RollbackTenantConfigCommand: OperationSpec<SchemaModel<{
138
138
  tenantId: {
139
- type: _contractspec_lib_schema102.FieldType<string, string>;
139
+ type: _contractspec_lib_schema53.FieldType<string, string>;
140
140
  isOptional: false;
141
141
  };
142
142
  appId: {
143
- type: _contractspec_lib_schema102.FieldType<string, string>;
143
+ type: _contractspec_lib_schema53.FieldType<string, string>;
144
144
  isOptional: false;
145
145
  };
146
146
  toVersion: {
147
- type: _contractspec_lib_schema102.FieldType<string, string>;
147
+ type: _contractspec_lib_schema53.FieldType<string, string>;
148
148
  isOptional: false;
149
149
  };
150
150
  environment: {
151
- type: _contractspec_lib_schema102.FieldType<string, string>;
151
+ type: _contractspec_lib_schema53.FieldType<string, string>;
152
152
  isOptional: true;
153
153
  };
154
154
  rolledBackBy: {
155
- type: _contractspec_lib_schema102.FieldType<string, string>;
155
+ type: _contractspec_lib_schema53.FieldType<string, string>;
156
156
  isOptional: false;
157
157
  };
158
158
  reason: {
159
- type: _contractspec_lib_schema102.FieldType<string, string>;
159
+ type: _contractspec_lib_schema53.FieldType<string, string>;
160
160
  isOptional: false;
161
161
  };
162
162
  }>, SchemaModel<{
163
163
  newVersion: {
164
- type: _contractspec_lib_schema102.FieldType<string, string>;
164
+ type: _contractspec_lib_schema53.FieldType<string, string>;
165
165
  isOptional: false;
166
166
  };
167
167
  status: {
168
- type: _contractspec_lib_schema102.FieldType<string, string>;
168
+ type: _contractspec_lib_schema53.FieldType<string, string>;
169
169
  isOptional: false;
170
170
  };
171
171
  rolledBackFrom: {
172
- type: _contractspec_lib_schema102.FieldType<number, number>;
172
+ type: _contractspec_lib_schema53.FieldType<number, number>;
173
173
  isOptional: false;
174
174
  };
175
175
  }>, {
@@ -178,22 +178,22 @@ declare const RollbackTenantConfigCommand: OperationSpec<SchemaModel<{
178
178
  }[]>;
179
179
  declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
180
180
  tenantId: {
181
- type: _contractspec_lib_schema102.FieldType<string, string>;
181
+ type: _contractspec_lib_schema53.FieldType<string, string>;
182
182
  isOptional: false;
183
183
  };
184
184
  appId: {
185
- type: _contractspec_lib_schema102.FieldType<string, string>;
185
+ type: _contractspec_lib_schema53.FieldType<string, string>;
186
186
  isOptional: false;
187
187
  };
188
188
  }>, SchemaModel<{
189
189
  versions: {
190
190
  type: SchemaModel<{
191
191
  meta: {
192
- type: _contractspec_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
192
+ type: _contractspec_lib_schema53.FieldType<Record<string, unknown>, Record<string, unknown>>;
193
193
  isOptional: false;
194
194
  };
195
195
  config: {
196
- type: _contractspec_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
196
+ type: _contractspec_lib_schema53.FieldType<Record<string, unknown>, Record<string, unknown>>;
197
197
  isOptional: false;
198
198
  };
199
199
  }>;
@@ -203,35 +203,35 @@ declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
203
203
  transitions: {
204
204
  type: SchemaModel<{
205
205
  tenantId: {
206
- type: _contractspec_lib_schema102.FieldType<string, string>;
206
+ type: _contractspec_lib_schema53.FieldType<string, string>;
207
207
  isOptional: false;
208
208
  };
209
209
  appId: {
210
- type: _contractspec_lib_schema102.FieldType<string, string>;
210
+ type: _contractspec_lib_schema53.FieldType<string, string>;
211
211
  isOptional: false;
212
212
  };
213
213
  fromStatus: {
214
- type: _contractspec_lib_schema102.FieldType<string, string>;
214
+ type: _contractspec_lib_schema53.FieldType<string, string>;
215
215
  isOptional: false;
216
216
  };
217
217
  toStatus: {
218
- type: _contractspec_lib_schema102.FieldType<string, string>;
218
+ type: _contractspec_lib_schema53.FieldType<string, string>;
219
219
  isOptional: false;
220
220
  };
221
221
  version: {
222
- type: _contractspec_lib_schema102.FieldType<string, string>;
222
+ type: _contractspec_lib_schema53.FieldType<string, string>;
223
223
  isOptional: false;
224
224
  };
225
225
  timestamp: {
226
- type: _contractspec_lib_schema102.FieldType<Date, string>;
226
+ type: _contractspec_lib_schema53.FieldType<Date, string>;
227
227
  isOptional: false;
228
228
  };
229
229
  actor: {
230
- type: _contractspec_lib_schema102.FieldType<string, string>;
230
+ type: _contractspec_lib_schema53.FieldType<string, string>;
231
231
  isOptional: false;
232
232
  };
233
233
  reason: {
234
- type: _contractspec_lib_schema102.FieldType<string, string>;
234
+ type: _contractspec_lib_schema53.FieldType<string, string>;
235
235
  isOptional: true;
236
236
  };
237
237
  }>;
@@ -241,26 +241,26 @@ declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
241
241
  }>, undefined>;
242
242
  declare const GetTenantConfigVersionQuery: OperationSpec<SchemaModel<{
243
243
  tenantId: {
244
- type: _contractspec_lib_schema102.FieldType<string, string>;
244
+ type: _contractspec_lib_schema53.FieldType<string, string>;
245
245
  isOptional: false;
246
246
  };
247
247
  appId: {
248
- type: _contractspec_lib_schema102.FieldType<string, string>;
248
+ type: _contractspec_lib_schema53.FieldType<string, string>;
249
249
  isOptional: false;
250
250
  };
251
251
  version: {
252
- type: _contractspec_lib_schema102.FieldType<string, string>;
252
+ type: _contractspec_lib_schema53.FieldType<string, string>;
253
253
  isOptional: false;
254
254
  };
255
255
  }>, SchemaModel<{
256
256
  version: {
257
257
  type: SchemaModel<{
258
258
  meta: {
259
- type: _contractspec_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
259
+ type: _contractspec_lib_schema53.FieldType<Record<string, unknown>, Record<string, unknown>>;
260
260
  isOptional: false;
261
261
  };
262
262
  config: {
263
- type: _contractspec_lib_schema102.FieldType<Record<string, unknown>, Record<string, unknown>>;
263
+ type: _contractspec_lib_schema53.FieldType<Record<string, unknown>, Record<string, unknown>>;
264
264
  isOptional: false;
265
265
  };
266
266
  }>;
@@ -1,14 +1,14 @@
1
1
  import { PolicyRef, PolicySpec } from "../policy/spec.js";
2
- import { TelemetryRegistry, TelemetrySpec } from "../telemetry/spec.js";
3
2
  import { CapabilityRef, CapabilityRegistry, CapabilitySpec } from "../capabilities/capabilities.js";
3
+ import { TelemetryRegistry, TelemetrySpec } from "../telemetry/spec.js";
4
4
  import "../capabilities/index.js";
5
5
  import { ExperimentRef, ExperimentRegistry, ExperimentSpec } from "../experiments/spec.js";
6
- import { FeatureModuleSpec, FeatureRef } from "../features/types.js";
7
- import { FeatureRegistry } from "../features/registry.js";
8
- import "../features/index.js";
9
6
  import { DataViewSpec } from "../data-views/spec.js";
10
7
  import { DataViewRegistry } from "../data-views/registry.js";
11
8
  import "../data-views/index.js";
9
+ import { FeatureModuleSpec, FeatureRef } from "../features/types.js";
10
+ import { FeatureRegistry } from "../features/registry.js";
11
+ import "../features/index.js";
12
12
  import { WorkflowRegistry, WorkflowSpec } from "../workflow/spec.js";
13
13
  import { PolicyRegistry } from "../policy/registry.js";
14
14
  import { ThemeRegistry, ThemeSpec } from "../themes.js";
@@ -1,6 +1,6 @@
1
- import { OwnerShipMeta } from "../ownership.js";
2
1
  import { PolicyRef } from "../policy/spec.js";
3
2
  import { CapabilityRef } from "../capabilities/capabilities.js";
3
+ import { SpecContractRegistry } from "../registry.js";
4
4
  import "../capabilities/index.js";
5
5
  import { ExperimentRef } from "../experiments/spec.js";
6
6
  import { FeatureModuleSpec, FeatureRef } from "../features/types.js";
@@ -12,7 +12,7 @@ import { AppKnowledgeBinding } from "../knowledge/binding.js";
12
12
  import { BrandingDefaults, TenantBrandingConfig } from "./branding.js";
13
13
  import { Locale, TranslationEntry } from "../translations/catalog.js";
14
14
  import { ConfigStatus } from "./lifecycle.js";
15
- import { SpecContractRegistry } from "../registry.js";
15
+ import { OwnerShipMeta } from "../ownership.js";
16
16
 
17
17
  //#region src/app-config/spec.d.ts
18
18
  interface SpecPointer {