@cat-factory/contracts 0.250.0 → 0.252.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/debug-api.d.ts +28 -18
- package/dist/debug-api.d.ts.map +1 -1
- package/dist/debug-api.js +33 -18
- package/dist/debug-api.js.map +1 -1
- package/dist/form-fields.d.ts +26 -0
- package/dist/form-fields.d.ts.map +1 -1
- package/dist/form-fields.js +56 -0
- package/dist/form-fields.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/initiative-preset.d.ts +10 -0
- package/dist/initiative-preset.d.ts.map +1 -1
- package/dist/initiative-preset.js +13 -1
- package/dist/initiative-preset.js.map +1 -1
- package/dist/observability.d.ts +60 -0
- package/dist/observability.d.ts.map +1 -1
- package/dist/observability.js +61 -0
- package/dist/observability.js.map +1 -1
- package/dist/public-api.d.ts +21 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +22 -0
- package/dist/public-api.js.map +1 -1
- package/dist/public-task-types.d.ts +182 -0
- package/dist/public-task-types.d.ts.map +1 -0
- package/dist/public-task-types.js +191 -0
- package/dist/public-task-types.js.map +1 -0
- package/dist/routes/debug-api.d.ts +1 -1
- package/dist/routes/execution.d.ts +176 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/execution.js +47 -1
- package/dist/routes/execution.js.map +1 -1
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +1 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/public-api.d.ts +66 -0
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/public-api.js +11 -0
- package/dist/routes/public-api.js.map +1 -1
- package/dist/routes/runners.d.ts +10 -0
- package/dist/routes/runners.d.ts.map +1 -1
- package/dist/routes/task-types.d.ts +233 -0
- package/dist/routes/task-types.d.ts.map +1 -0
- package/dist/routes/task-types.js +55 -0
- package/dist/routes/task-types.js.map +1 -0
- package/dist/routes/workspaces.d.ts +4 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/runners.d.ts +150 -0
- package/dist/runners.d.ts.map +1 -1
- package/dist/runners.js +15 -0
- package/dist/runners.js.map +1 -1
- package/dist/snapshot.d.ts +34 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/snapshot.js +34 -2
- package/dist/snapshot.js.map +1 -1
- package/dist/task-types.d.ts +161 -0
- package/dist/task-types.d.ts.map +1 -1
- package/dist/task-types.js +16 -0
- package/dist/task-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -400,6 +400,7 @@ export declare const createPublicTaskContract: {
|
|
|
400
400
|
title: string;
|
|
401
401
|
content: string;
|
|
402
402
|
})[], 10, undefined>]>, undefined>;
|
|
403
|
+
readonly fields: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>, import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
403
404
|
}, undefined>;
|
|
404
405
|
readonly responsesByStatusCode: {
|
|
405
406
|
readonly '4xx': import("valibot").ObjectSchema<{
|
|
@@ -822,6 +823,71 @@ export declare const deletePublicTaskContract: {
|
|
|
822
823
|
readonly 204: typeof ContractNoBody;
|
|
823
824
|
};
|
|
824
825
|
};
|
|
826
|
+
/**
|
|
827
|
+
* List the task types this key's workspace may create, with the form each accepts. The discovery
|
|
828
|
+
* half of `createPublicTaskSchema.fields`: a caller reads the descriptors here and fills them
|
|
829
|
+
* there, rather than guessing at a shape the create call would then refuse.
|
|
830
|
+
*/
|
|
831
|
+
export declare const listPublicTaskTypesContract: {
|
|
832
|
+
readonly method: "get";
|
|
833
|
+
readonly pathResolver: () => string;
|
|
834
|
+
readonly responsesByStatusCode: {
|
|
835
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
836
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
837
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
838
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
839
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
840
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
841
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
842
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
843
|
+
}, undefined>, undefined>, undefined>;
|
|
844
|
+
}, undefined>;
|
|
845
|
+
}, undefined>;
|
|
846
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
847
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
848
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
849
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
850
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
851
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
852
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
853
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
854
|
+
}, undefined>, undefined>, undefined>;
|
|
855
|
+
}, undefined>;
|
|
856
|
+
}, undefined>;
|
|
857
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
858
|
+
readonly taskTypes: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
859
|
+
readonly taskType: import("valibot").StringSchema<undefined>;
|
|
860
|
+
readonly builtin: import("valibot").BooleanSchema<undefined>;
|
|
861
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
862
|
+
readonly description: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
863
|
+
readonly category: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
864
|
+
readonly fields: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
865
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
866
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
867
|
+
readonly help: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
868
|
+
readonly placeholder: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
869
|
+
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
870
|
+
readonly options: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
871
|
+
readonly value: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
872
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
873
|
+
}, undefined>, undefined>, undefined>;
|
|
874
|
+
readonly default: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
875
|
+
readonly defaultValues: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
876
|
+
readonly showWhen: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
877
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
878
|
+
readonly equals: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>;
|
|
879
|
+
readonly includes: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
880
|
+
}, undefined>, undefined>;
|
|
881
|
+
readonly maxLength: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
882
|
+
readonly min: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
883
|
+
readonly max: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
884
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["text", "password", "select", "number", "checkbox", "textarea", "checkbox-group", "path"], undefined>, undefined>;
|
|
885
|
+
}, undefined>, undefined>;
|
|
886
|
+
readonly defaultPipelineId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
887
|
+
}, undefined>, undefined>;
|
|
888
|
+
}, undefined>;
|
|
889
|
+
};
|
|
890
|
+
};
|
|
825
891
|
/** List the workspace's pipelines (id/name/steps + a headless-startable flag). */
|
|
826
892
|
export declare const listPublicPipelinesContract: {
|
|
827
893
|
readonly method: "get";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAiD3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAIF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAIF,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B;;;;;;;;;;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;;;;;;;;;;;;;;;;;CAItC,CAAA;AASF,2DAA2D;AAC3D,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI1C,CAAA;AAEF,mGAAmG;AACnG,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA;AAEF,mDAAmD;AACnD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5C,CAAA;AAIF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAIF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAaF,sFAAsF;AACtF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
|
@@ -2,6 +2,7 @@ import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
|
2
2
|
import { createHeadlessPublicApiKeySchema, createPublicApiKeySchema, createdPublicApiKeySchema, publicApiKeyListResultSchema, } from '../public-api-keys.js';
|
|
3
3
|
import { notificationSchema } from '../notifications.js';
|
|
4
4
|
import { createPublicJobSchema, createPublicTaskSchema, listPublicJobsQuerySchema, listPublicServiceTasksQuerySchema, publicJobAcceptedSchema, publicIdentitySchema, publicJobListSchema, publicJobSchema, publicNotificationListSchema, publicPipelineListSchema, publicRunSchema, publicServiceListSchema, publicTaskListSchema, publicTaskSchema, publicUsageSchema, startPublicTaskSchema, updatePublicTaskSchema, } from '../public-api.js';
|
|
5
|
+
import { publicTaskTypeListSchema } from '../public-task-types.js';
|
|
5
6
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
6
7
|
// ---------------------------------------------------------------------------
|
|
7
8
|
// Public-API route contracts. Two surfaces:
|
|
@@ -162,6 +163,16 @@ export const deletePublicTaskContract = defineApiContract({
|
|
|
162
163
|
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
163
164
|
});
|
|
164
165
|
// ---- pipeline discovery (key-authenticated) --------------------------------
|
|
166
|
+
/**
|
|
167
|
+
* List the task types this key's workspace may create, with the form each accepts. The discovery
|
|
168
|
+
* half of `createPublicTaskSchema.fields`: a caller reads the descriptors here and fills them
|
|
169
|
+
* there, rather than guessing at a shape the create call would then refuse.
|
|
170
|
+
*/
|
|
171
|
+
export const listPublicTaskTypesContract = defineApiContract({
|
|
172
|
+
method: 'get',
|
|
173
|
+
pathResolver: () => '/api/v1/task-types',
|
|
174
|
+
responsesByStatusCode: { 200: publicTaskTypeListSchema, ...errorResponses },
|
|
175
|
+
});
|
|
165
176
|
/** List the workspace's pipelines (id/name/steps + a headless-startable flag). */
|
|
166
177
|
export const listPublicPipelinesContract = defineApiContract({
|
|
167
178
|
method: 'get',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EACL,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AAE,CAAC,eAAe;IACnC,qBAAqB,EAAE,EAAE,GAAG,EAAE,iBAAiB,EAAE,GAAG,cAAc,EAAE;CACrE,CAAC,CAAA;AAEF,+EAA+E;AAC/E,+FAA+F;AAC/F,6FAA6F;AAC7F,4FAA4F;AAC5F,+FAA+F;AAC/F,EAAE;AACF,gGAAgG;AAChG,gGAAgG;AAChG,+FAA+F;AAC/F,mDAAmD;AAEnD,sFAAsF;AACtF,MAAM,CAAC,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACtD,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,cAAc;IAClC,qBAAqB,EAAE,EAAE,GAAG,EAAE,4BAA4B,EAAE,GAAG,cAAc,EAAE;CAChF,CAAC,CAAA;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACvD,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,cAAc;IAClC,iBAAiB,EAAE,gCAAgC;IACnD,qBAAqB,EAAE,EAAE,GAAG,EAAE,yBAAyB,EAAE,GAAG,cAAc,EAAE;CAC7E,CAAC,CAAA;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACvD,MAAM,EAAE,QAAQ;IAChB,uBAAuB,EAAE,WAAW;IACpC,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,gBAAgB,KAAK,EAAE;IACpD,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA"}
|
package/dist/routes/runners.d.ts
CHANGED
|
@@ -143,6 +143,7 @@ export declare const getRunnerPoolConnectionContract: {
|
|
|
143
143
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
144
144
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
145
145
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
146
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
146
147
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
147
148
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
148
149
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -326,6 +327,7 @@ export declare const getRunnerPoolConnectionContract: {
|
|
|
326
327
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
327
328
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
328
329
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
330
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
329
331
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
330
332
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
331
333
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -449,6 +451,7 @@ export declare const registerRunnerPoolContract: {
|
|
|
449
451
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
450
452
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
451
453
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
454
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
452
455
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
453
456
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
454
457
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -632,6 +635,7 @@ export declare const registerRunnerPoolContract: {
|
|
|
632
635
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
633
636
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
634
637
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
638
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
635
639
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
636
640
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
637
641
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -779,6 +783,7 @@ export declare const registerRunnerPoolContract: {
|
|
|
779
783
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
780
784
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
781
785
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
786
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
782
787
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
783
788
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
784
789
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -962,6 +967,7 @@ export declare const registerRunnerPoolContract: {
|
|
|
962
967
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
963
968
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
964
969
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
970
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
965
971
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
966
972
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
967
973
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1116,6 +1122,7 @@ export declare const updateRunnerPoolSecretsContract: {
|
|
|
1116
1122
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1117
1123
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1118
1124
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1125
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1119
1126
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1120
1127
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1121
1128
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1299,6 +1306,7 @@ export declare const updateRunnerPoolSecretsContract: {
|
|
|
1299
1306
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1300
1307
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1301
1308
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1309
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1302
1310
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1303
1311
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1304
1312
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1522,6 +1530,7 @@ export declare const testRunnerPoolConnectionContract: {
|
|
|
1522
1530
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1523
1531
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1524
1532
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1533
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1525
1534
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1526
1535
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1527
1536
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1705,6 +1714,7 @@ export declare const testRunnerPoolConnectionContract: {
|
|
|
1705
1714
|
readonly validationReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1706
1715
|
readonly reproductionReportPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1707
1716
|
readonly sliceReviewsPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1717
|
+
readonly dispatchCapabilitiesPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1708
1718
|
readonly errorPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1709
1719
|
readonly failureCausePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1710
1720
|
readonly detailPath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runners.d.ts","sourceRoot":"","sources":["../../src/routes/runners.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoB5B,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"runners.d.ts","sourceRoot":"","sources":["../../src/routes/runners.ts"],"names":[],"mappings":"AAAA,OA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+
import { ContractNoBody } from '@toad-contracts/valibot';
|
|
2
|
+
/**
|
|
3
|
+
* Every registered custom task type with its suppression state, in registration order.
|
|
4
|
+
*
|
|
5
|
+
* Its own read, not a slice of the board snapshot, and that is the whole point: a suppressed type
|
|
6
|
+
* is by construction absent from the snapshot's `customTaskTypes`, so nothing there could offer
|
|
7
|
+
* the way back. Reads pass the admin gate, so a member can see what the board offers.
|
|
8
|
+
*/
|
|
9
|
+
export declare const listTaskTypeSuppressionsContract: {
|
|
10
|
+
readonly method: "get";
|
|
11
|
+
readonly pathResolver: () => string;
|
|
12
|
+
readonly responsesByStatusCode: {
|
|
13
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
14
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
15
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
16
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
17
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
18
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
19
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
21
|
+
}, undefined>, undefined>, undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
}, undefined>;
|
|
24
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
25
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
26
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
27
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
28
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
29
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
30
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
31
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
32
|
+
}, undefined>, undefined>, undefined>;
|
|
33
|
+
}, undefined>;
|
|
34
|
+
}, undefined>;
|
|
35
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
36
|
+
readonly taskTypes: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
37
|
+
readonly taskType: import("valibot").ObjectSchema<{
|
|
38
|
+
readonly taskType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>;
|
|
39
|
+
readonly presentation: import("valibot").ObjectSchema<{
|
|
40
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
41
|
+
readonly icon: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
42
|
+
readonly color: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 40, undefined>]>;
|
|
43
|
+
readonly description: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
44
|
+
readonly category: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
45
|
+
}, undefined>;
|
|
46
|
+
readonly fields: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
47
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
48
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
49
|
+
readonly help: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
50
|
+
readonly placeholder: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
51
|
+
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
52
|
+
readonly options: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
53
|
+
readonly value: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
54
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
55
|
+
}, undefined>, undefined>, undefined>;
|
|
56
|
+
readonly default: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
57
|
+
readonly defaultValues: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
58
|
+
readonly showWhen: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
59
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
60
|
+
readonly equals: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>;
|
|
61
|
+
readonly includes: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
62
|
+
}, undefined>, undefined>;
|
|
63
|
+
readonly maxLength: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
64
|
+
readonly min: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
65
|
+
readonly max: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
66
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
67
|
+
}, undefined>, undefined>, undefined>;
|
|
68
|
+
readonly defaultPipelineId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
69
|
+
readonly defaultFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
70
|
+
readonly formPanel: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
71
|
+
}, undefined>;
|
|
72
|
+
readonly suppressed: import("valibot").BooleanSchema<undefined>;
|
|
73
|
+
}, undefined>, undefined>;
|
|
74
|
+
}, undefined>;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Hide one registered operation from this workspace. Idempotent; a `taskType` the deployment does
|
|
79
|
+
* not register is a 404, so a typo cannot leave a tombstone that hides nothing.
|
|
80
|
+
*/
|
|
81
|
+
export declare const suppressTaskTypeContract: {
|
|
82
|
+
readonly method: "put";
|
|
83
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
84
|
+
taskType: import("valibot").StringSchema<undefined>;
|
|
85
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
86
|
+
readonly pathResolver: ({ taskType }: {
|
|
87
|
+
taskType: string;
|
|
88
|
+
}) => string;
|
|
89
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
90
|
+
readonly responsesByStatusCode: {
|
|
91
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
92
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
93
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
94
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
95
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
96
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
97
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
98
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
99
|
+
}, undefined>, undefined>, undefined>;
|
|
100
|
+
}, undefined>;
|
|
101
|
+
}, undefined>;
|
|
102
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
103
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
104
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
105
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
106
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
107
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
108
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
109
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
110
|
+
}, undefined>, undefined>, undefined>;
|
|
111
|
+
}, undefined>;
|
|
112
|
+
}, undefined>;
|
|
113
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
114
|
+
readonly taskTypes: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
115
|
+
readonly taskType: import("valibot").ObjectSchema<{
|
|
116
|
+
readonly taskType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>;
|
|
117
|
+
readonly presentation: import("valibot").ObjectSchema<{
|
|
118
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
119
|
+
readonly icon: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
120
|
+
readonly color: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 40, undefined>]>;
|
|
121
|
+
readonly description: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
122
|
+
readonly category: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
123
|
+
}, undefined>;
|
|
124
|
+
readonly fields: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
125
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
126
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
127
|
+
readonly help: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
128
|
+
readonly placeholder: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
129
|
+
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
130
|
+
readonly options: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
131
|
+
readonly value: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
132
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
133
|
+
}, undefined>, undefined>, undefined>;
|
|
134
|
+
readonly default: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
135
|
+
readonly defaultValues: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
136
|
+
readonly showWhen: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
137
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
138
|
+
readonly equals: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>;
|
|
139
|
+
readonly includes: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
140
|
+
}, undefined>, undefined>;
|
|
141
|
+
readonly maxLength: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
142
|
+
readonly min: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
143
|
+
readonly max: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
144
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
145
|
+
}, undefined>, undefined>, undefined>;
|
|
146
|
+
readonly defaultPipelineId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
147
|
+
readonly defaultFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
148
|
+
readonly formPanel: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
149
|
+
}, undefined>;
|
|
150
|
+
readonly suppressed: import("valibot").BooleanSchema<undefined>;
|
|
151
|
+
}, undefined>, undefined>;
|
|
152
|
+
}, undefined>;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Offer one operation on this workspace again (delete its tombstone). Idempotent, and deliberately
|
|
157
|
+
* NOT gated on the type still being registered: a withdrawn registration must not leave a row only
|
|
158
|
+
* a database edit could clear.
|
|
159
|
+
*/
|
|
160
|
+
export declare const restoreTaskTypeContract: {
|
|
161
|
+
readonly method: "delete";
|
|
162
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
163
|
+
taskType: import("valibot").StringSchema<undefined>;
|
|
164
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
165
|
+
readonly pathResolver: ({ taskType }: {
|
|
166
|
+
taskType: string;
|
|
167
|
+
}) => string;
|
|
168
|
+
readonly responsesByStatusCode: {
|
|
169
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
170
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
171
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
172
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
173
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
174
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
175
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
176
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
177
|
+
}, undefined>, undefined>, undefined>;
|
|
178
|
+
}, undefined>;
|
|
179
|
+
}, undefined>;
|
|
180
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
181
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
182
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
183
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
184
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
185
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
186
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
187
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
188
|
+
}, undefined>, undefined>, undefined>;
|
|
189
|
+
}, undefined>;
|
|
190
|
+
}, undefined>;
|
|
191
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
192
|
+
readonly taskTypes: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
193
|
+
readonly taskType: import("valibot").ObjectSchema<{
|
|
194
|
+
readonly taskType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>;
|
|
195
|
+
readonly presentation: import("valibot").ObjectSchema<{
|
|
196
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
197
|
+
readonly icon: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
198
|
+
readonly color: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 40, undefined>]>;
|
|
199
|
+
readonly description: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
200
|
+
readonly category: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
201
|
+
}, undefined>;
|
|
202
|
+
readonly fields: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
203
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
204
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
205
|
+
readonly help: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
206
|
+
readonly placeholder: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
207
|
+
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
208
|
+
readonly options: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
209
|
+
readonly value: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
210
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
211
|
+
}, undefined>, undefined>, undefined>;
|
|
212
|
+
readonly default: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
213
|
+
readonly defaultValues: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
214
|
+
readonly showWhen: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
215
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
216
|
+
readonly equals: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>;
|
|
217
|
+
readonly includes: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
218
|
+
}, undefined>, undefined>;
|
|
219
|
+
readonly maxLength: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
220
|
+
readonly min: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
221
|
+
readonly max: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
222
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
223
|
+
}, undefined>, undefined>, undefined>;
|
|
224
|
+
readonly defaultPipelineId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
225
|
+
readonly defaultFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
226
|
+
readonly formPanel: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
227
|
+
}, undefined>;
|
|
228
|
+
readonly suppressed: import("valibot").BooleanSchema<undefined>;
|
|
229
|
+
}, undefined>, undefined>;
|
|
230
|
+
}, undefined>;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
//# sourceMappingURL=task-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-types.d.ts","sourceRoot":"","sources":["../../src/routes/task-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAwB3E;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI3C,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
|
+
import { taskTypeSuppressionListSchema } from '../task-types.js';
|
|
3
|
+
import { errorResponses, singleStringParam } from './_shared.js';
|
|
4
|
+
// ---------------------------------------------------------------------------
|
|
5
|
+
// Per-workspace operation-suppression route contracts (a workspace admin hiding the reusable
|
|
6
|
+
// operations that board does not run; see `backend/docs/reusable-operations.md`). Mounted under
|
|
7
|
+
// `/workspaces/:workspaceId`, so the paths here are relative to that prefix. See
|
|
8
|
+
// TaskTypeSuppressionController in @cat-factory/server.
|
|
9
|
+
//
|
|
10
|
+
// The shape is the foundational-service suppression pair: a LIST that serves both halves at once
|
|
11
|
+
// (what is registered and what is hidden), and a suppress/restore pair keyed by the task type id.
|
|
12
|
+
// ---------------------------------------------------------------------------
|
|
13
|
+
const taskTypeParams = singleStringParam('taskType');
|
|
14
|
+
// A path param is interpolated RAW, as every sibling contract in this directory does, and the one
|
|
15
|
+
// place that must not be clever about is a `pathResolver`. It serves TWO callers: a client
|
|
16
|
+
// building a URL, and route REGISTRATION, which calls it with the literal placeholder `:taskType`.
|
|
17
|
+
// Percent-encoding there yields `%3AtaskType`, so the route registers as a fixed path that no
|
|
18
|
+
// request can match and every write 404s while the paramless read beside it keeps working.
|
|
19
|
+
// Nothing is lost by dropping it: a task-type id is `isNamespacedId`-validated (`ns:kind`, lower
|
|
20
|
+
// kebab), and `:` is a legal path character.
|
|
21
|
+
/**
|
|
22
|
+
* Every registered custom task type with its suppression state, in registration order.
|
|
23
|
+
*
|
|
24
|
+
* Its own read, not a slice of the board snapshot, and that is the whole point: a suppressed type
|
|
25
|
+
* is by construction absent from the snapshot's `customTaskTypes`, so nothing there could offer
|
|
26
|
+
* the way back. Reads pass the admin gate, so a member can see what the board offers.
|
|
27
|
+
*/
|
|
28
|
+
export const listTaskTypeSuppressionsContract = defineApiContract({
|
|
29
|
+
method: 'get',
|
|
30
|
+
pathResolver: () => '/task-type-suppressions',
|
|
31
|
+
responsesByStatusCode: { 200: taskTypeSuppressionListSchema, ...errorResponses },
|
|
32
|
+
});
|
|
33
|
+
/**
|
|
34
|
+
* Hide one registered operation from this workspace. Idempotent; a `taskType` the deployment does
|
|
35
|
+
* not register is a 404, so a typo cannot leave a tombstone that hides nothing.
|
|
36
|
+
*/
|
|
37
|
+
export const suppressTaskTypeContract = defineApiContract({
|
|
38
|
+
method: 'put',
|
|
39
|
+
requestPathParamsSchema: taskTypeParams,
|
|
40
|
+
pathResolver: ({ taskType }) => `/task-type-suppressions/${taskType}`,
|
|
41
|
+
requestBodySchema: ContractNoBody,
|
|
42
|
+
responsesByStatusCode: { 200: taskTypeSuppressionListSchema, ...errorResponses },
|
|
43
|
+
});
|
|
44
|
+
/**
|
|
45
|
+
* Offer one operation on this workspace again (delete its tombstone). Idempotent, and deliberately
|
|
46
|
+
* NOT gated on the type still being registered: a withdrawn registration must not leave a row only
|
|
47
|
+
* a database edit could clear.
|
|
48
|
+
*/
|
|
49
|
+
export const restoreTaskTypeContract = defineApiContract({
|
|
50
|
+
method: 'delete',
|
|
51
|
+
requestPathParamsSchema: taskTypeParams,
|
|
52
|
+
pathResolver: ({ taskType }) => `/task-type-suppressions/${taskType}`,
|
|
53
|
+
responsesByStatusCode: { 200: taskTypeSuppressionListSchema, ...errorResponses },
|
|
54
|
+
});
|
|
55
|
+
//# sourceMappingURL=task-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-types.js","sourceRoot":"","sources":["../../src/routes/task-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,6FAA6F;AAC7F,gGAAgG;AAChG,iFAAiF;AACjF,wDAAwD;AACxD,EAAE;AACF,iGAAiG;AACjG,kGAAkG;AAClG,8EAA8E;AAE9E,MAAM,cAAc,GAAG,iBAAiB,CAAC,UAAU,CAAC,CAAA;AAEpD,kGAAkG;AAClG,2FAA2F;AAC3F,mGAAmG;AACnG,8FAA8F;AA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