@cat-factory/contracts 0.87.0 → 0.89.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/agent-presentation.d.ts +2 -2
- package/dist/entities.d.ts +44 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +31 -0
- package/dist/entities.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/initiative.d.ts +37 -4
- package/dist/initiative.d.ts.map +1 -1
- package/dist/initiative.js +29 -3
- package/dist/initiative.js.map +1 -1
- package/dist/public-api-keys.d.ts +54 -0
- package/dist/public-api-keys.d.ts.map +1 -0
- package/dist/public-api-keys.js +42 -0
- package/dist/public-api-keys.js.map +1 -0
- package/dist/public-api.d.ts +57 -0
- package/dist/public-api.d.ts.map +1 -0
- package/dist/public-api.js +50 -0
- package/dist/public-api.js.map +1 -0
- package/dist/result-views.d.ts +1 -1
- package/dist/result-views.d.ts.map +1 -1
- package/dist/result-views.js +1 -0
- package/dist/result-views.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +8 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/board.d.ts +10 -0
- package/dist/routes/board.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +34 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +4 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +20 -0
- package/dist/routes/human-test.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 +411 -4
- package/dist/routes/initiative.d.ts.map +1 -1
- package/dist/routes/initiative.js +30 -2
- package/dist/routes/initiative.js.map +1 -1
- package/dist/routes/pipelines.d.ts +6 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +206 -0
- package/dist/routes/public-api.d.ts.map +1 -0
- package/dist/routes/public-api.js +48 -0
- package/dist/routes/public-api.js.map +1 -0
- package/dist/routes/tasks.d.ts +3 -0
- package/dist/routes/tasks.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +12 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +28 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +14 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjC,CAAA"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { ContractNoBody } from '@toad-contracts/valibot';
|
|
2
|
+
export declare const listPublicApiKeysContract: {
|
|
3
|
+
readonly method: "get";
|
|
4
|
+
readonly pathResolver: () => string;
|
|
5
|
+
readonly responsesByStatusCode: {
|
|
6
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
7
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
8
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
9
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
10
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
11
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
12
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
14
|
+
}, undefined>, undefined>, undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
}, undefined>;
|
|
17
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
18
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
19
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
20
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
21
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
22
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
23
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
24
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
25
|
+
}, undefined>, undefined>, undefined>;
|
|
26
|
+
}, undefined>;
|
|
27
|
+
}, undefined>;
|
|
28
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
29
|
+
readonly keys: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
30
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
31
|
+
readonly accountId: import("valibot").StringSchema<undefined>;
|
|
32
|
+
readonly workspaceId: import("valibot").StringSchema<undefined>;
|
|
33
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
34
|
+
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
35
|
+
readonly lastUsedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
36
|
+
readonly revokedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
37
|
+
}, undefined>, undefined>;
|
|
38
|
+
}, undefined>;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare const createPublicApiKeyContract: {
|
|
42
|
+
readonly method: "post";
|
|
43
|
+
readonly pathResolver: () => string;
|
|
44
|
+
readonly requestBodySchema: import("valibot").ObjectSchema<{
|
|
45
|
+
readonly label: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 120, undefined>]>;
|
|
46
|
+
}, undefined>;
|
|
47
|
+
readonly responsesByStatusCode: {
|
|
48
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
49
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
50
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
51
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
52
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
53
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
54
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
55
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
56
|
+
}, undefined>, undefined>, undefined>;
|
|
57
|
+
}, undefined>;
|
|
58
|
+
}, undefined>;
|
|
59
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
60
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
61
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
62
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
63
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
64
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
65
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
66
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
67
|
+
}, undefined>, undefined>, undefined>;
|
|
68
|
+
}, undefined>;
|
|
69
|
+
}, undefined>;
|
|
70
|
+
readonly 201: import("valibot").ObjectSchema<{
|
|
71
|
+
readonly key: import("valibot").ObjectSchema<{
|
|
72
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
73
|
+
readonly accountId: import("valibot").StringSchema<undefined>;
|
|
74
|
+
readonly workspaceId: import("valibot").StringSchema<undefined>;
|
|
75
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
76
|
+
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
77
|
+
readonly lastUsedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
78
|
+
readonly revokedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
79
|
+
}, undefined>;
|
|
80
|
+
readonly secret: import("valibot").StringSchema<undefined>;
|
|
81
|
+
}, undefined>;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
export declare const revokePublicApiKeyContract: {
|
|
85
|
+
readonly method: "delete";
|
|
86
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
87
|
+
id: import("valibot").StringSchema<undefined>;
|
|
88
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
89
|
+
readonly pathResolver: ({ id }: {
|
|
90
|
+
id: string;
|
|
91
|
+
}) => string;
|
|
92
|
+
readonly responsesByStatusCode: {
|
|
93
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
94
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
95
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
96
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
97
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
98
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
99
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
100
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
101
|
+
}, undefined>, undefined>, undefined>;
|
|
102
|
+
}, undefined>;
|
|
103
|
+
}, undefined>;
|
|
104
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
105
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
106
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
107
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
108
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
109
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
110
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
111
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
112
|
+
}, undefined>, undefined>, undefined>;
|
|
113
|
+
}, undefined>;
|
|
114
|
+
}, undefined>;
|
|
115
|
+
readonly 204: typeof ContractNoBody;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
export declare const createInitiativeJobContract: {
|
|
119
|
+
readonly method: "post";
|
|
120
|
+
readonly pathResolver: () => string;
|
|
121
|
+
readonly requestBodySchema: import("valibot").ObjectSchema<{
|
|
122
|
+
readonly pipelineId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
123
|
+
readonly input: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 50000, undefined>]>;
|
|
124
|
+
readonly title: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
125
|
+
}, undefined>;
|
|
126
|
+
readonly responsesByStatusCode: {
|
|
127
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
128
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
129
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
130
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
131
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
132
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
133
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
134
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
135
|
+
}, undefined>, undefined>, undefined>;
|
|
136
|
+
}, undefined>;
|
|
137
|
+
}, undefined>;
|
|
138
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
139
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
140
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
141
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
142
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
143
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
144
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
145
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
146
|
+
}, undefined>, undefined>, undefined>;
|
|
147
|
+
}, undefined>;
|
|
148
|
+
}, undefined>;
|
|
149
|
+
readonly 202: import("valibot").ObjectSchema<{
|
|
150
|
+
readonly jobId: import("valibot").StringSchema<undefined>;
|
|
151
|
+
readonly status: import("valibot").PicklistSchema<["running", "succeeded", "failed"], undefined>;
|
|
152
|
+
readonly links: import("valibot").ObjectSchema<{
|
|
153
|
+
readonly self: import("valibot").StringSchema<undefined>;
|
|
154
|
+
readonly events: import("valibot").StringSchema<undefined>;
|
|
155
|
+
}, undefined>;
|
|
156
|
+
}, undefined>;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
export declare const getPublicJobContract: {
|
|
160
|
+
readonly method: "get";
|
|
161
|
+
readonly requestPathParamsSchema: import("valibot").ObjectSchema<{
|
|
162
|
+
id: import("valibot").StringSchema<undefined>;
|
|
163
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
164
|
+
readonly pathResolver: ({ id }: {
|
|
165
|
+
id: string;
|
|
166
|
+
}) => string;
|
|
167
|
+
readonly responsesByStatusCode: {
|
|
168
|
+
readonly '4xx': import("valibot").ObjectSchema<{
|
|
169
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
170
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
171
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
172
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
173
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
174
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
175
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
176
|
+
}, undefined>, undefined>, undefined>;
|
|
177
|
+
}, undefined>;
|
|
178
|
+
}, undefined>;
|
|
179
|
+
readonly '5xx': import("valibot").ObjectSchema<{
|
|
180
|
+
readonly error: import("valibot").ObjectSchema<{
|
|
181
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
182
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
183
|
+
readonly details: import("valibot").OptionalSchema<import("valibot").UnknownSchema, undefined>;
|
|
184
|
+
readonly issues: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
185
|
+
readonly path: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
186
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
187
|
+
}, undefined>, undefined>, undefined>;
|
|
188
|
+
}, undefined>;
|
|
189
|
+
}, undefined>;
|
|
190
|
+
readonly 200: import("valibot").ObjectSchema<{
|
|
191
|
+
readonly jobId: import("valibot").StringSchema<undefined>;
|
|
192
|
+
readonly status: import("valibot").PicklistSchema<["running", "succeeded", "failed"], undefined>;
|
|
193
|
+
readonly pipelineId: import("valibot").StringSchema<undefined>;
|
|
194
|
+
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
195
|
+
readonly result: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
196
|
+
readonly output: import("valibot").StringSchema<undefined>;
|
|
197
|
+
readonly data: import("valibot").NullableSchema<import("valibot").UnknownSchema, undefined>;
|
|
198
|
+
}, undefined>, undefined>;
|
|
199
|
+
readonly error: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
200
|
+
readonly code: import("valibot").StringSchema<undefined>;
|
|
201
|
+
readonly message: import("valibot").StringSchema<undefined>;
|
|
202
|
+
}, undefined>, undefined>;
|
|
203
|
+
}, undefined>;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
//# sourceMappingURL=public-api.d.ts.map
|
|
@@ -0,0 +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;AA6B3E,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"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
|
+
import { createPublicApiKeySchema, createdPublicApiKeySchema, publicApiKeyListResultSchema, } from '../public-api-keys.js';
|
|
3
|
+
import { createInitiativeJobSchema, initiativeAcceptedSchema, publicJobSchema, } from '../public-api.js';
|
|
4
|
+
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
|
+
// ---------------------------------------------------------------------------
|
|
6
|
+
// Public-API route contracts. Two surfaces:
|
|
7
|
+
//
|
|
8
|
+
// 1. Key management — session-authed, mounted under `/workspaces/:workspaceId`
|
|
9
|
+
// (so paths are relative). A workspace owner mints/lists/revokes the keys an
|
|
10
|
+
// external system will present. Note the path is `/public-api-keys` — the bare
|
|
11
|
+
// `/api-keys` is the direct-provider (outbound) key pool.
|
|
12
|
+
//
|
|
13
|
+
// 2. The external surface — `/api/v1/*`, authenticated in-controller by the
|
|
14
|
+
// public-API key (not the session gate), scoped to the key's workspace.
|
|
15
|
+
// ---------------------------------------------------------------------------
|
|
16
|
+
const idParams = singleStringParam('id');
|
|
17
|
+
// ---- key management (relative to `/workspaces/:workspaceId`) ---------------
|
|
18
|
+
export const listPublicApiKeysContract = defineApiContract({
|
|
19
|
+
method: 'get',
|
|
20
|
+
pathResolver: () => '/public-api-keys',
|
|
21
|
+
responsesByStatusCode: { 200: publicApiKeyListResultSchema, ...errorResponses },
|
|
22
|
+
});
|
|
23
|
+
export const createPublicApiKeyContract = defineApiContract({
|
|
24
|
+
method: 'post',
|
|
25
|
+
pathResolver: () => '/public-api-keys',
|
|
26
|
+
requestBodySchema: createPublicApiKeySchema,
|
|
27
|
+
responsesByStatusCode: { 201: createdPublicApiKeySchema, ...errorResponses },
|
|
28
|
+
});
|
|
29
|
+
export const revokePublicApiKeyContract = defineApiContract({
|
|
30
|
+
method: 'delete',
|
|
31
|
+
requestPathParamsSchema: idParams,
|
|
32
|
+
pathResolver: ({ id }) => `/public-api-keys/${id}`,
|
|
33
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
34
|
+
});
|
|
35
|
+
// ---- the external `/api/v1` surface (absolute paths, key-authenticated) ----
|
|
36
|
+
export const createInitiativeJobContract = defineApiContract({
|
|
37
|
+
method: 'post',
|
|
38
|
+
pathResolver: () => '/api/v1/initiatives',
|
|
39
|
+
requestBodySchema: createInitiativeJobSchema,
|
|
40
|
+
responsesByStatusCode: { 202: initiativeAcceptedSchema, ...errorResponses },
|
|
41
|
+
});
|
|
42
|
+
export const getPublicJobContract = defineApiContract({
|
|
43
|
+
method: 'get',
|
|
44
|
+
requestPathParamsSchema: idParams,
|
|
45
|
+
pathResolver: ({ id }) => `/api/v1/jobs/${id}`,
|
|
46
|
+
responsesByStatusCode: { 200: publicJobSchema, ...errorResponses },
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=public-api.js.map
|
|
@@ -0,0 +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,GAChB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,4CAA4C;AAC5C,EAAE;AACF,gFAAgF;AAChF,iFAAiF;AACjF,mFAAmF;AACnF,8DAA8D;AAC9D,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,8EAA8E;AAE9E,MAAM,QAAQ,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA;AAExC,+EAA+E;AAE/E,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACzD,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,GAAG,EAAE,CAAC,kBAAkB;IACtC,qBAAqB,EAAE,EAAE,GAAG,EAAE,4BAA4B,EAAE,GAAG,cAAc,EAAE;CAChF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IAC1D,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,kBAAkB;IACtC,iBAAiB,EAAE,wBAAwB;IAC3C,qBAAqB,EAAE,EAAE,GAAG,EAAE,yBAAyB,EAAE,GAAG,cAAc,EAAE;CAC7E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IAC1D,MAAM,EAAE,QAAQ;IAChB,uBAAuB,EAAE,QAAQ;IACjC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,oBAAoB,EAAE,EAAE;IAClD,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA;AAEF,+EAA+E;AAE/E,MAAM,CAAC,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC3D,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,qBAAqB;IACzC,iBAAiB,EAAE,yBAAyB;IAC5C,qBAAqB,EAAE,EAAE,GAAG,EAAE,wBAAwB,EAAE,GAAG,cAAc,EAAE;CAC5E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACpD,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,QAAQ;IACjC,YAAY,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,gBAAgB,EAAE,EAAE;IAC9C,qBAAqB,EAAE,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,cAAc,EAAE;CACnE,CAAC,CAAA"}
|
package/dist/routes/tasks.d.ts
CHANGED
|
@@ -725,6 +725,7 @@ export declare const createTaskFromIssueContract: {
|
|
|
725
725
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
726
726
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
727
727
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
728
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
728
729
|
}, undefined>;
|
|
729
730
|
readonly task: v.ObjectSchema<{
|
|
730
731
|
readonly source: v.PicklistSchema<["jira", "github", "linear"], undefined>;
|
|
@@ -973,6 +974,7 @@ export declare const spawnEpicContract: {
|
|
|
973
974
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
974
975
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
975
976
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
977
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
976
978
|
}, undefined>;
|
|
977
979
|
readonly tasks: v.ArraySchema<v.ObjectSchema<{
|
|
978
980
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1158,6 +1160,7 @@ export declare const spawnEpicContract: {
|
|
|
1158
1160
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1159
1161
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
1160
1162
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
1163
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1161
1164
|
}, undefined>, undefined>;
|
|
1162
1165
|
}, undefined>;
|
|
1163
1166
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../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,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
|
|
@@ -363,6 +363,9 @@ export declare const approveVisualConfirmContract: {
|
|
|
363
363
|
readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
364
364
|
readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
365
365
|
}, undefined>, undefined>, undefined>;
|
|
366
|
+
readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
367
|
+
readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
368
|
+
}, undefined>, undefined>, undefined>;
|
|
366
369
|
readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
367
370
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
368
371
|
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
@@ -530,6 +533,7 @@ export declare const approveVisualConfirmContract: {
|
|
|
530
533
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
531
534
|
}, undefined>, undefined>, undefined>;
|
|
532
535
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
536
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
533
537
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
534
538
|
}, undefined>;
|
|
535
539
|
};
|
|
@@ -899,6 +903,9 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
899
903
|
readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
900
904
|
readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
901
905
|
}, undefined>, undefined>, undefined>;
|
|
906
|
+
readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
907
|
+
readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
908
|
+
}, undefined>, undefined>, undefined>;
|
|
902
909
|
readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
903
910
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
904
911
|
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
@@ -1066,6 +1073,7 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1066
1073
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1067
1074
|
}, undefined>, undefined>, undefined>;
|
|
1068
1075
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1076
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1069
1077
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1070
1078
|
}, undefined>;
|
|
1071
1079
|
};
|
|
@@ -1433,6 +1441,9 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
1433
1441
|
readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1434
1442
|
readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1435
1443
|
}, undefined>, undefined>, undefined>;
|
|
1444
|
+
readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1445
|
+
readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1446
|
+
}, undefined>, undefined>, undefined>;
|
|
1436
1447
|
readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1437
1448
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
1438
1449
|
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
@@ -1600,6 +1611,7 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
1600
1611
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1601
1612
|
}, undefined>, undefined>, undefined>;
|
|
1602
1613
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1614
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1603
1615
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1604
1616
|
}, undefined>;
|
|
1605
1617
|
};
|
|
@@ -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;AAC3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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM1C,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
|
|
@@ -259,6 +259,7 @@ export declare const createWorkspaceContract: {
|
|
|
259
259
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
260
260
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
261
261
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
262
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
262
263
|
}, undefined>, undefined>;
|
|
263
264
|
readonly pipelines: v.ArraySchema<v.ObjectSchema<{
|
|
264
265
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -308,6 +309,7 @@ export declare const createWorkspaceContract: {
|
|
|
308
309
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
309
310
|
readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
310
311
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
312
|
+
readonly public: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
311
313
|
}, undefined>, undefined>;
|
|
312
314
|
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
313
315
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -640,6 +642,9 @@ export declare const createWorkspaceContract: {
|
|
|
640
642
|
readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
641
643
|
readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
642
644
|
}, undefined>, undefined>, undefined>;
|
|
645
|
+
readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
646
|
+
readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
647
|
+
}, undefined>, undefined>, undefined>;
|
|
643
648
|
readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
644
649
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
645
650
|
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
@@ -807,6 +812,7 @@ export declare const createWorkspaceContract: {
|
|
|
807
812
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
808
813
|
}, undefined>, undefined>, undefined>;
|
|
809
814
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
815
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
810
816
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
811
817
|
}, undefined>, undefined>;
|
|
812
818
|
readonly bootstrapJobs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1054,7 +1060,7 @@ export declare const createWorkspaceContract: {
|
|
|
1054
1060
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
1055
1061
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1056
1062
|
readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
|
|
1057
|
-
readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker"], undefined>, undefined>;
|
|
1063
|
+
readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning"], undefined>, undefined>;
|
|
1058
1064
|
}, undefined>;
|
|
1059
1065
|
readonly container: v.BooleanSchema<undefined>;
|
|
1060
1066
|
}, undefined>, undefined>, undefined>;
|
|
@@ -1079,9 +1085,15 @@ export declare const createWorkspaceContract: {
|
|
|
1079
1085
|
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1080
1086
|
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1081
1087
|
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1088
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1082
1089
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1083
|
-
readonly answer: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1090
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1084
1091
|
}, undefined>, undefined>, readonly []>;
|
|
1092
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1093
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1094
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1095
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1096
|
+
}, undefined>, undefined>, undefined>;
|
|
1085
1097
|
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1086
1098
|
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1087
1099
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -1386,6 +1398,7 @@ export declare const getWorkspaceContract: {
|
|
|
1386
1398
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1387
1399
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
1388
1400
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
1401
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1389
1402
|
}, undefined>, undefined>;
|
|
1390
1403
|
readonly pipelines: v.ArraySchema<v.ObjectSchema<{
|
|
1391
1404
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1435,6 +1448,7 @@ export declare const getWorkspaceContract: {
|
|
|
1435
1448
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1436
1449
|
readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1437
1450
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1451
|
+
readonly public: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1438
1452
|
}, undefined>, undefined>;
|
|
1439
1453
|
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
1440
1454
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1767,6 +1781,9 @@ export declare const getWorkspaceContract: {
|
|
|
1767
1781
|
readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1768
1782
|
readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1769
1783
|
}, undefined>, undefined>, undefined>;
|
|
1784
|
+
readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1785
|
+
readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1786
|
+
}, undefined>, undefined>, undefined>;
|
|
1770
1787
|
readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1771
1788
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
1772
1789
|
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
@@ -1934,6 +1951,7 @@ export declare const getWorkspaceContract: {
|
|
|
1934
1951
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1935
1952
|
}, undefined>, undefined>, undefined>;
|
|
1936
1953
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1954
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1937
1955
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1938
1956
|
}, undefined>, undefined>;
|
|
1939
1957
|
readonly bootstrapJobs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -2181,7 +2199,7 @@ export declare const getWorkspaceContract: {
|
|
|
2181
2199
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
2182
2200
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2183
2201
|
readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
|
|
2184
|
-
readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker"], undefined>, undefined>;
|
|
2202
|
+
readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning"], undefined>, undefined>;
|
|
2185
2203
|
}, undefined>;
|
|
2186
2204
|
readonly container: v.BooleanSchema<undefined>;
|
|
2187
2205
|
}, undefined>, undefined>, undefined>;
|
|
@@ -2206,9 +2224,15 @@ export declare const getWorkspaceContract: {
|
|
|
2206
2224
|
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
2207
2225
|
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
2208
2226
|
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2227
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
2209
2228
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2210
|
-
readonly answer: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
2229
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
2211
2230
|
}, undefined>, undefined>, readonly []>;
|
|
2231
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2232
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
2233
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2234
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
2235
|
+
}, undefined>, undefined>, undefined>;
|
|
2212
2236
|
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
2213
2237
|
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2214
2238
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, 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
|
@@ -204,6 +204,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
204
204
|
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
205
205
|
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
206
206
|
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
207
|
+
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
207
208
|
}, undefined>, undefined>;
|
|
208
209
|
readonly pipelines: v.ArraySchema<v.ObjectSchema<{
|
|
209
210
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -253,6 +254,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
253
254
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
254
255
|
readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
255
256
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
257
|
+
readonly public: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
256
258
|
}, undefined>, undefined>;
|
|
257
259
|
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
258
260
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -585,6 +587,9 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
585
587
|
readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
586
588
|
readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
587
589
|
}, undefined>, undefined>, undefined>;
|
|
590
|
+
readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
591
|
+
readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
592
|
+
}, undefined>, undefined>, undefined>;
|
|
588
593
|
readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
589
594
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
590
595
|
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
@@ -752,6 +757,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
752
757
|
readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
753
758
|
}, undefined>, undefined>, undefined>;
|
|
754
759
|
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
760
|
+
readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
755
761
|
readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
756
762
|
}, undefined>, undefined>;
|
|
757
763
|
/**
|
|
@@ -1078,7 +1084,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1078
1084
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
1079
1085
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1080
1086
|
readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
|
|
1081
|
-
readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker"], undefined>, undefined>;
|
|
1087
|
+
readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning"], undefined>, undefined>;
|
|
1082
1088
|
}, undefined>;
|
|
1083
1089
|
readonly container: v.BooleanSchema<undefined>;
|
|
1084
1090
|
}, undefined>, undefined>, undefined>;
|
|
@@ -1147,9 +1153,15 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1147
1153
|
readonly constraints: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1148
1154
|
readonly nonGoals: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, readonly []>;
|
|
1149
1155
|
readonly qa: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1156
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, undefined>;
|
|
1150
1157
|
readonly question: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1151
|
-
readonly answer: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
|
|
1158
|
+
readonly answer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, "">;
|
|
1152
1159
|
}, undefined>, undefined>, readonly []>;
|
|
1160
|
+
readonly interview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1161
|
+
readonly round: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1162
|
+
readonly maxRounds: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1163
|
+
readonly status: v.PicklistSchema<["awaiting", "done"], undefined>;
|
|
1164
|
+
}, undefined>, undefined>, undefined>;
|
|
1153
1165
|
readonly analysisSummary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8000, undefined>]>, "">;
|
|
1154
1166
|
readonly phases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1155
1167
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, 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;AA6B5B,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;AA6B5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aA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