@anchrd/colab-sdk 0.1.36 → 0.1.38
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 +34 -23
- package/dist/actions/actions.js +5 -2
- package/dist/archive/archive.d.ts +1 -0
- package/dist/archive/archive.js +3 -0
- package/dist/boards/boards.d.ts +21 -21
- package/dist/columns/columns.d.ts +2 -2
- package/dist/connectors/connectors.d.ts +6 -6
- package/dist/crawls/crawls.d.ts +3 -3
- package/dist/error/error.d.ts +9 -3
- package/dist/error/error.js +12 -3
- package/dist/gadgets/gadgets.d.ts +147 -9
- package/dist/gadgets/gadgets.js +156 -0
- package/dist/goals/goals.d.ts +56 -10
- package/dist/goals/goals.js +36 -7
- package/dist/grammar/grammar.d.ts +2 -0
- package/dist/grammar/grammar.js +10 -0
- package/dist/home/home.d.ts +312 -0
- package/dist/home/home.js +53 -0
- package/dist/links/links.d.ts +166 -0
- package/dist/links/links.js +149 -0
- package/dist/mcps/mcps.d.ts +3 -3
- package/dist/messages/messages.d.ts +26 -0
- package/dist/messages/messages.js +33 -0
- package/dist/nodes/nodes.d.ts +46 -20
- package/dist/nodes/nodes.js +11 -3
- package/dist/operators/operators.d.ts +737 -47
- package/dist/operators/operators.js +388 -71
- package/dist/organisation/organisation.d.ts +2 -0
- package/dist/organisation/organisation.js +9 -0
- package/dist/primitives/primitives.d.ts +9 -0
- package/dist/primitives/primitives.js +16 -0
- package/dist/roles/roles.d.ts +1 -0
- package/dist/roles/roles.js +3 -0
- package/dist/runs/runs.d.ts +2 -2
- package/dist/sdk.d.ts +12 -11
- package/dist/sdk.js +12 -11
- package/dist/skills/skills.d.ts +37 -7
- package/dist/skills/skills.js +50 -0
- package/dist/sources/sources.d.ts +82 -20
- package/dist/sources/sources.js +71 -12
- package/dist/tables/tables.d.ts +42 -0
- package/dist/tables/tables.js +55 -2
- package/dist/tool.d.ts +1 -0
- package/dist/tree-order/tree-order.d.ts +2 -2
- package/dist/tree-order/tree-order.js +1 -1
- package/dist/users/users.d.ts +2 -0
- package/dist/users/users.js +3 -2
- package/dist/versions/versions.d.ts +13 -13
- package/package.json +1 -1
|
@@ -22,26 +22,26 @@ export declare const ActionTask: z.ZodObject<{
|
|
|
22
22
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
23
23
|
name: z.ZodString;
|
|
24
24
|
type: z.ZodEnum<{
|
|
25
|
-
archive: "archive";
|
|
26
25
|
backlog: "backlog";
|
|
27
26
|
open: "open";
|
|
28
27
|
progress: "progress";
|
|
29
28
|
done: "done";
|
|
30
29
|
discarded: "discarded";
|
|
31
30
|
blocked: "blocked";
|
|
31
|
+
archive: "archive";
|
|
32
32
|
}>;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
buttons: z.ZodArray<z.ZodObject<{
|
|
35
35
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
36
36
|
name: z.ZodString;
|
|
37
37
|
type: z.ZodEnum<{
|
|
38
|
-
archive: "archive";
|
|
39
38
|
backlog: "backlog";
|
|
40
39
|
open: "open";
|
|
41
40
|
progress: "progress";
|
|
42
41
|
done: "done";
|
|
43
42
|
discarded: "discarded";
|
|
44
43
|
blocked: "blocked";
|
|
44
|
+
archive: "archive";
|
|
45
45
|
}>;
|
|
46
46
|
}, z.core.$strip>>;
|
|
47
47
|
handedOver: z.ZodBoolean;
|
|
@@ -70,11 +70,13 @@ export declare const ActionChat: z.ZodObject<{
|
|
|
70
70
|
claude: "claude";
|
|
71
71
|
codex: "codex";
|
|
72
72
|
gemini: "gemini";
|
|
73
|
+
gateway: "gateway";
|
|
73
74
|
}>>;
|
|
74
75
|
}, z.core.$strip>>;
|
|
75
76
|
appHandle: z.ZodNullable<z.ZodString>;
|
|
76
77
|
}, z.core.$strip>;
|
|
77
78
|
line: z.ZodString;
|
|
79
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
78
80
|
createdAt: z.ZodISODateTime;
|
|
79
81
|
}, z.core.$strip>;
|
|
80
82
|
}, z.core.$strip>;
|
|
@@ -86,13 +88,13 @@ export declare const ActionRunTask: z.ZodObject<{
|
|
|
86
88
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
87
89
|
name: z.ZodString;
|
|
88
90
|
type: z.ZodEnum<{
|
|
89
|
-
archive: "archive";
|
|
90
91
|
backlog: "backlog";
|
|
91
92
|
open: "open";
|
|
92
93
|
progress: "progress";
|
|
93
94
|
done: "done";
|
|
94
95
|
discarded: "discarded";
|
|
95
96
|
blocked: "blocked";
|
|
97
|
+
archive: "archive";
|
|
96
98
|
}>;
|
|
97
99
|
}, z.core.$strip>;
|
|
98
100
|
rev: z.ZodNumber;
|
|
@@ -132,7 +134,8 @@ export type ActionGoalRun = z.infer<typeof ActionGoalRun>;
|
|
|
132
134
|
export declare const ActionItem: z.ZodObject<{
|
|
133
135
|
node: z.ZodObject<{
|
|
134
136
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
135
|
-
kind: z.ZodEnum<{
|
|
137
|
+
kind: z.ZodCatch<z.ZodEnum<{
|
|
138
|
+
unknown: "unknown";
|
|
136
139
|
file: "file";
|
|
137
140
|
folder: "folder";
|
|
138
141
|
document: "document";
|
|
@@ -143,7 +146,7 @@ export declare const ActionItem: z.ZodObject<{
|
|
|
143
146
|
goal: "goal";
|
|
144
147
|
skill: "skill";
|
|
145
148
|
source: "source";
|
|
146
|
-
}
|
|
149
|
+
}>>;
|
|
147
150
|
name: z.ZodString;
|
|
148
151
|
path: z.ZodObject<{
|
|
149
152
|
section: z.ZodEnum<{
|
|
@@ -157,13 +160,13 @@ export declare const ActionItem: z.ZodObject<{
|
|
|
157
160
|
}, z.core.$strip>>;
|
|
158
161
|
}, z.core.$strip>;
|
|
159
162
|
status: z.ZodNullable<z.ZodEnum<{
|
|
160
|
-
archive: "archive";
|
|
161
163
|
backlog: "backlog";
|
|
162
164
|
open: "open";
|
|
163
165
|
progress: "progress";
|
|
164
166
|
done: "done";
|
|
165
167
|
discarded: "discarded";
|
|
166
168
|
blocked: "blocked";
|
|
169
|
+
archive: "archive";
|
|
167
170
|
}>>;
|
|
168
171
|
boardKind: z.ZodNullable<z.ZodEnum<{
|
|
169
172
|
board: "board";
|
|
@@ -181,26 +184,26 @@ export declare const ActionItem: z.ZodObject<{
|
|
|
181
184
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
182
185
|
name: z.ZodString;
|
|
183
186
|
type: z.ZodEnum<{
|
|
184
|
-
archive: "archive";
|
|
185
187
|
backlog: "backlog";
|
|
186
188
|
open: "open";
|
|
187
189
|
progress: "progress";
|
|
188
190
|
done: "done";
|
|
189
191
|
discarded: "discarded";
|
|
190
192
|
blocked: "blocked";
|
|
193
|
+
archive: "archive";
|
|
191
194
|
}>;
|
|
192
195
|
}, z.core.$strip>;
|
|
193
196
|
buttons: z.ZodArray<z.ZodObject<{
|
|
194
197
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
195
198
|
name: z.ZodString;
|
|
196
199
|
type: z.ZodEnum<{
|
|
197
|
-
archive: "archive";
|
|
198
200
|
backlog: "backlog";
|
|
199
201
|
open: "open";
|
|
200
202
|
progress: "progress";
|
|
201
203
|
done: "done";
|
|
202
204
|
discarded: "discarded";
|
|
203
205
|
blocked: "blocked";
|
|
206
|
+
archive: "archive";
|
|
204
207
|
}>;
|
|
205
208
|
}, z.core.$strip>>;
|
|
206
209
|
handedOver: z.ZodBoolean;
|
|
@@ -228,11 +231,13 @@ export declare const ActionItem: z.ZodObject<{
|
|
|
228
231
|
claude: "claude";
|
|
229
232
|
codex: "codex";
|
|
230
233
|
gemini: "gemini";
|
|
234
|
+
gateway: "gateway";
|
|
231
235
|
}>>;
|
|
232
236
|
}, z.core.$strip>>;
|
|
233
237
|
appHandle: z.ZodNullable<z.ZodString>;
|
|
234
238
|
}, z.core.$strip>;
|
|
235
239
|
line: z.ZodString;
|
|
240
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
236
241
|
createdAt: z.ZodISODateTime;
|
|
237
242
|
}, z.core.$strip>;
|
|
238
243
|
}, z.core.$strip>>;
|
|
@@ -370,13 +375,13 @@ export declare const ActionAbort: z.ZodObject<{
|
|
|
370
375
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
371
376
|
name: z.ZodString;
|
|
372
377
|
type: z.ZodEnum<{
|
|
373
|
-
archive: "archive";
|
|
374
378
|
backlog: "backlog";
|
|
375
379
|
open: "open";
|
|
376
380
|
progress: "progress";
|
|
377
381
|
done: "done";
|
|
378
382
|
discarded: "discarded";
|
|
379
383
|
blocked: "blocked";
|
|
384
|
+
archive: "archive";
|
|
380
385
|
}>;
|
|
381
386
|
}, z.core.$strip>;
|
|
382
387
|
rev: z.ZodNumber;
|
|
@@ -484,13 +489,13 @@ export declare const ActionNotice: z.ZodObject<{
|
|
|
484
489
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
485
490
|
name: z.ZodString;
|
|
486
491
|
type: z.ZodEnum<{
|
|
487
|
-
archive: "archive";
|
|
488
492
|
backlog: "backlog";
|
|
489
493
|
open: "open";
|
|
490
494
|
progress: "progress";
|
|
491
495
|
done: "done";
|
|
492
496
|
discarded: "discarded";
|
|
493
497
|
blocked: "blocked";
|
|
498
|
+
archive: "archive";
|
|
494
499
|
}>;
|
|
495
500
|
}, z.core.$strip>;
|
|
496
501
|
rev: z.ZodNumber;
|
|
@@ -600,13 +605,13 @@ export declare const ActionNoticeItem: z.ZodObject<{
|
|
|
600
605
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
601
606
|
name: z.ZodString;
|
|
602
607
|
type: z.ZodEnum<{
|
|
603
|
-
archive: "archive";
|
|
604
608
|
backlog: "backlog";
|
|
605
609
|
open: "open";
|
|
606
610
|
progress: "progress";
|
|
607
611
|
done: "done";
|
|
608
612
|
discarded: "discarded";
|
|
609
613
|
blocked: "blocked";
|
|
614
|
+
archive: "archive";
|
|
610
615
|
}>;
|
|
611
616
|
}, z.core.$strip>;
|
|
612
617
|
rev: z.ZodNumber;
|
|
@@ -623,7 +628,8 @@ export type ActionNoticeItem = z.infer<typeof ActionNoticeItem>;
|
|
|
623
628
|
export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
624
629
|
node: z.ZodObject<{
|
|
625
630
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
626
|
-
kind: z.ZodEnum<{
|
|
631
|
+
kind: z.ZodCatch<z.ZodEnum<{
|
|
632
|
+
unknown: "unknown";
|
|
627
633
|
file: "file";
|
|
628
634
|
folder: "folder";
|
|
629
635
|
document: "document";
|
|
@@ -634,7 +640,7 @@ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
634
640
|
goal: "goal";
|
|
635
641
|
skill: "skill";
|
|
636
642
|
source: "source";
|
|
637
|
-
}
|
|
643
|
+
}>>;
|
|
638
644
|
name: z.ZodString;
|
|
639
645
|
path: z.ZodObject<{
|
|
640
646
|
section: z.ZodEnum<{
|
|
@@ -648,13 +654,13 @@ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
648
654
|
}, z.core.$strip>>;
|
|
649
655
|
}, z.core.$strip>;
|
|
650
656
|
status: z.ZodNullable<z.ZodEnum<{
|
|
651
|
-
archive: "archive";
|
|
652
657
|
backlog: "backlog";
|
|
653
658
|
open: "open";
|
|
654
659
|
progress: "progress";
|
|
655
660
|
done: "done";
|
|
656
661
|
discarded: "discarded";
|
|
657
662
|
blocked: "blocked";
|
|
663
|
+
archive: "archive";
|
|
658
664
|
}>>;
|
|
659
665
|
boardKind: z.ZodNullable<z.ZodEnum<{
|
|
660
666
|
board: "board";
|
|
@@ -672,26 +678,26 @@ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
672
678
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
673
679
|
name: z.ZodString;
|
|
674
680
|
type: z.ZodEnum<{
|
|
675
|
-
archive: "archive";
|
|
676
681
|
backlog: "backlog";
|
|
677
682
|
open: "open";
|
|
678
683
|
progress: "progress";
|
|
679
684
|
done: "done";
|
|
680
685
|
discarded: "discarded";
|
|
681
686
|
blocked: "blocked";
|
|
687
|
+
archive: "archive";
|
|
682
688
|
}>;
|
|
683
689
|
}, z.core.$strip>;
|
|
684
690
|
buttons: z.ZodArray<z.ZodObject<{
|
|
685
691
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
686
692
|
name: z.ZodString;
|
|
687
693
|
type: z.ZodEnum<{
|
|
688
|
-
archive: "archive";
|
|
689
694
|
backlog: "backlog";
|
|
690
695
|
open: "open";
|
|
691
696
|
progress: "progress";
|
|
692
697
|
done: "done";
|
|
693
698
|
discarded: "discarded";
|
|
694
699
|
blocked: "blocked";
|
|
700
|
+
archive: "archive";
|
|
695
701
|
}>;
|
|
696
702
|
}, z.core.$strip>>;
|
|
697
703
|
handedOver: z.ZodBoolean;
|
|
@@ -719,11 +725,13 @@ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
719
725
|
claude: "claude";
|
|
720
726
|
codex: "codex";
|
|
721
727
|
gemini: "gemini";
|
|
728
|
+
gateway: "gateway";
|
|
722
729
|
}>>;
|
|
723
730
|
}, z.core.$strip>>;
|
|
724
731
|
appHandle: z.ZodNullable<z.ZodString>;
|
|
725
732
|
}, z.core.$strip>;
|
|
726
733
|
line: z.ZodString;
|
|
734
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
727
735
|
createdAt: z.ZodISODateTime;
|
|
728
736
|
}, z.core.$strip>;
|
|
729
737
|
}, z.core.$strip>>;
|
|
@@ -857,13 +865,13 @@ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
857
865
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
858
866
|
name: z.ZodString;
|
|
859
867
|
type: z.ZodEnum<{
|
|
860
|
-
archive: "archive";
|
|
861
868
|
backlog: "backlog";
|
|
862
869
|
open: "open";
|
|
863
870
|
progress: "progress";
|
|
864
871
|
done: "done";
|
|
865
872
|
discarded: "discarded";
|
|
866
873
|
blocked: "blocked";
|
|
874
|
+
archive: "archive";
|
|
867
875
|
}>;
|
|
868
876
|
}, z.core.$strip>;
|
|
869
877
|
rev: z.ZodNumber;
|
|
@@ -900,7 +908,8 @@ export declare const ActionList: z.ZodObject<{
|
|
|
900
908
|
items: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
901
909
|
node: z.ZodObject<{
|
|
902
910
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
903
|
-
kind: z.ZodEnum<{
|
|
911
|
+
kind: z.ZodCatch<z.ZodEnum<{
|
|
912
|
+
unknown: "unknown";
|
|
904
913
|
file: "file";
|
|
905
914
|
folder: "folder";
|
|
906
915
|
document: "document";
|
|
@@ -911,7 +920,7 @@ export declare const ActionList: z.ZodObject<{
|
|
|
911
920
|
goal: "goal";
|
|
912
921
|
skill: "skill";
|
|
913
922
|
source: "source";
|
|
914
|
-
}
|
|
923
|
+
}>>;
|
|
915
924
|
name: z.ZodString;
|
|
916
925
|
path: z.ZodObject<{
|
|
917
926
|
section: z.ZodEnum<{
|
|
@@ -925,13 +934,13 @@ export declare const ActionList: z.ZodObject<{
|
|
|
925
934
|
}, z.core.$strip>>;
|
|
926
935
|
}, z.core.$strip>;
|
|
927
936
|
status: z.ZodNullable<z.ZodEnum<{
|
|
928
|
-
archive: "archive";
|
|
929
937
|
backlog: "backlog";
|
|
930
938
|
open: "open";
|
|
931
939
|
progress: "progress";
|
|
932
940
|
done: "done";
|
|
933
941
|
discarded: "discarded";
|
|
934
942
|
blocked: "blocked";
|
|
943
|
+
archive: "archive";
|
|
935
944
|
}>>;
|
|
936
945
|
boardKind: z.ZodNullable<z.ZodEnum<{
|
|
937
946
|
board: "board";
|
|
@@ -949,26 +958,26 @@ export declare const ActionList: z.ZodObject<{
|
|
|
949
958
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
950
959
|
name: z.ZodString;
|
|
951
960
|
type: z.ZodEnum<{
|
|
952
|
-
archive: "archive";
|
|
953
961
|
backlog: "backlog";
|
|
954
962
|
open: "open";
|
|
955
963
|
progress: "progress";
|
|
956
964
|
done: "done";
|
|
957
965
|
discarded: "discarded";
|
|
958
966
|
blocked: "blocked";
|
|
967
|
+
archive: "archive";
|
|
959
968
|
}>;
|
|
960
969
|
}, z.core.$strip>;
|
|
961
970
|
buttons: z.ZodArray<z.ZodObject<{
|
|
962
971
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
963
972
|
name: z.ZodString;
|
|
964
973
|
type: z.ZodEnum<{
|
|
965
|
-
archive: "archive";
|
|
966
974
|
backlog: "backlog";
|
|
967
975
|
open: "open";
|
|
968
976
|
progress: "progress";
|
|
969
977
|
done: "done";
|
|
970
978
|
discarded: "discarded";
|
|
971
979
|
blocked: "blocked";
|
|
980
|
+
archive: "archive";
|
|
972
981
|
}>;
|
|
973
982
|
}, z.core.$strip>>;
|
|
974
983
|
handedOver: z.ZodBoolean;
|
|
@@ -996,11 +1005,13 @@ export declare const ActionList: z.ZodObject<{
|
|
|
996
1005
|
claude: "claude";
|
|
997
1006
|
codex: "codex";
|
|
998
1007
|
gemini: "gemini";
|
|
1008
|
+
gateway: "gateway";
|
|
999
1009
|
}>>;
|
|
1000
1010
|
}, z.core.$strip>>;
|
|
1001
1011
|
appHandle: z.ZodNullable<z.ZodString>;
|
|
1002
1012
|
}, z.core.$strip>;
|
|
1003
1013
|
line: z.ZodString;
|
|
1014
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
1004
1015
|
createdAt: z.ZodISODateTime;
|
|
1005
1016
|
}, z.core.$strip>;
|
|
1006
1017
|
}, z.core.$strip>>;
|
|
@@ -1134,13 +1145,13 @@ export declare const ActionList: z.ZodObject<{
|
|
|
1134
1145
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
1135
1146
|
name: z.ZodString;
|
|
1136
1147
|
type: z.ZodEnum<{
|
|
1137
|
-
archive: "archive";
|
|
1138
1148
|
backlog: "backlog";
|
|
1139
1149
|
open: "open";
|
|
1140
1150
|
progress: "progress";
|
|
1141
1151
|
done: "done";
|
|
1142
1152
|
discarded: "discarded";
|
|
1143
1153
|
blocked: "blocked";
|
|
1154
|
+
archive: "archive";
|
|
1144
1155
|
}>;
|
|
1145
1156
|
}, z.core.$strip>;
|
|
1146
1157
|
rev: z.ZodNumber;
|
package/dist/actions/actions.js
CHANGED
|
@@ -6,7 +6,7 @@ import { packages } from "../grammar/grammar.js";
|
|
|
6
6
|
import { Digest, InstructionsLink, Known, KnownText } from "../instructions/instructions.js";
|
|
7
7
|
import { Limit as PageSize } from "../list-input.js";
|
|
8
8
|
import { MessageAuthor, MessageId } from "../messages/messages.js";
|
|
9
|
-
import { BoardShownKind, NodeId,
|
|
9
|
+
import { BoardShownKind, NodeId, NodeKindRead, NodePath } from "../nodes/nodes.js";
|
|
10
10
|
import { OperatorRunId } from "../operators/operators.js";
|
|
11
11
|
import { SkillOffer } from "../skills/skills.js";
|
|
12
12
|
import { UserId } from "../users/users.js";
|
|
@@ -56,6 +56,9 @@ export const ActionChat = z.object({
|
|
|
56
56
|
author: MessageAuthor,
|
|
57
57
|
// The first line of its text that is not empty, at most 200 characters.
|
|
58
58
|
line: z.string(),
|
|
59
|
+
// Its topic (#994, E223); null for the general one (Allgemein). Read it with
|
|
60
|
+
// intelligence_message_list and topic.
|
|
61
|
+
topic: z.string().nullable(),
|
|
59
62
|
createdAt: z.iso.datetime(),
|
|
60
63
|
}),
|
|
61
64
|
});
|
|
@@ -104,7 +107,7 @@ export const ActionGoalRun = z.object({
|
|
|
104
107
|
export const ActionItem = z.object({
|
|
105
108
|
node: z.object({
|
|
106
109
|
nodeId: NodeId,
|
|
107
|
-
kind:
|
|
110
|
+
kind: NodeKindRead,
|
|
108
111
|
name: z.string(),
|
|
109
112
|
// Where it stands, from the first level the person can read; a task's last crumb is its board.
|
|
110
113
|
// A ticket of the validation board (#47) is called after its node, its crumb is the board.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const NodeArchiveInput: z.ZodObject<{
|
|
3
3
|
nodeId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
4
|
+
successorId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>>;
|
|
4
5
|
}, z.core.$strict>;
|
|
5
6
|
export type NodeArchiveInput = z.infer<typeof NodeArchiveInput>;
|
|
6
7
|
export declare const NodeRestoreInput: z.ZodObject<{
|
package/dist/archive/archive.js
CHANGED
|
@@ -5,6 +5,9 @@ import { NodeId } from "../nodes/nodes.js";
|
|
|
5
5
|
// undone; only an archived node can be deleted for good, and never by a machine (D124).
|
|
6
6
|
export const NodeArchiveInput = z.strictObject({
|
|
7
7
|
nodeId: NodeId.describe("The node to archive, with everything in it that is not archived yet. A root folder cannot be archived."),
|
|
8
|
+
successorId: NodeId.nullable()
|
|
9
|
+
.optional()
|
|
10
|
+
.describe("Only for a gadget or a source with links (E216, E221): the link that becomes the original, taking over code, history and draft, the other links following it; null turns every link into a copy. Without it a gadget or source with links is not archived."),
|
|
8
11
|
});
|
|
9
12
|
export const NodeRestoreInput = z.strictObject({
|
|
10
13
|
nodeId: NodeId.describe("The archived node to bring back to its place, with what was archived together with it. Something archived on its own before stays archived; under an archived folder, restore the folder first."),
|
package/dist/boards/boards.d.ts
CHANGED
|
@@ -21,13 +21,13 @@ export declare const BoardCreateInput: z.ZodObject<{
|
|
|
21
21
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
22
22
|
name: z.ZodString;
|
|
23
23
|
type: z.ZodEnum<{
|
|
24
|
-
archive: "archive";
|
|
25
24
|
backlog: "backlog";
|
|
26
25
|
open: "open";
|
|
27
26
|
progress: "progress";
|
|
28
27
|
done: "done";
|
|
29
28
|
discarded: "discarded";
|
|
30
29
|
blocked: "blocked";
|
|
30
|
+
archive: "archive";
|
|
31
31
|
}>;
|
|
32
32
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
33
33
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -94,13 +94,13 @@ export declare const BoardUpdateInput: z.ZodObject<{
|
|
|
94
94
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
95
95
|
name: z.ZodString;
|
|
96
96
|
type: z.ZodEnum<{
|
|
97
|
-
archive: "archive";
|
|
98
97
|
backlog: "backlog";
|
|
99
98
|
open: "open";
|
|
100
99
|
progress: "progress";
|
|
101
100
|
done: "done";
|
|
102
101
|
discarded: "discarded";
|
|
103
102
|
blocked: "blocked";
|
|
103
|
+
archive: "archive";
|
|
104
104
|
}>;
|
|
105
105
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
106
106
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -159,13 +159,13 @@ export declare const BoardColumn: z.ZodObject<{
|
|
|
159
159
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
160
160
|
name: z.ZodString;
|
|
161
161
|
type: z.ZodEnum<{
|
|
162
|
-
archive: "archive";
|
|
163
162
|
backlog: "backlog";
|
|
164
163
|
open: "open";
|
|
165
164
|
progress: "progress";
|
|
166
165
|
done: "done";
|
|
167
166
|
discarded: "discarded";
|
|
168
167
|
blocked: "blocked";
|
|
168
|
+
archive: "archive";
|
|
169
169
|
}>;
|
|
170
170
|
visible: z.ZodBoolean;
|
|
171
171
|
description: z.ZodString;
|
|
@@ -201,13 +201,13 @@ export declare const BoardDetail: z.ZodObject<{
|
|
|
201
201
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
202
202
|
name: z.ZodString;
|
|
203
203
|
type: z.ZodEnum<{
|
|
204
|
-
archive: "archive";
|
|
205
204
|
backlog: "backlog";
|
|
206
205
|
open: "open";
|
|
207
206
|
progress: "progress";
|
|
208
207
|
done: "done";
|
|
209
208
|
discarded: "discarded";
|
|
210
209
|
blocked: "blocked";
|
|
210
|
+
archive: "archive";
|
|
211
211
|
}>;
|
|
212
212
|
visible: z.ZodBoolean;
|
|
213
213
|
description: z.ZodString;
|
|
@@ -275,13 +275,13 @@ export declare const BoardTaskListInput: z.ZodObject<{
|
|
|
275
275
|
runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
276
276
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
277
277
|
type: z.ZodOptional<z.ZodEnum<{
|
|
278
|
-
archive: "archive";
|
|
279
278
|
backlog: "backlog";
|
|
280
279
|
open: "open";
|
|
281
280
|
progress: "progress";
|
|
282
281
|
done: "done";
|
|
283
282
|
discarded: "discarded";
|
|
284
283
|
blocked: "blocked";
|
|
284
|
+
archive: "archive";
|
|
285
285
|
}>>;
|
|
286
286
|
assigneeId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
287
287
|
labelId: z.ZodOptional<z.ZodTemplateLiteral<`label_${string}`>>;
|
|
@@ -406,13 +406,13 @@ export declare const BoardTaskItem: z.ZodObject<{
|
|
|
406
406
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
407
407
|
name: z.ZodString;
|
|
408
408
|
type: z.ZodEnum<{
|
|
409
|
-
archive: "archive";
|
|
410
409
|
backlog: "backlog";
|
|
411
410
|
open: "open";
|
|
412
411
|
progress: "progress";
|
|
413
412
|
done: "done";
|
|
414
413
|
discarded: "discarded";
|
|
415
414
|
blocked: "blocked";
|
|
415
|
+
archive: "archive";
|
|
416
416
|
}>;
|
|
417
417
|
}, z.core.$strip>;
|
|
418
418
|
assignee: z.ZodObject<{
|
|
@@ -509,13 +509,13 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
509
509
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
510
510
|
name: z.ZodString;
|
|
511
511
|
type: z.ZodEnum<{
|
|
512
|
-
archive: "archive";
|
|
513
512
|
backlog: "backlog";
|
|
514
513
|
open: "open";
|
|
515
514
|
progress: "progress";
|
|
516
515
|
done: "done";
|
|
517
516
|
discarded: "discarded";
|
|
518
517
|
blocked: "blocked";
|
|
518
|
+
archive: "archive";
|
|
519
519
|
}>;
|
|
520
520
|
}, z.core.$strip>;
|
|
521
521
|
assignee: z.ZodObject<{
|
|
@@ -614,13 +614,13 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
614
614
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
615
615
|
name: z.ZodString;
|
|
616
616
|
type: z.ZodEnum<{
|
|
617
|
-
archive: "archive";
|
|
618
617
|
backlog: "backlog";
|
|
619
618
|
open: "open";
|
|
620
619
|
progress: "progress";
|
|
621
620
|
done: "done";
|
|
622
621
|
discarded: "discarded";
|
|
623
622
|
blocked: "blocked";
|
|
623
|
+
archive: "archive";
|
|
624
624
|
}>;
|
|
625
625
|
visible: z.ZodBoolean;
|
|
626
626
|
description: z.ZodString;
|
|
@@ -633,18 +633,18 @@ export declare const BoardTaskBrief: z.ZodObject<{
|
|
|
633
633
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
634
634
|
name: z.ZodString;
|
|
635
635
|
type: z.ZodEnum<{
|
|
636
|
-
archive: "archive";
|
|
637
636
|
backlog: "backlog";
|
|
638
637
|
open: "open";
|
|
639
638
|
progress: "progress";
|
|
640
639
|
done: "done";
|
|
641
640
|
discarded: "discarded";
|
|
642
641
|
blocked: "blocked";
|
|
642
|
+
archive: "archive";
|
|
643
643
|
}>;
|
|
644
644
|
}, z.core.$strip>;
|
|
645
|
-
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
646
|
-
rev: z.ZodNumber;
|
|
647
645
|
title: z.ZodString;
|
|
646
|
+
rev: z.ZodNumber;
|
|
647
|
+
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
648
648
|
assignee: z.ZodObject<{
|
|
649
649
|
userId: z.ZodString;
|
|
650
650
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -668,13 +668,13 @@ export declare const BoardTaskBriefList: z.ZodObject<{
|
|
|
668
668
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
669
669
|
name: z.ZodString;
|
|
670
670
|
type: z.ZodEnum<{
|
|
671
|
-
archive: "archive";
|
|
672
671
|
backlog: "backlog";
|
|
673
672
|
open: "open";
|
|
674
673
|
progress: "progress";
|
|
675
674
|
done: "done";
|
|
676
675
|
discarded: "discarded";
|
|
677
676
|
blocked: "blocked";
|
|
677
|
+
archive: "archive";
|
|
678
678
|
}>;
|
|
679
679
|
visible: z.ZodBoolean;
|
|
680
680
|
description: z.ZodString;
|
|
@@ -685,18 +685,18 @@ export declare const BoardTaskBriefList: z.ZodObject<{
|
|
|
685
685
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
686
686
|
name: z.ZodString;
|
|
687
687
|
type: z.ZodEnum<{
|
|
688
|
-
archive: "archive";
|
|
689
688
|
backlog: "backlog";
|
|
690
689
|
open: "open";
|
|
691
690
|
progress: "progress";
|
|
692
691
|
done: "done";
|
|
693
692
|
discarded: "discarded";
|
|
694
693
|
blocked: "blocked";
|
|
694
|
+
archive: "archive";
|
|
695
695
|
}>;
|
|
696
696
|
}, z.core.$strip>;
|
|
697
|
-
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
698
|
-
rev: z.ZodNumber;
|
|
699
697
|
title: z.ZodString;
|
|
698
|
+
rev: z.ZodNumber;
|
|
699
|
+
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
700
700
|
assignee: z.ZodObject<{
|
|
701
701
|
userId: z.ZodString;
|
|
702
702
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -718,13 +718,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
718
718
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
719
719
|
name: z.ZodString;
|
|
720
720
|
type: z.ZodEnum<{
|
|
721
|
-
archive: "archive";
|
|
722
721
|
backlog: "backlog";
|
|
723
722
|
open: "open";
|
|
724
723
|
progress: "progress";
|
|
725
724
|
done: "done";
|
|
726
725
|
discarded: "discarded";
|
|
727
726
|
blocked: "blocked";
|
|
727
|
+
archive: "archive";
|
|
728
728
|
}>;
|
|
729
729
|
}, z.core.$strip>;
|
|
730
730
|
columnAt: z.ZodISODateTime;
|
|
@@ -775,13 +775,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
775
775
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
776
776
|
name: z.ZodString;
|
|
777
777
|
type: z.ZodEnum<{
|
|
778
|
-
archive: "archive";
|
|
779
778
|
backlog: "backlog";
|
|
780
779
|
open: "open";
|
|
781
780
|
progress: "progress";
|
|
782
781
|
done: "done";
|
|
783
782
|
discarded: "discarded";
|
|
784
783
|
blocked: "blocked";
|
|
784
|
+
archive: "archive";
|
|
785
785
|
}>;
|
|
786
786
|
}, z.core.$strip>;
|
|
787
787
|
kind: z.ZodNullable<z.ZodObject<{
|
|
@@ -817,13 +817,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
817
817
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
818
818
|
name: z.ZodString;
|
|
819
819
|
type: z.ZodEnum<{
|
|
820
|
-
archive: "archive";
|
|
821
820
|
backlog: "backlog";
|
|
822
821
|
open: "open";
|
|
823
822
|
progress: "progress";
|
|
824
823
|
done: "done";
|
|
825
824
|
discarded: "discarded";
|
|
826
825
|
blocked: "blocked";
|
|
826
|
+
archive: "archive";
|
|
827
827
|
}>;
|
|
828
828
|
}, z.core.$strip>;
|
|
829
829
|
kind: z.ZodNullable<z.ZodObject<{
|
|
@@ -929,26 +929,26 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
929
929
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
930
930
|
name: z.ZodNullable<z.ZodString>;
|
|
931
931
|
type: z.ZodNullable<z.ZodEnum<{
|
|
932
|
-
archive: "archive";
|
|
933
932
|
backlog: "backlog";
|
|
934
933
|
open: "open";
|
|
935
934
|
progress: "progress";
|
|
936
935
|
done: "done";
|
|
937
936
|
discarded: "discarded";
|
|
938
937
|
blocked: "blocked";
|
|
938
|
+
archive: "archive";
|
|
939
939
|
}>>;
|
|
940
940
|
}, z.core.$strip>>;
|
|
941
941
|
to: z.ZodObject<{
|
|
942
942
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
943
943
|
name: z.ZodNullable<z.ZodString>;
|
|
944
944
|
type: z.ZodNullable<z.ZodEnum<{
|
|
945
|
-
archive: "archive";
|
|
946
945
|
backlog: "backlog";
|
|
947
946
|
open: "open";
|
|
948
947
|
progress: "progress";
|
|
949
948
|
done: "done";
|
|
950
949
|
discarded: "discarded";
|
|
951
950
|
blocked: "blocked";
|
|
951
|
+
archive: "archive";
|
|
952
952
|
}>>;
|
|
953
953
|
}, z.core.$strip>;
|
|
954
954
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -985,13 +985,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
985
985
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
986
986
|
name: z.ZodString;
|
|
987
987
|
type: z.ZodEnum<{
|
|
988
|
-
archive: "archive";
|
|
989
988
|
backlog: "backlog";
|
|
990
989
|
open: "open";
|
|
991
990
|
progress: "progress";
|
|
992
991
|
done: "done";
|
|
993
992
|
discarded: "discarded";
|
|
994
993
|
blocked: "blocked";
|
|
994
|
+
archive: "archive";
|
|
995
995
|
}>;
|
|
996
996
|
visible: z.ZodBoolean;
|
|
997
997
|
description: z.ZodString;
|