@synnaxlabs/client 0.44.3 → 0.45.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 +6 -6
- package/dist/access/policy/client.d.ts +28 -22
- package/dist/access/policy/client.d.ts.map +1 -1
- package/dist/access/policy/payload.d.ts +16 -10
- package/dist/access/policy/payload.d.ts.map +1 -1
- package/dist/channel/client.d.ts +1 -0
- package/dist/channel/client.d.ts.map +1 -1
- package/dist/channel/payload.d.ts +15 -15
- package/dist/channel/payload.d.ts.map +1 -1
- package/dist/channel/retriever.d.ts +1 -1
- package/dist/channel/writer.d.ts +2 -2
- package/dist/channel/writer.d.ts.map +1 -1
- package/dist/client.cjs +22 -22
- package/dist/client.js +2928 -2539
- package/dist/control/state.d.ts +4 -4
- package/dist/framer/deleter.d.ts +1 -1
- package/dist/framer/streamer.d.ts +14 -14
- package/dist/framer/writer.d.ts +17 -17
- package/dist/label/client.d.ts +6 -3
- package/dist/label/client.d.ts.map +1 -1
- package/dist/ontology/client.d.ts +3 -1
- package/dist/ontology/client.d.ts.map +1 -1
- package/dist/ontology/group/client.d.ts +2 -0
- package/dist/ontology/group/client.d.ts.map +1 -1
- package/dist/ontology/payload.d.ts +17 -12
- package/dist/ontology/payload.d.ts.map +1 -1
- package/dist/ranger/alias.d.ts +1 -1
- package/dist/ranger/alias.d.ts.map +1 -1
- package/dist/ranger/writer.d.ts +2 -1
- package/dist/ranger/writer.d.ts.map +1 -1
- package/dist/workspace/schematic/client.d.ts +2 -0
- package/dist/workspace/schematic/client.d.ts.map +1 -1
- package/dist/workspace/schematic/external.d.ts +1 -0
- package/dist/workspace/schematic/external.d.ts.map +1 -1
- package/dist/workspace/schematic/symbol/client.d.ts +57 -0
- package/dist/workspace/schematic/symbol/client.d.ts.map +1 -0
- package/dist/workspace/schematic/symbol/client.spec.d.ts +2 -0
- package/dist/workspace/schematic/symbol/client.spec.d.ts.map +1 -0
- package/dist/workspace/schematic/symbol/external.d.ts +3 -0
- package/dist/workspace/schematic/symbol/external.d.ts.map +1 -0
- package/dist/workspace/schematic/symbol/index.d.ts +2 -0
- package/dist/workspace/schematic/symbol/index.d.ts.map +1 -0
- package/dist/workspace/schematic/symbol/payload.d.ts +169 -0
- package/dist/workspace/schematic/symbol/payload.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/channel/client.ts +5 -3
- package/src/channel/payload.ts +10 -2
- package/src/channel/writer.ts +2 -1
- package/src/ontology/group/client.ts +3 -0
- package/src/ontology/payload.ts +1 -0
- package/src/ranger/alias.ts +1 -4
- package/src/workspace/schematic/client.ts +3 -0
- package/src/workspace/schematic/external.ts +1 -0
- package/src/workspace/schematic/symbol/client.spec.ts +133 -0
- package/src/workspace/schematic/symbol/client.ts +146 -0
- package/src/workspace/schematic/symbol/external.ts +11 -0
- package/src/workspace/schematic/symbol/index.ts +10 -0
- package/src/workspace/schematic/symbol/payload.ts +70 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
|
-
> @synnaxlabs/client@0.
|
|
2
|
+
> @synnaxlabs/client@0.45.0 build /home/runner/work/synnax/synnax/client/ts
|
|
3
3
|
> tsc --noEmit && vite build
|
|
4
4
|
|
|
5
5
|
[34m Synnax - Production mode[0m
|
|
6
6
|
[36mvite v7.0.4 [32mbuilding for production...[36m[39m
|
|
7
7
|
transforming...
|
|
8
|
-
[32m✓[39m
|
|
8
|
+
[32m✓[39m 141 modules transformed.
|
|
9
9
|
rendering chunks...
|
|
10
10
|
|
|
11
11
|
[vite:dts] Start generate declaration files...
|
|
12
12
|
computing gzip size...
|
|
13
|
-
[2mdist/[22m[36mclient.js [39m[1m[
|
|
14
|
-
[vite:dts] Declaration files built in
|
|
13
|
+
[2mdist/[22m[36mclient.js [39m[1m[2m374.40 kB[22m[1m[22m[2m │ gzip: 88.16 kB[22m
|
|
14
|
+
[vite:dts] Declaration files built in 4730ms.
|
|
15
15
|
|
|
16
|
-
[2mdist/[22m[36mclient.cjs [39m[1m[
|
|
17
|
-
[32m✓ built in 5.
|
|
16
|
+
[2mdist/[22m[36mclient.cjs [39m[1m[2m208.68 kB[22m[1m[22m[2m │ gzip: 59.65 kB[22m
|
|
17
|
+
[32m✓ built in 5.83s[39m
|
|
@@ -32,26 +32,27 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
32
32
|
task: "task";
|
|
33
33
|
policy: "policy";
|
|
34
34
|
table: "table";
|
|
35
|
+
schematic_symbol: "schematic_symbol";
|
|
35
36
|
}>;
|
|
36
37
|
key: z.ZodString;
|
|
37
38
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
38
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
39
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
39
40
|
key: string;
|
|
40
41
|
}, string>>]>;
|
|
41
42
|
}, z.core.$strip>, z.ZodTransform<{
|
|
42
43
|
subjects: ({
|
|
43
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
44
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
44
45
|
key: string;
|
|
45
46
|
} | {
|
|
46
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
47
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
47
48
|
key: string;
|
|
48
49
|
})[];
|
|
49
50
|
}, {
|
|
50
51
|
for: {
|
|
51
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
52
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
52
53
|
key: string;
|
|
53
54
|
} | {
|
|
54
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
55
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
55
56
|
key: string;
|
|
56
57
|
};
|
|
57
58
|
}>>, z.ZodPipe<z.ZodObject<{
|
|
@@ -77,26 +78,27 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
77
78
|
task: "task";
|
|
78
79
|
policy: "policy";
|
|
79
80
|
table: "table";
|
|
81
|
+
schematic_symbol: "schematic_symbol";
|
|
80
82
|
}>;
|
|
81
83
|
key: z.ZodString;
|
|
82
84
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
83
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
85
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
84
86
|
key: string;
|
|
85
87
|
}, string>>]>>;
|
|
86
88
|
}, z.core.$strip>, z.ZodTransform<{
|
|
87
89
|
subjects: ({
|
|
88
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
90
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
89
91
|
key: string;
|
|
90
92
|
} | {
|
|
91
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
93
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
92
94
|
key: string;
|
|
93
95
|
})[];
|
|
94
96
|
}, {
|
|
95
97
|
for: ({
|
|
96
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
98
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
97
99
|
key: string;
|
|
98
100
|
} | {
|
|
99
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
101
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
100
102
|
key: string;
|
|
101
103
|
})[];
|
|
102
104
|
}>>, z.ZodObject<{
|
|
@@ -123,10 +125,11 @@ declare const listRetrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
123
125
|
task: "task";
|
|
124
126
|
policy: "policy";
|
|
125
127
|
table: "table";
|
|
128
|
+
schematic_symbol: "schematic_symbol";
|
|
126
129
|
}>;
|
|
127
130
|
key: z.ZodString;
|
|
128
131
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
129
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
132
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
130
133
|
key: string;
|
|
131
134
|
}, string>>]>>>;
|
|
132
135
|
}, z.core.$strip>]>;
|
|
@@ -161,26 +164,27 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
161
164
|
task: "task";
|
|
162
165
|
policy: "policy";
|
|
163
166
|
table: "table";
|
|
167
|
+
schematic_symbol: "schematic_symbol";
|
|
164
168
|
}>;
|
|
165
169
|
key: z.ZodString;
|
|
166
170
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
167
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
171
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
168
172
|
key: string;
|
|
169
173
|
}, string>>]>;
|
|
170
174
|
}, z.core.$strip>, z.ZodTransform<{
|
|
171
175
|
subjects: ({
|
|
172
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
176
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
173
177
|
key: string;
|
|
174
178
|
} | {
|
|
175
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
179
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
176
180
|
key: string;
|
|
177
181
|
})[];
|
|
178
182
|
}, {
|
|
179
183
|
for: {
|
|
180
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
184
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
181
185
|
key: string;
|
|
182
186
|
} | {
|
|
183
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
187
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
184
188
|
key: string;
|
|
185
189
|
};
|
|
186
190
|
}>>, z.ZodPipe<z.ZodObject<{
|
|
@@ -206,26 +210,27 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
206
210
|
task: "task";
|
|
207
211
|
policy: "policy";
|
|
208
212
|
table: "table";
|
|
213
|
+
schematic_symbol: "schematic_symbol";
|
|
209
214
|
}>;
|
|
210
215
|
key: z.ZodString;
|
|
211
216
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
212
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
217
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
213
218
|
key: string;
|
|
214
219
|
}, string>>]>>;
|
|
215
220
|
}, z.core.$strip>, z.ZodTransform<{
|
|
216
221
|
subjects: ({
|
|
217
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
222
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
218
223
|
key: string;
|
|
219
224
|
} | {
|
|
220
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
225
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
221
226
|
key: string;
|
|
222
227
|
})[];
|
|
223
228
|
}, {
|
|
224
229
|
for: ({
|
|
225
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
230
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
226
231
|
key: string;
|
|
227
232
|
} | {
|
|
228
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
233
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
229
234
|
key: string;
|
|
230
235
|
})[];
|
|
231
236
|
}>>, z.ZodObject<{
|
|
@@ -252,10 +257,11 @@ declare const retrieveArgsZ: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
252
257
|
task: "task";
|
|
253
258
|
policy: "policy";
|
|
254
259
|
table: "table";
|
|
260
|
+
schematic_symbol: "schematic_symbol";
|
|
255
261
|
}>;
|
|
256
262
|
key: z.ZodString;
|
|
257
263
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
258
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
264
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
259
265
|
key: string;
|
|
260
266
|
}, string>>]>>>;
|
|
261
267
|
}, z.core.$strip>]>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/access/policy/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EAER,KAAK,GAAG,EAER,KAAK,MAAM,EAEZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQtC,QAAA,MAAM,mBAAmB;;;;;;GAEmB,CAAC;AAE7C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,CAAC,MAAM,EAAE,CAAC;IAmB1C,QAAQ,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC;IACnD,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAanD,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAC/B,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAUzC;AAED,eAAO,MAAM,UAAU,GAAI,KAAK,GAAG,KAAG,QAAQ,CAAC,EAA+B,CAAC;AAE/E,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,EAG5C,CAAC"}
|
|
@@ -4,10 +4,10 @@ export type Key = z.infer<typeof keyZ>;
|
|
|
4
4
|
export declare const policyZ: z.ZodObject<{
|
|
5
5
|
key: z.ZodUUID;
|
|
6
6
|
subjects: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<({
|
|
7
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
7
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
8
8
|
key: string;
|
|
9
9
|
} | {
|
|
10
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
10
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
11
11
|
key: string;
|
|
12
12
|
})[], null | undefined>>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
13
13
|
type: z.ZodEnum<{
|
|
@@ -31,17 +31,18 @@ export declare const policyZ: z.ZodObject<{
|
|
|
31
31
|
task: "task";
|
|
32
32
|
policy: "policy";
|
|
33
33
|
table: "table";
|
|
34
|
+
schematic_symbol: "schematic_symbol";
|
|
34
35
|
}>;
|
|
35
36
|
key: z.ZodString;
|
|
36
37
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
37
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
38
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
38
39
|
key: string;
|
|
39
40
|
}, string>>]>>]>;
|
|
40
41
|
objects: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<({
|
|
41
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
42
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
42
43
|
key: string;
|
|
43
44
|
} | {
|
|
44
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
45
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
45
46
|
key: string;
|
|
46
47
|
})[], null | undefined>>, z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
47
48
|
type: z.ZodEnum<{
|
|
@@ -65,10 +66,11 @@ export declare const policyZ: z.ZodObject<{
|
|
|
65
66
|
task: "task";
|
|
66
67
|
policy: "policy";
|
|
67
68
|
table: "table";
|
|
69
|
+
schematic_symbol: "schematic_symbol";
|
|
68
70
|
}>;
|
|
69
71
|
key: z.ZodString;
|
|
70
72
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
71
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
73
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
72
74
|
key: string;
|
|
73
75
|
}, string>>]>>]>;
|
|
74
76
|
actions: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<("all" | "create" | "delete" | "retrieve" | "update")[], null | undefined>>, z.ZodArray<z.ZodEnum<{
|
|
@@ -105,10 +107,11 @@ export declare const newZ: z.ZodObject<{
|
|
|
105
107
|
task: "task";
|
|
106
108
|
policy: "policy";
|
|
107
109
|
table: "table";
|
|
110
|
+
schematic_symbol: "schematic_symbol";
|
|
108
111
|
}>;
|
|
109
112
|
key: z.ZodString;
|
|
110
113
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
111
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
114
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
112
115
|
key: string;
|
|
113
116
|
}, string>>]>>, z.ZodUnion<[z.ZodObject<{
|
|
114
117
|
type: z.ZodEnum<{
|
|
@@ -132,10 +135,11 @@ export declare const newZ: z.ZodObject<{
|
|
|
132
135
|
task: "task";
|
|
133
136
|
policy: "policy";
|
|
134
137
|
table: "table";
|
|
138
|
+
schematic_symbol: "schematic_symbol";
|
|
135
139
|
}>;
|
|
136
140
|
key: z.ZodString;
|
|
137
141
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
138
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
142
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
139
143
|
key: string;
|
|
140
144
|
}, string>>]>]>;
|
|
141
145
|
objects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -160,10 +164,11 @@ export declare const newZ: z.ZodObject<{
|
|
|
160
164
|
task: "task";
|
|
161
165
|
policy: "policy";
|
|
162
166
|
table: "table";
|
|
167
|
+
schematic_symbol: "schematic_symbol";
|
|
163
168
|
}>;
|
|
164
169
|
key: z.ZodString;
|
|
165
170
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
166
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
171
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
167
172
|
key: string;
|
|
168
173
|
}, string>>]>>, z.ZodUnion<[z.ZodObject<{
|
|
169
174
|
type: z.ZodEnum<{
|
|
@@ -187,10 +192,11 @@ export declare const newZ: z.ZodObject<{
|
|
|
187
192
|
task: "task";
|
|
188
193
|
policy: "policy";
|
|
189
194
|
table: "table";
|
|
195
|
+
schematic_symbol: "schematic_symbol";
|
|
190
196
|
}>;
|
|
191
197
|
key: z.ZodString;
|
|
192
198
|
}, z.core.$strip>, z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
193
|
-
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
|
|
199
|
+
type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table" | "schematic_symbol";
|
|
194
200
|
key: string;
|
|
195
201
|
}, string>>]>]>;
|
|
196
202
|
actions: z.ZodUnion<[z.ZodArray<z.ZodEnum<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/access/policy/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/access/policy/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKlB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC;CAAG;AAE1D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKf,CAAC;AACH,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG"}
|
package/dist/channel/client.d.ts
CHANGED
|
@@ -80,6 +80,7 @@ export declare class Channel {
|
|
|
80
80
|
*/
|
|
81
81
|
readonly status?: Status;
|
|
82
82
|
constructor({ dataType, name, leaseholder, key, isIndex, index, internal, virtual, frameClient, alias, status: argsStatus, expression, requires, }: New & {
|
|
83
|
+
internal?: boolean;
|
|
83
84
|
frameClient?: framer.Client;
|
|
84
85
|
density?: CrudeDensity;
|
|
85
86
|
status?: status.Crude;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/channel/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAA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,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAsB3D;;;OAGG;IACG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAOrC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAC7C,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAKzD,6BAA6B,CAAC,GAAG,GAAE,MAAW,GAAG,SAAS;IAM1D,KAAK,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO;IAChC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,OAAO,EAAE;IAQ/B,aAAa,IAAI,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;CAU5C;AAED,eAAO,MAAM,YAAY,GAAI,yBAAyB,OAAO,KAAG,OAClC,CAAC;AAE/B,eAAO,MAAM,sBAAsB,GACjC,UAAU,CAAC,GAAG,EAAE,GAAG,KAAK,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,EAC/C,SAAS,OAAO,KACf,OAAO,CAAC,GAAG,GAAG,IAAI,CAgBpB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,KAAK,GAAG,KAAG,QAAQ,CAAC,EAG7C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CrudeDataType, DataType, status } from '@synnaxlabs/x';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
export declare const keyZ: z.
|
|
3
|
+
export declare const keyZ: z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
4
4
|
export type Key = z.infer<typeof keyZ>;
|
|
5
5
|
export type Keys = Key[];
|
|
6
6
|
export declare const nameZ: z.ZodString;
|
|
@@ -24,16 +24,16 @@ export declare const statusZ: z.ZodObject<{
|
|
|
24
24
|
export type Status = z.infer<typeof statusZ>;
|
|
25
25
|
export declare const payloadZ: z.ZodObject<{
|
|
26
26
|
name: z.ZodString;
|
|
27
|
-
key: z.
|
|
27
|
+
key: z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
28
28
|
dataType: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DataType, string>>, z.ZodCustom<DataType, DataType>]>;
|
|
29
29
|
leaseholder: z.ZodNumber;
|
|
30
|
-
index: z.
|
|
30
|
+
index: z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
31
31
|
isIndex: z.ZodBoolean;
|
|
32
32
|
internal: z.ZodBoolean;
|
|
33
33
|
virtual: z.ZodBoolean;
|
|
34
34
|
alias: z.ZodOptional<z.ZodString>;
|
|
35
35
|
expression: z.ZodDefault<z.ZodString>;
|
|
36
|
-
requires: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<number[], null | undefined>>, z.ZodArray<z.
|
|
36
|
+
requires: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<number[], null | undefined>>, z.ZodArray<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>]>;
|
|
37
37
|
status: z.ZodOptional<z.ZodObject<{
|
|
38
38
|
key: z.ZodString;
|
|
39
39
|
variant: typeof status.variantZ;
|
|
@@ -65,30 +65,30 @@ export declare const newZ: z.ZodObject<{
|
|
|
65
65
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number] | [number, number] | [number, number, number]>>]>;
|
|
66
66
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
67
67
|
}, z.core.$strip>>;
|
|
68
|
-
key: z.ZodOptional<z.
|
|
68
|
+
key: z.ZodOptional<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
69
69
|
leaseholder: z.ZodOptional<z.ZodNumber>;
|
|
70
|
-
index: z.ZodOptional<z.
|
|
70
|
+
index: z.ZodOptional<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
71
71
|
isIndex: z.ZodOptional<z.ZodBoolean>;
|
|
72
72
|
internal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
73
73
|
virtual: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
74
74
|
expression: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
75
|
-
requires: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<number[], null | undefined>>, z.ZodArray<z.
|
|
75
|
+
requires: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<number[], null | undefined>>, z.ZodArray<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>]>>>;
|
|
76
76
|
}, z.core.$strip>;
|
|
77
|
-
export interface New extends Omit<z.input<typeof newZ>, "dataType" | "status"> {
|
|
77
|
+
export interface New extends Omit<z.input<typeof newZ>, "dataType" | "status" | "internal"> {
|
|
78
78
|
dataType: CrudeDataType;
|
|
79
79
|
}
|
|
80
|
-
export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.
|
|
80
|
+
export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>, z.ZodPipe<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<number[], number>>]>, z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>]>, z.ZodPipe<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
81
81
|
name: z.ZodString;
|
|
82
|
-
key: z.
|
|
82
|
+
key: z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
83
83
|
dataType: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DataType, string>>, z.ZodCustom<DataType, DataType>]>;
|
|
84
84
|
leaseholder: z.ZodNumber;
|
|
85
|
-
index: z.
|
|
85
|
+
index: z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
86
86
|
isIndex: z.ZodBoolean;
|
|
87
87
|
internal: z.ZodBoolean;
|
|
88
88
|
virtual: z.ZodBoolean;
|
|
89
89
|
alias: z.ZodOptional<z.ZodString>;
|
|
90
90
|
expression: z.ZodDefault<z.ZodString>;
|
|
91
|
-
requires: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<number[], null | undefined>>, z.ZodArray<z.
|
|
91
|
+
requires: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<number[], null | undefined>>, z.ZodArray<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>]>;
|
|
92
92
|
status: z.ZodOptional<z.ZodObject<{
|
|
93
93
|
key: z.ZodString;
|
|
94
94
|
variant: typeof status.variantZ;
|
|
@@ -103,16 +103,16 @@ export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.ZodN
|
|
|
103
103
|
}, z.core.$strip>>;
|
|
104
104
|
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{
|
|
105
105
|
name: z.ZodString;
|
|
106
|
-
key: z.
|
|
106
|
+
key: z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
107
107
|
dataType: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DataType, string>>, z.ZodCustom<DataType, DataType>]>;
|
|
108
108
|
leaseholder: z.ZodNumber;
|
|
109
|
-
index: z.
|
|
109
|
+
index: z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
110
110
|
isIndex: z.ZodBoolean;
|
|
111
111
|
internal: z.ZodBoolean;
|
|
112
112
|
virtual: z.ZodBoolean;
|
|
113
113
|
alias: z.ZodOptional<z.ZodString>;
|
|
114
114
|
expression: z.ZodDefault<z.ZodString>;
|
|
115
|
-
requires: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<number[], null | undefined>>, z.ZodArray<z.
|
|
115
|
+
requires: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<number[], null | undefined>>, z.ZodArray<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>]>;
|
|
116
116
|
status: z.ZodOptional<z.ZodObject<{
|
|
117
117
|
key: z.ZodString;
|
|
118
118
|
variant: typeof status.variantZ;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/channel/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAO,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/channel/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAO,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,IAAI,mFAMhB,CAAC;AACF,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACvC,MAAM,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC;AACzB,eAAO,MAAM,KAAK,aAAa,CAAC;AAChC,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AACzC,MAAM,MAAM,KAAK,GAAG,IAAI,EAAE,CAAC;AAC3B,MAAM,MAAM,SAAS,GAAG,GAAG,GAAG,IAAI,CAAC;AACnC,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,KAAK,CAAC;AACvC,MAAM,MAAM,eAAe,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAExD,eAAO,MAAM,OAAO;;;;;;;;;;;iBAAmB,CAAC;AACxC,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAC7C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;iBAanB,CAAC;AACH,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC;CAAG;AAE5D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;iBASf,CAAC;AAEH,MAAM,WAAW,GACf,SAAQ,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;IACtE,QAAQ,EAAE,aAAa,CAAC;CACzB;AAED,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAIlB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,EAAE,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { Key, KeyOrName, Params, Payload } from './payload';
|
|
|
5
5
|
import { ParamAnalysisResult } from '../util/retrieve';
|
|
6
6
|
declare const reqZ: z.ZodObject<{
|
|
7
7
|
leaseholder: z.ZodOptional<z.ZodNumber>;
|
|
8
|
-
keys: z.ZodOptional<z.ZodArray<z.
|
|
8
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>>;
|
|
9
9
|
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
10
|
searchTerm: z.ZodOptional<z.ZodString>;
|
|
11
11
|
rangeKey: z.ZodOptional<z.ZodString>;
|
package/dist/channel/writer.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import { z } from 'zod';
|
|
|
3
3
|
import { Key, New, Payload } from './payload';
|
|
4
4
|
import { CacheRetriever } from './retriever';
|
|
5
5
|
declare const deleteReqZ: z.ZodObject<{
|
|
6
|
-
keys: z.ZodOptional<z.ZodArray<z.
|
|
6
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>>;
|
|
7
7
|
names: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const renameReqZ: z.ZodObject<{
|
|
10
|
-
keys: z.ZodArray<z.
|
|
10
|
+
keys: z.ZodArray<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
11
11
|
names: z.ZodArray<z.ZodString>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export interface DeleteProps extends z.input<typeof deleteReqZ> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"writer.d.ts","sourceRoot":"","sources":["../../src/channel/writer.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EAGR,KAAK,GAAG,EAER,KAAK,OAAO,EAEb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAK1D,QAAA,MAAM,UAAU;;;iBAGd,CAAC;AAGH,QAAA,MAAM,UAAU;;;iBAAyD,CAAC;AAO1E,MAAM,WAAW,WAAY,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC;CAAG;AAClE,MAAM,WAAW,WAAY,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC;CAAG;AAElE,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;IACrC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiB;gBAE3B,MAAM,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