@synnaxlabs/client 0.27.0 → 0.29.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 +7 -7
- package/CONTRIBUTING.md +47 -0
- package/README.md +17 -32
- package/api/client.api.md +57 -15
- package/dist/channel/client.d.ts +10 -8
- package/dist/channel/client.d.ts.map +1 -1
- package/dist/channel/retriever.d.ts +1 -1
- package/dist/channel/retriever.d.ts.map +1 -1
- package/dist/client.cjs +20 -16
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1880 -1722
- package/dist/connection/checker.d.ts +21 -1
- package/dist/connection/checker.d.ts.map +1 -1
- package/dist/control/state.d.ts.map +1 -1
- package/dist/framer/client.d.ts.map +1 -1
- package/dist/framer/deleter.d.ts.map +1 -1
- package/dist/framer/frame.d.ts.map +1 -1
- package/dist/framer/streamer.d.ts +2 -4
- package/dist/framer/streamer.d.ts.map +1 -1
- package/dist/framer/writer.d.ts.map +1 -1
- package/dist/hardware/task/client.d.ts +12 -2
- package/dist/hardware/task/client.d.ts.map +1 -1
- package/dist/hardware/task/ni/types.d.ts +14495 -0
- package/dist/hardware/task/ni/types.d.ts.map +1 -0
- package/dist/hardware/task/payload.d.ts +6 -0
- package/dist/hardware/task/payload.d.ts.map +1 -1
- package/dist/label/retriever.d.ts +1 -1
- package/dist/ontology/client.d.ts +16 -5
- package/dist/ontology/client.d.ts.map +1 -1
- package/dist/ontology/group/payload.d.ts +1 -1
- package/dist/ontology/group/writer.d.ts.map +1 -1
- package/dist/ontology/payload.d.ts +1 -2
- package/dist/ontology/payload.d.ts.map +1 -1
- package/dist/ranger/client.d.ts +3 -1
- package/dist/ranger/client.d.ts.map +1 -1
- package/dist/ranger/payload.d.ts +25 -25
- package/dist/ranger/payload.d.ts.map +1 -1
- package/dist/ranger/writer.d.ts.map +1 -1
- package/dist/workspace/lineplot/client.d.ts +1 -1
- package/dist/workspace/lineplot/client.d.ts.map +1 -1
- package/dist/workspace/lineplot/retriever.d.ts +1 -1
- package/dist/workspace/lineplot/retriever.d.ts.map +1 -1
- package/dist/workspace/lineplot/writer.d.ts +3 -3
- package/dist/workspace/lineplot/writer.d.ts.map +1 -1
- package/dist/workspace/retriever.d.ts +1 -1
- package/dist/workspace/retriever.d.ts.map +1 -1
- package/dist/workspace/schematic/retriever.d.ts +1 -1
- package/dist/workspace/schematic/retriever.d.ts.map +1 -1
- package/dist/workspace/schematic/writer.d.ts +1 -1
- package/dist/workspace/schematic/writer.d.ts.map +1 -1
- package/package.json +24 -16
- package/src/channel/client.ts +10 -8
- package/src/channel/retriever.ts +2 -2
- package/src/client.ts +13 -5
- package/src/connection/checker.ts +58 -1
- package/src/connection/connection.spec.ts +43 -3
- package/src/framer/client.ts +2 -3
- package/src/framer/streamer.spec.ts +2 -7
- package/src/framer/streamer.ts +5 -10
- package/src/hardware/rack/client.ts +3 -4
- package/src/hardware/task/client.ts +82 -6
- package/src/hardware/task/ni/types.ts +1716 -0
- package/src/hardware/task/payload.ts +1 -0
- package/src/hardware/task/task.spec.ts +45 -30
- package/src/label/client.ts +5 -5
- package/src/label/retriever.ts +2 -2
- package/src/ontology/client.ts +43 -31
- package/src/ontology/group/payload.ts +4 -4
- package/src/ontology/group/writer.ts +10 -12
- package/src/ontology/ontology.spec.ts +3 -5
- package/src/ontology/payload.ts +1 -1
- package/src/ranger/client.ts +55 -49
- package/src/ranger/payload.ts +4 -4
- package/src/vite-env.d.ts +1 -1
- package/src/workspace/lineplot/client.ts +2 -2
- package/src/workspace/lineplot/linePlot.spec.ts +12 -12
- package/src/workspace/lineplot/retriever.ts +2 -2
- package/src/workspace/lineplot/writer.ts +8 -8
- package/src/workspace/retriever.ts +2 -2
- package/src/workspace/schematic/retriever.ts +2 -2
- package/src/workspace/schematic/writer.ts +8 -6
- package/vite.config.ts +5 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
|
-
> @synnaxlabs/client@0.
|
|
2
|
+
> @synnaxlabs/client@0.29.0 build /home/runner/work/synnax/synnax/client/ts
|
|
3
3
|
> tsc --noEmit && vite build
|
|
4
4
|
|
|
5
5
|
[34m Synnax - Production mode[0m
|
|
6
|
-
[36mvite v5.
|
|
6
|
+
[36mvite v5.4.4 [32mbuilding for production...[36m[39m
|
|
7
7
|
transforming...
|
|
8
|
-
[32m✓[39m
|
|
8
|
+
[32m✓[39m 132 modules transformed.
|
|
9
9
|
rendering chunks...
|
|
10
10
|
|
|
11
11
|
[vite:dts] Start generate declaration files...
|
|
12
12
|
computing gzip size...
|
|
13
|
-
[2mdist/[22m[36mclient.js [39m[1m[
|
|
14
|
-
[vite:dts] Declaration files built in
|
|
13
|
+
[2mdist/[22m[36mclient.js [39m[1m[2m247.46 kB[22m[1m[22m[2m │ gzip: 57.76 kB[22m
|
|
14
|
+
[vite:dts] Declaration files built in 5745ms.
|
|
15
15
|
|
|
16
|
-
[2mdist/[22m[36mclient.cjs [39m[1m[
|
|
17
|
-
[32m✓ built in
|
|
16
|
+
[2mdist/[22m[36mclient.cjs [39m[1m[2m155.10 kB[22m[1m[22m[2m │ gzip: 42.20 kB[22m
|
|
17
|
+
[32m✓ built in 6.57s[39m
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Contributing to the TypeScript Client Library
|
|
2
|
+
|
|
3
|
+
First, please read our [contribution guidelines](../../docs/CONTRIBUTING.md) and the
|
|
4
|
+
TypeScript [build document](../../docs/tech/typescript/build.md) for information on
|
|
5
|
+
developing in the Synnax repository with TypeScript.
|
|
6
|
+
|
|
7
|
+
## Setup
|
|
8
|
+
|
|
9
|
+
To properly build upstream packages for developing the client, run the following
|
|
10
|
+
command in the root of the monorepo:
|
|
11
|
+
|
|
12
|
+
```shell
|
|
13
|
+
pnpm build:freighter
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Build
|
|
17
|
+
|
|
18
|
+
To make sure the client builds properly, run the following command in the `client/ts`
|
|
19
|
+
directory:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pnpm build
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Synnax's TypeScript client unit tests are written with [Vitest](https://vitest.dev/). To
|
|
26
|
+
test the framework, run the following command in the `client/ts` directory:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
pnpm test
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
To check code for linting errors, please run the following command in the `client/ts` directory:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pnpm lint
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
If you create changes to the API for the client, generate a new API document by running
|
|
39
|
+
the following command in the `client/ts` directory:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
pnpm genApi
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Finally, if changes to the code warrant changing the documentation website, please edit
|
|
46
|
+
the pages on the [TypeScript
|
|
47
|
+
client](../../docs/site/src/pages/reference/typescript-client/)
|
package/README.md
CHANGED
|
@@ -1,51 +1,36 @@
|
|
|
1
|
+
<a href="https://synnaxlabs.com/" style="display: block; text-align: center;">
|
|
2
|
+
<img src="../../x/media/static/logo/icon-white-padded.png" width="20%"/>
|
|
3
|
+
</a>
|
|
4
|
+
|
|
1
5
|
# Synnax TypeScript Client Library
|
|
2
6
|
|
|
3
|
-
The Synnax TypeScript client is
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
The Synnax TypeScript client library is used for interacting with a Synnax cluster. The
|
|
8
|
+
client library can be used in both node and browser environments. The [Synnax
|
|
9
|
+
documentation
|
|
10
|
+
website](https://docs.synnaxlabs.com/reference/typescript-client/get-started) contains
|
|
11
|
+
more information about using the TypeScript client.
|
|
7
12
|
|
|
8
13
|
## Installation
|
|
9
14
|
|
|
10
15
|
If you want to install the client library, please install it via a package manager such
|
|
11
16
|
as npm or yarn:
|
|
12
17
|
|
|
13
|
-
```
|
|
18
|
+
```bash
|
|
14
19
|
npm install @synnaxlabs/client
|
|
15
20
|
```
|
|
16
21
|
|
|
17
22
|
## Examples
|
|
18
23
|
|
|
19
24
|
Examples of usage of the TypeScript client can be found in our [examples
|
|
20
|
-
folder](
|
|
25
|
+
folder](examples/node).
|
|
21
26
|
|
|
22
27
|
## Development
|
|
23
28
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
To properly build upstream packages for developing the client, run the following
|
|
29
|
-
command:
|
|
30
|
-
|
|
31
|
-
```shell
|
|
32
|
-
pnpm build:freighter
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Synnax's TypeScript client unit tests are written in [Vitest](https://vitest.dev/). To
|
|
36
|
-
test the framework, run the following command:
|
|
29
|
+
If you are interested in contributing, please read both the
|
|
30
|
+
[Synnax](../../docs/CONTRIBUTING.md) and [TypeScript client](CONTRIBUTING.md)
|
|
31
|
+
contribution guides.
|
|
37
32
|
|
|
38
|
-
|
|
39
|
-
pnpm test
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
If you create changes to the API for the client, generate a new API document by running
|
|
43
|
-
the following command:
|
|
44
|
-
|
|
45
|
-
```shell
|
|
46
|
-
pnpm genApi
|
|
47
|
-
```
|
|
33
|
+
## Bugs
|
|
48
34
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
pages](../../docs/site/src/pages/reference/typescript-client/)
|
|
35
|
+
If you run into any bugs, open an issue on our [GitHub
|
|
36
|
+
repository](https://github.com/synnaxlabs/synnax/issues).
|
package/api/client.api.md
CHANGED
|
@@ -82,7 +82,7 @@ const analyzeChannelParams: (channels: Params) => ParamAnalysisResult_2<KeyOrNam
|
|
|
82
82
|
// 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
83
|
//
|
|
84
84
|
// @public (undocumented)
|
|
85
|
-
const analyzeParams_2: (
|
|
85
|
+
const analyzeParams_2: (ranges: Params_4) => ParamAnalysisResult_3;
|
|
86
86
|
|
|
87
87
|
// 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
88
|
//
|
|
@@ -219,7 +219,7 @@ const ChannelOntologyType: ontology.ResourceType;
|
|
|
219
219
|
//
|
|
220
220
|
// @public
|
|
221
221
|
class Checker {
|
|
222
|
-
constructor(client: UnaryClient, pollFreq
|
|
222
|
+
constructor(client: UnaryClient, pollFreq: TimeSpan | undefined, clientVersion: string, name?: string);
|
|
223
223
|
check(): Promise<State>;
|
|
224
224
|
// (undocumented)
|
|
225
225
|
static readonly connectionStateZ: z.ZodObject<{
|
|
@@ -227,16 +227,25 @@ class Checker {
|
|
|
227
227
|
error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
|
|
228
228
|
message: z.ZodOptional<z.ZodString>;
|
|
229
229
|
clusterKey: z.ZodString;
|
|
230
|
+
clientVersion: z.ZodString;
|
|
231
|
+
clientServerCompatible: z.ZodBoolean;
|
|
232
|
+
nodeVersion: z.ZodOptional<z.ZodString>;
|
|
230
233
|
}, "strip", z.ZodTypeAny, {
|
|
231
234
|
status: "disconnected" | "connecting" | "connected" | "failed";
|
|
232
235
|
clusterKey: string;
|
|
236
|
+
clientVersion: string;
|
|
237
|
+
clientServerCompatible: boolean;
|
|
233
238
|
message?: string | undefined;
|
|
234
239
|
error?: Error | undefined;
|
|
240
|
+
nodeVersion?: string | undefined;
|
|
235
241
|
}, {
|
|
236
242
|
status: "disconnected" | "connecting" | "connected" | "failed";
|
|
237
243
|
clusterKey: string;
|
|
244
|
+
clientVersion: string;
|
|
245
|
+
clientServerCompatible: boolean;
|
|
238
246
|
message?: string | undefined;
|
|
239
247
|
error?: Error | undefined;
|
|
248
|
+
nodeVersion?: string | undefined;
|
|
240
249
|
}>;
|
|
241
250
|
// (undocumented)
|
|
242
251
|
static readonly DEFAULT: State;
|
|
@@ -330,7 +339,9 @@ class Client_13 {
|
|
|
330
339
|
//
|
|
331
340
|
// @public (undocumented)
|
|
332
341
|
class Client_14 implements AsyncTermSearcher<string, TaskKey, Payload_5> {
|
|
333
|
-
constructor(client: UnaryClient, frameClient: framer.Client);
|
|
342
|
+
constructor(client: UnaryClient, frameClient: framer.Client, ontologyClient: ontology.Client, rangeClient: ranger.Client);
|
|
343
|
+
// (undocumented)
|
|
344
|
+
copy(key: string, name: string, snapshot: boolean): Promise<Task>;
|
|
334
345
|
// (undocumented)
|
|
335
346
|
create<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRecord_2, T extends string = string>(task: NewTask<C, T>): Promise<Task<C, D, T>>;
|
|
336
347
|
// (undocumented)
|
|
@@ -437,8 +448,10 @@ class Client_2 implements AsyncTermSearcher<string, string, Resource> {
|
|
|
437
448
|
// (undocumented)
|
|
438
449
|
newSearcherWithOptions(options: RetrieveOptions_2): AsyncTermSearcher<string, string, Resource>;
|
|
439
450
|
openChangeTracker(): Promise<ChangeTracker>;
|
|
451
|
+
// Warning: (ae-forgotten-export) The symbol "DependentTrackerProps" needs to be exported by the entry point index.d.ts
|
|
452
|
+
//
|
|
440
453
|
// (undocumented)
|
|
441
|
-
openDependentTracker(
|
|
454
|
+
openDependentTracker(props: DependentTrackerProps): Promise<observe.ObservableAsyncCloseable<Resource[]>>;
|
|
442
455
|
page(offset: number, limit: number, options?: RetrieveOptions_2): Promise<Resource[]>;
|
|
443
456
|
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
444
457
|
// Warning: (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
|
|
@@ -578,6 +591,8 @@ class Client_6 implements AsyncTermSearcher<string, Key_3, Range_2> {
|
|
|
578
591
|
// (undocumented)
|
|
579
592
|
resourcesToRanges(resources: Resource[]): Range_2[];
|
|
580
593
|
// (undocumented)
|
|
594
|
+
resourceToRange(resource: Resource): Range_2;
|
|
595
|
+
// (undocumented)
|
|
581
596
|
retrieve(range: CrudeTimeRange): Promise<Range_2[]>;
|
|
582
597
|
// (undocumented)
|
|
583
598
|
retrieve(range: Key_3 | Name_3): Promise<Range_2>;
|
|
@@ -588,7 +603,9 @@ class Client_6 implements AsyncTermSearcher<string, Key_3, Range_2> {
|
|
|
588
603
|
// (undocumented)
|
|
589
604
|
search(term: string): Promise<Range_2[]>;
|
|
590
605
|
// (undocumented)
|
|
591
|
-
|
|
606
|
+
sugarMany(payloads: Payload_3[]): Range_2[];
|
|
607
|
+
// (undocumented)
|
|
608
|
+
sugarOne(payload: Payload_3): Range_2;
|
|
592
609
|
// (undocumented)
|
|
593
610
|
readonly type: string;
|
|
594
611
|
}
|
|
@@ -762,7 +779,7 @@ class DependentTracker extends observe.Observer<Resource[]> implements observe.O
|
|
|
762
779
|
// (undocumented)
|
|
763
780
|
close(): Promise<void>;
|
|
764
781
|
// (undocumented)
|
|
765
|
-
static open(
|
|
782
|
+
static open(props: DependentTrackerProps, framer: framer.Client, client: Client_2): Promise<DependentTracker>;
|
|
766
783
|
}
|
|
767
784
|
|
|
768
785
|
// Warning: (ae-missing-release-tag) "Device" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
@@ -1536,6 +1553,7 @@ const newTaskZ: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1536
1553
|
details: string | unknown[] | Record<string, unknown> | null;
|
|
1537
1554
|
key?: string | undefined;
|
|
1538
1555
|
}>>>;
|
|
1556
|
+
snapshot: z.ZodOptional<z.ZodBoolean>;
|
|
1539
1557
|
}, "key">, {
|
|
1540
1558
|
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>>;
|
|
1541
1559
|
config: z.ZodEffects<z.ZodUnknown, string, unknown>;
|
|
@@ -1551,6 +1569,7 @@ const newTaskZ: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1551
1569
|
key?: string | undefined;
|
|
1552
1570
|
details?: any;
|
|
1553
1571
|
} | null | undefined;
|
|
1572
|
+
snapshot?: boolean | undefined;
|
|
1554
1573
|
}, {
|
|
1555
1574
|
type: string;
|
|
1556
1575
|
name: string;
|
|
@@ -1563,6 +1582,7 @@ const newTaskZ: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
1563
1582
|
details: string | unknown[] | Record<string, unknown> | null;
|
|
1564
1583
|
key?: string | undefined;
|
|
1565
1584
|
} | null | undefined;
|
|
1585
|
+
snapshot?: boolean | undefined;
|
|
1566
1586
|
}>;
|
|
1567
1587
|
|
|
1568
1588
|
// 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)
|
|
@@ -1612,6 +1632,7 @@ declare namespace ontology {
|
|
|
1612
1632
|
RelationshipChange,
|
|
1613
1633
|
RelationshipSet,
|
|
1614
1634
|
RelationshipDelete,
|
|
1635
|
+
resourceTypeZ,
|
|
1615
1636
|
ResourceType,
|
|
1616
1637
|
BuiltinOntologyType,
|
|
1617
1638
|
ClusterOntologyType,
|
|
@@ -2249,12 +2270,16 @@ const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
2249
2270
|
// @public (undocumented)
|
|
2250
2271
|
type ResourceSet = change.Set<ID, Resource>;
|
|
2251
2272
|
|
|
2252
|
-
// Warning: (ae-forgotten-export) The symbol "resourceTypeZ" needs to be exported by the entry point index.d.ts
|
|
2253
2273
|
// Warning: (ae-missing-release-tag) "ResourceType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2254
2274
|
//
|
|
2255
2275
|
// @public (undocumented)
|
|
2256
2276
|
type ResourceType = z.infer<typeof resourceTypeZ>;
|
|
2257
2277
|
|
|
2278
|
+
// 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
|
+
//
|
|
2280
|
+
// @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">]>;
|
|
2282
|
+
|
|
2258
2283
|
// Warning: (ae-forgotten-export) The symbol "Request_2" needs to be exported by the entry point index.d.ts
|
|
2259
2284
|
// 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)
|
|
2260
2285
|
//
|
|
@@ -2265,7 +2290,7 @@ type RetrieveOptions = Omit<Request_2, "keys" | "names" | "search">;
|
|
|
2265
2290
|
// 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)
|
|
2266
2291
|
//
|
|
2267
2292
|
// @public (undocumented)
|
|
2268
|
-
type RetrieveOptions_2 = Pick<RetrieveRequest, "includeSchema" | "excludeFieldData">;
|
|
2293
|
+
type RetrieveOptions_2 = Pick<RetrieveRequest, "includeSchema" | "excludeFieldData" | "types">;
|
|
2269
2294
|
|
|
2270
2295
|
// 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)
|
|
2271
2296
|
//
|
|
@@ -2298,7 +2323,7 @@ class Retriever_2 {
|
|
|
2298
2323
|
// (undocumented)
|
|
2299
2324
|
page(offset: number, limit: number): Promise<Label[]>;
|
|
2300
2325
|
// (undocumented)
|
|
2301
|
-
retrieve(
|
|
2326
|
+
retrieve(labels: Params_3): Promise<Label[]>;
|
|
2302
2327
|
// (undocumented)
|
|
2303
2328
|
retrieveFor(id: ontology.ID): Promise<Label[]>;
|
|
2304
2329
|
// (undocumented)
|
|
@@ -2320,7 +2345,7 @@ type RetrieveRequest_3 = z.infer<typeof retrieveReqZ_3>;
|
|
|
2320
2345
|
// 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)
|
|
2321
2346
|
//
|
|
2322
2347
|
// @public (undocumented)
|
|
2323
|
-
const retrieveRequired: (r: Retriever,
|
|
2348
|
+
const retrieveRequired: (r: Retriever, channels: Params) => Promise<Payload[]>;
|
|
2324
2349
|
|
|
2325
2350
|
// 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)
|
|
2326
2351
|
//
|
|
@@ -2500,16 +2525,25 @@ const state: z.ZodObject<{
|
|
|
2500
2525
|
error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
|
|
2501
2526
|
message: z.ZodOptional<z.ZodString>;
|
|
2502
2527
|
clusterKey: z.ZodString;
|
|
2528
|
+
clientVersion: z.ZodString;
|
|
2529
|
+
clientServerCompatible: z.ZodBoolean;
|
|
2530
|
+
nodeVersion: z.ZodOptional<z.ZodString>;
|
|
2503
2531
|
}, "strip", z.ZodTypeAny, {
|
|
2504
2532
|
status: "disconnected" | "connecting" | "connected" | "failed";
|
|
2505
2533
|
clusterKey: string;
|
|
2534
|
+
clientVersion: string;
|
|
2535
|
+
clientServerCompatible: boolean;
|
|
2506
2536
|
message?: string | undefined;
|
|
2507
2537
|
error?: Error | undefined;
|
|
2538
|
+
nodeVersion?: string | undefined;
|
|
2508
2539
|
}, {
|
|
2509
2540
|
status: "disconnected" | "connecting" | "connected" | "failed";
|
|
2510
2541
|
clusterKey: string;
|
|
2542
|
+
clientVersion: string;
|
|
2543
|
+
clientServerCompatible: boolean;
|
|
2511
2544
|
message?: string | undefined;
|
|
2512
2545
|
error?: Error | undefined;
|
|
2546
|
+
nodeVersion?: string | undefined;
|
|
2513
2547
|
}>;
|
|
2514
2548
|
|
|
2515
2549
|
// 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)
|
|
@@ -2615,11 +2649,11 @@ class Streamer implements AsyncIterator<Frame>, AsyncIterable<Frame> {
|
|
|
2615
2649
|
// (undocumented)
|
|
2616
2650
|
next(): Promise<IteratorResult<Frame, any>>;
|
|
2617
2651
|
// (undocumented)
|
|
2618
|
-
static _open(retriever: Retriever, client: StreamClient, { channels
|
|
2652
|
+
static _open(retriever: Retriever, client: StreamClient, { channels }: StreamerConfig): Promise<Streamer>;
|
|
2619
2653
|
// (undocumented)
|
|
2620
2654
|
read(): Promise<Frame>;
|
|
2621
2655
|
// (undocumented)
|
|
2622
|
-
update(
|
|
2656
|
+
update(channels: Params): Promise<void>;
|
|
2623
2657
|
}
|
|
2624
2658
|
|
|
2625
2659
|
// 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)
|
|
@@ -2628,8 +2662,6 @@ class Streamer implements AsyncIterator<Frame>, AsyncIterable<Frame> {
|
|
|
2628
2662
|
interface StreamerConfig {
|
|
2629
2663
|
// (undocumented)
|
|
2630
2664
|
channels: Params;
|
|
2631
|
-
// (undocumented)
|
|
2632
|
-
from?: CrudeTimeStamp;
|
|
2633
2665
|
}
|
|
2634
2666
|
|
|
2635
2667
|
// 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)
|
|
@@ -2670,6 +2702,7 @@ export class Synnax extends framer.Client {
|
|
|
2670
2702
|
readonly auth: auth.Client | undefined;
|
|
2671
2703
|
// (undocumented)
|
|
2672
2704
|
readonly channels: channel.Client;
|
|
2705
|
+
readonly clientVersion: string;
|
|
2673
2706
|
// (undocumented)
|
|
2674
2707
|
close(): void;
|
|
2675
2708
|
// (undocumented)
|
|
@@ -2750,7 +2783,7 @@ export const synnaxPropsZ: z.ZodObject<{
|
|
|
2750
2783
|
//
|
|
2751
2784
|
// @public (undocumented)
|
|
2752
2785
|
class Task<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRecord_2, T extends string = string> {
|
|
2753
|
-
constructor(key: TaskKey, name: string, type: T, config: C,
|
|
2786
|
+
constructor(key: TaskKey, name: string, type: T, config: C, internal?: boolean, snapshot?: boolean, state?: State_2<D> | null, frameClient?: framer.Client | null, ontologyClient?: ontology.Client | null, rangeClient?: ranger.Client | null);
|
|
2754
2787
|
// (undocumented)
|
|
2755
2788
|
readonly config: C;
|
|
2756
2789
|
// (undocumented)
|
|
@@ -2764,10 +2797,16 @@ class Task<C extends UnknownRecord_2 = UnknownRecord_2, D extends {} = UnknownRe
|
|
|
2764
2797
|
// (undocumented)
|
|
2765
2798
|
readonly name: string;
|
|
2766
2799
|
// (undocumented)
|
|
2800
|
+
get ontologyID(): ontology.ID;
|
|
2801
|
+
// (undocumented)
|
|
2767
2802
|
openStateObserver<D extends UnknownRecord_2 = UnknownRecord_2>(): Promise<StateObservable<D>>;
|
|
2768
2803
|
// (undocumented)
|
|
2769
2804
|
get payload(): Payload_5<C, D>;
|
|
2770
2805
|
// (undocumented)
|
|
2806
|
+
readonly snapshot: boolean;
|
|
2807
|
+
// (undocumented)
|
|
2808
|
+
snapshottedTo(): Promise<ontology.Resource | null>;
|
|
2809
|
+
// (undocumented)
|
|
2771
2810
|
state?: State_2<D>;
|
|
2772
2811
|
// (undocumented)
|
|
2773
2812
|
readonly type: T;
|
|
@@ -2829,6 +2868,7 @@ const taskZ: z.ZodObject<{
|
|
|
2829
2868
|
details: string | unknown[] | Record<string, unknown> | null;
|
|
2830
2869
|
key?: string | undefined;
|
|
2831
2870
|
}>>>;
|
|
2871
|
+
snapshot: z.ZodOptional<z.ZodBoolean>;
|
|
2832
2872
|
}, "strip", z.ZodTypeAny, {
|
|
2833
2873
|
type: string;
|
|
2834
2874
|
name: string;
|
|
@@ -2841,6 +2881,7 @@ const taskZ: z.ZodObject<{
|
|
|
2841
2881
|
key?: string | undefined;
|
|
2842
2882
|
details?: any;
|
|
2843
2883
|
} | null | undefined;
|
|
2884
|
+
snapshot?: boolean | undefined;
|
|
2844
2885
|
}, {
|
|
2845
2886
|
type: string;
|
|
2846
2887
|
name: string;
|
|
@@ -2853,6 +2894,7 @@ const taskZ: z.ZodObject<{
|
|
|
2853
2894
|
details: string | unknown[] | Record<string, unknown> | null;
|
|
2854
2895
|
key?: string | undefined;
|
|
2855
2896
|
} | null | undefined;
|
|
2897
|
+
snapshot?: boolean | undefined;
|
|
2856
2898
|
}>;
|
|
2857
2899
|
|
|
2858
2900
|
export { TelemValue }
|
package/dist/channel/client.d.ts
CHANGED
|
@@ -15,7 +15,8 @@ interface CreateOptions {
|
|
|
15
15
|
* instantiated directly, but instead created via the `.channels.create` or retrieved
|
|
16
16
|
* via the `.channels.retrieve` method on a Synnax client.
|
|
17
17
|
*
|
|
18
|
-
* Please refer to the [Synnax
|
|
18
|
+
* Please refer to the [Synnax
|
|
19
|
+
* documentation](https://docs.synnaxlabs.com/reference/concepts/channels) for detailed
|
|
19
20
|
* information on what channels are and how to use them.
|
|
20
21
|
*/
|
|
21
22
|
export declare class Channel {
|
|
@@ -118,13 +119,14 @@ export declare class Client implements AsyncTermSearcher<string, Key, Channel> {
|
|
|
118
119
|
* @param rate - The rate of the channel. This only applies to fixed rate channels.
|
|
119
120
|
* @param dataType - The data type for the samples stored in the channel.
|
|
120
121
|
* @param index - The key of the index channel that this channel should be associated
|
|
121
|
-
* with. An 'index' channel is a channel that stores timestamps for other channels.
|
|
122
|
-
* to the Synnax documentation
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
122
|
+
* with. An 'index' channel is a channel that stores timestamps for other channels.
|
|
123
|
+
* Refer to the Synnax documentation
|
|
124
|
+
* (https://docs.synnaxlabs.com/reference/concepts/channels) for more information. The
|
|
125
|
+
* index channel must have already been created. This field does not need to be
|
|
126
|
+
* specified if the channel is an index channel, or the channel is a fixed rate
|
|
127
|
+
* channel. If this value is specified, the 'rate' parameter will be ignored.
|
|
128
|
+
* @param isIndex - Set to true if the channel is an index channel, and false
|
|
129
|
+
* otherwise. Index channels must have a data type of `DataType.TIMESTAMP`.
|
|
128
130
|
* @returns the created channel. {@see Channel}
|
|
129
131
|
* @throws {ValidationError} if any of the parameters for creating the channel are
|
|
130
132
|
* invalid.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/channel/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,QAAQ,EACR,KAAK,WAAW,EAChB,IAAI,EACJ,KAAK,SAAS,EACd,KAAK,UAAU,EAChB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EACL,KAAK,GAAG,EACR,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,MAAM,EACX,KAAK,OAAO,EAEb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,KAAK,eAAe,EACpB,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAGzC,UAAU,aAAa;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/channel/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK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AAK,CAAC,KAAK,CAAC;CAU5C"}
|
|
@@ -92,6 +92,6 @@ export declare class DebouncedBatchRetriever implements Retriever {
|
|
|
92
92
|
retrieve(channels: Params): Promise<Payload[]>;
|
|
93
93
|
run(): Promise<void>;
|
|
94
94
|
}
|
|
95
|
-
export declare const retrieveRequired: (r: Retriever,
|
|
95
|
+
export declare const retrieveRequired: (r: Retriever, channels: Params) => Promise<Payload[]>;
|
|
96
96
|
export {};
|
|
97
97
|
//# sourceMappingURL=retriever.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retriever.d.ts","sourceRoot":"","sources":["../../src/channel/retriever.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,KAAK,GAAG,EACR,KAAK,SAAS,EAGd,KAAK,MAAM,EACX,KAAK,OAAO,EAEb,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAiB,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG1E,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaR,CAAC;AAEH,KAAK,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEpC,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC,CAAC;AACzE,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC;AAMpE,eAAO,MAAM,oBAAoB,aACrB,MAAM,KACf,mBAAmB,CAAC,SAAS,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,CAIjE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