@cat-factory/contracts 0.264.0 → 0.265.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/public-api.d.ts +2 -2
- package/dist/recurring.d.ts +4 -4
- package/dist/routes/bug-hunt.d.ts +5 -5
- package/dist/routes/public-api.d.ts +1 -1
- package/dist/routes/recurring.d.ts +6 -6
- package/dist/routes/tasks.d.ts +16 -14
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +2 -2
- package/dist/snapshot.d.ts +1 -1
- package/dist/tasks.d.ts +39 -14
- package/dist/tasks.d.ts.map +1 -1
- package/dist/tasks.js +29 -3
- package/dist/tasks.js.map +1 -1
- package/package.json +1 -1
package/dist/bug-hunt.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const trackerBoardSchema: v.ObjectSchema<{
|
|
|
12
12
|
}, undefined>;
|
|
13
13
|
export type TrackerBoard = v.InferOutput<typeof trackerBoardSchema>;
|
|
14
14
|
export declare const trackerBoardsViewSchema: v.ObjectSchema<{
|
|
15
|
-
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>;
|
|
15
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
16
16
|
readonly boards: v.ArraySchema<v.ObjectSchema<{
|
|
17
17
|
readonly id: v.StringSchema<undefined>;
|
|
18
18
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -51,7 +51,7 @@ export type BugHuntAnalysis = v.InferOutput<typeof bugHuntAnalysisSchema>;
|
|
|
51
51
|
* report to judge impact and effort.
|
|
52
52
|
*/
|
|
53
53
|
export declare const bugCandidateSchema: v.ObjectSchema<{
|
|
54
|
-
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>;
|
|
54
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
55
55
|
/** The source's canonical key for the issue (a valid import ref). */
|
|
56
56
|
readonly externalId: v.StringSchema<undefined>;
|
|
57
57
|
readonly title: v.StringSchema<undefined>;
|
|
@@ -78,7 +78,7 @@ export type BugCandidate = v.InferOutput<typeof bugCandidateSchema>;
|
|
|
78
78
|
* assessment must read as "not assessed", never as a zero score.
|
|
79
79
|
*/
|
|
80
80
|
export declare const bugHuntCandidateSchema: v.ObjectSchema<{
|
|
81
|
-
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>;
|
|
81
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
82
82
|
/** The source's canonical key for the issue (a valid import ref). */
|
|
83
83
|
readonly externalId: v.StringSchema<undefined>;
|
|
84
84
|
readonly title: v.StringSchema<undefined>;
|
|
@@ -115,7 +115,7 @@ export type BugHuntCandidate = v.InferOutput<typeof bugHuntCandidateSchema>;
|
|
|
115
115
|
export declare const bugHuntAnalysisStatusSchema: v.PicklistSchema<["ranked", "unavailable", "failed", "over_budget", "empty"], undefined>;
|
|
116
116
|
export type BugHuntAnalysisStatus = v.InferOutput<typeof bugHuntAnalysisStatusSchema>;
|
|
117
117
|
export declare const bugHuntResultSchema: v.ObjectSchema<{
|
|
118
|
-
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>;
|
|
118
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
119
119
|
/** The board the hunt ran against, echoed back so a stale response is recognisable. */
|
|
120
120
|
readonly board: v.StringSchema<undefined>;
|
|
121
121
|
readonly analysisStatus: v.PicklistSchema<["ranked", "unavailable", "failed", "over_budget", "empty"], undefined>;
|
|
@@ -123,7 +123,7 @@ export declare const bugHuntResultSchema: v.ObjectSchema<{
|
|
|
123
123
|
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
124
124
|
/** Candidates, best-scoring first; unassessed ones sort last. */
|
|
125
125
|
readonly candidates: v.ArraySchema<v.ObjectSchema<{
|
|
126
|
-
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>;
|
|
126
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
127
127
|
/** The source's canonical key for the issue (a valid import ref). */
|
|
128
128
|
readonly externalId: v.StringSchema<undefined>;
|
|
129
129
|
readonly title: v.StringSchema<undefined>;
|
package/dist/public-api.d.ts
CHANGED
|
@@ -220,7 +220,7 @@ export type ListPublicServiceTasksQuery = v.InferOutput<typeof listPublicService
|
|
|
220
220
|
*/
|
|
221
221
|
export declare const publicTaskTicketSchema: v.ObjectSchema<{
|
|
222
222
|
/** Which tracker the ticket lives on: a source this workspace has connected and enabled. */
|
|
223
|
-
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>;
|
|
223
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
224
224
|
/** The ticket's canonical key OR its full issue URL. */
|
|
225
225
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
226
226
|
}, undefined>;
|
|
@@ -316,7 +316,7 @@ export declare const createPublicTaskSchema: v.ObjectSchema<{
|
|
|
316
316
|
*/
|
|
317
317
|
readonly ticket: v.OptionalSchema<v.ObjectSchema<{
|
|
318
318
|
/** Which tracker the ticket lives on: a source this workspace has connected and enabled. */
|
|
319
|
-
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>;
|
|
319
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
320
320
|
/** The ticket's canonical key OR its full issue URL. */
|
|
321
321
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
322
322
|
}, undefined>, undefined>;
|
package/dist/recurring.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export type ScheduleTemplate = v.InferOutput<typeof scheduleTemplateSchema>;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const issueIntakeConfigSchema: v.ObjectSchema<{
|
|
21
21
|
/** Which connected task source the intake searches. */
|
|
22
|
-
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>;
|
|
22
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
23
23
|
/** The vendor's "board"/project scope; exactly the field for `source` is meaningful. */
|
|
24
24
|
readonly board: v.ObjectSchema<{
|
|
25
25
|
/** Jira project key, e.g. `PROJ`. */
|
|
@@ -151,7 +151,7 @@ export declare const pipelineScheduleSchema: v.ObjectSchema<{
|
|
|
151
151
|
/** Issue-intake scope + predicates, for a pipeline with a `bug-intake` step. */
|
|
152
152
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
153
153
|
/** Which connected task source the intake searches. */
|
|
154
|
-
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>;
|
|
154
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
155
155
|
/** The vendor's "board"/project scope; exactly the field for `source` is meaningful. */
|
|
156
156
|
readonly board: v.ObjectSchema<{
|
|
157
157
|
/** Jira project key, e.g. `PROJ`. */
|
|
@@ -254,7 +254,7 @@ export declare const createScheduleSchema: v.ObjectSchema<{
|
|
|
254
254
|
/** Issue-intake scope + predicates (required by Phase E's validation for a `bug-intake` pipeline). */
|
|
255
255
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
256
256
|
/** Which connected task source the intake searches. */
|
|
257
|
-
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>;
|
|
257
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
258
258
|
/** The vendor's "board"/project scope; exactly the field for `source` is meaningful. */
|
|
259
259
|
readonly board: v.ObjectSchema<{
|
|
260
260
|
/** Jira project key, e.g. `PROJ`. */
|
|
@@ -336,7 +336,7 @@ export declare const updateScheduleSchema: v.ObjectSchema<{
|
|
|
336
336
|
/** New intake config, or null to clear it. Omitted ⇒ unchanged. */
|
|
337
337
|
readonly issueIntake: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
338
338
|
/** Which connected task source the intake searches. */
|
|
339
|
-
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>;
|
|
339
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
340
340
|
/** The vendor's "board"/project scope; exactly the field for `source` is meaningful. */
|
|
341
341
|
readonly board: v.ObjectSchema<{
|
|
342
342
|
/** Jira project key, e.g. `PROJ`. */
|
|
@@ -371,7 +371,7 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
|
|
|
371
371
|
readonly accessDenied: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
372
372
|
}, undefined>;
|
|
373
373
|
readonly task: v.ObjectSchema<{
|
|
374
|
-
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>;
|
|
374
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
375
375
|
readonly externalId: v.StringSchema<undefined>;
|
|
376
376
|
readonly title: v.StringSchema<undefined>;
|
|
377
377
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -1489,7 +1489,7 @@ export declare const listTrackerBoardsContract: {
|
|
|
1489
1489
|
}, undefined>;
|
|
1490
1490
|
}, undefined>;
|
|
1491
1491
|
readonly 200: v.ObjectSchema<{
|
|
1492
|
-
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>;
|
|
1492
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
1493
1493
|
readonly boards: v.ArraySchema<v.ObjectSchema<{
|
|
1494
1494
|
readonly id: v.StringSchema<undefined>;
|
|
1495
1495
|
readonly name: v.StringSchema<undefined>;
|
|
@@ -1536,12 +1536,12 @@ export declare const runBugHuntContract: {
|
|
|
1536
1536
|
}, undefined>;
|
|
1537
1537
|
}, undefined>;
|
|
1538
1538
|
readonly 200: v.ObjectSchema<{
|
|
1539
|
-
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>;
|
|
1539
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
1540
1540
|
readonly board: v.StringSchema<undefined>;
|
|
1541
1541
|
readonly analysisStatus: v.PicklistSchema<["ranked", "unavailable", "failed", "over_budget", "empty"], undefined>;
|
|
1542
1542
|
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1543
1543
|
readonly candidates: v.ArraySchema<v.ObjectSchema<{
|
|
1544
|
-
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>;
|
|
1544
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
1545
1545
|
readonly externalId: v.StringSchema<undefined>;
|
|
1546
1546
|
readonly title: v.StringSchema<undefined>;
|
|
1547
1547
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -1974,7 +1974,7 @@ export declare const adoptBugHuntCandidateContract: {
|
|
|
1974
1974
|
readonly accessDenied: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1975
1975
|
}, undefined>;
|
|
1976
1976
|
readonly task: v.ObjectSchema<{
|
|
1977
|
-
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>;
|
|
1977
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
1978
1978
|
readonly externalId: v.StringSchema<undefined>;
|
|
1979
1979
|
readonly title: v.StringSchema<undefined>;
|
|
1980
1980
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -390,7 +390,7 @@ export declare const createPublicTaskContract: {
|
|
|
390
390
|
readonly description: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
391
391
|
readonly taskType: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], 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>, undefined>;
|
|
392
392
|
readonly ticket: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
393
|
-
readonly source: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["jira", "github", "linear"], 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>;
|
|
393
|
+
readonly source: import("valibot").UnionSchema<[import("valibot").PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], 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>;
|
|
394
394
|
readonly ref: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
395
395
|
}, undefined>, undefined>;
|
|
396
396
|
readonly documents: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").VariantSchema<"kind", [import("valibot").ObjectSchema<{
|
|
@@ -43,7 +43,7 @@ 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.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>;
|
|
46
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], 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>;
|
|
@@ -82,7 +82,7 @@ export declare const createScheduleContract: {
|
|
|
82
82
|
}, undefined>, undefined>;
|
|
83
83
|
readonly onDemand: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
84
84
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
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>;
|
|
85
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
86
86
|
readonly board: v.ObjectSchema<{
|
|
87
87
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
88
88
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -140,7 +140,7 @@ export declare const createScheduleContract: {
|
|
|
140
140
|
}, undefined>;
|
|
141
141
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
142
142
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
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>;
|
|
143
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
144
144
|
readonly board: v.ObjectSchema<{
|
|
145
145
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
146
146
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -181,7 +181,7 @@ export declare const updateScheduleContract: {
|
|
|
181
181
|
readonly timezone: v.StringSchema<undefined>;
|
|
182
182
|
}, undefined>, undefined>;
|
|
183
183
|
readonly issueIntake: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
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>;
|
|
184
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
185
185
|
readonly board: v.ObjectSchema<{
|
|
186
186
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
187
187
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -238,7 +238,7 @@ export declare const updateScheduleContract: {
|
|
|
238
238
|
}, undefined>;
|
|
239
239
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
240
240
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
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>;
|
|
241
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
242
242
|
readonly board: v.ObjectSchema<{
|
|
243
243
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
244
244
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -385,7 +385,7 @@ export declare const runScheduleNowContract: {
|
|
|
385
385
|
}, undefined>;
|
|
386
386
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
387
387
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
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>;
|
|
388
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
389
389
|
readonly board: v.ObjectSchema<{
|
|
390
390
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
391
391
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
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.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>;
|
|
31
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], 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<{
|
|
@@ -44,6 +44,8 @@ export declare const listTaskSourcesContract: {
|
|
|
44
44
|
readonly oauth: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
45
45
|
readonly available: v.BooleanSchema<undefined>;
|
|
46
46
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
47
|
+
readonly ridesVcsProvider: v.NullableSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
|
|
48
|
+
readonly supportsIntake: v.BooleanSchema<undefined>;
|
|
47
49
|
}, undefined>, undefined>;
|
|
48
50
|
}, undefined>;
|
|
49
51
|
};
|
|
@@ -113,7 +115,7 @@ export declare const listTaskConnectionsContract: {
|
|
|
113
115
|
}, undefined>;
|
|
114
116
|
readonly 200: v.ObjectSchema<{
|
|
115
117
|
readonly connections: v.ArraySchema<v.ObjectSchema<{
|
|
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>;
|
|
118
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
117
119
|
readonly label: v.StringSchema<undefined>;
|
|
118
120
|
readonly connectedAt: v.NumberSchema<undefined>;
|
|
119
121
|
}, undefined>, undefined>;
|
|
@@ -155,7 +157,7 @@ export declare const connectTaskSourceContract: {
|
|
|
155
157
|
}, undefined>;
|
|
156
158
|
}, undefined>;
|
|
157
159
|
readonly 201: v.ObjectSchema<{
|
|
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>;
|
|
160
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
159
161
|
readonly label: v.StringSchema<undefined>;
|
|
160
162
|
readonly connectedAt: v.NumberSchema<undefined>;
|
|
161
163
|
}, undefined>;
|
|
@@ -228,7 +230,7 @@ export declare const diagnoseTaskSourceContract: {
|
|
|
228
230
|
}, undefined>;
|
|
229
231
|
}, undefined>;
|
|
230
232
|
readonly 200: v.ObjectSchema<{
|
|
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>;
|
|
233
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
232
234
|
readonly ok: v.BooleanSchema<undefined>;
|
|
233
235
|
readonly status: v.PicklistSchema<["ready", "not_installed", "not_connected", "auth_failed", "forbidden", "unreachable", "error"], undefined>;
|
|
234
236
|
readonly message: v.StringSchema<undefined>;
|
|
@@ -268,7 +270,7 @@ export declare const getTaskSourceWebhookContract: {
|
|
|
268
270
|
}, undefined>;
|
|
269
271
|
}, undefined>;
|
|
270
272
|
readonly 200: v.ObjectSchema<{
|
|
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>;
|
|
273
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
272
274
|
readonly supported: v.BooleanSchema<undefined>;
|
|
273
275
|
readonly configured: v.BooleanSchema<undefined>;
|
|
274
276
|
readonly deliveryPath: v.StringSchema<undefined>;
|
|
@@ -311,7 +313,7 @@ export declare const configureTaskSourceWebhookContract: {
|
|
|
311
313
|
}, undefined>;
|
|
312
314
|
}, undefined>;
|
|
313
315
|
readonly 201: v.ObjectSchema<{
|
|
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>;
|
|
316
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
315
317
|
readonly supported: v.BooleanSchema<undefined>;
|
|
316
318
|
readonly configured: v.BooleanSchema<undefined>;
|
|
317
319
|
readonly deliveryPath: v.StringSchema<undefined>;
|
|
@@ -355,7 +357,7 @@ export declare const updateTaskSourceWebhookContract: {
|
|
|
355
357
|
}, undefined>;
|
|
356
358
|
}, undefined>;
|
|
357
359
|
readonly 200: v.ObjectSchema<{
|
|
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>;
|
|
360
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
359
361
|
readonly supported: v.BooleanSchema<undefined>;
|
|
360
362
|
readonly configured: v.BooleanSchema<undefined>;
|
|
361
363
|
readonly deliveryPath: v.StringSchema<undefined>;
|
|
@@ -493,7 +495,7 @@ export declare const listTasksContract: {
|
|
|
493
495
|
}, undefined>;
|
|
494
496
|
}, undefined>;
|
|
495
497
|
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
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>;
|
|
498
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
497
499
|
readonly externalId: v.StringSchema<undefined>;
|
|
498
500
|
readonly title: v.StringSchema<undefined>;
|
|
499
501
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -549,7 +551,7 @@ export declare const importTaskContract: {
|
|
|
549
551
|
}, undefined>;
|
|
550
552
|
}, undefined>;
|
|
551
553
|
readonly 201: v.ObjectSchema<{
|
|
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>;
|
|
554
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
553
555
|
readonly externalId: v.StringSchema<undefined>;
|
|
554
556
|
readonly title: v.StringSchema<undefined>;
|
|
555
557
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -607,7 +609,7 @@ export declare const searchTasksContract: {
|
|
|
607
609
|
}, undefined>;
|
|
608
610
|
readonly 200: v.ObjectSchema<{
|
|
609
611
|
readonly results: v.ArraySchema<v.ObjectSchema<{
|
|
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>;
|
|
612
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
611
613
|
readonly externalId: v.StringSchema<undefined>;
|
|
612
614
|
readonly title: v.StringSchema<undefined>;
|
|
613
615
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -621,7 +623,7 @@ export declare const linkTaskContract: {
|
|
|
621
623
|
readonly method: "post";
|
|
622
624
|
readonly pathResolver: () => string;
|
|
623
625
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
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>;
|
|
626
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
625
627
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
626
628
|
readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
627
629
|
}, undefined>;
|
|
@@ -649,7 +651,7 @@ export declare const linkTaskContract: {
|
|
|
649
651
|
}, undefined>;
|
|
650
652
|
}, undefined>;
|
|
651
653
|
readonly 201: v.ObjectSchema<{
|
|
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>;
|
|
654
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
653
655
|
readonly externalId: v.StringSchema<undefined>;
|
|
654
656
|
readonly title: v.StringSchema<undefined>;
|
|
655
657
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -674,7 +676,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
674
676
|
readonly method: "post";
|
|
675
677
|
readonly pathResolver: () => string;
|
|
676
678
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
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>;
|
|
679
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
678
680
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
679
681
|
readonly containerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
680
682
|
}, undefined>;
|
|
@@ -1073,7 +1075,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
1073
1075
|
readonly accessDenied: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1074
1076
|
}, undefined>;
|
|
1075
1077
|
readonly task: v.ObjectSchema<{
|
|
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>;
|
|
1078
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
1077
1079
|
readonly externalId: v.StringSchema<undefined>;
|
|
1078
1080
|
readonly title: v.StringSchema<undefined>;
|
|
1079
1081
|
readonly url: v.StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA2D5B,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA2D5B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMrC,CAAA;AAKF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM7C,CAAA;AAIF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM1C,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
|
|
@@ -2618,7 +2618,7 @@ export declare const createWorkspaceContract: {
|
|
|
2618
2618
|
}, undefined>;
|
|
2619
2619
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
2620
2620
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
2621
|
-
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>;
|
|
2621
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
2622
2622
|
readonly board: v.ObjectSchema<{
|
|
2623
2623
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2624
2624
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
@@ -6030,7 +6030,7 @@ export declare const getWorkspaceContract: {
|
|
|
6030
6030
|
}, undefined>;
|
|
6031
6031
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
6032
6032
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
6033
|
-
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>;
|
|
6033
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
6034
6034
|
readonly board: v.ObjectSchema<{
|
|
6035
6035
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6036
6036
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -2658,7 +2658,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2658
2658
|
}, undefined>;
|
|
2659
2659
|
readonly onDemand: v.BooleanSchema<undefined>;
|
|
2660
2660
|
readonly issueIntake: v.OptionalSchema<v.ObjectSchema<{
|
|
2661
|
-
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>;
|
|
2661
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
2662
2662
|
readonly board: v.ObjectSchema<{
|
|
2663
2663
|
readonly jiraProjectKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2664
2664
|
readonly linearTeamId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
package/dist/tasks.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
/** The task sources this build ships. A deployment registers its own beside them (see below). */
|
|
3
|
-
export declare const BUILTIN_TASK_SOURCE_KINDS: readonly ['jira', 'github', 'linear'];
|
|
3
|
+
export declare const BUILTIN_TASK_SOURCE_KINDS: readonly ['jira', 'github', 'linear', 'gitlab'];
|
|
4
4
|
/**
|
|
5
5
|
* A BUILT-IN task source OR a CONSUMER-namespaced one ({@link namespacedIdSchema},
|
|
6
6
|
* `<ns>:<name>`, e.g. `acme:servicenow`) a deployment registers in code on its app-owned
|
|
@@ -21,7 +21,7 @@ export declare const BUILTIN_TASK_SOURCE_KINDS: readonly ['jira', 'github', 'lin
|
|
|
21
21
|
* is then resolved against the registry at the boundary, so an id no deployment registered is
|
|
22
22
|
* refused by the thing that actually knows.
|
|
23
23
|
*/
|
|
24
|
-
export declare const taskSourceKindSchema: 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>;
|
|
24
|
+
export declare const taskSourceKindSchema: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
25
25
|
export type TaskSourceKind = v.InferOutput<typeof taskSourceKindSchema>;
|
|
26
26
|
/**
|
|
27
27
|
* Type guard for the source GRAMMAR, so a caller with a raw path segment (the webhook receiver's
|
|
@@ -35,7 +35,7 @@ export type TaskSourceKind = v.InferOutput<typeof taskSourceKindSchema>;
|
|
|
35
35
|
export declare function isTaskSourceKind(value: unknown): value is TaskSourceKind;
|
|
36
36
|
/** The webhook state of one task-source connection, safe to read back at any time. */
|
|
37
37
|
export declare const taskSourceWebhookSchema: v.ObjectSchema<{
|
|
38
|
-
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>;
|
|
38
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
39
39
|
/**
|
|
40
40
|
* Whether this source can receive webhooks at all on this deployment (its provider ships a
|
|
41
41
|
* webhook adapter). `false` ⇒ the delivery path 404s and minting is refused.
|
|
@@ -62,7 +62,7 @@ export type TaskSourceWebhook = v.InferOutput<typeof taskSourceWebhookSchema>;
|
|
|
62
62
|
* reason: a secret a surface will hand out again is a secret an operator never has to rotate.
|
|
63
63
|
*/
|
|
64
64
|
export declare const taskSourceWebhookSecretSchema: v.ObjectSchema<{
|
|
65
|
-
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>;
|
|
65
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
66
66
|
/**
|
|
67
67
|
* Whether this source can receive webhooks at all on this deployment (its provider ships a
|
|
68
68
|
* webhook adapter). `false` ⇒ the delivery path 404s and minting is refused.
|
|
@@ -111,7 +111,7 @@ export type UpdateTaskSourceWebhookInput = v.InferOutput<typeof updateTaskSource
|
|
|
111
111
|
* box without hard-coding any provider specifics.
|
|
112
112
|
*/
|
|
113
113
|
export declare const taskSourceDescriptorSchema: v.ObjectSchema<{
|
|
114
|
-
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>;
|
|
114
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
115
115
|
/** Display name, e.g. `Jira`. */
|
|
116
116
|
readonly label: v.StringSchema<undefined>;
|
|
117
117
|
/** Lucide icon name for the source. */
|
|
@@ -155,12 +155,13 @@ export type LinearTeam = v.InferOutput<typeof linearTeamSchema>;
|
|
|
155
155
|
* A source's descriptor plus the workspace's live state for it: whether it is
|
|
156
156
|
* usable right now (`available`) and whether the workspace offers it (`enabled`,
|
|
157
157
|
* the per-workspace toggle, default true). A credentialed source (Jira) is
|
|
158
|
-
* `available` once connected; GitHub Issues
|
|
159
|
-
*
|
|
158
|
+
* `available` once connected; a VCS-backed one (GitHub Issues, GitLab Issues) is
|
|
159
|
+
* `available` once the workspace's VCS connection is that source's provider (it
|
|
160
|
+
* rides that connection, so there is nothing to connect on the source itself).
|
|
160
161
|
* `available && enabled` is what makes a source offered for import.
|
|
161
162
|
*/
|
|
162
163
|
export declare const taskSourceStateSchema: v.ObjectSchema<{
|
|
163
|
-
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>;
|
|
164
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
164
165
|
/** Display name, e.g. `Jira`. */
|
|
165
166
|
readonly label: v.StringSchema<undefined>;
|
|
166
167
|
/** Lucide icon name for the source. */
|
|
@@ -193,6 +194,30 @@ export declare const taskSourceStateSchema: v.ObjectSchema<{
|
|
|
193
194
|
readonly oauth: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
194
195
|
readonly available: v.BooleanSchema<undefined>;
|
|
195
196
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* The VCS provider whose workspace connection this source authenticates through, or `null`
|
|
199
|
+
* for a source that carries its own credentials.
|
|
200
|
+
*
|
|
201
|
+
* On the wire because the REMEDY for an unavailable source is not derivable from
|
|
202
|
+
* `available: false` plus an empty `credentialFields`: "connect Jira" opens this source's own
|
|
203
|
+
* credential form, while "the GitLab connection is missing" points at an entirely different
|
|
204
|
+
* settings surface, and pointing at the wrong one is a worse failure than saying nothing. It
|
|
205
|
+
* is DERIVED from the registered provider for the same reason `supportsIntake` is: a
|
|
206
|
+
* descriptor field declaring it would drift from the availability rule it is supposed to
|
|
207
|
+
* explain.
|
|
208
|
+
*/
|
|
209
|
+
readonly ridesVcsProvider: v.NullableSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
|
|
210
|
+
/**
|
|
211
|
+
* Whether this source can back a recurring `bug-intake` schedule, i.e. whether its provider
|
|
212
|
+
* implements the predicate search intake runs. DERIVED from the provider rather than declared
|
|
213
|
+
* on the descriptor beside it, because the answer is a fact about the registered
|
|
214
|
+
* implementation and a declared one drifts from it silently.
|
|
215
|
+
*
|
|
216
|
+
* It is on the STATE rather than the descriptor for the same reason `available` is: a source
|
|
217
|
+
* the schedule form offers but cannot search is not a source with a missing field, it is a
|
|
218
|
+
* schedule that can never fire, and the form has to know which before it renders a picker.
|
|
219
|
+
*/
|
|
220
|
+
readonly supportsIntake: v.BooleanSchema<undefined>;
|
|
196
221
|
}, undefined>;
|
|
197
222
|
export type TaskSourceState = v.InferOutput<typeof taskSourceStateSchema>;
|
|
198
223
|
/**
|
|
@@ -213,7 +238,7 @@ export declare const taskSourceDiagnosticStatusSchema: v.PicklistSchema<["ready"
|
|
|
213
238
|
export type TaskSourceDiagnosticStatus = v.InferOutput<typeof taskSourceDiagnosticStatusSchema>;
|
|
214
239
|
/** A source's live setup-check result: a status + a human-readable, actionable message. */
|
|
215
240
|
export declare const taskSourceDiagnosticSchema: v.ObjectSchema<{
|
|
216
|
-
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>;
|
|
241
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
217
242
|
/** Convenience: `status === 'ready'`. */
|
|
218
243
|
readonly ok: v.BooleanSchema<undefined>;
|
|
219
244
|
readonly status: v.PicklistSchema<["ready", "not_installed", "not_connected", "auth_failed", "forbidden", "unreachable", "error"], undefined>;
|
|
@@ -225,7 +250,7 @@ export declare const taskSourceDiagnosticSchema: v.ObjectSchema<{
|
|
|
225
250
|
export type TaskSourceDiagnostic = v.InferOutput<typeof taskSourceDiagnosticSchema>;
|
|
226
251
|
/** A workspace's connection to a task source, as exposed to clients (never the credentials). */
|
|
227
252
|
export declare const taskConnectionSchema: v.ObjectSchema<{
|
|
228
|
-
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>;
|
|
253
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
229
254
|
/** A human-friendly label for what we're connected to (site URL). */
|
|
230
255
|
readonly label: v.StringSchema<undefined>;
|
|
231
256
|
/** When the connection was established (epoch ms). */
|
|
@@ -257,7 +282,7 @@ export declare const taskDependencyLinkSchema: v.ObjectSchema<{
|
|
|
257
282
|
export type TaskDependencyLink = v.InferOutput<typeof taskDependencyLinkSchema>;
|
|
258
283
|
/** An issue imported from a source, projected locally as a structured record. */
|
|
259
284
|
export declare const sourceTaskSchema: v.ObjectSchema<{
|
|
260
|
-
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>;
|
|
285
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
261
286
|
/** The source's canonical key for the issue (e.g. a Jira issue key `PROJ-123`). */
|
|
262
287
|
readonly externalId: v.StringSchema<undefined>;
|
|
263
288
|
/** Issue summary / title. */
|
|
@@ -300,7 +325,7 @@ export type SourceTask = v.InferOutput<typeof sourceTaskSchema>;
|
|
|
300
325
|
* projected locally, so it carries no `linkedBlockId`/`syncedAt`.
|
|
301
326
|
*/
|
|
302
327
|
export declare const taskSearchResultSchema: v.ObjectSchema<{
|
|
303
|
-
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>;
|
|
328
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
304
329
|
/** The source's canonical key for the issue (re-usable as an import ref). */
|
|
305
330
|
readonly externalId: v.StringSchema<undefined>;
|
|
306
331
|
readonly title: v.StringSchema<undefined>;
|
|
@@ -361,7 +386,7 @@ export declare const searchTasksSchema: v.ObjectSchema<{
|
|
|
361
386
|
export type SearchTasksInput = v.InferOutput<typeof searchTasksSchema>;
|
|
362
387
|
/** Attach an imported issue to a task as extra agent context. */
|
|
363
388
|
export declare const linkTaskSchema: v.ObjectSchema<{
|
|
364
|
-
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>;
|
|
389
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
365
390
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
366
391
|
readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
367
392
|
}, undefined>;
|
|
@@ -373,7 +398,7 @@ export type LinkTaskInput = v.InferOutput<typeof linkTaskSchema>;
|
|
|
373
398
|
* title/description are seeded from the issue.
|
|
374
399
|
*/
|
|
375
400
|
export declare const createTaskFromIssueSchema: v.ObjectSchema<{
|
|
376
|
-
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>;
|
|
401
|
+
readonly source: v.UnionSchema<[v.PicklistSchema<readonly ["jira", "github", "linear", "gitlab"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>;
|
|
377
402
|
readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
378
403
|
/** The frame or module the new task is created in. */
|
|
379
404
|
readonly containerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
package/dist/tasks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../src/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../src/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoB5B,iGAAiG;AACjG,eAAO,MAAM,yBAAyB,YAAI,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAA;AAExF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,oBAAoB,sQAG/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAExE;AAQD,sFAAsF;AACtF,eAAO,MAAM,uBAAuB;;IAElC;;;OAGG;;IAEH,uFAAuF;;IAEvF;;;OAGG;;IAEH;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;GAIG;AACH,eAAO,MAAM,6BAA6B;;IA1BxC;;;OAGG;;IAEH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;;GAMG;AACH,eAAO,MAAM,eAAe;;;IAG1B,2FAA2F;;;;;aAE3F,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,CAAA"}
|
package/dist/tasks.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { credentialFieldSchema } from './documents.js';
|
|
3
3
|
import { namespacedIdSchema } from './primitives.js';
|
|
4
|
+
import { vcsProviderSchema } from './routes/auth.js';
|
|
4
5
|
// ---------------------------------------------------------------------------
|
|
5
6
|
// Task-source integration wire contracts. A workspace can connect to one or
|
|
6
7
|
// more external task/issue trackers (Jira, …), import individual issues
|
|
@@ -16,7 +17,7 @@ import { namespacedIdSchema } from './primitives.js';
|
|
|
16
17
|
// it lives in the core ports / D1 layer.
|
|
17
18
|
// ---------------------------------------------------------------------------
|
|
18
19
|
/** The task sources this build ships. A deployment registers its own beside them (see below). */
|
|
19
|
-
export const BUILTIN_TASK_SOURCE_KINDS = ['jira', 'github', 'linear'];
|
|
20
|
+
export const BUILTIN_TASK_SOURCE_KINDS = ['jira', 'github', 'linear', 'gitlab'];
|
|
20
21
|
/**
|
|
21
22
|
* A BUILT-IN task source OR a CONSUMER-namespaced one ({@link namespacedIdSchema},
|
|
22
23
|
* `<ns>:<name>`, e.g. `acme:servicenow`) a deployment registers in code on its app-owned
|
|
@@ -153,14 +154,39 @@ export const linearTeamSchema = v.object({
|
|
|
153
154
|
* A source's descriptor plus the workspace's live state for it: whether it is
|
|
154
155
|
* usable right now (`available`) and whether the workspace offers it (`enabled`,
|
|
155
156
|
* the per-workspace toggle, default true). A credentialed source (Jira) is
|
|
156
|
-
* `available` once connected; GitHub Issues
|
|
157
|
-
*
|
|
157
|
+
* `available` once connected; a VCS-backed one (GitHub Issues, GitLab Issues) is
|
|
158
|
+
* `available` once the workspace's VCS connection is that source's provider (it
|
|
159
|
+
* rides that connection, so there is nothing to connect on the source itself).
|
|
158
160
|
* `available && enabled` is what makes a source offered for import.
|
|
159
161
|
*/
|
|
160
162
|
export const taskSourceStateSchema = v.object({
|
|
161
163
|
...taskSourceDescriptorSchema.entries,
|
|
162
164
|
available: v.boolean(),
|
|
163
165
|
enabled: v.boolean(),
|
|
166
|
+
/**
|
|
167
|
+
* The VCS provider whose workspace connection this source authenticates through, or `null`
|
|
168
|
+
* for a source that carries its own credentials.
|
|
169
|
+
*
|
|
170
|
+
* On the wire because the REMEDY for an unavailable source is not derivable from
|
|
171
|
+
* `available: false` plus an empty `credentialFields`: "connect Jira" opens this source's own
|
|
172
|
+
* credential form, while "the GitLab connection is missing" points at an entirely different
|
|
173
|
+
* settings surface, and pointing at the wrong one is a worse failure than saying nothing. It
|
|
174
|
+
* is DERIVED from the registered provider for the same reason `supportsIntake` is: a
|
|
175
|
+
* descriptor field declaring it would drift from the availability rule it is supposed to
|
|
176
|
+
* explain.
|
|
177
|
+
*/
|
|
178
|
+
ridesVcsProvider: v.nullable(vcsProviderSchema),
|
|
179
|
+
/**
|
|
180
|
+
* Whether this source can back a recurring `bug-intake` schedule, i.e. whether its provider
|
|
181
|
+
* implements the predicate search intake runs. DERIVED from the provider rather than declared
|
|
182
|
+
* on the descriptor beside it, because the answer is a fact about the registered
|
|
183
|
+
* implementation and a declared one drifts from it silently.
|
|
184
|
+
*
|
|
185
|
+
* It is on the STATE rather than the descriptor for the same reason `available` is: a source
|
|
186
|
+
* the schedule form offers but cannot search is not a source with a missing field, it is a
|
|
187
|
+
* schedule that can never fire, and the form has to know which before it renders a picker.
|
|
188
|
+
*/
|
|
189
|
+
supportsIntake: v.boolean(),
|
|
164
190
|
});
|
|
165
191
|
// ---- Live setup diagnostics ------------------------------------------------
|
|
166
192
|
/**
|
package/dist/tasks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../src/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,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