@synnaxlabs/client 0.54.0 → 0.54.1
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 +3 -3
- package/dist/client.js +7 -6
- package/dist/src/arc/ir/types.gen.d.ts +1 -1
- package/dist/src/arc/ir/types.gen.d.ts.map +1 -1
- package/dist/src/channel/payload.d.ts +9 -7
- package/dist/src/channel/payload.d.ts.map +1 -1
- package/dist/src/channel/types.gen.d.ts +9 -5
- package/dist/src/channel/types.gen.d.ts.map +1 -1
- package/dist/src/framer/streamer.d.ts +18 -14
- package/dist/src/framer/streamer.d.ts.map +1 -1
- package/dist/src/framer/writer.d.ts +18 -14
- package/dist/src/framer/writer.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/arc/ir/types.gen.ts +1 -1
- package/src/channel/types.gen.ts +1 -1
package/dist/client.js
CHANGED
|
@@ -5821,7 +5821,7 @@ var yl = /* @__PURE__ */ C({
|
|
|
5821
5821
|
...Wl,
|
|
5822
5822
|
...t
|
|
5823
5823
|
}, r = [], i = e.variant.toUpperCase();
|
|
5824
|
-
if (n.includeName && e.name
|
|
5824
|
+
if (n.includeName && di(e.name) && (i += ` [${e.name}]`), i += `: ${e.message}`, n.includeTimestamp && (i += ` (${e.time.toString("dateTime", "local")})`), r.push(i), e.description != null) {
|
|
5825
5825
|
let t;
|
|
5826
5826
|
try {
|
|
5827
5827
|
let n = JSON.parse(e.description);
|
|
@@ -9070,7 +9070,7 @@ var Ov = /* @__PURE__ */ function(e) {
|
|
|
9070
9070
|
strataZ: () => Yv,
|
|
9071
9071
|
stratumZ: () => Gv
|
|
9072
9072
|
}), zv = /* @__PURE__ */ function(e) {
|
|
9073
|
-
return e[e.unspecified = 0] = "unspecified", e[e.continuous = 1] = "continuous", e[e.
|
|
9073
|
+
return e[e.unspecified = 0] = "unspecified", e[e.continuous = 1] = "continuous", e[e.conditional = 2] = "conditional", e;
|
|
9074
9074
|
}({}), Bv = t.enum(zv), Vv = t.object({
|
|
9075
9075
|
node: t.string(),
|
|
9076
9076
|
param: t.string()
|
|
@@ -9388,7 +9388,8 @@ var Uy = function(e, t, n, r) {
|
|
|
9388
9388
|
"min",
|
|
9389
9389
|
"max",
|
|
9390
9390
|
"avg",
|
|
9391
|
-
"none"
|
|
9391
|
+
"none",
|
|
9392
|
+
"derivative"
|
|
9392
9393
|
], Jy = t.enum(qy), Yy = t.object({
|
|
9393
9394
|
type: Jy,
|
|
9394
9395
|
resetChannel: Z.default(0),
|
|
@@ -9849,7 +9850,7 @@ var Uy = function(e, t, n, r) {
|
|
|
9849
9850
|
error: void 0,
|
|
9850
9851
|
message: "Disconnected",
|
|
9851
9852
|
clientServerCompatible: !1,
|
|
9852
|
-
clientVersion: "0.54.
|
|
9853
|
+
clientVersion: "0.54.1"
|
|
9853
9854
|
}, sx = (e, t, n) => {
|
|
9854
9855
|
let r = n ? "Core" : "client";
|
|
9855
9856
|
return `Synnax Core version ${e == null ? "" : `${e} `}is too ${n ? "old" : "new"} for client version ${t}.
|
|
@@ -12411,7 +12412,7 @@ var Uy = function(e, t, n, r) {
|
|
|
12411
12412
|
groups;
|
|
12412
12413
|
static connectivity = cx;
|
|
12413
12414
|
transport;
|
|
12414
|
-
clientVersion = "0.54.
|
|
12415
|
+
clientVersion = "0.54.1";
|
|
12415
12416
|
constructor(e) {
|
|
12416
12417
|
let t = pO.parse(e), { host: n, port: r, username: i, password: a, connectivityPollFrequency: o, secure: s, retry: c } = t, l = new YD(new fu({
|
|
12417
12418
|
host: n,
|
|
@@ -12439,7 +12440,7 @@ var Uy = function(e, t, n, r) {
|
|
|
12439
12440
|
return new cx(new YD(new fu({
|
|
12440
12441
|
host: t,
|
|
12441
12442
|
port: Number(n)
|
|
12442
|
-
}), o, r).unary, void 0, "0.54.
|
|
12443
|
+
}), o, r).unary, void 0, "0.54.1", i);
|
|
12443
12444
|
}, _O = {
|
|
12444
12445
|
host: "localhost",
|
|
12445
12446
|
port: 9090,
|
|
@@ -3,7 +3,7 @@ import { types } from '../types';
|
|
|
3
3
|
export declare enum EdgeKind {
|
|
4
4
|
unspecified = 0,
|
|
5
5
|
continuous = 1,
|
|
6
|
-
|
|
6
|
+
conditional = 2
|
|
7
7
|
}
|
|
8
8
|
export declare const edgeKindZ: z.ZodEnum<typeof EdgeKind>;
|
|
9
9
|
/** Handle is a reference to a specific parameter on a specific node in the dataflow graph. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../../src/arc/ir/types.gen.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,oBAAY,QAAQ;IAClB,WAAW,IAAI;IACf,UAAU,IAAI;IACd,
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../../src/arc/ir/types.gen.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,oBAAY,QAAQ;IAClB,WAAW,IAAI;IACf,UAAU,IAAI;IACd,WAAW,IAAI;CAChB;AACD,eAAO,MAAM,SAAS,4BAAmB,CAAC;AAE1C,8FAA8F;AAC9F,eAAO,MAAM,OAAO;;;iBAKlB,CAAC;AACH,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC;CAAG;AAE1D,sEAAsE;AACtE,eAAO,MAAM,KAAK;;iBAGhB,CAAC;AACH,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC;CAAG;AAEtD;;;GAGG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAad,CAAC;AACH,MAAM,WAAW,EAAG,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC;CAAG"}
|
|
@@ -18,6 +18,7 @@ export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.ZodU
|
|
|
18
18
|
min: "min";
|
|
19
19
|
max: "max";
|
|
20
20
|
avg: "avg";
|
|
21
|
+
derivative: "derivative";
|
|
21
22
|
}>;
|
|
22
23
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
23
24
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -26,11 +27,11 @@ export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.ZodU
|
|
|
26
27
|
value: bigint;
|
|
27
28
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, bigint>>, z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
|
|
28
29
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
29
|
-
type: "none" | "min" | "max" | "avg";
|
|
30
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
30
31
|
resetChannel: number;
|
|
31
32
|
duration: import('@synnaxlabs/x').TimeSpan;
|
|
32
33
|
}[] | undefined, {
|
|
33
|
-
type: "none" | "min" | "max" | "avg";
|
|
34
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
34
35
|
resetChannel: number;
|
|
35
36
|
duration: import('@synnaxlabs/x').TimeSpan;
|
|
36
37
|
}[] | null>>>;
|
|
@@ -60,6 +61,7 @@ export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.ZodU
|
|
|
60
61
|
min: "min";
|
|
61
62
|
max: "max";
|
|
62
63
|
avg: "avg";
|
|
64
|
+
derivative: "derivative";
|
|
63
65
|
}>;
|
|
64
66
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
65
67
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -68,11 +70,11 @@ export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.ZodU
|
|
|
68
70
|
value: bigint;
|
|
69
71
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, bigint>>, z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
|
|
70
72
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
71
|
-
type: "none" | "min" | "max" | "avg";
|
|
73
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
72
74
|
resetChannel: number;
|
|
73
75
|
duration: import('@synnaxlabs/x').TimeSpan;
|
|
74
76
|
}[] | undefined, {
|
|
75
|
-
type: "none" | "min" | "max" | "avg";
|
|
77
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
76
78
|
resetChannel: number;
|
|
77
79
|
duration: import('@synnaxlabs/x').TimeSpan;
|
|
78
80
|
}[] | null>>>;
|
|
@@ -97,7 +99,7 @@ export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.ZodU
|
|
|
97
99
|
expression: string;
|
|
98
100
|
alias?: string | undefined;
|
|
99
101
|
operations?: {
|
|
100
|
-
type: "none" | "min" | "max" | "avg";
|
|
102
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
101
103
|
resetChannel: number;
|
|
102
104
|
duration: import('@synnaxlabs/x').TimeSpan;
|
|
103
105
|
}[] | undefined;
|
|
@@ -128,7 +130,7 @@ export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.ZodU
|
|
|
128
130
|
expression: string;
|
|
129
131
|
alias?: string | undefined;
|
|
130
132
|
operations?: {
|
|
131
|
-
type: "none" | "min" | "max" | "avg";
|
|
133
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
132
134
|
resetChannel: number;
|
|
133
135
|
duration: import('@synnaxlabs/x').TimeSpan;
|
|
134
136
|
}[] | undefined;
|
|
@@ -159,7 +161,7 @@ export declare const paramsZ: z.ZodUnion<readonly [z.ZodUnion<[z.ZodArray<z.ZodU
|
|
|
159
161
|
expression: string;
|
|
160
162
|
alias?: string | undefined;
|
|
161
163
|
operations?: {
|
|
162
|
-
type: "none" | "min" | "max" | "avg";
|
|
164
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
163
165
|
resetChannel: number;
|
|
164
166
|
duration: import('@synnaxlabs/x').TimeSpan;
|
|
165
167
|
}[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/channel/payload.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EAER,KAAK,IAAI,EAGT,KAAK,OAAO,EAEb,MAAM,qBAAqB,CAAC;AAG7B,MAAM,MAAM,eAAe,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC;AAE1D,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/channel/payload.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EAER,KAAK,IAAI,EAGT,KAAK,OAAO,EAEb,MAAM,qBAAqB,CAAC;AAG7B,MAAM,MAAM,eAAe,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC;AAE1D,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAIlB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,eAAe,GAAG,OAAO,GAAG,OAAO,EAAE,CAAC;AAM3D,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,EAAE,iCAA+B,WAW9E,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,SAAS,GAAG,KAAG,MACC,CAAC"}
|
|
@@ -5,12 +5,13 @@ export declare const keyZ: z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.Zod
|
|
|
5
5
|
export type Key = z.infer<typeof keyZ>;
|
|
6
6
|
export declare const localKeyZ: z.ZodInt;
|
|
7
7
|
export type LocalKey = z.infer<typeof localKeyZ>;
|
|
8
|
-
export declare const OPERATION_TYPES: readonly ["min", "max", "avg", "none"];
|
|
8
|
+
export declare const OPERATION_TYPES: readonly ["min", "max", "avg", "none", "derivative"];
|
|
9
9
|
export declare const operationTypeZ: z.ZodEnum<{
|
|
10
10
|
none: "none";
|
|
11
11
|
min: "min";
|
|
12
12
|
max: "max";
|
|
13
13
|
avg: "avg";
|
|
14
|
+
derivative: "derivative";
|
|
14
15
|
}>;
|
|
15
16
|
export type OperationType = z.infer<typeof operationTypeZ>;
|
|
16
17
|
/**
|
|
@@ -24,6 +25,7 @@ export declare const operationZ: z.ZodObject<{
|
|
|
24
25
|
min: "min";
|
|
25
26
|
max: "max";
|
|
26
27
|
avg: "avg";
|
|
28
|
+
derivative: "derivative";
|
|
27
29
|
}>;
|
|
28
30
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
29
31
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -67,6 +69,7 @@ export declare const payloadZ: z.ZodObject<{
|
|
|
67
69
|
min: "min";
|
|
68
70
|
max: "max";
|
|
69
71
|
avg: "avg";
|
|
72
|
+
derivative: "derivative";
|
|
70
73
|
}>;
|
|
71
74
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
72
75
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -75,11 +78,11 @@ export declare const payloadZ: z.ZodObject<{
|
|
|
75
78
|
value: bigint;
|
|
76
79
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeSpan, bigint>>, z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodPipe<z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodTransform<telem.TimeSpan, telem.TimeStamp>>, z.ZodPipe<z.ZodCustom<telem.Rate, telem.Rate>, z.ZodTransform<telem.TimeSpan, telem.Rate>>]>>;
|
|
77
80
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
78
|
-
type: "none" | "min" | "max" | "avg";
|
|
81
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
79
82
|
resetChannel: number;
|
|
80
83
|
duration: telem.TimeSpan;
|
|
81
84
|
}[] | undefined, {
|
|
82
|
-
type: "none" | "min" | "max" | "avg";
|
|
85
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
83
86
|
resetChannel: number;
|
|
84
87
|
duration: telem.TimeSpan;
|
|
85
88
|
}[] | null>>>;
|
|
@@ -119,6 +122,7 @@ export declare const newZ: z.ZodObject<{
|
|
|
119
122
|
min: "min";
|
|
120
123
|
max: "max";
|
|
121
124
|
avg: "avg";
|
|
125
|
+
derivative: "derivative";
|
|
122
126
|
}>;
|
|
123
127
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
124
128
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -127,11 +131,11 @@ export declare const newZ: z.ZodObject<{
|
|
|
127
131
|
value: bigint;
|
|
128
132
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeSpan, bigint>>, z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodPipe<z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodTransform<telem.TimeSpan, telem.TimeStamp>>, z.ZodPipe<z.ZodCustom<telem.Rate, telem.Rate>, z.ZodTransform<telem.TimeSpan, telem.Rate>>]>>;
|
|
129
133
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
130
|
-
type: "none" | "min" | "max" | "avg";
|
|
134
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
131
135
|
resetChannel: number;
|
|
132
136
|
duration: telem.TimeSpan;
|
|
133
137
|
}[] | undefined, {
|
|
134
|
-
type: "none" | "min" | "max" | "avg";
|
|
138
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
135
139
|
resetChannel: number;
|
|
136
140
|
duration: telem.TimeSpan;
|
|
137
141
|
}[] | null>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../src/channel/types.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAiB,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,IAAI,mFAKhB,CAAC;AACF,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,eAAO,MAAM,SAAS,UAAa,CAAC;AACpC,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAEjD,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"types.gen.d.ts","sourceRoot":"","sources":["../../../src/channel/types.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,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SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEpD,eAAO,MAAM,UAAU,2BAA2C,CAAC;AACnE,eAAO,MAAM,gBAAgB;;;;;;CAAgB,CAAC"}
|
|
@@ -74,6 +74,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
74
74
|
min: "min";
|
|
75
75
|
max: "max";
|
|
76
76
|
avg: "avg";
|
|
77
|
+
derivative: "derivative";
|
|
77
78
|
}>;
|
|
78
79
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
79
80
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -82,11 +83,11 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
82
83
|
value: bigint;
|
|
83
84
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').TimeStamp>>, z.ZodPipe<z.ZodCustom<Rate, Rate>, z.ZodTransform<TimeSpan, Rate>>]>>;
|
|
84
85
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
85
|
-
type: "none" | "min" | "max" | "avg";
|
|
86
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
86
87
|
resetChannel: number;
|
|
87
88
|
duration: TimeSpan;
|
|
88
89
|
}[] | undefined, {
|
|
89
|
-
type: "none" | "min" | "max" | "avg";
|
|
90
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
90
91
|
resetChannel: number;
|
|
91
92
|
duration: TimeSpan;
|
|
92
93
|
}[] | null>>>;
|
|
@@ -116,6 +117,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
116
117
|
min: "min";
|
|
117
118
|
max: "max";
|
|
118
119
|
avg: "avg";
|
|
120
|
+
derivative: "derivative";
|
|
119
121
|
}>;
|
|
120
122
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
121
123
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -124,11 +126,11 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
124
126
|
value: bigint;
|
|
125
127
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').TimeStamp>>, z.ZodPipe<z.ZodCustom<Rate, Rate>, z.ZodTransform<TimeSpan, Rate>>]>>;
|
|
126
128
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
127
|
-
type: "none" | "min" | "max" | "avg";
|
|
129
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
128
130
|
resetChannel: number;
|
|
129
131
|
duration: TimeSpan;
|
|
130
132
|
}[] | undefined, {
|
|
131
|
-
type: "none" | "min" | "max" | "avg";
|
|
133
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
132
134
|
resetChannel: number;
|
|
133
135
|
duration: TimeSpan;
|
|
134
136
|
}[] | null>>>;
|
|
@@ -153,7 +155,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
153
155
|
expression: string;
|
|
154
156
|
alias?: string | undefined;
|
|
155
157
|
operations?: {
|
|
156
|
-
type: "none" | "min" | "max" | "avg";
|
|
158
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
157
159
|
resetChannel: number;
|
|
158
160
|
duration: TimeSpan;
|
|
159
161
|
}[] | undefined;
|
|
@@ -184,7 +186,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
184
186
|
expression: string;
|
|
185
187
|
alias?: string | undefined;
|
|
186
188
|
operations?: {
|
|
187
|
-
type: "none" | "min" | "max" | "avg";
|
|
189
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
188
190
|
resetChannel: number;
|
|
189
191
|
duration: TimeSpan;
|
|
190
192
|
}[] | undefined;
|
|
@@ -215,7 +217,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
215
217
|
expression: string;
|
|
216
218
|
alias?: string | undefined;
|
|
217
219
|
operations?: {
|
|
218
|
-
type: "none" | "min" | "max" | "avg";
|
|
220
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
219
221
|
resetChannel: number;
|
|
220
222
|
duration: TimeSpan;
|
|
221
223
|
}[] | undefined;
|
|
@@ -256,6 +258,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
256
258
|
min: "min";
|
|
257
259
|
max: "max";
|
|
258
260
|
avg: "avg";
|
|
261
|
+
derivative: "derivative";
|
|
259
262
|
}>;
|
|
260
263
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
261
264
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -264,11 +267,11 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
264
267
|
value: bigint;
|
|
265
268
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').TimeStamp>>, z.ZodPipe<z.ZodCustom<Rate, Rate>, z.ZodTransform<TimeSpan, Rate>>]>>;
|
|
266
269
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
267
|
-
type: "none" | "min" | "max" | "avg";
|
|
270
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
268
271
|
resetChannel: number;
|
|
269
272
|
duration: TimeSpan;
|
|
270
273
|
}[] | undefined, {
|
|
271
|
-
type: "none" | "min" | "max" | "avg";
|
|
274
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
272
275
|
resetChannel: number;
|
|
273
276
|
duration: TimeSpan;
|
|
274
277
|
}[] | null>>>;
|
|
@@ -298,6 +301,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
298
301
|
min: "min";
|
|
299
302
|
max: "max";
|
|
300
303
|
avg: "avg";
|
|
304
|
+
derivative: "derivative";
|
|
301
305
|
}>;
|
|
302
306
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
303
307
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -306,11 +310,11 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
306
310
|
value: bigint;
|
|
307
311
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').TimeStamp>>, z.ZodPipe<z.ZodCustom<Rate, Rate>, z.ZodTransform<TimeSpan, Rate>>]>>;
|
|
308
312
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
309
|
-
type: "none" | "min" | "max" | "avg";
|
|
313
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
310
314
|
resetChannel: number;
|
|
311
315
|
duration: TimeSpan;
|
|
312
316
|
}[] | undefined, {
|
|
313
|
-
type: "none" | "min" | "max" | "avg";
|
|
317
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
314
318
|
resetChannel: number;
|
|
315
319
|
duration: TimeSpan;
|
|
316
320
|
}[] | null>>>;
|
|
@@ -335,7 +339,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
335
339
|
expression: string;
|
|
336
340
|
alias?: string | undefined;
|
|
337
341
|
operations?: {
|
|
338
|
-
type: "none" | "min" | "max" | "avg";
|
|
342
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
339
343
|
resetChannel: number;
|
|
340
344
|
duration: TimeSpan;
|
|
341
345
|
}[] | undefined;
|
|
@@ -366,7 +370,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
366
370
|
expression: string;
|
|
367
371
|
alias?: string | undefined;
|
|
368
372
|
operations?: {
|
|
369
|
-
type: "none" | "min" | "max" | "avg";
|
|
373
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
370
374
|
resetChannel: number;
|
|
371
375
|
duration: TimeSpan;
|
|
372
376
|
}[] | undefined;
|
|
@@ -397,7 +401,7 @@ export declare const streamerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
397
401
|
expression: string;
|
|
398
402
|
alias?: string | undefined;
|
|
399
403
|
operations?: {
|
|
400
|
-
type: "none" | "min" | "max" | "avg";
|
|
404
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
401
405
|
resetChannel: number;
|
|
402
406
|
duration: TimeSpan;
|
|
403
407
|
}[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamer.d.ts","sourceRoot":"","sources":["../../../src/framer/streamer.ts"],"names":[],"mappings":"AASA,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,OAAO,EAAE,KAAK,EAAU,MAAM,gBAAgB,CAAC;AAG/C,QAAA,MAAM,IAAI;;;;;iBAKR,CAAC;AAEH;;;GAGG;AACH,MAAM,WAAW,eAAgB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEhE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA8B,CAAC;AAEzC;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAiBjE,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"streamer.d.ts","sourceRoot":"","sources":["../../../src/framer/streamer.ts"],"names":[],"mappings":"AASA,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,OAAO,EAAE,KAAK,EAAU,MAAM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a,kBAAkB,CAAC,CAAC,GAAG,KAAK,CACvC,SAAQ,OAAO,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,CACjC,YAAW,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;IAE9C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAW;IACpC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAgB;IAE7C;;;;;;OAMG;gBACS,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,CAAC;IAMjE,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI/C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;YAKd,MAAM;CAGrB"}
|
|
@@ -90,6 +90,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
90
90
|
min: "min";
|
|
91
91
|
max: "max";
|
|
92
92
|
avg: "avg";
|
|
93
|
+
derivative: "derivative";
|
|
93
94
|
}>;
|
|
94
95
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
95
96
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -98,11 +99,11 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
98
99
|
value: bigint;
|
|
99
100
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<TimeStamp, TimeStamp>, z.ZodTransform<TimeSpan, TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
|
|
100
101
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
101
|
-
type: "none" | "min" | "max" | "avg";
|
|
102
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
102
103
|
resetChannel: number;
|
|
103
104
|
duration: TimeSpan;
|
|
104
105
|
}[] | undefined, {
|
|
105
|
-
type: "none" | "min" | "max" | "avg";
|
|
106
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
106
107
|
resetChannel: number;
|
|
107
108
|
duration: TimeSpan;
|
|
108
109
|
}[] | null>>>;
|
|
@@ -132,6 +133,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
132
133
|
min: "min";
|
|
133
134
|
max: "max";
|
|
134
135
|
avg: "avg";
|
|
136
|
+
derivative: "derivative";
|
|
135
137
|
}>;
|
|
136
138
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
137
139
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -140,11 +142,11 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
140
142
|
value: bigint;
|
|
141
143
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<TimeStamp, TimeStamp>, z.ZodTransform<TimeSpan, TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
|
|
142
144
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
143
|
-
type: "none" | "min" | "max" | "avg";
|
|
145
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
144
146
|
resetChannel: number;
|
|
145
147
|
duration: TimeSpan;
|
|
146
148
|
}[] | undefined, {
|
|
147
|
-
type: "none" | "min" | "max" | "avg";
|
|
149
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
148
150
|
resetChannel: number;
|
|
149
151
|
duration: TimeSpan;
|
|
150
152
|
}[] | null>>>;
|
|
@@ -169,7 +171,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
169
171
|
expression: string;
|
|
170
172
|
alias?: string | undefined;
|
|
171
173
|
operations?: {
|
|
172
|
-
type: "none" | "min" | "max" | "avg";
|
|
174
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
173
175
|
resetChannel: number;
|
|
174
176
|
duration: TimeSpan;
|
|
175
177
|
}[] | undefined;
|
|
@@ -200,7 +202,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
200
202
|
expression: string;
|
|
201
203
|
alias?: string | undefined;
|
|
202
204
|
operations?: {
|
|
203
|
-
type: "none" | "min" | "max" | "avg";
|
|
205
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
204
206
|
resetChannel: number;
|
|
205
207
|
duration: TimeSpan;
|
|
206
208
|
}[] | undefined;
|
|
@@ -231,7 +233,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
231
233
|
expression: string;
|
|
232
234
|
alias?: string | undefined;
|
|
233
235
|
operations?: {
|
|
234
|
-
type: "none" | "min" | "max" | "avg";
|
|
236
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
235
237
|
resetChannel: number;
|
|
236
238
|
duration: TimeSpan;
|
|
237
239
|
}[] | undefined;
|
|
@@ -268,6 +270,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
268
270
|
min: "min";
|
|
269
271
|
max: "max";
|
|
270
272
|
avg: "avg";
|
|
273
|
+
derivative: "derivative";
|
|
271
274
|
}>;
|
|
272
275
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
273
276
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -276,11 +279,11 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
276
279
|
value: bigint;
|
|
277
280
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<TimeStamp, TimeStamp>, z.ZodTransform<TimeSpan, TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
|
|
278
281
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
279
|
-
type: "none" | "min" | "max" | "avg";
|
|
282
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
280
283
|
resetChannel: number;
|
|
281
284
|
duration: TimeSpan;
|
|
282
285
|
}[] | undefined, {
|
|
283
|
-
type: "none" | "min" | "max" | "avg";
|
|
286
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
284
287
|
resetChannel: number;
|
|
285
288
|
duration: TimeSpan;
|
|
286
289
|
}[] | null>>>;
|
|
@@ -310,6 +313,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
310
313
|
min: "min";
|
|
311
314
|
max: "max";
|
|
312
315
|
avg: "avg";
|
|
316
|
+
derivative: "derivative";
|
|
313
317
|
}>;
|
|
314
318
|
resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
315
319
|
duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
@@ -318,11 +322,11 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
318
322
|
value: bigint;
|
|
319
323
|
}>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<TimeStamp, TimeStamp>, z.ZodTransform<TimeSpan, TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
|
|
320
324
|
}, z.core.$strip>>>, z.ZodTransform<{
|
|
321
|
-
type: "none" | "min" | "max" | "avg";
|
|
325
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
322
326
|
resetChannel: number;
|
|
323
327
|
duration: TimeSpan;
|
|
324
328
|
}[] | undefined, {
|
|
325
|
-
type: "none" | "min" | "max" | "avg";
|
|
329
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
326
330
|
resetChannel: number;
|
|
327
331
|
duration: TimeSpan;
|
|
328
332
|
}[] | null>>>;
|
|
@@ -347,7 +351,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
347
351
|
expression: string;
|
|
348
352
|
alias?: string | undefined;
|
|
349
353
|
operations?: {
|
|
350
|
-
type: "none" | "min" | "max" | "avg";
|
|
354
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
351
355
|
resetChannel: number;
|
|
352
356
|
duration: TimeSpan;
|
|
353
357
|
}[] | undefined;
|
|
@@ -378,7 +382,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
378
382
|
expression: string;
|
|
379
383
|
alias?: string | undefined;
|
|
380
384
|
operations?: {
|
|
381
|
-
type: "none" | "min" | "max" | "avg";
|
|
385
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
382
386
|
resetChannel: number;
|
|
383
387
|
duration: TimeSpan;
|
|
384
388
|
}[] | undefined;
|
|
@@ -409,7 +413,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
|
|
|
409
413
|
expression: string;
|
|
410
414
|
alias?: string | undefined;
|
|
411
415
|
operations?: {
|
|
412
|
-
type: "none" | "min" | "max" | "avg";
|
|
416
|
+
type: "none" | "min" | "max" | "avg" | "derivative";
|
|
413
417
|
resetChannel: number;
|
|
414
418
|
duration: TimeSpan;
|
|
415
419
|
}[] | undefined;
|
|
@@ -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,EAAE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,OAAO,EAAE,KAAK,UAAU,EAAU,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,oBAAY,UAAU;IACpB,aAAa,IAAI;IACjB,OAAO,IAAI;IACX,MAAM,IAAI;CACX;AAED,eAAO,MAAM,mCAAmC,EAAE,QAA2B,CAAC;;AAE9E,qBAAa,iBAAkB,SAAQ,sBAAgC;;CAItE;AAED,QAAA,MAAM,WAAW;;;;yEAWhB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAuC1D,QAAA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AAG,OAAO,CAAC,IAAI,CAAC;IAC5E,KAAK,CACT,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE,EACvC,IAAI,EAAE,WAAW,EAAE,GAClB,OAAO,CAAC,IAAI,CAAC;IACV,KAAK,CACT,KAAK,EAAE,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GAClE,OAAO,CAAC,IAAI,CAAC;IACV,KAAK,CACT,cAAc,EACV,OAAO,CAAC,MAAM,GACd,MAAM,CAAC,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GAC/C,UAAU,EACd,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,GACnC,OAAO,CAAC,IAAI,CAAC;IA6BV,YAAY,CAChB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,EACvB,SAAS,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,GAC3B,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;;OAOG;IACG,MAAM,IAAI,OAAO,CAAC,SAAS,CAAC;IAUlC;;;;OAIG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;YAId,aAAa;YAeb,OAAO;CAWtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synnaxlabs/client",
|
|
3
|
-
"version": "0.54.
|
|
3
|
+
"version": "0.54.1",
|
|
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.1"
|
|
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/tsconfig": "^0.0.0",
|
|
41
40
|
"@synnaxlabs/eslint-config": "^0.0.0",
|
|
41
|
+
"@synnaxlabs/tsconfig": "^0.0.0",
|
|
42
42
|
"@synnaxlabs/vite-plugin": "^0.0.0"
|
|
43
43
|
},
|
|
44
44
|
"type": "module",
|
package/src/arc/ir/types.gen.ts
CHANGED
package/src/channel/types.gen.ts
CHANGED
|
@@ -26,7 +26,7 @@ export type Key = z.infer<typeof keyZ>;
|
|
|
26
26
|
export const localKeyZ = zod.uint20;
|
|
27
27
|
export type LocalKey = z.infer<typeof localKeyZ>;
|
|
28
28
|
|
|
29
|
-
export const OPERATION_TYPES = ["min", "max", "avg", "none"] as const;
|
|
29
|
+
export const OPERATION_TYPES = ["min", "max", "avg", "none", "derivative"] as const;
|
|
30
30
|
export const operationTypeZ = z.enum(OPERATION_TYPES);
|
|
31
31
|
export type OperationType = z.infer<typeof operationTypeZ>;
|
|
32
32
|
|