@anchrd/colab-sdk 0.1.10 → 0.1.12
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/actions/actions.d.ts +64 -11
- package/dist/actions/actions.js +22 -7
- package/dist/boards/boards.d.ts +321 -10
- package/dist/boards/boards.js +111 -13
- package/dist/card-kinds/card-kinds.d.ts +265 -0
- package/dist/card-kinds/card-kinds.js +153 -0
- package/dist/error/error.d.ts +6 -4
- package/dist/error/error.js +4 -3
- package/dist/gadgets/gadgets.d.ts +532 -0
- package/dist/gadgets/gadgets.js +329 -0
- package/dist/grammar/grammar.d.ts +1 -1
- package/dist/grammar/grammar.js +8 -1
- package/dist/nodes/nodes.d.ts +10 -10
- package/dist/nodes/nodes.js +4 -3
- package/dist/operators/operators.d.ts +4 -4
- package/dist/operators/operators.js +2 -2
- package/dist/runs/runs.d.ts +41 -70
- package/dist/runs/runs.js +14 -73
- package/dist/schedule/schedule.d.ts +36 -0
- package/dist/schedule/schedule.js +93 -0
- package/dist/sdk.d.ts +8 -6
- package/dist/sdk.js +8 -6
- package/dist/tables/tables.d.ts +8 -0
- package/dist/tables/tables.js +29 -4
- package/dist/users/users.js +2 -2
- package/dist/validation/validation.d.ts +2 -55
- package/dist/validation/validation.js +3 -22
- package/dist/versions/versions.d.ts +233 -1
- package/dist/versions/versions.js +57 -10
- package/package.json +1 -1
- package/dist/dashboards/dashboards.d.ts +0 -221
- package/dist/dashboards/dashboards.js +0 -520
package/dist/boards/boards.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const BoardCreateInput: z.ZodObject<{
|
|
|
27
27
|
archive: "archive";
|
|
28
28
|
}>;
|
|
29
29
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
description: z.ZodOptional<z.ZodString>;
|
|
30
31
|
}, z.core.$strict>>>;
|
|
31
32
|
idempotencyKey: z.ZodString;
|
|
32
33
|
}, z.core.$strict>;
|
|
@@ -82,6 +83,51 @@ export declare const BoardUpdateInput: z.ZodObject<{
|
|
|
82
83
|
archive: "archive";
|
|
83
84
|
}>;
|
|
84
85
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
description: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strict>>>;
|
|
88
|
+
cardKinds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
89
|
+
kindId: z.ZodOptional<z.ZodTemplateLiteral<`kind_${string}`>>;
|
|
90
|
+
name: z.ZodString;
|
|
91
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
message: "message";
|
|
93
|
+
user: "user";
|
|
94
|
+
package: "package";
|
|
95
|
+
search: "search";
|
|
96
|
+
flag: "flag";
|
|
97
|
+
route: "route";
|
|
98
|
+
"arrow-right": "arrow-right";
|
|
99
|
+
"square-check": "square-check";
|
|
100
|
+
"file-text": "file-text";
|
|
101
|
+
bulb: "bulb";
|
|
102
|
+
target: "target";
|
|
103
|
+
calendar: "calendar";
|
|
104
|
+
star: "star";
|
|
105
|
+
bolt: "bolt";
|
|
106
|
+
bug: "bug";
|
|
107
|
+
rocket: "rocket";
|
|
108
|
+
}>>;
|
|
109
|
+
description: z.ZodOptional<z.ZodString>;
|
|
110
|
+
standard: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
112
|
+
fieldId: z.ZodOptional<z.ZodTemplateLiteral<`field_${string}`>>;
|
|
113
|
+
name: z.ZodString;
|
|
114
|
+
type: z.ZodEnum<{
|
|
115
|
+
number: "number";
|
|
116
|
+
date: "date";
|
|
117
|
+
list: "list";
|
|
118
|
+
link: "link";
|
|
119
|
+
text: "text";
|
|
120
|
+
checklist: "checklist";
|
|
121
|
+
select: "select";
|
|
122
|
+
}>;
|
|
123
|
+
description: z.ZodOptional<z.ZodString>;
|
|
124
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
127
|
+
optionId: z.ZodOptional<z.ZodTemplateLiteral<`option_${string}`>>;
|
|
128
|
+
name: z.ZodString;
|
|
129
|
+
}, z.core.$strict>>>;
|
|
130
|
+
}, z.core.$strict>>;
|
|
85
131
|
}, z.core.$strict>>>;
|
|
86
132
|
labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
133
|
labelId: z.ZodOptional<z.ZodTemplateLiteral<`label_${string}`>>;
|
|
@@ -102,6 +148,7 @@ export declare const BoardColumn: z.ZodObject<{
|
|
|
102
148
|
archive: "archive";
|
|
103
149
|
}>;
|
|
104
150
|
visible: z.ZodBoolean;
|
|
151
|
+
description: z.ZodString;
|
|
105
152
|
}, z.core.$strip>;
|
|
106
153
|
export type BoardColumn = z.infer<typeof BoardColumn>;
|
|
107
154
|
export declare const BoardLabel: z.ZodObject<{
|
|
@@ -189,6 +236,51 @@ export declare const BoardDetail: z.ZodObject<{
|
|
|
189
236
|
archive: "archive";
|
|
190
237
|
}>;
|
|
191
238
|
visible: z.ZodBoolean;
|
|
239
|
+
description: z.ZodString;
|
|
240
|
+
}, z.core.$strip>>;
|
|
241
|
+
cardKinds: z.ZodArray<z.ZodObject<{
|
|
242
|
+
kindId: z.ZodTemplateLiteral<`kind_${string}`>;
|
|
243
|
+
name: z.ZodString;
|
|
244
|
+
icon: z.ZodEnum<{
|
|
245
|
+
message: "message";
|
|
246
|
+
user: "user";
|
|
247
|
+
package: "package";
|
|
248
|
+
search: "search";
|
|
249
|
+
flag: "flag";
|
|
250
|
+
route: "route";
|
|
251
|
+
"arrow-right": "arrow-right";
|
|
252
|
+
"square-check": "square-check";
|
|
253
|
+
"file-text": "file-text";
|
|
254
|
+
bulb: "bulb";
|
|
255
|
+
target: "target";
|
|
256
|
+
calendar: "calendar";
|
|
257
|
+
star: "star";
|
|
258
|
+
bolt: "bolt";
|
|
259
|
+
bug: "bug";
|
|
260
|
+
rocket: "rocket";
|
|
261
|
+
}>;
|
|
262
|
+
description: z.ZodString;
|
|
263
|
+
standard: z.ZodBoolean;
|
|
264
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
265
|
+
fieldId: z.ZodTemplateLiteral<`field_${string}`>;
|
|
266
|
+
name: z.ZodString;
|
|
267
|
+
type: z.ZodEnum<{
|
|
268
|
+
number: "number";
|
|
269
|
+
date: "date";
|
|
270
|
+
list: "list";
|
|
271
|
+
link: "link";
|
|
272
|
+
text: "text";
|
|
273
|
+
checklist: "checklist";
|
|
274
|
+
select: "select";
|
|
275
|
+
}>;
|
|
276
|
+
description: z.ZodString;
|
|
277
|
+
required: z.ZodBoolean;
|
|
278
|
+
visible: z.ZodBoolean;
|
|
279
|
+
options: z.ZodArray<z.ZodObject<{
|
|
280
|
+
optionId: z.ZodTemplateLiteral<`option_${string}`>;
|
|
281
|
+
name: z.ZodString;
|
|
282
|
+
}, z.core.$strip>>;
|
|
283
|
+
}, z.core.$strip>>;
|
|
192
284
|
}, z.core.$strip>>;
|
|
193
285
|
labels: z.ZodArray<z.ZodObject<{
|
|
194
286
|
labelId: z.ZodTemplateLiteral<`label_${string}`>;
|
|
@@ -201,6 +293,7 @@ export declare const BoardDetail: z.ZodObject<{
|
|
|
201
293
|
updatedAt: z.ZodISODateTime;
|
|
202
294
|
}, z.core.$strip>;
|
|
203
295
|
export type BoardDetail = z.infer<typeof BoardDetail>;
|
|
296
|
+
export declare const maxBulkTasks = 100;
|
|
204
297
|
export declare const BoardTaskListInput: z.ZodObject<{
|
|
205
298
|
boardId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
206
299
|
runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
@@ -217,14 +310,32 @@ export declare const BoardTaskListInput: z.ZodObject<{
|
|
|
217
310
|
assigneeId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
218
311
|
labelId: z.ZodOptional<z.ZodTemplateLiteral<`label_${string}`>>;
|
|
219
312
|
parentTaskId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
313
|
+
taskIds: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>, unknown>>;
|
|
314
|
+
content: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
220
315
|
cursor: z.ZodOptional<z.ZodString>;
|
|
221
316
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
222
317
|
}, z.core.$strict>;
|
|
223
318
|
export type BoardTaskListInput = z.infer<typeof BoardTaskListInput>;
|
|
224
319
|
export declare const BoardTaskCreateInput: z.ZodObject<{
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
320
|
+
title: z.ZodOptional<z.ZodString>;
|
|
321
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
322
|
+
parentRef: z.ZodOptional<z.ZodString>;
|
|
323
|
+
dependsOnRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
324
|
+
title: z.ZodString;
|
|
325
|
+
content: z.ZodOptional<z.ZodString>;
|
|
326
|
+
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
327
|
+
assigneeId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
328
|
+
startsAt: z.ZodOptional<z.ZodISODateTime>;
|
|
329
|
+
endsAt: z.ZodOptional<z.ZodISODateTime>;
|
|
330
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
331
|
+
parentTaskId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
332
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
333
|
+
position: z.ZodOptional<z.ZodString>;
|
|
334
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
335
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
336
|
+
ref: z.ZodString;
|
|
337
|
+
}, z.core.$strict>>>;
|
|
338
|
+
idempotencyKey: z.ZodString;
|
|
228
339
|
content: z.ZodOptional<z.ZodString>;
|
|
229
340
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
230
341
|
assigneeId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
@@ -234,9 +345,20 @@ export declare const BoardTaskCreateInput: z.ZodObject<{
|
|
|
234
345
|
parentTaskId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
235
346
|
dependsOn: z.ZodOptional<z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
236
347
|
position: z.ZodOptional<z.ZodString>;
|
|
237
|
-
|
|
348
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
349
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
350
|
+
boardId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
351
|
+
runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
238
352
|
}, z.core.$strict>;
|
|
239
353
|
export type BoardTaskCreateInput = z.infer<typeof BoardTaskCreateInput>;
|
|
354
|
+
export declare const BoardTaskCreated: z.ZodObject<{
|
|
355
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
356
|
+
ref: z.ZodString;
|
|
357
|
+
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
358
|
+
rev: z.ZodNumber;
|
|
359
|
+
}, z.core.$strip>>;
|
|
360
|
+
}, z.core.$strip>;
|
|
361
|
+
export type BoardTaskCreated = z.infer<typeof BoardTaskCreated>;
|
|
240
362
|
export declare const TaskGetInput: z.ZodObject<{
|
|
241
363
|
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
242
364
|
}, z.core.$strict>;
|
|
@@ -254,10 +376,44 @@ export declare const TaskUpdateInput: z.ZodObject<{
|
|
|
254
376
|
parentTaskId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
255
377
|
dependsOn: z.ZodOptional<z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
256
378
|
position: z.ZodOptional<z.ZodString>;
|
|
379
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
380
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
257
381
|
waiting: z.ZodOptional<z.ZodBoolean>;
|
|
258
382
|
comment: z.ZodOptional<z.ZodString>;
|
|
383
|
+
editSession: z.ZodOptional<z.ZodString>;
|
|
259
384
|
}, z.core.$strict>;
|
|
260
385
|
export type TaskUpdateInput = z.infer<typeof TaskUpdateInput>;
|
|
386
|
+
export declare const BoardTaskUpdateInput: z.ZodObject<{
|
|
387
|
+
boardId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
388
|
+
runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
389
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
390
|
+
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
391
|
+
rev: z.ZodNumber;
|
|
392
|
+
title: z.ZodOptional<z.ZodString>;
|
|
393
|
+
content: z.ZodOptional<z.ZodString>;
|
|
394
|
+
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
395
|
+
assigneeId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
396
|
+
startsAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
397
|
+
endsAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
398
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
399
|
+
parentTaskId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
400
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
401
|
+
position: z.ZodOptional<z.ZodString>;
|
|
402
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
403
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
404
|
+
waiting: z.ZodOptional<z.ZodBoolean>;
|
|
405
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
406
|
+
editSession: z.ZodOptional<z.ZodString>;
|
|
407
|
+
}, z.core.$strict>>;
|
|
408
|
+
}, z.core.$strict>;
|
|
409
|
+
export type BoardTaskUpdateInput = z.infer<typeof BoardTaskUpdateInput>;
|
|
410
|
+
export declare const BoardTaskUpdated: z.ZodObject<{
|
|
411
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
412
|
+
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
413
|
+
rev: z.ZodNumber;
|
|
414
|
+
}, z.core.$strip>>;
|
|
415
|
+
}, z.core.$strip>;
|
|
416
|
+
export type BoardTaskUpdated = z.infer<typeof BoardTaskUpdated>;
|
|
261
417
|
export declare const TaskImage: z.ZodUnion<readonly [z.ZodObject<{
|
|
262
418
|
kind: z.ZodLiteral<"url">;
|
|
263
419
|
url: z.ZodString;
|
|
@@ -307,6 +463,32 @@ export declare const BoardTaskItem: z.ZodObject<{
|
|
|
307
463
|
kind: z.ZodLiteral<"file">;
|
|
308
464
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
309
465
|
}, z.core.$strip>]>>;
|
|
466
|
+
kind: z.ZodNullable<z.ZodObject<{
|
|
467
|
+
kindId: z.ZodTemplateLiteral<`kind_${string}`>;
|
|
468
|
+
name: z.ZodString;
|
|
469
|
+
icon: z.ZodEnum<{
|
|
470
|
+
message: "message";
|
|
471
|
+
user: "user";
|
|
472
|
+
package: "package";
|
|
473
|
+
search: "search";
|
|
474
|
+
flag: "flag";
|
|
475
|
+
route: "route";
|
|
476
|
+
"arrow-right": "arrow-right";
|
|
477
|
+
"square-check": "square-check";
|
|
478
|
+
"file-text": "file-text";
|
|
479
|
+
bulb: "bulb";
|
|
480
|
+
target: "target";
|
|
481
|
+
calendar: "calendar";
|
|
482
|
+
star: "star";
|
|
483
|
+
bolt: "bolt";
|
|
484
|
+
bug: "bug";
|
|
485
|
+
rocket: "rocket";
|
|
486
|
+
}>;
|
|
487
|
+
}, z.core.$strip>>;
|
|
488
|
+
fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
489
|
+
text: z.ZodString;
|
|
490
|
+
done: z.ZodBoolean;
|
|
491
|
+
}, z.core.$strip>>]>>>;
|
|
310
492
|
subject: z.ZodNullable<z.ZodObject<{
|
|
311
493
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
312
494
|
kind: z.ZodEnum<{
|
|
@@ -316,7 +498,7 @@ export declare const BoardTaskItem: z.ZodObject<{
|
|
|
316
498
|
table: "table";
|
|
317
499
|
board: "board";
|
|
318
500
|
task: "task";
|
|
319
|
-
|
|
501
|
+
gadget: "gadget";
|
|
320
502
|
}>;
|
|
321
503
|
path: z.ZodObject<{
|
|
322
504
|
section: z.ZodEnum<{
|
|
@@ -336,6 +518,7 @@ export declare const BoardTaskItem: z.ZodObject<{
|
|
|
336
518
|
position: z.ZodString;
|
|
337
519
|
rev: z.ZodNumber;
|
|
338
520
|
updatedAt: z.ZodISODateTime;
|
|
521
|
+
content: z.ZodOptional<z.ZodString>;
|
|
339
522
|
}, z.core.$strip>;
|
|
340
523
|
export type BoardTaskItem = z.infer<typeof BoardTaskItem>;
|
|
341
524
|
export declare const BoardTaskList: z.ZodObject<{
|
|
@@ -380,6 +563,32 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
380
563
|
kind: z.ZodLiteral<"file">;
|
|
381
564
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
382
565
|
}, z.core.$strip>]>>;
|
|
566
|
+
kind: z.ZodNullable<z.ZodObject<{
|
|
567
|
+
kindId: z.ZodTemplateLiteral<`kind_${string}`>;
|
|
568
|
+
name: z.ZodString;
|
|
569
|
+
icon: z.ZodEnum<{
|
|
570
|
+
message: "message";
|
|
571
|
+
user: "user";
|
|
572
|
+
package: "package";
|
|
573
|
+
search: "search";
|
|
574
|
+
flag: "flag";
|
|
575
|
+
route: "route";
|
|
576
|
+
"arrow-right": "arrow-right";
|
|
577
|
+
"square-check": "square-check";
|
|
578
|
+
"file-text": "file-text";
|
|
579
|
+
bulb: "bulb";
|
|
580
|
+
target: "target";
|
|
581
|
+
calendar: "calendar";
|
|
582
|
+
star: "star";
|
|
583
|
+
bolt: "bolt";
|
|
584
|
+
bug: "bug";
|
|
585
|
+
rocket: "rocket";
|
|
586
|
+
}>;
|
|
587
|
+
}, z.core.$strip>>;
|
|
588
|
+
fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
589
|
+
text: z.ZodString;
|
|
590
|
+
done: z.ZodBoolean;
|
|
591
|
+
}, z.core.$strip>>]>>>;
|
|
383
592
|
subject: z.ZodNullable<z.ZodObject<{
|
|
384
593
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
385
594
|
kind: z.ZodEnum<{
|
|
@@ -389,7 +598,7 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
389
598
|
table: "table";
|
|
390
599
|
board: "board";
|
|
391
600
|
task: "task";
|
|
392
|
-
|
|
601
|
+
gadget: "gadget";
|
|
393
602
|
}>;
|
|
394
603
|
path: z.ZodObject<{
|
|
395
604
|
section: z.ZodEnum<{
|
|
@@ -409,9 +618,25 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
409
618
|
position: z.ZodString;
|
|
410
619
|
rev: z.ZodNumber;
|
|
411
620
|
updatedAt: z.ZodISODateTime;
|
|
621
|
+
content: z.ZodOptional<z.ZodString>;
|
|
412
622
|
}, z.core.$strip>>;
|
|
413
623
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
414
624
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
625
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
626
|
+
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
627
|
+
name: z.ZodString;
|
|
628
|
+
type: z.ZodEnum<{
|
|
629
|
+
backlog: "backlog";
|
|
630
|
+
open: "open";
|
|
631
|
+
progress: "progress";
|
|
632
|
+
done: "done";
|
|
633
|
+
discarded: "discarded";
|
|
634
|
+
blocked: "blocked";
|
|
635
|
+
archive: "archive";
|
|
636
|
+
}>;
|
|
637
|
+
visible: z.ZodBoolean;
|
|
638
|
+
description: z.ZodString;
|
|
639
|
+
}, z.core.$strip>>>;
|
|
415
640
|
}, z.core.$strip>;
|
|
416
641
|
export type BoardTaskList = z.infer<typeof BoardTaskList>;
|
|
417
642
|
export declare const TaskDetail: z.ZodObject<{
|
|
@@ -490,6 +715,28 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
490
715
|
archive: "archive";
|
|
491
716
|
}>;
|
|
492
717
|
}, z.core.$strip>;
|
|
718
|
+
kind: z.ZodNullable<z.ZodObject<{
|
|
719
|
+
kindId: z.ZodTemplateLiteral<`kind_${string}`>;
|
|
720
|
+
name: z.ZodString;
|
|
721
|
+
icon: z.ZodEnum<{
|
|
722
|
+
message: "message";
|
|
723
|
+
user: "user";
|
|
724
|
+
package: "package";
|
|
725
|
+
search: "search";
|
|
726
|
+
flag: "flag";
|
|
727
|
+
route: "route";
|
|
728
|
+
"arrow-right": "arrow-right";
|
|
729
|
+
"square-check": "square-check";
|
|
730
|
+
"file-text": "file-text";
|
|
731
|
+
bulb: "bulb";
|
|
732
|
+
target: "target";
|
|
733
|
+
calendar: "calendar";
|
|
734
|
+
star: "star";
|
|
735
|
+
bolt: "bolt";
|
|
736
|
+
bug: "bug";
|
|
737
|
+
rocket: "rocket";
|
|
738
|
+
}>;
|
|
739
|
+
}, z.core.$strip>>;
|
|
493
740
|
}, z.core.$strip>>;
|
|
494
741
|
done: z.ZodNumber;
|
|
495
742
|
total: z.ZodNumber;
|
|
@@ -510,6 +757,28 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
510
757
|
archive: "archive";
|
|
511
758
|
}>;
|
|
512
759
|
}, z.core.$strip>;
|
|
760
|
+
kind: z.ZodNullable<z.ZodObject<{
|
|
761
|
+
kindId: z.ZodTemplateLiteral<`kind_${string}`>;
|
|
762
|
+
name: z.ZodString;
|
|
763
|
+
icon: z.ZodEnum<{
|
|
764
|
+
message: "message";
|
|
765
|
+
user: "user";
|
|
766
|
+
package: "package";
|
|
767
|
+
search: "search";
|
|
768
|
+
flag: "flag";
|
|
769
|
+
route: "route";
|
|
770
|
+
"arrow-right": "arrow-right";
|
|
771
|
+
"square-check": "square-check";
|
|
772
|
+
"file-text": "file-text";
|
|
773
|
+
bulb: "bulb";
|
|
774
|
+
target: "target";
|
|
775
|
+
calendar: "calendar";
|
|
776
|
+
star: "star";
|
|
777
|
+
bolt: "bolt";
|
|
778
|
+
bug: "bug";
|
|
779
|
+
rocket: "rocket";
|
|
780
|
+
}>;
|
|
781
|
+
}, z.core.$strip>>;
|
|
513
782
|
}, z.core.$strip>>;
|
|
514
783
|
ready: z.ZodBoolean;
|
|
515
784
|
images: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -519,6 +788,32 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
519
788
|
kind: z.ZodLiteral<"file">;
|
|
520
789
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
521
790
|
}, z.core.$strip>]>>;
|
|
791
|
+
kind: z.ZodNullable<z.ZodObject<{
|
|
792
|
+
kindId: z.ZodTemplateLiteral<`kind_${string}`>;
|
|
793
|
+
name: z.ZodString;
|
|
794
|
+
icon: z.ZodEnum<{
|
|
795
|
+
message: "message";
|
|
796
|
+
user: "user";
|
|
797
|
+
package: "package";
|
|
798
|
+
search: "search";
|
|
799
|
+
flag: "flag";
|
|
800
|
+
route: "route";
|
|
801
|
+
"arrow-right": "arrow-right";
|
|
802
|
+
"square-check": "square-check";
|
|
803
|
+
"file-text": "file-text";
|
|
804
|
+
bulb: "bulb";
|
|
805
|
+
target: "target";
|
|
806
|
+
calendar: "calendar";
|
|
807
|
+
star: "star";
|
|
808
|
+
bolt: "bolt";
|
|
809
|
+
bug: "bug";
|
|
810
|
+
rocket: "rocket";
|
|
811
|
+
}>;
|
|
812
|
+
}, z.core.$strip>>;
|
|
813
|
+
fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
|
|
814
|
+
text: z.ZodString;
|
|
815
|
+
done: z.ZodBoolean;
|
|
816
|
+
}, z.core.$strip>>]>>>;
|
|
522
817
|
rights: z.ZodObject<{
|
|
523
818
|
write: z.ZodBoolean;
|
|
524
819
|
}, z.core.$strip>;
|
|
@@ -542,7 +837,7 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
542
837
|
table: "table";
|
|
543
838
|
board: "board";
|
|
544
839
|
task: "task";
|
|
545
|
-
|
|
840
|
+
gadget: "gadget";
|
|
546
841
|
}>;
|
|
547
842
|
name: z.ZodString;
|
|
548
843
|
path: z.ZodObject<{
|
|
@@ -557,7 +852,7 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
557
852
|
}, z.core.$strip>>;
|
|
558
853
|
}, z.core.$strip>;
|
|
559
854
|
}, z.core.$strip>>;
|
|
560
|
-
|
|
855
|
+
lastMove: z.ZodNullable<z.ZodObject<{
|
|
561
856
|
from: z.ZodNullable<z.ZodObject<{
|
|
562
857
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
563
858
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -584,6 +879,7 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
584
879
|
archive: "archive";
|
|
585
880
|
}>>;
|
|
586
881
|
}, z.core.$strip>;
|
|
882
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
587
883
|
movedBy: z.ZodObject<{
|
|
588
884
|
userId: z.ZodString;
|
|
589
885
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -593,8 +889,7 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
593
889
|
}>>;
|
|
594
890
|
}, z.core.$strip>;
|
|
595
891
|
movedAt: z.ZodISODateTime;
|
|
596
|
-
|
|
597
|
-
}, z.core.$strip>>>;
|
|
892
|
+
}, z.core.$strip>>;
|
|
598
893
|
createdBy: z.ZodObject<{
|
|
599
894
|
userId: z.ZodString;
|
|
600
895
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -608,5 +903,21 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
608
903
|
createdAt: z.ZodISODateTime;
|
|
609
904
|
updatedAt: z.ZodISODateTime;
|
|
610
905
|
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
906
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
907
|
+
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
908
|
+
name: z.ZodString;
|
|
909
|
+
type: z.ZodEnum<{
|
|
910
|
+
backlog: "backlog";
|
|
911
|
+
open: "open";
|
|
912
|
+
progress: "progress";
|
|
913
|
+
done: "done";
|
|
914
|
+
discarded: "discarded";
|
|
915
|
+
blocked: "blocked";
|
|
916
|
+
archive: "archive";
|
|
917
|
+
}>;
|
|
918
|
+
visible: z.ZodBoolean;
|
|
919
|
+
description: z.ZodString;
|
|
920
|
+
current: z.ZodBoolean;
|
|
921
|
+
}, z.core.$strip>>>;
|
|
611
922
|
}, z.core.$strip>;
|
|
612
923
|
export type TaskDetail = z.infer<typeof TaskDetail>;
|