@synnaxlabs/client 0.21.0 → 0.22.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/.vscode/settings.json +3 -0
- package/dist/auth/auth.d.ts +7 -6
- package/dist/auth/auth.d.ts.map +1 -1
- package/dist/channel/client.d.ts +14 -11
- package/dist/channel/client.d.ts.map +1 -1
- package/dist/channel/creator.d.ts +10 -0
- package/dist/channel/creator.d.ts.map +1 -0
- package/dist/channel/payload.d.ts +6 -2
- package/dist/channel/payload.d.ts.map +1 -1
- package/dist/channel/retriever.d.ts +65 -35
- package/dist/channel/retriever.d.ts.map +1 -1
- package/dist/channel/writer.d.ts +4 -3
- package/dist/client.cjs +18 -21
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.ts +12 -10
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6546 -6457
- package/dist/client.js.map +1 -1
- package/dist/connection/checker.d.ts +4 -3
- package/dist/connection/checker.d.ts.map +1 -1
- package/dist/control/authority.d.ts +2 -1
- package/dist/control/state.d.ts +6 -4
- package/dist/control/state.d.ts.map +1 -1
- package/dist/errors.d.ts +24 -20
- package/dist/errors.d.ts.map +1 -1
- package/dist/framer/adapter.d.ts +5 -4
- package/dist/framer/adapter.d.ts.map +1 -1
- package/dist/framer/client.d.ts +10 -9
- package/dist/framer/client.d.ts.map +1 -1
- package/dist/framer/frame.d.ts +13 -12
- package/dist/framer/frame.d.ts.map +1 -1
- package/dist/framer/iterator.d.ts +5 -4
- package/dist/framer/iterator.d.ts.map +1 -1
- package/dist/framer/streamProxy.d.ts +3 -2
- package/dist/framer/streamProxy.d.ts.map +1 -1
- package/dist/framer/streamer.d.ts +13 -4
- package/dist/framer/streamer.d.ts.map +1 -1
- package/dist/framer/writer.d.ts +42 -33
- package/dist/framer/writer.d.ts.map +1 -1
- package/dist/hardware/client.d.ts +4 -3
- package/dist/hardware/device/client.d.ts +107 -14
- package/dist/hardware/device/client.d.ts.map +1 -1
- package/dist/hardware/device/external.d.ts +0 -2
- package/dist/hardware/device/external.d.ts.map +1 -1
- package/dist/hardware/device/index.d.ts +1 -1
- package/dist/hardware/device/index.d.ts.map +1 -1
- package/dist/hardware/rack/client.d.ts +43 -20
- package/dist/hardware/rack/client.d.ts.map +1 -1
- package/dist/hardware/rack/external.d.ts +0 -2
- package/dist/hardware/rack/external.d.ts.map +1 -1
- package/dist/hardware/task/client.d.ts +197 -14
- package/dist/hardware/task/client.d.ts.map +1 -1
- package/dist/hardware/task/index.d.ts +1 -1
- package/dist/hardware/task/index.d.ts.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/label/client.d.ts +8 -6
- package/dist/label/client.d.ts.map +1 -1
- package/dist/label/payload.d.ts +2 -1
- package/dist/label/retriever.d.ts +3 -2
- package/dist/label/writer.d.ts +4 -3
- package/dist/ontology/client.d.ts +82 -14
- package/dist/ontology/client.d.ts.map +1 -1
- package/dist/ontology/external.d.ts +0 -1
- package/dist/ontology/external.d.ts.map +1 -1
- package/dist/ontology/group/client.d.ts +3 -2
- package/dist/ontology/group/client.d.ts.map +1 -1
- package/dist/ontology/group/group.d.ts +1 -0
- package/dist/ontology/group/payload.d.ts +2 -1
- package/dist/ontology/group/writer.d.ts +4 -3
- package/dist/ontology/payload.d.ts +71 -60
- package/dist/ontology/payload.d.ts.map +1 -1
- package/dist/ontology/writer.d.ts +3 -2
- package/dist/ranger/active.d.ts +3 -2
- package/dist/ranger/alias.d.ts +7 -6
- package/dist/ranger/alias.d.ts.map +1 -1
- package/dist/ranger/client.d.ts +162 -11
- package/dist/ranger/client.d.ts.map +1 -1
- package/dist/ranger/external.d.ts +0 -1
- package/dist/ranger/external.d.ts.map +1 -1
- package/dist/ranger/kv.d.ts +5 -3
- package/dist/ranger/kv.d.ts.map +1 -1
- package/dist/ranger/payload.d.ts +57 -50
- package/dist/ranger/payload.d.ts.map +1 -1
- package/dist/ranger/range.d.ts +12 -10
- package/dist/ranger/range.d.ts.map +1 -1
- package/dist/ranger/writer.d.ts +3 -2
- package/dist/setupspecs.d.ts +2 -1
- package/dist/signals/observable.d.ts +8 -15
- package/dist/signals/observable.d.ts.map +1 -1
- package/dist/transport.d.ts +3 -2
- package/dist/transport.d.ts.map +1 -1
- package/dist/user/payload.d.ts +2 -1
- package/dist/util/retrieve.d.ts +24 -0
- package/dist/util/retrieve.d.ts.map +1 -0
- package/dist/util/retrieve.spec.d.ts +2 -0
- package/dist/util/retrieve.spec.d.ts.map +1 -0
- package/dist/util/telem.d.ts +2 -1
- package/dist/util/telem.d.ts.map +1 -1
- package/dist/util/zod.d.ts +4 -0
- package/dist/util/zod.d.ts.map +1 -0
- package/dist/workspace/client.d.ts +9 -6
- package/dist/workspace/client.d.ts.map +1 -1
- package/dist/workspace/lineplot/client.d.ts +6 -5
- package/dist/workspace/lineplot/client.d.ts.map +1 -1
- package/dist/workspace/lineplot/payload.d.ts +3 -2
- package/dist/workspace/lineplot/payload.d.ts.map +1 -1
- package/dist/workspace/lineplot/retriever.d.ts +3 -2
- package/dist/workspace/lineplot/retriever.d.ts.map +1 -1
- package/dist/workspace/lineplot/writer.d.ts +7 -6
- package/dist/workspace/lineplot/writer.d.ts.map +1 -1
- package/dist/workspace/payload.d.ts +3 -2
- package/dist/workspace/payload.d.ts.map +1 -1
- package/dist/workspace/retriever.d.ts +3 -2
- package/dist/workspace/schematic/client.d.ts +18 -0
- package/dist/workspace/schematic/client.d.ts.map +1 -0
- package/dist/workspace/schematic/external.d.ts.map +1 -0
- package/dist/workspace/schematic/index.d.ts +2 -0
- package/dist/workspace/schematic/index.d.ts.map +1 -0
- package/dist/workspace/{pid → schematic}/payload.d.ts +6 -5
- package/dist/workspace/schematic/payload.d.ts.map +1 -0
- package/dist/workspace/schematic/retriever.d.ts +10 -0
- package/dist/workspace/schematic/retriever.d.ts.map +1 -0
- package/dist/workspace/schematic/schematic.spec.d.ts +2 -0
- package/dist/workspace/schematic/schematic.spec.d.ts.map +1 -0
- package/dist/workspace/{pid → schematic}/writer.d.ts +11 -10
- package/dist/workspace/schematic/writer.d.ts.map +1 -0
- package/dist/workspace/writer.d.ts +5 -4
- package/dist/workspace/writer.d.ts.map +1 -1
- package/package.json +9 -8
- package/src/auth/auth.spec.ts +55 -15
- package/src/auth/auth.ts +41 -42
- package/src/channel/batchRetriever.spec.ts +37 -40
- package/src/channel/channel.spec.ts +4 -4
- package/src/channel/client.ts +42 -49
- package/src/channel/creator.ts +37 -0
- package/src/channel/payload.ts +2 -1
- package/src/channel/retriever.ts +55 -71
- package/src/client.ts +23 -20
- package/src/connection/checker.ts +1 -1
- package/src/connection/connection.spec.ts +1 -6
- package/src/control/state.ts +3 -1
- package/src/errors.ts +71 -67
- package/src/framer/adapter.spec.ts +33 -1
- package/src/framer/adapter.ts +10 -6
- package/src/framer/client.ts +11 -9
- package/src/framer/frame.spec.ts +1 -1
- package/src/framer/frame.ts +9 -6
- package/src/framer/iterator.spec.ts +1 -1
- package/src/framer/iterator.ts +1 -1
- package/src/framer/streamProxy.ts +12 -13
- package/src/framer/streamer.spec.ts +1 -1
- package/src/framer/streamer.ts +25 -1
- package/src/framer/writer.spec.ts +23 -11
- package/src/framer/writer.ts +6 -6
- package/src/hardware/device/client.ts +155 -28
- package/src/hardware/device/device.spec.ts +2 -2
- package/src/hardware/device/external.ts +0 -2
- package/src/hardware/device/index.ts +2 -2
- package/src/hardware/rack/client.ts +139 -56
- package/src/hardware/rack/external.ts +0 -2
- package/src/hardware/rack/rack.spec.ts +20 -1
- package/src/hardware/task/client.ts +324 -31
- package/src/hardware/task/index.ts +1 -1
- package/src/hardware/task/task.spec.ts +41 -0
- package/src/index.ts +3 -4
- package/src/label/client.ts +3 -2
- package/src/label/retriever.ts +1 -1
- package/src/label/writer.ts +1 -1
- package/src/ontology/client.ts +195 -41
- package/src/ontology/external.ts +0 -1
- package/src/ontology/group/client.ts +1 -2
- package/src/ontology/group/payload.ts +1 -1
- package/src/ontology/ontology.spec.ts +16 -0
- package/src/ontology/payload.ts +22 -13
- package/src/ranger/active.ts +5 -5
- package/src/ranger/alias.ts +2 -2
- package/src/ranger/client.ts +68 -17
- package/src/ranger/external.ts +0 -1
- package/src/ranger/kv.ts +6 -1
- package/src/ranger/payload.ts +6 -4
- package/src/ranger/range.ts +4 -1
- package/src/ranger/ranger.spec.ts +24 -2
- package/src/signals/observable.ts +24 -63
- package/src/transport.ts +2 -1
- package/src/util/retrieve.spec.ts +56 -0
- package/src/util/retrieve.ts +103 -0
- package/src/util/telem.ts +1 -1
- package/src/util/zod.ts +4 -0
- package/src/workspace/client.ts +6 -4
- package/src/workspace/lineplot/client.ts +3 -3
- package/src/workspace/lineplot/linePlot.spec.ts +11 -11
- package/src/workspace/lineplot/payload.ts +1 -1
- package/src/workspace/lineplot/retriever.ts +5 -13
- package/src/workspace/lineplot/writer.ts +8 -7
- package/src/workspace/payload.ts +6 -3
- package/src/workspace/retriever.ts +1 -1
- package/src/workspace/{pid → schematic}/client.ts +10 -10
- package/src/workspace/{pid → schematic}/external.ts +2 -2
- package/src/workspace/{pid → schematic}/index.ts +1 -1
- package/src/workspace/{pid → schematic}/payload.ts +4 -4
- package/src/workspace/{pid → schematic}/retriever.ts +10 -10
- package/src/workspace/{pid/pid.spec.ts → schematic/schematic.spec.ts} +35 -35
- package/src/workspace/{pid → schematic}/writer.ts +26 -25
- package/src/workspace/workspace.spec.ts +7 -7
- package/src/workspace/writer.ts +8 -2
- package/dist/hardware/device/payload.d.ts +0 -30
- package/dist/hardware/device/payload.d.ts.map +0 -1
- package/dist/hardware/device/retriever.d.ts +0 -10
- package/dist/hardware/device/retriever.d.ts.map +0 -1
- package/dist/hardware/device/writer.d.ts +0 -9
- package/dist/hardware/device/writer.d.ts.map +0 -1
- package/dist/hardware/rack/payload.d.ts +0 -26
- package/dist/hardware/rack/payload.d.ts.map +0 -1
- package/dist/hardware/rack/retriever.d.ts +0 -10
- package/dist/hardware/rack/retriever.d.ts.map +0 -1
- package/dist/hardware/rack/writer.d.ts +0 -9
- package/dist/hardware/rack/writer.d.ts.map +0 -1
- package/dist/hardware/task/external.d.ts +0 -4
- package/dist/hardware/task/external.d.ts.map +0 -1
- package/dist/hardware/task/payload.d.ts +0 -42
- package/dist/hardware/task/payload.d.ts.map +0 -1
- package/dist/hardware/task/retriever.d.ts +0 -29
- package/dist/hardware/task/retriever.d.ts.map +0 -1
- package/dist/hardware/task/writer.d.ts +0 -9
- package/dist/hardware/task/writer.d.ts.map +0 -1
- package/dist/ontology/retriever.d.ts +0 -13
- package/dist/ontology/retriever.d.ts.map +0 -1
- package/dist/ontology/signals.d.ts +0 -30
- package/dist/ontology/signals.d.ts.map +0 -1
- package/dist/ranger/retriever.d.ts +0 -11
- package/dist/ranger/retriever.d.ts.map +0 -1
- package/dist/workspace/pid/client.d.ts +0 -17
- package/dist/workspace/pid/client.d.ts.map +0 -1
- package/dist/workspace/pid/external.d.ts.map +0 -1
- package/dist/workspace/pid/index.d.ts +0 -2
- package/dist/workspace/pid/index.d.ts.map +0 -1
- package/dist/workspace/pid/payload.d.ts.map +0 -1
- package/dist/workspace/pid/pid.spec.d.ts +0 -2
- package/dist/workspace/pid/pid.spec.d.ts.map +0 -1
- package/dist/workspace/pid/retriever.d.ts +0 -9
- package/dist/workspace/pid/retriever.d.ts.map +0 -1
- package/dist/workspace/pid/writer.d.ts.map +0 -1
- package/src/hardware/device/payload.ts +0 -27
- package/src/hardware/device/retriever.ts +0 -71
- package/src/hardware/device/writer.ts +0 -59
- package/src/hardware/rack/payload.ts +0 -26
- package/src/hardware/rack/retriever.ts +0 -68
- package/src/hardware/rack/writer.ts +0 -59
- package/src/hardware/task/external.ts +0 -12
- package/src/hardware/task/payload.ts +0 -40
- package/src/hardware/task/retriever.ts +0 -70
- package/src/hardware/task/writer.ts +0 -65
- package/src/ontology/retriever.ts +0 -91
- package/src/ontology/signals.ts +0 -136
- package/src/ranger/retriever.ts +0 -50
- /package/dist/workspace/{pid → schematic}/external.d.ts +0 -0
|
@@ -1,26 +1,94 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { observe } from '@synnaxlabs/x';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { ID, RelationshipChange, ResourceChange, Resource } from './payload';
|
|
4
4
|
import { group } from './group';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { framer } from '../framer';
|
|
6
|
+
import { AsyncTermSearcher } from '@synnaxlabs/x/search';
|
|
7
|
+
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
8
|
+
|
|
9
|
+
declare const retrieveReqZ: z.ZodObject<{
|
|
10
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11
|
+
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">]>;
|
|
12
|
+
key: z.ZodString;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
key: string;
|
|
15
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
16
|
+
}, {
|
|
17
|
+
key: string;
|
|
18
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
19
|
+
}>, "many">>;
|
|
20
|
+
children: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
parents: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
includeSchema: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
excludeFieldData: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
term: z.ZodOptional<z.ZodString>;
|
|
25
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
ids?: {
|
|
29
|
+
key: string;
|
|
30
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
31
|
+
}[] | undefined;
|
|
32
|
+
children?: boolean | undefined;
|
|
33
|
+
parents?: boolean | undefined;
|
|
34
|
+
includeSchema?: boolean | undefined;
|
|
35
|
+
excludeFieldData?: boolean | undefined;
|
|
36
|
+
term?: string | undefined;
|
|
37
|
+
limit?: number | undefined;
|
|
38
|
+
offset?: number | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
ids?: {
|
|
41
|
+
key: string;
|
|
42
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
children?: boolean | undefined;
|
|
45
|
+
parents?: boolean | undefined;
|
|
46
|
+
includeSchema?: boolean | undefined;
|
|
47
|
+
excludeFieldData?: boolean | undefined;
|
|
48
|
+
term?: string | undefined;
|
|
49
|
+
limit?: number | undefined;
|
|
50
|
+
offset?: number | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
type RetrieveRequest = z.infer<typeof retrieveReqZ>;
|
|
53
|
+
export type RetrieveOptions = Pick<RetrieveRequest, "includeSchema" | "excludeFieldData">;
|
|
8
54
|
/** The core client class for executing queries against a Synnax cluster ontology */
|
|
9
55
|
export declare class Client implements AsyncTermSearcher<string, string, Resource> {
|
|
56
|
+
readonly type: string;
|
|
10
57
|
groups: group.Client;
|
|
11
|
-
|
|
58
|
+
private readonly client;
|
|
12
59
|
private readonly writer;
|
|
13
60
|
private readonly framer;
|
|
14
|
-
constructor(unary: UnaryClient, framer:
|
|
15
|
-
search(term: string): Promise<Resource[]>;
|
|
16
|
-
retrieve(id: ID | string,
|
|
17
|
-
retrieve(ids: ID[] | string[],
|
|
18
|
-
page(offset: number, limit: number): Promise<Resource[]>;
|
|
19
|
-
retrieveChildren(
|
|
20
|
-
retrieveParents(
|
|
61
|
+
constructor(unary: UnaryClient, framer: framer.Client);
|
|
62
|
+
search(term: string, options?: RetrieveOptions): Promise<Resource[]>;
|
|
63
|
+
retrieve(id: ID | string, options?: RetrieveOptions): Promise<Resource>;
|
|
64
|
+
retrieve(ids: ID[] | string[], options?: RetrieveOptions): Promise<Resource[]>;
|
|
65
|
+
page(offset: number, limit: number, options?: RetrieveOptions): Promise<Resource[]>;
|
|
66
|
+
retrieveChildren(ids: ID | ID[], options?: RetrieveOptions): Promise<Resource[]>;
|
|
67
|
+
retrieveParents(ids: ID | ID[], options?: RetrieveOptions): Promise<Resource[]>;
|
|
21
68
|
addChildren(id: ID, ...children: ID[]): Promise<void>;
|
|
22
69
|
removeChildren(id: ID, ...children: ID[]): Promise<void>;
|
|
23
70
|
moveChildren(from: ID, to: ID, ...children: ID[]): Promise<void>;
|
|
24
71
|
openChangeTracker(): Promise<ChangeTracker>;
|
|
72
|
+
newSearcherWithOptions(options: RetrieveOptions): AsyncTermSearcher<string, string, Resource>;
|
|
73
|
+
private execRetrieve;
|
|
25
74
|
}
|
|
75
|
+
export declare class ChangeTracker {
|
|
76
|
+
private readonly resourceObs;
|
|
77
|
+
private readonly relationshipObs;
|
|
78
|
+
readonly relationships: observe.Observable<RelationshipChange[]>;
|
|
79
|
+
readonly resources: observe.Observable<ResourceChange[]>;
|
|
80
|
+
private readonly streamer;
|
|
81
|
+
private readonly client;
|
|
82
|
+
private readonly closePromise;
|
|
83
|
+
constructor(streamer: framer.Streamer, client: Client);
|
|
84
|
+
close(): Promise<void>;
|
|
85
|
+
private start;
|
|
86
|
+
private update;
|
|
87
|
+
private parseRelationshipSets;
|
|
88
|
+
private parseRelationshipDeletes;
|
|
89
|
+
private parseResourceSets;
|
|
90
|
+
private parseResourceDeletes;
|
|
91
|
+
static open(client: framer.Client, retriever: Client): Promise<ChangeTracker>;
|
|
92
|
+
}
|
|
93
|
+
export {};
|
|
26
94
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/ontology/client.ts"],"names":[],"mappings":"AASA,OAAO,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/ontology/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EACL,EAAE,EAEF,kBAAkB,EAClB,cAAc,EAId,KAAK,QAAQ,EACd,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,OAAO,EAAW,MAAM,eAAe,CAAC;AAKjD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAShB,CAAC;AAEH,KAAK,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAEpD,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,eAAe,EACf,eAAe,GAAG,kBAAkB,CACrC,CAAC;AASF,oFAAoF;AACpF,qBAAa,MAAO,YAAW,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC;IACxE,QAAQ,CAAC,IAAI,EAAE,MAAM,CA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,GAAG,QAAQ,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhE,iBAAiB,IAAI,OAAO,CAAC,aAAa,CAAC;IAIjD,sBAAsB,CACpB,OAAO,EAAE,eAAe,GACvB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC;YAShC,YAAY;CAU3B;AAOD,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAqC;IACjE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAyC;IAEzE,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAC,CAAC;IACjE,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,CAAC;IAEzD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAkB;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAgB;gBAEjC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM;IAU/C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;YAKd,KAAK;YAML,MAAM;IAYpB,OAAO,CAAC,qBAAqB;IAU7B,OAAO,CAAC,wBAAwB;YASlB,iBAAiB;IAkB/B,OAAO,CAAC,oBAAoB;WAUf,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CASpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../src/ontology/external.ts"],"names":[],"mappings":"AASA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../src/ontology/external.ts"],"names":[],"mappings":"AASA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type ID } from '../payload';
|
|
1
|
+
import { ID } from '../payload';
|
|
3
2
|
import { Group } from './group';
|
|
3
|
+
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
4
|
+
|
|
4
5
|
export declare class Client {
|
|
5
6
|
private readonly creator;
|
|
6
7
|
constructor(unary: UnaryClient);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/ontology/group/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/ontology/group/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAG/C,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAE7C,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;gBAErB,KAAK,EAAE,WAAW;IAIxB,MAAM,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAIhD,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIhD,MAAM,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9C,OAAO,CAAC,KAAK;CAGd"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ID } from '../payload';
|
|
2
|
+
import { Payload } from './payload';
|
|
3
|
+
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
4
|
+
|
|
4
5
|
export declare class Writer {
|
|
5
6
|
private static readonly ENDPOINT;
|
|
6
7
|
private static readonly ENDPOINT_RENAME;
|
|
@@ -1,32 +1,41 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { change } from '@synnaxlabs/x';
|
|
3
|
+
|
|
4
|
+
export type ResourceChange = change.Change<ID, Resource>;
|
|
5
|
+
export type ResourceSet = change.Set<ID, Resource>;
|
|
6
|
+
export type ResourceDelete = change.Delete<ID, Resource>;
|
|
7
|
+
export type RelationshipChange = change.Change<Relationship, undefined>;
|
|
8
|
+
export type RelationshipSet = change.Set<Relationship, undefined>;
|
|
9
|
+
export type RelationshipDelete = change.Delete<Relationship, undefined>;
|
|
10
|
+
declare 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">]>;
|
|
3
11
|
export type ResourceType = z.infer<typeof resourceTypeZ>;
|
|
4
12
|
export declare const idZ: z.ZodObject<{
|
|
5
|
-
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<"
|
|
13
|
+
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">]>;
|
|
6
14
|
key: z.ZodString;
|
|
7
15
|
}, "strip", z.ZodTypeAny, {
|
|
8
16
|
key: string;
|
|
9
|
-
type: "user" | "cluster" | "rack" | "
|
|
17
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
10
18
|
}, {
|
|
11
19
|
key: string;
|
|
12
|
-
type: "user" | "cluster" | "rack" | "
|
|
20
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
13
21
|
}>;
|
|
22
|
+
export type IDPayload = z.infer<typeof idZ>;
|
|
14
23
|
export declare const stringIDZ: z.ZodEffects<z.ZodString, {
|
|
15
|
-
type: "user" | "cluster" | "rack" | "
|
|
24
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
16
25
|
key: string;
|
|
17
26
|
}, string>;
|
|
18
27
|
export declare const crudeIDZ: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
19
|
-
type: "user" | "cluster" | "rack" | "
|
|
28
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
20
29
|
key: string;
|
|
21
30
|
}, string>, z.ZodObject<{
|
|
22
|
-
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<"
|
|
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">]>;
|
|
23
32
|
key: z.ZodString;
|
|
24
33
|
}, "strip", z.ZodTypeAny, {
|
|
25
34
|
key: string;
|
|
26
|
-
type: "user" | "cluster" | "rack" | "
|
|
35
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
27
36
|
}, {
|
|
28
37
|
key: string;
|
|
29
|
-
type: "user" | "cluster" | "rack" | "
|
|
38
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
30
39
|
}>]>;
|
|
31
40
|
export declare class ID {
|
|
32
41
|
type: ResourceType;
|
|
@@ -35,20 +44,20 @@ export declare class ID {
|
|
|
35
44
|
toString(): string;
|
|
36
45
|
get payload(): z.infer<typeof idZ>;
|
|
37
46
|
static readonly z: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
38
|
-
type: "user" | "cluster" | "rack" | "
|
|
47
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
39
48
|
key: string;
|
|
40
49
|
}, string>, z.ZodObject<{
|
|
41
|
-
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<"
|
|
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">]>;
|
|
42
51
|
key: z.ZodString;
|
|
43
52
|
}, "strip", z.ZodTypeAny, {
|
|
44
53
|
key: string;
|
|
45
|
-
type: "user" | "cluster" | "rack" | "
|
|
54
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
46
55
|
}, {
|
|
47
56
|
key: string;
|
|
48
|
-
type: "user" | "cluster" | "rack" | "
|
|
57
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
49
58
|
}>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
|
|
50
59
|
key: string;
|
|
51
|
-
type: "user" | "cluster" | "rack" | "
|
|
60
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
52
61
|
}>;
|
|
53
62
|
}
|
|
54
63
|
export declare const Root: ID;
|
|
@@ -61,7 +70,7 @@ export declare const schemaFieldZ: z.ZodObject<{
|
|
|
61
70
|
}>;
|
|
62
71
|
export type SchemaField = z.infer<typeof schemaFieldZ>;
|
|
63
72
|
export declare const schemaZ: z.ZodObject<{
|
|
64
|
-
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<"
|
|
73
|
+
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">]>;
|
|
65
74
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
66
75
|
type: z.ZodNumber;
|
|
67
76
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -70,12 +79,12 @@ export declare const schemaZ: z.ZodObject<{
|
|
|
70
79
|
type: number;
|
|
71
80
|
}>>;
|
|
72
81
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
type: "user" | "cluster" | "rack" | "
|
|
82
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
74
83
|
fields: Record<string, {
|
|
75
84
|
type: number;
|
|
76
85
|
}>;
|
|
77
86
|
}, {
|
|
78
|
-
type: "user" | "cluster" | "rack" | "
|
|
87
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
79
88
|
fields: Record<string, {
|
|
80
89
|
type: number;
|
|
81
90
|
}>;
|
|
@@ -83,24 +92,24 @@ export declare const schemaZ: z.ZodObject<{
|
|
|
83
92
|
export type Schema = z.infer<typeof schemaZ>;
|
|
84
93
|
export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
85
94
|
id: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
86
|
-
type: "user" | "cluster" | "rack" | "
|
|
95
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
87
96
|
key: string;
|
|
88
97
|
}, string>, z.ZodObject<{
|
|
89
|
-
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<"
|
|
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">]>;
|
|
90
99
|
key: z.ZodString;
|
|
91
100
|
}, "strip", z.ZodTypeAny, {
|
|
92
101
|
key: string;
|
|
93
|
-
type: "user" | "cluster" | "rack" | "
|
|
102
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
94
103
|
}, {
|
|
95
104
|
key: string;
|
|
96
|
-
type: "user" | "cluster" | "rack" | "
|
|
105
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
97
106
|
}>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
|
|
98
107
|
key: string;
|
|
99
|
-
type: "user" | "cluster" | "rack" | "
|
|
108
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
100
109
|
}>;
|
|
101
110
|
name: z.ZodString;
|
|
102
|
-
schema: z.ZodOptional<z.ZodObject<{
|
|
103
|
-
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<"
|
|
111
|
+
schema: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
112
|
+
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">]>;
|
|
104
113
|
fields: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
105
114
|
type: z.ZodNumber;
|
|
106
115
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -109,105 +118,107 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
|
|
|
109
118
|
type: number;
|
|
110
119
|
}>>;
|
|
111
120
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
type: "user" | "cluster" | "rack" | "
|
|
121
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
113
122
|
fields: Record<string, {
|
|
114
123
|
type: number;
|
|
115
124
|
}>;
|
|
116
125
|
}, {
|
|
117
|
-
type: "user" | "cluster" | "rack" | "
|
|
126
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
118
127
|
fields: Record<string, {
|
|
119
128
|
type: number;
|
|
120
129
|
}>;
|
|
121
|
-
}
|
|
122
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
130
|
+
}>>>;
|
|
131
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
123
132
|
}, "strip", z.ZodTypeAny, {
|
|
124
133
|
name: string;
|
|
125
134
|
id: ID;
|
|
126
135
|
schema?: {
|
|
127
|
-
type: "user" | "cluster" | "rack" | "
|
|
136
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
128
137
|
fields: Record<string, {
|
|
129
138
|
type: number;
|
|
130
139
|
}>;
|
|
131
|
-
} | undefined;
|
|
132
|
-
data?: Record<string, unknown> | undefined;
|
|
140
|
+
} | null | undefined;
|
|
141
|
+
data?: Record<string, unknown> | null | undefined;
|
|
133
142
|
}, {
|
|
134
143
|
name: string;
|
|
135
144
|
id: (string | ID | {
|
|
136
145
|
key: string;
|
|
137
|
-
type: "user" | "cluster" | "rack" | "
|
|
146
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
138
147
|
}) & (string | ID | {
|
|
139
148
|
key: string;
|
|
140
|
-
type: "user" | "cluster" | "rack" | "
|
|
149
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
141
150
|
} | undefined);
|
|
142
151
|
schema?: {
|
|
143
|
-
type: "user" | "cluster" | "rack" | "
|
|
152
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
144
153
|
fields: Record<string, {
|
|
145
154
|
type: number;
|
|
146
155
|
}>;
|
|
147
|
-
} | undefined;
|
|
148
|
-
data?: Record<string, unknown> | undefined;
|
|
156
|
+
} | null | undefined;
|
|
157
|
+
data?: Record<string, unknown> | null | undefined;
|
|
149
158
|
}>, {
|
|
150
159
|
name: string;
|
|
151
160
|
id: ID;
|
|
152
161
|
schema?: {
|
|
153
|
-
type: "user" | "cluster" | "rack" | "
|
|
162
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
154
163
|
fields: Record<string, {
|
|
155
164
|
type: number;
|
|
156
165
|
}>;
|
|
157
|
-
} | undefined;
|
|
158
|
-
data?: Record<string, unknown> | undefined;
|
|
166
|
+
} | null | undefined;
|
|
167
|
+
data?: Record<string, unknown> | null | undefined;
|
|
159
168
|
key: string;
|
|
160
169
|
}, {
|
|
161
170
|
name: string;
|
|
162
171
|
id: (string | ID | {
|
|
163
172
|
key: string;
|
|
164
|
-
type: "user" | "cluster" | "rack" | "
|
|
173
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
165
174
|
}) & (string | ID | {
|
|
166
175
|
key: string;
|
|
167
|
-
type: "user" | "cluster" | "rack" | "
|
|
176
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
168
177
|
} | undefined);
|
|
169
178
|
schema?: {
|
|
170
|
-
type: "user" | "cluster" | "rack" | "
|
|
179
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
171
180
|
fields: Record<string, {
|
|
172
181
|
type: number;
|
|
173
182
|
}>;
|
|
174
|
-
} | undefined;
|
|
175
|
-
data?: Record<string, unknown> | undefined;
|
|
183
|
+
} | null | undefined;
|
|
184
|
+
data?: Record<string, unknown> | null | undefined;
|
|
176
185
|
}>;
|
|
177
|
-
export type Resource = z.
|
|
186
|
+
export type Resource<T extends {} = {}> = Omit<z.output<typeof resourceSchemaZ>, "data"> & {
|
|
187
|
+
data?: T | null;
|
|
188
|
+
};
|
|
178
189
|
export declare const relationshipSchemaZ: z.ZodObject<{
|
|
179
190
|
from: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
180
|
-
type: "user" | "cluster" | "rack" | "
|
|
191
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
181
192
|
key: string;
|
|
182
193
|
}, string>, z.ZodObject<{
|
|
183
|
-
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<"
|
|
194
|
+
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">]>;
|
|
184
195
|
key: z.ZodString;
|
|
185
196
|
}, "strip", z.ZodTypeAny, {
|
|
186
197
|
key: string;
|
|
187
|
-
type: "user" | "cluster" | "rack" | "
|
|
198
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
188
199
|
}, {
|
|
189
200
|
key: string;
|
|
190
|
-
type: "user" | "cluster" | "rack" | "
|
|
201
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
191
202
|
}>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
|
|
192
203
|
key: string;
|
|
193
|
-
type: "user" | "cluster" | "rack" | "
|
|
204
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
194
205
|
}>;
|
|
195
206
|
type: z.ZodString;
|
|
196
207
|
to: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
197
|
-
type: "user" | "cluster" | "rack" | "
|
|
208
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
198
209
|
key: string;
|
|
199
210
|
}, string>, z.ZodObject<{
|
|
200
|
-
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<"
|
|
211
|
+
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">]>;
|
|
201
212
|
key: z.ZodString;
|
|
202
213
|
}, "strip", z.ZodTypeAny, {
|
|
203
214
|
key: string;
|
|
204
|
-
type: "user" | "cluster" | "rack" | "
|
|
215
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
205
216
|
}, {
|
|
206
217
|
key: string;
|
|
207
|
-
type: "user" | "cluster" | "rack" | "
|
|
218
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
208
219
|
}>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
|
|
209
220
|
key: string;
|
|
210
|
-
type: "user" | "cluster" | "rack" | "
|
|
221
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
211
222
|
}>;
|
|
212
223
|
}, "strip", z.ZodTypeAny, {
|
|
213
224
|
type: string;
|
|
@@ -217,17 +228,17 @@ export declare const relationshipSchemaZ: z.ZodObject<{
|
|
|
217
228
|
type: string;
|
|
218
229
|
from: (string | ID | {
|
|
219
230
|
key: string;
|
|
220
|
-
type: "user" | "cluster" | "rack" | "
|
|
231
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
221
232
|
}) & (string | ID | {
|
|
222
233
|
key: string;
|
|
223
|
-
type: "user" | "cluster" | "rack" | "
|
|
234
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
224
235
|
} | undefined);
|
|
225
236
|
to: (string | ID | {
|
|
226
237
|
key: string;
|
|
227
|
-
type: "user" | "cluster" | "rack" | "
|
|
238
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
228
239
|
}) & (string | ID | {
|
|
229
240
|
key: string;
|
|
230
|
-
type: "user" | "cluster" | "rack" | "
|
|
241
|
+
type: "channel" | "user" | "cluster" | "task" | "rack" | "device" | "label" | "builtin" | "node" | "group" | "range" | "range-alias" | "workspace" | "schematic" | "lineplot";
|
|
231
242
|
} | undefined);
|
|
232
243
|
}>;
|
|
233
244
|
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,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/ontology/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,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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;;;;;;;;;;;;;;;;EAGlB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAE7C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYxB,CAAC;AAEL,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,IAAI,CAC5C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,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"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ID } from './payload';
|
|
2
|
+
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
3
|
+
|
|
3
4
|
export declare class Writer {
|
|
4
5
|
client: UnaryClient;
|
|
5
6
|
constructor(client: UnaryClient);
|
package/dist/ranger/active.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Payload, Key } from './payload';
|
|
2
|
+
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
3
|
+
|
|
3
4
|
export declare class Active {
|
|
4
5
|
private readonly client;
|
|
5
6
|
constructor(client: UnaryClient);
|
package/dist/ranger/alias.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { type UnaryClient } from "@synnaxlabs/freighter";
|
|
2
|
-
import { type change } from "@synnaxlabs/x";
|
|
3
|
-
import { type channel } from '../channel';
|
|
4
|
-
import { type Key as ChannelKey } from '../channel/payload';
|
|
5
|
-
import { type Client as FrameClient } from '../framer/client';
|
|
6
|
-
import { type Key } from './payload';
|
|
7
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
|
+
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
8
|
+
|
|
8
9
|
export declare const ALIAS_SET_NAME = "sy_range_alias_set";
|
|
9
10
|
export declare const ALIAS_DELETE_NAME = "sy_range_alias_delete";
|
|
10
11
|
export declare class Aliaser {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alias.d.ts","sourceRoot":"","sources":["../../src/ranger/alias.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"alias.d.ts","sourceRoot":"","sources":["../../src/ranger/alias.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAGnD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAuB,KAAK,GAAG,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAE,KAAK,MAAM,IAAI,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,KAAK,GAAG,EAAQ,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,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