@proofhound/shared 0.1.14 → 0.1.15
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/dto/canary-release.dto.d.ts +4 -4
- package/dist/dto/dataset-import.dto.d.ts +216 -58
- package/dist/dto/dataset-import.dto.d.ts.map +1 -1
- package/dist/dto/dataset-import.dto.js +38 -4
- package/dist/dto/dataset-import.dto.js.map +1 -1
- package/dist/dto/release-line.dto.d.ts +10 -10
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const canaryReleaseStatusSchema: z.ZodEnum<{
|
|
3
3
|
failed: "failed";
|
|
4
4
|
pending: "pending";
|
|
5
|
+
completed: "completed";
|
|
5
6
|
running: "running";
|
|
6
7
|
stopped: "stopped";
|
|
7
8
|
cancelled: "cancelled";
|
|
8
|
-
completed: "completed";
|
|
9
9
|
}>;
|
|
10
10
|
export type CanaryReleaseStatusDto = z.infer<typeof canaryReleaseStatusSchema>;
|
|
11
11
|
export declare const canaryReleaseRunModeSchema: z.ZodEnum<{
|
|
@@ -151,10 +151,10 @@ export declare const canaryReleaseSchema: z.ZodObject<{
|
|
|
151
151
|
status: z.ZodEnum<{
|
|
152
152
|
failed: "failed";
|
|
153
153
|
pending: "pending";
|
|
154
|
+
completed: "completed";
|
|
154
155
|
running: "running";
|
|
155
156
|
stopped: "stopped";
|
|
156
157
|
cancelled: "cancelled";
|
|
157
|
-
completed: "completed";
|
|
158
158
|
}>;
|
|
159
159
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
160
160
|
stop: "stop";
|
|
@@ -261,10 +261,10 @@ export declare const canaryReleaseListItemSchema: z.ZodObject<{
|
|
|
261
261
|
status: z.ZodEnum<{
|
|
262
262
|
failed: "failed";
|
|
263
263
|
pending: "pending";
|
|
264
|
+
completed: "completed";
|
|
264
265
|
running: "running";
|
|
265
266
|
stopped: "stopped";
|
|
266
267
|
cancelled: "cancelled";
|
|
267
|
-
completed: "completed";
|
|
268
268
|
}>;
|
|
269
269
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
270
270
|
stop: "stop";
|
|
@@ -492,7 +492,7 @@ export declare const releaseCanaryAnnotationInputSchema: z.ZodObject<{
|
|
|
492
492
|
annotationId: z.ZodString;
|
|
493
493
|
}, z.core.$strip>;
|
|
494
494
|
export type ReleaseCanaryAnnotationInputDto = z.infer<typeof releaseCanaryAnnotationInputSchema>;
|
|
495
|
-
export declare const CANARY_RELEASE_STATUSES: ("failed" | "pending" | "
|
|
495
|
+
export declare const CANARY_RELEASE_STATUSES: ("failed" | "pending" | "completed" | "running" | "stopped" | "cancelled")[];
|
|
496
496
|
export declare const CANARY_RELEASE_RUN_MODES: ("fixed_duration" | "manual")[];
|
|
497
497
|
export declare const CANARY_RELEASE_RECORD_MODES: ("all" | "selected_categories" | "correct_only")[];
|
|
498
498
|
export declare const CANARY_RELEASE_TRAFFIC_MODES: ("split" | "dual_run")[];
|
|
@@ -3,13 +3,34 @@ export declare const datasetImportSourceFormatSchema: z.ZodEnum<{
|
|
|
3
3
|
csv: "csv";
|
|
4
4
|
jsonl: "jsonl";
|
|
5
5
|
tsv: "tsv";
|
|
6
|
+
json: "json";
|
|
7
|
+
zip: "zip";
|
|
6
8
|
}>;
|
|
7
9
|
export type DatasetImportSourceFormat = z.infer<typeof datasetImportSourceFormatSchema>;
|
|
10
|
+
export declare const datasetImportStateSchema: z.ZodEnum<{
|
|
11
|
+
failed: "failed";
|
|
12
|
+
created: "created";
|
|
13
|
+
uploading: "uploading";
|
|
14
|
+
uploaded: "uploaded";
|
|
15
|
+
queued: "queued";
|
|
16
|
+
parsing: "parsing";
|
|
17
|
+
importing: "importing";
|
|
18
|
+
completed: "completed";
|
|
19
|
+
aborted: "aborted";
|
|
20
|
+
}>;
|
|
21
|
+
export type DatasetImportState = z.infer<typeof datasetImportStateSchema>;
|
|
8
22
|
export declare const datasetImportStatusSchema: z.ZodEnum<{
|
|
23
|
+
failed: "failed";
|
|
24
|
+
created: "created";
|
|
25
|
+
uploading: "uploading";
|
|
26
|
+
uploaded: "uploaded";
|
|
27
|
+
queued: "queued";
|
|
28
|
+
parsing: "parsing";
|
|
9
29
|
importing: "importing";
|
|
10
|
-
|
|
30
|
+
completed: "completed";
|
|
31
|
+
aborted: "aborted";
|
|
11
32
|
}>;
|
|
12
|
-
export type DatasetImportStatus =
|
|
33
|
+
export type DatasetImportStatus = DatasetImportState;
|
|
13
34
|
export declare const datasetImportModeSchema: z.ZodEnum<{
|
|
14
35
|
batch: "batch";
|
|
15
36
|
raw_object: "raw_object";
|
|
@@ -43,6 +64,8 @@ export declare const createDatasetImportSchema: z.ZodObject<{
|
|
|
43
64
|
csv: "csv";
|
|
44
65
|
jsonl: "jsonl";
|
|
45
66
|
tsv: "tsv";
|
|
67
|
+
json: "json";
|
|
68
|
+
zip: "zip";
|
|
46
69
|
}>;
|
|
47
70
|
declaredTotalRows: z.ZodOptional<z.ZodNumber>;
|
|
48
71
|
}, z.core.$strip>;
|
|
@@ -69,6 +92,8 @@ export declare const createRawDatasetImportSchema: z.ZodObject<{
|
|
|
69
92
|
csv: "csv";
|
|
70
93
|
jsonl: "jsonl";
|
|
71
94
|
tsv: "tsv";
|
|
95
|
+
json: "json";
|
|
96
|
+
zip: "zip";
|
|
72
97
|
}>;
|
|
73
98
|
declaredTotalRows: z.ZodOptional<z.ZodNumber>;
|
|
74
99
|
}, z.core.$strip>;
|
|
@@ -94,12 +119,21 @@ export declare const datasetImportItemSchema: z.ZodObject<{
|
|
|
94
119
|
csv: "csv";
|
|
95
120
|
jsonl: "jsonl";
|
|
96
121
|
tsv: "tsv";
|
|
122
|
+
json: "json";
|
|
123
|
+
zip: "zip";
|
|
97
124
|
}>;
|
|
98
125
|
declaredTotalRows: z.ZodNullable<z.ZodNumber>;
|
|
99
126
|
receivedRows: z.ZodNumber;
|
|
100
127
|
status: z.ZodEnum<{
|
|
128
|
+
failed: "failed";
|
|
129
|
+
created: "created";
|
|
130
|
+
uploading: "uploading";
|
|
131
|
+
uploaded: "uploaded";
|
|
132
|
+
queued: "queued";
|
|
133
|
+
parsing: "parsing";
|
|
101
134
|
importing: "importing";
|
|
102
|
-
|
|
135
|
+
completed: "completed";
|
|
136
|
+
aborted: "aborted";
|
|
103
137
|
}>;
|
|
104
138
|
createdAt: z.ZodString;
|
|
105
139
|
updatedAt: z.ZodString;
|
|
@@ -110,61 +144,26 @@ export declare const datasetImportBatchResponseSchema: z.ZodObject<{
|
|
|
110
144
|
receivedRows: z.ZodNumber;
|
|
111
145
|
}, z.core.$strip>;
|
|
112
146
|
export type DatasetImportBatchResponseDto = z.infer<typeof datasetImportBatchResponseSchema>;
|
|
113
|
-
export declare const
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
expected_output: "expected_output";
|
|
132
|
-
metadata: "metadata";
|
|
133
|
-
}>;
|
|
134
|
-
type: z.ZodEnum<{
|
|
135
|
-
string: "string";
|
|
136
|
-
number: "number";
|
|
137
|
-
boolean: "boolean";
|
|
138
|
-
object: "object";
|
|
139
|
-
null: "null";
|
|
140
|
-
unknown: "unknown";
|
|
141
|
-
array: "array";
|
|
142
|
-
}>;
|
|
143
|
-
}, z.core.$strip>>;
|
|
144
|
-
categoryDistribution: z.ZodObject<{
|
|
145
|
-
field: z.ZodNullable<z.ZodString>;
|
|
146
|
-
total: z.ZodNumber;
|
|
147
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
148
|
-
label: z.ZodString;
|
|
149
|
-
count: z.ZodNumber;
|
|
150
|
-
}, z.core.$strip>>;
|
|
151
|
-
}, z.core.$strip>;
|
|
152
|
-
references: z.ZodObject<{
|
|
153
|
-
experiments: z.ZodNumber;
|
|
154
|
-
optimizations: z.ZodNumber;
|
|
155
|
-
}, z.core.$strip>;
|
|
156
|
-
hasImages: z.ZodBoolean;
|
|
157
|
-
storagePrefix: z.ZodNullable<z.ZodString>;
|
|
158
|
-
createdBy: z.ZodString;
|
|
159
|
-
createdByDisplayName: z.ZodNullable<z.ZodString>;
|
|
160
|
-
createdAt: z.ZodString;
|
|
161
|
-
updatedAt: z.ZodString;
|
|
162
|
-
archivedAt: z.ZodNullable<z.ZodString>;
|
|
163
|
-
deletedAt: z.ZodNullable<z.ZodString>;
|
|
164
|
-
}, z.core.$strip>;
|
|
165
|
-
sampleCount: z.ZodNumber;
|
|
147
|
+
export declare const datasetImportProgressSchema: z.ZodObject<{
|
|
148
|
+
state: z.ZodEnum<{
|
|
149
|
+
failed: "failed";
|
|
150
|
+
created: "created";
|
|
151
|
+
uploading: "uploading";
|
|
152
|
+
uploaded: "uploaded";
|
|
153
|
+
queued: "queued";
|
|
154
|
+
parsing: "parsing";
|
|
155
|
+
importing: "importing";
|
|
156
|
+
completed: "completed";
|
|
157
|
+
aborted: "aborted";
|
|
158
|
+
}>;
|
|
159
|
+
uploadedBytes: z.ZodNullable<z.ZodNumber>;
|
|
160
|
+
parsedRows: z.ZodNumber;
|
|
161
|
+
importedRows: z.ZodNumber;
|
|
162
|
+
totalRows: z.ZodNullable<z.ZodNumber>;
|
|
163
|
+
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
164
|
+
percentage: z.ZodNullable<z.ZodNumber>;
|
|
166
165
|
}, z.core.$strip>;
|
|
167
|
-
export type
|
|
166
|
+
export type DatasetImportProgressDto = z.infer<typeof datasetImportProgressSchema>;
|
|
168
167
|
export declare const datasetRawImportCapabilitiesSchema: z.ZodObject<{
|
|
169
168
|
supported: z.ZodBoolean;
|
|
170
169
|
maxBytes: z.ZodNumber;
|
|
@@ -194,12 +193,21 @@ export declare const createRawDatasetImportResponseSchema: z.ZodObject<{
|
|
|
194
193
|
csv: "csv";
|
|
195
194
|
jsonl: "jsonl";
|
|
196
195
|
tsv: "tsv";
|
|
196
|
+
json: "json";
|
|
197
|
+
zip: "zip";
|
|
197
198
|
}>;
|
|
198
199
|
declaredTotalRows: z.ZodNullable<z.ZodNumber>;
|
|
199
200
|
receivedRows: z.ZodNumber;
|
|
200
201
|
status: z.ZodEnum<{
|
|
202
|
+
failed: "failed";
|
|
203
|
+
created: "created";
|
|
204
|
+
uploading: "uploading";
|
|
205
|
+
uploaded: "uploaded";
|
|
206
|
+
queued: "queued";
|
|
207
|
+
parsing: "parsing";
|
|
201
208
|
importing: "importing";
|
|
202
|
-
|
|
209
|
+
completed: "completed";
|
|
210
|
+
aborted: "aborted";
|
|
203
211
|
}>;
|
|
204
212
|
createdAt: z.ZodString;
|
|
205
213
|
updatedAt: z.ZodString;
|
|
@@ -213,4 +221,154 @@ export declare const createRawDatasetImportResponseSchema: z.ZodObject<{
|
|
|
213
221
|
maxBytes: z.ZodNumber;
|
|
214
222
|
}, z.core.$strip>;
|
|
215
223
|
export type CreateRawDatasetImportResponseDto = z.infer<typeof createRawDatasetImportResponseSchema>;
|
|
224
|
+
export declare const datasetImportStatusDtoSchema: z.ZodObject<{
|
|
225
|
+
id: z.ZodString;
|
|
226
|
+
projectId: z.ZodString;
|
|
227
|
+
datasetId: z.ZodNullable<z.ZodString>;
|
|
228
|
+
importMode: z.ZodDefault<z.ZodEnum<{
|
|
229
|
+
batch: "batch";
|
|
230
|
+
raw_object: "raw_object";
|
|
231
|
+
}>>;
|
|
232
|
+
name: z.ZodString;
|
|
233
|
+
description: z.ZodNullable<z.ZodString>;
|
|
234
|
+
fileName: z.ZodString;
|
|
235
|
+
fileSizeBytes: z.ZodNumber;
|
|
236
|
+
sourceFormat: z.ZodEnum<{
|
|
237
|
+
csv: "csv";
|
|
238
|
+
jsonl: "jsonl";
|
|
239
|
+
tsv: "tsv";
|
|
240
|
+
json: "json";
|
|
241
|
+
zip: "zip";
|
|
242
|
+
}>;
|
|
243
|
+
declaredTotalRows: z.ZodNullable<z.ZodNumber>;
|
|
244
|
+
receivedRows: z.ZodNumber;
|
|
245
|
+
status: z.ZodEnum<{
|
|
246
|
+
failed: "failed";
|
|
247
|
+
created: "created";
|
|
248
|
+
uploading: "uploading";
|
|
249
|
+
uploaded: "uploaded";
|
|
250
|
+
queued: "queued";
|
|
251
|
+
parsing: "parsing";
|
|
252
|
+
importing: "importing";
|
|
253
|
+
completed: "completed";
|
|
254
|
+
aborted: "aborted";
|
|
255
|
+
}>;
|
|
256
|
+
createdAt: z.ZodString;
|
|
257
|
+
updatedAt: z.ZodString;
|
|
258
|
+
state: z.ZodEnum<{
|
|
259
|
+
failed: "failed";
|
|
260
|
+
created: "created";
|
|
261
|
+
uploading: "uploading";
|
|
262
|
+
uploaded: "uploaded";
|
|
263
|
+
queued: "queued";
|
|
264
|
+
parsing: "parsing";
|
|
265
|
+
importing: "importing";
|
|
266
|
+
completed: "completed";
|
|
267
|
+
aborted: "aborted";
|
|
268
|
+
}>;
|
|
269
|
+
progress: z.ZodObject<{
|
|
270
|
+
state: z.ZodEnum<{
|
|
271
|
+
failed: "failed";
|
|
272
|
+
created: "created";
|
|
273
|
+
uploading: "uploading";
|
|
274
|
+
uploaded: "uploaded";
|
|
275
|
+
queued: "queued";
|
|
276
|
+
parsing: "parsing";
|
|
277
|
+
importing: "importing";
|
|
278
|
+
completed: "completed";
|
|
279
|
+
aborted: "aborted";
|
|
280
|
+
}>;
|
|
281
|
+
uploadedBytes: z.ZodNullable<z.ZodNumber>;
|
|
282
|
+
parsedRows: z.ZodNumber;
|
|
283
|
+
importedRows: z.ZodNumber;
|
|
284
|
+
totalRows: z.ZodNullable<z.ZodNumber>;
|
|
285
|
+
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
286
|
+
percentage: z.ZodNullable<z.ZodNumber>;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
289
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
290
|
+
jobId: z.ZodNullable<z.ZodString>;
|
|
291
|
+
rawUploadCompletedAt: z.ZodNullable<z.ZodString>;
|
|
292
|
+
queuedAt: z.ZodNullable<z.ZodString>;
|
|
293
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
294
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
295
|
+
failedAt: z.ZodNullable<z.ZodString>;
|
|
296
|
+
abortedAt: z.ZodNullable<z.ZodString>;
|
|
297
|
+
}, z.core.$strip>;
|
|
298
|
+
export type DatasetImportStatusDto = z.infer<typeof datasetImportStatusDtoSchema>;
|
|
299
|
+
export declare const completeDatasetImportResponseSchema: z.ZodObject<{
|
|
300
|
+
id: z.ZodString;
|
|
301
|
+
projectId: z.ZodString;
|
|
302
|
+
datasetId: z.ZodNullable<z.ZodString>;
|
|
303
|
+
importMode: z.ZodDefault<z.ZodEnum<{
|
|
304
|
+
batch: "batch";
|
|
305
|
+
raw_object: "raw_object";
|
|
306
|
+
}>>;
|
|
307
|
+
name: z.ZodString;
|
|
308
|
+
description: z.ZodNullable<z.ZodString>;
|
|
309
|
+
fileName: z.ZodString;
|
|
310
|
+
fileSizeBytes: z.ZodNumber;
|
|
311
|
+
sourceFormat: z.ZodEnum<{
|
|
312
|
+
csv: "csv";
|
|
313
|
+
jsonl: "jsonl";
|
|
314
|
+
tsv: "tsv";
|
|
315
|
+
json: "json";
|
|
316
|
+
zip: "zip";
|
|
317
|
+
}>;
|
|
318
|
+
declaredTotalRows: z.ZodNullable<z.ZodNumber>;
|
|
319
|
+
receivedRows: z.ZodNumber;
|
|
320
|
+
status: z.ZodEnum<{
|
|
321
|
+
failed: "failed";
|
|
322
|
+
created: "created";
|
|
323
|
+
uploading: "uploading";
|
|
324
|
+
uploaded: "uploaded";
|
|
325
|
+
queued: "queued";
|
|
326
|
+
parsing: "parsing";
|
|
327
|
+
importing: "importing";
|
|
328
|
+
completed: "completed";
|
|
329
|
+
aborted: "aborted";
|
|
330
|
+
}>;
|
|
331
|
+
createdAt: z.ZodString;
|
|
332
|
+
updatedAt: z.ZodString;
|
|
333
|
+
state: z.ZodEnum<{
|
|
334
|
+
failed: "failed";
|
|
335
|
+
created: "created";
|
|
336
|
+
uploading: "uploading";
|
|
337
|
+
uploaded: "uploaded";
|
|
338
|
+
queued: "queued";
|
|
339
|
+
parsing: "parsing";
|
|
340
|
+
importing: "importing";
|
|
341
|
+
completed: "completed";
|
|
342
|
+
aborted: "aborted";
|
|
343
|
+
}>;
|
|
344
|
+
progress: z.ZodObject<{
|
|
345
|
+
state: z.ZodEnum<{
|
|
346
|
+
failed: "failed";
|
|
347
|
+
created: "created";
|
|
348
|
+
uploading: "uploading";
|
|
349
|
+
uploaded: "uploaded";
|
|
350
|
+
queued: "queued";
|
|
351
|
+
parsing: "parsing";
|
|
352
|
+
importing: "importing";
|
|
353
|
+
completed: "completed";
|
|
354
|
+
aborted: "aborted";
|
|
355
|
+
}>;
|
|
356
|
+
uploadedBytes: z.ZodNullable<z.ZodNumber>;
|
|
357
|
+
parsedRows: z.ZodNumber;
|
|
358
|
+
importedRows: z.ZodNumber;
|
|
359
|
+
totalRows: z.ZodNullable<z.ZodNumber>;
|
|
360
|
+
totalBytes: z.ZodNullable<z.ZodNumber>;
|
|
361
|
+
percentage: z.ZodNullable<z.ZodNumber>;
|
|
362
|
+
}, z.core.$strip>;
|
|
363
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
364
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
365
|
+
jobId: z.ZodNullable<z.ZodString>;
|
|
366
|
+
rawUploadCompletedAt: z.ZodNullable<z.ZodString>;
|
|
367
|
+
queuedAt: z.ZodNullable<z.ZodString>;
|
|
368
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
369
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
370
|
+
failedAt: z.ZodNullable<z.ZodString>;
|
|
371
|
+
abortedAt: z.ZodNullable<z.ZodString>;
|
|
372
|
+
}, z.core.$strip>;
|
|
373
|
+
export type CompleteDatasetImportResponseDto = z.infer<typeof completeDatasetImportResponseSchema>;
|
|
216
374
|
//# sourceMappingURL=dataset-import.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataset-import.dto.d.ts","sourceRoot":"","sources":["../../src/dto/dataset-import.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"dataset-import.dto.d.ts","sourceRoot":"","sources":["../../src/dto/dataset-import.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,+BAA+B;;;;;;EAAiD,CAAC;AAC9F,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,wBAAwB;;;;;;;;;;EAUnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAG1E,eAAO,MAAM,yBAAyB;;;;;;;;;;EAA2B,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AAErD,eAAO,MAAM,uBAAuB;;;EAAkC,CAAC;AACvE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,6BAA6B;;;;iBAIxC,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEvF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAclC,CAAC;AACL,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE/E,eAAO,MAAM,4BAA4B;;;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vC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA+B,CAAC;AAChF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createRawDatasetImportResponseSchema = exports.datasetRawUploadSessionSchema = exports.datasetRawImportCapabilitiesSchema = exports.
|
|
3
|
+
exports.completeDatasetImportResponseSchema = exports.datasetImportStatusDtoSchema = exports.createRawDatasetImportResponseSchema = exports.datasetRawUploadSessionSchema = exports.datasetRawImportCapabilitiesSchema = exports.datasetImportProgressSchema = exports.datasetImportBatchResponseSchema = exports.datasetImportItemSchema = exports.datasetImportBatchSchema = exports.createRawDatasetImportSchema = exports.createDatasetImportSchema = exports.datasetImportSourceFileSchema = exports.datasetImportModeSchema = exports.datasetImportStatusSchema = exports.datasetImportStateSchema = exports.datasetImportSourceFormatSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const dataset_dto_1 = require("./dataset.dto");
|
|
6
|
-
exports.datasetImportSourceFormatSchema = zod_1.z.enum(['jsonl', 'csv', 'tsv']);
|
|
7
|
-
exports.
|
|
6
|
+
exports.datasetImportSourceFormatSchema = zod_1.z.enum(['jsonl', 'csv', 'tsv', 'json', 'zip']);
|
|
7
|
+
exports.datasetImportStateSchema = zod_1.z.enum([
|
|
8
|
+
'created',
|
|
9
|
+
'uploading',
|
|
10
|
+
'uploaded',
|
|
11
|
+
'queued',
|
|
12
|
+
'parsing',
|
|
13
|
+
'importing',
|
|
14
|
+
'completed',
|
|
15
|
+
'failed',
|
|
16
|
+
'aborted',
|
|
17
|
+
]);
|
|
18
|
+
// Backward-compatible alias while callers migrate terminology from "status" to "state".
|
|
19
|
+
exports.datasetImportStatusSchema = exports.datasetImportStateSchema;
|
|
8
20
|
exports.datasetImportModeSchema = zod_1.z.enum(['batch', 'raw_object']);
|
|
9
21
|
exports.datasetImportSourceFileSchema = zod_1.z.object({
|
|
10
22
|
fileName: zod_1.z.string().trim().min(1).max(260),
|
|
@@ -52,7 +64,15 @@ exports.datasetImportBatchResponseSchema = zod_1.z.object({
|
|
|
52
64
|
importId: zod_1.z.string().uuid(),
|
|
53
65
|
receivedRows: zod_1.z.number().int().nonnegative(),
|
|
54
66
|
});
|
|
55
|
-
exports.
|
|
67
|
+
exports.datasetImportProgressSchema = zod_1.z.object({
|
|
68
|
+
state: exports.datasetImportStateSchema,
|
|
69
|
+
uploadedBytes: zod_1.z.number().int().nonnegative().nullable(),
|
|
70
|
+
parsedRows: zod_1.z.number().int().nonnegative(),
|
|
71
|
+
importedRows: zod_1.z.number().int().nonnegative(),
|
|
72
|
+
totalRows: zod_1.z.number().int().nonnegative().nullable(),
|
|
73
|
+
totalBytes: zod_1.z.number().int().nonnegative().nullable(),
|
|
74
|
+
percentage: zod_1.z.number().min(0).max(100).nullable(),
|
|
75
|
+
});
|
|
56
76
|
exports.datasetRawImportCapabilitiesSchema = zod_1.z.object({
|
|
57
77
|
supported: zod_1.z.boolean(),
|
|
58
78
|
maxBytes: zod_1.z.number().int().positive(),
|
|
@@ -68,4 +88,18 @@ exports.createRawDatasetImportResponseSchema = zod_1.z.object({
|
|
|
68
88
|
uploadSession: exports.datasetRawUploadSessionSchema,
|
|
69
89
|
maxBytes: zod_1.z.number().int().positive(),
|
|
70
90
|
});
|
|
91
|
+
exports.datasetImportStatusDtoSchema = exports.datasetImportItemSchema.extend({
|
|
92
|
+
state: exports.datasetImportStateSchema,
|
|
93
|
+
progress: exports.datasetImportProgressSchema,
|
|
94
|
+
errorCode: zod_1.z.string().nullable(),
|
|
95
|
+
errorMessage: zod_1.z.string().nullable(),
|
|
96
|
+
jobId: zod_1.z.string().nullable(),
|
|
97
|
+
rawUploadCompletedAt: zod_1.z.string().datetime().nullable(),
|
|
98
|
+
queuedAt: zod_1.z.string().datetime().nullable(),
|
|
99
|
+
startedAt: zod_1.z.string().datetime().nullable(),
|
|
100
|
+
completedAt: zod_1.z.string().datetime().nullable(),
|
|
101
|
+
failedAt: zod_1.z.string().datetime().nullable(),
|
|
102
|
+
abortedAt: zod_1.z.string().datetime().nullable(),
|
|
103
|
+
});
|
|
104
|
+
exports.completeDatasetImportResponseSchema = exports.datasetImportStatusDtoSchema;
|
|
71
105
|
//# sourceMappingURL=dataset-import.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataset-import.dto.js","sourceRoot":"","sources":["../../src/dto/dataset-import.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,+
|
|
1
|
+
{"version":3,"file":"dataset-import.dto.js","sourceRoot":"","sources":["../../src/dto/dataset-import.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,+CAA0D;AAE7C,QAAA,+BAA+B,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;AAGjF,QAAA,wBAAwB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC7C,SAAS;IACT,WAAW;IACX,UAAU;IACV,QAAQ;IACR,SAAS;IACT,WAAW;IACX,WAAW;IACX,QAAQ;IACR,SAAS;CACV,CAAC,CAAC;AAGH,wFAAwF;AAC3E,QAAA,yBAAyB,GAAG,gCAAwB,CAAC;AAGrD,QAAA,uBAAuB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC;AAG1D,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,QAAQ,EAAE,OAAC,CA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AAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC1C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC;AAGU,QAAA,mCAAmC,GAAG,oCAA4B,CAAC"}
|
|
@@ -21,10 +21,10 @@ export type ReleaseLineRecordCategoriesDto = z.infer<typeof releaseLineRecordCat
|
|
|
21
21
|
export declare const releaseLineEventStatusSchema: z.ZodEnum<{
|
|
22
22
|
archived: "archived";
|
|
23
23
|
failed: "failed";
|
|
24
|
+
completed: "completed";
|
|
24
25
|
running: "running";
|
|
25
26
|
stopped: "stopped";
|
|
26
27
|
cancelled: "cancelled";
|
|
27
|
-
completed: "completed";
|
|
28
28
|
}>;
|
|
29
29
|
export type ReleaseLineEventStatusDto = z.infer<typeof releaseLineEventStatusSchema>;
|
|
30
30
|
export declare const releaseLineEventOperationSchema: z.ZodEnum<{
|
|
@@ -154,10 +154,10 @@ export declare const releaseLineEventSchema: z.ZodObject<{
|
|
|
154
154
|
status: z.ZodEnum<{
|
|
155
155
|
archived: "archived";
|
|
156
156
|
failed: "failed";
|
|
157
|
+
completed: "completed";
|
|
157
158
|
running: "running";
|
|
158
159
|
stopped: "stopped";
|
|
159
160
|
cancelled: "cancelled";
|
|
160
|
-
completed: "completed";
|
|
161
161
|
}>;
|
|
162
162
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
163
163
|
archived: "archived";
|
|
@@ -295,10 +295,10 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
295
295
|
status: z.ZodEnum<{
|
|
296
296
|
archived: "archived";
|
|
297
297
|
failed: "failed";
|
|
298
|
+
completed: "completed";
|
|
298
299
|
running: "running";
|
|
299
300
|
stopped: "stopped";
|
|
300
301
|
cancelled: "cancelled";
|
|
301
|
-
completed: "completed";
|
|
302
302
|
}>;
|
|
303
303
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
304
304
|
archived: "archived";
|
|
@@ -416,10 +416,10 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
416
416
|
status: z.ZodEnum<{
|
|
417
417
|
archived: "archived";
|
|
418
418
|
failed: "failed";
|
|
419
|
+
completed: "completed";
|
|
419
420
|
running: "running";
|
|
420
421
|
stopped: "stopped";
|
|
421
422
|
cancelled: "cancelled";
|
|
422
|
-
completed: "completed";
|
|
423
423
|
}>;
|
|
424
424
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
425
425
|
archived: "archived";
|
|
@@ -570,10 +570,10 @@ export declare const releaseLineSchema: z.ZodObject<{
|
|
|
570
570
|
status: z.ZodEnum<{
|
|
571
571
|
archived: "archived";
|
|
572
572
|
failed: "failed";
|
|
573
|
+
completed: "completed";
|
|
573
574
|
running: "running";
|
|
574
575
|
stopped: "stopped";
|
|
575
576
|
cancelled: "cancelled";
|
|
576
|
-
completed: "completed";
|
|
577
577
|
}>;
|
|
578
578
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
579
579
|
archived: "archived";
|
|
@@ -717,10 +717,10 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
717
717
|
status: z.ZodEnum<{
|
|
718
718
|
archived: "archived";
|
|
719
719
|
failed: "failed";
|
|
720
|
+
completed: "completed";
|
|
720
721
|
running: "running";
|
|
721
722
|
stopped: "stopped";
|
|
722
723
|
cancelled: "cancelled";
|
|
723
|
-
completed: "completed";
|
|
724
724
|
}>;
|
|
725
725
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
726
726
|
archived: "archived";
|
|
@@ -838,10 +838,10 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
838
838
|
status: z.ZodEnum<{
|
|
839
839
|
archived: "archived";
|
|
840
840
|
failed: "failed";
|
|
841
|
+
completed: "completed";
|
|
841
842
|
running: "running";
|
|
842
843
|
stopped: "stopped";
|
|
843
844
|
cancelled: "cancelled";
|
|
844
|
-
completed: "completed";
|
|
845
845
|
}>;
|
|
846
846
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
847
847
|
archived: "archived";
|
|
@@ -992,10 +992,10 @@ export declare const releaseLineListResponseSchema: z.ZodObject<{
|
|
|
992
992
|
status: z.ZodEnum<{
|
|
993
993
|
archived: "archived";
|
|
994
994
|
failed: "failed";
|
|
995
|
+
completed: "completed";
|
|
995
996
|
running: "running";
|
|
996
997
|
stopped: "stopped";
|
|
997
998
|
cancelled: "cancelled";
|
|
998
|
-
completed: "completed";
|
|
999
999
|
}>;
|
|
1000
1000
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
1001
1001
|
archived: "archived";
|
|
@@ -1122,10 +1122,10 @@ export declare const releaseLineEventListResponseSchema: z.ZodObject<{
|
|
|
1122
1122
|
status: z.ZodEnum<{
|
|
1123
1123
|
archived: "archived";
|
|
1124
1124
|
failed: "failed";
|
|
1125
|
+
completed: "completed";
|
|
1125
1126
|
running: "running";
|
|
1126
1127
|
stopped: "stopped";
|
|
1127
1128
|
cancelled: "cancelled";
|
|
1128
|
-
completed: "completed";
|
|
1129
1129
|
}>;
|
|
1130
1130
|
terminalReason: z.ZodNullable<z.ZodEnum<{
|
|
1131
1131
|
archived: "archived";
|
|
@@ -1365,6 +1365,6 @@ export declare const deleteReleaseLineInputSchema: z.ZodObject<{
|
|
|
1365
1365
|
}, z.core.$strip>;
|
|
1366
1366
|
export type DeleteReleaseLineInputDto = z.infer<typeof deleteReleaseLineInputSchema>;
|
|
1367
1367
|
export declare const RELEASE_LINE_STATUSES: ("archived" | "running" | "stopped")[];
|
|
1368
|
-
export declare const RELEASE_LINE_EVENT_STATUSES: ("archived" | "failed" | "
|
|
1368
|
+
export declare const RELEASE_LINE_EVENT_STATUSES: ("archived" | "failed" | "completed" | "running" | "stopped" | "cancelled")[];
|
|
1369
1369
|
export declare const RELEASE_LINE_EVENT_OPERATIONS: ("rollback" | "force_stop" | "create_production" | "create_production_from_experiment" | "create_canary" | "traffic_updated" | "mode_updated" | "config_changed" | "stop_lane" | "resume_lane" | "cancel_canary" | "promote_canary" | "restore_to_production" | "restore_to_canary" | "archive_line" | "unarchive_line")[];
|
|
1370
1370
|
//# sourceMappingURL=release-line.dto.d.ts.map
|