@contractspec/lib.contracts 1.55.0 → 1.56.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.
@@ -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_schema269 from "@contractspec/lib.schema";
6
+ import * as _contractspec_lib_schema241 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_schema269.FieldType<string, string>;
12
+ type: _contractspec_lib_schema241.FieldType<string, string>;
13
13
  isOptional: false;
14
14
  };
15
15
  appId: {
16
- type: _contractspec_lib_schema269.FieldType<string, string>;
16
+ type: _contractspec_lib_schema241.FieldType<string, string>;
17
17
  isOptional: false;
18
18
  };
19
19
  blueprintName: {
20
- type: _contractspec_lib_schema269.FieldType<string, string>;
20
+ type: _contractspec_lib_schema241.FieldType<string, string>;
21
21
  isOptional: false;
22
22
  };
23
23
  blueprintVersion: {
24
- type: _contractspec_lib_schema269.FieldType<number, number>;
24
+ type: _contractspec_lib_schema241.FieldType<number, number>;
25
25
  isOptional: false;
26
26
  };
27
27
  environment: {
28
- type: _contractspec_lib_schema269.FieldType<string, string>;
28
+ type: _contractspec_lib_schema241.FieldType<string, string>;
29
29
  isOptional: true;
30
30
  };
31
31
  fromVersion: {
32
- type: _contractspec_lib_schema269.FieldType<string, string>;
32
+ type: _contractspec_lib_schema241.FieldType<string, string>;
33
33
  isOptional: true;
34
34
  };
35
35
  createdBy: {
36
- type: _contractspec_lib_schema269.FieldType<string, string>;
36
+ type: _contractspec_lib_schema241.FieldType<string, string>;
37
37
  isOptional: false;
38
38
  };
39
39
  }>, SchemaModel<{
40
40
  version: {
41
- type: _contractspec_lib_schema269.FieldType<string, string>;
41
+ type: _contractspec_lib_schema241.FieldType<string, string>;
42
42
  isOptional: false;
43
43
  };
44
44
  status: {
45
- type: _contractspec_lib_schema269.FieldType<string, string>;
45
+ type: _contractspec_lib_schema241.FieldType<string, string>;
46
46
  isOptional: false;
47
47
  };
48
48
  createdAt: {
49
- type: _contractspec_lib_schema269.FieldType<Date, string>;
49
+ type: _contractspec_lib_schema241.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_schema269.FieldType<string, string>;
58
+ type: _contractspec_lib_schema241.FieldType<string, string>;
59
59
  isOptional: false;
60
60
  };
61
61
  appId: {
62
- type: _contractspec_lib_schema269.FieldType<string, string>;
62
+ type: _contractspec_lib_schema241.FieldType<string, string>;
63
63
  isOptional: false;
64
64
  };
65
65
  version: {
66
- type: _contractspec_lib_schema269.FieldType<string, string>;
66
+ type: _contractspec_lib_schema241.FieldType<string, string>;
67
67
  isOptional: false;
68
68
  };
69
69
  promotedBy: {
70
- type: _contractspec_lib_schema269.FieldType<string, string>;
70
+ type: _contractspec_lib_schema241.FieldType<string, string>;
71
71
  isOptional: false;
72
72
  };
73
73
  }>, SchemaModel<{
74
74
  version: {
75
- type: _contractspec_lib_schema269.FieldType<string, string>;
75
+ type: _contractspec_lib_schema241.FieldType<string, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  status: {
79
- type: _contractspec_lib_schema269.FieldType<string, string>;
79
+ type: _contractspec_lib_schema241.FieldType<string, string>;
80
80
  isOptional: false;
81
81
  };
82
82
  warnings: {
83
- type: _contractspec_lib_schema269.FieldType<string, string>;
83
+ type: _contractspec_lib_schema241.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_schema269.FieldType<string, string>;
93
+ type: _contractspec_lib_schema241.FieldType<string, string>;
94
94
  isOptional: false;
95
95
  };
96
96
  appId: {
97
- type: _contractspec_lib_schema269.FieldType<string, string>;
97
+ type: _contractspec_lib_schema241.FieldType<string, string>;
98
98
  isOptional: false;
99
99
  };
100
100
  version: {
101
- type: _contractspec_lib_schema269.FieldType<string, string>;
101
+ type: _contractspec_lib_schema241.FieldType<string, string>;
102
102
  isOptional: false;
103
103
  };
104
104
  environment: {
105
- type: _contractspec_lib_schema269.FieldType<string, string>;
105
+ type: _contractspec_lib_schema241.FieldType<string, string>;
106
106
  isOptional: true;
107
107
  };
108
108
  publishedBy: {
109
- type: _contractspec_lib_schema269.FieldType<string, string>;
109
+ type: _contractspec_lib_schema241.FieldType<string, string>;
110
110
  isOptional: false;
111
111
  };
112
112
  changeSummary: {
113
- type: _contractspec_lib_schema269.FieldType<string, string>;
113
+ type: _contractspec_lib_schema241.FieldType<string, string>;
114
114
  isOptional: true;
115
115
  };
116
116
  }>, SchemaModel<{
117
117
  version: {
118
- type: _contractspec_lib_schema269.FieldType<string, string>;
118
+ type: _contractspec_lib_schema241.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  status: {
122
- type: _contractspec_lib_schema269.FieldType<string, string>;
122
+ type: _contractspec_lib_schema241.FieldType<string, string>;
123
123
  isOptional: false;
124
124
  };
125
125
  previousVersion: {
126
- type: _contractspec_lib_schema269.FieldType<string, string>;
126
+ type: _contractspec_lib_schema241.FieldType<string, string>;
127
127
  isOptional: true;
128
128
  };
129
129
  publishedAt: {
130
- type: _contractspec_lib_schema269.FieldType<Date, string>;
130
+ type: _contractspec_lib_schema241.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_schema269.FieldType<string, string>;
139
+ type: _contractspec_lib_schema241.FieldType<string, string>;
140
140
  isOptional: false;
141
141
  };
142
142
  appId: {
143
- type: _contractspec_lib_schema269.FieldType<string, string>;
143
+ type: _contractspec_lib_schema241.FieldType<string, string>;
144
144
  isOptional: false;
145
145
  };
146
146
  toVersion: {
147
- type: _contractspec_lib_schema269.FieldType<string, string>;
147
+ type: _contractspec_lib_schema241.FieldType<string, string>;
148
148
  isOptional: false;
149
149
  };
150
150
  environment: {
151
- type: _contractspec_lib_schema269.FieldType<string, string>;
151
+ type: _contractspec_lib_schema241.FieldType<string, string>;
152
152
  isOptional: true;
153
153
  };
154
154
  rolledBackBy: {
155
- type: _contractspec_lib_schema269.FieldType<string, string>;
155
+ type: _contractspec_lib_schema241.FieldType<string, string>;
156
156
  isOptional: false;
157
157
  };
158
158
  reason: {
159
- type: _contractspec_lib_schema269.FieldType<string, string>;
159
+ type: _contractspec_lib_schema241.FieldType<string, string>;
160
160
  isOptional: false;
161
161
  };
162
162
  }>, SchemaModel<{
163
163
  newVersion: {
164
- type: _contractspec_lib_schema269.FieldType<string, string>;
164
+ type: _contractspec_lib_schema241.FieldType<string, string>;
165
165
  isOptional: false;
166
166
  };
167
167
  status: {
168
- type: _contractspec_lib_schema269.FieldType<string, string>;
168
+ type: _contractspec_lib_schema241.FieldType<string, string>;
169
169
  isOptional: false;
170
170
  };
171
171
  rolledBackFrom: {
172
- type: _contractspec_lib_schema269.FieldType<number, number>;
172
+ type: _contractspec_lib_schema241.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_schema269.FieldType<string, string>;
181
+ type: _contractspec_lib_schema241.FieldType<string, string>;
182
182
  isOptional: false;
183
183
  };
184
184
  appId: {
185
- type: _contractspec_lib_schema269.FieldType<string, string>;
185
+ type: _contractspec_lib_schema241.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_schema269.FieldType<Record<string, unknown>, Record<string, unknown>>;
192
+ type: _contractspec_lib_schema241.FieldType<Record<string, unknown>, Record<string, unknown>>;
193
193
  isOptional: false;
194
194
  };
195
195
  config: {
196
- type: _contractspec_lib_schema269.FieldType<Record<string, unknown>, Record<string, unknown>>;
196
+ type: _contractspec_lib_schema241.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_schema269.FieldType<string, string>;
206
+ type: _contractspec_lib_schema241.FieldType<string, string>;
207
207
  isOptional: false;
208
208
  };
209
209
  appId: {
210
- type: _contractspec_lib_schema269.FieldType<string, string>;
210
+ type: _contractspec_lib_schema241.FieldType<string, string>;
211
211
  isOptional: false;
212
212
  };
213
213
  fromStatus: {
214
- type: _contractspec_lib_schema269.FieldType<string, string>;
214
+ type: _contractspec_lib_schema241.FieldType<string, string>;
215
215
  isOptional: false;
216
216
  };
217
217
  toStatus: {
218
- type: _contractspec_lib_schema269.FieldType<string, string>;
218
+ type: _contractspec_lib_schema241.FieldType<string, string>;
219
219
  isOptional: false;
220
220
  };
221
221
  version: {
222
- type: _contractspec_lib_schema269.FieldType<string, string>;
222
+ type: _contractspec_lib_schema241.FieldType<string, string>;
223
223
  isOptional: false;
224
224
  };
225
225
  timestamp: {
226
- type: _contractspec_lib_schema269.FieldType<Date, string>;
226
+ type: _contractspec_lib_schema241.FieldType<Date, string>;
227
227
  isOptional: false;
228
228
  };
229
229
  actor: {
230
- type: _contractspec_lib_schema269.FieldType<string, string>;
230
+ type: _contractspec_lib_schema241.FieldType<string, string>;
231
231
  isOptional: false;
232
232
  };
233
233
  reason: {
234
- type: _contractspec_lib_schema269.FieldType<string, string>;
234
+ type: _contractspec_lib_schema241.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_schema269.FieldType<string, string>;
244
+ type: _contractspec_lib_schema241.FieldType<string, string>;
245
245
  isOptional: false;
246
246
  };
247
247
  appId: {
248
- type: _contractspec_lib_schema269.FieldType<string, string>;
248
+ type: _contractspec_lib_schema241.FieldType<string, string>;
249
249
  isOptional: false;
250
250
  };
251
251
  version: {
252
- type: _contractspec_lib_schema269.FieldType<string, string>;
252
+ type: _contractspec_lib_schema241.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_schema269.FieldType<Record<string, unknown>, Record<string, unknown>>;
259
+ type: _contractspec_lib_schema241.FieldType<Record<string, unknown>, Record<string, unknown>>;
260
260
  isOptional: false;
261
261
  };
262
262
  config: {
263
- type: _contractspec_lib_schema269.FieldType<Record<string, unknown>, Record<string, unknown>>;
263
+ type: _contractspec_lib_schema241.FieldType<Record<string, unknown>, Record<string, unknown>>;
264
264
  isOptional: false;
265
265
  };
266
266
  }>;
@@ -1,4 +1,5 @@
1
1
  import { VersionedSpecRef } from "../versioning/refs.js";
2
+ import "../versioning/index.js";
2
3
  import { OwnerShipMeta } from "../ownership.js";
3
4
 
4
5
  //#region src/capabilities/capabilities.d.ts
@@ -46,12 +46,12 @@ declare const ContractRegistryItemSchema: z.ZodObject<{
46
46
  description: z.ZodString;
47
47
  meta: z.ZodObject<{
48
48
  stability: z.ZodEnum<{
49
+ deprecated: "deprecated";
49
50
  idea: "idea";
50
51
  in_creation: "in_creation";
51
52
  experimental: "experimental";
52
53
  beta: "beta";
53
54
  stable: "stable";
54
- deprecated: "deprecated";
55
55
  }>;
56
56
  owners: z.ZodDefault<z.ZodArray<z.ZodString>>;
57
57
  tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -95,12 +95,12 @@ declare const ContractRegistryManifestSchema: z.ZodObject<{
95
95
  description: z.ZodString;
96
96
  meta: z.ZodObject<{
97
97
  stability: z.ZodEnum<{
98
+ deprecated: "deprecated";
98
99
  idea: "idea";
99
100
  in_creation: "in_creation";
100
101
  experimental: "experimental";
101
102
  beta: "beta";
102
103
  stable: "stable";
103
- deprecated: "deprecated";
104
104
  }>;
105
105
  owners: z.ZodDefault<z.ZodArray<z.ZodString>>;
106
106
  tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -1,81 +1,81 @@
1
1
  import { OperationSpec } from "../../operations/operation.js";
2
2
  import { EventSpecMeta } from "../../events.js";
3
3
  import "../../index.js";
4
- import * as _contractspec_lib_schema631 from "@contractspec/lib.schema";
4
+ import * as _contractspec_lib_schema423 from "@contractspec/lib.schema";
5
5
  import { SchemaModel } from "@contractspec/lib.schema";
6
6
 
7
7
  //#region src/docs/commands/docsGenerate.command.d.ts
8
8
  declare const DocsGenerateCommand: OperationSpec<SchemaModel<{
9
9
  workspaceRoot: {
10
- type: _contractspec_lib_schema631.FieldType<string, string>;
10
+ type: _contractspec_lib_schema423.FieldType<string, string>;
11
11
  isOptional: true;
12
12
  };
13
13
  outputDir: {
14
- type: _contractspec_lib_schema631.FieldType<string, string>;
14
+ type: _contractspec_lib_schema423.FieldType<string, string>;
15
15
  isOptional: true;
16
16
  };
17
17
  version: {
18
- type: _contractspec_lib_schema631.FieldType<string, string>;
18
+ type: _contractspec_lib_schema423.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  formats: {
22
- type: _contractspec_lib_schema631.FieldType<string, string>;
22
+ type: _contractspec_lib_schema423.FieldType<string, string>;
23
23
  isOptional: true;
24
24
  isArray: true;
25
25
  };
26
26
  includeInternal: {
27
- type: _contractspec_lib_schema631.FieldType<boolean, boolean>;
27
+ type: _contractspec_lib_schema423.FieldType<boolean, boolean>;
28
28
  isOptional: true;
29
29
  };
30
30
  includeExperimental: {
31
- type: _contractspec_lib_schema631.FieldType<boolean, boolean>;
31
+ type: _contractspec_lib_schema423.FieldType<boolean, boolean>;
32
32
  isOptional: true;
33
33
  };
34
34
  contractFilter: {
35
- type: _contractspec_lib_schema631.FieldType<string, string>;
35
+ type: _contractspec_lib_schema423.FieldType<string, string>;
36
36
  isOptional: true;
37
37
  };
38
38
  docblockFilter: {
39
- type: _contractspec_lib_schema631.FieldType<string, string>;
39
+ type: _contractspec_lib_schema423.FieldType<string, string>;
40
40
  isOptional: true;
41
41
  };
42
42
  dryRun: {
43
- type: _contractspec_lib_schema631.FieldType<boolean, boolean>;
43
+ type: _contractspec_lib_schema423.FieldType<boolean, boolean>;
44
44
  isOptional: true;
45
45
  };
46
46
  }>, SchemaModel<{
47
47
  buildId: {
48
- type: _contractspec_lib_schema631.FieldType<string, string>;
48
+ type: _contractspec_lib_schema423.FieldType<string, string>;
49
49
  isOptional: false;
50
50
  };
51
51
  version: {
52
- type: _contractspec_lib_schema631.FieldType<string, string>;
52
+ type: _contractspec_lib_schema423.FieldType<string, string>;
53
53
  isOptional: true;
54
54
  };
55
55
  generatedAt: {
56
- type: _contractspec_lib_schema631.FieldType<Date, string>;
56
+ type: _contractspec_lib_schema423.FieldType<Date, string>;
57
57
  isOptional: false;
58
58
  };
59
59
  outputDir: {
60
- type: _contractspec_lib_schema631.FieldType<string, string>;
60
+ type: _contractspec_lib_schema423.FieldType<string, string>;
61
61
  isOptional: true;
62
62
  };
63
63
  artifacts: {
64
64
  type: SchemaModel<{
65
65
  path: {
66
- type: _contractspec_lib_schema631.FieldType<string, string>;
66
+ type: _contractspec_lib_schema423.FieldType<string, string>;
67
67
  isOptional: false;
68
68
  };
69
69
  format: {
70
- type: _contractspec_lib_schema631.FieldType<string, string>;
70
+ type: _contractspec_lib_schema423.FieldType<string, string>;
71
71
  isOptional: true;
72
72
  };
73
73
  bytes: {
74
- type: _contractspec_lib_schema631.FieldType<number, number>;
74
+ type: _contractspec_lib_schema423.FieldType<number, number>;
75
75
  isOptional: true;
76
76
  };
77
77
  kind: {
78
- type: _contractspec_lib_schema631.FieldType<string, string>;
78
+ type: _contractspec_lib_schema423.FieldType<string, string>;
79
79
  isOptional: true;
80
80
  };
81
81
  }>;
@@ -83,7 +83,7 @@ declare const DocsGenerateCommand: OperationSpec<SchemaModel<{
83
83
  isArray: true;
84
84
  };
85
85
  warnings: {
86
- type: _contractspec_lib_schema631.FieldType<string, string>;
86
+ type: _contractspec_lib_schema423.FieldType<string, string>;
87
87
  isOptional: true;
88
88
  isArray: true;
89
89
  };
@@ -1,58 +1,58 @@
1
1
  import { OperationSpec } from "../../operations/operation.js";
2
2
  import { EventSpecMeta } from "../../events.js";
3
3
  import "../../index.js";
4
- import * as _contractspec_lib_schema678 from "@contractspec/lib.schema";
4
+ import * as _contractspec_lib_schema441 from "@contractspec/lib.schema";
5
5
  import { SchemaModel } from "@contractspec/lib.schema";
6
6
 
7
7
  //#region src/docs/commands/docsPublish.command.d.ts
8
8
  declare const DocsPublishCommand: OperationSpec<SchemaModel<{
9
9
  buildId: {
10
- type: _contractspec_lib_schema678.FieldType<string, string>;
10
+ type: _contractspec_lib_schema441.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  version: {
14
- type: _contractspec_lib_schema678.FieldType<string, string>;
14
+ type: _contractspec_lib_schema441.FieldType<string, string>;
15
15
  isOptional: true;
16
16
  };
17
17
  environment: {
18
- type: _contractspec_lib_schema678.FieldType<string, string>;
18
+ type: _contractspec_lib_schema441.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  deployTarget: {
22
- type: _contractspec_lib_schema678.FieldType<string, string>;
22
+ type: _contractspec_lib_schema441.FieldType<string, string>;
23
23
  isOptional: true;
24
24
  };
25
25
  artifactPath: {
26
- type: _contractspec_lib_schema678.FieldType<string, string>;
26
+ type: _contractspec_lib_schema441.FieldType<string, string>;
27
27
  isOptional: true;
28
28
  };
29
29
  dryRun: {
30
- type: _contractspec_lib_schema678.FieldType<boolean, boolean>;
30
+ type: _contractspec_lib_schema441.FieldType<boolean, boolean>;
31
31
  isOptional: true;
32
32
  };
33
33
  notes: {
34
- type: _contractspec_lib_schema678.FieldType<string, string>;
34
+ type: _contractspec_lib_schema441.FieldType<string, string>;
35
35
  isOptional: true;
36
36
  };
37
37
  }>, SchemaModel<{
38
38
  publishId: {
39
- type: _contractspec_lib_schema678.FieldType<string, string>;
39
+ type: _contractspec_lib_schema441.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  publishedAt: {
43
- type: _contractspec_lib_schema678.FieldType<Date, string>;
43
+ type: _contractspec_lib_schema441.FieldType<Date, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  url: {
47
- type: _contractspec_lib_schema678.FieldType<string, string>;
47
+ type: _contractspec_lib_schema441.FieldType<string, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  status: {
51
- type: _contractspec_lib_schema678.FieldType<string, string>;
51
+ type: _contractspec_lib_schema441.FieldType<string, string>;
52
52
  isOptional: true;
53
53
  };
54
54
  warnings: {
55
- type: _contractspec_lib_schema678.FieldType<string, string>;
55
+ type: _contractspec_lib_schema441.FieldType<string, string>;
56
56
  isOptional: true;
57
57
  isArray: true;
58
58
  };