@synnaxlabs/client 0.54.2 → 0.56.0
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/.turbo/turbo-build.log +10 -13
- package/dist/client.cjs +60 -42
- package/dist/client.js +8037 -6265
- package/dist/src/access/policy/client.d.ts +70 -80
- package/dist/src/access/policy/client.d.ts.map +1 -1
- package/dist/src/access/policy/types.gen.d.ts +18 -20
- package/dist/src/access/policy/types.gen.d.ts.map +1 -1
- package/dist/src/access/role/client.d.ts.map +1 -1
- package/dist/src/access/role/types.gen.d.ts +2 -2
- package/dist/src/actions/actions.d.ts +68 -0
- package/dist/src/actions/actions.d.ts.map +1 -0
- package/dist/src/actions/actions.spec.d.ts +2 -0
- package/dist/src/actions/actions.spec.d.ts.map +1 -0
- package/dist/src/actions/external.d.ts +2 -0
- package/dist/src/actions/external.d.ts.map +1 -0
- package/dist/src/actions/index.d.ts +2 -0
- package/dist/src/actions/index.d.ts.map +1 -0
- package/dist/src/arc/arc.spec.d.ts +2 -0
- package/dist/src/arc/arc.spec.d.ts.map +1 -0
- package/dist/src/arc/client.d.ts.map +1 -1
- package/dist/src/arc/compiler/types.gen.d.ts +1 -1
- package/dist/src/arc/compiler/types.gen.d.ts.map +1 -1
- package/dist/src/arc/graph/types.gen.d.ts +40 -40
- package/dist/src/arc/graph/types.gen.d.ts.map +1 -1
- package/dist/src/arc/ir/types.gen.d.ts +202 -233
- package/dist/src/arc/ir/types.gen.d.ts.map +1 -1
- package/dist/src/arc/module/types.gen.d.ts +63 -82
- package/dist/src/arc/module/types.gen.d.ts.map +1 -1
- package/dist/src/arc/program/types.gen.d.ts +63 -82
- package/dist/src/arc/program/types.gen.d.ts.map +1 -1
- package/dist/src/arc/types/types.gen.d.ts +11 -11
- package/dist/src/arc/types/types.gen.d.ts.map +1 -1
- package/dist/src/arc/types.gen.d.ts +139 -158
- package/dist/src/arc/types.gen.d.ts.map +1 -1
- package/dist/src/auth/auth.d.ts +3 -3
- package/dist/src/auth/auth.d.ts.map +1 -1
- package/dist/src/channel/client.d.ts +2 -2
- package/dist/src/channel/client.d.ts.map +1 -1
- package/dist/src/channel/retriever.d.ts +5 -8
- package/dist/src/channel/retriever.d.ts.map +1 -1
- package/dist/src/channel/types.gen.d.ts +3 -3
- package/dist/src/channel/types.gen.d.ts.map +1 -1
- package/dist/src/channel/writer.d.ts.map +1 -1
- package/dist/src/client.d.ts +5 -0
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/connection/checker.d.ts +17 -2
- package/dist/src/connection/checker.d.ts.map +1 -1
- package/dist/src/control/state.d.ts.map +1 -1
- package/dist/src/device/client.d.ts.map +1 -1
- package/dist/src/device/types.gen.d.ts +6 -8
- package/dist/src/device/types.gen.d.ts.map +1 -1
- package/dist/src/errors.d.ts +2 -0
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/framer/adapter.d.ts.map +1 -1
- package/dist/src/framer/client.d.ts +2 -2
- package/dist/src/framer/client.d.ts.map +1 -1
- package/dist/src/framer/codec.d.ts +9 -1
- package/dist/src/framer/codec.d.ts.map +1 -1
- package/dist/src/framer/deleter.d.ts.map +1 -1
- package/dist/src/framer/frame.d.ts +1 -1
- package/dist/src/framer/iterator.d.ts +84 -3
- package/dist/src/framer/iterator.d.ts.map +1 -1
- package/dist/src/framer/streamProxy.d.ts.map +1 -1
- package/dist/src/framer/streamer.d.ts +1 -3
- package/dist/src/framer/streamer.d.ts.map +1 -1
- package/dist/src/framer/types.gen.d.ts +18 -0
- package/dist/src/framer/types.gen.d.ts.map +1 -1
- package/dist/src/framer/writer.d.ts +8 -8
- package/dist/src/framer/writer.d.ts.map +1 -1
- package/dist/src/group/client.d.ts +1 -2
- package/dist/src/group/client.d.ts.map +1 -1
- package/dist/src/group/types.gen.d.ts +2 -2
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/label/client.d.ts +5 -8
- package/dist/src/label/client.d.ts.map +1 -1
- package/dist/src/lineplot/client.d.ts.map +1 -1
- package/dist/src/lineplot/types.gen.d.ts +2 -2
- package/dist/src/log/client.d.ts.map +1 -1
- package/dist/src/log/types.gen.d.ts +2 -2
- package/dist/src/ontology/client.d.ts +1 -3
- package/dist/src/ontology/client.d.ts.map +1 -1
- package/dist/src/ontology/payload.d.ts +12 -16
- package/dist/src/ontology/payload.d.ts.map +1 -1
- package/dist/src/ontology/types.gen.d.ts +1 -2
- package/dist/src/ontology/types.gen.d.ts.map +1 -1
- package/dist/src/ontology/writer.d.ts +5 -10
- package/dist/src/ontology/writer.d.ts.map +1 -1
- package/dist/src/rack/client.d.ts.map +1 -1
- package/dist/src/rack/types.gen.d.ts +3 -3
- package/dist/src/ranger/alias/client.d.ts.map +1 -1
- package/dist/src/ranger/client.d.ts.map +1 -1
- package/dist/src/ranger/kv/client.d.ts.map +1 -1
- package/dist/src/ranger/types.gen.d.ts +6 -6
- package/dist/src/ranger/types.gen.d.ts.map +1 -1
- package/dist/src/ranger/writer.d.ts +2 -3
- package/dist/src/ranger/writer.d.ts.map +1 -1
- package/dist/src/schematic/actions.d.ts +147 -0
- package/dist/src/schematic/actions.d.ts.map +1 -0
- package/dist/src/schematic/actions.gen.d.ts +484 -0
- package/dist/src/schematic/actions.gen.d.ts.map +1 -0
- package/dist/src/schematic/actions.spec.d.ts +2 -0
- package/dist/src/schematic/actions.spec.d.ts.map +1 -0
- package/dist/src/schematic/client.d.ts +53 -2
- package/dist/src/schematic/client.d.ts.map +1 -1
- package/dist/src/schematic/external.d.ts +2 -0
- package/dist/src/schematic/external.d.ts.map +1 -1
- package/dist/src/schematic/symbol/client.d.ts.map +1 -1
- package/dist/src/schematic/symbol/types.gen.d.ts +48 -58
- package/dist/src/schematic/symbol/types.gen.d.ts.map +1 -1
- package/dist/src/schematic/types.gen.d.ts +131 -5
- package/dist/src/schematic/types.gen.d.ts.map +1 -1
- package/dist/src/status/client.d.ts.map +1 -1
- package/dist/src/status/payload.d.ts +3 -3
- package/dist/src/table/actions.d.ts +156 -0
- package/dist/src/table/actions.d.ts.map +1 -0
- package/dist/src/table/actions.gen.d.ts +587 -0
- package/dist/src/table/actions.gen.d.ts.map +1 -0
- package/dist/src/table/client.d.ts +28 -2
- package/dist/src/table/client.d.ts.map +1 -1
- package/dist/src/table/external.d.ts +2 -0
- package/dist/src/table/external.d.ts.map +1 -1
- package/dist/src/table/types.gen.d.ts +71 -4
- package/dist/src/table/types.gen.d.ts.map +1 -1
- package/dist/src/task/client.d.ts.map +1 -1
- package/dist/src/task/types.gen.d.ts +7 -7
- package/dist/src/task/types.gen.d.ts.map +1 -1
- package/dist/src/user/client.d.ts +2 -2
- package/dist/src/user/client.d.ts.map +1 -1
- package/dist/src/user/types.gen.d.ts +2 -2
- package/dist/src/view/client.d.ts.map +1 -1
- package/dist/src/view/types.gen.d.ts +2 -2
- package/dist/src/workspace/client.d.ts.map +1 -1
- package/dist/src/workspace/types.gen.d.ts +3 -3
- package/dist/src/workspace/types.gen.d.ts.map +1 -1
- package/package.json +12 -11
- package/src/access/policy/client.ts +4 -7
- package/src/access/role/client.ts +6 -26
- package/src/actions/actions.spec.ts +229 -0
- package/src/actions/actions.ts +104 -0
- package/src/actions/external.ts +10 -0
- package/src/actions/index.ts +10 -0
- package/src/arc/arc.spec.ts +44 -0
- package/src/arc/client.ts +3 -7
- package/src/arc/compiler/types.gen.ts +2 -1
- package/src/arc/ir/types.gen.ts +102 -48
- package/src/arc/lsp.spec.ts +3 -7
- package/src/arc/types/types.gen.ts +3 -3
- package/src/auth/auth.spec.ts +12 -13
- package/src/auth/auth.ts +48 -34
- package/src/channel/batchRetriever.spec.ts +13 -4
- package/src/channel/channel.spec.ts +13 -0
- package/src/channel/client.ts +8 -6
- package/src/channel/retriever.ts +7 -16
- package/src/channel/types.gen.ts +1 -2
- package/src/channel/writer.ts +4 -20
- package/src/client.ts +3 -0
- package/src/connection/checker.ts +48 -10
- package/src/connection/connection.spec.ts +64 -2
- package/src/control/state.ts +5 -4
- package/src/device/client.ts +5 -8
- package/src/device/device.spec.ts +7 -5
- package/src/device/types.gen.ts +4 -4
- package/src/errors.ts +8 -9
- package/src/framer/adapter.ts +2 -4
- package/src/framer/client.ts +12 -0
- package/src/framer/codec.spec.ts +53 -3
- package/src/framer/codec.ts +58 -25
- package/src/framer/deleter.ts +2 -8
- package/src/framer/iterator.ts +42 -39
- package/src/framer/streamProxy.ts +11 -12
- package/src/framer/streamer.spec.ts +1 -1
- package/src/framer/streamer.ts +2 -7
- package/src/framer/types.gen.ts +20 -0
- package/src/framer/writer.spec.ts +221 -1
- package/src/framer/writer.ts +53 -28
- package/src/group/client.ts +4 -7
- package/src/index.ts +3 -2
- package/src/label/client.ts +6 -16
- package/src/label/label.spec.ts +12 -0
- package/src/lineplot/client.ts +6 -21
- package/src/log/client.ts +6 -21
- package/src/ontology/client.ts +2 -3
- package/src/ontology/ontology.spec.ts +10 -0
- package/src/ontology/types.gen.ts +0 -1
- package/src/ontology/writer.ts +4 -7
- package/src/rack/client.ts +4 -7
- package/src/rack/rack.spec.ts +12 -1
- package/src/ranger/alias/client.ts +6 -11
- package/src/ranger/client.ts +2 -3
- package/src/ranger/kv/client.ts +4 -7
- package/src/ranger/ranger.spec.ts +12 -0
- package/src/ranger/writer.ts +4 -17
- package/src/schematic/access.spec.ts +6 -6
- package/src/schematic/actions.gen.ts +200 -0
- package/src/schematic/actions.spec.ts +699 -0
- package/src/schematic/actions.ts +168 -0
- package/src/schematic/client.ts +34 -30
- package/src/schematic/external.ts +2 -0
- package/src/schematic/schematic.spec.ts +233 -69
- package/src/schematic/symbol/client.spec.ts +33 -9
- package/src/schematic/symbol/client.ts +6 -11
- package/src/schematic/symbol/types.gen.ts +1 -10
- package/src/schematic/types.gen.ts +55 -6
- package/src/status/client.ts +4 -10
- package/src/status/status.spec.ts +7 -6
- package/src/table/access.spec.ts +0 -6
- package/src/table/actions.gen.ts +243 -0
- package/src/table/actions.ts +255 -0
- package/src/table/client.ts +21 -25
- package/src/table/external.ts +2 -0
- package/src/table/table.spec.ts +588 -43
- package/src/table/types.gen.ts +58 -5
- package/src/task/client.ts +14 -20
- package/src/task/task.spec.ts +15 -1
- package/src/task/types.gen.ts +8 -6
- package/src/user/client.ts +6 -11
- package/src/view/client.ts +4 -7
- package/src/view/view.spec.ts +9 -5
- package/src/workspace/client.ts +6 -16
- package/src/workspace/types.gen.ts +2 -1
- package/src/workspace/workspace.spec.ts +14 -1
|
@@ -10,18 +10,17 @@ export type Key = z.infer<typeof keyZ>;
|
|
|
10
10
|
export declare const policyZ: z.ZodObject<{
|
|
11
11
|
key: z.ZodUUID;
|
|
12
12
|
name: z.ZodString;
|
|
13
|
-
objects: z.ZodUnion<readonly [z.ZodPipe<z.
|
|
14
|
-
type: "arc" | "builtin" | "channel" | "
|
|
13
|
+
objects: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<({
|
|
14
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
15
15
|
key: string;
|
|
16
16
|
} | {
|
|
17
|
-
type: "arc" | "builtin" | "channel" | "
|
|
17
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
18
18
|
key: string;
|
|
19
|
-
})[], null
|
|
19
|
+
})[], null>>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
20
20
|
type: z.ZodEnum<{
|
|
21
21
|
arc: "arc";
|
|
22
22
|
builtin: "builtin";
|
|
23
23
|
channel: "channel";
|
|
24
|
-
cluster: "cluster";
|
|
25
24
|
device: "device";
|
|
26
25
|
framer: "framer";
|
|
27
26
|
group: "group";
|
|
@@ -45,15 +44,15 @@ export declare const policyZ: z.ZodObject<{
|
|
|
45
44
|
}>;
|
|
46
45
|
key: z.ZodString;
|
|
47
46
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
48
|
-
type: "arc" | "builtin" | "channel" | "
|
|
47
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
49
48
|
key: string;
|
|
50
|
-
}, string>>]>>]
|
|
51
|
-
actions: z.ZodUnion<readonly [z.ZodPipe<z.
|
|
49
|
+
}, string>>]>>]>>;
|
|
50
|
+
actions: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<("create" | "delete" | "retrieve" | "update")[], null>>, z.ZodArray<z.ZodEnum<{
|
|
52
51
|
create: "create";
|
|
53
52
|
delete: "delete";
|
|
54
53
|
retrieve: "retrieve";
|
|
55
54
|
update: "update";
|
|
56
|
-
}>>]
|
|
55
|
+
}>>]>>;
|
|
57
56
|
internal: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
58
57
|
}, z.core.$strip>;
|
|
59
58
|
export interface Policy extends z.infer<typeof policyZ> {
|
|
@@ -61,18 +60,17 @@ export interface Policy extends z.infer<typeof policyZ> {
|
|
|
61
60
|
export declare const newZ: z.ZodObject<{
|
|
62
61
|
key: z.ZodOptional<z.ZodUUID>;
|
|
63
62
|
name: z.ZodString;
|
|
64
|
-
objects: z.ZodUnion<readonly [z.ZodPipe<z.
|
|
65
|
-
type: "arc" | "builtin" | "channel" | "
|
|
63
|
+
objects: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<({
|
|
64
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
66
65
|
key: string;
|
|
67
66
|
} | {
|
|
68
|
-
type: "arc" | "builtin" | "channel" | "
|
|
67
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
69
68
|
key: string;
|
|
70
|
-
})[], null
|
|
69
|
+
})[], null>>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
71
70
|
type: z.ZodEnum<{
|
|
72
71
|
arc: "arc";
|
|
73
72
|
builtin: "builtin";
|
|
74
73
|
channel: "channel";
|
|
75
|
-
cluster: "cluster";
|
|
76
74
|
device: "device";
|
|
77
75
|
framer: "framer";
|
|
78
76
|
group: "group";
|
|
@@ -96,25 +94,25 @@ export declare const newZ: z.ZodObject<{
|
|
|
96
94
|
}>;
|
|
97
95
|
key: z.ZodString;
|
|
98
96
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
99
|
-
type: "arc" | "builtin" | "channel" | "
|
|
97
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
100
98
|
key: string;
|
|
101
|
-
}, string>>]>>]
|
|
102
|
-
actions: z.ZodUnion<readonly [z.ZodPipe<z.
|
|
99
|
+
}, string>>]>>]>>;
|
|
100
|
+
actions: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<("create" | "delete" | "retrieve" | "update")[], null>>, z.ZodArray<z.ZodEnum<{
|
|
103
101
|
create: "create";
|
|
104
102
|
delete: "delete";
|
|
105
103
|
retrieve: "retrieve";
|
|
106
104
|
update: "update";
|
|
107
|
-
}>>]
|
|
105
|
+
}>>]>>;
|
|
108
106
|
internal: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
109
107
|
}, z.core.$strip>;
|
|
110
108
|
export interface New extends z.input<typeof newZ> {
|
|
111
109
|
}
|
|
112
110
|
export declare const ontologyID: ontology.CreateID<string>;
|
|
113
111
|
export declare const TYPE_ONTOLOGY_ID: {
|
|
114
|
-
type: "arc" | "builtin" | "channel" | "
|
|
112
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
115
113
|
key: string;
|
|
116
114
|
} | {
|
|
117
|
-
type: "arc" | "builtin" | "channel" | "
|
|
115
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
118
116
|
key: string;
|
|
119
117
|
};
|
|
120
118
|
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../../src/access/policy/types.gen.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC;;;;GAIG;AACH,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../../src/access/policy/types.gen.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWlB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC;CAAG;AAE1D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAiC,CAAC;AACnD,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEpD,eAAO,MAAM,UAAU,2BAA0C,CAAC;AAClE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/access/role/client.ts"],"names":[],"mappings":"AASA,OAAO,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/access/role/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAQ,KAAK,GAAG,EAAQ,KAAK,IAAI,EAAS,MAAM,yBAAyB,CAAC;AAGjF,QAAA,MAAM,gBAAgB;;;;;iBAKpB,CAAC;AAEH,QAAA,MAAM,mBAAmB;;;;;;GAEmB,CAAC;AAE7C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;GAA0C,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;KAAiD,CAAC;AAElF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAoD,CAAC;AAC7E,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAKrD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACvE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEtE,eAAO,MAAM,aAAa;;;;;;;;;;;mBAAmD,CAAC;AAC9E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAIzD,QAAA,MAAM,WAAW;;;;eAEkC,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAErD,QAAA,MAAM,UAAU;;;iBAGd,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAIpD,QAAA,MAAM,YAAY;;;iBAGhB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAIxD,eAAO,MAAM,gBAAgB,gBAAgB,CAAC;AAC9C,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AAEpD,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAChC,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAYrC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IACnD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAYvD,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvC,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvC,QAAQ,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;CAGlD"}
|
|
@@ -25,10 +25,10 @@ export interface New extends z.input<typeof newZ> {
|
|
|
25
25
|
}
|
|
26
26
|
export declare const ontologyID: ontology.CreateID<string>;
|
|
27
27
|
export declare const TYPE_ONTOLOGY_ID: {
|
|
28
|
-
type: "arc" | "builtin" | "channel" | "
|
|
28
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
29
29
|
key: string;
|
|
30
30
|
} | {
|
|
31
|
-
type: "arc" | "builtin" | "channel" | "
|
|
31
|
+
type: "arc" | "builtin" | "channel" | "device" | "framer" | "group" | "label" | "lineplot" | "log" | "node" | "policy" | "rack" | "range" | "range-alias" | "role" | "schematic" | "schematic_symbol" | "status" | "table" | "task" | "user" | "view" | "workspace";
|
|
32
32
|
key: string;
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=types.gen.d.ts.map
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Draft } from 'immer';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
/**
|
|
4
|
+
* Result returned by a single per-variant action handler. `inverse` is the
|
|
5
|
+
* action sequence the undo stack should replay to revert the handler's effect.
|
|
6
|
+
* `targets` is the set of document keys the handler touched, used by consumers
|
|
7
|
+
* to invalidate undoables targeting overlapping resources when a remote
|
|
8
|
+
* session emits a competing action.
|
|
9
|
+
*/
|
|
10
|
+
export interface HandlerResult<A> {
|
|
11
|
+
inverse: A[];
|
|
12
|
+
targets: readonly string[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* NO_OP_RESULT is the zero-value HandlerResult. Return it from a handler that
|
|
16
|
+
* declined to mutate state (e.g. lookup miss) so it neither contributes to the
|
|
17
|
+
* undo stack nor invalidates undoables targeting the same resource.
|
|
18
|
+
*/
|
|
19
|
+
export declare const NO_OP_RESULT: HandlerResult<never>;
|
|
20
|
+
/**
|
|
21
|
+
* Result returned by a reduceAll application: the new state, the inverse
|
|
22
|
+
* sequence that reverts the whole batch, and the union of all targets touched.
|
|
23
|
+
*/
|
|
24
|
+
export interface ReduceAllResult<S, A> {
|
|
25
|
+
next: S;
|
|
26
|
+
inverse: A[];
|
|
27
|
+
targets: readonly string[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Returns a plain-object snapshot of an Immer draft so the result is safe to
|
|
31
|
+
* embed in an action stored on the undo stack. Returns non-draft inputs
|
|
32
|
+
* unchanged. The non-draft passthrough exists because when a reducer applies
|
|
33
|
+
* multiple actions in one produce(), an earlier action's wholesale
|
|
34
|
+
* assignment leaves the slot as a plain object, so the next action would
|
|
35
|
+
* crash if it called `current` unconditionally.
|
|
36
|
+
*/
|
|
37
|
+
export declare const snapshotDraft: <T>(v: T) => T;
|
|
38
|
+
/**
|
|
39
|
+
* createReduceAll lifts a per-variant `reduceOne` switch into a batched
|
|
40
|
+
* reducer. The returned function applies each action against an Immer draft of
|
|
41
|
+
* `state` in order, accumulates the inverses in reverse application order so a
|
|
42
|
+
* single undo replays them correctly, and unions the touched targets.
|
|
43
|
+
*/
|
|
44
|
+
export declare const createReduceAll: <S, A>(reduceOne: (draft: Draft<S>, action: A) => HandlerResult<A>) => (state: S, actions: A[]) => ReduceAllResult<S, A>;
|
|
45
|
+
/**
|
|
46
|
+
* scopedZ builds the schema for envelopes broadcast on the sy_<service>_set
|
|
47
|
+
* cluster signals channel. The framer's JSON codec runs snakeToCamel before
|
|
48
|
+
* handing the value to the schema, so `dispatchKey` and `seq` are camelCase
|
|
49
|
+
* here even though the server emits them as snake_case. `seq` defaults to 0 so
|
|
50
|
+
* frames from servers that predate the field stay parseable.
|
|
51
|
+
*/
|
|
52
|
+
export declare const scopedZ: <K extends z.ZodType, A extends z.ZodType>(keyZ: K, actionZ: A) => z.ZodObject<{
|
|
53
|
+
key: K;
|
|
54
|
+
dispatchKey: z.ZodString;
|
|
55
|
+
seq: z.ZodDefault<z.ZodNumber>;
|
|
56
|
+
actions: z.ZodArray<A>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
/**
|
|
59
|
+
* dispatchReqZ builds the request body schema for the per-service dispatch
|
|
60
|
+
* endpoint. Stays camelCase; the JSON codec runs camelToSnake on encode so the
|
|
61
|
+
* wire ends up snake_case without per-field conversion here.
|
|
62
|
+
*/
|
|
63
|
+
export declare const dispatchReqZ: <K extends z.ZodType, A extends z.ZodType>(keyZ: K, actionZ: A) => z.ZodObject<{
|
|
64
|
+
key: K;
|
|
65
|
+
dispatchKey: z.ZodString;
|
|
66
|
+
actions: z.ZodArray<A>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/actions/actions.ts"],"names":[],"mappings":"AASA,OAAO,EAAW,KAAK,KAAK,EAAoB,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;GAMG;AACH,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,KAAK,CAAgC,CAAC;AAE/E;;;GAGG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC,EAAE,CAAC;IACnC,IAAI,EAAE,CAAC,CAAC;IACR,OAAO,EAAE,CAAC,EAAE,CAAC;IACb,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,GAAG,CAAC,KAAG,CAA8C,CAAC;AAEvF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GACzB,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,KAAK,aAAa,CAAC,CAAC,CAAC,MACjE,OAAO,CAAC,EAAE,SAAS,CAAC,EAAE,KAAG,eAAe,CAAC,CAAC,EAAE,CAAC,CAW7C,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,CAAC,OAAO,EAC9D,MAAM,CAAC,EACP,SAAS,CAAC;;;;;iBAOR,CAAC;AAEL;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,CAAC,OAAO,EACnE,MAAM,CAAC,EACP,SAAS,CAAC;;;;iBAMR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.spec.d.ts","sourceRoot":"","sources":["../../../src/actions/actions.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/actions/external.ts"],"names":[],"mappings":"AASA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arc.spec.d.ts","sourceRoot":"","sources":["../../../src/arc/arc.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/arc/client.ts"],"names":[],"mappings":"AASA,OAAO,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/arc/client.ts"],"names":[],"mappings":"AASA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAE,KAAK,GAAG,EAAQ,KAAK,GAAG,EAAQ,KAAK,GAAG,EAAQ,MAAM,iBAAiB,CAAC;AAGjF,eAAO,MAAM,gBAAgB,eAAe,CAAC;AAC7C,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AAEnD,QAAA,MAAM,YAAY;;;;;;;iBAOhB,CAAC;AAQH,eAAO,MAAM,WAAW;;iBAAoC,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAgB3D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;KAAuD,CAAC;AAExF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;mBAA+C,CAAC;AAEnE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;IACrC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;gBAEhC,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY;IAKrD,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAC9B,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAYnC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC;IAChD,QAAQ,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAa5C,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IASxC,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC,OAAO,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;CAGzE"}
|
|
@@ -5,7 +5,7 @@ import { z } from 'zod';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const outputZ: z.ZodObject<{
|
|
7
7
|
wasm: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
8
|
-
outputMemoryBases: z.
|
|
8
|
+
outputMemoryBases: z.ZodType<Record<string, number>, unknown, z.core.$ZodTypeInternals<Record<string, number>, unknown>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
export interface Output extends z.infer<typeof outputZ> {
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../../src/arc/compiler/types.gen.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../../src/arc/compiler/types.gen.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,OAAO;;;iBAQlB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC;CAAG"}
|
|
@@ -26,7 +26,7 @@ export declare const viewportZ: z.ZodObject<{
|
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
export interface Viewport extends z.infer<typeof viewportZ> {
|
|
28
28
|
}
|
|
29
|
-
export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.
|
|
29
|
+
export declare const nodesZ: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
|
|
30
30
|
key: string;
|
|
31
31
|
type: string;
|
|
32
32
|
config: record.Unknown;
|
|
@@ -34,7 +34,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
|
|
|
34
34
|
x: number;
|
|
35
35
|
y: number;
|
|
36
36
|
};
|
|
37
|
-
}[], null
|
|
37
|
+
}[], null>>, z.ZodArray<z.ZodObject<{
|
|
38
38
|
key: z.ZodString;
|
|
39
39
|
type: z.ZodString;
|
|
40
40
|
config: z.ZodType<record.Unknown, unknown, z.core.$ZodTypeInternals<record.Unknown, unknown>>;
|
|
@@ -42,7 +42,7 @@ export declare const nodesZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly
|
|
|
42
42
|
x: z.ZodNumber;
|
|
43
43
|
y: z.ZodNumber;
|
|
44
44
|
}, z.core.$strip>;
|
|
45
|
-
}, z.core.$strip>>]
|
|
45
|
+
}, z.core.$strip>>]>>;
|
|
46
46
|
export type Nodes = z.infer<typeof nodesZ>;
|
|
47
47
|
/**
|
|
48
48
|
* Graph is a visual dataflow graph representation combining IR elements with
|
|
@@ -56,12 +56,9 @@ export declare const graphZ: z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>;
|
|
57
57
|
zoom: z.ZodNumber;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
|
-
functions: z.ZodUnion<readonly [z.ZodPipe<z.
|
|
59
|
+
functions: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
|
|
60
60
|
key: string;
|
|
61
|
-
|
|
62
|
-
raw: string;
|
|
63
|
-
} | undefined;
|
|
64
|
-
config?: {
|
|
61
|
+
config: {
|
|
65
62
|
name: string;
|
|
66
63
|
type: {
|
|
67
64
|
kind: import('../types/types.gen').Kind;
|
|
@@ -134,8 +131,8 @@ export declare const graphZ: z.ZodObject<{
|
|
|
134
131
|
chanDirection?: import('../types/types.gen').ChanDirection | undefined;
|
|
135
132
|
};
|
|
136
133
|
value?: unknown;
|
|
137
|
-
}[]
|
|
138
|
-
inputs
|
|
134
|
+
}[];
|
|
135
|
+
inputs: {
|
|
139
136
|
name: string;
|
|
140
137
|
type: {
|
|
141
138
|
kind: import('../types/types.gen').Kind;
|
|
@@ -208,8 +205,8 @@ export declare const graphZ: z.ZodObject<{
|
|
|
208
205
|
chanDirection?: import('../types/types.gen').ChanDirection | undefined;
|
|
209
206
|
};
|
|
210
207
|
value?: unknown;
|
|
211
|
-
}[]
|
|
212
|
-
outputs
|
|
208
|
+
}[];
|
|
209
|
+
outputs: {
|
|
213
210
|
name: string;
|
|
214
211
|
type: {
|
|
215
212
|
kind: import('../types/types.gen').Kind;
|
|
@@ -282,17 +279,20 @@ export declare const graphZ: z.ZodObject<{
|
|
|
282
279
|
chanDirection?: import('../types/types.gen').ChanDirection | undefined;
|
|
283
280
|
};
|
|
284
281
|
value?: unknown;
|
|
285
|
-
}[]
|
|
286
|
-
channels
|
|
282
|
+
}[];
|
|
283
|
+
channels: {
|
|
287
284
|
read: Record<number, string>;
|
|
288
285
|
write: Record<number, string>;
|
|
286
|
+
};
|
|
287
|
+
body?: {
|
|
288
|
+
raw: string;
|
|
289
289
|
} | undefined;
|
|
290
|
-
}[], null
|
|
290
|
+
}[], null>>, z.ZodArray<z.ZodObject<{
|
|
291
291
|
key: z.ZodString;
|
|
292
292
|
body: z.ZodOptional<z.ZodObject<{
|
|
293
293
|
raw: z.ZodString;
|
|
294
294
|
}, z.core.$strip>>;
|
|
295
|
-
config: z.
|
|
295
|
+
config: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
|
|
296
296
|
name: string;
|
|
297
297
|
type: {
|
|
298
298
|
kind: import('../types/types.gen').Kind;
|
|
@@ -365,7 +365,7 @@ export declare const graphZ: z.ZodObject<{
|
|
|
365
365
|
chanDirection?: import('../types/types.gen').ChanDirection | undefined;
|
|
366
366
|
};
|
|
367
367
|
value?: unknown;
|
|
368
|
-
}[], null
|
|
368
|
+
}[], null>>, z.ZodArray<z.ZodObject<{
|
|
369
369
|
name: z.ZodString;
|
|
370
370
|
type: z.ZodObject<{
|
|
371
371
|
inputs: z.ZodOptional<typeof import('../types/types.gen').paramsZ>;
|
|
@@ -373,7 +373,7 @@ export declare const graphZ: z.ZodObject<{
|
|
|
373
373
|
config: z.ZodOptional<typeof import('../types/types.gen').paramsZ>;
|
|
374
374
|
kind: z.ZodEnum<typeof import('../types/types.gen').Kind>;
|
|
375
375
|
name: z.ZodString;
|
|
376
|
-
|
|
376
|
+
elem: z.ZodOptional<typeof import('../types/types.gen').typeZ>;
|
|
377
377
|
unit: z.ZodOptional<z.ZodObject<{
|
|
378
378
|
dimensions: z.ZodObject<{
|
|
379
379
|
length: z.ZodInt;
|
|
@@ -388,12 +388,12 @@ export declare const graphZ: z.ZodObject<{
|
|
|
388
388
|
scale: z.ZodNumber;
|
|
389
389
|
name: z.ZodString;
|
|
390
390
|
}, z.core.$strip>>;
|
|
391
|
-
|
|
391
|
+
constraint: z.ZodOptional<typeof import('../types/types.gen').typeZ>;
|
|
392
392
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof import('../types/types.gen').ChanDirection>>;
|
|
393
393
|
}, z.core.$strip>;
|
|
394
394
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
395
395
|
}, z.core.$strip>>]>>;
|
|
396
|
-
inputs: z.
|
|
396
|
+
inputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
|
|
397
397
|
name: string;
|
|
398
398
|
type: {
|
|
399
399
|
kind: import('../types/types.gen').Kind;
|
|
@@ -466,7 +466,7 @@ export declare const graphZ: z.ZodObject<{
|
|
|
466
466
|
chanDirection?: import('../types/types.gen').ChanDirection | undefined;
|
|
467
467
|
};
|
|
468
468
|
value?: unknown;
|
|
469
|
-
}[], null
|
|
469
|
+
}[], null>>, z.ZodArray<z.ZodObject<{
|
|
470
470
|
name: z.ZodString;
|
|
471
471
|
type: z.ZodObject<{
|
|
472
472
|
inputs: z.ZodOptional<typeof import('../types/types.gen').paramsZ>;
|
|
@@ -474,7 +474,7 @@ export declare const graphZ: z.ZodObject<{
|
|
|
474
474
|
config: z.ZodOptional<typeof import('../types/types.gen').paramsZ>;
|
|
475
475
|
kind: z.ZodEnum<typeof import('../types/types.gen').Kind>;
|
|
476
476
|
name: z.ZodString;
|
|
477
|
-
|
|
477
|
+
elem: z.ZodOptional<typeof import('../types/types.gen').typeZ>;
|
|
478
478
|
unit: z.ZodOptional<z.ZodObject<{
|
|
479
479
|
dimensions: z.ZodObject<{
|
|
480
480
|
length: z.ZodInt;
|
|
@@ -489,12 +489,12 @@ export declare const graphZ: z.ZodObject<{
|
|
|
489
489
|
scale: z.ZodNumber;
|
|
490
490
|
name: z.ZodString;
|
|
491
491
|
}, z.core.$strip>>;
|
|
492
|
-
|
|
492
|
+
constraint: z.ZodOptional<typeof import('../types/types.gen').typeZ>;
|
|
493
493
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof import('../types/types.gen').ChanDirection>>;
|
|
494
494
|
}, z.core.$strip>;
|
|
495
495
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
496
496
|
}, z.core.$strip>>]>>;
|
|
497
|
-
outputs: z.
|
|
497
|
+
outputs: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
|
|
498
498
|
name: string;
|
|
499
499
|
type: {
|
|
500
500
|
kind: import('../types/types.gen').Kind;
|
|
@@ -567,7 +567,7 @@ export declare const graphZ: z.ZodObject<{
|
|
|
567
567
|
chanDirection?: import('../types/types.gen').ChanDirection | undefined;
|
|
568
568
|
};
|
|
569
569
|
value?: unknown;
|
|
570
|
-
}[], null
|
|
570
|
+
}[], null>>, z.ZodArray<z.ZodObject<{
|
|
571
571
|
name: z.ZodString;
|
|
572
572
|
type: z.ZodObject<{
|
|
573
573
|
inputs: z.ZodOptional<typeof import('../types/types.gen').paramsZ>;
|
|
@@ -575,7 +575,7 @@ export declare const graphZ: z.ZodObject<{
|
|
|
575
575
|
config: z.ZodOptional<typeof import('../types/types.gen').paramsZ>;
|
|
576
576
|
kind: z.ZodEnum<typeof import('../types/types.gen').Kind>;
|
|
577
577
|
name: z.ZodString;
|
|
578
|
-
|
|
578
|
+
elem: z.ZodOptional<typeof import('../types/types.gen').typeZ>;
|
|
579
579
|
unit: z.ZodOptional<z.ZodObject<{
|
|
580
580
|
dimensions: z.ZodObject<{
|
|
581
581
|
length: z.ZodInt;
|
|
@@ -590,17 +590,17 @@ export declare const graphZ: z.ZodObject<{
|
|
|
590
590
|
scale: z.ZodNumber;
|
|
591
591
|
name: z.ZodString;
|
|
592
592
|
}, z.core.$strip>>;
|
|
593
|
-
|
|
593
|
+
constraint: z.ZodOptional<typeof import('../types/types.gen').typeZ>;
|
|
594
594
|
chanDirection: z.ZodOptional<z.ZodEnum<typeof import('../types/types.gen').ChanDirection>>;
|
|
595
595
|
}, z.core.$strip>;
|
|
596
596
|
value: z.ZodOptional<z.ZodUnknown>;
|
|
597
597
|
}, z.core.$strip>>]>>;
|
|
598
|
-
channels: z.
|
|
599
|
-
read: z.
|
|
600
|
-
write: z.
|
|
601
|
-
}, z.core.$strip
|
|
602
|
-
}, z.core.$strip>>]
|
|
603
|
-
edges: z.ZodUnion<readonly [z.ZodPipe<z.
|
|
598
|
+
channels: z.ZodObject<{
|
|
599
|
+
read: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
|
|
600
|
+
write: z.ZodType<Record<number, string>, unknown, z.core.$ZodTypeInternals<Record<number, string>, unknown>>;
|
|
601
|
+
}, z.core.$strip>;
|
|
602
|
+
}, z.core.$strip>>]>>;
|
|
603
|
+
edges: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
|
|
604
604
|
source: {
|
|
605
605
|
node: string;
|
|
606
606
|
param: string;
|
|
@@ -609,8 +609,8 @@ export declare const graphZ: z.ZodObject<{
|
|
|
609
609
|
node: string;
|
|
610
610
|
param: string;
|
|
611
611
|
};
|
|
612
|
-
kind
|
|
613
|
-
}[], null
|
|
612
|
+
kind: ir.EdgeKind;
|
|
613
|
+
}[], null>>, z.ZodArray<z.ZodObject<{
|
|
614
614
|
source: z.ZodObject<{
|
|
615
615
|
node: z.ZodString;
|
|
616
616
|
param: z.ZodString;
|
|
@@ -619,9 +619,9 @@ export declare const graphZ: z.ZodObject<{
|
|
|
619
619
|
node: z.ZodString;
|
|
620
620
|
param: z.ZodString;
|
|
621
621
|
}, z.core.$strip>;
|
|
622
|
-
kind: z.
|
|
623
|
-
}, z.core.$strip>>]
|
|
624
|
-
nodes: z.ZodUnion<readonly [z.ZodPipe<z.
|
|
622
|
+
kind: z.ZodEnum<typeof ir.EdgeKind>;
|
|
623
|
+
}, z.core.$strip>>]>>;
|
|
624
|
+
nodes: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodNull, z.ZodTransform<{
|
|
625
625
|
key: string;
|
|
626
626
|
type: string;
|
|
627
627
|
config: record.Unknown;
|
|
@@ -629,7 +629,7 @@ export declare const graphZ: z.ZodObject<{
|
|
|
629
629
|
x: number;
|
|
630
630
|
y: number;
|
|
631
631
|
};
|
|
632
|
-
}[], null
|
|
632
|
+
}[], null>>, z.ZodArray<z.ZodObject<{
|
|
633
633
|
key: z.ZodString;
|
|
634
634
|
type: z.ZodString;
|
|
635
635
|
config: z.ZodType<record.Unknown, unknown, z.core.$ZodTypeInternals<record.Unknown, unknown>>;
|
|
@@ -637,7 +637,7 @@ export declare const graphZ: z.ZodObject<{
|
|
|
637
637
|
x: z.ZodNumber;
|
|
638
638
|
y: z.ZodNumber;
|
|
639
639
|
}, z.core.$strip>;
|
|
640
|
-
}, z.core.$strip>>]
|
|
640
|
+
}, z.core.$strip>>]>>;
|
|
641
641
|
}, z.core.$strip>;
|
|
642
642
|
export interface Graph extends z.infer<typeof graphZ> {
|
|
643
643
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../../src/arc/graph/types.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAS,MAAM,EAAW,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAE9B;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;;;;;iBAShB,CAAC;AACH,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC;CAAG;AAEtD,4EAA4E;AAC5E,eAAO,MAAM,SAAS;;;;;;iBAKpB,CAAC;AACH,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC;CAAG;AAE9D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../../src/arc/graph/types.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAS,MAAM,EAAW,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAE9B;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;;;;;iBAShB,CAAC;AACH,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC;CAAG;AAEtD,4EAA4E;AAC5E,eAAO,MAAM,SAAS;;;;;;iBAKpB,CAAC;AACH,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC;CAAG;AAE9D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;qBAA8B,CAAC;AAClD,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBASjB,CAAC;AACH,MAAM,WAAW,KAAM,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC;CAAG"}
|