@synnaxlabs/client 0.44.1 → 0.44.2

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 (67) hide show
  1. package/.turbo/turbo-build.log +5 -5
  2. package/dist/channel/client.d.ts +11 -4
  3. package/dist/channel/client.d.ts.map +1 -1
  4. package/dist/channel/payload.d.ts +86 -14
  5. package/dist/channel/payload.d.ts.map +1 -1
  6. package/dist/channel/writer.d.ts.map +1 -1
  7. package/dist/client.cjs +20 -20
  8. package/dist/client.js +1803 -1764
  9. package/dist/framer/streamer.d.ts +96 -0
  10. package/dist/framer/streamer.d.ts.map +1 -1
  11. package/dist/framer/writer.d.ts +80 -0
  12. package/dist/framer/writer.d.ts.map +1 -1
  13. package/dist/hardware/device/payload.d.ts +4 -4
  14. package/dist/hardware/rack/payload.d.ts +4 -4
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/ontology/payload.d.ts +1 -0
  18. package/dist/ontology/payload.d.ts.map +1 -1
  19. package/dist/ranger/alias.d.ts +5 -1
  20. package/dist/ranger/alias.d.ts.map +1 -1
  21. package/dist/ranger/client.d.ts +5 -1
  22. package/dist/ranger/client.d.ts.map +1 -1
  23. package/dist/ranger/external.d.ts +1 -1
  24. package/dist/ranger/external.d.ts.map +1 -1
  25. package/dist/ranger/kv.d.ts +1 -0
  26. package/dist/ranger/kv.d.ts.map +1 -1
  27. package/dist/ranger/payload.d.ts +3 -7
  28. package/dist/ranger/payload.d.ts.map +1 -1
  29. package/dist/ranger/writer.d.ts +1 -1
  30. package/dist/testutil/client.d.ts +1 -1
  31. package/dist/testutil/client.d.ts.map +1 -1
  32. package/dist/workspace/payload.d.ts +1 -1
  33. package/package.json +2 -2
  34. package/src/access/policy/policy.spec.ts +3 -3
  35. package/src/channel/channel.spec.ts +2 -2
  36. package/src/channel/client.ts +21 -5
  37. package/src/channel/payload.ts +4 -4
  38. package/src/channel/writer.ts +4 -1
  39. package/src/control/state.spec.ts +2 -2
  40. package/src/errors.spec.ts +2 -2
  41. package/src/framer/adapter.spec.ts +2 -2
  42. package/src/framer/client.spec.ts +2 -2
  43. package/src/framer/deleter.spec.ts +2 -2
  44. package/src/framer/iterator.spec.ts +2 -2
  45. package/src/framer/streamer.spec.ts +2 -2
  46. package/src/framer/writer.spec.ts +3 -2
  47. package/src/hardware/device/device.spec.ts +2 -2
  48. package/src/hardware/rack/rack.spec.ts +2 -2
  49. package/src/hardware/task/task.spec.ts +2 -2
  50. package/src/index.ts +1 -1
  51. package/src/label/label.spec.ts +2 -2
  52. package/src/ontology/group/group.spec.ts +2 -2
  53. package/src/ontology/ontology.spec.ts +2 -2
  54. package/src/ontology/payload.ts +3 -0
  55. package/src/ranger/alias.ts +27 -1
  56. package/src/ranger/client.ts +30 -3
  57. package/src/ranger/external.ts +1 -9
  58. package/src/ranger/kv.ts +3 -0
  59. package/src/ranger/payload.ts +4 -2
  60. package/src/ranger/ranger.spec.ts +3 -3
  61. package/src/testutil/client.ts +1 -1
  62. package/src/user/user.spec.ts +2 -2
  63. package/src/workspace/lineplot/lineplot.spec.ts +2 -2
  64. package/src/workspace/log/log.spec.ts +2 -2
  65. package/src/workspace/schematic/schematic.spec.ts +2 -2
  66. package/src/workspace/table/table.spec.ts +2 -2
  67. package/src/workspace/workspace.spec.ts +2 -2
@@ -10,9 +10,9 @@
10
10
  import { uuid } from "@synnaxlabs/x";
11
11
  import { describe, expect, test } from "vitest";
12
12
 
13
- import { newTestClient } from "@/testutil/client";
13
+ import { createTestClient } from "@/testutil/client";
14
14
 
15
- const client = newTestClient();
15
+ const client = createTestClient();
16
16
 
17
17
  describe("LinePlot", () => {
18
18
  describe("create", () => {
@@ -10,9 +10,9 @@
10
10
  import { uuid } from "@synnaxlabs/x";
11
11
  import { describe, expect, test } from "vitest";
12
12
 
13
- import { newTestClient } from "@/testutil/client";
13
+ import { createTestClient } from "@/testutil/client";
14
14
 
15
- const client = newTestClient();
15
+ const client = createTestClient();
16
16
 
17
17
  describe("Log", () => {
18
18
  describe("create", () => {
@@ -11,9 +11,9 @@ import { uuid } from "@synnaxlabs/x";
11
11
  import { describe, expect, it, test } from "vitest";
12
12
 
13
13
  import { ValidationError } from "@/errors";
14
- import { newTestClient } from "@/testutil/client";
14
+ import { createTestClient } from "@/testutil/client";
15
15
 
16
- const client = newTestClient();
16
+ const client = createTestClient();
17
17
 
18
18
  describe("Schematic", () => {
19
19
  describe("create", () => {
@@ -10,9 +10,9 @@
10
10
  import { uuid } from "@synnaxlabs/x";
11
11
  import { describe, expect, test } from "vitest";
12
12
 
13
- import { newTestClient } from "@/testutil/client";
13
+ import { createTestClient } from "@/testutil/client";
14
14
 
15
- const client = newTestClient();
15
+ const client = createTestClient();
16
16
 
17
17
  describe("Table", () => {
18
18
  describe("create", () => {
@@ -10,9 +10,9 @@
10
10
  import { uuid } from "@synnaxlabs/x";
11
11
  import { describe, expect, test } from "vitest";
12
12
 
13
- import { newTestClient } from "@/testutil/client";
13
+ import { createTestClient } from "@/testutil/client";
14
14
 
15
- const client = newTestClient();
15
+ const client = createTestClient();
16
16
 
17
17
  describe("Workspace", () => {
18
18
  describe("create", () => {