@contractspec/lib.contracts 1.51.0 → 1.53.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.
Files changed (122) hide show
  1. package/dist/app-config/{contracts.d.ts → app-config.contracts.d.ts} +51 -51
  2. package/dist/app-config/{contracts.js → app-config.contracts.js} +1 -1
  3. package/dist/app-config/events.d.ts +27 -27
  4. package/dist/app-config/lifecycle-contracts.d.ts +54 -54
  5. package/dist/app-config/runtime.d.ts +4 -4
  6. package/dist/app-config/spec.d.ts +3 -3
  7. package/dist/capabilities/guards.d.ts +1 -1
  8. package/dist/capabilities/validation.d.ts +1 -1
  9. package/dist/data-views/data-views.d.ts +1 -1
  10. package/dist/data-views/index.d.ts +1 -1
  11. package/dist/data-views/registry.d.ts +1 -1
  12. package/dist/data-views/report/contractVerificationTable.d.ts +10 -0
  13. package/dist/data-views/report/contractVerificationTable.js +95 -0
  14. package/dist/data-views/runtime.d.ts +2 -2
  15. package/dist/data-views/spec.d.ts +1 -1
  16. package/dist/data-views/types.d.ts +1 -1
  17. package/dist/docs/capabilities/documentationSystem.capability.d.ts +7 -0
  18. package/dist/docs/capabilities/documentationSystem.capability.js +71 -0
  19. package/dist/docs/capabilities/index.d.ts +2 -0
  20. package/dist/docs/capabilities/index.js +3 -0
  21. package/dist/docs/commands/docsGenerate.command.d.ts +95 -0
  22. package/dist/docs/commands/docsGenerate.command.js +142 -0
  23. package/dist/docs/commands/docsPublish.command.d.ts +64 -0
  24. package/dist/docs/commands/docsPublish.command.js +107 -0
  25. package/dist/docs/commands/index.d.ts +3 -0
  26. package/dist/docs/commands/index.js +4 -0
  27. package/dist/docs/constants.d.ts +7 -0
  28. package/dist/docs/constants.js +10 -0
  29. package/dist/docs/contracts.d.ts +442 -0
  30. package/dist/docs/contracts.js +58 -0
  31. package/dist/docs/ensure-docblocks.d.ts +1 -0
  32. package/dist/docs/ensure-docblocks.js +1 -0
  33. package/dist/docs/events/docsGenerated.event.d.ts +62 -0
  34. package/dist/docs/events/docsGenerated.event.js +53 -0
  35. package/dist/docs/events/docsPublished.event.d.ts +70 -0
  36. package/dist/docs/events/docsPublished.event.js +57 -0
  37. package/dist/docs/events/index.d.ts +3 -0
  38. package/dist/docs/events/index.js +4 -0
  39. package/dist/docs/forms/docsSearch.form.d.ts +22 -0
  40. package/dist/docs/forms/docsSearch.form.js +113 -0
  41. package/dist/docs/forms/index.d.ts +2 -0
  42. package/dist/docs/forms/index.js +3 -0
  43. package/dist/docs/index.d.ts +23 -1
  44. package/dist/docs/index.js +25 -1
  45. package/dist/docs/presentations/docsLayout.presentation.d.ts +7 -0
  46. package/dist/docs/presentations/docsLayout.presentation.js +35 -0
  47. package/dist/docs/presentations/docsReferencePage.presentation.d.ts +7 -0
  48. package/dist/docs/presentations/docsReferencePage.presentation.js +35 -0
  49. package/dist/docs/presentations/index.d.ts +3 -0
  50. package/dist/docs/presentations/index.js +4 -0
  51. package/dist/docs/queries/contractReference.query.d.ts +217 -0
  52. package/dist/docs/queries/contractReference.query.js +125 -0
  53. package/dist/docs/queries/docsIndex.query.d.ts +272 -0
  54. package/dist/docs/queries/docsIndex.query.js +133 -0
  55. package/dist/docs/queries/index.d.ts +3 -0
  56. package/dist/docs/queries/index.js +4 -0
  57. package/dist/docs/tech/cli.docblock.js +10 -0
  58. package/dist/docs/tech/docs-system.docblock.d.ts +1 -0
  59. package/dist/docs/tech/docs-system.docblock.js +128 -0
  60. package/dist/docs/tech/report-verification-table.docblock.d.ts +1 -0
  61. package/dist/docs/tech/report-verification-table.docblock.js +50 -0
  62. package/dist/docs/views/contractReference.dataView.d.ts +7 -0
  63. package/dist/docs/views/contractReference.dataView.js +80 -0
  64. package/dist/docs/views/docsIndex.dataView.d.ts +7 -0
  65. package/dist/docs/views/docsIndex.dataView.js +136 -0
  66. package/dist/docs/views/exampleCatalog.dataView.d.ts +7 -0
  67. package/dist/docs/views/exampleCatalog.dataView.js +91 -0
  68. package/dist/docs/views/index.d.ts +4 -0
  69. package/dist/docs/views/index.js +5 -0
  70. package/dist/events.d.ts +1 -1
  71. package/dist/examples/schema.d.ts +7 -7
  72. package/dist/examples/types.d.ts +1 -1
  73. package/dist/experiments/spec.d.ts +2 -2
  74. package/dist/features/install.d.ts +1 -1
  75. package/dist/features/types.d.ts +3 -3
  76. package/dist/forms/forms.d.ts +1 -1
  77. package/dist/index.d.ts +40 -22
  78. package/dist/index.js +20 -2
  79. package/dist/install.d.ts +1 -1
  80. package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
  81. package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
  82. package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
  83. package/dist/integrations/openbanking/models.d.ts +55 -55
  84. package/dist/integrations/operations.d.ts +102 -102
  85. package/dist/integrations/spec.d.ts +2 -2
  86. package/dist/jsonschema.d.ts +1 -1
  87. package/dist/knowledge/operations.d.ts +66 -66
  88. package/dist/knowledge/spec.d.ts +1 -1
  89. package/dist/llm/exporters.d.ts +3 -3
  90. package/dist/llm/types.d.ts +1 -1
  91. package/dist/markdown.d.ts +1 -1
  92. package/dist/onboarding-base.d.ts +29 -29
  93. package/dist/operations/index.d.ts +4 -1
  94. package/dist/operations/index.js +4 -1
  95. package/dist/operations/operation.d.ts +3 -3
  96. package/dist/operations/registry.d.ts +1 -1
  97. package/dist/operations/report/getContractVerificationStatus.d.ts +75 -0
  98. package/dist/operations/report/getContractVerificationStatus.js +96 -0
  99. package/dist/operations/report/index.d.ts +13 -0
  100. package/dist/operations/report/index.js +45 -0
  101. package/dist/policy/validation.d.ts +1 -1
  102. package/dist/presentations/registry.d.ts +1 -1
  103. package/dist/registry.d.ts +1 -1
  104. package/dist/serialization/serializers.d.ts +3 -3
  105. package/dist/server/rest-elysia.d.ts +1 -1
  106. package/dist/server/rest-express.d.ts +1 -1
  107. package/dist/server/rest-generic.d.ts +1 -1
  108. package/dist/server/rest-next-app.d.ts +1 -1
  109. package/dist/server/rest-next-mcp.d.ts +1 -1
  110. package/dist/server/rest-next-pages.d.ts +1 -1
  111. package/dist/telemetry/spec.d.ts +1 -1
  112. package/dist/telemetry/tracker.d.ts +3 -2
  113. package/dist/tests/runner.d.ts +1 -1
  114. package/dist/themes.d.ts +1 -1
  115. package/dist/types.d.ts +2 -2
  116. package/dist/workflow/spec.d.ts +2 -2
  117. package/dist/workflow/validation.d.ts +2 -2
  118. package/dist/workspace-config/contractsrc-schema.d.ts +3 -3
  119. package/dist/workspace-config/contractsrc-schema.js +1 -0
  120. package/dist/workspace-config/contractsrc-types.d.ts +7 -8
  121. package/dist/workspace-config/index.d.ts +2 -2
  122. package/package.json +35 -8
@@ -3,50 +3,50 @@ import "../operations/index.js";
3
3
  import { OperationSpecRegistry } from "../operations/registry.js";
4
4
  import { EventSpecMeta } from "../events.js";
5
5
  import "../index.js";
6
- import * as _contractspec_lib_schema74 from "@contractspec/lib.schema";
6
+ import * as _contractspec_lib_schema540 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_schema74.FieldType<string, string>;
12
+ type: _contractspec_lib_schema540.FieldType<string, string>;
13
13
  isOptional: false;
14
14
  };
15
15
  appId: {
16
- type: _contractspec_lib_schema74.FieldType<string, string>;
16
+ type: _contractspec_lib_schema540.FieldType<string, string>;
17
17
  isOptional: false;
18
18
  };
19
19
  blueprintName: {
20
- type: _contractspec_lib_schema74.FieldType<string, string>;
20
+ type: _contractspec_lib_schema540.FieldType<string, string>;
21
21
  isOptional: false;
22
22
  };
23
23
  blueprintVersion: {
24
- type: _contractspec_lib_schema74.FieldType<number, number>;
24
+ type: _contractspec_lib_schema540.FieldType<number, number>;
25
25
  isOptional: false;
26
26
  };
27
27
  environment: {
28
- type: _contractspec_lib_schema74.FieldType<string, string>;
28
+ type: _contractspec_lib_schema540.FieldType<string, string>;
29
29
  isOptional: true;
30
30
  };
31
31
  fromVersion: {
32
- type: _contractspec_lib_schema74.FieldType<string, string>;
32
+ type: _contractspec_lib_schema540.FieldType<string, string>;
33
33
  isOptional: true;
34
34
  };
35
35
  createdBy: {
36
- type: _contractspec_lib_schema74.FieldType<string, string>;
36
+ type: _contractspec_lib_schema540.FieldType<string, string>;
37
37
  isOptional: false;
38
38
  };
39
39
  }>, SchemaModel<{
40
40
  version: {
41
- type: _contractspec_lib_schema74.FieldType<string, string>;
41
+ type: _contractspec_lib_schema540.FieldType<string, string>;
42
42
  isOptional: false;
43
43
  };
44
44
  status: {
45
- type: _contractspec_lib_schema74.FieldType<string, string>;
45
+ type: _contractspec_lib_schema540.FieldType<string, string>;
46
46
  isOptional: false;
47
47
  };
48
48
  createdAt: {
49
- type: _contractspec_lib_schema74.FieldType<Date, string>;
49
+ type: _contractspec_lib_schema540.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_schema74.FieldType<string, string>;
58
+ type: _contractspec_lib_schema540.FieldType<string, string>;
59
59
  isOptional: false;
60
60
  };
61
61
  appId: {
62
- type: _contractspec_lib_schema74.FieldType<string, string>;
62
+ type: _contractspec_lib_schema540.FieldType<string, string>;
63
63
  isOptional: false;
64
64
  };
65
65
  version: {
66
- type: _contractspec_lib_schema74.FieldType<string, string>;
66
+ type: _contractspec_lib_schema540.FieldType<string, string>;
67
67
  isOptional: false;
68
68
  };
69
69
  promotedBy: {
70
- type: _contractspec_lib_schema74.FieldType<string, string>;
70
+ type: _contractspec_lib_schema540.FieldType<string, string>;
71
71
  isOptional: false;
72
72
  };
73
73
  }>, SchemaModel<{
74
74
  version: {
75
- type: _contractspec_lib_schema74.FieldType<string, string>;
75
+ type: _contractspec_lib_schema540.FieldType<string, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  status: {
79
- type: _contractspec_lib_schema74.FieldType<string, string>;
79
+ type: _contractspec_lib_schema540.FieldType<string, string>;
80
80
  isOptional: false;
81
81
  };
82
82
  warnings: {
83
- type: _contractspec_lib_schema74.FieldType<string, string>;
83
+ type: _contractspec_lib_schema540.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_schema74.FieldType<string, string>;
93
+ type: _contractspec_lib_schema540.FieldType<string, string>;
94
94
  isOptional: false;
95
95
  };
96
96
  appId: {
97
- type: _contractspec_lib_schema74.FieldType<string, string>;
97
+ type: _contractspec_lib_schema540.FieldType<string, string>;
98
98
  isOptional: false;
99
99
  };
100
100
  version: {
101
- type: _contractspec_lib_schema74.FieldType<string, string>;
101
+ type: _contractspec_lib_schema540.FieldType<string, string>;
102
102
  isOptional: false;
103
103
  };
104
104
  environment: {
105
- type: _contractspec_lib_schema74.FieldType<string, string>;
105
+ type: _contractspec_lib_schema540.FieldType<string, string>;
106
106
  isOptional: true;
107
107
  };
108
108
  publishedBy: {
109
- type: _contractspec_lib_schema74.FieldType<string, string>;
109
+ type: _contractspec_lib_schema540.FieldType<string, string>;
110
110
  isOptional: false;
111
111
  };
112
112
  changeSummary: {
113
- type: _contractspec_lib_schema74.FieldType<string, string>;
113
+ type: _contractspec_lib_schema540.FieldType<string, string>;
114
114
  isOptional: true;
115
115
  };
116
116
  }>, SchemaModel<{
117
117
  version: {
118
- type: _contractspec_lib_schema74.FieldType<string, string>;
118
+ type: _contractspec_lib_schema540.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  status: {
122
- type: _contractspec_lib_schema74.FieldType<string, string>;
122
+ type: _contractspec_lib_schema540.FieldType<string, string>;
123
123
  isOptional: false;
124
124
  };
125
125
  previousVersion: {
126
- type: _contractspec_lib_schema74.FieldType<string, string>;
126
+ type: _contractspec_lib_schema540.FieldType<string, string>;
127
127
  isOptional: true;
128
128
  };
129
129
  publishedAt: {
130
- type: _contractspec_lib_schema74.FieldType<Date, string>;
130
+ type: _contractspec_lib_schema540.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_schema74.FieldType<string, string>;
139
+ type: _contractspec_lib_schema540.FieldType<string, string>;
140
140
  isOptional: false;
141
141
  };
142
142
  appId: {
143
- type: _contractspec_lib_schema74.FieldType<string, string>;
143
+ type: _contractspec_lib_schema540.FieldType<string, string>;
144
144
  isOptional: false;
145
145
  };
146
146
  toVersion: {
147
- type: _contractspec_lib_schema74.FieldType<string, string>;
147
+ type: _contractspec_lib_schema540.FieldType<string, string>;
148
148
  isOptional: false;
149
149
  };
150
150
  environment: {
151
- type: _contractspec_lib_schema74.FieldType<string, string>;
151
+ type: _contractspec_lib_schema540.FieldType<string, string>;
152
152
  isOptional: true;
153
153
  };
154
154
  rolledBackBy: {
155
- type: _contractspec_lib_schema74.FieldType<string, string>;
155
+ type: _contractspec_lib_schema540.FieldType<string, string>;
156
156
  isOptional: false;
157
157
  };
158
158
  reason: {
159
- type: _contractspec_lib_schema74.FieldType<string, string>;
159
+ type: _contractspec_lib_schema540.FieldType<string, string>;
160
160
  isOptional: false;
161
161
  };
162
162
  }>, SchemaModel<{
163
163
  newVersion: {
164
- type: _contractspec_lib_schema74.FieldType<string, string>;
164
+ type: _contractspec_lib_schema540.FieldType<string, string>;
165
165
  isOptional: false;
166
166
  };
167
167
  status: {
168
- type: _contractspec_lib_schema74.FieldType<string, string>;
168
+ type: _contractspec_lib_schema540.FieldType<string, string>;
169
169
  isOptional: false;
170
170
  };
171
171
  rolledBackFrom: {
172
- type: _contractspec_lib_schema74.FieldType<number, number>;
172
+ type: _contractspec_lib_schema540.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_schema74.FieldType<string, string>;
181
+ type: _contractspec_lib_schema540.FieldType<string, string>;
182
182
  isOptional: false;
183
183
  };
184
184
  appId: {
185
- type: _contractspec_lib_schema74.FieldType<string, string>;
185
+ type: _contractspec_lib_schema540.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_schema74.FieldType<Record<string, unknown>, Record<string, unknown>>;
192
+ type: _contractspec_lib_schema540.FieldType<Record<string, unknown>, Record<string, unknown>>;
193
193
  isOptional: false;
194
194
  };
195
195
  config: {
196
- type: _contractspec_lib_schema74.FieldType<Record<string, unknown>, Record<string, unknown>>;
196
+ type: _contractspec_lib_schema540.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_schema74.FieldType<string, string>;
206
+ type: _contractspec_lib_schema540.FieldType<string, string>;
207
207
  isOptional: false;
208
208
  };
209
209
  appId: {
210
- type: _contractspec_lib_schema74.FieldType<string, string>;
210
+ type: _contractspec_lib_schema540.FieldType<string, string>;
211
211
  isOptional: false;
212
212
  };
213
213
  fromStatus: {
214
- type: _contractspec_lib_schema74.FieldType<string, string>;
214
+ type: _contractspec_lib_schema540.FieldType<string, string>;
215
215
  isOptional: false;
216
216
  };
217
217
  toStatus: {
218
- type: _contractspec_lib_schema74.FieldType<string, string>;
218
+ type: _contractspec_lib_schema540.FieldType<string, string>;
219
219
  isOptional: false;
220
220
  };
221
221
  version: {
222
- type: _contractspec_lib_schema74.FieldType<string, string>;
222
+ type: _contractspec_lib_schema540.FieldType<string, string>;
223
223
  isOptional: false;
224
224
  };
225
225
  timestamp: {
226
- type: _contractspec_lib_schema74.FieldType<Date, string>;
226
+ type: _contractspec_lib_schema540.FieldType<Date, string>;
227
227
  isOptional: false;
228
228
  };
229
229
  actor: {
230
- type: _contractspec_lib_schema74.FieldType<string, string>;
230
+ type: _contractspec_lib_schema540.FieldType<string, string>;
231
231
  isOptional: false;
232
232
  };
233
233
  reason: {
234
- type: _contractspec_lib_schema74.FieldType<string, string>;
234
+ type: _contractspec_lib_schema540.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_schema74.FieldType<string, string>;
244
+ type: _contractspec_lib_schema540.FieldType<string, string>;
245
245
  isOptional: false;
246
246
  };
247
247
  appId: {
248
- type: _contractspec_lib_schema74.FieldType<string, string>;
248
+ type: _contractspec_lib_schema540.FieldType<string, string>;
249
249
  isOptional: false;
250
250
  };
251
251
  version: {
252
- type: _contractspec_lib_schema74.FieldType<string, string>;
252
+ type: _contractspec_lib_schema540.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_schema74.FieldType<Record<string, unknown>, Record<string, unknown>>;
259
+ type: _contractspec_lib_schema540.FieldType<Record<string, unknown>, Record<string, unknown>>;
260
260
  isOptional: false;
261
261
  };
262
262
  config: {
263
- type: _contractspec_lib_schema74.FieldType<Record<string, unknown>, Record<string, unknown>>;
263
+ type: _contractspec_lib_schema540.FieldType<Record<string, unknown>, Record<string, unknown>>;
264
264
  isOptional: false;
265
265
  };
266
266
  }>;
@@ -1,14 +1,14 @@
1
- import { CapabilityRef, CapabilityRegistry, CapabilitySpec } from "../capabilities/capabilities.js";
2
1
  import { PolicyRef, PolicySpec } from "../policy/spec.js";
2
+ import { CapabilityRef, CapabilityRegistry, CapabilitySpec } from "../capabilities/capabilities.js";
3
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 { CapabilityRef } from "../capabilities/capabilities.js";
2
- import { OwnerShipMeta } from "../ownership.js";
3
1
  import { PolicyRef } from "../policy/spec.js";
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 {
@@ -1,5 +1,5 @@
1
- import { PresentationSpec } from "../presentations/presentations.js";
2
1
  import { AnyOperationSpec } from "../operations/operation.js";
2
+ import { PresentationSpec } from "../presentations/presentations.js";
3
3
  import { CapabilityContext } from "./context.js";
4
4
  import { AnyEventSpec } from "../events.js";
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { CapabilityRegistry, CapabilitySurface } from "./capabilities.js";
2
- import { OperationSpecRegistry } from "../operations/registry.js";
3
2
  import { PresentationRegistry } from "../presentations/registry.js";
4
3
  import "../presentations/index.js";
4
+ import { OperationSpecRegistry } from "../operations/registry.js";
5
5
  import { EventRegistry } from "../events.js";
6
6
 
7
7
  //#region src/capabilities/validation.d.ts
@@ -1,6 +1,6 @@
1
- import { DataViewRef } from "../features/types.js";
2
1
  import { DataViewAction, DataViewBaseConfig, DataViewConfig, DataViewDetailConfig, DataViewField, DataViewFieldFormat, DataViewFilter, DataViewGridConfig, DataViewKind, DataViewListConfig, DataViewMeta, DataViewSections, DataViewSource, DataViewStates, DataViewTableColumn, DataViewTableConfig } from "./types.js";
3
2
  import { DataViewSpec, defineDataView } from "./spec.js";
4
3
  import { DataViewRegistry, dataViewKey } from "./registry.js";
5
4
  import "./index.js";
5
+ import { DataViewRef } from "../features/types.js";
6
6
  export { DataViewAction, DataViewBaseConfig, DataViewConfig, DataViewDetailConfig, DataViewField, DataViewFieldFormat, DataViewFilter, DataViewGridConfig, DataViewKind, DataViewListConfig, DataViewMeta, DataViewRef, DataViewRegistry, DataViewSections, DataViewSource, DataViewSpec, DataViewStates, DataViewTableColumn, DataViewTableConfig, dataViewKey, defineDataView };
@@ -1,5 +1,5 @@
1
- import { DataViewRef } from "../features/types.js";
2
1
  import { DataViewAction, DataViewBaseConfig, DataViewConfig, DataViewDetailConfig, DataViewField, DataViewFieldFormat, DataViewFilter, DataViewGridConfig, DataViewKind, DataViewListConfig, DataViewMeta, DataViewSections, DataViewSource, DataViewStates, DataViewTableColumn, DataViewTableConfig } from "./types.js";
3
2
  import { DataViewSpec, defineDataView } from "./spec.js";
4
3
  import { DataViewRegistry, dataViewKey } from "./registry.js";
4
+ import { DataViewRef } from "../features/types.js";
5
5
  export { type DataViewAction, type DataViewBaseConfig, type DataViewConfig, type DataViewDetailConfig, type DataViewField, type DataViewFieldFormat, type DataViewFilter, type DataViewGridConfig, type DataViewKind, type DataViewListConfig, type DataViewMeta, type DataViewRef, DataViewRegistry, type DataViewSections, type DataViewSource, type DataViewSpec, type DataViewStates, type DataViewTableColumn, type DataViewTableConfig, dataViewKey, defineDataView };
@@ -1,5 +1,5 @@
1
- import { DataViewSpec } from "./spec.js";
2
1
  import { SpecContractRegistry } from "../registry.js";
2
+ import { DataViewSpec } from "./spec.js";
3
3
 
4
4
  //#region src/data-views/registry.d.ts
5
5
 
@@ -0,0 +1,10 @@
1
+ import { DataViewSpec } from "../spec.js";
2
+ import "../index.js";
3
+
4
+ //#region src/data-views/report/contractVerificationTable.d.ts
5
+ /**
6
+ * Data view for the contract verification status table rendered in reports.
7
+ */
8
+ declare const ContractVerificationTableDataView: DataViewSpec;
9
+ //#endregion
10
+ export { ContractVerificationTableDataView };
@@ -0,0 +1,95 @@
1
+ import { StabilityEnum } from "../../ownership.js";
2
+ import { GetContractVerificationStatusQuery } from "../../operations/report/getContractVerificationStatus.js";
3
+ import { defineDataView } from "../spec.js";
4
+
5
+ //#region src/data-views/report/contractVerificationTable.ts
6
+ /**
7
+ * Data view for the contract verification status table rendered in reports.
8
+ */
9
+ const ContractVerificationTableDataView = defineDataView({
10
+ meta: {
11
+ key: "report.contractVerificationTable",
12
+ title: "Contract Verification Table",
13
+ version: "1.0.0",
14
+ description: "Table view of per-contract verification status for the impact report.",
15
+ domain: "report",
16
+ owners: ["platform.core"],
17
+ tags: [
18
+ "report",
19
+ "data-view",
20
+ "verification"
21
+ ],
22
+ stability: StabilityEnum.Experimental,
23
+ entity: "contract-verification"
24
+ },
25
+ source: { primary: {
26
+ key: GetContractVerificationStatusQuery.meta.key,
27
+ version: GetContractVerificationStatusQuery.meta.version
28
+ } },
29
+ view: {
30
+ kind: "table",
31
+ fields: [
32
+ {
33
+ key: "name",
34
+ label: "Contract / Endpoint / Event",
35
+ dataPath: "name"
36
+ },
37
+ {
38
+ key: "timeSinceVerified",
39
+ label: "Time since verified",
40
+ dataPath: "lastVerifiedDate"
41
+ },
42
+ {
43
+ key: "driftMismatches",
44
+ label: "Drift debt",
45
+ dataPath: "driftMismatches",
46
+ format: "number",
47
+ sortable: true
48
+ },
49
+ {
50
+ key: "surfaces",
51
+ label: "Surfaces covered",
52
+ dataPath: "surfaces",
53
+ format: "badge"
54
+ },
55
+ {
56
+ key: "lastVerifiedSha",
57
+ label: "Last verified commit",
58
+ dataPath: "lastVerifiedSha",
59
+ width: "sm"
60
+ }
61
+ ],
62
+ primaryField: "name",
63
+ secondaryFields: ["driftMismatches", "timeSinceVerified"],
64
+ columns: [
65
+ {
66
+ field: "name",
67
+ width: "lg"
68
+ },
69
+ {
70
+ field: "lastVerifiedSha",
71
+ width: "sm"
72
+ },
73
+ {
74
+ field: "timeSinceVerified",
75
+ width: "sm"
76
+ },
77
+ {
78
+ field: "surfaces",
79
+ width: "md"
80
+ },
81
+ {
82
+ field: "driftMismatches",
83
+ width: "xs",
84
+ align: "right"
85
+ }
86
+ ]
87
+ },
88
+ policy: {
89
+ flags: [],
90
+ pii: []
91
+ }
92
+ });
93
+
94
+ //#endregion
95
+ export { ContractVerificationTableDataView };
@@ -1,9 +1,9 @@
1
- import "../operations/index.js";
2
- import { OperationSpecRegistry } from "../operations/registry.js";
3
1
  import { DataViewSpec } from "./spec.js";
4
2
  import { DataViewRegistry } from "./registry.js";
5
3
  import "./index.js";
4
+ import "../operations/index.js";
6
5
  import { HandlerCtx } from "../types.js";
6
+ import { OperationSpecRegistry } from "../operations/registry.js";
7
7
 
8
8
  //#region src/data-views/runtime.d.ts
9
9
  interface DataViewRuntimeConfig {
@@ -1,6 +1,6 @@
1
1
  import { ExperimentRef } from "../experiments/spec.js";
2
- import { DataViewRef } from "../features/types.js";
3
2
  import { DataViewConfig, DataViewMeta, DataViewSource, DataViewStates } from "./types.js";
3
+ import { DataViewRef } from "../features/types.js";
4
4
 
5
5
  //#region src/data-views/spec.d.ts
6
6
 
@@ -1,6 +1,6 @@
1
- import { OwnerShipMeta } from "../ownership.js";
2
1
  import { EventRef, OpRef, PresentationRef } from "../features/types.js";
3
2
  import "../features/index.js";
3
+ import { OwnerShipMeta } from "../ownership.js";
4
4
 
5
5
  //#region src/data-views/types.d.ts
6
6
  /**
@@ -0,0 +1,7 @@
1
+ import { CapabilitySpec } from "../../capabilities/capabilities.js";
2
+ import "../../index.js";
3
+
4
+ //#region src/docs/capabilities/documentationSystem.capability.d.ts
5
+ declare const DocumentationSystemCapability: CapabilitySpec;
6
+ //#endregion
7
+ export { DocumentationSystemCapability };
@@ -0,0 +1,71 @@
1
+ import { defineCapability } from "../../capabilities/capabilities.js";
2
+ import "../../capabilities/index.js";
3
+ import { DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS } from "../constants.js";
4
+
5
+ //#region src/docs/capabilities/documentationSystem.capability.ts
6
+ const DocumentationSystemCapability = defineCapability({
7
+ meta: {
8
+ key: "docs.system",
9
+ version: "1.0.0",
10
+ kind: "ui",
11
+ title: "Documentation System",
12
+ description: "End-to-end docs generation, indexing, and presentation.",
13
+ domain: DOCS_DOMAIN,
14
+ owners: DOCS_OWNERS,
15
+ tags: [...DOCS_TAGS, "system"],
16
+ stability: DOCS_STABILITY
17
+ },
18
+ provides: [
19
+ {
20
+ surface: "operation",
21
+ key: "docs.generate",
22
+ version: "1.0.0",
23
+ description: "Generate documentation artifacts."
24
+ },
25
+ {
26
+ surface: "operation",
27
+ key: "docs.publish",
28
+ version: "1.0.0",
29
+ description: "Publish documentation artifacts."
30
+ },
31
+ {
32
+ surface: "operation",
33
+ key: "docs.search",
34
+ version: "1.0.0",
35
+ description: "Index and search DocBlocks."
36
+ },
37
+ {
38
+ surface: "operation",
39
+ key: "docs.contract.reference",
40
+ version: "1.0.0",
41
+ description: "Resolve contract references for docs."
42
+ },
43
+ {
44
+ surface: "event",
45
+ key: "docs.generated",
46
+ version: "1.0.0",
47
+ description: "Docs generation completed."
48
+ },
49
+ {
50
+ surface: "event",
51
+ key: "docs.published",
52
+ version: "1.0.0",
53
+ description: "Docs publish completed."
54
+ },
55
+ {
56
+ surface: "presentation",
57
+ key: "docs.layout",
58
+ version: "1.0.0",
59
+ description: "Docs layout presentation."
60
+ },
61
+ {
62
+ surface: "presentation",
63
+ key: "docs.reference.page",
64
+ version: "1.0.0",
65
+ description: "Docs reference page presentation."
66
+ }
67
+ ]
68
+ });
69
+
70
+ //#endregion
71
+ export { DocumentationSystemCapability };
@@ -0,0 +1,2 @@
1
+ import { DocumentationSystemCapability } from "./documentationSystem.capability.js";
2
+ export { DocumentationSystemCapability };
@@ -0,0 +1,3 @@
1
+ import { DocumentationSystemCapability } from "./documentationSystem.capability.js";
2
+
3
+ export { DocumentationSystemCapability };