@synnaxlabs/client 0.54.1 → 0.54.2
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 +5 -5
- package/dist/client.cjs +43 -26
- package/dist/client.js +3977 -3368
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/framer/deleter.d.ts +2 -2
- package/dist/src/framer/frame.d.ts +2 -2
- package/dist/src/framer/streamer.d.ts +2 -2
- package/dist/src/framer/writer.d.ts +5 -5
- package/dist/src/framer/writer.d.ts.map +1 -1
- package/dist/src/label/payload.d.ts +2 -2
- package/dist/src/ranger/client.d.ts +6 -6
- package/dist/src/ranger/types.gen.d.ts +10 -10
- package/dist/src/ranger/writer.d.ts +2 -2
- package/dist/src/status/payload.d.ts +1 -1
- package/dist/src/task/types.gen.d.ts +2 -2
- package/package.json +3 -3
- package/src/client.ts +3 -3
- package/src/framer/writer.ts +9 -2
- package/src/rack/rack.spec.ts +2 -3
package/dist/src/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAW,QAAQ,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"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"}
|
|
@@ -8,12 +8,12 @@ declare const reqZ: z.ZodObject<{
|
|
|
8
8
|
value: z.ZodBigInt;
|
|
9
9
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
10
10
|
value: bigint;
|
|
11
|
-
}>>, 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
|
|
11
|
+
}>>, 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]>>]>;
|
|
12
12
|
end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
13
13
|
value: z.ZodBigInt;
|
|
14
14
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
15
15
|
value: bigint;
|
|
16
|
-
}>>, 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
|
|
16
|
+
}>>, 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]>>]>;
|
|
17
17
|
}, z.core.$strip>, z.ZodTransform<TimeRange, {
|
|
18
18
|
start: import('@synnaxlabs/x').TimeStamp;
|
|
19
19
|
end: import('@synnaxlabs/x').TimeStamp;
|
|
@@ -186,12 +186,12 @@ export declare const frameZ: z.ZodObject<{
|
|
|
186
186
|
value: z.ZodBigInt;
|
|
187
187
|
}, z.core.$strip>, z.ZodTransform<TimeStamp, {
|
|
188
188
|
value: bigint;
|
|
189
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<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<TimeStamp, [number, number
|
|
189
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<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<TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
190
190
|
end: z.ZodUnion<readonly [z.ZodCustom<TimeStamp, TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
191
191
|
value: z.ZodBigInt;
|
|
192
192
|
}, z.core.$strip>, z.ZodTransform<TimeStamp, {
|
|
193
193
|
value: bigint;
|
|
194
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<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<TimeStamp, [number, number
|
|
194
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<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<TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
195
195
|
}, z.core.$strip>, z.ZodTransform<TimeRange, {
|
|
196
196
|
start: TimeStamp;
|
|
197
197
|
end: TimeStamp;
|
|
@@ -30,12 +30,12 @@ declare const resZ: z.ZodObject<{
|
|
|
30
30
|
value: z.ZodBigInt;
|
|
31
31
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
32
32
|
value: bigint;
|
|
33
|
-
}>>, 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<TimeSpan, TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, 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
|
|
33
|
+
}>>, 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<TimeSpan, TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, 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]>>]>;
|
|
34
34
|
end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
35
35
|
value: z.ZodBigInt;
|
|
36
36
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
37
37
|
value: bigint;
|
|
38
|
-
}>>, 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<TimeSpan, TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, 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
|
|
38
|
+
}>>, 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<TimeSpan, TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, 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]>>]>;
|
|
39
39
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeRange, {
|
|
40
40
|
start: import('@synnaxlabs/x').TimeStamp;
|
|
41
41
|
end: import('@synnaxlabs/x').TimeStamp;
|
|
@@ -25,7 +25,7 @@ declare const netWriterConfigZ: z.ZodObject<{
|
|
|
25
25
|
value: z.ZodBigInt;
|
|
26
26
|
}, z.core.$strip>, z.ZodTransform<TimeStamp, {
|
|
27
27
|
value: bigint;
|
|
28
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number
|
|
28
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number, number] | [number, number] | [number]>>]>>;
|
|
29
29
|
controlSubject: z.ZodOptional<z.ZodObject<{
|
|
30
30
|
key: z.ZodString;
|
|
31
31
|
name: z.ZodString;
|
|
@@ -53,7 +53,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
53
53
|
value: z.ZodBigInt;
|
|
54
54
|
}, z.core.$strip>, z.ZodTransform<TimeStamp, {
|
|
55
55
|
value: bigint;
|
|
56
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number
|
|
56
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number, number] | [number, number] | [number]>>]>>;
|
|
57
57
|
controlSubject: z.ZodOptional<z.ZodObject<{
|
|
58
58
|
key: z.ZodString;
|
|
59
59
|
name: z.ZodString;
|
|
@@ -455,7 +455,7 @@ declare const reqZ: z.ZodObject<{
|
|
|
455
455
|
value: z.ZodBigInt;
|
|
456
456
|
}, z.core.$strip>, z.ZodTransform<TimeStamp, {
|
|
457
457
|
value: bigint;
|
|
458
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number
|
|
458
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number, number] | [number, number] | [number]>>]>>;
|
|
459
459
|
controlSubject: z.ZodOptional<z.ZodObject<{
|
|
460
460
|
key: z.ZodString;
|
|
461
461
|
name: z.ZodString;
|
|
@@ -491,12 +491,12 @@ declare const reqZ: z.ZodObject<{
|
|
|
491
491
|
value: z.ZodBigInt;
|
|
492
492
|
}, z.core.$strip>, z.ZodTransform<TimeStamp, {
|
|
493
493
|
value: bigint;
|
|
494
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number
|
|
494
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
495
495
|
end: z.ZodUnion<readonly [z.ZodCustom<TimeStamp, TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
496
496
|
value: z.ZodBigInt;
|
|
497
497
|
}, z.core.$strip>, z.ZodTransform<TimeStamp, {
|
|
498
498
|
value: bigint;
|
|
499
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number
|
|
499
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, 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<TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
500
500
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeRange, {
|
|
501
501
|
start: TimeStamp;
|
|
502
502
|
end: TimeStamp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"writer.d.ts","sourceRoot":"","sources":["../../../src/framer/writer.ts"],"names":[],"mappings":"AASA,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,
|
|
1
|
+
{"version":3,"file":"writer.d.ts","sourceRoot":"","sources":["../../../src/framer/writer.ts"],"names":[],"mappings":"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"}
|
|
@@ -12,7 +12,7 @@ export declare const labelZ: import('zod').ZodObject<{
|
|
|
12
12
|
g: import('zod').ZodInt;
|
|
13
13
|
b: import('zod').ZodInt;
|
|
14
14
|
a: import('zod').ZodNumber;
|
|
15
|
-
}, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number
|
|
15
|
+
}, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | {
|
|
16
16
|
rgba255: [number, number, number, number];
|
|
17
17
|
} | {
|
|
18
18
|
r: number;
|
|
@@ -33,7 +33,7 @@ export declare const newZ: import('zod').ZodObject<{
|
|
|
33
33
|
g: import('zod').ZodInt;
|
|
34
34
|
b: import('zod').ZodInt;
|
|
35
35
|
a: import('zod').ZodNumber;
|
|
36
|
-
}, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number
|
|
36
|
+
}, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | {
|
|
37
37
|
rgba255: [number, number, number, number];
|
|
38
38
|
} | {
|
|
39
39
|
r: number;
|
|
@@ -60,12 +60,12 @@ declare const retrieveRequestZ: z.ZodObject<{
|
|
|
60
60
|
value: z.ZodBigInt;
|
|
61
61
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
62
62
|
value: bigint;
|
|
63
|
-
}>>, 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
|
|
63
|
+
}>>, 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]>>]>;
|
|
64
64
|
end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
65
65
|
value: z.ZodBigInt;
|
|
66
66
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
67
67
|
value: bigint;
|
|
68
|
-
}>>, 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
|
|
68
|
+
}>>, 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]>>]>;
|
|
69
69
|
}, z.core.$strip>, z.ZodTransform<TimeRange, {
|
|
70
70
|
start: import('@synnaxlabs/x').TimeStamp;
|
|
71
71
|
end: import('@synnaxlabs/x').TimeStamp;
|
|
@@ -86,12 +86,12 @@ declare const retrieveArgsZ: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.Z
|
|
|
86
86
|
value: z.ZodBigInt;
|
|
87
87
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
88
88
|
value: bigint;
|
|
89
|
-
}>>, 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
|
|
89
|
+
}>>, 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]>>]>;
|
|
90
90
|
end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
91
91
|
value: z.ZodBigInt;
|
|
92
92
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
93
93
|
value: bigint;
|
|
94
|
-
}>>, 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
|
|
94
|
+
}>>, 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]>>]>;
|
|
95
95
|
}, z.core.$strip>, z.ZodTransform<TimeRange, {
|
|
96
96
|
start: import('@synnaxlabs/x').TimeStamp;
|
|
97
97
|
end: import('@synnaxlabs/x').TimeStamp;
|
|
@@ -114,12 +114,12 @@ declare const retrieveArgsZ: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.Z
|
|
|
114
114
|
value: z.ZodBigInt;
|
|
115
115
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
116
116
|
value: bigint;
|
|
117
|
-
}>>, 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
|
|
117
|
+
}>>, 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]>>]>;
|
|
118
118
|
end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
119
119
|
value: z.ZodBigInt;
|
|
120
120
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
121
121
|
value: bigint;
|
|
122
|
-
}>>, 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
|
|
122
|
+
}>>, 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]>>]>;
|
|
123
123
|
}, z.core.$strip>, z.ZodTransform<TimeRange, {
|
|
124
124
|
start: import('@synnaxlabs/x').TimeStamp;
|
|
125
125
|
end: import('@synnaxlabs/x').TimeStamp;
|
|
@@ -16,12 +16,12 @@ export declare const baseZ: z.ZodObject<{
|
|
|
16
16
|
value: z.ZodBigInt;
|
|
17
17
|
}, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
|
|
18
18
|
value: bigint;
|
|
19
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number
|
|
19
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
20
20
|
end: z.ZodUnion<readonly [z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
21
21
|
value: z.ZodBigInt;
|
|
22
22
|
}, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
|
|
23
23
|
value: bigint;
|
|
24
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number
|
|
24
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
25
25
|
}, z.core.$strip>, z.ZodTransform<telem.TimeRange, {
|
|
26
26
|
start: telem.TimeStamp;
|
|
27
27
|
end: telem.TimeStamp;
|
|
@@ -52,12 +52,12 @@ export declare const apiRangeZ: z.ZodObject<{
|
|
|
52
52
|
value: z.ZodBigInt;
|
|
53
53
|
}, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
|
|
54
54
|
value: bigint;
|
|
55
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number
|
|
55
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
56
56
|
end: z.ZodUnion<readonly [z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
57
57
|
value: z.ZodBigInt;
|
|
58
58
|
}, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
|
|
59
59
|
value: bigint;
|
|
60
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number
|
|
60
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
61
61
|
}, z.core.$strip>, z.ZodTransform<telem.TimeRange, {
|
|
62
62
|
start: telem.TimeStamp;
|
|
63
63
|
end: telem.TimeStamp;
|
|
@@ -87,7 +87,7 @@ export declare const apiRangeZ: z.ZodObject<{
|
|
|
87
87
|
g: z.ZodInt;
|
|
88
88
|
b: z.ZodInt;
|
|
89
89
|
a: z.ZodNumber;
|
|
90
|
-
}, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number
|
|
90
|
+
}, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | {
|
|
91
91
|
rgba255: [number, number, number, number];
|
|
92
92
|
} | {
|
|
93
93
|
r: number;
|
|
@@ -136,7 +136,7 @@ export declare const payloadZ: z.ZodObject<{
|
|
|
136
136
|
g: z.ZodInt;
|
|
137
137
|
b: z.ZodInt;
|
|
138
138
|
a: z.ZodNumber;
|
|
139
|
-
}, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number
|
|
139
|
+
}, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | {
|
|
140
140
|
rgba255: [number, number, number, number];
|
|
141
141
|
} | {
|
|
142
142
|
r: number;
|
|
@@ -159,12 +159,12 @@ export declare const payloadZ: z.ZodObject<{
|
|
|
159
159
|
value: z.ZodBigInt;
|
|
160
160
|
}, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
|
|
161
161
|
value: bigint;
|
|
162
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number
|
|
162
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
163
163
|
end: z.ZodUnion<readonly [z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
164
164
|
value: z.ZodBigInt;
|
|
165
165
|
}, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
|
|
166
166
|
value: bigint;
|
|
167
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number
|
|
167
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
168
168
|
}, z.core.$strip>, z.ZodTransform<telem.TimeRange, {
|
|
169
169
|
start: telem.TimeStamp;
|
|
170
170
|
end: telem.TimeStamp;
|
|
@@ -195,12 +195,12 @@ export declare const newZ: z.ZodObject<{
|
|
|
195
195
|
value: z.ZodBigInt;
|
|
196
196
|
}, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
|
|
197
197
|
value: bigint;
|
|
198
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number
|
|
198
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
199
199
|
end: z.ZodUnion<readonly [z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
200
200
|
value: z.ZodBigInt;
|
|
201
201
|
}, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
|
|
202
202
|
value: bigint;
|
|
203
|
-
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number
|
|
203
|
+
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.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<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
|
|
204
204
|
}, z.core.$strip>, z.ZodTransform<telem.TimeRange, {
|
|
205
205
|
start: telem.TimeStamp;
|
|
206
206
|
end: telem.TimeStamp;
|
|
@@ -57,12 +57,12 @@ declare const createReqZ: z.ZodObject<{
|
|
|
57
57
|
value: z.ZodBigInt;
|
|
58
58
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
59
59
|
value: bigint;
|
|
60
|
-
}>>, 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
|
|
60
|
+
}>>, 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]>>]>;
|
|
61
61
|
end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
|
|
62
62
|
value: z.ZodBigInt;
|
|
63
63
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
64
64
|
value: bigint;
|
|
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
|
|
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
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeRange, {
|
|
67
67
|
start: import('@synnaxlabs/x').TimeStamp;
|
|
68
68
|
end: import('@synnaxlabs/x').TimeStamp;
|
|
@@ -20,7 +20,7 @@ export declare const newZ: <DetailsSchema extends z.ZodType = z.ZodNever>(detail
|
|
|
20
20
|
value: z.ZodBigInt;
|
|
21
21
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
22
22
|
value: bigint;
|
|
23
|
-
}>>, 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
|
|
23
|
+
}>>, 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]>>]>>>;
|
|
24
24
|
variant: z.ZodEnum<{
|
|
25
25
|
success: "success";
|
|
26
26
|
error: "error";
|
|
@@ -74,7 +74,7 @@ export declare const newStatusZ: <Data extends z.ZodType = z.ZodNever>(data?: Da
|
|
|
74
74
|
value: z.ZodBigInt;
|
|
75
75
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
76
76
|
value: bigint;
|
|
77
|
-
}>>, 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
|
|
77
|
+
}>>, 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]>>]>>>;
|
|
78
78
|
labels: ReturnType<typeof zod.nullToUndefined<z.ZodArray<typeof import('@synnaxlabs/x/dist/src/label/types.gen').labelZ>>>;
|
|
79
79
|
details: NewStatusDetailsZodObject<Data>;
|
|
80
80
|
}, z.core.$strip>;
|
|
@@ -136,7 +136,7 @@ export declare const newZ: <Type extends z.ZodType<string> = z.ZodString, Config
|
|
|
136
136
|
value: z.ZodBigInt;
|
|
137
137
|
}, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
|
|
138
138
|
value: bigint;
|
|
139
|
-
}>>, 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
|
|
139
|
+
}>>, 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]>>]>>>;
|
|
140
140
|
labels: ReturnType<typeof zod.nullToUndefined<z.ZodArray<typeof import('@synnaxlabs/x/dist/src/label/types.gen').labelZ>>>;
|
|
141
141
|
details: NewStatusDetailsZodObject<StatusData>;
|
|
142
142
|
}, z.core.$strip>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synnaxlabs/client",
|
|
3
|
-
"version": "0.54.
|
|
3
|
+
"version": "0.54.2",
|
|
4
4
|
"description": "The Synnax Client Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"synnax",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"async-mutex": "^0.5.0",
|
|
28
28
|
"zod": "^4.3.6",
|
|
29
29
|
"@synnaxlabs/freighter": "^0.54.0",
|
|
30
|
-
"@synnaxlabs/x": "^0.54.
|
|
30
|
+
"@synnaxlabs/x": "^0.54.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@vitest/coverage-v8": "^4.1.2",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"typescript": "^6.0.2",
|
|
38
38
|
"vite": "^8.0.3",
|
|
39
39
|
"vitest": "^4.1.2",
|
|
40
|
-
"@synnaxlabs/eslint-config": "^0.0.0",
|
|
41
40
|
"@synnaxlabs/tsconfig": "^0.0.0",
|
|
41
|
+
"@synnaxlabs/eslint-config": "^0.0.0",
|
|
42
42
|
"@synnaxlabs/vite-plugin": "^0.0.0"
|
|
43
43
|
},
|
|
44
44
|
"type": "module",
|
package/src/client.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// License, use of this software will be governed by the Apache License, Version 2.0,
|
|
8
8
|
// included in the file licenses/APL.txt.
|
|
9
9
|
|
|
10
|
-
import { breaker, TimeSpan, TimeStamp, URL } from "@synnaxlabs/x";
|
|
10
|
+
import { breaker, TimeSpan, TimeStamp, URL, zod } from "@synnaxlabs/x";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
13
13
|
import { access } from "@/access";
|
|
@@ -109,7 +109,7 @@ export default class Synnax extends framer.Client {
|
|
|
109
109
|
* the client from polling the cluster for connectivity information.
|
|
110
110
|
*/
|
|
111
111
|
constructor(params: SynnaxParams) {
|
|
112
|
-
const parsedParams =
|
|
112
|
+
const parsedParams = zod.parse(synnaxParamsZ, params);
|
|
113
113
|
const {
|
|
114
114
|
host,
|
|
115
115
|
port,
|
|
@@ -196,7 +196,7 @@ export const checkConnection = async (params: CheckConnectionParams) =>
|
|
|
196
196
|
|
|
197
197
|
export const newConnectionChecker = (params: CheckConnectionParams) => {
|
|
198
198
|
const { host, port, secure, name, retry } = params;
|
|
199
|
-
const retryConfig = breaker.breakerConfigZ.optional()
|
|
199
|
+
const retryConfig = zod.parse(breaker.breakerConfigZ.optional(), retry);
|
|
200
200
|
const url = new URL({ host, port: Number(port) });
|
|
201
201
|
const transport = new Transport(url, retryConfig, secure);
|
|
202
202
|
return new connection.Checker(transport.unary, undefined, __VERSION__, name);
|
package/src/framer/writer.ts
CHANGED
|
@@ -8,7 +8,14 @@
|
|
|
8
8
|
// included in the file licenses/APL.txt.
|
|
9
9
|
|
|
10
10
|
import { EOF, type Stream, type WebSocketClient } from "@synnaxlabs/freighter";
|
|
11
|
-
import {
|
|
11
|
+
import {
|
|
12
|
+
control,
|
|
13
|
+
type CrudeSeries,
|
|
14
|
+
errors,
|
|
15
|
+
TimeSpan,
|
|
16
|
+
TimeStamp,
|
|
17
|
+
zod,
|
|
18
|
+
} from "@synnaxlabs/x";
|
|
12
19
|
import { z } from "zod";
|
|
13
20
|
|
|
14
21
|
import { channel } from "@/channel";
|
|
@@ -203,7 +210,7 @@ export class Writer {
|
|
|
203
210
|
client: WebSocketClient,
|
|
204
211
|
config: WriterConfig,
|
|
205
212
|
): Promise<Writer> {
|
|
206
|
-
const cfg =
|
|
213
|
+
const cfg = zod.parse(writerConfigZ, config);
|
|
207
214
|
const adapter = await WriteAdapter.open(retriever, cfg.channels);
|
|
208
215
|
if (cfg.useHighPerformanceCodec)
|
|
209
216
|
client = client.withCodec(new WSWriterCodec(adapter.codec));
|
package/src/rack/rack.spec.ts
CHANGED
|
@@ -7,9 +7,8 @@
|
|
|
7
7
|
// License, use of this software will be governed by the Apache License, Version 2.0,
|
|
8
8
|
// included in the file licenses/APL.txt.
|
|
9
9
|
|
|
10
|
-
import { TimeStamp } from "@synnaxlabs/x";
|
|
10
|
+
import { TimeStamp, zod } from "@synnaxlabs/x";
|
|
11
11
|
import { describe, expect, it } from "vitest";
|
|
12
|
-
import { ZodError } from "zod";
|
|
13
12
|
|
|
14
13
|
import { type rack } from "@/rack";
|
|
15
14
|
import { createTestClient } from "@/testutil/client";
|
|
@@ -24,7 +23,7 @@ describe("Rack", () => {
|
|
|
24
23
|
});
|
|
25
24
|
it("should return an error if the rack doesn't have a name", async () => {
|
|
26
25
|
// @ts-expect-error - Testing for error
|
|
27
|
-
await expect(client.racks.create({})).rejects.toThrow(
|
|
26
|
+
await expect(client.racks.create({})).rejects.toThrow(zod.ParseError);
|
|
28
27
|
});
|
|
29
28
|
it("should create a rack with a custom status", async () => {
|
|
30
29
|
const customStatus: rack.Status = {
|