@locusai/shared 0.4.16 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,99 +4,49 @@ export declare const AcceptanceItemSchema: z.ZodObject<{
4
4
  id: z.ZodString;
5
5
  text: z.ZodString;
6
6
  done: z.ZodBoolean;
7
- }, "strip", z.ZodTypeAny, {
8
- id: string;
9
- text: string;
10
- done: boolean;
11
- }, {
12
- id: string;
13
- text: string;
14
- done: boolean;
15
- }>;
7
+ }, z.core.$strip>;
16
8
  export type AcceptanceItem = z.infer<typeof AcceptanceItemSchema>;
17
9
  export declare const TaskSchema: z.ZodObject<{
18
10
  id: z.ZodString;
19
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
20
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
21
- } & {
11
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
12
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
22
13
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
14
  title: z.ZodString;
24
15
  description: z.ZodDefault<z.ZodString>;
25
- status: z.ZodDefault<z.ZodNativeEnum<typeof TaskStatus>>;
26
- priority: z.ZodDefault<z.ZodNativeEnum<typeof TaskPriority>>;
27
- labels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
28
- assigneeRole: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof AssigneeRole>>>;
29
- /** Agent ID or user identifier - not necessarily a UUID */
16
+ status: z.ZodDefault<z.ZodEnum<typeof TaskStatus>>;
17
+ priority: z.ZodDefault<z.ZodEnum<typeof TaskPriority>>;
18
+ labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
19
+ assigneeRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof AssigneeRole>>>;
30
20
  assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
21
  sprintId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
22
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- dueDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodNumber]>>>;
23
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>>>;
34
24
  acceptanceChecklist: z.ZodDefault<z.ZodArray<z.ZodObject<{
35
25
  id: z.ZodString;
36
26
  text: z.ZodString;
37
27
  done: z.ZodBoolean;
38
- }, "strip", z.ZodTypeAny, {
39
- id: string;
40
- text: string;
41
- done: boolean;
42
- }, {
43
- id: string;
44
- text: string;
45
- done: boolean;
46
- }>, "many">>;
47
- comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
28
+ }, z.core.$strip>>>;
29
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
30
  id: z.ZodString;
49
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
50
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
51
- } & {
31
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
32
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
52
33
  taskId: z.ZodString;
53
34
  author: z.ZodString;
54
35
  text: z.ZodString;
55
- }, "strip", z.ZodTypeAny, {
56
- id: string;
57
- createdAt: number | Date;
58
- updatedAt: number | Date;
59
- taskId: string;
60
- author: string;
61
- text: string;
62
- }, {
63
- id: string;
64
- createdAt: number | Date;
65
- updatedAt: number | Date;
66
- taskId: string;
67
- author: string;
68
- text: string;
69
- }>, "many">>;
70
- activityLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
36
+ }, z.core.$strip>>>;
37
+ activityLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
71
38
  id: z.ZodString;
72
39
  workspaceId: z.ZodString;
73
40
  taskId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
74
41
  userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
75
- type: z.ZodNativeEnum<typeof import("../enums").EventType>;
42
+ type: z.ZodEnum<typeof import("../enums").EventType>;
76
43
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
77
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
78
- }, "strip", z.ZodTypeAny, {
79
- id: string;
80
- createdAt: number | Date;
81
- type: import("../enums").EventType;
82
- payload: Record<string, unknown>;
83
- workspaceId: string;
84
- taskId?: string | null | undefined;
85
- userId?: string | null | undefined;
86
- }, {
87
- id: string;
88
- createdAt: number | Date;
89
- type: import("../enums").EventType;
90
- payload: Record<string, unknown>;
91
- workspaceId: string;
92
- taskId?: string | null | undefined;
93
- userId?: string | null | undefined;
94
- }>, "many">>;
44
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
45
+ }, z.core.$strip>>>;
95
46
  docs: z.ZodDefault<z.ZodArray<z.ZodObject<{
96
47
  id: z.ZodString;
97
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
98
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
99
- } & {
48
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
49
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
100
50
  workspaceId: z.ZodString;
101
51
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
52
  title: z.ZodString;
@@ -104,209 +54,35 @@ export declare const TaskSchema: z.ZodObject<{
104
54
  group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
55
  id: z.ZodString;
106
56
  name: z.ZodString;
107
- }, "strip", z.ZodTypeAny, {
108
- id: string;
109
- name: string;
110
- }, {
111
- id: string;
112
- name: string;
113
- }>>>;
114
- }, "strip", z.ZodTypeAny, {
115
- id: string;
116
- createdAt: number | Date;
117
- updatedAt: number | Date;
118
- title: string;
119
- workspaceId: string;
120
- content: string;
121
- groupId?: string | null | undefined;
122
- group?: {
123
- id: string;
124
- name: string;
125
- } | null | undefined;
126
- }, {
127
- id: string;
128
- createdAt: number | Date;
129
- updatedAt: number | Date;
130
- title: string;
131
- workspaceId: string;
132
- groupId?: string | null | undefined;
133
- content?: string | undefined;
134
- group?: {
135
- id: string;
136
- name: string;
137
- } | null | undefined;
138
- }>, "many">>;
139
- }, "strip", z.ZodTypeAny, {
140
- id: string;
141
- createdAt: number | Date;
142
- status: TaskStatus;
143
- updatedAt: number | Date;
144
- title: string;
145
- docs: {
146
- id: string;
147
- createdAt: number | Date;
148
- updatedAt: number | Date;
149
- title: string;
150
- workspaceId: string;
151
- content: string;
152
- groupId?: string | null | undefined;
153
- group?: {
154
- id: string;
155
- name: string;
156
- } | null | undefined;
157
- }[];
158
- description: string;
159
- priority: TaskPriority;
160
- labels: string[];
161
- acceptanceChecklist: {
162
- id: string;
163
- text: string;
164
- done: boolean;
165
- }[];
166
- comments: {
167
- id: string;
168
- createdAt: number | Date;
169
- updatedAt: number | Date;
170
- taskId: string;
171
- author: string;
172
- text: string;
173
- }[];
174
- activityLog: {
175
- id: string;
176
- createdAt: number | Date;
177
- type: import("../enums").EventType;
178
- payload: Record<string, unknown>;
179
- workspaceId: string;
180
- taskId?: string | null | undefined;
181
- userId?: string | null | undefined;
182
- }[];
183
- sprintId?: string | null | undefined;
184
- workspaceId?: string | null | undefined;
185
- assigneeRole?: AssigneeRole | null | undefined;
186
- assignedTo?: string | null | undefined;
187
- parentId?: string | null | undefined;
188
- dueDate?: number | Date | null | undefined;
189
- }, {
190
- id: string;
191
- createdAt: number | Date;
192
- updatedAt: number | Date;
193
- title: string;
194
- status?: TaskStatus | undefined;
195
- sprintId?: string | null | undefined;
196
- workspaceId?: string | null | undefined;
197
- docs?: {
198
- id: string;
199
- createdAt: number | Date;
200
- updatedAt: number | Date;
201
- title: string;
202
- workspaceId: string;
203
- groupId?: string | null | undefined;
204
- content?: string | undefined;
205
- group?: {
206
- id: string;
207
- name: string;
208
- } | null | undefined;
209
- }[] | undefined;
210
- description?: string | undefined;
211
- priority?: TaskPriority | undefined;
212
- labels?: string[] | undefined;
213
- assigneeRole?: AssigneeRole | null | undefined;
214
- assignedTo?: string | null | undefined;
215
- parentId?: string | null | undefined;
216
- dueDate?: number | Date | null | undefined;
217
- acceptanceChecklist?: {
218
- id: string;
219
- text: string;
220
- done: boolean;
221
- }[] | undefined;
222
- comments?: {
223
- id: string;
224
- createdAt: number | Date;
225
- updatedAt: number | Date;
226
- taskId: string;
227
- author: string;
228
- text: string;
229
- }[] | undefined;
230
- activityLog?: {
231
- id: string;
232
- createdAt: number | Date;
233
- type: import("../enums").EventType;
234
- payload: Record<string, unknown>;
235
- workspaceId: string;
236
- taskId?: string | null | undefined;
237
- userId?: string | null | undefined;
238
- }[] | undefined;
239
- }>;
57
+ }, z.core.$strip>>>;
58
+ }, z.core.$strip>>>;
59
+ }, z.core.$strip>;
240
60
  export type Task = z.infer<typeof TaskSchema>;
241
61
  export declare const CreateTaskSchema: z.ZodObject<{
242
62
  title: z.ZodString;
243
63
  description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
244
- status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof TaskStatus>>>;
245
- priority: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof TaskPriority>>>;
246
- labels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
247
- assigneeRole: z.ZodOptional<z.ZodNativeEnum<typeof AssigneeRole>>;
64
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof TaskStatus>>>;
65
+ priority: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof TaskPriority>>>;
66
+ labels: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
67
+ assigneeRole: z.ZodOptional<z.ZodEnum<typeof AssigneeRole>>;
248
68
  assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
- dueDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodNumber]>>>;
69
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>>>;
250
70
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
71
  sprintId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
72
  acceptanceChecklist: z.ZodOptional<z.ZodArray<z.ZodObject<{
253
73
  id: z.ZodString;
254
74
  text: z.ZodString;
255
75
  done: z.ZodBoolean;
256
- }, "strip", z.ZodTypeAny, {
257
- id: string;
258
- text: string;
259
- done: boolean;
260
- }, {
261
- id: string;
262
- text: string;
263
- done: boolean;
264
- }>, "many">>;
265
- docIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
266
- }, "strip", z.ZodTypeAny, {
267
- status: TaskStatus;
268
- title: string;
269
- description: string;
270
- priority: TaskPriority;
271
- labels: string[];
272
- sprintId?: string | null | undefined;
273
- assigneeRole?: AssigneeRole | undefined;
274
- assignedTo?: string | null | undefined;
275
- parentId?: string | null | undefined;
276
- dueDate?: number | Date | null | undefined;
277
- acceptanceChecklist?: {
278
- id: string;
279
- text: string;
280
- done: boolean;
281
- }[] | undefined;
282
- docIds?: string[] | undefined;
283
- }, {
284
- title: string;
285
- status?: TaskStatus | undefined;
286
- sprintId?: string | null | undefined;
287
- description?: string | undefined;
288
- priority?: TaskPriority | undefined;
289
- labels?: string[] | undefined;
290
- assigneeRole?: AssigneeRole | undefined;
291
- assignedTo?: string | null | undefined;
292
- parentId?: string | null | undefined;
293
- dueDate?: number | Date | null | undefined;
294
- acceptanceChecklist?: {
295
- id: string;
296
- text: string;
297
- done: boolean;
298
- }[] | undefined;
299
- docIds?: string[] | undefined;
300
- }>;
76
+ }, z.core.$strip>>>;
77
+ docIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
78
+ }, z.core.$strip>;
301
79
  export type CreateTask = z.infer<typeof CreateTaskSchema>;
302
80
  export declare const UpdateTaskSchema: z.ZodObject<{
303
- status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof TaskStatus>>>;
304
81
  sprintId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
305
82
  docs: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
306
83
  id: z.ZodString;
307
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
308
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
309
- } & {
84
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
85
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
310
86
  workspaceId: z.ZodString;
311
87
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
312
88
  title: z.ZodString;
@@ -314,321 +90,100 @@ export declare const UpdateTaskSchema: z.ZodObject<{
314
90
  group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
315
91
  id: z.ZodString;
316
92
  name: z.ZodString;
317
- }, "strip", z.ZodTypeAny, {
318
- id: string;
319
- name: string;
320
- }, {
321
- id: string;
322
- name: string;
323
- }>>>;
324
- }, "strip", z.ZodTypeAny, {
325
- id: string;
326
- createdAt: number | Date;
327
- updatedAt: number | Date;
328
- title: string;
329
- workspaceId: string;
330
- content: string;
331
- groupId?: string | null | undefined;
332
- group?: {
333
- id: string;
334
- name: string;
335
- } | null | undefined;
336
- }, {
337
- id: string;
338
- createdAt: number | Date;
339
- updatedAt: number | Date;
340
- title: string;
341
- workspaceId: string;
342
- groupId?: string | null | undefined;
343
- content?: string | undefined;
344
- group?: {
345
- id: string;
346
- name: string;
347
- } | null | undefined;
348
- }>, "many">>>;
93
+ }, z.core.$strip>>>;
94
+ }, z.core.$strip>>>>;
95
+ status: z.ZodOptional<z.ZodDefault<z.ZodEnum<typeof TaskStatus>>>;
349
96
  description: z.ZodOptional<z.ZodDefault<z.ZodString>>;
350
- priority: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof TaskPriority>>>;
351
- labels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
352
- assigneeRole: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof AssigneeRole>>>>;
97
+ priority: z.ZodOptional<z.ZodDefault<z.ZodEnum<typeof TaskPriority>>>;
98
+ labels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
99
+ assigneeRole: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof AssigneeRole>>>>;
353
100
  assignedTo: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
354
101
  parentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
355
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodNumber]>>>>;
356
- comments: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
102
+ dueDate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>>>>;
103
+ comments: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
357
104
  id: z.ZodString;
358
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
359
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
360
- } & {
105
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
106
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
361
107
  taskId: z.ZodString;
362
108
  author: z.ZodString;
363
109
  text: z.ZodString;
364
- }, "strip", z.ZodTypeAny, {
365
- id: string;
366
- createdAt: number | Date;
367
- updatedAt: number | Date;
368
- taskId: string;
369
- author: string;
370
- text: string;
371
- }, {
372
- id: string;
373
- createdAt: number | Date;
374
- updatedAt: number | Date;
375
- taskId: string;
376
- author: string;
377
- text: string;
378
- }>, "many">>>;
379
- activityLog: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
110
+ }, z.core.$strip>>>>;
111
+ activityLog: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
380
112
  id: z.ZodString;
381
113
  workspaceId: z.ZodString;
382
114
  taskId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
383
115
  userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
384
- type: z.ZodNativeEnum<typeof import("../enums").EventType>;
116
+ type: z.ZodEnum<typeof import("../enums").EventType>;
385
117
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
386
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
387
- }, "strip", z.ZodTypeAny, {
388
- id: string;
389
- createdAt: number | Date;
390
- type: import("../enums").EventType;
391
- payload: Record<string, unknown>;
392
- workspaceId: string;
393
- taskId?: string | null | undefined;
394
- userId?: string | null | undefined;
395
- }, {
396
- id: string;
397
- createdAt: number | Date;
398
- type: import("../enums").EventType;
399
- payload: Record<string, unknown>;
400
- workspaceId: string;
401
- taskId?: string | null | undefined;
402
- userId?: string | null | undefined;
403
- }>, "many">>>;
404
- } & {
118
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
119
+ }, z.core.$strip>>>>;
405
120
  title: z.ZodOptional<z.ZodString>;
406
121
  acceptanceChecklist: z.ZodOptional<z.ZodArray<z.ZodObject<{
407
122
  id: z.ZodString;
408
123
  text: z.ZodString;
409
124
  done: z.ZodBoolean;
410
- }, "strip", z.ZodTypeAny, {
411
- id: string;
412
- text: string;
413
- done: boolean;
414
- }, {
415
- id: string;
416
- text: string;
417
- done: boolean;
418
- }>, "many">>;
419
- docIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
420
- }, "strip", z.ZodTypeAny, {
421
- status?: TaskStatus | undefined;
422
- title?: string | undefined;
423
- sprintId?: string | null | undefined;
424
- docs?: {
425
- id: string;
426
- createdAt: number | Date;
427
- updatedAt: number | Date;
428
- title: string;
429
- workspaceId: string;
430
- content: string;
431
- groupId?: string | null | undefined;
432
- group?: {
433
- id: string;
434
- name: string;
435
- } | null | undefined;
436
- }[] | undefined;
437
- description?: string | undefined;
438
- priority?: TaskPriority | undefined;
439
- labels?: string[] | undefined;
440
- assigneeRole?: AssigneeRole | null | undefined;
441
- assignedTo?: string | null | undefined;
442
- parentId?: string | null | undefined;
443
- dueDate?: number | Date | null | undefined;
444
- acceptanceChecklist?: {
445
- id: string;
446
- text: string;
447
- done: boolean;
448
- }[] | undefined;
449
- comments?: {
450
- id: string;
451
- createdAt: number | Date;
452
- updatedAt: number | Date;
453
- taskId: string;
454
- author: string;
455
- text: string;
456
- }[] | undefined;
457
- activityLog?: {
458
- id: string;
459
- createdAt: number | Date;
460
- type: import("../enums").EventType;
461
- payload: Record<string, unknown>;
462
- workspaceId: string;
463
- taskId?: string | null | undefined;
464
- userId?: string | null | undefined;
465
- }[] | undefined;
466
- docIds?: string[] | undefined;
467
- }, {
468
- status?: TaskStatus | undefined;
469
- title?: string | undefined;
470
- sprintId?: string | null | undefined;
471
- docs?: {
472
- id: string;
473
- createdAt: number | Date;
474
- updatedAt: number | Date;
475
- title: string;
476
- workspaceId: string;
477
- groupId?: string | null | undefined;
478
- content?: string | undefined;
479
- group?: {
480
- id: string;
481
- name: string;
482
- } | null | undefined;
483
- }[] | undefined;
484
- description?: string | undefined;
485
- priority?: TaskPriority | undefined;
486
- labels?: string[] | undefined;
487
- assigneeRole?: AssigneeRole | null | undefined;
488
- assignedTo?: string | null | undefined;
489
- parentId?: string | null | undefined;
490
- dueDate?: number | Date | null | undefined;
491
- acceptanceChecklist?: {
492
- id: string;
493
- text: string;
494
- done: boolean;
495
- }[] | undefined;
496
- comments?: {
497
- id: string;
498
- createdAt: number | Date;
499
- updatedAt: number | Date;
500
- taskId: string;
501
- author: string;
502
- text: string;
503
- }[] | undefined;
504
- activityLog?: {
505
- id: string;
506
- createdAt: number | Date;
507
- type: import("../enums").EventType;
508
- payload: Record<string, unknown>;
509
- workspaceId: string;
510
- taskId?: string | null | undefined;
511
- userId?: string | null | undefined;
512
- }[] | undefined;
513
- docIds?: string[] | undefined;
514
- }>;
125
+ }, z.core.$strip>>>;
126
+ docIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
127
+ }, z.core.$strip>;
515
128
  export type UpdateTask = z.infer<typeof UpdateTaskSchema>;
516
129
  export declare const AddCommentSchema: z.ZodObject<{
517
130
  author: z.ZodString;
518
131
  text: z.ZodString;
519
- }, "strip", z.ZodTypeAny, {
520
- author: string;
521
- text: string;
522
- }, {
523
- author: string;
524
- text: string;
525
- }>;
132
+ }, z.core.$strip>;
526
133
  export type AddComment = z.infer<typeof AddCommentSchema>;
527
134
  export declare const DispatchTaskSchema: z.ZodObject<{
528
135
  workerId: z.ZodOptional<z.ZodString>;
529
136
  sprintId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
530
- }, "strip", z.ZodTypeAny, {
531
- sprintId?: string | null | undefined;
532
- workerId?: string | undefined;
533
- }, {
534
- sprintId?: string | null | undefined;
535
- workerId?: string | undefined;
536
- }>;
137
+ }, z.core.$strip>;
537
138
  export type DispatchTask = z.infer<typeof DispatchTaskSchema>;
538
139
  export declare const TaskIdParamSchema: z.ZodObject<{
539
140
  id: z.ZodString;
540
- }, "strip", z.ZodTypeAny, {
541
- id: string;
542
- }, {
543
- id: string;
544
- }>;
141
+ }, z.core.$strip>;
545
142
  export type TaskIdParam = z.infer<typeof TaskIdParamSchema>;
546
- export declare const TaskQuerySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
143
+ export declare const TaskQuerySchema: z.ZodObject<{}, z.core.$strip>;
547
144
  export type TaskQuery = z.infer<typeof TaskQuerySchema>;
548
145
  export declare const TaskResponseSchema: z.ZodObject<{
549
146
  task: z.ZodObject<{
550
147
  id: z.ZodString;
551
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
552
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
553
- } & {
148
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
149
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
554
150
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
555
151
  title: z.ZodString;
556
152
  description: z.ZodDefault<z.ZodString>;
557
- status: z.ZodDefault<z.ZodNativeEnum<typeof TaskStatus>>;
558
- priority: z.ZodDefault<z.ZodNativeEnum<typeof TaskPriority>>;
559
- labels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
560
- assigneeRole: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof AssigneeRole>>>;
561
- /** Agent ID or user identifier - not necessarily a UUID */
153
+ status: z.ZodDefault<z.ZodEnum<typeof TaskStatus>>;
154
+ priority: z.ZodDefault<z.ZodEnum<typeof TaskPriority>>;
155
+ labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
156
+ assigneeRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof AssigneeRole>>>;
562
157
  assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
563
158
  sprintId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
564
159
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
565
- dueDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodNumber]>>>;
160
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>>>;
566
161
  acceptanceChecklist: z.ZodDefault<z.ZodArray<z.ZodObject<{
567
162
  id: z.ZodString;
568
163
  text: z.ZodString;
569
164
  done: z.ZodBoolean;
570
- }, "strip", z.ZodTypeAny, {
571
- id: string;
572
- text: string;
573
- done: boolean;
574
- }, {
575
- id: string;
576
- text: string;
577
- done: boolean;
578
- }>, "many">>;
579
- comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
165
+ }, z.core.$strip>>>;
166
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
580
167
  id: z.ZodString;
581
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
582
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
583
- } & {
168
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
169
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
584
170
  taskId: z.ZodString;
585
171
  author: z.ZodString;
586
172
  text: z.ZodString;
587
- }, "strip", z.ZodTypeAny, {
588
- id: string;
589
- createdAt: number | Date;
590
- updatedAt: number | Date;
591
- taskId: string;
592
- author: string;
593
- text: string;
594
- }, {
595
- id: string;
596
- createdAt: number | Date;
597
- updatedAt: number | Date;
598
- taskId: string;
599
- author: string;
600
- text: string;
601
- }>, "many">>;
602
- activityLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
173
+ }, z.core.$strip>>>;
174
+ activityLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
603
175
  id: z.ZodString;
604
176
  workspaceId: z.ZodString;
605
177
  taskId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
606
178
  userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
607
- type: z.ZodNativeEnum<typeof import("../enums").EventType>;
179
+ type: z.ZodEnum<typeof import("../enums").EventType>;
608
180
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
609
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
610
- }, "strip", z.ZodTypeAny, {
611
- id: string;
612
- createdAt: number | Date;
613
- type: import("../enums").EventType;
614
- payload: Record<string, unknown>;
615
- workspaceId: string;
616
- taskId?: string | null | undefined;
617
- userId?: string | null | undefined;
618
- }, {
619
- id: string;
620
- createdAt: number | Date;
621
- type: import("../enums").EventType;
622
- payload: Record<string, unknown>;
623
- workspaceId: string;
624
- taskId?: string | null | undefined;
625
- userId?: string | null | undefined;
626
- }>, "many">>;
181
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
182
+ }, z.core.$strip>>>;
627
183
  docs: z.ZodDefault<z.ZodArray<z.ZodObject<{
628
184
  id: z.ZodString;
629
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
630
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
631
- } & {
185
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
186
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
632
187
  workspaceId: z.ZodString;
633
188
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
634
189
  title: z.ZodString;
@@ -636,329 +191,53 @@ export declare const TaskResponseSchema: z.ZodObject<{
636
191
  group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
637
192
  id: z.ZodString;
638
193
  name: z.ZodString;
639
- }, "strip", z.ZodTypeAny, {
640
- id: string;
641
- name: string;
642
- }, {
643
- id: string;
644
- name: string;
645
- }>>>;
646
- }, "strip", z.ZodTypeAny, {
647
- id: string;
648
- createdAt: number | Date;
649
- updatedAt: number | Date;
650
- title: string;
651
- workspaceId: string;
652
- content: string;
653
- groupId?: string | null | undefined;
654
- group?: {
655
- id: string;
656
- name: string;
657
- } | null | undefined;
658
- }, {
659
- id: string;
660
- createdAt: number | Date;
661
- updatedAt: number | Date;
662
- title: string;
663
- workspaceId: string;
664
- groupId?: string | null | undefined;
665
- content?: string | undefined;
666
- group?: {
667
- id: string;
668
- name: string;
669
- } | null | undefined;
670
- }>, "many">>;
671
- }, "strip", z.ZodTypeAny, {
672
- id: string;
673
- createdAt: number | Date;
674
- status: TaskStatus;
675
- updatedAt: number | Date;
676
- title: string;
677
- docs: {
678
- id: string;
679
- createdAt: number | Date;
680
- updatedAt: number | Date;
681
- title: string;
682
- workspaceId: string;
683
- content: string;
684
- groupId?: string | null | undefined;
685
- group?: {
686
- id: string;
687
- name: string;
688
- } | null | undefined;
689
- }[];
690
- description: string;
691
- priority: TaskPriority;
692
- labels: string[];
693
- acceptanceChecklist: {
694
- id: string;
695
- text: string;
696
- done: boolean;
697
- }[];
698
- comments: {
699
- id: string;
700
- createdAt: number | Date;
701
- updatedAt: number | Date;
702
- taskId: string;
703
- author: string;
704
- text: string;
705
- }[];
706
- activityLog: {
707
- id: string;
708
- createdAt: number | Date;
709
- type: import("../enums").EventType;
710
- payload: Record<string, unknown>;
711
- workspaceId: string;
712
- taskId?: string | null | undefined;
713
- userId?: string | null | undefined;
714
- }[];
715
- sprintId?: string | null | undefined;
716
- workspaceId?: string | null | undefined;
717
- assigneeRole?: AssigneeRole | null | undefined;
718
- assignedTo?: string | null | undefined;
719
- parentId?: string | null | undefined;
720
- dueDate?: number | Date | null | undefined;
721
- }, {
722
- id: string;
723
- createdAt: number | Date;
724
- updatedAt: number | Date;
725
- title: string;
726
- status?: TaskStatus | undefined;
727
- sprintId?: string | null | undefined;
728
- workspaceId?: string | null | undefined;
729
- docs?: {
730
- id: string;
731
- createdAt: number | Date;
732
- updatedAt: number | Date;
733
- title: string;
734
- workspaceId: string;
735
- groupId?: string | null | undefined;
736
- content?: string | undefined;
737
- group?: {
738
- id: string;
739
- name: string;
740
- } | null | undefined;
741
- }[] | undefined;
742
- description?: string | undefined;
743
- priority?: TaskPriority | undefined;
744
- labels?: string[] | undefined;
745
- assigneeRole?: AssigneeRole | null | undefined;
746
- assignedTo?: string | null | undefined;
747
- parentId?: string | null | undefined;
748
- dueDate?: number | Date | null | undefined;
749
- acceptanceChecklist?: {
750
- id: string;
751
- text: string;
752
- done: boolean;
753
- }[] | undefined;
754
- comments?: {
755
- id: string;
756
- createdAt: number | Date;
757
- updatedAt: number | Date;
758
- taskId: string;
759
- author: string;
760
- text: string;
761
- }[] | undefined;
762
- activityLog?: {
763
- id: string;
764
- createdAt: number | Date;
765
- type: import("../enums").EventType;
766
- payload: Record<string, unknown>;
767
- workspaceId: string;
768
- taskId?: string | null | undefined;
769
- userId?: string | null | undefined;
770
- }[] | undefined;
771
- }>;
772
- }, "strip", z.ZodTypeAny, {
773
- task: {
774
- id: string;
775
- createdAt: number | Date;
776
- status: TaskStatus;
777
- updatedAt: number | Date;
778
- title: string;
779
- docs: {
780
- id: string;
781
- createdAt: number | Date;
782
- updatedAt: number | Date;
783
- title: string;
784
- workspaceId: string;
785
- content: string;
786
- groupId?: string | null | undefined;
787
- group?: {
788
- id: string;
789
- name: string;
790
- } | null | undefined;
791
- }[];
792
- description: string;
793
- priority: TaskPriority;
794
- labels: string[];
795
- acceptanceChecklist: {
796
- id: string;
797
- text: string;
798
- done: boolean;
799
- }[];
800
- comments: {
801
- id: string;
802
- createdAt: number | Date;
803
- updatedAt: number | Date;
804
- taskId: string;
805
- author: string;
806
- text: string;
807
- }[];
808
- activityLog: {
809
- id: string;
810
- createdAt: number | Date;
811
- type: import("../enums").EventType;
812
- payload: Record<string, unknown>;
813
- workspaceId: string;
814
- taskId?: string | null | undefined;
815
- userId?: string | null | undefined;
816
- }[];
817
- sprintId?: string | null | undefined;
818
- workspaceId?: string | null | undefined;
819
- assigneeRole?: AssigneeRole | null | undefined;
820
- assignedTo?: string | null | undefined;
821
- parentId?: string | null | undefined;
822
- dueDate?: number | Date | null | undefined;
823
- };
824
- }, {
825
- task: {
826
- id: string;
827
- createdAt: number | Date;
828
- updatedAt: number | Date;
829
- title: string;
830
- status?: TaskStatus | undefined;
831
- sprintId?: string | null | undefined;
832
- workspaceId?: string | null | undefined;
833
- docs?: {
834
- id: string;
835
- createdAt: number | Date;
836
- updatedAt: number | Date;
837
- title: string;
838
- workspaceId: string;
839
- groupId?: string | null | undefined;
840
- content?: string | undefined;
841
- group?: {
842
- id: string;
843
- name: string;
844
- } | null | undefined;
845
- }[] | undefined;
846
- description?: string | undefined;
847
- priority?: TaskPriority | undefined;
848
- labels?: string[] | undefined;
849
- assigneeRole?: AssigneeRole | null | undefined;
850
- assignedTo?: string | null | undefined;
851
- parentId?: string | null | undefined;
852
- dueDate?: number | Date | null | undefined;
853
- acceptanceChecklist?: {
854
- id: string;
855
- text: string;
856
- done: boolean;
857
- }[] | undefined;
858
- comments?: {
859
- id: string;
860
- createdAt: number | Date;
861
- updatedAt: number | Date;
862
- taskId: string;
863
- author: string;
864
- text: string;
865
- }[] | undefined;
866
- activityLog?: {
867
- id: string;
868
- createdAt: number | Date;
869
- type: import("../enums").EventType;
870
- payload: Record<string, unknown>;
871
- workspaceId: string;
872
- taskId?: string | null | undefined;
873
- userId?: string | null | undefined;
874
- }[] | undefined;
875
- };
876
- }>;
194
+ }, z.core.$strip>>>;
195
+ }, z.core.$strip>>>;
196
+ }, z.core.$strip>;
197
+ }, z.core.$strip>;
877
198
  export type TaskResponse = z.infer<typeof TaskResponseSchema>;
878
199
  export declare const TasksResponseSchema: z.ZodObject<{
879
200
  tasks: z.ZodArray<z.ZodObject<{
880
201
  id: z.ZodString;
881
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
882
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
883
- } & {
202
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
203
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
884
204
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
885
205
  title: z.ZodString;
886
206
  description: z.ZodDefault<z.ZodString>;
887
- status: z.ZodDefault<z.ZodNativeEnum<typeof TaskStatus>>;
888
- priority: z.ZodDefault<z.ZodNativeEnum<typeof TaskPriority>>;
889
- labels: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
890
- assigneeRole: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof AssigneeRole>>>;
891
- /** Agent ID or user identifier - not necessarily a UUID */
207
+ status: z.ZodDefault<z.ZodEnum<typeof TaskStatus>>;
208
+ priority: z.ZodDefault<z.ZodEnum<typeof TaskPriority>>;
209
+ labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
210
+ assigneeRole: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof AssigneeRole>>>;
892
211
  assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
893
212
  sprintId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
894
213
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
895
- dueDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodNumber]>>>;
214
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>>>;
896
215
  acceptanceChecklist: z.ZodDefault<z.ZodArray<z.ZodObject<{
897
216
  id: z.ZodString;
898
217
  text: z.ZodString;
899
218
  done: z.ZodBoolean;
900
- }, "strip", z.ZodTypeAny, {
901
- id: string;
902
- text: string;
903
- done: boolean;
904
- }, {
905
- id: string;
906
- text: string;
907
- done: boolean;
908
- }>, "many">>;
909
- comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
219
+ }, z.core.$strip>>>;
220
+ comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
910
221
  id: z.ZodString;
911
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
912
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
913
- } & {
222
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
223
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
914
224
  taskId: z.ZodString;
915
225
  author: z.ZodString;
916
226
  text: z.ZodString;
917
- }, "strip", z.ZodTypeAny, {
918
- id: string;
919
- createdAt: number | Date;
920
- updatedAt: number | Date;
921
- taskId: string;
922
- author: string;
923
- text: string;
924
- }, {
925
- id: string;
926
- createdAt: number | Date;
927
- updatedAt: number | Date;
928
- taskId: string;
929
- author: string;
930
- text: string;
931
- }>, "many">>;
932
- activityLog: z.ZodDefault<z.ZodArray<z.ZodObject<{
227
+ }, z.core.$strip>>>;
228
+ activityLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
933
229
  id: z.ZodString;
934
230
  workspaceId: z.ZodString;
935
231
  taskId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
936
232
  userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
937
- type: z.ZodNativeEnum<typeof import("../enums").EventType>;
233
+ type: z.ZodEnum<typeof import("../enums").EventType>;
938
234
  payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
939
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
940
- }, "strip", z.ZodTypeAny, {
941
- id: string;
942
- createdAt: number | Date;
943
- type: import("../enums").EventType;
944
- payload: Record<string, unknown>;
945
- workspaceId: string;
946
- taskId?: string | null | undefined;
947
- userId?: string | null | undefined;
948
- }, {
949
- id: string;
950
- createdAt: number | Date;
951
- type: import("../enums").EventType;
952
- payload: Record<string, unknown>;
953
- workspaceId: string;
954
- taskId?: string | null | undefined;
955
- userId?: string | null | undefined;
956
- }>, "many">>;
235
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
236
+ }, z.core.$strip>>>;
957
237
  docs: z.ZodDefault<z.ZodArray<z.ZodObject<{
958
238
  id: z.ZodString;
959
- createdAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
960
- updatedAt: z.ZodUnion<[z.ZodDate, z.ZodNumber]>;
961
- } & {
239
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
240
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodNumber]>;
962
241
  workspaceId: z.ZodString;
963
242
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
964
243
  title: z.ZodString;
@@ -966,243 +245,9 @@ export declare const TasksResponseSchema: z.ZodObject<{
966
245
  group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
967
246
  id: z.ZodString;
968
247
  name: z.ZodString;
969
- }, "strip", z.ZodTypeAny, {
970
- id: string;
971
- name: string;
972
- }, {
973
- id: string;
974
- name: string;
975
- }>>>;
976
- }, "strip", z.ZodTypeAny, {
977
- id: string;
978
- createdAt: number | Date;
979
- updatedAt: number | Date;
980
- title: string;
981
- workspaceId: string;
982
- content: string;
983
- groupId?: string | null | undefined;
984
- group?: {
985
- id: string;
986
- name: string;
987
- } | null | undefined;
988
- }, {
989
- id: string;
990
- createdAt: number | Date;
991
- updatedAt: number | Date;
992
- title: string;
993
- workspaceId: string;
994
- groupId?: string | null | undefined;
995
- content?: string | undefined;
996
- group?: {
997
- id: string;
998
- name: string;
999
- } | null | undefined;
1000
- }>, "many">>;
1001
- }, "strip", z.ZodTypeAny, {
1002
- id: string;
1003
- createdAt: number | Date;
1004
- status: TaskStatus;
1005
- updatedAt: number | Date;
1006
- title: string;
1007
- docs: {
1008
- id: string;
1009
- createdAt: number | Date;
1010
- updatedAt: number | Date;
1011
- title: string;
1012
- workspaceId: string;
1013
- content: string;
1014
- groupId?: string | null | undefined;
1015
- group?: {
1016
- id: string;
1017
- name: string;
1018
- } | null | undefined;
1019
- }[];
1020
- description: string;
1021
- priority: TaskPriority;
1022
- labels: string[];
1023
- acceptanceChecklist: {
1024
- id: string;
1025
- text: string;
1026
- done: boolean;
1027
- }[];
1028
- comments: {
1029
- id: string;
1030
- createdAt: number | Date;
1031
- updatedAt: number | Date;
1032
- taskId: string;
1033
- author: string;
1034
- text: string;
1035
- }[];
1036
- activityLog: {
1037
- id: string;
1038
- createdAt: number | Date;
1039
- type: import("../enums").EventType;
1040
- payload: Record<string, unknown>;
1041
- workspaceId: string;
1042
- taskId?: string | null | undefined;
1043
- userId?: string | null | undefined;
1044
- }[];
1045
- sprintId?: string | null | undefined;
1046
- workspaceId?: string | null | undefined;
1047
- assigneeRole?: AssigneeRole | null | undefined;
1048
- assignedTo?: string | null | undefined;
1049
- parentId?: string | null | undefined;
1050
- dueDate?: number | Date | null | undefined;
1051
- }, {
1052
- id: string;
1053
- createdAt: number | Date;
1054
- updatedAt: number | Date;
1055
- title: string;
1056
- status?: TaskStatus | undefined;
1057
- sprintId?: string | null | undefined;
1058
- workspaceId?: string | null | undefined;
1059
- docs?: {
1060
- id: string;
1061
- createdAt: number | Date;
1062
- updatedAt: number | Date;
1063
- title: string;
1064
- workspaceId: string;
1065
- groupId?: string | null | undefined;
1066
- content?: string | undefined;
1067
- group?: {
1068
- id: string;
1069
- name: string;
1070
- } | null | undefined;
1071
- }[] | undefined;
1072
- description?: string | undefined;
1073
- priority?: TaskPriority | undefined;
1074
- labels?: string[] | undefined;
1075
- assigneeRole?: AssigneeRole | null | undefined;
1076
- assignedTo?: string | null | undefined;
1077
- parentId?: string | null | undefined;
1078
- dueDate?: number | Date | null | undefined;
1079
- acceptanceChecklist?: {
1080
- id: string;
1081
- text: string;
1082
- done: boolean;
1083
- }[] | undefined;
1084
- comments?: {
1085
- id: string;
1086
- createdAt: number | Date;
1087
- updatedAt: number | Date;
1088
- taskId: string;
1089
- author: string;
1090
- text: string;
1091
- }[] | undefined;
1092
- activityLog?: {
1093
- id: string;
1094
- createdAt: number | Date;
1095
- type: import("../enums").EventType;
1096
- payload: Record<string, unknown>;
1097
- workspaceId: string;
1098
- taskId?: string | null | undefined;
1099
- userId?: string | null | undefined;
1100
- }[] | undefined;
1101
- }>, "many">;
1102
- }, "strip", z.ZodTypeAny, {
1103
- tasks: {
1104
- id: string;
1105
- createdAt: number | Date;
1106
- status: TaskStatus;
1107
- updatedAt: number | Date;
1108
- title: string;
1109
- docs: {
1110
- id: string;
1111
- createdAt: number | Date;
1112
- updatedAt: number | Date;
1113
- title: string;
1114
- workspaceId: string;
1115
- content: string;
1116
- groupId?: string | null | undefined;
1117
- group?: {
1118
- id: string;
1119
- name: string;
1120
- } | null | undefined;
1121
- }[];
1122
- description: string;
1123
- priority: TaskPriority;
1124
- labels: string[];
1125
- acceptanceChecklist: {
1126
- id: string;
1127
- text: string;
1128
- done: boolean;
1129
- }[];
1130
- comments: {
1131
- id: string;
1132
- createdAt: number | Date;
1133
- updatedAt: number | Date;
1134
- taskId: string;
1135
- author: string;
1136
- text: string;
1137
- }[];
1138
- activityLog: {
1139
- id: string;
1140
- createdAt: number | Date;
1141
- type: import("../enums").EventType;
1142
- payload: Record<string, unknown>;
1143
- workspaceId: string;
1144
- taskId?: string | null | undefined;
1145
- userId?: string | null | undefined;
1146
- }[];
1147
- sprintId?: string | null | undefined;
1148
- workspaceId?: string | null | undefined;
1149
- assigneeRole?: AssigneeRole | null | undefined;
1150
- assignedTo?: string | null | undefined;
1151
- parentId?: string | null | undefined;
1152
- dueDate?: number | Date | null | undefined;
1153
- }[];
1154
- }, {
1155
- tasks: {
1156
- id: string;
1157
- createdAt: number | Date;
1158
- updatedAt: number | Date;
1159
- title: string;
1160
- status?: TaskStatus | undefined;
1161
- sprintId?: string | null | undefined;
1162
- workspaceId?: string | null | undefined;
1163
- docs?: {
1164
- id: string;
1165
- createdAt: number | Date;
1166
- updatedAt: number | Date;
1167
- title: string;
1168
- workspaceId: string;
1169
- groupId?: string | null | undefined;
1170
- content?: string | undefined;
1171
- group?: {
1172
- id: string;
1173
- name: string;
1174
- } | null | undefined;
1175
- }[] | undefined;
1176
- description?: string | undefined;
1177
- priority?: TaskPriority | undefined;
1178
- labels?: string[] | undefined;
1179
- assigneeRole?: AssigneeRole | null | undefined;
1180
- assignedTo?: string | null | undefined;
1181
- parentId?: string | null | undefined;
1182
- dueDate?: number | Date | null | undefined;
1183
- acceptanceChecklist?: {
1184
- id: string;
1185
- text: string;
1186
- done: boolean;
1187
- }[] | undefined;
1188
- comments?: {
1189
- id: string;
1190
- createdAt: number | Date;
1191
- updatedAt: number | Date;
1192
- taskId: string;
1193
- author: string;
1194
- text: string;
1195
- }[] | undefined;
1196
- activityLog?: {
1197
- id: string;
1198
- createdAt: number | Date;
1199
- type: import("../enums").EventType;
1200
- payload: Record<string, unknown>;
1201
- workspaceId: string;
1202
- taskId?: string | null | undefined;
1203
- userId?: string | null | undefined;
1204
- }[] | undefined;
1205
- }[];
1206
- }>;
248
+ }, z.core.$strip>>>;
249
+ }, z.core.$strip>>>;
250
+ }, z.core.$strip>>;
251
+ }, z.core.$strip>;
1207
252
  export type TasksResponse = z.infer<typeof TasksResponseSchema>;
1208
253
  //# sourceMappingURL=task.d.ts.map