@synnaxlabs/client 0.29.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +6 -6
- package/api/client.api.md +615 -261
- package/dist/access/client.d.ts +2 -7
- package/dist/access/client.d.ts.map +1 -1
- package/dist/access/payload.d.ts +7 -102
- package/dist/access/payload.d.ts.map +1 -1
- package/dist/access/policy/client.d.ts +17 -0
- package/dist/access/policy/client.d.ts.map +1 -0
- package/dist/access/policy/external.d.ts +3 -0
- package/dist/access/policy/external.d.ts.map +1 -0
- package/dist/access/policy/index.d.ts +2 -0
- package/dist/access/policy/index.d.ts.map +1 -0
- package/dist/access/policy/payload.d.ts +163 -0
- package/dist/access/policy/payload.d.ts.map +1 -0
- package/dist/access/policy/policy.spec.d.ts +2 -0
- package/dist/access/policy/policy.spec.d.ts.map +1 -0
- package/dist/access/policy/retriever.d.ts +36 -0
- package/dist/access/policy/retriever.d.ts.map +1 -0
- package/dist/access/policy/writer.d.ts +9 -0
- package/dist/access/policy/writer.d.ts.map +1 -0
- package/dist/auth/auth.d.ts +6 -30
- package/dist/auth/auth.d.ts.map +1 -1
- package/dist/channel/payload.d.ts +17 -17
- package/dist/channel/payload.d.ts.map +1 -1
- package/dist/channel/retriever.d.ts +8 -8
- package/dist/client.cjs +31 -21
- package/dist/client.js +2962 -2230
- package/dist/framer/client.d.ts +4 -1
- package/dist/framer/client.d.ts.map +1 -1
- package/dist/framer/frame.d.ts +27 -80
- package/dist/framer/frame.d.ts.map +1 -1
- package/dist/framer/streamer.d.ts +3 -1
- package/dist/framer/streamer.d.ts.map +1 -1
- package/dist/framer/writer.d.ts +24 -16
- package/dist/framer/writer.d.ts.map +1 -1
- package/dist/hardware/device/client.d.ts +2 -2
- package/dist/hardware/device/payload.d.ts +1 -1
- package/dist/hardware/device/payload.d.ts.map +1 -1
- package/dist/hardware/rack/payload.d.ts +1 -1
- package/dist/hardware/rack/payload.d.ts.map +1 -1
- package/dist/hardware/task/client.d.ts +2 -2
- package/dist/hardware/task/ni/types.d.ts +16 -16
- package/dist/hardware/task/payload.d.ts +13 -13
- package/dist/hardware/task/payload.d.ts.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/label/payload.d.ts +1 -1
- package/dist/label/payload.d.ts.map +1 -1
- package/dist/label/writer.d.ts +5 -5
- package/dist/ontology/client.d.ts +32 -30
- package/dist/ontology/client.d.ts.map +1 -1
- package/dist/ontology/payload.d.ts +62 -63
- package/dist/ontology/payload.d.ts.map +1 -1
- package/dist/ranger/payload.d.ts +2 -2
- package/dist/ranger/payload.d.ts.map +1 -1
- package/dist/ranger/writer.d.ts +5 -5
- package/dist/user/client.d.ts +13 -3
- package/dist/user/client.d.ts.map +1 -1
- package/dist/user/payload.d.ts +34 -3
- package/dist/user/payload.d.ts.map +1 -1
- package/dist/user/retriever.d.ts +21 -0
- package/dist/user/retriever.d.ts.map +1 -0
- package/dist/user/user.spec.d.ts +2 -0
- package/dist/user/user.spec.d.ts.map +1 -0
- package/dist/user/writer.d.ts +11 -0
- package/dist/user/writer.d.ts.map +1 -0
- package/dist/workspace/lineplot/payload.d.ts +1 -1
- package/dist/workspace/lineplot/payload.d.ts.map +1 -1
- package/dist/workspace/payload.d.ts +1 -1
- package/dist/workspace/payload.d.ts.map +1 -1
- package/dist/workspace/schematic/client.d.ts.map +1 -1
- package/dist/workspace/schematic/payload.d.ts +1 -1
- package/dist/workspace/schematic/payload.d.ts.map +1 -1
- package/examples/node/package-lock.json +963 -134
- package/examples/node/package.json +1 -1
- package/package.json +3 -3
- package/src/access/client.ts +4 -70
- package/src/access/payload.ts +14 -24
- package/src/access/policy/client.ts +65 -0
- package/src/access/policy/external.ts +11 -0
- package/src/access/policy/index.ts +10 -0
- package/src/access/policy/payload.ts +45 -0
- package/src/access/policy/policy.spec.ts +331 -0
- package/src/access/policy/retriever.ts +43 -0
- package/src/access/policy/writer.ts +65 -0
- package/src/auth/auth.ts +32 -10
- package/src/channel/payload.ts +2 -2
- package/src/framer/client.ts +7 -1
- package/src/framer/frame.spec.ts +21 -12
- package/src/framer/frame.ts +9 -24
- package/src/framer/streamer.spec.ts +51 -0
- package/src/framer/streamer.ts +9 -4
- package/src/framer/writer.ts +0 -2
- package/src/hardware/device/payload.ts +2 -2
- package/src/hardware/rack/payload.ts +2 -2
- package/src/hardware/task/payload.ts +2 -2
- package/src/index.ts +16 -13
- package/src/label/payload.ts +2 -2
- package/src/ontology/client.ts +35 -34
- package/src/ontology/payload.ts +28 -35
- package/src/ranger/payload.ts +5 -7
- package/src/setupspecs.ts +2 -2
- package/src/user/client.ts +63 -19
- package/src/user/payload.ts +14 -7
- package/src/user/retriever.ts +41 -0
- package/src/user/user.spec.ts +289 -0
- package/src/user/writer.ts +91 -0
- package/src/workspace/lineplot/payload.ts +2 -2
- package/src/workspace/payload.ts +2 -2
- package/src/workspace/schematic/client.ts +1 -1
- package/src/workspace/schematic/payload.ts +2 -2
- package/src/workspace/workspace.spec.ts +1 -1
- package/dist/access/access.spec.d.ts +0 -2
- package/dist/access/access.spec.d.ts.map +0 -1
- package/src/access/access.spec.ts +0 -276
package/api/client.api.md
CHANGED
|
@@ -48,6 +48,34 @@ import { UnknownRecord } from '@synnaxlabs/x';
|
|
|
48
48
|
import { UnknownRecord as UnknownRecord_2 } from '@synnaxlabs/x/record';
|
|
49
49
|
import { z } from 'zod';
|
|
50
50
|
|
|
51
|
+
declare namespace access {
|
|
52
|
+
export {
|
|
53
|
+
Client,
|
|
54
|
+
keyZ_2 as keyZ,
|
|
55
|
+
Key_3 as Key,
|
|
56
|
+
Params_3 as Params,
|
|
57
|
+
actionZ,
|
|
58
|
+
Action,
|
|
59
|
+
newPolicyZ,
|
|
60
|
+
NewPolicy,
|
|
61
|
+
policyZ,
|
|
62
|
+
Policy,
|
|
63
|
+
OntologyType,
|
|
64
|
+
ontologyID,
|
|
65
|
+
Retriever_2 as Retriever
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Warning: (ae-missing-release-tag) "Action" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
70
|
+
//
|
|
71
|
+
// @public (undocumented)
|
|
72
|
+
type Action = z.infer<typeof actionZ>;
|
|
73
|
+
|
|
74
|
+
// Warning: (ae-missing-release-tag) "actionZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
75
|
+
//
|
|
76
|
+
// @public (undocumented)
|
|
77
|
+
const actionZ: z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"create">, z.ZodLiteral<"delete">, z.ZodLiteral<"retrieve">, z.ZodLiteral<"rename">]>;
|
|
78
|
+
|
|
51
79
|
// Warning: (ae-missing-release-tag) "Alias" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
52
80
|
//
|
|
53
81
|
// @public (undocumented)
|
|
@@ -57,7 +85,7 @@ interface Alias {
|
|
|
57
85
|
// (undocumented)
|
|
58
86
|
channel: channel.Key;
|
|
59
87
|
// (undocumented)
|
|
60
|
-
range:
|
|
88
|
+
range: Key_4;
|
|
61
89
|
}
|
|
62
90
|
|
|
63
91
|
// Warning: (ae-missing-release-tag) "AliasChange" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -74,7 +102,7 @@ const ALWAYS_INDEX_PERSIST_ON_AUTO_COMMIT: TimeSpan;
|
|
|
74
102
|
// Warning: (ae-missing-release-tag) "analyzeChannelParams" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
75
103
|
//
|
|
76
104
|
// @public (undocumented)
|
|
77
|
-
const analyzeChannelParams: (channels:
|
|
105
|
+
const analyzeChannelParams: (channels: Params_2) => ParamAnalysisResult_2<KeyOrName, {
|
|
78
106
|
number: "keys";
|
|
79
107
|
string: "names";
|
|
80
108
|
}>;
|
|
@@ -82,7 +110,7 @@ const analyzeChannelParams: (channels: Params) => ParamAnalysisResult_2<KeyOrNam
|
|
|
82
110
|
// Warning: (ae-missing-release-tag) "analyzeParams" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
83
111
|
//
|
|
84
112
|
// @public (undocumented)
|
|
85
|
-
const analyzeParams_2: (ranges:
|
|
113
|
+
const analyzeParams_2: (ranges: Params_5) => ParamAnalysisResult_3;
|
|
86
114
|
|
|
87
115
|
// Warning: (ae-missing-release-tag) "AuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
88
116
|
//
|
|
@@ -126,17 +154,17 @@ const BuiltinOntologyType: ResourceType;
|
|
|
126
154
|
class CacheRetriever implements Retriever {
|
|
127
155
|
constructor(wrapped: Retriever);
|
|
128
156
|
// (undocumented)
|
|
129
|
-
delete(channels:
|
|
157
|
+
delete(channels: Params_2): void;
|
|
130
158
|
// (undocumented)
|
|
131
|
-
page(offset: number, limit: number, options?: PageOptions): Promise<
|
|
159
|
+
page(offset: number, limit: number, options?: PageOptions): Promise<Payload_2[]>;
|
|
132
160
|
// (undocumented)
|
|
133
|
-
rename(keys:
|
|
161
|
+
rename(keys: Key_2[], names: string[]): void;
|
|
134
162
|
// (undocumented)
|
|
135
|
-
retrieve(channels:
|
|
163
|
+
retrieve(channels: Params_2, options?: RetrieveOptions_2): Promise<Payload_2[]>;
|
|
136
164
|
// (undocumented)
|
|
137
|
-
search(term: string, options?:
|
|
165
|
+
search(term: string, options?: RetrieveOptions_2): Promise<Payload_2[]>;
|
|
138
166
|
// (undocumented)
|
|
139
|
-
set(channels:
|
|
167
|
+
set(channels: Payload_2[]): void;
|
|
140
168
|
}
|
|
141
169
|
|
|
142
170
|
// Warning: (ae-missing-release-tag) "ChangeTracker" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -162,15 +190,15 @@ export class Channel {
|
|
|
162
190
|
});
|
|
163
191
|
readonly alias: string | undefined;
|
|
164
192
|
readonly dataType: DataType;
|
|
165
|
-
readonly index:
|
|
193
|
+
readonly index: Key_2;
|
|
166
194
|
readonly internal: boolean;
|
|
167
195
|
readonly isIndex: boolean;
|
|
168
|
-
readonly key:
|
|
196
|
+
readonly key: Key_2;
|
|
169
197
|
readonly leaseholder: number;
|
|
170
198
|
readonly name: string;
|
|
171
199
|
// (undocumented)
|
|
172
200
|
get ontologyID(): ontology.ID;
|
|
173
|
-
get payload():
|
|
201
|
+
get payload(): Payload_2;
|
|
174
202
|
readonly rate: Rate;
|
|
175
203
|
read(tr: TimeRange): Promise<MultiSeries>;
|
|
176
204
|
readonly virtual: boolean;
|
|
@@ -180,22 +208,22 @@ export class Channel {
|
|
|
180
208
|
declare namespace channel {
|
|
181
209
|
export {
|
|
182
210
|
Channel,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
Key,
|
|
186
|
-
Keys,
|
|
187
|
-
Name,
|
|
188
|
-
Names,
|
|
211
|
+
Client_5 as Client,
|
|
212
|
+
keyZ_4 as keyZ,
|
|
213
|
+
Key_2 as Key,
|
|
214
|
+
Keys_2 as Keys,
|
|
215
|
+
Name_2 as Name,
|
|
216
|
+
Names_2 as Names,
|
|
189
217
|
KeyOrName,
|
|
190
218
|
KeysOrNames,
|
|
191
|
-
Params,
|
|
219
|
+
Params_2 as Params,
|
|
192
220
|
payload,
|
|
193
|
-
Payload,
|
|
221
|
+
Payload_2 as Payload,
|
|
194
222
|
newPayload,
|
|
195
223
|
NewPayload,
|
|
196
224
|
ChannelOntologyType,
|
|
197
|
-
ontologyID,
|
|
198
|
-
RetrieveOptions,
|
|
225
|
+
ontologyID_2 as ontologyID,
|
|
226
|
+
RetrieveOptions_2 as RetrieveOptions,
|
|
199
227
|
PageOptions,
|
|
200
228
|
analyzeChannelParams,
|
|
201
229
|
Retriever,
|
|
@@ -260,29 +288,21 @@ class Checker {
|
|
|
260
288
|
//
|
|
261
289
|
// @public (undocumented)
|
|
262
290
|
class Client {
|
|
263
|
-
constructor(
|
|
291
|
+
constructor(client: UnaryClient);
|
|
264
292
|
// (undocumented)
|
|
265
|
-
|
|
266
|
-
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "IteratorConfig"
|
|
267
|
-
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "Iterator"
|
|
268
|
-
openIterator(tr: CrudeTimeRange, channels: Params, opts?: IteratorConfig): Promise<Iterator_2>;
|
|
269
|
-
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "Streamer"
|
|
270
|
-
openStreamer(channels: Params): Promise<Streamer>;
|
|
271
|
-
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
272
|
-
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
273
|
-
openStreamer(config: StreamerConfig | Params): Promise<Streamer>;
|
|
274
|
-
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "Writer"
|
|
275
|
-
openWriter(config: WriterConfig | Params): Promise<Writer>;
|
|
293
|
+
create(policy: NewPolicy): Promise<Policy>;
|
|
276
294
|
// (undocumented)
|
|
277
|
-
|
|
295
|
+
create(policies: NewPolicy[]): Promise<Policy[]>;
|
|
278
296
|
// (undocumented)
|
|
279
|
-
|
|
297
|
+
delete(keys: Key_3 | Key_3[]): Promise<void>;
|
|
280
298
|
// (undocumented)
|
|
281
|
-
|
|
299
|
+
retrieve(key: Key_3): Promise<Policy>;
|
|
282
300
|
// (undocumented)
|
|
283
|
-
|
|
301
|
+
retrieve(keys: Key_3[]): Promise<Policy[]>;
|
|
284
302
|
// (undocumented)
|
|
285
|
-
|
|
303
|
+
retrieveFor(id: ontology.CrudeID): Promise<Policy[]>;
|
|
304
|
+
// (undocumented)
|
|
305
|
+
retrieveFor(ids: ontology.CrudeID[]): Promise<Policy[]>;
|
|
286
306
|
}
|
|
287
307
|
|
|
288
308
|
// Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -338,7 +358,7 @@ class Client_13 {
|
|
|
338
358
|
// Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
339
359
|
//
|
|
340
360
|
// @public (undocumented)
|
|
341
|
-
class Client_14 implements AsyncTermSearcher<string, TaskKey,
|
|
361
|
+
class Client_14 implements AsyncTermSearcher<string, TaskKey, Payload_4> {
|
|
342
362
|
constructor(client: UnaryClient, frameClient: framer.Client, ontologyClient: ontology.Client, rangeClient: ranger.Client);
|
|
343
363
|
// (undocumented)
|
|
344
364
|
copy(key: string, name: string, snapshot: boolean): Promise<Task>;
|
|
@@ -355,7 +375,7 @@ class Client_14 implements AsyncTermSearcher<string, TaskKey, Payload_5> {
|
|
|
355
375
|
// (undocumented)
|
|
356
376
|
openTracker(): Promise<signals.Observable<string, string>>;
|
|
357
377
|
// (undocumented)
|
|
358
|
-
page(offset: number, limit: number): Promise<
|
|
378
|
+
page(offset: number, limit: number): Promise<Payload_4[]>;
|
|
359
379
|
// (undocumented)
|
|
360
380
|
retrieve<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRecord_2, T extends string = string>(rack: number, options?: RetrieveOptions_3): Promise<Task<C, D, T>[]>;
|
|
361
381
|
// (undocumented)
|
|
@@ -365,7 +385,7 @@ class Client_14 implements AsyncTermSearcher<string, TaskKey, Payload_5> {
|
|
|
365
385
|
// (undocumented)
|
|
366
386
|
retrieveByName(name: string, rack?: number): Promise<Task>;
|
|
367
387
|
// (undocumented)
|
|
368
|
-
search(term: string): Promise<
|
|
388
|
+
search(term: string): Promise<Payload_4[]>;
|
|
369
389
|
// (undocumented)
|
|
370
390
|
readonly type: string;
|
|
371
391
|
}
|
|
@@ -436,61 +456,77 @@ class Client_17 {
|
|
|
436
456
|
// @public
|
|
437
457
|
class Client_2 implements AsyncTermSearcher<string, string, Resource> {
|
|
438
458
|
constructor(unary: UnaryClient, framer: framer.Client);
|
|
439
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
440
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
441
459
|
addChildren(id: CrudeID, ...children: CrudeID[]): Promise<void>;
|
|
442
460
|
// (undocumented)
|
|
443
461
|
groups: group.Client;
|
|
444
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
445
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
446
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
447
462
|
moveChildren(from: CrudeID, to: CrudeID, ...children: CrudeID[]): Promise<void>;
|
|
448
463
|
// (undocumented)
|
|
449
|
-
newSearcherWithOptions(options:
|
|
464
|
+
newSearcherWithOptions(options: RetrieveOptions): AsyncTermSearcher<string, string, Resource>;
|
|
450
465
|
openChangeTracker(): Promise<ChangeTracker>;
|
|
451
466
|
// Warning: (ae-forgotten-export) The symbol "DependentTrackerProps" needs to be exported by the entry point index.d.ts
|
|
452
467
|
//
|
|
453
468
|
// (undocumented)
|
|
454
469
|
openDependentTracker(props: DependentTrackerProps): Promise<observe.ObservableAsyncCloseable<Resource[]>>;
|
|
455
|
-
page(offset: number, limit: number, options?:
|
|
456
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
457
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
470
|
+
page(offset: number, limit: number, options?: RetrieveOptions): Promise<Resource[]>;
|
|
458
471
|
removeChildren(id: CrudeID, ...children: CrudeID[]): Promise<void>;
|
|
459
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
460
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
461
472
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
462
473
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
463
474
|
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
464
475
|
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
465
|
-
retrieve(id: CrudeID, options?:
|
|
466
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
467
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
476
|
+
retrieve(id: CrudeID, options?: RetrieveOptions): Promise<Resource>;
|
|
468
477
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
469
478
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
470
479
|
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
471
480
|
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
472
|
-
retrieve(ids: CrudeID[], options?:
|
|
481
|
+
retrieve(ids: CrudeID[], options?: RetrieveOptions): Promise<Resource[]>;
|
|
473
482
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
474
483
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
475
|
-
retrieveChildren(ids: CrudeID | CrudeID[], options?:
|
|
476
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
477
|
-
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
484
|
+
retrieveChildren(ids: CrudeID | CrudeID[], options?: RetrieveOptions): Promise<Resource[]>;
|
|
478
485
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
479
486
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
480
|
-
retrieveParents(ids: CrudeID | CrudeID[], options?:
|
|
487
|
+
retrieveParents(ids: CrudeID | CrudeID[], options?: RetrieveOptions): Promise<Resource[]>;
|
|
481
488
|
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
482
489
|
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
483
490
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
484
491
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
485
|
-
search(term: string, options?:
|
|
492
|
+
search(term: string, options?: RetrieveOptions): Promise<Resource[]>;
|
|
486
493
|
// (undocumented)
|
|
487
494
|
readonly type: string;
|
|
488
495
|
}
|
|
489
496
|
|
|
497
|
+
// Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
498
|
+
//
|
|
499
|
+
// @public (undocumented)
|
|
500
|
+
class Client_4 {
|
|
501
|
+
constructor(stream: StreamClient, unary: UnaryClient, retriever: Retriever);
|
|
502
|
+
// (undocumented)
|
|
503
|
+
delete(channels: Params_2, timeRange: TimeRange_2): Promise<void>;
|
|
504
|
+
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "IteratorConfig"
|
|
505
|
+
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "Iterator"
|
|
506
|
+
openIterator(tr: CrudeTimeRange, channels: Params_2, opts?: IteratorConfig): Promise<Iterator_2>;
|
|
507
|
+
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "Streamer"
|
|
508
|
+
openStreamer(channels: Params_2): Promise<Streamer>;
|
|
509
|
+
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
510
|
+
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
511
|
+
openStreamer(config: StreamerConfig | Params_2): Promise<Streamer>;
|
|
512
|
+
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "Writer"
|
|
513
|
+
openWriter(config: WriterConfig | Params_2): Promise<Writer>;
|
|
514
|
+
// (undocumented)
|
|
515
|
+
read(tr: CrudeTimeRange, channel: KeyOrName): Promise<MultiSeries_2>;
|
|
516
|
+
// (undocumented)
|
|
517
|
+
read(tr: CrudeTimeRange, channels: Params_2): Promise<Frame>;
|
|
518
|
+
// (undocumented)
|
|
519
|
+
write(start: CrudeTimeStamp_2, channel: KeyOrName, data: CrudeSeries_2): Promise<void>;
|
|
520
|
+
// (undocumented)
|
|
521
|
+
write(start: CrudeTimeStamp_2, channels: KeysOrNames, data: CrudeSeries_2[]): Promise<void>;
|
|
522
|
+
// (undocumented)
|
|
523
|
+
write(start: CrudeTimeStamp_2, data: Record<KeyOrName, CrudeSeries_2>): Promise<void>;
|
|
524
|
+
}
|
|
525
|
+
|
|
490
526
|
// Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
491
527
|
//
|
|
492
528
|
// @public
|
|
493
|
-
class
|
|
529
|
+
class Client_5 implements AsyncTermSearcher<string, Key_2, Channel> {
|
|
494
530
|
constructor(frameClient: framer.Client, retriever: Retriever, client: UnaryClient, writer: Writer_2);
|
|
495
531
|
// Warning: (tsdoc-tag-should-not-have-braces) The TSDoc tag "@see" is not an inline tag; it must not be enclosed in "{ }" braces
|
|
496
532
|
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
@@ -501,25 +537,25 @@ class Client_4 implements AsyncTermSearcher<string, Key, Channel> {
|
|
|
501
537
|
create(channels: NewPayload[], options?: CreateOptions): Promise<Channel[]>;
|
|
502
538
|
// (undocumented)
|
|
503
539
|
createDebouncedBatchRetriever(deb?: number): Retriever;
|
|
504
|
-
delete(channels:
|
|
540
|
+
delete(channels: Params_2): Promise<void>;
|
|
505
541
|
// (undocumented)
|
|
506
|
-
newSearcherWithOptions(options:
|
|
542
|
+
newSearcherWithOptions(options: RetrieveOptions_2): AsyncTermSearcher<string, Key_2, Channel>;
|
|
507
543
|
// (undocumented)
|
|
508
|
-
page(offset: number, limit: number, options?: Omit<
|
|
544
|
+
page(offset: number, limit: number, options?: Omit<RetrieveOptions_2, "limit" | "offset">): Promise<Channel[]>;
|
|
509
545
|
// (undocumented)
|
|
510
|
-
rename(key:
|
|
546
|
+
rename(key: Key_2, name: string): Promise<void>;
|
|
511
547
|
// (undocumented)
|
|
512
|
-
rename(keys:
|
|
548
|
+
rename(keys: Key_2[], names: string[]): Promise<void>;
|
|
513
549
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
514
550
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
515
551
|
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
516
552
|
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
517
553
|
// Warning: (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag
|
|
518
554
|
// Warning: (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@"
|
|
519
|
-
retrieve(channel: KeyOrName, options?:
|
|
555
|
+
retrieve(channel: KeyOrName, options?: RetrieveOptions_2): Promise<Channel>;
|
|
520
556
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
521
557
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
522
|
-
retrieve(channels:
|
|
558
|
+
retrieve(channels: Params_2, options?: RetrieveOptions_2): Promise<Channel[]>;
|
|
523
559
|
// Warning: (ae-forgotten-export) The symbol "group" needs to be exported by the entry point index.d.ts
|
|
524
560
|
//
|
|
525
561
|
// (undocumented)
|
|
@@ -527,7 +563,7 @@ class Client_4 implements AsyncTermSearcher<string, Key, Channel> {
|
|
|
527
563
|
// (undocumented)
|
|
528
564
|
readonly retriever: Retriever;
|
|
529
565
|
// (undocumented)
|
|
530
|
-
search(term: string, options?:
|
|
566
|
+
search(term: string, options?: RetrieveOptions_2): Promise<Channel[]>;
|
|
531
567
|
// (undocumented)
|
|
532
568
|
readonly type = "channel";
|
|
533
569
|
// (undocumented)
|
|
@@ -537,28 +573,28 @@ class Client_4 implements AsyncTermSearcher<string, Key, Channel> {
|
|
|
537
573
|
// Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
538
574
|
//
|
|
539
575
|
// @public (undocumented)
|
|
540
|
-
class
|
|
576
|
+
class Client_6 implements AsyncTermSearcher<string, Key_5, Label> {
|
|
541
577
|
constructor(client: UnaryClient, frameClient: framer.Client, ontology: ontology.Client);
|
|
542
578
|
// (undocumented)
|
|
543
579
|
create(label: NewLabelPayload): Promise<Label>;
|
|
544
580
|
// (undocumented)
|
|
545
581
|
create(labels: NewLabelPayload[]): Promise<Label[]>;
|
|
546
582
|
// (undocumented)
|
|
547
|
-
delete(key:
|
|
583
|
+
delete(key: Key_5): Promise<void>;
|
|
548
584
|
// (undocumented)
|
|
549
|
-
delete(keys:
|
|
585
|
+
delete(keys: Key_5[]): Promise<void>;
|
|
550
586
|
// (undocumented)
|
|
551
|
-
label(id: ontology.CrudeID, labels:
|
|
587
|
+
label(id: ontology.CrudeID, labels: Key_5[], opts?: SetOptions): Promise<void>;
|
|
552
588
|
// (undocumented)
|
|
553
589
|
openChangeTracker(): Promise<signals.Observable<string, Label>>;
|
|
554
590
|
// (undocumented)
|
|
555
591
|
page(offset: number, limit: number): Promise<Label[]>;
|
|
556
592
|
// (undocumented)
|
|
557
|
-
removeLabels(id: ontology.CrudeID, labels:
|
|
593
|
+
removeLabels(id: ontology.CrudeID, labels: Key_5[]): Promise<void>;
|
|
558
594
|
// (undocumented)
|
|
559
|
-
retrieve(key:
|
|
595
|
+
retrieve(key: Key_5): Promise<Label>;
|
|
560
596
|
// (undocumented)
|
|
561
|
-
retrieve(keys:
|
|
597
|
+
retrieve(keys: Key_5[]): Promise<Label[]>;
|
|
562
598
|
// (undocumented)
|
|
563
599
|
retrieveFor(id: ontology.CrudeID): Promise<Label[]>;
|
|
564
600
|
// (undocumented)
|
|
@@ -572,22 +608,22 @@ class Client_5 implements AsyncTermSearcher<string, Key_4, Label> {
|
|
|
572
608
|
// Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
573
609
|
//
|
|
574
610
|
// @public (undocumented)
|
|
575
|
-
class
|
|
611
|
+
class Client_7 implements AsyncTermSearcher<string, Key_4, Range_2> {
|
|
576
612
|
constructor(frameClient: framer.Client, writer: Writer_4, unary: UnaryClient, channels: Retriever, labelClient: label.Client, ontologyClient: ontology.Client);
|
|
577
613
|
// (undocumented)
|
|
578
614
|
create(range: NewPayload_2, options?: CreateOptions_2): Promise<Range_2>;
|
|
579
615
|
// (undocumented)
|
|
580
616
|
create(ranges: NewPayload_2[], options?: CreateOptions_2): Promise<Range_2[]>;
|
|
581
617
|
// (undocumented)
|
|
582
|
-
delete(key:
|
|
618
|
+
delete(key: Key_4 | Keys_3): Promise<void>;
|
|
583
619
|
// (undocumented)
|
|
584
|
-
getKV(range:
|
|
620
|
+
getKV(range: Key_4): KV;
|
|
585
621
|
// (undocumented)
|
|
586
622
|
openTracker(): Promise<signals.Observable<string, Range_2>>;
|
|
587
623
|
// (undocumented)
|
|
588
624
|
page(offset: number, limit: number): Promise<Range_2[]>;
|
|
589
625
|
// (undocumented)
|
|
590
|
-
rename(key:
|
|
626
|
+
rename(key: Key_4, name: Name_3): Promise<void>;
|
|
591
627
|
// (undocumented)
|
|
592
628
|
resourcesToRanges(resources: Resource[]): Range_2[];
|
|
593
629
|
// (undocumented)
|
|
@@ -595,11 +631,11 @@ class Client_6 implements AsyncTermSearcher<string, Key_3, Range_2> {
|
|
|
595
631
|
// (undocumented)
|
|
596
632
|
retrieve(range: CrudeTimeRange): Promise<Range_2[]>;
|
|
597
633
|
// (undocumented)
|
|
598
|
-
retrieve(range:
|
|
634
|
+
retrieve(range: Key_4 | Name_3): Promise<Range_2>;
|
|
599
635
|
// (undocumented)
|
|
600
636
|
retrieve(range: Keys_3 | Names_3): Promise<Range_2[]>;
|
|
601
637
|
// (undocumented)
|
|
602
|
-
retrieveParent(range:
|
|
638
|
+
retrieveParent(range: Key_4): Promise<Range_2 | null>;
|
|
603
639
|
// (undocumented)
|
|
604
640
|
search(term: string): Promise<Range_2[]>;
|
|
605
641
|
// (undocumented)
|
|
@@ -610,6 +646,33 @@ class Client_6 implements AsyncTermSearcher<string, Key_3, Range_2> {
|
|
|
610
646
|
readonly type: string;
|
|
611
647
|
}
|
|
612
648
|
|
|
649
|
+
// Warning: (ae-missing-release-tag) "Client" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
650
|
+
//
|
|
651
|
+
// @public (undocumented)
|
|
652
|
+
class Client_9 {
|
|
653
|
+
constructor(client: UnaryClient);
|
|
654
|
+
// (undocumented)
|
|
655
|
+
changeName(key: Key_6, firstName?: string, lastName?: string): Promise<void>;
|
|
656
|
+
// (undocumented)
|
|
657
|
+
changeUsername(key: Key_6, newUsername: string): Promise<void>;
|
|
658
|
+
// (undocumented)
|
|
659
|
+
create(user: NewUser): Promise<User>;
|
|
660
|
+
// (undocumented)
|
|
661
|
+
create(users: NewUser[]): Promise<User[]>;
|
|
662
|
+
// (undocumented)
|
|
663
|
+
delete(key: Key_6): Promise<void>;
|
|
664
|
+
// (undocumented)
|
|
665
|
+
delete(keys: Key_6[]): Promise<void>;
|
|
666
|
+
// (undocumented)
|
|
667
|
+
retrieve(key: Key_6): Promise<User>;
|
|
668
|
+
// (undocumented)
|
|
669
|
+
retrieve(keys: Key_6[]): Promise<User[]>;
|
|
670
|
+
// (undocumented)
|
|
671
|
+
retrieveByName(username: string): Promise<User>;
|
|
672
|
+
// (undocumented)
|
|
673
|
+
retrieveByName(usernames: string[]): Promise<User[]>;
|
|
674
|
+
}
|
|
675
|
+
|
|
613
676
|
// Warning: (ae-missing-release-tag) "ClusterOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
614
677
|
//
|
|
615
678
|
// @public (undocumented)
|
|
@@ -621,11 +684,11 @@ const ClusterOntologyType: ResourceType;
|
|
|
621
684
|
class ClusterRetriever implements Retriever {
|
|
622
685
|
constructor(client: UnaryClient);
|
|
623
686
|
// (undocumented)
|
|
624
|
-
page(offset: number, limit: number, options?: PageOptions): Promise<
|
|
687
|
+
page(offset: number, limit: number, options?: PageOptions): Promise<Payload_2[]>;
|
|
625
688
|
// (undocumented)
|
|
626
|
-
retrieve(channels:
|
|
689
|
+
retrieve(channels: Params_2, options?: RetrieveOptions_2): Promise<Payload_2[]>;
|
|
627
690
|
// (undocumented)
|
|
628
|
-
search(term: string, options?:
|
|
691
|
+
search(term: string, options?: RetrieveOptions_2): Promise<Payload_2[]>;
|
|
629
692
|
}
|
|
630
693
|
|
|
631
694
|
// Warning: (ae-missing-release-tag) "commandZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -637,13 +700,13 @@ const commandZ: z.ZodObject<{
|
|
|
637
700
|
key: z.ZodString;
|
|
638
701
|
args: z.ZodType<UnknownRecord>;
|
|
639
702
|
}, "strip", z.ZodTypeAny, {
|
|
640
|
-
type: string;
|
|
641
703
|
key: string;
|
|
704
|
+
type: string;
|
|
642
705
|
task: string;
|
|
643
706
|
args: UnknownRecord;
|
|
644
707
|
}, {
|
|
645
|
-
type: string;
|
|
646
708
|
key: string;
|
|
709
|
+
type: string;
|
|
647
710
|
task: string | number | bigint;
|
|
648
711
|
args: UnknownRecord;
|
|
649
712
|
}>;
|
|
@@ -701,10 +764,7 @@ type CrudeFrame = Frame | FramePayload | Map<KeyOrName, Series[] | Series> | Rec
|
|
|
701
764
|
// Warning: (ae-missing-release-tag) "CrudeID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
702
765
|
//
|
|
703
766
|
// @public (undocumented)
|
|
704
|
-
type CrudeID =
|
|
705
|
-
type: ResourceType;
|
|
706
|
-
key: string;
|
|
707
|
-
} | string;
|
|
767
|
+
type CrudeID = z.input<typeof crudeIDZ>;
|
|
708
768
|
|
|
709
769
|
// Warning: (ae-missing-release-tag) "crudeIDZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
710
770
|
//
|
|
@@ -713,14 +773,14 @@ const crudeIDZ: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
|
713
773
|
type: ResourceType;
|
|
714
774
|
key: string;
|
|
715
775
|
}, string>, z.ZodObject<{
|
|
716
|
-
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
776
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
717
777
|
key: z.ZodString;
|
|
718
778
|
}, "strip", z.ZodTypeAny, {
|
|
719
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
720
779
|
key: string;
|
|
780
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
721
781
|
}, {
|
|
722
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
723
782
|
key: string;
|
|
783
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
724
784
|
}>]>;
|
|
725
785
|
|
|
726
786
|
export { CrudeRate }
|
|
@@ -744,13 +804,13 @@ export { DataType }
|
|
|
744
804
|
class DebouncedBatchRetriever implements Retriever {
|
|
745
805
|
constructor(wrapped: Retriever, deb: number);
|
|
746
806
|
// (undocumented)
|
|
747
|
-
page(offset: number, limit: number, options?:
|
|
807
|
+
page(offset: number, limit: number, options?: RetrieveOptions_2): Promise<Payload_2[]>;
|
|
748
808
|
// (undocumented)
|
|
749
|
-
retrieve(channels:
|
|
809
|
+
retrieve(channels: Params_2): Promise<Payload_2[]>;
|
|
750
810
|
// (undocumented)
|
|
751
811
|
run(): Promise<void>;
|
|
752
812
|
// (undocumented)
|
|
753
|
-
search(term: string, options?:
|
|
813
|
+
search(term: string, options?: RetrieveOptions_2): Promise<Payload_2[]>;
|
|
754
814
|
}
|
|
755
815
|
|
|
756
816
|
// Warning: (ae-missing-release-tag) "Decoder" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -860,7 +920,7 @@ const deviceZ: z.ZodObject<{
|
|
|
860
920
|
//
|
|
861
921
|
// @public
|
|
862
922
|
export class Frame {
|
|
863
|
-
constructor(columnsOrData?:
|
|
923
|
+
constructor(columnsOrData?: Params_2 | CrudeFrame, series?: Series | Series[]);
|
|
864
924
|
// (undocumented)
|
|
865
925
|
at(index: number, required: true): Record<KeyOrName, TelemValue>;
|
|
866
926
|
// (undocumented)
|
|
@@ -872,7 +932,7 @@ export class Frame {
|
|
|
872
932
|
// (undocumented)
|
|
873
933
|
get colType(): ColumnType;
|
|
874
934
|
// (undocumented)
|
|
875
|
-
readonly columns:
|
|
935
|
+
readonly columns: Keys_2 | Names_2;
|
|
876
936
|
// (undocumented)
|
|
877
937
|
concat(frame: Frame): Frame;
|
|
878
938
|
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
@@ -888,7 +948,7 @@ export class Frame {
|
|
|
888
948
|
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
889
949
|
//
|
|
890
950
|
// (undocumented)
|
|
891
|
-
get(keys:
|
|
951
|
+
get(keys: Keys_2 | Names_2): Frame;
|
|
892
952
|
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
893
953
|
//
|
|
894
954
|
// (undocumented)
|
|
@@ -902,7 +962,7 @@ export class Frame {
|
|
|
902
962
|
// (undocumented)
|
|
903
963
|
get isWeaklyAligned(): boolean;
|
|
904
964
|
// (undocumented)
|
|
905
|
-
get keys():
|
|
965
|
+
get keys(): Keys_2;
|
|
906
966
|
// (undocumented)
|
|
907
967
|
latest(): Record<string, TelemValue | undefined>;
|
|
908
968
|
// (undocumented)
|
|
@@ -912,7 +972,7 @@ export class Frame {
|
|
|
912
972
|
// (undocumented)
|
|
913
973
|
map(fn: (k: KeyOrName, arr: Series, i: number) => [KeyOrName, Series]): Frame;
|
|
914
974
|
// (undocumented)
|
|
915
|
-
get names():
|
|
975
|
+
get names(): Names_2;
|
|
916
976
|
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
917
977
|
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
918
978
|
push(key: KeyOrName, ...v: Series[]): void;
|
|
@@ -926,11 +986,11 @@ export class Frame {
|
|
|
926
986
|
// (undocumented)
|
|
927
987
|
toPayload(): FramePayload;
|
|
928
988
|
// (undocumented)
|
|
929
|
-
get uniqueColumns():
|
|
989
|
+
get uniqueColumns(): Keys_2 | Names_2;
|
|
930
990
|
// (undocumented)
|
|
931
|
-
get uniqueKeys():
|
|
991
|
+
get uniqueKeys(): Keys_2;
|
|
932
992
|
// (undocumented)
|
|
933
|
-
get uniqueNames():
|
|
993
|
+
get uniqueNames(): Names_2;
|
|
934
994
|
}
|
|
935
995
|
|
|
936
996
|
// Warning: (ae-missing-release-tag) "FramePayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -940,7 +1000,7 @@ type FramePayload = z.infer<typeof frameZ>;
|
|
|
940
1000
|
|
|
941
1001
|
declare namespace framer {
|
|
942
1002
|
export {
|
|
943
|
-
Client,
|
|
1003
|
+
Client_4 as Client,
|
|
944
1004
|
CrudeFrame,
|
|
945
1005
|
Frame,
|
|
946
1006
|
series,
|
|
@@ -1077,28 +1137,28 @@ class ID {
|
|
|
1077
1137
|
// (undocumented)
|
|
1078
1138
|
key: string;
|
|
1079
1139
|
// (undocumented)
|
|
1080
|
-
get payload():
|
|
1140
|
+
get payload(): IDPayload;
|
|
1081
1141
|
// (undocumented)
|
|
1082
1142
|
toString(): string;
|
|
1083
1143
|
// (undocumented)
|
|
1084
1144
|
type: ResourceType;
|
|
1085
1145
|
// (undocumented)
|
|
1086
|
-
static readonly z: z.
|
|
1146
|
+
static readonly z: z.ZodUnion<[z.ZodType<ID, z.ZodTypeDef, ID>, z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
1087
1147
|
type: ResourceType;
|
|
1088
1148
|
key: string;
|
|
1089
1149
|
}, string>, z.ZodObject<{
|
|
1090
|
-
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
1150
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
1091
1151
|
key: z.ZodString;
|
|
1092
1152
|
}, "strip", z.ZodTypeAny, {
|
|
1093
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1094
1153
|
key: string;
|
|
1154
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1095
1155
|
}, {
|
|
1096
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1097
1156
|
key: string;
|
|
1098
|
-
|
|
1099
|
-
|
|
1157
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1158
|
+
}>]>, ID, string | {
|
|
1100
1159
|
key: string;
|
|
1101
|
-
|
|
1160
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1161
|
+
}>]>;
|
|
1102
1162
|
}
|
|
1103
1163
|
|
|
1104
1164
|
// Warning: (ae-missing-release-tag) "IDPayload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -1110,14 +1170,14 @@ type IDPayload = z.infer<typeof idZ>;
|
|
|
1110
1170
|
//
|
|
1111
1171
|
// @public (undocumented)
|
|
1112
1172
|
const idZ: z.ZodObject<{
|
|
1113
|
-
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
1173
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
1114
1174
|
key: z.ZodString;
|
|
1115
1175
|
}, "strip", z.ZodTypeAny, {
|
|
1116
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1117
1176
|
key: string;
|
|
1177
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1118
1178
|
}, {
|
|
1119
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1120
1179
|
key: string;
|
|
1180
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1121
1181
|
}>;
|
|
1122
1182
|
|
|
1123
1183
|
// Warning: (ae-missing-release-tag) "Iterator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -1129,7 +1189,7 @@ class Iterator_2 {
|
|
|
1129
1189
|
close(): Promise<void>;
|
|
1130
1190
|
next(span?: CrudeTimeSpan): Promise<boolean>;
|
|
1131
1191
|
// Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "@synnaxlabs/client" does not have an export "IteratorConfig"
|
|
1132
|
-
static _open(tr: CrudeTimeRange_2, channels:
|
|
1192
|
+
static _open(tr: CrudeTimeRange_2, channels: Params_2, retriever: Retriever, client: StreamClient, opts?: IteratorConfig): Promise<Iterator_2>;
|
|
1133
1193
|
prev(span?: CrudeTimeSpan): Promise<boolean>;
|
|
1134
1194
|
seekFirst(): Promise<boolean>;
|
|
1135
1195
|
seekGE(stamp: CrudeTimeStamp): Promise<boolean>;
|
|
@@ -1152,7 +1212,7 @@ interface IteratorConfig {
|
|
|
1152
1212
|
// Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1153
1213
|
//
|
|
1154
1214
|
// @public (undocumented)
|
|
1155
|
-
type
|
|
1215
|
+
type Key_2 = number;
|
|
1156
1216
|
|
|
1157
1217
|
// Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1158
1218
|
//
|
|
@@ -1162,7 +1222,17 @@ type Key_3 = z.infer<typeof keyZ_2>;
|
|
|
1162
1222
|
// Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1163
1223
|
//
|
|
1164
1224
|
// @public (undocumented)
|
|
1165
|
-
type Key_4 = z.infer<typeof
|
|
1225
|
+
type Key_4 = z.infer<typeof keyZ_3>;
|
|
1226
|
+
|
|
1227
|
+
// Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1228
|
+
//
|
|
1229
|
+
// @public (undocumented)
|
|
1230
|
+
type Key_5 = z.infer<typeof keyZ_5>;
|
|
1231
|
+
|
|
1232
|
+
// Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1233
|
+
//
|
|
1234
|
+
// @public (undocumented)
|
|
1235
|
+
type Key_6 = z.infer<typeof keyZ_6>;
|
|
1166
1236
|
|
|
1167
1237
|
// Warning: (ae-missing-release-tag) "Key" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1168
1238
|
//
|
|
@@ -1172,22 +1242,22 @@ type Key_7 = z.infer<typeof keyZ_7>;
|
|
|
1172
1242
|
// Warning: (ae-missing-release-tag) "KeyOrName" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1173
1243
|
//
|
|
1174
1244
|
// @public (undocumented)
|
|
1175
|
-
type KeyOrName =
|
|
1245
|
+
type KeyOrName = Key_2 | Name_2;
|
|
1176
1246
|
|
|
1177
1247
|
// Warning: (ae-missing-release-tag) "Keys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1178
1248
|
//
|
|
1179
1249
|
// @public (undocumented)
|
|
1180
|
-
type
|
|
1250
|
+
type Keys_2 = number[];
|
|
1181
1251
|
|
|
1182
1252
|
// Warning: (ae-missing-release-tag) "Keys" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1183
1253
|
//
|
|
1184
1254
|
// @public (undocumented)
|
|
1185
|
-
type Keys_3 =
|
|
1255
|
+
type Keys_3 = Key_4[];
|
|
1186
1256
|
|
|
1187
1257
|
// Warning: (ae-missing-release-tag) "KeysOrNames" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1188
1258
|
//
|
|
1189
1259
|
// @public (undocumented)
|
|
1190
|
-
type KeysOrNames =
|
|
1260
|
+
type KeysOrNames = Keys_2 | Names_2;
|
|
1191
1261
|
|
|
1192
1262
|
// Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1193
1263
|
//
|
|
@@ -1197,12 +1267,22 @@ const keyZ_2: z.ZodString;
|
|
|
1197
1267
|
// Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1198
1268
|
//
|
|
1199
1269
|
// @public (undocumented)
|
|
1200
|
-
const keyZ_3: z.
|
|
1270
|
+
const keyZ_3: z.ZodString;
|
|
1271
|
+
|
|
1272
|
+
// Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1273
|
+
//
|
|
1274
|
+
// @public (undocumented)
|
|
1275
|
+
const keyZ_4: z.ZodNumber;
|
|
1276
|
+
|
|
1277
|
+
// Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1278
|
+
//
|
|
1279
|
+
// @public (undocumented)
|
|
1280
|
+
const keyZ_5: z.ZodString;
|
|
1201
1281
|
|
|
1202
1282
|
// Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1203
1283
|
//
|
|
1204
1284
|
// @public (undocumented)
|
|
1205
|
-
const
|
|
1285
|
+
const keyZ_6: z.ZodString;
|
|
1206
1286
|
|
|
1207
1287
|
// Warning: (ae-missing-release-tag) "keyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1208
1288
|
//
|
|
@@ -1213,7 +1293,7 @@ const keyZ_7: z.ZodString;
|
|
|
1213
1293
|
//
|
|
1214
1294
|
// @public (undocumented)
|
|
1215
1295
|
class KV {
|
|
1216
|
-
constructor(rng:
|
|
1296
|
+
constructor(rng: Key_4, client: UnaryClient, frameClient: framer.Client);
|
|
1217
1297
|
// (undocumented)
|
|
1218
1298
|
delete(key: string | string[]): Promise<void>;
|
|
1219
1299
|
// (undocumented)
|
|
@@ -1243,15 +1323,15 @@ type Label = z.infer<typeof labelZ>;
|
|
|
1243
1323
|
|
|
1244
1324
|
declare namespace label {
|
|
1245
1325
|
export {
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1326
|
+
Client_6 as Client,
|
|
1327
|
+
keyZ_5 as keyZ,
|
|
1328
|
+
Key_5 as Key,
|
|
1329
|
+
Params_4 as Params,
|
|
1250
1330
|
labelZ,
|
|
1251
1331
|
Label,
|
|
1252
1332
|
LabelOntologyType,
|
|
1253
|
-
|
|
1254
|
-
|
|
1333
|
+
ontologyID_3 as ontologyID,
|
|
1334
|
+
Retriever_3 as Retriever,
|
|
1255
1335
|
newLabelPayloadZ,
|
|
1256
1336
|
NewLabelPayload,
|
|
1257
1337
|
SetOptions,
|
|
@@ -1298,7 +1378,7 @@ export { MultiSeries }
|
|
|
1298
1378
|
// Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1299
1379
|
//
|
|
1300
1380
|
// @public (undocumented)
|
|
1301
|
-
type
|
|
1381
|
+
type Name_2 = string;
|
|
1302
1382
|
|
|
1303
1383
|
// Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1304
1384
|
//
|
|
@@ -1308,7 +1388,7 @@ type Name_3 = string;
|
|
|
1308
1388
|
// Warning: (ae-missing-release-tag) "Names" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1309
1389
|
//
|
|
1310
1390
|
// @public (undocumented)
|
|
1311
|
-
type
|
|
1391
|
+
type Names_2 = string[];
|
|
1312
1392
|
|
|
1313
1393
|
// Warning: (ae-missing-release-tag) "Names" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1314
1394
|
//
|
|
@@ -1408,26 +1488,26 @@ const newPayload: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1408
1488
|
internal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1409
1489
|
virtual: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1410
1490
|
}>, "strip", z.ZodTypeAny, {
|
|
1411
|
-
virtual: boolean;
|
|
1412
|
-
internal: boolean;
|
|
1413
1491
|
name: string;
|
|
1414
1492
|
rate: Rate;
|
|
1415
1493
|
dataType: DataType;
|
|
1416
|
-
|
|
1417
|
-
|
|
1494
|
+
internal: boolean;
|
|
1495
|
+
virtual: boolean;
|
|
1418
1496
|
key?: number | undefined;
|
|
1497
|
+
leaseholder?: number | undefined;
|
|
1419
1498
|
index?: number | undefined;
|
|
1499
|
+
isIndex?: boolean | undefined;
|
|
1420
1500
|
alias?: string | undefined;
|
|
1421
1501
|
}, {
|
|
1422
1502
|
name: string;
|
|
1423
1503
|
dataType: string | DataType;
|
|
1424
|
-
leaseholder?: number | undefined;
|
|
1425
|
-
virtual?: boolean | undefined;
|
|
1426
|
-
isIndex?: boolean | undefined;
|
|
1427
|
-
internal?: boolean | undefined;
|
|
1428
1504
|
key?: number | undefined;
|
|
1429
1505
|
rate?: number | Number | Rate | undefined;
|
|
1506
|
+
leaseholder?: number | undefined;
|
|
1430
1507
|
index?: number | undefined;
|
|
1508
|
+
isIndex?: boolean | undefined;
|
|
1509
|
+
internal?: boolean | undefined;
|
|
1510
|
+
virtual?: boolean | undefined;
|
|
1431
1511
|
alias?: string | undefined;
|
|
1432
1512
|
}>;
|
|
1433
1513
|
|
|
@@ -1501,6 +1581,121 @@ const newPayloadZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1501
1581
|
color?: string | undefined;
|
|
1502
1582
|
}>;
|
|
1503
1583
|
|
|
1584
|
+
// Warning: (ae-missing-release-tag) "NewPolicy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1585
|
+
//
|
|
1586
|
+
// @public (undocumented)
|
|
1587
|
+
type NewPolicy = z.input<typeof newPolicyZ>;
|
|
1588
|
+
|
|
1589
|
+
// Warning: (ae-missing-release-tag) "newPolicyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1590
|
+
//
|
|
1591
|
+
// @public (undocumented)
|
|
1592
|
+
const newPolicyZ: z.ZodObject<{
|
|
1593
|
+
key: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
1594
|
+
subjects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
1595
|
+
type: ontology.ResourceType;
|
|
1596
|
+
key: string;
|
|
1597
|
+
}, string>, z.ZodObject<{
|
|
1598
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
1599
|
+
key: z.ZodString;
|
|
1600
|
+
}, "strip", z.ZodTypeAny, {
|
|
1601
|
+
key: string;
|
|
1602
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1603
|
+
}, {
|
|
1604
|
+
key: string;
|
|
1605
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1606
|
+
}>]>, "many">, z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
1607
|
+
type: ontology.ResourceType;
|
|
1608
|
+
key: string;
|
|
1609
|
+
}, string>, z.ZodObject<{
|
|
1610
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
1611
|
+
key: z.ZodString;
|
|
1612
|
+
}, "strip", z.ZodTypeAny, {
|
|
1613
|
+
key: string;
|
|
1614
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1615
|
+
}, {
|
|
1616
|
+
key: string;
|
|
1617
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1618
|
+
}>]>, ({
|
|
1619
|
+
type: ontology.ResourceType;
|
|
1620
|
+
key: string;
|
|
1621
|
+
} | {
|
|
1622
|
+
key: string;
|
|
1623
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1624
|
+
})[], string | {
|
|
1625
|
+
key: string;
|
|
1626
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1627
|
+
}>]>;
|
|
1628
|
+
objects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
1629
|
+
type: ontology.ResourceType;
|
|
1630
|
+
key: string;
|
|
1631
|
+
}, string>, z.ZodObject<{
|
|
1632
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
1633
|
+
key: z.ZodString;
|
|
1634
|
+
}, "strip", z.ZodTypeAny, {
|
|
1635
|
+
key: string;
|
|
1636
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1637
|
+
}, {
|
|
1638
|
+
key: string;
|
|
1639
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1640
|
+
}>]>, "many">, z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
1641
|
+
type: ontology.ResourceType;
|
|
1642
|
+
key: string;
|
|
1643
|
+
}, string>, z.ZodObject<{
|
|
1644
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
1645
|
+
key: z.ZodString;
|
|
1646
|
+
}, "strip", z.ZodTypeAny, {
|
|
1647
|
+
key: string;
|
|
1648
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1649
|
+
}, {
|
|
1650
|
+
key: string;
|
|
1651
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1652
|
+
}>]>, ({
|
|
1653
|
+
type: ontology.ResourceType;
|
|
1654
|
+
key: string;
|
|
1655
|
+
} | {
|
|
1656
|
+
key: string;
|
|
1657
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1658
|
+
})[], string | {
|
|
1659
|
+
key: string;
|
|
1660
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1661
|
+
}>]>;
|
|
1662
|
+
actions: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"create">, z.ZodLiteral<"delete">, z.ZodLiteral<"retrieve">, z.ZodLiteral<"rename">]>, "many">, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"create">, z.ZodLiteral<"delete">, z.ZodLiteral<"retrieve">, z.ZodLiteral<"rename">]>, ("delete" | "all" | "create" | "retrieve" | "rename")[], "delete" | "all" | "create" | "retrieve" | "rename">]>;
|
|
1663
|
+
}, "strip", z.ZodTypeAny, {
|
|
1664
|
+
subjects: ({
|
|
1665
|
+
type: ontology.ResourceType;
|
|
1666
|
+
key: string;
|
|
1667
|
+
} | {
|
|
1668
|
+
key: string;
|
|
1669
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1670
|
+
})[];
|
|
1671
|
+
objects: ({
|
|
1672
|
+
type: ontology.ResourceType;
|
|
1673
|
+
key: string;
|
|
1674
|
+
} | {
|
|
1675
|
+
key: string;
|
|
1676
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1677
|
+
})[];
|
|
1678
|
+
actions: ("delete" | "all" | "create" | "retrieve" | "rename")[];
|
|
1679
|
+
key?: string | undefined;
|
|
1680
|
+
}, {
|
|
1681
|
+
subjects: string | {
|
|
1682
|
+
key: string;
|
|
1683
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1684
|
+
} | (string | {
|
|
1685
|
+
key: string;
|
|
1686
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1687
|
+
})[];
|
|
1688
|
+
objects: string | {
|
|
1689
|
+
key: string;
|
|
1690
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1691
|
+
} | (string | {
|
|
1692
|
+
key: string;
|
|
1693
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
1694
|
+
})[];
|
|
1695
|
+
actions: "delete" | "all" | "create" | "retrieve" | "rename" | ("delete" | "all" | "create" | "retrieve" | "rename")[];
|
|
1696
|
+
key?: unknown;
|
|
1697
|
+
}>;
|
|
1698
|
+
|
|
1504
1699
|
// Warning: (ae-missing-release-tag) "NewRack" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1505
1700
|
//
|
|
1506
1701
|
// @public (undocumented)
|
|
@@ -1543,13 +1738,13 @@ const newTaskZ: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1543
1738
|
key: z.ZodOptional<z.ZodString>;
|
|
1544
1739
|
details: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodEffects<z.ZodString, any, string>]>, z.ZodArray<z.ZodUnknown, "many">]>, z.ZodNull]>;
|
|
1545
1740
|
}, "strip", z.ZodTypeAny, {
|
|
1546
|
-
variant: string;
|
|
1547
1741
|
task: string;
|
|
1742
|
+
variant: string;
|
|
1548
1743
|
key?: string | undefined;
|
|
1549
1744
|
details?: any;
|
|
1550
1745
|
}, {
|
|
1551
|
-
variant: string;
|
|
1552
1746
|
task: string | number | bigint;
|
|
1747
|
+
variant: string;
|
|
1553
1748
|
details: string | unknown[] | Record<string, unknown> | null;
|
|
1554
1749
|
key?: string | undefined;
|
|
1555
1750
|
}>>>;
|
|
@@ -1558,33 +1753,60 @@ const newTaskZ: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1558
1753
|
key: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodBigInt, string, bigint>, z.ZodEffects<z.ZodNumber, string, number>]>, string, string | number | bigint>>;
|
|
1559
1754
|
config: z.ZodEffects<z.ZodUnknown, string, unknown>;
|
|
1560
1755
|
}>, "strip", z.ZodTypeAny, {
|
|
1561
|
-
type: string;
|
|
1562
1756
|
name: string;
|
|
1757
|
+
type: string;
|
|
1563
1758
|
config: string;
|
|
1564
|
-
internal?: boolean | undefined;
|
|
1565
1759
|
key?: string | undefined;
|
|
1760
|
+
internal?: boolean | undefined;
|
|
1566
1761
|
state?: {
|
|
1567
|
-
variant: string;
|
|
1568
1762
|
task: string;
|
|
1763
|
+
variant: string;
|
|
1569
1764
|
key?: string | undefined;
|
|
1570
1765
|
details?: any;
|
|
1571
1766
|
} | null | undefined;
|
|
1572
1767
|
snapshot?: boolean | undefined;
|
|
1573
1768
|
}, {
|
|
1574
|
-
type: string;
|
|
1575
1769
|
name: string;
|
|
1576
|
-
|
|
1770
|
+
type: string;
|
|
1577
1771
|
key?: string | number | bigint | undefined;
|
|
1772
|
+
internal?: boolean | undefined;
|
|
1578
1773
|
config?: unknown;
|
|
1579
1774
|
state?: {
|
|
1580
|
-
variant: string;
|
|
1581
1775
|
task: string | number | bigint;
|
|
1776
|
+
variant: string;
|
|
1582
1777
|
details: string | unknown[] | Record<string, unknown> | null;
|
|
1583
1778
|
key?: string | undefined;
|
|
1584
1779
|
} | null | undefined;
|
|
1585
1780
|
snapshot?: boolean | undefined;
|
|
1586
1781
|
}>;
|
|
1587
1782
|
|
|
1783
|
+
// Warning: (ae-missing-release-tag) "NewUser" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1784
|
+
//
|
|
1785
|
+
// @public (undocumented)
|
|
1786
|
+
type NewUser = z.infer<typeof newUserZ>;
|
|
1787
|
+
|
|
1788
|
+
// Warning: (ae-missing-release-tag) "newUserZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1789
|
+
//
|
|
1790
|
+
// @public (undocumented)
|
|
1791
|
+
const newUserZ: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
1792
|
+
key: z.ZodString;
|
|
1793
|
+
username: z.ZodString;
|
|
1794
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
1795
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
}, "key">, {
|
|
1797
|
+
password: z.ZodString;
|
|
1798
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1799
|
+
username: string;
|
|
1800
|
+
password: string;
|
|
1801
|
+
firstName?: string | undefined;
|
|
1802
|
+
lastName?: string | undefined;
|
|
1803
|
+
}, {
|
|
1804
|
+
username: string;
|
|
1805
|
+
password: string;
|
|
1806
|
+
firstName?: string | undefined;
|
|
1807
|
+
lastName?: string | undefined;
|
|
1808
|
+
}>;
|
|
1809
|
+
|
|
1588
1810
|
// Warning: (ae-missing-release-tag) "NodeOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1589
1811
|
//
|
|
1590
1812
|
// @public (undocumented)
|
|
@@ -1621,7 +1843,7 @@ class ObservableStreamer<V = Frame> extends observe.Observer<Frame, V> implement
|
|
|
1621
1843
|
|
|
1622
1844
|
declare namespace ontology {
|
|
1623
1845
|
export {
|
|
1624
|
-
|
|
1846
|
+
RetrieveOptions,
|
|
1625
1847
|
parseIDs,
|
|
1626
1848
|
Client_2 as Client,
|
|
1627
1849
|
ChangeTracker,
|
|
@@ -1660,7 +1882,7 @@ declare namespace ontology {
|
|
|
1660
1882
|
// Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1661
1883
|
//
|
|
1662
1884
|
// @public (undocumented)
|
|
1663
|
-
const ontologyID: (key:
|
|
1885
|
+
const ontologyID: (key: Key_3) => ontology.ID;
|
|
1664
1886
|
|
|
1665
1887
|
// Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1666
1888
|
//
|
|
@@ -1670,7 +1892,17 @@ const ontologyID_10: (key: DeviceKey) => ontology.ID;
|
|
|
1670
1892
|
// Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1671
1893
|
//
|
|
1672
1894
|
// @public (undocumented)
|
|
1673
|
-
const ontologyID_2: (key:
|
|
1895
|
+
const ontologyID_2: (key: Key_2) => ontology.ID;
|
|
1896
|
+
|
|
1897
|
+
// Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1898
|
+
//
|
|
1899
|
+
// @public (undocumented)
|
|
1900
|
+
const ontologyID_3: (key: Key_5) => ontology.ID;
|
|
1901
|
+
|
|
1902
|
+
// Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1903
|
+
//
|
|
1904
|
+
// @public (undocumented)
|
|
1905
|
+
const ontologyID_4: (key: Key_6) => ontology.ID;
|
|
1674
1906
|
|
|
1675
1907
|
// Warning: (ae-missing-release-tag) "ontologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1676
1908
|
//
|
|
@@ -1687,6 +1919,11 @@ const ontologyID_8: (key: TaskKey) => ontology.ID;
|
|
|
1687
1919
|
// @public (undocumented)
|
|
1688
1920
|
const ontologyID_9: (key: RackKey) => ontology.ID;
|
|
1689
1921
|
|
|
1922
|
+
// Warning: (ae-missing-release-tag) "OntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1923
|
+
//
|
|
1924
|
+
// @public (undocumented)
|
|
1925
|
+
const OntologyType: ontology.ResourceType;
|
|
1926
|
+
|
|
1690
1927
|
// Warning: (ae-missing-release-tag) "openObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1691
1928
|
//
|
|
1692
1929
|
// @public (undocumented)
|
|
@@ -1695,7 +1932,7 @@ const openObservable: <K, V>(client: framer.Client, setChannel: channel.Key | ch
|
|
|
1695
1932
|
// Warning: (ae-missing-release-tag) "PageOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1696
1933
|
//
|
|
1697
1934
|
// @public (undocumented)
|
|
1698
|
-
type PageOptions = Omit<
|
|
1935
|
+
type PageOptions = Omit<RetrieveOptions_2, "offset" | "limit">;
|
|
1699
1936
|
|
|
1700
1937
|
// Warning: (ae-missing-release-tag) "ParamAnalysisResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1701
1938
|
//
|
|
@@ -1704,7 +1941,7 @@ type ParamAnalysisResult_3 = {
|
|
|
1704
1941
|
single: true;
|
|
1705
1942
|
variant: "keys";
|
|
1706
1943
|
normalized: Keys_3;
|
|
1707
|
-
actual:
|
|
1944
|
+
actual: Key_4;
|
|
1708
1945
|
empty: never;
|
|
1709
1946
|
} | {
|
|
1710
1947
|
single: true;
|
|
@@ -1729,17 +1966,22 @@ type ParamAnalysisResult_3 = {
|
|
|
1729
1966
|
// Warning: (ae-missing-release-tag) "Params" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1730
1967
|
//
|
|
1731
1968
|
// @public (undocumented)
|
|
1732
|
-
type
|
|
1969
|
+
type Params_2 = Key_2 | Name_2 | Keys_2 | Names_2;
|
|
1970
|
+
|
|
1971
|
+
// Warning: (ae-missing-release-tag) "Params" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1972
|
+
//
|
|
1973
|
+
// @public (undocumented)
|
|
1974
|
+
type Params_3 = Key_3 | Key_3[];
|
|
1733
1975
|
|
|
1734
1976
|
// Warning: (ae-missing-release-tag) "Params" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1735
1977
|
//
|
|
1736
1978
|
// @public (undocumented)
|
|
1737
|
-
type
|
|
1979
|
+
type Params_4 = Key_5 | Key_5[];
|
|
1738
1980
|
|
|
1739
1981
|
// Warning: (ae-missing-release-tag) "Params" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1740
1982
|
//
|
|
1741
1983
|
// @public (undocumented)
|
|
1742
|
-
type
|
|
1984
|
+
type Params_5 = Key_4 | Name_3 | Keys_3 | Names_3;
|
|
1743
1985
|
|
|
1744
1986
|
// Warning: (ae-missing-release-tag) "Params" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1745
1987
|
//
|
|
@@ -1756,11 +1998,6 @@ const parseIDs: (ids: CrudeID | CrudeID[] | string | string[]) => IDPayload[];
|
|
|
1756
1998
|
// @public (undocumented)
|
|
1757
1999
|
const parseRelationship: (str: string) => Relationship;
|
|
1758
2000
|
|
|
1759
|
-
// Warning: (ae-missing-release-tag) "Payload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1760
|
-
//
|
|
1761
|
-
// @public (undocumented)
|
|
1762
|
-
type Payload = z.infer<typeof payload>;
|
|
1763
|
-
|
|
1764
2001
|
// Warning: (ae-missing-release-tag) "payload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1765
2002
|
//
|
|
1766
2003
|
// @public (undocumented)
|
|
@@ -1776,29 +2013,34 @@ const payload: z.ZodObject<{
|
|
|
1776
2013
|
virtual: z.ZodBoolean;
|
|
1777
2014
|
alias: z.ZodOptional<z.ZodString>;
|
|
1778
2015
|
}, "strip", z.ZodTypeAny, {
|
|
1779
|
-
leaseholder: number;
|
|
1780
|
-
virtual: boolean;
|
|
1781
|
-
isIndex: boolean;
|
|
1782
|
-
internal: boolean;
|
|
1783
2016
|
name: string;
|
|
1784
2017
|
key: number;
|
|
1785
2018
|
rate: Rate;
|
|
1786
2019
|
dataType: DataType;
|
|
1787
|
-
index: number;
|
|
1788
|
-
alias?: string | undefined;
|
|
1789
|
-
}, {
|
|
1790
2020
|
leaseholder: number;
|
|
1791
|
-
|
|
2021
|
+
index: number;
|
|
1792
2022
|
isIndex: boolean;
|
|
1793
2023
|
internal: boolean;
|
|
2024
|
+
virtual: boolean;
|
|
2025
|
+
alias?: string | undefined;
|
|
2026
|
+
}, {
|
|
1794
2027
|
name: string;
|
|
1795
2028
|
key: number;
|
|
1796
2029
|
rate: number | Number | Rate;
|
|
1797
2030
|
dataType: string | DataType;
|
|
2031
|
+
leaseholder: number;
|
|
1798
2032
|
index: number;
|
|
2033
|
+
isIndex: boolean;
|
|
2034
|
+
internal: boolean;
|
|
2035
|
+
virtual: boolean;
|
|
1799
2036
|
alias?: string | undefined;
|
|
1800
2037
|
}>;
|
|
1801
2038
|
|
|
2039
|
+
// Warning: (ae-missing-release-tag) "Payload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2040
|
+
//
|
|
2041
|
+
// @public (undocumented)
|
|
2042
|
+
type Payload_2 = z.infer<typeof payload>;
|
|
2043
|
+
|
|
1802
2044
|
// Warning: (ae-missing-release-tag) "Payload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1803
2045
|
//
|
|
1804
2046
|
// @public (undocumented)
|
|
@@ -1807,7 +2049,7 @@ type Payload_3 = z.infer<typeof payloadZ>;
|
|
|
1807
2049
|
// Warning: (ae-missing-release-tag) "Payload" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1808
2050
|
//
|
|
1809
2051
|
// @public (undocumented)
|
|
1810
|
-
type
|
|
2052
|
+
type Payload_4<C extends UnknownRecord = UnknownRecord, D extends {} = UnknownRecord, T extends string = string> = Omit<z.output<typeof taskZ>, "config" | "type" | "state"> & {
|
|
1811
2053
|
type: T;
|
|
1812
2054
|
config: C;
|
|
1813
2055
|
state?: State_2<D> | null;
|
|
@@ -1876,6 +2118,67 @@ const payloadZ: z.ZodObject<{
|
|
|
1876
2118
|
color?: string | undefined;
|
|
1877
2119
|
}>;
|
|
1878
2120
|
|
|
2121
|
+
// Warning: (ae-missing-release-tag) "Policy" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2122
|
+
//
|
|
2123
|
+
// @public (undocumented)
|
|
2124
|
+
type Policy = z.infer<typeof policyZ>;
|
|
2125
|
+
|
|
2126
|
+
// Warning: (ae-missing-release-tag) "policyZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2127
|
+
//
|
|
2128
|
+
// @public (undocumented)
|
|
2129
|
+
const policyZ: z.ZodObject<{
|
|
2130
|
+
key: z.ZodString;
|
|
2131
|
+
subjects: z.ZodUnion<[z.ZodEffects<z.ZodNull, {
|
|
2132
|
+
key: string;
|
|
2133
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2134
|
+
}[], null>, z.ZodArray<z.ZodObject<{
|
|
2135
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2136
|
+
key: z.ZodString;
|
|
2137
|
+
}, "strip", z.ZodTypeAny, {
|
|
2138
|
+
key: string;
|
|
2139
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2140
|
+
}, {
|
|
2141
|
+
key: string;
|
|
2142
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2143
|
+
}>, "many">]>;
|
|
2144
|
+
objects: z.ZodUnion<[z.ZodEffects<z.ZodNull, {
|
|
2145
|
+
key: string;
|
|
2146
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2147
|
+
}[], null>, z.ZodArray<z.ZodObject<{
|
|
2148
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2149
|
+
key: z.ZodString;
|
|
2150
|
+
}, "strip", z.ZodTypeAny, {
|
|
2151
|
+
key: string;
|
|
2152
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2153
|
+
}, {
|
|
2154
|
+
key: string;
|
|
2155
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2156
|
+
}>, "many">]>;
|
|
2157
|
+
actions: z.ZodUnion<[z.ZodEffects<z.ZodNull, ("delete" | "all" | "create" | "retrieve" | "rename")[], null>, z.ZodArray<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"create">, z.ZodLiteral<"delete">, z.ZodLiteral<"retrieve">, z.ZodLiteral<"rename">]>, "many">]>;
|
|
2158
|
+
}, "strip", z.ZodTypeAny, {
|
|
2159
|
+
key: string;
|
|
2160
|
+
subjects: {
|
|
2161
|
+
key: string;
|
|
2162
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2163
|
+
}[];
|
|
2164
|
+
objects: {
|
|
2165
|
+
key: string;
|
|
2166
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2167
|
+
}[];
|
|
2168
|
+
actions: ("delete" | "all" | "create" | "retrieve" | "rename")[];
|
|
2169
|
+
}, {
|
|
2170
|
+
key: string;
|
|
2171
|
+
subjects: {
|
|
2172
|
+
key: string;
|
|
2173
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2174
|
+
}[] | null;
|
|
2175
|
+
objects: {
|
|
2176
|
+
key: string;
|
|
2177
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2178
|
+
}[] | null;
|
|
2179
|
+
actions: ("delete" | "all" | "create" | "retrieve" | "rename")[] | null;
|
|
2180
|
+
}>;
|
|
2181
|
+
|
|
1879
2182
|
// Warning: (ae-missing-release-tag) "PromiseFns" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
1880
2183
|
//
|
|
1881
2184
|
// @public (undocumented)
|
|
@@ -1971,7 +2274,7 @@ const rackZ: z.ZodObject<{
|
|
|
1971
2274
|
// @public (undocumented)
|
|
1972
2275
|
class Range_2 {
|
|
1973
2276
|
// Warning: (ae-forgotten-export) The symbol "Aliaser" needs to be exported by the entry point index.d.ts
|
|
1974
|
-
constructor(name: string, timeRange: TimeRange_2 | undefined, key: string, color: string | undefined, _frameClient: framer.Client, _kv: KV, _aliaser: Aliaser, _channels: Retriever, _labelClient: label.Client, _ontologyClient: ontology.Client, _rangeClient:
|
|
2277
|
+
constructor(name: string, timeRange: TimeRange_2 | undefined, key: string, color: string | undefined, _frameClient: framer.Client, _kv: KV, _aliaser: Aliaser, _channels: Retriever, _labelClient: label.Client, _ontologyClient: ontology.Client, _rangeClient: Client_7);
|
|
1975
2278
|
// (undocumented)
|
|
1976
2279
|
addLabel(...labels: label.Key[]): Promise<void>;
|
|
1977
2280
|
// (undocumented)
|
|
@@ -1979,7 +2282,7 @@ class Range_2 {
|
|
|
1979
2282
|
// (undocumented)
|
|
1980
2283
|
readonly color: string | undefined;
|
|
1981
2284
|
// (undocumented)
|
|
1982
|
-
deleteAlias(...channels:
|
|
2285
|
+
deleteAlias(...channels: Key_2[]): Promise<void>;
|
|
1983
2286
|
// (undocumented)
|
|
1984
2287
|
key: string;
|
|
1985
2288
|
// (undocumented)
|
|
@@ -1987,7 +2290,7 @@ class Range_2 {
|
|
|
1987
2290
|
// (undocumented)
|
|
1988
2291
|
labels(): Promise<Label[]>;
|
|
1989
2292
|
// (undocumented)
|
|
1990
|
-
listAliases(): Promise<Record<
|
|
2293
|
+
listAliases(): Promise<Record<Key_2, string>>;
|
|
1991
2294
|
// (undocumented)
|
|
1992
2295
|
name: string;
|
|
1993
2296
|
// (undocumented)
|
|
@@ -2001,19 +2304,19 @@ class Range_2 {
|
|
|
2001
2304
|
// (undocumented)
|
|
2002
2305
|
get payload(): Payload_3;
|
|
2003
2306
|
// (undocumented)
|
|
2004
|
-
read(channel:
|
|
2307
|
+
read(channel: Key_4 | Name_3): Promise<Series>;
|
|
2005
2308
|
// (undocumented)
|
|
2006
|
-
read(channels:
|
|
2309
|
+
read(channels: Params_5): Promise<framer.Frame>;
|
|
2007
2310
|
// (undocumented)
|
|
2008
2311
|
removeLabel(...labels: label.Key[]): Promise<void>;
|
|
2009
2312
|
// (undocumented)
|
|
2010
|
-
resolveAlias(alias: string): Promise<
|
|
2313
|
+
resolveAlias(alias: string): Promise<Key_2>;
|
|
2011
2314
|
// (undocumented)
|
|
2012
2315
|
retrieveChildren(): Promise<Range_2[]>;
|
|
2013
2316
|
// (undocumented)
|
|
2014
2317
|
retrieveParent(): Promise<Range_2 | null>;
|
|
2015
2318
|
// (undocumented)
|
|
2016
|
-
setAlias(channel:
|
|
2319
|
+
setAlias(channel: Key_2 | Name_3, alias: string): Promise<void>;
|
|
2017
2320
|
// (undocumented)
|
|
2018
2321
|
readonly timeRange: TimeRange_2;
|
|
2019
2322
|
}
|
|
@@ -2021,7 +2324,7 @@ class Range_2 {
|
|
|
2021
2324
|
// Warning: (ae-missing-release-tag) "rangeAliasOntologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2022
2325
|
//
|
|
2023
2326
|
// @public (undocumented)
|
|
2024
|
-
const rangeAliasOntologyID: (key:
|
|
2327
|
+
const rangeAliasOntologyID: (key: Key_4) => ontology.ID;
|
|
2025
2328
|
|
|
2026
2329
|
// Warning: (ae-missing-release-tag) "RangeAliasOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2027
2330
|
//
|
|
@@ -2031,7 +2334,7 @@ const RangeAliasOntologyType: ontology.ResourceType;
|
|
|
2031
2334
|
// Warning: (ae-missing-release-tag) "rangeOntologyID" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2032
2335
|
//
|
|
2033
2336
|
// @public (undocumented)
|
|
2034
|
-
const rangeOntologyID: (key:
|
|
2337
|
+
const rangeOntologyID: (key: Key_4) => ontology.ID;
|
|
2035
2338
|
|
|
2036
2339
|
// Warning: (ae-missing-release-tag) "RangeOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2037
2340
|
//
|
|
@@ -2044,18 +2347,18 @@ declare namespace ranger {
|
|
|
2044
2347
|
AliasChange,
|
|
2045
2348
|
Range_2 as Range,
|
|
2046
2349
|
RetrieveRequest_2 as RetrieveRequest,
|
|
2047
|
-
|
|
2350
|
+
Client_7 as Client,
|
|
2048
2351
|
GetRequest,
|
|
2049
2352
|
SetRequest,
|
|
2050
2353
|
DeleteRequest,
|
|
2051
2354
|
KVPair,
|
|
2052
2355
|
KV,
|
|
2053
|
-
|
|
2054
|
-
|
|
2356
|
+
keyZ_3 as keyZ,
|
|
2357
|
+
Key_4 as Key,
|
|
2055
2358
|
Name_3 as Name,
|
|
2056
2359
|
Keys_3 as Keys,
|
|
2057
2360
|
Names_3 as Names,
|
|
2058
|
-
|
|
2361
|
+
Params_5 as Params,
|
|
2059
2362
|
payloadZ,
|
|
2060
2363
|
Payload_3 as Payload,
|
|
2061
2364
|
newPayloadZ,
|
|
@@ -2097,39 +2400,39 @@ type RelationshipDirection = "from" | "to";
|
|
|
2097
2400
|
//
|
|
2098
2401
|
// @public (undocumented)
|
|
2099
2402
|
const relationshipSchemaZ: z.ZodObject<{
|
|
2100
|
-
from: z.
|
|
2403
|
+
from: z.ZodUnion<[z.ZodType<ID, z.ZodTypeDef, ID>, z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
2101
2404
|
type: ResourceType;
|
|
2102
2405
|
key: string;
|
|
2103
2406
|
}, string>, z.ZodObject<{
|
|
2104
|
-
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2407
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2105
2408
|
key: z.ZodString;
|
|
2106
2409
|
}, "strip", z.ZodTypeAny, {
|
|
2107
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2108
2410
|
key: string;
|
|
2411
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2109
2412
|
}, {
|
|
2110
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2111
2413
|
key: string;
|
|
2112
|
-
|
|
2113
|
-
|
|
2414
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2415
|
+
}>]>, ID, string | {
|
|
2114
2416
|
key: string;
|
|
2115
|
-
|
|
2417
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2418
|
+
}>]>;
|
|
2116
2419
|
type: z.ZodString;
|
|
2117
|
-
to: z.
|
|
2420
|
+
to: z.ZodUnion<[z.ZodType<ID, z.ZodTypeDef, ID>, z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
2118
2421
|
type: ResourceType;
|
|
2119
2422
|
key: string;
|
|
2120
2423
|
}, string>, z.ZodObject<{
|
|
2121
|
-
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2424
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2122
2425
|
key: z.ZodString;
|
|
2123
2426
|
}, "strip", z.ZodTypeAny, {
|
|
2124
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2125
2427
|
key: string;
|
|
2428
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2126
2429
|
}, {
|
|
2127
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2128
2430
|
key: string;
|
|
2129
|
-
|
|
2130
|
-
|
|
2431
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2432
|
+
}>]>, ID, string | {
|
|
2131
2433
|
key: string;
|
|
2132
|
-
|
|
2434
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2435
|
+
}>]>;
|
|
2133
2436
|
}, "strip", z.ZodTypeAny, {
|
|
2134
2437
|
type: string;
|
|
2135
2438
|
from: ID;
|
|
@@ -2137,12 +2440,12 @@ const relationshipSchemaZ: z.ZodObject<{
|
|
|
2137
2440
|
}, {
|
|
2138
2441
|
type: string;
|
|
2139
2442
|
from: string | ID | {
|
|
2140
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2141
2443
|
key: string;
|
|
2444
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2142
2445
|
};
|
|
2143
2446
|
to: string | ID | {
|
|
2144
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2145
2447
|
key: string;
|
|
2448
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2146
2449
|
};
|
|
2147
2450
|
}>;
|
|
2148
2451
|
|
|
@@ -2178,25 +2481,25 @@ type ResourceDelete = change.Delete<ID, Resource>;
|
|
|
2178
2481
|
//
|
|
2179
2482
|
// @public (undocumented)
|
|
2180
2483
|
const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
2181
|
-
id: z.
|
|
2484
|
+
id: z.ZodUnion<[z.ZodType<ID, z.ZodTypeDef, ID>, z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
2182
2485
|
type: ResourceType;
|
|
2183
2486
|
key: string;
|
|
2184
2487
|
}, string>, z.ZodObject<{
|
|
2185
|
-
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2488
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2186
2489
|
key: z.ZodString;
|
|
2187
2490
|
}, "strip", z.ZodTypeAny, {
|
|
2188
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2189
2491
|
key: string;
|
|
2492
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2190
2493
|
}, {
|
|
2191
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2192
2494
|
key: string;
|
|
2193
|
-
|
|
2194
|
-
|
|
2495
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2496
|
+
}>]>, ID, string | {
|
|
2195
2497
|
key: string;
|
|
2196
|
-
|
|
2498
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2499
|
+
}>]>;
|
|
2197
2500
|
name: z.ZodString;
|
|
2198
2501
|
schema: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2199
|
-
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2502
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2200
2503
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2201
2504
|
type: z.ZodNumber;
|
|
2202
2505
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2205,12 +2508,12 @@ const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
2205
2508
|
type: number;
|
|
2206
2509
|
}>>;
|
|
2207
2510
|
}, "strip", z.ZodTypeAny, {
|
|
2208
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2511
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2209
2512
|
fields: Record<string, {
|
|
2210
2513
|
type: number;
|
|
2211
2514
|
}>;
|
|
2212
2515
|
}, {
|
|
2213
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2516
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2214
2517
|
fields: Record<string, {
|
|
2215
2518
|
type: number;
|
|
2216
2519
|
}>;
|
|
@@ -2221,7 +2524,7 @@ const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
2221
2524
|
id: ID;
|
|
2222
2525
|
data?: Record<string, unknown> | null | undefined;
|
|
2223
2526
|
schema?: {
|
|
2224
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2527
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2225
2528
|
fields: Record<string, {
|
|
2226
2529
|
type: number;
|
|
2227
2530
|
}>;
|
|
@@ -2229,12 +2532,12 @@ const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
2229
2532
|
}, {
|
|
2230
2533
|
name: string;
|
|
2231
2534
|
id: string | ID | {
|
|
2232
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2233
2535
|
key: string;
|
|
2536
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2234
2537
|
};
|
|
2235
2538
|
data?: Record<string, unknown> | null | undefined;
|
|
2236
2539
|
schema?: {
|
|
2237
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2540
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2238
2541
|
fields: Record<string, {
|
|
2239
2542
|
type: number;
|
|
2240
2543
|
}>;
|
|
@@ -2244,7 +2547,7 @@ const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
2244
2547
|
id: ID;
|
|
2245
2548
|
data?: Record<string, unknown> | null | undefined;
|
|
2246
2549
|
schema?: {
|
|
2247
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2550
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2248
2551
|
fields: Record<string, {
|
|
2249
2552
|
type: number;
|
|
2250
2553
|
}>;
|
|
@@ -2253,12 +2556,12 @@ const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
2253
2556
|
}, {
|
|
2254
2557
|
name: string;
|
|
2255
2558
|
id: string | ID | {
|
|
2256
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2257
2559
|
key: string;
|
|
2560
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2258
2561
|
};
|
|
2259
2562
|
data?: Record<string, unknown> | null | undefined;
|
|
2260
2563
|
schema?: {
|
|
2261
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2564
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2262
2565
|
fields: Record<string, {
|
|
2263
2566
|
type: number;
|
|
2264
2567
|
}>;
|
|
@@ -2278,19 +2581,19 @@ type ResourceType = z.infer<typeof resourceTypeZ>;
|
|
|
2278
2581
|
// Warning: (ae-missing-release-tag) "resourceTypeZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2279
2582
|
//
|
|
2280
2583
|
// @public (undocumented)
|
|
2281
|
-
const resourceTypeZ: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2584
|
+
const resourceTypeZ: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2282
2585
|
|
|
2283
|
-
// Warning: (ae-forgotten-export) The symbol "
|
|
2586
|
+
// Warning: (ae-forgotten-export) The symbol "RetrieveRequest" needs to be exported by the entry point index.d.ts
|
|
2284
2587
|
// Warning: (ae-missing-release-tag) "RetrieveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2285
2588
|
//
|
|
2286
2589
|
// @public (undocumented)
|
|
2287
|
-
type RetrieveOptions =
|
|
2590
|
+
type RetrieveOptions = Pick<RetrieveRequest, "includeSchema" | "excludeFieldData" | "types">;
|
|
2288
2591
|
|
|
2289
|
-
// Warning: (ae-forgotten-export) The symbol "
|
|
2592
|
+
// Warning: (ae-forgotten-export) The symbol "Request_2" needs to be exported by the entry point index.d.ts
|
|
2290
2593
|
// Warning: (ae-missing-release-tag) "RetrieveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2291
2594
|
//
|
|
2292
2595
|
// @public (undocumented)
|
|
2293
|
-
type RetrieveOptions_2 =
|
|
2596
|
+
type RetrieveOptions_2 = Omit<Request_2, "keys" | "names" | "search">;
|
|
2294
2597
|
|
|
2295
2598
|
// Warning: (ae-missing-release-tag) "RetrieveOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2296
2599
|
//
|
|
@@ -2308,22 +2611,33 @@ type RetrieveOptions_4 = Pick<RetrieveRequest_4, "limit" | "offset" | "makes">;
|
|
|
2308
2611
|
// @public (undocumented)
|
|
2309
2612
|
interface Retriever {
|
|
2310
2613
|
// (undocumented)
|
|
2311
|
-
page: (offset: number, limit: number, opts?: PageOptions) => Promise<
|
|
2614
|
+
page: (offset: number, limit: number, opts?: PageOptions) => Promise<Payload_2[]>;
|
|
2312
2615
|
// (undocumented)
|
|
2313
|
-
retrieve: (channels:
|
|
2616
|
+
retrieve: (channels: Params_2, opts?: RetrieveOptions_2) => Promise<Payload_2[]>;
|
|
2314
2617
|
// (undocumented)
|
|
2315
|
-
search: (term: string, opts?:
|
|
2618
|
+
search: (term: string, opts?: RetrieveOptions_2) => Promise<Payload_2[]>;
|
|
2316
2619
|
}
|
|
2317
2620
|
|
|
2318
2621
|
// Warning: (ae-missing-release-tag) "Retriever" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2319
2622
|
//
|
|
2320
2623
|
// @public (undocumented)
|
|
2321
2624
|
class Retriever_2 {
|
|
2625
|
+
constructor(client: UnaryClient);
|
|
2626
|
+
// (undocumented)
|
|
2627
|
+
retrieve(params: Params_3): Promise<Policy[]>;
|
|
2628
|
+
// (undocumented)
|
|
2629
|
+
retrieveFor(ids: ontology.IDPayload[]): Promise<Policy[]>;
|
|
2630
|
+
}
|
|
2631
|
+
|
|
2632
|
+
// Warning: (ae-missing-release-tag) "Retriever" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2633
|
+
//
|
|
2634
|
+
// @public (undocumented)
|
|
2635
|
+
class Retriever_3 {
|
|
2322
2636
|
constructor(client: UnaryClient);
|
|
2323
2637
|
// (undocumented)
|
|
2324
2638
|
page(offset: number, limit: number): Promise<Label[]>;
|
|
2325
2639
|
// (undocumented)
|
|
2326
|
-
retrieve(labels:
|
|
2640
|
+
retrieve(labels: Params_4): Promise<Label[]>;
|
|
2327
2641
|
// (undocumented)
|
|
2328
2642
|
retrieveFor(id: ontology.ID): Promise<Label[]>;
|
|
2329
2643
|
// (undocumented)
|
|
@@ -2345,7 +2659,7 @@ type RetrieveRequest_3 = z.infer<typeof retrieveReqZ_3>;
|
|
|
2345
2659
|
// Warning: (ae-missing-release-tag) "retrieveRequired" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2346
2660
|
//
|
|
2347
2661
|
// @public (undocumented)
|
|
2348
|
-
const retrieveRequired: (r: Retriever, channels:
|
|
2662
|
+
const retrieveRequired: (r: Retriever, channels: Params_2) => Promise<Payload_2[]>;
|
|
2349
2663
|
|
|
2350
2664
|
// Warning: (ae-missing-release-tag) "Root" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2351
2665
|
//
|
|
@@ -2392,7 +2706,7 @@ const schemaFieldZ: z.ZodObject<{
|
|
|
2392
2706
|
//
|
|
2393
2707
|
// @public (undocumented)
|
|
2394
2708
|
const schemaZ: z.ZodObject<{
|
|
2395
|
-
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2709
|
+
type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
|
|
2396
2710
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2397
2711
|
type: z.ZodNumber;
|
|
2398
2712
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2401,12 +2715,12 @@ const schemaZ: z.ZodObject<{
|
|
|
2401
2715
|
type: number;
|
|
2402
2716
|
}>>;
|
|
2403
2717
|
}, "strip", z.ZodTypeAny, {
|
|
2404
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2718
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2405
2719
|
fields: Record<string, {
|
|
2406
2720
|
type: number;
|
|
2407
2721
|
}>;
|
|
2408
2722
|
}, {
|
|
2409
|
-
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2723
|
+
type: "label" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
|
|
2410
2724
|
fields: Record<string, {
|
|
2411
2725
|
type: number;
|
|
2412
2726
|
}>;
|
|
@@ -2556,7 +2870,7 @@ type State_2<D extends {} = UnknownRecord> = Omit<z.infer<typeof stateZ>, "detai
|
|
|
2556
2870
|
// Warning: (ae-missing-release-tag) "State" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2557
2871
|
//
|
|
2558
2872
|
// @public (undocumented)
|
|
2559
|
-
type State_3 = control_2.State<
|
|
2873
|
+
type State_3 = control_2.State<Key_2>;
|
|
2560
2874
|
|
|
2561
2875
|
// Warning: (ae-missing-release-tag) "StateObservable" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2562
2876
|
//
|
|
@@ -2569,7 +2883,7 @@ type StateObservable<D extends UnknownRecord = UnknownRecord> = observe.Observab
|
|
|
2569
2883
|
class StateTracker extends framer.ObservableStreamer<Transfer[]> implements observe_2.ObservableAsyncCloseable<Transfer[]> {
|
|
2570
2884
|
constructor(streamer: Streamer);
|
|
2571
2885
|
// (undocumented)
|
|
2572
|
-
readonly states: Map<
|
|
2886
|
+
readonly states: Map<Key_2, State_3>;
|
|
2573
2887
|
// (undocumented)
|
|
2574
2888
|
subjects(): Subject[];
|
|
2575
2889
|
}
|
|
@@ -2583,13 +2897,13 @@ const stateZ: z.ZodObject<{
|
|
|
2583
2897
|
key: z.ZodOptional<z.ZodString>;
|
|
2584
2898
|
details: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodEffects<z.ZodString, any, string>]>, z.ZodArray<z.ZodUnknown, "many">]>, z.ZodNull]>;
|
|
2585
2899
|
}, "strip", z.ZodTypeAny, {
|
|
2586
|
-
variant: string;
|
|
2587
2900
|
task: string;
|
|
2901
|
+
variant: string;
|
|
2588
2902
|
key?: string | undefined;
|
|
2589
2903
|
details?: any;
|
|
2590
2904
|
}, {
|
|
2591
|
-
variant: string;
|
|
2592
2905
|
task: string | number | bigint;
|
|
2906
|
+
variant: string;
|
|
2593
2907
|
details: string | unknown[] | Record<string, unknown> | null;
|
|
2594
2908
|
key?: string | undefined;
|
|
2595
2909
|
}>;
|
|
@@ -2645,7 +2959,7 @@ class Streamer implements AsyncIterator<Frame>, AsyncIterable<Frame> {
|
|
|
2645
2959
|
// (undocumented)
|
|
2646
2960
|
close(): void;
|
|
2647
2961
|
// (undocumented)
|
|
2648
|
-
get keys():
|
|
2962
|
+
get keys(): Key_2[];
|
|
2649
2963
|
// (undocumented)
|
|
2650
2964
|
next(): Promise<IteratorResult<Frame, any>>;
|
|
2651
2965
|
// (undocumented)
|
|
@@ -2653,7 +2967,7 @@ class Streamer implements AsyncIterator<Frame>, AsyncIterable<Frame> {
|
|
|
2653
2967
|
// (undocumented)
|
|
2654
2968
|
read(): Promise<Frame>;
|
|
2655
2969
|
// (undocumented)
|
|
2656
|
-
update(channels:
|
|
2970
|
+
update(channels: Params_2): Promise<void>;
|
|
2657
2971
|
}
|
|
2658
2972
|
|
|
2659
2973
|
// Warning: (ae-missing-release-tag) "StreamerConfig" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -2661,7 +2975,7 @@ class Streamer implements AsyncIterator<Frame>, AsyncIterable<Frame> {
|
|
|
2661
2975
|
// @public (undocumented)
|
|
2662
2976
|
interface StreamerConfig {
|
|
2663
2977
|
// (undocumented)
|
|
2664
|
-
channels:
|
|
2978
|
+
channels: Params_2;
|
|
2665
2979
|
}
|
|
2666
2980
|
|
|
2667
2981
|
// Warning: (ae-missing-release-tag) "stringIDZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -2692,8 +3006,6 @@ export class Synnax extends framer.Client {
|
|
|
2692
3006
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
2693
3007
|
// Warning: (tsdoc-param-tag-with-invalid-name) The @param block should be followed by a valid parameter name: The identifier cannot non-word characters
|
|
2694
3008
|
constructor(props_: SynnaxProps);
|
|
2695
|
-
// Warning: (ae-forgotten-export) The symbol "access" needs to be exported by the entry point index.d.ts
|
|
2696
|
-
//
|
|
2697
3009
|
// (undocumented)
|
|
2698
3010
|
readonly access: access.Client;
|
|
2699
3011
|
// Warning: (ae-forgotten-export) The symbol "auth" needs to be exported by the entry point index.d.ts
|
|
@@ -2727,8 +3039,6 @@ export class Synnax extends framer.Client {
|
|
|
2727
3039
|
readonly props: ParsedSynnaxProps;
|
|
2728
3040
|
// (undocumented)
|
|
2729
3041
|
readonly ranges: ranger.Client;
|
|
2730
|
-
// Warning: (ae-forgotten-export) The symbol "user" needs to be exported by the entry point index.d.ts
|
|
2731
|
-
//
|
|
2732
3042
|
// (undocumented)
|
|
2733
3043
|
readonly user: user.Client;
|
|
2734
3044
|
// (undocumented)
|
|
@@ -2801,7 +3111,7 @@ class Task<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRe
|
|
|
2801
3111
|
// (undocumented)
|
|
2802
3112
|
openStateObserver<D extends UnknownRecord_2 = UnknownRecord_2>(): Promise<StateObservable<D>>;
|
|
2803
3113
|
// (undocumented)
|
|
2804
|
-
get payload():
|
|
3114
|
+
get payload(): Payload_4<C, D>;
|
|
2805
3115
|
// (undocumented)
|
|
2806
3116
|
readonly snapshot: boolean;
|
|
2807
3117
|
// (undocumented)
|
|
@@ -2825,7 +3135,7 @@ declare namespace task {
|
|
|
2825
3135
|
taskZ,
|
|
2826
3136
|
newTaskZ,
|
|
2827
3137
|
NewTask,
|
|
2828
|
-
|
|
3138
|
+
Payload_4 as Payload,
|
|
2829
3139
|
commandZ,
|
|
2830
3140
|
StateObservable,
|
|
2831
3141
|
DeviceOntologyType,
|
|
@@ -2858,39 +3168,39 @@ const taskZ: z.ZodObject<{
|
|
|
2858
3168
|
key: z.ZodOptional<z.ZodString>;
|
|
2859
3169
|
details: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodEffects<z.ZodString, any, string>]>, z.ZodArray<z.ZodUnknown, "many">]>, z.ZodNull]>;
|
|
2860
3170
|
}, "strip", z.ZodTypeAny, {
|
|
2861
|
-
variant: string;
|
|
2862
3171
|
task: string;
|
|
3172
|
+
variant: string;
|
|
2863
3173
|
key?: string | undefined;
|
|
2864
3174
|
details?: any;
|
|
2865
3175
|
}, {
|
|
2866
|
-
variant: string;
|
|
2867
3176
|
task: string | number | bigint;
|
|
3177
|
+
variant: string;
|
|
2868
3178
|
details: string | unknown[] | Record<string, unknown> | null;
|
|
2869
3179
|
key?: string | undefined;
|
|
2870
3180
|
}>>>;
|
|
2871
3181
|
snapshot: z.ZodOptional<z.ZodBoolean>;
|
|
2872
3182
|
}, "strip", z.ZodTypeAny, {
|
|
2873
|
-
type: string;
|
|
2874
3183
|
name: string;
|
|
2875
3184
|
key: string;
|
|
3185
|
+
type: string;
|
|
2876
3186
|
config: UnknownRecord;
|
|
2877
3187
|
internal?: boolean | undefined;
|
|
2878
3188
|
state?: {
|
|
2879
|
-
variant: string;
|
|
2880
3189
|
task: string;
|
|
3190
|
+
variant: string;
|
|
2881
3191
|
key?: string | undefined;
|
|
2882
3192
|
details?: any;
|
|
2883
3193
|
} | null | undefined;
|
|
2884
3194
|
snapshot?: boolean | undefined;
|
|
2885
3195
|
}, {
|
|
2886
|
-
type: string;
|
|
2887
3196
|
name: string;
|
|
2888
3197
|
key: string | number | bigint;
|
|
3198
|
+
type: string;
|
|
2889
3199
|
config: UnknownRecord;
|
|
2890
3200
|
internal?: boolean | undefined;
|
|
2891
3201
|
state?: {
|
|
2892
|
-
variant: string;
|
|
2893
3202
|
task: string | number | bigint;
|
|
3203
|
+
variant: string;
|
|
2894
3204
|
details: string | unknown[] | Record<string, unknown> | null;
|
|
2895
3205
|
key?: string | undefined;
|
|
2896
3206
|
} | null | undefined;
|
|
@@ -2910,7 +3220,7 @@ export { TimeStampStringFormat }
|
|
|
2910
3220
|
// Warning: (ae-missing-release-tag) "Transfer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2911
3221
|
//
|
|
2912
3222
|
// @public (undocumented)
|
|
2913
|
-
type Transfer = control_2.Transfer<
|
|
3223
|
+
type Transfer = control_2.Transfer<Key_2>;
|
|
2914
3224
|
|
|
2915
3225
|
// Warning: (ae-missing-release-tag) "transferString" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2916
3226
|
//
|
|
@@ -2934,6 +3244,50 @@ export class UnexpectedError extends BaseTypedError {
|
|
|
2934
3244
|
type: string;
|
|
2935
3245
|
}
|
|
2936
3246
|
|
|
3247
|
+
// Warning: (ae-missing-release-tag) "User" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
3248
|
+
//
|
|
3249
|
+
// @public (undocumented)
|
|
3250
|
+
type User = z.infer<typeof userZ>;
|
|
3251
|
+
|
|
3252
|
+
declare namespace user {
|
|
3253
|
+
export {
|
|
3254
|
+
Client_9 as Client,
|
|
3255
|
+
keyZ_6 as keyZ,
|
|
3256
|
+
Key_6 as Key,
|
|
3257
|
+
userZ,
|
|
3258
|
+
User,
|
|
3259
|
+
newUserZ,
|
|
3260
|
+
NewUser,
|
|
3261
|
+
UserOntologyType,
|
|
3262
|
+
ontologyID_4 as ontologyID
|
|
3263
|
+
}
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
// Warning: (ae-missing-release-tag) "UserOntologyType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
3267
|
+
//
|
|
3268
|
+
// @public (undocumented)
|
|
3269
|
+
const UserOntologyType: ontology.ResourceType;
|
|
3270
|
+
|
|
3271
|
+
// Warning: (ae-missing-release-tag) "userZ" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
3272
|
+
//
|
|
3273
|
+
// @public (undocumented)
|
|
3274
|
+
const userZ: z.ZodObject<{
|
|
3275
|
+
key: z.ZodString;
|
|
3276
|
+
username: z.ZodString;
|
|
3277
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
3278
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
3279
|
+
}, "strip", z.ZodTypeAny, {
|
|
3280
|
+
key: string;
|
|
3281
|
+
username: string;
|
|
3282
|
+
firstName?: string | undefined;
|
|
3283
|
+
lastName?: string | undefined;
|
|
3284
|
+
}, {
|
|
3285
|
+
key: string;
|
|
3286
|
+
username: string;
|
|
3287
|
+
firstName?: string | undefined;
|
|
3288
|
+
lastName?: string | undefined;
|
|
3289
|
+
}>;
|
|
3290
|
+
|
|
2937
3291
|
// Warning: (ae-missing-release-tag) "ValidationError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2938
3292
|
//
|
|
2939
3293
|
// @public
|
|
@@ -3034,7 +3388,7 @@ class Writer {
|
|
|
3034
3388
|
// (undocumented)
|
|
3035
3389
|
write(frame: CrudeFrame | Record<KeyOrName, CrudeSeries>): Promise<boolean>;
|
|
3036
3390
|
// (undocumented)
|
|
3037
|
-
write(channelsOrData:
|
|
3391
|
+
write(channelsOrData: Params_2 | Record<KeyOrName, CrudeSeries> | CrudeFrame, series?: CrudeSeries | CrudeSeries[]): Promise<boolean>;
|
|
3038
3392
|
}
|
|
3039
3393
|
|
|
3040
3394
|
// Warning: (ae-missing-release-tag) "Writer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -3043,11 +3397,11 @@ class Writer {
|
|
|
3043
3397
|
class Writer_2 {
|
|
3044
3398
|
constructor(client: UnaryClient, cache: CacheRetriever);
|
|
3045
3399
|
// (undocumented)
|
|
3046
|
-
create(channels: NewPayload[]): Promise<
|
|
3400
|
+
create(channels: NewPayload[]): Promise<Payload_2[]>;
|
|
3047
3401
|
// (undocumented)
|
|
3048
3402
|
delete(props: DeleteProps): Promise<void>;
|
|
3049
3403
|
// (undocumented)
|
|
3050
|
-
rename(keys:
|
|
3404
|
+
rename(keys: Key_2[], names: string[]): Promise<void>;
|
|
3051
3405
|
}
|
|
3052
3406
|
|
|
3053
3407
|
// Warning: (ae-missing-release-tag) "Writer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -3058,11 +3412,11 @@ class Writer_3 {
|
|
|
3058
3412
|
// (undocumented)
|
|
3059
3413
|
create(labels: NewLabelPayload | NewLabelPayload[]): Promise<Label[]>;
|
|
3060
3414
|
// (undocumented)
|
|
3061
|
-
delete(keys:
|
|
3415
|
+
delete(keys: Key_5 | Key_5[]): Promise<void>;
|
|
3062
3416
|
// (undocumented)
|
|
3063
|
-
remove(id: ontology.ID, labels:
|
|
3417
|
+
remove(id: ontology.ID, labels: Key_5[]): Promise<void>;
|
|
3064
3418
|
// (undocumented)
|
|
3065
|
-
set(id: ontology.ID, labels:
|
|
3419
|
+
set(id: ontology.ID, labels: Key_5[], { replace }?: SetOptions): Promise<void>;
|
|
3066
3420
|
}
|
|
3067
3421
|
|
|
3068
3422
|
// Warning: (ae-missing-release-tag) "Writer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -3089,7 +3443,7 @@ interface WriterConfig {
|
|
|
3089
3443
|
// (undocumented)
|
|
3090
3444
|
autoIndexPersistInterval?: TimeSpan;
|
|
3091
3445
|
// (undocumented)
|
|
3092
|
-
channels:
|
|
3446
|
+
channels: Params_2;
|
|
3093
3447
|
// (undocumented)
|
|
3094
3448
|
controlSubject?: control_2.Subject;
|
|
3095
3449
|
// (undocumented)
|
|
@@ -3116,4 +3470,4 @@ enum WriterMode {
|
|
|
3116
3470
|
|
|
3117
3471
|
// (No @packageDocumentation comment for this package)
|
|
3118
3472
|
|
|
3119
|
-
```
|
|
3473
|
+
```
|