@synnaxlabs/client 0.50.0 → 0.53.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/dist/client.cjs +58 -34
- package/dist/client.js +5368 -4546
- package/dist/eslint.config.d.ts +2 -2
- package/dist/eslint.config.d.ts.map +1 -1
- package/dist/src/access/policy/client.d.ts +90 -90
- package/dist/src/access/policy/payload.d.ts +17 -17
- package/dist/src/access/role/payload.d.ts +2 -2
- package/dist/src/arc/payload.d.ts +2 -2
- package/dist/src/channel/client.d.ts +4 -5
- package/dist/src/channel/client.d.ts.map +1 -1
- package/dist/src/channel/payload.d.ts +9 -11
- package/dist/src/channel/payload.d.ts.map +1 -1
- package/dist/src/channel/retriever.d.ts.map +1 -1
- package/dist/src/client.d.ts +10 -0
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/device/client.d.ts +14 -7
- package/dist/src/device/client.d.ts.map +1 -1
- package/dist/src/device/payload.d.ts +65 -32
- package/dist/src/device/payload.d.ts.map +1 -1
- package/dist/src/device/payload.spec.d.ts +2 -0
- package/dist/src/device/payload.spec.d.ts.map +1 -0
- package/dist/src/framer/adapter.d.ts.map +1 -1
- package/dist/src/framer/client.d.ts +2 -2
- package/dist/src/framer/frame.d.ts +5 -5
- package/dist/src/framer/frame.d.ts.map +1 -1
- package/dist/src/framer/streamer.d.ts +6 -6
- package/dist/src/framer/writer.d.ts +9 -9
- package/dist/src/group/access.spec.d.ts.map +1 -0
- package/dist/src/{ontology/group → group}/client.d.ts +3 -3
- package/dist/src/group/client.d.ts.map +1 -0
- package/dist/src/group/external.d.ts.map +1 -0
- package/dist/src/group/group.spec.d.ts.map +1 -0
- package/dist/src/group/index.d.ts.map +1 -0
- package/dist/src/{ontology/group → group}/payload.d.ts +1 -1
- package/dist/src/group/payload.d.ts.map +1 -0
- package/dist/src/index.d.ts +5 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/label/client.d.ts +27 -13
- package/dist/src/label/client.d.ts.map +1 -1
- package/dist/src/label/payload.d.ts +15 -1
- package/dist/src/label/payload.d.ts.map +1 -1
- package/dist/src/lineplot/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/lineplot → lineplot}/client.d.ts +6 -6
- package/dist/src/lineplot/client.d.ts.map +1 -0
- package/dist/src/lineplot/external.d.ts.map +1 -0
- package/dist/src/lineplot/index.d.ts.map +1 -0
- package/dist/src/lineplot/lineplot.spec.d.ts.map +1 -0
- package/dist/src/lineplot/payload.d.ts.map +1 -0
- package/dist/src/log/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/log → log}/client.d.ts +6 -6
- package/dist/src/log/client.d.ts.map +1 -0
- package/dist/src/log/external.d.ts.map +1 -0
- package/dist/src/log/index.d.ts.map +1 -0
- package/dist/src/log/log.spec.d.ts.map +1 -0
- package/dist/src/log/payload.d.ts.map +1 -0
- package/dist/src/ontology/client.d.ts +6 -10
- package/dist/src/ontology/client.d.ts.map +1 -1
- package/dist/src/ontology/payload.d.ts +22 -22
- package/dist/src/ontology/writer.d.ts +15 -15
- package/dist/src/rack/client.d.ts +3 -3
- package/dist/src/rack/client.d.ts.map +1 -1
- package/dist/src/rack/payload.d.ts +44 -16
- package/dist/src/rack/payload.d.ts.map +1 -1
- package/dist/src/ranger/alias/client.d.ts +17 -0
- package/dist/src/ranger/alias/client.d.ts.map +1 -0
- package/dist/src/ranger/alias/external.d.ts +2 -0
- package/dist/src/ranger/alias/external.d.ts.map +1 -0
- package/dist/src/ranger/alias/index.d.ts +2 -0
- package/dist/src/ranger/alias/index.d.ts.map +1 -0
- package/dist/src/ranger/{alias.d.ts → alias/payload.d.ts} +14 -20
- package/dist/src/ranger/alias/payload.d.ts.map +1 -0
- package/dist/src/ranger/client.d.ts +10 -10
- package/dist/src/ranger/client.d.ts.map +1 -1
- package/dist/src/ranger/external.d.ts +20 -0
- package/dist/src/ranger/external.d.ts.map +1 -1
- package/dist/src/ranger/kv/client.d.ts +14 -0
- package/dist/src/ranger/kv/client.d.ts.map +1 -0
- package/dist/src/ranger/kv/external.d.ts +2 -0
- package/dist/src/ranger/kv/external.d.ts.map +1 -0
- package/dist/src/ranger/kv/index.d.ts +2 -0
- package/dist/src/ranger/kv/index.d.ts.map +1 -0
- package/dist/src/ranger/kv/payload.d.ts +26 -0
- package/dist/src/ranger/kv/payload.d.ts.map +1 -0
- package/dist/src/ranger/payload.d.ts +45 -3
- package/dist/src/ranger/payload.d.ts.map +1 -1
- package/dist/src/ranger/writer.d.ts +18 -4
- package/dist/src/ranger/writer.d.ts.map +1 -1
- package/dist/src/schematic/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/schematic → schematic}/client.d.ts +6 -6
- package/dist/src/schematic/client.d.ts.map +1 -0
- package/dist/src/schematic/external.d.ts.map +1 -0
- package/dist/src/schematic/index.d.ts.map +1 -0
- package/dist/src/schematic/payload.d.ts.map +1 -0
- package/dist/src/schematic/schematic.spec.d.ts.map +1 -0
- package/dist/src/schematic/symbol/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/schematic → schematic}/symbol/client.d.ts +2 -2
- package/dist/src/schematic/symbol/client.d.ts.map +1 -0
- package/dist/src/schematic/symbol/client.spec.d.ts.map +1 -0
- package/dist/src/schematic/symbol/external.d.ts.map +1 -0
- package/dist/src/schematic/symbol/index.d.ts.map +1 -0
- package/dist/src/schematic/symbol/payload.d.ts.map +1 -0
- package/dist/src/status/payload.d.ts +43 -7
- package/dist/src/status/payload.d.ts.map +1 -1
- package/dist/src/table/access.spec.d.ts.map +1 -0
- package/dist/src/{workspace/table → table}/client.d.ts +6 -6
- package/dist/src/table/client.d.ts.map +1 -0
- package/dist/src/table/external.d.ts.map +1 -0
- package/dist/src/table/index.d.ts.map +1 -0
- package/dist/src/table/payload.d.ts.map +1 -0
- package/dist/src/table/table.spec.d.ts.map +1 -0
- package/dist/src/task/client.d.ts +19 -21
- package/dist/src/task/client.d.ts.map +1 -1
- package/dist/src/task/payload.d.ts +32 -27
- package/dist/src/task/payload.d.ts.map +1 -1
- package/dist/src/user/client.d.ts +2 -2
- package/dist/src/view/client.d.ts +2 -2
- package/dist/src/workspace/client.d.ts +2 -10
- package/dist/src/workspace/client.d.ts.map +1 -1
- package/eslint.config.ts +2 -3
- package/package.json +10 -9
- package/src/arc/lsp.spec.ts +155 -283
- package/src/channel/client.ts +3 -5
- package/src/channel/payload.spec.ts +0 -57
- package/src/channel/payload.ts +7 -14
- package/src/channel/retriever.ts +2 -3
- package/src/client.ts +16 -1
- package/src/device/client.ts +89 -43
- package/src/device/payload.spec.ts +118 -0
- package/src/device/payload.ts +55 -30
- package/src/errors.spec.ts +1 -1
- package/src/framer/adapter.ts +5 -7
- package/src/framer/frame.ts +8 -8
- package/src/{ontology/group → group}/access.spec.ts +7 -7
- package/src/{ontology/group → group}/client.ts +1 -1
- package/src/group/external.ts +11 -0
- package/src/{ontology/group → group}/group.spec.ts +9 -9
- package/src/{workspace/log → group}/index.ts +1 -1
- package/src/index.ts +5 -5
- package/src/label/access.spec.ts +1 -1
- package/src/label/client.ts +1 -1
- package/src/label/label.spec.ts +4 -4
- package/src/{workspace/lineplot → lineplot}/access.spec.ts +14 -14
- package/src/{workspace/lineplot → lineplot}/client.ts +13 -13
- package/src/lineplot/external.ts +11 -0
- package/src/{ontology/group → lineplot}/index.ts +1 -1
- package/src/{workspace/lineplot → lineplot}/lineplot.spec.ts +12 -12
- package/src/{workspace/log → log}/access.spec.ts +16 -18
- package/src/{workspace/log → log}/client.ts +13 -13
- package/src/{workspace/schematic/index.ts → log/external.ts} +2 -1
- package/src/{workspace/table → log}/index.ts +1 -1
- package/src/{workspace/log → log}/log.spec.ts +10 -10
- package/src/ontology/client.ts +1 -7
- package/src/ontology/ontology.spec.ts +12 -12
- package/src/rack/client.ts +10 -21
- package/src/ranger/{alias.ts → alias/client.ts} +6 -37
- package/src/{workspace/lineplot → ranger/alias}/external.ts +10 -2
- package/src/{workspace/lineplot → ranger/alias}/index.ts +1 -1
- package/src/ranger/alias/payload.ts +50 -0
- package/src/ranger/client.ts +26 -19
- package/src/ranger/external.ts +22 -0
- package/src/ranger/{kv.ts → kv/client.ts} +5 -19
- package/src/{workspace/schematic → ranger/kv}/external.ts +7 -3
- package/src/ranger/kv/index.ts +10 -0
- package/src/ranger/kv/payload.ts +32 -0
- package/src/ranger/payload.ts +2 -2
- package/src/ranger/ranger.spec.ts +1 -1
- package/src/{workspace/schematic → schematic}/access.spec.ts +14 -14
- package/src/{workspace/schematic → schematic}/client.ts +14 -14
- package/src/{workspace/log → schematic}/external.ts +3 -2
- package/src/schematic/index.ts +10 -0
- package/src/{workspace/schematic → schematic}/schematic.spec.ts +17 -17
- package/src/{workspace/schematic → schematic}/symbol/access.spec.ts +19 -19
- package/src/{workspace/schematic → schematic}/symbol/client.spec.ts +16 -16
- package/src/{workspace/schematic → schematic}/symbol/client.ts +8 -8
- package/src/{ontology/group → schematic/symbol}/external.ts +2 -2
- package/src/schematic/symbol/index.ts +10 -0
- package/src/status/payload.ts +1 -1
- package/src/status/status.spec.ts +2 -2
- package/src/{workspace/table → table}/access.spec.ts +14 -14
- package/src/{workspace/table → table}/client.ts +15 -12
- package/src/table/external.ts +11 -0
- package/src/table/index.ts +10 -0
- package/src/{workspace/table → table}/table.spec.ts +12 -12
- package/src/task/client.ts +56 -148
- package/src/task/payload.ts +34 -58
- package/src/workspace/client.ts +0 -12
- package/dist/src/ontology/group/access.spec.d.ts.map +0 -1
- package/dist/src/ontology/group/client.d.ts.map +0 -1
- package/dist/src/ontology/group/external.d.ts.map +0 -1
- package/dist/src/ontology/group/group.spec.d.ts.map +0 -1
- package/dist/src/ontology/group/index.d.ts.map +0 -1
- package/dist/src/ontology/group/payload.d.ts.map +0 -1
- package/dist/src/ranger/alias.d.ts.map +0 -1
- package/dist/src/ranger/kv.d.ts +0 -48
- package/dist/src/ranger/kv.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/client.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/external.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/index.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/lineplot.spec.d.ts.map +0 -1
- package/dist/src/workspace/lineplot/payload.d.ts.map +0 -1
- package/dist/src/workspace/log/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/log/client.d.ts.map +0 -1
- package/dist/src/workspace/log/external.d.ts.map +0 -1
- package/dist/src/workspace/log/index.d.ts.map +0 -1
- package/dist/src/workspace/log/log.spec.d.ts.map +0 -1
- package/dist/src/workspace/log/payload.d.ts.map +0 -1
- package/dist/src/workspace/schematic/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/client.d.ts.map +0 -1
- package/dist/src/workspace/schematic/external.d.ts.map +0 -1
- package/dist/src/workspace/schematic/index.d.ts.map +0 -1
- package/dist/src/workspace/schematic/payload.d.ts.map +0 -1
- package/dist/src/workspace/schematic/schematic.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/client.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/client.spec.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/external.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/index.d.ts.map +0 -1
- package/dist/src/workspace/schematic/symbol/payload.d.ts.map +0 -1
- package/dist/src/workspace/table/access.spec.d.ts.map +0 -1
- package/dist/src/workspace/table/client.d.ts.map +0 -1
- package/dist/src/workspace/table/external.d.ts.map +0 -1
- package/dist/src/workspace/table/index.d.ts.map +0 -1
- package/dist/src/workspace/table/payload.d.ts.map +0 -1
- package/dist/src/workspace/table/table.spec.d.ts.map +0 -1
- package/src/workspace/schematic/symbol/external.ts +0 -11
- package/src/workspace/schematic/symbol/index.ts +0 -10
- package/src/workspace/table/external.ts +0 -11
- /package/dist/src/{ontology/group → group}/access.spec.d.ts +0 -0
- /package/dist/src/{ontology/group → group}/external.d.ts +0 -0
- /package/dist/src/{ontology/group → group}/group.spec.d.ts +0 -0
- /package/dist/src/{ontology/group → group}/index.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/external.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/index.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/lineplot.spec.d.ts +0 -0
- /package/dist/src/{workspace/lineplot → lineplot}/payload.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/external.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/index.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/log.spec.d.ts +0 -0
- /package/dist/src/{workspace/log → log}/payload.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/external.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/index.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/payload.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/schematic.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/client.spec.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/external.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/index.d.ts +0 -0
- /package/dist/src/{workspace/schematic → schematic}/symbol/payload.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/access.spec.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/external.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/index.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/payload.d.ts +0 -0
- /package/dist/src/{workspace/table → table}/table.spec.d.ts +0 -0
- /package/src/{ontology/group → group}/payload.ts +0 -0
- /package/src/{workspace/lineplot → lineplot}/payload.ts +0 -0
- /package/src/{workspace/log → log}/payload.ts +0 -0
- /package/src/{workspace/schematic → schematic}/payload.ts +0 -0
- /package/src/{workspace/schematic → schematic}/symbol/payload.ts +0 -0
- /package/src/{workspace/table → table}/payload.ts +0 -0
package/src/task/client.ts
CHANGED
|
@@ -76,20 +76,16 @@ export interface ExecuteCommandSyncParams<StatusData extends z.ZodType> extends
|
|
|
76
76
|
"frameClient" | "name"
|
|
77
77
|
> {}
|
|
78
78
|
|
|
79
|
-
export class Task<
|
|
80
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
81
|
-
Config extends z.ZodType = z.ZodType,
|
|
82
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
83
|
-
> {
|
|
79
|
+
export class Task<S extends Schemas = Schemas> {
|
|
84
80
|
readonly key: Key;
|
|
85
81
|
name: string;
|
|
86
82
|
internal: boolean;
|
|
87
|
-
type: z.infer<
|
|
83
|
+
type: z.infer<S["type"]>;
|
|
88
84
|
snapshot: boolean;
|
|
89
|
-
config: z.infer<
|
|
90
|
-
status?: Status<
|
|
85
|
+
config: z.infer<S["config"]>;
|
|
86
|
+
status?: Status<S["statusData"]>;
|
|
91
87
|
|
|
92
|
-
readonly schemas:
|
|
88
|
+
readonly schemas: S;
|
|
93
89
|
private readonly frameClient_?: framer.Client;
|
|
94
90
|
private readonly ontologyClient_?: ontology.Client;
|
|
95
91
|
private readonly rangeClient_?: ranger.Client;
|
|
@@ -110,16 +106,8 @@ export class Task<
|
|
|
110
106
|
}
|
|
111
107
|
|
|
112
108
|
constructor(
|
|
113
|
-
{
|
|
114
|
-
|
|
115
|
-
type,
|
|
116
|
-
name,
|
|
117
|
-
config,
|
|
118
|
-
internal = false,
|
|
119
|
-
snapshot = false,
|
|
120
|
-
status,
|
|
121
|
-
}: Payload<Type, Config, StatusData>,
|
|
122
|
-
schemas?: Schemas<Type, Config, StatusData>,
|
|
109
|
+
{ key, type, name, config, internal = false, snapshot = false, status }: Payload<S>,
|
|
110
|
+
schemas?: S,
|
|
123
111
|
frameClient?: framer.Client,
|
|
124
112
|
ontologyClient?: ontology.Client,
|
|
125
113
|
rangeClient?: ranger.Client,
|
|
@@ -128,11 +116,13 @@ export class Task<
|
|
|
128
116
|
this.name = name;
|
|
129
117
|
this.type = type;
|
|
130
118
|
this.config = config;
|
|
131
|
-
this.schemas =
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
119
|
+
this.schemas =
|
|
120
|
+
schemas ??
|
|
121
|
+
({
|
|
122
|
+
type: z.string() as unknown as S["type"],
|
|
123
|
+
config: z.unknown() as S["config"],
|
|
124
|
+
statusData: z.unknown() as S["statusData"],
|
|
125
|
+
} as S);
|
|
136
126
|
this.internal = internal;
|
|
137
127
|
this.snapshot = snapshot;
|
|
138
128
|
this.status = status;
|
|
@@ -141,7 +131,7 @@ export class Task<
|
|
|
141
131
|
this.rangeClient_ = rangeClient;
|
|
142
132
|
}
|
|
143
133
|
|
|
144
|
-
get payload(): Payload<
|
|
134
|
+
get payload(): Payload<S> {
|
|
145
135
|
return {
|
|
146
136
|
key: this.key,
|
|
147
137
|
name: this.name,
|
|
@@ -166,13 +156,13 @@ export class Task<
|
|
|
166
156
|
|
|
167
157
|
async executeCommandSync(
|
|
168
158
|
params: TaskExecuteCommandSyncParams,
|
|
169
|
-
): Promise<Status<
|
|
170
|
-
return await executeCommandSync<
|
|
159
|
+
): Promise<Status<S["statusData"]>> {
|
|
160
|
+
return await executeCommandSync<S["statusData"]>({
|
|
171
161
|
...params,
|
|
172
162
|
frameClient: this.frameClient,
|
|
173
163
|
task: this.key,
|
|
174
164
|
name: this.name,
|
|
175
|
-
statusDataZ: this.schemas
|
|
165
|
+
statusDataZ: this.schemas.statusData,
|
|
176
166
|
});
|
|
177
167
|
}
|
|
178
168
|
|
|
@@ -236,54 +226,26 @@ export type RetrieveMultipleParams = z.input<typeof multiRetrieveArgsZ>;
|
|
|
236
226
|
const retrieveArgsZ = z.union([singleRetrieveArgsZ, multiRetrieveArgsZ]);
|
|
237
227
|
export type RetrieveArgs = z.input<typeof retrieveArgsZ>;
|
|
238
228
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
243
|
-
> = {
|
|
244
|
-
schemas?: Schemas<Type, Config, StatusData>;
|
|
245
|
-
};
|
|
229
|
+
interface RetrieveSchemas<S extends Schemas = Schemas> {
|
|
230
|
+
schemas?: S;
|
|
231
|
+
}
|
|
246
232
|
|
|
247
|
-
const retrieveResZ = <
|
|
248
|
-
|
|
249
|
-
Config extends z.ZodType = z.ZodType,
|
|
250
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
251
|
-
>(
|
|
252
|
-
schemas?: Schemas<Type, Config, StatusData>,
|
|
253
|
-
) =>
|
|
254
|
-
z.object({
|
|
255
|
-
tasks: array.nullableZ(taskZ(schemas)),
|
|
256
|
-
});
|
|
233
|
+
const retrieveResZ = <S extends Schemas = Schemas>(schemas?: S) =>
|
|
234
|
+
z.object({ tasks: array.nullableZ(taskZ(schemas)) });
|
|
257
235
|
|
|
258
236
|
export interface RetrieveRequest extends z.infer<typeof retrieveReqZ> {}
|
|
259
237
|
|
|
260
|
-
const createReqZ = <
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
>(
|
|
265
|
-
schemas?: Schemas<Type, Config, StatusData>,
|
|
266
|
-
) => z.object({ tasks: newZ(schemas).array() });
|
|
267
|
-
const createResZ = <
|
|
268
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
269
|
-
Config extends z.ZodType = z.ZodType,
|
|
270
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
271
|
-
>(
|
|
272
|
-
schemas?: Schemas<Type, Config, StatusData>,
|
|
273
|
-
) => z.object({ tasks: taskZ(schemas).array() });
|
|
238
|
+
const createReqZ = <S extends Schemas = Schemas>(schemas?: S) =>
|
|
239
|
+
z.object({ tasks: newZ(schemas).array() });
|
|
240
|
+
const createResZ = <S extends Schemas = Schemas>(schemas?: S) =>
|
|
241
|
+
z.object({ tasks: taskZ(schemas).array() });
|
|
274
242
|
const deleteReqZ = z.object({ keys: keyZ.array() });
|
|
275
243
|
const deleteResZ = z.object({});
|
|
276
244
|
const copyReqZ = z.object({ key: keyZ, name: z.string(), snapshot: z.boolean() });
|
|
277
|
-
const copyResZ = <
|
|
278
|
-
|
|
279
|
-
Config extends z.ZodType = z.ZodType,
|
|
280
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
281
|
-
>(
|
|
282
|
-
schemas?: Schemas<Type, Config, StatusData>,
|
|
283
|
-
) => z.object({ task: taskZ(schemas) });
|
|
245
|
+
const copyResZ = <S extends Schemas = Schemas>(schemas?: S) =>
|
|
246
|
+
z.object({ task: taskZ(schemas) });
|
|
284
247
|
|
|
285
248
|
export class Client {
|
|
286
|
-
readonly type: string = "task";
|
|
287
249
|
private readonly client: UnaryClient;
|
|
288
250
|
private readonly frameClient: framer.Client;
|
|
289
251
|
private readonly ontologyClient: ontology.Client;
|
|
@@ -303,33 +265,14 @@ export class Client {
|
|
|
303
265
|
|
|
304
266
|
async create(task: New): Promise<Task>;
|
|
305
267
|
async create(tasks: New[]): Promise<Task[]>;
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
async create<
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
schemas: Schemas<Type, Config, StatusData>,
|
|
315
|
-
): Promise<Task<Type, Config, StatusData>>;
|
|
316
|
-
async create<
|
|
317
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
318
|
-
Config extends z.ZodType = z.ZodType,
|
|
319
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
320
|
-
>(
|
|
321
|
-
tasks: New<Type, Config, StatusData>[],
|
|
322
|
-
schemas: Schemas<Type, Config, StatusData>,
|
|
323
|
-
): Promise<Task<Type, Config, StatusData>[]>;
|
|
324
|
-
|
|
325
|
-
async create<
|
|
326
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
327
|
-
Config extends z.ZodType = z.ZodType,
|
|
328
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
329
|
-
>(
|
|
330
|
-
task: New<Type, Config, StatusData> | Array<New<Type, Config, StatusData>>,
|
|
331
|
-
schemas?: Schemas<Type, Config, StatusData>,
|
|
332
|
-
): Promise<Task<Type, Config, StatusData> | Array<Task<Type, Config, StatusData>>> {
|
|
268
|
+
|
|
269
|
+
async create<S extends Schemas>(task: New<S>, schemas: S): Promise<Task<S>>;
|
|
270
|
+
async create<S extends Schemas>(tasks: New<S>[], schemas: S): Promise<Task<S>[]>;
|
|
271
|
+
|
|
272
|
+
async create<S extends Schemas>(
|
|
273
|
+
task: New<S> | New<S>[],
|
|
274
|
+
schemas?: S,
|
|
275
|
+
): Promise<Task<S> | Task<S>[]> {
|
|
333
276
|
const isSingle = !Array.isArray(task);
|
|
334
277
|
const createReq = createReqZ(schemas);
|
|
335
278
|
const createRes = createResZ(schemas);
|
|
@@ -340,10 +283,7 @@ export class Client {
|
|
|
340
283
|
createReq,
|
|
341
284
|
createRes,
|
|
342
285
|
);
|
|
343
|
-
const sugared = this.sugar<
|
|
344
|
-
res.tasks as Payload<Type, Config, StatusData>[],
|
|
345
|
-
schemas,
|
|
346
|
-
);
|
|
286
|
+
const sugared = this.sugar<S>(res.tasks as Payload<S>[], schemas);
|
|
347
287
|
return isSingle ? sugared[0] : sugared;
|
|
348
288
|
}
|
|
349
289
|
|
|
@@ -357,32 +297,18 @@ export class Client {
|
|
|
357
297
|
);
|
|
358
298
|
}
|
|
359
299
|
|
|
360
|
-
async retrieve<
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
StatusData extends z.ZodType,
|
|
364
|
-
>(
|
|
365
|
-
args: RetrieveSingleParams & RetrieveSchemas<Type, Config, StatusData>,
|
|
366
|
-
): Promise<Task<Type, Config, StatusData>>;
|
|
300
|
+
async retrieve<S extends Schemas = Schemas>(
|
|
301
|
+
args: RetrieveSingleParams & RetrieveSchemas<S>,
|
|
302
|
+
): Promise<Task<S>>;
|
|
367
303
|
async retrieve(args: RetrieveSingleParams): Promise<Task>;
|
|
368
|
-
async retrieve<
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
StatusData extends z.ZodType,
|
|
372
|
-
>(
|
|
373
|
-
args: RetrieveMultipleParams & RetrieveSchemas<Type, Config, StatusData>,
|
|
374
|
-
): Promise<Task<Type, Config, StatusData>[]>;
|
|
304
|
+
async retrieve<S extends Schemas = Schemas>(
|
|
305
|
+
args: RetrieveMultipleParams & RetrieveSchemas<S>,
|
|
306
|
+
): Promise<Task<S>[]>;
|
|
375
307
|
async retrieve(args: RetrieveMultipleParams): Promise<Task[]>;
|
|
376
|
-
async retrieve<
|
|
377
|
-
Type extends z.ZodLiteral<string>,
|
|
378
|
-
Config extends z.ZodType,
|
|
379
|
-
StatusData extends z.ZodType,
|
|
380
|
-
>({
|
|
308
|
+
async retrieve<S extends Schemas = Schemas>({
|
|
381
309
|
schemas,
|
|
382
310
|
...args
|
|
383
|
-
}: RetrieveArgs & RetrieveSchemas<
|
|
384
|
-
Task<Type, Config, StatusData> | Task<Type, Config, StatusData>[]
|
|
385
|
-
> {
|
|
311
|
+
}: RetrieveArgs & RetrieveSchemas<S>): Promise<Task<S> | Task<S>[]> {
|
|
386
312
|
const isSingle = singleRetrieveArgsZ.safeParse(args).success;
|
|
387
313
|
const res = await sendRequired(
|
|
388
314
|
this.client,
|
|
@@ -391,8 +317,8 @@ export class Client {
|
|
|
391
317
|
retrieveArgsZ,
|
|
392
318
|
retrieveResZ(schemas),
|
|
393
319
|
);
|
|
394
|
-
const tasks = res.tasks as Payload<
|
|
395
|
-
const sugared = this.sugar
|
|
320
|
+
const tasks = res.tasks as Payload<S>[];
|
|
321
|
+
const sugared = this.sugar(tasks, schemas);
|
|
396
322
|
checkForMultipleOrNoResults("Task", args, sugared, isSingle);
|
|
397
323
|
return isSingle ? sugared[0] : sugared;
|
|
398
324
|
}
|
|
@@ -420,32 +346,14 @@ export class Client {
|
|
|
420
346
|
return await retrieveSnapshottedTo(taskKey, this.ontologyClient);
|
|
421
347
|
}
|
|
422
348
|
|
|
423
|
-
sugar<
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
>(
|
|
428
|
-
payloads: Payload<
|
|
429
|
-
schemas?:
|
|
430
|
-
): Task<
|
|
431
|
-
|
|
432
|
-
sugar<
|
|
433
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
434
|
-
Config extends z.ZodType = z.ZodType,
|
|
435
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
436
|
-
>(
|
|
437
|
-
payload: Payload<Type, Config, StatusData>,
|
|
438
|
-
schemas?: Schemas<Type, Config, StatusData>,
|
|
439
|
-
): Task<Type, Config, StatusData>;
|
|
440
|
-
|
|
441
|
-
sugar<
|
|
442
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
443
|
-
Config extends z.ZodType = z.ZodType,
|
|
444
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
445
|
-
>(
|
|
446
|
-
payloads: Payload<Type, Config, StatusData> | Payload<Type, Config, StatusData>[],
|
|
447
|
-
schemas?: Schemas<Type, Config, StatusData>,
|
|
448
|
-
): Task<Type, Config, StatusData>[] | Task<Type, Config, StatusData> {
|
|
349
|
+
sugar<S extends Schemas = Schemas>(payloads: Payload<S>[], schemas?: S): Task<S>[];
|
|
350
|
+
|
|
351
|
+
sugar<S extends Schemas = Schemas>(payload: Payload<S>, schemas?: S): Task<S>;
|
|
352
|
+
|
|
353
|
+
sugar<S extends Schemas = Schemas>(
|
|
354
|
+
payloads: Payload<S> | Payload<S>[],
|
|
355
|
+
schemas?: S,
|
|
356
|
+
): Task<S>[] | Task<S> {
|
|
449
357
|
const isSingle = !Array.isArray(payloads);
|
|
450
358
|
const res = array.toArray(payloads).map(
|
|
451
359
|
({ key, name, type, config, status, internal, snapshot }) =>
|
package/src/task/payload.ts
CHANGED
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
// License, use of this software will be governed by the Apache License, Version 2.0,
|
|
8
8
|
// included in the file licenses/APL.txt.
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { type observe, record, status } from "@synnaxlabs/x";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
13
13
|
import { type Key as RackKey } from "@/rack/payload";
|
|
14
|
-
import { decodeJSONString } from "@/util/decodeJSONString";
|
|
15
14
|
import { parseWithoutKeyConversion } from "@/util/parseWithoutKeyConversion";
|
|
16
15
|
|
|
17
16
|
export const keyZ = z.union([
|
|
@@ -22,12 +21,7 @@ export const keyZ = z.union([
|
|
|
22
21
|
export type Key = z.infer<typeof keyZ>;
|
|
23
22
|
|
|
24
23
|
export const statusDetailsZ = <DataSchema extends z.ZodType>(data: DataSchema) =>
|
|
25
|
-
z.object({
|
|
26
|
-
task: keyZ,
|
|
27
|
-
running: z.boolean(),
|
|
28
|
-
data,
|
|
29
|
-
cmd: z.string().optional(),
|
|
30
|
-
});
|
|
24
|
+
z.object({ task: keyZ, running: z.boolean(), data, cmd: z.string().optional() });
|
|
31
25
|
|
|
32
26
|
export type StatusDetails<DataSchema extends z.ZodType> = z.infer<
|
|
33
27
|
ReturnType<typeof statusDetailsZ<DataSchema>>
|
|
@@ -36,9 +30,9 @@ export type StatusDetails<DataSchema extends z.ZodType> = z.infer<
|
|
|
36
30
|
export const statusZ = <DataSchema extends z.ZodType>(data: DataSchema) =>
|
|
37
31
|
status.statusZ(statusDetailsZ(data));
|
|
38
32
|
|
|
39
|
-
export
|
|
33
|
+
export interface Status<StatusData extends z.ZodType = z.ZodUnknown> extends z.infer<
|
|
40
34
|
ReturnType<typeof statusZ<StatusData>>
|
|
41
|
-
|
|
35
|
+
> {}
|
|
42
36
|
|
|
43
37
|
const newStatusDetailsZ = <DataSchema extends z.ZodType>(data: DataSchema) =>
|
|
44
38
|
statusDetailsZ(data).partial({ task: true });
|
|
@@ -46,83 +40,65 @@ const newStatusDetailsZ = <DataSchema extends z.ZodType>(data: DataSchema) =>
|
|
|
46
40
|
export const newStatusZ = <DataSchema extends z.ZodType>(data: DataSchema) =>
|
|
47
41
|
status.statusZ(newStatusDetailsZ(data)).partial({ key: true, name: true });
|
|
48
42
|
|
|
49
|
-
export interface NewStatus<DataSchema extends z.ZodType = z.
|
|
43
|
+
export interface NewStatus<DataSchema extends z.ZodType = z.ZodType> extends z.infer<
|
|
50
44
|
ReturnType<typeof newStatusZ<DataSchema>>
|
|
51
45
|
> {}
|
|
52
46
|
|
|
53
|
-
export
|
|
47
|
+
export interface Schemas<
|
|
54
48
|
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
55
49
|
Config extends z.ZodType = z.ZodType,
|
|
56
|
-
StatusData extends z.ZodType = z.
|
|
57
|
-
>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
50
|
+
StatusData extends z.ZodType = z.ZodType,
|
|
51
|
+
> {
|
|
52
|
+
type: Type;
|
|
53
|
+
config: Config;
|
|
54
|
+
statusData: StatusData;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export const taskZ = <S extends Schemas = Schemas>(
|
|
58
|
+
schemas = {
|
|
59
|
+
type: z.string() as unknown as S["type"],
|
|
60
|
+
config: record.nullishToEmpty() as S["config"],
|
|
61
|
+
statusData: z.unknown() as S["statusData"],
|
|
62
62
|
},
|
|
63
63
|
) =>
|
|
64
64
|
z.object({
|
|
65
65
|
key: keyZ,
|
|
66
66
|
name: z.string(),
|
|
67
|
-
type: schemas.
|
|
67
|
+
type: schemas.type,
|
|
68
68
|
internal: z.boolean().optional(),
|
|
69
|
-
config:
|
|
70
|
-
status: statusZ(schemas.
|
|
69
|
+
config: schemas.config,
|
|
70
|
+
status: statusZ(schemas.statusData).optional().nullable(),
|
|
71
71
|
snapshot: z.boolean().optional(),
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export interface Schemas
|
|
75
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
76
|
-
Config extends z.ZodType = z.ZodType,
|
|
77
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
78
|
-
> {
|
|
79
|
-
typeSchema: Type;
|
|
80
|
-
configSchema: Config;
|
|
81
|
-
statusDataSchema: StatusData;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export type Payload<
|
|
85
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
86
|
-
Config extends z.ZodType = z.ZodType,
|
|
87
|
-
StatusData extends z.ZodType = z.ZodType,
|
|
88
|
-
> = {
|
|
74
|
+
export interface Payload<S extends Schemas = Schemas> {
|
|
89
75
|
key: Key;
|
|
90
76
|
name: string;
|
|
91
|
-
type: z.infer<
|
|
92
|
-
config: z.infer<
|
|
93
|
-
status?: Status<
|
|
77
|
+
type: z.infer<S["type"]>;
|
|
78
|
+
config: z.infer<S["config"]>;
|
|
79
|
+
status?: Status<S["statusData"]>;
|
|
94
80
|
snapshot?: boolean;
|
|
95
81
|
internal?: boolean;
|
|
96
|
-
}
|
|
82
|
+
}
|
|
97
83
|
|
|
98
|
-
export const newZ = <
|
|
99
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
100
|
-
Config extends z.ZodType = z.ZodType,
|
|
101
|
-
StatusData extends z.ZodType = z.ZodUnknown,
|
|
102
|
-
>(
|
|
103
|
-
schemas?: Schemas<Type, Config, StatusData>,
|
|
104
|
-
) =>
|
|
84
|
+
export const newZ = <S extends Schemas = Schemas>(schemas?: S) =>
|
|
105
85
|
taskZ(schemas)
|
|
106
86
|
.omit({ key: true, status: true })
|
|
107
87
|
.extend({
|
|
108
88
|
key: keyZ.transform((k) => k.toString()).optional(),
|
|
109
|
-
config:
|
|
110
|
-
status: newStatusZ(schemas?.
|
|
89
|
+
config: schemas?.config ?? record.nullishToEmpty(),
|
|
90
|
+
status: newStatusZ(schemas?.statusData ?? z.unknown())
|
|
111
91
|
.optional()
|
|
112
92
|
.nullable(),
|
|
113
93
|
});
|
|
114
94
|
|
|
115
|
-
export
|
|
116
|
-
Type extends z.ZodLiteral<string> = z.ZodLiteral<string>,
|
|
117
|
-
Config extends z.ZodType = z.ZodType,
|
|
118
|
-
StatusData extends z.ZodType = z.ZodUnknown,
|
|
119
|
-
> = {
|
|
95
|
+
export interface New<S extends Schemas = Schemas> {
|
|
120
96
|
key?: Key;
|
|
121
97
|
name: string;
|
|
122
|
-
type: z.infer<
|
|
123
|
-
config: z.infer<
|
|
124
|
-
status?: NewStatus<
|
|
125
|
-
}
|
|
98
|
+
type: z.infer<S["type"]>;
|
|
99
|
+
config: z.infer<S["config"]>;
|
|
100
|
+
status?: NewStatus<S["statusData"]>;
|
|
101
|
+
}
|
|
126
102
|
|
|
127
103
|
export const commandZ = z.object({
|
|
128
104
|
task: keyZ,
|
package/src/workspace/client.ts
CHANGED
|
@@ -13,8 +13,6 @@ import { z } from "zod";
|
|
|
13
13
|
|
|
14
14
|
import { ontology } from "@/ontology";
|
|
15
15
|
import { keyZ as userKeyZ } from "@/user/payload";
|
|
16
|
-
import { lineplot } from "@/workspace/lineplot";
|
|
17
|
-
import { log } from "@/workspace/log";
|
|
18
16
|
import {
|
|
19
17
|
type Key,
|
|
20
18
|
keyZ,
|
|
@@ -25,8 +23,6 @@ import {
|
|
|
25
23
|
type Workspace,
|
|
26
24
|
workspaceZ,
|
|
27
25
|
} from "@/workspace/payload";
|
|
28
|
-
import { schematic } from "@/workspace/schematic";
|
|
29
|
-
import { table } from "@/workspace/table";
|
|
30
26
|
|
|
31
27
|
const retrieveReqZ = z.object({
|
|
32
28
|
keys: keyZ.array().optional(),
|
|
@@ -54,18 +50,10 @@ export const DELETE_CHANNEL_NAME = "sy_workspace_delete";
|
|
|
54
50
|
export interface SetLayoutArgs extends z.input<typeof setLayoutReqZ> {}
|
|
55
51
|
|
|
56
52
|
export class Client {
|
|
57
|
-
readonly schematics: schematic.Client;
|
|
58
|
-
readonly lineplots: lineplot.Client;
|
|
59
|
-
readonly logs: log.Client;
|
|
60
|
-
readonly tables: table.Client;
|
|
61
53
|
private readonly client: UnaryClient;
|
|
62
54
|
|
|
63
55
|
constructor(client: UnaryClient) {
|
|
64
56
|
this.client = client;
|
|
65
|
-
this.schematics = new schematic.Client(client);
|
|
66
|
-
this.lineplots = new lineplot.Client(client);
|
|
67
|
-
this.logs = new log.Client(client);
|
|
68
|
-
this.tables = new table.Client(client);
|
|
69
57
|
}
|
|
70
58
|
|
|
71
59
|
async create(workspace: New): Promise<Workspace>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"access.spec.d.ts","sourceRoot":"","sources":["../../../../src/ontology/group/access.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/ontology/group/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,KAAK,KAAK,EAAU,KAAK,GAAG,EAAQ,MAAM,0BAA0B,CAAC;AAG9E,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AAIrD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAId,CAAC;AAMH,MAAM,WAAW,UAAW,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC;CAAG;AAEjE,qBAAa,MAAM;IACjB,MAAM,EAAE,WAAW,CAAC;gBAER,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC;IAWxC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU7C,MAAM,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAS/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../../src/ontology/group/external.ts"],"names":[],"mappings":"AASA,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"group.spec.d.ts","sourceRoot":"","sources":["../../../../src/ontology/group/group.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ontology/group/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/ontology/group/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACvC,eAAO,MAAM,KAAK,aAAa,CAAC;AAChC,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC;AACzC,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;AAC/C,eAAO,MAAM,MAAM;;;iBAAuC,CAAC;AAC3D,MAAM,WAAW,KAAM,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM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AG,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IAgBtE,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CASlE;AAED,eAAO,MAAM,MAAM;;;;iBAIjB,CAAC;AACH,MAAM,WAAW,KAAM,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC;CAAG;AAExD,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAIvD,eAAO,MAAM,QAAQ,GAAI,OAAO,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,CAAC,KAAG,MACrB,CAAC;AAE/C,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,GAAG,CAAC;IACX,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC;CACtB;AAED,eAAO,MAAM,uBAAuB,GAClC,cAAc,MAAM,KACnB,wBAGF,CAAC"}
|
package/dist/src/ranger/kv.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { UnaryClient } from '@synnaxlabs/freighter';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
import { Key } from './payload';
|
|
4
|
-
export declare const KV_SET_CHANNEL = "sy_range_kv_set";
|
|
5
|
-
export declare const KV_DELETE_CHANNEL = "sy_range_kv_delete";
|
|
6
|
-
export declare const kvPairZ: z.ZodObject<{
|
|
7
|
-
range: z.ZodUUID;
|
|
8
|
-
key: z.ZodString;
|
|
9
|
-
value: z.ZodString;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
export interface KVPair extends z.infer<typeof kvPairZ> {
|
|
12
|
-
}
|
|
13
|
-
export declare const kvPairKey: ({ range, key }: Omit<KVPair, "value">) => string;
|
|
14
|
-
declare const getReqZ: z.ZodObject<{
|
|
15
|
-
range: z.ZodUUID;
|
|
16
|
-
keys: z.ZodArray<z.ZodString>;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
export interface GetRequest extends z.infer<typeof getReqZ> {
|
|
19
|
-
}
|
|
20
|
-
declare const setReqZ: z.ZodObject<{
|
|
21
|
-
range: z.ZodUUID;
|
|
22
|
-
pairs: z.ZodArray<z.ZodObject<{
|
|
23
|
-
range: z.ZodUUID;
|
|
24
|
-
key: z.ZodString;
|
|
25
|
-
value: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
|
-
export interface SetRequest extends z.infer<typeof setReqZ> {
|
|
29
|
-
}
|
|
30
|
-
declare const deleteReqZ: z.ZodObject<{
|
|
31
|
-
range: z.ZodUUID;
|
|
32
|
-
keys: z.ZodArray<z.ZodString>;
|
|
33
|
-
}, z.core.$strip>;
|
|
34
|
-
export interface DeleteRequest extends z.infer<typeof deleteReqZ> {
|
|
35
|
-
}
|
|
36
|
-
export declare class KV {
|
|
37
|
-
private readonly rangeKey;
|
|
38
|
-
private readonly client;
|
|
39
|
-
constructor(rng: Key, client: UnaryClient);
|
|
40
|
-
get(key: string): Promise<string>;
|
|
41
|
-
get(keys: string[]): Promise<Record<string, string>>;
|
|
42
|
-
list(): Promise<Record<string, string>>;
|
|
43
|
-
set(key: string, value: string): Promise<void>;
|
|
44
|
-
set(kv: Record<string, string>): Promise<void>;
|
|
45
|
-
delete(key: string | string[]): Promise<void>;
|
|
46
|
-
}
|
|
47
|
-
export {};
|
|
48
|
-
//# sourceMappingURL=kv.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kv.d.ts","sourceRoot":"","sources":["../../../src/ranger/kv.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,KAAK,GAAG,EAAQ,MAAM,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GAAG,OAAO,CAAC,IAAI,CAAC;IAoB9C,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CASpD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"access.spec.d.ts","sourceRoot":"","sources":["../../../../src/workspace/lineplot/access.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/workspace/lineplot/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAS,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EACL,KAAK,GAAG,EAER,KAAK,QAAQ,EAEb,KAAK,GAAG,EAER,KAAK,MAAM,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,GAAG,IAAI,YAAY,EAAyB,MAAM,qBAAqB,CAAC;AAOtF,QAAA,MAAM,YAAY;;iBAAmC,CAAC;AACtD,QAAA,MAAM,mBAAmB;;;;;;GAEmB,CAAC;AAE7C,eAAO,MAAM,aAAa;;;;;;;;mBAA+C,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACzD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACvE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AASlE,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;gBAEzB,MAAM,EAAE,WAAW;IAIzB,MAAM,CAAC,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC;IACjE,MAAM,CAAC,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAgBtE,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU7C,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAUtD,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC;IACvD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;IAgB3D,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAS1C;AAED,eAAO,MAAM,UAAU,2BAA4C,CAAC;AACpE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../../src/workspace/lineplot/external.ts"],"names":[],"mappings":"AASA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/workspace/lineplot/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,QAAQ,MAAM,+BAA+B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lineplot.spec.d.ts","sourceRoot":"","sources":["../../../../src/workspace/lineplot/lineplot.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/workspace/lineplot/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;AAEjC,eAAO,MAAM,SAAS;;;;iBAIpB,CAAC;AACH,MAAM,WAAW,QAAS,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC;CAAG;AAE9D,eAAO,MAAM,IAAI;;;;;;;;;;;;GAE4C,CAAC;AAC9D,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"access.spec.d.ts","sourceRoot":"","sources":["../../../../src/workspace/log/access.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/workspace/log/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAS,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EACL,KAAK,GAAG,EAER,KAAK,GAAG,EAER,KAAK,GAAG,EAER,KAAK,MAAM,EACZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,GAAG,IAAI,YAAY,EAAyB,MAAM,qBAAqB,CAAC;AAOtF,QAAA,MAAM,YAAY;;iBAAmC,CAAC;AACtD,QAAA,MAAM,mBAAmB;;;;;;GAEmB,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AyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/workspace/log/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,GAAG,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.spec.d.ts","sourceRoot":"","sources":["../../../../src/workspace/log/log.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/workspace/log/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;AAEjC,eAAO,MAAM,IAAI;;;;iBAIf,CAAC;AACH,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEpD,eAAO,MAAM,IAAI;;;;;;;;;;;;GAE4C,CAAC;AAC9D,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"access.spec.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schematic/access.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schematic/client.ts"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAS,KAAK,MAA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AAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU7C,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAUtD,QAAQ,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,SAAS,CAAC;IACxD,QAAQ,CAAC,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAgB5D,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAUnC,IAAI,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC;CAU/C;AAED,eAAO,MAAM,UAAU,2BAA6C,CAAC;AACrE,eAAO,MAAM,gBAAgB;;;;;;CAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schematic/external.ts"],"names":[],"mappings":"AASA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schematic/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,SAAS,MAAM,gCAAgC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schematic/payload.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,IAAI,WAAW,CAAC;AAC7B,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC;AAEjC,eAAO,MAAM,UAAU;;;;;iBAKrB,CAAC;AACH,MAAM,WAAW,SAAU,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC;CAAG;AAEhE,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;GAE4C,CAAC;AAC9D,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;CAAG;AAEpD,eAAO,MAAM,OAAO;;;;;iBAElB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schematic.spec.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schematic/schematic.spec.ts"],"names":[],"mappings":""}
|