@inventarch/service-contracts 0.0.0-stage → 1.0.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/LICENSE +202 -0
- package/NOTICE +4 -0
- package/README.md +2 -2
- package/SPEC.md +19 -0
- package/dist/index.d.ts +419 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +221 -0
- package/dist/index.js.map +1 -0
- package/dist/installation.d.ts +484 -0
- package/dist/installation.d.ts.map +1 -0
- package/dist/installation.js +97 -0
- package/dist/installation.js.map +1 -0
- package/dist/marketplace.d.ts +312 -0
- package/dist/marketplace.d.ts.map +1 -0
- package/dist/marketplace.js +118 -0
- package/dist/marketplace.js.map +1 -0
- package/dist/session-lifecycle.d.ts +126 -0
- package/dist/session-lifecycle.d.ts.map +1 -0
- package/dist/session-lifecycle.js +51 -0
- package/dist/session-lifecycle.js.map +1 -0
- package/dist/source-apply.d.ts +384 -0
- package/dist/source-apply.d.ts.map +1 -0
- package/dist/source-apply.js +134 -0
- package/dist/source-apply.js.map +1 -0
- package/dist/sources.d.ts +179 -0
- package/dist/sources.d.ts.map +1 -0
- package/dist/sources.js +126 -0
- package/dist/sources.js.map +1 -0
- package/dist/tenancy.d.ts +265 -0
- package/dist/tenancy.d.ts.map +1 -0
- package/dist/tenancy.js +156 -0
- package/dist/tenancy.js.map +1 -0
- package/package.json +94 -3
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const sourceChangeCandidate: z.ZodObject<{
|
|
3
|
+
format: z.ZodLiteral<"ia.source-change.v1">;
|
|
4
|
+
workspaceId: z.ZodString;
|
|
5
|
+
base: z.ZodObject<{
|
|
6
|
+
revisionId: z.ZodNullable<z.ZodString>;
|
|
7
|
+
generation: z.ZodNumber;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
10
|
+
path: z.ZodString;
|
|
11
|
+
previous: z.ZodNullable<z.ZodString>;
|
|
12
|
+
next: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
digest: z.ZodString;
|
|
14
|
+
text: z.ZodString;
|
|
15
|
+
}, z.core.$strict>>;
|
|
16
|
+
}, z.core.$strict>>;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
export type SourceChangeCandidate = z.infer<typeof sourceChangeCandidate>;
|
|
19
|
+
export declare const sourceProposalReference: z.ZodObject<{
|
|
20
|
+
sessionId: z.ZodString;
|
|
21
|
+
proposalId: z.ZodString;
|
|
22
|
+
revision: z.ZodNumber;
|
|
23
|
+
digest: z.ZodString;
|
|
24
|
+
}, z.core.$strict>;
|
|
25
|
+
export type SourceProposalReference = z.infer<typeof sourceProposalReference>;
|
|
26
|
+
export declare const sourceApplyPrepareRequest: z.ZodObject<{
|
|
27
|
+
commandId: z.ZodString;
|
|
28
|
+
proposal: z.ZodObject<{
|
|
29
|
+
sessionId: z.ZodString;
|
|
30
|
+
proposalId: z.ZodString;
|
|
31
|
+
revision: z.ZodNumber;
|
|
32
|
+
digest: z.ZodString;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
}, z.core.$strict>;
|
|
35
|
+
export declare const sourceApplyReviewRequest: z.ZodObject<{
|
|
36
|
+
commandId: z.ZodString;
|
|
37
|
+
applicationId: z.ZodString;
|
|
38
|
+
digest: z.ZodString;
|
|
39
|
+
accept: z.ZodBoolean;
|
|
40
|
+
rationale: z.ZodString;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
export declare const sourceApplyRequest: z.ZodObject<{
|
|
43
|
+
commandId: z.ZodString;
|
|
44
|
+
applicationId: z.ZodString;
|
|
45
|
+
digest: z.ZodString;
|
|
46
|
+
decisionId: z.ZodString;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
export declare const sourceApplyInspectRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
49
|
+
kind: z.ZodLiteral<"proposals">;
|
|
50
|
+
sessionId: z.ZodString;
|
|
51
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
53
|
+
kind: z.ZodLiteral<"application">;
|
|
54
|
+
applicationId: z.ZodString;
|
|
55
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
56
|
+
kind: z.ZodLiteral<"file">;
|
|
57
|
+
applicationId: z.ZodString;
|
|
58
|
+
path: z.ZodString;
|
|
59
|
+
side: z.ZodEnum<{
|
|
60
|
+
next: "next";
|
|
61
|
+
base: "base";
|
|
62
|
+
}>;
|
|
63
|
+
offset: z.ZodNumber;
|
|
64
|
+
limit: z.ZodNumber;
|
|
65
|
+
}, z.core.$strict>], "kind">;
|
|
66
|
+
export declare const sourceApplyPrepared: z.ZodObject<{
|
|
67
|
+
state: z.ZodLiteral<"prepared">;
|
|
68
|
+
applicationId: z.ZodString;
|
|
69
|
+
digest: z.ZodString;
|
|
70
|
+
proposal: z.ZodObject<{
|
|
71
|
+
sessionId: z.ZodString;
|
|
72
|
+
proposalId: z.ZodString;
|
|
73
|
+
revision: z.ZodNumber;
|
|
74
|
+
digest: z.ZodString;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
workspaceId: z.ZodString;
|
|
77
|
+
base: z.ZodObject<{
|
|
78
|
+
revisionId: z.ZodNullable<z.ZodString>;
|
|
79
|
+
generation: z.ZodNumber;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
admission: z.ZodObject<{
|
|
82
|
+
ok: z.ZodBoolean;
|
|
83
|
+
revision: z.ZodString;
|
|
84
|
+
refused: z.ZodNumber;
|
|
85
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
86
|
+
code: z.ZodString;
|
|
87
|
+
path: z.ZodString;
|
|
88
|
+
line: z.ZodNumber;
|
|
89
|
+
}, z.core.$strict>>;
|
|
90
|
+
unavailableChecks: z.ZodArray<z.ZodString>;
|
|
91
|
+
}, z.core.$strict>;
|
|
92
|
+
policyDigest: z.ZodString;
|
|
93
|
+
validator: z.ZodString;
|
|
94
|
+
edits: z.ZodArray<z.ZodObject<{
|
|
95
|
+
path: z.ZodString;
|
|
96
|
+
previous: z.ZodNullable<z.ZodString>;
|
|
97
|
+
next: z.ZodNullable<z.ZodString>;
|
|
98
|
+
}, z.core.$strict>>;
|
|
99
|
+
createdAt: z.ZodString;
|
|
100
|
+
expiresAt: z.ZodString;
|
|
101
|
+
}, z.core.$strict>;
|
|
102
|
+
export declare const sourceApplyDecision: z.ZodObject<{
|
|
103
|
+
state: z.ZodEnum<{
|
|
104
|
+
rejected: "rejected";
|
|
105
|
+
reviewed: "reviewed";
|
|
106
|
+
}>;
|
|
107
|
+
applicationId: z.ZodString;
|
|
108
|
+
digest: z.ZodString;
|
|
109
|
+
decisionId: z.ZodString;
|
|
110
|
+
accept: z.ZodBoolean;
|
|
111
|
+
rationale: z.ZodString;
|
|
112
|
+
reviewedAt: z.ZodString;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
export declare const sourceApplyReceipt: z.ZodObject<{
|
|
115
|
+
state: z.ZodLiteral<"applied">;
|
|
116
|
+
applicationId: z.ZodString;
|
|
117
|
+
digest: z.ZodString;
|
|
118
|
+
candidateDigest: z.ZodString;
|
|
119
|
+
decisionId: z.ZodString;
|
|
120
|
+
proposal: z.ZodObject<{
|
|
121
|
+
sessionId: z.ZodString;
|
|
122
|
+
proposalId: z.ZodString;
|
|
123
|
+
revision: z.ZodNumber;
|
|
124
|
+
digest: z.ZodString;
|
|
125
|
+
}, z.core.$strict>;
|
|
126
|
+
source: z.ZodObject<{
|
|
127
|
+
workspaceId: z.ZodString;
|
|
128
|
+
generation: z.ZodNumber;
|
|
129
|
+
draftHead: z.ZodNullable<z.ZodString>;
|
|
130
|
+
activeHead: z.ZodNullable<z.ZodString>;
|
|
131
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
132
|
+
admission: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
ok: z.ZodBoolean;
|
|
134
|
+
revision: z.ZodString;
|
|
135
|
+
refused: z.ZodNumber;
|
|
136
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
137
|
+
code: z.ZodString;
|
|
138
|
+
path: z.ZodString;
|
|
139
|
+
line: z.ZodNumber;
|
|
140
|
+
}, z.core.$strict>>;
|
|
141
|
+
unavailableChecks: z.ZodArray<z.ZodString>;
|
|
142
|
+
}, z.core.$strict>>;
|
|
143
|
+
removed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
|
+
}, z.core.$strict>;
|
|
145
|
+
appliedAt: z.ZodString;
|
|
146
|
+
}, z.core.$strict>;
|
|
147
|
+
export type SourceApplyPrepared = z.infer<typeof sourceApplyPrepared>;
|
|
148
|
+
export type SourceApplyDecision = z.infer<typeof sourceApplyDecision>;
|
|
149
|
+
export type SourceApplyReceipt = z.infer<typeof sourceApplyReceipt>;
|
|
150
|
+
export declare const sourceApplyInspection: z.ZodObject<{
|
|
151
|
+
kind: z.ZodLiteral<"application">;
|
|
152
|
+
applicationId: z.ZodString;
|
|
153
|
+
state: z.ZodEnum<{
|
|
154
|
+
unavailable: "unavailable";
|
|
155
|
+
applied: "applied";
|
|
156
|
+
rejected: "rejected";
|
|
157
|
+
prepared: "prepared";
|
|
158
|
+
reviewed: "reviewed";
|
|
159
|
+
}>;
|
|
160
|
+
available: z.ZodBoolean;
|
|
161
|
+
prepared: z.ZodNullable<z.ZodObject<{
|
|
162
|
+
state: z.ZodLiteral<"prepared">;
|
|
163
|
+
applicationId: z.ZodString;
|
|
164
|
+
digest: z.ZodString;
|
|
165
|
+
proposal: z.ZodObject<{
|
|
166
|
+
sessionId: z.ZodString;
|
|
167
|
+
proposalId: z.ZodString;
|
|
168
|
+
revision: z.ZodNumber;
|
|
169
|
+
digest: z.ZodString;
|
|
170
|
+
}, z.core.$strict>;
|
|
171
|
+
workspaceId: z.ZodString;
|
|
172
|
+
base: z.ZodObject<{
|
|
173
|
+
revisionId: z.ZodNullable<z.ZodString>;
|
|
174
|
+
generation: z.ZodNumber;
|
|
175
|
+
}, z.core.$strict>;
|
|
176
|
+
admission: z.ZodObject<{
|
|
177
|
+
ok: z.ZodBoolean;
|
|
178
|
+
revision: z.ZodString;
|
|
179
|
+
refused: z.ZodNumber;
|
|
180
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
181
|
+
code: z.ZodString;
|
|
182
|
+
path: z.ZodString;
|
|
183
|
+
line: z.ZodNumber;
|
|
184
|
+
}, z.core.$strict>>;
|
|
185
|
+
unavailableChecks: z.ZodArray<z.ZodString>;
|
|
186
|
+
}, z.core.$strict>;
|
|
187
|
+
policyDigest: z.ZodString;
|
|
188
|
+
validator: z.ZodString;
|
|
189
|
+
edits: z.ZodArray<z.ZodObject<{
|
|
190
|
+
path: z.ZodString;
|
|
191
|
+
previous: z.ZodNullable<z.ZodString>;
|
|
192
|
+
next: z.ZodNullable<z.ZodString>;
|
|
193
|
+
}, z.core.$strict>>;
|
|
194
|
+
createdAt: z.ZodString;
|
|
195
|
+
expiresAt: z.ZodString;
|
|
196
|
+
}, z.core.$strict>>;
|
|
197
|
+
decision: z.ZodNullable<z.ZodObject<{
|
|
198
|
+
state: z.ZodEnum<{
|
|
199
|
+
rejected: "rejected";
|
|
200
|
+
reviewed: "reviewed";
|
|
201
|
+
}>;
|
|
202
|
+
applicationId: z.ZodString;
|
|
203
|
+
digest: z.ZodString;
|
|
204
|
+
decisionId: z.ZodString;
|
|
205
|
+
accept: z.ZodBoolean;
|
|
206
|
+
rationale: z.ZodString;
|
|
207
|
+
reviewedAt: z.ZodString;
|
|
208
|
+
}, z.core.$strict>>;
|
|
209
|
+
receipt: z.ZodNullable<z.ZodObject<{
|
|
210
|
+
state: z.ZodLiteral<"applied">;
|
|
211
|
+
applicationId: z.ZodString;
|
|
212
|
+
digest: z.ZodString;
|
|
213
|
+
candidateDigest: z.ZodString;
|
|
214
|
+
decisionId: z.ZodString;
|
|
215
|
+
proposal: z.ZodObject<{
|
|
216
|
+
sessionId: z.ZodString;
|
|
217
|
+
proposalId: z.ZodString;
|
|
218
|
+
revision: z.ZodNumber;
|
|
219
|
+
digest: z.ZodString;
|
|
220
|
+
}, z.core.$strict>;
|
|
221
|
+
source: z.ZodObject<{
|
|
222
|
+
workspaceId: z.ZodString;
|
|
223
|
+
generation: z.ZodNumber;
|
|
224
|
+
draftHead: z.ZodNullable<z.ZodString>;
|
|
225
|
+
activeHead: z.ZodNullable<z.ZodString>;
|
|
226
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
227
|
+
admission: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
ok: z.ZodBoolean;
|
|
229
|
+
revision: z.ZodString;
|
|
230
|
+
refused: z.ZodNumber;
|
|
231
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
232
|
+
code: z.ZodString;
|
|
233
|
+
path: z.ZodString;
|
|
234
|
+
line: z.ZodNumber;
|
|
235
|
+
}, z.core.$strict>>;
|
|
236
|
+
unavailableChecks: z.ZodArray<z.ZodString>;
|
|
237
|
+
}, z.core.$strict>>;
|
|
238
|
+
removed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
239
|
+
}, z.core.$strict>;
|
|
240
|
+
appliedAt: z.ZodString;
|
|
241
|
+
}, z.core.$strict>>;
|
|
242
|
+
}, z.core.$strict>;
|
|
243
|
+
export declare const sourceApplyProposals: z.ZodObject<{
|
|
244
|
+
kind: z.ZodLiteral<"proposals">;
|
|
245
|
+
items: z.ZodArray<z.ZodObject<{
|
|
246
|
+
sessionId: z.ZodString;
|
|
247
|
+
proposalId: z.ZodString;
|
|
248
|
+
revision: z.ZodNumber;
|
|
249
|
+
digest: z.ZodString;
|
|
250
|
+
}, z.core.$strict>>;
|
|
251
|
+
next: z.ZodNullable<z.ZodString>;
|
|
252
|
+
}, z.core.$strict>;
|
|
253
|
+
export declare const sourceApplyFile: z.ZodObject<{
|
|
254
|
+
kind: z.ZodLiteral<"file">;
|
|
255
|
+
applicationId: z.ZodString;
|
|
256
|
+
path: z.ZodString;
|
|
257
|
+
side: z.ZodEnum<{
|
|
258
|
+
next: "next";
|
|
259
|
+
base: "base";
|
|
260
|
+
}>;
|
|
261
|
+
digest: z.ZodString;
|
|
262
|
+
bytes: z.ZodNumber;
|
|
263
|
+
offset: z.ZodNumber;
|
|
264
|
+
data: z.ZodString;
|
|
265
|
+
next: z.ZodNullable<z.ZodNumber>;
|
|
266
|
+
}, z.core.$strict>;
|
|
267
|
+
export declare const sourceApplyInspectResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
268
|
+
kind: z.ZodLiteral<"proposals">;
|
|
269
|
+
items: z.ZodArray<z.ZodObject<{
|
|
270
|
+
sessionId: z.ZodString;
|
|
271
|
+
proposalId: z.ZodString;
|
|
272
|
+
revision: z.ZodNumber;
|
|
273
|
+
digest: z.ZodString;
|
|
274
|
+
}, z.core.$strict>>;
|
|
275
|
+
next: z.ZodNullable<z.ZodString>;
|
|
276
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
277
|
+
kind: z.ZodLiteral<"application">;
|
|
278
|
+
applicationId: z.ZodString;
|
|
279
|
+
state: z.ZodEnum<{
|
|
280
|
+
unavailable: "unavailable";
|
|
281
|
+
applied: "applied";
|
|
282
|
+
rejected: "rejected";
|
|
283
|
+
prepared: "prepared";
|
|
284
|
+
reviewed: "reviewed";
|
|
285
|
+
}>;
|
|
286
|
+
available: z.ZodBoolean;
|
|
287
|
+
prepared: z.ZodNullable<z.ZodObject<{
|
|
288
|
+
state: z.ZodLiteral<"prepared">;
|
|
289
|
+
applicationId: z.ZodString;
|
|
290
|
+
digest: z.ZodString;
|
|
291
|
+
proposal: z.ZodObject<{
|
|
292
|
+
sessionId: z.ZodString;
|
|
293
|
+
proposalId: z.ZodString;
|
|
294
|
+
revision: z.ZodNumber;
|
|
295
|
+
digest: z.ZodString;
|
|
296
|
+
}, z.core.$strict>;
|
|
297
|
+
workspaceId: z.ZodString;
|
|
298
|
+
base: z.ZodObject<{
|
|
299
|
+
revisionId: z.ZodNullable<z.ZodString>;
|
|
300
|
+
generation: z.ZodNumber;
|
|
301
|
+
}, z.core.$strict>;
|
|
302
|
+
admission: z.ZodObject<{
|
|
303
|
+
ok: z.ZodBoolean;
|
|
304
|
+
revision: z.ZodString;
|
|
305
|
+
refused: z.ZodNumber;
|
|
306
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
307
|
+
code: z.ZodString;
|
|
308
|
+
path: z.ZodString;
|
|
309
|
+
line: z.ZodNumber;
|
|
310
|
+
}, z.core.$strict>>;
|
|
311
|
+
unavailableChecks: z.ZodArray<z.ZodString>;
|
|
312
|
+
}, z.core.$strict>;
|
|
313
|
+
policyDigest: z.ZodString;
|
|
314
|
+
validator: z.ZodString;
|
|
315
|
+
edits: z.ZodArray<z.ZodObject<{
|
|
316
|
+
path: z.ZodString;
|
|
317
|
+
previous: z.ZodNullable<z.ZodString>;
|
|
318
|
+
next: z.ZodNullable<z.ZodString>;
|
|
319
|
+
}, z.core.$strict>>;
|
|
320
|
+
createdAt: z.ZodString;
|
|
321
|
+
expiresAt: z.ZodString;
|
|
322
|
+
}, z.core.$strict>>;
|
|
323
|
+
decision: z.ZodNullable<z.ZodObject<{
|
|
324
|
+
state: z.ZodEnum<{
|
|
325
|
+
rejected: "rejected";
|
|
326
|
+
reviewed: "reviewed";
|
|
327
|
+
}>;
|
|
328
|
+
applicationId: z.ZodString;
|
|
329
|
+
digest: z.ZodString;
|
|
330
|
+
decisionId: z.ZodString;
|
|
331
|
+
accept: z.ZodBoolean;
|
|
332
|
+
rationale: z.ZodString;
|
|
333
|
+
reviewedAt: z.ZodString;
|
|
334
|
+
}, z.core.$strict>>;
|
|
335
|
+
receipt: z.ZodNullable<z.ZodObject<{
|
|
336
|
+
state: z.ZodLiteral<"applied">;
|
|
337
|
+
applicationId: z.ZodString;
|
|
338
|
+
digest: z.ZodString;
|
|
339
|
+
candidateDigest: z.ZodString;
|
|
340
|
+
decisionId: z.ZodString;
|
|
341
|
+
proposal: z.ZodObject<{
|
|
342
|
+
sessionId: z.ZodString;
|
|
343
|
+
proposalId: z.ZodString;
|
|
344
|
+
revision: z.ZodNumber;
|
|
345
|
+
digest: z.ZodString;
|
|
346
|
+
}, z.core.$strict>;
|
|
347
|
+
source: z.ZodObject<{
|
|
348
|
+
workspaceId: z.ZodString;
|
|
349
|
+
generation: z.ZodNumber;
|
|
350
|
+
draftHead: z.ZodNullable<z.ZodString>;
|
|
351
|
+
activeHead: z.ZodNullable<z.ZodString>;
|
|
352
|
+
revisionId: z.ZodOptional<z.ZodString>;
|
|
353
|
+
admission: z.ZodOptional<z.ZodObject<{
|
|
354
|
+
ok: z.ZodBoolean;
|
|
355
|
+
revision: z.ZodString;
|
|
356
|
+
refused: z.ZodNumber;
|
|
357
|
+
diagnostics: z.ZodArray<z.ZodObject<{
|
|
358
|
+
code: z.ZodString;
|
|
359
|
+
path: z.ZodString;
|
|
360
|
+
line: z.ZodNumber;
|
|
361
|
+
}, z.core.$strict>>;
|
|
362
|
+
unavailableChecks: z.ZodArray<z.ZodString>;
|
|
363
|
+
}, z.core.$strict>>;
|
|
364
|
+
removed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
365
|
+
}, z.core.$strict>;
|
|
366
|
+
appliedAt: z.ZodString;
|
|
367
|
+
}, z.core.$strict>>;
|
|
368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
369
|
+
kind: z.ZodLiteral<"file">;
|
|
370
|
+
applicationId: z.ZodString;
|
|
371
|
+
path: z.ZodString;
|
|
372
|
+
side: z.ZodEnum<{
|
|
373
|
+
next: "next";
|
|
374
|
+
base: "base";
|
|
375
|
+
}>;
|
|
376
|
+
digest: z.ZodString;
|
|
377
|
+
bytes: z.ZodNumber;
|
|
378
|
+
offset: z.ZodNumber;
|
|
379
|
+
data: z.ZodString;
|
|
380
|
+
next: z.ZodNullable<z.ZodNumber>;
|
|
381
|
+
}, z.core.$strict>], "kind">;
|
|
382
|
+
export type SourceApplyInspectRequest = z.infer<typeof sourceApplyInspectRequest>;
|
|
383
|
+
export type SourceApplyInspectResult = z.infer<typeof sourceApplyInspectResult>;
|
|
384
|
+
//# sourceMappingURL=source-apply.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-apply.d.ts","sourceRoot":"","sources":["../src/source-apply.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;kBAqC/B,CAAC;AACJ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,eAAO,MAAM,uBAAuB;;;;;kBAKlC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC9E,eAAO,MAAM,yBAAyB;;;;;;;;kBAAuE,CAAC;AAC9G,eAAO,MAAM,wBAAwB;;;;;;kBAMnC,CAAC;AACH,eAAO,MAAM,kBAAkB;;;;;kBAA+E,CAAC;AAC/G,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;4BAepC,CAAC;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAe9B,CAAC;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;kBAQ9B,CAAC;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAS7B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQhC,CAAC;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;kBAI/B,CAAC;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;kBAa1B,CAAC;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAInC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAClF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// Browser-only shapes. Current authority, exact byte hashes and native admission are host decisions.
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { digest, id } from './index.js';
|
|
4
|
+
import { SOURCE_LIMITS, sourceAdmission, sourceEntry, sourceReceipt } from './sources.js';
|
|
5
|
+
const counter = z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER);
|
|
6
|
+
const bytes = (text) => new TextEncoder().encode(text).byteLength;
|
|
7
|
+
export const sourceChangeCandidate = z
|
|
8
|
+
.strictObject({
|
|
9
|
+
format: z.literal('ia.source-change.v1'),
|
|
10
|
+
workspaceId: id,
|
|
11
|
+
base: z.strictObject({ revisionId: digest.nullable(), generation: counter }),
|
|
12
|
+
changes: z
|
|
13
|
+
.array(z
|
|
14
|
+
.strictObject({
|
|
15
|
+
path: sourceEntry.shape.path,
|
|
16
|
+
previous: digest.nullable(),
|
|
17
|
+
next: z
|
|
18
|
+
.strictObject({
|
|
19
|
+
digest,
|
|
20
|
+
text: z
|
|
21
|
+
.string()
|
|
22
|
+
.max(SOURCE_LIMITS.sourceBytes)
|
|
23
|
+
.refine((text) => bytes(text) <= SOURCE_LIMITS.sourceBytes),
|
|
24
|
+
})
|
|
25
|
+
.nullable(),
|
|
26
|
+
})
|
|
27
|
+
.refine((change) => change.next !== null || change.previous !== null, 'An absent file cannot be deleted')
|
|
28
|
+
.refine((change) => change.next?.digest !== change.previous, 'A change must change the exact bytes'))
|
|
29
|
+
.min(1)
|
|
30
|
+
.max(SOURCE_LIMITS.files),
|
|
31
|
+
})
|
|
32
|
+
.refine((value) => value.changes.every((change, index) => index === 0 || value.changes[index - 1].path < change.path) &&
|
|
33
|
+
new Set(value.changes.map((change) => change.path.toLowerCase())).size === value.changes.length, 'Changes must be sorted and distinct')
|
|
34
|
+
.refine((value) => value.changes.reduce((sum, change) => sum + bytes(change.next?.text ?? ''), 0) <= SOURCE_LIMITS.revisionBytes, 'Candidate byte limit exceeded');
|
|
35
|
+
export const sourceProposalReference = z.strictObject({
|
|
36
|
+
sessionId: id,
|
|
37
|
+
proposalId: id,
|
|
38
|
+
revision: z.number().int().positive().max(Number.MAX_SAFE_INTEGER),
|
|
39
|
+
digest,
|
|
40
|
+
});
|
|
41
|
+
export const sourceApplyPrepareRequest = z.strictObject({ commandId: id, proposal: sourceProposalReference });
|
|
42
|
+
export const sourceApplyReviewRequest = z.strictObject({
|
|
43
|
+
commandId: id,
|
|
44
|
+
applicationId: id,
|
|
45
|
+
digest,
|
|
46
|
+
accept: z.boolean(),
|
|
47
|
+
rationale: z.string().min(1).max(4096),
|
|
48
|
+
});
|
|
49
|
+
export const sourceApplyRequest = z.strictObject({ commandId: id, applicationId: id, digest, decisionId: id });
|
|
50
|
+
export const sourceApplyInspectRequest = z.discriminatedUnion('kind', [
|
|
51
|
+
z.strictObject({ kind: z.literal('proposals'), sessionId: id, cursor: z.string().min(1).max(2048).optional() }),
|
|
52
|
+
z.strictObject({ kind: z.literal('application'), applicationId: id }),
|
|
53
|
+
z.strictObject({
|
|
54
|
+
kind: z.literal('file'),
|
|
55
|
+
applicationId: id,
|
|
56
|
+
path: sourceEntry.shape.path,
|
|
57
|
+
side: z.enum(['base', 'next']),
|
|
58
|
+
offset: counter.max(SOURCE_LIMITS.sourceBytes),
|
|
59
|
+
limit: z
|
|
60
|
+
.number()
|
|
61
|
+
.int()
|
|
62
|
+
.positive()
|
|
63
|
+
.max(32 * 1024),
|
|
64
|
+
}),
|
|
65
|
+
]);
|
|
66
|
+
export const sourceApplyPrepared = z.strictObject({
|
|
67
|
+
state: z.literal('prepared'),
|
|
68
|
+
applicationId: id,
|
|
69
|
+
digest,
|
|
70
|
+
proposal: sourceProposalReference,
|
|
71
|
+
workspaceId: id,
|
|
72
|
+
base: sourceChangeCandidate.shape.base,
|
|
73
|
+
admission: sourceAdmission,
|
|
74
|
+
policyDigest: digest,
|
|
75
|
+
validator: digest,
|
|
76
|
+
edits: z
|
|
77
|
+
.array(z.strictObject({ path: sourceEntry.shape.path, previous: digest.nullable(), next: digest.nullable() }))
|
|
78
|
+
.max(SOURCE_LIMITS.files),
|
|
79
|
+
createdAt: z.string().datetime(),
|
|
80
|
+
expiresAt: z.string().datetime(),
|
|
81
|
+
});
|
|
82
|
+
export const sourceApplyDecision = z.strictObject({
|
|
83
|
+
state: z.enum(['reviewed', 'rejected']),
|
|
84
|
+
applicationId: id,
|
|
85
|
+
digest,
|
|
86
|
+
decisionId: id,
|
|
87
|
+
accept: z.boolean(),
|
|
88
|
+
rationale: z.string().min(1).max(4096),
|
|
89
|
+
reviewedAt: z.string().datetime(),
|
|
90
|
+
});
|
|
91
|
+
export const sourceApplyReceipt = z.strictObject({
|
|
92
|
+
state: z.literal('applied'),
|
|
93
|
+
applicationId: id,
|
|
94
|
+
digest,
|
|
95
|
+
candidateDigest: digest,
|
|
96
|
+
decisionId: id,
|
|
97
|
+
proposal: sourceProposalReference,
|
|
98
|
+
source: sourceReceipt,
|
|
99
|
+
appliedAt: z.string().datetime(),
|
|
100
|
+
});
|
|
101
|
+
export const sourceApplyInspection = z.strictObject({
|
|
102
|
+
kind: z.literal('application'),
|
|
103
|
+
applicationId: id,
|
|
104
|
+
state: z.enum(['prepared', 'reviewed', 'rejected', 'applied', 'unavailable']),
|
|
105
|
+
available: z.boolean(),
|
|
106
|
+
prepared: sourceApplyPrepared.nullable(),
|
|
107
|
+
decision: sourceApplyDecision.nullable(),
|
|
108
|
+
receipt: sourceApplyReceipt.nullable(),
|
|
109
|
+
});
|
|
110
|
+
export const sourceApplyProposals = z.strictObject({
|
|
111
|
+
kind: z.literal('proposals'),
|
|
112
|
+
items: z.array(sourceProposalReference).max(100),
|
|
113
|
+
next: z.string().min(1).max(2048).nullable(),
|
|
114
|
+
});
|
|
115
|
+
export const sourceApplyFile = z.strictObject({
|
|
116
|
+
kind: z.literal('file'),
|
|
117
|
+
applicationId: id,
|
|
118
|
+
path: sourceEntry.shape.path,
|
|
119
|
+
side: z.enum(['base', 'next']),
|
|
120
|
+
digest,
|
|
121
|
+
bytes: counter.max(SOURCE_LIMITS.sourceBytes),
|
|
122
|
+
offset: counter.max(SOURCE_LIMITS.sourceBytes),
|
|
123
|
+
data: z
|
|
124
|
+
.string()
|
|
125
|
+
.max(44 * 1024)
|
|
126
|
+
.regex(/^[A-Za-z0-9+/]*={0,2}$/),
|
|
127
|
+
next: counter.max(SOURCE_LIMITS.sourceBytes).nullable(),
|
|
128
|
+
});
|
|
129
|
+
export const sourceApplyInspectResult = z.discriminatedUnion('kind', [
|
|
130
|
+
sourceApplyProposals,
|
|
131
|
+
sourceApplyInspection,
|
|
132
|
+
sourceApplyFile,
|
|
133
|
+
]);
|
|
134
|
+
//# sourceMappingURL=source-apply.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-apply.js","sourceRoot":"","sources":["../src/source-apply.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,YAAY,CAAC;AACxC,O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