@cat-factory/contracts 0.132.0 → 0.134.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/entities.d.ts +1 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/github.d.ts +11 -0
- package/dist/github.d.ts.map +1 -1
- package/dist/github.js.map +1 -1
- package/dist/initiative.d.ts +5 -0
- package/dist/initiative.d.ts.map +1 -1
- package/dist/primitives.d.ts +4 -2
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +4 -2
- package/dist/primitives.js.map +1 -1
- package/dist/public-api.d.ts +85 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +70 -0
- package/dist/public-api.js.map +1 -1
- package/dist/requests.d.ts +1 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/routes/board.d.ts +13 -0
- package/dist/routes/board.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +2 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/initiative.d.ts +17 -0
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +228 -0
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/public-api.js +40 -1
- package/dist/routes/public-api.js.map +1 -1
- package/dist/routes/tasks.d.ts +3 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +6 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +3 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -203,4 +203,232 @@ export declare const getPublicJobContract: {
|
|
|
203
203
|
}, undefined>;
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
|
+
/** List the workspace's services (board service frames). */
|
|
207
|
+
export declare const listPublicServicesContract: {
|
|
208
|
+
readonly method: "get";
|
|
209
|
+
readonly pathResolver: () => string;
|
|
210
|
+
readonly responsesByStatusCode: {
|
|
211
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
212
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
213
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
214
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
215
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
216
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
217
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
218
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
219
|
+
}, undefined>, undefined>, undefined>;
|
|
220
|
+
}, undefined>;
|
|
221
|
+
}, undefined>;
|
|
222
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
223
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
224
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
225
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
226
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
227
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
228
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
229
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
230
|
+
}, undefined>, undefined>, undefined>;
|
|
231
|
+
}, undefined>;
|
|
232
|
+
}, undefined>;
|
|
233
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
234
|
+
readonly services: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
235
|
+
readonly serviceId: import("valibot").StringSchema<undefined>;
|
|
236
|
+
readonly title: import("valibot").StringSchema<undefined>;
|
|
237
|
+
readonly description: import("valibot").StringSchema<undefined>;
|
|
238
|
+
readonly type: import("valibot").PicklistSchema<["frontend", "service", "library", "document", "api", "database", "queue", "integration", "external", "environment"], undefined>;
|
|
239
|
+
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
240
|
+
}, undefined>, undefined>;
|
|
241
|
+
}, undefined>;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
/** Create a task under a service. */
|
|
245
|
+
export declare const createPublicTaskContract: {
|
|
246
|
+
readonly method: "post";
|
|
247
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
248
|
+
serviceId: import("valibot").StringSchema<undefined>;
|
|
249
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
250
|
+
readonly pathResolver: ({ serviceId }: {
|
|
251
|
+
serviceId: string;
|
|
252
|
+
}) => string;
|
|
253
|
+
readonly requestBodySchema: import("valibot").ObjectSchema<{
|
|
254
|
+
readonly title: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 200, undefined>]>;
|
|
255
|
+
readonly description: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
256
|
+
readonly taskType: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review"], undefined>, undefined>;
|
|
257
|
+
}, undefined>;
|
|
258
|
+
readonly responsesByStatusCode: {
|
|
259
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
260
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
261
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
262
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
263
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
264
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
265
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
266
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
267
|
+
}, undefined>, undefined>, undefined>;
|
|
268
|
+
}, undefined>;
|
|
269
|
+
}, undefined>;
|
|
270
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
271
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
272
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
273
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
274
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
275
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
276
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
277
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
278
|
+
}, undefined>, undefined>, undefined>;
|
|
279
|
+
}, undefined>;
|
|
280
|
+
}, undefined>;
|
|
281
|
+
readonly 201: import("valibot").ObjectSchema<{
|
|
282
|
+
readonly taskId: import("valibot").StringSchema<undefined>;
|
|
283
|
+
readonly serviceId: import("valibot").StringSchema<undefined>;
|
|
284
|
+
readonly title: import("valibot").StringSchema<undefined>;
|
|
285
|
+
readonly description: import("valibot").StringSchema<undefined>;
|
|
286
|
+
readonly taskType: import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>;
|
|
287
|
+
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
288
|
+
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
289
|
+
readonly executionId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
290
|
+
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
291
|
+
}, undefined>;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
/** List a service's tasks (the whole subtree — tasks under the frame and its modules). */
|
|
295
|
+
export declare const listPublicServiceTasksContract: {
|
|
296
|
+
readonly method: "get";
|
|
297
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
298
|
+
serviceId: import("valibot").StringSchema<undefined>;
|
|
299
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
300
|
+
readonly pathResolver: ({ serviceId }: {
|
|
301
|
+
serviceId: string;
|
|
302
|
+
}) => string;
|
|
303
|
+
readonly responsesByStatusCode: {
|
|
304
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
305
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
306
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
307
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
308
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
309
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
310
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
311
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
312
|
+
}, undefined>, undefined>, undefined>;
|
|
313
|
+
}, undefined>;
|
|
314
|
+
}, undefined>;
|
|
315
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
316
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
317
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
318
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
319
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
320
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
321
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
322
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
323
|
+
}, undefined>, undefined>, undefined>;
|
|
324
|
+
}, undefined>;
|
|
325
|
+
}, undefined>;
|
|
326
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
327
|
+
readonly tasks: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
328
|
+
readonly taskId: import("valibot").StringSchema<undefined>;
|
|
329
|
+
readonly serviceId: import("valibot").StringSchema<undefined>;
|
|
330
|
+
readonly title: import("valibot").StringSchema<undefined>;
|
|
331
|
+
readonly description: import("valibot").StringSchema<undefined>;
|
|
332
|
+
readonly taskType: import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>;
|
|
333
|
+
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
334
|
+
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
335
|
+
readonly executionId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
336
|
+
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
337
|
+
}, undefined>, undefined>;
|
|
338
|
+
}, undefined>;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
/** Get a task's status. */
|
|
342
|
+
export declare const getPublicTaskContract: {
|
|
343
|
+
readonly method: "get";
|
|
344
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
345
|
+
taskId: import("valibot").StringSchema<undefined>;
|
|
346
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
347
|
+
readonly pathResolver: ({ taskId }: {
|
|
348
|
+
taskId: string;
|
|
349
|
+
}) => string;
|
|
350
|
+
readonly responsesByStatusCode: {
|
|
351
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
352
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
353
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
354
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
355
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
356
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
357
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
358
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
359
|
+
}, undefined>, undefined>, undefined>;
|
|
360
|
+
}, undefined>;
|
|
361
|
+
}, undefined>;
|
|
362
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
363
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
364
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
365
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
366
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
367
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
368
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
369
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
370
|
+
}, undefined>, undefined>, undefined>;
|
|
371
|
+
}, undefined>;
|
|
372
|
+
}, undefined>;
|
|
373
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
374
|
+
readonly taskId: import("valibot").StringSchema<undefined>;
|
|
375
|
+
readonly serviceId: import("valibot").StringSchema<undefined>;
|
|
376
|
+
readonly title: import("valibot").StringSchema<undefined>;
|
|
377
|
+
readonly description: import("valibot").StringSchema<undefined>;
|
|
378
|
+
readonly taskType: import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>;
|
|
379
|
+
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
380
|
+
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
381
|
+
readonly executionId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
382
|
+
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
383
|
+
}, undefined>;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
/** Start (run) a task. */
|
|
387
|
+
export declare const startPublicTaskContract: {
|
|
388
|
+
readonly method: "post";
|
|
389
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
390
|
+
taskId: import("valibot").StringSchema<undefined>;
|
|
391
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
392
|
+
readonly pathResolver: ({ taskId }: {
|
|
393
|
+
taskId: string;
|
|
394
|
+
}) => string;
|
|
395
|
+
readonly requestBodySchema: import("valibot").ObjectSchema<{
|
|
396
|
+
readonly pipelineId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
397
|
+
}, undefined>;
|
|
398
|
+
readonly responsesByStatusCode: {
|
|
399
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
400
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
401
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
402
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
403
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
404
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
405
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
406
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
407
|
+
}, undefined>, undefined>, undefined>;
|
|
408
|
+
}, undefined>;
|
|
409
|
+
}, undefined>;
|
|
410
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
411
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
412
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
413
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
414
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
415
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
416
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
417
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
418
|
+
}, undefined>, undefined>, undefined>;
|
|
419
|
+
}, undefined>;
|
|
420
|
+
}, undefined>;
|
|
421
|
+
readonly 202: import("valibot").ObjectSchema<{
|
|
422
|
+
readonly taskId: import("valibot").StringSchema<undefined>;
|
|
423
|
+
readonly serviceId: import("valibot").StringSchema<undefined>;
|
|
424
|
+
readonly title: import("valibot").StringSchema<undefined>;
|
|
425
|
+
readonly description: import("valibot").StringSchema<undefined>;
|
|
426
|
+
readonly taskType: import("valibot").PicklistSchema<["feature", "bug", "document", "spike", "review", "recurring"], undefined>;
|
|
427
|
+
readonly status: import("valibot").PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
428
|
+
readonly progress: import("valibot").NumberSchema<undefined>;
|
|
429
|
+
readonly executionId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
430
|
+
readonly pullRequestUrl: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
431
|
+
}, undefined>;
|
|
432
|
+
};
|
|
433
|
+
};
|
|
206
434
|
//# sourceMappingURL=public-api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAoC3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAIF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAIF,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrC,CAAA;AAEF,qCAAqC;AACrC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzC,CAAA;AAEF,2BAA2B;AAC3B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhC,CAAA;AAEF,0BAA0B;AAC1B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import { createPublicApiKeySchema, createdPublicApiKeySchema, publicApiKeyListResultSchema, } from '../public-api-keys.js';
|
|
3
|
-
import { createInitiativeJobSchema, initiativeAcceptedSchema, publicJobSchema, } from '../public-api.js';
|
|
3
|
+
import { createInitiativeJobSchema, createPublicTaskSchema, initiativeAcceptedSchema, publicJobSchema, publicServiceListSchema, publicTaskListSchema, publicTaskSchema, startPublicTaskSchema, } from '../public-api.js';
|
|
4
4
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
6
6
|
// Public-API route contracts. Two surfaces:
|
|
@@ -14,6 +14,8 @@ import { errorResponses, singleStringParam } from './_shared.js';
|
|
|
14
14
|
// public-API key (not the session gate), scoped to the key's workspace.
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
16
16
|
const idParams = singleStringParam('id');
|
|
17
|
+
const serviceIdParams = singleStringParam('serviceId');
|
|
18
|
+
const taskIdParams = singleStringParam('taskId');
|
|
17
19
|
// ---- key management (relative to `/workspaces/:workspaceId`) ---------------
|
|
18
20
|
export const listPublicApiKeysContract = defineApiContract({
|
|
19
21
|
method: 'get',
|
|
@@ -45,4 +47,41 @@ export const getPublicJobContract = defineApiContract({
|
|
|
45
47
|
pathResolver: ({ id }) => `/api/v1/jobs/${id}`,
|
|
46
48
|
responsesByStatusCode: { 200: publicJobSchema, ...errorResponses },
|
|
47
49
|
});
|
|
50
|
+
// ---- basic board workloads: services + tasks (key-authenticated) -----------
|
|
51
|
+
/** List the workspace's services (board service frames). */
|
|
52
|
+
export const listPublicServicesContract = defineApiContract({
|
|
53
|
+
method: 'get',
|
|
54
|
+
pathResolver: () => '/api/v1/services',
|
|
55
|
+
responsesByStatusCode: { 200: publicServiceListSchema, ...errorResponses },
|
|
56
|
+
});
|
|
57
|
+
/** Create a task under a service. */
|
|
58
|
+
export const createPublicTaskContract = defineApiContract({
|
|
59
|
+
method: 'post',
|
|
60
|
+
requestPathParamsSchema: serviceIdParams,
|
|
61
|
+
pathResolver: ({ serviceId }) => `/api/v1/services/${serviceId}/tasks`,
|
|
62
|
+
requestBodySchema: createPublicTaskSchema,
|
|
63
|
+
responsesByStatusCode: { 201: publicTaskSchema, ...errorResponses },
|
|
64
|
+
});
|
|
65
|
+
/** List a service's tasks (the whole subtree — tasks under the frame and its modules). */
|
|
66
|
+
export const listPublicServiceTasksContract = defineApiContract({
|
|
67
|
+
method: 'get',
|
|
68
|
+
requestPathParamsSchema: serviceIdParams,
|
|
69
|
+
pathResolver: ({ serviceId }) => `/api/v1/services/${serviceId}/tasks`,
|
|
70
|
+
responsesByStatusCode: { 200: publicTaskListSchema, ...errorResponses },
|
|
71
|
+
});
|
|
72
|
+
/** Get a task's status. */
|
|
73
|
+
export const getPublicTaskContract = defineApiContract({
|
|
74
|
+
method: 'get',
|
|
75
|
+
requestPathParamsSchema: taskIdParams,
|
|
76
|
+
pathResolver: ({ taskId }) => `/api/v1/tasks/${taskId}`,
|
|
77
|
+
responsesByStatusCode: { 200: publicTaskSchema, ...errorResponses },
|
|
78
|
+
});
|
|
79
|
+
/** Start (run) a task. */
|
|
80
|
+
export const startPublicTaskContract = defineApiContract({
|
|
81
|
+
method: 'post',
|
|
82
|
+
requestPathParamsSchema: taskIdParams,
|
|
83
|
+
pathResolver: ({ taskId }) => `/api/v1/tasks/${taskId}/start`,
|
|
84
|
+
requestBodySchema: startPublicTaskSchema,
|
|
85
|
+
responsesByStatusCode: { 202: publicTaskSchema, ...errorResponses },
|
|
86
|
+
});
|
|
48
87
|
//# sourceMappingURL=public-api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,eAAe,
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,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AC,CAAA;AAEF,0FAA0F;AAC1F,MAAM,CAAC,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC9D,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,eAAe;IACxC,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,oBAAoB,SAAS,QAAQ;IACtE,qBAAqB,EAAE,EAAE,GAAG,EAAE,oBAAoB,EAAE,GAAG,cAAc,EAAE;CACxE,CAAC,CAAA;AAEF,2BAA2B;AAC3B,MAAM,CAAC,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,YAAY;IACrC,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,iBAAiB,MAAM,EAAE;IACvD,qBAAqB,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE;CACpE,CAAC,CAAA;AAEF,0BAA0B;AAC1B,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACvD,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,YAAY;IACrC,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,iBAAiB,MAAM,QAAQ;IAC7D,iBAAiB,EAAE,qBAAqB;IACxC,qBAAqB,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE,GAAG,cAAc,EAAE;CACpE,CAAC,CAAA"}
|
package/dist/routes/tasks.d.ts
CHANGED
|
@@ -578,6 +578,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
578
578
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
579
579
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
580
580
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
581
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
581
582
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
582
583
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
583
584
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -982,6 +983,7 @@ export declare const spawnEpicContract: {
|
|
|
982
983
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
983
984
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
984
985
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
986
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
985
987
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
986
988
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
987
989
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -1323,6 +1325,7 @@ export declare const spawnEpicContract: {
|
|
|
1323
1325
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1324
1326
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1325
1327
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1328
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1326
1329
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1327
1330
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1328
1331
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, 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;AAuD5B,eAAO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;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
|
|
@@ -112,6 +112,7 @@ export declare const createWorkspaceContract: {
|
|
|
112
112
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
113
113
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
114
114
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
115
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
115
116
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
116
117
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
117
118
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -1629,6 +1630,7 @@ export declare const createWorkspaceContract: {
|
|
|
1629
1630
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1630
1631
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1631
1632
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1633
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1632
1634
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1633
1635
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1634
1636
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -2027,6 +2029,7 @@ export declare const createWorkspaceContract: {
|
|
|
2027
2029
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
2028
2030
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
2029
2031
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
2032
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
2030
2033
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
2031
2034
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
2032
2035
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -2315,6 +2318,7 @@ export declare const getWorkspaceContract: {
|
|
|
2315
2318
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
2316
2319
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
2317
2320
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
2321
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
2318
2322
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
2319
2323
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
2320
2324
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -3832,6 +3836,7 @@ export declare const getWorkspaceContract: {
|
|
|
3832
3836
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
3833
3837
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
3834
3838
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
3839
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
3835
3840
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
3836
3841
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3837
3842
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -4230,6 +4235,7 @@ export declare const getWorkspaceContract: {
|
|
|
4230
4235
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
4231
4236
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
4232
4237
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
4238
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
4233
4239
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
4234
4240
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
4235
4241
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, 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;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
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;AAgB5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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
|
@@ -57,6 +57,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
57
57
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
58
58
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
59
59
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
60
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
60
61
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
61
62
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
62
63
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -1679,6 +1680,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1679
1680
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
1680
1681
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
1681
1682
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
1683
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
1682
1684
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
1683
1685
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
1684
1686
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
|
@@ -2141,6 +2143,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2141
2143
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
2142
2144
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
2143
2145
|
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
2146
|
+
readonly successCriteria: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
2144
2147
|
readonly docKind: v.OptionalSchema<v.PicklistSchema<readonly ["prd", "rfc", "adr", "design", "technical", "api", "runbook", "research", "reference", "other"], undefined>, undefined>;
|
|
2145
2148
|
readonly audience: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
2146
2149
|
readonly targetPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>, v.CheckAction<string, "targetPath must be a relative path inside the repo, ending in .md, with no \"..\", absolute, or backslash segments.">]>, undefined>;
|
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;AAkC5B,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
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAkC5B,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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