@warmhub/sdk-ts 0.91.0 → 0.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checkpoint.js +1 -1
- package/dist/{chunk-AMPLDVYO.js → chunk-CC45V5YE.js} +7 -7
- package/dist/{chunk-AMPLDVYO.js.map → chunk-CC45V5YE.js.map} +1 -1
- package/dist/chunk-CJGZJYNN.js +8 -0
- package/dist/chunk-CJGZJYNN.js.map +1 -0
- package/dist/index.d.ts +3405 -901
- package/dist/index.js +1 -1
- package/dist/react.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-VKNGJ2OG.js +0 -8
- package/dist/chunk-VKNGJ2OG.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -104,82 +104,251 @@ type AuthSyncResult = {
|
|
|
104
104
|
success: boolean;
|
|
105
105
|
};
|
|
106
106
|
type CollectionTag$1 = 'arc' | 'bond' | 'pair' | 'set' | 'list';
|
|
107
|
-
type
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
107
|
+
type CommitRealOperationResult$1 = {
|
|
108
|
+
opIndex: number;
|
|
109
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
110
|
+
name: string;
|
|
111
|
+
submittedName?: string;
|
|
112
|
+
resolvedName?: string;
|
|
113
|
+
warnings?: {
|
|
114
|
+
undeclaredFields?: Array<string>;
|
|
115
|
+
undeclaredFieldsTruncated?: true;
|
|
116
|
+
totalUndeclared?: number;
|
|
117
|
+
coalescedWrefs?: Array<{
|
|
118
|
+
fieldPath: string;
|
|
119
|
+
wref: string;
|
|
120
|
+
reason: string;
|
|
121
|
+
}>;
|
|
122
|
+
coalescedWrefsTruncated?: true;
|
|
123
|
+
totalCoalescedWrefs?: number;
|
|
124
|
+
deprecations?: Array<{
|
|
125
|
+
shape: string;
|
|
126
|
+
message: string;
|
|
127
|
+
removalMilestone: string;
|
|
128
|
+
}>;
|
|
129
|
+
};
|
|
130
|
+
affirmations?: {
|
|
131
|
+
added: Array<string>;
|
|
132
|
+
removed: Array<string>;
|
|
133
|
+
ignored: Array<string>;
|
|
134
|
+
};
|
|
135
|
+
status: 'applied' | 'noop';
|
|
136
|
+
version?: number;
|
|
137
|
+
dataHash?: string;
|
|
138
|
+
} | {
|
|
139
|
+
opIndex: number;
|
|
140
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
141
|
+
name: string;
|
|
142
|
+
submittedName?: string;
|
|
143
|
+
resolvedName?: string;
|
|
144
|
+
warnings?: {
|
|
145
|
+
undeclaredFields?: Array<string>;
|
|
146
|
+
undeclaredFieldsTruncated?: true;
|
|
147
|
+
totalUndeclared?: number;
|
|
148
|
+
coalescedWrefs?: Array<{
|
|
149
|
+
fieldPath: string;
|
|
150
|
+
wref: string;
|
|
151
|
+
reason: string;
|
|
152
|
+
}>;
|
|
153
|
+
coalescedWrefsTruncated?: true;
|
|
154
|
+
totalCoalescedWrefs?: number;
|
|
155
|
+
deprecations?: Array<{
|
|
156
|
+
shape: string;
|
|
157
|
+
message: string;
|
|
158
|
+
removalMilestone: string;
|
|
159
|
+
}>;
|
|
160
|
+
};
|
|
161
|
+
affirmations?: {
|
|
162
|
+
added: Array<string>;
|
|
163
|
+
removed: Array<string>;
|
|
164
|
+
ignored: Array<string>;
|
|
165
|
+
};
|
|
166
|
+
status: 'error';
|
|
167
|
+
errors: Array<{
|
|
168
|
+
code: string;
|
|
169
|
+
message: string;
|
|
170
|
+
path?: string;
|
|
171
|
+
details?: {
|
|
172
|
+
reason: 'expected_version_mismatch';
|
|
173
|
+
expectedVersion: number;
|
|
174
|
+
currentVersion: number;
|
|
175
|
+
} | {
|
|
176
|
+
reason: 'lease_held';
|
|
177
|
+
leaseExpiresAt: string;
|
|
178
|
+
} | {
|
|
179
|
+
reason: 'validation_failed';
|
|
180
|
+
issues: Array<{
|
|
181
|
+
path: string;
|
|
144
182
|
message: string;
|
|
145
|
-
removalMilestone: string;
|
|
146
183
|
}>;
|
|
184
|
+
} | {
|
|
185
|
+
reason: 'rate_limit_reset';
|
|
186
|
+
retryAfterSeconds: number;
|
|
187
|
+
resetAt: string;
|
|
188
|
+
} | {
|
|
189
|
+
reason: 'cursor_fence_unavailable';
|
|
190
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
191
|
+
retryFromStart: true;
|
|
192
|
+
} | {
|
|
193
|
+
reason: 'dependency_failed';
|
|
194
|
+
producerOpIndexes: Array<number>;
|
|
147
195
|
};
|
|
196
|
+
retryable?: boolean;
|
|
197
|
+
}>;
|
|
198
|
+
};
|
|
199
|
+
type CommitDiagnostic$1 = {
|
|
200
|
+
code: string;
|
|
201
|
+
message: string;
|
|
202
|
+
path?: string;
|
|
203
|
+
details?: {
|
|
204
|
+
reason: 'expected_version_mismatch';
|
|
205
|
+
expectedVersion: number;
|
|
206
|
+
currentVersion: number;
|
|
148
207
|
} | {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
error?: {
|
|
156
|
-
code: string;
|
|
208
|
+
reason: 'lease_held';
|
|
209
|
+
leaseExpiresAt: string;
|
|
210
|
+
} | {
|
|
211
|
+
reason: 'validation_failed';
|
|
212
|
+
issues: Array<{
|
|
213
|
+
path: string;
|
|
157
214
|
message: string;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
215
|
+
}>;
|
|
216
|
+
} | {
|
|
217
|
+
reason: 'rate_limit_reset';
|
|
218
|
+
retryAfterSeconds: number;
|
|
219
|
+
resetAt: string;
|
|
220
|
+
} | {
|
|
221
|
+
reason: 'cursor_fence_unavailable';
|
|
222
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
223
|
+
retryFromStart: true;
|
|
224
|
+
} | {
|
|
225
|
+
reason: 'dependency_failed';
|
|
226
|
+
producerOpIndexes: Array<number>;
|
|
227
|
+
};
|
|
228
|
+
retryable?: boolean;
|
|
229
|
+
};
|
|
230
|
+
type CommitValidateInput$1 = {
|
|
231
|
+
orgName: string;
|
|
232
|
+
repoName: string;
|
|
233
|
+
committer?: string;
|
|
234
|
+
message?: string;
|
|
235
|
+
componentRef?: string;
|
|
236
|
+
workspaceName?: never;
|
|
237
|
+
operations: Array<{
|
|
238
|
+
operation: 'add';
|
|
239
|
+
kind: 'shape';
|
|
240
|
+
name: string;
|
|
241
|
+
data: unknown;
|
|
242
|
+
affirmedTargets?: never;
|
|
243
|
+
skipExisting?: boolean;
|
|
244
|
+
} | {
|
|
245
|
+
operation: 'add';
|
|
246
|
+
kind: 'thing';
|
|
247
|
+
name: string;
|
|
248
|
+
data: unknown;
|
|
249
|
+
affirmedTargets?: never;
|
|
250
|
+
skipExisting?: boolean;
|
|
251
|
+
} | {
|
|
252
|
+
operation: 'add';
|
|
253
|
+
kind: 'assertion';
|
|
254
|
+
name: string;
|
|
255
|
+
about: string;
|
|
256
|
+
data: unknown;
|
|
257
|
+
affirmedTargets?: Array<string>;
|
|
258
|
+
skipExisting?: boolean;
|
|
259
|
+
} | {
|
|
260
|
+
operation: 'add';
|
|
261
|
+
kind: 'collection';
|
|
262
|
+
name: string;
|
|
263
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list';
|
|
264
|
+
members: Array<string>;
|
|
265
|
+
affirmedTargets?: never;
|
|
266
|
+
skipExisting?: boolean;
|
|
267
|
+
} | {
|
|
268
|
+
operation: 'revise';
|
|
269
|
+
kind: 'shape';
|
|
270
|
+
name: string;
|
|
271
|
+
data: unknown;
|
|
272
|
+
affirmedTargets?: never;
|
|
273
|
+
expectedVersion?: number;
|
|
274
|
+
active?: never;
|
|
275
|
+
leaseId?: string;
|
|
276
|
+
} | {
|
|
277
|
+
operation: 'revise';
|
|
278
|
+
kind: 'thing';
|
|
279
|
+
name: string;
|
|
280
|
+
data: unknown;
|
|
281
|
+
affirmedTargets?: never;
|
|
282
|
+
expectedVersion?: number;
|
|
283
|
+
active?: never;
|
|
284
|
+
leaseId?: string;
|
|
285
|
+
} | {
|
|
286
|
+
operation: 'revise';
|
|
287
|
+
kind: 'assertion';
|
|
288
|
+
name: string;
|
|
289
|
+
data: unknown;
|
|
290
|
+
affirmedTargets?: Array<string>;
|
|
291
|
+
expectedVersion?: number;
|
|
292
|
+
active?: never;
|
|
293
|
+
leaseId?: string;
|
|
294
|
+
} | {
|
|
295
|
+
operation: 'revise';
|
|
296
|
+
kind: 'collection';
|
|
297
|
+
name: string;
|
|
298
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list';
|
|
299
|
+
members: Array<string>;
|
|
300
|
+
affirmedTargets?: never;
|
|
301
|
+
expectedVersion?: number;
|
|
302
|
+
leaseId?: string;
|
|
303
|
+
} | {
|
|
304
|
+
operation: 'retract';
|
|
305
|
+
name: string;
|
|
306
|
+
kind?: 'shape' | 'thing' | 'assertion' | 'collection';
|
|
307
|
+
reason?: string;
|
|
308
|
+
expectedVersion?: number;
|
|
309
|
+
leaseId?: string;
|
|
310
|
+
} | {
|
|
311
|
+
operation: 'reaffirm';
|
|
312
|
+
kind?: 'assertion';
|
|
313
|
+
name: string;
|
|
314
|
+
add?: Array<string>;
|
|
315
|
+
remove?: Array<string>;
|
|
316
|
+
expectedVersion?: number;
|
|
317
|
+
leaseId?: string;
|
|
318
|
+
} | {
|
|
319
|
+
operation: 'rename';
|
|
320
|
+
name: string;
|
|
321
|
+
newName: string;
|
|
322
|
+
kind?: 'shape' | 'thing' | 'assertion' | 'collection';
|
|
323
|
+
}>;
|
|
324
|
+
includeWouldBeBody?: boolean;
|
|
325
|
+
};
|
|
326
|
+
type CommitValidateResult$1 = {
|
|
327
|
+
operationCount: number;
|
|
328
|
+
canCommit: boolean;
|
|
329
|
+
counts: {
|
|
330
|
+
wouldApply: number;
|
|
331
|
+
noop: number;
|
|
332
|
+
error: number;
|
|
333
|
+
};
|
|
334
|
+
baseline: {
|
|
335
|
+
kind: 'repo_seq';
|
|
336
|
+
repoSeq: number;
|
|
337
|
+
} | {
|
|
338
|
+
kind: 'withheld';
|
|
339
|
+
};
|
|
340
|
+
caveats: Array<{
|
|
341
|
+
code: string;
|
|
342
|
+
message: string;
|
|
343
|
+
}>;
|
|
344
|
+
committer?: string;
|
|
345
|
+
message?: string;
|
|
346
|
+
operations: Array<{
|
|
347
|
+
opIndex: number;
|
|
348
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
349
|
+
name: string;
|
|
350
|
+
submittedName?: string;
|
|
181
351
|
resolvedName?: string;
|
|
182
|
-
retryable?: boolean;
|
|
183
352
|
warnings?: {
|
|
184
353
|
undeclaredFields?: Array<string>;
|
|
185
354
|
undeclaredFieldsTruncated?: true;
|
|
@@ -202,171 +371,44 @@ type OperationEventReceiptV1$1 = {
|
|
|
202
371
|
removed: Array<string>;
|
|
203
372
|
ignored: Array<string>;
|
|
204
373
|
};
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
|
|
213
|
-
wref: string;
|
|
214
|
-
version: number;
|
|
215
|
-
results: Array<{
|
|
216
|
-
member: string;
|
|
217
|
-
contains: boolean;
|
|
218
|
-
positions?: Array<number>;
|
|
219
|
-
}>;
|
|
220
|
-
};
|
|
221
|
-
type CollectionDiffResult$1 = {
|
|
222
|
-
type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
|
|
223
|
-
leftWref: string;
|
|
224
|
-
rightWref: string;
|
|
225
|
-
leftVersion: number;
|
|
226
|
-
rightVersion: number;
|
|
227
|
-
mode: 'membership' | 'ordered';
|
|
228
|
-
added: Array<{
|
|
229
|
-
wref: string;
|
|
230
|
-
position?: number;
|
|
231
|
-
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
232
|
-
}>;
|
|
233
|
-
removed: Array<{
|
|
234
|
-
wref: string;
|
|
235
|
-
position?: number;
|
|
236
|
-
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
237
|
-
}>;
|
|
238
|
-
unchanged: Array<{
|
|
239
|
-
wref: string;
|
|
240
|
-
position?: number;
|
|
241
|
-
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
242
|
-
}>;
|
|
243
|
-
changed: Array<{
|
|
244
|
-
position: number;
|
|
245
|
-
left?: {
|
|
246
|
-
wref: string;
|
|
247
|
-
position?: number;
|
|
248
|
-
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
249
|
-
};
|
|
250
|
-
right?: {
|
|
251
|
-
wref: string;
|
|
252
|
-
position?: number;
|
|
253
|
-
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
254
|
-
};
|
|
255
|
-
}>;
|
|
256
|
-
};
|
|
257
|
-
type CollectionMember$1 = {
|
|
258
|
-
wref: string;
|
|
259
|
-
position?: number;
|
|
260
|
-
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
261
|
-
};
|
|
262
|
-
type CollectionMembersPage$1 = {
|
|
263
|
-
type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
|
|
264
|
-
wref: string;
|
|
265
|
-
version: number;
|
|
266
|
-
items: Array<{
|
|
267
|
-
wref: string;
|
|
268
|
-
position?: number;
|
|
269
|
-
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
270
|
-
}>;
|
|
271
|
-
nextCursor?: string;
|
|
272
|
-
};
|
|
273
|
-
type CollectionStatsResult$1 = {
|
|
274
|
-
type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
|
|
275
|
-
wref: string;
|
|
276
|
-
version: number;
|
|
277
|
-
memberCount: number;
|
|
278
|
-
uniqueMemberCount: number;
|
|
279
|
-
};
|
|
280
|
-
type CollectionType$1 = 'arc' | 'bond' | 'set' | 'list' | 'pair';
|
|
281
|
-
type ComponentDetail = {
|
|
282
|
-
ref?: string;
|
|
283
|
-
componentName: string;
|
|
284
|
-
version?: string;
|
|
285
|
-
state?: 'initiated' | 'active' | 'uninstalled';
|
|
286
|
-
source?: string;
|
|
287
|
-
sourceUrl?: string;
|
|
288
|
-
sourceRef?: string;
|
|
289
|
-
resolvedSha?: string;
|
|
290
|
-
manifestHash?: string;
|
|
291
|
-
installedAt?: string;
|
|
292
|
-
active: boolean;
|
|
293
|
-
latestVersion?: string;
|
|
294
|
-
updateAvailable?: boolean;
|
|
295
|
-
installedManifest: unknown;
|
|
296
|
-
installComponentId?: string;
|
|
297
|
-
ownedShapes: Array<{
|
|
298
|
-
name: string;
|
|
299
|
-
kind: 'shape';
|
|
300
|
-
active: boolean;
|
|
301
|
-
version: {
|
|
302
|
-
version: number;
|
|
303
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm';
|
|
304
|
-
data: unknown;
|
|
305
|
-
dataHash: string;
|
|
306
|
-
} | null;
|
|
307
|
-
componentRef?: string;
|
|
308
|
-
}>;
|
|
309
|
-
ownedThings: Array<{
|
|
310
|
-
wref: string;
|
|
311
|
-
name: string;
|
|
312
|
-
kind: 'shape' | 'thing' | 'assertion' | 'collection';
|
|
313
|
-
shapeName?: string;
|
|
314
|
-
componentRef?: string;
|
|
315
|
-
version: number;
|
|
316
|
-
createdAt: number;
|
|
317
|
-
data?: unknown;
|
|
318
|
-
active: boolean;
|
|
319
|
-
aboutWref?: string;
|
|
320
|
-
affirmedWrefs?: Array<string>;
|
|
321
|
-
roles?: Array<'from' | 'to' | 'ends' | 'first' | 'second'>;
|
|
322
|
-
metadata?: {
|
|
323
|
-
durableId: string;
|
|
324
|
-
createdOn: number;
|
|
325
|
-
revisedOn: number;
|
|
326
|
-
};
|
|
327
|
-
}>;
|
|
328
|
-
};
|
|
329
|
-
type ComponentHistoryResult = {
|
|
330
|
-
items: Array<{
|
|
331
|
-
ref: string;
|
|
332
|
-
kind: string;
|
|
333
|
-
version: string | null;
|
|
334
|
-
createdAt: number;
|
|
335
|
-
}>;
|
|
336
|
-
};
|
|
337
|
-
type ComponentInstallResult$1 = {
|
|
338
|
-
componentRef: string;
|
|
339
|
-
componentName: string;
|
|
340
|
-
version: string;
|
|
341
|
-
state: 'ready' | 'degraded';
|
|
342
|
-
setupCreates: Array<string>;
|
|
343
|
-
errors: Array<string>;
|
|
344
|
-
hasSetup: boolean;
|
|
345
|
-
submissionId: string;
|
|
346
|
-
eventReceipts: Array<{
|
|
347
|
-
event: {
|
|
348
|
-
committedAt: string;
|
|
349
|
-
eventDigest: string;
|
|
350
|
-
operationCount: number;
|
|
351
|
-
repo: {
|
|
352
|
-
orgName: string;
|
|
353
|
-
repoName: string;
|
|
354
|
-
};
|
|
355
|
-
repoSeq: string;
|
|
356
|
-
} | null;
|
|
357
|
-
eventRequestId: string;
|
|
358
|
-
operations: Array<{
|
|
359
|
-
opIndex?: number;
|
|
374
|
+
status: 'would_apply' | 'noop';
|
|
375
|
+
version?: number;
|
|
376
|
+
dataHash?: string;
|
|
377
|
+
wouldBeBody?: unknown;
|
|
378
|
+
effects?: Array<{
|
|
379
|
+
effectIndex: number;
|
|
380
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
360
381
|
name: string;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
382
|
+
warnings?: {
|
|
383
|
+
undeclaredFields?: Array<string>;
|
|
384
|
+
undeclaredFieldsTruncated?: true;
|
|
385
|
+
totalUndeclared?: number;
|
|
386
|
+
coalescedWrefs?: Array<{
|
|
387
|
+
fieldPath: string;
|
|
388
|
+
wref: string;
|
|
389
|
+
reason: string;
|
|
390
|
+
}>;
|
|
391
|
+
coalescedWrefsTruncated?: true;
|
|
392
|
+
totalCoalescedWrefs?: number;
|
|
393
|
+
deprecations?: Array<{
|
|
394
|
+
shape: string;
|
|
395
|
+
message: string;
|
|
396
|
+
removalMilestone: string;
|
|
397
|
+
}>;
|
|
398
|
+
};
|
|
365
399
|
affirmations?: {
|
|
366
400
|
added: Array<string>;
|
|
367
401
|
removed: Array<string>;
|
|
368
402
|
ignored: Array<string>;
|
|
369
403
|
};
|
|
404
|
+
status: 'would_apply' | 'noop';
|
|
405
|
+
version?: number;
|
|
406
|
+
dataHash?: string;
|
|
407
|
+
wouldBeBody?: unknown;
|
|
408
|
+
} | {
|
|
409
|
+
effectIndex: number;
|
|
410
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
411
|
+
name: string;
|
|
370
412
|
warnings?: {
|
|
371
413
|
undeclaredFields?: Array<string>;
|
|
372
414
|
undeclaredFieldsTruncated?: true;
|
|
@@ -384,16 +426,16 @@ type ComponentInstallResult$1 = {
|
|
|
384
426
|
removalMilestone: string;
|
|
385
427
|
}>;
|
|
386
428
|
};
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
error?: {
|
|
429
|
+
affirmations?: {
|
|
430
|
+
added: Array<string>;
|
|
431
|
+
removed: Array<string>;
|
|
432
|
+
ignored: Array<string>;
|
|
433
|
+
};
|
|
434
|
+
status: 'error';
|
|
435
|
+
errors: Array<{
|
|
395
436
|
code: string;
|
|
396
437
|
message: string;
|
|
438
|
+
path?: string;
|
|
397
439
|
details?: {
|
|
398
440
|
reason: 'expected_version_mismatch';
|
|
399
441
|
expectedVersion: number;
|
|
@@ -415,10 +457,105 @@ type ComponentInstallResult$1 = {
|
|
|
415
457
|
reason: 'cursor_fence_unavailable';
|
|
416
458
|
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
417
459
|
retryFromStart: true;
|
|
460
|
+
} | {
|
|
461
|
+
reason: 'dependency_failed';
|
|
462
|
+
producerOpIndexes: Array<number>;
|
|
418
463
|
};
|
|
464
|
+
retryable?: boolean;
|
|
465
|
+
}>;
|
|
466
|
+
} | {
|
|
467
|
+
effectIndex: number;
|
|
468
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
469
|
+
name: string;
|
|
470
|
+
warnings?: {
|
|
471
|
+
undeclaredFields?: Array<string>;
|
|
472
|
+
undeclaredFieldsTruncated?: true;
|
|
473
|
+
totalUndeclared?: number;
|
|
474
|
+
coalescedWrefs?: Array<{
|
|
475
|
+
fieldPath: string;
|
|
476
|
+
wref: string;
|
|
477
|
+
reason: string;
|
|
478
|
+
}>;
|
|
479
|
+
coalescedWrefsTruncated?: true;
|
|
480
|
+
totalCoalescedWrefs?: number;
|
|
481
|
+
deprecations?: Array<{
|
|
482
|
+
shape: string;
|
|
483
|
+
message: string;
|
|
484
|
+
removalMilestone: string;
|
|
485
|
+
}>;
|
|
486
|
+
};
|
|
487
|
+
affirmations?: {
|
|
488
|
+
added: Array<string>;
|
|
489
|
+
removed: Array<string>;
|
|
490
|
+
ignored: Array<string>;
|
|
491
|
+
};
|
|
492
|
+
status: 'discarded';
|
|
493
|
+
reason: 'sibling_failed';
|
|
494
|
+
}>;
|
|
495
|
+
} | {
|
|
496
|
+
opIndex: number;
|
|
497
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
498
|
+
name: string;
|
|
499
|
+
submittedName?: string;
|
|
500
|
+
resolvedName?: string;
|
|
501
|
+
warnings?: {
|
|
502
|
+
undeclaredFields?: Array<string>;
|
|
503
|
+
undeclaredFieldsTruncated?: true;
|
|
504
|
+
totalUndeclared?: number;
|
|
505
|
+
coalescedWrefs?: Array<{
|
|
506
|
+
fieldPath: string;
|
|
507
|
+
wref: string;
|
|
508
|
+
reason: string;
|
|
509
|
+
}>;
|
|
510
|
+
coalescedWrefsTruncated?: true;
|
|
511
|
+
totalCoalescedWrefs?: number;
|
|
512
|
+
deprecations?: Array<{
|
|
513
|
+
shape: string;
|
|
514
|
+
message: string;
|
|
515
|
+
removalMilestone: string;
|
|
516
|
+
}>;
|
|
517
|
+
};
|
|
518
|
+
affirmations?: {
|
|
519
|
+
added: Array<string>;
|
|
520
|
+
removed: Array<string>;
|
|
521
|
+
ignored: Array<string>;
|
|
522
|
+
};
|
|
523
|
+
status: 'error';
|
|
524
|
+
errors: Array<{
|
|
525
|
+
code: string;
|
|
526
|
+
message: string;
|
|
527
|
+
path?: string;
|
|
528
|
+
details?: {
|
|
529
|
+
reason: 'expected_version_mismatch';
|
|
530
|
+
expectedVersion: number;
|
|
531
|
+
currentVersion: number;
|
|
532
|
+
} | {
|
|
533
|
+
reason: 'lease_held';
|
|
534
|
+
leaseExpiresAt: string;
|
|
535
|
+
} | {
|
|
536
|
+
reason: 'validation_failed';
|
|
537
|
+
issues: Array<{
|
|
538
|
+
path: string;
|
|
539
|
+
message: string;
|
|
540
|
+
}>;
|
|
541
|
+
} | {
|
|
542
|
+
reason: 'rate_limit_reset';
|
|
543
|
+
retryAfterSeconds: number;
|
|
544
|
+
resetAt: string;
|
|
545
|
+
} | {
|
|
546
|
+
reason: 'cursor_fence_unavailable';
|
|
547
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
548
|
+
retryFromStart: true;
|
|
549
|
+
} | {
|
|
550
|
+
reason: 'dependency_failed';
|
|
551
|
+
producerOpIndexes: Array<number>;
|
|
419
552
|
};
|
|
420
|
-
resolvedName?: string;
|
|
421
553
|
retryable?: boolean;
|
|
554
|
+
}>;
|
|
555
|
+
effects?: Array<{
|
|
556
|
+
effectIndex: number;
|
|
557
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
558
|
+
name: string;
|
|
422
559
|
warnings?: {
|
|
423
560
|
undeclaredFields?: Array<string>;
|
|
424
561
|
undeclaredFieldsTruncated?: true;
|
|
@@ -441,80 +578,14 @@ type ComponentInstallResult$1 = {
|
|
|
441
578
|
removed: Array<string>;
|
|
442
579
|
ignored: Array<string>;
|
|
443
580
|
};
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
type ComponentListResult = {
|
|
452
|
-
items: Array<{
|
|
453
|
-
ref?: string;
|
|
454
|
-
componentName: string;
|
|
455
|
-
version?: string;
|
|
456
|
-
state?: 'initiated' | 'active' | 'uninstalled';
|
|
457
|
-
source?: string;
|
|
458
|
-
sourceUrl?: string;
|
|
459
|
-
sourceRef?: string;
|
|
460
|
-
resolvedSha?: string;
|
|
461
|
-
manifestHash?: string;
|
|
462
|
-
installedAt?: string;
|
|
463
|
-
active: boolean;
|
|
464
|
-
latestVersion?: string;
|
|
465
|
-
updateAvailable?: boolean;
|
|
466
|
-
}>;
|
|
467
|
-
nextCursor?: string;
|
|
468
|
-
};
|
|
469
|
-
type ComponentSummary = {
|
|
470
|
-
ref?: string;
|
|
471
|
-
componentName: string;
|
|
472
|
-
version?: string;
|
|
473
|
-
state?: 'initiated' | 'active' | 'uninstalled';
|
|
474
|
-
source?: string;
|
|
475
|
-
sourceUrl?: string;
|
|
476
|
-
sourceRef?: string;
|
|
477
|
-
resolvedSha?: string;
|
|
478
|
-
manifestHash?: string;
|
|
479
|
-
installedAt?: string;
|
|
480
|
-
active: boolean;
|
|
481
|
-
latestVersion?: string;
|
|
482
|
-
updateAvailable?: boolean;
|
|
483
|
-
};
|
|
484
|
-
type ComponentUninstallResult$1 = {
|
|
485
|
-
componentRef: string;
|
|
486
|
-
componentName: string;
|
|
487
|
-
state: 'uninstalled';
|
|
488
|
-
pausedSubscriptions: Array<string>;
|
|
489
|
-
releasedShapes: Array<string>;
|
|
490
|
-
tokensRevoked: number;
|
|
491
|
-
uninstallDispatched: boolean;
|
|
492
|
-
warnings: Array<string>;
|
|
493
|
-
submissionId: string;
|
|
494
|
-
eventReceipts: Array<{
|
|
495
|
-
event: {
|
|
496
|
-
committedAt: string;
|
|
497
|
-
eventDigest: string;
|
|
498
|
-
operationCount: number;
|
|
499
|
-
repo: {
|
|
500
|
-
orgName: string;
|
|
501
|
-
repoName: string;
|
|
502
|
-
};
|
|
503
|
-
repoSeq: string;
|
|
504
|
-
} | null;
|
|
505
|
-
eventRequestId: string;
|
|
506
|
-
operations: Array<{
|
|
507
|
-
opIndex?: number;
|
|
581
|
+
status: 'would_apply' | 'noop';
|
|
582
|
+
version?: number;
|
|
583
|
+
dataHash?: string;
|
|
584
|
+
wouldBeBody?: unknown;
|
|
585
|
+
} | {
|
|
586
|
+
effectIndex: number;
|
|
587
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
508
588
|
name: string;
|
|
509
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
510
|
-
version: number;
|
|
511
|
-
dataHash: string;
|
|
512
|
-
status?: 'applied' | 'noop';
|
|
513
|
-
affirmations?: {
|
|
514
|
-
added: Array<string>;
|
|
515
|
-
removed: Array<string>;
|
|
516
|
-
ignored: Array<string>;
|
|
517
|
-
};
|
|
518
589
|
warnings?: {
|
|
519
590
|
undeclaredFields?: Array<string>;
|
|
520
591
|
undeclaredFieldsTruncated?: true;
|
|
@@ -532,16 +603,16 @@ type ComponentUninstallResult$1 = {
|
|
|
532
603
|
removalMilestone: string;
|
|
533
604
|
}>;
|
|
534
605
|
};
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
error?: {
|
|
606
|
+
affirmations?: {
|
|
607
|
+
added: Array<string>;
|
|
608
|
+
removed: Array<string>;
|
|
609
|
+
ignored: Array<string>;
|
|
610
|
+
};
|
|
611
|
+
status: 'error';
|
|
612
|
+
errors: Array<{
|
|
543
613
|
code: string;
|
|
544
614
|
message: string;
|
|
615
|
+
path?: string;
|
|
545
616
|
details?: {
|
|
546
617
|
reason: 'expected_version_mismatch';
|
|
547
618
|
expectedVersion: number;
|
|
@@ -563,10 +634,16 @@ type ComponentUninstallResult$1 = {
|
|
|
563
634
|
reason: 'cursor_fence_unavailable';
|
|
564
635
|
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
565
636
|
retryFromStart: true;
|
|
637
|
+
} | {
|
|
638
|
+
reason: 'dependency_failed';
|
|
639
|
+
producerOpIndexes: Array<number>;
|
|
566
640
|
};
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
641
|
+
retryable?: boolean;
|
|
642
|
+
}>;
|
|
643
|
+
} | {
|
|
644
|
+
effectIndex: number;
|
|
645
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
646
|
+
name: string;
|
|
570
647
|
warnings?: {
|
|
571
648
|
undeclaredFields?: Array<string>;
|
|
572
649
|
undeclaredFieldsTruncated?: true;
|
|
@@ -589,273 +666,2494 @@ type ComponentUninstallResult$1 = {
|
|
|
589
666
|
removed: Array<string>;
|
|
590
667
|
ignored: Array<string>;
|
|
591
668
|
};
|
|
669
|
+
status: 'discarded';
|
|
670
|
+
reason: 'sibling_failed';
|
|
592
671
|
}>;
|
|
593
|
-
outcome: 'event' | 'no_event';
|
|
594
|
-
requestDigest: string;
|
|
595
|
-
schemaVersion: 'operation-event-receipt/v1';
|
|
596
|
-
submissionId?: string;
|
|
597
672
|
}>;
|
|
598
673
|
};
|
|
599
|
-
type
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
};
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
minSupportedSdk: string;
|
|
614
|
-
minSupportedClients: Record<string, string>;
|
|
615
|
-
writeContractVersion: number;
|
|
616
|
-
features: Record<string, boolean>;
|
|
617
|
-
honoredClientFlags: Array<string>;
|
|
618
|
-
};
|
|
619
|
-
type GrantCreateInput = {
|
|
620
|
-
orgName: string;
|
|
621
|
-
repoName: string;
|
|
622
|
-
idempotencyKey: string;
|
|
623
|
-
recipient: {
|
|
624
|
-
kind: 'member';
|
|
625
|
-
email: string;
|
|
626
|
-
} | {
|
|
627
|
-
kind: 'pat';
|
|
674
|
+
type OperationEventReceipt$1 = {
|
|
675
|
+
event: {
|
|
676
|
+
committedAt: string;
|
|
677
|
+
eventDigest: string;
|
|
678
|
+
operationCount: number;
|
|
679
|
+
repo: {
|
|
680
|
+
orgName: string;
|
|
681
|
+
repoName: string;
|
|
682
|
+
};
|
|
683
|
+
repoSeq: string;
|
|
684
|
+
} | null;
|
|
685
|
+
eventRequestId: string;
|
|
686
|
+
operations: Array<{
|
|
687
|
+
opIndex?: number;
|
|
628
688
|
name: string;
|
|
689
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
690
|
+
version: number;
|
|
691
|
+
dataHash: string;
|
|
692
|
+
status?: 'applied' | 'noop';
|
|
693
|
+
affirmations?: {
|
|
694
|
+
added: Array<string>;
|
|
695
|
+
removed: Array<string>;
|
|
696
|
+
ignored: Array<string>;
|
|
697
|
+
};
|
|
698
|
+
warnings?: {
|
|
699
|
+
undeclaredFields?: Array<string>;
|
|
700
|
+
undeclaredFieldsTruncated?: true;
|
|
701
|
+
totalUndeclared?: number;
|
|
702
|
+
coalescedWrefs?: Array<{
|
|
703
|
+
fieldPath: string;
|
|
704
|
+
wref: string;
|
|
705
|
+
reason: string;
|
|
706
|
+
}>;
|
|
707
|
+
coalescedWrefsTruncated?: true;
|
|
708
|
+
totalCoalescedWrefs?: number;
|
|
709
|
+
deprecations?: Array<{
|
|
710
|
+
shape: string;
|
|
711
|
+
message: string;
|
|
712
|
+
removalMilestone: string;
|
|
713
|
+
}>;
|
|
714
|
+
};
|
|
629
715
|
} | {
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
716
|
+
opIndex?: number;
|
|
717
|
+
name: string;
|
|
718
|
+
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
719
|
+
version?: number;
|
|
720
|
+
dataHash?: string;
|
|
721
|
+
status?: 'success' | 'noop' | 'failed';
|
|
722
|
+
error?: {
|
|
723
|
+
code: string;
|
|
724
|
+
message: string;
|
|
725
|
+
details?: {
|
|
726
|
+
reason: 'expected_version_mismatch';
|
|
727
|
+
expectedVersion: number;
|
|
728
|
+
currentVersion: number;
|
|
729
|
+
} | {
|
|
730
|
+
reason: 'lease_held';
|
|
731
|
+
leaseExpiresAt: string;
|
|
732
|
+
} | {
|
|
733
|
+
reason: 'validation_failed';
|
|
734
|
+
issues: Array<{
|
|
735
|
+
path: string;
|
|
736
|
+
message: string;
|
|
737
|
+
}>;
|
|
738
|
+
} | {
|
|
739
|
+
reason: 'rate_limit_reset';
|
|
740
|
+
retryAfterSeconds: number;
|
|
741
|
+
resetAt: string;
|
|
742
|
+
} | {
|
|
743
|
+
reason: 'cursor_fence_unavailable';
|
|
744
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
745
|
+
retryFromStart: true;
|
|
746
|
+
};
|
|
653
747
|
};
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
748
|
+
resolvedName?: string;
|
|
749
|
+
retryable?: boolean;
|
|
750
|
+
warnings?: {
|
|
751
|
+
undeclaredFields?: Array<string>;
|
|
752
|
+
undeclaredFieldsTruncated?: true;
|
|
753
|
+
totalUndeclared?: number;
|
|
754
|
+
coalescedWrefs?: Array<{
|
|
755
|
+
fieldPath: string;
|
|
756
|
+
wref: string;
|
|
757
|
+
reason: string;
|
|
758
|
+
}>;
|
|
759
|
+
coalescedWrefsTruncated?: true;
|
|
760
|
+
totalCoalescedWrefs?: number;
|
|
761
|
+
deprecations?: Array<{
|
|
762
|
+
shape: string;
|
|
763
|
+
message: string;
|
|
764
|
+
removalMilestone: string;
|
|
765
|
+
}>;
|
|
657
766
|
};
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
type GrantView = {
|
|
679
|
-
id: string;
|
|
680
|
-
grantee: {
|
|
681
|
-
principalId: string;
|
|
682
|
-
principalKind: 'anonymous' | 'member' | 'pat' | 'component';
|
|
683
|
-
};
|
|
684
|
-
issuer: {
|
|
685
|
-
principalId: string;
|
|
686
|
-
principalKind: 'anonymous' | 'member' | 'pat' | 'component';
|
|
687
|
-
};
|
|
688
|
-
idempotencyKey: string;
|
|
689
|
-
requestHash: string;
|
|
690
|
-
coverage: {
|
|
691
|
-
include: Array<string>;
|
|
692
|
-
exclude?: Array<string>;
|
|
767
|
+
affirmations?: {
|
|
768
|
+
added: Array<string>;
|
|
769
|
+
removed: Array<string>;
|
|
770
|
+
ignored: Array<string>;
|
|
771
|
+
};
|
|
772
|
+
}>;
|
|
773
|
+
outcome: 'event' | 'no_event';
|
|
774
|
+
requestDigest: string;
|
|
775
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
776
|
+
submissionId?: string;
|
|
777
|
+
} | {
|
|
778
|
+
event: {
|
|
779
|
+
committedAt: string;
|
|
780
|
+
eventDigest: string;
|
|
781
|
+
operationCount: number;
|
|
782
|
+
repo: {
|
|
783
|
+
orgName: string;
|
|
784
|
+
repoName: string;
|
|
785
|
+
};
|
|
786
|
+
repoSeq: string;
|
|
693
787
|
} | null;
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
788
|
+
eventRequestId: string;
|
|
789
|
+
operations: Array<{
|
|
790
|
+
opIndex: number;
|
|
791
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
792
|
+
name: string;
|
|
793
|
+
submittedName?: string;
|
|
794
|
+
resolvedName?: string;
|
|
795
|
+
warnings?: {
|
|
796
|
+
undeclaredFields?: Array<string>;
|
|
797
|
+
undeclaredFieldsTruncated?: true;
|
|
798
|
+
totalUndeclared?: number;
|
|
799
|
+
coalescedWrefs?: Array<{
|
|
800
|
+
fieldPath: string;
|
|
801
|
+
wref: string;
|
|
802
|
+
reason: string;
|
|
803
|
+
}>;
|
|
804
|
+
coalescedWrefsTruncated?: true;
|
|
805
|
+
totalCoalescedWrefs?: number;
|
|
806
|
+
deprecations?: Array<{
|
|
807
|
+
shape: string;
|
|
808
|
+
message: string;
|
|
809
|
+
removalMilestone: string;
|
|
810
|
+
}>;
|
|
811
|
+
};
|
|
812
|
+
affirmations?: {
|
|
813
|
+
added: Array<string>;
|
|
814
|
+
removed: Array<string>;
|
|
815
|
+
ignored: Array<string>;
|
|
816
|
+
};
|
|
817
|
+
status: 'applied' | 'noop';
|
|
818
|
+
version?: number;
|
|
819
|
+
dataHash?: string;
|
|
820
|
+
} | {
|
|
821
|
+
opIndex: number;
|
|
822
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
823
|
+
name: string;
|
|
824
|
+
submittedName?: string;
|
|
825
|
+
resolvedName?: string;
|
|
826
|
+
warnings?: {
|
|
827
|
+
undeclaredFields?: Array<string>;
|
|
828
|
+
undeclaredFieldsTruncated?: true;
|
|
829
|
+
totalUndeclared?: number;
|
|
830
|
+
coalescedWrefs?: Array<{
|
|
831
|
+
fieldPath: string;
|
|
832
|
+
wref: string;
|
|
833
|
+
reason: string;
|
|
834
|
+
}>;
|
|
835
|
+
coalescedWrefsTruncated?: true;
|
|
836
|
+
totalCoalescedWrefs?: number;
|
|
837
|
+
deprecations?: Array<{
|
|
838
|
+
shape: string;
|
|
839
|
+
message: string;
|
|
840
|
+
removalMilestone: string;
|
|
841
|
+
}>;
|
|
842
|
+
};
|
|
843
|
+
affirmations?: {
|
|
844
|
+
added: Array<string>;
|
|
845
|
+
removed: Array<string>;
|
|
846
|
+
ignored: Array<string>;
|
|
847
|
+
};
|
|
848
|
+
status: 'error';
|
|
849
|
+
errors: Array<{
|
|
850
|
+
code: string;
|
|
851
|
+
message: string;
|
|
852
|
+
path?: string;
|
|
853
|
+
details?: {
|
|
854
|
+
reason: 'expected_version_mismatch';
|
|
855
|
+
expectedVersion: number;
|
|
856
|
+
currentVersion: number;
|
|
857
|
+
} | {
|
|
858
|
+
reason: 'lease_held';
|
|
859
|
+
leaseExpiresAt: string;
|
|
860
|
+
} | {
|
|
861
|
+
reason: 'validation_failed';
|
|
862
|
+
issues: Array<{
|
|
863
|
+
path: string;
|
|
864
|
+
message: string;
|
|
865
|
+
}>;
|
|
866
|
+
} | {
|
|
867
|
+
reason: 'rate_limit_reset';
|
|
868
|
+
retryAfterSeconds: number;
|
|
869
|
+
resetAt: string;
|
|
870
|
+
} | {
|
|
871
|
+
reason: 'cursor_fence_unavailable';
|
|
872
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
873
|
+
retryFromStart: true;
|
|
874
|
+
} | {
|
|
875
|
+
reason: 'dependency_failed';
|
|
876
|
+
producerOpIndexes: Array<number>;
|
|
736
877
|
};
|
|
878
|
+
retryable?: boolean;
|
|
737
879
|
}>;
|
|
738
880
|
}>;
|
|
881
|
+
outcome: 'event' | 'no_event';
|
|
882
|
+
requestDigest: string;
|
|
883
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
884
|
+
submissionId?: string;
|
|
739
885
|
};
|
|
740
|
-
type
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
end: number;
|
|
753
|
-
}>;
|
|
886
|
+
type OperationEventReceiptV1$1 = {
|
|
887
|
+
event: {
|
|
888
|
+
committedAt: string;
|
|
889
|
+
eventDigest: string;
|
|
890
|
+
operationCount: number;
|
|
891
|
+
repo: {
|
|
892
|
+
orgName: string;
|
|
893
|
+
repoName: string;
|
|
894
|
+
};
|
|
895
|
+
repoSeq: string;
|
|
896
|
+
} | null;
|
|
897
|
+
eventRequestId: string;
|
|
754
898
|
operations: Array<{
|
|
755
|
-
|
|
756
|
-
kind: 'shape';
|
|
757
|
-
name: string;
|
|
758
|
-
data: unknown;
|
|
759
|
-
affirmedTargets?: never;
|
|
760
|
-
skipExisting?: boolean;
|
|
761
|
-
} | {
|
|
762
|
-
operation: 'add';
|
|
763
|
-
kind: 'thing';
|
|
764
|
-
name: string;
|
|
765
|
-
data: unknown;
|
|
766
|
-
affirmedTargets?: never;
|
|
767
|
-
skipExisting?: boolean;
|
|
768
|
-
} | {
|
|
769
|
-
operation: 'add';
|
|
770
|
-
kind: 'assertion';
|
|
771
|
-
name: string;
|
|
772
|
-
about: string;
|
|
773
|
-
data: unknown;
|
|
774
|
-
affirmedTargets?: Array<string>;
|
|
775
|
-
skipExisting?: boolean;
|
|
776
|
-
} | {
|
|
777
|
-
operation: 'add';
|
|
778
|
-
kind: 'collection';
|
|
899
|
+
opIndex?: number;
|
|
779
900
|
name: string;
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
901
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
902
|
+
version: number;
|
|
903
|
+
dataHash: string;
|
|
904
|
+
status?: 'applied' | 'noop';
|
|
905
|
+
affirmations?: {
|
|
906
|
+
added: Array<string>;
|
|
907
|
+
removed: Array<string>;
|
|
908
|
+
ignored: Array<string>;
|
|
909
|
+
};
|
|
910
|
+
warnings?: {
|
|
911
|
+
undeclaredFields?: Array<string>;
|
|
912
|
+
undeclaredFieldsTruncated?: true;
|
|
913
|
+
totalUndeclared?: number;
|
|
914
|
+
coalescedWrefs?: Array<{
|
|
915
|
+
fieldPath: string;
|
|
916
|
+
wref: string;
|
|
917
|
+
reason: string;
|
|
918
|
+
}>;
|
|
919
|
+
coalescedWrefsTruncated?: true;
|
|
920
|
+
totalCoalescedWrefs?: number;
|
|
921
|
+
deprecations?: Array<{
|
|
922
|
+
shape: string;
|
|
923
|
+
message: string;
|
|
924
|
+
removalMilestone: string;
|
|
925
|
+
}>;
|
|
926
|
+
};
|
|
784
927
|
} | {
|
|
785
|
-
|
|
786
|
-
kind: 'shape';
|
|
928
|
+
opIndex?: number;
|
|
787
929
|
name: string;
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
930
|
+
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
931
|
+
version?: number;
|
|
932
|
+
dataHash?: string;
|
|
933
|
+
status?: 'success' | 'noop' | 'failed';
|
|
934
|
+
error?: {
|
|
935
|
+
code: string;
|
|
936
|
+
message: string;
|
|
937
|
+
details?: {
|
|
938
|
+
reason: 'expected_version_mismatch';
|
|
939
|
+
expectedVersion: number;
|
|
940
|
+
currentVersion: number;
|
|
941
|
+
} | {
|
|
942
|
+
reason: 'lease_held';
|
|
943
|
+
leaseExpiresAt: string;
|
|
944
|
+
} | {
|
|
945
|
+
reason: 'validation_failed';
|
|
946
|
+
issues: Array<{
|
|
947
|
+
path: string;
|
|
948
|
+
message: string;
|
|
949
|
+
}>;
|
|
950
|
+
} | {
|
|
951
|
+
reason: 'rate_limit_reset';
|
|
952
|
+
retryAfterSeconds: number;
|
|
953
|
+
resetAt: string;
|
|
954
|
+
} | {
|
|
955
|
+
reason: 'cursor_fence_unavailable';
|
|
956
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
957
|
+
retryFromStart: true;
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
resolvedName?: string;
|
|
961
|
+
retryable?: boolean;
|
|
962
|
+
warnings?: {
|
|
963
|
+
undeclaredFields?: Array<string>;
|
|
964
|
+
undeclaredFieldsTruncated?: true;
|
|
965
|
+
totalUndeclared?: number;
|
|
966
|
+
coalescedWrefs?: Array<{
|
|
967
|
+
fieldPath: string;
|
|
968
|
+
wref: string;
|
|
969
|
+
reason: string;
|
|
970
|
+
}>;
|
|
971
|
+
coalescedWrefsTruncated?: true;
|
|
972
|
+
totalCoalescedWrefs?: number;
|
|
973
|
+
deprecations?: Array<{
|
|
974
|
+
shape: string;
|
|
975
|
+
message: string;
|
|
976
|
+
removalMilestone: string;
|
|
977
|
+
}>;
|
|
978
|
+
};
|
|
979
|
+
affirmations?: {
|
|
980
|
+
added: Array<string>;
|
|
981
|
+
removed: Array<string>;
|
|
982
|
+
ignored: Array<string>;
|
|
983
|
+
};
|
|
984
|
+
}>;
|
|
985
|
+
outcome: 'event' | 'no_event';
|
|
986
|
+
requestDigest: string;
|
|
987
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
988
|
+
submissionId?: string;
|
|
989
|
+
};
|
|
990
|
+
type CollectionContainsResult$1 = {
|
|
991
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
|
|
992
|
+
wref: string;
|
|
993
|
+
version: number;
|
|
994
|
+
results: Array<{
|
|
995
|
+
member: string;
|
|
996
|
+
contains: boolean;
|
|
997
|
+
positions?: Array<number>;
|
|
998
|
+
}>;
|
|
999
|
+
};
|
|
1000
|
+
type CollectionDiffResult$1 = {
|
|
1001
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
|
|
1002
|
+
leftWref: string;
|
|
1003
|
+
rightWref: string;
|
|
1004
|
+
leftVersion: number;
|
|
1005
|
+
rightVersion: number;
|
|
1006
|
+
mode: 'membership' | 'ordered';
|
|
1007
|
+
added: Array<{
|
|
1008
|
+
wref: string;
|
|
1009
|
+
position?: number;
|
|
1010
|
+
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
1011
|
+
}>;
|
|
1012
|
+
removed: Array<{
|
|
1013
|
+
wref: string;
|
|
1014
|
+
position?: number;
|
|
1015
|
+
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
1016
|
+
}>;
|
|
1017
|
+
unchanged: Array<{
|
|
1018
|
+
wref: string;
|
|
1019
|
+
position?: number;
|
|
1020
|
+
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
1021
|
+
}>;
|
|
1022
|
+
changed: Array<{
|
|
1023
|
+
position: number;
|
|
1024
|
+
left?: {
|
|
1025
|
+
wref: string;
|
|
1026
|
+
position?: number;
|
|
1027
|
+
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
1028
|
+
};
|
|
1029
|
+
right?: {
|
|
1030
|
+
wref: string;
|
|
1031
|
+
position?: number;
|
|
1032
|
+
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
1033
|
+
};
|
|
1034
|
+
}>;
|
|
1035
|
+
};
|
|
1036
|
+
type CollectionMember$1 = {
|
|
1037
|
+
wref: string;
|
|
1038
|
+
position?: number;
|
|
1039
|
+
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
1040
|
+
};
|
|
1041
|
+
type CollectionMembersPage$1 = {
|
|
1042
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
|
|
1043
|
+
wref: string;
|
|
1044
|
+
version: number;
|
|
1045
|
+
items: Array<{
|
|
1046
|
+
wref: string;
|
|
1047
|
+
position?: number;
|
|
1048
|
+
fieldPath: 'from' | 'to' | 'ends' | 'first' | 'second' | 'third' | 'members' | 'items';
|
|
1049
|
+
}>;
|
|
1050
|
+
nextCursor?: string;
|
|
1051
|
+
};
|
|
1052
|
+
type CollectionStatsResult$1 = {
|
|
1053
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list' | 'triple';
|
|
1054
|
+
wref: string;
|
|
1055
|
+
version: number;
|
|
1056
|
+
memberCount: number;
|
|
1057
|
+
uniqueMemberCount: number;
|
|
1058
|
+
};
|
|
1059
|
+
type CollectionType$1 = 'arc' | 'bond' | 'set' | 'list' | 'pair';
|
|
1060
|
+
type ComponentDetail = {
|
|
1061
|
+
ref?: string;
|
|
1062
|
+
componentName: string;
|
|
1063
|
+
version?: string;
|
|
1064
|
+
state?: 'initiated' | 'active' | 'uninstalled';
|
|
1065
|
+
source?: string;
|
|
1066
|
+
sourceUrl?: string;
|
|
1067
|
+
sourceRef?: string;
|
|
1068
|
+
resolvedSha?: string;
|
|
1069
|
+
manifestHash?: string;
|
|
1070
|
+
installedAt?: string;
|
|
1071
|
+
active: boolean;
|
|
1072
|
+
latestVersion?: string;
|
|
1073
|
+
updateAvailable?: boolean;
|
|
1074
|
+
installedManifest: unknown;
|
|
1075
|
+
installComponentId?: string;
|
|
1076
|
+
ownedShapes: Array<{
|
|
796
1077
|
name: string;
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
1078
|
+
kind: 'shape';
|
|
1079
|
+
active: boolean;
|
|
1080
|
+
version: {
|
|
1081
|
+
version: number;
|
|
1082
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm';
|
|
1083
|
+
data: unknown;
|
|
1084
|
+
dataHash: string;
|
|
1085
|
+
} | null;
|
|
1086
|
+
componentRef?: string;
|
|
1087
|
+
}>;
|
|
1088
|
+
ownedThings: Array<{
|
|
1089
|
+
wref: string;
|
|
805
1090
|
name: string;
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
1091
|
+
kind: 'shape' | 'thing' | 'assertion' | 'collection';
|
|
1092
|
+
shapeName?: string;
|
|
1093
|
+
componentRef?: string;
|
|
1094
|
+
version: number;
|
|
1095
|
+
createdAt: number;
|
|
1096
|
+
data?: unknown;
|
|
1097
|
+
active: boolean;
|
|
1098
|
+
aboutWref?: string;
|
|
1099
|
+
affirmedWrefs?: Array<string>;
|
|
1100
|
+
roles?: Array<'from' | 'to' | 'ends' | 'first' | 'second'>;
|
|
1101
|
+
metadata?: {
|
|
1102
|
+
durableId: string;
|
|
1103
|
+
createdOn: number;
|
|
1104
|
+
revisedOn: number;
|
|
1105
|
+
};
|
|
1106
|
+
}>;
|
|
1107
|
+
};
|
|
1108
|
+
type ComponentHistoryResult = {
|
|
1109
|
+
items: Array<{
|
|
1110
|
+
ref: string;
|
|
1111
|
+
kind: string;
|
|
1112
|
+
version: string | null;
|
|
1113
|
+
createdAt: number;
|
|
1114
|
+
}>;
|
|
1115
|
+
};
|
|
1116
|
+
type ComponentInstallResult$1 = {
|
|
1117
|
+
componentRef: string;
|
|
1118
|
+
componentName: string;
|
|
1119
|
+
version: string;
|
|
1120
|
+
state: 'ready' | 'degraded';
|
|
1121
|
+
setupCreates: Array<string>;
|
|
1122
|
+
errors: Array<string>;
|
|
1123
|
+
hasSetup: boolean;
|
|
1124
|
+
submissionId: string;
|
|
1125
|
+
eventReceipts: Array<{
|
|
1126
|
+
event: {
|
|
1127
|
+
committedAt: string;
|
|
1128
|
+
eventDigest: string;
|
|
1129
|
+
operationCount: number;
|
|
1130
|
+
repo: {
|
|
1131
|
+
orgName: string;
|
|
1132
|
+
repoName: string;
|
|
1133
|
+
};
|
|
1134
|
+
repoSeq: string;
|
|
1135
|
+
} | null;
|
|
1136
|
+
eventRequestId: string;
|
|
1137
|
+
operations: Array<{
|
|
1138
|
+
opIndex?: number;
|
|
1139
|
+
name: string;
|
|
1140
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
1141
|
+
version: number;
|
|
1142
|
+
dataHash: string;
|
|
1143
|
+
status?: 'applied' | 'noop';
|
|
1144
|
+
affirmations?: {
|
|
1145
|
+
added: Array<string>;
|
|
1146
|
+
removed: Array<string>;
|
|
1147
|
+
ignored: Array<string>;
|
|
1148
|
+
};
|
|
1149
|
+
warnings?: {
|
|
1150
|
+
undeclaredFields?: Array<string>;
|
|
1151
|
+
undeclaredFieldsTruncated?: true;
|
|
1152
|
+
totalUndeclared?: number;
|
|
1153
|
+
coalescedWrefs?: Array<{
|
|
1154
|
+
fieldPath: string;
|
|
1155
|
+
wref: string;
|
|
1156
|
+
reason: string;
|
|
1157
|
+
}>;
|
|
1158
|
+
coalescedWrefsTruncated?: true;
|
|
1159
|
+
totalCoalescedWrefs?: number;
|
|
1160
|
+
deprecations?: Array<{
|
|
1161
|
+
shape: string;
|
|
1162
|
+
message: string;
|
|
1163
|
+
removalMilestone: string;
|
|
1164
|
+
}>;
|
|
1165
|
+
};
|
|
1166
|
+
} | {
|
|
1167
|
+
opIndex?: number;
|
|
1168
|
+
name: string;
|
|
1169
|
+
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
1170
|
+
version?: number;
|
|
1171
|
+
dataHash?: string;
|
|
1172
|
+
status?: 'success' | 'noop' | 'failed';
|
|
1173
|
+
error?: {
|
|
1174
|
+
code: string;
|
|
1175
|
+
message: string;
|
|
1176
|
+
details?: {
|
|
1177
|
+
reason: 'expected_version_mismatch';
|
|
1178
|
+
expectedVersion: number;
|
|
1179
|
+
currentVersion: number;
|
|
1180
|
+
} | {
|
|
1181
|
+
reason: 'lease_held';
|
|
1182
|
+
leaseExpiresAt: string;
|
|
1183
|
+
} | {
|
|
1184
|
+
reason: 'validation_failed';
|
|
1185
|
+
issues: Array<{
|
|
1186
|
+
path: string;
|
|
1187
|
+
message: string;
|
|
1188
|
+
}>;
|
|
1189
|
+
} | {
|
|
1190
|
+
reason: 'rate_limit_reset';
|
|
1191
|
+
retryAfterSeconds: number;
|
|
1192
|
+
resetAt: string;
|
|
1193
|
+
} | {
|
|
1194
|
+
reason: 'cursor_fence_unavailable';
|
|
1195
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
1196
|
+
retryFromStart: true;
|
|
1197
|
+
};
|
|
1198
|
+
};
|
|
1199
|
+
resolvedName?: string;
|
|
1200
|
+
retryable?: boolean;
|
|
1201
|
+
warnings?: {
|
|
1202
|
+
undeclaredFields?: Array<string>;
|
|
1203
|
+
undeclaredFieldsTruncated?: true;
|
|
1204
|
+
totalUndeclared?: number;
|
|
1205
|
+
coalescedWrefs?: Array<{
|
|
1206
|
+
fieldPath: string;
|
|
1207
|
+
wref: string;
|
|
1208
|
+
reason: string;
|
|
1209
|
+
}>;
|
|
1210
|
+
coalescedWrefsTruncated?: true;
|
|
1211
|
+
totalCoalescedWrefs?: number;
|
|
1212
|
+
deprecations?: Array<{
|
|
1213
|
+
shape: string;
|
|
1214
|
+
message: string;
|
|
1215
|
+
removalMilestone: string;
|
|
1216
|
+
}>;
|
|
1217
|
+
};
|
|
1218
|
+
affirmations?: {
|
|
1219
|
+
added: Array<string>;
|
|
1220
|
+
removed: Array<string>;
|
|
1221
|
+
ignored: Array<string>;
|
|
1222
|
+
};
|
|
1223
|
+
}>;
|
|
1224
|
+
outcome: 'event' | 'no_event';
|
|
1225
|
+
requestDigest: string;
|
|
1226
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
1227
|
+
submissionId?: string;
|
|
1228
|
+
} | {
|
|
1229
|
+
event: {
|
|
1230
|
+
committedAt: string;
|
|
1231
|
+
eventDigest: string;
|
|
1232
|
+
operationCount: number;
|
|
1233
|
+
repo: {
|
|
1234
|
+
orgName: string;
|
|
1235
|
+
repoName: string;
|
|
1236
|
+
};
|
|
1237
|
+
repoSeq: string;
|
|
1238
|
+
} | null;
|
|
1239
|
+
eventRequestId: string;
|
|
1240
|
+
operations: Array<{
|
|
1241
|
+
opIndex: number;
|
|
1242
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1243
|
+
name: string;
|
|
1244
|
+
submittedName?: string;
|
|
1245
|
+
resolvedName?: string;
|
|
1246
|
+
warnings?: {
|
|
1247
|
+
undeclaredFields?: Array<string>;
|
|
1248
|
+
undeclaredFieldsTruncated?: true;
|
|
1249
|
+
totalUndeclared?: number;
|
|
1250
|
+
coalescedWrefs?: Array<{
|
|
1251
|
+
fieldPath: string;
|
|
1252
|
+
wref: string;
|
|
1253
|
+
reason: string;
|
|
1254
|
+
}>;
|
|
1255
|
+
coalescedWrefsTruncated?: true;
|
|
1256
|
+
totalCoalescedWrefs?: number;
|
|
1257
|
+
deprecations?: Array<{
|
|
1258
|
+
shape: string;
|
|
1259
|
+
message: string;
|
|
1260
|
+
removalMilestone: string;
|
|
1261
|
+
}>;
|
|
1262
|
+
};
|
|
1263
|
+
affirmations?: {
|
|
1264
|
+
added: Array<string>;
|
|
1265
|
+
removed: Array<string>;
|
|
1266
|
+
ignored: Array<string>;
|
|
1267
|
+
};
|
|
1268
|
+
status: 'applied' | 'noop';
|
|
1269
|
+
version?: number;
|
|
1270
|
+
dataHash?: string;
|
|
1271
|
+
} | {
|
|
1272
|
+
opIndex: number;
|
|
1273
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1274
|
+
name: string;
|
|
1275
|
+
submittedName?: string;
|
|
1276
|
+
resolvedName?: string;
|
|
1277
|
+
warnings?: {
|
|
1278
|
+
undeclaredFields?: Array<string>;
|
|
1279
|
+
undeclaredFieldsTruncated?: true;
|
|
1280
|
+
totalUndeclared?: number;
|
|
1281
|
+
coalescedWrefs?: Array<{
|
|
1282
|
+
fieldPath: string;
|
|
1283
|
+
wref: string;
|
|
1284
|
+
reason: string;
|
|
1285
|
+
}>;
|
|
1286
|
+
coalescedWrefsTruncated?: true;
|
|
1287
|
+
totalCoalescedWrefs?: number;
|
|
1288
|
+
deprecations?: Array<{
|
|
1289
|
+
shape: string;
|
|
1290
|
+
message: string;
|
|
1291
|
+
removalMilestone: string;
|
|
1292
|
+
}>;
|
|
1293
|
+
};
|
|
1294
|
+
affirmations?: {
|
|
1295
|
+
added: Array<string>;
|
|
1296
|
+
removed: Array<string>;
|
|
1297
|
+
ignored: Array<string>;
|
|
1298
|
+
};
|
|
1299
|
+
status: 'error';
|
|
1300
|
+
errors: Array<{
|
|
1301
|
+
code: string;
|
|
1302
|
+
message: string;
|
|
1303
|
+
path?: string;
|
|
1304
|
+
details?: {
|
|
1305
|
+
reason: 'expected_version_mismatch';
|
|
1306
|
+
expectedVersion: number;
|
|
1307
|
+
currentVersion: number;
|
|
1308
|
+
} | {
|
|
1309
|
+
reason: 'lease_held';
|
|
1310
|
+
leaseExpiresAt: string;
|
|
1311
|
+
} | {
|
|
1312
|
+
reason: 'validation_failed';
|
|
1313
|
+
issues: Array<{
|
|
1314
|
+
path: string;
|
|
1315
|
+
message: string;
|
|
1316
|
+
}>;
|
|
1317
|
+
} | {
|
|
1318
|
+
reason: 'rate_limit_reset';
|
|
1319
|
+
retryAfterSeconds: number;
|
|
1320
|
+
resetAt: string;
|
|
1321
|
+
} | {
|
|
1322
|
+
reason: 'cursor_fence_unavailable';
|
|
1323
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
1324
|
+
retryFromStart: true;
|
|
1325
|
+
} | {
|
|
1326
|
+
reason: 'dependency_failed';
|
|
1327
|
+
producerOpIndexes: Array<number>;
|
|
1328
|
+
};
|
|
1329
|
+
retryable?: boolean;
|
|
1330
|
+
}>;
|
|
1331
|
+
}>;
|
|
1332
|
+
outcome: 'event' | 'no_event';
|
|
1333
|
+
requestDigest: string;
|
|
1334
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
1335
|
+
submissionId?: string;
|
|
1336
|
+
}>;
|
|
1337
|
+
};
|
|
1338
|
+
type ComponentListResult = {
|
|
1339
|
+
items: Array<{
|
|
1340
|
+
ref?: string;
|
|
1341
|
+
componentName: string;
|
|
1342
|
+
version?: string;
|
|
1343
|
+
state?: 'initiated' | 'active' | 'uninstalled';
|
|
1344
|
+
source?: string;
|
|
1345
|
+
sourceUrl?: string;
|
|
1346
|
+
sourceRef?: string;
|
|
1347
|
+
resolvedSha?: string;
|
|
1348
|
+
manifestHash?: string;
|
|
1349
|
+
installedAt?: string;
|
|
1350
|
+
active: boolean;
|
|
1351
|
+
latestVersion?: string;
|
|
1352
|
+
updateAvailable?: boolean;
|
|
1353
|
+
}>;
|
|
1354
|
+
nextCursor?: string;
|
|
1355
|
+
};
|
|
1356
|
+
type ComponentSummary = {
|
|
1357
|
+
ref?: string;
|
|
1358
|
+
componentName: string;
|
|
1359
|
+
version?: string;
|
|
1360
|
+
state?: 'initiated' | 'active' | 'uninstalled';
|
|
1361
|
+
source?: string;
|
|
1362
|
+
sourceUrl?: string;
|
|
1363
|
+
sourceRef?: string;
|
|
1364
|
+
resolvedSha?: string;
|
|
1365
|
+
manifestHash?: string;
|
|
1366
|
+
installedAt?: string;
|
|
1367
|
+
active: boolean;
|
|
1368
|
+
latestVersion?: string;
|
|
1369
|
+
updateAvailable?: boolean;
|
|
1370
|
+
};
|
|
1371
|
+
type ComponentUninstallResult$1 = {
|
|
1372
|
+
componentRef: string;
|
|
1373
|
+
componentName: string;
|
|
1374
|
+
state: 'uninstalled';
|
|
1375
|
+
pausedSubscriptions: Array<string>;
|
|
1376
|
+
releasedShapes: Array<string>;
|
|
1377
|
+
tokensRevoked: number;
|
|
1378
|
+
uninstallDispatched: boolean;
|
|
1379
|
+
warnings: Array<string>;
|
|
1380
|
+
submissionId: string;
|
|
1381
|
+
eventReceipts: Array<{
|
|
1382
|
+
event: {
|
|
1383
|
+
committedAt: string;
|
|
1384
|
+
eventDigest: string;
|
|
1385
|
+
operationCount: number;
|
|
1386
|
+
repo: {
|
|
1387
|
+
orgName: string;
|
|
1388
|
+
repoName: string;
|
|
1389
|
+
};
|
|
1390
|
+
repoSeq: string;
|
|
1391
|
+
} | null;
|
|
1392
|
+
eventRequestId: string;
|
|
1393
|
+
operations: Array<{
|
|
1394
|
+
opIndex?: number;
|
|
1395
|
+
name: string;
|
|
1396
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
1397
|
+
version: number;
|
|
1398
|
+
dataHash: string;
|
|
1399
|
+
status?: 'applied' | 'noop';
|
|
1400
|
+
affirmations?: {
|
|
1401
|
+
added: Array<string>;
|
|
1402
|
+
removed: Array<string>;
|
|
1403
|
+
ignored: Array<string>;
|
|
1404
|
+
};
|
|
1405
|
+
warnings?: {
|
|
1406
|
+
undeclaredFields?: Array<string>;
|
|
1407
|
+
undeclaredFieldsTruncated?: true;
|
|
1408
|
+
totalUndeclared?: number;
|
|
1409
|
+
coalescedWrefs?: Array<{
|
|
1410
|
+
fieldPath: string;
|
|
1411
|
+
wref: string;
|
|
1412
|
+
reason: string;
|
|
1413
|
+
}>;
|
|
1414
|
+
coalescedWrefsTruncated?: true;
|
|
1415
|
+
totalCoalescedWrefs?: number;
|
|
1416
|
+
deprecations?: Array<{
|
|
1417
|
+
shape: string;
|
|
1418
|
+
message: string;
|
|
1419
|
+
removalMilestone: string;
|
|
1420
|
+
}>;
|
|
1421
|
+
};
|
|
1422
|
+
} | {
|
|
1423
|
+
opIndex?: number;
|
|
1424
|
+
name: string;
|
|
1425
|
+
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
1426
|
+
version?: number;
|
|
1427
|
+
dataHash?: string;
|
|
1428
|
+
status?: 'success' | 'noop' | 'failed';
|
|
1429
|
+
error?: {
|
|
1430
|
+
code: string;
|
|
1431
|
+
message: string;
|
|
1432
|
+
details?: {
|
|
1433
|
+
reason: 'expected_version_mismatch';
|
|
1434
|
+
expectedVersion: number;
|
|
1435
|
+
currentVersion: number;
|
|
1436
|
+
} | {
|
|
1437
|
+
reason: 'lease_held';
|
|
1438
|
+
leaseExpiresAt: string;
|
|
1439
|
+
} | {
|
|
1440
|
+
reason: 'validation_failed';
|
|
1441
|
+
issues: Array<{
|
|
1442
|
+
path: string;
|
|
1443
|
+
message: string;
|
|
1444
|
+
}>;
|
|
1445
|
+
} | {
|
|
1446
|
+
reason: 'rate_limit_reset';
|
|
1447
|
+
retryAfterSeconds: number;
|
|
1448
|
+
resetAt: string;
|
|
1449
|
+
} | {
|
|
1450
|
+
reason: 'cursor_fence_unavailable';
|
|
1451
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
1452
|
+
retryFromStart: true;
|
|
1453
|
+
};
|
|
1454
|
+
};
|
|
1455
|
+
resolvedName?: string;
|
|
1456
|
+
retryable?: boolean;
|
|
1457
|
+
warnings?: {
|
|
1458
|
+
undeclaredFields?: Array<string>;
|
|
1459
|
+
undeclaredFieldsTruncated?: true;
|
|
1460
|
+
totalUndeclared?: number;
|
|
1461
|
+
coalescedWrefs?: Array<{
|
|
1462
|
+
fieldPath: string;
|
|
1463
|
+
wref: string;
|
|
1464
|
+
reason: string;
|
|
1465
|
+
}>;
|
|
1466
|
+
coalescedWrefsTruncated?: true;
|
|
1467
|
+
totalCoalescedWrefs?: number;
|
|
1468
|
+
deprecations?: Array<{
|
|
1469
|
+
shape: string;
|
|
1470
|
+
message: string;
|
|
1471
|
+
removalMilestone: string;
|
|
1472
|
+
}>;
|
|
1473
|
+
};
|
|
1474
|
+
affirmations?: {
|
|
1475
|
+
added: Array<string>;
|
|
1476
|
+
removed: Array<string>;
|
|
1477
|
+
ignored: Array<string>;
|
|
1478
|
+
};
|
|
1479
|
+
}>;
|
|
1480
|
+
outcome: 'event' | 'no_event';
|
|
1481
|
+
requestDigest: string;
|
|
1482
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
1483
|
+
submissionId?: string;
|
|
1484
|
+
} | {
|
|
1485
|
+
event: {
|
|
1486
|
+
committedAt: string;
|
|
1487
|
+
eventDigest: string;
|
|
1488
|
+
operationCount: number;
|
|
1489
|
+
repo: {
|
|
1490
|
+
orgName: string;
|
|
1491
|
+
repoName: string;
|
|
1492
|
+
};
|
|
1493
|
+
repoSeq: string;
|
|
1494
|
+
} | null;
|
|
1495
|
+
eventRequestId: string;
|
|
1496
|
+
operations: Array<{
|
|
1497
|
+
opIndex: number;
|
|
1498
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1499
|
+
name: string;
|
|
1500
|
+
submittedName?: string;
|
|
1501
|
+
resolvedName?: string;
|
|
1502
|
+
warnings?: {
|
|
1503
|
+
undeclaredFields?: Array<string>;
|
|
1504
|
+
undeclaredFieldsTruncated?: true;
|
|
1505
|
+
totalUndeclared?: number;
|
|
1506
|
+
coalescedWrefs?: Array<{
|
|
1507
|
+
fieldPath: string;
|
|
1508
|
+
wref: string;
|
|
1509
|
+
reason: string;
|
|
1510
|
+
}>;
|
|
1511
|
+
coalescedWrefsTruncated?: true;
|
|
1512
|
+
totalCoalescedWrefs?: number;
|
|
1513
|
+
deprecations?: Array<{
|
|
1514
|
+
shape: string;
|
|
1515
|
+
message: string;
|
|
1516
|
+
removalMilestone: string;
|
|
1517
|
+
}>;
|
|
1518
|
+
};
|
|
1519
|
+
affirmations?: {
|
|
1520
|
+
added: Array<string>;
|
|
1521
|
+
removed: Array<string>;
|
|
1522
|
+
ignored: Array<string>;
|
|
1523
|
+
};
|
|
1524
|
+
status: 'applied' | 'noop';
|
|
1525
|
+
version?: number;
|
|
1526
|
+
dataHash?: string;
|
|
1527
|
+
} | {
|
|
1528
|
+
opIndex: number;
|
|
1529
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1530
|
+
name: string;
|
|
1531
|
+
submittedName?: string;
|
|
1532
|
+
resolvedName?: string;
|
|
1533
|
+
warnings?: {
|
|
1534
|
+
undeclaredFields?: Array<string>;
|
|
1535
|
+
undeclaredFieldsTruncated?: true;
|
|
1536
|
+
totalUndeclared?: number;
|
|
1537
|
+
coalescedWrefs?: Array<{
|
|
1538
|
+
fieldPath: string;
|
|
1539
|
+
wref: string;
|
|
1540
|
+
reason: string;
|
|
1541
|
+
}>;
|
|
1542
|
+
coalescedWrefsTruncated?: true;
|
|
1543
|
+
totalCoalescedWrefs?: number;
|
|
1544
|
+
deprecations?: Array<{
|
|
1545
|
+
shape: string;
|
|
1546
|
+
message: string;
|
|
1547
|
+
removalMilestone: string;
|
|
1548
|
+
}>;
|
|
1549
|
+
};
|
|
1550
|
+
affirmations?: {
|
|
1551
|
+
added: Array<string>;
|
|
1552
|
+
removed: Array<string>;
|
|
1553
|
+
ignored: Array<string>;
|
|
1554
|
+
};
|
|
1555
|
+
status: 'error';
|
|
1556
|
+
errors: Array<{
|
|
1557
|
+
code: string;
|
|
1558
|
+
message: string;
|
|
1559
|
+
path?: string;
|
|
1560
|
+
details?: {
|
|
1561
|
+
reason: 'expected_version_mismatch';
|
|
1562
|
+
expectedVersion: number;
|
|
1563
|
+
currentVersion: number;
|
|
1564
|
+
} | {
|
|
1565
|
+
reason: 'lease_held';
|
|
1566
|
+
leaseExpiresAt: string;
|
|
1567
|
+
} | {
|
|
1568
|
+
reason: 'validation_failed';
|
|
1569
|
+
issues: Array<{
|
|
1570
|
+
path: string;
|
|
1571
|
+
message: string;
|
|
1572
|
+
}>;
|
|
1573
|
+
} | {
|
|
1574
|
+
reason: 'rate_limit_reset';
|
|
1575
|
+
retryAfterSeconds: number;
|
|
1576
|
+
resetAt: string;
|
|
1577
|
+
} | {
|
|
1578
|
+
reason: 'cursor_fence_unavailable';
|
|
1579
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
1580
|
+
retryFromStart: true;
|
|
1581
|
+
} | {
|
|
1582
|
+
reason: 'dependency_failed';
|
|
1583
|
+
producerOpIndexes: Array<number>;
|
|
1584
|
+
};
|
|
1585
|
+
retryable?: boolean;
|
|
1586
|
+
}>;
|
|
1587
|
+
}>;
|
|
1588
|
+
outcome: 'event' | 'no_event';
|
|
1589
|
+
requestDigest: string;
|
|
1590
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
1591
|
+
submissionId?: string;
|
|
1592
|
+
}>;
|
|
1593
|
+
};
|
|
1594
|
+
type CredentialDeleteResult$1 = {
|
|
1595
|
+
ok: true;
|
|
1596
|
+
name: string;
|
|
1597
|
+
};
|
|
1598
|
+
type CredentialKeyMutationResult$1 = {
|
|
1599
|
+
ok: true;
|
|
1600
|
+
keyName?: string;
|
|
1601
|
+
keyNames: Array<string>;
|
|
1602
|
+
};
|
|
1603
|
+
type CredentialRevokeResult$1 = {
|
|
1604
|
+
revoked: boolean;
|
|
1605
|
+
};
|
|
1606
|
+
type Capabilities = {
|
|
1607
|
+
apiVersion: string;
|
|
1608
|
+
minSupportedSdk: string;
|
|
1609
|
+
minSupportedClients: Record<string, string>;
|
|
1610
|
+
writeContractVersion: number;
|
|
1611
|
+
features: Record<string, boolean>;
|
|
1612
|
+
honoredClientFlags: Array<string>;
|
|
1613
|
+
};
|
|
1614
|
+
type GrantCreateInput = {
|
|
1615
|
+
orgName: string;
|
|
1616
|
+
repoName: string;
|
|
1617
|
+
idempotencyKey: string;
|
|
1618
|
+
recipient: {
|
|
1619
|
+
kind: 'member';
|
|
1620
|
+
email: string;
|
|
1621
|
+
} | {
|
|
1622
|
+
kind: 'pat';
|
|
1623
|
+
name: string;
|
|
1624
|
+
} | {
|
|
1625
|
+
kind: 'component';
|
|
1626
|
+
orgName: string;
|
|
1627
|
+
componentName: string;
|
|
1628
|
+
};
|
|
1629
|
+
coverage?: {
|
|
1630
|
+
include: Array<string>;
|
|
1631
|
+
exclude?: Array<string>;
|
|
1632
|
+
};
|
|
1633
|
+
viewRef?: string;
|
|
1634
|
+
ops: Array<string>;
|
|
1635
|
+
};
|
|
1636
|
+
type GrantListInput = {
|
|
1637
|
+
orgName: string;
|
|
1638
|
+
repoName: string;
|
|
1639
|
+
limit: number;
|
|
1640
|
+
cursor?: string;
|
|
1641
|
+
};
|
|
1642
|
+
type GrantListResult$1 = {
|
|
1643
|
+
items: Array<{
|
|
1644
|
+
id: string;
|
|
1645
|
+
grantee: {
|
|
1646
|
+
principalId: string;
|
|
1647
|
+
principalKind: 'anonymous' | 'member' | 'pat' | 'component';
|
|
1648
|
+
};
|
|
1649
|
+
issuer: {
|
|
1650
|
+
principalId: string;
|
|
1651
|
+
principalKind: 'anonymous' | 'member' | 'pat' | 'component';
|
|
1652
|
+
};
|
|
1653
|
+
idempotencyKey: string;
|
|
1654
|
+
requestHash: string;
|
|
1655
|
+
coverage: {
|
|
1656
|
+
include: Array<string>;
|
|
1657
|
+
exclude?: Array<string>;
|
|
1658
|
+
} | null;
|
|
1659
|
+
viewRef: string | null;
|
|
1660
|
+
ops: Array<string>;
|
|
1661
|
+
createdBy: string;
|
|
1662
|
+
createdAt: string;
|
|
1663
|
+
revokedAt: string | null;
|
|
1664
|
+
revokedBy: string | null;
|
|
1665
|
+
revokedReason: string | null;
|
|
1666
|
+
}>;
|
|
1667
|
+
nextCursor?: string;
|
|
1668
|
+
};
|
|
1669
|
+
type GrantRevokeResult$1 = {
|
|
1670
|
+
grantId: string;
|
|
1671
|
+
revoked: boolean;
|
|
1672
|
+
};
|
|
1673
|
+
type GrantView = {
|
|
1674
|
+
id: string;
|
|
1675
|
+
grantee: {
|
|
1676
|
+
principalId: string;
|
|
1677
|
+
principalKind: 'anonymous' | 'member' | 'pat' | 'component';
|
|
1678
|
+
};
|
|
1679
|
+
issuer: {
|
|
1680
|
+
principalId: string;
|
|
1681
|
+
principalKind: 'anonymous' | 'member' | 'pat' | 'component';
|
|
1682
|
+
};
|
|
1683
|
+
idempotencyKey: string;
|
|
1684
|
+
requestHash: string;
|
|
1685
|
+
coverage: {
|
|
1686
|
+
include: Array<string>;
|
|
1687
|
+
exclude?: Array<string>;
|
|
1688
|
+
} | null;
|
|
1689
|
+
viewRef: string | null;
|
|
1690
|
+
ops: Array<string>;
|
|
1691
|
+
createdBy: string;
|
|
1692
|
+
createdAt: string;
|
|
1693
|
+
revokedAt: string | null;
|
|
1694
|
+
revokedBy: string | null;
|
|
1695
|
+
revokedReason: string | null;
|
|
1696
|
+
};
|
|
1697
|
+
type HomepageFeaturedListsResult$1 = {
|
|
1698
|
+
lists: Array<{
|
|
1699
|
+
slug: string;
|
|
1700
|
+
title: string;
|
|
1701
|
+
description?: string;
|
|
1702
|
+
surface?: string;
|
|
1703
|
+
itemKind?: 'repo' | 'component' | 'skill';
|
|
1704
|
+
sortOrder?: number;
|
|
1705
|
+
items: Array<{
|
|
1706
|
+
kind: 'repo' | 'component' | 'skill';
|
|
1707
|
+
slug: string;
|
|
1708
|
+
title: string;
|
|
1709
|
+
description?: string;
|
|
1710
|
+
sortOrder: number;
|
|
1711
|
+
tagline?: string;
|
|
1712
|
+
category?: string;
|
|
1713
|
+
ctaLabel?: string;
|
|
1714
|
+
curationReason?: string;
|
|
1715
|
+
featuredSince?: string;
|
|
1716
|
+
orgName?: string;
|
|
1717
|
+
repoName?: string;
|
|
1718
|
+
componentName?: string;
|
|
1719
|
+
componentRef?: string;
|
|
1720
|
+
marketplace?: string;
|
|
1721
|
+
skillName?: string;
|
|
1722
|
+
packageName?: string;
|
|
1723
|
+
installCommand?: string;
|
|
1724
|
+
externalUrl?: string;
|
|
1725
|
+
createdAt?: number;
|
|
1726
|
+
total?: number;
|
|
1727
|
+
byKind?: {
|
|
1728
|
+
shape: number;
|
|
1729
|
+
thing: number;
|
|
1730
|
+
assertion: number;
|
|
1731
|
+
};
|
|
1732
|
+
}>;
|
|
1733
|
+
}>;
|
|
1734
|
+
};
|
|
1735
|
+
type StreamAppendInput$1 = {
|
|
1736
|
+
orgName: string;
|
|
1737
|
+
repoName: string;
|
|
1738
|
+
streamId: string;
|
|
1739
|
+
componentRef?: string;
|
|
1740
|
+
workspaceName?: never;
|
|
1741
|
+
committer?: string;
|
|
1742
|
+
message?: string;
|
|
1743
|
+
returnRepoSeq?: boolean;
|
|
1744
|
+
allocatedTokens?: never;
|
|
1745
|
+
allocatedTokenRanges: Array<{
|
|
1746
|
+
start: number;
|
|
1747
|
+
end: number;
|
|
1748
|
+
}>;
|
|
1749
|
+
operations: Array<{
|
|
1750
|
+
operation: 'add';
|
|
1751
|
+
kind: 'shape';
|
|
1752
|
+
name: string;
|
|
1753
|
+
data: unknown;
|
|
1754
|
+
affirmedTargets?: never;
|
|
1755
|
+
skipExisting?: boolean;
|
|
1756
|
+
} | {
|
|
1757
|
+
operation: 'add';
|
|
1758
|
+
kind: 'thing';
|
|
1759
|
+
name: string;
|
|
1760
|
+
data: unknown;
|
|
1761
|
+
affirmedTargets?: never;
|
|
1762
|
+
skipExisting?: boolean;
|
|
1763
|
+
} | {
|
|
1764
|
+
operation: 'add';
|
|
1765
|
+
kind: 'assertion';
|
|
1766
|
+
name: string;
|
|
1767
|
+
about: string;
|
|
1768
|
+
data: unknown;
|
|
1769
|
+
affirmedTargets?: Array<string>;
|
|
1770
|
+
skipExisting?: boolean;
|
|
1771
|
+
} | {
|
|
1772
|
+
operation: 'add';
|
|
1773
|
+
kind: 'collection';
|
|
1774
|
+
name: string;
|
|
1775
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list';
|
|
1776
|
+
members: Array<string>;
|
|
1777
|
+
affirmedTargets?: never;
|
|
1778
|
+
skipExisting?: boolean;
|
|
1779
|
+
} | {
|
|
1780
|
+
operation: 'revise';
|
|
1781
|
+
kind: 'shape';
|
|
1782
|
+
name: string;
|
|
1783
|
+
data: unknown;
|
|
1784
|
+
affirmedTargets?: never;
|
|
1785
|
+
expectedVersion?: number;
|
|
1786
|
+
active?: never;
|
|
1787
|
+
leaseId?: string;
|
|
1788
|
+
} | {
|
|
1789
|
+
operation: 'revise';
|
|
1790
|
+
kind: 'thing';
|
|
1791
|
+
name: string;
|
|
1792
|
+
data: unknown;
|
|
1793
|
+
affirmedTargets?: never;
|
|
1794
|
+
expectedVersion?: number;
|
|
1795
|
+
active?: never;
|
|
1796
|
+
leaseId?: string;
|
|
1797
|
+
} | {
|
|
1798
|
+
operation: 'revise';
|
|
1799
|
+
kind: 'assertion';
|
|
1800
|
+
name: string;
|
|
1801
|
+
data: unknown;
|
|
1802
|
+
affirmedTargets?: Array<string>;
|
|
1803
|
+
expectedVersion?: number;
|
|
1804
|
+
active?: never;
|
|
1805
|
+
leaseId?: string;
|
|
1806
|
+
} | {
|
|
1807
|
+
operation: 'revise';
|
|
1808
|
+
kind: 'collection';
|
|
1809
|
+
name: string;
|
|
1810
|
+
type: 'arc' | 'bond' | 'pair' | 'set' | 'list';
|
|
1811
|
+
members: Array<string>;
|
|
1812
|
+
affirmedTargets?: never;
|
|
1813
|
+
expectedVersion?: number;
|
|
1814
|
+
leaseId?: string;
|
|
1815
|
+
} | {
|
|
1816
|
+
operation: 'retract';
|
|
1817
|
+
name: string;
|
|
1818
|
+
kind?: 'shape' | 'thing' | 'assertion' | 'collection';
|
|
1819
|
+
reason?: string;
|
|
1820
|
+
expectedVersion?: number;
|
|
1821
|
+
leaseId?: string;
|
|
1822
|
+
} | {
|
|
1823
|
+
operation: 'reaffirm';
|
|
1824
|
+
kind?: 'assertion';
|
|
1825
|
+
name: string;
|
|
1826
|
+
add?: Array<string>;
|
|
1827
|
+
remove?: Array<string>;
|
|
1828
|
+
expectedVersion?: number;
|
|
1829
|
+
leaseId?: string;
|
|
1830
|
+
} | {
|
|
1831
|
+
operation: 'rename';
|
|
1832
|
+
name: string;
|
|
1833
|
+
newName: string;
|
|
1834
|
+
kind?: 'shape' | 'thing' | 'assertion' | 'collection';
|
|
1835
|
+
}>;
|
|
1836
|
+
chunkOrdinal: number;
|
|
1837
|
+
submissionId: string;
|
|
1838
|
+
};
|
|
1839
|
+
type StreamAppendResult$1 = {
|
|
1840
|
+
event: {
|
|
1841
|
+
committedAt: string;
|
|
1842
|
+
eventDigest: string;
|
|
1843
|
+
operationCount: number;
|
|
1844
|
+
repo: {
|
|
1845
|
+
orgName: string;
|
|
1846
|
+
repoName: string;
|
|
1847
|
+
};
|
|
1848
|
+
repoSeq: string;
|
|
1849
|
+
} | null;
|
|
1850
|
+
eventRequestId: string;
|
|
1851
|
+
operations: Array<{
|
|
1852
|
+
opIndex?: number;
|
|
1853
|
+
name: string;
|
|
1854
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
1855
|
+
version: number;
|
|
1856
|
+
dataHash: string;
|
|
1857
|
+
status?: 'applied' | 'noop';
|
|
1858
|
+
affirmations?: {
|
|
1859
|
+
added: Array<string>;
|
|
1860
|
+
removed: Array<string>;
|
|
1861
|
+
ignored: Array<string>;
|
|
1862
|
+
};
|
|
1863
|
+
warnings?: {
|
|
1864
|
+
undeclaredFields?: Array<string>;
|
|
1865
|
+
undeclaredFieldsTruncated?: true;
|
|
1866
|
+
totalUndeclared?: number;
|
|
1867
|
+
coalescedWrefs?: Array<{
|
|
1868
|
+
fieldPath: string;
|
|
1869
|
+
wref: string;
|
|
1870
|
+
reason: string;
|
|
1871
|
+
}>;
|
|
1872
|
+
coalescedWrefsTruncated?: true;
|
|
1873
|
+
totalCoalescedWrefs?: number;
|
|
1874
|
+
deprecations?: Array<{
|
|
1875
|
+
shape: string;
|
|
1876
|
+
message: string;
|
|
1877
|
+
removalMilestone: string;
|
|
1878
|
+
}>;
|
|
1879
|
+
};
|
|
1880
|
+
} | {
|
|
1881
|
+
opIndex?: number;
|
|
1882
|
+
name: string;
|
|
1883
|
+
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
1884
|
+
version?: number;
|
|
1885
|
+
dataHash?: string;
|
|
1886
|
+
status?: 'success' | 'noop' | 'failed';
|
|
1887
|
+
error?: {
|
|
1888
|
+
code: string;
|
|
1889
|
+
message: string;
|
|
1890
|
+
details?: {
|
|
1891
|
+
reason: 'expected_version_mismatch';
|
|
1892
|
+
expectedVersion: number;
|
|
1893
|
+
currentVersion: number;
|
|
1894
|
+
} | {
|
|
1895
|
+
reason: 'lease_held';
|
|
1896
|
+
leaseExpiresAt: string;
|
|
1897
|
+
} | {
|
|
1898
|
+
reason: 'validation_failed';
|
|
1899
|
+
issues: Array<{
|
|
1900
|
+
path: string;
|
|
1901
|
+
message: string;
|
|
1902
|
+
}>;
|
|
1903
|
+
} | {
|
|
1904
|
+
reason: 'rate_limit_reset';
|
|
1905
|
+
retryAfterSeconds: number;
|
|
1906
|
+
resetAt: string;
|
|
1907
|
+
} | {
|
|
1908
|
+
reason: 'cursor_fence_unavailable';
|
|
1909
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
1910
|
+
retryFromStart: true;
|
|
1911
|
+
};
|
|
1912
|
+
};
|
|
1913
|
+
resolvedName?: string;
|
|
1914
|
+
retryable?: boolean;
|
|
1915
|
+
warnings?: {
|
|
1916
|
+
undeclaredFields?: Array<string>;
|
|
1917
|
+
undeclaredFieldsTruncated?: true;
|
|
1918
|
+
totalUndeclared?: number;
|
|
1919
|
+
coalescedWrefs?: Array<{
|
|
1920
|
+
fieldPath: string;
|
|
1921
|
+
wref: string;
|
|
1922
|
+
reason: string;
|
|
1923
|
+
}>;
|
|
1924
|
+
coalescedWrefsTruncated?: true;
|
|
1925
|
+
totalCoalescedWrefs?: number;
|
|
1926
|
+
deprecations?: Array<{
|
|
1927
|
+
shape: string;
|
|
1928
|
+
message: string;
|
|
1929
|
+
removalMilestone: string;
|
|
1930
|
+
}>;
|
|
1931
|
+
};
|
|
1932
|
+
affirmations?: {
|
|
1933
|
+
added: Array<string>;
|
|
1934
|
+
removed: Array<string>;
|
|
1935
|
+
ignored: Array<string>;
|
|
1936
|
+
};
|
|
1937
|
+
}>;
|
|
1938
|
+
outcome: 'event' | 'no_event';
|
|
1939
|
+
requestDigest: string;
|
|
1940
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
1941
|
+
submissionId?: string;
|
|
1942
|
+
allocatedTokenRanges: Array<{
|
|
1943
|
+
start: number;
|
|
1944
|
+
end: number;
|
|
1945
|
+
}>;
|
|
1946
|
+
results: Array<{
|
|
1947
|
+
opIndex?: number;
|
|
1948
|
+
name: string;
|
|
1949
|
+
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
1950
|
+
version?: number;
|
|
1951
|
+
dataHash?: string;
|
|
1952
|
+
status?: 'success' | 'noop' | 'failed';
|
|
1953
|
+
error?: {
|
|
1954
|
+
code: string;
|
|
1955
|
+
message: string;
|
|
1956
|
+
details?: {
|
|
1957
|
+
reason: 'expected_version_mismatch';
|
|
1958
|
+
expectedVersion: number;
|
|
1959
|
+
currentVersion: number;
|
|
1960
|
+
} | {
|
|
1961
|
+
reason: 'lease_held';
|
|
1962
|
+
leaseExpiresAt: string;
|
|
1963
|
+
} | {
|
|
1964
|
+
reason: 'validation_failed';
|
|
1965
|
+
issues: Array<{
|
|
1966
|
+
path: string;
|
|
1967
|
+
message: string;
|
|
1968
|
+
}>;
|
|
1969
|
+
} | {
|
|
1970
|
+
reason: 'rate_limit_reset';
|
|
1971
|
+
retryAfterSeconds: number;
|
|
1972
|
+
resetAt: string;
|
|
1973
|
+
} | {
|
|
1974
|
+
reason: 'cursor_fence_unavailable';
|
|
1975
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
1976
|
+
retryFromStart: true;
|
|
1977
|
+
};
|
|
1978
|
+
};
|
|
1979
|
+
resolvedName?: string;
|
|
1980
|
+
retryable?: boolean;
|
|
1981
|
+
warnings?: {
|
|
1982
|
+
undeclaredFields?: Array<string>;
|
|
1983
|
+
undeclaredFieldsTruncated?: true;
|
|
1984
|
+
totalUndeclared?: number;
|
|
1985
|
+
coalescedWrefs?: Array<{
|
|
1986
|
+
fieldPath: string;
|
|
1987
|
+
wref: string;
|
|
1988
|
+
reason: string;
|
|
1989
|
+
}>;
|
|
1990
|
+
coalescedWrefsTruncated?: true;
|
|
1991
|
+
totalCoalescedWrefs?: number;
|
|
1992
|
+
deprecations?: Array<{
|
|
1993
|
+
shape: string;
|
|
1994
|
+
message: string;
|
|
1995
|
+
removalMilestone: string;
|
|
1996
|
+
}>;
|
|
1997
|
+
};
|
|
1998
|
+
affirmations?: {
|
|
1999
|
+
added: Array<string>;
|
|
2000
|
+
removed: Array<string>;
|
|
2001
|
+
ignored: Array<string>;
|
|
2002
|
+
};
|
|
2003
|
+
}>;
|
|
2004
|
+
repoSeq?: number;
|
|
2005
|
+
createdByEmail?: string;
|
|
2006
|
+
appendTotalMs?: number;
|
|
2007
|
+
appendResolveRepoMs?: number;
|
|
2008
|
+
appendApplyMs?: number;
|
|
2009
|
+
applySubphases?: {
|
|
2010
|
+
addThingMs?: number;
|
|
2011
|
+
addAssertionMs?: number;
|
|
2012
|
+
addAssertionResolveAboutMs?: number;
|
|
2013
|
+
reviseThingMs?: number;
|
|
2014
|
+
reviseAssertionMs?: number;
|
|
2015
|
+
reviseCollectionMs?: number;
|
|
2016
|
+
preparePinnedLoadShapeFieldsMs?: number;
|
|
2017
|
+
preparePinnedPinWrefsMs?: number;
|
|
2018
|
+
preparePinnedValidateMs?: number;
|
|
2019
|
+
operationLoopMs?: number;
|
|
2020
|
+
persistMs?: number;
|
|
2021
|
+
persistThingsMs?: number;
|
|
2022
|
+
persistVersionsMs?: number;
|
|
2023
|
+
persistAssertionsMs?: number;
|
|
2024
|
+
persistUpdatesMs?: number;
|
|
2025
|
+
persistOutboxMs?: number;
|
|
2026
|
+
refInsertMs?: number;
|
|
2027
|
+
refSourceCount?: number;
|
|
2028
|
+
};
|
|
2029
|
+
receipt: {
|
|
2030
|
+
event: {
|
|
2031
|
+
committedAt: string;
|
|
2032
|
+
eventDigest: string;
|
|
2033
|
+
operationCount: number;
|
|
2034
|
+
repo: {
|
|
2035
|
+
orgName: string;
|
|
2036
|
+
repoName: string;
|
|
2037
|
+
};
|
|
2038
|
+
repoSeq: string;
|
|
2039
|
+
} | null;
|
|
2040
|
+
eventRequestId: string;
|
|
2041
|
+
operations: Array<{
|
|
2042
|
+
opIndex?: number;
|
|
2043
|
+
name: string;
|
|
2044
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
2045
|
+
version: number;
|
|
2046
|
+
dataHash: string;
|
|
2047
|
+
status?: 'applied' | 'noop';
|
|
2048
|
+
affirmations?: {
|
|
2049
|
+
added: Array<string>;
|
|
2050
|
+
removed: Array<string>;
|
|
2051
|
+
ignored: Array<string>;
|
|
2052
|
+
};
|
|
2053
|
+
warnings?: {
|
|
2054
|
+
undeclaredFields?: Array<string>;
|
|
2055
|
+
undeclaredFieldsTruncated?: true;
|
|
2056
|
+
totalUndeclared?: number;
|
|
2057
|
+
coalescedWrefs?: Array<{
|
|
2058
|
+
fieldPath: string;
|
|
2059
|
+
wref: string;
|
|
2060
|
+
reason: string;
|
|
2061
|
+
}>;
|
|
2062
|
+
coalescedWrefsTruncated?: true;
|
|
2063
|
+
totalCoalescedWrefs?: number;
|
|
2064
|
+
deprecations?: Array<{
|
|
2065
|
+
shape: string;
|
|
2066
|
+
message: string;
|
|
2067
|
+
removalMilestone: string;
|
|
2068
|
+
}>;
|
|
2069
|
+
};
|
|
2070
|
+
} | {
|
|
2071
|
+
opIndex?: number;
|
|
2072
|
+
name: string;
|
|
2073
|
+
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
2074
|
+
version?: number;
|
|
2075
|
+
dataHash?: string;
|
|
2076
|
+
status?: 'success' | 'noop' | 'failed';
|
|
2077
|
+
error?: {
|
|
2078
|
+
code: string;
|
|
2079
|
+
message: string;
|
|
2080
|
+
details?: {
|
|
2081
|
+
reason: 'expected_version_mismatch';
|
|
2082
|
+
expectedVersion: number;
|
|
2083
|
+
currentVersion: number;
|
|
2084
|
+
} | {
|
|
2085
|
+
reason: 'lease_held';
|
|
2086
|
+
leaseExpiresAt: string;
|
|
2087
|
+
} | {
|
|
2088
|
+
reason: 'validation_failed';
|
|
2089
|
+
issues: Array<{
|
|
2090
|
+
path: string;
|
|
2091
|
+
message: string;
|
|
2092
|
+
}>;
|
|
2093
|
+
} | {
|
|
2094
|
+
reason: 'rate_limit_reset';
|
|
2095
|
+
retryAfterSeconds: number;
|
|
2096
|
+
resetAt: string;
|
|
2097
|
+
} | {
|
|
2098
|
+
reason: 'cursor_fence_unavailable';
|
|
2099
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2100
|
+
retryFromStart: true;
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
resolvedName?: string;
|
|
2104
|
+
retryable?: boolean;
|
|
2105
|
+
warnings?: {
|
|
2106
|
+
undeclaredFields?: Array<string>;
|
|
2107
|
+
undeclaredFieldsTruncated?: true;
|
|
2108
|
+
totalUndeclared?: number;
|
|
2109
|
+
coalescedWrefs?: Array<{
|
|
2110
|
+
fieldPath: string;
|
|
2111
|
+
wref: string;
|
|
2112
|
+
reason: string;
|
|
2113
|
+
}>;
|
|
2114
|
+
coalescedWrefsTruncated?: true;
|
|
2115
|
+
totalCoalescedWrefs?: number;
|
|
2116
|
+
deprecations?: Array<{
|
|
2117
|
+
shape: string;
|
|
2118
|
+
message: string;
|
|
2119
|
+
removalMilestone: string;
|
|
2120
|
+
}>;
|
|
2121
|
+
};
|
|
2122
|
+
affirmations?: {
|
|
2123
|
+
added: Array<string>;
|
|
2124
|
+
removed: Array<string>;
|
|
2125
|
+
ignored: Array<string>;
|
|
2126
|
+
};
|
|
2127
|
+
}>;
|
|
2128
|
+
outcome: 'event' | 'no_event';
|
|
2129
|
+
requestDigest: string;
|
|
2130
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
2131
|
+
submissionId?: string;
|
|
2132
|
+
};
|
|
2133
|
+
} | {
|
|
2134
|
+
event: {
|
|
2135
|
+
committedAt: string;
|
|
2136
|
+
eventDigest: string;
|
|
2137
|
+
operationCount: number;
|
|
2138
|
+
repo: {
|
|
2139
|
+
orgName: string;
|
|
2140
|
+
repoName: string;
|
|
2141
|
+
};
|
|
2142
|
+
repoSeq: string;
|
|
2143
|
+
} | null;
|
|
2144
|
+
eventRequestId: string;
|
|
2145
|
+
operations: Array<{
|
|
2146
|
+
opIndex: number;
|
|
2147
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2148
|
+
name: string;
|
|
2149
|
+
submittedName?: string;
|
|
2150
|
+
resolvedName?: string;
|
|
2151
|
+
warnings?: {
|
|
2152
|
+
undeclaredFields?: Array<string>;
|
|
2153
|
+
undeclaredFieldsTruncated?: true;
|
|
2154
|
+
totalUndeclared?: number;
|
|
2155
|
+
coalescedWrefs?: Array<{
|
|
2156
|
+
fieldPath: string;
|
|
2157
|
+
wref: string;
|
|
2158
|
+
reason: string;
|
|
2159
|
+
}>;
|
|
2160
|
+
coalescedWrefsTruncated?: true;
|
|
2161
|
+
totalCoalescedWrefs?: number;
|
|
2162
|
+
deprecations?: Array<{
|
|
2163
|
+
shape: string;
|
|
2164
|
+
message: string;
|
|
2165
|
+
removalMilestone: string;
|
|
2166
|
+
}>;
|
|
2167
|
+
};
|
|
2168
|
+
affirmations?: {
|
|
2169
|
+
added: Array<string>;
|
|
2170
|
+
removed: Array<string>;
|
|
2171
|
+
ignored: Array<string>;
|
|
2172
|
+
};
|
|
2173
|
+
status: 'applied' | 'noop';
|
|
2174
|
+
version?: number;
|
|
2175
|
+
dataHash?: string;
|
|
2176
|
+
} | {
|
|
2177
|
+
opIndex: number;
|
|
2178
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2179
|
+
name: string;
|
|
2180
|
+
submittedName?: string;
|
|
2181
|
+
resolvedName?: string;
|
|
2182
|
+
warnings?: {
|
|
2183
|
+
undeclaredFields?: Array<string>;
|
|
2184
|
+
undeclaredFieldsTruncated?: true;
|
|
2185
|
+
totalUndeclared?: number;
|
|
2186
|
+
coalescedWrefs?: Array<{
|
|
2187
|
+
fieldPath: string;
|
|
2188
|
+
wref: string;
|
|
2189
|
+
reason: string;
|
|
2190
|
+
}>;
|
|
2191
|
+
coalescedWrefsTruncated?: true;
|
|
2192
|
+
totalCoalescedWrefs?: number;
|
|
2193
|
+
deprecations?: Array<{
|
|
2194
|
+
shape: string;
|
|
2195
|
+
message: string;
|
|
2196
|
+
removalMilestone: string;
|
|
2197
|
+
}>;
|
|
2198
|
+
};
|
|
2199
|
+
affirmations?: {
|
|
2200
|
+
added: Array<string>;
|
|
2201
|
+
removed: Array<string>;
|
|
2202
|
+
ignored: Array<string>;
|
|
2203
|
+
};
|
|
2204
|
+
status: 'error';
|
|
2205
|
+
errors: Array<{
|
|
2206
|
+
code: string;
|
|
2207
|
+
message: string;
|
|
2208
|
+
path?: string;
|
|
2209
|
+
details?: {
|
|
2210
|
+
reason: 'expected_version_mismatch';
|
|
2211
|
+
expectedVersion: number;
|
|
2212
|
+
currentVersion: number;
|
|
2213
|
+
} | {
|
|
2214
|
+
reason: 'lease_held';
|
|
2215
|
+
leaseExpiresAt: string;
|
|
2216
|
+
} | {
|
|
2217
|
+
reason: 'validation_failed';
|
|
2218
|
+
issues: Array<{
|
|
2219
|
+
path: string;
|
|
2220
|
+
message: string;
|
|
2221
|
+
}>;
|
|
2222
|
+
} | {
|
|
2223
|
+
reason: 'rate_limit_reset';
|
|
2224
|
+
retryAfterSeconds: number;
|
|
2225
|
+
resetAt: string;
|
|
2226
|
+
} | {
|
|
2227
|
+
reason: 'cursor_fence_unavailable';
|
|
2228
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2229
|
+
retryFromStart: true;
|
|
2230
|
+
} | {
|
|
2231
|
+
reason: 'dependency_failed';
|
|
2232
|
+
producerOpIndexes: Array<number>;
|
|
2233
|
+
};
|
|
2234
|
+
retryable?: boolean;
|
|
2235
|
+
}>;
|
|
2236
|
+
}>;
|
|
2237
|
+
outcome: 'event' | 'no_event';
|
|
2238
|
+
requestDigest: string;
|
|
2239
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
2240
|
+
submissionId?: string;
|
|
2241
|
+
allocatedTokenRanges: Array<{
|
|
2242
|
+
start: number;
|
|
2243
|
+
end: number;
|
|
2244
|
+
}>;
|
|
2245
|
+
results: Array<{
|
|
2246
|
+
opIndex: number;
|
|
2247
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2248
|
+
name: string;
|
|
2249
|
+
submittedName?: string;
|
|
2250
|
+
resolvedName?: string;
|
|
2251
|
+
warnings?: {
|
|
2252
|
+
undeclaredFields?: Array<string>;
|
|
2253
|
+
undeclaredFieldsTruncated?: true;
|
|
2254
|
+
totalUndeclared?: number;
|
|
2255
|
+
coalescedWrefs?: Array<{
|
|
2256
|
+
fieldPath: string;
|
|
2257
|
+
wref: string;
|
|
2258
|
+
reason: string;
|
|
2259
|
+
}>;
|
|
2260
|
+
coalescedWrefsTruncated?: true;
|
|
2261
|
+
totalCoalescedWrefs?: number;
|
|
2262
|
+
deprecations?: Array<{
|
|
2263
|
+
shape: string;
|
|
2264
|
+
message: string;
|
|
2265
|
+
removalMilestone: string;
|
|
2266
|
+
}>;
|
|
2267
|
+
};
|
|
2268
|
+
affirmations?: {
|
|
2269
|
+
added: Array<string>;
|
|
2270
|
+
removed: Array<string>;
|
|
2271
|
+
ignored: Array<string>;
|
|
2272
|
+
};
|
|
2273
|
+
status: 'applied' | 'noop';
|
|
2274
|
+
version?: number;
|
|
2275
|
+
dataHash?: string;
|
|
2276
|
+
} | {
|
|
2277
|
+
opIndex: number;
|
|
2278
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2279
|
+
name: string;
|
|
2280
|
+
submittedName?: string;
|
|
2281
|
+
resolvedName?: string;
|
|
2282
|
+
warnings?: {
|
|
2283
|
+
undeclaredFields?: Array<string>;
|
|
2284
|
+
undeclaredFieldsTruncated?: true;
|
|
2285
|
+
totalUndeclared?: number;
|
|
2286
|
+
coalescedWrefs?: Array<{
|
|
2287
|
+
fieldPath: string;
|
|
2288
|
+
wref: string;
|
|
2289
|
+
reason: string;
|
|
2290
|
+
}>;
|
|
2291
|
+
coalescedWrefsTruncated?: true;
|
|
2292
|
+
totalCoalescedWrefs?: number;
|
|
2293
|
+
deprecations?: Array<{
|
|
2294
|
+
shape: string;
|
|
2295
|
+
message: string;
|
|
2296
|
+
removalMilestone: string;
|
|
2297
|
+
}>;
|
|
2298
|
+
};
|
|
2299
|
+
affirmations?: {
|
|
2300
|
+
added: Array<string>;
|
|
2301
|
+
removed: Array<string>;
|
|
2302
|
+
ignored: Array<string>;
|
|
2303
|
+
};
|
|
2304
|
+
status: 'error';
|
|
2305
|
+
errors: Array<{
|
|
2306
|
+
code: string;
|
|
2307
|
+
message: string;
|
|
2308
|
+
path?: string;
|
|
2309
|
+
details?: {
|
|
2310
|
+
reason: 'expected_version_mismatch';
|
|
2311
|
+
expectedVersion: number;
|
|
2312
|
+
currentVersion: number;
|
|
2313
|
+
} | {
|
|
2314
|
+
reason: 'lease_held';
|
|
2315
|
+
leaseExpiresAt: string;
|
|
2316
|
+
} | {
|
|
2317
|
+
reason: 'validation_failed';
|
|
2318
|
+
issues: Array<{
|
|
2319
|
+
path: string;
|
|
2320
|
+
message: string;
|
|
2321
|
+
}>;
|
|
2322
|
+
} | {
|
|
2323
|
+
reason: 'rate_limit_reset';
|
|
2324
|
+
retryAfterSeconds: number;
|
|
2325
|
+
resetAt: string;
|
|
2326
|
+
} | {
|
|
2327
|
+
reason: 'cursor_fence_unavailable';
|
|
2328
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2329
|
+
retryFromStart: true;
|
|
2330
|
+
} | {
|
|
2331
|
+
reason: 'dependency_failed';
|
|
2332
|
+
producerOpIndexes: Array<number>;
|
|
2333
|
+
};
|
|
2334
|
+
retryable?: boolean;
|
|
2335
|
+
}>;
|
|
2336
|
+
}>;
|
|
2337
|
+
repoSeq?: number;
|
|
2338
|
+
createdByEmail?: string;
|
|
2339
|
+
appendTotalMs?: number;
|
|
2340
|
+
appendResolveRepoMs?: number;
|
|
2341
|
+
appendApplyMs?: number;
|
|
2342
|
+
applySubphases?: {
|
|
2343
|
+
addThingMs?: number;
|
|
2344
|
+
addAssertionMs?: number;
|
|
2345
|
+
addAssertionResolveAboutMs?: number;
|
|
2346
|
+
reviseThingMs?: number;
|
|
2347
|
+
reviseAssertionMs?: number;
|
|
2348
|
+
reviseCollectionMs?: number;
|
|
2349
|
+
preparePinnedLoadShapeFieldsMs?: number;
|
|
2350
|
+
preparePinnedPinWrefsMs?: number;
|
|
2351
|
+
preparePinnedValidateMs?: number;
|
|
2352
|
+
operationLoopMs?: number;
|
|
2353
|
+
persistMs?: number;
|
|
2354
|
+
persistThingsMs?: number;
|
|
2355
|
+
persistVersionsMs?: number;
|
|
2356
|
+
persistAssertionsMs?: number;
|
|
2357
|
+
persistUpdatesMs?: number;
|
|
2358
|
+
persistOutboxMs?: number;
|
|
2359
|
+
refInsertMs?: number;
|
|
2360
|
+
refSourceCount?: number;
|
|
2361
|
+
};
|
|
2362
|
+
receipt: {
|
|
2363
|
+
event: {
|
|
2364
|
+
committedAt: string;
|
|
2365
|
+
eventDigest: string;
|
|
2366
|
+
operationCount: number;
|
|
2367
|
+
repo: {
|
|
2368
|
+
orgName: string;
|
|
2369
|
+
repoName: string;
|
|
2370
|
+
};
|
|
2371
|
+
repoSeq: string;
|
|
2372
|
+
} | null;
|
|
2373
|
+
eventRequestId: string;
|
|
2374
|
+
operations: Array<{
|
|
2375
|
+
opIndex: number;
|
|
2376
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2377
|
+
name: string;
|
|
2378
|
+
submittedName?: string;
|
|
2379
|
+
resolvedName?: string;
|
|
2380
|
+
warnings?: {
|
|
2381
|
+
undeclaredFields?: Array<string>;
|
|
2382
|
+
undeclaredFieldsTruncated?: true;
|
|
2383
|
+
totalUndeclared?: number;
|
|
2384
|
+
coalescedWrefs?: Array<{
|
|
2385
|
+
fieldPath: string;
|
|
2386
|
+
wref: string;
|
|
2387
|
+
reason: string;
|
|
2388
|
+
}>;
|
|
2389
|
+
coalescedWrefsTruncated?: true;
|
|
2390
|
+
totalCoalescedWrefs?: number;
|
|
2391
|
+
deprecations?: Array<{
|
|
2392
|
+
shape: string;
|
|
2393
|
+
message: string;
|
|
2394
|
+
removalMilestone: string;
|
|
2395
|
+
}>;
|
|
2396
|
+
};
|
|
2397
|
+
affirmations?: {
|
|
2398
|
+
added: Array<string>;
|
|
2399
|
+
removed: Array<string>;
|
|
2400
|
+
ignored: Array<string>;
|
|
2401
|
+
};
|
|
2402
|
+
status: 'applied' | 'noop';
|
|
2403
|
+
version?: number;
|
|
2404
|
+
dataHash?: string;
|
|
2405
|
+
} | {
|
|
2406
|
+
opIndex: number;
|
|
2407
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2408
|
+
name: string;
|
|
2409
|
+
submittedName?: string;
|
|
2410
|
+
resolvedName?: string;
|
|
2411
|
+
warnings?: {
|
|
2412
|
+
undeclaredFields?: Array<string>;
|
|
2413
|
+
undeclaredFieldsTruncated?: true;
|
|
2414
|
+
totalUndeclared?: number;
|
|
2415
|
+
coalescedWrefs?: Array<{
|
|
2416
|
+
fieldPath: string;
|
|
2417
|
+
wref: string;
|
|
2418
|
+
reason: string;
|
|
2419
|
+
}>;
|
|
2420
|
+
coalescedWrefsTruncated?: true;
|
|
2421
|
+
totalCoalescedWrefs?: number;
|
|
2422
|
+
deprecations?: Array<{
|
|
2423
|
+
shape: string;
|
|
2424
|
+
message: string;
|
|
2425
|
+
removalMilestone: string;
|
|
2426
|
+
}>;
|
|
2427
|
+
};
|
|
2428
|
+
affirmations?: {
|
|
2429
|
+
added: Array<string>;
|
|
2430
|
+
removed: Array<string>;
|
|
2431
|
+
ignored: Array<string>;
|
|
2432
|
+
};
|
|
2433
|
+
status: 'error';
|
|
2434
|
+
errors: Array<{
|
|
2435
|
+
code: string;
|
|
2436
|
+
message: string;
|
|
2437
|
+
path?: string;
|
|
2438
|
+
details?: {
|
|
2439
|
+
reason: 'expected_version_mismatch';
|
|
2440
|
+
expectedVersion: number;
|
|
2441
|
+
currentVersion: number;
|
|
2442
|
+
} | {
|
|
2443
|
+
reason: 'lease_held';
|
|
2444
|
+
leaseExpiresAt: string;
|
|
2445
|
+
} | {
|
|
2446
|
+
reason: 'validation_failed';
|
|
2447
|
+
issues: Array<{
|
|
2448
|
+
path: string;
|
|
2449
|
+
message: string;
|
|
2450
|
+
}>;
|
|
2451
|
+
} | {
|
|
2452
|
+
reason: 'rate_limit_reset';
|
|
2453
|
+
retryAfterSeconds: number;
|
|
2454
|
+
resetAt: string;
|
|
2455
|
+
} | {
|
|
2456
|
+
reason: 'cursor_fence_unavailable';
|
|
2457
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2458
|
+
retryFromStart: true;
|
|
2459
|
+
} | {
|
|
2460
|
+
reason: 'dependency_failed';
|
|
2461
|
+
producerOpIndexes: Array<number>;
|
|
2462
|
+
};
|
|
2463
|
+
retryable?: boolean;
|
|
2464
|
+
}>;
|
|
2465
|
+
}>;
|
|
2466
|
+
outcome: 'event' | 'no_event';
|
|
2467
|
+
requestDigest: string;
|
|
2468
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
2469
|
+
submissionId?: string;
|
|
2470
|
+
};
|
|
2471
|
+
};
|
|
2472
|
+
type CommitApplyCompatibilityResult$1 = {
|
|
2473
|
+
event: {
|
|
2474
|
+
committedAt: string;
|
|
2475
|
+
eventDigest: string;
|
|
2476
|
+
operationCount: number;
|
|
2477
|
+
repo: {
|
|
2478
|
+
orgName: string;
|
|
2479
|
+
repoName: string;
|
|
2480
|
+
};
|
|
2481
|
+
repoSeq: string;
|
|
2482
|
+
} | null;
|
|
2483
|
+
eventRequestId: string;
|
|
2484
|
+
outcome: 'event' | 'no_event';
|
|
2485
|
+
requestDigest: string;
|
|
2486
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
2487
|
+
submissionId?: string;
|
|
2488
|
+
committer?: string;
|
|
2489
|
+
createdByEmail?: string;
|
|
2490
|
+
message?: string;
|
|
2491
|
+
operationCount: number;
|
|
2492
|
+
repoSeq?: number;
|
|
2493
|
+
operations: Array<{
|
|
2494
|
+
opIndex?: number;
|
|
2495
|
+
name: string;
|
|
2496
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
2497
|
+
version: number;
|
|
2498
|
+
dataHash: string;
|
|
2499
|
+
status?: 'applied' | 'noop';
|
|
2500
|
+
affirmations?: {
|
|
2501
|
+
added: Array<string>;
|
|
2502
|
+
removed: Array<string>;
|
|
2503
|
+
ignored: Array<string>;
|
|
2504
|
+
};
|
|
2505
|
+
warnings?: {
|
|
2506
|
+
undeclaredFields?: Array<string>;
|
|
2507
|
+
undeclaredFieldsTruncated?: true;
|
|
2508
|
+
totalUndeclared?: number;
|
|
2509
|
+
coalescedWrefs?: Array<{
|
|
2510
|
+
fieldPath: string;
|
|
2511
|
+
wref: string;
|
|
2512
|
+
reason: string;
|
|
2513
|
+
}>;
|
|
2514
|
+
coalescedWrefsTruncated?: true;
|
|
2515
|
+
totalCoalescedWrefs?: number;
|
|
2516
|
+
deprecations?: Array<{
|
|
2517
|
+
shape: string;
|
|
2518
|
+
message: string;
|
|
2519
|
+
removalMilestone: string;
|
|
2520
|
+
}>;
|
|
2521
|
+
};
|
|
2522
|
+
}>;
|
|
2523
|
+
receipt: {
|
|
2524
|
+
event: {
|
|
2525
|
+
committedAt: string;
|
|
2526
|
+
eventDigest: string;
|
|
2527
|
+
operationCount: number;
|
|
2528
|
+
repo: {
|
|
2529
|
+
orgName: string;
|
|
2530
|
+
repoName: string;
|
|
2531
|
+
};
|
|
2532
|
+
repoSeq: string;
|
|
2533
|
+
} | null;
|
|
2534
|
+
eventRequestId: string;
|
|
2535
|
+
operations: Array<{
|
|
2536
|
+
opIndex?: number;
|
|
2537
|
+
name: string;
|
|
2538
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
2539
|
+
version: number;
|
|
2540
|
+
dataHash: string;
|
|
2541
|
+
status?: 'applied' | 'noop';
|
|
2542
|
+
affirmations?: {
|
|
2543
|
+
added: Array<string>;
|
|
2544
|
+
removed: Array<string>;
|
|
2545
|
+
ignored: Array<string>;
|
|
2546
|
+
};
|
|
2547
|
+
warnings?: {
|
|
2548
|
+
undeclaredFields?: Array<string>;
|
|
2549
|
+
undeclaredFieldsTruncated?: true;
|
|
2550
|
+
totalUndeclared?: number;
|
|
2551
|
+
coalescedWrefs?: Array<{
|
|
2552
|
+
fieldPath: string;
|
|
2553
|
+
wref: string;
|
|
2554
|
+
reason: string;
|
|
2555
|
+
}>;
|
|
2556
|
+
coalescedWrefsTruncated?: true;
|
|
2557
|
+
totalCoalescedWrefs?: number;
|
|
2558
|
+
deprecations?: Array<{
|
|
2559
|
+
shape: string;
|
|
2560
|
+
message: string;
|
|
2561
|
+
removalMilestone: string;
|
|
2562
|
+
}>;
|
|
2563
|
+
};
|
|
2564
|
+
} | {
|
|
2565
|
+
opIndex?: number;
|
|
2566
|
+
name: string;
|
|
2567
|
+
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
2568
|
+
version?: number;
|
|
2569
|
+
dataHash?: string;
|
|
2570
|
+
status?: 'success' | 'noop' | 'failed';
|
|
2571
|
+
error?: {
|
|
2572
|
+
code: string;
|
|
2573
|
+
message: string;
|
|
2574
|
+
details?: {
|
|
2575
|
+
reason: 'expected_version_mismatch';
|
|
2576
|
+
expectedVersion: number;
|
|
2577
|
+
currentVersion: number;
|
|
2578
|
+
} | {
|
|
2579
|
+
reason: 'lease_held';
|
|
2580
|
+
leaseExpiresAt: string;
|
|
2581
|
+
} | {
|
|
2582
|
+
reason: 'validation_failed';
|
|
2583
|
+
issues: Array<{
|
|
2584
|
+
path: string;
|
|
2585
|
+
message: string;
|
|
2586
|
+
}>;
|
|
2587
|
+
} | {
|
|
2588
|
+
reason: 'rate_limit_reset';
|
|
2589
|
+
retryAfterSeconds: number;
|
|
2590
|
+
resetAt: string;
|
|
2591
|
+
} | {
|
|
2592
|
+
reason: 'cursor_fence_unavailable';
|
|
2593
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2594
|
+
retryFromStart: true;
|
|
2595
|
+
};
|
|
2596
|
+
};
|
|
2597
|
+
resolvedName?: string;
|
|
2598
|
+
retryable?: boolean;
|
|
2599
|
+
warnings?: {
|
|
2600
|
+
undeclaredFields?: Array<string>;
|
|
2601
|
+
undeclaredFieldsTruncated?: true;
|
|
2602
|
+
totalUndeclared?: number;
|
|
2603
|
+
coalescedWrefs?: Array<{
|
|
2604
|
+
fieldPath: string;
|
|
2605
|
+
wref: string;
|
|
2606
|
+
reason: string;
|
|
2607
|
+
}>;
|
|
2608
|
+
coalescedWrefsTruncated?: true;
|
|
2609
|
+
totalCoalescedWrefs?: number;
|
|
2610
|
+
deprecations?: Array<{
|
|
2611
|
+
shape: string;
|
|
2612
|
+
message: string;
|
|
2613
|
+
removalMilestone: string;
|
|
2614
|
+
}>;
|
|
2615
|
+
};
|
|
2616
|
+
affirmations?: {
|
|
2617
|
+
added: Array<string>;
|
|
2618
|
+
removed: Array<string>;
|
|
2619
|
+
ignored: Array<string>;
|
|
2620
|
+
};
|
|
2621
|
+
}>;
|
|
2622
|
+
outcome: 'event' | 'no_event';
|
|
2623
|
+
requestDigest: string;
|
|
2624
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
2625
|
+
submissionId?: string;
|
|
2626
|
+
};
|
|
2627
|
+
} | {
|
|
2628
|
+
event: {
|
|
2629
|
+
committedAt: string;
|
|
2630
|
+
eventDigest: string;
|
|
2631
|
+
operationCount: number;
|
|
2632
|
+
repo: {
|
|
2633
|
+
orgName: string;
|
|
2634
|
+
repoName: string;
|
|
2635
|
+
};
|
|
2636
|
+
repoSeq: string;
|
|
2637
|
+
} | null;
|
|
2638
|
+
eventRequestId: string;
|
|
2639
|
+
outcome: 'event' | 'no_event';
|
|
2640
|
+
requestDigest: string;
|
|
2641
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
2642
|
+
submissionId?: string;
|
|
2643
|
+
committer?: string;
|
|
2644
|
+
createdByEmail?: string;
|
|
2645
|
+
message?: string;
|
|
2646
|
+
operationCount: number;
|
|
2647
|
+
repoSeq?: number;
|
|
2648
|
+
operations: Array<{
|
|
2649
|
+
opIndex: number;
|
|
2650
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
814
2651
|
name: string;
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
2652
|
+
submittedName?: string;
|
|
2653
|
+
resolvedName?: string;
|
|
2654
|
+
warnings?: {
|
|
2655
|
+
undeclaredFields?: Array<string>;
|
|
2656
|
+
undeclaredFieldsTruncated?: true;
|
|
2657
|
+
totalUndeclared?: number;
|
|
2658
|
+
coalescedWrefs?: Array<{
|
|
2659
|
+
fieldPath: string;
|
|
2660
|
+
wref: string;
|
|
2661
|
+
reason: string;
|
|
2662
|
+
}>;
|
|
2663
|
+
coalescedWrefsTruncated?: true;
|
|
2664
|
+
totalCoalescedWrefs?: number;
|
|
2665
|
+
deprecations?: Array<{
|
|
2666
|
+
shape: string;
|
|
2667
|
+
message: string;
|
|
2668
|
+
removalMilestone: string;
|
|
2669
|
+
}>;
|
|
2670
|
+
};
|
|
2671
|
+
affirmations?: {
|
|
2672
|
+
added: Array<string>;
|
|
2673
|
+
removed: Array<string>;
|
|
2674
|
+
ignored: Array<string>;
|
|
2675
|
+
};
|
|
2676
|
+
status: 'applied' | 'noop';
|
|
2677
|
+
version?: number;
|
|
2678
|
+
dataHash?: string;
|
|
820
2679
|
} | {
|
|
821
|
-
|
|
2680
|
+
opIndex: number;
|
|
2681
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
822
2682
|
name: string;
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
2683
|
+
submittedName?: string;
|
|
2684
|
+
resolvedName?: string;
|
|
2685
|
+
warnings?: {
|
|
2686
|
+
undeclaredFields?: Array<string>;
|
|
2687
|
+
undeclaredFieldsTruncated?: true;
|
|
2688
|
+
totalUndeclared?: number;
|
|
2689
|
+
coalescedWrefs?: Array<{
|
|
2690
|
+
fieldPath: string;
|
|
2691
|
+
wref: string;
|
|
2692
|
+
reason: string;
|
|
2693
|
+
}>;
|
|
2694
|
+
coalescedWrefsTruncated?: true;
|
|
2695
|
+
totalCoalescedWrefs?: number;
|
|
2696
|
+
deprecations?: Array<{
|
|
2697
|
+
shape: string;
|
|
2698
|
+
message: string;
|
|
2699
|
+
removalMilestone: string;
|
|
2700
|
+
}>;
|
|
2701
|
+
};
|
|
2702
|
+
affirmations?: {
|
|
2703
|
+
added: Array<string>;
|
|
2704
|
+
removed: Array<string>;
|
|
2705
|
+
ignored: Array<string>;
|
|
2706
|
+
};
|
|
2707
|
+
status: 'error';
|
|
2708
|
+
errors: Array<{
|
|
2709
|
+
code: string;
|
|
2710
|
+
message: string;
|
|
2711
|
+
path?: string;
|
|
2712
|
+
details?: {
|
|
2713
|
+
reason: 'expected_version_mismatch';
|
|
2714
|
+
expectedVersion: number;
|
|
2715
|
+
currentVersion: number;
|
|
2716
|
+
} | {
|
|
2717
|
+
reason: 'lease_held';
|
|
2718
|
+
leaseExpiresAt: string;
|
|
2719
|
+
} | {
|
|
2720
|
+
reason: 'validation_failed';
|
|
2721
|
+
issues: Array<{
|
|
2722
|
+
path: string;
|
|
2723
|
+
message: string;
|
|
2724
|
+
}>;
|
|
2725
|
+
} | {
|
|
2726
|
+
reason: 'rate_limit_reset';
|
|
2727
|
+
retryAfterSeconds: number;
|
|
2728
|
+
resetAt: string;
|
|
2729
|
+
} | {
|
|
2730
|
+
reason: 'cursor_fence_unavailable';
|
|
2731
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2732
|
+
retryFromStart: true;
|
|
2733
|
+
} | {
|
|
2734
|
+
reason: 'dependency_failed';
|
|
2735
|
+
producerOpIndexes: Array<number>;
|
|
2736
|
+
};
|
|
2737
|
+
retryable?: boolean;
|
|
2738
|
+
}>;
|
|
2739
|
+
}>;
|
|
2740
|
+
receipt: {
|
|
2741
|
+
event: {
|
|
2742
|
+
committedAt: string;
|
|
2743
|
+
eventDigest: string;
|
|
2744
|
+
operationCount: number;
|
|
2745
|
+
repo: {
|
|
2746
|
+
orgName: string;
|
|
2747
|
+
repoName: string;
|
|
2748
|
+
};
|
|
2749
|
+
repoSeq: string;
|
|
2750
|
+
} | null;
|
|
2751
|
+
eventRequestId: string;
|
|
2752
|
+
operations: Array<{
|
|
2753
|
+
opIndex: number;
|
|
2754
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2755
|
+
name: string;
|
|
2756
|
+
submittedName?: string;
|
|
2757
|
+
resolvedName?: string;
|
|
2758
|
+
warnings?: {
|
|
2759
|
+
undeclaredFields?: Array<string>;
|
|
2760
|
+
undeclaredFieldsTruncated?: true;
|
|
2761
|
+
totalUndeclared?: number;
|
|
2762
|
+
coalescedWrefs?: Array<{
|
|
2763
|
+
fieldPath: string;
|
|
2764
|
+
wref: string;
|
|
2765
|
+
reason: string;
|
|
2766
|
+
}>;
|
|
2767
|
+
coalescedWrefsTruncated?: true;
|
|
2768
|
+
totalCoalescedWrefs?: number;
|
|
2769
|
+
deprecations?: Array<{
|
|
2770
|
+
shape: string;
|
|
2771
|
+
message: string;
|
|
2772
|
+
removalMilestone: string;
|
|
2773
|
+
}>;
|
|
2774
|
+
};
|
|
2775
|
+
affirmations?: {
|
|
2776
|
+
added: Array<string>;
|
|
2777
|
+
removed: Array<string>;
|
|
2778
|
+
ignored: Array<string>;
|
|
2779
|
+
};
|
|
2780
|
+
status: 'applied' | 'noop';
|
|
2781
|
+
version?: number;
|
|
2782
|
+
dataHash?: string;
|
|
2783
|
+
} | {
|
|
2784
|
+
opIndex: number;
|
|
2785
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2786
|
+
name: string;
|
|
2787
|
+
submittedName?: string;
|
|
2788
|
+
resolvedName?: string;
|
|
2789
|
+
warnings?: {
|
|
2790
|
+
undeclaredFields?: Array<string>;
|
|
2791
|
+
undeclaredFieldsTruncated?: true;
|
|
2792
|
+
totalUndeclared?: number;
|
|
2793
|
+
coalescedWrefs?: Array<{
|
|
2794
|
+
fieldPath: string;
|
|
2795
|
+
wref: string;
|
|
2796
|
+
reason: string;
|
|
2797
|
+
}>;
|
|
2798
|
+
coalescedWrefsTruncated?: true;
|
|
2799
|
+
totalCoalescedWrefs?: number;
|
|
2800
|
+
deprecations?: Array<{
|
|
2801
|
+
shape: string;
|
|
2802
|
+
message: string;
|
|
2803
|
+
removalMilestone: string;
|
|
2804
|
+
}>;
|
|
2805
|
+
};
|
|
2806
|
+
affirmations?: {
|
|
2807
|
+
added: Array<string>;
|
|
2808
|
+
removed: Array<string>;
|
|
2809
|
+
ignored: Array<string>;
|
|
2810
|
+
};
|
|
2811
|
+
status: 'error';
|
|
2812
|
+
errors: Array<{
|
|
2813
|
+
code: string;
|
|
2814
|
+
message: string;
|
|
2815
|
+
path?: string;
|
|
2816
|
+
details?: {
|
|
2817
|
+
reason: 'expected_version_mismatch';
|
|
2818
|
+
expectedVersion: number;
|
|
2819
|
+
currentVersion: number;
|
|
2820
|
+
} | {
|
|
2821
|
+
reason: 'lease_held';
|
|
2822
|
+
leaseExpiresAt: string;
|
|
2823
|
+
} | {
|
|
2824
|
+
reason: 'validation_failed';
|
|
2825
|
+
issues: Array<{
|
|
2826
|
+
path: string;
|
|
2827
|
+
message: string;
|
|
2828
|
+
}>;
|
|
2829
|
+
} | {
|
|
2830
|
+
reason: 'rate_limit_reset';
|
|
2831
|
+
retryAfterSeconds: number;
|
|
2832
|
+
resetAt: string;
|
|
2833
|
+
} | {
|
|
2834
|
+
reason: 'cursor_fence_unavailable';
|
|
2835
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2836
|
+
retryFromStart: true;
|
|
2837
|
+
} | {
|
|
2838
|
+
reason: 'dependency_failed';
|
|
2839
|
+
producerOpIndexes: Array<number>;
|
|
2840
|
+
};
|
|
2841
|
+
retryable?: boolean;
|
|
2842
|
+
}>;
|
|
2843
|
+
}>;
|
|
2844
|
+
outcome: 'event' | 'no_event';
|
|
2845
|
+
requestDigest: string;
|
|
2846
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
2847
|
+
submissionId?: string;
|
|
2848
|
+
};
|
|
2849
|
+
};
|
|
2850
|
+
type CollectionMutationCompatibilityResult = {
|
|
2851
|
+
event: {
|
|
2852
|
+
committedAt: string;
|
|
2853
|
+
eventDigest: string;
|
|
2854
|
+
operationCount: number;
|
|
2855
|
+
repo: {
|
|
2856
|
+
orgName: string;
|
|
2857
|
+
repoName: string;
|
|
2858
|
+
};
|
|
2859
|
+
repoSeq: string;
|
|
2860
|
+
} | null;
|
|
2861
|
+
eventRequestId: string;
|
|
2862
|
+
operations: Array<{
|
|
2863
|
+
opIndex?: number;
|
|
830
2864
|
name: string;
|
|
831
|
-
add
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
2865
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
2866
|
+
version: number;
|
|
2867
|
+
dataHash: string;
|
|
2868
|
+
status?: 'applied' | 'noop';
|
|
2869
|
+
affirmations?: {
|
|
2870
|
+
added: Array<string>;
|
|
2871
|
+
removed: Array<string>;
|
|
2872
|
+
ignored: Array<string>;
|
|
2873
|
+
};
|
|
2874
|
+
warnings?: {
|
|
2875
|
+
undeclaredFields?: Array<string>;
|
|
2876
|
+
undeclaredFieldsTruncated?: true;
|
|
2877
|
+
totalUndeclared?: number;
|
|
2878
|
+
coalescedWrefs?: Array<{
|
|
2879
|
+
fieldPath: string;
|
|
2880
|
+
wref: string;
|
|
2881
|
+
reason: string;
|
|
2882
|
+
}>;
|
|
2883
|
+
coalescedWrefsTruncated?: true;
|
|
2884
|
+
totalCoalescedWrefs?: number;
|
|
2885
|
+
deprecations?: Array<{
|
|
2886
|
+
shape: string;
|
|
2887
|
+
message: string;
|
|
2888
|
+
removalMilestone: string;
|
|
2889
|
+
}>;
|
|
2890
|
+
};
|
|
835
2891
|
} | {
|
|
836
|
-
operation: 'rename';
|
|
837
|
-
name: string;
|
|
838
|
-
newName: string;
|
|
839
|
-
kind?: 'shape' | 'thing' | 'assertion' | 'collection';
|
|
840
|
-
}>;
|
|
841
|
-
chunkOrdinal: number;
|
|
842
|
-
submissionId: string;
|
|
843
|
-
};
|
|
844
|
-
type StreamAppendResult$1 = {
|
|
845
|
-
allocatedTokenRanges: Array<{
|
|
846
|
-
start: number;
|
|
847
|
-
end: number;
|
|
848
|
-
}>;
|
|
849
|
-
results: Array<{
|
|
850
2892
|
opIndex?: number;
|
|
851
2893
|
name: string;
|
|
852
2894
|
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
853
2895
|
version?: number;
|
|
854
2896
|
dataHash?: string;
|
|
855
|
-
status?: 'success' | 'noop' | 'failed';
|
|
856
|
-
error?: {
|
|
2897
|
+
status?: 'success' | 'noop' | 'failed';
|
|
2898
|
+
error?: {
|
|
2899
|
+
code: string;
|
|
2900
|
+
message: string;
|
|
2901
|
+
details?: {
|
|
2902
|
+
reason: 'expected_version_mismatch';
|
|
2903
|
+
expectedVersion: number;
|
|
2904
|
+
currentVersion: number;
|
|
2905
|
+
} | {
|
|
2906
|
+
reason: 'lease_held';
|
|
2907
|
+
leaseExpiresAt: string;
|
|
2908
|
+
} | {
|
|
2909
|
+
reason: 'validation_failed';
|
|
2910
|
+
issues: Array<{
|
|
2911
|
+
path: string;
|
|
2912
|
+
message: string;
|
|
2913
|
+
}>;
|
|
2914
|
+
} | {
|
|
2915
|
+
reason: 'rate_limit_reset';
|
|
2916
|
+
retryAfterSeconds: number;
|
|
2917
|
+
resetAt: string;
|
|
2918
|
+
} | {
|
|
2919
|
+
reason: 'cursor_fence_unavailable';
|
|
2920
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2921
|
+
retryFromStart: true;
|
|
2922
|
+
};
|
|
2923
|
+
};
|
|
2924
|
+
resolvedName?: string;
|
|
2925
|
+
retryable?: boolean;
|
|
2926
|
+
warnings?: {
|
|
2927
|
+
undeclaredFields?: Array<string>;
|
|
2928
|
+
undeclaredFieldsTruncated?: true;
|
|
2929
|
+
totalUndeclared?: number;
|
|
2930
|
+
coalescedWrefs?: Array<{
|
|
2931
|
+
fieldPath: string;
|
|
2932
|
+
wref: string;
|
|
2933
|
+
reason: string;
|
|
2934
|
+
}>;
|
|
2935
|
+
coalescedWrefsTruncated?: true;
|
|
2936
|
+
totalCoalescedWrefs?: number;
|
|
2937
|
+
deprecations?: Array<{
|
|
2938
|
+
shape: string;
|
|
2939
|
+
message: string;
|
|
2940
|
+
removalMilestone: string;
|
|
2941
|
+
}>;
|
|
2942
|
+
};
|
|
2943
|
+
affirmations?: {
|
|
2944
|
+
added: Array<string>;
|
|
2945
|
+
removed: Array<string>;
|
|
2946
|
+
ignored: Array<string>;
|
|
2947
|
+
};
|
|
2948
|
+
}>;
|
|
2949
|
+
outcome: 'event' | 'no_event';
|
|
2950
|
+
requestDigest: string;
|
|
2951
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
2952
|
+
submissionId?: string;
|
|
2953
|
+
type: 'arc' | 'bond' | 'set' | 'list' | 'pair';
|
|
2954
|
+
wref: string;
|
|
2955
|
+
version: number;
|
|
2956
|
+
memberCount: number;
|
|
2957
|
+
dataHash?: string;
|
|
2958
|
+
operationCount: number;
|
|
2959
|
+
status: 'created' | 'updated' | 'noop';
|
|
2960
|
+
warnings?: {
|
|
2961
|
+
undeclaredFields?: Array<string>;
|
|
2962
|
+
undeclaredFieldsTruncated?: true;
|
|
2963
|
+
totalUndeclared?: number;
|
|
2964
|
+
coalescedWrefs?: Array<{
|
|
2965
|
+
fieldPath: string;
|
|
2966
|
+
wref: string;
|
|
2967
|
+
reason: string;
|
|
2968
|
+
}>;
|
|
2969
|
+
coalescedWrefsTruncated?: true;
|
|
2970
|
+
totalCoalescedWrefs?: number;
|
|
2971
|
+
deprecations?: Array<{
|
|
2972
|
+
shape: string;
|
|
2973
|
+
message: string;
|
|
2974
|
+
removalMilestone: string;
|
|
2975
|
+
}>;
|
|
2976
|
+
};
|
|
2977
|
+
receipt: {
|
|
2978
|
+
event: {
|
|
2979
|
+
committedAt: string;
|
|
2980
|
+
eventDigest: string;
|
|
2981
|
+
operationCount: number;
|
|
2982
|
+
repo: {
|
|
2983
|
+
orgName: string;
|
|
2984
|
+
repoName: string;
|
|
2985
|
+
};
|
|
2986
|
+
repoSeq: string;
|
|
2987
|
+
} | null;
|
|
2988
|
+
eventRequestId: string;
|
|
2989
|
+
operations: Array<{
|
|
2990
|
+
opIndex?: number;
|
|
2991
|
+
name: string;
|
|
2992
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
2993
|
+
version: number;
|
|
2994
|
+
dataHash: string;
|
|
2995
|
+
status?: 'applied' | 'noop';
|
|
2996
|
+
affirmations?: {
|
|
2997
|
+
added: Array<string>;
|
|
2998
|
+
removed: Array<string>;
|
|
2999
|
+
ignored: Array<string>;
|
|
3000
|
+
};
|
|
3001
|
+
warnings?: {
|
|
3002
|
+
undeclaredFields?: Array<string>;
|
|
3003
|
+
undeclaredFieldsTruncated?: true;
|
|
3004
|
+
totalUndeclared?: number;
|
|
3005
|
+
coalescedWrefs?: Array<{
|
|
3006
|
+
fieldPath: string;
|
|
3007
|
+
wref: string;
|
|
3008
|
+
reason: string;
|
|
3009
|
+
}>;
|
|
3010
|
+
coalescedWrefsTruncated?: true;
|
|
3011
|
+
totalCoalescedWrefs?: number;
|
|
3012
|
+
deprecations?: Array<{
|
|
3013
|
+
shape: string;
|
|
3014
|
+
message: string;
|
|
3015
|
+
removalMilestone: string;
|
|
3016
|
+
}>;
|
|
3017
|
+
};
|
|
3018
|
+
} | {
|
|
3019
|
+
opIndex?: number;
|
|
3020
|
+
name: string;
|
|
3021
|
+
operation?: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename' | 'noop';
|
|
3022
|
+
version?: number;
|
|
3023
|
+
dataHash?: string;
|
|
3024
|
+
status?: 'success' | 'noop' | 'failed';
|
|
3025
|
+
error?: {
|
|
3026
|
+
code: string;
|
|
3027
|
+
message: string;
|
|
3028
|
+
details?: {
|
|
3029
|
+
reason: 'expected_version_mismatch';
|
|
3030
|
+
expectedVersion: number;
|
|
3031
|
+
currentVersion: number;
|
|
3032
|
+
} | {
|
|
3033
|
+
reason: 'lease_held';
|
|
3034
|
+
leaseExpiresAt: string;
|
|
3035
|
+
} | {
|
|
3036
|
+
reason: 'validation_failed';
|
|
3037
|
+
issues: Array<{
|
|
3038
|
+
path: string;
|
|
3039
|
+
message: string;
|
|
3040
|
+
}>;
|
|
3041
|
+
} | {
|
|
3042
|
+
reason: 'rate_limit_reset';
|
|
3043
|
+
retryAfterSeconds: number;
|
|
3044
|
+
resetAt: string;
|
|
3045
|
+
} | {
|
|
3046
|
+
reason: 'cursor_fence_unavailable';
|
|
3047
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
3048
|
+
retryFromStart: true;
|
|
3049
|
+
};
|
|
3050
|
+
};
|
|
3051
|
+
resolvedName?: string;
|
|
3052
|
+
retryable?: boolean;
|
|
3053
|
+
warnings?: {
|
|
3054
|
+
undeclaredFields?: Array<string>;
|
|
3055
|
+
undeclaredFieldsTruncated?: true;
|
|
3056
|
+
totalUndeclared?: number;
|
|
3057
|
+
coalescedWrefs?: Array<{
|
|
3058
|
+
fieldPath: string;
|
|
3059
|
+
wref: string;
|
|
3060
|
+
reason: string;
|
|
3061
|
+
}>;
|
|
3062
|
+
coalescedWrefsTruncated?: true;
|
|
3063
|
+
totalCoalescedWrefs?: number;
|
|
3064
|
+
deprecations?: Array<{
|
|
3065
|
+
shape: string;
|
|
3066
|
+
message: string;
|
|
3067
|
+
removalMilestone: string;
|
|
3068
|
+
}>;
|
|
3069
|
+
};
|
|
3070
|
+
affirmations?: {
|
|
3071
|
+
added: Array<string>;
|
|
3072
|
+
removed: Array<string>;
|
|
3073
|
+
ignored: Array<string>;
|
|
3074
|
+
};
|
|
3075
|
+
}>;
|
|
3076
|
+
outcome: 'event' | 'no_event';
|
|
3077
|
+
requestDigest: string;
|
|
3078
|
+
schemaVersion: 'operation-event-receipt/v1';
|
|
3079
|
+
submissionId?: string;
|
|
3080
|
+
};
|
|
3081
|
+
} | {
|
|
3082
|
+
event: {
|
|
3083
|
+
committedAt: string;
|
|
3084
|
+
eventDigest: string;
|
|
3085
|
+
operationCount: number;
|
|
3086
|
+
repo: {
|
|
3087
|
+
orgName: string;
|
|
3088
|
+
repoName: string;
|
|
3089
|
+
};
|
|
3090
|
+
repoSeq: string;
|
|
3091
|
+
} | null;
|
|
3092
|
+
eventRequestId: string;
|
|
3093
|
+
operations: Array<{
|
|
3094
|
+
opIndex: number;
|
|
3095
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3096
|
+
name: string;
|
|
3097
|
+
submittedName?: string;
|
|
3098
|
+
resolvedName?: string;
|
|
3099
|
+
warnings?: {
|
|
3100
|
+
undeclaredFields?: Array<string>;
|
|
3101
|
+
undeclaredFieldsTruncated?: true;
|
|
3102
|
+
totalUndeclared?: number;
|
|
3103
|
+
coalescedWrefs?: Array<{
|
|
3104
|
+
fieldPath: string;
|
|
3105
|
+
wref: string;
|
|
3106
|
+
reason: string;
|
|
3107
|
+
}>;
|
|
3108
|
+
coalescedWrefsTruncated?: true;
|
|
3109
|
+
totalCoalescedWrefs?: number;
|
|
3110
|
+
deprecations?: Array<{
|
|
3111
|
+
shape: string;
|
|
3112
|
+
message: string;
|
|
3113
|
+
removalMilestone: string;
|
|
3114
|
+
}>;
|
|
3115
|
+
};
|
|
3116
|
+
affirmations?: {
|
|
3117
|
+
added: Array<string>;
|
|
3118
|
+
removed: Array<string>;
|
|
3119
|
+
ignored: Array<string>;
|
|
3120
|
+
};
|
|
3121
|
+
status: 'applied' | 'noop';
|
|
3122
|
+
version?: number;
|
|
3123
|
+
dataHash?: string;
|
|
3124
|
+
} | {
|
|
3125
|
+
opIndex: number;
|
|
3126
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3127
|
+
name: string;
|
|
3128
|
+
submittedName?: string;
|
|
3129
|
+
resolvedName?: string;
|
|
3130
|
+
warnings?: {
|
|
3131
|
+
undeclaredFields?: Array<string>;
|
|
3132
|
+
undeclaredFieldsTruncated?: true;
|
|
3133
|
+
totalUndeclared?: number;
|
|
3134
|
+
coalescedWrefs?: Array<{
|
|
3135
|
+
fieldPath: string;
|
|
3136
|
+
wref: string;
|
|
3137
|
+
reason: string;
|
|
3138
|
+
}>;
|
|
3139
|
+
coalescedWrefsTruncated?: true;
|
|
3140
|
+
totalCoalescedWrefs?: number;
|
|
3141
|
+
deprecations?: Array<{
|
|
3142
|
+
shape: string;
|
|
3143
|
+
message: string;
|
|
3144
|
+
removalMilestone: string;
|
|
3145
|
+
}>;
|
|
3146
|
+
};
|
|
3147
|
+
affirmations?: {
|
|
3148
|
+
added: Array<string>;
|
|
3149
|
+
removed: Array<string>;
|
|
3150
|
+
ignored: Array<string>;
|
|
3151
|
+
};
|
|
3152
|
+
status: 'error';
|
|
3153
|
+
errors: Array<{
|
|
857
3154
|
code: string;
|
|
858
3155
|
message: string;
|
|
3156
|
+
path?: string;
|
|
859
3157
|
details?: {
|
|
860
3158
|
reason: 'expected_version_mismatch';
|
|
861
3159
|
expectedVersion: number;
|
|
@@ -877,58 +3175,152 @@ type StreamAppendResult$1 = {
|
|
|
877
3175
|
reason: 'cursor_fence_unavailable';
|
|
878
3176
|
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
879
3177
|
retryFromStart: true;
|
|
3178
|
+
} | {
|
|
3179
|
+
reason: 'dependency_failed';
|
|
3180
|
+
producerOpIndexes: Array<number>;
|
|
880
3181
|
};
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
3182
|
+
retryable?: boolean;
|
|
3183
|
+
}>;
|
|
3184
|
+
}>;
|
|
3185
|
+
outcome: 'event' | 'no_event';
|
|
3186
|
+
requestDigest: string;
|
|
3187
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
3188
|
+
submissionId?: string;
|
|
3189
|
+
type: 'arc' | 'bond' | 'set' | 'list' | 'pair';
|
|
3190
|
+
wref: string;
|
|
3191
|
+
version: number;
|
|
3192
|
+
memberCount: number;
|
|
3193
|
+
dataHash?: string;
|
|
3194
|
+
operationCount: number;
|
|
3195
|
+
status: 'created' | 'updated' | 'noop';
|
|
3196
|
+
warnings?: {
|
|
3197
|
+
undeclaredFields?: Array<string>;
|
|
3198
|
+
undeclaredFieldsTruncated?: true;
|
|
3199
|
+
totalUndeclared?: number;
|
|
3200
|
+
coalescedWrefs?: Array<{
|
|
3201
|
+
fieldPath: string;
|
|
3202
|
+
wref: string;
|
|
3203
|
+
reason: string;
|
|
3204
|
+
}>;
|
|
3205
|
+
coalescedWrefsTruncated?: true;
|
|
3206
|
+
totalCoalescedWrefs?: number;
|
|
3207
|
+
deprecations?: Array<{
|
|
3208
|
+
shape: string;
|
|
3209
|
+
message: string;
|
|
3210
|
+
removalMilestone: string;
|
|
3211
|
+
}>;
|
|
3212
|
+
};
|
|
3213
|
+
receipt: {
|
|
3214
|
+
event: {
|
|
3215
|
+
committedAt: string;
|
|
3216
|
+
eventDigest: string;
|
|
3217
|
+
operationCount: number;
|
|
3218
|
+
repo: {
|
|
3219
|
+
orgName: string;
|
|
3220
|
+
repoName: string;
|
|
3221
|
+
};
|
|
3222
|
+
repoSeq: string;
|
|
3223
|
+
} | null;
|
|
3224
|
+
eventRequestId: string;
|
|
3225
|
+
operations: Array<{
|
|
3226
|
+
opIndex: number;
|
|
3227
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3228
|
+
name: string;
|
|
3229
|
+
submittedName?: string;
|
|
3230
|
+
resolvedName?: string;
|
|
3231
|
+
warnings?: {
|
|
3232
|
+
undeclaredFields?: Array<string>;
|
|
3233
|
+
undeclaredFieldsTruncated?: true;
|
|
3234
|
+
totalUndeclared?: number;
|
|
3235
|
+
coalescedWrefs?: Array<{
|
|
3236
|
+
fieldPath: string;
|
|
3237
|
+
wref: string;
|
|
3238
|
+
reason: string;
|
|
3239
|
+
}>;
|
|
3240
|
+
coalescedWrefsTruncated?: true;
|
|
3241
|
+
totalCoalescedWrefs?: number;
|
|
3242
|
+
deprecations?: Array<{
|
|
3243
|
+
shape: string;
|
|
3244
|
+
message: string;
|
|
3245
|
+
removalMilestone: string;
|
|
3246
|
+
}>;
|
|
3247
|
+
};
|
|
3248
|
+
affirmations?: {
|
|
3249
|
+
added: Array<string>;
|
|
3250
|
+
removed: Array<string>;
|
|
3251
|
+
ignored: Array<string>;
|
|
3252
|
+
};
|
|
3253
|
+
status: 'applied' | 'noop';
|
|
3254
|
+
version?: number;
|
|
3255
|
+
dataHash?: string;
|
|
3256
|
+
} | {
|
|
3257
|
+
opIndex: number;
|
|
3258
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3259
|
+
name: string;
|
|
3260
|
+
submittedName?: string;
|
|
3261
|
+
resolvedName?: string;
|
|
3262
|
+
warnings?: {
|
|
3263
|
+
undeclaredFields?: Array<string>;
|
|
3264
|
+
undeclaredFieldsTruncated?: true;
|
|
3265
|
+
totalUndeclared?: number;
|
|
3266
|
+
coalescedWrefs?: Array<{
|
|
3267
|
+
fieldPath: string;
|
|
3268
|
+
wref: string;
|
|
3269
|
+
reason: string;
|
|
3270
|
+
}>;
|
|
3271
|
+
coalescedWrefsTruncated?: true;
|
|
3272
|
+
totalCoalescedWrefs?: number;
|
|
3273
|
+
deprecations?: Array<{
|
|
3274
|
+
shape: string;
|
|
3275
|
+
message: string;
|
|
3276
|
+
removalMilestone: string;
|
|
3277
|
+
}>;
|
|
3278
|
+
};
|
|
3279
|
+
affirmations?: {
|
|
3280
|
+
added: Array<string>;
|
|
3281
|
+
removed: Array<string>;
|
|
3282
|
+
ignored: Array<string>;
|
|
3283
|
+
};
|
|
3284
|
+
status: 'error';
|
|
3285
|
+
errors: Array<{
|
|
3286
|
+
code: string;
|
|
897
3287
|
message: string;
|
|
898
|
-
|
|
3288
|
+
path?: string;
|
|
3289
|
+
details?: {
|
|
3290
|
+
reason: 'expected_version_mismatch';
|
|
3291
|
+
expectedVersion: number;
|
|
3292
|
+
currentVersion: number;
|
|
3293
|
+
} | {
|
|
3294
|
+
reason: 'lease_held';
|
|
3295
|
+
leaseExpiresAt: string;
|
|
3296
|
+
} | {
|
|
3297
|
+
reason: 'validation_failed';
|
|
3298
|
+
issues: Array<{
|
|
3299
|
+
path: string;
|
|
3300
|
+
message: string;
|
|
3301
|
+
}>;
|
|
3302
|
+
} | {
|
|
3303
|
+
reason: 'rate_limit_reset';
|
|
3304
|
+
retryAfterSeconds: number;
|
|
3305
|
+
resetAt: string;
|
|
3306
|
+
} | {
|
|
3307
|
+
reason: 'cursor_fence_unavailable';
|
|
3308
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
3309
|
+
retryFromStart: true;
|
|
3310
|
+
} | {
|
|
3311
|
+
reason: 'dependency_failed';
|
|
3312
|
+
producerOpIndexes: Array<number>;
|
|
3313
|
+
};
|
|
3314
|
+
retryable?: boolean;
|
|
899
3315
|
}>;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
};
|
|
906
|
-
}>;
|
|
907
|
-
repoSeq?: number;
|
|
908
|
-
createdByEmail?: string;
|
|
909
|
-
appendTotalMs?: number;
|
|
910
|
-
appendResolveRepoMs?: number;
|
|
911
|
-
appendApplyMs?: number;
|
|
912
|
-
applySubphases?: {
|
|
913
|
-
addThingMs?: number;
|
|
914
|
-
addAssertionMs?: number;
|
|
915
|
-
addAssertionResolveAboutMs?: number;
|
|
916
|
-
reviseThingMs?: number;
|
|
917
|
-
reviseAssertionMs?: number;
|
|
918
|
-
reviseCollectionMs?: number;
|
|
919
|
-
preparePinnedLoadShapeFieldsMs?: number;
|
|
920
|
-
preparePinnedPinWrefsMs?: number;
|
|
921
|
-
preparePinnedValidateMs?: number;
|
|
922
|
-
operationLoopMs?: number;
|
|
923
|
-
persistMs?: number;
|
|
924
|
-
persistThingsMs?: number;
|
|
925
|
-
persistVersionsMs?: number;
|
|
926
|
-
persistAssertionsMs?: number;
|
|
927
|
-
persistUpdatesMs?: number;
|
|
928
|
-
persistOutboxMs?: number;
|
|
929
|
-
refInsertMs?: number;
|
|
930
|
-
refSourceCount?: number;
|
|
3316
|
+
}>;
|
|
3317
|
+
outcome: 'event' | 'no_event';
|
|
3318
|
+
requestDigest: string;
|
|
3319
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
3320
|
+
submissionId?: string;
|
|
931
3321
|
};
|
|
3322
|
+
};
|
|
3323
|
+
type RenameCompatibilityResult = {
|
|
932
3324
|
event: {
|
|
933
3325
|
committedAt: string;
|
|
934
3326
|
eventDigest: string;
|
|
@@ -1031,6 +3423,7 @@ type StreamAppendResult$1 = {
|
|
|
1031
3423
|
requestDigest: string;
|
|
1032
3424
|
schemaVersion: 'operation-event-receipt/v1';
|
|
1033
3425
|
submissionId?: string;
|
|
3426
|
+
renamed: true;
|
|
1034
3427
|
receipt: {
|
|
1035
3428
|
event: {
|
|
1036
3429
|
committedAt: string;
|
|
@@ -1135,25 +3528,55 @@ type StreamAppendResult$1 = {
|
|
|
1135
3528
|
schemaVersion: 'operation-event-receipt/v1';
|
|
1136
3529
|
submissionId?: string;
|
|
1137
3530
|
};
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
3531
|
+
} | {
|
|
3532
|
+
event: {
|
|
3533
|
+
committedAt: string;
|
|
3534
|
+
eventDigest: string;
|
|
3535
|
+
operationCount: number;
|
|
3536
|
+
repo: {
|
|
3537
|
+
orgName: string;
|
|
3538
|
+
repoName: string;
|
|
3539
|
+
};
|
|
3540
|
+
repoSeq: string;
|
|
3541
|
+
} | null;
|
|
3542
|
+
eventRequestId: string;
|
|
1145
3543
|
operations: Array<{
|
|
1146
|
-
opIndex
|
|
3544
|
+
opIndex: number;
|
|
3545
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1147
3546
|
name: string;
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
3547
|
+
submittedName?: string;
|
|
3548
|
+
resolvedName?: string;
|
|
3549
|
+
warnings?: {
|
|
3550
|
+
undeclaredFields?: Array<string>;
|
|
3551
|
+
undeclaredFieldsTruncated?: true;
|
|
3552
|
+
totalUndeclared?: number;
|
|
3553
|
+
coalescedWrefs?: Array<{
|
|
3554
|
+
fieldPath: string;
|
|
3555
|
+
wref: string;
|
|
3556
|
+
reason: string;
|
|
3557
|
+
}>;
|
|
3558
|
+
coalescedWrefsTruncated?: true;
|
|
3559
|
+
totalCoalescedWrefs?: number;
|
|
3560
|
+
deprecations?: Array<{
|
|
3561
|
+
shape: string;
|
|
3562
|
+
message: string;
|
|
3563
|
+
removalMilestone: string;
|
|
3564
|
+
}>;
|
|
3565
|
+
};
|
|
1152
3566
|
affirmations?: {
|
|
1153
3567
|
added: Array<string>;
|
|
1154
3568
|
removed: Array<string>;
|
|
1155
3569
|
ignored: Array<string>;
|
|
1156
3570
|
};
|
|
3571
|
+
status: 'applied' | 'noop';
|
|
3572
|
+
version?: number;
|
|
3573
|
+
dataHash?: string;
|
|
3574
|
+
} | {
|
|
3575
|
+
opIndex: number;
|
|
3576
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3577
|
+
name: string;
|
|
3578
|
+
submittedName?: string;
|
|
3579
|
+
resolvedName?: string;
|
|
1157
3580
|
warnings?: {
|
|
1158
3581
|
undeclaredFields?: Array<string>;
|
|
1159
3582
|
undeclaredFieldsTruncated?: true;
|
|
@@ -1171,22 +3594,49 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
1171
3594
|
removalMilestone: string;
|
|
1172
3595
|
}>;
|
|
1173
3596
|
};
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
operationCount: number;
|
|
1179
|
-
repo: {
|
|
1180
|
-
orgName: string;
|
|
1181
|
-
repoName: string;
|
|
3597
|
+
affirmations?: {
|
|
3598
|
+
added: Array<string>;
|
|
3599
|
+
removed: Array<string>;
|
|
3600
|
+
ignored: Array<string>;
|
|
1182
3601
|
};
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
3602
|
+
status: 'error';
|
|
3603
|
+
errors: Array<{
|
|
3604
|
+
code: string;
|
|
3605
|
+
message: string;
|
|
3606
|
+
path?: string;
|
|
3607
|
+
details?: {
|
|
3608
|
+
reason: 'expected_version_mismatch';
|
|
3609
|
+
expectedVersion: number;
|
|
3610
|
+
currentVersion: number;
|
|
3611
|
+
} | {
|
|
3612
|
+
reason: 'lease_held';
|
|
3613
|
+
leaseExpiresAt: string;
|
|
3614
|
+
} | {
|
|
3615
|
+
reason: 'validation_failed';
|
|
3616
|
+
issues: Array<{
|
|
3617
|
+
path: string;
|
|
3618
|
+
message: string;
|
|
3619
|
+
}>;
|
|
3620
|
+
} | {
|
|
3621
|
+
reason: 'rate_limit_reset';
|
|
3622
|
+
retryAfterSeconds: number;
|
|
3623
|
+
resetAt: string;
|
|
3624
|
+
} | {
|
|
3625
|
+
reason: 'cursor_fence_unavailable';
|
|
3626
|
+
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
3627
|
+
retryFromStart: true;
|
|
3628
|
+
} | {
|
|
3629
|
+
reason: 'dependency_failed';
|
|
3630
|
+
producerOpIndexes: Array<number>;
|
|
3631
|
+
};
|
|
3632
|
+
retryable?: boolean;
|
|
3633
|
+
}>;
|
|
3634
|
+
}>;
|
|
1186
3635
|
outcome: 'event' | 'no_event';
|
|
1187
3636
|
requestDigest: string;
|
|
1188
|
-
schemaVersion: 'operation-event-receipt/
|
|
3637
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
1189
3638
|
submissionId?: string;
|
|
3639
|
+
renamed: true;
|
|
1190
3640
|
receipt: {
|
|
1191
3641
|
event: {
|
|
1192
3642
|
committedAt: string;
|
|
@@ -1200,17 +3650,42 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
1200
3650
|
} | null;
|
|
1201
3651
|
eventRequestId: string;
|
|
1202
3652
|
operations: Array<{
|
|
1203
|
-
opIndex
|
|
3653
|
+
opIndex: number;
|
|
3654
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1204
3655
|
name: string;
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
3656
|
+
submittedName?: string;
|
|
3657
|
+
resolvedName?: string;
|
|
3658
|
+
warnings?: {
|
|
3659
|
+
undeclaredFields?: Array<string>;
|
|
3660
|
+
undeclaredFieldsTruncated?: true;
|
|
3661
|
+
totalUndeclared?: number;
|
|
3662
|
+
coalescedWrefs?: Array<{
|
|
3663
|
+
fieldPath: string;
|
|
3664
|
+
wref: string;
|
|
3665
|
+
reason: string;
|
|
3666
|
+
}>;
|
|
3667
|
+
coalescedWrefsTruncated?: true;
|
|
3668
|
+
totalCoalescedWrefs?: number;
|
|
3669
|
+
deprecations?: Array<{
|
|
3670
|
+
shape: string;
|
|
3671
|
+
message: string;
|
|
3672
|
+
removalMilestone: string;
|
|
3673
|
+
}>;
|
|
3674
|
+
};
|
|
1209
3675
|
affirmations?: {
|
|
1210
3676
|
added: Array<string>;
|
|
1211
3677
|
removed: Array<string>;
|
|
1212
3678
|
ignored: Array<string>;
|
|
1213
3679
|
};
|
|
3680
|
+
status: 'applied' | 'noop';
|
|
3681
|
+
version?: number;
|
|
3682
|
+
dataHash?: string;
|
|
3683
|
+
} | {
|
|
3684
|
+
opIndex: number;
|
|
3685
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
3686
|
+
name: string;
|
|
3687
|
+
submittedName?: string;
|
|
3688
|
+
resolvedName?: string;
|
|
1214
3689
|
warnings?: {
|
|
1215
3690
|
undeclaredFields?: Array<string>;
|
|
1216
3691
|
undeclaredFieldsTruncated?: true;
|
|
@@ -1228,16 +3703,16 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
1228
3703
|
removalMilestone: string;
|
|
1229
3704
|
}>;
|
|
1230
3705
|
};
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
error?: {
|
|
3706
|
+
affirmations?: {
|
|
3707
|
+
added: Array<string>;
|
|
3708
|
+
removed: Array<string>;
|
|
3709
|
+
ignored: Array<string>;
|
|
3710
|
+
};
|
|
3711
|
+
status: 'error';
|
|
3712
|
+
errors: Array<{
|
|
1239
3713
|
code: string;
|
|
1240
3714
|
message: string;
|
|
3715
|
+
path?: string;
|
|
1241
3716
|
details?: {
|
|
1242
3717
|
reason: 'expected_version_mismatch';
|
|
1243
3718
|
expectedVersion: number;
|
|
@@ -1259,64 +3734,20 @@ type CommitApplyCompatibilityResult$1 = {
|
|
|
1259
3734
|
reason: 'cursor_fence_unavailable';
|
|
1260
3735
|
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
1261
3736
|
retryFromStart: true;
|
|
3737
|
+
} | {
|
|
3738
|
+
reason: 'dependency_failed';
|
|
3739
|
+
producerOpIndexes: Array<number>;
|
|
1262
3740
|
};
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
retryable?: boolean;
|
|
1266
|
-
warnings?: {
|
|
1267
|
-
undeclaredFields?: Array<string>;
|
|
1268
|
-
undeclaredFieldsTruncated?: true;
|
|
1269
|
-
totalUndeclared?: number;
|
|
1270
|
-
coalescedWrefs?: Array<{
|
|
1271
|
-
fieldPath: string;
|
|
1272
|
-
wref: string;
|
|
1273
|
-
reason: string;
|
|
1274
|
-
}>;
|
|
1275
|
-
coalescedWrefsTruncated?: true;
|
|
1276
|
-
totalCoalescedWrefs?: number;
|
|
1277
|
-
deprecations?: Array<{
|
|
1278
|
-
shape: string;
|
|
1279
|
-
message: string;
|
|
1280
|
-
removalMilestone: string;
|
|
1281
|
-
}>;
|
|
1282
|
-
};
|
|
1283
|
-
affirmations?: {
|
|
1284
|
-
added: Array<string>;
|
|
1285
|
-
removed: Array<string>;
|
|
1286
|
-
ignored: Array<string>;
|
|
1287
|
-
};
|
|
3741
|
+
retryable?: boolean;
|
|
3742
|
+
}>;
|
|
1288
3743
|
}>;
|
|
1289
3744
|
outcome: 'event' | 'no_event';
|
|
1290
3745
|
requestDigest: string;
|
|
1291
|
-
schemaVersion: 'operation-event-receipt/
|
|
3746
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
1292
3747
|
submissionId?: string;
|
|
1293
3748
|
};
|
|
1294
3749
|
};
|
|
1295
|
-
type
|
|
1296
|
-
type: 'arc' | 'bond' | 'set' | 'list' | 'pair';
|
|
1297
|
-
wref: string;
|
|
1298
|
-
version: number;
|
|
1299
|
-
memberCount: number;
|
|
1300
|
-
dataHash?: string;
|
|
1301
|
-
operationCount: number;
|
|
1302
|
-
status: 'created' | 'updated' | 'noop';
|
|
1303
|
-
warnings?: {
|
|
1304
|
-
undeclaredFields?: Array<string>;
|
|
1305
|
-
undeclaredFieldsTruncated?: true;
|
|
1306
|
-
totalUndeclared?: number;
|
|
1307
|
-
coalescedWrefs?: Array<{
|
|
1308
|
-
fieldPath: string;
|
|
1309
|
-
wref: string;
|
|
1310
|
-
reason: string;
|
|
1311
|
-
}>;
|
|
1312
|
-
coalescedWrefsTruncated?: true;
|
|
1313
|
-
totalCoalescedWrefs?: number;
|
|
1314
|
-
deprecations?: Array<{
|
|
1315
|
-
shape: string;
|
|
1316
|
-
message: string;
|
|
1317
|
-
removalMilestone: string;
|
|
1318
|
-
}>;
|
|
1319
|
-
};
|
|
3750
|
+
type ShapeChangeCompatibilityResult = {
|
|
1320
3751
|
event: {
|
|
1321
3752
|
committedAt: string;
|
|
1322
3753
|
eventDigest: string;
|
|
@@ -1419,6 +3850,10 @@ type CollectionMutationCompatibilityResult = {
|
|
|
1419
3850
|
requestDigest: string;
|
|
1420
3851
|
schemaVersion: 'operation-event-receipt/v1';
|
|
1421
3852
|
submissionId?: string;
|
|
3853
|
+
name: string;
|
|
3854
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
3855
|
+
version: number;
|
|
3856
|
+
dataHash: string;
|
|
1422
3857
|
receipt: {
|
|
1423
3858
|
event: {
|
|
1424
3859
|
committedAt: string;
|
|
@@ -1523,9 +3958,7 @@ type CollectionMutationCompatibilityResult = {
|
|
|
1523
3958
|
schemaVersion: 'operation-event-receipt/v1';
|
|
1524
3959
|
submissionId?: string;
|
|
1525
3960
|
};
|
|
1526
|
-
}
|
|
1527
|
-
type RenameCompatibilityResult = {
|
|
1528
|
-
renamed: true;
|
|
3961
|
+
} | {
|
|
1529
3962
|
event: {
|
|
1530
3963
|
committedAt: string;
|
|
1531
3964
|
eventDigest: string;
|
|
@@ -1538,17 +3971,42 @@ type RenameCompatibilityResult = {
|
|
|
1538
3971
|
} | null;
|
|
1539
3972
|
eventRequestId: string;
|
|
1540
3973
|
operations: Array<{
|
|
1541
|
-
opIndex
|
|
3974
|
+
opIndex: number;
|
|
3975
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1542
3976
|
name: string;
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
3977
|
+
submittedName?: string;
|
|
3978
|
+
resolvedName?: string;
|
|
3979
|
+
warnings?: {
|
|
3980
|
+
undeclaredFields?: Array<string>;
|
|
3981
|
+
undeclaredFieldsTruncated?: true;
|
|
3982
|
+
totalUndeclared?: number;
|
|
3983
|
+
coalescedWrefs?: Array<{
|
|
3984
|
+
fieldPath: string;
|
|
3985
|
+
wref: string;
|
|
3986
|
+
reason: string;
|
|
3987
|
+
}>;
|
|
3988
|
+
coalescedWrefsTruncated?: true;
|
|
3989
|
+
totalCoalescedWrefs?: number;
|
|
3990
|
+
deprecations?: Array<{
|
|
3991
|
+
shape: string;
|
|
3992
|
+
message: string;
|
|
3993
|
+
removalMilestone: string;
|
|
3994
|
+
}>;
|
|
3995
|
+
};
|
|
1547
3996
|
affirmations?: {
|
|
1548
3997
|
added: Array<string>;
|
|
1549
3998
|
removed: Array<string>;
|
|
1550
3999
|
ignored: Array<string>;
|
|
1551
4000
|
};
|
|
4001
|
+
status: 'applied' | 'noop';
|
|
4002
|
+
version?: number;
|
|
4003
|
+
dataHash?: string;
|
|
4004
|
+
} | {
|
|
4005
|
+
opIndex: number;
|
|
4006
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
4007
|
+
name: string;
|
|
4008
|
+
submittedName?: string;
|
|
4009
|
+
resolvedName?: string;
|
|
1552
4010
|
warnings?: {
|
|
1553
4011
|
undeclaredFields?: Array<string>;
|
|
1554
4012
|
undeclaredFieldsTruncated?: true;
|
|
@@ -1566,16 +4024,16 @@ type RenameCompatibilityResult = {
|
|
|
1566
4024
|
removalMilestone: string;
|
|
1567
4025
|
}>;
|
|
1568
4026
|
};
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
error?: {
|
|
4027
|
+
affirmations?: {
|
|
4028
|
+
added: Array<string>;
|
|
4029
|
+
removed: Array<string>;
|
|
4030
|
+
ignored: Array<string>;
|
|
4031
|
+
};
|
|
4032
|
+
status: 'error';
|
|
4033
|
+
errors: Array<{
|
|
1577
4034
|
code: string;
|
|
1578
4035
|
message: string;
|
|
4036
|
+
path?: string;
|
|
1579
4037
|
details?: {
|
|
1580
4038
|
reason: 'expected_version_mismatch';
|
|
1581
4039
|
expectedVersion: number;
|
|
@@ -1597,37 +4055,21 @@ type RenameCompatibilityResult = {
|
|
|
1597
4055
|
reason: 'cursor_fence_unavailable';
|
|
1598
4056
|
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
1599
4057
|
retryFromStart: true;
|
|
4058
|
+
} | {
|
|
4059
|
+
reason: 'dependency_failed';
|
|
4060
|
+
producerOpIndexes: Array<number>;
|
|
1600
4061
|
};
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
retryable?: boolean;
|
|
1604
|
-
warnings?: {
|
|
1605
|
-
undeclaredFields?: Array<string>;
|
|
1606
|
-
undeclaredFieldsTruncated?: true;
|
|
1607
|
-
totalUndeclared?: number;
|
|
1608
|
-
coalescedWrefs?: Array<{
|
|
1609
|
-
fieldPath: string;
|
|
1610
|
-
wref: string;
|
|
1611
|
-
reason: string;
|
|
1612
|
-
}>;
|
|
1613
|
-
coalescedWrefsTruncated?: true;
|
|
1614
|
-
totalCoalescedWrefs?: number;
|
|
1615
|
-
deprecations?: Array<{
|
|
1616
|
-
shape: string;
|
|
1617
|
-
message: string;
|
|
1618
|
-
removalMilestone: string;
|
|
1619
|
-
}>;
|
|
1620
|
-
};
|
|
1621
|
-
affirmations?: {
|
|
1622
|
-
added: Array<string>;
|
|
1623
|
-
removed: Array<string>;
|
|
1624
|
-
ignored: Array<string>;
|
|
1625
|
-
};
|
|
4062
|
+
retryable?: boolean;
|
|
4063
|
+
}>;
|
|
1626
4064
|
}>;
|
|
1627
4065
|
outcome: 'event' | 'no_event';
|
|
1628
4066
|
requestDigest: string;
|
|
1629
|
-
schemaVersion: 'operation-event-receipt/
|
|
4067
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
1630
4068
|
submissionId?: string;
|
|
4069
|
+
name: string;
|
|
4070
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
4071
|
+
version: number;
|
|
4072
|
+
dataHash: string;
|
|
1631
4073
|
receipt: {
|
|
1632
4074
|
event: {
|
|
1633
4075
|
committedAt: string;
|
|
@@ -1641,17 +4083,42 @@ type RenameCompatibilityResult = {
|
|
|
1641
4083
|
} | null;
|
|
1642
4084
|
eventRequestId: string;
|
|
1643
4085
|
operations: Array<{
|
|
1644
|
-
opIndex
|
|
4086
|
+
opIndex: number;
|
|
4087
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1645
4088
|
name: string;
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
4089
|
+
submittedName?: string;
|
|
4090
|
+
resolvedName?: string;
|
|
4091
|
+
warnings?: {
|
|
4092
|
+
undeclaredFields?: Array<string>;
|
|
4093
|
+
undeclaredFieldsTruncated?: true;
|
|
4094
|
+
totalUndeclared?: number;
|
|
4095
|
+
coalescedWrefs?: Array<{
|
|
4096
|
+
fieldPath: string;
|
|
4097
|
+
wref: string;
|
|
4098
|
+
reason: string;
|
|
4099
|
+
}>;
|
|
4100
|
+
coalescedWrefsTruncated?: true;
|
|
4101
|
+
totalCoalescedWrefs?: number;
|
|
4102
|
+
deprecations?: Array<{
|
|
4103
|
+
shape: string;
|
|
4104
|
+
message: string;
|
|
4105
|
+
removalMilestone: string;
|
|
4106
|
+
}>;
|
|
4107
|
+
};
|
|
1650
4108
|
affirmations?: {
|
|
1651
4109
|
added: Array<string>;
|
|
1652
4110
|
removed: Array<string>;
|
|
1653
4111
|
ignored: Array<string>;
|
|
1654
4112
|
};
|
|
4113
|
+
status: 'applied' | 'noop';
|
|
4114
|
+
version?: number;
|
|
4115
|
+
dataHash?: string;
|
|
4116
|
+
} | {
|
|
4117
|
+
opIndex: number;
|
|
4118
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
4119
|
+
name: string;
|
|
4120
|
+
submittedName?: string;
|
|
4121
|
+
resolvedName?: string;
|
|
1655
4122
|
warnings?: {
|
|
1656
4123
|
undeclaredFields?: Array<string>;
|
|
1657
4124
|
undeclaredFieldsTruncated?: true;
|
|
@@ -1669,16 +4136,16 @@ type RenameCompatibilityResult = {
|
|
|
1669
4136
|
removalMilestone: string;
|
|
1670
4137
|
}>;
|
|
1671
4138
|
};
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
error?: {
|
|
4139
|
+
affirmations?: {
|
|
4140
|
+
added: Array<string>;
|
|
4141
|
+
removed: Array<string>;
|
|
4142
|
+
ignored: Array<string>;
|
|
4143
|
+
};
|
|
4144
|
+
status: 'error';
|
|
4145
|
+
errors: Array<{
|
|
1680
4146
|
code: string;
|
|
1681
4147
|
message: string;
|
|
4148
|
+
path?: string;
|
|
1682
4149
|
details?: {
|
|
1683
4150
|
reason: 'expected_version_mismatch';
|
|
1684
4151
|
expectedVersion: number;
|
|
@@ -1700,44 +4167,20 @@ type RenameCompatibilityResult = {
|
|
|
1700
4167
|
reason: 'cursor_fence_unavailable';
|
|
1701
4168
|
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
1702
4169
|
retryFromStart: true;
|
|
4170
|
+
} | {
|
|
4171
|
+
reason: 'dependency_failed';
|
|
4172
|
+
producerOpIndexes: Array<number>;
|
|
1703
4173
|
};
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
retryable?: boolean;
|
|
1707
|
-
warnings?: {
|
|
1708
|
-
undeclaredFields?: Array<string>;
|
|
1709
|
-
undeclaredFieldsTruncated?: true;
|
|
1710
|
-
totalUndeclared?: number;
|
|
1711
|
-
coalescedWrefs?: Array<{
|
|
1712
|
-
fieldPath: string;
|
|
1713
|
-
wref: string;
|
|
1714
|
-
reason: string;
|
|
1715
|
-
}>;
|
|
1716
|
-
coalescedWrefsTruncated?: true;
|
|
1717
|
-
totalCoalescedWrefs?: number;
|
|
1718
|
-
deprecations?: Array<{
|
|
1719
|
-
shape: string;
|
|
1720
|
-
message: string;
|
|
1721
|
-
removalMilestone: string;
|
|
1722
|
-
}>;
|
|
1723
|
-
};
|
|
1724
|
-
affirmations?: {
|
|
1725
|
-
added: Array<string>;
|
|
1726
|
-
removed: Array<string>;
|
|
1727
|
-
ignored: Array<string>;
|
|
1728
|
-
};
|
|
4174
|
+
retryable?: boolean;
|
|
4175
|
+
}>;
|
|
1729
4176
|
}>;
|
|
1730
4177
|
outcome: 'event' | 'no_event';
|
|
1731
4178
|
requestDigest: string;
|
|
1732
|
-
schemaVersion: 'operation-event-receipt/
|
|
4179
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
1733
4180
|
submissionId?: string;
|
|
1734
4181
|
};
|
|
1735
4182
|
};
|
|
1736
|
-
type
|
|
1737
|
-
name: string;
|
|
1738
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
1739
|
-
version: number;
|
|
1740
|
-
dataHash: string;
|
|
4183
|
+
type ShapeRemoveCompatibilityResult = {
|
|
1741
4184
|
event: {
|
|
1742
4185
|
committedAt: string;
|
|
1743
4186
|
eventDigest: string;
|
|
@@ -1840,6 +4283,11 @@ type ShapeChangeCompatibilityResult = {
|
|
|
1840
4283
|
requestDigest: string;
|
|
1841
4284
|
schemaVersion: 'operation-event-receipt/v1';
|
|
1842
4285
|
submissionId?: string;
|
|
4286
|
+
name: string;
|
|
4287
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
4288
|
+
version: number;
|
|
4289
|
+
dataHash: string;
|
|
4290
|
+
removed: true;
|
|
1843
4291
|
receipt: {
|
|
1844
4292
|
event: {
|
|
1845
4293
|
committedAt: string;
|
|
@@ -1944,13 +4392,7 @@ type ShapeChangeCompatibilityResult = {
|
|
|
1944
4392
|
schemaVersion: 'operation-event-receipt/v1';
|
|
1945
4393
|
submissionId?: string;
|
|
1946
4394
|
};
|
|
1947
|
-
}
|
|
1948
|
-
type ShapeRemoveCompatibilityResult = {
|
|
1949
|
-
name: string;
|
|
1950
|
-
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
1951
|
-
version: number;
|
|
1952
|
-
dataHash: string;
|
|
1953
|
-
removed: true;
|
|
4395
|
+
} | {
|
|
1954
4396
|
event: {
|
|
1955
4397
|
committedAt: string;
|
|
1956
4398
|
eventDigest: string;
|
|
@@ -1963,17 +4405,42 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
1963
4405
|
} | null;
|
|
1964
4406
|
eventRequestId: string;
|
|
1965
4407
|
operations: Array<{
|
|
1966
|
-
opIndex
|
|
4408
|
+
opIndex: number;
|
|
4409
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
1967
4410
|
name: string;
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
4411
|
+
submittedName?: string;
|
|
4412
|
+
resolvedName?: string;
|
|
4413
|
+
warnings?: {
|
|
4414
|
+
undeclaredFields?: Array<string>;
|
|
4415
|
+
undeclaredFieldsTruncated?: true;
|
|
4416
|
+
totalUndeclared?: number;
|
|
4417
|
+
coalescedWrefs?: Array<{
|
|
4418
|
+
fieldPath: string;
|
|
4419
|
+
wref: string;
|
|
4420
|
+
reason: string;
|
|
4421
|
+
}>;
|
|
4422
|
+
coalescedWrefsTruncated?: true;
|
|
4423
|
+
totalCoalescedWrefs?: number;
|
|
4424
|
+
deprecations?: Array<{
|
|
4425
|
+
shape: string;
|
|
4426
|
+
message: string;
|
|
4427
|
+
removalMilestone: string;
|
|
4428
|
+
}>;
|
|
4429
|
+
};
|
|
1972
4430
|
affirmations?: {
|
|
1973
4431
|
added: Array<string>;
|
|
1974
4432
|
removed: Array<string>;
|
|
1975
4433
|
ignored: Array<string>;
|
|
1976
4434
|
};
|
|
4435
|
+
status: 'applied' | 'noop';
|
|
4436
|
+
version?: number;
|
|
4437
|
+
dataHash?: string;
|
|
4438
|
+
} | {
|
|
4439
|
+
opIndex: number;
|
|
4440
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
4441
|
+
name: string;
|
|
4442
|
+
submittedName?: string;
|
|
4443
|
+
resolvedName?: string;
|
|
1977
4444
|
warnings?: {
|
|
1978
4445
|
undeclaredFields?: Array<string>;
|
|
1979
4446
|
undeclaredFieldsTruncated?: true;
|
|
@@ -1991,16 +4458,16 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
1991
4458
|
removalMilestone: string;
|
|
1992
4459
|
}>;
|
|
1993
4460
|
};
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
error?: {
|
|
4461
|
+
affirmations?: {
|
|
4462
|
+
added: Array<string>;
|
|
4463
|
+
removed: Array<string>;
|
|
4464
|
+
ignored: Array<string>;
|
|
4465
|
+
};
|
|
4466
|
+
status: 'error';
|
|
4467
|
+
errors: Array<{
|
|
2002
4468
|
code: string;
|
|
2003
4469
|
message: string;
|
|
4470
|
+
path?: string;
|
|
2004
4471
|
details?: {
|
|
2005
4472
|
reason: 'expected_version_mismatch';
|
|
2006
4473
|
expectedVersion: number;
|
|
@@ -2022,37 +4489,22 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
2022
4489
|
reason: 'cursor_fence_unavailable';
|
|
2023
4490
|
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2024
4491
|
retryFromStart: true;
|
|
4492
|
+
} | {
|
|
4493
|
+
reason: 'dependency_failed';
|
|
4494
|
+
producerOpIndexes: Array<number>;
|
|
2025
4495
|
};
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
retryable?: boolean;
|
|
2029
|
-
warnings?: {
|
|
2030
|
-
undeclaredFields?: Array<string>;
|
|
2031
|
-
undeclaredFieldsTruncated?: true;
|
|
2032
|
-
totalUndeclared?: number;
|
|
2033
|
-
coalescedWrefs?: Array<{
|
|
2034
|
-
fieldPath: string;
|
|
2035
|
-
wref: string;
|
|
2036
|
-
reason: string;
|
|
2037
|
-
}>;
|
|
2038
|
-
coalescedWrefsTruncated?: true;
|
|
2039
|
-
totalCoalescedWrefs?: number;
|
|
2040
|
-
deprecations?: Array<{
|
|
2041
|
-
shape: string;
|
|
2042
|
-
message: string;
|
|
2043
|
-
removalMilestone: string;
|
|
2044
|
-
}>;
|
|
2045
|
-
};
|
|
2046
|
-
affirmations?: {
|
|
2047
|
-
added: Array<string>;
|
|
2048
|
-
removed: Array<string>;
|
|
2049
|
-
ignored: Array<string>;
|
|
2050
|
-
};
|
|
4496
|
+
retryable?: boolean;
|
|
4497
|
+
}>;
|
|
2051
4498
|
}>;
|
|
2052
4499
|
outcome: 'event' | 'no_event';
|
|
2053
4500
|
requestDigest: string;
|
|
2054
|
-
schemaVersion: 'operation-event-receipt/
|
|
4501
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
2055
4502
|
submissionId?: string;
|
|
4503
|
+
name: string;
|
|
4504
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'noop';
|
|
4505
|
+
version: number;
|
|
4506
|
+
dataHash: string;
|
|
4507
|
+
removed: true;
|
|
2056
4508
|
receipt: {
|
|
2057
4509
|
event: {
|
|
2058
4510
|
committedAt: string;
|
|
@@ -2066,17 +4518,42 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
2066
4518
|
} | null;
|
|
2067
4519
|
eventRequestId: string;
|
|
2068
4520
|
operations: Array<{
|
|
2069
|
-
opIndex
|
|
4521
|
+
opIndex: number;
|
|
4522
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
2070
4523
|
name: string;
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
4524
|
+
submittedName?: string;
|
|
4525
|
+
resolvedName?: string;
|
|
4526
|
+
warnings?: {
|
|
4527
|
+
undeclaredFields?: Array<string>;
|
|
4528
|
+
undeclaredFieldsTruncated?: true;
|
|
4529
|
+
totalUndeclared?: number;
|
|
4530
|
+
coalescedWrefs?: Array<{
|
|
4531
|
+
fieldPath: string;
|
|
4532
|
+
wref: string;
|
|
4533
|
+
reason: string;
|
|
4534
|
+
}>;
|
|
4535
|
+
coalescedWrefsTruncated?: true;
|
|
4536
|
+
totalCoalescedWrefs?: number;
|
|
4537
|
+
deprecations?: Array<{
|
|
4538
|
+
shape: string;
|
|
4539
|
+
message: string;
|
|
4540
|
+
removalMilestone: string;
|
|
4541
|
+
}>;
|
|
4542
|
+
};
|
|
2075
4543
|
affirmations?: {
|
|
2076
4544
|
added: Array<string>;
|
|
2077
4545
|
removed: Array<string>;
|
|
2078
4546
|
ignored: Array<string>;
|
|
2079
4547
|
};
|
|
4548
|
+
status: 'applied' | 'noop';
|
|
4549
|
+
version?: number;
|
|
4550
|
+
dataHash?: string;
|
|
4551
|
+
} | {
|
|
4552
|
+
opIndex: number;
|
|
4553
|
+
operation: 'add' | 'revise' | 'retract' | 'reaffirm' | 'rename';
|
|
4554
|
+
name: string;
|
|
4555
|
+
submittedName?: string;
|
|
4556
|
+
resolvedName?: string;
|
|
2080
4557
|
warnings?: {
|
|
2081
4558
|
undeclaredFields?: Array<string>;
|
|
2082
4559
|
undeclaredFieldsTruncated?: true;
|
|
@@ -2094,16 +4571,16 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
2094
4571
|
removalMilestone: string;
|
|
2095
4572
|
}>;
|
|
2096
4573
|
};
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
error?: {
|
|
4574
|
+
affirmations?: {
|
|
4575
|
+
added: Array<string>;
|
|
4576
|
+
removed: Array<string>;
|
|
4577
|
+
ignored: Array<string>;
|
|
4578
|
+
};
|
|
4579
|
+
status: 'error';
|
|
4580
|
+
errors: Array<{
|
|
2105
4581
|
code: string;
|
|
2106
4582
|
message: string;
|
|
4583
|
+
path?: string;
|
|
2107
4584
|
details?: {
|
|
2108
4585
|
reason: 'expected_version_mismatch';
|
|
2109
4586
|
expectedVersion: number;
|
|
@@ -2125,36 +4602,16 @@ type ShapeRemoveCompatibilityResult = {
|
|
|
2125
4602
|
reason: 'cursor_fence_unavailable';
|
|
2126
4603
|
cause: 'not_ready' | 'below_floor' | 'above_head';
|
|
2127
4604
|
retryFromStart: true;
|
|
4605
|
+
} | {
|
|
4606
|
+
reason: 'dependency_failed';
|
|
4607
|
+
producerOpIndexes: Array<number>;
|
|
2128
4608
|
};
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
retryable?: boolean;
|
|
2132
|
-
warnings?: {
|
|
2133
|
-
undeclaredFields?: Array<string>;
|
|
2134
|
-
undeclaredFieldsTruncated?: true;
|
|
2135
|
-
totalUndeclared?: number;
|
|
2136
|
-
coalescedWrefs?: Array<{
|
|
2137
|
-
fieldPath: string;
|
|
2138
|
-
wref: string;
|
|
2139
|
-
reason: string;
|
|
2140
|
-
}>;
|
|
2141
|
-
coalescedWrefsTruncated?: true;
|
|
2142
|
-
totalCoalescedWrefs?: number;
|
|
2143
|
-
deprecations?: Array<{
|
|
2144
|
-
shape: string;
|
|
2145
|
-
message: string;
|
|
2146
|
-
removalMilestone: string;
|
|
2147
|
-
}>;
|
|
2148
|
-
};
|
|
2149
|
-
affirmations?: {
|
|
2150
|
-
added: Array<string>;
|
|
2151
|
-
removed: Array<string>;
|
|
2152
|
-
ignored: Array<string>;
|
|
2153
|
-
};
|
|
4609
|
+
retryable?: boolean;
|
|
4610
|
+
}>;
|
|
2154
4611
|
}>;
|
|
2155
4612
|
outcome: 'event' | 'no_event';
|
|
2156
4613
|
requestDigest: string;
|
|
2157
|
-
schemaVersion: 'operation-event-receipt/
|
|
4614
|
+
schemaVersion: 'operation-event-receipt/v2';
|
|
2158
4615
|
submissionId?: string;
|
|
2159
4616
|
};
|
|
2160
4617
|
};
|
|
@@ -2785,8 +5242,6 @@ type RepoAuthScope = (typeof REPO_AUTH_SCOPES)[number];
|
|
|
2785
5242
|
*/
|
|
2786
5243
|
declare function isKnownRepoAuthScope(value: string): value is RepoAuthScope;
|
|
2787
5244
|
|
|
2788
|
-
declare const COMMIT_OPERATIONS: readonly ["add", "revise", "retract", "reaffirm", "rename"];
|
|
2789
|
-
type CommitOperation = (typeof COMMIT_OPERATIONS)[number];
|
|
2790
5245
|
declare const COMMIT_OPERATION_KINDS: readonly ["shape", "thing", "assertion", "collection"];
|
|
2791
5246
|
type CommitOperationKind = (typeof COMMIT_OPERATION_KINDS)[number];
|
|
2792
5247
|
|
|
@@ -3219,6 +5674,52 @@ interface RenameOperation {
|
|
|
3219
5674
|
*/
|
|
3220
5675
|
type Operation = AddOperation | ReviseOperation | RetractOperation | ReaffirmOperation | RenameOperation;
|
|
3221
5676
|
|
|
5677
|
+
/**
|
|
5678
|
+
* Maximum operations accepted by one complete validation request.
|
|
5679
|
+
* @see https://docs.warmhub.ai/sdk-reference/variables/max_commit_validation_operations/
|
|
5680
|
+
*/
|
|
5681
|
+
declare const MAX_COMMIT_VALIDATION_OPERATIONS = 10000;
|
|
5682
|
+
/**
|
|
5683
|
+
* Maximum UTF-8 bytes accepted by the unbatched validation request body.
|
|
5684
|
+
* @see https://docs.warmhub.ai/sdk-reference/variables/max_commit_validation_encoded_bytes/
|
|
5685
|
+
*/
|
|
5686
|
+
declare const MAX_COMMIT_VALIDATION_ENCODED_BYTES: number;
|
|
5687
|
+
/**
|
|
5688
|
+
* Exact wire input evaluated by {@link WarmHubClient.commit.validate}.
|
|
5689
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/commitvalidateinput/
|
|
5690
|
+
*/
|
|
5691
|
+
type CommitValidateInput = CommitValidateInput$1;
|
|
5692
|
+
/**
|
|
5693
|
+
* Ordered no-write preview returned by {@link WarmHubClient.commit.validate}.
|
|
5694
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/commitvalidateresult/
|
|
5695
|
+
*/
|
|
5696
|
+
type CommitValidateResult = CommitValidateResult$1;
|
|
5697
|
+
/**
|
|
5698
|
+
* Options accepted by {@link WarmHubClient.commit.validate}.
|
|
5699
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/commitvalidateoptions/
|
|
5700
|
+
*/
|
|
5701
|
+
type CommitValidateOptions = {
|
|
5702
|
+
message?: string;
|
|
5703
|
+
committer?: string;
|
|
5704
|
+
componentRef?: string;
|
|
5705
|
+
skipExisting?: boolean;
|
|
5706
|
+
includeWouldBeBody?: boolean;
|
|
5707
|
+
signal?: AbortSignal;
|
|
5708
|
+
};
|
|
5709
|
+
/** @internal Canonical input shared by the SDK call and CLI byte preflight. */
|
|
5710
|
+
declare function createCommitValidateInput(orgName: string, repoName: string, operations: readonly Operation[], opts?: CommitValidateOptions): CommitValidateInput;
|
|
5711
|
+
/**
|
|
5712
|
+
* Serialize the exact body sent by the dedicated unbatched tRPC HTTP link.
|
|
5713
|
+
*
|
|
5714
|
+
* @internal
|
|
5715
|
+
*/
|
|
5716
|
+
declare function encodeCommitValidateRequestBody(input: CommitValidateInput): string;
|
|
5717
|
+
/**
|
|
5718
|
+
* Return the UTF-8 byte length of the exact validation request body.
|
|
5719
|
+
* @see https://docs.warmhub.ai/sdk-reference/functions/commitvalidaterequestbodybytes/
|
|
5720
|
+
*/
|
|
5721
|
+
declare function commitValidateRequestBodyBytes(input: CommitValidateInput): number;
|
|
5722
|
+
|
|
3222
5723
|
/**
|
|
3223
5724
|
* Operations to submit, in order.
|
|
3224
5725
|
*
|
|
@@ -3242,7 +5743,6 @@ declare const DEFAULT_STREAM_CHUNK_SIZE = 1000;
|
|
|
3242
5743
|
* @internal
|
|
3243
5744
|
*/
|
|
3244
5745
|
declare const MAX_STREAM_APPEND_OPERATION_COUNT = 10000;
|
|
3245
|
-
type CommitResultOperation = CommitOperation | 'noop';
|
|
3246
5746
|
interface OperationStreamClient {
|
|
3247
5747
|
stream: {
|
|
3248
5748
|
append(input: StreamAppendInput$1): Promise<StreamAppendResult$1>;
|
|
@@ -3261,27 +5761,9 @@ type SubmittedStreamResult = {
|
|
|
3261
5761
|
noop: number;
|
|
3262
5762
|
error: number;
|
|
3263
5763
|
};
|
|
3264
|
-
operations:
|
|
3265
|
-
opIndex?: number;
|
|
3266
|
-
name: string;
|
|
3267
|
-
operation: CommitResultOperation;
|
|
3268
|
-
dataHash: string;
|
|
3269
|
-
version: number;
|
|
3270
|
-
status?: 'applied' | 'noop' | 'error';
|
|
3271
|
-
error?: {
|
|
3272
|
-
code: string;
|
|
3273
|
-
message: string;
|
|
3274
|
-
details?: NonNullable<StreamAppendResult$1['results'][number]['error']>['details'];
|
|
3275
|
-
};
|
|
3276
|
-
submittedName?: string;
|
|
3277
|
-
resolvedName?: string;
|
|
3278
|
-
retryable?: boolean;
|
|
3279
|
-
warnings?: NonNullable<StreamAppendResult$1['results'][number]['warnings']>;
|
|
3280
|
-
/** Per-target reaffirm outcome; present only on reaffirm results. */
|
|
3281
|
-
affirmations?: NonNullable<StreamAppendResult$1['results'][number]['affirmations']>;
|
|
3282
|
-
}>;
|
|
5764
|
+
operations: CommitRealOperationResult$1[];
|
|
3283
5765
|
/** One exact immutable receipt per stream chunk, in submission order. */
|
|
3284
|
-
receipts:
|
|
5766
|
+
receipts: OperationEventReceipt$1[];
|
|
3285
5767
|
};
|
|
3286
5768
|
/**
|
|
3287
5769
|
* Stream identity metadata for caller-managed streamed commit submissions.
|
|
@@ -3333,7 +5815,7 @@ declare class PartialStreamSubmissionError extends Error {
|
|
|
3333
5815
|
* Earlier exact receipts, in submission order.
|
|
3334
5816
|
* @see https://docs.warmhub.ai/sdk-reference/classes/partialstreamsubmissionerror/#completedreceipts
|
|
3335
5817
|
*/
|
|
3336
|
-
readonly completedReceipts: readonly
|
|
5818
|
+
readonly completedReceipts: readonly OperationEventReceipt$1[];
|
|
3337
5819
|
/**
|
|
3338
5820
|
* Legacy projection of operations confirmed before the failed append.
|
|
3339
5821
|
* @see https://docs.warmhub.ai/sdk-reference/classes/partialstreamsubmissionerror/#completedoperations
|
|
@@ -3370,7 +5852,7 @@ declare class PartialStreamSubmissionError extends Error {
|
|
|
3370
5852
|
readonly cause: unknown;
|
|
3371
5853
|
constructor(input: {
|
|
3372
5854
|
cause: unknown;
|
|
3373
|
-
completedReceipts: readonly
|
|
5855
|
+
completedReceipts: readonly OperationEventReceipt$1[];
|
|
3374
5856
|
completedOperations?: SubmittedStreamResult['operations'];
|
|
3375
5857
|
acknowledgedOperationCount?: number;
|
|
3376
5858
|
lastAcknowledgedRepoSeq?: number;
|
|
@@ -3392,7 +5874,7 @@ declare class AllStreamOperationsFailedError extends Error {
|
|
|
3392
5874
|
* Every exact immutable receipt returned for the rejected submission.
|
|
3393
5875
|
* @see https://docs.warmhub.ai/sdk-reference/classes/allstreamoperationsfailederror/#receipts
|
|
3394
5876
|
*/
|
|
3395
|
-
readonly receipts: readonly
|
|
5877
|
+
readonly receipts: readonly OperationEventReceipt$1[];
|
|
3396
5878
|
readonly result: SubmittedStreamResult;
|
|
3397
5879
|
readonly operations: SubmittedStreamResult['operations'];
|
|
3398
5880
|
readonly statusCounts: NonNullable<SubmittedStreamResult['statusCounts']>;
|
|
@@ -3413,7 +5895,7 @@ declare class AllStreamOperationsFailedError extends Error {
|
|
|
3413
5895
|
* @internal
|
|
3414
5896
|
*/
|
|
3415
5897
|
declare class StreamSubmissionAggregator {
|
|
3416
|
-
readonly receipts:
|
|
5898
|
+
readonly receipts: OperationEventReceipt$1[];
|
|
3417
5899
|
private readonly operations;
|
|
3418
5900
|
private readonly statusCounts;
|
|
3419
5901
|
/** True once at least one row landed and every row failed. */
|
|
@@ -3425,13 +5907,14 @@ declare class StreamSubmissionAggregator {
|
|
|
3425
5907
|
* `chunkStart`. Pass the chunk that was submitted; it is not retained.
|
|
3426
5908
|
*/
|
|
3427
5909
|
addChunk(input: {
|
|
3428
|
-
|
|
5910
|
+
result: StreamAppendResult$1;
|
|
3429
5911
|
chunkStart: number;
|
|
3430
|
-
|
|
5912
|
+
submittedOperations: ReadonlyArray<{
|
|
3431
5913
|
name?: string;
|
|
5914
|
+
operation: CommitRealOperationResult$1['operation'];
|
|
3432
5915
|
}>;
|
|
3433
5916
|
}): void;
|
|
3434
|
-
addReceipt(receipt:
|
|
5917
|
+
addReceipt(receipt: OperationEventReceipt$1): void;
|
|
3435
5918
|
/** Rows confirmed applied or noop, for partial-submission recovery. */
|
|
3436
5919
|
completedOperations(): SubmittedStreamResult['operations'];
|
|
3437
5920
|
/** Project the accumulated state into the legacy aggregate write result. */
|
|
@@ -4094,9 +6577,24 @@ type StreamAppendInput = StreamAppendInput$1;
|
|
|
4094
6577
|
type StreamAppendResult = StreamAppendResult$1;
|
|
4095
6578
|
/**
|
|
4096
6579
|
* The exact immutable receipt returned by every public write and lookup.
|
|
6580
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/operationeventreceipt/
|
|
6581
|
+
*/
|
|
6582
|
+
type OperationEventReceipt = OperationEventReceipt$1;
|
|
6583
|
+
/**
|
|
6584
|
+
* The frozen historical receipt returned only when replaying a v1 request.
|
|
4097
6585
|
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/operationeventreceiptv1/
|
|
4098
6586
|
*/
|
|
4099
6587
|
type OperationEventReceiptV1 = OperationEventReceiptV1$1;
|
|
6588
|
+
/**
|
|
6589
|
+
* Structured diagnostic shared by real and preview operation results.
|
|
6590
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/commitdiagnostic/
|
|
6591
|
+
*/
|
|
6592
|
+
type CommitDiagnostic = CommitDiagnostic$1;
|
|
6593
|
+
/**
|
|
6594
|
+
* Canonical ordered result row returned for one submitted real operation.
|
|
6595
|
+
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/commitrealoperationresult/
|
|
6596
|
+
*/
|
|
6597
|
+
type CommitRealOperationResult = CommitRealOperationResult$1;
|
|
4100
6598
|
|
|
4101
6599
|
/**
|
|
4102
6600
|
* Remove an `@vN`, `@HEAD`, or `@ALL` version suffix from a wref.
|
|
@@ -5511,9 +8009,7 @@ declare function resolveFunctionLogMode(mode?: FunctionLogMode): FunctionLogMode
|
|
|
5511
8009
|
* after a `lease_held` to back off until the lease expires (#3625).
|
|
5512
8010
|
* @see https://docs.warmhub.ai/sdk-reference/type-aliases/warmhuberrordetails/
|
|
5513
8011
|
*/
|
|
5514
|
-
type WarmHubErrorDetails = NonNullable<
|
|
5515
|
-
error?: unknown;
|
|
5516
|
-
}>['error']>['details']>;
|
|
8012
|
+
type WarmHubErrorDetails = NonNullable<CommitDiagnostic$1['details']>;
|
|
5517
8013
|
/** @internal */
|
|
5518
8014
|
declare function sanitizeErrorMessage(message: string): string;
|
|
5519
8015
|
/**
|
|
@@ -5939,6 +8435,14 @@ declare class WarmHubClient {
|
|
|
5939
8435
|
* @see https://docs.warmhub.ai/sdk/write-methods/
|
|
5940
8436
|
*/
|
|
5941
8437
|
readonly commit: {
|
|
8438
|
+
/**
|
|
8439
|
+
* Evaluate operations with the real server commit evaluator without
|
|
8440
|
+
* persisting repository state or consuming a write receipt.
|
|
8441
|
+
*
|
|
8442
|
+
* The complete operation list is normalized and sent in one bounded,
|
|
8443
|
+
* unbatched request. Semantic verdicts come only from the server.
|
|
8444
|
+
*/
|
|
8445
|
+
validate: (orgName: string, repoName: string, operations: Operation[], opts?: CommitValidateOptions) => Promise<CommitValidateResult>;
|
|
5942
8446
|
/**
|
|
5943
8447
|
* Submit one or more operations through WarmHub's commit pipeline.
|
|
5944
8448
|
*
|
|
@@ -5972,7 +8476,7 @@ declare class WarmHubClient {
|
|
|
5972
8476
|
retry?: RetryPolicyOptions | false;
|
|
5973
8477
|
}) => Promise<OperationSubmitResult>;
|
|
5974
8478
|
/** Recover one immutable write receipt after an ambiguous response. */
|
|
5975
|
-
getReceipt: (orgName: string, repoName: string, eventRequestId: string) => Promise<
|
|
8479
|
+
getReceipt: (orgName: string, repoName: string, eventRequestId: string) => Promise<OperationEventReceipt>;
|
|
5976
8480
|
};
|
|
5977
8481
|
/**
|
|
5978
8482
|
* Organization management surface for namespaces, membership, roles, and scoped member permissions.
|
|
@@ -7467,4 +9971,4 @@ declare class WarmHubClient {
|
|
|
7467
9971
|
private watchRepoQuery;
|
|
7468
9972
|
}
|
|
7469
9973
|
|
|
7470
|
-
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionDeliveryTarget, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedItem, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAddOp, type CollectionAddType, type CollectionContainsOptions, type CollectionContainsResult, type CollectionCreateOptions, type CollectionDiffOptions, type CollectionDiffResult, type CollectionMember, type CollectionMembersOptions, type CollectionMembersPage, type CollectionMembershipRole, type CollectionMutationResult, type CollectionQuerySourceOptions, type CollectionReadDataMode, type CollectionReadSummary, type CollectionReviseOptions, type CollectionStatsOptions, type CollectionStatsResult, type CollectionTag, type CollectionType, type CommitApplyCompatibilityResult, type ComponentHistory, type ComponentHistoryOptions, type ComponentInfo, type ComponentInstallOptions, type ComponentInstallResult, type ComponentList, type ComponentListOptions, type ComponentUninstallOptions, type ComponentUninstallResult, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type ErrorKind, type FilterOptions, type FilterResult, type FunctionLogMode, type GlobalSearchOptions, type GlobalSearchResult, type GlobalSearchResultItem, type Grant, type GrantCreateOptions, type GrantListOptions, type GrantListResult, type GrantRecipientSelector, type GrantRevokeResult, type HeadResult, type HistoryResult, type HistoryVersion, type HomepageFeaturedListsResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, ORG_AUTH_SCOPES, type Operation, OperationBuilder, type OperationBuilderAddInput, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationEventReceiptV1, type OperationSource, type OperationSubmitResult, type OrgAccessResult, type OrgAuthScope, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, REPO_AUTH_SCOPES, type ReaffirmOperation, type RefLink, type RefsOptions, type RefsResult, type RenameOperation, type RenameOptions, type RenameResult, type RepoAccessResult, type RepoAuthScope, type RepoConfigureStatsView, type RepoDescribeResult, type RepoExploreBrowseOptions, type RepoExploreItem, type RepoExploreOptions, type RepoExploreResult, type RepoInfo, type RepoLicense, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RepositoryCheckpointAccess, type RepositoryCheckpointStatus, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeRemoveOptions, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, StreamSubmissionAggregator, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingChanges, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadChangesOptions, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type ThingQueryChangesOptions, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, type ViewEvaluateOptions, type ViewEvaluateResult, WarmHubClient, type WarmHubClientOptions, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, createOperationEventRequestId, createOperationEventSubmissionId, isConnectionError, isDefiniteStreamAppendRejection, isKnownOrgAuthScope, isKnownRepoAuthScope, isRetryable, isWarmHubError, normalizeWref, operationEventStreamRequestId, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };
|
|
9974
|
+
export { type AboutOptions, type AboutResult, type AccessResolveInput, type AccessResolveResult, type AccessTokenProvider, type ActionAttemptInfo, type ActionDeliveryTarget, type ActionLeaseAcquire, type ActionLeaseOp, type ActionListNotificationsOptions, type ActionListRunsOptions, type ActionLiveFeed, type ActionLiveFeedItem, type ActionLiveFeedOptions, type ActionNotificationInfo, type ActionRunInfo, type ActionRunStatsInfo, type ActionRunStatsOptions, type AddOp, type AddOperation, AllStreamOperationsFailedError, type Assertion, CLI_INSTALL_REPO_HEADER, CLI_SIGNATURE_HEADER, CLI_TIMESTAMP_HEADER, CONTENT_FIELD_LIMIT_ERROR, type CliCallSecrets, CliCallVerificationError, type CliCallVerificationFailureReason, type CollectionAddOp, type CollectionAddType, type CollectionContainsOptions, type CollectionContainsResult, type CollectionCreateOptions, type CollectionDiffOptions, type CollectionDiffResult, type CollectionMember, type CollectionMembersOptions, type CollectionMembersPage, type CollectionMembershipRole, type CollectionMutationResult, type CollectionQuerySourceOptions, type CollectionReadDataMode, type CollectionReadSummary, type CollectionReviseOptions, type CollectionStatsOptions, type CollectionStatsResult, type CollectionTag, type CollectionType, type CommitApplyCompatibilityResult, type CommitDiagnostic, type CommitRealOperationResult, type CommitValidateInput, type CommitValidateOptions, type CommitValidateResult, type ComponentHistory, type ComponentHistoryOptions, type ComponentInfo, type ComponentInstallOptions, type ComponentInstallResult, type ComponentList, type ComponentListOptions, type ComponentUninstallOptions, type ComponentUninstallResult, type ComponentView, type CoreErrorKind, type CountOptions, type CountResult, type CredentialAuditEntry, type CredentialDeleteResult, type CredentialGrantResult, type CredentialInfo, type CredentialKeyMutationResult, type CredentialRevokeResult, type CredentialUngrantResult, type CurrentUserInfo, DEFAULT_API_URL, DEFAULT_STREAM_CHUNK_SIZE, type ErrorKind, type FilterOptions, type FilterResult, type FunctionLogMode, type GlobalSearchOptions, type GlobalSearchResult, type GlobalSearchResultItem, type Grant, type GrantCreateOptions, type GrantListOptions, type GrantListResult, type GrantRecipientSelector, type GrantRevokeResult, type HeadResult, type HistoryResult, type HistoryVersion, type HomepageFeaturedListsResult, type IndexedFieldEntry, type IndexedFieldsReport, type LiveHandle, type LiveRepoEvent, type LiveSubscriptionLogOptions, type LiveThingHeadOptions, type LiveThingHistoryOptions, type LiveWatchResult, MAX_COMMIT_VALIDATION_ENCODED_BYTES, MAX_COMMIT_VALIDATION_OPERATIONS, MAX_CONTENT_FIELD_BYTES, MAX_STREAM_APPEND_OPERATION_COUNT, ORG_AUTH_SCOPES, type Operation, OperationBuilder, type OperationBuilderAddInput, type OperationBuilderClient, type OperationBuilderOp, type OperationBuilderOptions, type OperationEventReceipt, type OperationEventReceiptV1, type OperationSource, type OperationSubmitResult, type OrgAccessResult, type OrgAuthScope, type OrgInfo, type OrgList, type OrgListMembersOptions, type OrgListOptions, type OrgMemberInfo, type OrgMemberList, type OrgRef, type OrgRole, type Page, type PageRequest, PartialStreamSubmissionError, type PingResult, REPO_AUTH_SCOPES, type ReaffirmOperation, type RefLink, type RefsOptions, type RefsResult, type RenameOperation, type RenameOptions, type RenameResult, type RepoAccessResult, type RepoAuthScope, type RepoConfigureStatsView, type RepoDescribeResult, type RepoExploreBrowseOptions, type RepoExploreItem, type RepoExploreOptions, type RepoExploreResult, type RepoInfo, type RepoLicense, type RepoList, type RepoListForCallerOptions, type RepoListOptions, type RepoListPageOptions, type RepoListPageResult, type RepoLocator, type RepoRecentInfo, type RepoRef, type RepoShapeInstanceCountsView, type RepoSort, type RepoStatsBatchResult, type RepoStatsView, type RepoWithStatsInfo, type RepositoryCheckpointAccess, type RepositoryCheckpointStatus, type RequestEvent, type ResolveWrefResult, type RetractOp, type RetractOperation, type RetryPolicyOptions, type ReviseOp, type ReviseOperation, SDK_VERSION, type SearchOptions, type SearchResult, type Shape, type ShapeChange, type ShapeCreateOptions, type ShapeFields, type ShapeGetOptions, type ShapeHistory, type ShapeHistoryOptions, type ShapeList, type ShapeListOptions, type ShapeRef, type ShapeRemove, type ShapeRemoveOptions, type ShapeReviseOptions, type ShapeValidatorResult, type StreamAppendInput, type StreamAppendResult, type StreamContinuationState, StreamSubmissionAggregator, type SubscriptionBindCredentialsResult, type SubscriptionCompatCreateInput, type SubscriptionCompatUpdateInput, type SubscriptionInfo, type SubscriptionList, type SubscriptionUnbindCredentialsResult, type SynthesizedRepoContent, type ThingChanges, type ThingDetail, type ThingGet, type ThingGetManyResult, type ThingGetOptions, type ThingGetWithLease, type ThingGraphOptions, type ThingGraphResult, type ThingGraphValue, type ThingHead, type ThingHeadChangesOptions, type ThingHeadOptions, type ThingHeadRequest, type ThingHeadVersionsResult, type ThingHistory, type ThingHistoryOptions, type ThingItem, type ThingMetadata, type ThingQueryChangesOptions, type TokenInfo, type TokenResult, type UndeclaredFieldsWarning, type ValidationDiagnostic, type ValidationResult, type VerifiedCliCall, type ViewEvaluateOptions, type ViewEvaluateResult, WarmHubClient, type WarmHubClientOptions, WarmHubError, type WarmHubErrorDetails, type WherePredicate, type WhoamiInfo, type WhoamiScopeEntry, type WireScopeEntry, commitValidateRequestBodyBytes, connectionErrorMessage, contentFieldLimitError, countStreamAppendResultStatuses, createCommitValidateInput, createOperationEventRequestId, createOperationEventSubmissionId, encodeCommitValidateRequestBody, isConnectionError, isDefiniteStreamAppendRejection, isKnownOrgAuthScope, isKnownRepoAuthScope, isRetryable, isWarmHubError, normalizeWref, operationEventStreamRequestId, resolveFunctionLogMode, sanitizeErrorMessage, sdkVersionIsBelowMinimum, streamAppendResultStatus, submitOperationsViaStream, toWarmHubError, validateAgainstShape, verifyCliCall };
|