@sixb/server 0.2.1 → 0.2.3
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/README.md +3 -3
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +3 -0
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/shared-access.d.ts +23 -0
- package/dist/auth/shared-access.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +6 -1
- package/dist/connectors/http.d.ts.map +1 -1
- package/dist/index.js +2876 -667
- package/dist/index.js.map +43 -36
- package/dist/live/awareness.d.ts +48 -0
- package/dist/live/awareness.d.ts.map +1 -0
- package/dist/live/room.d.ts +198 -0
- package/dist/live/room.d.ts.map +1 -0
- package/dist/live/rooms.d.ts +67 -0
- package/dist/live/rooms.d.ts.map +1 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +3 -3
- package/dist/routes/agent-approvals.d.ts +21 -11
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +4 -4
- package/dist/routes/agent-computers.d.ts +146 -1
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-runners.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +152 -60
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +2 -1
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +1713 -178
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +21 -21
- package/dist/routes/connector-connection-runs.d.ts +124 -5
- package/dist/routes/connector-connection-runs.d.ts.map +1 -1
- package/dist/routes/connector-connections.d.ts +9 -1
- package/dist/routes/connector-connections.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +5 -5
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/lake.d.ts +91 -0
- package/dist/routes/lake.d.ts.map +1 -0
- package/dist/routes/links.d.ts +6 -6
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/model-generations.d.ts +2 -2
- package/dist/routes/objects.d.ts +6 -6
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +21 -11
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +13 -9
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +27 -27
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/shared-access.d.ts +57 -2
- package/dist/routes/shared-access.d.ts.map +1 -1
- package/dist/routes/status.d.ts +11 -15
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +9 -6
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +7 -7
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +14 -14
- package/dist/routes/ws/artifacts.d.ts +57 -0
- package/dist/routes/ws/artifacts.d.ts.map +1 -0
- package/dist/routes/ws/events.d.ts +8 -7
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/index.d.ts +2 -1
- package/dist/routes/ws/index.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/shared-sockets.d.ts +52 -0
- package/dist/routes/ws/shared-sockets.d.ts.map +1 -0
- package/dist/schemas/actions.d.ts +7 -7
- package/dist/schemas/activity.d.ts +16 -16
- package/dist/schemas/agent-approvals.d.ts +27 -27
- package/dist/schemas/agents.d.ts +642 -196
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +41 -41
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +2106 -127
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +63 -63
- package/dist/schemas/connectors.d.ts +180 -20
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +44 -44
- package/dist/schemas/event-payloads.d.ts +2 -2
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +12 -0
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/lake.d.ts +251 -0
- package/dist/schemas/lake.d.ts.map +1 -0
- package/dist/schemas/lineage.d.ts +56 -56
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/models.d.ts +4 -4
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +14 -14
- package/dist/schemas/pipelines.d.ts +86 -64
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +160 -160
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/shared-access.d.ts +17 -4
- package/dist/schemas/shared-access.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +59 -79
- package/dist/schemas/status.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +38 -22
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/telemetry.d.ts +26 -26
- package/dist/schemas/workflows.d.ts +71 -71
- package/dist/server.d.ts +13 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +3 -0
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +11 -7
- package/src/artifacts/frame.ts +4 -13
- package/src/auth/scope.ts +10 -1
- package/src/auth/shared-access.ts +108 -12
- package/src/connectors/http.ts +35 -1
- package/src/live/README.md +136 -0
- package/src/live/awareness.ts +141 -0
- package/src/live/room.ts +933 -0
- package/src/live/rooms.ts +288 -0
- package/src/registerRoutes.ts +2 -0
- package/src/routes/agent-computers.ts +208 -14
- package/src/routes/agent-runners.ts +1 -0
- package/src/routes/agents.ts +52 -7
- package/src/routes/artifact-frames.ts +40 -12
- package/src/routes/artifacts.ts +713 -28
- package/src/routes/connector-connection-runs.ts +7 -12
- package/src/routes/connector-connections.ts +10 -7
- package/src/routes/lake.ts +73 -0
- package/src/routes/objects.ts +3 -9
- package/src/routes/pipelines.ts +1 -0
- package/src/routes/shared-access.ts +53 -1
- package/src/routes/status.ts +9 -4
- package/src/routes/syncs.ts +1 -0
- package/src/routes/webhooks.ts +44 -3
- package/src/routes/ws/artifacts.ts +138 -0
- package/src/routes/ws/events.ts +7 -2
- package/src/routes/ws/index.ts +13 -2
- package/src/routes/ws/shared-sockets.ts +152 -0
- package/src/schemas/agents.ts +71 -1
- package/src/schemas/ai-accounting.ts +1 -0
- package/src/schemas/artifacts.ts +255 -18
- package/src/schemas/connectors.ts +17 -2
- package/src/schemas/files.ts +12 -0
- package/src/schemas/lake.ts +53 -0
- package/src/schemas/objects.ts +1 -0
- package/src/schemas/pipelines.ts +2 -0
- package/src/schemas/projections.ts +2 -2
- package/src/schemas/shared-access.ts +16 -0
- package/src/schemas/status.ts +16 -22
- package/src/schemas/syncs.ts +2 -0
- package/src/server.ts +35 -4
- package/src/utils/ws.ts +7 -0
|
@@ -41,6 +41,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
41
41
|
type: "user" | "serviceAccount" | "system";
|
|
42
42
|
};
|
|
43
43
|
updatedAt: string;
|
|
44
|
+
revision: number;
|
|
44
45
|
latestVersion: number;
|
|
45
46
|
}[];
|
|
46
47
|
hasMore: boolean;
|
|
@@ -51,10 +52,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
51
52
|
code?: string | undefined;
|
|
52
53
|
latest?: {
|
|
53
54
|
version: number;
|
|
55
|
+
revision: number;
|
|
54
56
|
author: {
|
|
55
57
|
id: string;
|
|
56
58
|
type: "user" | "serviceAccount" | "system";
|
|
57
59
|
};
|
|
60
|
+
frozenBy?: {
|
|
61
|
+
id: string;
|
|
62
|
+
type: "user" | "serviceAccount" | "system";
|
|
63
|
+
} | undefined;
|
|
58
64
|
} | undefined;
|
|
59
65
|
};
|
|
60
66
|
501: {
|
|
@@ -62,10 +68,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
62
68
|
code?: string | undefined;
|
|
63
69
|
latest?: {
|
|
64
70
|
version: number;
|
|
71
|
+
revision: number;
|
|
65
72
|
author: {
|
|
66
73
|
id: string;
|
|
67
74
|
type: "user" | "serviceAccount" | "system";
|
|
68
75
|
};
|
|
76
|
+
frozenBy?: {
|
|
77
|
+
id: string;
|
|
78
|
+
type: "user" | "serviceAccount" | "system";
|
|
79
|
+
} | undefined;
|
|
69
80
|
} | undefined;
|
|
70
81
|
};
|
|
71
82
|
422: {
|
|
@@ -89,7 +100,6 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
89
100
|
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
90
101
|
title: string;
|
|
91
102
|
files: {
|
|
92
|
-
path: string;
|
|
93
103
|
file: {
|
|
94
104
|
blobId: string;
|
|
95
105
|
digest: string;
|
|
@@ -98,6 +108,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
98
108
|
mediaType?: string | undefined;
|
|
99
109
|
logicalPath?: string | undefined;
|
|
100
110
|
};
|
|
111
|
+
path: string;
|
|
101
112
|
}[];
|
|
102
113
|
};
|
|
103
114
|
params: {};
|
|
@@ -109,12 +120,25 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
109
120
|
code?: import("@sixb/core").SixbErrorCode;
|
|
110
121
|
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
111
122
|
} | {
|
|
123
|
+
artifact: {
|
|
124
|
+
projectId: string;
|
|
125
|
+
id: string;
|
|
126
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
127
|
+
title: string;
|
|
128
|
+
createdAt: string;
|
|
129
|
+
owner: {
|
|
130
|
+
id: string;
|
|
131
|
+
type: "user" | "serviceAccount" | "system";
|
|
132
|
+
};
|
|
133
|
+
updatedAt: string;
|
|
134
|
+
revision: number;
|
|
135
|
+
latestVersion: number;
|
|
136
|
+
};
|
|
112
137
|
version: {
|
|
113
138
|
title: string;
|
|
114
139
|
version: number;
|
|
115
140
|
createdAt: string;
|
|
116
141
|
files: {
|
|
117
|
-
path: string;
|
|
118
142
|
file: {
|
|
119
143
|
blobId: string;
|
|
120
144
|
digest: string;
|
|
@@ -123,12 +147,16 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
123
147
|
mediaType?: string | undefined;
|
|
124
148
|
logicalPath?: string | undefined;
|
|
125
149
|
};
|
|
150
|
+
path: string;
|
|
126
151
|
}[];
|
|
152
|
+
updatedAt: string;
|
|
153
|
+
revision: number;
|
|
127
154
|
author: {
|
|
128
155
|
id: string;
|
|
129
156
|
type: "user" | "serviceAccount" | "system";
|
|
130
157
|
};
|
|
131
158
|
artifactId: string;
|
|
159
|
+
frozen: boolean;
|
|
132
160
|
entry: string;
|
|
133
161
|
outline: {
|
|
134
162
|
kind: "document";
|
|
@@ -157,17 +185,19 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
157
185
|
} | {
|
|
158
186
|
kind: "canvas";
|
|
159
187
|
items: ({
|
|
188
|
+
file: string;
|
|
160
189
|
id: string;
|
|
161
190
|
type: "board";
|
|
162
|
-
file: string;
|
|
163
191
|
w: number;
|
|
164
192
|
h: number;
|
|
165
193
|
title?: string | undefined;
|
|
194
|
+
renderKey?: string | undefined;
|
|
166
195
|
} | {
|
|
167
196
|
id: string;
|
|
168
197
|
type: "section";
|
|
169
198
|
title?: string | undefined;
|
|
170
199
|
})[];
|
|
200
|
+
themes?: ("light" | "dark")[] | undefined;
|
|
171
201
|
} | {
|
|
172
202
|
kind: "file";
|
|
173
203
|
mediaType: string;
|
|
@@ -182,25 +212,18 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
182
212
|
runId: string;
|
|
183
213
|
threadId: string;
|
|
184
214
|
} | undefined;
|
|
215
|
+
frozenAt?: string | undefined;
|
|
216
|
+
frozenBy?: {
|
|
217
|
+
id: string;
|
|
218
|
+
type: "user" | "serviceAccount" | "system";
|
|
219
|
+
} | undefined;
|
|
220
|
+
boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
|
|
185
221
|
};
|
|
186
222
|
warnings: {
|
|
187
223
|
code: string;
|
|
188
224
|
message: string;
|
|
189
225
|
part?: string | undefined;
|
|
190
226
|
}[];
|
|
191
|
-
artifact: {
|
|
192
|
-
projectId: string;
|
|
193
|
-
id: string;
|
|
194
|
-
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
195
|
-
title: string;
|
|
196
|
-
createdAt: string;
|
|
197
|
-
owner: {
|
|
198
|
-
id: string;
|
|
199
|
-
type: "user" | "serviceAccount" | "system";
|
|
200
|
-
};
|
|
201
|
-
updatedAt: string;
|
|
202
|
-
latestVersion: number;
|
|
203
|
-
};
|
|
204
227
|
} | {
|
|
205
228
|
error: string;
|
|
206
229
|
code: string;
|
|
@@ -210,10 +233,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
210
233
|
code?: string | undefined;
|
|
211
234
|
latest?: {
|
|
212
235
|
version: number;
|
|
236
|
+
revision: number;
|
|
213
237
|
author: {
|
|
214
238
|
id: string;
|
|
215
239
|
type: "user" | "serviceAccount" | "system";
|
|
216
240
|
};
|
|
241
|
+
frozenBy?: {
|
|
242
|
+
id: string;
|
|
243
|
+
type: "user" | "serviceAccount" | "system";
|
|
244
|
+
} | undefined;
|
|
217
245
|
} | undefined;
|
|
218
246
|
};
|
|
219
247
|
403: {
|
|
@@ -221,10 +249,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
221
249
|
code?: string | undefined;
|
|
222
250
|
latest?: {
|
|
223
251
|
version: number;
|
|
252
|
+
revision: number;
|
|
224
253
|
author: {
|
|
225
254
|
id: string;
|
|
226
255
|
type: "user" | "serviceAccount" | "system";
|
|
227
256
|
};
|
|
257
|
+
frozenBy?: {
|
|
258
|
+
id: string;
|
|
259
|
+
type: "user" | "serviceAccount" | "system";
|
|
260
|
+
} | undefined;
|
|
228
261
|
} | undefined;
|
|
229
262
|
};
|
|
230
263
|
409: {
|
|
@@ -232,10 +265,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
232
265
|
code?: string | undefined;
|
|
233
266
|
latest?: {
|
|
234
267
|
version: number;
|
|
268
|
+
revision: number;
|
|
235
269
|
author: {
|
|
236
270
|
id: string;
|
|
237
271
|
type: "user" | "serviceAccount" | "system";
|
|
238
272
|
};
|
|
273
|
+
frozenBy?: {
|
|
274
|
+
id: string;
|
|
275
|
+
type: "user" | "serviceAccount" | "system";
|
|
276
|
+
} | undefined;
|
|
239
277
|
} | undefined;
|
|
240
278
|
};
|
|
241
279
|
400: {
|
|
@@ -243,10 +281,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
243
281
|
code?: string | undefined;
|
|
244
282
|
latest?: {
|
|
245
283
|
version: number;
|
|
284
|
+
revision: number;
|
|
246
285
|
author: {
|
|
247
286
|
id: string;
|
|
248
287
|
type: "user" | "serviceAccount" | "system";
|
|
249
288
|
};
|
|
289
|
+
frozenBy?: {
|
|
290
|
+
id: string;
|
|
291
|
+
type: "user" | "serviceAccount" | "system";
|
|
292
|
+
} | undefined;
|
|
250
293
|
} | undefined;
|
|
251
294
|
};
|
|
252
295
|
501: {
|
|
@@ -254,19 +297,37 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
254
297
|
code?: string | undefined;
|
|
255
298
|
latest?: {
|
|
256
299
|
version: number;
|
|
300
|
+
revision: number;
|
|
257
301
|
author: {
|
|
258
302
|
id: string;
|
|
259
303
|
type: "user" | "serviceAccount" | "system";
|
|
260
304
|
};
|
|
305
|
+
frozenBy?: {
|
|
306
|
+
id: string;
|
|
307
|
+
type: "user" | "serviceAccount" | "system";
|
|
308
|
+
} | undefined;
|
|
261
309
|
} | undefined;
|
|
262
310
|
};
|
|
263
311
|
201: {
|
|
312
|
+
artifact: {
|
|
313
|
+
projectId: string;
|
|
314
|
+
id: string;
|
|
315
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
316
|
+
title: string;
|
|
317
|
+
createdAt: string;
|
|
318
|
+
owner: {
|
|
319
|
+
id: string;
|
|
320
|
+
type: "user" | "serviceAccount" | "system";
|
|
321
|
+
};
|
|
322
|
+
updatedAt: string;
|
|
323
|
+
revision: number;
|
|
324
|
+
latestVersion: number;
|
|
325
|
+
};
|
|
264
326
|
version: {
|
|
265
327
|
title: string;
|
|
266
328
|
version: number;
|
|
267
329
|
createdAt: string;
|
|
268
330
|
files: {
|
|
269
|
-
path: string;
|
|
270
331
|
file: {
|
|
271
332
|
blobId: string;
|
|
272
333
|
digest: string;
|
|
@@ -275,12 +336,16 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
275
336
|
mediaType?: string | undefined;
|
|
276
337
|
logicalPath?: string | undefined;
|
|
277
338
|
};
|
|
339
|
+
path: string;
|
|
278
340
|
}[];
|
|
341
|
+
updatedAt: string;
|
|
342
|
+
revision: number;
|
|
279
343
|
author: {
|
|
280
344
|
id: string;
|
|
281
345
|
type: "user" | "serviceAccount" | "system";
|
|
282
346
|
};
|
|
283
347
|
artifactId: string;
|
|
348
|
+
frozen: boolean;
|
|
284
349
|
entry: string;
|
|
285
350
|
outline: {
|
|
286
351
|
kind: "document";
|
|
@@ -309,17 +374,19 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
309
374
|
} | {
|
|
310
375
|
kind: "canvas";
|
|
311
376
|
items: ({
|
|
377
|
+
file: string;
|
|
312
378
|
id: string;
|
|
313
379
|
type: "board";
|
|
314
|
-
file: string;
|
|
315
380
|
w: number;
|
|
316
381
|
h: number;
|
|
317
382
|
title?: string | undefined;
|
|
383
|
+
renderKey?: string | undefined;
|
|
318
384
|
} | {
|
|
319
385
|
id: string;
|
|
320
386
|
type: "section";
|
|
321
387
|
title?: string | undefined;
|
|
322
388
|
})[];
|
|
389
|
+
themes?: ("light" | "dark")[] | undefined;
|
|
323
390
|
} | {
|
|
324
391
|
kind: "file";
|
|
325
392
|
mediaType: string;
|
|
@@ -334,25 +401,18 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
334
401
|
runId: string;
|
|
335
402
|
threadId: string;
|
|
336
403
|
} | undefined;
|
|
404
|
+
frozenAt?: string | undefined;
|
|
405
|
+
frozenBy?: {
|
|
406
|
+
id: string;
|
|
407
|
+
type: "user" | "serviceAccount" | "system";
|
|
408
|
+
} | undefined;
|
|
409
|
+
boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
|
|
337
410
|
};
|
|
338
411
|
warnings: {
|
|
339
412
|
code: string;
|
|
340
413
|
message: string;
|
|
341
414
|
part?: string | undefined;
|
|
342
415
|
}[];
|
|
343
|
-
artifact: {
|
|
344
|
-
projectId: string;
|
|
345
|
-
id: string;
|
|
346
|
-
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
347
|
-
title: string;
|
|
348
|
-
createdAt: string;
|
|
349
|
-
owner: {
|
|
350
|
-
id: string;
|
|
351
|
-
type: "user" | "serviceAccount" | "system";
|
|
352
|
-
};
|
|
353
|
-
updatedAt: string;
|
|
354
|
-
latestVersion: number;
|
|
355
|
-
};
|
|
356
416
|
};
|
|
357
417
|
422: {
|
|
358
418
|
type: "validation";
|
|
@@ -391,32 +451,46 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
391
451
|
type: "user" | "serviceAccount" | "system";
|
|
392
452
|
};
|
|
393
453
|
updatedAt: string;
|
|
454
|
+
revision: number;
|
|
394
455
|
latestVersion: number;
|
|
395
456
|
};
|
|
457
|
+
access: "read" | "owner" | "update";
|
|
396
458
|
versions: {
|
|
397
459
|
title: string;
|
|
398
460
|
version: number;
|
|
399
461
|
createdAt: string;
|
|
462
|
+
updatedAt: string;
|
|
463
|
+
revision: number;
|
|
400
464
|
author: {
|
|
401
465
|
id: string;
|
|
402
466
|
type: "user" | "serviceAccount" | "system";
|
|
403
467
|
};
|
|
468
|
+
frozen: boolean;
|
|
404
469
|
origin?: {
|
|
405
470
|
runId: string;
|
|
406
471
|
threadId: string;
|
|
407
472
|
} | undefined;
|
|
473
|
+
frozenAt?: string | undefined;
|
|
474
|
+
frozenBy?: {
|
|
475
|
+
id: string;
|
|
476
|
+
type: "user" | "serviceAccount" | "system";
|
|
477
|
+
} | undefined;
|
|
408
478
|
}[];
|
|
409
|
-
access: "owner" | "read" | "update";
|
|
410
479
|
};
|
|
411
480
|
404: {
|
|
412
481
|
error: string;
|
|
413
482
|
code?: string | undefined;
|
|
414
483
|
latest?: {
|
|
415
484
|
version: number;
|
|
485
|
+
revision: number;
|
|
416
486
|
author: {
|
|
417
487
|
id: string;
|
|
418
488
|
type: "user" | "serviceAccount" | "system";
|
|
419
489
|
};
|
|
490
|
+
frozenBy?: {
|
|
491
|
+
id: string;
|
|
492
|
+
type: "user" | "serviceAccount" | "system";
|
|
493
|
+
} | undefined;
|
|
420
494
|
} | undefined;
|
|
421
495
|
};
|
|
422
496
|
403: {
|
|
@@ -424,10 +498,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
424
498
|
code?: string | undefined;
|
|
425
499
|
latest?: {
|
|
426
500
|
version: number;
|
|
501
|
+
revision: number;
|
|
427
502
|
author: {
|
|
428
503
|
id: string;
|
|
429
504
|
type: "user" | "serviceAccount" | "system";
|
|
430
505
|
};
|
|
506
|
+
frozenBy?: {
|
|
507
|
+
id: string;
|
|
508
|
+
type: "user" | "serviceAccount" | "system";
|
|
509
|
+
} | undefined;
|
|
431
510
|
} | undefined;
|
|
432
511
|
};
|
|
433
512
|
501: {
|
|
@@ -435,10 +514,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
435
514
|
code?: string | undefined;
|
|
436
515
|
latest?: {
|
|
437
516
|
version: number;
|
|
517
|
+
revision: number;
|
|
438
518
|
author: {
|
|
439
519
|
id: string;
|
|
440
520
|
type: "user" | "serviceAccount" | "system";
|
|
441
521
|
};
|
|
522
|
+
frozenBy?: {
|
|
523
|
+
id: string;
|
|
524
|
+
type: "user" | "serviceAccount" | "system";
|
|
525
|
+
} | undefined;
|
|
442
526
|
} | undefined;
|
|
443
527
|
};
|
|
444
528
|
422: {
|
|
@@ -455,6 +539,91 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
455
539
|
};
|
|
456
540
|
};
|
|
457
541
|
};
|
|
542
|
+
} & {
|
|
543
|
+
api: {
|
|
544
|
+
artifacts: {
|
|
545
|
+
":artifactId": {
|
|
546
|
+
holders: {
|
|
547
|
+
get: {
|
|
548
|
+
body: unknown;
|
|
549
|
+
params: {
|
|
550
|
+
artifactId: string;
|
|
551
|
+
};
|
|
552
|
+
query: unknown;
|
|
553
|
+
headers: unknown;
|
|
554
|
+
response: {
|
|
555
|
+
200: {
|
|
556
|
+
hasMore: boolean;
|
|
557
|
+
holders: {
|
|
558
|
+
objectTypeId: string;
|
|
559
|
+
primaryId: string;
|
|
560
|
+
propertyId: string;
|
|
561
|
+
title?: string | undefined;
|
|
562
|
+
}[];
|
|
563
|
+
};
|
|
564
|
+
404: {
|
|
565
|
+
error: string;
|
|
566
|
+
code?: string | undefined;
|
|
567
|
+
latest?: {
|
|
568
|
+
version: number;
|
|
569
|
+
revision: number;
|
|
570
|
+
author: {
|
|
571
|
+
id: string;
|
|
572
|
+
type: "user" | "serviceAccount" | "system";
|
|
573
|
+
};
|
|
574
|
+
frozenBy?: {
|
|
575
|
+
id: string;
|
|
576
|
+
type: "user" | "serviceAccount" | "system";
|
|
577
|
+
} | undefined;
|
|
578
|
+
} | undefined;
|
|
579
|
+
};
|
|
580
|
+
403: {
|
|
581
|
+
error: string;
|
|
582
|
+
code?: string | undefined;
|
|
583
|
+
latest?: {
|
|
584
|
+
version: number;
|
|
585
|
+
revision: number;
|
|
586
|
+
author: {
|
|
587
|
+
id: string;
|
|
588
|
+
type: "user" | "serviceAccount" | "system";
|
|
589
|
+
};
|
|
590
|
+
frozenBy?: {
|
|
591
|
+
id: string;
|
|
592
|
+
type: "user" | "serviceAccount" | "system";
|
|
593
|
+
} | undefined;
|
|
594
|
+
} | undefined;
|
|
595
|
+
};
|
|
596
|
+
501: {
|
|
597
|
+
error: string;
|
|
598
|
+
code?: string | undefined;
|
|
599
|
+
latest?: {
|
|
600
|
+
version: number;
|
|
601
|
+
revision: number;
|
|
602
|
+
author: {
|
|
603
|
+
id: string;
|
|
604
|
+
type: "user" | "serviceAccount" | "system";
|
|
605
|
+
};
|
|
606
|
+
frozenBy?: {
|
|
607
|
+
id: string;
|
|
608
|
+
type: "user" | "serviceAccount" | "system";
|
|
609
|
+
} | undefined;
|
|
610
|
+
} | undefined;
|
|
611
|
+
};
|
|
612
|
+
422: {
|
|
613
|
+
type: "validation";
|
|
614
|
+
on: string;
|
|
615
|
+
summary?: string;
|
|
616
|
+
message?: string;
|
|
617
|
+
found?: unknown;
|
|
618
|
+
property?: string;
|
|
619
|
+
expected?: string;
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
};
|
|
458
627
|
} & {
|
|
459
628
|
api: {
|
|
460
629
|
artifacts: {
|
|
@@ -475,10 +644,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
475
644
|
code?: string | undefined;
|
|
476
645
|
latest?: {
|
|
477
646
|
version: number;
|
|
647
|
+
revision: number;
|
|
478
648
|
author: {
|
|
479
649
|
id: string;
|
|
480
650
|
type: "user" | "serviceAccount" | "system";
|
|
481
651
|
};
|
|
652
|
+
frozenBy?: {
|
|
653
|
+
id: string;
|
|
654
|
+
type: "user" | "serviceAccount" | "system";
|
|
655
|
+
} | undefined;
|
|
482
656
|
} | undefined;
|
|
483
657
|
};
|
|
484
658
|
403: {
|
|
@@ -486,10 +660,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
486
660
|
code?: string | undefined;
|
|
487
661
|
latest?: {
|
|
488
662
|
version: number;
|
|
663
|
+
revision: number;
|
|
489
664
|
author: {
|
|
490
665
|
id: string;
|
|
491
666
|
type: "user" | "serviceAccount" | "system";
|
|
492
667
|
};
|
|
668
|
+
frozenBy?: {
|
|
669
|
+
id: string;
|
|
670
|
+
type: "user" | "serviceAccount" | "system";
|
|
671
|
+
} | undefined;
|
|
493
672
|
} | undefined;
|
|
494
673
|
};
|
|
495
674
|
501: {
|
|
@@ -497,10 +676,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
497
676
|
code?: string | undefined;
|
|
498
677
|
latest?: {
|
|
499
678
|
version: number;
|
|
679
|
+
revision: number;
|
|
500
680
|
author: {
|
|
501
681
|
id: string;
|
|
502
682
|
type: "user" | "serviceAccount" | "system";
|
|
503
683
|
};
|
|
684
|
+
frozenBy?: {
|
|
685
|
+
id: string;
|
|
686
|
+
type: "user" | "serviceAccount" | "system";
|
|
687
|
+
} | undefined;
|
|
504
688
|
} | undefined;
|
|
505
689
|
};
|
|
506
690
|
422: {
|
|
@@ -542,10 +726,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
542
726
|
code?: string | undefined;
|
|
543
727
|
latest?: {
|
|
544
728
|
version: number;
|
|
729
|
+
revision: number;
|
|
545
730
|
author: {
|
|
546
731
|
id: string;
|
|
547
732
|
type: "user" | "serviceAccount" | "system";
|
|
548
733
|
};
|
|
734
|
+
frozenBy?: {
|
|
735
|
+
id: string;
|
|
736
|
+
type: "user" | "serviceAccount" | "system";
|
|
737
|
+
} | undefined;
|
|
549
738
|
} | undefined;
|
|
550
739
|
};
|
|
551
740
|
403: {
|
|
@@ -553,10 +742,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
553
742
|
code?: string | undefined;
|
|
554
743
|
latest?: {
|
|
555
744
|
version: number;
|
|
745
|
+
revision: number;
|
|
556
746
|
author: {
|
|
557
747
|
id: string;
|
|
558
748
|
type: "user" | "serviceAccount" | "system";
|
|
559
749
|
};
|
|
750
|
+
frozenBy?: {
|
|
751
|
+
id: string;
|
|
752
|
+
type: "user" | "serviceAccount" | "system";
|
|
753
|
+
} | undefined;
|
|
560
754
|
} | undefined;
|
|
561
755
|
};
|
|
562
756
|
501: {
|
|
@@ -564,10 +758,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
564
758
|
code?: string | undefined;
|
|
565
759
|
latest?: {
|
|
566
760
|
version: number;
|
|
761
|
+
revision: number;
|
|
567
762
|
author: {
|
|
568
763
|
id: string;
|
|
569
764
|
type: "user" | "serviceAccount" | "system";
|
|
570
765
|
};
|
|
766
|
+
frozenBy?: {
|
|
767
|
+
id: string;
|
|
768
|
+
type: "user" | "serviceAccount" | "system";
|
|
769
|
+
} | undefined;
|
|
571
770
|
} | undefined;
|
|
572
771
|
};
|
|
573
772
|
422: {
|
|
@@ -612,10 +811,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
612
811
|
code?: string | undefined;
|
|
613
812
|
latest?: {
|
|
614
813
|
version: number;
|
|
814
|
+
revision: number;
|
|
615
815
|
author: {
|
|
616
816
|
id: string;
|
|
617
817
|
type: "user" | "serviceAccount" | "system";
|
|
618
818
|
};
|
|
819
|
+
frozenBy?: {
|
|
820
|
+
id: string;
|
|
821
|
+
type: "user" | "serviceAccount" | "system";
|
|
822
|
+
} | undefined;
|
|
619
823
|
} | undefined;
|
|
620
824
|
};
|
|
621
825
|
403: {
|
|
@@ -623,10 +827,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
623
827
|
code?: string | undefined;
|
|
624
828
|
latest?: {
|
|
625
829
|
version: number;
|
|
830
|
+
revision: number;
|
|
626
831
|
author: {
|
|
627
832
|
id: string;
|
|
628
833
|
type: "user" | "serviceAccount" | "system";
|
|
629
834
|
};
|
|
835
|
+
frozenBy?: {
|
|
836
|
+
id: string;
|
|
837
|
+
type: "user" | "serviceAccount" | "system";
|
|
838
|
+
} | undefined;
|
|
630
839
|
} | undefined;
|
|
631
840
|
};
|
|
632
841
|
400: {
|
|
@@ -634,10 +843,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
634
843
|
code?: string | undefined;
|
|
635
844
|
latest?: {
|
|
636
845
|
version: number;
|
|
846
|
+
revision: number;
|
|
637
847
|
author: {
|
|
638
848
|
id: string;
|
|
639
849
|
type: "user" | "serviceAccount" | "system";
|
|
640
850
|
};
|
|
851
|
+
frozenBy?: {
|
|
852
|
+
id: string;
|
|
853
|
+
type: "user" | "serviceAccount" | "system";
|
|
854
|
+
} | undefined;
|
|
641
855
|
} | undefined;
|
|
642
856
|
};
|
|
643
857
|
501: {
|
|
@@ -645,10 +859,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
645
859
|
code?: string | undefined;
|
|
646
860
|
latest?: {
|
|
647
861
|
version: number;
|
|
862
|
+
revision: number;
|
|
648
863
|
author: {
|
|
649
864
|
id: string;
|
|
650
865
|
type: "user" | "serviceAccount" | "system";
|
|
651
866
|
};
|
|
867
|
+
frozenBy?: {
|
|
868
|
+
id: string;
|
|
869
|
+
type: "user" | "serviceAccount" | "system";
|
|
870
|
+
} | undefined;
|
|
652
871
|
} | undefined;
|
|
653
872
|
};
|
|
654
873
|
413: {
|
|
@@ -656,10 +875,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
656
875
|
code?: string | undefined;
|
|
657
876
|
latest?: {
|
|
658
877
|
version: number;
|
|
878
|
+
revision: number;
|
|
659
879
|
author: {
|
|
660
880
|
id: string;
|
|
661
881
|
type: "user" | "serviceAccount" | "system";
|
|
662
882
|
};
|
|
883
|
+
frozenBy?: {
|
|
884
|
+
id: string;
|
|
885
|
+
type: "user" | "serviceAccount" | "system";
|
|
886
|
+
} | undefined;
|
|
663
887
|
} | undefined;
|
|
664
888
|
};
|
|
665
889
|
422: {
|
|
@@ -701,10 +925,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
701
925
|
code?: string | undefined;
|
|
702
926
|
latest?: {
|
|
703
927
|
version: number;
|
|
928
|
+
revision: number;
|
|
704
929
|
author: {
|
|
705
930
|
id: string;
|
|
706
931
|
type: "user" | "serviceAccount" | "system";
|
|
707
932
|
};
|
|
933
|
+
frozenBy?: {
|
|
934
|
+
id: string;
|
|
935
|
+
type: "user" | "serviceAccount" | "system";
|
|
936
|
+
} | undefined;
|
|
708
937
|
} | undefined;
|
|
709
938
|
};
|
|
710
939
|
403: {
|
|
@@ -712,10 +941,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
712
941
|
code?: string | undefined;
|
|
713
942
|
latest?: {
|
|
714
943
|
version: number;
|
|
944
|
+
revision: number;
|
|
715
945
|
author: {
|
|
716
946
|
id: string;
|
|
717
947
|
type: "user" | "serviceAccount" | "system";
|
|
718
948
|
};
|
|
949
|
+
frozenBy?: {
|
|
950
|
+
id: string;
|
|
951
|
+
type: "user" | "serviceAccount" | "system";
|
|
952
|
+
} | undefined;
|
|
719
953
|
} | undefined;
|
|
720
954
|
};
|
|
721
955
|
400: {
|
|
@@ -723,10 +957,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
723
957
|
code?: string | undefined;
|
|
724
958
|
latest?: {
|
|
725
959
|
version: number;
|
|
960
|
+
revision: number;
|
|
726
961
|
author: {
|
|
727
962
|
id: string;
|
|
728
963
|
type: "user" | "serviceAccount" | "system";
|
|
729
964
|
};
|
|
965
|
+
frozenBy?: {
|
|
966
|
+
id: string;
|
|
967
|
+
type: "user" | "serviceAccount" | "system";
|
|
968
|
+
} | undefined;
|
|
730
969
|
} | undefined;
|
|
731
970
|
};
|
|
732
971
|
501: {
|
|
@@ -734,10 +973,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
734
973
|
code?: string | undefined;
|
|
735
974
|
latest?: {
|
|
736
975
|
version: number;
|
|
976
|
+
revision: number;
|
|
737
977
|
author: {
|
|
738
978
|
id: string;
|
|
739
979
|
type: "user" | "serviceAccount" | "system";
|
|
740
980
|
};
|
|
981
|
+
frozenBy?: {
|
|
982
|
+
id: string;
|
|
983
|
+
type: "user" | "serviceAccount" | "system";
|
|
984
|
+
} | undefined;
|
|
741
985
|
} | undefined;
|
|
742
986
|
};
|
|
743
987
|
422: {
|
|
@@ -777,10 +1021,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
777
1021
|
code?: string | undefined;
|
|
778
1022
|
latest?: {
|
|
779
1023
|
version: number;
|
|
1024
|
+
revision: number;
|
|
780
1025
|
author: {
|
|
781
1026
|
id: string;
|
|
782
1027
|
type: "user" | "serviceAccount" | "system";
|
|
783
1028
|
};
|
|
1029
|
+
frozenBy?: {
|
|
1030
|
+
id: string;
|
|
1031
|
+
type: "user" | "serviceAccount" | "system";
|
|
1032
|
+
} | undefined;
|
|
784
1033
|
} | undefined;
|
|
785
1034
|
};
|
|
786
1035
|
403: {
|
|
@@ -788,10 +1037,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
788
1037
|
code?: string | undefined;
|
|
789
1038
|
latest?: {
|
|
790
1039
|
version: number;
|
|
1040
|
+
revision: number;
|
|
791
1041
|
author: {
|
|
792
1042
|
id: string;
|
|
793
1043
|
type: "user" | "serviceAccount" | "system";
|
|
794
1044
|
};
|
|
1045
|
+
frozenBy?: {
|
|
1046
|
+
id: string;
|
|
1047
|
+
type: "user" | "serviceAccount" | "system";
|
|
1048
|
+
} | undefined;
|
|
795
1049
|
} | undefined;
|
|
796
1050
|
};
|
|
797
1051
|
501: {
|
|
@@ -799,10 +1053,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
799
1053
|
code?: string | undefined;
|
|
800
1054
|
latest?: {
|
|
801
1055
|
version: number;
|
|
1056
|
+
revision: number;
|
|
802
1057
|
author: {
|
|
803
1058
|
id: string;
|
|
804
1059
|
type: "user" | "serviceAccount" | "system";
|
|
805
1060
|
};
|
|
1061
|
+
frozenBy?: {
|
|
1062
|
+
id: string;
|
|
1063
|
+
type: "user" | "serviceAccount" | "system";
|
|
1064
|
+
} | undefined;
|
|
806
1065
|
} | undefined;
|
|
807
1066
|
};
|
|
808
1067
|
422: {
|
|
@@ -824,13 +1083,12 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
824
1083
|
api: {
|
|
825
1084
|
artifacts: {
|
|
826
1085
|
":artifactId": {
|
|
827
|
-
|
|
828
|
-
|
|
1086
|
+
content: {
|
|
1087
|
+
put: {
|
|
829
1088
|
body: {
|
|
830
1089
|
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
831
1090
|
title: string;
|
|
832
1091
|
files: {
|
|
833
|
-
path: string;
|
|
834
1092
|
file: {
|
|
835
1093
|
blobId: string;
|
|
836
1094
|
digest: string;
|
|
@@ -839,8 +1097,9 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
839
1097
|
mediaType?: string | undefined;
|
|
840
1098
|
logicalPath?: string | undefined;
|
|
841
1099
|
};
|
|
1100
|
+
path: string;
|
|
842
1101
|
}[];
|
|
843
|
-
|
|
1102
|
+
baseRevision?: number | undefined;
|
|
844
1103
|
};
|
|
845
1104
|
params: {
|
|
846
1105
|
artifactId: string;
|
|
@@ -849,16 +1108,25 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
849
1108
|
headers: unknown;
|
|
850
1109
|
response: {
|
|
851
1110
|
200: {
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
1111
|
+
artifact: {
|
|
1112
|
+
projectId: string;
|
|
1113
|
+
id: string;
|
|
1114
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
1115
|
+
title: string;
|
|
1116
|
+
createdAt: string;
|
|
1117
|
+
owner: {
|
|
1118
|
+
id: string;
|
|
1119
|
+
type: "user" | "serviceAccount" | "system";
|
|
1120
|
+
};
|
|
1121
|
+
updatedAt: string;
|
|
1122
|
+
revision: number;
|
|
1123
|
+
latestVersion: number;
|
|
1124
|
+
};
|
|
856
1125
|
version: {
|
|
857
1126
|
title: string;
|
|
858
1127
|
version: number;
|
|
859
1128
|
createdAt: string;
|
|
860
1129
|
files: {
|
|
861
|
-
path: string;
|
|
862
1130
|
file: {
|
|
863
1131
|
blobId: string;
|
|
864
1132
|
digest: string;
|
|
@@ -867,12 +1135,16 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
867
1135
|
mediaType?: string | undefined;
|
|
868
1136
|
logicalPath?: string | undefined;
|
|
869
1137
|
};
|
|
1138
|
+
path: string;
|
|
870
1139
|
}[];
|
|
1140
|
+
updatedAt: string;
|
|
1141
|
+
revision: number;
|
|
871
1142
|
author: {
|
|
872
1143
|
id: string;
|
|
873
1144
|
type: "user" | "serviceAccount" | "system";
|
|
874
1145
|
};
|
|
875
1146
|
artifactId: string;
|
|
1147
|
+
frozen: boolean;
|
|
876
1148
|
entry: string;
|
|
877
1149
|
outline: {
|
|
878
1150
|
kind: "document";
|
|
@@ -901,17 +1173,19 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
901
1173
|
} | {
|
|
902
1174
|
kind: "canvas";
|
|
903
1175
|
items: ({
|
|
1176
|
+
file: string;
|
|
904
1177
|
id: string;
|
|
905
1178
|
type: "board";
|
|
906
|
-
file: string;
|
|
907
1179
|
w: number;
|
|
908
1180
|
h: number;
|
|
909
1181
|
title?: string | undefined;
|
|
1182
|
+
renderKey?: string | undefined;
|
|
910
1183
|
} | {
|
|
911
1184
|
id: string;
|
|
912
1185
|
type: "section";
|
|
913
1186
|
title?: string | undefined;
|
|
914
1187
|
})[];
|
|
1188
|
+
themes?: ("light" | "dark")[] | undefined;
|
|
915
1189
|
} | {
|
|
916
1190
|
kind: "file";
|
|
917
1191
|
mediaType: string;
|
|
@@ -926,12 +1200,130 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
926
1200
|
runId: string;
|
|
927
1201
|
threadId: string;
|
|
928
1202
|
} | undefined;
|
|
1203
|
+
frozenAt?: string | undefined;
|
|
1204
|
+
frozenBy?: {
|
|
1205
|
+
id: string;
|
|
1206
|
+
type: "user" | "serviceAccount" | "system";
|
|
1207
|
+
} | undefined;
|
|
1208
|
+
boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
|
|
929
1209
|
};
|
|
930
1210
|
warnings: {
|
|
931
1211
|
code: string;
|
|
932
1212
|
message: string;
|
|
933
1213
|
part?: string | undefined;
|
|
934
1214
|
}[];
|
|
1215
|
+
};
|
|
1216
|
+
404: {
|
|
1217
|
+
error: string;
|
|
1218
|
+
code?: string | undefined;
|
|
1219
|
+
latest?: {
|
|
1220
|
+
version: number;
|
|
1221
|
+
revision: number;
|
|
1222
|
+
author: {
|
|
1223
|
+
id: string;
|
|
1224
|
+
type: "user" | "serviceAccount" | "system";
|
|
1225
|
+
};
|
|
1226
|
+
frozenBy?: {
|
|
1227
|
+
id: string;
|
|
1228
|
+
type: "user" | "serviceAccount" | "system";
|
|
1229
|
+
} | undefined;
|
|
1230
|
+
} | undefined;
|
|
1231
|
+
};
|
|
1232
|
+
403: {
|
|
1233
|
+
error: string;
|
|
1234
|
+
code?: string | undefined;
|
|
1235
|
+
latest?: {
|
|
1236
|
+
version: number;
|
|
1237
|
+
revision: number;
|
|
1238
|
+
author: {
|
|
1239
|
+
id: string;
|
|
1240
|
+
type: "user" | "serviceAccount" | "system";
|
|
1241
|
+
};
|
|
1242
|
+
frozenBy?: {
|
|
1243
|
+
id: string;
|
|
1244
|
+
type: "user" | "serviceAccount" | "system";
|
|
1245
|
+
} | undefined;
|
|
1246
|
+
} | undefined;
|
|
1247
|
+
};
|
|
1248
|
+
409: {
|
|
1249
|
+
error: string;
|
|
1250
|
+
code?: string | undefined;
|
|
1251
|
+
latest?: {
|
|
1252
|
+
version: number;
|
|
1253
|
+
revision: number;
|
|
1254
|
+
author: {
|
|
1255
|
+
id: string;
|
|
1256
|
+
type: "user" | "serviceAccount" | "system";
|
|
1257
|
+
};
|
|
1258
|
+
frozenBy?: {
|
|
1259
|
+
id: string;
|
|
1260
|
+
type: "user" | "serviceAccount" | "system";
|
|
1261
|
+
} | undefined;
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
};
|
|
1264
|
+
400: {
|
|
1265
|
+
error: string;
|
|
1266
|
+
code?: string | undefined;
|
|
1267
|
+
latest?: {
|
|
1268
|
+
version: number;
|
|
1269
|
+
revision: number;
|
|
1270
|
+
author: {
|
|
1271
|
+
id: string;
|
|
1272
|
+
type: "user" | "serviceAccount" | "system";
|
|
1273
|
+
};
|
|
1274
|
+
frozenBy?: {
|
|
1275
|
+
id: string;
|
|
1276
|
+
type: "user" | "serviceAccount" | "system";
|
|
1277
|
+
} | undefined;
|
|
1278
|
+
} | undefined;
|
|
1279
|
+
};
|
|
1280
|
+
501: {
|
|
1281
|
+
error: string;
|
|
1282
|
+
code?: string | undefined;
|
|
1283
|
+
latest?: {
|
|
1284
|
+
version: number;
|
|
1285
|
+
revision: number;
|
|
1286
|
+
author: {
|
|
1287
|
+
id: string;
|
|
1288
|
+
type: "user" | "serviceAccount" | "system";
|
|
1289
|
+
};
|
|
1290
|
+
frozenBy?: {
|
|
1291
|
+
id: string;
|
|
1292
|
+
type: "user" | "serviceAccount" | "system";
|
|
1293
|
+
} | undefined;
|
|
1294
|
+
} | undefined;
|
|
1295
|
+
};
|
|
1296
|
+
422: {
|
|
1297
|
+
type: "validation";
|
|
1298
|
+
on: string;
|
|
1299
|
+
summary?: string;
|
|
1300
|
+
message?: string;
|
|
1301
|
+
found?: unknown;
|
|
1302
|
+
property?: string;
|
|
1303
|
+
expected?: string;
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1311
|
+
} & {
|
|
1312
|
+
api: {
|
|
1313
|
+
artifacts: {
|
|
1314
|
+
":artifactId": {
|
|
1315
|
+
freeze: {
|
|
1316
|
+
post: {
|
|
1317
|
+
body: {
|
|
1318
|
+
baseRevision?: number | undefined;
|
|
1319
|
+
};
|
|
1320
|
+
params: {
|
|
1321
|
+
artifactId: string;
|
|
1322
|
+
};
|
|
1323
|
+
query: unknown;
|
|
1324
|
+
headers: unknown;
|
|
1325
|
+
response: {
|
|
1326
|
+
200: {
|
|
935
1327
|
artifact: {
|
|
936
1328
|
projectId: string;
|
|
937
1329
|
id: string;
|
|
@@ -943,21 +1335,109 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
943
1335
|
type: "user" | "serviceAccount" | "system";
|
|
944
1336
|
};
|
|
945
1337
|
updatedAt: string;
|
|
1338
|
+
revision: number;
|
|
946
1339
|
latestVersion: number;
|
|
947
1340
|
};
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
1341
|
+
version: {
|
|
1342
|
+
title: string;
|
|
1343
|
+
version: number;
|
|
1344
|
+
createdAt: string;
|
|
1345
|
+
files: {
|
|
1346
|
+
file: {
|
|
1347
|
+
blobId: string;
|
|
1348
|
+
digest: string;
|
|
1349
|
+
sizeBytes: number;
|
|
1350
|
+
fileName?: string | undefined;
|
|
1351
|
+
mediaType?: string | undefined;
|
|
1352
|
+
logicalPath?: string | undefined;
|
|
1353
|
+
};
|
|
1354
|
+
path: string;
|
|
1355
|
+
}[];
|
|
1356
|
+
updatedAt: string;
|
|
1357
|
+
revision: number;
|
|
1358
|
+
author: {
|
|
1359
|
+
id: string;
|
|
1360
|
+
type: "user" | "serviceAccount" | "system";
|
|
1361
|
+
};
|
|
1362
|
+
artifactId: string;
|
|
1363
|
+
frozen: boolean;
|
|
1364
|
+
entry: string;
|
|
1365
|
+
outline: {
|
|
1366
|
+
kind: "document";
|
|
1367
|
+
headings: {
|
|
1368
|
+
text: string;
|
|
1369
|
+
depth: number;
|
|
1370
|
+
slug: string;
|
|
1371
|
+
}[];
|
|
1372
|
+
} | {
|
|
1373
|
+
kind: "sheet";
|
|
1374
|
+
sheets: {
|
|
1375
|
+
name: string;
|
|
1376
|
+
rows: number;
|
|
1377
|
+
columns: string[];
|
|
1378
|
+
query?: string | undefined;
|
|
1379
|
+
}[];
|
|
1380
|
+
charts: string[];
|
|
1381
|
+
} | {
|
|
1382
|
+
kind: "slides";
|
|
1383
|
+
slides: {
|
|
1384
|
+
title?: string | undefined;
|
|
1385
|
+
}[];
|
|
1386
|
+
} | {
|
|
1387
|
+
kind: "page";
|
|
1388
|
+
title?: string | undefined;
|
|
1389
|
+
} | {
|
|
1390
|
+
kind: "canvas";
|
|
1391
|
+
items: ({
|
|
1392
|
+
file: string;
|
|
1393
|
+
id: string;
|
|
1394
|
+
type: "board";
|
|
1395
|
+
w: number;
|
|
1396
|
+
h: number;
|
|
1397
|
+
title?: string | undefined;
|
|
1398
|
+
renderKey?: string | undefined;
|
|
1399
|
+
} | {
|
|
1400
|
+
id: string;
|
|
1401
|
+
type: "section";
|
|
1402
|
+
title?: string | undefined;
|
|
1403
|
+
})[];
|
|
1404
|
+
themes?: ("light" | "dark")[] | undefined;
|
|
1405
|
+
} | {
|
|
1406
|
+
kind: "file";
|
|
1407
|
+
mediaType: string;
|
|
1408
|
+
};
|
|
1409
|
+
references: {
|
|
1410
|
+
at: string;
|
|
1411
|
+
address: string;
|
|
1412
|
+
as: "link" | "embed";
|
|
1413
|
+
resolvedVersion: number;
|
|
1414
|
+
}[];
|
|
1415
|
+
origin?: {
|
|
1416
|
+
runId: string;
|
|
1417
|
+
threadId: string;
|
|
1418
|
+
} | undefined;
|
|
1419
|
+
frozenAt?: string | undefined;
|
|
1420
|
+
frozenBy?: {
|
|
1421
|
+
id: string;
|
|
1422
|
+
type: "user" | "serviceAccount" | "system";
|
|
1423
|
+
} | undefined;
|
|
1424
|
+
boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
|
|
1425
|
+
};
|
|
951
1426
|
};
|
|
952
1427
|
404: {
|
|
953
1428
|
error: string;
|
|
954
1429
|
code?: string | undefined;
|
|
955
1430
|
latest?: {
|
|
956
1431
|
version: number;
|
|
1432
|
+
revision: number;
|
|
957
1433
|
author: {
|
|
958
1434
|
id: string;
|
|
959
1435
|
type: "user" | "serviceAccount" | "system";
|
|
960
1436
|
};
|
|
1437
|
+
frozenBy?: {
|
|
1438
|
+
id: string;
|
|
1439
|
+
type: "user" | "serviceAccount" | "system";
|
|
1440
|
+
} | undefined;
|
|
961
1441
|
} | undefined;
|
|
962
1442
|
};
|
|
963
1443
|
403: {
|
|
@@ -965,148 +1445,1103 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
965
1445
|
code?: string | undefined;
|
|
966
1446
|
latest?: {
|
|
967
1447
|
version: number;
|
|
1448
|
+
revision: number;
|
|
1449
|
+
author: {
|
|
1450
|
+
id: string;
|
|
1451
|
+
type: "user" | "serviceAccount" | "system";
|
|
1452
|
+
};
|
|
1453
|
+
frozenBy?: {
|
|
1454
|
+
id: string;
|
|
1455
|
+
type: "user" | "serviceAccount" | "system";
|
|
1456
|
+
} | undefined;
|
|
1457
|
+
} | undefined;
|
|
1458
|
+
};
|
|
1459
|
+
409: {
|
|
1460
|
+
error: string;
|
|
1461
|
+
code?: string | undefined;
|
|
1462
|
+
latest?: {
|
|
1463
|
+
version: number;
|
|
1464
|
+
revision: number;
|
|
1465
|
+
author: {
|
|
1466
|
+
id: string;
|
|
1467
|
+
type: "user" | "serviceAccount" | "system";
|
|
1468
|
+
};
|
|
1469
|
+
frozenBy?: {
|
|
1470
|
+
id: string;
|
|
1471
|
+
type: "user" | "serviceAccount" | "system";
|
|
1472
|
+
} | undefined;
|
|
1473
|
+
} | undefined;
|
|
1474
|
+
};
|
|
1475
|
+
400: {
|
|
1476
|
+
error: string;
|
|
1477
|
+
code?: string | undefined;
|
|
1478
|
+
latest?: {
|
|
1479
|
+
version: number;
|
|
1480
|
+
revision: number;
|
|
1481
|
+
author: {
|
|
1482
|
+
id: string;
|
|
1483
|
+
type: "user" | "serviceAccount" | "system";
|
|
1484
|
+
};
|
|
1485
|
+
frozenBy?: {
|
|
1486
|
+
id: string;
|
|
1487
|
+
type: "user" | "serviceAccount" | "system";
|
|
1488
|
+
} | undefined;
|
|
1489
|
+
} | undefined;
|
|
1490
|
+
};
|
|
1491
|
+
501: {
|
|
1492
|
+
error: string;
|
|
1493
|
+
code?: string | undefined;
|
|
1494
|
+
latest?: {
|
|
1495
|
+
version: number;
|
|
1496
|
+
revision: number;
|
|
968
1497
|
author: {
|
|
969
1498
|
id: string;
|
|
970
1499
|
type: "user" | "serviceAccount" | "system";
|
|
971
1500
|
};
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
1501
|
+
frozenBy?: {
|
|
1502
|
+
id: string;
|
|
1503
|
+
type: "user" | "serviceAccount" | "system";
|
|
1504
|
+
} | undefined;
|
|
1505
|
+
} | undefined;
|
|
1506
|
+
};
|
|
1507
|
+
422: {
|
|
1508
|
+
type: "validation";
|
|
1509
|
+
on: string;
|
|
1510
|
+
summary?: string;
|
|
1511
|
+
message?: string;
|
|
1512
|
+
found?: unknown;
|
|
1513
|
+
property?: string;
|
|
1514
|
+
expected?: string;
|
|
1515
|
+
};
|
|
1516
|
+
};
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
} & {
|
|
1523
|
+
api: {
|
|
1524
|
+
artifacts: {
|
|
1525
|
+
":artifactId": {
|
|
1526
|
+
comments: {
|
|
1527
|
+
get: {
|
|
1528
|
+
body: unknown;
|
|
1529
|
+
params: {
|
|
1530
|
+
artifactId: string;
|
|
1531
|
+
};
|
|
1532
|
+
query: unknown;
|
|
1533
|
+
headers: unknown;
|
|
1534
|
+
response: {
|
|
1535
|
+
200: {
|
|
1536
|
+
comments: {
|
|
1537
|
+
id: string;
|
|
1538
|
+
createdAt: string;
|
|
1539
|
+
body: string;
|
|
1540
|
+
author: {
|
|
1541
|
+
id: string;
|
|
1542
|
+
type: "user" | "serviceAccount" | "system" | "guest";
|
|
1543
|
+
};
|
|
1544
|
+
artifactId: string;
|
|
1545
|
+
anchor: {
|
|
1546
|
+
revision: number;
|
|
1547
|
+
label?: string | undefined;
|
|
1548
|
+
board?: string | undefined;
|
|
1549
|
+
element?: string | undefined;
|
|
1550
|
+
point?: {
|
|
1551
|
+
x: number;
|
|
1552
|
+
y: number;
|
|
1553
|
+
} | undefined;
|
|
1554
|
+
};
|
|
1555
|
+
authorName: string | null;
|
|
1556
|
+
origin?: {
|
|
1557
|
+
runId: string;
|
|
1558
|
+
threadId: string;
|
|
1559
|
+
} | undefined;
|
|
1560
|
+
parentId?: string | undefined;
|
|
1561
|
+
resolvedAt?: string | undefined;
|
|
1562
|
+
resolvedBy?: {
|
|
1563
|
+
id: string;
|
|
1564
|
+
type: "user" | "serviceAccount" | "system";
|
|
1565
|
+
} | undefined;
|
|
1566
|
+
}[];
|
|
1567
|
+
};
|
|
1568
|
+
404: {
|
|
1569
|
+
error: string;
|
|
1570
|
+
code?: string | undefined;
|
|
1571
|
+
latest?: {
|
|
1572
|
+
version: number;
|
|
1573
|
+
revision: number;
|
|
1574
|
+
author: {
|
|
1575
|
+
id: string;
|
|
1576
|
+
type: "user" | "serviceAccount" | "system";
|
|
1577
|
+
};
|
|
1578
|
+
frozenBy?: {
|
|
1579
|
+
id: string;
|
|
1580
|
+
type: "user" | "serviceAccount" | "system";
|
|
1581
|
+
} | undefined;
|
|
1582
|
+
} | undefined;
|
|
1583
|
+
};
|
|
1584
|
+
403: {
|
|
1585
|
+
error: string;
|
|
1586
|
+
code?: string | undefined;
|
|
1587
|
+
latest?: {
|
|
1588
|
+
version: number;
|
|
1589
|
+
revision: number;
|
|
1590
|
+
author: {
|
|
1591
|
+
id: string;
|
|
1592
|
+
type: "user" | "serviceAccount" | "system";
|
|
1593
|
+
};
|
|
1594
|
+
frozenBy?: {
|
|
1595
|
+
id: string;
|
|
1596
|
+
type: "user" | "serviceAccount" | "system";
|
|
1597
|
+
} | undefined;
|
|
1598
|
+
} | undefined;
|
|
1599
|
+
};
|
|
1600
|
+
501: {
|
|
1601
|
+
error: string;
|
|
1602
|
+
code?: string | undefined;
|
|
1603
|
+
latest?: {
|
|
1604
|
+
version: number;
|
|
1605
|
+
revision: number;
|
|
1606
|
+
author: {
|
|
1607
|
+
id: string;
|
|
1608
|
+
type: "user" | "serviceAccount" | "system";
|
|
1609
|
+
};
|
|
1610
|
+
frozenBy?: {
|
|
1611
|
+
id: string;
|
|
1612
|
+
type: "user" | "serviceAccount" | "system";
|
|
1613
|
+
} | undefined;
|
|
1614
|
+
} | undefined;
|
|
1615
|
+
};
|
|
1616
|
+
422: {
|
|
1617
|
+
type: "validation";
|
|
1618
|
+
on: string;
|
|
1619
|
+
summary?: string;
|
|
1620
|
+
message?: string;
|
|
1621
|
+
found?: unknown;
|
|
1622
|
+
property?: string;
|
|
1623
|
+
expected?: string;
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1627
|
+
};
|
|
1628
|
+
};
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
} & {
|
|
1632
|
+
api: {
|
|
1633
|
+
artifacts: {
|
|
1634
|
+
":artifactId": {
|
|
1635
|
+
comments: {
|
|
1636
|
+
post: {
|
|
1637
|
+
body: {
|
|
1638
|
+
body: string;
|
|
1639
|
+
parentId?: string | undefined;
|
|
1640
|
+
anchor?: {
|
|
1641
|
+
label?: string | undefined;
|
|
1642
|
+
revision?: number | undefined;
|
|
1643
|
+
board?: string | undefined;
|
|
1644
|
+
element?: string | undefined;
|
|
1645
|
+
point?: {
|
|
1646
|
+
x: number;
|
|
1647
|
+
y: number;
|
|
1648
|
+
} | undefined;
|
|
1649
|
+
} | undefined;
|
|
1650
|
+
};
|
|
1651
|
+
params: {
|
|
1652
|
+
artifactId: string;
|
|
1653
|
+
};
|
|
1654
|
+
query: unknown;
|
|
1655
|
+
headers: unknown;
|
|
1656
|
+
response: {
|
|
1657
|
+
200: {
|
|
1658
|
+
error: string;
|
|
1659
|
+
code?: import("@sixb/core").SixbErrorCode;
|
|
1660
|
+
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
1661
|
+
} | {
|
|
1662
|
+
id: string;
|
|
1663
|
+
createdAt: string;
|
|
1664
|
+
body: string;
|
|
1665
|
+
author: {
|
|
1666
|
+
id: string;
|
|
1667
|
+
type: "user" | "serviceAccount" | "system" | "guest";
|
|
1668
|
+
};
|
|
1669
|
+
artifactId: string;
|
|
1670
|
+
anchor: {
|
|
1671
|
+
revision: number;
|
|
1672
|
+
label?: string | undefined;
|
|
1673
|
+
board?: string | undefined;
|
|
1674
|
+
element?: string | undefined;
|
|
1675
|
+
point?: {
|
|
1676
|
+
x: number;
|
|
1677
|
+
y: number;
|
|
1678
|
+
} | undefined;
|
|
1679
|
+
};
|
|
1680
|
+
authorName: string | null;
|
|
1681
|
+
origin?: {
|
|
1682
|
+
runId: string;
|
|
1683
|
+
threadId: string;
|
|
1684
|
+
} | undefined;
|
|
1685
|
+
parentId?: string | undefined;
|
|
1686
|
+
resolvedAt?: string | undefined;
|
|
1687
|
+
resolvedBy?: {
|
|
1688
|
+
id: string;
|
|
1689
|
+
type: "user" | "serviceAccount" | "system";
|
|
1690
|
+
} | undefined;
|
|
1691
|
+
} | {
|
|
1692
|
+
error: string;
|
|
1693
|
+
code: string;
|
|
1694
|
+
};
|
|
1695
|
+
404: {
|
|
1696
|
+
error: string;
|
|
1697
|
+
code?: string | undefined;
|
|
1698
|
+
latest?: {
|
|
1699
|
+
version: number;
|
|
1700
|
+
revision: number;
|
|
1701
|
+
author: {
|
|
1702
|
+
id: string;
|
|
1703
|
+
type: "user" | "serviceAccount" | "system";
|
|
1704
|
+
};
|
|
1705
|
+
frozenBy?: {
|
|
1706
|
+
id: string;
|
|
1707
|
+
type: "user" | "serviceAccount" | "system";
|
|
1708
|
+
} | undefined;
|
|
1709
|
+
} | undefined;
|
|
1710
|
+
};
|
|
1711
|
+
403: {
|
|
1712
|
+
error: string;
|
|
1713
|
+
code?: string | undefined;
|
|
1714
|
+
latest?: {
|
|
1715
|
+
version: number;
|
|
1716
|
+
revision: number;
|
|
1717
|
+
author: {
|
|
1718
|
+
id: string;
|
|
1719
|
+
type: "user" | "serviceAccount" | "system";
|
|
1720
|
+
};
|
|
1721
|
+
frozenBy?: {
|
|
1722
|
+
id: string;
|
|
1723
|
+
type: "user" | "serviceAccount" | "system";
|
|
1724
|
+
} | undefined;
|
|
1725
|
+
} | undefined;
|
|
1726
|
+
};
|
|
1727
|
+
400: {
|
|
1728
|
+
error: string;
|
|
1729
|
+
code?: string | undefined;
|
|
1730
|
+
latest?: {
|
|
1731
|
+
version: number;
|
|
1732
|
+
revision: number;
|
|
1733
|
+
author: {
|
|
1734
|
+
id: string;
|
|
1735
|
+
type: "user" | "serviceAccount" | "system";
|
|
1736
|
+
};
|
|
1737
|
+
frozenBy?: {
|
|
1738
|
+
id: string;
|
|
1739
|
+
type: "user" | "serviceAccount" | "system";
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
} | undefined;
|
|
1742
|
+
};
|
|
1743
|
+
501: {
|
|
1744
|
+
error: string;
|
|
1745
|
+
code?: string | undefined;
|
|
1746
|
+
latest?: {
|
|
1747
|
+
version: number;
|
|
1748
|
+
revision: number;
|
|
1749
|
+
author: {
|
|
1750
|
+
id: string;
|
|
1751
|
+
type: "user" | "serviceAccount" | "system";
|
|
1752
|
+
};
|
|
1753
|
+
frozenBy?: {
|
|
1754
|
+
id: string;
|
|
1755
|
+
type: "user" | "serviceAccount" | "system";
|
|
1756
|
+
} | undefined;
|
|
1757
|
+
} | undefined;
|
|
1758
|
+
};
|
|
1759
|
+
413: {
|
|
1760
|
+
error: string;
|
|
1761
|
+
code?: string | undefined;
|
|
1762
|
+
latest?: {
|
|
1763
|
+
version: number;
|
|
1764
|
+
revision: number;
|
|
1765
|
+
author: {
|
|
1766
|
+
id: string;
|
|
1767
|
+
type: "user" | "serviceAccount" | "system";
|
|
1768
|
+
};
|
|
1769
|
+
frozenBy?: {
|
|
1770
|
+
id: string;
|
|
1771
|
+
type: "user" | "serviceAccount" | "system";
|
|
1772
|
+
} | undefined;
|
|
1773
|
+
} | undefined;
|
|
1774
|
+
};
|
|
1775
|
+
201: {
|
|
1776
|
+
id: string;
|
|
1777
|
+
createdAt: string;
|
|
1778
|
+
body: string;
|
|
1779
|
+
author: {
|
|
1780
|
+
id: string;
|
|
1781
|
+
type: "user" | "serviceAccount" | "system" | "guest";
|
|
1782
|
+
};
|
|
1783
|
+
artifactId: string;
|
|
1784
|
+
anchor: {
|
|
1785
|
+
revision: number;
|
|
1786
|
+
label?: string | undefined;
|
|
1787
|
+
board?: string | undefined;
|
|
1788
|
+
element?: string | undefined;
|
|
1789
|
+
point?: {
|
|
1790
|
+
x: number;
|
|
1791
|
+
y: number;
|
|
1792
|
+
} | undefined;
|
|
1793
|
+
};
|
|
1794
|
+
authorName: string | null;
|
|
1795
|
+
origin?: {
|
|
1796
|
+
runId: string;
|
|
1797
|
+
threadId: string;
|
|
1798
|
+
} | undefined;
|
|
1799
|
+
parentId?: string | undefined;
|
|
1800
|
+
resolvedAt?: string | undefined;
|
|
1801
|
+
resolvedBy?: {
|
|
1802
|
+
id: string;
|
|
1803
|
+
type: "user" | "serviceAccount" | "system";
|
|
1804
|
+
} | undefined;
|
|
1805
|
+
};
|
|
1806
|
+
422: {
|
|
1807
|
+
type: "validation";
|
|
1808
|
+
on: string;
|
|
1809
|
+
summary?: string;
|
|
1810
|
+
message?: string;
|
|
1811
|
+
found?: unknown;
|
|
1812
|
+
property?: string;
|
|
1813
|
+
expected?: string;
|
|
1814
|
+
};
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
};
|
|
1821
|
+
} & {
|
|
1822
|
+
api: {
|
|
1823
|
+
artifacts: {
|
|
1824
|
+
":artifactId": {
|
|
1825
|
+
comments: {
|
|
1826
|
+
":commentId": {
|
|
1827
|
+
resolve: {
|
|
1828
|
+
post: {
|
|
1829
|
+
body: {
|
|
1830
|
+
resolved: boolean;
|
|
1831
|
+
};
|
|
1832
|
+
params: {
|
|
1833
|
+
artifactId: string;
|
|
1834
|
+
commentId: string;
|
|
1835
|
+
};
|
|
1836
|
+
query: unknown;
|
|
1837
|
+
headers: unknown;
|
|
1838
|
+
response: {
|
|
1839
|
+
200: {
|
|
1840
|
+
id: string;
|
|
1841
|
+
createdAt: string;
|
|
1842
|
+
body: string;
|
|
1843
|
+
author: {
|
|
1844
|
+
id: string;
|
|
1845
|
+
type: "user" | "serviceAccount" | "system" | "guest";
|
|
1846
|
+
};
|
|
1847
|
+
artifactId: string;
|
|
1848
|
+
anchor: {
|
|
1849
|
+
revision: number;
|
|
1850
|
+
label?: string | undefined;
|
|
1851
|
+
board?: string | undefined;
|
|
1852
|
+
element?: string | undefined;
|
|
1853
|
+
point?: {
|
|
1854
|
+
x: number;
|
|
1855
|
+
y: number;
|
|
1856
|
+
} | undefined;
|
|
1857
|
+
};
|
|
1858
|
+
authorName: string | null;
|
|
1859
|
+
origin?: {
|
|
1860
|
+
runId: string;
|
|
1861
|
+
threadId: string;
|
|
1862
|
+
} | undefined;
|
|
1863
|
+
parentId?: string | undefined;
|
|
1864
|
+
resolvedAt?: string | undefined;
|
|
1865
|
+
resolvedBy?: {
|
|
1866
|
+
id: string;
|
|
1867
|
+
type: "user" | "serviceAccount" | "system";
|
|
1868
|
+
} | undefined;
|
|
1869
|
+
};
|
|
1870
|
+
404: {
|
|
1871
|
+
error: string;
|
|
1872
|
+
code?: string | undefined;
|
|
1873
|
+
latest?: {
|
|
1874
|
+
version: number;
|
|
1875
|
+
revision: number;
|
|
1876
|
+
author: {
|
|
1877
|
+
id: string;
|
|
1878
|
+
type: "user" | "serviceAccount" | "system";
|
|
1879
|
+
};
|
|
1880
|
+
frozenBy?: {
|
|
1881
|
+
id: string;
|
|
1882
|
+
type: "user" | "serviceAccount" | "system";
|
|
1883
|
+
} | undefined;
|
|
1884
|
+
} | undefined;
|
|
1885
|
+
};
|
|
1886
|
+
403: {
|
|
1887
|
+
error: string;
|
|
1888
|
+
code?: string | undefined;
|
|
1889
|
+
latest?: {
|
|
1890
|
+
version: number;
|
|
1891
|
+
revision: number;
|
|
1892
|
+
author: {
|
|
1893
|
+
id: string;
|
|
1894
|
+
type: "user" | "serviceAccount" | "system";
|
|
1895
|
+
};
|
|
1896
|
+
frozenBy?: {
|
|
1897
|
+
id: string;
|
|
1898
|
+
type: "user" | "serviceAccount" | "system";
|
|
1899
|
+
} | undefined;
|
|
1900
|
+
} | undefined;
|
|
1901
|
+
};
|
|
1902
|
+
400: {
|
|
1903
|
+
error: string;
|
|
1904
|
+
code?: string | undefined;
|
|
1905
|
+
latest?: {
|
|
1906
|
+
version: number;
|
|
1907
|
+
revision: number;
|
|
1908
|
+
author: {
|
|
1909
|
+
id: string;
|
|
1910
|
+
type: "user" | "serviceAccount" | "system";
|
|
1911
|
+
};
|
|
1912
|
+
frozenBy?: {
|
|
1913
|
+
id: string;
|
|
1914
|
+
type: "user" | "serviceAccount" | "system";
|
|
1915
|
+
} | undefined;
|
|
1916
|
+
} | undefined;
|
|
1917
|
+
};
|
|
1918
|
+
501: {
|
|
1919
|
+
error: string;
|
|
1920
|
+
code?: string | undefined;
|
|
1921
|
+
latest?: {
|
|
1922
|
+
version: number;
|
|
1923
|
+
revision: number;
|
|
1924
|
+
author: {
|
|
1925
|
+
id: string;
|
|
1926
|
+
type: "user" | "serviceAccount" | "system";
|
|
1927
|
+
};
|
|
1928
|
+
frozenBy?: {
|
|
1929
|
+
id: string;
|
|
1930
|
+
type: "user" | "serviceAccount" | "system";
|
|
1931
|
+
} | undefined;
|
|
1932
|
+
} | undefined;
|
|
1933
|
+
};
|
|
1934
|
+
422: {
|
|
1935
|
+
type: "validation";
|
|
1936
|
+
on: string;
|
|
1937
|
+
summary?: string;
|
|
1938
|
+
message?: string;
|
|
1939
|
+
found?: unknown;
|
|
1940
|
+
property?: string;
|
|
1941
|
+
expected?: string;
|
|
1942
|
+
};
|
|
1943
|
+
};
|
|
1944
|
+
};
|
|
1945
|
+
};
|
|
1946
|
+
};
|
|
1947
|
+
};
|
|
1948
|
+
};
|
|
1949
|
+
};
|
|
1950
|
+
};
|
|
1951
|
+
} & {
|
|
1952
|
+
api: {
|
|
1953
|
+
artifacts: {
|
|
1954
|
+
":artifactId": {
|
|
1955
|
+
comments: {
|
|
1956
|
+
":commentId": {
|
|
1957
|
+
delete: {
|
|
1958
|
+
body: unknown;
|
|
1959
|
+
params: {
|
|
1960
|
+
artifactId: string;
|
|
1961
|
+
commentId: string;
|
|
1962
|
+
};
|
|
1963
|
+
query: unknown;
|
|
1964
|
+
headers: unknown;
|
|
1965
|
+
response: {
|
|
1966
|
+
200: {
|
|
1967
|
+
deleted: true;
|
|
1968
|
+
};
|
|
1969
|
+
404: {
|
|
1970
|
+
error: string;
|
|
1971
|
+
code?: string | undefined;
|
|
1972
|
+
latest?: {
|
|
1973
|
+
version: number;
|
|
1974
|
+
revision: number;
|
|
1975
|
+
author: {
|
|
1976
|
+
id: string;
|
|
1977
|
+
type: "user" | "serviceAccount" | "system";
|
|
1978
|
+
};
|
|
1979
|
+
frozenBy?: {
|
|
1980
|
+
id: string;
|
|
1981
|
+
type: "user" | "serviceAccount" | "system";
|
|
1982
|
+
} | undefined;
|
|
1983
|
+
} | undefined;
|
|
1984
|
+
};
|
|
1985
|
+
403: {
|
|
1986
|
+
error: string;
|
|
1987
|
+
code?: string | undefined;
|
|
1988
|
+
latest?: {
|
|
1989
|
+
version: number;
|
|
1990
|
+
revision: number;
|
|
1991
|
+
author: {
|
|
1992
|
+
id: string;
|
|
1993
|
+
type: "user" | "serviceAccount" | "system";
|
|
1994
|
+
};
|
|
1995
|
+
frozenBy?: {
|
|
1996
|
+
id: string;
|
|
1997
|
+
type: "user" | "serviceAccount" | "system";
|
|
1998
|
+
} | undefined;
|
|
1999
|
+
} | undefined;
|
|
2000
|
+
};
|
|
2001
|
+
501: {
|
|
2002
|
+
error: string;
|
|
2003
|
+
code?: string | undefined;
|
|
2004
|
+
latest?: {
|
|
2005
|
+
version: number;
|
|
2006
|
+
revision: number;
|
|
2007
|
+
author: {
|
|
2008
|
+
id: string;
|
|
2009
|
+
type: "user" | "serviceAccount" | "system";
|
|
2010
|
+
};
|
|
2011
|
+
frozenBy?: {
|
|
2012
|
+
id: string;
|
|
2013
|
+
type: "user" | "serviceAccount" | "system";
|
|
2014
|
+
} | undefined;
|
|
2015
|
+
} | undefined;
|
|
2016
|
+
};
|
|
2017
|
+
422: {
|
|
2018
|
+
type: "validation";
|
|
2019
|
+
on: string;
|
|
2020
|
+
summary?: string;
|
|
2021
|
+
message?: string;
|
|
2022
|
+
found?: unknown;
|
|
2023
|
+
property?: string;
|
|
2024
|
+
expected?: string;
|
|
2025
|
+
};
|
|
2026
|
+
};
|
|
2027
|
+
};
|
|
2028
|
+
};
|
|
2029
|
+
};
|
|
2030
|
+
};
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
} & {
|
|
2034
|
+
api: {
|
|
2035
|
+
artifacts: {
|
|
2036
|
+
":artifactId": {
|
|
2037
|
+
"restore-points": {
|
|
2038
|
+
get: {
|
|
2039
|
+
body: unknown;
|
|
2040
|
+
params: {
|
|
2041
|
+
artifactId: string;
|
|
2042
|
+
};
|
|
2043
|
+
query: unknown;
|
|
2044
|
+
headers: unknown;
|
|
2045
|
+
response: {
|
|
2046
|
+
200: {
|
|
2047
|
+
restorePoints: {
|
|
2048
|
+
reason: "turn" | "restore";
|
|
2049
|
+
title: string;
|
|
2050
|
+
version: number;
|
|
2051
|
+
createdAt: string;
|
|
2052
|
+
updatedAt: string;
|
|
2053
|
+
revision: number;
|
|
2054
|
+
author: {
|
|
2055
|
+
id: string;
|
|
2056
|
+
type: "user" | "serviceAccount" | "system";
|
|
2057
|
+
};
|
|
2058
|
+
artifactId: string;
|
|
2059
|
+
frozen: boolean;
|
|
2060
|
+
origin?: {
|
|
2061
|
+
runId: string;
|
|
2062
|
+
threadId: string;
|
|
2063
|
+
} | undefined;
|
|
2064
|
+
turnRunId?: string | undefined;
|
|
2065
|
+
}[];
|
|
2066
|
+
};
|
|
2067
|
+
404: {
|
|
2068
|
+
error: string;
|
|
2069
|
+
code?: string | undefined;
|
|
2070
|
+
latest?: {
|
|
2071
|
+
version: number;
|
|
2072
|
+
revision: number;
|
|
2073
|
+
author: {
|
|
2074
|
+
id: string;
|
|
2075
|
+
type: "user" | "serviceAccount" | "system";
|
|
2076
|
+
};
|
|
2077
|
+
frozenBy?: {
|
|
2078
|
+
id: string;
|
|
2079
|
+
type: "user" | "serviceAccount" | "system";
|
|
2080
|
+
} | undefined;
|
|
2081
|
+
} | undefined;
|
|
2082
|
+
};
|
|
2083
|
+
403: {
|
|
2084
|
+
error: string;
|
|
2085
|
+
code?: string | undefined;
|
|
2086
|
+
latest?: {
|
|
2087
|
+
version: number;
|
|
2088
|
+
revision: number;
|
|
2089
|
+
author: {
|
|
2090
|
+
id: string;
|
|
2091
|
+
type: "user" | "serviceAccount" | "system";
|
|
2092
|
+
};
|
|
2093
|
+
frozenBy?: {
|
|
2094
|
+
id: string;
|
|
2095
|
+
type: "user" | "serviceAccount" | "system";
|
|
2096
|
+
} | undefined;
|
|
2097
|
+
} | undefined;
|
|
2098
|
+
};
|
|
2099
|
+
501: {
|
|
2100
|
+
error: string;
|
|
2101
|
+
code?: string | undefined;
|
|
2102
|
+
latest?: {
|
|
2103
|
+
version: number;
|
|
2104
|
+
revision: number;
|
|
2105
|
+
author: {
|
|
2106
|
+
id: string;
|
|
2107
|
+
type: "user" | "serviceAccount" | "system";
|
|
2108
|
+
};
|
|
2109
|
+
frozenBy?: {
|
|
2110
|
+
id: string;
|
|
2111
|
+
type: "user" | "serviceAccount" | "system";
|
|
2112
|
+
} | undefined;
|
|
2113
|
+
} | undefined;
|
|
2114
|
+
};
|
|
2115
|
+
422: {
|
|
2116
|
+
type: "validation";
|
|
2117
|
+
on: string;
|
|
2118
|
+
summary?: string;
|
|
2119
|
+
message?: string;
|
|
2120
|
+
found?: unknown;
|
|
2121
|
+
property?: string;
|
|
2122
|
+
expected?: string;
|
|
2123
|
+
};
|
|
2124
|
+
};
|
|
2125
|
+
};
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
};
|
|
2129
|
+
};
|
|
2130
|
+
} & {
|
|
2131
|
+
api: {
|
|
2132
|
+
artifacts: {
|
|
2133
|
+
":artifactId": {
|
|
2134
|
+
"restore-points": {
|
|
2135
|
+
":revision": {
|
|
2136
|
+
get: {
|
|
2137
|
+
body: unknown;
|
|
2138
|
+
params: {
|
|
2139
|
+
revision: string;
|
|
2140
|
+
artifactId: string;
|
|
2141
|
+
};
|
|
2142
|
+
query: unknown;
|
|
2143
|
+
headers: unknown;
|
|
2144
|
+
response: {
|
|
2145
|
+
200: {
|
|
2146
|
+
reason: "turn" | "restore";
|
|
2147
|
+
title: string;
|
|
2148
|
+
version: number;
|
|
2149
|
+
createdAt: string;
|
|
2150
|
+
files: {
|
|
2151
|
+
file: {
|
|
2152
|
+
blobId: string;
|
|
2153
|
+
digest: string;
|
|
2154
|
+
sizeBytes: number;
|
|
2155
|
+
fileName?: string | undefined;
|
|
2156
|
+
mediaType?: string | undefined;
|
|
2157
|
+
logicalPath?: string | undefined;
|
|
2158
|
+
};
|
|
2159
|
+
path: string;
|
|
2160
|
+
}[];
|
|
2161
|
+
updatedAt: string;
|
|
2162
|
+
revision: number;
|
|
2163
|
+
author: {
|
|
2164
|
+
id: string;
|
|
2165
|
+
type: "user" | "serviceAccount" | "system";
|
|
2166
|
+
};
|
|
2167
|
+
artifactId: string;
|
|
2168
|
+
frozen: boolean;
|
|
2169
|
+
entry: string;
|
|
2170
|
+
outline: {
|
|
2171
|
+
kind: "document";
|
|
2172
|
+
headings: {
|
|
2173
|
+
text: string;
|
|
2174
|
+
depth: number;
|
|
2175
|
+
slug: string;
|
|
2176
|
+
}[];
|
|
2177
|
+
} | {
|
|
2178
|
+
kind: "sheet";
|
|
2179
|
+
sheets: {
|
|
2180
|
+
name: string;
|
|
2181
|
+
rows: number;
|
|
2182
|
+
columns: string[];
|
|
2183
|
+
query?: string | undefined;
|
|
2184
|
+
}[];
|
|
2185
|
+
charts: string[];
|
|
2186
|
+
} | {
|
|
2187
|
+
kind: "slides";
|
|
2188
|
+
slides: {
|
|
2189
|
+
title?: string | undefined;
|
|
2190
|
+
}[];
|
|
2191
|
+
} | {
|
|
2192
|
+
kind: "page";
|
|
2193
|
+
title?: string | undefined;
|
|
2194
|
+
} | {
|
|
2195
|
+
kind: "canvas";
|
|
2196
|
+
items: ({
|
|
2197
|
+
file: string;
|
|
2198
|
+
id: string;
|
|
2199
|
+
type: "board";
|
|
2200
|
+
w: number;
|
|
2201
|
+
h: number;
|
|
2202
|
+
title?: string | undefined;
|
|
2203
|
+
renderKey?: string | undefined;
|
|
2204
|
+
} | {
|
|
2205
|
+
id: string;
|
|
2206
|
+
type: "section";
|
|
2207
|
+
title?: string | undefined;
|
|
2208
|
+
})[];
|
|
2209
|
+
themes?: ("light" | "dark")[] | undefined;
|
|
2210
|
+
} | {
|
|
2211
|
+
kind: "file";
|
|
2212
|
+
mediaType: string;
|
|
2213
|
+
};
|
|
2214
|
+
references: {
|
|
2215
|
+
at: string;
|
|
2216
|
+
address: string;
|
|
2217
|
+
as: "link" | "embed";
|
|
2218
|
+
resolvedVersion: number;
|
|
2219
|
+
}[];
|
|
2220
|
+
origin?: {
|
|
2221
|
+
runId: string;
|
|
2222
|
+
threadId: string;
|
|
2223
|
+
} | undefined;
|
|
2224
|
+
turnRunId?: string | undefined;
|
|
2225
|
+
};
|
|
2226
|
+
404: {
|
|
2227
|
+
error: string;
|
|
2228
|
+
code?: string | undefined;
|
|
2229
|
+
latest?: {
|
|
2230
|
+
version: number;
|
|
2231
|
+
revision: number;
|
|
2232
|
+
author: {
|
|
2233
|
+
id: string;
|
|
2234
|
+
type: "user" | "serviceAccount" | "system";
|
|
2235
|
+
};
|
|
2236
|
+
frozenBy?: {
|
|
2237
|
+
id: string;
|
|
2238
|
+
type: "user" | "serviceAccount" | "system";
|
|
2239
|
+
} | undefined;
|
|
2240
|
+
} | undefined;
|
|
2241
|
+
};
|
|
2242
|
+
403: {
|
|
2243
|
+
error: string;
|
|
2244
|
+
code?: string | undefined;
|
|
2245
|
+
latest?: {
|
|
2246
|
+
version: number;
|
|
2247
|
+
revision: number;
|
|
2248
|
+
author: {
|
|
2249
|
+
id: string;
|
|
2250
|
+
type: "user" | "serviceAccount" | "system";
|
|
2251
|
+
};
|
|
2252
|
+
frozenBy?: {
|
|
2253
|
+
id: string;
|
|
2254
|
+
type: "user" | "serviceAccount" | "system";
|
|
2255
|
+
} | undefined;
|
|
2256
|
+
} | undefined;
|
|
2257
|
+
};
|
|
2258
|
+
501: {
|
|
2259
|
+
error: string;
|
|
2260
|
+
code?: string | undefined;
|
|
2261
|
+
latest?: {
|
|
2262
|
+
version: number;
|
|
2263
|
+
revision: number;
|
|
2264
|
+
author: {
|
|
2265
|
+
id: string;
|
|
2266
|
+
type: "user" | "serviceAccount" | "system";
|
|
2267
|
+
};
|
|
2268
|
+
frozenBy?: {
|
|
2269
|
+
id: string;
|
|
2270
|
+
type: "user" | "serviceAccount" | "system";
|
|
2271
|
+
} | undefined;
|
|
2272
|
+
} | undefined;
|
|
2273
|
+
};
|
|
2274
|
+
422: {
|
|
2275
|
+
type: "validation";
|
|
2276
|
+
on: string;
|
|
2277
|
+
summary?: string;
|
|
2278
|
+
message?: string;
|
|
2279
|
+
found?: unknown;
|
|
2280
|
+
property?: string;
|
|
2281
|
+
expected?: string;
|
|
2282
|
+
};
|
|
2283
|
+
};
|
|
2284
|
+
};
|
|
2285
|
+
};
|
|
2286
|
+
};
|
|
2287
|
+
};
|
|
2288
|
+
};
|
|
2289
|
+
};
|
|
2290
|
+
} & {
|
|
2291
|
+
api: {
|
|
2292
|
+
artifacts: {
|
|
2293
|
+
":artifactId": {
|
|
2294
|
+
"restore-points": {
|
|
2295
|
+
":revision": {
|
|
2296
|
+
content: {
|
|
2297
|
+
get: {
|
|
2298
|
+
body: unknown;
|
|
2299
|
+
params: {
|
|
2300
|
+
revision: string;
|
|
2301
|
+
artifactId: string;
|
|
2302
|
+
};
|
|
2303
|
+
query: {
|
|
2304
|
+
path: string;
|
|
2305
|
+
disposition?: "inline" | "attachment" | undefined;
|
|
2306
|
+
v?: string | undefined;
|
|
2307
|
+
};
|
|
2308
|
+
headers: unknown;
|
|
2309
|
+
response: {
|
|
2310
|
+
200: Response | {
|
|
2311
|
+
error: string;
|
|
2312
|
+
code?: import("@sixb/core").SixbErrorCode;
|
|
2313
|
+
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
2314
|
+
} | {
|
|
2315
|
+
error: string;
|
|
2316
|
+
code: string;
|
|
2317
|
+
};
|
|
2318
|
+
422: {
|
|
2319
|
+
type: "validation";
|
|
2320
|
+
on: string;
|
|
2321
|
+
summary?: string;
|
|
2322
|
+
message?: string;
|
|
2323
|
+
found?: unknown;
|
|
2324
|
+
property?: string;
|
|
2325
|
+
expected?: string;
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
};
|
|
2331
|
+
};
|
|
2332
|
+
};
|
|
2333
|
+
};
|
|
2334
|
+
};
|
|
2335
|
+
} & {
|
|
2336
|
+
api: {
|
|
2337
|
+
artifacts: {
|
|
2338
|
+
":artifactId": {
|
|
2339
|
+
"restore-points": {
|
|
2340
|
+
":revision": {
|
|
2341
|
+
restore: {
|
|
2342
|
+
post: {
|
|
2343
|
+
body: {
|
|
2344
|
+
baseRevision?: number | undefined;
|
|
2345
|
+
};
|
|
2346
|
+
params: {
|
|
2347
|
+
revision: string;
|
|
2348
|
+
artifactId: string;
|
|
2349
|
+
};
|
|
2350
|
+
query: unknown;
|
|
2351
|
+
headers: unknown;
|
|
2352
|
+
response: {
|
|
2353
|
+
200: {
|
|
2354
|
+
artifact: {
|
|
2355
|
+
projectId: string;
|
|
2356
|
+
id: string;
|
|
2357
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
2358
|
+
title: string;
|
|
2359
|
+
createdAt: string;
|
|
2360
|
+
owner: {
|
|
2361
|
+
id: string;
|
|
2362
|
+
type: "user" | "serviceAccount" | "system";
|
|
2363
|
+
};
|
|
2364
|
+
updatedAt: string;
|
|
2365
|
+
revision: number;
|
|
2366
|
+
latestVersion: number;
|
|
2367
|
+
};
|
|
2368
|
+
version: {
|
|
2369
|
+
title: string;
|
|
2370
|
+
version: number;
|
|
2371
|
+
createdAt: string;
|
|
2372
|
+
files: {
|
|
2373
|
+
file: {
|
|
2374
|
+
blobId: string;
|
|
2375
|
+
digest: string;
|
|
2376
|
+
sizeBytes: number;
|
|
2377
|
+
fileName?: string | undefined;
|
|
2378
|
+
mediaType?: string | undefined;
|
|
2379
|
+
logicalPath?: string | undefined;
|
|
2380
|
+
};
|
|
2381
|
+
path: string;
|
|
2382
|
+
}[];
|
|
2383
|
+
updatedAt: string;
|
|
2384
|
+
revision: number;
|
|
2385
|
+
author: {
|
|
2386
|
+
id: string;
|
|
2387
|
+
type: "user" | "serviceAccount" | "system";
|
|
2388
|
+
};
|
|
2389
|
+
artifactId: string;
|
|
2390
|
+
frozen: boolean;
|
|
2391
|
+
entry: string;
|
|
2392
|
+
outline: {
|
|
2393
|
+
kind: "document";
|
|
2394
|
+
headings: {
|
|
2395
|
+
text: string;
|
|
2396
|
+
depth: number;
|
|
2397
|
+
slug: string;
|
|
2398
|
+
}[];
|
|
2399
|
+
} | {
|
|
2400
|
+
kind: "sheet";
|
|
2401
|
+
sheets: {
|
|
2402
|
+
name: string;
|
|
2403
|
+
rows: number;
|
|
2404
|
+
columns: string[];
|
|
2405
|
+
query?: string | undefined;
|
|
2406
|
+
}[];
|
|
2407
|
+
charts: string[];
|
|
2408
|
+
} | {
|
|
2409
|
+
kind: "slides";
|
|
2410
|
+
slides: {
|
|
2411
|
+
title?: string | undefined;
|
|
2412
|
+
}[];
|
|
2413
|
+
} | {
|
|
2414
|
+
kind: "page";
|
|
2415
|
+
title?: string | undefined;
|
|
2416
|
+
} | {
|
|
2417
|
+
kind: "canvas";
|
|
2418
|
+
items: ({
|
|
2419
|
+
file: string;
|
|
2420
|
+
id: string;
|
|
2421
|
+
type: "board";
|
|
2422
|
+
w: number;
|
|
2423
|
+
h: number;
|
|
2424
|
+
title?: string | undefined;
|
|
2425
|
+
renderKey?: string | undefined;
|
|
2426
|
+
} | {
|
|
2427
|
+
id: string;
|
|
2428
|
+
type: "section";
|
|
2429
|
+
title?: string | undefined;
|
|
2430
|
+
})[];
|
|
2431
|
+
themes?: ("light" | "dark")[] | undefined;
|
|
2432
|
+
} | {
|
|
2433
|
+
kind: "file";
|
|
2434
|
+
mediaType: string;
|
|
2435
|
+
};
|
|
2436
|
+
references: {
|
|
2437
|
+
at: string;
|
|
2438
|
+
address: string;
|
|
2439
|
+
as: "link" | "embed";
|
|
2440
|
+
resolvedVersion: number;
|
|
2441
|
+
}[];
|
|
2442
|
+
origin?: {
|
|
2443
|
+
runId: string;
|
|
2444
|
+
threadId: string;
|
|
2445
|
+
} | undefined;
|
|
2446
|
+
frozenAt?: string | undefined;
|
|
2447
|
+
frozenBy?: {
|
|
2448
|
+
id: string;
|
|
2449
|
+
type: "user" | "serviceAccount" | "system";
|
|
2450
|
+
} | undefined;
|
|
2451
|
+
boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
404: {
|
|
2455
|
+
error: string;
|
|
2456
|
+
code?: string | undefined;
|
|
2457
|
+
latest?: {
|
|
2458
|
+
version: number;
|
|
2459
|
+
revision: number;
|
|
2460
|
+
author: {
|
|
2461
|
+
id: string;
|
|
2462
|
+
type: "user" | "serviceAccount" | "system";
|
|
2463
|
+
};
|
|
2464
|
+
frozenBy?: {
|
|
2465
|
+
id: string;
|
|
2466
|
+
type: "user" | "serviceAccount" | "system";
|
|
2467
|
+
} | undefined;
|
|
2468
|
+
} | undefined;
|
|
982
2469
|
};
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
2470
|
+
403: {
|
|
2471
|
+
error: string;
|
|
2472
|
+
code?: string | undefined;
|
|
2473
|
+
latest?: {
|
|
2474
|
+
version: number;
|
|
2475
|
+
revision: number;
|
|
2476
|
+
author: {
|
|
2477
|
+
id: string;
|
|
2478
|
+
type: "user" | "serviceAccount" | "system";
|
|
2479
|
+
};
|
|
2480
|
+
frozenBy?: {
|
|
2481
|
+
id: string;
|
|
2482
|
+
type: "user" | "serviceAccount" | "system";
|
|
2483
|
+
} | undefined;
|
|
2484
|
+
} | undefined;
|
|
993
2485
|
};
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
2486
|
+
409: {
|
|
2487
|
+
error: string;
|
|
2488
|
+
code?: string | undefined;
|
|
2489
|
+
latest?: {
|
|
2490
|
+
version: number;
|
|
2491
|
+
revision: number;
|
|
2492
|
+
author: {
|
|
2493
|
+
id: string;
|
|
2494
|
+
type: "user" | "serviceAccount" | "system";
|
|
2495
|
+
};
|
|
2496
|
+
frozenBy?: {
|
|
2497
|
+
id: string;
|
|
2498
|
+
type: "user" | "serviceAccount" | "system";
|
|
2499
|
+
} | undefined;
|
|
2500
|
+
} | undefined;
|
|
1004
2501
|
};
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
logicalPath?: string | undefined;
|
|
1021
|
-
};
|
|
1022
|
-
}[];
|
|
1023
|
-
author: {
|
|
1024
|
-
id: string;
|
|
1025
|
-
type: "user" | "serviceAccount" | "system";
|
|
2502
|
+
400: {
|
|
2503
|
+
error: string;
|
|
2504
|
+
code?: string | undefined;
|
|
2505
|
+
latest?: {
|
|
2506
|
+
version: number;
|
|
2507
|
+
revision: number;
|
|
2508
|
+
author: {
|
|
2509
|
+
id: string;
|
|
2510
|
+
type: "user" | "serviceAccount" | "system";
|
|
2511
|
+
};
|
|
2512
|
+
frozenBy?: {
|
|
2513
|
+
id: string;
|
|
2514
|
+
type: "user" | "serviceAccount" | "system";
|
|
2515
|
+
} | undefined;
|
|
2516
|
+
} | undefined;
|
|
1026
2517
|
};
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
query?: string | undefined;
|
|
1043
|
-
}[];
|
|
1044
|
-
charts: string[];
|
|
1045
|
-
} | {
|
|
1046
|
-
kind: "slides";
|
|
1047
|
-
slides: {
|
|
1048
|
-
title?: string | undefined;
|
|
1049
|
-
}[];
|
|
1050
|
-
} | {
|
|
1051
|
-
kind: "page";
|
|
1052
|
-
title?: string | undefined;
|
|
1053
|
-
} | {
|
|
1054
|
-
kind: "canvas";
|
|
1055
|
-
items: ({
|
|
1056
|
-
id: string;
|
|
1057
|
-
type: "board";
|
|
1058
|
-
file: string;
|
|
1059
|
-
w: number;
|
|
1060
|
-
h: number;
|
|
1061
|
-
title?: string | undefined;
|
|
1062
|
-
} | {
|
|
1063
|
-
id: string;
|
|
1064
|
-
type: "section";
|
|
1065
|
-
title?: string | undefined;
|
|
1066
|
-
})[];
|
|
1067
|
-
} | {
|
|
1068
|
-
kind: "file";
|
|
1069
|
-
mediaType: string;
|
|
2518
|
+
501: {
|
|
2519
|
+
error: string;
|
|
2520
|
+
code?: string | undefined;
|
|
2521
|
+
latest?: {
|
|
2522
|
+
version: number;
|
|
2523
|
+
revision: number;
|
|
2524
|
+
author: {
|
|
2525
|
+
id: string;
|
|
2526
|
+
type: "user" | "serviceAccount" | "system";
|
|
2527
|
+
};
|
|
2528
|
+
frozenBy?: {
|
|
2529
|
+
id: string;
|
|
2530
|
+
type: "user" | "serviceAccount" | "system";
|
|
2531
|
+
} | undefined;
|
|
2532
|
+
} | undefined;
|
|
1070
2533
|
};
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
threadId: string;
|
|
1080
|
-
} | undefined;
|
|
1081
|
-
};
|
|
1082
|
-
warnings: {
|
|
1083
|
-
code: string;
|
|
1084
|
-
message: string;
|
|
1085
|
-
part?: string | undefined;
|
|
1086
|
-
}[];
|
|
1087
|
-
artifact: {
|
|
1088
|
-
projectId: string;
|
|
1089
|
-
id: string;
|
|
1090
|
-
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
1091
|
-
title: string;
|
|
1092
|
-
createdAt: string;
|
|
1093
|
-
owner: {
|
|
1094
|
-
id: string;
|
|
1095
|
-
type: "user" | "serviceAccount" | "system";
|
|
2534
|
+
422: {
|
|
2535
|
+
type: "validation";
|
|
2536
|
+
on: string;
|
|
2537
|
+
summary?: string;
|
|
2538
|
+
message?: string;
|
|
2539
|
+
found?: unknown;
|
|
2540
|
+
property?: string;
|
|
2541
|
+
expected?: string;
|
|
1096
2542
|
};
|
|
1097
|
-
updatedAt: string;
|
|
1098
|
-
latestVersion: number;
|
|
1099
2543
|
};
|
|
1100
2544
|
};
|
|
1101
|
-
422: {
|
|
1102
|
-
type: "validation";
|
|
1103
|
-
on: string;
|
|
1104
|
-
summary?: string;
|
|
1105
|
-
message?: string;
|
|
1106
|
-
found?: unknown;
|
|
1107
|
-
property?: string;
|
|
1108
|
-
expected?: string;
|
|
1109
|
-
};
|
|
1110
2545
|
};
|
|
1111
2546
|
};
|
|
1112
2547
|
};
|
|
@@ -1130,18 +2565,23 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1130
2565
|
headers: unknown;
|
|
1131
2566
|
response: {
|
|
1132
2567
|
200: {
|
|
1133
|
-
path: string;
|
|
1134
2568
|
expiresAt: string;
|
|
2569
|
+
path: string;
|
|
1135
2570
|
};
|
|
1136
2571
|
404: {
|
|
1137
2572
|
error: string;
|
|
1138
2573
|
code?: string | undefined;
|
|
1139
2574
|
latest?: {
|
|
1140
2575
|
version: number;
|
|
2576
|
+
revision: number;
|
|
1141
2577
|
author: {
|
|
1142
2578
|
id: string;
|
|
1143
2579
|
type: "user" | "serviceAccount" | "system";
|
|
1144
2580
|
};
|
|
2581
|
+
frozenBy?: {
|
|
2582
|
+
id: string;
|
|
2583
|
+
type: "user" | "serviceAccount" | "system";
|
|
2584
|
+
} | undefined;
|
|
1145
2585
|
} | undefined;
|
|
1146
2586
|
};
|
|
1147
2587
|
403: {
|
|
@@ -1149,10 +2589,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1149
2589
|
code?: string | undefined;
|
|
1150
2590
|
latest?: {
|
|
1151
2591
|
version: number;
|
|
2592
|
+
revision: number;
|
|
1152
2593
|
author: {
|
|
1153
2594
|
id: string;
|
|
1154
2595
|
type: "user" | "serviceAccount" | "system";
|
|
1155
2596
|
};
|
|
2597
|
+
frozenBy?: {
|
|
2598
|
+
id: string;
|
|
2599
|
+
type: "user" | "serviceAccount" | "system";
|
|
2600
|
+
} | undefined;
|
|
1156
2601
|
} | undefined;
|
|
1157
2602
|
};
|
|
1158
2603
|
409: {
|
|
@@ -1160,10 +2605,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1160
2605
|
code?: string | undefined;
|
|
1161
2606
|
latest?: {
|
|
1162
2607
|
version: number;
|
|
2608
|
+
revision: number;
|
|
1163
2609
|
author: {
|
|
1164
2610
|
id: string;
|
|
1165
2611
|
type: "user" | "serviceAccount" | "system";
|
|
1166
2612
|
};
|
|
2613
|
+
frozenBy?: {
|
|
2614
|
+
id: string;
|
|
2615
|
+
type: "user" | "serviceAccount" | "system";
|
|
2616
|
+
} | undefined;
|
|
1167
2617
|
} | undefined;
|
|
1168
2618
|
};
|
|
1169
2619
|
501: {
|
|
@@ -1171,10 +2621,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1171
2621
|
code?: string | undefined;
|
|
1172
2622
|
latest?: {
|
|
1173
2623
|
version: number;
|
|
2624
|
+
revision: number;
|
|
1174
2625
|
author: {
|
|
1175
2626
|
id: string;
|
|
1176
2627
|
type: "user" | "serviceAccount" | "system";
|
|
1177
2628
|
};
|
|
2629
|
+
frozenBy?: {
|
|
2630
|
+
id: string;
|
|
2631
|
+
type: "user" | "serviceAccount" | "system";
|
|
2632
|
+
} | undefined;
|
|
1178
2633
|
} | undefined;
|
|
1179
2634
|
};
|
|
1180
2635
|
422: {
|
|
@@ -1214,7 +2669,6 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1214
2669
|
version: number;
|
|
1215
2670
|
createdAt: string;
|
|
1216
2671
|
files: {
|
|
1217
|
-
path: string;
|
|
1218
2672
|
file: {
|
|
1219
2673
|
blobId: string;
|
|
1220
2674
|
digest: string;
|
|
@@ -1223,12 +2677,16 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1223
2677
|
mediaType?: string | undefined;
|
|
1224
2678
|
logicalPath?: string | undefined;
|
|
1225
2679
|
};
|
|
2680
|
+
path: string;
|
|
1226
2681
|
}[];
|
|
2682
|
+
updatedAt: string;
|
|
2683
|
+
revision: number;
|
|
1227
2684
|
author: {
|
|
1228
2685
|
id: string;
|
|
1229
2686
|
type: "user" | "serviceAccount" | "system";
|
|
1230
2687
|
};
|
|
1231
2688
|
artifactId: string;
|
|
2689
|
+
frozen: boolean;
|
|
1232
2690
|
entry: string;
|
|
1233
2691
|
outline: {
|
|
1234
2692
|
kind: "document";
|
|
@@ -1257,17 +2715,19 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1257
2715
|
} | {
|
|
1258
2716
|
kind: "canvas";
|
|
1259
2717
|
items: ({
|
|
2718
|
+
file: string;
|
|
1260
2719
|
id: string;
|
|
1261
2720
|
type: "board";
|
|
1262
|
-
file: string;
|
|
1263
2721
|
w: number;
|
|
1264
2722
|
h: number;
|
|
1265
2723
|
title?: string | undefined;
|
|
2724
|
+
renderKey?: string | undefined;
|
|
1266
2725
|
} | {
|
|
1267
2726
|
id: string;
|
|
1268
2727
|
type: "section";
|
|
1269
2728
|
title?: string | undefined;
|
|
1270
2729
|
})[];
|
|
2730
|
+
themes?: ("light" | "dark")[] | undefined;
|
|
1271
2731
|
} | {
|
|
1272
2732
|
kind: "file";
|
|
1273
2733
|
mediaType: string;
|
|
@@ -1282,16 +2742,27 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1282
2742
|
runId: string;
|
|
1283
2743
|
threadId: string;
|
|
1284
2744
|
} | undefined;
|
|
2745
|
+
frozenAt?: string | undefined;
|
|
2746
|
+
frozenBy?: {
|
|
2747
|
+
id: string;
|
|
2748
|
+
type: "user" | "serviceAccount" | "system";
|
|
2749
|
+
} | undefined;
|
|
2750
|
+
boardPreviews?: Record<string, "none" | "pending" | "ready"> | undefined;
|
|
1285
2751
|
};
|
|
1286
2752
|
404: {
|
|
1287
2753
|
error: string;
|
|
1288
2754
|
code?: string | undefined;
|
|
1289
2755
|
latest?: {
|
|
1290
2756
|
version: number;
|
|
2757
|
+
revision: number;
|
|
1291
2758
|
author: {
|
|
1292
2759
|
id: string;
|
|
1293
2760
|
type: "user" | "serviceAccount" | "system";
|
|
1294
2761
|
};
|
|
2762
|
+
frozenBy?: {
|
|
2763
|
+
id: string;
|
|
2764
|
+
type: "user" | "serviceAccount" | "system";
|
|
2765
|
+
} | undefined;
|
|
1295
2766
|
} | undefined;
|
|
1296
2767
|
};
|
|
1297
2768
|
403: {
|
|
@@ -1299,10 +2770,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1299
2770
|
code?: string | undefined;
|
|
1300
2771
|
latest?: {
|
|
1301
2772
|
version: number;
|
|
2773
|
+
revision: number;
|
|
1302
2774
|
author: {
|
|
1303
2775
|
id: string;
|
|
1304
2776
|
type: "user" | "serviceAccount" | "system";
|
|
1305
2777
|
};
|
|
2778
|
+
frozenBy?: {
|
|
2779
|
+
id: string;
|
|
2780
|
+
type: "user" | "serviceAccount" | "system";
|
|
2781
|
+
} | undefined;
|
|
1306
2782
|
} | undefined;
|
|
1307
2783
|
};
|
|
1308
2784
|
501: {
|
|
@@ -1310,10 +2786,15 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1310
2786
|
code?: string | undefined;
|
|
1311
2787
|
latest?: {
|
|
1312
2788
|
version: number;
|
|
2789
|
+
revision: number;
|
|
1313
2790
|
author: {
|
|
1314
2791
|
id: string;
|
|
1315
2792
|
type: "user" | "serviceAccount" | "system";
|
|
1316
2793
|
};
|
|
2794
|
+
frozenBy?: {
|
|
2795
|
+
id: string;
|
|
2796
|
+
type: "user" | "serviceAccount" | "system";
|
|
2797
|
+
} | undefined;
|
|
1317
2798
|
} | undefined;
|
|
1318
2799
|
};
|
|
1319
2800
|
422: {
|
|
@@ -1332,6 +2813,58 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1332
2813
|
};
|
|
1333
2814
|
};
|
|
1334
2815
|
};
|
|
2816
|
+
} & {
|
|
2817
|
+
api: {
|
|
2818
|
+
artifacts: {
|
|
2819
|
+
":artifactId": {
|
|
2820
|
+
versions: {
|
|
2821
|
+
":version": {
|
|
2822
|
+
boards: {
|
|
2823
|
+
":board": {
|
|
2824
|
+
preview: {
|
|
2825
|
+
get: {
|
|
2826
|
+
body: unknown;
|
|
2827
|
+
params: {
|
|
2828
|
+
version: string;
|
|
2829
|
+
artifactId: string;
|
|
2830
|
+
board: string;
|
|
2831
|
+
};
|
|
2832
|
+
query: {
|
|
2833
|
+
shareGrant?: string | undefined;
|
|
2834
|
+
key?: string | undefined;
|
|
2835
|
+
size?: "full" | "small" | undefined;
|
|
2836
|
+
revision?: number | undefined;
|
|
2837
|
+
theme?: "light" | "dark" | undefined;
|
|
2838
|
+
};
|
|
2839
|
+
headers: unknown;
|
|
2840
|
+
response: {
|
|
2841
|
+
200: Response | {
|
|
2842
|
+
error: string;
|
|
2843
|
+
code?: import("@sixb/core").SixbErrorCode;
|
|
2844
|
+
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
2845
|
+
} | {
|
|
2846
|
+
error: string;
|
|
2847
|
+
code: string;
|
|
2848
|
+
};
|
|
2849
|
+
422: {
|
|
2850
|
+
type: "validation";
|
|
2851
|
+
on: string;
|
|
2852
|
+
summary?: string;
|
|
2853
|
+
message?: string;
|
|
2854
|
+
found?: unknown;
|
|
2855
|
+
property?: string;
|
|
2856
|
+
expected?: string;
|
|
2857
|
+
};
|
|
2858
|
+
};
|
|
2859
|
+
};
|
|
2860
|
+
};
|
|
2861
|
+
};
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2864
|
+
};
|
|
2865
|
+
};
|
|
2866
|
+
};
|
|
2867
|
+
};
|
|
1335
2868
|
} & {
|
|
1336
2869
|
api: {
|
|
1337
2870
|
artifacts: {
|
|
@@ -1394,6 +2927,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1394
2927
|
};
|
|
1395
2928
|
query: {
|
|
1396
2929
|
path: string;
|
|
2930
|
+
shareGrant?: string | undefined;
|
|
1397
2931
|
disposition?: "inline" | "attachment" | undefined;
|
|
1398
2932
|
v?: string | undefined;
|
|
1399
2933
|
};
|
|
@@ -1439,6 +2973,7 @@ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView):
|
|
|
1439
2973
|
};
|
|
1440
2974
|
query: {
|
|
1441
2975
|
path: string;
|
|
2976
|
+
shareGrant?: string | undefined;
|
|
1442
2977
|
disposition?: "inline" | "attachment" | undefined;
|
|
1443
2978
|
v?: string | undefined;
|
|
1444
2979
|
};
|