@anchrd/colab-sdk 0.1.32 → 0.1.34
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/README.md +3 -1
- package/dist/actions/actions.d.ts +46 -17
- package/dist/actions/actions.js +10 -0
- package/dist/archive/archive.d.ts +10 -0
- package/dist/archive/archive.js +9 -0
- package/dist/boards/boards.d.ts +29 -25
- package/dist/boards/boards.js +3 -2
- package/dist/card-kinds/card-kinds.d.ts +5 -5
- package/dist/columns/columns.d.ts +2 -2
- package/dist/connectors/connectors.d.ts +121 -3
- package/dist/connectors/connectors.js +6 -2
- package/dist/crawls/crawls.d.ts +3 -3
- package/dist/documents/documents.d.ts +4 -0
- package/dist/documents/documents.js +3 -2
- package/dist/error/error.d.ts +2 -0
- package/dist/error/error.js +35 -2
- package/dist/files/files.d.ts +4 -0
- package/dist/files/files.js +3 -2
- package/dist/gadgets/gadgets.d.ts +143 -12
- package/dist/gadgets/gadgets.js +60 -12
- package/dist/goals/goals.d.ts +19 -0
- package/dist/goals/goals.js +10 -5
- package/dist/grammar/grammar.d.ts +2 -1
- package/dist/grammar/grammar.js +9 -3
- package/dist/mcps/mcps.d.ts +41 -3
- package/dist/mcps/mcps.js +53 -3
- package/dist/nodes/nodes.d.ts +21 -9
- package/dist/nodes/nodes.js +16 -2
- package/dist/operators/operators.js +1 -1
- package/dist/organisation/organisation.d.ts +45 -0
- package/dist/organisation/organisation.js +45 -0
- package/dist/profile/profile.d.ts +3 -3
- package/dist/profile/profile.js +3 -2
- package/dist/providers/providers.d.ts +128 -0
- package/dist/providers/providers.js +118 -0
- package/dist/runs/runs.d.ts +3 -3
- package/dist/runtime-config.d.ts +12 -0
- package/dist/runtime-config.js +10 -0
- package/dist/sdk.d.ts +5 -4
- package/dist/sdk.js +5 -4
- package/dist/skills/skills.d.ts +4 -0
- package/dist/skills/skills.js +3 -2
- package/dist/sources/sources.d.ts +47 -4
- package/dist/sources/sources.js +8 -3
- package/dist/tables/tables.d.ts +4 -0
- package/dist/tables/tables.js +3 -2
- package/dist/versions/versions.d.ts +13 -13
- package/dist/written/written.d.ts +6 -2
- package/dist/written/written.js +2 -2
- package/package.json +1 -1
- package/dist/sso/sso.d.ts +0 -71
- package/dist/sso/sso.js +0 -59
package/dist/boards/boards.d.ts
CHANGED
|
@@ -12,18 +12,22 @@ export declare const BoardKind: z.ZodEnum<{
|
|
|
12
12
|
export type BoardKind = z.infer<typeof BoardKind>;
|
|
13
13
|
export declare const BoardCreateInput: z.ZodObject<{
|
|
14
14
|
parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
15
|
+
section: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
own: "own";
|
|
17
|
+
shared: "shared";
|
|
18
|
+
}>>;
|
|
15
19
|
name: z.ZodString;
|
|
16
20
|
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17
21
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
18
22
|
name: z.ZodString;
|
|
19
23
|
type: z.ZodEnum<{
|
|
24
|
+
archive: "archive";
|
|
20
25
|
backlog: "backlog";
|
|
21
26
|
open: "open";
|
|
22
27
|
progress: "progress";
|
|
23
28
|
done: "done";
|
|
24
29
|
discarded: "discarded";
|
|
25
30
|
blocked: "blocked";
|
|
26
|
-
archive: "archive";
|
|
27
31
|
}>;
|
|
28
32
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
29
33
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -35,8 +39,8 @@ export declare const BoardCreateInput: z.ZodObject<{
|
|
|
35
39
|
message: "message";
|
|
36
40
|
user: "user";
|
|
37
41
|
package: "package";
|
|
38
|
-
target: "target";
|
|
39
42
|
search: "search";
|
|
43
|
+
target: "target";
|
|
40
44
|
calendar: "calendar";
|
|
41
45
|
flag: "flag";
|
|
42
46
|
route: "route";
|
|
@@ -90,13 +94,13 @@ export declare const BoardUpdateInput: z.ZodObject<{
|
|
|
90
94
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
91
95
|
name: z.ZodString;
|
|
92
96
|
type: z.ZodEnum<{
|
|
97
|
+
archive: "archive";
|
|
93
98
|
backlog: "backlog";
|
|
94
99
|
open: "open";
|
|
95
100
|
progress: "progress";
|
|
96
101
|
done: "done";
|
|
97
102
|
discarded: "discarded";
|
|
98
103
|
blocked: "blocked";
|
|
99
|
-
archive: "archive";
|
|
100
104
|
}>;
|
|
101
105
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
102
106
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -108,8 +112,8 @@ export declare const BoardUpdateInput: z.ZodObject<{
|
|
|
108
112
|
message: "message";
|
|
109
113
|
user: "user";
|
|
110
114
|
package: "package";
|
|
111
|
-
target: "target";
|
|
112
115
|
search: "search";
|
|
116
|
+
target: "target";
|
|
113
117
|
calendar: "calendar";
|
|
114
118
|
flag: "flag";
|
|
115
119
|
route: "route";
|
|
@@ -155,13 +159,13 @@ export declare const BoardColumn: z.ZodObject<{
|
|
|
155
159
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
156
160
|
name: z.ZodString;
|
|
157
161
|
type: z.ZodEnum<{
|
|
162
|
+
archive: "archive";
|
|
158
163
|
backlog: "backlog";
|
|
159
164
|
open: "open";
|
|
160
165
|
progress: "progress";
|
|
161
166
|
done: "done";
|
|
162
167
|
discarded: "discarded";
|
|
163
168
|
blocked: "blocked";
|
|
164
|
-
archive: "archive";
|
|
165
169
|
}>;
|
|
166
170
|
visible: z.ZodBoolean;
|
|
167
171
|
description: z.ZodString;
|
|
@@ -197,13 +201,13 @@ export declare const BoardDetail: z.ZodObject<{
|
|
|
197
201
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
198
202
|
name: z.ZodString;
|
|
199
203
|
type: z.ZodEnum<{
|
|
204
|
+
archive: "archive";
|
|
200
205
|
backlog: "backlog";
|
|
201
206
|
open: "open";
|
|
202
207
|
progress: "progress";
|
|
203
208
|
done: "done";
|
|
204
209
|
discarded: "discarded";
|
|
205
210
|
blocked: "blocked";
|
|
206
|
-
archive: "archive";
|
|
207
211
|
}>;
|
|
208
212
|
visible: z.ZodBoolean;
|
|
209
213
|
description: z.ZodString;
|
|
@@ -216,8 +220,8 @@ export declare const BoardDetail: z.ZodObject<{
|
|
|
216
220
|
message: "message";
|
|
217
221
|
user: "user";
|
|
218
222
|
package: "package";
|
|
219
|
-
target: "target";
|
|
220
223
|
search: "search";
|
|
224
|
+
target: "target";
|
|
221
225
|
calendar: "calendar";
|
|
222
226
|
flag: "flag";
|
|
223
227
|
route: "route";
|
|
@@ -271,13 +275,13 @@ export declare const BoardTaskListInput: z.ZodObject<{
|
|
|
271
275
|
runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
272
276
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
273
277
|
type: z.ZodOptional<z.ZodEnum<{
|
|
278
|
+
archive: "archive";
|
|
274
279
|
backlog: "backlog";
|
|
275
280
|
open: "open";
|
|
276
281
|
progress: "progress";
|
|
277
282
|
done: "done";
|
|
278
283
|
discarded: "discarded";
|
|
279
284
|
blocked: "blocked";
|
|
280
|
-
archive: "archive";
|
|
281
285
|
}>>;
|
|
282
286
|
assigneeId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
283
287
|
labelId: z.ZodOptional<z.ZodTemplateLiteral<`label_${string}`>>;
|
|
@@ -402,13 +406,13 @@ export declare const BoardTaskItem: z.ZodObject<{
|
|
|
402
406
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
403
407
|
name: z.ZodString;
|
|
404
408
|
type: z.ZodEnum<{
|
|
409
|
+
archive: "archive";
|
|
405
410
|
backlog: "backlog";
|
|
406
411
|
open: "open";
|
|
407
412
|
progress: "progress";
|
|
408
413
|
done: "done";
|
|
409
414
|
discarded: "discarded";
|
|
410
415
|
blocked: "blocked";
|
|
411
|
-
archive: "archive";
|
|
412
416
|
}>;
|
|
413
417
|
}, z.core.$strip>;
|
|
414
418
|
assignee: z.ZodObject<{
|
|
@@ -442,8 +446,8 @@ export declare const BoardTaskItem: z.ZodObject<{
|
|
|
442
446
|
message: "message";
|
|
443
447
|
user: "user";
|
|
444
448
|
package: "package";
|
|
445
|
-
target: "target";
|
|
446
449
|
search: "search";
|
|
450
|
+
target: "target";
|
|
447
451
|
calendar: "calendar";
|
|
448
452
|
flag: "flag";
|
|
449
453
|
route: "route";
|
|
@@ -505,13 +509,13 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
505
509
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
506
510
|
name: z.ZodString;
|
|
507
511
|
type: z.ZodEnum<{
|
|
512
|
+
archive: "archive";
|
|
508
513
|
backlog: "backlog";
|
|
509
514
|
open: "open";
|
|
510
515
|
progress: "progress";
|
|
511
516
|
done: "done";
|
|
512
517
|
discarded: "discarded";
|
|
513
518
|
blocked: "blocked";
|
|
514
|
-
archive: "archive";
|
|
515
519
|
}>;
|
|
516
520
|
}, z.core.$strip>;
|
|
517
521
|
assignee: z.ZodObject<{
|
|
@@ -545,8 +549,8 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
545
549
|
message: "message";
|
|
546
550
|
user: "user";
|
|
547
551
|
package: "package";
|
|
548
|
-
target: "target";
|
|
549
552
|
search: "search";
|
|
553
|
+
target: "target";
|
|
550
554
|
calendar: "calendar";
|
|
551
555
|
flag: "flag";
|
|
552
556
|
route: "route";
|
|
@@ -610,13 +614,13 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
610
614
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
611
615
|
name: z.ZodString;
|
|
612
616
|
type: z.ZodEnum<{
|
|
617
|
+
archive: "archive";
|
|
613
618
|
backlog: "backlog";
|
|
614
619
|
open: "open";
|
|
615
620
|
progress: "progress";
|
|
616
621
|
done: "done";
|
|
617
622
|
discarded: "discarded";
|
|
618
623
|
blocked: "blocked";
|
|
619
|
-
archive: "archive";
|
|
620
624
|
}>;
|
|
621
625
|
visible: z.ZodBoolean;
|
|
622
626
|
description: z.ZodString;
|
|
@@ -629,13 +633,13 @@ export declare const BoardTaskBrief: z.ZodObject<{
|
|
|
629
633
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
630
634
|
name: z.ZodString;
|
|
631
635
|
type: z.ZodEnum<{
|
|
636
|
+
archive: "archive";
|
|
632
637
|
backlog: "backlog";
|
|
633
638
|
open: "open";
|
|
634
639
|
progress: "progress";
|
|
635
640
|
done: "done";
|
|
636
641
|
discarded: "discarded";
|
|
637
642
|
blocked: "blocked";
|
|
638
|
-
archive: "archive";
|
|
639
643
|
}>;
|
|
640
644
|
}, z.core.$strip>;
|
|
641
645
|
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
@@ -664,13 +668,13 @@ export declare const BoardTaskBriefList: z.ZodObject<{
|
|
|
664
668
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
665
669
|
name: z.ZodString;
|
|
666
670
|
type: z.ZodEnum<{
|
|
671
|
+
archive: "archive";
|
|
667
672
|
backlog: "backlog";
|
|
668
673
|
open: "open";
|
|
669
674
|
progress: "progress";
|
|
670
675
|
done: "done";
|
|
671
676
|
discarded: "discarded";
|
|
672
677
|
blocked: "blocked";
|
|
673
|
-
archive: "archive";
|
|
674
678
|
}>;
|
|
675
679
|
visible: z.ZodBoolean;
|
|
676
680
|
description: z.ZodString;
|
|
@@ -681,13 +685,13 @@ export declare const BoardTaskBriefList: z.ZodObject<{
|
|
|
681
685
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
682
686
|
name: z.ZodString;
|
|
683
687
|
type: z.ZodEnum<{
|
|
688
|
+
archive: "archive";
|
|
684
689
|
backlog: "backlog";
|
|
685
690
|
open: "open";
|
|
686
691
|
progress: "progress";
|
|
687
692
|
done: "done";
|
|
688
693
|
discarded: "discarded";
|
|
689
694
|
blocked: "blocked";
|
|
690
|
-
archive: "archive";
|
|
691
695
|
}>;
|
|
692
696
|
}, z.core.$strip>;
|
|
693
697
|
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
@@ -714,13 +718,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
714
718
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
715
719
|
name: z.ZodString;
|
|
716
720
|
type: z.ZodEnum<{
|
|
721
|
+
archive: "archive";
|
|
717
722
|
backlog: "backlog";
|
|
718
723
|
open: "open";
|
|
719
724
|
progress: "progress";
|
|
720
725
|
done: "done";
|
|
721
726
|
discarded: "discarded";
|
|
722
727
|
blocked: "blocked";
|
|
723
|
-
archive: "archive";
|
|
724
728
|
}>;
|
|
725
729
|
}, z.core.$strip>;
|
|
726
730
|
columnAt: z.ZodISODateTime;
|
|
@@ -771,13 +775,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
771
775
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
772
776
|
name: z.ZodString;
|
|
773
777
|
type: z.ZodEnum<{
|
|
778
|
+
archive: "archive";
|
|
774
779
|
backlog: "backlog";
|
|
775
780
|
open: "open";
|
|
776
781
|
progress: "progress";
|
|
777
782
|
done: "done";
|
|
778
783
|
discarded: "discarded";
|
|
779
784
|
blocked: "blocked";
|
|
780
|
-
archive: "archive";
|
|
781
785
|
}>;
|
|
782
786
|
}, z.core.$strip>;
|
|
783
787
|
kind: z.ZodNullable<z.ZodObject<{
|
|
@@ -787,8 +791,8 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
787
791
|
message: "message";
|
|
788
792
|
user: "user";
|
|
789
793
|
package: "package";
|
|
790
|
-
target: "target";
|
|
791
794
|
search: "search";
|
|
795
|
+
target: "target";
|
|
792
796
|
calendar: "calendar";
|
|
793
797
|
flag: "flag";
|
|
794
798
|
route: "route";
|
|
@@ -813,13 +817,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
813
817
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
814
818
|
name: z.ZodString;
|
|
815
819
|
type: z.ZodEnum<{
|
|
820
|
+
archive: "archive";
|
|
816
821
|
backlog: "backlog";
|
|
817
822
|
open: "open";
|
|
818
823
|
progress: "progress";
|
|
819
824
|
done: "done";
|
|
820
825
|
discarded: "discarded";
|
|
821
826
|
blocked: "blocked";
|
|
822
|
-
archive: "archive";
|
|
823
827
|
}>;
|
|
824
828
|
}, z.core.$strip>;
|
|
825
829
|
kind: z.ZodNullable<z.ZodObject<{
|
|
@@ -829,8 +833,8 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
829
833
|
message: "message";
|
|
830
834
|
user: "user";
|
|
831
835
|
package: "package";
|
|
832
|
-
target: "target";
|
|
833
836
|
search: "search";
|
|
837
|
+
target: "target";
|
|
834
838
|
calendar: "calendar";
|
|
835
839
|
flag: "flag";
|
|
836
840
|
route: "route";
|
|
@@ -860,8 +864,8 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
860
864
|
message: "message";
|
|
861
865
|
user: "user";
|
|
862
866
|
package: "package";
|
|
863
|
-
target: "target";
|
|
864
867
|
search: "search";
|
|
868
|
+
target: "target";
|
|
865
869
|
calendar: "calendar";
|
|
866
870
|
flag: "flag";
|
|
867
871
|
route: "route";
|
|
@@ -925,26 +929,26 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
925
929
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
926
930
|
name: z.ZodNullable<z.ZodString>;
|
|
927
931
|
type: z.ZodNullable<z.ZodEnum<{
|
|
932
|
+
archive: "archive";
|
|
928
933
|
backlog: "backlog";
|
|
929
934
|
open: "open";
|
|
930
935
|
progress: "progress";
|
|
931
936
|
done: "done";
|
|
932
937
|
discarded: "discarded";
|
|
933
938
|
blocked: "blocked";
|
|
934
|
-
archive: "archive";
|
|
935
939
|
}>>;
|
|
936
940
|
}, z.core.$strip>>;
|
|
937
941
|
to: z.ZodObject<{
|
|
938
942
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
939
943
|
name: z.ZodNullable<z.ZodString>;
|
|
940
944
|
type: z.ZodNullable<z.ZodEnum<{
|
|
945
|
+
archive: "archive";
|
|
941
946
|
backlog: "backlog";
|
|
942
947
|
open: "open";
|
|
943
948
|
progress: "progress";
|
|
944
949
|
done: "done";
|
|
945
950
|
discarded: "discarded";
|
|
946
951
|
blocked: "blocked";
|
|
947
|
-
archive: "archive";
|
|
948
952
|
}>>;
|
|
949
953
|
}, z.core.$strip>;
|
|
950
954
|
comment: z.ZodNullable<z.ZodString>;
|
|
@@ -981,13 +985,13 @@ export declare const TaskDetail: z.ZodObject<{
|
|
|
981
985
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
982
986
|
name: z.ZodString;
|
|
983
987
|
type: z.ZodEnum<{
|
|
988
|
+
archive: "archive";
|
|
984
989
|
backlog: "backlog";
|
|
985
990
|
open: "open";
|
|
986
991
|
progress: "progress";
|
|
987
992
|
done: "done";
|
|
988
993
|
discarded: "discarded";
|
|
989
994
|
blocked: "blocked";
|
|
990
|
-
archive: "archive";
|
|
991
995
|
}>;
|
|
992
996
|
visible: z.ZodBoolean;
|
|
993
997
|
description: z.ZodString;
|
package/dist/boards/boards.js
CHANGED
|
@@ -4,7 +4,7 @@ import { ColumnId, ColumnType, TaskColumn } from "../columns/columns.js";
|
|
|
4
4
|
import { idSchema } from "../ids/ids.js";
|
|
5
5
|
import { InstructionRead, Known } from "../instructions/instructions.js";
|
|
6
6
|
import { Flag } from "../list-input.js";
|
|
7
|
-
import { BoardShownKind, BoardSystem, NodeId, NodePerson } from "../nodes/nodes.js";
|
|
7
|
+
import { BoardShownKind, BoardSystem, CreateSection, NodeId, NodePerson } from "../nodes/nodes.js";
|
|
8
8
|
import { IdempotencyKey, Rev } from "../primitives/primitives.js";
|
|
9
9
|
import { TicketSubject, TicketSubjectRef } from "../validation/validation.js";
|
|
10
10
|
import { TaskMove } from "../versions/versions.js";
|
|
@@ -51,7 +51,8 @@ const Columns = z
|
|
|
51
51
|
.describe("The board's columns, all of them, in their order: a column with columnId is kept, one without is made, and a column left out is removed. Exactly one column of type archive, always last; it cannot be removed. A column that still holds tasks cannot be removed: move them first.");
|
|
52
52
|
export const BoardCreateInput = z.strictObject({
|
|
53
53
|
// ⚠️ Required and nullable (trap C015): null is the top level of Shared.
|
|
54
|
-
parentId: NodeId.nullable().describe("The folder to create the board in, one you can write to; null creates it on the top level of Shared,
|
|
54
|
+
parentId: NodeId.nullable().describe("The folder to create the board in, one you can write to; null creates it in your own root folder (Own), or on the top level of Shared with section shared, where only you see it until you share it."),
|
|
55
|
+
section: CreateSection,
|
|
55
56
|
name: Name.describe("The board's name as people read it."),
|
|
56
57
|
columns: Columns.optional().describe("The board's columns in their order, without columnId, each with its description if it has one. Exactly one of type archive, last. Leaving it out gives Backlog, Open, In progress, Done and Archive, named in your language."),
|
|
57
58
|
// #675: a copied template has its kinds with the create, not with a second call.
|
|
@@ -21,8 +21,8 @@ export declare const CardKindIcon: z.ZodEnum<{
|
|
|
21
21
|
message: "message";
|
|
22
22
|
user: "user";
|
|
23
23
|
package: "package";
|
|
24
|
-
target: "target";
|
|
25
24
|
search: "search";
|
|
25
|
+
target: "target";
|
|
26
26
|
calendar: "calendar";
|
|
27
27
|
flag: "flag";
|
|
28
28
|
route: "route";
|
|
@@ -68,8 +68,8 @@ export declare const CardKindInput: z.ZodObject<{
|
|
|
68
68
|
message: "message";
|
|
69
69
|
user: "user";
|
|
70
70
|
package: "package";
|
|
71
|
-
target: "target";
|
|
72
71
|
search: "search";
|
|
72
|
+
target: "target";
|
|
73
73
|
calendar: "calendar";
|
|
74
74
|
flag: "flag";
|
|
75
75
|
route: "route";
|
|
@@ -113,8 +113,8 @@ export declare const CardKindsInput: z.ZodArray<z.ZodObject<{
|
|
|
113
113
|
message: "message";
|
|
114
114
|
user: "user";
|
|
115
115
|
package: "package";
|
|
116
|
-
target: "target";
|
|
117
116
|
search: "search";
|
|
117
|
+
target: "target";
|
|
118
118
|
calendar: "calendar";
|
|
119
119
|
flag: "flag";
|
|
120
120
|
route: "route";
|
|
@@ -183,8 +183,8 @@ export declare const CardKind: z.ZodObject<{
|
|
|
183
183
|
message: "message";
|
|
184
184
|
user: "user";
|
|
185
185
|
package: "package";
|
|
186
|
-
target: "target";
|
|
187
186
|
search: "search";
|
|
187
|
+
target: "target";
|
|
188
188
|
calendar: "calendar";
|
|
189
189
|
flag: "flag";
|
|
190
190
|
route: "route";
|
|
@@ -228,8 +228,8 @@ export declare const TaskKind: z.ZodObject<{
|
|
|
228
228
|
message: "message";
|
|
229
229
|
user: "user";
|
|
230
230
|
package: "package";
|
|
231
|
-
target: "target";
|
|
232
231
|
search: "search";
|
|
232
|
+
target: "target";
|
|
233
233
|
calendar: "calendar";
|
|
234
234
|
flag: "flag";
|
|
235
235
|
route: "route";
|
|
@@ -3,26 +3,26 @@ export declare const ColumnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
|
3
3
|
export type ColumnId = z.infer<typeof ColumnId>;
|
|
4
4
|
export declare const columnTypes: readonly ["backlog", "open", "progress", "done", "discarded", "blocked", "archive"];
|
|
5
5
|
export declare const ColumnType: z.ZodEnum<{
|
|
6
|
+
archive: "archive";
|
|
6
7
|
backlog: "backlog";
|
|
7
8
|
open: "open";
|
|
8
9
|
progress: "progress";
|
|
9
10
|
done: "done";
|
|
10
11
|
discarded: "discarded";
|
|
11
12
|
blocked: "blocked";
|
|
12
|
-
archive: "archive";
|
|
13
13
|
}>;
|
|
14
14
|
export type ColumnType = z.infer<typeof ColumnType>;
|
|
15
15
|
export declare const TaskColumn: z.ZodObject<{
|
|
16
16
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
type: z.ZodEnum<{
|
|
19
|
+
archive: "archive";
|
|
19
20
|
backlog: "backlog";
|
|
20
21
|
open: "open";
|
|
21
22
|
progress: "progress";
|
|
22
23
|
done: "done";
|
|
23
24
|
discarded: "discarded";
|
|
24
25
|
blocked: "blocked";
|
|
25
|
-
archive: "archive";
|
|
26
26
|
}>;
|
|
27
27
|
}, z.core.$strip>;
|
|
28
28
|
export type TaskColumn = z.infer<typeof TaskColumn>;
|
|
@@ -67,7 +67,7 @@ export type ConnectorManifestTool = z.infer<typeof ConnectorManifestTool>;
|
|
|
67
67
|
export declare const ConnectorManifest: z.ZodObject<{
|
|
68
68
|
id: z.ZodString;
|
|
69
69
|
name: z.ZodString;
|
|
70
|
-
category: z.ZodString
|
|
70
|
+
category: z.ZodOptional<z.ZodString>;
|
|
71
71
|
description: z.ZodString;
|
|
72
72
|
base: z.ZodString;
|
|
73
73
|
hosts: z.ZodArray<z.ZodString>;
|
|
@@ -123,7 +123,7 @@ export declare const ConnectorCreateInput: z.ZodObject<{
|
|
|
123
123
|
connectorId: z.ZodString;
|
|
124
124
|
name: z.ZodString;
|
|
125
125
|
description: z.ZodString;
|
|
126
|
-
category: z.ZodString
|
|
126
|
+
category: z.ZodOptional<z.ZodString>;
|
|
127
127
|
base: z.ZodString;
|
|
128
128
|
access: z.ZodEnum<{
|
|
129
129
|
query: "query";
|
|
@@ -219,7 +219,45 @@ export declare const ConnectorTestRun: z.ZodObject<{
|
|
|
219
219
|
line: z.ZodNumber;
|
|
220
220
|
column: z.ZodNumber;
|
|
221
221
|
}, z.core.$strip>>;
|
|
222
|
+
calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
223
|
+
name: z.ZodString;
|
|
224
|
+
durationMs: z.ZodNumber;
|
|
225
|
+
code: z.ZodNullable<z.ZodEnum<{
|
|
226
|
+
not_found: "not_found";
|
|
227
|
+
invalid: "invalid";
|
|
228
|
+
conflict: "conflict";
|
|
229
|
+
unauthenticated: "unauthenticated";
|
|
230
|
+
unavailable: "unavailable";
|
|
231
|
+
}>>;
|
|
232
|
+
}, z.core.$strip>>>;
|
|
222
233
|
}, z.core.$strip>>;
|
|
234
|
+
hooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
235
|
+
file: z.ZodString;
|
|
236
|
+
durationMs: z.ZodNumber;
|
|
237
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
238
|
+
name: z.ZodString;
|
|
239
|
+
durationMs: z.ZodNumber;
|
|
240
|
+
code: z.ZodNullable<z.ZodEnum<{
|
|
241
|
+
not_found: "not_found";
|
|
242
|
+
invalid: "invalid";
|
|
243
|
+
conflict: "conflict";
|
|
244
|
+
unauthenticated: "unauthenticated";
|
|
245
|
+
unavailable: "unavailable";
|
|
246
|
+
}>>;
|
|
247
|
+
}, z.core.$strip>>;
|
|
248
|
+
}, z.core.$strip>>>;
|
|
249
|
+
note: z.ZodOptional<z.ZodString>;
|
|
250
|
+
limits: z.ZodObject<{
|
|
251
|
+
testMs: z.ZodNumber;
|
|
252
|
+
testTools: z.ZodNumber;
|
|
253
|
+
fileMs: z.ZodNumber;
|
|
254
|
+
fileCpuMs: z.ZodNumber;
|
|
255
|
+
fileMemoryMb: z.ZodNumber;
|
|
256
|
+
filesAtOnce: z.ZodNumber;
|
|
257
|
+
runMs: z.ZodNumber;
|
|
258
|
+
hooksMs: z.ZodNumber;
|
|
259
|
+
hooksTools: z.ZodNumber;
|
|
260
|
+
}, z.core.$strip>;
|
|
223
261
|
}, z.core.$strip>;
|
|
224
262
|
export type ConnectorTestRun = z.infer<typeof ConnectorTestRun>;
|
|
225
263
|
export declare const ConnectorField: z.ZodObject<{
|
|
@@ -228,6 +266,7 @@ export declare const ConnectorField: z.ZodObject<{
|
|
|
228
266
|
help: z.ZodOptional<z.ZodString>;
|
|
229
267
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
230
268
|
optional: z.ZodBoolean;
|
|
269
|
+
default: z.ZodOptional<z.ZodString>;
|
|
231
270
|
kind: z.ZodEnum<{
|
|
232
271
|
secret: "secret";
|
|
233
272
|
setting: "setting";
|
|
@@ -258,6 +297,7 @@ export declare const Connector: z.ZodObject<{
|
|
|
258
297
|
help: z.ZodOptional<z.ZodString>;
|
|
259
298
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
260
299
|
optional: z.ZodBoolean;
|
|
300
|
+
default: z.ZodOptional<z.ZodString>;
|
|
261
301
|
kind: z.ZodEnum<{
|
|
262
302
|
secret: "secret";
|
|
263
303
|
setting: "setting";
|
|
@@ -326,6 +366,7 @@ export declare const ConnectorDetail: z.ZodObject<{
|
|
|
326
366
|
help: z.ZodOptional<z.ZodString>;
|
|
327
367
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
328
368
|
optional: z.ZodBoolean;
|
|
369
|
+
default: z.ZodOptional<z.ZodString>;
|
|
329
370
|
kind: z.ZodEnum<{
|
|
330
371
|
secret: "secret";
|
|
331
372
|
setting: "setting";
|
|
@@ -378,7 +419,7 @@ export declare const ConnectorDetail: z.ZodObject<{
|
|
|
378
419
|
manifest: z.ZodNullable<z.ZodObject<{
|
|
379
420
|
id: z.ZodString;
|
|
380
421
|
name: z.ZodString;
|
|
381
|
-
category: z.ZodString
|
|
422
|
+
category: z.ZodOptional<z.ZodString>;
|
|
382
423
|
description: z.ZodString;
|
|
383
424
|
base: z.ZodString;
|
|
384
425
|
hosts: z.ZodArray<z.ZodString>;
|
|
@@ -471,7 +512,45 @@ export declare const ConnectorDetail: z.ZodObject<{
|
|
|
471
512
|
line: z.ZodNumber;
|
|
472
513
|
column: z.ZodNumber;
|
|
473
514
|
}, z.core.$strip>>;
|
|
515
|
+
calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
516
|
+
name: z.ZodString;
|
|
517
|
+
durationMs: z.ZodNumber;
|
|
518
|
+
code: z.ZodNullable<z.ZodEnum<{
|
|
519
|
+
not_found: "not_found";
|
|
520
|
+
invalid: "invalid";
|
|
521
|
+
conflict: "conflict";
|
|
522
|
+
unauthenticated: "unauthenticated";
|
|
523
|
+
unavailable: "unavailable";
|
|
524
|
+
}>>;
|
|
525
|
+
}, z.core.$strip>>>;
|
|
474
526
|
}, z.core.$strip>>;
|
|
527
|
+
hooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
528
|
+
file: z.ZodString;
|
|
529
|
+
durationMs: z.ZodNumber;
|
|
530
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
531
|
+
name: z.ZodString;
|
|
532
|
+
durationMs: z.ZodNumber;
|
|
533
|
+
code: z.ZodNullable<z.ZodEnum<{
|
|
534
|
+
not_found: "not_found";
|
|
535
|
+
invalid: "invalid";
|
|
536
|
+
conflict: "conflict";
|
|
537
|
+
unauthenticated: "unauthenticated";
|
|
538
|
+
unavailable: "unavailable";
|
|
539
|
+
}>>;
|
|
540
|
+
}, z.core.$strip>>;
|
|
541
|
+
}, z.core.$strip>>>;
|
|
542
|
+
note: z.ZodOptional<z.ZodString>;
|
|
543
|
+
limits: z.ZodObject<{
|
|
544
|
+
testMs: z.ZodNumber;
|
|
545
|
+
testTools: z.ZodNumber;
|
|
546
|
+
fileMs: z.ZodNumber;
|
|
547
|
+
fileCpuMs: z.ZodNumber;
|
|
548
|
+
fileMemoryMb: z.ZodNumber;
|
|
549
|
+
filesAtOnce: z.ZodNumber;
|
|
550
|
+
runMs: z.ZodNumber;
|
|
551
|
+
hooksMs: z.ZodNumber;
|
|
552
|
+
hooksTools: z.ZodNumber;
|
|
553
|
+
}, z.core.$strip>;
|
|
475
554
|
}, z.core.$strip>>;
|
|
476
555
|
versions: z.ZodArray<z.ZodObject<{
|
|
477
556
|
version: z.ZodNumber;
|
|
@@ -533,7 +612,45 @@ export declare const ConnectorTestAnswer: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
533
612
|
line: z.ZodNumber;
|
|
534
613
|
column: z.ZodNumber;
|
|
535
614
|
}, z.core.$strip>>;
|
|
615
|
+
calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
616
|
+
name: z.ZodString;
|
|
617
|
+
durationMs: z.ZodNumber;
|
|
618
|
+
code: z.ZodNullable<z.ZodEnum<{
|
|
619
|
+
not_found: "not_found";
|
|
620
|
+
invalid: "invalid";
|
|
621
|
+
conflict: "conflict";
|
|
622
|
+
unauthenticated: "unauthenticated";
|
|
623
|
+
unavailable: "unavailable";
|
|
624
|
+
}>>;
|
|
625
|
+
}, z.core.$strip>>>;
|
|
536
626
|
}, z.core.$strip>>;
|
|
627
|
+
hooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
628
|
+
file: z.ZodString;
|
|
629
|
+
durationMs: z.ZodNumber;
|
|
630
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
631
|
+
name: z.ZodString;
|
|
632
|
+
durationMs: z.ZodNumber;
|
|
633
|
+
code: z.ZodNullable<z.ZodEnum<{
|
|
634
|
+
not_found: "not_found";
|
|
635
|
+
invalid: "invalid";
|
|
636
|
+
conflict: "conflict";
|
|
637
|
+
unauthenticated: "unauthenticated";
|
|
638
|
+
unavailable: "unavailable";
|
|
639
|
+
}>>;
|
|
640
|
+
}, z.core.$strip>>;
|
|
641
|
+
}, z.core.$strip>>>;
|
|
642
|
+
note: z.ZodOptional<z.ZodString>;
|
|
643
|
+
limits: z.ZodObject<{
|
|
644
|
+
testMs: z.ZodNumber;
|
|
645
|
+
testTools: z.ZodNumber;
|
|
646
|
+
fileMs: z.ZodNumber;
|
|
647
|
+
fileCpuMs: z.ZodNumber;
|
|
648
|
+
fileMemoryMb: z.ZodNumber;
|
|
649
|
+
filesAtOnce: z.ZodNumber;
|
|
650
|
+
runMs: z.ZodNumber;
|
|
651
|
+
hooksMs: z.ZodNumber;
|
|
652
|
+
hooksTools: z.ZodNumber;
|
|
653
|
+
}, z.core.$strip>;
|
|
537
654
|
}, z.core.$strip>;
|
|
538
655
|
}, z.core.$strip>, z.ZodObject<{
|
|
539
656
|
connection: z.ZodObject<{
|
|
@@ -564,6 +681,7 @@ export declare const ConnectorList: z.ZodObject<{
|
|
|
564
681
|
help: z.ZodOptional<z.ZodString>;
|
|
565
682
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
566
683
|
optional: z.ZodBoolean;
|
|
684
|
+
default: z.ZodOptional<z.ZodString>;
|
|
567
685
|
kind: z.ZodEnum<{
|
|
568
686
|
secret: "secret";
|
|
569
687
|
setting: "setting";
|
|
@@ -87,7 +87,8 @@ export const ConnectorManifestTool = z.strictObject({
|
|
|
87
87
|
export const ConnectorManifest = z.strictObject({
|
|
88
88
|
id: ConnectorId,
|
|
89
89
|
name: z.string().min(1).max(100),
|
|
90
|
-
|
|
90
|
+
// Optional since #924: no longer asked for and not shown; a connector that carries one stays valid.
|
|
91
|
+
category: z.string().min(1).max(50).optional(),
|
|
91
92
|
description: z.string().max(500),
|
|
92
93
|
// Every request's address starts here; `{{settings.NAME}}` puts in a setting.
|
|
93
94
|
base: z.string().min(1).max(500),
|
|
@@ -111,7 +112,8 @@ export const ConnectorCreateInput = z.strictObject({
|
|
|
111
112
|
connectorId: ConnectorId.describe("One lowercase word, the first word of every tool, such as lexoffice. It cannot change later."),
|
|
112
113
|
name: z.string().trim().min(1).max(100),
|
|
113
114
|
description: z.string().trim().max(500),
|
|
114
|
-
|
|
115
|
+
// Optional since #924: the form no longer sends one.
|
|
116
|
+
category: z.string().trim().min(1).max(50).optional(),
|
|
115
117
|
base: z
|
|
116
118
|
.string()
|
|
117
119
|
.trim()
|
|
@@ -185,6 +187,8 @@ export const ConnectorField = z.object({
|
|
|
185
187
|
help: z.string().optional(),
|
|
186
188
|
placeholder: z.string().optional(),
|
|
187
189
|
optional: z.boolean(),
|
|
190
|
+
// The value a setting takes when it is left empty (#924), for the hosts the page shows.
|
|
191
|
+
default: z.string().optional(),
|
|
188
192
|
kind: z.enum(["setting", "secret"]),
|
|
189
193
|
});
|
|
190
194
|
export const ConnectorTool = z.object({
|
package/dist/crawls/crawls.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ export declare const CrawlGetInput: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strict>;
|
|
35
35
|
export type CrawlGetInput = z.infer<typeof CrawlGetInput>;
|
|
36
36
|
export declare const CrawlStatus: z.ZodEnum<{
|
|
37
|
-
done: "done";
|
|
38
37
|
expired: "expired";
|
|
38
|
+
done: "done";
|
|
39
39
|
running: "running";
|
|
40
40
|
failed: "failed";
|
|
41
41
|
starting: "starting";
|
|
@@ -46,8 +46,8 @@ export declare const Crawl: z.ZodObject<{
|
|
|
46
46
|
crawlId: z.ZodTemplateLiteral<`crawl_${string}`>;
|
|
47
47
|
url: z.ZodString;
|
|
48
48
|
status: z.ZodEnum<{
|
|
49
|
-
done: "done";
|
|
50
49
|
expired: "expired";
|
|
50
|
+
done: "done";
|
|
51
51
|
running: "running";
|
|
52
52
|
failed: "failed";
|
|
53
53
|
starting: "starting";
|
|
@@ -91,8 +91,8 @@ export declare const CrawlDetail: z.ZodObject<{
|
|
|
91
91
|
crawlId: z.ZodTemplateLiteral<`crawl_${string}`>;
|
|
92
92
|
url: z.ZodString;
|
|
93
93
|
status: z.ZodEnum<{
|
|
94
|
-
done: "done";
|
|
95
94
|
expired: "expired";
|
|
95
|
+
done: "done";
|
|
96
96
|
running: "running";
|
|
97
97
|
failed: "failed";
|
|
98
98
|
starting: "starting";
|