@synnaxlabs/client 0.23.1 → 0.25.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 +9 -10
- package/dist/auth/auth.d.ts +4 -4
- package/dist/channel/client.d.ts +13 -6
- package/dist/channel/client.d.ts.map +1 -1
- package/dist/channel/creator.d.ts +1 -1
- package/dist/channel/payload.d.ts +1 -1
- package/dist/channel/retriever.d.ts +8 -6
- package/dist/channel/retriever.d.ts.map +1 -1
- package/dist/channel/writer.d.ts +5 -3
- package/dist/channel/writer.d.ts.map +1 -1
- package/dist/client.cjs +22 -18
- package/dist/client.d.ts +12 -12
- package/dist/client.js +4406 -4865
- package/dist/connection/checker.d.ts +2 -2
- package/dist/control/client.d.ts +1 -1
- package/dist/control/state.d.ts +5 -5
- package/dist/errors.d.ts +33 -8
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.spec.d.ts +2 -0
- package/dist/errors.spec.d.ts.map +1 -0
- package/dist/framer/adapter.d.ts +3 -3
- package/dist/framer/client.d.ts +12 -11
- package/dist/framer/client.d.ts.map +1 -1
- package/dist/framer/deleter.d.ts +2 -2
- package/dist/framer/frame.d.ts +2 -2
- package/dist/framer/iterator.d.ts +16 -6
- package/dist/framer/iterator.d.ts.map +1 -1
- package/dist/framer/streamProxy.d.ts +1 -1
- package/dist/framer/streamer.d.ts +5 -5
- package/dist/framer/writer.d.ts +6 -6
- package/dist/hardware/client.d.ts +2 -2
- package/dist/hardware/device/client.d.ts +7 -7
- package/dist/hardware/device/client.d.ts.map +1 -1
- package/dist/hardware/rack/client.d.ts +5 -5
- package/dist/hardware/task/client.d.ts +22 -11
- package/dist/hardware/task/client.d.ts.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/label/client.d.ts +6 -6
- package/dist/label/payload.d.ts +1 -1
- package/dist/label/payload.d.ts.map +1 -1
- package/dist/label/retriever.d.ts +2 -2
- package/dist/label/writer.d.ts +3 -3
- package/dist/ontology/client.d.ts +10 -10
- package/dist/ontology/group/client.d.ts +2 -2
- package/dist/ontology/group/external.d.ts +1 -0
- package/dist/ontology/group/external.d.ts.map +1 -1
- package/dist/ontology/group/payload.d.ts +2 -2
- package/dist/ontology/group/payload.d.ts.map +1 -1
- package/dist/ontology/group/writer.d.ts +2 -2
- package/dist/ontology/group/writer.d.ts.map +1 -1
- package/dist/ontology/payload.d.ts +35 -35
- package/dist/ontology/payload.d.ts.map +1 -1
- package/dist/ontology/writer.d.ts +1 -1
- package/dist/ranger/active.d.ts +1 -1
- package/dist/ranger/active.d.ts.map +1 -1
- package/dist/ranger/alias.d.ts +6 -6
- package/dist/ranger/client.d.ts +10 -10
- package/dist/ranger/kv.d.ts +2 -2
- package/dist/ranger/payload.d.ts +1 -1
- package/dist/ranger/range.d.ts +8 -8
- package/dist/ranger/range.d.ts.map +1 -1
- package/dist/ranger/writer.d.ts +1 -1
- package/dist/signals/observable.d.ts +4 -4
- package/dist/signals/observable.d.ts.map +1 -1
- package/dist/transport.d.ts +1 -1
- package/dist/util/retrieve.d.ts +1 -1
- package/dist/util/retrieve.d.ts.map +1 -1
- package/dist/util/zod.d.ts.map +1 -1
- package/dist/workspace/client.d.ts +6 -6
- package/dist/workspace/lineplot/client.d.ts +3 -3
- package/dist/workspace/lineplot/payload.d.ts +1 -1
- package/dist/workspace/lineplot/retriever.d.ts +1 -1
- package/dist/workspace/lineplot/writer.d.ts +3 -3
- package/dist/workspace/payload.d.ts +1 -1
- package/dist/workspace/retriever.d.ts +1 -1
- package/dist/workspace/schematic/client.d.ts +3 -3
- package/dist/workspace/schematic/payload.d.ts +1 -1
- package/dist/workspace/schematic/retriever.d.ts +1 -1
- package/dist/workspace/schematic/writer.d.ts +3 -3
- package/dist/workspace/writer.d.ts +3 -3
- package/examples/node/basicReadWrite.js +4 -4
- package/examples/node/package-lock.json +8 -8
- package/package.json +10 -11
- package/src/auth/auth.ts +1 -1
- package/src/channel/channel.spec.ts +6 -5
- package/src/channel/client.ts +30 -1
- package/src/channel/retriever.ts +60 -10
- package/src/channel/writer.ts +13 -10
- package/src/client.ts +2 -2
- package/src/errors.spec.ts +39 -0
- package/src/errors.ts +35 -7
- package/src/framer/client.spec.ts +6 -0
- package/src/framer/client.ts +25 -18
- package/src/framer/deleter.spec.ts +39 -38
- package/src/framer/iterator.spec.ts +26 -1
- package/src/framer/iterator.ts +15 -1
- package/src/framer/streamProxy.ts +1 -1
- package/src/framer/streamer.ts +1 -1
- package/src/framer/writer.spec.ts +29 -1
- package/src/hardware/device/client.ts +2 -2
- package/src/hardware/task/client.ts +45 -6
- package/src/hardware/task/task.spec.ts +14 -2
- package/src/index.ts +3 -2
- package/src/ontology/group/external.ts +1 -0
- package/src/ontology/group/payload.ts +2 -2
- package/src/ontology/group/writer.ts +2 -2
- package/src/ontology/ontology.spec.ts +1 -1
- package/src/ranger/active.ts +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ID, RelationshipChange, Resource, ResourceChange } from './payload';
|
|
2
|
-
import { group } from './group';
|
|
3
|
-
import { framer } from '../framer';
|
|
4
|
-
import { z } from 'zod';
|
|
5
|
-
import { AsyncTermSearcher } from '@synnaxlabs/x/search';
|
|
6
|
-
import { observe } from '@synnaxlabs/x';
|
|
7
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
|
+
import { observe } from '@synnaxlabs/x';
|
|
3
|
+
import { AsyncTermSearcher } from '@synnaxlabs/x/search';
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
import { framer } from '../framer';
|
|
6
|
+
import { group } from './group';
|
|
7
|
+
import { ID, RelationshipChange, Resource, ResourceChange } from './payload';
|
|
8
8
|
|
|
9
9
|
declare const retrieveReqZ: z.ZodObject<{
|
|
10
10
|
ids: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -12,10 +12,10 @@ declare const retrieveReqZ: z.ZodObject<{
|
|
|
12
12
|
key: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
key: string;
|
|
15
|
-
type: "
|
|
15
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
16
16
|
}, {
|
|
17
17
|
key: string;
|
|
18
|
-
type: "
|
|
18
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
19
19
|
}>, "many">>;
|
|
20
20
|
children: z.ZodOptional<z.ZodBoolean>;
|
|
21
21
|
parents: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -30,7 +30,7 @@ declare const retrieveReqZ: z.ZodObject<{
|
|
|
30
30
|
children?: boolean | undefined;
|
|
31
31
|
ids?: {
|
|
32
32
|
key: string;
|
|
33
|
-
type: "
|
|
33
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
34
34
|
}[] | undefined;
|
|
35
35
|
parents?: boolean | undefined;
|
|
36
36
|
includeSchema?: boolean | undefined;
|
|
@@ -42,7 +42,7 @@ declare const retrieveReqZ: z.ZodObject<{
|
|
|
42
42
|
children?: boolean | undefined;
|
|
43
43
|
ids?: {
|
|
44
44
|
key: string;
|
|
45
|
-
type: "
|
|
45
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
46
46
|
}[] | undefined;
|
|
47
47
|
parents?: boolean | undefined;
|
|
48
48
|
includeSchema?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/ontology/group/external.ts"],"names":[],"mappings":"AASA,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../src/ontology/group/external.ts"],"names":[],"mappings":"AASA,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC"}
|
|
@@ -6,7 +6,7 @@ export type Name = string;
|
|
|
6
6
|
export type Keys = Key[];
|
|
7
7
|
export type Names = Name[];
|
|
8
8
|
export type Params = Key | Name | Keys | Names;
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const groupZ: z.ZodObject<{
|
|
10
10
|
key: z.ZodString;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16,7 +16,7 @@ export declare const payloadZ: z.ZodObject<{
|
|
|
16
16
|
name: string;
|
|
17
17
|
key: string;
|
|
18
18
|
}>;
|
|
19
|
-
export type Payload = z.infer<typeof
|
|
19
|
+
export type Payload = z.infer<typeof groupZ>;
|
|
20
20
|
export type ParamAnalysisResult = {
|
|
21
21
|
single: true;
|
|
22
22
|
variant: "keys";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/ontology/group/payload.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,IAAI,aAAoB,CAAC;AACtC,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACvC,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC;AAC1B,MAAM,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC;AACzB,MAAM,MAAM,KAAK,GAAG,IAAI,EAAE,CAAC;AAC3B,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAE/C,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../src/ontology/group/pay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ryClient } from '@synnaxlabs/freighter';
|
|
2
|
+
import { Payload } from './payload';
|
|
3
|
+
import { ID } from '../payload';
|
|
4
4
|
|
|
5
5
|
export declare class Writer {
|
|
6
6
|
private static readonly ENDPOINT;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"writer.d.ts","sourceRoot":"","sources":["../../../src/ontology/group/writer.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,
|
|
1
|
+
{"version":3,"file":"writer.d.ts","sourceRoot":"","sources":["../../../src/ontology/group/writer.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,EAAS,KAAK,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,EAAO,MAAM,oBAAoB,CAAC;AAqBlD,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAA4B;IAC5D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAA4B;IACnE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAA4B;IACnE,MAAM,EAAE,WAAW,CAAC;gBAER,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAWhE,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAWhD,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAU5C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
1
|
import { change, UnknownRecord } from '@synnaxlabs/x';
|
|
2
|
+
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
export type ResourceChange = change.Change<ID, Resource>;
|
|
5
5
|
export type ResourceSet = change.Set<ID, Resource>;
|
|
@@ -14,28 +14,28 @@ export declare const idZ: z.ZodObject<{
|
|
|
14
14
|
key: z.ZodString;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
key: string;
|
|
17
|
-
type: "
|
|
17
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
18
18
|
}, {
|
|
19
19
|
key: string;
|
|
20
|
-
type: "
|
|
20
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
21
21
|
}>;
|
|
22
22
|
export type IDPayload = z.infer<typeof idZ>;
|
|
23
23
|
export declare const stringIDZ: z.ZodEffects<z.ZodString, {
|
|
24
|
-
type:
|
|
24
|
+
type: ResourceType;
|
|
25
25
|
key: string;
|
|
26
26
|
}, string>;
|
|
27
27
|
export declare const crudeIDZ: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
28
|
-
type:
|
|
28
|
+
type: ResourceType;
|
|
29
29
|
key: string;
|
|
30
30
|
}, string>, z.ZodObject<{
|
|
31
31
|
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">]>;
|
|
32
32
|
key: z.ZodString;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
key: string;
|
|
35
|
-
type: "
|
|
35
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
36
36
|
}, {
|
|
37
37
|
key: string;
|
|
38
|
-
type: "
|
|
38
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
39
39
|
}>]>;
|
|
40
40
|
export declare class ID {
|
|
41
41
|
type: ResourceType;
|
|
@@ -44,20 +44,20 @@ export declare class ID {
|
|
|
44
44
|
toString(): string;
|
|
45
45
|
get payload(): z.infer<typeof idZ>;
|
|
46
46
|
static readonly z: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
47
|
-
type:
|
|
47
|
+
type: ResourceType;
|
|
48
48
|
key: string;
|
|
49
49
|
}, string>, z.ZodObject<{
|
|
50
50
|
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">]>;
|
|
51
51
|
key: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
key: string;
|
|
54
|
-
type: "
|
|
54
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
55
55
|
}, {
|
|
56
56
|
key: string;
|
|
57
|
-
type: "
|
|
57
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
58
58
|
}>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
|
|
59
59
|
key: string;
|
|
60
|
-
type: "
|
|
60
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
61
61
|
}>;
|
|
62
62
|
}
|
|
63
63
|
export declare const Root: ID;
|
|
@@ -79,12 +79,12 @@ export declare const schemaZ: z.ZodObject<{
|
|
|
79
79
|
type: number;
|
|
80
80
|
}>>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
type: "
|
|
82
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
83
83
|
fields: Record<string, {
|
|
84
84
|
type: number;
|
|
85
85
|
}>;
|
|
86
86
|
}, {
|
|
87
|
-
type: "
|
|
87
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
88
88
|
fields: Record<string, {
|
|
89
89
|
type: number;
|
|
90
90
|
}>;
|
|
@@ -92,20 +92,20 @@ export declare const schemaZ: z.ZodObject<{
|
|
|
92
92
|
export type Schema = z.infer<typeof schemaZ>;
|
|
93
93
|
export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
94
94
|
id: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
95
|
-
type:
|
|
95
|
+
type: ResourceType;
|
|
96
96
|
key: string;
|
|
97
97
|
}, string>, z.ZodObject<{
|
|
98
98
|
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">]>;
|
|
99
99
|
key: z.ZodString;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
101
|
key: string;
|
|
102
|
-
type: "
|
|
102
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
103
103
|
}, {
|
|
104
104
|
key: string;
|
|
105
|
-
type: "
|
|
105
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
106
106
|
}>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
|
|
107
107
|
key: string;
|
|
108
|
-
type: "
|
|
108
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
109
109
|
}>;
|
|
110
110
|
name: z.ZodString;
|
|
111
111
|
schema: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -118,12 +118,12 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
118
118
|
type: number;
|
|
119
119
|
}>>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
type: "
|
|
121
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
122
122
|
fields: Record<string, {
|
|
123
123
|
type: number;
|
|
124
124
|
}>;
|
|
125
125
|
}, {
|
|
126
|
-
type: "
|
|
126
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
127
127
|
fields: Record<string, {
|
|
128
128
|
type: number;
|
|
129
129
|
}>;
|
|
@@ -134,7 +134,7 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
134
134
|
id: ID;
|
|
135
135
|
data?: Record<string, unknown> | null | undefined;
|
|
136
136
|
schema?: {
|
|
137
|
-
type: "
|
|
137
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
138
138
|
fields: Record<string, {
|
|
139
139
|
type: number;
|
|
140
140
|
}>;
|
|
@@ -143,11 +143,11 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
143
143
|
name: string;
|
|
144
144
|
id: string | ID | {
|
|
145
145
|
key: string;
|
|
146
|
-
type: "
|
|
146
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
147
147
|
};
|
|
148
148
|
data?: Record<string, unknown> | null | undefined;
|
|
149
149
|
schema?: {
|
|
150
|
-
type: "
|
|
150
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
151
151
|
fields: Record<string, {
|
|
152
152
|
type: number;
|
|
153
153
|
}>;
|
|
@@ -157,7 +157,7 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
157
157
|
id: ID;
|
|
158
158
|
data?: Record<string, unknown> | null | undefined;
|
|
159
159
|
schema?: {
|
|
160
|
-
type: "
|
|
160
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
161
161
|
fields: Record<string, {
|
|
162
162
|
type: number;
|
|
163
163
|
}>;
|
|
@@ -167,11 +167,11 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
167
167
|
name: string;
|
|
168
168
|
id: string | ID | {
|
|
169
169
|
key: string;
|
|
170
|
-
type: "
|
|
170
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
171
171
|
};
|
|
172
172
|
data?: Record<string, unknown> | null | undefined;
|
|
173
173
|
schema?: {
|
|
174
|
-
type: "
|
|
174
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
175
175
|
fields: Record<string, {
|
|
176
176
|
type: number;
|
|
177
177
|
}>;
|
|
@@ -182,37 +182,37 @@ export type Resource<T extends UnknownRecord = UnknownRecord> = Omit<z.output<ty
|
|
|
182
182
|
};
|
|
183
183
|
export declare const relationshipSchemaZ: z.ZodObject<{
|
|
184
184
|
from: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
185
|
-
type:
|
|
185
|
+
type: ResourceType;
|
|
186
186
|
key: string;
|
|
187
187
|
}, string>, z.ZodObject<{
|
|
188
188
|
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">]>;
|
|
189
189
|
key: z.ZodString;
|
|
190
190
|
}, "strip", z.ZodTypeAny, {
|
|
191
191
|
key: string;
|
|
192
|
-
type: "
|
|
192
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
193
193
|
}, {
|
|
194
194
|
key: string;
|
|
195
|
-
type: "
|
|
195
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
196
196
|
}>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
|
|
197
197
|
key: string;
|
|
198
|
-
type: "
|
|
198
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
199
199
|
}>;
|
|
200
200
|
type: z.ZodString;
|
|
201
201
|
to: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
202
|
-
type:
|
|
202
|
+
type: ResourceType;
|
|
203
203
|
key: string;
|
|
204
204
|
}, string>, z.ZodObject<{
|
|
205
205
|
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">]>;
|
|
206
206
|
key: z.ZodString;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
208
|
key: string;
|
|
209
|
-
type: "
|
|
209
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
210
210
|
}, {
|
|
211
211
|
key: string;
|
|
212
|
-
type: "
|
|
212
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
213
213
|
}>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
|
|
214
214
|
key: string;
|
|
215
|
-
type: "
|
|
215
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
216
216
|
}>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
218
|
type: string;
|
|
@@ -222,11 +222,11 @@ export declare const relationshipSchemaZ: z.ZodObject<{
|
|
|
222
222
|
type: string;
|
|
223
223
|
from: string | ID | {
|
|
224
224
|
key: string;
|
|
225
|
-
type: "
|
|
225
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
226
226
|
};
|
|
227
227
|
to: string | ID | {
|
|
228
228
|
key: string;
|
|
229
|
-
type: "
|
|
229
|
+
type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
|
|
230
230
|
};
|
|
231
231
|
}>;
|
|
232
232
|
export type Relationship = z.infer<typeof relationshipSchemaZ>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/ontology/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAC,aAAa,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;AACzD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;AACnD,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QA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E,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,EAChC,MAAM,CACP,GAAG;IAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAA;CAAE,CAAC;AAExB,eAAO,MAAM,mBAAmB;;cAvEP,YAAY;;;;;;;;;;;;;;;;;cAAZ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2EnC,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE/D,eAAO,MAAM,iBAAiB,QAAS,MAAM,KAAG,YAG/C,CAAC"}
|
package/dist/ranger/active.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"active.d.ts","sourceRoot":"","sources":["../../src/ranger/active.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIvE,OAAO,EAAE,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"active.d.ts","sourceRoot":"","sources":["../../src/ranger/active.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIvE,OAAO,EAAE,KAAK,GAAG,EAAQ,KAAK,OAAO,EAAY,MAAM,kBAAkB,CAAC;AAsB1E,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,SAAS,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAUpC,cAAc,IAAI,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAYzC,WAAW,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAS7C"}
|
package/dist/ranger/alias.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { signals } from '../signals';
|
|
2
|
-
import { Key } from './payload';
|
|
3
|
-
import { Client as FrameClient } from '../framer/client';
|
|
4
|
-
import { Key as ChannelKey } from '../channel/payload';
|
|
5
|
-
import { channel } from '../channel';
|
|
6
|
-
import { change } from '@synnaxlabs/x/change';
|
|
7
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
|
+
import { change } from '@synnaxlabs/x/change';
|
|
3
|
+
import { channel } from '../channel';
|
|
4
|
+
import { Key as ChannelKey } from '../channel/payload';
|
|
5
|
+
import { Client as FrameClient } from '../framer/client';
|
|
6
|
+
import { Key } from './payload';
|
|
7
|
+
import { signals } from '../signals';
|
|
8
8
|
|
|
9
9
|
export declare const ALIAS_SET_NAME = "sy_range_alias_set";
|
|
10
10
|
export declare const ALIAS_DELETE_NAME = "sy_range_alias_delete";
|
package/dist/ranger/client.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { signals } from '../signals';
|
|
2
|
-
import { Writer } from './writer';
|
|
3
|
-
import { Range } from './range';
|
|
4
|
-
import { Key, Keys, Name, Names, NewPayload } from './payload';
|
|
5
|
-
import { label } from '../label';
|
|
6
|
-
import { framer } from '../framer';
|
|
7
|
-
import { Retriever as ChannelRetriever } from '../channel/retriever';
|
|
8
|
-
import { z } from 'zod';
|
|
9
|
-
import { AsyncTermSearcher } from '@synnaxlabs/x/search';
|
|
10
|
-
import { CrudeTimeRange, TimeRange } from '@synnaxlabs/x';
|
|
11
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
|
+
import { CrudeTimeRange, TimeRange } from '@synnaxlabs/x';
|
|
3
|
+
import { AsyncTermSearcher } from '@synnaxlabs/x/search';
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
import { Retriever as ChannelRetriever } from '../channel/retriever';
|
|
6
|
+
import { framer } from '../framer';
|
|
7
|
+
import { label } from '../label';
|
|
8
|
+
import { Key, Keys, Name, Names, NewPayload } from './payload';
|
|
9
|
+
import { Range } from './range';
|
|
10
|
+
import { Writer } from './writer';
|
|
11
|
+
import { signals } from '../signals';
|
|
12
12
|
|
|
13
13
|
declare const retrieveReqZ: z.ZodObject<{
|
|
14
14
|
keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
package/dist/ranger/kv.d.ts
CHANGED
package/dist/ranger/payload.d.ts
CHANGED
package/dist/ranger/range.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { signals } from '../signals';
|
|
2
|
-
import { KV } from './kv';
|
|
3
|
-
import { Alias, Aliaser } from './alias';
|
|
4
|
-
import { Label } from '../label/payload';
|
|
5
|
-
import { label } from '../label';
|
|
6
|
-
import { framer } from '../framer';
|
|
7
|
-
import { Retriever as ChannelRetriever } from '../channel/retriever';
|
|
8
|
-
import { Key, Name, Params } from '../channel/payload';
|
|
9
1
|
import { Series, TimeRange } from '@synnaxlabs/x/telem';
|
|
2
|
+
import { Key, Name, Params } from '../channel/payload';
|
|
3
|
+
import { Retriever as ChannelRetriever } from '../channel/retriever';
|
|
4
|
+
import { framer } from '../framer';
|
|
5
|
+
import { label } from '../label';
|
|
6
|
+
import { Label } from '../label/payload';
|
|
7
|
+
import { Alias, Aliaser } from './alias';
|
|
8
|
+
import { KV } from './kv';
|
|
9
|
+
import { signals } from '../signals';
|
|
10
10
|
|
|
11
11
|
export declare class Range {
|
|
12
12
|
key: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../src/ranger/range.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,IAAI,EAAC,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,KAAK,SAAS,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM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,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;IAM7C,MAAM,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAI1B,QAAQ,CAAC,GAAG,MAAM,EAAE,KAAK,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAI/C,WAAW,CAAC,GAAG,MAAM,EAAE,KAAK,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAGzD"}
|
package/dist/ranger/writer.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { framer } from '../framer';
|
|
2
|
-
import { channel } from '../channel';
|
|
3
|
-
import { Series } from '@synnaxlabs/x/telem';
|
|
4
|
-
import { observe } from '@synnaxlabs/x/observe';
|
|
5
1
|
import { change } from '@synnaxlabs/x/change';
|
|
2
|
+
import { observe } from '@synnaxlabs/x/observe';
|
|
3
|
+
import { Series } from '@synnaxlabs/x/telem';
|
|
4
|
+
import { channel } from '../channel';
|
|
5
|
+
import { framer } from '../framer';
|
|
6
6
|
|
|
7
7
|
export type Decoder<K, V> = (variant: change.Variant, data: Series) => Array<change.Change<K, V>>;
|
|
8
8
|
export interface Observable<K, V> extends observe.ObservableAsyncCloseable<Array<change.Change<K, V>>> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observable.d.ts","sourceRoot":"","sources":["../../src/signals/observable.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,CAAC,IAAI,CA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AAC,EAAE,CAAC,CAAC,KACjB,OAAO,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,CAW1B,CAAC"}
|
package/dist/transport.d.ts
CHANGED
package/dist/util/retrieve.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type ParamAnalysisResult<T extends Primitive, K extends PartialTypeNameRe
|
|
|
18
18
|
export interface AnalyzeParamsOptions {
|
|
19
19
|
convertNumericStrings?: boolean;
|
|
20
20
|
}
|
|
21
|
-
export declare const analyzeParams: <T extends Primitive = Primitive, K extends
|
|
21
|
+
export declare const analyzeParams: <T extends Primitive = Primitive, K extends PartialTypeNameRecord<T> = Partial<Record<TypeName<T>, string>>>(args: T extends any ? T | T[] : never, variantMap: K, { convertNumericStrings }?: AnalyzeParamsOptions) => ParamAnalysisResult<T, K>;
|
|
22
22
|
export declare const checkForMultipleOrNoResults: <T, R>(name: string, params: T | T[], results: R[], isSingle: boolean) => void;
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=retrieve.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve.d.ts","sourceRoot":"","sources":["../../src/util/retrieve.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,SAAS,EAAU,MAAM,eAAe,CAAC;AAIvD,MAAM,MAAM,yBAAyB,CACnC,CAAC,SAAS,SAAS,EACnB,CAAC,SAAS,qBAAqB,CAAC,CAAC,CAAC,IAChC,CAAC,SAAS,GAAG,GACb;IACE,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;IACpB,UAAU,EAAE,CAAC,EAAE,CAAC;IAChB,MAAM,EAAE,CAAC,CAAC;CACX,GACD,KAAK,CAAC;AAEV,MAAM,MAAM,wBAAwB,CAClC,CAAC,SAAS,SAAS,EACnB,CAAC,SAAS,qBAAqB,CAAC,CAAC,CAAC,IAChC,CAAC,SAAS,GAAG,GACb;IACE,MAAM,EAAE,KAA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1B,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,CAAC,EAAE,CAAC,QACxC,MAAM,UACJ,CAAC,GAAG,CAAC,EAAE,WACN,CAAC,EAAE,YACF,OAAO,KAChB,IAQF,CAAC"}
|
package/dist/util/zod.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../src/util/zod.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../src/util/zod.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,QAAQ,CAAC,sFACU,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { NewWorkspace } from './writer';
|
|
2
|
-
import { schematic } from './schematic';
|
|
3
|
-
import { Key, Workspace } from './payload';
|
|
4
|
-
import { linePlot } from './lineplot';
|
|
5
|
-
import { AsyncTermSearcher } from '@synnaxlabs/x/search';
|
|
6
|
-
import { UnknownRecord } from '@synnaxlabs/x/record';
|
|
7
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
|
+
import { UnknownRecord } from '@synnaxlabs/x/record';
|
|
3
|
+
import { AsyncTermSearcher } from '@synnaxlabs/x/search';
|
|
4
|
+
import { linePlot } from './lineplot';
|
|
5
|
+
import { Key, Workspace } from './payload';
|
|
6
|
+
import { schematic } from './schematic';
|
|
7
|
+
import { NewWorkspace } from './writer';
|
|
8
8
|
|
|
9
9
|
export declare class Client implements AsyncTermSearcher<string, Key, Workspace> {
|
|
10
10
|
readonly type = "workspace";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NewLinePlot } from './writer';
|
|
2
|
-
import { Key, LinePlot, Params } from './payload';
|
|
3
|
-
import { UnknownRecord } from '@synnaxlabs/x/record';
|
|
4
1
|
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
|
+
import { UnknownRecord } from '@synnaxlabs/x/record';
|
|
3
|
+
import { Key, LinePlot, Params } from './payload';
|
|
4
|
+
import { NewLinePlot } from './writer';
|
|
5
5
|
|
|
6
6
|
export declare class Client {
|
|
7
7
|
private readonly writer;
|