@synnaxlabs/client 0.24.0 → 0.26.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.
Files changed (160) hide show
  1. package/.turbo/turbo-build.log +9 -10
  2. package/dist/access/access.spec.d.ts +2 -0
  3. package/dist/access/access.spec.d.ts.map +1 -0
  4. package/dist/access/client.d.ts +13 -0
  5. package/dist/access/client.d.ts.map +1 -0
  6. package/dist/access/external.d.ts +3 -0
  7. package/dist/access/external.d.ts.map +1 -0
  8. package/dist/access/index.d.ts +2 -0
  9. package/dist/access/index.d.ts.map +1 -0
  10. package/dist/access/payload.d.ts +105 -0
  11. package/dist/access/payload.d.ts.map +1 -0
  12. package/dist/auth/auth.d.ts +2 -2
  13. package/dist/auth/auth.d.ts.map +1 -1
  14. package/dist/channel/client.d.ts +8 -8
  15. package/dist/channel/creator.d.ts +1 -1
  16. package/dist/channel/payload.d.ts +18 -15
  17. package/dist/channel/payload.d.ts.map +1 -1
  18. package/dist/channel/retriever.d.ts +11 -11
  19. package/dist/channel/retriever.d.ts.map +1 -1
  20. package/dist/channel/writer.d.ts +3 -3
  21. package/dist/client.cjs +22 -22
  22. package/dist/client.d.ts +15 -11
  23. package/dist/client.d.ts.map +1 -1
  24. package/dist/client.js +3124 -3776
  25. package/dist/connection/checker.d.ts +2 -2
  26. package/dist/control/client.d.ts +1 -1
  27. package/dist/control/state.d.ts +6 -6
  28. package/dist/control/state.d.ts.map +1 -1
  29. package/dist/errors.d.ts +12 -12
  30. package/dist/errors.d.ts.map +1 -1
  31. package/dist/framer/adapter.d.ts +3 -3
  32. package/dist/framer/client.d.ts +7 -7
  33. package/dist/framer/client.d.ts.map +1 -1
  34. package/dist/framer/deleter.d.ts +3 -3
  35. package/dist/framer/deleter.d.ts.map +1 -1
  36. package/dist/framer/frame.d.ts +2 -2
  37. package/dist/framer/iterator.d.ts +4 -4
  38. package/dist/framer/streamProxy.d.ts +1 -1
  39. package/dist/framer/streamer.d.ts +5 -5
  40. package/dist/framer/writer.d.ts +6 -6
  41. package/dist/hardware/client.d.ts +2 -2
  42. package/dist/hardware/device/client.d.ts +6 -71
  43. package/dist/hardware/device/client.d.ts.map +1 -1
  44. package/dist/hardware/device/external.d.ts +1 -0
  45. package/dist/hardware/device/external.d.ts.map +1 -1
  46. package/dist/hardware/device/index.d.ts +1 -1
  47. package/dist/hardware/device/index.d.ts.map +1 -1
  48. package/dist/hardware/device/payload.d.ts +73 -0
  49. package/dist/hardware/device/payload.d.ts.map +1 -0
  50. package/dist/hardware/rack/client.d.ts +6 -29
  51. package/dist/hardware/rack/client.d.ts.map +1 -1
  52. package/dist/hardware/rack/external.d.ts +1 -0
  53. package/dist/hardware/rack/external.d.ts.map +1 -1
  54. package/dist/hardware/rack/payload.d.ts +30 -0
  55. package/dist/hardware/rack/payload.d.ts.map +1 -0
  56. package/dist/hardware/task/client.d.ts +7 -151
  57. package/dist/hardware/task/client.d.ts.map +1 -1
  58. package/dist/hardware/task/external.d.ts +3 -0
  59. package/dist/hardware/task/external.d.ts.map +1 -0
  60. package/dist/hardware/task/index.d.ts +1 -1
  61. package/dist/hardware/task/index.d.ts.map +1 -1
  62. package/dist/hardware/task/payload.d.ts +151 -0
  63. package/dist/hardware/task/payload.d.ts.map +1 -0
  64. package/dist/index.d.ts +1 -2
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/label/client.d.ts +6 -6
  67. package/dist/label/payload.d.ts +2 -1
  68. package/dist/label/payload.d.ts.map +1 -1
  69. package/dist/label/retriever.d.ts +2 -2
  70. package/dist/label/writer.d.ts +3 -3
  71. package/dist/ontology/client.d.ts +11 -11
  72. package/dist/ontology/group/client.d.ts +2 -2
  73. package/dist/ontology/group/writer.d.ts +2 -2
  74. package/dist/ontology/group/writer.d.ts.map +1 -1
  75. package/dist/ontology/payload.d.ts +47 -44
  76. package/dist/ontology/payload.d.ts.map +1 -1
  77. package/dist/ontology/writer.d.ts +1 -1
  78. package/dist/ranger/active.d.ts +1 -1
  79. package/dist/ranger/alias.d.ts +6 -6
  80. package/dist/ranger/client.d.ts +10 -10
  81. package/dist/ranger/kv.d.ts +2 -2
  82. package/dist/ranger/payload.d.ts +6 -1
  83. package/dist/ranger/payload.d.ts.map +1 -1
  84. package/dist/ranger/range.d.ts +8 -8
  85. package/dist/ranger/range.d.ts.map +1 -1
  86. package/dist/ranger/writer.d.ts +1 -1
  87. package/dist/setupspecs.d.ts.map +1 -1
  88. package/dist/signals/observable.d.ts +5 -5
  89. package/dist/signals/observable.d.ts.map +1 -1
  90. package/dist/transport.d.ts +1 -1
  91. package/dist/user/client.d.ts +9 -0
  92. package/dist/user/client.d.ts.map +1 -0
  93. package/dist/user/external.d.ts +3 -0
  94. package/dist/user/external.d.ts.map +1 -0
  95. package/dist/user/index.d.ts +1 -1
  96. package/dist/user/index.d.ts.map +1 -1
  97. package/dist/user/payload.d.ts +5 -0
  98. package/dist/user/payload.d.ts.map +1 -1
  99. package/dist/util/retrieve.d.ts +1 -1
  100. package/dist/util/retrieve.d.ts.map +1 -1
  101. package/dist/util/zod.d.ts.map +1 -1
  102. package/dist/workspace/client.d.ts +6 -6
  103. package/dist/workspace/lineplot/client.d.ts +3 -3
  104. package/dist/workspace/lineplot/payload.d.ts +4 -1
  105. package/dist/workspace/lineplot/payload.d.ts.map +1 -1
  106. package/dist/workspace/lineplot/retriever.d.ts +1 -1
  107. package/dist/workspace/lineplot/writer.d.ts +3 -3
  108. package/dist/workspace/payload.d.ts +4 -1
  109. package/dist/workspace/payload.d.ts.map +1 -1
  110. package/dist/workspace/retriever.d.ts +1 -1
  111. package/dist/workspace/schematic/client.d.ts +3 -3
  112. package/dist/workspace/schematic/payload.d.ts +4 -1
  113. package/dist/workspace/schematic/payload.d.ts.map +1 -1
  114. package/dist/workspace/schematic/retriever.d.ts +1 -1
  115. package/dist/workspace/schematic/writer.d.ts +3 -3
  116. package/dist/workspace/writer.d.ts +3 -3
  117. package/examples/node/package.json +1 -1
  118. package/package.json +11 -12
  119. package/src/access/access.spec.ts +276 -0
  120. package/src/access/client.ts +86 -0
  121. package/src/access/external.ts +11 -0
  122. package/src/access/index.ts +10 -0
  123. package/src/access/payload.ts +35 -0
  124. package/src/auth/auth.ts +1 -1
  125. package/src/channel/payload.ts +7 -0
  126. package/src/client.ts +7 -1
  127. package/src/control/state.ts +3 -3
  128. package/src/errors.spec.ts +0 -1
  129. package/src/framer/client.ts +1 -0
  130. package/src/framer/deleter.ts +2 -4
  131. package/src/framer/writer.spec.ts +29 -1
  132. package/src/hardware/device/client.ts +8 -36
  133. package/src/hardware/device/external.ts +1 -0
  134. package/src/hardware/device/index.ts +1 -1
  135. package/src/hardware/device/payload.ts +44 -0
  136. package/src/hardware/rack/client.ts +10 -15
  137. package/src/hardware/rack/external.ts +1 -0
  138. package/src/hardware/rack/payload.ts +23 -0
  139. package/src/hardware/task/client.ts +3 -86
  140. package/src/hardware/task/external.ts +11 -0
  141. package/src/hardware/task/index.ts +1 -1
  142. package/src/hardware/task/payload.ts +92 -0
  143. package/src/hardware/task/task.spec.ts +2 -2
  144. package/src/index.ts +1 -2
  145. package/src/label/payload.ts +3 -1
  146. package/src/ontology/group/writer.ts +1 -1
  147. package/src/ontology/ontology.spec.ts +1 -1
  148. package/src/ontology/payload.ts +6 -1
  149. package/src/ranger/payload.ts +11 -0
  150. package/src/setupspecs.ts +4 -2
  151. package/src/signals/observable.ts +5 -3
  152. package/src/transport.ts +3 -3
  153. package/src/user/client.ts +37 -0
  154. package/src/user/external.ts +11 -0
  155. package/src/user/index.ts +1 -1
  156. package/src/user/payload.ts +11 -0
  157. package/src/workspace/lineplot/payload.ts +7 -0
  158. package/src/workspace/payload.ts +7 -0
  159. package/src/workspace/schematic/payload.ts +7 -0
  160. package/tsconfig.json +4 -2
@@ -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>;
@@ -7,35 +7,38 @@ export type ResourceDelete = change.Delete<ID, Resource>;
7
7
  export type RelationshipChange = change.Change<Relationship, undefined>;
8
8
  export type RelationshipSet = change.Set<Relationship, undefined>;
9
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">]>;
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">, z.ZodLiteral<"policy">]>;
11
11
  export type ResourceType = z.infer<typeof resourceTypeZ>;
12
+ export declare const BuiltinOntologyType: ResourceType;
13
+ export declare const ClusterOntologyType: ResourceType;
14
+ export declare const NodeOntologyType: ResourceType;
12
15
  export declare const idZ: z.ZodObject<{
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">]>;
16
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
14
17
  key: z.ZodString;
15
18
  }, "strip", z.ZodTypeAny, {
19
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
16
20
  key: string;
17
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
18
21
  }, {
22
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
19
23
  key: string;
20
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
21
24
  }>;
22
25
  export type IDPayload = z.infer<typeof idZ>;
23
26
  export declare const stringIDZ: z.ZodEffects<z.ZodString, {
24
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
27
+ type: ResourceType;
25
28
  key: string;
26
29
  }, string>;
27
30
  export declare const crudeIDZ: z.ZodUnion<[z.ZodEffects<z.ZodString, {
28
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
31
+ type: ResourceType;
29
32
  key: string;
30
33
  }, string>, z.ZodObject<{
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">]>;
34
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
32
35
  key: z.ZodString;
33
36
  }, "strip", z.ZodTypeAny, {
37
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
34
38
  key: string;
35
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
36
39
  }, {
40
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
37
41
  key: string;
38
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
39
42
  }>]>;
40
43
  export declare class ID {
41
44
  type: ResourceType;
@@ -44,20 +47,20 @@ export declare class ID {
44
47
  toString(): string;
45
48
  get payload(): z.infer<typeof idZ>;
46
49
  static readonly z: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
47
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
50
+ type: ResourceType;
48
51
  key: string;
49
52
  }, string>, z.ZodObject<{
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">]>;
53
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
51
54
  key: z.ZodString;
52
55
  }, "strip", z.ZodTypeAny, {
56
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
53
57
  key: string;
54
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
55
58
  }, {
59
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
56
60
  key: string;
57
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
58
61
  }>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
62
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
59
63
  key: string;
60
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
61
64
  }>;
62
65
  }
63
66
  export declare const Root: ID;
@@ -70,7 +73,7 @@ export declare const schemaFieldZ: z.ZodObject<{
70
73
  }>;
71
74
  export type SchemaField = z.infer<typeof schemaFieldZ>;
72
75
  export declare const schemaZ: z.ZodObject<{
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">]>;
76
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
74
77
  fields: z.ZodRecord<z.ZodString, z.ZodObject<{
75
78
  type: z.ZodNumber;
76
79
  }, "strip", z.ZodTypeAny, {
@@ -79,12 +82,12 @@ export declare const schemaZ: z.ZodObject<{
79
82
  type: number;
80
83
  }>>;
81
84
  }, "strip", z.ZodTypeAny, {
82
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
85
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
83
86
  fields: Record<string, {
84
87
  type: number;
85
88
  }>;
86
89
  }, {
87
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
90
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
88
91
  fields: Record<string, {
89
92
  type: number;
90
93
  }>;
@@ -92,24 +95,24 @@ export declare const schemaZ: z.ZodObject<{
92
95
  export type Schema = z.infer<typeof schemaZ>;
93
96
  export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
94
97
  id: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
95
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
98
+ type: ResourceType;
96
99
  key: string;
97
100
  }, string>, z.ZodObject<{
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">]>;
101
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
99
102
  key: z.ZodString;
100
103
  }, "strip", z.ZodTypeAny, {
104
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
101
105
  key: string;
102
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
103
106
  }, {
107
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
104
108
  key: string;
105
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
106
109
  }>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
110
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
107
111
  key: string;
108
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
109
112
  }>;
110
113
  name: z.ZodString;
111
114
  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">]>;
115
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
113
116
  fields: z.ZodRecord<z.ZodString, z.ZodObject<{
114
117
  type: z.ZodNumber;
115
118
  }, "strip", z.ZodTypeAny, {
@@ -118,12 +121,12 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
118
121
  type: number;
119
122
  }>>;
120
123
  }, "strip", z.ZodTypeAny, {
121
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
124
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
122
125
  fields: Record<string, {
123
126
  type: number;
124
127
  }>;
125
128
  }, {
126
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
129
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
127
130
  fields: Record<string, {
128
131
  type: number;
129
132
  }>;
@@ -134,7 +137,7 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
134
137
  id: ID;
135
138
  data?: Record<string, unknown> | null | undefined;
136
139
  schema?: {
137
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
140
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
138
141
  fields: Record<string, {
139
142
  type: number;
140
143
  }>;
@@ -142,12 +145,12 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
142
145
  }, {
143
146
  name: string;
144
147
  id: string | ID | {
148
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
145
149
  key: string;
146
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
147
150
  };
148
151
  data?: Record<string, unknown> | null | undefined;
149
152
  schema?: {
150
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
153
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
151
154
  fields: Record<string, {
152
155
  type: number;
153
156
  }>;
@@ -157,7 +160,7 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
157
160
  id: ID;
158
161
  data?: Record<string, unknown> | null | undefined;
159
162
  schema?: {
160
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
163
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
161
164
  fields: Record<string, {
162
165
  type: number;
163
166
  }>;
@@ -166,12 +169,12 @@ export declare const resourceSchemaZ: z.ZodEffects<z.ZodObject<{
166
169
  }, {
167
170
  name: string;
168
171
  id: string | ID | {
172
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
169
173
  key: string;
170
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
171
174
  };
172
175
  data?: Record<string, unknown> | null | undefined;
173
176
  schema?: {
174
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
177
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
175
178
  fields: Record<string, {
176
179
  type: number;
177
180
  }>;
@@ -182,37 +185,37 @@ export type Resource<T extends UnknownRecord = UnknownRecord> = Omit<z.output<ty
182
185
  };
183
186
  export declare const relationshipSchemaZ: z.ZodObject<{
184
187
  from: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
185
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
188
+ type: ResourceType;
186
189
  key: string;
187
190
  }, string>, z.ZodObject<{
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">]>;
191
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
189
192
  key: z.ZodString;
190
193
  }, "strip", z.ZodTypeAny, {
194
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
191
195
  key: string;
192
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
193
196
  }, {
197
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
194
198
  key: string;
195
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
196
199
  }>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
200
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
197
201
  key: string;
198
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
199
202
  }>;
200
203
  type: z.ZodString;
201
204
  to: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, {
202
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
205
+ type: ResourceType;
203
206
  key: string;
204
207
  }, string>, z.ZodObject<{
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">]>;
208
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"range-alias">, z.ZodLiteral<"user">, z.ZodLiteral<"workspace">, z.ZodLiteral<"schematic">, z.ZodLiteral<"lineplot">, z.ZodLiteral<"rack">, z.ZodLiteral<"device">, z.ZodLiteral<"task">, z.ZodLiteral<"policy">]>;
206
209
  key: z.ZodString;
207
210
  }, "strip", z.ZodTypeAny, {
211
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
208
212
  key: string;
209
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
210
213
  }, {
214
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
211
215
  key: string;
212
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
213
216
  }>]>, z.ZodType<ID, z.ZodTypeDef, ID>]>, ID, string | ID | {
217
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
214
218
  key: string;
215
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
216
219
  }>;
217
220
  }, "strip", z.ZodTypeAny, {
218
221
  type: string;
@@ -221,12 +224,12 @@ export declare const relationshipSchemaZ: z.ZodObject<{
221
224
  }, {
222
225
  type: string;
223
226
  from: string | ID | {
227
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
224
228
  key: string;
225
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
226
229
  };
227
230
  to: string | ID | {
231
+ type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
228
232
  key: string;
229
- type: "label" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task";
230
233
  };
231
234
  }>;
232
235
  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,CAA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AAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAE7C,eAAO,MAAM,eAAe;;cApDH,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgEjC,CAAC;AAEL,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,IAAI,IAAI,CAClE,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"}
@@ -1,5 +1,5 @@
1
- import { ID } from './payload';
2
1
  import { UnaryClient } from '@synnaxlabs/freighter';
2
+ import { ID } from './payload';
3
3
 
4
4
  export declare class Writer {
5
5
  client: UnaryClient;
@@ -1,5 +1,5 @@
1
- import { Key, Payload } from './payload';
2
1
  import { UnaryClient } from '@synnaxlabs/freighter';
2
+ import { Key, Payload } from './payload';
3
3
 
4
4
  export declare class Active {
5
5
  private readonly client;
@@ -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";
@@ -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">>;
@@ -1,6 +1,6 @@
1
- import { Key } from './payload';
2
- import { z } from 'zod';
3
1
  import { UnaryClient } from '@synnaxlabs/freighter';
2
+ import { z } from 'zod';
3
+ import { Key } from './payload';
4
4
 
5
5
  declare const getReqZ: z.ZodObject<{
6
6
  range: z.ZodString;
@@ -1,5 +1,6 @@
1
- import { z } from 'zod';
2
1
  import { TimeRange } from '@synnaxlabs/x/telem';
2
+ import { z } from 'zod';
3
+ import { ontology } from '../ontology';
3
4
 
4
5
  export declare const keyZ: z.ZodString;
5
6
  export type Key = z.infer<typeof keyZ>;
@@ -151,4 +152,8 @@ export type ParamAnalysisResult = {
151
152
  actual: Names;
152
153
  };
153
154
  export declare const analyzeParams: (params: Params) => ParamAnalysisResult;
155
+ export declare const RangeOntologyType: ontology.ResourceType;
156
+ export declare const RangeAliasOntologyType: ontology.ResourceType;
157
+ export declare const rangeOntologyID: (key: Key) => ontology.ID;
158
+ export declare const rangeAliasOntologyID: (key: Key) => ontology.ID;
154
159
  //# sourceMappingURL=payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/ranger/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,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,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEtB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAC3B;IACE,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,IAAI,CAAC;IACj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AO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEtB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAC3B;IACE,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,IAAI,CAAC;IACjB,MAAM,EAAE,GAAG,CAAC;CACb,GACD;IACE,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,KAAK,CAAC;IAClB,MAAM,EAAE,IAAI,CAAC;CACd,GACD;IACE,MAAM,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,IAAI,CAAC;IACjB,MAAM,EAAE,IAAI,CAAC;CACd,GACD;IACE,MAAM,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,KAAK,CAAC;IAClB,MAAM,EAAE,KAAK,CAAC;CACf,CAAC;AAEN,eAAO,MAAM,aAAa,WAAY,MAAM,KAAG,mBAY9C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAc,QAAQ,CAAC,YAAY,CAAC;AAClE,eAAO,MAAM,sBAAsB,EAAoB,QAAQ,CAAC,YAAY,CAAC;AAE7E,eAAO,MAAM,eAAe,QAAS,GAAG,KAAG,QAAQ,CAAC,EACI,CAAC;AAEzD,eAAO,MAAM,oBAAoB,QAAS,GAAG,KAAG,QAAQ,CAAC,EACI,CAAC"}
@@ -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,SAAS,CAAC;AACrC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAKzC,qBAAa,KAAK;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC;IAChB,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,OAAO,CAAC,QAAQ,CAAC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G,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ3D,WAAW,CAAC,GAAG,QAAQ,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9C,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IAI3C,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAI9D,IAAI,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;IAE1C,IAAI,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"}
@@ -1,5 +1,5 @@
1
- import { NewPayload, Payload } from './payload';
2
1
  import { UnaryClient } from '@synnaxlabs/freighter';
2
+ import { NewPayload, Payload } from './payload';
3
3
 
4
4
  export declare class Writer {
5
5
  client: UnaryClient;
@@ -1 +1 @@
1
- {"version":3,"file":"setupspecs.d.ts","sourceRoot":"","sources":["../src/setupspecs.ts"],"names":[],"mappings":"AASA,OAAO,MAAM,EAAE,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,IAAI,cAAc,CAAC;AAChC,eAAO,MAAM,IAAI,OAAO,CAAC;AAEzB,eAAO,MAAM,SAAS,aAAc,WAAW,EAAE,KAAG,MAUnD,CAAC"}
1
+ {"version":3,"file":"setupspecs.d.ts","sourceRoot":"","sources":["../src/setupspecs.ts"],"names":[],"mappings":"AASA,OAAO,MAAM,EAAE,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,IAAI,cAAc,CAAC;AAChC,eAAO,MAAM,IAAI,OAAO,CAAC;AAIzB,eAAO,MAAM,SAAS,aAAc,WAAW,EAAE,KAAG,MAUnD,CAAC"}
@@ -1,11 +1,11 @@
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>>> {
9
9
  }
10
- export declare const openObservable: <K, V>(client: framer.Client, setChannel: channel.Key | channel.Name, deleteChannel: channel.Key | channel.Name, ecd: Decoder<K, V>) => Promise<Observable<K, V>>;
10
+ export declare const openObservable: <K, V>(client: framer.Client, setChannel: channel.Key | channel.Name, deleteChannel: channel.Key | channel.Name, codec: Decoder<K, V>) => Promise<Observable<K, V>>;
11
11
  //# sourceMappingURL=observable.d.ts.map
@@ -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,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C;CAAG;AAEzE,eAAO,MAAM,cAAc,GAAU,CAAC,EAAE,CAAC,UAC/B,MAAM,CAAC,MAAM,cACT,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,IAAI,iBACvB,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,IAAI,SAClC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,KACnB,OAAO,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,CAa1B,CAAC"}
@@ -1,5 +1,5 @@
1
- import { URL } from '@synnaxlabs/x/url';
2
1
  import { Middleware, StreamClient, UnaryClient } from '@synnaxlabs/freighter';
2
+ import { URL } from '@synnaxlabs/x/url';
3
3
 
4
4
  export declare class Transport {
5
5
  readonly url: URL;
@@ -0,0 +1,9 @@
1
+ import { UnaryClient } from '@synnaxlabs/freighter';
2
+ import { Payload } from './payload';
3
+
4
+ export declare class Client {
5
+ private readonly client;
6
+ constructor(client: UnaryClient);
7
+ register(username: string, password: string): Promise<Payload>;
8
+ }
9
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/user/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGvE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAIzC,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAarE"}
@@ -0,0 +1,3 @@
1
+ export * from './client';
2
+ export * from './payload';
3
+ //# sourceMappingURL=external.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../src/user/external.ts"],"names":[],"mappings":"AASA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
@@ -1,2 +1,2 @@
1
- export * as user from './payload';
1
+ export * as user from './external';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/user/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC"}
@@ -1,5 +1,8 @@
1
1
  import { z } from 'zod';
2
+ import { ontology } from '../ontology';
2
3
 
4
+ export declare const keyZ: z.ZodString;
5
+ export type Key = z.infer<typeof keyZ>;
3
6
  export declare const payloadZ: z.ZodObject<{
4
7
  key: z.ZodString;
5
8
  username: z.ZodString;
@@ -11,4 +14,6 @@ export declare const payloadZ: z.ZodObject<{
11
14
  username: string;
12
15
  }>;
13
16
  export type Payload = z.infer<typeof payloadZ>;
17
+ export declare const UserOntologyType: ontology.ResourceType;
18
+ export declare const ontologyID: (key: Key) => ontology.ID;
14
19
  //# sourceMappingURL=payload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/user/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,QAAQ;;;;;;;;;EAGnB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../src/user/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,IAAI,aAAoB,CAAC;AAEtC,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAEvC,eAAO,MAAM,QAAQ;;;;;;;;;EAGnB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE/C,eAAO,MAAM,gBAAgB,EAAa,QAAQ,CAAC,YAAY,CAAC;AAEhE,eAAO,MAAM,UAAU,QAAS,GAAG,KAAG,QAAQ,CAAC,EACG,CAAC"}
@@ -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 Partial<Record<TypeName<T>, string>> = Partial<Record<TypeName<T>, string>>>(args: T extends any ? T | T[] : never, variantMap: K, { convertNumericStrings }?: AnalyzeParamsOptions) => ParamAnalysisResult<T, K>;
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,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S,qBAAqB,CAAC,CAAC,CAAC,GAAG,qBAAqB,CAAC,CAAC,CAAC,IAC3D,yBAAyB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAErE,MAAM,WAAW,oBAAoB;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,eAAO,MAAM,aAAa,GACxB,CAAC,SAAS,SAAS,cACnB,CAAC,SAAS,qBAAqB,CAAC,CAAC,CAAC,+CAE5B,CAAC,SAAS,GAAG,GAAG,CAAC,GAAG,CAAC,EAAE,GAAG,KAAK,cACzB,CAAC,8BACqB,oBAAoB,KACrD,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAkB1B,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,CAAC,EAAE,CAAC,QACxC,MAAM,UACJ,CAAC,GAAG,CAAC,EAAE,WACN,CAAC,EAAE,YACF,OAAO,KAChB,IAQF,CAAC"}
@@ -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,iCAAkC,CAAC,sFACU,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;