@anchrd/colab-sdk 0.1.23 → 0.1.25
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 +0 -155
- package/dist/actions/actions.js +7 -31
- package/dist/boards/boards.d.ts +1 -220
- package/dist/boards/boards.js +9 -66
- package/dist/goals/goals.d.ts +0 -6
- package/dist/mcps/mcps.d.ts +8 -0
- package/dist/mcps/mcps.js +15 -1
- package/dist/missing/missing.d.ts +1 -5
- package/dist/missing/missing.js +6 -11
- package/dist/nodes/nodes.js +1 -1
- package/dist/operators/operators.d.ts +1 -0
- package/dist/operators/operators.js +4 -0
- package/dist/runs/runs.d.ts +0 -19
- package/dist/runs/runs.js +4 -20
- package/dist/sdk.d.ts +5 -4
- package/dist/sdk.js +5 -4
- package/dist/skills/skills.d.ts +25 -0
- package/dist/skills/skills.js +5 -0
- package/dist/tree-order/tree-order.d.ts +4 -0
- package/dist/tree-order/tree-order.js +24 -0
- package/dist/versions/versions.d.ts +5 -5
- package/dist/written/written.d.ts +0 -2
- package/package.json +1 -1
|
@@ -79,18 +79,6 @@ export declare const ActionChat: z.ZodObject<{
|
|
|
79
79
|
}, z.core.$strip>;
|
|
80
80
|
}, z.core.$strip>;
|
|
81
81
|
export type ActionChat = z.infer<typeof ActionChat>;
|
|
82
|
-
export declare const ActionProcess: z.ZodObject<{
|
|
83
|
-
kind: z.ZodEnum<{
|
|
84
|
-
board: "board";
|
|
85
|
-
}>;
|
|
86
|
-
dueAt: z.ZodISODateTime;
|
|
87
|
-
}, z.core.$strip>;
|
|
88
|
-
export type ActionProcess = z.infer<typeof ActionProcess>;
|
|
89
|
-
export declare const ActionRunHint: z.ZodEnum<{
|
|
90
|
-
started: "started";
|
|
91
|
-
stalled: "stalled";
|
|
92
|
-
}>;
|
|
93
|
-
export type ActionRunHint = z.infer<typeof ActionRunHint>;
|
|
94
82
|
export declare const ActionRunTask: z.ZodObject<{
|
|
95
83
|
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
96
84
|
title: z.ZodString;
|
|
@@ -110,38 +98,6 @@ export declare const ActionRunTask: z.ZodObject<{
|
|
|
110
98
|
rev: z.ZodNumber;
|
|
111
99
|
}, z.core.$strip>;
|
|
112
100
|
export type ActionRunTask = z.infer<typeof ActionRunTask>;
|
|
113
|
-
export declare const ActionRun: z.ZodObject<{
|
|
114
|
-
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
115
|
-
status: z.ZodEnum<{
|
|
116
|
-
error: "error";
|
|
117
|
-
open: "open";
|
|
118
|
-
done: "done";
|
|
119
|
-
running: "running";
|
|
120
|
-
}>;
|
|
121
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
122
|
-
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
123
|
-
title: z.ZodString;
|
|
124
|
-
column: z.ZodObject<{
|
|
125
|
-
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
126
|
-
name: z.ZodString;
|
|
127
|
-
type: z.ZodEnum<{
|
|
128
|
-
backlog: "backlog";
|
|
129
|
-
open: "open";
|
|
130
|
-
progress: "progress";
|
|
131
|
-
done: "done";
|
|
132
|
-
discarded: "discarded";
|
|
133
|
-
blocked: "blocked";
|
|
134
|
-
archive: "archive";
|
|
135
|
-
}>;
|
|
136
|
-
}, z.core.$strip>;
|
|
137
|
-
rev: z.ZodNumber;
|
|
138
|
-
}, z.core.$strip>>;
|
|
139
|
-
hint: z.ZodOptional<z.ZodEnum<{
|
|
140
|
-
started: "started";
|
|
141
|
-
stalled: "stalled";
|
|
142
|
-
}>>;
|
|
143
|
-
}, z.core.$strip>;
|
|
144
|
-
export type ActionRun = z.infer<typeof ActionRun>;
|
|
145
101
|
export declare const ActionGadget: z.ZodObject<{
|
|
146
102
|
problem: z.ZodEnum<{
|
|
147
103
|
error: "error";
|
|
@@ -264,43 +220,6 @@ export declare const ActionItem: z.ZodObject<{
|
|
|
264
220
|
createdAt: z.ZodISODateTime;
|
|
265
221
|
}, z.core.$strip>;
|
|
266
222
|
}, z.core.$strip>>;
|
|
267
|
-
process: z.ZodNullable<z.ZodObject<{
|
|
268
|
-
kind: z.ZodEnum<{
|
|
269
|
-
board: "board";
|
|
270
|
-
}>;
|
|
271
|
-
dueAt: z.ZodISODateTime;
|
|
272
|
-
}, z.core.$strip>>;
|
|
273
|
-
run: z.ZodNullable<z.ZodObject<{
|
|
274
|
-
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
275
|
-
status: z.ZodEnum<{
|
|
276
|
-
error: "error";
|
|
277
|
-
open: "open";
|
|
278
|
-
done: "done";
|
|
279
|
-
running: "running";
|
|
280
|
-
}>;
|
|
281
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
282
|
-
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
283
|
-
title: z.ZodString;
|
|
284
|
-
column: z.ZodObject<{
|
|
285
|
-
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
286
|
-
name: z.ZodString;
|
|
287
|
-
type: z.ZodEnum<{
|
|
288
|
-
backlog: "backlog";
|
|
289
|
-
open: "open";
|
|
290
|
-
progress: "progress";
|
|
291
|
-
done: "done";
|
|
292
|
-
discarded: "discarded";
|
|
293
|
-
blocked: "blocked";
|
|
294
|
-
archive: "archive";
|
|
295
|
-
}>;
|
|
296
|
-
}, z.core.$strip>;
|
|
297
|
-
rev: z.ZodNumber;
|
|
298
|
-
}, z.core.$strip>>;
|
|
299
|
-
hint: z.ZodOptional<z.ZodEnum<{
|
|
300
|
-
started: "started";
|
|
301
|
-
stalled: "stalled";
|
|
302
|
-
}>>;
|
|
303
|
-
}, z.core.$strip>>;
|
|
304
223
|
gadget: z.ZodNullable<z.ZodObject<{
|
|
305
224
|
problem: z.ZodEnum<{
|
|
306
225
|
error: "error";
|
|
@@ -778,43 +697,6 @@ export declare const ActionRow: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
778
697
|
createdAt: z.ZodISODateTime;
|
|
779
698
|
}, z.core.$strip>;
|
|
780
699
|
}, z.core.$strip>>;
|
|
781
|
-
process: z.ZodNullable<z.ZodObject<{
|
|
782
|
-
kind: z.ZodEnum<{
|
|
783
|
-
board: "board";
|
|
784
|
-
}>;
|
|
785
|
-
dueAt: z.ZodISODateTime;
|
|
786
|
-
}, z.core.$strip>>;
|
|
787
|
-
run: z.ZodNullable<z.ZodObject<{
|
|
788
|
-
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
789
|
-
status: z.ZodEnum<{
|
|
790
|
-
error: "error";
|
|
791
|
-
open: "open";
|
|
792
|
-
done: "done";
|
|
793
|
-
running: "running";
|
|
794
|
-
}>;
|
|
795
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
796
|
-
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
797
|
-
title: z.ZodString;
|
|
798
|
-
column: z.ZodObject<{
|
|
799
|
-
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
800
|
-
name: z.ZodString;
|
|
801
|
-
type: z.ZodEnum<{
|
|
802
|
-
backlog: "backlog";
|
|
803
|
-
open: "open";
|
|
804
|
-
progress: "progress";
|
|
805
|
-
done: "done";
|
|
806
|
-
discarded: "discarded";
|
|
807
|
-
blocked: "blocked";
|
|
808
|
-
archive: "archive";
|
|
809
|
-
}>;
|
|
810
|
-
}, z.core.$strip>;
|
|
811
|
-
rev: z.ZodNumber;
|
|
812
|
-
}, z.core.$strip>>;
|
|
813
|
-
hint: z.ZodOptional<z.ZodEnum<{
|
|
814
|
-
started: "started";
|
|
815
|
-
stalled: "stalled";
|
|
816
|
-
}>>;
|
|
817
|
-
}, z.core.$strip>>;
|
|
818
700
|
gadget: z.ZodNullable<z.ZodObject<{
|
|
819
701
|
problem: z.ZodEnum<{
|
|
820
702
|
error: "error";
|
|
@@ -1078,43 +960,6 @@ export declare const ActionList: z.ZodObject<{
|
|
|
1078
960
|
createdAt: z.ZodISODateTime;
|
|
1079
961
|
}, z.core.$strip>;
|
|
1080
962
|
}, z.core.$strip>>;
|
|
1081
|
-
process: z.ZodNullable<z.ZodObject<{
|
|
1082
|
-
kind: z.ZodEnum<{
|
|
1083
|
-
board: "board";
|
|
1084
|
-
}>;
|
|
1085
|
-
dueAt: z.ZodISODateTime;
|
|
1086
|
-
}, z.core.$strip>>;
|
|
1087
|
-
run: z.ZodNullable<z.ZodObject<{
|
|
1088
|
-
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
1089
|
-
status: z.ZodEnum<{
|
|
1090
|
-
error: "error";
|
|
1091
|
-
open: "open";
|
|
1092
|
-
done: "done";
|
|
1093
|
-
running: "running";
|
|
1094
|
-
}>;
|
|
1095
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
1096
|
-
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
1097
|
-
title: z.ZodString;
|
|
1098
|
-
column: z.ZodObject<{
|
|
1099
|
-
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
1100
|
-
name: z.ZodString;
|
|
1101
|
-
type: z.ZodEnum<{
|
|
1102
|
-
backlog: "backlog";
|
|
1103
|
-
open: "open";
|
|
1104
|
-
progress: "progress";
|
|
1105
|
-
done: "done";
|
|
1106
|
-
discarded: "discarded";
|
|
1107
|
-
blocked: "blocked";
|
|
1108
|
-
archive: "archive";
|
|
1109
|
-
}>;
|
|
1110
|
-
}, z.core.$strip>;
|
|
1111
|
-
rev: z.ZodNumber;
|
|
1112
|
-
}, z.core.$strip>>;
|
|
1113
|
-
hint: z.ZodOptional<z.ZodEnum<{
|
|
1114
|
-
started: "started";
|
|
1115
|
-
stalled: "stalled";
|
|
1116
|
-
}>>;
|
|
1117
|
-
}, z.core.$strip>>;
|
|
1118
963
|
gadget: z.ZodNullable<z.ZodObject<{
|
|
1119
964
|
problem: z.ZodEnum<{
|
|
1120
965
|
error: "error";
|
package/dist/actions/actions.js
CHANGED
|
@@ -8,7 +8,6 @@ import { Limit as PageSize } from "../list-input.js";
|
|
|
8
8
|
import { MessageAuthor, MessageId } from "../messages/messages.js";
|
|
9
9
|
import { BoardShownKind, NodeId, NodeKind, NodePath } from "../nodes/nodes.js";
|
|
10
10
|
import { OperatorRunId } from "../operators/operators.js";
|
|
11
|
-
import { RunId, RunStatus } from "../runs/runs.js";
|
|
12
11
|
import { SkillOffer } from "../skills/skills.js";
|
|
13
12
|
import { UserId } from "../users/users.js";
|
|
14
13
|
// Actions (#46, Seiten › Actions, E43, E67): one list over every board and chat with what waits on a
|
|
@@ -20,7 +19,7 @@ export const ActionListInput = z.strictObject({
|
|
|
20
19
|
filter: z
|
|
21
20
|
.enum(actionFilters)
|
|
22
21
|
.optional()
|
|
23
|
-
.describe("Which rows: all, tasks (tasks,
|
|
22
|
+
.describe("Which rows: all, tasks (tasks, open runs and broken gadgets you answer for) or chats (rows with something unread, a task's chat included). Notices of other parts of Colab come only with all. Leaving it out gives all. count always counts all."),
|
|
24
23
|
userId: UserId.optional().describe("Whose Actions to read, `user_…`. Only an admin in admin mode reads another person's, to see where they are stuck; anyone else gets not_found. Leaving it out reads your own."),
|
|
25
24
|
cursor: z
|
|
26
25
|
.string()
|
|
@@ -30,8 +29,7 @@ export const ActionListInput = z.strictObject({
|
|
|
30
29
|
limit: PageSize.optional().describe("How many rows one page holds, 1 to 100. Leaving it out gives 50."),
|
|
31
30
|
known: Known.optional(),
|
|
32
31
|
});
|
|
33
|
-
// The two sections of the page: waiting (open tasks, chats
|
|
34
|
-
// in progress, an open run).
|
|
32
|
+
// The two sections of the page: waiting (open tasks, chats) and in progress (tasks in progress).
|
|
35
33
|
export const ActionSection = z.enum(["waiting", "progress"]);
|
|
36
34
|
export const ActionTask = z.object({
|
|
37
35
|
column: TaskColumn,
|
|
@@ -61,33 +59,14 @@ export const ActionChat = z.object({
|
|
|
61
59
|
createdAt: z.iso.datetime(),
|
|
62
60
|
}),
|
|
63
61
|
});
|
|
64
|
-
// A
|
|
65
|
-
|
|
66
|
-
kind: z.enum(["board"]),
|
|
67
|
-
// The moment of the schedule the next run stands for.
|
|
68
|
-
dueAt: z.iso.datetime(),
|
|
69
|
-
});
|
|
70
|
-
// A hint to the responsible of a process (E124, E125): `started`, a run began and waits on them to
|
|
71
|
-
// move its first tasks into Open; `stalled`, no task of the run is in Open or In progress though not
|
|
72
|
-
// all are closed, and they move the next one on. Gone as soon as a task of the run is open again.
|
|
73
|
-
export const ActionRunHint = z.enum(["started", "stalled"]);
|
|
74
|
-
// A card of a process run that is the reader's own (#671): what the run waits on from them, with the
|
|
75
|
-
// rev its next save sends, so an Operator writes it without reading the run first.
|
|
62
|
+
// A card an aborted Operator run stood at (#671, E141), with the rev its next save sends, so the
|
|
63
|
+
// Operator writes it without reading it first.
|
|
76
64
|
export const ActionRunTask = z.object({
|
|
77
65
|
taskId: NodeId,
|
|
78
66
|
title: z.string(),
|
|
79
67
|
column: TaskColumn,
|
|
80
68
|
rev: z.number().int(),
|
|
81
69
|
});
|
|
82
|
-
export const ActionRun = z.object({
|
|
83
|
-
runId: RunId,
|
|
84
|
-
status: RunStatus,
|
|
85
|
-
// The cards of this run assigned to the reader, in every column, in the order of the run's columns
|
|
86
|
-
// and their position; never another's. Empty without one.
|
|
87
|
-
tasks: z.array(ActionRunTask),
|
|
88
|
-
// Only for the responsible of the run's process, while the run waits on them (E124, E125).
|
|
89
|
-
hint: ActionRunHint.optional(),
|
|
90
|
-
});
|
|
91
70
|
// A gadget whose live version broke (#643, Nodes › Gadget › Einstellungen): every new error and every
|
|
92
71
|
// red test waits on its responsible; without one, on its publisher as a hint to name one. Open until
|
|
93
72
|
// the next version is published, or for a test until the tests of live pass again.
|
|
@@ -103,8 +82,8 @@ export const ActionGadget = z.object({
|
|
|
103
82
|
// Nobody is responsible: the row reaches the publisher only to name one.
|
|
104
83
|
hint: z.boolean(),
|
|
105
84
|
});
|
|
106
|
-
// One row: the node, where it waits, since when, and what makes it wait. Exactly one of task
|
|
107
|
-
//
|
|
85
|
+
// One row: the node, where it waits, since when, and what makes it wait. Exactly one of task and
|
|
86
|
+
// gadget, or none of them on a row that is a chat alone; chat beside either.
|
|
108
87
|
export const ActionItem = z.object({
|
|
109
88
|
node: z.object({
|
|
110
89
|
nodeId: NodeId,
|
|
@@ -122,13 +101,10 @@ export const ActionItem = z.object({
|
|
|
122
101
|
}),
|
|
123
102
|
section: ActionSection,
|
|
124
103
|
// Since when it waits: a task since it came into its column (or its start date was reached), a
|
|
125
|
-
// chat since its first unread message
|
|
126
|
-
// started, a run that stands since its last task left Open or In progress.
|
|
104
|
+
// chat since its first unread message.
|
|
127
105
|
since: z.iso.datetime(),
|
|
128
106
|
task: ActionTask.nullable(),
|
|
129
107
|
chat: ActionChat.nullable(),
|
|
130
|
-
process: ActionProcess.nullable(),
|
|
131
|
-
run: ActionRun.nullable(),
|
|
132
108
|
gadget: ActionGadget.nullable(),
|
|
133
109
|
});
|
|
134
110
|
// What another package puts into a person's Actions (#334, E81, E82): "access invalid" for every
|
package/dist/boards/boards.d.ts
CHANGED
|
@@ -5,10 +5,9 @@ export declare const TaskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
|
5
5
|
export type TaskId = z.infer<typeof TaskId>;
|
|
6
6
|
export declare const LabelId: z.ZodTemplateLiteral<`label_${string}`>;
|
|
7
7
|
export type LabelId = z.infer<typeof LabelId>;
|
|
8
|
-
export declare const boardKinds: readonly ["board"
|
|
8
|
+
export declare const boardKinds: readonly ["board"];
|
|
9
9
|
export declare const BoardKind: z.ZodEnum<{
|
|
10
10
|
board: "board";
|
|
11
|
-
process: "process";
|
|
12
11
|
}>;
|
|
13
12
|
export type BoardKind = z.infer<typeof BoardKind>;
|
|
14
13
|
export declare const BoardCreateInput: z.ZodObject<{
|
|
@@ -85,53 +84,7 @@ export declare const BoardUpdateInput: z.ZodObject<{
|
|
|
85
84
|
rev: z.ZodNumber;
|
|
86
85
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
87
86
|
board: "board";
|
|
88
|
-
process: "process";
|
|
89
87
|
}>>;
|
|
90
|
-
responsibleId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
|
|
91
|
-
schedule: z.ZodOptional<z.ZodObject<{
|
|
92
|
-
rhythm: z.ZodEnum<{
|
|
93
|
-
manual: "manual";
|
|
94
|
-
daily: "daily";
|
|
95
|
-
weekly: "weekly";
|
|
96
|
-
monthly: "monthly";
|
|
97
|
-
dates: "dates";
|
|
98
|
-
}>;
|
|
99
|
-
days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
100
|
-
monday: "monday";
|
|
101
|
-
tuesday: "tuesday";
|
|
102
|
-
wednesday: "wednesday";
|
|
103
|
-
thursday: "thursday";
|
|
104
|
-
friday: "friday";
|
|
105
|
-
saturday: "saturday";
|
|
106
|
-
sunday: "sunday";
|
|
107
|
-
}>>>;
|
|
108
|
-
dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
|
|
109
|
-
weekdayOfMonth: z.ZodOptional<z.ZodObject<{
|
|
110
|
-
week: z.ZodEnum<{
|
|
111
|
-
first: "first";
|
|
112
|
-
last: "last";
|
|
113
|
-
second: "second";
|
|
114
|
-
third: "third";
|
|
115
|
-
fourth: "fourth";
|
|
116
|
-
}>;
|
|
117
|
-
day: z.ZodEnum<{
|
|
118
|
-
monday: "monday";
|
|
119
|
-
tuesday: "tuesday";
|
|
120
|
-
wednesday: "wednesday";
|
|
121
|
-
thursday: "thursday";
|
|
122
|
-
friday: "friday";
|
|
123
|
-
saturday: "saturday";
|
|
124
|
-
sunday: "sunday";
|
|
125
|
-
}>;
|
|
126
|
-
}, z.core.$strict>>;
|
|
127
|
-
times: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
128
|
-
dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
129
|
-
zone: z.ZodOptional<z.ZodString>;
|
|
130
|
-
whileOpen: z.ZodOptional<z.ZodEnum<{
|
|
131
|
-
wait: "wait";
|
|
132
|
-
continue: "continue";
|
|
133
|
-
}>>;
|
|
134
|
-
}, z.core.$strict>>;
|
|
135
88
|
instruction: z.ZodOptional<z.ZodString>;
|
|
136
89
|
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
137
90
|
columnId: z.ZodOptional<z.ZodTemplateLiteral<`column_${string}`>>;
|
|
@@ -220,57 +173,6 @@ export declare const BoardLabel: z.ZodObject<{
|
|
|
220
173
|
name: z.ZodString;
|
|
221
174
|
}, z.core.$strip>;
|
|
222
175
|
export type BoardLabel = z.infer<typeof BoardLabel>;
|
|
223
|
-
export declare const ProcessCheck: z.ZodObject<{
|
|
224
|
-
operator: z.ZodBoolean;
|
|
225
|
-
firstColumnBacklog: z.ZodBoolean;
|
|
226
|
-
outside: z.ZodNumber;
|
|
227
|
-
operators: z.ZodArray<z.ZodObject<{
|
|
228
|
-
userId: z.ZodString;
|
|
229
|
-
name: z.ZodString;
|
|
230
|
-
}, z.core.$strip>>;
|
|
231
|
-
responsibleWrites: z.ZodBoolean;
|
|
232
|
-
missing: z.ZodArray<z.ZodObject<{
|
|
233
|
-
code: z.ZodEnum<{
|
|
234
|
-
test_failed: "test_failed";
|
|
235
|
-
no_role: "no_role";
|
|
236
|
-
no_folder: "no_folder";
|
|
237
|
-
credential_invalid: "credential_invalid";
|
|
238
|
-
incomplete: "incomplete";
|
|
239
|
-
no_right: "no_right";
|
|
240
|
-
no_kind: "no_kind";
|
|
241
|
-
no_assignee: "no_assignee";
|
|
242
|
-
no_machine: "no_machine";
|
|
243
|
-
}>;
|
|
244
|
-
machineId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
245
|
-
credentialId: z.ZodOptional<z.ZodTemplateLiteral<`credential_${string}`>>;
|
|
246
|
-
connectorId: z.ZodOptional<z.ZodString>;
|
|
247
|
-
connectionId: z.ZodOptional<z.ZodTemplateLiteral<`connection_${string}`>>;
|
|
248
|
-
taskId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
249
|
-
documentId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
250
|
-
userId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
251
|
-
nodeId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
252
|
-
message: z.ZodString;
|
|
253
|
-
right: z.ZodOptional<z.ZodString>;
|
|
254
|
-
givenBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
255
|
-
userId: z.ZodString;
|
|
256
|
-
name: z.ZodString;
|
|
257
|
-
}, z.core.$strip>>>;
|
|
258
|
-
call: z.ZodOptional<z.ZodObject<{
|
|
259
|
-
tool: z.ZodString;
|
|
260
|
-
arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
261
|
-
}, z.core.$strip>>;
|
|
262
|
-
}, z.core.$strip>>;
|
|
263
|
-
}, z.core.$strip>;
|
|
264
|
-
export type ProcessCheck = z.infer<typeof ProcessCheck>;
|
|
265
|
-
export declare const TemplateNote: z.ZodObject<{
|
|
266
|
-
message: z.ZodString;
|
|
267
|
-
runs: z.ZodArray<z.ZodObject<{
|
|
268
|
-
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
269
|
-
startedAt: z.ZodISODateTime;
|
|
270
|
-
dueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
271
|
-
}, z.core.$strip>>;
|
|
272
|
-
}, z.core.$strip>;
|
|
273
|
-
export type TemplateNote = z.infer<typeof TemplateNote>;
|
|
274
176
|
export declare const BoardDetail: z.ZodObject<{
|
|
275
177
|
boardId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
276
178
|
name: z.ZodString;
|
|
@@ -282,94 +184,7 @@ export declare const BoardDetail: z.ZodObject<{
|
|
|
282
184
|
system: z.ZodNullable<z.ZodEnum<{
|
|
283
185
|
validation: "validation";
|
|
284
186
|
}>>;
|
|
285
|
-
schedule: z.ZodNullable<z.ZodObject<{
|
|
286
|
-
rhythm: z.ZodEnum<{
|
|
287
|
-
manual: "manual";
|
|
288
|
-
daily: "daily";
|
|
289
|
-
weekly: "weekly";
|
|
290
|
-
monthly: "monthly";
|
|
291
|
-
dates: "dates";
|
|
292
|
-
}>;
|
|
293
|
-
days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
294
|
-
monday: "monday";
|
|
295
|
-
tuesday: "tuesday";
|
|
296
|
-
wednesday: "wednesday";
|
|
297
|
-
thursday: "thursday";
|
|
298
|
-
friday: "friday";
|
|
299
|
-
saturday: "saturday";
|
|
300
|
-
sunday: "sunday";
|
|
301
|
-
}>>>;
|
|
302
|
-
dayOfMonth: z.ZodOptional<z.ZodArray<z.ZodInt>>;
|
|
303
|
-
weekdayOfMonth: z.ZodOptional<z.ZodObject<{
|
|
304
|
-
week: z.ZodEnum<{
|
|
305
|
-
first: "first";
|
|
306
|
-
last: "last";
|
|
307
|
-
second: "second";
|
|
308
|
-
third: "third";
|
|
309
|
-
fourth: "fourth";
|
|
310
|
-
}>;
|
|
311
|
-
day: z.ZodEnum<{
|
|
312
|
-
monday: "monday";
|
|
313
|
-
tuesday: "tuesday";
|
|
314
|
-
wednesday: "wednesday";
|
|
315
|
-
thursday: "thursday";
|
|
316
|
-
friday: "friday";
|
|
317
|
-
saturday: "saturday";
|
|
318
|
-
sunday: "sunday";
|
|
319
|
-
}>;
|
|
320
|
-
}, z.core.$strict>>;
|
|
321
|
-
times: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
322
|
-
dates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
323
|
-
zone: z.ZodOptional<z.ZodString>;
|
|
324
|
-
whileOpen: z.ZodOptional<z.ZodEnum<{
|
|
325
|
-
wait: "wait";
|
|
326
|
-
continue: "continue";
|
|
327
|
-
}>>;
|
|
328
|
-
}, z.core.$strict>>;
|
|
329
187
|
instruction: z.ZodNullable<z.ZodString>;
|
|
330
|
-
nextRunAt: z.ZodNullable<z.ZodISODateTime>;
|
|
331
|
-
dueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
332
|
-
processCheck: z.ZodObject<{
|
|
333
|
-
operator: z.ZodBoolean;
|
|
334
|
-
firstColumnBacklog: z.ZodBoolean;
|
|
335
|
-
outside: z.ZodNumber;
|
|
336
|
-
operators: z.ZodArray<z.ZodObject<{
|
|
337
|
-
userId: z.ZodString;
|
|
338
|
-
name: z.ZodString;
|
|
339
|
-
}, z.core.$strip>>;
|
|
340
|
-
responsibleWrites: z.ZodBoolean;
|
|
341
|
-
missing: z.ZodArray<z.ZodObject<{
|
|
342
|
-
code: z.ZodEnum<{
|
|
343
|
-
test_failed: "test_failed";
|
|
344
|
-
no_role: "no_role";
|
|
345
|
-
no_folder: "no_folder";
|
|
346
|
-
credential_invalid: "credential_invalid";
|
|
347
|
-
incomplete: "incomplete";
|
|
348
|
-
no_right: "no_right";
|
|
349
|
-
no_kind: "no_kind";
|
|
350
|
-
no_assignee: "no_assignee";
|
|
351
|
-
no_machine: "no_machine";
|
|
352
|
-
}>;
|
|
353
|
-
machineId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
354
|
-
credentialId: z.ZodOptional<z.ZodTemplateLiteral<`credential_${string}`>>;
|
|
355
|
-
connectorId: z.ZodOptional<z.ZodString>;
|
|
356
|
-
connectionId: z.ZodOptional<z.ZodTemplateLiteral<`connection_${string}`>>;
|
|
357
|
-
taskId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
358
|
-
documentId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
359
|
-
userId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
|
|
360
|
-
nodeId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
|
|
361
|
-
message: z.ZodString;
|
|
362
|
-
right: z.ZodOptional<z.ZodString>;
|
|
363
|
-
givenBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
364
|
-
userId: z.ZodString;
|
|
365
|
-
name: z.ZodString;
|
|
366
|
-
}, z.core.$strip>>>;
|
|
367
|
-
call: z.ZodOptional<z.ZodObject<{
|
|
368
|
-
tool: z.ZodString;
|
|
369
|
-
arguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
370
|
-
}, z.core.$strip>>;
|
|
371
|
-
}, z.core.$strip>>;
|
|
372
|
-
}, z.core.$strip>;
|
|
373
188
|
validator: z.ZodNullable<z.ZodObject<{
|
|
374
189
|
userId: z.ZodString;
|
|
375
190
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -378,14 +193,6 @@ export declare const BoardDetail: z.ZodObject<{
|
|
|
378
193
|
human: "human";
|
|
379
194
|
}>>;
|
|
380
195
|
}, z.core.$strip>>;
|
|
381
|
-
responsible: z.ZodNullable<z.ZodObject<{
|
|
382
|
-
userId: z.ZodString;
|
|
383
|
-
name: z.ZodNullable<z.ZodString>;
|
|
384
|
-
kind: z.ZodNullable<z.ZodEnum<{
|
|
385
|
-
machine: "machine";
|
|
386
|
-
human: "human";
|
|
387
|
-
}>>;
|
|
388
|
-
}, z.core.$strip>>;
|
|
389
196
|
columns: z.ZodArray<z.ZodObject<{
|
|
390
197
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|
|
391
198
|
name: z.ZodString;
|
|
@@ -455,14 +262,6 @@ export declare const BoardDetail: z.ZodObject<{
|
|
|
455
262
|
}, z.core.$strip>;
|
|
456
263
|
rev: z.ZodNumber;
|
|
457
264
|
updatedAt: z.ZodISODateTime;
|
|
458
|
-
template: z.ZodOptional<z.ZodObject<{
|
|
459
|
-
message: z.ZodString;
|
|
460
|
-
runs: z.ZodArray<z.ZodObject<{
|
|
461
|
-
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
462
|
-
startedAt: z.ZodISODateTime;
|
|
463
|
-
dueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
464
|
-
}, z.core.$strip>>;
|
|
465
|
-
}, z.core.$strip>>;
|
|
466
265
|
}, z.core.$strip>;
|
|
467
266
|
export type BoardDetail = z.infer<typeof BoardDetail>;
|
|
468
267
|
export declare const compactTaskLimit = 50;
|
|
@@ -522,7 +321,6 @@ export declare const BoardTaskCreateInput: z.ZodObject<{
|
|
|
522
321
|
kind: z.ZodOptional<z.ZodString>;
|
|
523
322
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
524
323
|
boardId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
525
|
-
runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
526
324
|
}, z.core.$strict>;
|
|
527
325
|
export type BoardTaskCreateInput = z.infer<typeof BoardTaskCreateInput>;
|
|
528
326
|
export declare const BoardTaskCreated: z.ZodObject<{
|
|
@@ -560,7 +358,6 @@ export declare const TaskUpdateInput: z.ZodObject<{
|
|
|
560
358
|
export type TaskUpdateInput = z.infer<typeof TaskUpdateInput>;
|
|
561
359
|
export declare const BoardTaskUpdateInput: z.ZodObject<{
|
|
562
360
|
boardId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
563
|
-
runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
|
|
564
361
|
tasks: z.ZodArray<z.ZodObject<{
|
|
565
362
|
taskId: z.ZodTemplateLiteral<`node_${string}`>;
|
|
566
363
|
rev: z.ZodNumber;
|
|
@@ -823,14 +620,6 @@ export declare const BoardTaskList: z.ZodObject<{
|
|
|
823
620
|
description: z.ZodString;
|
|
824
621
|
system: z.ZodOptional<z.ZodLiteral<"new">>;
|
|
825
622
|
}, z.core.$strip>>>;
|
|
826
|
-
template: z.ZodOptional<z.ZodObject<{
|
|
827
|
-
message: z.ZodString;
|
|
828
|
-
runs: z.ZodArray<z.ZodObject<{
|
|
829
|
-
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
830
|
-
startedAt: z.ZodISODateTime;
|
|
831
|
-
dueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
832
|
-
}, z.core.$strip>>;
|
|
833
|
-
}, z.core.$strip>>;
|
|
834
623
|
}, z.core.$strip>;
|
|
835
624
|
export type BoardTaskList = z.infer<typeof BoardTaskList>;
|
|
836
625
|
export declare const BoardTaskBrief: z.ZodObject<{
|
|
@@ -885,14 +674,6 @@ export declare const BoardTaskBriefList: z.ZodObject<{
|
|
|
885
674
|
description: z.ZodString;
|
|
886
675
|
system: z.ZodOptional<z.ZodLiteral<"new">>;
|
|
887
676
|
}, z.core.$strip>>>;
|
|
888
|
-
template: z.ZodOptional<z.ZodObject<{
|
|
889
|
-
message: z.ZodString;
|
|
890
|
-
runs: z.ZodArray<z.ZodObject<{
|
|
891
|
-
runId: z.ZodTemplateLiteral<`run_${string}`>;
|
|
892
|
-
startedAt: z.ZodISODateTime;
|
|
893
|
-
dueAt: z.ZodNullable<z.ZodISODateTime>;
|
|
894
|
-
}, z.core.$strip>>;
|
|
895
|
-
}, z.core.$strip>>;
|
|
896
677
|
items: z.ZodArray<z.ZodObject<{
|
|
897
678
|
column: z.ZodObject<{
|
|
898
679
|
columnId: z.ZodTemplateLiteral<`column_${string}`>;
|