@critical-path/core 0.27.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/README.md +6 -0
- package/dist/domain/custom-fields.d.ts +7 -2
- package/dist/domain/custom-fields.d.ts.map +1 -1
- package/dist/domain/custom-fields.js +23 -1
- package/dist/domain/custom-fields.js.map +1 -1
- package/dist/domain/events.d.ts +8 -2
- package/dist/domain/events.d.ts.map +1 -1
- package/dist/domain/events.js +1 -0
- package/dist/domain/events.js.map +1 -1
- package/dist/engine/cascade.test.d.ts +2 -0
- package/dist/engine/cascade.test.d.ts.map +1 -0
- package/dist/engine/cascade.test.js +99 -0
- package/dist/engine/cascade.test.js.map +1 -0
- package/dist/engine/index.d.ts +17 -1
- package/dist/engine/index.d.ts.map +1 -1
- package/dist/engine/index.js +120 -27
- package/dist/engine/index.js.map +1 -1
- package/dist/plugins/index.d.ts +13 -3
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +44 -15
- package/dist/plugins/index.js.map +1 -1
- package/dist/plugins/plugins.test.d.ts +2 -0
- package/dist/plugins/plugins.test.d.ts.map +1 -0
- package/dist/plugins/plugins.test.js +137 -0
- package/dist/plugins/plugins.test.js.map +1 -0
- package/dist/schemas/index.d.ts +96 -93
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +2 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/store/firebase.d.ts +8 -0
- package/dist/store/firebase.d.ts.map +1 -1
- package/dist/store/firebase.js +30 -8
- package/dist/store/firebase.js.map +1 -1
- package/dist/store/index.d.ts +7 -0
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/index.js +9 -0
- package/dist/store/index.js.map +1 -1
- package/dist/store/sqlite.d.ts +3 -0
- package/dist/store/sqlite.d.ts.map +1 -1
- package/dist/store/sqlite.js +41 -24
- package/dist/store/sqlite.js.map +1 -1
- package/dist/types/index.d.ts +51 -5
- package/dist/types/index.d.ts.map +1 -1
- package/dist/webhooks/webhooks.test.js +2 -1
- package/dist/webhooks/webhooks.test.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/custom-fields.ts +43 -2
- package/src/domain/events.ts +7 -0
- package/src/engine/cascade.test.ts +121 -0
- package/src/engine/index.ts +142 -30
- package/src/plugins/index.ts +51 -16
- package/src/plugins/plugins.test.ts +161 -0
- package/src/schemas/index.ts +2 -1
- package/src/store/firebase.ts +33 -8
- package/src/store/index.ts +16 -0
- package/src/store/sqlite.ts +56 -31
- package/src/types/index.ts +57 -5
- package/src/webhooks/webhooks.test.ts +2 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/schemas/index.d.ts
CHANGED
|
@@ -22,11 +22,11 @@ export declare const StatusDefinitionSchema: z.ZodObject<{
|
|
|
22
22
|
category: z.ZodEnum<["not_started", "in_progress", "completed", "canceled"]>;
|
|
23
23
|
}, "strict", z.ZodTypeAny, {
|
|
24
24
|
key: string;
|
|
25
|
-
category: "
|
|
25
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
26
26
|
label: string;
|
|
27
27
|
}, {
|
|
28
28
|
key: string;
|
|
29
|
-
category: "
|
|
29
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
30
30
|
label: string;
|
|
31
31
|
}>;
|
|
32
32
|
export declare const WorkScheduleSchema: z.ZodObject<{
|
|
@@ -116,14 +116,15 @@ export declare const CustomFieldDefinitionSchema: z.ZodObject<{
|
|
|
116
116
|
id: z.ZodString;
|
|
117
117
|
key: z.ZodString;
|
|
118
118
|
label: z.ZodString;
|
|
119
|
-
type
|
|
119
|
+
/** Built-in type or one registered by a plugin (checked by the engine). */
|
|
120
|
+
type: z.ZodString;
|
|
120
121
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
121
122
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
122
123
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
123
124
|
}, "strict", z.ZodTypeAny, {
|
|
124
125
|
id: string;
|
|
125
126
|
key: string;
|
|
126
|
-
type:
|
|
127
|
+
type: string;
|
|
127
128
|
label: string;
|
|
128
129
|
options?: string[] | undefined;
|
|
129
130
|
required?: boolean | undefined;
|
|
@@ -131,7 +132,7 @@ export declare const CustomFieldDefinitionSchema: z.ZodObject<{
|
|
|
131
132
|
}, {
|
|
132
133
|
id: string;
|
|
133
134
|
key: string;
|
|
134
|
-
type:
|
|
135
|
+
type: string;
|
|
135
136
|
label: string;
|
|
136
137
|
options?: string[] | undefined;
|
|
137
138
|
required?: boolean | undefined;
|
|
@@ -168,11 +169,11 @@ export declare const CreateWorkflowSchema: z.ZodObject<{
|
|
|
168
169
|
category: z.ZodEnum<["not_started", "in_progress", "completed", "canceled"]>;
|
|
169
170
|
}, "strict", z.ZodTypeAny, {
|
|
170
171
|
key: string;
|
|
171
|
-
category: "
|
|
172
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
172
173
|
label: string;
|
|
173
174
|
}, {
|
|
174
175
|
key: string;
|
|
175
|
-
category: "
|
|
176
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
176
177
|
label: string;
|
|
177
178
|
}>, "many">;
|
|
178
179
|
transitions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -217,17 +218,17 @@ export declare const CreateWorkflowSchema: z.ZodObject<{
|
|
|
217
218
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
218
219
|
}, "strict", z.ZodTypeAny, {
|
|
219
220
|
name: string;
|
|
221
|
+
statuses: {
|
|
222
|
+
key: string;
|
|
223
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
224
|
+
label: string;
|
|
225
|
+
}[];
|
|
220
226
|
transitions: {
|
|
221
227
|
fromStatusKey: string;
|
|
222
228
|
toStatusKey: string;
|
|
223
229
|
name?: string | undefined;
|
|
224
230
|
id?: string | undefined;
|
|
225
231
|
}[];
|
|
226
|
-
statuses: {
|
|
227
|
-
key: string;
|
|
228
|
-
category: "in_progress" | "canceled" | "not_started" | "completed";
|
|
229
|
-
label: string;
|
|
230
|
-
}[];
|
|
231
232
|
description?: string | undefined;
|
|
232
233
|
taskTypes?: {
|
|
233
234
|
key: string;
|
|
@@ -243,7 +244,7 @@ export declare const CreateWorkflowSchema: z.ZodObject<{
|
|
|
243
244
|
name: string;
|
|
244
245
|
statuses: {
|
|
245
246
|
key: string;
|
|
246
|
-
category: "
|
|
247
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
247
248
|
label: string;
|
|
248
249
|
}[];
|
|
249
250
|
description?: string | undefined;
|
|
@@ -273,11 +274,11 @@ export declare const UpdateWorkflowSchema: z.ZodObject<{
|
|
|
273
274
|
category: z.ZodEnum<["not_started", "in_progress", "completed", "canceled"]>;
|
|
274
275
|
}, "strict", z.ZodTypeAny, {
|
|
275
276
|
key: string;
|
|
276
|
-
category: "
|
|
277
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
277
278
|
label: string;
|
|
278
279
|
}, {
|
|
279
280
|
key: string;
|
|
280
|
-
category: "
|
|
281
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
281
282
|
label: string;
|
|
282
283
|
}>, "many">>;
|
|
283
284
|
transitions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -331,17 +332,17 @@ export declare const UpdateWorkflowSchema: z.ZodObject<{
|
|
|
331
332
|
defaultStatusKey?: string | undefined;
|
|
332
333
|
icon?: string | undefined;
|
|
333
334
|
}[] | undefined;
|
|
335
|
+
statuses?: {
|
|
336
|
+
key: string;
|
|
337
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
338
|
+
label: string;
|
|
339
|
+
}[] | undefined;
|
|
334
340
|
transitions?: {
|
|
335
341
|
fromStatusKey: string;
|
|
336
342
|
toStatusKey: string;
|
|
337
343
|
name?: string | undefined;
|
|
338
344
|
id?: string | undefined;
|
|
339
345
|
}[] | undefined;
|
|
340
|
-
statuses?: {
|
|
341
|
-
key: string;
|
|
342
|
-
category: "in_progress" | "canceled" | "not_started" | "completed";
|
|
343
|
-
label: string;
|
|
344
|
-
}[] | undefined;
|
|
345
346
|
defaultStatusKey?: string | undefined;
|
|
346
347
|
isDefault?: boolean | undefined;
|
|
347
348
|
}, {
|
|
@@ -355,17 +356,17 @@ export declare const UpdateWorkflowSchema: z.ZodObject<{
|
|
|
355
356
|
defaultStatusKey?: string | undefined;
|
|
356
357
|
icon?: string | undefined;
|
|
357
358
|
}[] | undefined;
|
|
359
|
+
statuses?: {
|
|
360
|
+
key: string;
|
|
361
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
362
|
+
label: string;
|
|
363
|
+
}[] | undefined;
|
|
358
364
|
transitions?: {
|
|
359
365
|
fromStatusKey: string;
|
|
360
366
|
toStatusKey: string;
|
|
361
367
|
name?: string | undefined;
|
|
362
368
|
id?: string | undefined;
|
|
363
369
|
}[] | undefined;
|
|
364
|
-
statuses?: {
|
|
365
|
-
key: string;
|
|
366
|
-
category: "in_progress" | "canceled" | "not_started" | "completed";
|
|
367
|
-
label: string;
|
|
368
|
-
}[] | undefined;
|
|
369
370
|
defaultStatusKey?: string | undefined;
|
|
370
371
|
isDefault?: boolean | undefined;
|
|
371
372
|
}>;
|
|
@@ -414,11 +415,11 @@ export declare const CreateProjectSchema: z.ZodObject<{
|
|
|
414
415
|
category: z.ZodEnum<["not_started", "in_progress", "completed", "canceled"]>;
|
|
415
416
|
}, "strict", z.ZodTypeAny, {
|
|
416
417
|
key: string;
|
|
417
|
-
category: "
|
|
418
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
418
419
|
label: string;
|
|
419
420
|
}, {
|
|
420
421
|
key: string;
|
|
421
|
-
category: "
|
|
422
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
422
423
|
label: string;
|
|
423
424
|
}>, "many">>;
|
|
424
425
|
priorityDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -438,14 +439,15 @@ export declare const CreateProjectSchema: z.ZodObject<{
|
|
|
438
439
|
id: z.ZodString;
|
|
439
440
|
key: z.ZodString;
|
|
440
441
|
label: z.ZodString;
|
|
441
|
-
type
|
|
442
|
+
/** Built-in type or one registered by a plugin (checked by the engine). */
|
|
443
|
+
type: z.ZodString;
|
|
442
444
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
443
445
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
444
446
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
445
447
|
}, "strict", z.ZodTypeAny, {
|
|
446
448
|
id: string;
|
|
447
449
|
key: string;
|
|
448
|
-
type:
|
|
450
|
+
type: string;
|
|
449
451
|
label: string;
|
|
450
452
|
options?: string[] | undefined;
|
|
451
453
|
required?: boolean | undefined;
|
|
@@ -453,7 +455,7 @@ export declare const CreateProjectSchema: z.ZodObject<{
|
|
|
453
455
|
}, {
|
|
454
456
|
id: string;
|
|
455
457
|
key: string;
|
|
456
|
-
type:
|
|
458
|
+
type: string;
|
|
457
459
|
label: string;
|
|
458
460
|
options?: string[] | undefined;
|
|
459
461
|
required?: boolean | undefined;
|
|
@@ -565,7 +567,7 @@ export declare const CreateProjectSchema: z.ZodObject<{
|
|
|
565
567
|
}[] | undefined;
|
|
566
568
|
statusDefinitions?: {
|
|
567
569
|
key: string;
|
|
568
|
-
category: "
|
|
570
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
569
571
|
label: string;
|
|
570
572
|
}[] | undefined;
|
|
571
573
|
priorityDefinitions?: {
|
|
@@ -576,7 +578,7 @@ export declare const CreateProjectSchema: z.ZodObject<{
|
|
|
576
578
|
customFieldDefinitions?: {
|
|
577
579
|
id: string;
|
|
578
580
|
key: string;
|
|
579
|
-
type:
|
|
581
|
+
type: string;
|
|
580
582
|
label: string;
|
|
581
583
|
options?: string[] | undefined;
|
|
582
584
|
required?: boolean | undefined;
|
|
@@ -624,7 +626,7 @@ export declare const CreateProjectSchema: z.ZodObject<{
|
|
|
624
626
|
}[] | undefined;
|
|
625
627
|
statusDefinitions?: {
|
|
626
628
|
key: string;
|
|
627
|
-
category: "
|
|
629
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
628
630
|
label: string;
|
|
629
631
|
}[] | undefined;
|
|
630
632
|
priorityDefinitions?: {
|
|
@@ -635,7 +637,7 @@ export declare const CreateProjectSchema: z.ZodObject<{
|
|
|
635
637
|
customFieldDefinitions?: {
|
|
636
638
|
id: string;
|
|
637
639
|
key: string;
|
|
638
|
-
type:
|
|
640
|
+
type: string;
|
|
639
641
|
label: string;
|
|
640
642
|
options?: string[] | undefined;
|
|
641
643
|
required?: boolean | undefined;
|
|
@@ -708,11 +710,11 @@ export declare const UpdateProjectSchema: z.ZodObject<{
|
|
|
708
710
|
category: z.ZodEnum<["not_started", "in_progress", "completed", "canceled"]>;
|
|
709
711
|
}, "strict", z.ZodTypeAny, {
|
|
710
712
|
key: string;
|
|
711
|
-
category: "
|
|
713
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
712
714
|
label: string;
|
|
713
715
|
}, {
|
|
714
716
|
key: string;
|
|
715
|
-
category: "
|
|
717
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
716
718
|
label: string;
|
|
717
719
|
}>, "many">>>;
|
|
718
720
|
priorityDefinitions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -732,14 +734,15 @@ export declare const UpdateProjectSchema: z.ZodObject<{
|
|
|
732
734
|
id: z.ZodString;
|
|
733
735
|
key: z.ZodString;
|
|
734
736
|
label: z.ZodString;
|
|
735
|
-
type
|
|
737
|
+
/** Built-in type or one registered by a plugin (checked by the engine). */
|
|
738
|
+
type: z.ZodString;
|
|
736
739
|
options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
737
740
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
738
741
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
739
742
|
}, "strict", z.ZodTypeAny, {
|
|
740
743
|
id: string;
|
|
741
744
|
key: string;
|
|
742
|
-
type:
|
|
745
|
+
type: string;
|
|
743
746
|
label: string;
|
|
744
747
|
options?: string[] | undefined;
|
|
745
748
|
required?: boolean | undefined;
|
|
@@ -747,7 +750,7 @@ export declare const UpdateProjectSchema: z.ZodObject<{
|
|
|
747
750
|
}, {
|
|
748
751
|
id: string;
|
|
749
752
|
key: string;
|
|
750
|
-
type:
|
|
753
|
+
type: string;
|
|
751
754
|
label: string;
|
|
752
755
|
options?: string[] | undefined;
|
|
753
756
|
required?: boolean | undefined;
|
|
@@ -859,7 +862,7 @@ export declare const UpdateProjectSchema: z.ZodObject<{
|
|
|
859
862
|
}[] | undefined;
|
|
860
863
|
statusDefinitions?: {
|
|
861
864
|
key: string;
|
|
862
|
-
category: "
|
|
865
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
863
866
|
label: string;
|
|
864
867
|
}[] | undefined;
|
|
865
868
|
priorityDefinitions?: {
|
|
@@ -870,7 +873,7 @@ export declare const UpdateProjectSchema: z.ZodObject<{
|
|
|
870
873
|
customFieldDefinitions?: {
|
|
871
874
|
id: string;
|
|
872
875
|
key: string;
|
|
873
|
-
type:
|
|
876
|
+
type: string;
|
|
874
877
|
label: string;
|
|
875
878
|
options?: string[] | undefined;
|
|
876
879
|
required?: boolean | undefined;
|
|
@@ -918,7 +921,7 @@ export declare const UpdateProjectSchema: z.ZodObject<{
|
|
|
918
921
|
}[] | undefined;
|
|
919
922
|
statusDefinitions?: {
|
|
920
923
|
key: string;
|
|
921
|
-
category: "
|
|
924
|
+
category: "canceled" | "in_progress" | "not_started" | "completed";
|
|
922
925
|
label: string;
|
|
923
926
|
}[] | undefined;
|
|
924
927
|
priorityDefinitions?: {
|
|
@@ -929,7 +932,7 @@ export declare const UpdateProjectSchema: z.ZodObject<{
|
|
|
929
932
|
customFieldDefinitions?: {
|
|
930
933
|
id: string;
|
|
931
934
|
key: string;
|
|
932
|
-
type:
|
|
935
|
+
type: string;
|
|
933
936
|
label: string;
|
|
934
937
|
options?: string[] | undefined;
|
|
935
938
|
required?: boolean | undefined;
|
|
@@ -1018,14 +1021,14 @@ export declare const CreateTaskSchema: z.ZodObject<{
|
|
|
1018
1021
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
1019
1022
|
}, "strict", z.ZodTypeAny, {
|
|
1020
1023
|
id: string;
|
|
1021
|
-
completed: boolean;
|
|
1022
1024
|
title: string;
|
|
1025
|
+
completed: boolean;
|
|
1023
1026
|
createdAt?: string | undefined;
|
|
1024
1027
|
completedAt?: string | undefined;
|
|
1025
1028
|
}, {
|
|
1026
1029
|
id: string;
|
|
1027
|
-
completed: boolean;
|
|
1028
1030
|
title: string;
|
|
1031
|
+
completed: boolean;
|
|
1029
1032
|
createdAt?: string | undefined;
|
|
1030
1033
|
completedAt?: string | undefined;
|
|
1031
1034
|
}>, "many">>;
|
|
@@ -1035,10 +1038,10 @@ export declare const CreateTaskSchema: z.ZodObject<{
|
|
|
1035
1038
|
}, "strict", z.ZodTypeAny, {
|
|
1036
1039
|
projectId: string;
|
|
1037
1040
|
title: string;
|
|
1041
|
+
description?: string | undefined;
|
|
1038
1042
|
status?: string | undefined;
|
|
1043
|
+
semanticStatus?: "canceled" | "in_progress" | "not_started" | "completed" | undefined;
|
|
1039
1044
|
priority?: string | undefined;
|
|
1040
|
-
description?: string | undefined;
|
|
1041
|
-
semanticStatus?: "in_progress" | "canceled" | "not_started" | "completed" | undefined;
|
|
1042
1045
|
taskType?: string | undefined;
|
|
1043
1046
|
assigneeId?: string | undefined;
|
|
1044
1047
|
assignees?: {
|
|
@@ -1076,8 +1079,8 @@ export declare const CreateTaskSchema: z.ZodObject<{
|
|
|
1076
1079
|
tags?: string[] | undefined;
|
|
1077
1080
|
todos?: {
|
|
1078
1081
|
id: string;
|
|
1079
|
-
completed: boolean;
|
|
1080
1082
|
title: string;
|
|
1083
|
+
completed: boolean;
|
|
1081
1084
|
createdAt?: string | undefined;
|
|
1082
1085
|
completedAt?: string | undefined;
|
|
1083
1086
|
}[] | undefined;
|
|
@@ -1086,10 +1089,10 @@ export declare const CreateTaskSchema: z.ZodObject<{
|
|
|
1086
1089
|
}, {
|
|
1087
1090
|
projectId: string;
|
|
1088
1091
|
title: string;
|
|
1092
|
+
description?: string | undefined;
|
|
1089
1093
|
status?: string | undefined;
|
|
1094
|
+
semanticStatus?: "canceled" | "in_progress" | "not_started" | "completed" | undefined;
|
|
1090
1095
|
priority?: string | undefined;
|
|
1091
|
-
description?: string | undefined;
|
|
1092
|
-
semanticStatus?: "in_progress" | "canceled" | "not_started" | "completed" | undefined;
|
|
1093
1096
|
taskType?: string | undefined;
|
|
1094
1097
|
assigneeId?: string | undefined;
|
|
1095
1098
|
assignees?: {
|
|
@@ -1127,8 +1130,8 @@ export declare const CreateTaskSchema: z.ZodObject<{
|
|
|
1127
1130
|
tags?: string[] | undefined;
|
|
1128
1131
|
todos?: {
|
|
1129
1132
|
id: string;
|
|
1130
|
-
completed: boolean;
|
|
1131
1133
|
title: string;
|
|
1134
|
+
completed: boolean;
|
|
1132
1135
|
createdAt?: string | undefined;
|
|
1133
1136
|
completedAt?: string | undefined;
|
|
1134
1137
|
}[] | undefined;
|
|
@@ -1196,25 +1199,25 @@ export declare const UpdateTaskSchema: z.ZodObject<{
|
|
|
1196
1199
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
1197
1200
|
}, "strict", z.ZodTypeAny, {
|
|
1198
1201
|
id: string;
|
|
1199
|
-
completed: boolean;
|
|
1200
1202
|
title: string;
|
|
1203
|
+
completed: boolean;
|
|
1201
1204
|
createdAt?: string | undefined;
|
|
1202
1205
|
completedAt?: string | undefined;
|
|
1203
1206
|
}, {
|
|
1204
1207
|
id: string;
|
|
1205
|
-
completed: boolean;
|
|
1206
1208
|
title: string;
|
|
1209
|
+
completed: boolean;
|
|
1207
1210
|
createdAt?: string | undefined;
|
|
1208
1211
|
completedAt?: string | undefined;
|
|
1209
1212
|
}>, "many">>>;
|
|
1210
1213
|
customFields: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1211
1214
|
parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1212
1215
|
}, "strict", z.ZodTypeAny, {
|
|
1216
|
+
description?: string | undefined;
|
|
1217
|
+
title?: string | undefined;
|
|
1213
1218
|
status?: string | undefined;
|
|
1219
|
+
semanticStatus?: "canceled" | "in_progress" | "not_started" | "completed" | undefined;
|
|
1214
1220
|
priority?: string | undefined;
|
|
1215
|
-
title?: string | undefined;
|
|
1216
|
-
description?: string | undefined;
|
|
1217
|
-
semanticStatus?: "in_progress" | "canceled" | "not_started" | "completed" | undefined;
|
|
1218
1221
|
taskType?: string | undefined;
|
|
1219
1222
|
assigneeId?: string | undefined;
|
|
1220
1223
|
assignees?: {
|
|
@@ -1252,19 +1255,19 @@ export declare const UpdateTaskSchema: z.ZodObject<{
|
|
|
1252
1255
|
tags?: string[] | undefined;
|
|
1253
1256
|
todos?: {
|
|
1254
1257
|
id: string;
|
|
1255
|
-
completed: boolean;
|
|
1256
1258
|
title: string;
|
|
1259
|
+
completed: boolean;
|
|
1257
1260
|
createdAt?: string | undefined;
|
|
1258
1261
|
completedAt?: string | undefined;
|
|
1259
1262
|
}[] | undefined;
|
|
1260
1263
|
customFields?: Record<string, unknown> | undefined;
|
|
1261
1264
|
parentId?: string | undefined;
|
|
1262
1265
|
}, {
|
|
1266
|
+
description?: string | undefined;
|
|
1267
|
+
title?: string | undefined;
|
|
1263
1268
|
status?: string | undefined;
|
|
1269
|
+
semanticStatus?: "canceled" | "in_progress" | "not_started" | "completed" | undefined;
|
|
1264
1270
|
priority?: string | undefined;
|
|
1265
|
-
title?: string | undefined;
|
|
1266
|
-
description?: string | undefined;
|
|
1267
|
-
semanticStatus?: "in_progress" | "canceled" | "not_started" | "completed" | undefined;
|
|
1268
1271
|
taskType?: string | undefined;
|
|
1269
1272
|
assigneeId?: string | undefined;
|
|
1270
1273
|
assignees?: {
|
|
@@ -1302,8 +1305,8 @@ export declare const UpdateTaskSchema: z.ZodObject<{
|
|
|
1302
1305
|
tags?: string[] | undefined;
|
|
1303
1306
|
todos?: {
|
|
1304
1307
|
id: string;
|
|
1305
|
-
completed: boolean;
|
|
1306
1308
|
title: string;
|
|
1309
|
+
completed: boolean;
|
|
1307
1310
|
createdAt?: string | undefined;
|
|
1308
1311
|
completedAt?: string | undefined;
|
|
1309
1312
|
}[] | undefined;
|
|
@@ -1336,8 +1339,8 @@ export declare const CreateDeliverableSchema: z.ZodObject<{
|
|
|
1336
1339
|
}, "strict", z.ZodTypeAny, {
|
|
1337
1340
|
projectId: string;
|
|
1338
1341
|
title: string;
|
|
1339
|
-
status?: string | undefined;
|
|
1340
1342
|
description?: string | undefined;
|
|
1343
|
+
status?: string | undefined;
|
|
1341
1344
|
reviewerId?: string | undefined;
|
|
1342
1345
|
dueDate?: string | undefined;
|
|
1343
1346
|
customFields?: Record<string, unknown> | undefined;
|
|
@@ -1349,8 +1352,8 @@ export declare const CreateDeliverableSchema: z.ZodObject<{
|
|
|
1349
1352
|
}, {
|
|
1350
1353
|
projectId: string;
|
|
1351
1354
|
title: string;
|
|
1352
|
-
status?: string | undefined;
|
|
1353
1355
|
description?: string | undefined;
|
|
1356
|
+
status?: string | undefined;
|
|
1354
1357
|
reviewerId?: string | undefined;
|
|
1355
1358
|
dueDate?: string | undefined;
|
|
1356
1359
|
customFields?: Record<string, unknown> | undefined;
|
|
@@ -1373,9 +1376,9 @@ export declare const UpdateDeliverableSchema: z.ZodObject<{
|
|
|
1373
1376
|
outputUrls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1374
1377
|
customFields: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1375
1378
|
}, "strict", z.ZodTypeAny, {
|
|
1376
|
-
status?: string | undefined;
|
|
1377
|
-
title?: string | undefined;
|
|
1378
1379
|
description?: string | undefined;
|
|
1380
|
+
title?: string | undefined;
|
|
1381
|
+
status?: string | undefined;
|
|
1379
1382
|
reviewerId?: string | undefined;
|
|
1380
1383
|
dueDate?: string | undefined;
|
|
1381
1384
|
customFields?: Record<string, unknown> | undefined;
|
|
@@ -1385,9 +1388,9 @@ export declare const UpdateDeliverableSchema: z.ZodObject<{
|
|
|
1385
1388
|
deliveredAt?: string | undefined;
|
|
1386
1389
|
outputUrls?: string[] | undefined;
|
|
1387
1390
|
}, {
|
|
1388
|
-
status?: string | undefined;
|
|
1389
|
-
title?: string | undefined;
|
|
1390
1391
|
description?: string | undefined;
|
|
1392
|
+
title?: string | undefined;
|
|
1393
|
+
status?: string | undefined;
|
|
1391
1394
|
reviewerId?: string | undefined;
|
|
1392
1395
|
dueDate?: string | undefined;
|
|
1393
1396
|
customFields?: Record<string, unknown> | undefined;
|
|
@@ -1728,8 +1731,8 @@ export declare const CreateIterationSchema: z.ZodObject<{
|
|
|
1728
1731
|
projectId: z.ZodString;
|
|
1729
1732
|
}, "strict", z.ZodTypeAny, {
|
|
1730
1733
|
name: string;
|
|
1731
|
-
status: "completed" | "planning" | "active";
|
|
1732
1734
|
projectId: string;
|
|
1735
|
+
status: "active" | "completed" | "planning";
|
|
1733
1736
|
startDate?: string | undefined;
|
|
1734
1737
|
type?: string | undefined;
|
|
1735
1738
|
goal?: string | undefined;
|
|
@@ -1737,8 +1740,8 @@ export declare const CreateIterationSchema: z.ZodObject<{
|
|
|
1737
1740
|
}, {
|
|
1738
1741
|
name: string;
|
|
1739
1742
|
projectId: string;
|
|
1740
|
-
status?: "completed" | "planning" | "active" | undefined;
|
|
1741
1743
|
startDate?: string | undefined;
|
|
1744
|
+
status?: "active" | "completed" | "planning" | undefined;
|
|
1742
1745
|
type?: string | undefined;
|
|
1743
1746
|
goal?: string | undefined;
|
|
1744
1747
|
endDate?: string | undefined;
|
|
@@ -1752,15 +1755,15 @@ export declare const UpdateIterationSchema: z.ZodObject<{
|
|
|
1752
1755
|
endDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1753
1756
|
}, "strip", z.ZodTypeAny, {
|
|
1754
1757
|
name?: string | undefined;
|
|
1755
|
-
status?: "completed" | "planning" | "active" | undefined;
|
|
1756
1758
|
startDate?: string | undefined;
|
|
1759
|
+
status?: "active" | "completed" | "planning" | undefined;
|
|
1757
1760
|
type?: string | undefined;
|
|
1758
1761
|
goal?: string | undefined;
|
|
1759
1762
|
endDate?: string | undefined;
|
|
1760
1763
|
}, {
|
|
1761
1764
|
name?: string | undefined;
|
|
1762
|
-
status?: "completed" | "planning" | "active" | undefined;
|
|
1763
1765
|
startDate?: string | undefined;
|
|
1766
|
+
status?: "active" | "completed" | "planning" | undefined;
|
|
1764
1767
|
type?: string | undefined;
|
|
1765
1768
|
goal?: string | undefined;
|
|
1766
1769
|
endDate?: string | undefined;
|
|
@@ -1775,27 +1778,27 @@ export declare const CreateCommentSchema: z.ZodObject<{
|
|
|
1775
1778
|
taskId: string;
|
|
1776
1779
|
content: string;
|
|
1777
1780
|
parentId?: string | undefined;
|
|
1778
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1779
1781
|
mentions?: string[] | undefined;
|
|
1782
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1780
1783
|
}, {
|
|
1781
1784
|
taskId: string;
|
|
1782
1785
|
content: string;
|
|
1783
1786
|
parentId?: string | undefined;
|
|
1784
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1785
1787
|
mentions?: string[] | undefined;
|
|
1788
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1786
1789
|
}>;
|
|
1787
1790
|
export declare const UpdateCommentSchema: z.ZodObject<{
|
|
1788
1791
|
content: z.ZodOptional<z.ZodString>;
|
|
1789
1792
|
mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1790
1793
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1791
1794
|
}, "strip", z.ZodTypeAny, {
|
|
1792
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1793
1795
|
content?: string | undefined;
|
|
1794
1796
|
mentions?: string[] | undefined;
|
|
1795
|
-
}, {
|
|
1796
1797
|
metadata?: Record<string, unknown> | undefined;
|
|
1798
|
+
}, {
|
|
1797
1799
|
content?: string | undefined;
|
|
1798
1800
|
mentions?: string[] | undefined;
|
|
1801
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1799
1802
|
}>;
|
|
1800
1803
|
export declare const CommentReactionSchema: z.ZodObject<{
|
|
1801
1804
|
emoji: z.ZodString;
|
|
@@ -1822,21 +1825,21 @@ export declare const CreateAttachmentSchema: z.ZodObject<{
|
|
|
1822
1825
|
url: string;
|
|
1823
1826
|
projectId?: string | undefined;
|
|
1824
1827
|
taskId?: string | undefined;
|
|
1828
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1825
1829
|
commentId?: string | undefined;
|
|
1826
1830
|
storageKey?: string | undefined;
|
|
1827
1831
|
artifactType?: "plan" | "spec" | "deliverable" | "review" | "general" | undefined;
|
|
1828
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1829
1832
|
}, {
|
|
1830
1833
|
filename: string;
|
|
1831
1834
|
url: string;
|
|
1832
1835
|
projectId?: string | undefined;
|
|
1833
1836
|
taskId?: string | undefined;
|
|
1837
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1834
1838
|
commentId?: string | undefined;
|
|
1835
1839
|
mimeType?: string | undefined;
|
|
1836
1840
|
sizeBytes?: number | undefined;
|
|
1837
1841
|
storageKey?: string | undefined;
|
|
1838
1842
|
artifactType?: "plan" | "spec" | "deliverable" | "review" | "general" | undefined;
|
|
1839
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1840
1843
|
}>;
|
|
1841
1844
|
export declare const UploadAttachmentSchema: z.ZodObject<{
|
|
1842
1845
|
filename: z.ZodString;
|
|
@@ -1854,23 +1857,23 @@ export declare const UploadAttachmentSchema: z.ZodObject<{
|
|
|
1854
1857
|
data: string;
|
|
1855
1858
|
projectId?: string | undefined;
|
|
1856
1859
|
taskId?: string | undefined;
|
|
1860
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1857
1861
|
commentId?: string | undefined;
|
|
1858
1862
|
mimeType?: string | undefined;
|
|
1859
1863
|
artifactType?: "plan" | "spec" | "deliverable" | "review" | "general" | undefined;
|
|
1860
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1861
1864
|
pathPrefix?: string | undefined;
|
|
1862
|
-
encoding?: "
|
|
1865
|
+
encoding?: "utf-8" | "base64" | "binary" | undefined;
|
|
1863
1866
|
}, {
|
|
1864
1867
|
filename: string;
|
|
1865
1868
|
data: string;
|
|
1866
1869
|
projectId?: string | undefined;
|
|
1867
1870
|
taskId?: string | undefined;
|
|
1871
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1868
1872
|
commentId?: string | undefined;
|
|
1869
1873
|
mimeType?: string | undefined;
|
|
1870
1874
|
artifactType?: "plan" | "spec" | "deliverable" | "review" | "general" | undefined;
|
|
1871
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1872
1875
|
pathPrefix?: string | undefined;
|
|
1873
|
-
encoding?: "
|
|
1876
|
+
encoding?: "utf-8" | "base64" | "binary" | undefined;
|
|
1874
1877
|
}>;
|
|
1875
1878
|
export declare const PresignAttachmentSchema: z.ZodObject<{
|
|
1876
1879
|
/** Project the upload belongs to; scoped callers may only write under `projects/<projectId>/`. */
|
|
@@ -1881,13 +1884,13 @@ export declare const PresignAttachmentSchema: z.ZodObject<{
|
|
|
1881
1884
|
}, "strict", z.ZodTypeAny, {
|
|
1882
1885
|
projectId: string;
|
|
1883
1886
|
storageKey: string;
|
|
1884
|
-
contentType?: string | undefined;
|
|
1885
1887
|
expiresInSeconds?: number | undefined;
|
|
1888
|
+
contentType?: string | undefined;
|
|
1886
1889
|
}, {
|
|
1887
1890
|
projectId: string;
|
|
1888
1891
|
storageKey: string;
|
|
1889
|
-
contentType?: string | undefined;
|
|
1890
1892
|
expiresInSeconds?: number | undefined;
|
|
1893
|
+
contentType?: string | undefined;
|
|
1891
1894
|
}>;
|
|
1892
1895
|
export declare const LogTimeSchema: z.ZodObject<{
|
|
1893
1896
|
taskId: z.ZodString;
|
|
@@ -1913,41 +1916,41 @@ export declare const CreateWebhookSchema: z.ZodObject<{
|
|
|
1913
1916
|
/** http(s) URL; private and local addresses are rejected unless the engine allows them. */
|
|
1914
1917
|
url: z.ZodString;
|
|
1915
1918
|
/** Domain event names (e.g. `task.created`) or `'*'` for all events. */
|
|
1916
|
-
events: z.ZodArray<z.ZodEnum<["*", "attachment.created", "attachment.deleted", "comment.created", "comment.deleted", "comment.reaction.added", "comment.reaction.removed", "comment.updated", "container.created", "deliverable.created", "deliverable.deleted", "deliverable.status_changed", "deliverable.updated", "dependency.added", "iteration.completed", "iteration.started", "project.created", "project.deleted", "project.updated", "task.blocked", "task.created", "task.deleted", "task.status_changed", "task.unblocked", "task.updated", "team.created", "time.logged", "workflow.created", "workflow.deleted", "workflow.updated"]>, "many">;
|
|
1919
|
+
events: z.ZodArray<z.ZodEnum<["*", "attachment.created", "attachment.deleted", "comment.created", "comment.deleted", "comment.reaction.added", "comment.reaction.removed", "comment.updated", "container.created", "deliverable.created", "deliverable.deleted", "deliverable.status_changed", "deliverable.updated", "dependency.added", "dependency.removed", "iteration.completed", "iteration.started", "project.created", "project.deleted", "project.updated", "task.blocked", "task.created", "task.deleted", "task.status_changed", "task.unblocked", "task.updated", "team.created", "time.logged", "workflow.created", "workflow.deleted", "workflow.updated"]>, "many">;
|
|
1917
1920
|
/** Signing secret (at least 16 characters). Generated when omitted and returned once. */
|
|
1918
1921
|
secret: z.ZodOptional<z.ZodString>;
|
|
1919
1922
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
1920
1923
|
}, "strict", z.ZodTypeAny, {
|
|
1921
1924
|
name: string;
|
|
1922
|
-
events: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[];
|
|
1923
1925
|
url: string;
|
|
1924
|
-
|
|
1926
|
+
events: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[];
|
|
1925
1927
|
secret?: string | undefined;
|
|
1928
|
+
active?: boolean | undefined;
|
|
1926
1929
|
}, {
|
|
1927
1930
|
name: string;
|
|
1928
|
-
events: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[];
|
|
1929
1931
|
url: string;
|
|
1930
|
-
|
|
1932
|
+
events: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[];
|
|
1931
1933
|
secret?: string | undefined;
|
|
1934
|
+
active?: boolean | undefined;
|
|
1932
1935
|
}>;
|
|
1933
1936
|
export declare const UpdateWebhookSchema: z.ZodObject<{
|
|
1934
1937
|
name: z.ZodOptional<z.ZodString>;
|
|
1935
1938
|
url: z.ZodOptional<z.ZodString>;
|
|
1936
|
-
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["*", "attachment.created", "attachment.deleted", "comment.created", "comment.deleted", "comment.reaction.added", "comment.reaction.removed", "comment.updated", "container.created", "deliverable.created", "deliverable.deleted", "deliverable.status_changed", "deliverable.updated", "dependency.added", "iteration.completed", "iteration.started", "project.created", "project.deleted", "project.updated", "task.blocked", "task.created", "task.deleted", "task.status_changed", "task.unblocked", "task.updated", "team.created", "time.logged", "workflow.created", "workflow.deleted", "workflow.updated"]>, "many">>;
|
|
1939
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["*", "attachment.created", "attachment.deleted", "comment.created", "comment.deleted", "comment.reaction.added", "comment.reaction.removed", "comment.updated", "container.created", "deliverable.created", "deliverable.deleted", "deliverable.status_changed", "deliverable.updated", "dependency.added", "dependency.removed", "iteration.completed", "iteration.started", "project.created", "project.deleted", "project.updated", "task.blocked", "task.created", "task.deleted", "task.status_changed", "task.unblocked", "task.updated", "team.created", "time.logged", "workflow.created", "workflow.deleted", "workflow.updated"]>, "many">>;
|
|
1937
1940
|
secret: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1938
1941
|
active: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1939
1942
|
}, "strict", z.ZodTypeAny, {
|
|
1940
1943
|
name?: string | undefined;
|
|
1941
|
-
events?: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[] | undefined;
|
|
1942
|
-
active?: boolean | undefined;
|
|
1943
1944
|
url?: string | undefined;
|
|
1944
1945
|
secret?: string | undefined;
|
|
1946
|
+
events?: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[] | undefined;
|
|
1947
|
+
active?: boolean | undefined;
|
|
1945
1948
|
}, {
|
|
1946
1949
|
name?: string | undefined;
|
|
1947
|
-
events?: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[] | undefined;
|
|
1948
|
-
active?: boolean | undefined;
|
|
1949
1950
|
url?: string | undefined;
|
|
1950
1951
|
secret?: string | undefined;
|
|
1952
|
+
events?: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[] | undefined;
|
|
1953
|
+
active?: boolean | undefined;
|
|
1951
1954
|
}>;
|
|
1952
1955
|
export type CreateTaskPayload = z.infer<typeof CreateTaskSchema>;
|
|
1953
1956
|
export type UpdateTaskPayload = z.infer<typeof UpdateTaskSchema>;
|