@synnaxlabs/client 0.34.0 → 0.36.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 (126) hide show
  1. package/.turbo/turbo-build.log +7 -7
  2. package/dist/access/policy/payload.d.ts +40 -40
  3. package/dist/access/policy/retriever.d.ts +5 -5
  4. package/dist/client.cjs +28 -28
  5. package/dist/client.d.ts +35 -0
  6. package/dist/client.d.ts.map +1 -1
  7. package/dist/client.js +3092 -2820
  8. package/dist/control/state.d.ts.map +1 -1
  9. package/dist/framer/deleter.d.ts.map +1 -1
  10. package/dist/framer/frame.d.ts +14 -7
  11. package/dist/framer/frame.d.ts.map +1 -1
  12. package/dist/framer/writer.d.ts +8 -8
  13. package/dist/framer/writer.d.ts.map +1 -1
  14. package/dist/hardware/device/client.d.ts +2 -2
  15. package/dist/hardware/device/client.d.ts.map +1 -1
  16. package/dist/hardware/device/payload.d.ts +2 -2
  17. package/dist/hardware/device/payload.d.ts.map +1 -1
  18. package/dist/hardware/task/client.d.ts +4 -2
  19. package/dist/hardware/task/client.d.ts.map +1 -1
  20. package/dist/hardware/task/payload.d.ts +9 -5
  21. package/dist/hardware/task/payload.d.ts.map +1 -1
  22. package/dist/index.d.ts +2 -0
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/label/writer.d.ts +5 -5
  25. package/dist/ontology/client.d.ts +8 -8
  26. package/dist/ontology/group/payload.d.ts +3 -0
  27. package/dist/ontology/group/payload.d.ts.map +1 -1
  28. package/dist/ontology/payload.d.ts +43 -43
  29. package/dist/ontology/payload.d.ts.map +1 -1
  30. package/dist/ranger/client.d.ts +1 -0
  31. package/dist/ranger/client.d.ts.map +1 -1
  32. package/dist/ranger/payload.d.ts.map +1 -1
  33. package/dist/ranger/writer.d.ts +5 -5
  34. package/dist/ranger/writer.d.ts.map +1 -1
  35. package/dist/transport.d.ts +2 -1
  36. package/dist/transport.d.ts.map +1 -1
  37. package/dist/workspace/client.d.ts +70 -11
  38. package/dist/workspace/client.d.ts.map +1 -1
  39. package/dist/workspace/index.d.ts +1 -1
  40. package/dist/workspace/index.d.ts.map +1 -1
  41. package/dist/workspace/lineplot/client.d.ts +48 -6
  42. package/dist/workspace/lineplot/client.d.ts.map +1 -1
  43. package/dist/workspace/lineplot/index.d.ts +1 -1
  44. package/dist/workspace/lineplot/index.d.ts.map +1 -1
  45. package/dist/workspace/log/client.d.ts +48 -6
  46. package/dist/workspace/log/client.d.ts.map +1 -1
  47. package/dist/workspace/log/index.d.ts +1 -1
  48. package/dist/workspace/log/index.d.ts.map +1 -1
  49. package/dist/workspace/schematic/client.d.ts +72 -6
  50. package/dist/workspace/schematic/client.d.ts.map +1 -1
  51. package/dist/workspace/schematic/index.d.ts +1 -1
  52. package/dist/workspace/schematic/index.d.ts.map +1 -1
  53. package/dist/workspace/table/client.d.ts +71 -0
  54. package/dist/workspace/table/client.d.ts.map +1 -0
  55. package/dist/workspace/table/index.d.ts +2 -0
  56. package/dist/workspace/table/index.d.ts.map +1 -0
  57. package/dist/workspace/table/table.spec.d.ts +2 -0
  58. package/dist/workspace/table/table.spec.d.ts.map +1 -0
  59. package/package.json +10 -10
  60. package/src/client.ts +16 -2
  61. package/src/control/state.ts +1 -1
  62. package/src/framer/frame.spec.ts +32 -3
  63. package/src/framer/frame.ts +17 -0
  64. package/src/hardware/device/client.ts +10 -4
  65. package/src/hardware/task/client.ts +51 -3
  66. package/src/hardware/task/payload.ts +21 -6
  67. package/src/index.ts +2 -0
  68. package/src/ontology/group/payload.ts +8 -7
  69. package/src/ontology/payload.ts +1 -0
  70. package/src/ranger/client.ts +4 -1
  71. package/src/transport.ts +8 -3
  72. package/src/workspace/client.ts +151 -47
  73. package/src/workspace/index.ts +1 -1
  74. package/src/workspace/lineplot/client.ts +96 -28
  75. package/src/workspace/lineplot/index.ts +1 -1
  76. package/src/workspace/log/client.ts +93 -28
  77. package/src/workspace/log/index.ts +1 -1
  78. package/src/workspace/schematic/client.ts +121 -29
  79. package/src/workspace/schematic/index.ts +1 -1
  80. package/src/workspace/table/client.ts +125 -0
  81. package/src/workspace/{external.ts → table/index.ts} +1 -2
  82. package/src/workspace/table/table.spec.ts +65 -0
  83. package/dist/workspace/external.d.ts +0 -3
  84. package/dist/workspace/external.d.ts.map +0 -1
  85. package/dist/workspace/lineplot/external.d.ts +0 -3
  86. package/dist/workspace/lineplot/external.d.ts.map +0 -1
  87. package/dist/workspace/lineplot/retriever.d.ts +0 -9
  88. package/dist/workspace/lineplot/retriever.d.ts.map +0 -1
  89. package/dist/workspace/lineplot/writer.d.ts +0 -35
  90. package/dist/workspace/lineplot/writer.d.ts.map +0 -1
  91. package/dist/workspace/log/external.d.ts +0 -3
  92. package/dist/workspace/log/external.d.ts.map +0 -1
  93. package/dist/workspace/log/payload.d.ts +0 -36
  94. package/dist/workspace/log/payload.d.ts.map +0 -1
  95. package/dist/workspace/log/retriever.d.ts +0 -9
  96. package/dist/workspace/log/retriever.d.ts.map +0 -1
  97. package/dist/workspace/log/writer.d.ts +0 -35
  98. package/dist/workspace/log/writer.d.ts.map +0 -1
  99. package/dist/workspace/payload.d.ts +0 -38
  100. package/dist/workspace/payload.d.ts.map +0 -1
  101. package/dist/workspace/retriever.d.ts +0 -13
  102. package/dist/workspace/retriever.d.ts.map +0 -1
  103. package/dist/workspace/schematic/external.d.ts +0 -3
  104. package/dist/workspace/schematic/external.d.ts.map +0 -1
  105. package/dist/workspace/schematic/payload.d.ts +0 -42
  106. package/dist/workspace/schematic/payload.d.ts.map +0 -1
  107. package/dist/workspace/schematic/retriever.d.ts +0 -9
  108. package/dist/workspace/schematic/retriever.d.ts.map +0 -1
  109. package/dist/workspace/schematic/writer.d.ts +0 -41
  110. package/dist/workspace/schematic/writer.d.ts.map +0 -1
  111. package/dist/workspace/writer.d.ts +0 -66
  112. package/dist/workspace/writer.d.ts.map +0 -1
  113. package/src/workspace/lineplot/external.ts +0 -11
  114. package/src/workspace/lineplot/retriever.ts +0 -34
  115. package/src/workspace/lineplot/writer.ts +0 -115
  116. package/src/workspace/log/external.ts +0 -11
  117. package/src/workspace/log/payload.ts +0 -36
  118. package/src/workspace/log/retriever.ts +0 -38
  119. package/src/workspace/log/writer.ts +0 -116
  120. package/src/workspace/payload.ts +0 -44
  121. package/src/workspace/retriever.ts +0 -70
  122. package/src/workspace/schematic/external.ts +0 -11
  123. package/src/workspace/schematic/payload.ts +0 -38
  124. package/src/workspace/schematic/retriever.ts +0 -42
  125. package/src/workspace/schematic/writer.ts +0 -140
  126. package/src/workspace/writer.ts +0 -111
@@ -1,17 +1,17 @@
1
1
 
2
- > @synnaxlabs/client@0.34.0 build /home/runner/work/synnax/synnax/client/ts
2
+ > @synnaxlabs/client@0.36.0 build /home/runner/work/synnax/synnax/client/ts
3
3
  > tsc --noEmit && vite build
4
4
 
5
5
   Synnax - Production mode
6
- vite v5.4.10 building for production...
6
+ vite v6.0.3 building for production...
7
7
  transforming...
8
- ✓ 146 modules transformed.
8
+ ✓ 132 modules transformed.
9
9
  rendering chunks...
10
10
 
11
11
  [vite:dts] Start generate declaration files...
12
12
  computing gzip size...
13
- dist/client.js 288.80 kB │ gzip: 66.78 kB
14
- [vite:dts] Declaration files built in 6544ms.
13
+ dist/client.js 298.13 kB │ gzip: 68.74 kB
14
+ [vite:dts] Declaration files built in 6219ms.
15
15
 
16
- dist/client.cjs 183.72 kB │ gzip: 49.69 kB
17
- ✓ built in 7.52s
16
+ dist/client.cjs 189.11 kB │ gzip: 51.14 kB
17
+ ✓ built in 7.39s
@@ -5,98 +5,98 @@ export type Key = z.infer<typeof keyZ>;
5
5
  export declare const newPolicyZ: z.ZodObject<{
6
6
  key: z.ZodOptional<z.ZodString>;
7
7
  subjects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, {
8
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
8
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
9
9
  key: string;
10
10
  }, string>, z.ZodObject<{
11
- type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">, z.ZodLiteral<"table">]>;
12
12
  key: z.ZodString;
13
13
  }, "strip", z.ZodTypeAny, {
14
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
14
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
15
15
  key: string;
16
16
  }, {
17
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
17
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
18
18
  key: string;
19
19
  }>]>, "many">, z.ZodUnion<[z.ZodEffects<z.ZodString, {
20
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
20
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
21
21
  key: string;
22
22
  }, string>, z.ZodObject<{
23
- type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">]>;
23
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">, z.ZodLiteral<"table">]>;
24
24
  key: z.ZodString;
25
25
  }, "strip", z.ZodTypeAny, {
26
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
26
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
27
27
  key: string;
28
28
  }, {
29
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
29
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
30
30
  key: string;
31
31
  }>]>]>;
32
32
  objects: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, {
33
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
33
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
34
34
  key: string;
35
35
  }, string>, z.ZodObject<{
36
- type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">]>;
36
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">, z.ZodLiteral<"table">]>;
37
37
  key: z.ZodString;
38
38
  }, "strip", z.ZodTypeAny, {
39
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
39
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
40
40
  key: string;
41
41
  }, {
42
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
42
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
43
43
  key: string;
44
44
  }>]>, "many">, z.ZodUnion<[z.ZodEffects<z.ZodString, {
45
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
45
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
46
46
  key: string;
47
47
  }, string>, z.ZodObject<{
48
- type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">]>;
48
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">, z.ZodLiteral<"table">]>;
49
49
  key: z.ZodString;
50
50
  }, "strip", z.ZodTypeAny, {
51
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
51
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
52
52
  key: string;
53
53
  }, {
54
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
54
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
55
55
  key: string;
56
56
  }>]>]>;
57
57
  actions: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"create">, z.ZodLiteral<"delete">, z.ZodLiteral<"retrieve">, z.ZodLiteral<"update">]>, "many">, z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"create">, z.ZodLiteral<"delete">, z.ZodLiteral<"retrieve">, z.ZodLiteral<"update">]>]>;
58
58
  }, "strip", z.ZodTypeAny, {
59
59
  subjects: {
60
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
60
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
61
61
  key: string;
62
62
  } | {
63
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
63
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
64
64
  key: string;
65
65
  } | ({
66
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
66
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
67
67
  key: string;
68
68
  } | {
69
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
69
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
70
70
  key: string;
71
71
  })[];
72
72
  objects: {
73
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
73
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
74
74
  key: string;
75
75
  } | {
76
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
76
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
77
77
  key: string;
78
78
  } | ({
79
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
79
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
80
80
  key: string;
81
81
  } | {
82
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
82
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
83
83
  key: string;
84
84
  })[];
85
85
  actions: "all" | "create" | "delete" | "retrieve" | "update" | ("all" | "create" | "delete" | "retrieve" | "update")[];
86
86
  key?: string | undefined;
87
87
  }, {
88
88
  subjects: string | {
89
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
89
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
90
90
  key: string;
91
91
  } | (string | {
92
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
92
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
93
93
  key: string;
94
94
  })[];
95
95
  objects: string | {
96
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
96
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
97
97
  key: string;
98
98
  } | (string | {
99
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
99
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
100
100
  key: string;
101
101
  })[];
102
102
  actions: "all" | "create" | "delete" | "retrieve" | "update" | ("all" | "create" | "delete" | "retrieve" | "update")[];
@@ -106,51 +106,51 @@ export type NewPolicy = z.input<typeof newPolicyZ>;
106
106
  export declare const policyZ: z.ZodObject<{
107
107
  key: z.ZodString;
108
108
  subjects: z.ZodUnion<[z.ZodEffects<z.ZodNull, {
109
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
109
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
110
110
  key: string;
111
111
  }[], null>, z.ZodArray<z.ZodObject<{
112
- type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">]>;
112
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">, z.ZodLiteral<"table">]>;
113
113
  key: z.ZodString;
114
114
  }, "strip", z.ZodTypeAny, {
115
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
115
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
116
116
  key: string;
117
117
  }, {
118
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
118
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
119
119
  key: string;
120
120
  }>, "many">]>;
121
121
  objects: z.ZodUnion<[z.ZodEffects<z.ZodNull, {
122
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
122
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
123
123
  key: string;
124
124
  }[], null>, z.ZodArray<z.ZodObject<{
125
- type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">]>;
125
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">, z.ZodLiteral<"table">]>;
126
126
  key: z.ZodString;
127
127
  }, "strip", z.ZodTypeAny, {
128
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
128
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
129
129
  key: string;
130
130
  }, {
131
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
131
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
132
132
  key: string;
133
133
  }>, "many">]>;
134
134
  actions: z.ZodUnion<[z.ZodEffects<z.ZodNull, ("all" | "create" | "delete" | "retrieve" | "update")[], null>, z.ZodArray<z.ZodUnion<[z.ZodLiteral<"all">, z.ZodLiteral<"create">, z.ZodLiteral<"delete">, z.ZodLiteral<"retrieve">, z.ZodLiteral<"update">]>, "many">]>;
135
135
  }, "strip", z.ZodTypeAny, {
136
136
  key: string;
137
137
  subjects: {
138
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
138
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
139
139
  key: string;
140
140
  }[];
141
141
  objects: {
142
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
142
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
143
143
  key: string;
144
144
  }[];
145
145
  actions: ("all" | "create" | "delete" | "retrieve" | "update")[];
146
146
  }, {
147
147
  key: string;
148
148
  subjects: {
149
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
149
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
150
150
  key: string;
151
151
  }[] | null;
152
152
  objects: {
153
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
153
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
154
154
  key: string;
155
155
  }[] | null;
156
156
  actions: ("all" | "create" | "delete" | "retrieve" | "update")[] | null;
@@ -4,25 +4,25 @@ import { Policy } from './payload';
4
4
  declare const reqZ: z.ZodObject<{
5
5
  keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
6
  subjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
- type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">]>;
7
+ type: z.ZodUnion<[z.ZodLiteral<"label">, z.ZodLiteral<"log">, z.ZodLiteral<"allow_all">, z.ZodLiteral<"builtin">, z.ZodLiteral<"cluster">, z.ZodLiteral<"channel">, z.ZodLiteral<"node">, z.ZodLiteral<"group">, z.ZodLiteral<"range">, z.ZodLiteral<"framer">, 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">, z.ZodLiteral<"table">]>;
8
8
  key: z.ZodString;
9
9
  }, "strip", z.ZodTypeAny, {
10
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
10
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
11
11
  key: string;
12
12
  }, {
13
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
13
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
14
14
  key: string;
15
15
  }>, "many">>;
16
16
  }, "strip", z.ZodTypeAny, {
17
17
  keys?: string[] | undefined;
18
18
  subjects?: {
19
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
19
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
20
20
  key: string;
21
21
  }[] | undefined;
22
22
  }, {
23
23
  keys?: string[] | undefined;
24
24
  subjects?: {
25
- type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy";
25
+ type: "label" | "log" | "allow_all" | "builtin" | "cluster" | "channel" | "node" | "group" | "range" | "framer" | "range-alias" | "user" | "workspace" | "schematic" | "lineplot" | "rack" | "device" | "task" | "policy" | "table";
26
26
  key: string;
27
27
  }[] | undefined;
28
28
  }>;