@synnaxlabs/client 0.54.2 → 0.55.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 (46) hide show
  1. package/.turbo/turbo-build.log +6 -6
  2. package/dist/client.cjs +28 -34
  3. package/dist/client.js +5341 -5193
  4. package/dist/src/arc/arc.spec.d.ts +2 -0
  5. package/dist/src/arc/arc.spec.d.ts.map +1 -0
  6. package/dist/src/arc/graph/types.gen.d.ts +20 -20
  7. package/dist/src/arc/ir/types.gen.d.ts +145 -176
  8. package/dist/src/arc/ir/types.gen.d.ts.map +1 -1
  9. package/dist/src/arc/module/types.gen.d.ts +46 -65
  10. package/dist/src/arc/module/types.gen.d.ts.map +1 -1
  11. package/dist/src/arc/program/types.gen.d.ts +46 -65
  12. package/dist/src/arc/program/types.gen.d.ts.map +1 -1
  13. package/dist/src/arc/types.gen.d.ts +86 -105
  14. package/dist/src/arc/types.gen.d.ts.map +1 -1
  15. package/dist/src/auth/auth.d.ts.map +1 -1
  16. package/dist/src/channel/types.gen.d.ts.map +1 -1
  17. package/dist/src/client.d.ts +5 -0
  18. package/dist/src/client.d.ts.map +1 -1
  19. package/dist/src/connection/checker.d.ts +17 -2
  20. package/dist/src/connection/checker.d.ts.map +1 -1
  21. package/dist/src/control/state.d.ts.map +1 -1
  22. package/dist/src/framer/client.d.ts.map +1 -1
  23. package/dist/src/task/client.d.ts.map +1 -1
  24. package/package.json +10 -10
  25. package/src/arc/arc.spec.ts +44 -0
  26. package/src/arc/ir/types.gen.ts +101 -47
  27. package/src/auth/auth.ts +13 -1
  28. package/src/channel/channel.spec.ts +13 -0
  29. package/src/channel/types.gen.ts +1 -2
  30. package/src/client.ts +3 -0
  31. package/src/connection/checker.ts +44 -5
  32. package/src/connection/connection.spec.ts +67 -2
  33. package/src/control/state.ts +5 -4
  34. package/src/device/device.spec.ts +7 -5
  35. package/src/framer/client.ts +12 -0
  36. package/src/framer/writer.spec.ts +144 -1
  37. package/src/label/label.spec.ts +12 -0
  38. package/src/ontology/ontology.spec.ts +10 -0
  39. package/src/rack/rack.spec.ts +12 -1
  40. package/src/ranger/ranger.spec.ts +12 -0
  41. package/src/schematic/symbol/client.spec.ts +33 -9
  42. package/src/status/status.spec.ts +7 -6
  43. package/src/task/client.ts +7 -9
  44. package/src/task/task.spec.ts +15 -1
  45. package/src/view/view.spec.ts +9 -5
  46. package/src/workspace/workspace.spec.ts +14 -1
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=arc.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arc.spec.d.ts","sourceRoot":"","sources":["../../../src/arc/arc.spec.ts"],"names":[],"mappings":""}
@@ -58,10 +58,7 @@ export declare const graphZ: z.ZodObject<{
58
58
  }, z.core.$strip>;
59
59
  functions: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
60
60
  key: string;
61
- body?: {
62
- raw: string;
63
- } | undefined;
64
- config?: {
61
+ config: {
65
62
  name: string;
66
63
  type: {
67
64
  kind: import('../types/types.gen').Kind;
@@ -134,8 +131,8 @@ export declare const graphZ: z.ZodObject<{
134
131
  chanDirection?: import('../types/types.gen').ChanDirection | undefined;
135
132
  };
136
133
  value?: unknown;
137
- }[] | undefined;
138
- inputs?: {
134
+ }[];
135
+ inputs: {
139
136
  name: string;
140
137
  type: {
141
138
  kind: import('../types/types.gen').Kind;
@@ -208,8 +205,8 @@ export declare const graphZ: z.ZodObject<{
208
205
  chanDirection?: import('../types/types.gen').ChanDirection | undefined;
209
206
  };
210
207
  value?: unknown;
211
- }[] | undefined;
212
- outputs?: {
208
+ }[];
209
+ outputs: {
213
210
  name: string;
214
211
  type: {
215
212
  kind: import('../types/types.gen').Kind;
@@ -282,17 +279,20 @@ export declare const graphZ: z.ZodObject<{
282
279
  chanDirection?: import('../types/types.gen').ChanDirection | undefined;
283
280
  };
284
281
  value?: unknown;
285
- }[] | undefined;
286
- channels?: {
282
+ }[];
283
+ channels: {
287
284
  read: Record<number, string>;
288
285
  write: Record<number, string>;
286
+ };
287
+ body?: {
288
+ raw: string;
289
289
  } | undefined;
290
290
  }[], null | undefined>>, z.ZodArray<z.ZodObject<{
291
291
  key: z.ZodString;
292
292
  body: z.ZodOptional<z.ZodObject<{
293
293
  raw: z.ZodString;
294
294
  }, z.core.$strip>>;
295
- config: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
295
+ config: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
296
296
  name: string;
297
297
  type: {
298
298
  kind: import('../types/types.gen').Kind;
@@ -392,8 +392,8 @@ export declare const graphZ: z.ZodObject<{
392
392
  chanDirection: z.ZodOptional<z.ZodEnum<typeof import('../types/types.gen').ChanDirection>>;
393
393
  }, z.core.$strip>;
394
394
  value: z.ZodOptional<z.ZodUnknown>;
395
- }, z.core.$strip>>]>>;
396
- inputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
395
+ }, z.core.$strip>>]>;
396
+ inputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
397
397
  name: string;
398
398
  type: {
399
399
  kind: import('../types/types.gen').Kind;
@@ -493,8 +493,8 @@ export declare const graphZ: z.ZodObject<{
493
493
  chanDirection: z.ZodOptional<z.ZodEnum<typeof import('../types/types.gen').ChanDirection>>;
494
494
  }, z.core.$strip>;
495
495
  value: z.ZodOptional<z.ZodUnknown>;
496
- }, z.core.$strip>>]>>;
497
- outputs: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
496
+ }, z.core.$strip>>]>;
497
+ outputs: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
498
498
  name: string;
499
499
  type: {
500
500
  kind: import('../types/types.gen').Kind;
@@ -594,11 +594,11 @@ export declare const graphZ: z.ZodObject<{
594
594
  chanDirection: z.ZodOptional<z.ZodEnum<typeof import('../types/types.gen').ChanDirection>>;
595
595
  }, z.core.$strip>;
596
596
  value: z.ZodOptional<z.ZodUnknown>;
597
- }, z.core.$strip>>]>>;
598
- channels: z.ZodOptional<z.ZodObject<{
597
+ }, z.core.$strip>>]>;
598
+ channels: z.ZodObject<{
599
599
  read: z.ZodRecord<z.ZodUInt32, z.ZodString>;
600
600
  write: z.ZodRecord<z.ZodUInt32, z.ZodString>;
601
- }, z.core.$strip>>;
601
+ }, z.core.$strip>;
602
602
  }, z.core.$strip>>]>;
603
603
  edges: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
604
604
  source: {
@@ -609,7 +609,7 @@ export declare const graphZ: z.ZodObject<{
609
609
  node: string;
610
610
  param: string;
611
611
  };
612
- kind?: ir.EdgeKind | undefined;
612
+ kind: ir.EdgeKind;
613
613
  }[], null | undefined>>, z.ZodArray<z.ZodObject<{
614
614
  source: z.ZodObject<{
615
615
  node: z.ZodString;
@@ -619,7 +619,7 @@ export declare const graphZ: z.ZodObject<{
619
619
  node: z.ZodString;
620
620
  param: z.ZodString;
621
621
  }, z.core.$strip>;
622
- kind: z.ZodOptional<z.ZodEnum<typeof ir.EdgeKind>>;
622
+ kind: z.ZodEnum<typeof ir.EdgeKind>;
623
623
  }, z.core.$strip>>]>;
624
624
  nodes: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNull, z.ZodUndefined]>, z.ZodTransform<{
625
625
  key: string;