@anchrd/colab-sdk 0.1.52 → 0.1.53

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.
@@ -8,6 +8,7 @@ export const treeKindOrder = [
8
8
  "board",
9
9
  "gadget",
10
10
  "source",
11
+ "flow",
11
12
  "file",
12
13
  "skill",
13
14
  "goal",
@@ -10,6 +10,8 @@ export declare const Changed: z.ZodObject<{
10
10
  goalId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
11
11
  skillId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
12
12
  sourceId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
13
+ flowId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
14
+ stepId: z.ZodOptional<z.ZodTemplateLiteral<`step_${string}`>>;
13
15
  queryId: z.ZodOptional<z.ZodTemplateLiteral<`query_${string}`>>;
14
16
  runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
15
17
  messageId: z.ZodOptional<z.ZodTemplateLiteral<`message_${string}`>>;
@@ -148,6 +150,8 @@ export declare const Written: z.ZodObject<{
148
150
  goalId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
149
151
  skillId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
150
152
  sourceId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
153
+ flowId: z.ZodOptional<z.ZodTemplateLiteral<`node_${string}`>>;
154
+ stepId: z.ZodOptional<z.ZodTemplateLiteral<`step_${string}`>>;
151
155
  queryId: z.ZodOptional<z.ZodTemplateLiteral<`query_${string}`>>;
152
156
  runId: z.ZodOptional<z.ZodTemplateLiteral<`run_${string}`>>;
153
157
  messageId: z.ZodOptional<z.ZodTemplateLiteral<`message_${string}`>>;
@@ -4,6 +4,7 @@ import { TaskColumn } from "../columns/columns.js";
4
4
  import { ConnectionId } from "../connections/connections.js";
5
5
  import { ConnectorId } from "../connectors/connectors.js";
6
6
  import { Warning } from "../error/error.js";
7
+ import { FlowStepId } from "../flows/flows.js";
7
8
  import { GrantId } from "../grants/grants.js";
8
9
  import { idSchema } from "../ids/ids.js";
9
10
  import { InvitationId } from "../invitations/invitations.js";
@@ -40,6 +41,9 @@ export const Changed = z.object({
40
41
  goalId: NodeId.optional(),
41
42
  skillId: NodeId.optional(),
42
43
  sourceId: NodeId.optional(),
44
+ // A flow and a step of it (#1228).
45
+ flowId: NodeId.optional(),
46
+ stepId: FlowStepId.optional(),
43
47
  queryId: QueryId.optional(),
44
48
  runId: RunId.optional(),
45
49
  messageId: MessageId.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anchrd/colab-sdk",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
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",