@cat-factory/contracts 0.294.0 → 0.296.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/public-api.d.ts +93 -4
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +89 -4
- package/dist/public-api.js.map +1 -1
- package/dist/public-provisioning.d.ts +220 -13
- package/dist/public-provisioning.d.ts.map +1 -1
- package/dist/public-provisioning.js +181 -15
- package/dist/public-provisioning.js.map +1 -1
- package/dist/routes/public-api.d.ts +18 -0
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/public-board.d.ts +4 -0
- package/dist/routes/public-board.d.ts.map +1 -1
- package/dist/routes/public-provisioning.d.ts +507 -321
- package/dist/routes/public-provisioning.d.ts.map +1 -1
- package/dist/routes/public-provisioning.js +77 -5
- package/dist/routes/public-provisioning.js.map +1 -1
- package/package.json +1 -1
package/dist/public-api.d.ts
CHANGED
|
@@ -263,6 +263,18 @@ export declare const publicTaskSchema: v.ObjectSchema<{
|
|
|
263
263
|
* dependent is merely refused until its blocker lands, and something has to notice and start it.
|
|
264
264
|
*/
|
|
265
265
|
readonly autoStartDependents: v.BooleanSchema<undefined>;
|
|
266
|
+
/**
|
|
267
|
+
* The model preset this task pins, or null when it resolves the workspace default.
|
|
268
|
+
*
|
|
269
|
+
* Served for the reason `dependsOn` is: a caller that declared something needs to read back what
|
|
270
|
+
* the board holds, or the declaration is fire-and-forget. It is the difference between an
|
|
271
|
+
* acceptance pass that can state which model it measured and one that assumes. Null is not the
|
|
272
|
+
* default's ID, because a task pinning nothing FOLLOWS the default: move it and this task moves
|
|
273
|
+
* with it, where a pinned copy of the same id would not.
|
|
274
|
+
*/
|
|
275
|
+
readonly modelPresetId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
276
|
+
/** The risk policy this task pins, or null when it resolves the workspace default. */
|
|
277
|
+
readonly riskPolicyId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
266
278
|
}, undefined>;
|
|
267
279
|
export type PublicTask = v.InferOutput<typeof publicTaskSchema>;
|
|
268
280
|
export declare const publicTaskListSchema: v.ObjectSchema<{
|
|
@@ -300,6 +312,18 @@ export declare const publicTaskListSchema: v.ObjectSchema<{
|
|
|
300
312
|
* dependent is merely refused until its blocker lands, and something has to notice and start it.
|
|
301
313
|
*/
|
|
302
314
|
readonly autoStartDependents: v.BooleanSchema<undefined>;
|
|
315
|
+
/**
|
|
316
|
+
* The model preset this task pins, or null when it resolves the workspace default.
|
|
317
|
+
*
|
|
318
|
+
* Served for the reason `dependsOn` is: a caller that declared something needs to read back what
|
|
319
|
+
* the board holds, or the declaration is fire-and-forget. It is the difference between an
|
|
320
|
+
* acceptance pass that can state which model it measured and one that assumes. Null is not the
|
|
321
|
+
* default's ID, because a task pinning nothing FOLLOWS the default: move it and this task moves
|
|
322
|
+
* with it, where a pinned copy of the same id would not.
|
|
323
|
+
*/
|
|
324
|
+
readonly modelPresetId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
325
|
+
/** The risk policy this task pins, or null when it resolves the workspace default. */
|
|
326
|
+
readonly riskPolicyId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
303
327
|
}, undefined>, undefined>;
|
|
304
328
|
/**
|
|
305
329
|
* Cursor to pass as `?cursor=` for the next page, or null when this was the last page.
|
|
@@ -423,10 +447,28 @@ export declare const publicTaskDocumentSchema: v.VariantSchema<"kind", [v.Object
|
|
|
423
447
|
}, undefined>], undefined>;
|
|
424
448
|
export type PublicTaskDocument = v.InferOutput<typeof publicTaskDocumentSchema>;
|
|
425
449
|
/**
|
|
426
|
-
* Create a task under a service
|
|
427
|
-
*
|
|
428
|
-
*
|
|
429
|
-
*
|
|
450
|
+
* Create a task under a service: a NARROW external input mapped onto the internal `AddTaskInput`.
|
|
451
|
+
*
|
|
452
|
+
* Narrow is not the same as minimal, and the line has moved. It first exposed only
|
|
453
|
+
* title/description/taskType/ticket/documents on the reasoning that fewer fields meant a smaller
|
|
454
|
+
* thing to keep stable. What that missed is that a knob withheld does not go away, it just gets
|
|
455
|
+
* reached another way: the only route to "run this task on the cheap model" without
|
|
456
|
+
* `modelPresetId` is to move the WORKSPACE default, which changes every other caller's runs to
|
|
457
|
+
* settle one task. A per-task field is the smaller blast radius, not the larger one.
|
|
458
|
+
*
|
|
459
|
+
* So the two knobs are here, discoverable through `GET /api/v1/model-presets` and
|
|
460
|
+
* `GET /api/v1/risk-policies` (the same pairing the pipeline list has with `start`'s `pipelineId`),
|
|
461
|
+
* and read back on {@link publicTaskSchema} so a caller can confirm what a task actually holds.
|
|
462
|
+
* What stays off is what a caller cannot act on meaningfully: per-agent-kind model overrides,
|
|
463
|
+
* consensus wiring, and the rest of the internal agent config, which are workspace-shaped
|
|
464
|
+
* decisions with no per-task question behind them.
|
|
465
|
+
*
|
|
466
|
+
* **`riskPolicyId` selects how much oversight this task's merge takes, so read
|
|
467
|
+
* `docs/initiatives/role-scoped-risk-policy-admission.md` before treating it as ordinary.** An API
|
|
468
|
+
* key holds scopes rather than a workspace role, so it is already `UNATTRIBUTED` at the merge exits
|
|
469
|
+
* (ADR 0037) and no role-scoped restriction narrows it today. That is precisely why WHICH policies
|
|
470
|
+
* a caller may pin needs to become a real admission rule rather than staying an accident of what
|
|
471
|
+
* the surface happens not to expose.
|
|
430
472
|
*/
|
|
431
473
|
export declare const createPublicTaskSchema: v.ObjectSchema<{
|
|
432
474
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
@@ -510,6 +552,37 @@ export declare const createPublicTaskSchema: v.ObjectSchema<{
|
|
|
510
552
|
* what it actually decides.
|
|
511
553
|
*/
|
|
512
554
|
readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
555
|
+
/**
|
|
556
|
+
* The model preset this task's agent steps run on, from `GET /api/v1/model-presets`. Omitted ⇒
|
|
557
|
+
* the workspace's default preset, exactly as before.
|
|
558
|
+
*
|
|
559
|
+
* An id no preset in this workspace carries is a `422` (`details.reason:
|
|
560
|
+
* 'model_preset_not_found'`) rather than a silent fallback to the default. The two outcomes are
|
|
561
|
+
* indistinguishable afterwards from anything a caller can read, and a pass that quietly ran on
|
|
562
|
+
* another model is worse than one that refused: the run still succeeds, the numbers are just
|
|
563
|
+
* about something else.
|
|
564
|
+
*
|
|
565
|
+
* Pinning a preset does NOT widen what the account allows. The base model still resolves through
|
|
566
|
+
* the account's model-family policy, so a preset naming a blocked model fails at dispatch with
|
|
567
|
+
* the same refusal it would have had on the workspace default. `GET /api/v1/models` reports that
|
|
568
|
+
* up front, keeping "unconfigured" and "refused by policy" apart.
|
|
569
|
+
*/
|
|
570
|
+
readonly modelPresetId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
571
|
+
/**
|
|
572
|
+
* The risk policy this task's `merger` step resolves, from `GET /api/v1/risk-policies`. Omitted ⇒
|
|
573
|
+
* the workspace's default policy, exactly as before.
|
|
574
|
+
*
|
|
575
|
+
* Unknown ids refuse the same way (`details.reason: 'risk_policy_not_found'`).
|
|
576
|
+
*
|
|
577
|
+
* **This one chooses how much oversight landing takes**, since a policy carries
|
|
578
|
+
* `autoMergeEnabled` and the score ceilings. It is exposed because withholding it was never the
|
|
579
|
+
* control it looked like: a caller wanting a different policy could always move the workspace
|
|
580
|
+
* default, which is the same power aimed at every other task as well. The real control is an
|
|
581
|
+
* admission rule over WHICH policies a caller may pin, tracked in
|
|
582
|
+
* `docs/initiatives/role-scoped-risk-policy-admission.md`. Until that lands, an `admin` key can
|
|
583
|
+
* pin any policy its workspace holds, which is the same authority it already had by editing one.
|
|
584
|
+
*/
|
|
585
|
+
readonly riskPolicyId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
513
586
|
}, undefined>;
|
|
514
587
|
export type CreatePublicTaskInput = v.InferOutput<typeof createPublicTaskSchema>;
|
|
515
588
|
/**
|
|
@@ -591,6 +664,22 @@ export declare const updatePublicTaskSchema: v.ObjectSchema<{
|
|
|
591
664
|
* the caller cannot have it.
|
|
592
665
|
*/
|
|
593
666
|
readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
667
|
+
/**
|
|
668
|
+
* Re-point the task at another model preset, or another risk policy. Same ids, same refusals and
|
|
669
|
+
* same omitted-value rule as on {@link createPublicTaskSchema}: a field you omit is untouched,
|
|
670
|
+
* which is not the same as pinning nothing.
|
|
671
|
+
*
|
|
672
|
+
* Here because a pin a caller can set once and never correct is a pin it has to DELETE THE TASK
|
|
673
|
+
* to fix, losing the id every stored reference points at, its ticket claim and its attached
|
|
674
|
+
* documents. Re-pointing does not re-drive a run already in flight, exactly as editing the
|
|
675
|
+
* authored input does not: the next run resolves what the task holds then.
|
|
676
|
+
*
|
|
677
|
+
* There is deliberately no way to CLEAR a pin back to "follow the workspace default" here, on the
|
|
678
|
+
* same reading as `fields`: an empty value means "not supplied". Adding one later is additive
|
|
679
|
+
* where guessing at the spelling now would not be.
|
|
680
|
+
*/
|
|
681
|
+
readonly modelPresetId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
682
|
+
readonly riskPolicyId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
594
683
|
}, undefined>;
|
|
595
684
|
export type UpdatePublicTaskInput = v.InferOutput<typeof updatePublicTaskSchema>;
|
|
596
685
|
/**
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA+D5B,4EAA4E;AAC5E,eAAO,MAAM,qBAAqB;IAChC,wEAAwE;;IAExE,+EAA+E;;IAE/E,kFAAkF;;aAElF,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE9E;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,iEAAiD,CAAA;AACnF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,2EAA2E;AAC3E,eAAO,MAAM,qBAAqB;IAChC,kDAAkD;;IAElD,iFAAiF;;aAEjF,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,wDAAyB,CAAA;AAErE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,uCAAuC,4BAAc,CAAA;AAElE,4EAA4E;AAC5E,eAAO,MAAM,eAAe;;;;;IAK1B,8EAA8E;;IAE9E;6DACyD;;IAEzD,kFAAkF;;QA3DlF,kDAAkD;;QAElD,iF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,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAMvF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;IAC/B;;;;;OAKG;;IAEH,iGAAiG;;;;IAIjG,6FAA6F;;;IAG7F;;;;OAIG;;IAEH,wCAAwC;;aAExC,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;IAClC,4FAA4F;;;IAG5F,6EAA6E;;IAE7E,oFAAoF;;IAEpF,uFAAuF;;aAEvF,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB;IAC5B,2EAA2E;;IAE3E,qEAAqE;;;QAxBrE,4FAA4F;;;QAG5F,6EAA6E;;QAE7E,oFAAoF;;QAEpF,uFAAuF;;;;QA1CvF;;;;;WAKG;;QAEH,iGAAiG;;;;QAIjG,6FAA6F;;;QAG7F;;;;WAIG;;QAEH,wCAAwC;;;aA2CxC,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEjE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB;IAC/B,oFAAoF;;IAEpF,sCAAsC;;IAEtC,+DAA+D;;IAE/D;;;OAGG;;IAEH,gGAAgG;;IAEhG;;;;;OAKG;;IAEH,0CAA0C;;aAE1C,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
package/dist/public-api.js
CHANGED
|
@@ -225,6 +225,18 @@ export const publicTaskSchema = v.object({
|
|
|
225
225
|
* dependent is merely refused until its blocker lands, and something has to notice and start it.
|
|
226
226
|
*/
|
|
227
227
|
autoStartDependents: v.boolean(),
|
|
228
|
+
/**
|
|
229
|
+
* The model preset this task pins, or null when it resolves the workspace default.
|
|
230
|
+
*
|
|
231
|
+
* Served for the reason `dependsOn` is: a caller that declared something needs to read back what
|
|
232
|
+
* the board holds, or the declaration is fire-and-forget. It is the difference between an
|
|
233
|
+
* acceptance pass that can state which model it measured and one that assumes. Null is not the
|
|
234
|
+
* default's ID, because a task pinning nothing FOLLOWS the default: move it and this task moves
|
|
235
|
+
* with it, where a pinned copy of the same id would not.
|
|
236
|
+
*/
|
|
237
|
+
modelPresetId: v.nullable(v.string()),
|
|
238
|
+
/** The risk policy this task pins, or null when it resolves the workspace default. */
|
|
239
|
+
riskPolicyId: v.nullable(v.string()),
|
|
228
240
|
});
|
|
229
241
|
export const publicTaskListSchema = v.object({
|
|
230
242
|
tasks: v.array(publicTaskSchema),
|
|
@@ -329,10 +341,36 @@ export const publicTaskDocumentSchema = v.variant('kind', [
|
|
|
329
341
|
publicTaskUploadedDocumentSchema,
|
|
330
342
|
]);
|
|
331
343
|
/**
|
|
332
|
-
*
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
*
|
|
344
|
+
* A pinned library id (`modelPresetId`, `riskPolicyId`), on create and on patch alike.
|
|
345
|
+
*
|
|
346
|
+
* One schema for all four holes rather than the same pipe written out four times: the pins are the
|
|
347
|
+
* same kind of value everywhere they appear, and the day one of them grows a rule (a prefix check,
|
|
348
|
+
* a longer bound) the other three want it too.
|
|
349
|
+
*/
|
|
350
|
+
const presetPinSchema = v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(120));
|
|
351
|
+
/**
|
|
352
|
+
* Create a task under a service: a NARROW external input mapped onto the internal `AddTaskInput`.
|
|
353
|
+
*
|
|
354
|
+
* Narrow is not the same as minimal, and the line has moved. It first exposed only
|
|
355
|
+
* title/description/taskType/ticket/documents on the reasoning that fewer fields meant a smaller
|
|
356
|
+
* thing to keep stable. What that missed is that a knob withheld does not go away, it just gets
|
|
357
|
+
* reached another way: the only route to "run this task on the cheap model" without
|
|
358
|
+
* `modelPresetId` is to move the WORKSPACE default, which changes every other caller's runs to
|
|
359
|
+
* settle one task. A per-task field is the smaller blast radius, not the larger one.
|
|
360
|
+
*
|
|
361
|
+
* So the two knobs are here, discoverable through `GET /api/v1/model-presets` and
|
|
362
|
+
* `GET /api/v1/risk-policies` (the same pairing the pipeline list has with `start`'s `pipelineId`),
|
|
363
|
+
* and read back on {@link publicTaskSchema} so a caller can confirm what a task actually holds.
|
|
364
|
+
* What stays off is what a caller cannot act on meaningfully: per-agent-kind model overrides,
|
|
365
|
+
* consensus wiring, and the rest of the internal agent config, which are workspace-shaped
|
|
366
|
+
* decisions with no per-task question behind them.
|
|
367
|
+
*
|
|
368
|
+
* **`riskPolicyId` selects how much oversight this task's merge takes, so read
|
|
369
|
+
* `docs/initiatives/role-scoped-risk-policy-admission.md` before treating it as ordinary.** An API
|
|
370
|
+
* key holds scopes rather than a workspace role, so it is already `UNATTRIBUTED` at the merge exits
|
|
371
|
+
* (ADR 0037) and no role-scoped restriction narrows it today. That is precisely why WHICH policies
|
|
372
|
+
* a caller may pin needs to become a real admission rule rather than staying an accident of what
|
|
373
|
+
* the surface happens not to expose.
|
|
336
374
|
*/
|
|
337
375
|
export const createPublicTaskSchema = v.object({
|
|
338
376
|
title: v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(200)),
|
|
@@ -385,6 +423,37 @@ export const createPublicTaskSchema = v.object({
|
|
|
385
423
|
* what it actually decides.
|
|
386
424
|
*/
|
|
387
425
|
fields: v.optional(descriptorFieldValuesSchema),
|
|
426
|
+
/**
|
|
427
|
+
* The model preset this task's agent steps run on, from `GET /api/v1/model-presets`. Omitted ⇒
|
|
428
|
+
* the workspace's default preset, exactly as before.
|
|
429
|
+
*
|
|
430
|
+
* An id no preset in this workspace carries is a `422` (`details.reason:
|
|
431
|
+
* 'model_preset_not_found'`) rather than a silent fallback to the default. The two outcomes are
|
|
432
|
+
* indistinguishable afterwards from anything a caller can read, and a pass that quietly ran on
|
|
433
|
+
* another model is worse than one that refused: the run still succeeds, the numbers are just
|
|
434
|
+
* about something else.
|
|
435
|
+
*
|
|
436
|
+
* Pinning a preset does NOT widen what the account allows. The base model still resolves through
|
|
437
|
+
* the account's model-family policy, so a preset naming a blocked model fails at dispatch with
|
|
438
|
+
* the same refusal it would have had on the workspace default. `GET /api/v1/models` reports that
|
|
439
|
+
* up front, keeping "unconfigured" and "refused by policy" apart.
|
|
440
|
+
*/
|
|
441
|
+
modelPresetId: v.optional(presetPinSchema),
|
|
442
|
+
/**
|
|
443
|
+
* The risk policy this task's `merger` step resolves, from `GET /api/v1/risk-policies`. Omitted ⇒
|
|
444
|
+
* the workspace's default policy, exactly as before.
|
|
445
|
+
*
|
|
446
|
+
* Unknown ids refuse the same way (`details.reason: 'risk_policy_not_found'`).
|
|
447
|
+
*
|
|
448
|
+
* **This one chooses how much oversight landing takes**, since a policy carries
|
|
449
|
+
* `autoMergeEnabled` and the score ceilings. It is exposed because withholding it was never the
|
|
450
|
+
* control it looked like: a caller wanting a different policy could always move the workspace
|
|
451
|
+
* default, which is the same power aimed at every other task as well. The real control is an
|
|
452
|
+
* admission rule over WHICH policies a caller may pin, tracked in
|
|
453
|
+
* `docs/initiatives/role-scoped-risk-policy-admission.md`. Until that lands, an `admin` key can
|
|
454
|
+
* pin any policy its workspace holds, which is the same authority it already had by editing one.
|
|
455
|
+
*/
|
|
456
|
+
riskPolicyId: v.optional(presetPinSchema),
|
|
388
457
|
});
|
|
389
458
|
/**
|
|
390
459
|
* Start (run) a task. `pipelineId` is optional — it falls back to the task's pinned
|
|
@@ -464,6 +533,22 @@ export const updatePublicTaskSchema = v.object({
|
|
|
464
533
|
* the caller cannot have it.
|
|
465
534
|
*/
|
|
466
535
|
autoStartDependents: v.optional(v.boolean()),
|
|
536
|
+
/**
|
|
537
|
+
* Re-point the task at another model preset, or another risk policy. Same ids, same refusals and
|
|
538
|
+
* same omitted-value rule as on {@link createPublicTaskSchema}: a field you omit is untouched,
|
|
539
|
+
* which is not the same as pinning nothing.
|
|
540
|
+
*
|
|
541
|
+
* Here because a pin a caller can set once and never correct is a pin it has to DELETE THE TASK
|
|
542
|
+
* to fix, losing the id every stored reference points at, its ticket claim and its attached
|
|
543
|
+
* documents. Re-pointing does not re-drive a run already in flight, exactly as editing the
|
|
544
|
+
* authored input does not: the next run resolves what the task holds then.
|
|
545
|
+
*
|
|
546
|
+
* There is deliberately no way to CLEAR a pin back to "follow the workspace default" here, on the
|
|
547
|
+
* same reading as `fields`: an empty value means "not supplied". Adding one later is additive
|
|
548
|
+
* where guessing at the spelling now would not be.
|
|
549
|
+
*/
|
|
550
|
+
modelPresetId: v.optional(presetPinSchema),
|
|
551
|
+
riskPolicyId: v.optional(presetPinSchema),
|
|
467
552
|
});
|
|
468
553
|
// ---------------------------------------------------------------------------
|
|
469
554
|
// Richer run projection + live stream (the task-lifecycle surface).
|
package/dist/public-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAA;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAA;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACvF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,8EAA8E;AAC9E,0EAA0E;AAC1E,EAAE;AACF,6EAA6E;AAC7E,2EAA2E;AAC3E,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;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AC,KAAK,CAAC,oBAAoB,CAAC;CACpC,CAAC,CAAA;AAGF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,oFAAoF;IACpF,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,sCAAsC;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,+DAA+D;IAC/D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB;;;OAGG;IACH,KAAK,EAAE,oBAAoB;IAC3B,gGAAgG;IAChG,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB;;;;;OAKG;IACH,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,0CAA0C;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA"}
|
|
@@ -94,6 +94,152 @@ export declare const publicBootstrapJobSchema: v.ObjectSchema<{
|
|
|
94
94
|
readonly updatedAt: v.NumberSchema<undefined>;
|
|
95
95
|
}, undefined>;
|
|
96
96
|
export type PublicBootstrapJob = v.InferOutput<typeof publicBootstrapJobSchema>;
|
|
97
|
+
/**
|
|
98
|
+
* A repository the workspace's connection can reach, whether or not this workspace links it yet.
|
|
99
|
+
*
|
|
100
|
+
* The discovery read for adoption, and a superset of {@link publicRepoSchema}'s population by
|
|
101
|
+
* design: that one lists what is linked (so every row carries a `repoId` a service can be created
|
|
102
|
+
* against), this one lists what COULD be. `linked` is the join between them.
|
|
103
|
+
*
|
|
104
|
+
* A small projection, like every other shape here: enough to recognise a repository, decide whether
|
|
105
|
+
* to adopt it, and name it in the adopt call. It carries `serviceId` and `linkedElsewhere` for the
|
|
106
|
+
* same reason `GET /api/v1/repos` does, and derived by the same account-scoped judgement: whether a
|
|
107
|
+
* repository is SPOKEN FOR is the question a caller asks immediately after "can I reach it", and the
|
|
108
|
+
* answer does not depend on this workspace having linked it. A repository already backing a service
|
|
109
|
+
* on another board of the account is unusable here, so a discovery read that could not say so would
|
|
110
|
+
* green-light an adopt whose next call fails.
|
|
111
|
+
*/
|
|
112
|
+
export declare const publicAvailableRepoSchema: v.ObjectSchema<{
|
|
113
|
+
/** The provider's id for the repo, as `GET /api/v1/repos` reports it once linked. */
|
|
114
|
+
readonly repoId: v.NumberSchema<undefined>;
|
|
115
|
+
readonly provider: v.PicklistSchema<["github", "gitlab"], undefined>;
|
|
116
|
+
readonly owner: v.StringSchema<undefined>;
|
|
117
|
+
readonly name: v.StringSchema<undefined>;
|
|
118
|
+
/** The branch a run would base its work on. Empty when the provider reports none. */
|
|
119
|
+
readonly defaultBranch: v.StringSchema<undefined>;
|
|
120
|
+
readonly private: v.BooleanSchema<undefined>;
|
|
121
|
+
/** Whether THIS workspace already links it, i.e. whether it appears in `GET /api/v1/repos`. */
|
|
122
|
+
readonly linked: v.BooleanSchema<undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Whether it is flagged as hosting several services.
|
|
125
|
+
*
|
|
126
|
+
* A board-owned flag carried on the linked projection, so an unlinked repository answers false
|
|
127
|
+
* because nobody has flagged it, not because it was examined. `linked` is what says which of the
|
|
128
|
+
* two this is.
|
|
129
|
+
*/
|
|
130
|
+
readonly monorepo: v.BooleanSchema<undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* The service on THIS board that the repository already backs, or null.
|
|
133
|
+
*
|
|
134
|
+
* Null means "no service here holds it", which is not the same as free: read it with
|
|
135
|
+
* `linkedElsewhere`, exactly as on `GET /api/v1/repos`.
|
|
136
|
+
*/
|
|
137
|
+
readonly serviceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* True when a service homed on ANOTHER board of this account already backs it, so
|
|
140
|
+
* `POST /api/v1/services` will refuse it here.
|
|
141
|
+
*
|
|
142
|
+
* That service's id is withheld rather than reported, because it names a block this key cannot
|
|
143
|
+
* read. The flag is what stops the withholding reading as availability.
|
|
144
|
+
*/
|
|
145
|
+
readonly linkedElsewhere: v.BooleanSchema<undefined>;
|
|
146
|
+
/**
|
|
147
|
+
* True when it is reachable only through the SIGNED-IN USER's own token rather than the
|
|
148
|
+
* workspace's connection.
|
|
149
|
+
*
|
|
150
|
+
* Always false on this surface, and published rather than omitted because it is the one field that
|
|
151
|
+
* says why a repository a person can see in the app may be missing here: an API key authenticates
|
|
152
|
+
* as the workspace, so a repository only somebody's personal token reaches is not reachable by a
|
|
153
|
+
* key at all. A caller comparing this list against what a colleague sees needs that stated.
|
|
154
|
+
*/
|
|
155
|
+
readonly personal: v.BooleanSchema<undefined>;
|
|
156
|
+
}, undefined>;
|
|
157
|
+
export type PublicAvailableRepo = v.InferOutput<typeof publicAvailableRepoSchema>;
|
|
158
|
+
export declare const publicAvailableRepoListSchema: v.ObjectSchema<{
|
|
159
|
+
readonly repos: v.ArraySchema<v.ObjectSchema<{
|
|
160
|
+
/** The provider's id for the repo, as `GET /api/v1/repos` reports it once linked. */
|
|
161
|
+
readonly repoId: v.NumberSchema<undefined>;
|
|
162
|
+
readonly provider: v.PicklistSchema<["github", "gitlab"], undefined>;
|
|
163
|
+
readonly owner: v.StringSchema<undefined>;
|
|
164
|
+
readonly name: v.StringSchema<undefined>;
|
|
165
|
+
/** The branch a run would base its work on. Empty when the provider reports none. */
|
|
166
|
+
readonly defaultBranch: v.StringSchema<undefined>;
|
|
167
|
+
readonly private: v.BooleanSchema<undefined>;
|
|
168
|
+
/** Whether THIS workspace already links it, i.e. whether it appears in `GET /api/v1/repos`. */
|
|
169
|
+
readonly linked: v.BooleanSchema<undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* Whether it is flagged as hosting several services.
|
|
172
|
+
*
|
|
173
|
+
* A board-owned flag carried on the linked projection, so an unlinked repository answers false
|
|
174
|
+
* because nobody has flagged it, not because it was examined. `linked` is what says which of the
|
|
175
|
+
* two this is.
|
|
176
|
+
*/
|
|
177
|
+
readonly monorepo: v.BooleanSchema<undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* The service on THIS board that the repository already backs, or null.
|
|
180
|
+
*
|
|
181
|
+
* Null means "no service here holds it", which is not the same as free: read it with
|
|
182
|
+
* `linkedElsewhere`, exactly as on `GET /api/v1/repos`.
|
|
183
|
+
*/
|
|
184
|
+
readonly serviceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
185
|
+
/**
|
|
186
|
+
* True when a service homed on ANOTHER board of this account already backs it, so
|
|
187
|
+
* `POST /api/v1/services` will refuse it here.
|
|
188
|
+
*
|
|
189
|
+
* That service's id is withheld rather than reported, because it names a block this key cannot
|
|
190
|
+
* read. The flag is what stops the withholding reading as availability.
|
|
191
|
+
*/
|
|
192
|
+
readonly linkedElsewhere: v.BooleanSchema<undefined>;
|
|
193
|
+
/**
|
|
194
|
+
* True when it is reachable only through the SIGNED-IN USER's own token rather than the
|
|
195
|
+
* workspace's connection.
|
|
196
|
+
*
|
|
197
|
+
* Always false on this surface, and published rather than omitted because it is the one field that
|
|
198
|
+
* says why a repository a person can see in the app may be missing here: an API key authenticates
|
|
199
|
+
* as the workspace, so a repository only somebody's personal token reaches is not reachable by a
|
|
200
|
+
* key at all. A caller comparing this list against what a colleague sees needs that stated.
|
|
201
|
+
*/
|
|
202
|
+
readonly personal: v.BooleanSchema<undefined>;
|
|
203
|
+
}, undefined>, undefined>;
|
|
204
|
+
/**
|
|
205
|
+
* True when a provider read behind this list stopped at a cap, so repositories the connection can
|
|
206
|
+
* reach are missing from `repos`.
|
|
207
|
+
*
|
|
208
|
+
* Published because an absent row is the one observation this read exists to make actionable, and
|
|
209
|
+
* a capped browse produces an absent row for a repository that exists, is reachable, and would
|
|
210
|
+
* link fine. Without this flag those two are the same answer, and a caller told "one that does not
|
|
211
|
+
* exist appears in neither read" would conclude the wrong one.
|
|
212
|
+
*
|
|
213
|
+
* A point-read (`q=owner/name`) is never truncated: it resolves the exact slug directly, which is
|
|
214
|
+
* why it is the authoritative way to ask about ONE repository, and why a truncated browse is a
|
|
215
|
+
* reason to narrow the query rather than to give up.
|
|
216
|
+
*/
|
|
217
|
+
readonly truncated: v.BooleanSchema<undefined>;
|
|
218
|
+
}, undefined>;
|
|
219
|
+
export type PublicAvailableRepoList = v.InferOutput<typeof publicAvailableRepoListSchema>;
|
|
220
|
+
/**
|
|
221
|
+
* Adopt a repository into this workspace, by name.
|
|
222
|
+
*
|
|
223
|
+
* By NAME rather than by the `repoId` its sibling reads report, and that asymmetry is deliberate: a
|
|
224
|
+
* caller setting a workspace up from configuration knows `owner/name` (a person typed it, or a
|
|
225
|
+
* template holds it) and cannot know a provider's numeric id for a repository no public read lists.
|
|
226
|
+
* Taking the name makes this one call sufficient, so a headless setup never has to search first, and
|
|
227
|
+
* the response carries the `repoId` for the `POST /api/v1/services` call that follows.
|
|
228
|
+
*
|
|
229
|
+
* The owner is required rather than defaulted to the connected account, because an installation can
|
|
230
|
+
* reach several owners and a request that guessed one would silently adopt a look-alike.
|
|
231
|
+
*/
|
|
232
|
+
export declare const linkPublicRepoSchema: v.ObjectSchema<{
|
|
233
|
+
/**
|
|
234
|
+
* The account the repository lives under, exactly as `GET /api/v1/repos/available` reports it:
|
|
235
|
+
* a user or organisation on GitHub, and on GitLab a namespace PATH, which may name a group and
|
|
236
|
+
* its subgroups (`group/subgroup`).
|
|
237
|
+
*/
|
|
238
|
+
readonly owner: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "Only letters, digits, '.', '_', '-' and '/' between segments are allowed">, v.CheckAction<string, "No path segment may be '.' or '..'">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
239
|
+
/** The repository's name, matched case-insensitively as both providers treat it. */
|
|
240
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "Only letters, digits, '.', '_' and '-' are allowed">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 100, undefined>]>;
|
|
241
|
+
}, undefined>;
|
|
242
|
+
export type LinkPublicRepoInput = v.InferOutput<typeof linkPublicRepoSchema>;
|
|
97
243
|
/**
|
|
98
244
|
* How the manifests at `path` are rendered. `raw` (the default) treats the path as a manifest file
|
|
99
245
|
* or a flat directory of valid YAML; `kustomize` treats it as an overlay directory, which only the
|
|
@@ -639,26 +785,34 @@ export declare const publicVcsConnectionViewSchema: v.ObjectSchema<{
|
|
|
639
785
|
}, undefined>;
|
|
640
786
|
export type PublicVcsConnectionView = v.InferOutput<typeof publicVcsConnectionViewSchema>;
|
|
641
787
|
/**
|
|
642
|
-
* One
|
|
788
|
+
* One risk policy, reduced to what decides whether a run can LAND without a person.
|
|
789
|
+
*
|
|
790
|
+
* **The name is the product's**, and it is broader than merging on purpose: one policy row also
|
|
791
|
+
* caps CI-fixer attempts, requirement and tester iteration rounds, judge scores and the
|
|
792
|
+
* release-health watch window. This surface first shipped it as a "merge preset", which was the
|
|
793
|
+
* name the platform had already moved off, and the id a caller reads here is the one it pins as
|
|
794
|
+
* `riskPolicyId` on task create, so the two spellings met on one wire. See
|
|
795
|
+
* `backend/docs/public-api-versions.md` for why the correction is a rename rather than a
|
|
796
|
+
* dual-served migration.
|
|
643
797
|
*
|
|
644
798
|
* `dryRunRoles` is projected even though a caller cannot resolve which role its own key runs
|
|
645
|
-
* under: a non-empty list is the difference between "this
|
|
799
|
+
* under: a non-empty list is the difference between "this policy merges" and "this policy merges
|
|
646
800
|
* for everyone except the role you might be", and stating it lets a caller report the caveat
|
|
647
801
|
* rather than assert a verdict it has not earned.
|
|
648
802
|
*
|
|
649
|
-
* `submissionRestrictedRoles` is the SECOND such caveat and rides for the same reason. A
|
|
803
|
+
* `submissionRestrictedRoles` is the SECOND such caveat and rides for the same reason. A policy
|
|
650
804
|
* carries two role-scoped bars on LANDING (ADR 0039's per-role change-class allowlist, enforced at
|
|
651
805
|
* both merge exits, and the dry-run list), and publishing one of them made the other read as
|
|
652
|
-
* absent: `autoMergeEnabled: true` with an empty `dryRunRoles` says "this
|
|
806
|
+
* absent: `autoMergeEnabled: true` with an empty `dryRunRoles` says "this policy merges" while a
|
|
653
807
|
* role allowlist holds every run outside its classes for a human. What is deliberately NOT here is
|
|
654
808
|
* the per-role narrowing of the score CEILINGS (`classRulesByRole`), on the same line this
|
|
655
809
|
* projection already draws for the ceilings themselves: it decides how much review landing takes,
|
|
656
810
|
* where these two decide whether landing happens at all.
|
|
657
811
|
*/
|
|
658
|
-
export declare const
|
|
659
|
-
readonly
|
|
812
|
+
export declare const publicRiskPolicySchema: v.ObjectSchema<{
|
|
813
|
+
readonly policyId: v.StringSchema<undefined>;
|
|
660
814
|
readonly name: v.StringSchema<undefined>;
|
|
661
|
-
/** Whether a task that pins no
|
|
815
|
+
/** Whether a task that pins no policy resolves this one. */
|
|
662
816
|
readonly isDefault: v.BooleanSchema<undefined>;
|
|
663
817
|
/** The master switch: false holds every pull request for a person. */
|
|
664
818
|
readonly autoMergeEnabled: v.BooleanSchema<undefined>;
|
|
@@ -673,12 +827,12 @@ export declare const publicMergePresetSchema: v.ObjectSchema<{
|
|
|
673
827
|
*/
|
|
674
828
|
readonly submissionRestrictedRoles: v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>;
|
|
675
829
|
}, undefined>;
|
|
676
|
-
export type
|
|
677
|
-
export declare const
|
|
678
|
-
readonly
|
|
679
|
-
readonly
|
|
830
|
+
export type PublicRiskPolicy = v.InferOutput<typeof publicRiskPolicySchema>;
|
|
831
|
+
export declare const publicRiskPolicyListSchema: v.ObjectSchema<{
|
|
832
|
+
readonly policies: v.ArraySchema<v.ObjectSchema<{
|
|
833
|
+
readonly policyId: v.StringSchema<undefined>;
|
|
680
834
|
readonly name: v.StringSchema<undefined>;
|
|
681
|
-
/** Whether a task that pins no
|
|
835
|
+
/** Whether a task that pins no policy resolves this one. */
|
|
682
836
|
readonly isDefault: v.BooleanSchema<undefined>;
|
|
683
837
|
/** The master switch: false holds every pull request for a person. */
|
|
684
838
|
readonly autoMergeEnabled: v.BooleanSchema<undefined>;
|
|
@@ -694,5 +848,58 @@ export declare const publicMergePresetListSchema: v.ObjectSchema<{
|
|
|
694
848
|
readonly submissionRestrictedRoles: v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>;
|
|
695
849
|
}, undefined>, undefined>;
|
|
696
850
|
}, undefined>;
|
|
697
|
-
export type
|
|
851
|
+
export type PublicRiskPolicyList = v.InferOutput<typeof publicRiskPolicyListSchema>;
|
|
852
|
+
/**
|
|
853
|
+
* One model preset: which model a task pinning it runs its agent steps on.
|
|
854
|
+
*
|
|
855
|
+
* Published so a caller can PICK one by id rather than guess at it, which is the same reason the
|
|
856
|
+
* pipeline list exists beside a `start` that takes a `pipelineId`. The ids are the workspace's own
|
|
857
|
+
* (`mdp_*` for the built-ins), so a caller reads them here rather than hard-coding a vocabulary
|
|
858
|
+
* this surface would then owe forever. A caller pins what it reads here as `modelPresetId`, the
|
|
859
|
+
* same word: unlike the risk-policy list beside it, this one is a preset all the way down.
|
|
860
|
+
*
|
|
861
|
+
* **Availability is deliberately NOT here.** Whether a preset's model can actually be dispatched to
|
|
862
|
+
* is a fact about wiring and account policy, and `GET /api/v1/models` already answers it with the
|
|
863
|
+
* two causes kept apart (unconfigured, versus refused by the account model-family policy) because
|
|
864
|
+
* they need opposite fixes. Repeating a derived yes/no here would be a second place to keep honest,
|
|
865
|
+
* and the first one to go stale. Join on `baseModelId`.
|
|
866
|
+
*/
|
|
867
|
+
export declare const publicModelPresetSchema: v.ObjectSchema<{
|
|
868
|
+
readonly presetId: v.StringSchema<undefined>;
|
|
869
|
+
readonly name: v.StringSchema<undefined>;
|
|
870
|
+
/** Whether a task that pins no preset resolves this one. */
|
|
871
|
+
readonly isDefault: v.BooleanSchema<undefined>;
|
|
872
|
+
/** The model every agent kind runs on under this preset, unless overridden below. */
|
|
873
|
+
readonly baseModelId: v.StringSchema<undefined>;
|
|
874
|
+
/**
|
|
875
|
+
* Per-agent-kind model overrides on top of the base, keyed by agent kind.
|
|
876
|
+
*
|
|
877
|
+
* Published because a preset is not always uniform, and a caller choosing between two of them is
|
|
878
|
+
* choosing what the CODER runs on more than what the base is. The keys are an open set (a
|
|
879
|
+
* deployment's custom agent kinds appear here too), so a reader matches what it knows and ignores
|
|
880
|
+
* the rest rather than switching exhaustively.
|
|
881
|
+
*/
|
|
882
|
+
readonly overrides: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
883
|
+
}, undefined>;
|
|
884
|
+
export type PublicModelPreset = v.InferOutput<typeof publicModelPresetSchema>;
|
|
885
|
+
export declare const publicModelPresetListSchema: v.ObjectSchema<{
|
|
886
|
+
readonly presets: v.ArraySchema<v.ObjectSchema<{
|
|
887
|
+
readonly presetId: v.StringSchema<undefined>;
|
|
888
|
+
readonly name: v.StringSchema<undefined>;
|
|
889
|
+
/** Whether a task that pins no preset resolves this one. */
|
|
890
|
+
readonly isDefault: v.BooleanSchema<undefined>;
|
|
891
|
+
/** The model every agent kind runs on under this preset, unless overridden below. */
|
|
892
|
+
readonly baseModelId: v.StringSchema<undefined>;
|
|
893
|
+
/**
|
|
894
|
+
* Per-agent-kind model overrides on top of the base, keyed by agent kind.
|
|
895
|
+
*
|
|
896
|
+
* Published because a preset is not always uniform, and a caller choosing between two of them is
|
|
897
|
+
* choosing what the CODER runs on more than what the base is. The keys are an open set (a
|
|
898
|
+
* deployment's custom agent kinds appear here too), so a reader matches what it knows and ignores
|
|
899
|
+
* the rest rather than switching exhaustively.
|
|
900
|
+
*/
|
|
901
|
+
readonly overrides: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
902
|
+
}, undefined>, undefined>;
|
|
903
|
+
}, undefined>;
|
|
904
|
+
export type PublicModelPresetList = v.InferOutput<typeof publicModelPresetListSchema>;
|
|
698
905
|
//# sourceMappingURL=public-provisioning.d.ts.map
|