@cat-factory/contracts 0.131.0 → 0.133.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 +18 -2
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +8 -0
- package/dist/entities.js.map +1 -1
- package/dist/prReview.d.ts +16 -11
- package/dist/prReview.d.ts.map +1 -1
- package/dist/prReview.js +18 -13
- package/dist/prReview.js.map +1 -1
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +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/routes/agent-runs.d.ts +4 -2
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +16 -8
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +2 -1
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +10 -5
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/prReview.d.ts +3 -3
- 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/visual-confirm.d.ts +6 -3
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +4 -2
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +2 -1
- 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,EAA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G,cAAc,EAAE;CACpE,CAAC,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"}
|
|
@@ -415,10 +415,11 @@ export declare const approveVisualConfirmContract: {
|
|
|
415
415
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
416
416
|
}, undefined>, undefined>, readonly []>;
|
|
417
417
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
418
|
-
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
|
|
418
|
+
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
419
419
|
readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
420
420
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
421
421
|
}, undefined>, undefined>, undefined>;
|
|
422
|
+
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
422
423
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
423
424
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
424
425
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -1186,10 +1187,11 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1186
1187
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1187
1188
|
}, undefined>, undefined>, readonly []>;
|
|
1188
1189
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
1189
|
-
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
|
|
1190
|
+
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
1190
1191
|
readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1191
1192
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1192
1193
|
}, undefined>, undefined>, undefined>;
|
|
1194
|
+
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1193
1195
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1194
1196
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
1195
1197
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -1955,10 +1957,11 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
1955
1957
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1956
1958
|
}, undefined>, undefined>, readonly []>;
|
|
1957
1959
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
1958
|
-
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
|
|
1960
|
+
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
1959
1961
|
readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1960
1962
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1961
1963
|
}, undefined>, undefined>, undefined>;
|
|
1964
|
+
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
1962
1965
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1963
1966
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
1964
1967
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-conf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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
|
|
@@ -853,10 +853,11 @@ export declare const createWorkspaceContract: {
|
|
|
853
853
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
854
854
|
}, undefined>, undefined>, readonly []>;
|
|
855
855
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
856
|
-
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
|
|
856
|
+
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
857
857
|
readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
858
858
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
859
859
|
}, undefined>, undefined>, undefined>;
|
|
860
|
+
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
860
861
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
861
862
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
862
863
|
readonly feedback: v.StringSchema<undefined>;
|
|
@@ -3055,10 +3056,11 @@ export declare const getWorkspaceContract: {
|
|
|
3055
3056
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3056
3057
|
}, undefined>, undefined>, readonly []>;
|
|
3057
3058
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
3058
|
-
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
|
|
3059
|
+
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
3059
3060
|
readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3060
3061
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3061
3062
|
}, undefined>, undefined>, undefined>;
|
|
3063
|
+
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
3062
3064
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3063
3065
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
3064
3066
|
readonly feedback: v.StringSchema<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,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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
|
@@ -798,10 +798,11 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
798
798
|
readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
799
799
|
}, undefined>, undefined>, readonly []>;
|
|
800
800
|
readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
801
|
-
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish"], undefined>, undefined>, undefined>;
|
|
801
|
+
readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
|
|
802
802
|
readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
803
803
|
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
804
804
|
}, undefined>, undefined>, undefined>;
|
|
805
|
+
readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
805
806
|
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
806
807
|
readonly previousProposal: v.StringSchema<undefined>;
|
|
807
808
|
readonly feedback: v.StringSchema<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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