@cat-factory/contracts 0.218.0 → 0.220.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/bug-hunt.d.ts +5 -5
- package/dist/entities.d.ts +1 -1
- package/dist/entities.js +1 -1
- package/dist/execution.d.ts +74 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +34 -0
- package/dist/execution.js.map +1 -1
- package/dist/gate-parking.d.ts +16 -0
- package/dist/gate-parking.d.ts.map +1 -0
- package/dist/gate-parking.js +38 -0
- package/dist/gate-parking.js.map +1 -0
- 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/localModels.d.ts +23 -0
- package/dist/localModels.d.ts.map +1 -1
- package/dist/localModels.js +29 -0
- package/dist/localModels.js.map +1 -1
- package/dist/public-api.d.ts +23 -15
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +18 -13
- package/dist/public-api.js.map +1 -1
- package/dist/recurring.d.ts +139 -4
- package/dist/recurring.d.ts.map +1 -1
- package/dist/recurring.js +47 -0
- package/dist/recurring.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +12 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +82 -0
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/auth.js +29 -0
- package/dist/routes/auth.js.map +1 -1
- package/dist/routes/bug-hunt.d.ts +17 -5
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +48 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +6 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +30 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/localModels.d.ts +3 -0
- package/dist/routes/localModels.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +18 -12
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/public-api.js +15 -9
- package/dist/routes/public-api.js.map +1 -1
- package/dist/routes/public-decisions.js +1 -1
- package/dist/routes/public-decisions.js.map +1 -1
- package/dist/routes/recurring.d.ts +18 -6
- package/dist/routes/recurring.d.ts.map +1 -1
- package/dist/routes/tasks.d.ts +14 -14
- package/dist/routes/visual-confirm.d.ts +18 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +18 -2
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +9 -1
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/tasks.d.ts +43 -12
- package/dist/tasks.d.ts.map +1 -1
- package/dist/tasks.js +40 -3
- package/dist/tasks.js.map +1 -1
- package/package.json +1 -1
|
@@ -120,7 +120,13 @@ export declare const revokePublicApiKeyContract: {
|
|
|
120
120
|
readonly 204: typeof ContractNoBody;
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
|
|
123
|
+
/**
|
|
124
|
+
* Start a headless job: run a public, inline pipeline against a supplied brief. Lives at
|
|
125
|
+
* `POST /api/v1/jobs` so the whole job lifecycle (create, list, get, cancel, stream) shares one
|
|
126
|
+
* resource root; the create used to sit apart at `POST /api/v1/initiatives`, which split the
|
|
127
|
+
* resource across two path roots for no reason a caller could see.
|
|
128
|
+
*/
|
|
129
|
+
export declare const createPublicJobContract: {
|
|
124
130
|
readonly method: "post";
|
|
125
131
|
readonly pathResolver: () => string;
|
|
126
132
|
readonly requestBodySchema: import("valibot").ObjectSchema<{
|
|
@@ -162,7 +168,7 @@ export declare const createInitiativeJobContract: {
|
|
|
162
168
|
};
|
|
163
169
|
};
|
|
164
170
|
/**
|
|
165
|
-
* List the workspace's headless
|
|
171
|
+
* List the workspace's headless jobs (newest first, keyset-paginated). Scoped to the
|
|
166
172
|
* runs THIS surface created — an internal-anchored run — exactly like the single-job read, so an
|
|
167
173
|
* external key can never enumerate the workspace's ordinary board runs.
|
|
168
174
|
*/
|
|
@@ -265,12 +271,12 @@ export declare const getPublicJobContract: {
|
|
|
265
271
|
};
|
|
266
272
|
};
|
|
267
273
|
/**
|
|
268
|
-
* Cancel a headless
|
|
274
|
+
* Cancel a headless job run. The escape hatch that makes admitting a PARKING pipeline
|
|
269
275
|
* safe (see `docs/initiatives/headless-clarification-loop.md`, D1): a parked run waits for a
|
|
270
|
-
* human indefinitely and holds one of the workspace's in-flight
|
|
276
|
+
* human indefinitely and holds one of the workspace's in-flight job slots, so a caller
|
|
271
277
|
* that decides not to answer must be able to free it. Idempotent — a run already terminal comes
|
|
272
278
|
* back as-is. Board tasks have had `POST /api/v1/tasks/:taskId/stop` all along; this is its
|
|
273
|
-
* counterpart on the
|
|
279
|
+
* counterpart on the jobs surface.
|
|
274
280
|
*/
|
|
275
281
|
export declare const cancelPublicJobContract: {
|
|
276
282
|
readonly method: "post";
|
|
@@ -403,7 +409,7 @@ export declare const createPublicTaskContract: {
|
|
|
403
409
|
readonly taskType: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, 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>;
|
|
404
410
|
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
405
411
|
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
406
|
-
readonly
|
|
412
|
+
readonly runId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
407
413
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
408
414
|
}, undefined>;
|
|
409
415
|
};
|
|
@@ -458,7 +464,7 @@ export declare const listPublicServiceTasksContract: {
|
|
|
458
464
|
readonly taskType: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, 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>;
|
|
459
465
|
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
460
466
|
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
461
|
-
readonly
|
|
467
|
+
readonly runId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
462
468
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
463
469
|
}, undefined>, undefined>;
|
|
464
470
|
readonly nextCursor: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -505,7 +511,7 @@ export declare const getPublicTaskContract: {
|
|
|
505
511
|
readonly taskType: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, 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>;
|
|
506
512
|
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
507
513
|
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
508
|
-
readonly
|
|
514
|
+
readonly runId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
509
515
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
510
516
|
}, undefined>;
|
|
511
517
|
};
|
|
@@ -553,7 +559,7 @@ export declare const startPublicTaskContract: {
|
|
|
553
559
|
readonly taskType: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, 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>;
|
|
554
560
|
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
555
561
|
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
556
|
-
readonly
|
|
562
|
+
readonly runId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
557
563
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
558
564
|
}, undefined>;
|
|
559
565
|
};
|
|
@@ -602,7 +608,7 @@ export declare const updatePublicTaskContract: {
|
|
|
602
608
|
readonly taskType: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, 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>;
|
|
603
609
|
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
604
610
|
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
605
|
-
readonly
|
|
611
|
+
readonly runId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
606
612
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
607
613
|
}, undefined>;
|
|
608
614
|
};
|
|
@@ -648,7 +654,7 @@ export declare const stopPublicTaskContract: {
|
|
|
648
654
|
readonly taskType: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, 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>;
|
|
649
655
|
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
650
656
|
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
651
|
-
readonly
|
|
657
|
+
readonly runId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
652
658
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
653
659
|
}, undefined>;
|
|
654
660
|
};
|
|
@@ -694,7 +700,7 @@ export declare const retryPublicTaskContract: {
|
|
|
694
700
|
readonly taskType: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, 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>;
|
|
695
701
|
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
696
702
|
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
697
|
-
readonly
|
|
703
|
+
readonly runId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
698
704
|
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
699
705
|
}, undefined>;
|
|
700
706
|
};
|
|
@@ -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;AA6C3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5C,CAAA;AAIF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import { createPublicApiKeySchema, createdPublicApiKeySchema, publicApiKeyListResultSchema, } from '../public-api-keys.js';
|
|
3
3
|
import { notificationSchema } from '../notifications.js';
|
|
4
|
-
import {
|
|
4
|
+
import { createPublicJobSchema, createPublicTaskSchema, listPublicJobsQuerySchema, listPublicServiceTasksQuerySchema, publicJobAcceptedSchema, publicJobListSchema, publicJobSchema, publicNotificationListSchema, publicPipelineListSchema, publicRunSchema, publicServiceListSchema, publicTaskListSchema, publicTaskSchema, publicUsageSchema, startPublicTaskSchema, updatePublicTaskSchema, } from '../public-api.js';
|
|
5
5
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
6
6
|
// ---------------------------------------------------------------------------
|
|
7
7
|
// Public-API route contracts. Two surfaces:
|
|
@@ -36,14 +36,20 @@ export const revokePublicApiKeyContract = defineApiContract({
|
|
|
36
36
|
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
37
37
|
});
|
|
38
38
|
// ---- the external `/api/v1` surface (absolute paths, key-authenticated) ----
|
|
39
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Start a headless job: run a public, inline pipeline against a supplied brief. Lives at
|
|
41
|
+
* `POST /api/v1/jobs` so the whole job lifecycle (create, list, get, cancel, stream) shares one
|
|
42
|
+
* resource root; the create used to sit apart at `POST /api/v1/initiatives`, which split the
|
|
43
|
+
* resource across two path roots for no reason a caller could see.
|
|
44
|
+
*/
|
|
45
|
+
export const createPublicJobContract = defineApiContract({
|
|
40
46
|
method: 'post',
|
|
41
|
-
pathResolver: () => '/api/v1/
|
|
42
|
-
requestBodySchema:
|
|
43
|
-
responsesByStatusCode: { 202:
|
|
47
|
+
pathResolver: () => '/api/v1/jobs',
|
|
48
|
+
requestBodySchema: createPublicJobSchema,
|
|
49
|
+
responsesByStatusCode: { 202: publicJobAcceptedSchema, ...errorResponses },
|
|
44
50
|
});
|
|
45
51
|
/**
|
|
46
|
-
* List the workspace's headless
|
|
52
|
+
* List the workspace's headless jobs (newest first, keyset-paginated). Scoped to the
|
|
47
53
|
* runs THIS surface created — an internal-anchored run — exactly like the single-job read, so an
|
|
48
54
|
* external key can never enumerate the workspace's ordinary board runs.
|
|
49
55
|
*/
|
|
@@ -60,12 +66,12 @@ export const getPublicJobContract = defineApiContract({
|
|
|
60
66
|
responsesByStatusCode: { 200: publicJobSchema, ...errorResponses },
|
|
61
67
|
});
|
|
62
68
|
/**
|
|
63
|
-
* Cancel a headless
|
|
69
|
+
* Cancel a headless job run. The escape hatch that makes admitting a PARKING pipeline
|
|
64
70
|
* safe (see `docs/initiatives/headless-clarification-loop.md`, D1): a parked run waits for a
|
|
65
|
-
* human indefinitely and holds one of the workspace's in-flight
|
|
71
|
+
* human indefinitely and holds one of the workspace's in-flight job slots, so a caller
|
|
66
72
|
* that decides not to answer must be able to free it. Idempotent — a run already terminal comes
|
|
67
73
|
* back as-is. Board tasks have had `POST /api/v1/tasks/:taskId/stop` all along; this is its
|
|
68
|
-
* counterpart on the
|
|
74
|
+
* counterpart on the jobs surface.
|
|
69
75
|
*/
|
|
70
76
|
export const cancelPublicJobContract = defineApiContract({
|
|
71
77
|
method: 'post',
|
|
@@ -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,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,uBAAuB,C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wF;AACxF,qFAAqF;AACrF,+EAA+E;AAE/E,2DAA2D;AAC3D,MAAM,CAAC,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC/D,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,uBAAuB;IAC3C,qBAAqB,EAAE,EAAE,GAAG,EAAE,4BAA4B,EAAE,GAAG,cAAc,EAAE;CAChF,CAAC,CAAA;AAEF,mGAAmG;AACnG,MAAM,CAAC,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC7D,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,QAAQ;IACjC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,yBAAyB,EAAE,MAAM;IAC3D,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,kBAAkB,EAAE,GAAG,cAAc,EAAE;CACtE,CAAC,CAAA;AAEF,mDAAmD;AACnD,MAAM,CAAC,MAAM,iCAAiC,GAAG,iBAAiB,CAAC;IACjE,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,QAAQ;IACjC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,yBAAyB,EAAE,UAAU;IAC/D,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,kBAAkB,EAAE,GAAG,cAAc,EAAE;CACtE,CAAC,CAAA;AAEF,+EAA+E;AAE/E;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACtD,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,eAAe;IACnC,qBAAqB,EAAE,EAAE,GAAG,EAAE,iBAAiB,EAAE,GAAG,cAAc,EAAE;CACrE,CAAC,CAAA"}
|
|
@@ -8,7 +8,7 @@ import { errorResponses, singleStringParam } from './_shared.js';
|
|
|
8
8
|
// the clarification loop it previously could not even start.
|
|
9
9
|
//
|
|
10
10
|
// Keyed by RUN id, not task id: the same surface then serves BOTH a headless initiative job
|
|
11
|
-
// (`POST /api/v1/
|
|
11
|
+
// (`POST /api/v1/jobs`, anchored on an internal block with no board task) and an ordinary
|
|
12
12
|
// board task run (`POST /api/v1/tasks/:taskId/start`). Every route is workspace-scoped by the
|
|
13
13
|
// caller's key.
|
|
14
14
|
//
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-decisions.js","sourceRoot":"","sources":["../../src/routes/public-decisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,8FAA8F;AAC9F,gGAAgG;AAChG,6DAA6D;AAC7D,EAAE;AACF,4FAA4F;AAC5F,
|
|
1
|
+
{"version":3,"file":"public-decisions.js","sourceRoot":"","sources":["../../src/routes/public-decisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,8FAA8F;AAC9F,gGAAgG;AAChG,6DAA6D;AAC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AAE,KAAK,EAAE,EAAE,EAAE,CAAC,gBAAgB,KAAK,0CAA0C;IAC5F,iBAAiB,EAAE,2BAA2B;IAC9C,qBAAqB,EAAE,EAAE,GAAG,EAAE,wBAAwB,EAAE,GAAG,cAAc,EAAE;CAC5E,CAAC,CAAA;AAEF,+EAA+E;AAE/E,mFAAmF;AACnF,MAAM,CAAC,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC3D,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,WAAW;IACpC,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,gBAAgB,KAAK,wBAAwB;IAC1E,iBAAiB,EAAE,sBAAsB;IACzC,qBAAqB,EAAE,EAAE,GAAG,EAAE,wBAAwB,EAAE,GAAG,cAAc,EAAE;CAC5E,CAAC,CAAA;AAEF,gFAAgF;AAEhF,yFAAyF;AACzF,MAAM,CAAC,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC7D,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,WAAW;IACpC,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,gBAAgB,KAAK,0BAA0B;IAC5E,iBAAiB,EAAE,wBAAwB;IAC3C,qBAAqB,EAAE,EAAE,GAAG,EAAE,wBAAwB,EAAE,GAAG,cAAc,EAAE;CAC5E,CAAC,CAAA"}
|
|
@@ -43,11 +43,12 @@ export declare const listSchedulesContract: {
|
|
|
43
43
|
}, undefined>;
|
|
44
44
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
45
45
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
46
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
46
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
47
47
|
readonly board: v.ObjectSchema<{
|
|
48
48
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
49
49
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
50
50
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
51
|
+
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
51
52
|
}, undefined>;
|
|
52
53
|
readonly predicates: v.ObjectSchema<{
|
|
53
54
|
readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -55,6 +56,7 @@ export declare const listSchedulesContract: {
|
|
|
55
56
|
readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
56
57
|
}, undefined>;
|
|
57
58
|
readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
59
|
+
readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
|
|
58
60
|
}, undefined>, undefined>;
|
|
59
61
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
60
62
|
readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -80,11 +82,12 @@ export declare const createScheduleContract: {
|
|
|
80
82
|
}, undefined>, undefined>;
|
|
81
83
|
readonly onDemand: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
82
84
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
83
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
85
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
84
86
|
readonly board: v.ObjectSchema<{
|
|
85
87
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
86
88
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
87
89
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
90
|
+
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
88
91
|
}, undefined>;
|
|
89
92
|
readonly predicates: v.ObjectSchema<{
|
|
90
93
|
readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -92,6 +95,7 @@ export declare const createScheduleContract: {
|
|
|
92
95
|
readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
93
96
|
}, undefined>;
|
|
94
97
|
readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
98
|
+
readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
|
|
95
99
|
}, undefined>, undefined>;
|
|
96
100
|
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
|
|
97
101
|
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
@@ -136,11 +140,12 @@ export declare const createScheduleContract: {
|
|
|
136
140
|
}, undefined>;
|
|
137
141
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
138
142
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
139
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
143
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
140
144
|
readonly board: v.ObjectSchema<{
|
|
141
145
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
142
146
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
143
147
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
148
|
+
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
144
149
|
}, undefined>;
|
|
145
150
|
readonly predicates: v.ObjectSchema<{
|
|
146
151
|
readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -148,6 +153,7 @@ export declare const createScheduleContract: {
|
|
|
148
153
|
readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
149
154
|
}, undefined>;
|
|
150
155
|
readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
156
|
+
readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
|
|
151
157
|
}, undefined>, undefined>;
|
|
152
158
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
153
159
|
readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -175,11 +181,12 @@ export declare const updateScheduleContract: {
|
|
|
175
181
|
readonly timezone: v.StringSchema<undefined>;
|
|
176
182
|
}, undefined>, undefined>;
|
|
177
183
|
readonly issueIntake: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
178
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
184
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
179
185
|
readonly board: v.ObjectSchema<{
|
|
180
186
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
181
187
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
182
188
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
189
|
+
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
183
190
|
}, undefined>;
|
|
184
191
|
readonly predicates: v.ObjectSchema<{
|
|
185
192
|
readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -187,6 +194,7 @@ export declare const updateScheduleContract: {
|
|
|
187
194
|
readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
188
195
|
}, undefined>;
|
|
189
196
|
readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
197
|
+
readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
|
|
190
198
|
}, undefined>, undefined>, undefined>;
|
|
191
199
|
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
192
200
|
}, undefined>;
|
|
@@ -230,11 +238,12 @@ export declare const updateScheduleContract: {
|
|
|
230
238
|
}, undefined>;
|
|
231
239
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
232
240
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
233
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
241
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
234
242
|
readonly board: v.ObjectSchema<{
|
|
235
243
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
236
244
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
237
245
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
246
|
+
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
238
247
|
}, undefined>;
|
|
239
248
|
readonly predicates: v.ObjectSchema<{
|
|
240
249
|
readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -242,6 +251,7 @@ export declare const updateScheduleContract: {
|
|
|
242
251
|
readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
243
252
|
}, undefined>;
|
|
244
253
|
readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
254
|
+
readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
|
|
245
255
|
}, undefined>, undefined>;
|
|
246
256
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
247
257
|
readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -375,11 +385,12 @@ export declare const runScheduleNowContract: {
|
|
|
375
385
|
}, undefined>;
|
|
376
386
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
377
387
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
378
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
388
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
379
389
|
readonly board: v.ObjectSchema<{
|
|
380
390
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
381
391
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
382
392
|
readonly githubRepo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
393
|
+
readonly boardId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
383
394
|
}, undefined>;
|
|
384
395
|
readonly predicates: v.ObjectSchema<{
|
|
385
396
|
readonly titleFragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -387,6 +398,7 @@ export declare const runScheduleNowContract: {
|
|
|
387
398
|
readonly issueType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
388
399
|
}, undefined>;
|
|
389
400
|
readonly inProgressLabel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
401
|
+
readonly dispatch: v.OptionalSchema<v.PicklistSchema<["queue", "per-ticket"], undefined>, undefined>;
|
|
390
402
|
}, undefined>, undefined>;
|
|
391
403
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
392
404
|
readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recurring.d.ts","sourceRoot":"","sources":["../../src/routes/recurring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"recurring.d.ts","sourceRoot":"","sources":["../../src/routes/recurring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA"}
|
package/dist/routes/tasks.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export declare const listTaskSourcesContract: {
|
|
|
28
28
|
}, undefined>;
|
|
29
29
|
readonly 200: v.ObjectSchema<{
|
|
30
30
|
readonly sources: v.ArraySchema<v.ObjectSchema<{
|
|
31
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
31
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
32
32
|
readonly label: v.StringSchema<undefined>;
|
|
33
33
|
readonly icon: v.StringSchema<undefined>;
|
|
34
34
|
readonly credentialFields: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -113,7 +113,7 @@ export declare const listTaskConnectionsContract: {
|
|
|
113
113
|
}, undefined>;
|
|
114
114
|
readonly 200: v.ObjectSchema<{
|
|
115
115
|
readonly connections: v.ArraySchema<v.ObjectSchema<{
|
|
116
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
116
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
117
117
|
readonly label: v.StringSchema<undefined>;
|
|
118
118
|
readonly connectedAt: v.NumberSchema<undefined>;
|
|
119
119
|
}, undefined>, undefined>;
|
|
@@ -155,7 +155,7 @@ export declare const connectTaskSourceContract: {
|
|
|
155
155
|
}, undefined>;
|
|
156
156
|
}, undefined>;
|
|
157
157
|
readonly 201: v.ObjectSchema<{
|
|
158
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
158
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
159
159
|
readonly label: v.StringSchema<undefined>;
|
|
160
160
|
readonly connectedAt: v.NumberSchema<undefined>;
|
|
161
161
|
}, undefined>;
|
|
@@ -228,7 +228,7 @@ export declare const diagnoseTaskSourceContract: {
|
|
|
228
228
|
}, undefined>;
|
|
229
229
|
}, undefined>;
|
|
230
230
|
readonly 200: v.ObjectSchema<{
|
|
231
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
231
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
232
232
|
readonly ok: v.BooleanSchema<undefined>;
|
|
233
233
|
readonly status: v.PicklistSchema<["ready", "not_installed", "not_connected", "auth_failed", "forbidden", "unreachable", "error"], undefined>;
|
|
234
234
|
readonly message: v.StringSchema<undefined>;
|
|
@@ -268,7 +268,7 @@ export declare const getTaskSourceWebhookContract: {
|
|
|
268
268
|
}, undefined>;
|
|
269
269
|
}, undefined>;
|
|
270
270
|
readonly 200: v.ObjectSchema<{
|
|
271
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
271
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
272
272
|
readonly supported: v.BooleanSchema<undefined>;
|
|
273
273
|
readonly configured: v.BooleanSchema<undefined>;
|
|
274
274
|
readonly deliveryPath: v.StringSchema<undefined>;
|
|
@@ -311,7 +311,7 @@ export declare const configureTaskSourceWebhookContract: {
|
|
|
311
311
|
}, undefined>;
|
|
312
312
|
}, undefined>;
|
|
313
313
|
readonly 201: v.ObjectSchema<{
|
|
314
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
314
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
315
315
|
readonly supported: v.BooleanSchema<undefined>;
|
|
316
316
|
readonly configured: v.BooleanSchema<undefined>;
|
|
317
317
|
readonly deliveryPath: v.StringSchema<undefined>;
|
|
@@ -355,7 +355,7 @@ export declare const updateTaskSourceWebhookContract: {
|
|
|
355
355
|
}, undefined>;
|
|
356
356
|
}, undefined>;
|
|
357
357
|
readonly 200: v.ObjectSchema<{
|
|
358
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
358
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
359
359
|
readonly supported: v.BooleanSchema<undefined>;
|
|
360
360
|
readonly configured: v.BooleanSchema<undefined>;
|
|
361
361
|
readonly deliveryPath: v.StringSchema<undefined>;
|
|
@@ -493,7 +493,7 @@ export declare const listTasksContract: {
|
|
|
493
493
|
}, undefined>;
|
|
494
494
|
}, undefined>;
|
|
495
495
|
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
496
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
496
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
497
497
|
readonly externalId: v.StringSchema<undefined>;
|
|
498
498
|
readonly title: v.StringSchema<undefined>;
|
|
499
499
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -549,7 +549,7 @@ export declare const importTaskContract: {
|
|
|
549
549
|
}, undefined>;
|
|
550
550
|
}, undefined>;
|
|
551
551
|
readonly 201: v.ObjectSchema<{
|
|
552
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
552
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
553
553
|
readonly externalId: v.StringSchema<undefined>;
|
|
554
554
|
readonly title: v.StringSchema<undefined>;
|
|
555
555
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -607,7 +607,7 @@ export declare const searchTasksContract: {
|
|
|
607
607
|
}, undefined>;
|
|
608
608
|
readonly 200: v.ObjectSchema<{
|
|
609
609
|
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
610
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
610
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
611
611
|
readonly externalId: v.StringSchema<undefined>;
|
|
612
612
|
readonly title: v.StringSchema<undefined>;
|
|
613
613
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -621,7 +621,7 @@ export declare const linkTaskContract: {
|
|
|
621
621
|
readonly method: "post";
|
|
622
622
|
readonly pathResolver: () => string;
|
|
623
623
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
624
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
624
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
625
625
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
626
626
|
readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
627
627
|
}, undefined>;
|
|
@@ -649,7 +649,7 @@ export declare const linkTaskContract: {
|
|
|
649
649
|
}, undefined>;
|
|
650
650
|
}, undefined>;
|
|
651
651
|
readonly 201: v.ObjectSchema<{
|
|
652
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
652
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
653
653
|
readonly externalId: v.StringSchema<undefined>;
|
|
654
654
|
readonly title: v.StringSchema<undefined>;
|
|
655
655
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -674,7 +674,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
674
674
|
readonly method: "post";
|
|
675
675
|
readonly pathResolver: () => string;
|
|
676
676
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
677
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
677
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
678
678
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
679
679
|
readonly containerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
680
680
|
}, undefined>;
|
|
@@ -1073,7 +1073,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
1073
1073
|
readonly accessDenied: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1074
1074
|
}, undefined>;
|
|
1075
1075
|
readonly task: v.ObjectSchema<{
|
|
1076
|
-
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
1076
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
1077
1077
|
readonly externalId: v.StringSchema<undefined>;
|
|
1078
1078
|
readonly title: v.StringSchema<undefined>;
|
|
1079
1079
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -709,6 +709,12 @@ export declare const approveVisualConfirmContract: {
|
|
|
709
709
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
710
710
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
711
711
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
712
|
+
readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
713
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
714
|
+
readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
715
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
716
|
+
readonly count: v.NumberSchema<undefined>;
|
|
717
|
+
}, undefined>, undefined>, undefined>;
|
|
712
718
|
readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
713
719
|
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
714
720
|
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1739,6 +1745,12 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1739
1745
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1740
1746
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1741
1747
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1748
|
+
readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1749
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1750
|
+
readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1751
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
1752
|
+
readonly count: v.NumberSchema<undefined>;
|
|
1753
|
+
}, undefined>, undefined>, undefined>;
|
|
1742
1754
|
readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1743
1755
|
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1744
1756
|
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -2767,6 +2779,12 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2767
2779
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2768
2780
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2769
2781
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2782
|
+
readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2783
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2784
|
+
readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2785
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
2786
|
+
readonly count: v.NumberSchema<undefined>;
|
|
2787
|
+
}, undefined>, undefined>, undefined>;
|
|
2770
2788
|
readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2771
2789
|
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2772
2790
|
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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