@cat-factory/contracts 0.251.0 → 0.253.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/documents.d.ts +32 -1
- package/dist/documents.d.ts.map +1 -1
- package/dist/documents.js +25 -1
- package/dist/documents.js.map +1 -1
- package/dist/form-fields.d.ts +26 -0
- package/dist/form-fields.d.ts.map +1 -1
- package/dist/form-fields.js +56 -0
- package/dist/form-fields.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/initiative-preset.d.ts +10 -0
- package/dist/initiative-preset.d.ts.map +1 -1
- package/dist/initiative-preset.js +13 -1
- package/dist/initiative-preset.js.map +1 -1
- package/dist/public-api.d.ts +21 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +22 -0
- package/dist/public-api.js.map +1 -1
- package/dist/public-task-types.d.ts +182 -0
- package/dist/public-task-types.d.ts.map +1 -0
- package/dist/public-task-types.js +191 -0
- package/dist/public-task-types.js.map +1 -0
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +1 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/public-api.d.ts +66 -0
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/public-api.js +11 -0
- package/dist/routes/public-api.js.map +1 -1
- package/dist/routes/task-types.d.ts +233 -0
- package/dist/routes/task-types.d.ts.map +1 -0
- package/dist/routes/task-types.js +55 -0
- package/dist/routes/task-types.js.map +1 -0
- package/dist/routes/workspaces.d.ts +4 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +34 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/snapshot.js +34 -2
- package/dist/snapshot.js.map +1 -1
- package/dist/task-types.d.ts +161 -0
- package/dist/task-types.d.ts.map +1 -1
- package/dist/task-types.js +16 -0
- package/dist/task-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { ContractNoBody } from '@toad-contracts/valibot';
|
|
2
|
+
/**
|
|
3
|
+
* Every registered custom task type with its suppression state, in registration order.
|
|
4
|
+
*
|
|
5
|
+
* Its own read, not a slice of the board snapshot, and that is the whole point: a suppressed type
|
|
6
|
+
* is by construction absent from the snapshot's `customTaskTypes`, so nothing there could offer
|
|
7
|
+
* the way back. Reads pass the admin gate, so a member can see what the board offers.
|
|
8
|
+
*/
|
|
9
|
+
export declare const listTaskTypeSuppressionsContract: {
|
|
10
|
+
readonly method: "get";
|
|
11
|
+
readonly pathResolver: () => string;
|
|
12
|
+
readonly responsesByStatusCode: {
|
|
13
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
14
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
15
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
16
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
17
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
18
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
19
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
21
|
+
}, undefined>, undefined>, undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
}, undefined>;
|
|
24
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
25
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
26
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
27
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
28
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
29
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
30
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
31
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
32
|
+
}, undefined>, undefined>, undefined>;
|
|
33
|
+
}, undefined>;
|
|
34
|
+
}, undefined>;
|
|
35
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
36
|
+
readonly taskTypes: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
37
|
+
readonly taskType: import("valibot").ObjectSchema<{
|
|
38
|
+
readonly taskType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>;
|
|
39
|
+
readonly presentation: import("valibot").ObjectSchema<{
|
|
40
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
41
|
+
readonly icon: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
42
|
+
readonly color: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 40, undefined>]>;
|
|
43
|
+
readonly description: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
44
|
+
readonly category: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
45
|
+
}, undefined>;
|
|
46
|
+
readonly fields: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
47
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
48
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
49
|
+
readonly help: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
50
|
+
readonly placeholder: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
51
|
+
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
52
|
+
readonly options: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
53
|
+
readonly value: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
54
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
55
|
+
}, undefined>, undefined>, undefined>;
|
|
56
|
+
readonly default: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
57
|
+
readonly defaultValues: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
58
|
+
readonly showWhen: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
59
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
60
|
+
readonly equals: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>;
|
|
61
|
+
readonly includes: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
62
|
+
}, undefined>, undefined>;
|
|
63
|
+
readonly maxLength: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
64
|
+
readonly min: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
65
|
+
readonly max: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
66
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
67
|
+
}, undefined>, undefined>, undefined>;
|
|
68
|
+
readonly defaultPipelineId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
69
|
+
readonly defaultFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
70
|
+
readonly formPanel: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
71
|
+
}, undefined>;
|
|
72
|
+
readonly suppressed: import("valibot").BooleanSchema<undefined>;
|
|
73
|
+
}, undefined>, undefined>;
|
|
74
|
+
}, undefined>;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Hide one registered operation from this workspace. Idempotent; a `taskType` the deployment does
|
|
79
|
+
* not register is a 404, so a typo cannot leave a tombstone that hides nothing.
|
|
80
|
+
*/
|
|
81
|
+
export declare const suppressTaskTypeContract: {
|
|
82
|
+
readonly method: "put";
|
|
83
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
84
|
+
taskType: import("valibot").StringSchema<undefined>;
|
|
85
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
86
|
+
readonly pathResolver: ({ taskType }: {
|
|
87
|
+
taskType: string;
|
|
88
|
+
}) => string;
|
|
89
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
90
|
+
readonly responsesByStatusCode: {
|
|
91
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
92
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
93
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
94
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
95
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
96
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
97
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
98
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
99
|
+
}, undefined>, undefined>, undefined>;
|
|
100
|
+
}, undefined>;
|
|
101
|
+
}, undefined>;
|
|
102
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
103
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
104
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
105
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
106
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
107
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
108
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
109
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
110
|
+
}, undefined>, undefined>, undefined>;
|
|
111
|
+
}, undefined>;
|
|
112
|
+
}, undefined>;
|
|
113
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
114
|
+
readonly taskTypes: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
115
|
+
readonly taskType: import("valibot").ObjectSchema<{
|
|
116
|
+
readonly taskType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>;
|
|
117
|
+
readonly presentation: import("valibot").ObjectSchema<{
|
|
118
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
119
|
+
readonly icon: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
120
|
+
readonly color: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 40, undefined>]>;
|
|
121
|
+
readonly description: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
122
|
+
readonly category: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
123
|
+
}, undefined>;
|
|
124
|
+
readonly fields: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
125
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
126
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
127
|
+
readonly help: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
128
|
+
readonly placeholder: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
129
|
+
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
130
|
+
readonly options: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
131
|
+
readonly value: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
132
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
133
|
+
}, undefined>, undefined>, undefined>;
|
|
134
|
+
readonly default: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
135
|
+
readonly defaultValues: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
136
|
+
readonly showWhen: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
137
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
138
|
+
readonly equals: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>;
|
|
139
|
+
readonly includes: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
140
|
+
}, undefined>, undefined>;
|
|
141
|
+
readonly maxLength: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
142
|
+
readonly min: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
143
|
+
readonly max: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
144
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
145
|
+
}, undefined>, undefined>, undefined>;
|
|
146
|
+
readonly defaultPipelineId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
147
|
+
readonly defaultFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
148
|
+
readonly formPanel: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
149
|
+
}, undefined>;
|
|
150
|
+
readonly suppressed: import("valibot").BooleanSchema<undefined>;
|
|
151
|
+
}, undefined>, undefined>;
|
|
152
|
+
}, undefined>;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Offer one operation on this workspace again (delete its tombstone). Idempotent, and deliberately
|
|
157
|
+
* NOT gated on the type still being registered: a withdrawn registration must not leave a row only
|
|
158
|
+
* a database edit could clear.
|
|
159
|
+
*/
|
|
160
|
+
export declare const restoreTaskTypeContract: {
|
|
161
|
+
readonly method: "delete";
|
|
162
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
163
|
+
taskType: import("valibot").StringSchema<undefined>;
|
|
164
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
165
|
+
readonly pathResolver: ({ taskType }: {
|
|
166
|
+
taskType: string;
|
|
167
|
+
}) => string;
|
|
168
|
+
readonly responsesByStatusCode: {
|
|
169
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
170
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
171
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
172
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
173
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
174
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
175
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
176
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
177
|
+
}, undefined>, undefined>, undefined>;
|
|
178
|
+
}, undefined>;
|
|
179
|
+
}, undefined>;
|
|
180
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
181
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
182
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
183
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
184
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
185
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
186
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
187
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
188
|
+
}, undefined>, undefined>, undefined>;
|
|
189
|
+
}, undefined>;
|
|
190
|
+
}, undefined>;
|
|
191
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
192
|
+
readonly taskTypes: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
193
|
+
readonly taskType: import("valibot").ObjectSchema<{
|
|
194
|
+
readonly taskType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>;
|
|
195
|
+
readonly presentation: import("valibot").ObjectSchema<{
|
|
196
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
197
|
+
readonly icon: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
198
|
+
readonly color: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 40, undefined>]>;
|
|
199
|
+
readonly description: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 500, undefined>]>;
|
|
200
|
+
readonly category: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
201
|
+
}, undefined>;
|
|
202
|
+
readonly fields: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
203
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 80, undefined>]>;
|
|
204
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
205
|
+
readonly help: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
206
|
+
readonly placeholder: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
207
|
+
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
208
|
+
readonly options: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
209
|
+
readonly value: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
210
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
211
|
+
}, undefined>, undefined>, undefined>;
|
|
212
|
+
readonly default: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
213
|
+
readonly defaultValues: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>, import("valibot").MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
214
|
+
readonly showWhen: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
215
|
+
readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
216
|
+
readonly equals: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").BooleanSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>;
|
|
217
|
+
readonly includes: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
218
|
+
}, undefined>, undefined>;
|
|
219
|
+
readonly maxLength: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
220
|
+
readonly min: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
221
|
+
readonly max: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
222
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
223
|
+
}, undefined>, undefined>, undefined>;
|
|
224
|
+
readonly defaultPipelineId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
225
|
+
readonly defaultFragmentIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
226
|
+
readonly formPanel: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
227
|
+
}, undefined>;
|
|
228
|
+
readonly suppressed: import("valibot").BooleanSchema<undefined>;
|
|
229
|
+
}, undefined>, undefined>;
|
|
230
|
+
}, undefined>;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
//# sourceMappingURL=task-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-types.d.ts","sourceRoot":"","sources":["../../src/routes/task-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAwB3E;;;;;;GAMG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI3C,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
|
+
import { taskTypeSuppressionListSchema } from '../task-types.js';
|
|
3
|
+
import { errorResponses, singleStringParam } from './_shared.js';
|
|
4
|
+
// ---------------------------------------------------------------------------
|
|
5
|
+
// Per-workspace operation-suppression route contracts (a workspace admin hiding the reusable
|
|
6
|
+
// operations that board does not run; see `backend/docs/reusable-operations.md`). Mounted under
|
|
7
|
+
// `/workspaces/:workspaceId`, so the paths here are relative to that prefix. See
|
|
8
|
+
// TaskTypeSuppressionController in @cat-factory/server.
|
|
9
|
+
//
|
|
10
|
+
// The shape is the foundational-service suppression pair: a LIST that serves both halves at once
|
|
11
|
+
// (what is registered and what is hidden), and a suppress/restore pair keyed by the task type id.
|
|
12
|
+
// ---------------------------------------------------------------------------
|
|
13
|
+
const taskTypeParams = singleStringParam('taskType');
|
|
14
|
+
// A path param is interpolated RAW, as every sibling contract in this directory does, and the one
|
|
15
|
+
// place that must not be clever about is a `pathResolver`. It serves TWO callers: a client
|
|
16
|
+
// building a URL, and route REGISTRATION, which calls it with the literal placeholder `:taskType`.
|
|
17
|
+
// Percent-encoding there yields `%3AtaskType`, so the route registers as a fixed path that no
|
|
18
|
+
// request can match and every write 404s while the paramless read beside it keeps working.
|
|
19
|
+
// Nothing is lost by dropping it: a task-type id is `isNamespacedId`-validated (`ns:kind`, lower
|
|
20
|
+
// kebab), and `:` is a legal path character.
|
|
21
|
+
/**
|
|
22
|
+
* Every registered custom task type with its suppression state, in registration order.
|
|
23
|
+
*
|
|
24
|
+
* Its own read, not a slice of the board snapshot, and that is the whole point: a suppressed type
|
|
25
|
+
* is by construction absent from the snapshot's `customTaskTypes`, so nothing there could offer
|
|
26
|
+
* the way back. Reads pass the admin gate, so a member can see what the board offers.
|
|
27
|
+
*/
|
|
28
|
+
export const listTaskTypeSuppressionsContract = defineApiContract({
|
|
29
|
+
method: 'get',
|
|
30
|
+
pathResolver: () => '/task-type-suppressions',
|
|
31
|
+
responsesByStatusCode: { 200: taskTypeSuppressionListSchema, ...errorResponses },
|
|
32
|
+
});
|
|
33
|
+
/**
|
|
34
|
+
* Hide one registered operation from this workspace. Idempotent; a `taskType` the deployment does
|
|
35
|
+
* not register is a 404, so a typo cannot leave a tombstone that hides nothing.
|
|
36
|
+
*/
|
|
37
|
+
export const suppressTaskTypeContract = defineApiContract({
|
|
38
|
+
method: 'put',
|
|
39
|
+
requestPathParamsSchema: taskTypeParams,
|
|
40
|
+
pathResolver: ({ taskType }) => `/task-type-suppressions/${taskType}`,
|
|
41
|
+
requestBodySchema: ContractNoBody,
|
|
42
|
+
responsesByStatusCode: { 200: taskTypeSuppressionListSchema, ...errorResponses },
|
|
43
|
+
});
|
|
44
|
+
/**
|
|
45
|
+
* Offer one operation on this workspace again (delete its tombstone). Idempotent, and deliberately
|
|
46
|
+
* NOT gated on the type still being registered: a withdrawn registration must not leave a row only
|
|
47
|
+
* a database edit could clear.
|
|
48
|
+
*/
|
|
49
|
+
export const restoreTaskTypeContract = defineApiContract({
|
|
50
|
+
method: 'delete',
|
|
51
|
+
requestPathParamsSchema: taskTypeParams,
|
|
52
|
+
pathResolver: ({ taskType }) => `/task-type-suppressions/${taskType}`,
|
|
53
|
+
responsesByStatusCode: { 200: taskTypeSuppressionListSchema, ...errorResponses },
|
|
54
|
+
});
|
|
55
|
+
//# sourceMappingURL=task-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-types.js","sourceRoot":"","sources":["../../src/routes/task-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,6FAA6F;AAC7F,gGAAgG;AAChG,iFAAiF;AACjF,wDAAwD;AACxD,EAAE;AACF,iGAAiG;AACjG,kGAAkG;AAClG,8EAA8E;AAE9E,MAAM,cAAc,GAAG,iBAAiB,CAAC,UAAU,CAAC,CAAA;AAEpD,kGAAkG;AAClG,2FAA2F;AAC3F,mGAAmG;AACnG,8FAA8F;AAC9F,2FAA2F;AAC3F,iGAAiG;AACjG,6CAA6C;AAE7C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAChE,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,yBAAyB;IAC7C,qBAAqB,EAAE,EAAE,GAAG,EAAE,6BAA6B,EAAE,GAAG,cAAc,EAAE;CACjF,CAAC,CAAA;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACxD,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,cAAc;IACvC,YAAY,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,2BAA2B,QAAQ,EAAE;IACrE,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,6BAA6B,EAAE,GAAG,cAAc,EAAE;CACjF,CAAC,CAAA;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACvD,MAAM,EAAE,QAAQ;IAChB,uBAAuB,EAAE,cAAc;IACvC,YAAY,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,2BAA2B,QAAQ,EAAE;IACrE,qBAAqB,EAAE,EAAE,GAAG,EAAE,6BAA6B,EAAE,GAAG,cAAc,EAAE;CACjF,CAAC,CAAA"}
|
|
@@ -3106,6 +3106,7 @@ export declare const createWorkspaceContract: {
|
|
|
3106
3106
|
readonly defaultFragmentIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
3107
3107
|
readonly formPanel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
3108
3108
|
}, undefined>, undefined>, undefined>;
|
|
3109
|
+
readonly suppressedTaskTypes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3109
3110
|
readonly gateConfigForms: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3110
3111
|
readonly kind: v.StringSchema<undefined>;
|
|
3111
3112
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -3150,6 +3151,7 @@ export declare const createWorkspaceContract: {
|
|
|
3150
3151
|
readonly engines: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "cloudflare", "remote-custom", "none"], undefined>, undefined>, undefined>;
|
|
3151
3152
|
}, undefined>, undefined>, undefined>;
|
|
3152
3153
|
readonly pipelineCatalogVersions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3154
|
+
readonly pipelineCatalogNames: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
3153
3155
|
readonly retiredPipelines: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3154
3156
|
readonly id: v.StringSchema<undefined>;
|
|
3155
3157
|
readonly replacedBy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -6491,6 +6493,7 @@ export declare const getWorkspaceContract: {
|
|
|
6491
6493
|
readonly defaultFragmentIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
6492
6494
|
readonly formPanel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
6493
6495
|
}, undefined>, undefined>, undefined>;
|
|
6496
|
+
readonly suppressedTaskTypes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6494
6497
|
readonly gateConfigForms: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6495
6498
|
readonly kind: v.StringSchema<undefined>;
|
|
6496
6499
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -6535,6 +6538,7 @@ export declare const getWorkspaceContract: {
|
|
|
6535
6538
|
readonly engines: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "cloudflare", "remote-custom", "none"], undefined>, undefined>, undefined>;
|
|
6536
6539
|
}, undefined>, undefined>, undefined>;
|
|
6537
6540
|
readonly pipelineCatalogVersions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
|
|
6541
|
+
readonly pipelineCatalogNames: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
6538
6542
|
readonly retiredPipelines: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6539
6543
|
readonly id: v.StringSchema<undefined>;
|
|
6540
6544
|
readonly replacedBy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -3151,8 +3151,11 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3151
3151
|
* deployment mixed in via its app-owned `TaskTypeRegistry`. The SPA merges these into its
|
|
3152
3152
|
* task-type catalog so a proprietary work item becomes a first-class create-task choice +
|
|
3153
3153
|
* card badge instead of the generic fallback — symmetric with {@link customAgentKinds}.
|
|
3154
|
-
*
|
|
3155
|
-
*
|
|
3154
|
+
* Attached by the facade, so optional on the wire and omitted when nothing is offered.
|
|
3155
|
+
*
|
|
3156
|
+
* What this board OFFERS, not what the deployment registers: an operation a workspace admin
|
|
3157
|
+
* hid is absent (`backend/docs/reusable-operations.md`). Its complement is
|
|
3158
|
+
* {@link suppressedTaskTypes}.
|
|
3156
3159
|
*/
|
|
3157
3160
|
readonly customTaskTypes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3158
3161
|
readonly taskType: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>;
|
|
@@ -3189,6 +3192,19 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3189
3192
|
readonly defaultFragmentIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
3190
3193
|
readonly formPanel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
3191
3194
|
}, undefined>, undefined>, undefined>;
|
|
3195
|
+
/**
|
|
3196
|
+
* The registered task-type ids this board HIDES: the complement of {@link customTaskTypes},
|
|
3197
|
+
* exactly as `retiredPipelines` is the complement of `pipelineCatalogVersions`, and present for
|
|
3198
|
+
* the same reason. A suppressed type is BY CONSTRUCTION absent from the offered catalog, so a
|
|
3199
|
+
* SPA reading only that catalog cannot tell "this deployment registers no operations" from
|
|
3200
|
+
* "this board hid the ones it has", and the second is the state whose settings screen is the
|
|
3201
|
+
* only way back. Hiding the last one would otherwise remove the surface that un-hides it.
|
|
3202
|
+
*
|
|
3203
|
+
* Ids only. The descriptors live in the registry, which the settings screen reads through its
|
|
3204
|
+
* own endpoint; copying presentation here would be a second projection to keep in step for a
|
|
3205
|
+
* list nothing renders as a task type.
|
|
3206
|
+
*/
|
|
3207
|
+
readonly suppressedTaskTypes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3192
3208
|
/**
|
|
3193
3209
|
* The per-step parameters each registered GATE declares (`GateRegistry.register(kind, factory,
|
|
3194
3210
|
* { configFields })`), so the pipeline builder renders a gate's own config form through the
|
|
@@ -3291,6 +3307,22 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3291
3307
|
* runtimes), but optional on the wire for forward-compatibility.
|
|
3292
3308
|
*/
|
|
3293
3309
|
readonly pipelineCatalogVersions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3310
|
+
/**
|
|
3311
|
+
* The catalog's own NAME for each id in `pipelineCatalogVersions`: the companion map, built from
|
|
3312
|
+
* the same `seedPipelines()` read.
|
|
3313
|
+
*
|
|
3314
|
+
* It exists for the one moment a catalog id has no stored row to read a name off: the "new
|
|
3315
|
+
* built-ins available" advisory. Without it the SPA humanised the id, which is passable for a
|
|
3316
|
+
* shipped built-in (`pl_review` → "review") and wrong for the case that made this reachable, a
|
|
3317
|
+
* deployment's own registered pipeline behind a reusable operation: `pl_org_introduce_api`
|
|
3318
|
+
* rendered as "org introduce api", offering the operation's pipeline under a name that appears
|
|
3319
|
+
* nowhere else in the product.
|
|
3320
|
+
*
|
|
3321
|
+
* A separate map rather than widening the versions record, because that record is a
|
|
3322
|
+
* `Record<string, number>` the SPA compares numerically; the ids are identical by construction
|
|
3323
|
+
* (one source, one pass), so a reader indexes either by the other's key.
|
|
3324
|
+
*/
|
|
3325
|
+
readonly pipelineCatalogNames: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
3294
3326
|
/**
|
|
3295
3327
|
* Built-in pipelines WITHDRAWN from the catalog (`retiredPipelines()`) — the complement of
|
|
3296
3328
|
* `pipelineCatalogVersions`, and the only signal that a stored built-in is no longer relevant.
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7E,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;IAEH;;;;;;;OAOG;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;OAKG;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
package/dist/snapshot.js
CHANGED
|
@@ -228,10 +228,26 @@ export const workspaceSnapshotSchema = v.object({
|
|
|
228
228
|
* deployment mixed in via its app-owned `TaskTypeRegistry`. The SPA merges these into its
|
|
229
229
|
* task-type catalog so a proprietary work item becomes a first-class create-task choice +
|
|
230
230
|
* card badge instead of the generic fallback — symmetric with {@link customAgentKinds}.
|
|
231
|
-
*
|
|
232
|
-
*
|
|
231
|
+
* Attached by the facade, so optional on the wire and omitted when nothing is offered.
|
|
232
|
+
*
|
|
233
|
+
* What this board OFFERS, not what the deployment registers: an operation a workspace admin
|
|
234
|
+
* hid is absent (`backend/docs/reusable-operations.md`). Its complement is
|
|
235
|
+
* {@link suppressedTaskTypes}.
|
|
233
236
|
*/
|
|
234
237
|
customTaskTypes: v.optional(v.array(customTaskTypeSchema)),
|
|
238
|
+
/**
|
|
239
|
+
* The registered task-type ids this board HIDES: the complement of {@link customTaskTypes},
|
|
240
|
+
* exactly as `retiredPipelines` is the complement of `pipelineCatalogVersions`, and present for
|
|
241
|
+
* the same reason. A suppressed type is BY CONSTRUCTION absent from the offered catalog, so a
|
|
242
|
+
* SPA reading only that catalog cannot tell "this deployment registers no operations" from
|
|
243
|
+
* "this board hid the ones it has", and the second is the state whose settings screen is the
|
|
244
|
+
* only way back. Hiding the last one would otherwise remove the surface that un-hides it.
|
|
245
|
+
*
|
|
246
|
+
* Ids only. The descriptors live in the registry, which the settings screen reads through its
|
|
247
|
+
* own endpoint; copying presentation here would be a second projection to keep in step for a
|
|
248
|
+
* list nothing renders as a task type.
|
|
249
|
+
*/
|
|
250
|
+
suppressedTaskTypes: v.optional(v.array(v.string())),
|
|
235
251
|
/**
|
|
236
252
|
* The per-step parameters each registered GATE declares (`GateRegistry.register(kind, factory,
|
|
237
253
|
* { configFields })`), so the pipeline builder renders a gate's own config form through the
|
|
@@ -284,6 +300,22 @@ export const workspaceSnapshotSchema = v.object({
|
|
|
284
300
|
* runtimes), but optional on the wire for forward-compatibility.
|
|
285
301
|
*/
|
|
286
302
|
pipelineCatalogVersions: v.optional(v.record(v.string(), v.number())),
|
|
303
|
+
/**
|
|
304
|
+
* The catalog's own NAME for each id in `pipelineCatalogVersions`: the companion map, built from
|
|
305
|
+
* the same `seedPipelines()` read.
|
|
306
|
+
*
|
|
307
|
+
* It exists for the one moment a catalog id has no stored row to read a name off: the "new
|
|
308
|
+
* built-ins available" advisory. Without it the SPA humanised the id, which is passable for a
|
|
309
|
+
* shipped built-in (`pl_review` → "review") and wrong for the case that made this reachable, a
|
|
310
|
+
* deployment's own registered pipeline behind a reusable operation: `pl_org_introduce_api`
|
|
311
|
+
* rendered as "org introduce api", offering the operation's pipeline under a name that appears
|
|
312
|
+
* nowhere else in the product.
|
|
313
|
+
*
|
|
314
|
+
* A separate map rather than widening the versions record, because that record is a
|
|
315
|
+
* `Record<string, number>` the SPA compares numerically; the ids are identical by construction
|
|
316
|
+
* (one source, one pass), so a reader indexes either by the other's key.
|
|
317
|
+
*/
|
|
318
|
+
pipelineCatalogNames: v.optional(v.record(v.string(), v.string())),
|
|
287
319
|
/**
|
|
288
320
|
* Built-in pipelines WITHDRAWN from the catalog (`retiredPipelines()`) — the complement of
|
|
289
321
|
* `pipelineCatalogVersions`, and the only signal that a stored built-in is no longer relevant.
|
package/dist/snapshot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,eAAe,GAChB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAA;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,EAAE,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