@cat-factory/contracts 0.102.0 → 0.104.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 +66 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +44 -0
- package/dist/entities.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/requests.d.ts +75 -2
- package/dist/requests.d.ts.map +1 -1
- package/dist/requests.js +4 -1
- package/dist/requests.js.map +1 -1
- package/dist/routes/board.d.ts +145 -2
- package/dist/routes/board.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +14 -0
- package/dist/routes/execution.d.ts.map +1 -1
- 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/initiative.d.ts +7 -0
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/shared-stacks.d.ts +692 -0
- package/dist/routes/shared-stacks.d.ts.map +1 -0
- package/dist/routes/shared-stacks.js +56 -0
- package/dist/routes/shared-stacks.js.map +1 -0
- package/dist/routes/tasks.d.ts +21 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +158 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/shared-stacks.d.ts +239 -0
- package/dist/shared-stacks.d.ts.map +1 -0
- package/dist/shared-stacks.js +102 -0
- package/dist/shared-stacks.js.map +1 -0
- package/dist/snapshot.d.ts +85 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/snapshot.js +8 -0
- package/dist/snapshot.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-stacks.d.ts","sourceRoot":"","sources":["../../src/routes/shared-stacks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,c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|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
import { createSharedStackSchema, sharedStackSchema, updateSharedStackSchema, } from '../shared-stacks.js';
|
|
4
|
+
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
|
+
// ---------------------------------------------------------------------------
|
|
6
|
+
// Shared-stack route contracts. Mounted under `/workspaces/:workspaceId`, so the
|
|
7
|
+
// paths here are relative to that prefix. CRUD plus the two lifecycle actions
|
|
8
|
+
// (`ensure-up` / `teardown`). See SharedStackController in @cat-factory/server.
|
|
9
|
+
// ---------------------------------------------------------------------------
|
|
10
|
+
const sharedStackListSchema = v.array(sharedStackSchema);
|
|
11
|
+
const stackIdParams = singleStringParam('stackId');
|
|
12
|
+
export const listSharedStacksContract = defineApiContract({
|
|
13
|
+
method: 'get',
|
|
14
|
+
pathResolver: () => '/shared-stacks',
|
|
15
|
+
responsesByStatusCode: { 200: sharedStackListSchema, ...errorResponses },
|
|
16
|
+
});
|
|
17
|
+
export const createSharedStackContract = defineApiContract({
|
|
18
|
+
method: 'post',
|
|
19
|
+
pathResolver: () => '/shared-stacks',
|
|
20
|
+
requestBodySchema: createSharedStackSchema,
|
|
21
|
+
responsesByStatusCode: { 201: sharedStackSchema, ...errorResponses },
|
|
22
|
+
});
|
|
23
|
+
export const updateSharedStackContract = defineApiContract({
|
|
24
|
+
method: 'patch',
|
|
25
|
+
requestPathParamsSchema: stackIdParams,
|
|
26
|
+
pathResolver: ({ stackId }) => `/shared-stacks/${stackId}`,
|
|
27
|
+
requestBodySchema: updateSharedStackSchema,
|
|
28
|
+
responsesByStatusCode: { 200: sharedStackSchema, ...errorResponses },
|
|
29
|
+
});
|
|
30
|
+
export const deleteSharedStackContract = defineApiContract({
|
|
31
|
+
method: 'delete',
|
|
32
|
+
requestPathParamsSchema: stackIdParams,
|
|
33
|
+
pathResolver: ({ stackId }) => `/shared-stacks/${stackId}`,
|
|
34
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
35
|
+
});
|
|
36
|
+
/**
|
|
37
|
+
* Bring a shared stack up (idempotent): clone/refresh the repo, create its managed networks,
|
|
38
|
+
* `up -d` under its profiles, run its setup steps, then poll its health gate. Already-running ⇒
|
|
39
|
+
* a no-op that returns the current record. Runs only on the local (host-Docker) facade.
|
|
40
|
+
*/
|
|
41
|
+
export const ensureSharedStackUpContract = defineApiContract({
|
|
42
|
+
method: 'post',
|
|
43
|
+
requestPathParamsSchema: stackIdParams,
|
|
44
|
+
pathResolver: ({ stackId }) => `/shared-stacks/${stackId}/ensure-up`,
|
|
45
|
+
requestBodySchema: ContractNoBody,
|
|
46
|
+
responsesByStatusCode: { 200: sharedStackSchema, ...errorResponses },
|
|
47
|
+
});
|
|
48
|
+
/** Tear a shared stack down (`down -v`) — a deliberate action; the stack is never swept. */
|
|
49
|
+
export const teardownSharedStackContract = defineApiContract({
|
|
50
|
+
method: 'post',
|
|
51
|
+
requestPathParamsSchema: stackIdParams,
|
|
52
|
+
pathResolver: ({ stackId }) => `/shared-stacks/${stackId}/teardown`,
|
|
53
|
+
requestBodySchema: ContractNoBody,
|
|
54
|
+
responsesByStatusCode: { 200: sharedStackSchema, ...errorResponses },
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=shared-stacks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-stacks.js","sourceRoot":"","sources":["../../src/routes/shared-stacks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,iFAAiF;AACjF,8EAA8E;AAC9E,gFAAgF;AAChF,8EAA8E;AAE9E,MAAM,qBAAqB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BAAuB,EAAE,aAAa;IACtC,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,kBAAkB,OAAO,YAAY;IACpE,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,iBAAiB,EAAE,GAAG,cAAc,EAAE;CACrE,CAAC,CAAA;AAEF,4FAA4F;AAC5F,MAAM,CAAC,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC3D,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,aAAa;IACtC,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,kBAAkB,OAAO,WAAW;IACnE,iBAAiB,EAAE,cAAc;IACjC,qBAAqB,EAAE,EAAE,GAAG,EAAE,iBAAiB,EAAE,GAAG,cAAc,EAAE;CACrE,CAAC,CAAA"}
|
package/dist/routes/tasks.d.ts
CHANGED
|
@@ -839,6 +839,13 @@ export declare const createTaskFromIssueContract: {
|
|
|
839
839
|
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
840
840
|
}, undefined>;
|
|
841
841
|
}, undefined>, undefined>, undefined>;
|
|
842
|
+
readonly referenceRepos: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
843
|
+
readonly repoId: v.NumberSchema<undefined>;
|
|
844
|
+
readonly owner: v.StringSchema<undefined>;
|
|
845
|
+
readonly name: v.StringSchema<undefined>;
|
|
846
|
+
readonly defaultBranch: v.StringSchema<undefined>;
|
|
847
|
+
readonly connectionId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
848
|
+
}, undefined>, undefined>, undefined>;
|
|
842
849
|
readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
843
850
|
readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
844
851
|
readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1210,6 +1217,13 @@ export declare const spawnEpicContract: {
|
|
|
1210
1217
|
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1211
1218
|
}, undefined>;
|
|
1212
1219
|
}, undefined>, undefined>, undefined>;
|
|
1220
|
+
readonly referenceRepos: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1221
|
+
readonly repoId: v.NumberSchema<undefined>;
|
|
1222
|
+
readonly owner: v.StringSchema<undefined>;
|
|
1223
|
+
readonly name: v.StringSchema<undefined>;
|
|
1224
|
+
readonly defaultBranch: v.StringSchema<undefined>;
|
|
1225
|
+
readonly connectionId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1226
|
+
}, undefined>, undefined>, undefined>;
|
|
1213
1227
|
readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1214
1228
|
readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1215
1229
|
readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1518,6 +1532,13 @@ export declare const spawnEpicContract: {
|
|
|
1518
1532
|
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1519
1533
|
}, undefined>;
|
|
1520
1534
|
}, undefined>, undefined>, undefined>;
|
|
1535
|
+
readonly referenceRepos: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1536
|
+
readonly repoId: v.NumberSchema<undefined>;
|
|
1537
|
+
readonly owner: v.StringSchema<undefined>;
|
|
1538
|
+
readonly name: v.StringSchema<undefined>;
|
|
1539
|
+
readonly defaultBranch: v.StringSchema<undefined>;
|
|
1540
|
+
readonly connectionId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1541
|
+
}, undefined>, undefined>, undefined>;
|
|
1521
1542
|
readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1522
1543
|
readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1523
1544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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
|
|
@@ -373,6 +373,13 @@ export declare const createWorkspaceContract: {
|
|
|
373
373
|
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
374
374
|
}, undefined>;
|
|
375
375
|
}, undefined>, undefined>, undefined>;
|
|
376
|
+
readonly referenceRepos: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
377
|
+
readonly repoId: v.NumberSchema<undefined>;
|
|
378
|
+
readonly owner: v.StringSchema<undefined>;
|
|
379
|
+
readonly name: v.StringSchema<undefined>;
|
|
380
|
+
readonly defaultBranch: v.StringSchema<undefined>;
|
|
381
|
+
readonly connectionId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
382
|
+
}, undefined>, undefined>, undefined>;
|
|
376
383
|
readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
377
384
|
readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
378
385
|
readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1204,6 +1211,78 @@ export declare const createWorkspaceContract: {
|
|
|
1204
1211
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1205
1212
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
1206
1213
|
}, undefined>, undefined>, undefined>;
|
|
1214
|
+
readonly sharedStacks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1215
|
+
readonly id: v.StringSchema<undefined>;
|
|
1216
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
1217
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1218
|
+
readonly cloneUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1219
|
+
readonly gitRef: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1220
|
+
readonly composeFiles: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1221
|
+
readonly composeProfiles: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1222
|
+
readonly envFiles: v.ArraySchema<v.ObjectSchema<{
|
|
1223
|
+
readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1224
|
+
readonly target: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1225
|
+
}, undefined>, undefined>;
|
|
1226
|
+
readonly managedNetworks: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1227
|
+
readonly setupSteps: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
1228
|
+
readonly kind: v.LiteralSchema<"compose-exec", undefined>;
|
|
1229
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1230
|
+
readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1231
|
+
readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1232
|
+
readonly stdinFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1233
|
+
readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1234
|
+
readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1235
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
1236
|
+
}, undefined>, v.ObjectSchema<{
|
|
1237
|
+
readonly kind: v.LiteralSchema<"copy-file", undefined>;
|
|
1238
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1239
|
+
readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1240
|
+
readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1241
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
1242
|
+
}, undefined>, v.ObjectSchema<{
|
|
1243
|
+
readonly kind: v.LiteralSchema<"wait-http", undefined>;
|
|
1244
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1245
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1246
|
+
readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
|
|
1247
|
+
readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1248
|
+
readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
|
|
1249
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
1250
|
+
}, undefined>, v.ObjectSchema<{
|
|
1251
|
+
readonly kind: v.LiteralSchema<"wait-file", undefined>;
|
|
1252
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1253
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1254
|
+
readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
1255
|
+
readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
|
|
1256
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
1257
|
+
}, undefined>, v.ObjectSchema<{
|
|
1258
|
+
readonly kind: v.LiteralSchema<"host-command", undefined>;
|
|
1259
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1260
|
+
readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1261
|
+
readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1262
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
1263
|
+
}, undefined>], undefined>, undefined>;
|
|
1264
|
+
readonly healthGate: v.NullableSchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
1265
|
+
readonly kind: v.LiteralSchema<"compose-healthy", undefined>;
|
|
1266
|
+
}, undefined>, v.ObjectSchema<{
|
|
1267
|
+
readonly kind: v.LiteralSchema<"http", undefined>;
|
|
1268
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1269
|
+
readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
|
|
1270
|
+
readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
1271
|
+
readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
|
|
1272
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
1273
|
+
}, undefined>, v.ObjectSchema<{
|
|
1274
|
+
readonly kind: v.LiteralSchema<"compose-exec", undefined>;
|
|
1275
|
+
readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
1276
|
+
readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
1277
|
+
readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
|
|
1278
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
1279
|
+
}, undefined>], undefined>, undefined>;
|
|
1280
|
+
readonly allowHostCommands: v.BooleanSchema<undefined>;
|
|
1281
|
+
readonly status: v.PicklistSchema<["stopped", "starting", "running", "failed"], undefined>;
|
|
1282
|
+
readonly lastError: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1283
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1284
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1285
|
+
}, undefined>, undefined>, undefined>;
|
|
1207
1286
|
readonly agentConfigCatalog: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1208
1287
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1209
1288
|
readonly agentKind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -1796,6 +1875,13 @@ export declare const getWorkspaceContract: {
|
|
|
1796
1875
|
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1797
1876
|
}, undefined>;
|
|
1798
1877
|
}, undefined>, undefined>, undefined>;
|
|
1878
|
+
readonly referenceRepos: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1879
|
+
readonly repoId: v.NumberSchema<undefined>;
|
|
1880
|
+
readonly owner: v.StringSchema<undefined>;
|
|
1881
|
+
readonly name: v.StringSchema<undefined>;
|
|
1882
|
+
readonly defaultBranch: v.StringSchema<undefined>;
|
|
1883
|
+
readonly connectionId: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1884
|
+
}, undefined>, undefined>, undefined>;
|
|
1799
1885
|
readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1800
1886
|
readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1801
1887
|
readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -2627,6 +2713,78 @@ export declare const getWorkspaceContract: {
|
|
|
2627
2713
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2628
2714
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
2629
2715
|
}, undefined>, undefined>, undefined>;
|
|
2716
|
+
readonly sharedStacks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2717
|
+
readonly id: v.StringSchema<undefined>;
|
|
2718
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
2719
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
2720
|
+
readonly cloneUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2721
|
+
readonly gitRef: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2722
|
+
readonly composeFiles: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
2723
|
+
readonly composeProfiles: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2724
|
+
readonly envFiles: v.ArraySchema<v.ObjectSchema<{
|
|
2725
|
+
readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2726
|
+
readonly target: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2727
|
+
}, undefined>, undefined>;
|
|
2728
|
+
readonly managedNetworks: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2729
|
+
readonly setupSteps: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
2730
|
+
readonly kind: v.LiteralSchema<"compose-exec", undefined>;
|
|
2731
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
2732
|
+
readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
2733
|
+
readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
2734
|
+
readonly stdinFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
2735
|
+
readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2736
|
+
readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
2737
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
2738
|
+
}, undefined>, v.ObjectSchema<{
|
|
2739
|
+
readonly kind: v.LiteralSchema<"copy-file", undefined>;
|
|
2740
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
2741
|
+
readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2742
|
+
readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2743
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
2744
|
+
}, undefined>, v.ObjectSchema<{
|
|
2745
|
+
readonly kind: v.LiteralSchema<"wait-http", undefined>;
|
|
2746
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
2747
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2748
|
+
readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
|
|
2749
|
+
readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
2750
|
+
readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
|
|
2751
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
2752
|
+
}, undefined>, v.ObjectSchema<{
|
|
2753
|
+
readonly kind: v.LiteralSchema<"wait-file", undefined>;
|
|
2754
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
2755
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2756
|
+
readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2757
|
+
readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
|
|
2758
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
2759
|
+
}, undefined>, v.ObjectSchema<{
|
|
2760
|
+
readonly kind: v.LiteralSchema<"host-command", undefined>;
|
|
2761
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
2762
|
+
readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
2763
|
+
readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
2764
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
2765
|
+
}, undefined>], undefined>, undefined>;
|
|
2766
|
+
readonly healthGate: v.NullableSchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
2767
|
+
readonly kind: v.LiteralSchema<"compose-healthy", undefined>;
|
|
2768
|
+
}, undefined>, v.ObjectSchema<{
|
|
2769
|
+
readonly kind: v.LiteralSchema<"http", undefined>;
|
|
2770
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2771
|
+
readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
|
|
2772
|
+
readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
2773
|
+
readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
|
|
2774
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
2775
|
+
}, undefined>, v.ObjectSchema<{
|
|
2776
|
+
readonly kind: v.LiteralSchema<"compose-exec", undefined>;
|
|
2777
|
+
readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
2778
|
+
readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
2779
|
+
readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
|
|
2780
|
+
readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
|
|
2781
|
+
}, undefined>], undefined>, undefined>;
|
|
2782
|
+
readonly allowHostCommands: v.BooleanSchema<undefined>;
|
|
2783
|
+
readonly status: v.PicklistSchema<["stopped", "starting", "running", "failed"], undefined>;
|
|
2784
|
+
readonly lastError: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2785
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
2786
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
2787
|
+
}, undefined>, undefined>, undefined>;
|
|
2630
2788
|
readonly agentConfigCatalog: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2631
2789
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
2632
2790
|
readonly agentKind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, 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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