@synnaxlabs/client 0.50.0 → 0.53.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 +7 -7
- package/dist/client.cjs +58 -34
- package/dist/client.js +5368 -4546
- package/dist/eslint.config.d.ts +2 -2
- package/dist/eslint.config.d.ts.map +1 -1
- package/dist/src/access/policy/client.d.ts +90 -90
- package/dist/src/access/policy/payload.d.ts +17 -17
- package/dist/src/access/role/payload.d.ts +2 -2
- package/dist/src/arc/payload.d.ts +2 -2
- package/dist/src/channel/client.d.ts +4 -5
- package/dist/src/channel/client.d.ts.map +1 -1
- package/dist/src/channel/payload.d.ts +9 -11
- package/dist/src/channel/payload.d.ts.map +1 -1
- package/dist/src/channel/retriever.d.ts.map +1 -1
- package/dist/src/client.d.ts +10 -0
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/device/client.d.ts +14 -7
- package/dist/src/device/client.d.ts.map +1 -1
- package/dist/src/device/payload.d.ts +65 -32
- package/dist/src/device/payload.d.ts.map +1 -1
- package/dist/src/device/payload.spec.d.ts +2 -0
- package/dist/src/device/payload.spec.d.ts.map +1 -0
- package/dist/src/framer/adapter.d.ts.map +1 -1
- package/dist/src/framer/client.d.ts +2 -2
- package/dist/src/framer/frame.d.ts +5 -5
- package/dist/src/framer/frame.d.ts.map +1 -1
- package/dist/src/framer/streamer.d.ts +6 -6
- package/dist/src/framer/writer.d.ts +9 -9
- package/dist/src/group/access.spec.d.ts.map +1 -0
- package/dist/src/{ontology/group → group}/client.d.ts +3 -3
- package/dist/src/group/client.d.ts.map +1 -0
- package/dist/src/group/external.d.ts.map +1 -0
- package/dist/src/group/group.spec.d.ts.map +1 -0
- package/dist/src/group/index.d.ts.map +1 -0
- package/dist/src/{ontology/group → group}/payload.d.ts +1 -1
- package/dist/src/group/payload.d.ts.map +1 -0
- package/dist/src/index.d.ts +5 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/label/client.d.ts +27 -13
- package/dist/src/label/client.d.ts.map +1 -1
- package/dist/src/label/payload.d.ts +15 -1
- package/dist/src/label/payload.d.ts.map +1 -1
- package/dist/src/lineplot/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/lineplot → lineplot}/client.d.ts +6 -6
- package/dist/src/lineplot/client.d.ts.map +1 -0
- package/dist/src/lineplot/external.d.ts.map +1 -0
- package/dist/src/lineplot/index.d.ts.map +1 -0
- package/dist/src/lineplot/lineplot.spec.d.ts.map +1 -0
- package/dist/src/lineplot/payload.d.ts.map +1 -0
- package/dist/src/log/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/log → log}/client.d.ts +6 -6
- package/dist/src/log/client.d.ts.map +1 -0
- package/dist/src/log/external.d.ts.map +1 -0
- package/dist/src/log/index.d.ts.map +1 -0
- package/dist/src/log/log.spec.d.ts.map +1 -0
- package/dist/src/log/payload.d.ts.map +1 -0
- package/dist/src/ontology/client.d.ts +6 -10
- package/dist/src/ontology/client.d.ts.map +1 -1
- package/dist/src/ontology/payload.d.ts +22 -22
- package/dist/src/ontology/writer.d.ts +15 -15
- package/dist/src/rack/client.d.ts +3 -3
- package/dist/src/rack/client.d.ts.map +1 -1
- package/dist/src/rack/payload.d.ts +44 -16
- package/dist/src/rack/payload.d.ts.map +1 -1
- package/dist/src/ranger/alias/client.d.ts +17 -0
- package/dist/src/ranger/alias/client.d.ts.map +1 -0
- package/dist/src/ranger/alias/external.d.ts +2 -0
- package/dist/src/ranger/alias/external.d.ts.map +1 -0
- package/dist/src/ranger/alias/index.d.ts +2 -0
- package/dist/src/ranger/alias/index.d.ts.map +1 -0
- package/dist/src/ranger/{alias.d.ts → alias/payload.d.ts} +14 -20
- package/dist/src/ranger/alias/payload.d.ts.map +1 -0
- package/dist/src/ranger/client.d.ts +10 -10
- package/dist/src/ranger/client.d.ts.map +1 -1
- package/dist/src/ranger/external.d.ts +20 -0
- package/dist/src/ranger/external.d.ts.map +1 -1
- package/dist/src/ranger/kv/client.d.ts +14 -0
- package/dist/src/ranger/kv/client.d.ts.map +1 -0
- package/dist/src/ranger/kv/external.d.ts +2 -0
- package/dist/src/ranger/kv/external.d.ts.map +1 -0
- package/dist/src/ranger/kv/index.d.ts +2 -0
- package/dist/src/ranger/kv/index.d.ts.map +1 -0
- package/dist/src/ranger/kv/payload.d.ts +26 -0
- package/dist/src/ranger/kv/payload.d.ts.map +1 -0
- package/dist/src/ranger/payload.d.ts +45 -3
- package/dist/src/ranger/payload.d.ts.map +1 -1
- package/dist/src/ranger/writer.d.ts +18 -4
- package/dist/src/ranger/writer.d.ts.map +1 -1
- package/dist/src/schematic/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/schematic → schematic}/client.d.ts +6 -6
- package/dist/src/schematic/client.d.ts.map +1 -0
- package/dist/src/schematic/external.d.ts.map +1 -0
- package/dist/src/schematic/index.d.ts.map +1 -0
- package/dist/src/schematic/payload.d.ts.map +1 -0
- package/dist/src/schematic/schematic.spec.d.ts.map +1 -0
- package/dist/src/schematic/symbol/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/schematic → schematic}/symbol/client.d.ts +2 -2
- package/dist/src/schematic/symbol/client.d.ts.map +1 -0
- package/dist/src/schematic/symbol/client.spec.d.ts.map +1 -0
- package/dist/src/schematic/symbol/external.d.ts.map +1 -0
- package/dist/src/schematic/symbol/index.d.ts.map +1 -0
- package/dist/src/schematic/symbol/payload.d.ts.map +1 -0
- package/dist/src/status/payload.d.ts +43 -7
- package/dist/src/status/payload.d.ts.map +1 -1
- package/dist/src/table/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/table → table}/client.d.ts +6 -6
- package/dist/src/table/client.d.ts.map +1 -0
- package/dist/src/table/external.d.ts.map +1 -0
- package/dist/src/table/index.d.ts.map +1 -0
- package/dist/src/table/payload.d.ts.map +1 -0
- package/dist/src/table/table.spec.d.ts.map +1 -0
- package/dist/src/task/client.d.ts +19 -21
- package/dist/src/task/client.d.ts.map +1 -1
- package/dist/src/task/payload.d.ts +32 -27
- package/dist/src/task/payload.d.ts.map +1 -1
- package/dist/src/user/client.d.ts +2 -2
- package/dist/src/view/client.d.ts +2 -2
- package/dist/src/workspace/client.d.ts +2 -10
- package/dist/src/workspace/client.d.ts.map +1 -1
- package/eslint.config.ts +2 -3
- package/package.json +10 -9
- package/src/arc/lsp.spec.ts +155 -283
- package/src/channel/client.ts +3 -5
- package/src/channel/payload.spec.ts +0 -57
- package/src/channel/payload.ts +7 -14
- package/src/channel/retriever.ts +2 -3
- package/src/client.ts +16 -1
- package/src/device/client.ts +89 -43
- package/src/device/payload.spec.ts +118 -0
- package/src/device/payload.ts +55 -30
- package/src/errors.spec.ts +1 -1
- package/src/framer/adapter.ts +5 -7
- package/src/framer/frame.ts +8 -8
- package/src/{ontology/group → group}/access.spec.ts +7 -7
- package/src/{ontology/group → group}/client.ts +1 -1
- package/src/group/external.ts +11 -0
- package/src/{ontology/group → group}/group.spec.ts +9 -9
- package/src/{workspace/log → group}/index.ts +1 -1
- package/src/index.ts +5 -5
- package/src/label/access.spec.ts +1 -1
- package/src/label/client.ts +1 -1
- package/src/label/label.spec.ts +4 -4
- package/src/{workspace/lineplot → lineplot}/access.spec.ts +14 -14
- package/src/{workspace/lineplot → lineplot}/client.ts +13 -13
- package/src/lineplot/external.ts +11 -0
- package/src/{ontology/group → lineplot}/index.ts +1 -1
- package/src/{workspace/lineplot → lineplot}/lineplot.spec.ts +12 -12
- package/src/{workspace/log → log}/access.spec.ts +16 -18
- package/src/{workspace/log → log}/client.ts +13 -13
- package/src/{workspace/schematic/index.ts → log/external.ts} +2 -1
- package/src/{workspace/table → log}/index.ts +1 -1
- package/src/{workspace/log → log}/log.spec.ts +10 -10
- package/src/ontology/client.ts +1 -7
- package/src/ontology/ontology.spec.ts +12 -12
- package/src/rack/client.ts +10 -21
- package/src/ranger/{alias.ts → alias/client.ts} +6 -37
- package/src/{workspace/lineplot → ranger/alias}/external.ts +10 -2
- package/src/{workspace/lineplot → ranger/alias}/index.ts +1 -1
- package/src/ranger/alias/payload.ts +50 -0
- package/src/ranger/client.ts +26 -19
- package/src/ranger/external.ts +22 -0
- package/src/ranger/{kv.ts → kv/client.ts} +5 -19
- package/src/{workspace/schematic → ranger/kv}/external.ts +7 -3
- package/src/ranger/kv/index.ts +10 -0
- package/src/ranger/kv/payload.ts +32 -0
- package/src/ranger/payload.ts +2 -2
- package/src/ranger/ranger.spec.ts +1 -1
- package/src/{workspace/schematic → schematic}/access.spec.ts +14 -14
- package/src/{workspace/schematic → schematic}/client.ts +14 -14
- package/src/{workspace/log → schematic}/external.ts +3 -2
- package/src/schematic/index.ts +10 -0
- package/src/{workspace/schematic → schematic}/schematic.spec.ts +17 -17
- package/src/{workspace/schematic → schematic}/symbol/access.spec.ts +19 -19
- package/src/{workspace/schematic → schematic}/symbol/client.spec.ts +16 -16
- package/src/{workspace/schematic → schematic}/symbol/client.ts +8 -8
- package/src/{ontology/group → schematic/symbol}/external.ts +2 -2
- package/src/schematic/symbol/index.ts +10 -0
- package/src/status/payload.ts +1 -1
- package/src/status/status.spec.ts +2 -2
- package/src/{workspace/table → table}/access.spec.ts +14 -14
- package/src/{workspace/table → table}/client.ts +15 -12
- package/src/table/external.ts +11 -0
- package/src/table/index.ts +10 -0
- package/src/{workspace/table → table}/table.spec.ts +12 -12
- package/src/task/client.ts +56 -148
- package/src/task/payload.ts +34 -58
- package/src/workspace/client.ts +0 -12
- package/dist/src/ontology/group/access.spec.d.ts.map +0 -1
- package/dist/src/ontology/group/client.d.ts.map +0 -1
- package/dist/src/ontology/group/external.d.ts.map +0 -1
- package/dist/src/ontology/group/group.spec.d.ts.map +0 -1
- package/dist/src/ontology/group/index.d.ts.map +0 -1
- package/dist/src/ontology/group/payload.d.ts.map +0 -1
- package/dist/src/ranger/alias.d.ts.map +0 -1
- package/dist/src/ranger/kv.d.ts +0 -48
- package/dist/src/ranger/kv.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/client.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/external.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/index.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/lineplot.spec.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/payload.d.ts.map +0 -1
- package/dist/src/workspace/log/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/log/client.d.ts.map +0 -1
- package/dist/src/workspace/log/external.d.ts.map +0 -1
- package/dist/src/workspace/log/index.d.ts.map +0 -1
- package/dist/src/workspace/log/log.spec.d.ts.map +0 -1
- package/dist/src/workspace/log/payload.d.ts.map +0 -1
- package/dist/src/workspace/schematic/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/client.d.ts.map +0 -1
- package/dist/src/workspace/schematic/external.d.ts.map +0 -1
- package/dist/src/workspace/schematic/index.d.ts.map +0 -1
- package/dist/src/workspace/schematic/payload.d.ts.map +0 -1
- package/dist/src/workspace/schematic/schematic.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/client.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/client.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/external.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/index.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/payload.d.ts.map +0 -1
- package/dist/src/workspace/table/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/table/client.d.ts.map +0 -1
- package/dist/src/workspace/table/external.d.ts.map +0 -1
- package/dist/src/workspace/table/index.d.ts.map +0 -1
- package/dist/src/workspace/table/payload.d.ts.map +0 -1
- package/dist/src/workspace/table/table.spec.d.ts.map +0 -1
- package/src/workspace/schematic/symbol/external.ts +0 -11
- package/src/workspace/schematic/symbol/index.ts +0 -10
- package/src/workspace/table/external.ts +0 -11
- /package/dist/src/{ontology/group → group}/access.spec.d.ts +0 -0
- /package/dist/src/{ontology/group → group}/external.d.ts +0 -0
- /package/dist/src/{ontology/group → group}/group.spec.d.ts +0 -0
- /package/dist/src/{ontology/group → group}/index.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/external.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/index.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/lineplot.spec.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/payload.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/external.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/index.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/log.spec.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/payload.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/external.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/index.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/payload.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/schematic.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/client.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/external.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/index.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/payload.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/external.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/index.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/payload.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/table.spec.d.ts +0 -0
- /package/src/{ontology/group → group}/payload.ts +0 -0
- /package/src/{workspace/lineplot → lineplot}/payload.ts +0 -0
- /package/src/{workspace/log → log}/payload.ts +0 -0
- /package/src/{workspace/schematic → schematic}/payload.ts +0 -0
- /package/src/{workspace/schematic → schematic}/symbol/payload.ts +0 -0
- /package/src/{workspace/table → table}/payload.ts +0 -0
|
@@ -6,20 +6,33 @@ export declare const SET_CHANNEL_NAME = "sy_label_set";
|
|
|
6
6
|
export declare const DELETE_CHANNEL_NAME = "sy_label_delete";
|
|
7
7
|
export declare const newZ: z.ZodObject<{
|
|
8
8
|
name: z.ZodString;
|
|
9
|
-
color: z.ZodString
|
|
9
|
+
color: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
10
|
+
rgba255: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
11
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12
|
+
r: z.ZodNumber;
|
|
13
|
+
g: z.ZodNumber;
|
|
14
|
+
b: z.ZodNumber;
|
|
15
|
+
a: z.ZodNumber;
|
|
16
|
+
}, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number] | {
|
|
17
|
+
r: number;
|
|
18
|
+
g: number;
|
|
19
|
+
b: number;
|
|
20
|
+
a: number;
|
|
21
|
+
} | [number, number, number, number] | {
|
|
22
|
+
rgba255: [number, number, number, number];
|
|
23
|
+
}>>;
|
|
10
24
|
key: z.ZodOptional<z.ZodUUID>;
|
|
11
25
|
}, z.core.$strip>;
|
|
12
|
-
export interface New extends z.
|
|
26
|
+
export interface New extends z.input<typeof newZ> {
|
|
13
27
|
}
|
|
14
28
|
declare const setReqZ: z.ZodObject<{
|
|
15
29
|
id: z.ZodUnion<[z.ZodObject<{
|
|
16
30
|
type: z.ZodEnum<{
|
|
17
|
-
channel: "channel";
|
|
18
|
-
status: "status";
|
|
19
31
|
label: "label";
|
|
20
32
|
log: "log";
|
|
21
33
|
builtin: "builtin";
|
|
22
34
|
cluster: "cluster";
|
|
35
|
+
channel: "channel";
|
|
23
36
|
node: "node";
|
|
24
37
|
group: "group";
|
|
25
38
|
range: "range";
|
|
@@ -37,11 +50,12 @@ declare const setReqZ: z.ZodObject<{
|
|
|
37
50
|
table: "table";
|
|
38
51
|
arc: "arc";
|
|
39
52
|
schematic_symbol: "schematic_symbol";
|
|
53
|
+
status: "status";
|
|
40
54
|
view: "view";
|
|
41
55
|
}>;
|
|
42
56
|
key: z.ZodString;
|
|
43
57
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
44
|
-
type: "
|
|
58
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
45
59
|
key: string;
|
|
46
60
|
}, string>>]>;
|
|
47
61
|
labels: z.ZodArray<z.ZodUUID>;
|
|
@@ -56,12 +70,11 @@ declare const retrieveRequestZ: z.ZodObject<{
|
|
|
56
70
|
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
71
|
for: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
58
72
|
type: z.ZodEnum<{
|
|
59
|
-
channel: "channel";
|
|
60
|
-
status: "status";
|
|
61
73
|
label: "label";
|
|
62
74
|
log: "log";
|
|
63
75
|
builtin: "builtin";
|
|
64
76
|
cluster: "cluster";
|
|
77
|
+
channel: "channel";
|
|
65
78
|
node: "node";
|
|
66
79
|
group: "group";
|
|
67
80
|
range: "range";
|
|
@@ -79,11 +92,12 @@ declare const retrieveRequestZ: z.ZodObject<{
|
|
|
79
92
|
table: "table";
|
|
80
93
|
arc: "arc";
|
|
81
94
|
schematic_symbol: "schematic_symbol";
|
|
95
|
+
status: "status";
|
|
82
96
|
view: "view";
|
|
83
97
|
}>;
|
|
84
98
|
key: z.ZodString;
|
|
85
99
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
86
|
-
type: "
|
|
100
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
87
101
|
key: string;
|
|
88
102
|
}, string>>]>>;
|
|
89
103
|
searchTerm: z.ZodOptional<z.ZodString>;
|
|
@@ -108,12 +122,11 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
108
122
|
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
109
123
|
for: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
110
124
|
type: z.ZodEnum<{
|
|
111
|
-
channel: "channel";
|
|
112
|
-
status: "status";
|
|
113
125
|
label: "label";
|
|
114
126
|
log: "log";
|
|
115
127
|
builtin: "builtin";
|
|
116
128
|
cluster: "cluster";
|
|
129
|
+
channel: "channel";
|
|
117
130
|
node: "node";
|
|
118
131
|
group: "group";
|
|
119
132
|
range: "range";
|
|
@@ -131,11 +144,12 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
131
144
|
table: "table";
|
|
132
145
|
arc: "arc";
|
|
133
146
|
schematic_symbol: "schematic_symbol";
|
|
147
|
+
status: "status";
|
|
134
148
|
view: "view";
|
|
135
149
|
}>;
|
|
136
150
|
key: z.ZodString;
|
|
137
151
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
138
|
-
type: "
|
|
152
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
139
153
|
key: string;
|
|
140
154
|
}, string>>]>>;
|
|
141
155
|
searchTerm: z.ZodOptional<z.ZodString>;
|
|
@@ -159,10 +173,10 @@ export declare class Client {
|
|
|
159
173
|
}
|
|
160
174
|
export declare const ontologyID: ontology.CreateID<string>;
|
|
161
175
|
export declare const TYPE_ONTOLOGY_ID: {
|
|
162
|
-
type: "
|
|
176
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
163
177
|
key: string;
|
|
164
178
|
} | {
|
|
165
|
-
type: "
|
|
179
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
166
180
|
key: string;
|
|
167
181
|
};
|
|
168
182
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/label/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,KAAK,GAAG,EAAQ,KAAK,KAAK,EAAU,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AAErD,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/label/client.ts"],"names":[],"mappings":"A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MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC;IACpD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;IAcxD,KAAK,CAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,IAAI,GAAE,UAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAU3E,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAUrD,MAAM,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC;IAClC,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;IAavC,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAS/C;AAED,eAAO,MAAM,UAAU,2BAAyC,CAAC;AACjE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
|
@@ -5,7 +5,21 @@ export type Key = label.Key;
|
|
|
5
5
|
export declare const labelZ: import('zod').ZodObject<{
|
|
6
6
|
key: import('zod').ZodUUID;
|
|
7
7
|
name: import('zod').ZodString;
|
|
8
|
-
color: import('zod').ZodString
|
|
8
|
+
color: import('zod').ZodPipe<import('zod').ZodUnion<readonly [import('zod').ZodString, import('zod').ZodTuple<[import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber], null>, import('zod').ZodTuple<[import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber], null>, import('zod').ZodTuple<[import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber], null>, import('zod').ZodObject<{
|
|
9
|
+
rgba255: import('zod').ZodTuple<[import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber, import('zod').ZodNumber], null>;
|
|
10
|
+
}, import('zod/v4/core').$strip>, import('zod').ZodObject<{
|
|
11
|
+
r: import('zod').ZodNumber;
|
|
12
|
+
g: import('zod').ZodNumber;
|
|
13
|
+
b: import('zod').ZodNumber;
|
|
14
|
+
a: import('zod').ZodNumber;
|
|
15
|
+
}, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number] | {
|
|
16
|
+
r: number;
|
|
17
|
+
g: number;
|
|
18
|
+
b: number;
|
|
19
|
+
a: number;
|
|
20
|
+
} | [number, number, number, number] | {
|
|
21
|
+
rgba255: [number, number, number, number];
|
|
22
|
+
}>>;
|
|
9
23
|
}, import('zod/v4/core').$strip>;
|
|
10
24
|
export type Label = label.Label;
|
|
11
25
|
export declare const LABELED_BY_ONTOLOGY_RELATIONSHIP_TYPE = "labeled_by";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/label/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;AAE7C,eAAO,MAAM,IAAI,uBAAa,CAAC;AAC/B,MAAM,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC;AAC5B,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/label/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;AAE7C,eAAO,MAAM,IAAI,uBAAa,CAAC;AAC/B,MAAM,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC;AAC5B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;gCAAe,CAAC;AACnC,MAAM,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;AAEhC,eAAO,MAAM,qCAAqC,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access.spec.d.ts","sourceRoot":"","sources":["../../../src/lineplot/access.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
2
|
import { record } from '@synnaxlabs/x';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { ontology } from '../../ontology';
|
|
5
4
|
import { Key, LinePlot, New, Params } from './payload';
|
|
6
|
-
import {
|
|
5
|
+
import { ontology } from '../ontology';
|
|
6
|
+
import { workspace } from '../workspace';
|
|
7
7
|
declare const retrieveReqZ: z.ZodObject<{
|
|
8
8
|
keys: z.ZodArray<z.ZodUUID>;
|
|
9
9
|
}, z.core.$strip>;
|
|
@@ -29,8 +29,8 @@ export type RetrieveMultipleParams = z.input<typeof retrieveReqZ>;
|
|
|
29
29
|
export declare class Client {
|
|
30
30
|
private readonly client;
|
|
31
31
|
constructor(client: UnaryClient);
|
|
32
|
-
create(workspace:
|
|
33
|
-
create(workspace:
|
|
32
|
+
create(workspace: workspace.Key, linePlot: New): Promise<LinePlot>;
|
|
33
|
+
create(workspace: workspace.Key, linePlots: New[]): Promise<LinePlot[]>;
|
|
34
34
|
rename(key: Key, name: string): Promise<void>;
|
|
35
35
|
setData(key: Key, data: record.Unknown): Promise<void>;
|
|
36
36
|
retrieve(args: RetrieveSingleParams): Promise<LinePlot>;
|
|
@@ -39,10 +39,10 @@ export declare class Client {
|
|
|
39
39
|
}
|
|
40
40
|
export declare const ontologyID: ontology.CreateID<string>;
|
|
41
41
|
export declare const TYPE_ONTOLOGY_ID: {
|
|
42
|
-
type: "
|
|
42
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
43
43
|
key: string;
|
|
44
44
|
} | {
|
|
45
|
-
type: "
|
|
45
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
46
46
|
key: string;
|
|
47
47
|
};
|
|
48
48
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/lineplot/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAS,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EAER,KAAK,QAAQ,EAEb,KAAK,GAAG,EAER,KAAK,MAAM,EACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAOxC,QAAA,MAAM,YAAY;;iBAAmC,CAAC;AACtD,QAAA,MAAM,mBAAmB;;;;;;GAEmB,CAAC;AAE7C,eAAO,MAAM,aAAa;;;;;;;;mBAA+C,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACzD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACvE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AASlE,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC;IAClE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAgBvE,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU7C,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAUtD,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC;IACvD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAgB3D,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAS1C;AAED,eAAO,MAAM,UAAU,2BAA4C,CAAC;AACpE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/lineplot/external.ts"],"names":[],"mappings":"AASA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lineplot/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineplot.spec.d.ts","sourceRoot":"","sources":["../../../src/lineplot/lineplot.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/lineplot/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;AAEjC,eAAO,MAAM,SAAS;;;;iBAIpB,CAAC;AACH,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC;CAAG;AAE9D,eAAO,MAAM,IAAI;;;;;;;;;;;;GAE4C,CAAC;AAC9D,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access.spec.d.ts","sourceRoot":"","sources":["../../../src/log/access.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
2
|
import { record } from '@synnaxlabs/x';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { ontology } from '../../ontology';
|
|
5
4
|
import { Key, Log, New, Params } from './payload';
|
|
6
|
-
import {
|
|
5
|
+
import { ontology } from '../ontology';
|
|
6
|
+
import { workspace } from '../workspace';
|
|
7
7
|
declare const retrieveReqZ: z.ZodObject<{
|
|
8
8
|
keys: z.ZodArray<z.ZodUUID>;
|
|
9
9
|
}, z.core.$strip>;
|
|
@@ -29,8 +29,8 @@ export type RetrieveMultipleParams = z.input<typeof retrieveReqZ>;
|
|
|
29
29
|
export declare class Client {
|
|
30
30
|
private readonly client;
|
|
31
31
|
constructor(client: UnaryClient);
|
|
32
|
-
create(workspace:
|
|
33
|
-
create(workspace:
|
|
32
|
+
create(workspace: workspace.Key, log: New): Promise<Log>;
|
|
33
|
+
create(workspace: workspace.Key, logs: New[]): Promise<Log[]>;
|
|
34
34
|
rename(key: Key, name: string): Promise<void>;
|
|
35
35
|
setData(key: Key, data: record.Unknown): Promise<void>;
|
|
36
36
|
retrieve(args: RetrieveSingleParams): Promise<Log>;
|
|
@@ -39,10 +39,10 @@ export declare class Client {
|
|
|
39
39
|
}
|
|
40
40
|
export declare const ontologyID: ontology.CreateID<string>;
|
|
41
41
|
export declare const TYPE_ONTOLOGY_ID: {
|
|
42
|
-
type: "
|
|
42
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
43
43
|
key: string;
|
|
44
44
|
} | {
|
|
45
|
-
type: "
|
|
45
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
46
46
|
key: string;
|
|
47
47
|
};
|
|
48
48
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/log/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAS,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EAER,KAAK,GAAG,EAER,KAAK,GAAG,EAER,KAAK,MAAM,EACZ,MAAM,e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U,2BAAuC,CAAC;AAC/D,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/log/external.ts"],"names":[],"mappings":"AASA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/log/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.spec.d.ts","sourceRoot":"","sources":["../../../src/log/log.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/log/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;AAEjC,eAAO,MAAM,IAAI;;;;iBAIf,CAAC;AACH,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEpD,eAAO,MAAM,IAAI;;;;;;;;;;;;GAE4C,CAAC;AAC9D,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { framer } from '../framer';
|
|
4
|
-
import { group } from './group';
|
|
5
3
|
import { ID, Resource } from './payload';
|
|
6
4
|
declare const retrieveReqZ: z.ZodObject<{
|
|
7
5
|
ids: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8
6
|
type: z.ZodEnum<{
|
|
9
|
-
channel: "channel";
|
|
10
|
-
status: "status";
|
|
11
7
|
label: "label";
|
|
12
8
|
log: "log";
|
|
13
9
|
builtin: "builtin";
|
|
14
10
|
cluster: "cluster";
|
|
11
|
+
channel: "channel";
|
|
15
12
|
node: "node";
|
|
16
13
|
group: "group";
|
|
17
14
|
range: "range";
|
|
@@ -29,23 +26,23 @@ declare const retrieveReqZ: z.ZodObject<{
|
|
|
29
26
|
table: "table";
|
|
30
27
|
arc: "arc";
|
|
31
28
|
schematic_symbol: "schematic_symbol";
|
|
29
|
+
status: "status";
|
|
32
30
|
view: "view";
|
|
33
31
|
}>;
|
|
34
32
|
key: z.ZodString;
|
|
35
33
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
36
|
-
type: "
|
|
34
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
37
35
|
key: string;
|
|
38
36
|
}, string>>]>>>;
|
|
39
37
|
children: z.ZodOptional<z.ZodBoolean>;
|
|
40
38
|
parents: z.ZodOptional<z.ZodBoolean>;
|
|
41
39
|
excludeFieldData: z.ZodOptional<z.ZodBoolean>;
|
|
42
40
|
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
43
|
-
channel: "channel";
|
|
44
|
-
status: "status";
|
|
45
41
|
label: "label";
|
|
46
42
|
log: "log";
|
|
47
43
|
builtin: "builtin";
|
|
48
44
|
cluster: "cluster";
|
|
45
|
+
channel: "channel";
|
|
49
46
|
node: "node";
|
|
50
47
|
group: "group";
|
|
51
48
|
range: "range";
|
|
@@ -63,6 +60,7 @@ declare const retrieveReqZ: z.ZodObject<{
|
|
|
63
60
|
table: "table";
|
|
64
61
|
arc: "arc";
|
|
65
62
|
schematic_symbol: "schematic_symbol";
|
|
63
|
+
status: "status";
|
|
66
64
|
view: "view";
|
|
67
65
|
}>>>;
|
|
68
66
|
searchTerm: z.ZodOptional<z.ZodString>;
|
|
@@ -76,11 +74,9 @@ export interface RetrieveOptions extends Pick<RetrieveRequest, "excludeFieldData
|
|
|
76
74
|
/** The main client class for executing queries against a Synnax cluster ontology */
|
|
77
75
|
export declare class Client {
|
|
78
76
|
readonly type: string;
|
|
79
|
-
groups: group.Client;
|
|
80
77
|
private readonly client;
|
|
81
78
|
private readonly writer;
|
|
82
|
-
|
|
83
|
-
constructor(unary: UnaryClient, framer: framer.Client);
|
|
79
|
+
constructor(unary: UnaryClient);
|
|
84
80
|
/**
|
|
85
81
|
* Retrieves the resource in the ontology with the given ID.
|
|
86
82
|
* @param id - The ID of the resource to retrieve.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/ontology/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/ontology/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EACL,KAAK,EAAE,EAIP,KAAK,QAAQ,EAGd,MAAM,oBAAoB,CAAC;AAG5B,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAShB,CAAC;AAC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9D;;;;;OAKG;IACG,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,QAAQ,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;YAIxD,YAAY;CAU3B;AAED,eAAO,MAAM,yBAAyB,6BAA6B,CAAC;AACpE,eAAO,MAAM,4BAA4B,gCAAgC,CAAC;AAC1E,eAAO,MAAM,6BAA6B,iCAAiC,CAAC;AAC5E,eAAO,MAAM,gCAAgC,oCAAoC,CAAC"}
|
|
@@ -13,12 +13,11 @@ export interface RelationshipDelete extends change.Delete<Relationship, undefine
|
|
|
13
13
|
export interface RelationshipDelete extends change.Delete<Relationship, undefined> {
|
|
14
14
|
}
|
|
15
15
|
export declare const resourceTypeZ: z.ZodEnum<{
|
|
16
|
-
channel: "channel";
|
|
17
|
-
status: "status";
|
|
18
16
|
label: "label";
|
|
19
17
|
log: "log";
|
|
20
18
|
builtin: "builtin";
|
|
21
19
|
cluster: "cluster";
|
|
20
|
+
channel: "channel";
|
|
22
21
|
node: "node";
|
|
23
22
|
group: "group";
|
|
24
23
|
range: "range";
|
|
@@ -36,17 +35,17 @@ export declare const resourceTypeZ: z.ZodEnum<{
|
|
|
36
35
|
table: "table";
|
|
37
36
|
arc: "arc";
|
|
38
37
|
schematic_symbol: "schematic_symbol";
|
|
38
|
+
status: "status";
|
|
39
39
|
view: "view";
|
|
40
40
|
}>;
|
|
41
41
|
export type ResourceType = z.infer<typeof resourceTypeZ>;
|
|
42
42
|
export declare const idZ: z.ZodUnion<[z.ZodObject<{
|
|
43
43
|
type: z.ZodEnum<{
|
|
44
|
-
channel: "channel";
|
|
45
|
-
status: "status";
|
|
46
44
|
label: "label";
|
|
47
45
|
log: "log";
|
|
48
46
|
builtin: "builtin";
|
|
49
47
|
cluster: "cluster";
|
|
48
|
+
channel: "channel";
|
|
50
49
|
node: "node";
|
|
51
50
|
group: "group";
|
|
52
51
|
range: "range";
|
|
@@ -64,11 +63,12 @@ export declare const idZ: z.ZodUnion<[z.ZodObject<{
|
|
|
64
63
|
table: "table";
|
|
65
64
|
arc: "arc";
|
|
66
65
|
schematic_symbol: "schematic_symbol";
|
|
66
|
+
status: "status";
|
|
67
67
|
view: "view";
|
|
68
68
|
}>;
|
|
69
69
|
key: z.ZodString;
|
|
70
70
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
71
|
-
type: "
|
|
71
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
72
72
|
key: string;
|
|
73
73
|
}, string>>]>;
|
|
74
74
|
export type ID = z.infer<typeof idZ>;
|
|
@@ -89,12 +89,11 @@ export declare const parseIDs: (ids: ID | string | Resource | (ID | string | Res
|
|
|
89
89
|
export declare const resourceZ: z.ZodPipe<z.ZodObject<{
|
|
90
90
|
id: z.ZodUnion<[z.ZodObject<{
|
|
91
91
|
type: z.ZodEnum<{
|
|
92
|
-
channel: "channel";
|
|
93
|
-
status: "status";
|
|
94
92
|
label: "label";
|
|
95
93
|
log: "log";
|
|
96
94
|
builtin: "builtin";
|
|
97
95
|
cluster: "cluster";
|
|
96
|
+
channel: "channel";
|
|
98
97
|
node: "node";
|
|
99
98
|
group: "group";
|
|
100
99
|
range: "range";
|
|
@@ -112,21 +111,22 @@ export declare const resourceZ: z.ZodPipe<z.ZodObject<{
|
|
|
112
111
|
table: "table";
|
|
113
112
|
arc: "arc";
|
|
114
113
|
schematic_symbol: "schematic_symbol";
|
|
114
|
+
status: "status";
|
|
115
115
|
view: "view";
|
|
116
116
|
}>;
|
|
117
117
|
key: z.ZodString;
|
|
118
118
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
119
|
-
type: "
|
|
119
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
120
120
|
key: string;
|
|
121
121
|
}, string>>]>;
|
|
122
122
|
name: z.ZodString;
|
|
123
123
|
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodUnknown>>>;
|
|
124
124
|
}, z.core.$strip>, z.ZodTransform<{
|
|
125
125
|
id: {
|
|
126
|
-
type: "
|
|
126
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
127
127
|
key: string;
|
|
128
128
|
} | {
|
|
129
|
-
type: "
|
|
129
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
130
130
|
key: string;
|
|
131
131
|
};
|
|
132
132
|
name: string;
|
|
@@ -134,10 +134,10 @@ export declare const resourceZ: z.ZodPipe<z.ZodObject<{
|
|
|
134
134
|
key: string;
|
|
135
135
|
}, {
|
|
136
136
|
id: {
|
|
137
|
-
type: "
|
|
137
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
138
138
|
key: string;
|
|
139
139
|
} | {
|
|
140
|
-
type: "
|
|
140
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
141
141
|
key: string;
|
|
142
142
|
};
|
|
143
143
|
name: string;
|
|
@@ -151,12 +151,11 @@ export declare const oppositeRelationshipDirection: (direction: RelationshipDire
|
|
|
151
151
|
export declare const relationshipZ: z.ZodUnion<[z.ZodObject<{
|
|
152
152
|
from: z.ZodUnion<[z.ZodObject<{
|
|
153
153
|
type: z.ZodEnum<{
|
|
154
|
-
channel: "channel";
|
|
155
|
-
status: "status";
|
|
156
154
|
label: "label";
|
|
157
155
|
log: "log";
|
|
158
156
|
builtin: "builtin";
|
|
159
157
|
cluster: "cluster";
|
|
158
|
+
channel: "channel";
|
|
160
159
|
node: "node";
|
|
161
160
|
group: "group";
|
|
162
161
|
range: "range";
|
|
@@ -174,22 +173,22 @@ export declare const relationshipZ: z.ZodUnion<[z.ZodObject<{
|
|
|
174
173
|
table: "table";
|
|
175
174
|
arc: "arc";
|
|
176
175
|
schematic_symbol: "schematic_symbol";
|
|
176
|
+
status: "status";
|
|
177
177
|
view: "view";
|
|
178
178
|
}>;
|
|
179
179
|
key: z.ZodString;
|
|
180
180
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
181
|
-
type: "
|
|
181
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
182
182
|
key: string;
|
|
183
183
|
}, string>>]>;
|
|
184
184
|
type: z.ZodString;
|
|
185
185
|
to: z.ZodUnion<[z.ZodObject<{
|
|
186
186
|
type: z.ZodEnum<{
|
|
187
|
-
channel: "channel";
|
|
188
|
-
status: "status";
|
|
189
187
|
label: "label";
|
|
190
188
|
log: "log";
|
|
191
189
|
builtin: "builtin";
|
|
192
190
|
cluster: "cluster";
|
|
191
|
+
channel: "channel";
|
|
193
192
|
node: "node";
|
|
194
193
|
group: "group";
|
|
195
194
|
range: "range";
|
|
@@ -207,27 +206,28 @@ export declare const relationshipZ: z.ZodUnion<[z.ZodObject<{
|
|
|
207
206
|
table: "table";
|
|
208
207
|
arc: "arc";
|
|
209
208
|
schematic_symbol: "schematic_symbol";
|
|
209
|
+
status: "status";
|
|
210
210
|
view: "view";
|
|
211
211
|
}>;
|
|
212
212
|
key: z.ZodString;
|
|
213
213
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
214
|
-
type: "
|
|
214
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
215
215
|
key: string;
|
|
216
216
|
}, string>>]>;
|
|
217
217
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
218
218
|
from: {
|
|
219
|
-
type: "
|
|
219
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
220
220
|
key: string;
|
|
221
221
|
} | {
|
|
222
|
-
type: "
|
|
222
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
223
223
|
key: string;
|
|
224
224
|
};
|
|
225
225
|
type: string;
|
|
226
226
|
to: {
|
|
227
|
-
type: "
|
|
227
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
228
228
|
key: string;
|
|
229
229
|
} | {
|
|
230
|
-
type: "
|
|
230
|
+
type: "label" | "log" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "role" | "table" | "arc" | "schematic_symbol" | "status" | "view";
|
|
231
231
|
key: string;
|
|
232
232
|
};
|
|
233
233
|
}, string>>]>;
|