@anchrd/colab-sdk 0.1.35 → 0.1.37

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.
Files changed (49) hide show
  1. package/dist/actions/actions.d.ts +30 -23
  2. package/dist/actions/actions.js +2 -2
  3. package/dist/archive/archive.d.ts +1 -0
  4. package/dist/archive/archive.js +3 -0
  5. package/dist/boards/boards.d.ts +21 -21
  6. package/dist/columns/columns.d.ts +2 -2
  7. package/dist/connectors/connectors.d.ts +6 -6
  8. package/dist/crawls/crawls.d.ts +3 -3
  9. package/dist/crawls/crawls.js +1 -1
  10. package/dist/error/error.d.ts +9 -3
  11. package/dist/error/error.js +12 -3
  12. package/dist/gadgets/gadgets.d.ts +125 -9
  13. package/dist/gadgets/gadgets.js +123 -0
  14. package/dist/goals/goals.d.ts +54 -10
  15. package/dist/goals/goals.js +36 -7
  16. package/dist/grammar/grammar.d.ts +2 -0
  17. package/dist/grammar/grammar.js +10 -0
  18. package/dist/home/home.d.ts +300 -0
  19. package/dist/home/home.js +53 -0
  20. package/dist/links/links.d.ts +166 -0
  21. package/dist/links/links.js +149 -0
  22. package/dist/mcps/mcps.d.ts +3 -3
  23. package/dist/messages/messages.d.ts +3 -0
  24. package/dist/nodes/nodes.d.ts +46 -20
  25. package/dist/nodes/nodes.js +11 -3
  26. package/dist/operators/operators.d.ts +389 -47
  27. package/dist/operators/operators.js +268 -70
  28. package/dist/organisation/organisation.d.ts +2 -0
  29. package/dist/organisation/organisation.js +9 -0
  30. package/dist/primitives/primitives.d.ts +9 -0
  31. package/dist/primitives/primitives.js +16 -0
  32. package/dist/roles/roles.d.ts +1 -0
  33. package/dist/roles/roles.js +3 -0
  34. package/dist/runs/runs.d.ts +2 -2
  35. package/dist/sdk.d.ts +10 -9
  36. package/dist/sdk.js +10 -9
  37. package/dist/skills/skills.d.ts +37 -7
  38. package/dist/skills/skills.js +50 -0
  39. package/dist/sources/sources.d.ts +54 -14
  40. package/dist/sources/sources.js +50 -5
  41. package/dist/tables/tables.d.ts +42 -0
  42. package/dist/tables/tables.js +55 -2
  43. package/dist/tool.d.ts +1 -0
  44. package/dist/tree-order/tree-order.d.ts +2 -2
  45. package/dist/tree-order/tree-order.js +1 -1
  46. package/dist/users/users.d.ts +2 -0
  47. package/dist/users/users.js +3 -2
  48. package/dist/versions/versions.d.ts +13 -13
  49. package/package.json +1 -1
@@ -181,6 +181,15 @@ export const SourceCreateInput = z.strictObject({
181
181
  .record(GadgetFilePath, FileContent)
182
182
  .optional()
183
183
  .describe("The first files by path: source.json, source.js (only for kind code), tests/*.test.js, tests/fixtures/*, icon.svg. They become the draft. Leaving it out creates an empty source."),
184
+ from: z
185
+ .strictObject({
186
+ sourceId: NodeId.describe("The source to duplicate."),
187
+ as: z
188
+ .enum(["copy", "link"])
189
+ .describe("copy: its own code and history from here on, starting as a draft of the original's live state, for whoever may change the original. link: the original's code, following every version it publishes and read only here, with its own queries, key, runs, items and settings; for whoever may read an original that is live."),
190
+ })
191
+ .optional()
192
+ .describe("Duplicate a source instead of giving files (E221)."),
184
193
  idempotencyKey: IdempotencyKey,
185
194
  });
186
195
  export const SourceVersionRef = z.preprocess((value) => (typeof value === "string" && /^[1-9][0-9]{0,8}$/.test(value) ? Number(value) : value), z.union([z.enum(["live", "draft"]), z.number().int().min(1)]));
@@ -214,6 +223,10 @@ export const SourceUpdateInput = z.strictObject({
214
223
  level: GadgetLevel.optional(),
215
224
  keepDays: KeepDays.optional(),
216
225
  logDays: LogDays.optional(),
226
+ original: z
227
+ .null()
228
+ .optional()
229
+ .describe("Only at a link: null turns it into a copy with its own code and history (In Kopie umwandeln)."),
217
230
  })
218
231
  .optional()
219
232
  .describe("The settings; they apply at once, not through the draft."),
@@ -231,7 +244,7 @@ export const SourceTestInput = z.strictObject({
231
244
  params: ParamValues.optional(),
232
245
  })
233
246
  .optional()
234
- .describe("A probe instead of the tests: fetch from the provider for real with that state and answer the items, without storing anything."),
247
+ .describe("A probe instead of the tests: fetch from the provider for real with that state and answer the items without storing them; the probe stands among the source's runs (trigger probe) for its days."),
235
248
  });
236
249
  export const SourcePublishInput = z.strictObject({
237
250
  sourceId: SourceId,
@@ -291,6 +304,9 @@ const WhereList = z.preprocess((value) => {
291
304
  return [value];
292
305
  }
293
306
  }, z.array(SourceWhere).max(10));
307
+ // The order of the items (#922): `oldest` first is the feed a consumer follows, `newest` first is
308
+ // the view of whoever looks; each has a cursor of its own.
309
+ export const SourceItemSort = z.enum(["oldest", "newest"]);
294
310
  export const SourceItemListInput = z.strictObject({
295
311
  sourceId: SourceId,
296
312
  queryId: QueryId.optional().describe("Only the items of this query."),
@@ -304,6 +320,7 @@ export const SourceItemListInput = z.strictObject({
304
320
  .optional()
305
321
  .describe("The nextCursor of an earlier page; it also works after the last page, for what came since."),
306
322
  where: WhereList.optional().describe("Only items whose fields match every condition."),
323
+ sort: SourceItemSort.optional().describe("The order: oldest (the default) first, with a cursor that only grows and also works after the last page for what came since; or newest first, the latest found on the first page, with a cursor of its own that goes on towards older ones."),
307
324
  limit: Limit.optional(),
308
325
  });
309
326
  // ---- Answers ----
@@ -325,16 +342,30 @@ export const SourceRunCounts = z.object({
325
342
  // the provider refused the key (401, 403), `provider` it failed otherwise, `code` the source's code
326
343
  // or manifest broke.
327
344
  export const SourceRunFailure = z.enum(["host", "access", "provider", "code"]);
345
+ // How a run started. ⚠️ Read tolerantly (like `NodeKindRead`, #784): a value an older tab does not
346
+ // know reads as `unknown` instead of failing the whole list on every poll (review of PR #1003).
347
+ export const sourceRunTriggers = ["schedule", "play", "probe"];
348
+ export const SourceRunTriggerRead = z
349
+ .enum([...sourceRunTriggers, "unknown"])
350
+ .catch("unknown");
328
351
  export const SourceRun = z.object({
329
352
  runId: RunId,
330
353
  sourceId: SourceId,
331
- queryId: QueryId,
332
- // The workflow instance, `src-<source>-<query>-<time>`: one run per query and moment.
354
+ // Null for a probe with params of its own (#915). ⚠️ Read tolerantly, like `trigger`: an id this
355
+ // reader does not take reads as null instead of failing the list (review of PR #1003).
356
+ queryId: QueryId.nullable().catch(null),
357
+ // The workflow instance, `src-<source>-<query>-<time>`: one run per query and moment; a probe
358
+ // has none and carries `probe-<runId>`.
333
359
  instance: z.string(),
334
- // schedule, a person or machine by hand, or a probe against the draft.
335
- trigger: z.enum(["schedule", "play"]),
360
+ // schedule, a person or machine by hand (play), or a probe, which keeps no items (#915).
361
+ trigger: SourceRunTriggerRead,
336
362
  by: NodePerson.nullable(),
363
+ // The version it ran with; null for a probe of the draft.
337
364
  version: z.number().int().nullable(),
365
+ // A probe of the draft, not of a published version.
366
+ draft: z.boolean(),
367
+ // How many items a probe found and kept nowhere; null for every other run.
368
+ items: z.number().int().nullable(),
338
369
  status: z.enum(["running", "succeeded", "failed"]),
339
370
  failure: SourceRunFailure.nullable(),
340
371
  message: z.string().nullable(),
@@ -437,6 +468,20 @@ export const SourceDetail = z.object({
437
468
  })
438
469
  .nullable(),
439
470
  pausedAt: z.iso.datetime().nullable(),
471
+ // A link (E221): its original, whose live version runs here. Null for an original and a copy.
472
+ link: z
473
+ .object({
474
+ originalId: NodeId,
475
+ // Null where the caller cannot read the original.
476
+ name: z.string().nullable(),
477
+ })
478
+ .nullable()
479
+ .optional(),
480
+ // An original's links (E221), only for whoever may change it: they run its live version.
481
+ links: z
482
+ .array(z.object({ sourceId: NodeId, name: z.string().nullable() }))
483
+ .nullable()
484
+ .optional(),
440
485
  rights: z.object({ write: z.boolean() }),
441
486
  rev: z.number().int(),
442
487
  archivedAt: z.iso.datetime().nullable(),
@@ -33,6 +33,8 @@ export declare const TableColumnChange: z.ZodObject<{
33
33
  from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  }, z.core.$strict>;
35
35
  export type TableColumnChange = z.infer<typeof TableColumnChange>;
36
+ export declare const maxTableColumns = 100;
37
+ export declare const maxTableRows = 100000;
36
38
  export declare const TableCreateInput: z.ZodObject<{
37
39
  parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
38
40
  section: z.ZodOptional<z.ZodEnum<{
@@ -56,8 +58,34 @@ export declare const TableCreateInput: z.ZodObject<{
56
58
  }, z.core.$strict>;
57
59
  export type TableCreateInput = z.infer<typeof TableCreateInput>;
58
60
  export declare const tableFormats: readonly ["rows", "csv"];
61
+ export declare const TableSort: z.ZodObject<{
62
+ column: z.ZodString;
63
+ direction: z.ZodEnum<{
64
+ asc: "asc";
65
+ desc: "desc";
66
+ }>;
67
+ }, z.core.$strict>;
68
+ export type TableSort = z.infer<typeof TableSort>;
69
+ export declare const TableFilter: z.ZodObject<{
70
+ column: z.ZodString;
71
+ contains: z.ZodString;
72
+ }, z.core.$strict>;
73
+ export type TableFilter = z.infer<typeof TableFilter>;
74
+ export declare const RowLimit: z.ZodCoercedNumber<unknown>;
59
75
  export declare const TableGetInput: z.ZodObject<{
60
76
  tableId: z.ZodTemplateLiteral<`node_${string}`>;
77
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
78
+ sort: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
79
+ column: z.ZodString;
80
+ direction: z.ZodEnum<{
81
+ asc: "asc";
82
+ desc: "desc";
83
+ }>;
84
+ }, z.core.$strict>>, unknown>>;
85
+ filter: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodObject<{
86
+ column: z.ZodString;
87
+ contains: z.ZodString;
88
+ }, z.core.$strict>>, unknown>>;
61
89
  format: z.ZodOptional<z.ZodEnum<{
62
90
  rows: "rows";
63
91
  csv: "csv";
@@ -114,6 +142,13 @@ export declare const TableDetail: z.ZodObject<{
114
142
  }, z.core.$strict>>;
115
143
  rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
116
144
  csv: z.ZodOptional<z.ZodString>;
145
+ positions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
146
+ page: z.ZodOptional<z.ZodObject<{
147
+ offset: z.ZodNumber;
148
+ matched: z.ZodNumber;
149
+ rowCount: z.ZodNumber;
150
+ nextCursor: z.ZodNullable<z.ZodString>;
151
+ }, z.core.$strip>>;
117
152
  version: z.ZodNumber;
118
153
  rev: z.ZodNumber;
119
154
  rights: z.ZodObject<{
@@ -139,6 +174,13 @@ export declare const TableExcerpt: z.ZodObject<{
139
174
  }, z.core.$strict>>;
140
175
  rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
141
176
  csv: z.ZodOptional<z.ZodString>;
177
+ positions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
178
+ page: z.ZodOptional<z.ZodObject<{
179
+ offset: z.ZodNumber;
180
+ matched: z.ZodNumber;
181
+ rowCount: z.ZodNumber;
182
+ nextCursor: z.ZodNullable<z.ZodString>;
183
+ }, z.core.$strip>>;
142
184
  version: z.ZodNumber;
143
185
  rights: z.ZodObject<{
144
186
  write: z.ZodBoolean;
@@ -30,7 +30,11 @@ export const TableColumnChange = TableColumn.extend({
30
30
  .optional()
31
31
  .describe("The current column whose cells fill this one, by its current name: how a column is renamed. Null makes it a new empty column. Left out, a current column of the same name fills it, else it starts empty."),
32
32
  });
33
- const Columns = z.array(TableColumn).min(1).max(64);
33
+ // At most 100 columns (E191, #980).
34
+ export const maxTableColumns = 100;
35
+ // At most 100,000 data rows (E191, #980).
36
+ export const maxTableRows = 100_000;
37
+ const Columns = z.array(TableColumn).min(1).max(maxTableColumns);
34
38
  const Cells = z
35
39
  .array(z.string())
36
40
  .describe("One row: its cells as text, as many as the table has columns, in the order of the columns. A chip cell holds several values separated by commas.");
@@ -61,8 +65,44 @@ export const TableCreateInput = z.strictObject({
61
65
  idempotencyKey: IdempotencyKey,
62
66
  });
63
67
  export const tableFormats = ["rows", "csv"];
68
+ // Over REST a query string carries text: a list comes as its JSON (`?sort=[{…}]`).
69
+ const fromJson = (value, ctx) => {
70
+ if (typeof value !== "string")
71
+ return value;
72
+ try {
73
+ return JSON.parse(value);
74
+ }
75
+ catch {
76
+ ctx.addIssue({ code: "custom", message: "Over REST send this list as JSON." });
77
+ return z.NEVER;
78
+ }
79
+ };
80
+ export const TableSort = z.strictObject({
81
+ column: ColumnName.describe("The column to sort by, by its name (letter case ignored)."),
82
+ direction: z
83
+ .enum(["asc", "desc"])
84
+ .describe("asc from small to large (A to Z, 1 to 9), desc the other way. Empty cells come last either way; a number column sorts by value."),
85
+ });
86
+ export const TableFilter = z.strictObject({
87
+ column: ColumnName.describe("The column to filter by, by its name (letter case ignored)."),
88
+ contains: z
89
+ .string()
90
+ .max(200)
91
+ .describe("Only rows whose cell in this column contains this text, letter case ignored."),
92
+ });
93
+ // A page of rows (#980): up to 1,000 at a time.
94
+ export const RowLimit = z.coerce.number().int().min(1).max(1000);
64
95
  export const TableGetInput = z.strictObject({
65
96
  tableId: TableId,
97
+ limit: RowLimit.optional().describe("Read a range of at most this many rows (1 to 1,000) instead of the whole table: page says which rows came and its nextCursor, sent back as cursor, brings the next range. With sort or filter the range is taken in that order and selection; positions names each row's position in the table."),
98
+ sort: z
99
+ .preprocess(fromJson, z.array(TableSort).min(1).max(3))
100
+ .optional()
101
+ .describe("Read the rows in this order, the first entry first, on the server and over all rows; the table itself keeps its order. Over REST as JSON."),
102
+ filter: z
103
+ .preprocess(fromJson, z.array(TableFilter).min(1).max(10))
104
+ .optional()
105
+ .describe("Read only the rows whose cells contain these texts, every entry at once, on the server and over all rows. Over REST as JSON."),
66
106
  format: z
67
107
  .enum(tableFormats)
68
108
  .optional()
@@ -93,7 +133,7 @@ export const TableUpdateInput = z.strictObject({
93
133
  columns: z
94
134
  .array(TableColumnChange)
95
135
  .min(1)
96
- .max(64)
136
+ .max(maxTableColumns)
97
137
  .optional()
98
138
  .describe("The whole new column list in its new order: names, types, new columns and, by leaving them out, removed ones. A removed column's cells stay only in the table's history; the answer names the rows that had content in it. With csv, it is the header the csv must match instead."),
99
139
  csv: Csv.optional().describe("Replace the whole table: CSV whose header line holds exactly the column names, the current ones or those sent in columns alongside."),
@@ -131,6 +171,19 @@ export const TableDetail = z.object({
131
171
  rows: z.array(z.array(z.string())).optional(),
132
172
  // The whole table as CSV, header first; only when `format` is csv.
133
173
  csv: z.string().optional(),
174
+ // The position of each row in `rows` within the table (1 for the first data row), when the rows
175
+ // come sorted, filtered or as a page (#980).
176
+ positions: z.array(z.number().int()).optional(),
177
+ // A page of rows (`limit`, #980): the rows before it in the order read, how many rows the filter
178
+ // lets through (all without one), how many the table holds, and the cursor of the next page.
179
+ page: z
180
+ .object({
181
+ offset: z.number().int(),
182
+ matched: z.number().int(),
183
+ rowCount: z.number().int(),
184
+ nextCursor: z.string().nullable(),
185
+ })
186
+ .optional(),
134
187
  // The current version's number, as people read it ("Version 6").
135
188
  version: z.number().int(),
136
189
  // The state the next save sends (E70).
package/dist/tool.d.ts CHANGED
@@ -16,6 +16,7 @@ export type ToolSource = "api" | "mcp";
16
16
  export type ToolContext = {
17
17
  actor: Actor;
18
18
  source?: ToolSource;
19
+ viewer?: string | null;
19
20
  };
20
21
  export type ToolAnnotations = Partial<ActionAnnotations> & {
21
22
  openWorldHint?: boolean;
@@ -1,4 +1,4 @@
1
- import type { NodeKind } from "../nodes/nodes.js";
1
+ import type { NodeKindRead } from "../nodes/nodes.js";
2
2
  export declare const treeKindOrder: readonly ["folder", "document", "table", "board", "gadget", "source", "file", "skill", "goal"];
3
- export declare function treeKindRank(kind: NodeKind): number;
3
+ export declare function treeKindRank(kind: NodeKindRead): number;
4
4
  export declare function compareTreeNames(a: string, b: string): number;
@@ -14,7 +14,7 @@ export const treeKindOrder = [
14
14
  ];
15
15
  // As in German, whatever the language of the UI: case and accents do not count, "2" before "10".
16
16
  const collator = new Intl.Collator("de", { sensitivity: "base", numeric: true });
17
- // A kind outside the list (a task) goes after all of them.
17
+ // A kind outside the list (a task, one this release does not know) goes after all of them.
18
18
  export function treeKindRank(kind) {
19
19
  const rank = treeKindOrder.indexOf(kind);
20
20
  return rank === -1 ? treeKindOrder.length : rank;
@@ -21,6 +21,7 @@ export declare const OperatorProvider: z.ZodEnum<{
21
21
  claude: "claude";
22
22
  codex: "codex";
23
23
  gemini: "gemini";
24
+ gateway: "gateway";
24
25
  }>;
25
26
  export type OperatorProvider = z.infer<typeof OperatorProvider>;
26
27
  export declare const MessageMachine: z.ZodObject<{
@@ -32,6 +33,7 @@ export declare const MessageMachine: z.ZodObject<{
32
33
  claude: "claude";
33
34
  codex: "codex";
34
35
  gemini: "gemini";
36
+ gateway: "gateway";
35
37
  }>>;
36
38
  }, z.core.$strip>;
37
39
  export type MessageMachine = z.infer<typeof MessageMachine>;
@@ -18,8 +18,9 @@ export const UserStatus = z.enum(["invited", "expired", "disabled", "archived"])
18
18
  export const MachineKind = z.enum(["operator", "external"]);
19
19
  // The providers of the catalog (`operatorProviders` in `operators.ts`). Here, beside the kinds, so a
20
20
  // schema of `nodes` or `messages` can name it without importing `operators`, whose module graph
21
- // reaches far.
22
- export const OperatorProvider = z.enum(["claude", "codex", "gemini"]);
21
+ // reaches far. `gateway` is the kind Gateway (E210, #1011): any model through the customer's AI
22
+ // Gateway, run on Project Think instead of a CLI.
23
+ export const OperatorProvider = z.enum(["claude", "codex", "gemini", "gateway"]);
23
24
  // What a machine is beside its name (#348, #403, E77, E80, E85): its kind from `access`, and for an
24
25
  // Operator the provider it runs at from `operator`; null for one whose row is gone there. A chat
25
26
  // message's author and a person in the user list carry it.
@@ -6,13 +6,13 @@ export declare const MoveColumn: z.ZodObject<{
6
6
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
7
7
  name: z.ZodNullable<z.ZodString>;
8
8
  type: z.ZodNullable<z.ZodEnum<{
9
- archive: "archive";
10
9
  backlog: "backlog";
11
10
  open: "open";
12
11
  progress: "progress";
13
12
  done: "done";
14
13
  discarded: "discarded";
15
14
  blocked: "blocked";
15
+ archive: "archive";
16
16
  }>>;
17
17
  }, z.core.$strip>;
18
18
  export type MoveColumn = z.infer<typeof MoveColumn>;
@@ -21,26 +21,26 @@ export declare const VersionMove: z.ZodObject<{
21
21
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
22
22
  name: z.ZodNullable<z.ZodString>;
23
23
  type: z.ZodNullable<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
  }, z.core.$strip>>;
33
33
  to: z.ZodObject<{
34
34
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
35
35
  name: z.ZodNullable<z.ZodString>;
36
36
  type: z.ZodNullable<z.ZodEnum<{
37
- archive: "archive";
38
37
  backlog: "backlog";
39
38
  open: "open";
40
39
  progress: "progress";
41
40
  done: "done";
42
41
  discarded: "discarded";
43
42
  blocked: "blocked";
43
+ archive: "archive";
44
44
  }>>;
45
45
  }, z.core.$strip>;
46
46
  comment: z.ZodNullable<z.ZodString>;
@@ -64,26 +64,26 @@ export declare const TaskMove: z.ZodObject<{
64
64
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
65
65
  name: z.ZodNullable<z.ZodString>;
66
66
  type: z.ZodNullable<z.ZodEnum<{
67
- archive: "archive";
68
67
  backlog: "backlog";
69
68
  open: "open";
70
69
  progress: "progress";
71
70
  done: "done";
72
71
  discarded: "discarded";
73
72
  blocked: "blocked";
73
+ archive: "archive";
74
74
  }>>;
75
75
  }, z.core.$strip>>;
76
76
  to: z.ZodObject<{
77
77
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
78
78
  name: z.ZodNullable<z.ZodString>;
79
79
  type: z.ZodNullable<z.ZodEnum<{
80
- archive: "archive";
81
80
  backlog: "backlog";
82
81
  open: "open";
83
82
  progress: "progress";
84
83
  done: "done";
85
84
  discarded: "discarded";
86
85
  blocked: "blocked";
86
+ archive: "archive";
87
87
  }>>;
88
88
  }, z.core.$strip>;
89
89
  comment: z.ZodNullable<z.ZodString>;
@@ -139,26 +139,26 @@ export declare const NodeVersion: z.ZodObject<{
139
139
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
140
140
  name: z.ZodNullable<z.ZodString>;
141
141
  type: z.ZodNullable<z.ZodEnum<{
142
- archive: "archive";
143
142
  backlog: "backlog";
144
143
  open: "open";
145
144
  progress: "progress";
146
145
  done: "done";
147
146
  discarded: "discarded";
148
147
  blocked: "blocked";
148
+ archive: "archive";
149
149
  }>>;
150
150
  }, z.core.$strip>>;
151
151
  to: z.ZodObject<{
152
152
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
153
153
  name: z.ZodNullable<z.ZodString>;
154
154
  type: z.ZodNullable<z.ZodEnum<{
155
- archive: "archive";
156
155
  backlog: "backlog";
157
156
  open: "open";
158
157
  progress: "progress";
159
158
  done: "done";
160
159
  discarded: "discarded";
161
160
  blocked: "blocked";
161
+ archive: "archive";
162
162
  }>>;
163
163
  }, z.core.$strip>;
164
164
  comment: z.ZodNullable<z.ZodString>;
@@ -200,26 +200,26 @@ export declare const NodeVersionList: z.ZodObject<{
200
200
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
201
201
  name: z.ZodNullable<z.ZodString>;
202
202
  type: z.ZodNullable<z.ZodEnum<{
203
- archive: "archive";
204
203
  backlog: "backlog";
205
204
  open: "open";
206
205
  progress: "progress";
207
206
  done: "done";
208
207
  discarded: "discarded";
209
208
  blocked: "blocked";
209
+ archive: "archive";
210
210
  }>>;
211
211
  }, z.core.$strip>>;
212
212
  to: z.ZodObject<{
213
213
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
214
214
  name: z.ZodNullable<z.ZodString>;
215
215
  type: z.ZodNullable<z.ZodEnum<{
216
- archive: "archive";
217
216
  backlog: "backlog";
218
217
  open: "open";
219
218
  progress: "progress";
220
219
  done: "done";
221
220
  discarded: "discarded";
222
221
  blocked: "blocked";
222
+ archive: "archive";
223
223
  }>>;
224
224
  }, z.core.$strip>;
225
225
  comment: z.ZodNullable<z.ZodString>;
@@ -263,26 +263,26 @@ export declare const NodeVersionDetail: z.ZodObject<{
263
263
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
264
264
  name: z.ZodNullable<z.ZodString>;
265
265
  type: z.ZodNullable<z.ZodEnum<{
266
- archive: "archive";
267
266
  backlog: "backlog";
268
267
  open: "open";
269
268
  progress: "progress";
270
269
  done: "done";
271
270
  discarded: "discarded";
272
271
  blocked: "blocked";
272
+ archive: "archive";
273
273
  }>>;
274
274
  }, z.core.$strip>>;
275
275
  to: z.ZodObject<{
276
276
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
277
277
  name: z.ZodNullable<z.ZodString>;
278
278
  type: z.ZodNullable<z.ZodEnum<{
279
- archive: "archive";
280
279
  backlog: "backlog";
281
280
  open: "open";
282
281
  progress: "progress";
283
282
  done: "done";
284
283
  discarded: "discarded";
285
284
  blocked: "blocked";
285
+ archive: "archive";
286
286
  }>>;
287
287
  }, z.core.$strip>;
288
288
  comment: z.ZodNullable<z.ZodString>;
@@ -414,26 +414,26 @@ export declare const NodeVersionExcerpt: z.ZodObject<{
414
414
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
415
415
  name: z.ZodNullable<z.ZodString>;
416
416
  type: z.ZodNullable<z.ZodEnum<{
417
- archive: "archive";
418
417
  backlog: "backlog";
419
418
  open: "open";
420
419
  progress: "progress";
421
420
  done: "done";
422
421
  discarded: "discarded";
423
422
  blocked: "blocked";
423
+ archive: "archive";
424
424
  }>>;
425
425
  }, z.core.$strip>>;
426
426
  to: z.ZodObject<{
427
427
  columnId: z.ZodTemplateLiteral<`column_${string}`>;
428
428
  name: z.ZodNullable<z.ZodString>;
429
429
  type: z.ZodNullable<z.ZodEnum<{
430
- archive: "archive";
431
430
  backlog: "backlog";
432
431
  open: "open";
433
432
  progress: "progress";
434
433
  done: "done";
435
434
  discarded: "discarded";
436
435
  blocked: "blocked";
436
+ archive: "archive";
437
437
  }>>;
438
438
  }, z.core.$strip>;
439
439
  comment: z.ZodNullable<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anchrd/colab-sdk",
3
- "version": "0.1.35",
3
+ "version": "0.1.37",
4
4
  "description": "Types, Zod schemas and the service client of Colab, the contract between its UI, backends and outside services.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",