@synnaxlabs/client 0.17.1 → 0.17.3
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/README.md +1 -1
- package/dist/client.cjs +5 -5
- package/dist/client.cjs.map +1 -1
- package/dist/client.js +60 -54
- package/dist/client.js.map +1 -1
- package/examples/node/liveStream.js +41 -0
- package/examples/node/package-lock.json +4 -4
- package/examples/node/package.json +1 -1
- package/examples/node/streamWrite.js +57 -2
- package/package.json +4 -4
- package/src/framer/frame.ts +5 -1
package/dist/client.js
CHANGED
|
@@ -3722,9 +3722,9 @@ const Ae = class Te {
|
|
|
3722
3722
|
);
|
|
3723
3723
|
}
|
|
3724
3724
|
toString() {
|
|
3725
|
-
const e = this.truncate(Te.DAY), t = this.truncate(Te.HOUR), n = this.truncate(Te.MINUTE), s = this.truncate(Te.SECOND), a = this.truncate(Te.MILLISECOND), i = this.truncate(Te.MICROSECOND), o = this.truncate(Te.NANOSECOND), c = e, l = t.sub(e), g = n.sub(t), E = s.sub(n), Q = a.sub(s), ce = i.sub(a),
|
|
3725
|
+
const e = this.truncate(Te.DAY), t = this.truncate(Te.HOUR), n = this.truncate(Te.MINUTE), s = this.truncate(Te.SECOND), a = this.truncate(Te.MILLISECOND), i = this.truncate(Te.MICROSECOND), o = this.truncate(Te.NANOSECOND), c = e, l = t.sub(e), g = n.sub(t), E = s.sub(n), Q = a.sub(s), ce = i.sub(a), Ne = o.sub(i);
|
|
3726
3726
|
let ee = "";
|
|
3727
|
-
return c.isZero || (ee += `${c.days}d `), l.isZero || (ee += `${l.hours}h `), g.isZero || (ee += `${g.minutes}m `), E.isZero || (ee += `${E.seconds}s `), Q.isZero || (ee += `${Q.milliseconds}ms `), ce.isZero || (ee += `${ce.microseconds}µs `),
|
|
3727
|
+
return c.isZero || (ee += `${c.days}d `), l.isZero || (ee += `${l.hours}h `), g.isZero || (ee += `${g.minutes}m `), E.isZero || (ee += `${E.seconds}s `), Q.isZero || (ee += `${Q.milliseconds}ms `), ce.isZero || (ee += `${ce.microseconds}µs `), Ne.isZero || (ee += `${Ne.nanoseconds}ns`), ee.trim();
|
|
3728
3728
|
}
|
|
3729
3729
|
/** @returns the decimal number of days in the timespan */
|
|
3730
3730
|
get days() {
|
|
@@ -4688,7 +4688,7 @@ let nm = (_n = class {
|
|
|
4688
4688
|
);
|
|
4689
4689
|
}
|
|
4690
4690
|
}, S(_n, "UNKNOWN", new _n({ host: "unknown", port: 0 })), _n);
|
|
4691
|
-
const
|
|
4691
|
+
const Se = (r) => Array.isArray(r) ? r : [r];
|
|
4692
4692
|
var _o;
|
|
4693
4693
|
try {
|
|
4694
4694
|
_o = new TextDecoder();
|
|
@@ -5132,19 +5132,19 @@ function cc(r) {
|
|
|
5132
5132
|
return Ye(e, t, n, s, a, i, o, c, l, g, E, Q, ce);
|
|
5133
5133
|
}
|
|
5134
5134
|
} else {
|
|
5135
|
-
let ce = P[p++],
|
|
5136
|
-
if ((ce & 128) > 0 || (
|
|
5135
|
+
let ce = P[p++], Ne = P[p++];
|
|
5136
|
+
if ((ce & 128) > 0 || (Ne & 128) > 0) {
|
|
5137
5137
|
p -= 14;
|
|
5138
5138
|
return;
|
|
5139
5139
|
}
|
|
5140
5140
|
if (r < 15)
|
|
5141
|
-
return Ye(e, t, n, s, a, i, o, c, l, g, E, Q, ce,
|
|
5141
|
+
return Ye(e, t, n, s, a, i, o, c, l, g, E, Q, ce, Ne);
|
|
5142
5142
|
let ee = P[p++];
|
|
5143
5143
|
if ((ee & 128) > 0) {
|
|
5144
5144
|
p -= 15;
|
|
5145
5145
|
return;
|
|
5146
5146
|
}
|
|
5147
|
-
return Ye(e, t, n, s, a, i, o, c, l, g, E, Q, ce,
|
|
5147
|
+
return Ye(e, t, n, s, a, i, o, c, l, g, E, Q, ce, Ne, ee);
|
|
5148
5148
|
}
|
|
5149
5149
|
}
|
|
5150
5150
|
}
|
|
@@ -5319,8 +5319,8 @@ let ym = class extends Ml {
|
|
|
5319
5319
|
e.structuredClone && e.moreTypes == null && (this.moreTypes = !0);
|
|
5320
5320
|
let E = e.maxOwnStructures;
|
|
5321
5321
|
E == null && (E = l ? 32 : 64), !this.structures && e.useRecords != !1 && (this.structures = []);
|
|
5322
|
-
let Q = g > 32 || E + g > 64, ce = g + 64,
|
|
5323
|
-
if (
|
|
5322
|
+
let Q = g > 32 || E + g > 64, ce = g + 64, Ne = g + E + 64;
|
|
5323
|
+
if (Ne > 8256)
|
|
5324
5324
|
throw new Error("Maximum maxSharedStructure + maxOwnStructure is 8192");
|
|
5325
5325
|
let ee = [], tr = 0, rr = 0;
|
|
5326
5326
|
this.pack = this.encode = function(d, O) {
|
|
@@ -5593,7 +5593,7 @@ let ym = class extends Ml {
|
|
|
5593
5593
|
return Ie = m.dataView || (m.dataView = new DataView(m.buffer, 0, O)), d = Math.min(d, b.length), b.copy ? b.copy(m, 0, t, d) : m.set(b.slice(t, d)), v -= t, t = 0, dt = m.length - 10, b = m;
|
|
5594
5594
|
}, Qr = (d, O, m) => {
|
|
5595
5595
|
let y = s.nextId;
|
|
5596
|
-
y || (y = 64), y < ce && this.shouldShareStructure && !this.shouldShareStructure(O) ? (y = s.nextOwnId, y <
|
|
5596
|
+
y || (y = 64), y < ce && this.shouldShareStructure && !this.shouldShareStructure(O) ? (y = s.nextOwnId, y < Ne || (y = ce), s.nextOwnId = y + 1) : (y >= Ne && (y = ce), s.nextId = y + 1);
|
|
5597
5597
|
let k = O.highByte = y >= 96 && Q ? y - 96 >> 5 : -1;
|
|
5598
5598
|
d[kn] = y, d.__keys__ = O, s[y - 64] = O, y < ce ? (O.isShared = !0, s.sharedLength = y - 63, n = !0, k >= 0 ? (b[v++] = (y & 31) + 96, b[v++] = k) : b[v++] = y) : (k >= 0 ? (b[v++] = 213, b[v++] = 114, b[v++] = (y & 31) + 96, b[v++] = k) : (b[v++] = 212, b[v++] = 114, b[v++] = y), m && (tr += rr * m), ee.length >= E && (ee.shift()[kn] = 0), ee.push(d), te(O));
|
|
5599
5599
|
}, Jn = (d, O, m, y) => {
|
|
@@ -6065,7 +6065,7 @@ class lc {
|
|
|
6065
6065
|
}
|
|
6066
6066
|
}
|
|
6067
6067
|
const Jr = (r) => {
|
|
6068
|
-
const e =
|
|
6068
|
+
const e = Se(r).filter((t) => t != 0);
|
|
6069
6069
|
return {
|
|
6070
6070
|
single: !Array.isArray(r),
|
|
6071
6071
|
variant: typeof e[0] == "number" ? "keys" : "names",
|
|
@@ -9806,9 +9806,9 @@ const $e = class xe {
|
|
|
9806
9806
|
);
|
|
9807
9807
|
}
|
|
9808
9808
|
toString() {
|
|
9809
|
-
const e = this.truncate(xe.DAY), t = this.truncate(xe.HOUR), n = this.truncate(xe.MINUTE), s = this.truncate(xe.SECOND), a = this.truncate(xe.MILLISECOND), i = this.truncate(xe.MICROSECOND), o = this.truncate(xe.NANOSECOND), c = e, l = t.sub(e), g = n.sub(t), E = s.sub(n), Q = a.sub(s), ce = i.sub(a),
|
|
9809
|
+
const e = this.truncate(xe.DAY), t = this.truncate(xe.HOUR), n = this.truncate(xe.MINUTE), s = this.truncate(xe.SECOND), a = this.truncate(xe.MILLISECOND), i = this.truncate(xe.MICROSECOND), o = this.truncate(xe.NANOSECOND), c = e, l = t.sub(e), g = n.sub(t), E = s.sub(n), Q = a.sub(s), ce = i.sub(a), Ne = o.sub(i);
|
|
9810
9810
|
let ee = "";
|
|
9811
|
-
return c.isZero || (ee += `${c.days}d `), l.isZero || (ee += `${l.hours}h `), g.isZero || (ee += `${g.minutes}m `), E.isZero || (ee += `${E.seconds}s `), Q.isZero || (ee += `${Q.milliseconds}ms `), ce.isZero || (ee += `${ce.microseconds}µs `),
|
|
9811
|
+
return c.isZero || (ee += `${c.days}d `), l.isZero || (ee += `${l.hours}h `), g.isZero || (ee += `${g.minutes}m `), E.isZero || (ee += `${E.seconds}s `), Q.isZero || (ee += `${Q.milliseconds}ms `), ce.isZero || (ee += `${ce.microseconds}µs `), Ne.isZero || (ee += `${Ne.nanoseconds}ns`), ee.trim();
|
|
9812
9812
|
}
|
|
9813
9813
|
/** @returns the decimal number of days in the timespan */
|
|
9814
9814
|
get days() {
|
|
@@ -10911,19 +10911,19 @@ function xc(r) {
|
|
|
10911
10911
|
return Je(e, t, n, s, a, i, o, c, l, g, E, Q, ce);
|
|
10912
10912
|
}
|
|
10913
10913
|
} else {
|
|
10914
|
-
let ce = U[f++],
|
|
10915
|
-
if ((ce & 128) > 0 || (
|
|
10914
|
+
let ce = U[f++], Ne = U[f++];
|
|
10915
|
+
if ((ce & 128) > 0 || (Ne & 128) > 0) {
|
|
10916
10916
|
f -= 14;
|
|
10917
10917
|
return;
|
|
10918
10918
|
}
|
|
10919
10919
|
if (r < 15)
|
|
10920
|
-
return Je(e, t, n, s, a, i, o, c, l, g, E, Q, ce,
|
|
10920
|
+
return Je(e, t, n, s, a, i, o, c, l, g, E, Q, ce, Ne);
|
|
10921
10921
|
let ee = U[f++];
|
|
10922
10922
|
if ((ee & 128) > 0) {
|
|
10923
10923
|
f -= 15;
|
|
10924
10924
|
return;
|
|
10925
10925
|
}
|
|
10926
|
-
return Je(e, t, n, s, a, i, o, c, l, g, E, Q, ce,
|
|
10926
|
+
return Je(e, t, n, s, a, i, o, c, l, g, E, Q, ce, Ne, ee);
|
|
10927
10927
|
}
|
|
10928
10928
|
}
|
|
10929
10929
|
}
|
|
@@ -11098,8 +11098,8 @@ class Qg extends Zs {
|
|
|
11098
11098
|
e.structuredClone && e.moreTypes == null && (this.moreTypes = !0);
|
|
11099
11099
|
let E = e.maxOwnStructures;
|
|
11100
11100
|
E == null && (E = l ? 32 : 64), !this.structures && e.useRecords != !1 && (this.structures = []);
|
|
11101
|
-
let Q = g > 32 || E + g > 64, ce = g + 64,
|
|
11102
|
-
if (
|
|
11101
|
+
let Q = g > 32 || E + g > 64, ce = g + 64, Ne = g + E + 64;
|
|
11102
|
+
if (Ne > 8256)
|
|
11103
11103
|
throw new Error("Maximum maxSharedStructure + maxOwnStructure is 8192");
|
|
11104
11104
|
let ee = [], tr = 0, rr = 0;
|
|
11105
11105
|
this.pack = this.encode = function(d, O) {
|
|
@@ -11372,7 +11372,7 @@ class Qg extends Zs {
|
|
|
11372
11372
|
return Ce = m.dataView || (m.dataView = new DataView(m.buffer, 0, O)), d = Math.min(d, _.length), _.copy ? _.copy(m, 0, t, d) : m.set(_.slice(t, d)), w -= t, t = 0, ht = m.length - 10, _ = m;
|
|
11373
11373
|
}, Qr = (d, O, m) => {
|
|
11374
11374
|
let y = s.nextId;
|
|
11375
|
-
y || (y = 64), y < ce && this.shouldShareStructure && !this.shouldShareStructure(O) ? (y = s.nextOwnId, y <
|
|
11375
|
+
y || (y = 64), y < ce && this.shouldShareStructure && !this.shouldShareStructure(O) ? (y = s.nextOwnId, y < Ne || (y = ce), s.nextOwnId = y + 1) : (y >= Ne && (y = ce), s.nextId = y + 1);
|
|
11376
11376
|
let k = O.highByte = y >= 96 && Q ? y - 96 >> 5 : -1;
|
|
11377
11377
|
d[Tn] = y, d.__keys__ = O, s[y - 64] = O, y < ce ? (O.isShared = !0, s.sharedLength = y - 63, n = !0, k >= 0 ? (_[w++] = (y & 31) + 96, _[w++] = k) : _[w++] = y) : (k >= 0 ? (_[w++] = 213, _[w++] = 114, _[w++] = (y & 31) + 96, _[w++] = k) : (_[w++] = 212, _[w++] = 114, _[w++] = y), m && (tr += rr * m), ee.length >= E && (ee.shift()[Tn] = 0), ee.push(d), te(O));
|
|
11378
11378
|
}, Jn = (d, O, m, y) => {
|
|
@@ -14480,8 +14480,8 @@ class dw extends ih {
|
|
|
14480
14480
|
try {
|
|
14481
14481
|
E = await Ru(l.protocol)(l.target, o);
|
|
14482
14482
|
} catch (ce) {
|
|
14483
|
-
let
|
|
14484
|
-
return
|
|
14483
|
+
let Ne = ce;
|
|
14484
|
+
return Ne.message === "Load failed" && (Ne = new qs({ url: i })), [g, Ne];
|
|
14485
14485
|
}
|
|
14486
14486
|
const Q = await E.arrayBuffer();
|
|
14487
14487
|
if (E != null && E.ok)
|
|
@@ -14489,8 +14489,8 @@ class dw extends ih {
|
|
|
14489
14489
|
try {
|
|
14490
14490
|
if (E.status !== 400)
|
|
14491
14491
|
return [g, new Error(E.statusText)];
|
|
14492
|
-
const ce = this.encoder.decode(Q, ta),
|
|
14493
|
-
return [g,
|
|
14492
|
+
const ce = this.encoder.decode(Q, ta), Ne = Nc(ce);
|
|
14493
|
+
return [g, Ne];
|
|
14494
14494
|
} catch (ce) {
|
|
14495
14495
|
return [
|
|
14496
14496
|
g,
|
|
@@ -14804,7 +14804,7 @@ let hh = class {
|
|
|
14804
14804
|
}
|
|
14805
14805
|
async create(e, t = {}) {
|
|
14806
14806
|
const { retrieveIfNameExists: n = !1 } = t, s = !Array.isArray(e);
|
|
14807
|
-
let a =
|
|
14807
|
+
let a = Se(e), i = [];
|
|
14808
14808
|
if (n) {
|
|
14809
14809
|
const o = await this.retriever.retrieve(a.map((l) => l.name)), c = new Set(o.map((l) => l.name));
|
|
14810
14810
|
a = a.filter((l) => !c.has(l.name)), i = this.sugar(o);
|
|
@@ -15006,10 +15006,10 @@ h(Zr, "Absolute", 255), h(Zr, "Default", 1), h(Zr, "z", u.union([
|
|
|
15006
15006
|
]));
|
|
15007
15007
|
let vn = Zr;
|
|
15008
15008
|
const Uu = (r) => {
|
|
15009
|
-
const e =
|
|
15009
|
+
const e = Se(r);
|
|
15010
15010
|
return e.length === 0 ? null : typeof e[0] == "number" ? "key" : "name";
|
|
15011
15011
|
}, Du = (r, e) => {
|
|
15012
|
-
const t =
|
|
15012
|
+
const t = Se(r);
|
|
15013
15013
|
if (t.length === e.length)
|
|
15014
15014
|
return;
|
|
15015
15015
|
const n = Uu(r);
|
|
@@ -15029,7 +15029,7 @@ class wt {
|
|
|
15029
15029
|
return;
|
|
15030
15030
|
}
|
|
15031
15031
|
if (e instanceof Map) {
|
|
15032
|
-
e.forEach((s, a) => this.push(a, ...
|
|
15032
|
+
e.forEach((s, a) => this.push(a, ...Se(s)));
|
|
15033
15033
|
return;
|
|
15034
15034
|
}
|
|
15035
15035
|
if (typeof e == "object" && !Array.isArray(e)) {
|
|
@@ -15037,11 +15037,17 @@ class wt {
|
|
|
15037
15037
|
const s = e, a = s.series.map((i) => yh(i));
|
|
15038
15038
|
Du(s.keys, a), s.keys.forEach((i, o) => this.push(i, a[o]));
|
|
15039
15039
|
} else
|
|
15040
|
-
Object.entries(e).forEach(([s, a]) =>
|
|
15040
|
+
Object.entries(e).forEach(([s, a]) => {
|
|
15041
|
+
const i = parseInt(s);
|
|
15042
|
+
if (isNaN(i))
|
|
15043
|
+
this.push(s, ...Se(a));
|
|
15044
|
+
else
|
|
15045
|
+
return this.push(i, ...Se(a));
|
|
15046
|
+
});
|
|
15041
15047
|
return;
|
|
15042
15048
|
}
|
|
15043
15049
|
if (Array.isArray(e) || ["string", "number"].includes(typeof e)) {
|
|
15044
|
-
const s =
|
|
15050
|
+
const s = Se(t), a = Se(e);
|
|
15045
15051
|
Du(a, s), s.forEach((i, o) => this.push(a[o], i));
|
|
15046
15052
|
return;
|
|
15047
15053
|
}
|
|
@@ -15664,7 +15670,7 @@ let wh = (un = class {
|
|
|
15664
15670
|
start: new je(i),
|
|
15665
15671
|
keys: c.keys,
|
|
15666
15672
|
controlSubject: a,
|
|
15667
|
-
authorities:
|
|
15673
|
+
authorities: Se(s),
|
|
15668
15674
|
mode: o
|
|
15669
15675
|
}
|
|
15670
15676
|
}), g;
|
|
@@ -15914,7 +15920,7 @@ let kh = class {
|
|
|
15914
15920
|
return (await this.writer.create([e]))[0];
|
|
15915
15921
|
}
|
|
15916
15922
|
async retrieve(e) {
|
|
15917
|
-
const t = await this.retriever.retrieve(
|
|
15923
|
+
const t = await this.retriever.retrieve(Se(e));
|
|
15918
15924
|
return Array.isArray(e) ? t : t[0];
|
|
15919
15925
|
}
|
|
15920
15926
|
async search(e) {
|
|
@@ -16017,7 +16023,7 @@ let xh = class {
|
|
|
16017
16023
|
return this.sugar(n);
|
|
16018
16024
|
}
|
|
16019
16025
|
async retrieve(e) {
|
|
16020
|
-
const t = await this.retriever.retrieve(
|
|
16026
|
+
const t = await this.retriever.retrieve(Se(e));
|
|
16021
16027
|
return Array.isArray(e) ? this.sugar(t) : this.sugar(t)[0];
|
|
16022
16028
|
}
|
|
16023
16029
|
sugar(e) {
|
|
@@ -16144,7 +16150,7 @@ let Ah = class {
|
|
|
16144
16150
|
async retrieve(e) {
|
|
16145
16151
|
const t = {};
|
|
16146
16152
|
let n = !0;
|
|
16147
|
-
typeof e == "number" ? t.rack = e : typeof e == "string" ? (n = !1, t.keys = [e]) : t.keys =
|
|
16153
|
+
typeof e == "number" ? t.rack = e : typeof e == "string" ? (n = !1, t.keys = [e]) : t.keys = Se(e);
|
|
16148
16154
|
const s = await this.retriever.retrieve(t);
|
|
16149
16155
|
return n ? s : s[0];
|
|
16150
16156
|
}
|
|
@@ -16394,14 +16400,14 @@ let $b = ($n = class {
|
|
|
16394
16400
|
}
|
|
16395
16401
|
async retrieve(e, t = !0, n = !0) {
|
|
16396
16402
|
return await this.execute({
|
|
16397
|
-
ids:
|
|
16403
|
+
ids: Se(e).map((s) => new rt(s).payload),
|
|
16398
16404
|
includeFieldData: n,
|
|
16399
16405
|
includeSchema: t
|
|
16400
16406
|
});
|
|
16401
16407
|
}
|
|
16402
16408
|
async retrieveChildren(e, t = !0, n = !0) {
|
|
16403
16409
|
return await this.execute({
|
|
16404
|
-
ids:
|
|
16410
|
+
ids: Se(e).map((s) => new rt(s).payload),
|
|
16405
16411
|
children: !0,
|
|
16406
16412
|
includeSchema: t,
|
|
16407
16413
|
includeFieldData: n
|
|
@@ -16409,7 +16415,7 @@ let $b = ($n = class {
|
|
|
16409
16415
|
}
|
|
16410
16416
|
async retrieveParents(e, t = !0, n = !0) {
|
|
16411
16417
|
return await this.execute({
|
|
16412
|
-
ids:
|
|
16418
|
+
ids: Se(e).map((s) => new rt(s).payload),
|
|
16413
16419
|
parents: !0,
|
|
16414
16420
|
includeSchema: t,
|
|
16415
16421
|
includeFieldData: n
|
|
@@ -16615,7 +16621,7 @@ let Mh = (Cn = class {
|
|
|
16615
16621
|
this.client = e;
|
|
16616
16622
|
}
|
|
16617
16623
|
async retrieve(e) {
|
|
16618
|
-
const t =
|
|
16624
|
+
const t = Se(e);
|
|
16619
16625
|
return await this.execute({ keys: t });
|
|
16620
16626
|
}
|
|
16621
16627
|
async retrieveFor(e) {
|
|
@@ -16658,7 +16664,7 @@ let zh = class {
|
|
|
16658
16664
|
return (await J(
|
|
16659
16665
|
this.client,
|
|
16660
16666
|
zb,
|
|
16661
|
-
{ labels:
|
|
16667
|
+
{ labels: Se(e) },
|
|
16662
16668
|
Db,
|
|
16663
16669
|
Mb
|
|
16664
16670
|
)).labels;
|
|
@@ -16667,7 +16673,7 @@ let zh = class {
|
|
|
16667
16673
|
await J(
|
|
16668
16674
|
this.client,
|
|
16669
16675
|
Vb,
|
|
16670
|
-
{ keys:
|
|
16676
|
+
{ keys: Se(e) },
|
|
16671
16677
|
Lb,
|
|
16672
16678
|
lo
|
|
16673
16679
|
);
|
|
@@ -16757,7 +16763,7 @@ const Yb = (r, e) => r === "delete" ? e.toUUIDs().map((t) => ({
|
|
|
16757
16763
|
}), Kh = aa.extend({
|
|
16758
16764
|
key: u.string().uuid().optional()
|
|
16759
16765
|
}), Dc = (r) => {
|
|
16760
|
-
const e =
|
|
16766
|
+
const e = Se(r);
|
|
16761
16767
|
if (e.length === 0)
|
|
16762
16768
|
throw new Error("Range params must not be empty");
|
|
16763
16769
|
const t = ut.safeParse(e[0]).success;
|
|
@@ -16927,7 +16933,7 @@ const f_ = u.object({
|
|
|
16927
16933
|
async get(e) {
|
|
16928
16934
|
const [t, n] = await this.client.send(
|
|
16929
16935
|
$r.GET_ENDPOINT,
|
|
16930
|
-
{ range: this.rangeKey, keys:
|
|
16936
|
+
{ range: this.rangeKey, keys: Se(e) },
|
|
16931
16937
|
g_,
|
|
16932
16938
|
v_
|
|
16933
16939
|
);
|
|
@@ -16951,7 +16957,7 @@ const f_ = u.object({
|
|
|
16951
16957
|
await J(
|
|
16952
16958
|
this.client,
|
|
16953
16959
|
$r.DELETE_ENDPOINT,
|
|
16954
|
-
{ range: this.rangeKey, keys:
|
|
16960
|
+
{ range: this.rangeKey, keys: Se(e) },
|
|
16955
16961
|
b_,
|
|
16956
16962
|
u.unknown()
|
|
16957
16963
|
);
|
|
@@ -17012,14 +17018,14 @@ let Fh = class {
|
|
|
17012
17018
|
this.frameClient = e, this.retriever = t, this.writer = n, this.unaryClient = s, this.channels = a, this.active = new n_(s), this.labelClient = i;
|
|
17013
17019
|
}
|
|
17014
17020
|
async create(e) {
|
|
17015
|
-
const t = !Array.isArray(e), n = this.sugar(await this.writer.create(
|
|
17021
|
+
const t = !Array.isArray(e), n = this.sugar(await this.writer.create(Se(e)));
|
|
17016
17022
|
return t ? n[0] : n;
|
|
17017
17023
|
}
|
|
17018
17024
|
async rename(e, t) {
|
|
17019
17025
|
await this.writer.rename(e, t);
|
|
17020
17026
|
}
|
|
17021
17027
|
async delete(e) {
|
|
17022
|
-
await this.writer.delete(
|
|
17028
|
+
await this.writer.delete(Se(e));
|
|
17023
17029
|
}
|
|
17024
17030
|
async search(e) {
|
|
17025
17031
|
return this.sugar(await this.retriever.search(e));
|
|
@@ -17177,7 +17183,7 @@ let P_ = class {
|
|
|
17177
17183
|
this.client = e;
|
|
17178
17184
|
}
|
|
17179
17185
|
async retrieve(e) {
|
|
17180
|
-
const t =
|
|
17186
|
+
const t = Se(e);
|
|
17181
17187
|
return (await J(
|
|
17182
17188
|
this.client,
|
|
17183
17189
|
this.ENDPOINT,
|
|
@@ -17220,7 +17226,7 @@ let G_ = class {
|
|
|
17220
17226
|
)).linePlots[0];
|
|
17221
17227
|
}
|
|
17222
17228
|
async delete(e) {
|
|
17223
|
-
const t =
|
|
17229
|
+
const t = Se(e);
|
|
17224
17230
|
await J(
|
|
17225
17231
|
this.client,
|
|
17226
17232
|
W_,
|
|
@@ -17295,7 +17301,7 @@ let t1 = class {
|
|
|
17295
17301
|
return (await J(
|
|
17296
17302
|
this.client,
|
|
17297
17303
|
this.ENDPOINT,
|
|
17298
|
-
{ keys:
|
|
17304
|
+
{ keys: Se(e) },
|
|
17299
17305
|
Q_,
|
|
17300
17306
|
e1
|
|
17301
17307
|
)).pids;
|
|
@@ -17351,7 +17357,7 @@ let y1 = class {
|
|
|
17351
17357
|
)).pid;
|
|
17352
17358
|
}
|
|
17353
17359
|
async delete(e) {
|
|
17354
|
-
const t =
|
|
17360
|
+
const t = Se(e);
|
|
17355
17361
|
await J(
|
|
17356
17362
|
this.client,
|
|
17357
17363
|
h1,
|
|
@@ -17418,7 +17424,7 @@ const v1 = u.object({
|
|
|
17418
17424
|
this.client = e;
|
|
17419
17425
|
}
|
|
17420
17426
|
async retrieve(e) {
|
|
17421
|
-
const t =
|
|
17427
|
+
const t = Se(e);
|
|
17422
17428
|
return await this.execute({ keys: t });
|
|
17423
17429
|
}
|
|
17424
17430
|
async retrieveByAuthor(e) {
|
|
@@ -17461,7 +17467,7 @@ class C1 {
|
|
|
17461
17467
|
return (await J(
|
|
17462
17468
|
this.client,
|
|
17463
17469
|
A1,
|
|
17464
|
-
{ workspaces:
|
|
17470
|
+
{ workspaces: Se(e) },
|
|
17465
17471
|
_1,
|
|
17466
17472
|
k1
|
|
17467
17473
|
)).workspaces;
|
|
@@ -17470,7 +17476,7 @@ class C1 {
|
|
|
17470
17476
|
await J(
|
|
17471
17477
|
this.client,
|
|
17472
17478
|
I1,
|
|
17473
|
-
{ keys:
|
|
17479
|
+
{ keys: Se(e) },
|
|
17474
17480
|
O1,
|
|
17475
17481
|
T1
|
|
17476
17482
|
);
|
|
@@ -17605,11 +17611,11 @@ class R1 {
|
|
|
17605
17611
|
new Oh(this.transport.unary),
|
|
17606
17612
|
new Th(this.transport.unary),
|
|
17607
17613
|
this.telem
|
|
17608
|
-
), ce = new Ih(this.transport.unary),
|
|
17614
|
+
), ce = new Ih(this.transport.unary), Ne = new Zh(this.transport.unary), ee = new Ah(ce, Ne), tr = new xh(
|
|
17609
17615
|
new Eh(this.transport.unary),
|
|
17610
17616
|
new Nh(this.transport.unary),
|
|
17611
17617
|
this.telem,
|
|
17612
|
-
|
|
17618
|
+
Ne,
|
|
17613
17619
|
ce
|
|
17614
17620
|
);
|
|
17615
17621
|
this.hardware = new _h(ee, tr, Q);
|