@plitzi/sdk-shared 0.37.1 → 0.37.3

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 (195) hide show
  1. package/CHANGELOG.md +1288 -0
  2. package/dist/actions/access.d.ts +12 -0
  3. package/dist/actions/access.mjs +13 -0
  4. package/dist/actions/cron.d.ts +21 -12
  5. package/dist/actions/cron.mjs +48 -17
  6. package/dist/actions/functions.d.ts +27 -0
  7. package/dist/actions/functions.mjs +18 -0
  8. package/dist/actions/index.d.ts +5 -1
  9. package/dist/actions/index.mjs +9 -7
  10. package/dist/actions/triggers.d.ts +4 -0
  11. package/dist/actions/triggers.mjs +4 -1
  12. package/dist/auth/index.d.ts +2 -0
  13. package/dist/auth/index.mjs +2 -1
  14. package/dist/auth/visitorRoles.d.ts +27 -0
  15. package/dist/auth/visitorRoles.mjs +48 -0
  16. package/dist/authoring/builder.mjs +1 -0
  17. package/dist/authoring/declare.d.ts +74 -0
  18. package/dist/authoring/declare.mjs +2 -2
  19. package/dist/authoring/index.mjs +5 -5
  20. package/dist/authoring/paramSpec.d.ts +1 -1
  21. package/dist/authoring/paramSpec.mjs +1 -0
  22. package/dist/authoring/spaceCallbacks.mjs +2 -2
  23. package/dist/dataSource/computed.d.ts +21 -0
  24. package/dist/dataSource/computed.mjs +45 -0
  25. package/dist/dataSource/getBindingsDetails.mjs +35 -33
  26. package/dist/dataSource/index.d.ts +1 -0
  27. package/dist/dataSource/index.mjs +7 -6
  28. package/dist/dataSource/utility/checkboxParams.d.ts +11 -0
  29. package/dist/dataSource/utility/checkboxParams.mjs +12 -0
  30. package/dist/dataSource/utility/not.mjs +4 -7
  31. package/dist/dataSource/utility/stringToArray.mjs +1 -1
  32. package/dist/dataSource/utility/truthiness.d.ts +1 -0
  33. package/dist/dataSource/utility/truthiness.mjs +8 -0
  34. package/dist/dataSource/utility/twigTemplate.d.ts +2 -1
  35. package/dist/dataSource/utility/twigTemplate.mjs +29 -17
  36. package/dist/devTools/utils/PlitziConsole.mjs +22 -22
  37. package/dist/helpers/cookies.d.ts +10 -0
  38. package/dist/helpers/cookies.mjs +19 -0
  39. package/dist/helpers/fetchManifest.d.ts +9 -0
  40. package/dist/helpers/fetchManifest.mjs +3 -6
  41. package/dist/helpers/formatDate.d.ts +5 -3
  42. package/dist/helpers/formatDate.mjs +34 -36
  43. package/dist/helpers/index.d.ts +2 -0
  44. package/dist/helpers/index.mjs +18 -13
  45. package/dist/helpers/isDate.d.ts +7 -0
  46. package/dist/helpers/isDate.mjs +15 -0
  47. package/dist/helpers/keys.d.ts +42 -0
  48. package/dist/helpers/keys.mjs +91 -0
  49. package/dist/helpers/twigWrapper/AST.d.ts +2 -2
  50. package/dist/helpers/twigWrapper/Evaluator/Evaluator.d.ts +12 -2
  51. package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +69 -31
  52. package/dist/helpers/twigWrapper/Evaluator/index.d.ts +1 -1
  53. package/dist/helpers/twigWrapper/Evaluator/index.mjs +2 -2
  54. package/dist/helpers/twigWrapper/Parser/ExpressionParser.d.ts +2 -2
  55. package/dist/helpers/twigWrapper/Parser/ExpressionParser.mjs +147 -34
  56. package/dist/helpers/twigWrapper/Parser/Parser.d.ts +2 -1
  57. package/dist/helpers/twigWrapper/Parser/Parser.mjs +21 -20
  58. package/dist/helpers/twigWrapper/filters/filters.mjs +134 -111
  59. package/dist/helpers/twigWrapper/index.d.ts +6 -2
  60. package/dist/helpers/twigWrapper/index.mjs +7 -4
  61. package/dist/helpers/twigWrapper/inspectTemplate.d.ts +23 -0
  62. package/dist/helpers/twigWrapper/inspectTemplate.mjs +110 -0
  63. package/dist/helpers/twigWrapper/processTwig/helpers.d.ts +7 -0
  64. package/dist/helpers/twigWrapper/processTwig/helpers.mjs +2 -1
  65. package/dist/helpers/twigWrapper/processTwig/index.d.ts +2 -1
  66. package/dist/helpers/twigWrapper/processTwig/index.mjs +3 -2
  67. package/dist/helpers/twigWrapper/processTwig/processTwig.d.ts +28 -0
  68. package/dist/helpers/twigWrapper/processTwig/processTwig.mjs +73 -16
  69. package/dist/helpers/twigWrapper/processTwig/resolveStepParam.d.ts +17 -0
  70. package/dist/helpers/twigWrapper/processTwig/resolveStepParam.mjs +14 -0
  71. package/dist/helpers/twigWrapper/templateRoots.d.ts +11 -0
  72. package/dist/helpers/twigWrapper/templateRoots.mjs +4 -4
  73. package/dist/helpers/twigWrapper/tokens/hasTemplateSyntax.d.ts +9 -0
  74. package/dist/helpers/twigWrapper/tokens/hasTemplateSyntax.mjs +4 -0
  75. package/dist/history/describe.d.ts +29 -0
  76. package/dist/history/describe.mjs +93 -0
  77. package/dist/history/diff.d.ts +33 -0
  78. package/dist/history/diff.mjs +73 -0
  79. package/dist/history/index.d.ts +3 -0
  80. package/dist/history/index.mjs +3 -0
  81. package/dist/history/types.d.ts +48 -0
  82. package/dist/history/types.mjs +0 -0
  83. package/dist/hooks/usePlitziServiceContext.d.ts +1 -1
  84. package/dist/index.d.ts +1 -0
  85. package/dist/index.mjs +77 -65
  86. package/dist/navigation/index.d.ts +1 -1
  87. package/dist/navigation/index.mjs +2 -2
  88. package/dist/navigation/routes.d.ts +11 -1
  89. package/dist/navigation/routes.mjs +35 -30
  90. package/dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.d.ts +14 -0
  91. package/dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.mjs +16 -0
  92. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.d.ts +4 -0
  93. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.mjs +2 -2
  94. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.mjs +1 -0
  95. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.d.ts +3 -0
  96. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.mjs +9 -0
  97. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.d.ts +11 -0
  98. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.mjs +24 -0
  99. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.d.ts +4 -0
  100. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.mjs +15 -0
  101. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.d.ts +2 -0
  102. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.mjs +9 -0
  103. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.d.ts +2 -0
  104. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs +9 -0
  105. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.d.ts +2 -0
  106. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.mjs +9 -0
  107. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.d.ts +2 -0
  108. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.mjs +9 -0
  109. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.d.ts +2 -0
  110. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.mjs +9 -0
  111. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.d.ts +2 -0
  112. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.mjs +9 -0
  113. package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.d.ts +2 -0
  114. package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.mjs +11 -0
  115. package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.d.ts +2 -0
  116. package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.mjs +11 -0
  117. package/dist/network/graphql/builder/Mutations/index.d.ts +28 -0
  118. package/dist/network/graphql/builder/Mutations/index.mjs +108 -84
  119. package/dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.d.ts +23 -0
  120. package/dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.mjs +49 -0
  121. package/dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.d.ts +6 -0
  122. package/dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.mjs +13 -0
  123. package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.d.ts +17 -0
  124. package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.mjs +22 -0
  125. package/dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.d.ts +6 -0
  126. package/dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.mjs +32 -0
  127. package/dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.d.ts +6 -0
  128. package/dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.mjs +16 -0
  129. package/dist/network/graphql/builder/Queries/index.d.ts +17 -3
  130. package/dist/network/graphql/builder/Queries/index.mjs +30 -22
  131. package/dist/network/graphql/sdk/Mutations/index.d.ts +1 -1
  132. package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +1 -1
  133. package/dist/network/graphql/sdk/Queries/InitQuery.mjs +2 -91
  134. package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.d.ts +1 -1
  135. package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs +2 -44
  136. package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.d.ts +1 -1
  137. package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs +2 -55
  138. package/dist/network/graphql/sdk/Queries/index.d.ts +1 -5
  139. package/dist/network/index.mjs +7 -7
  140. package/dist/network/spaceEvents.d.ts +33 -3
  141. package/dist/network/spaceEvents.mjs +102 -89
  142. package/dist/realtime/client.d.ts +46 -0
  143. package/dist/realtime/client.mjs +192 -0
  144. package/dist/realtime/index.d.ts +6 -0
  145. package/dist/realtime/index.mjs +4 -0
  146. package/dist/realtime/presence.d.ts +38 -0
  147. package/dist/realtime/presence.mjs +70 -0
  148. package/dist/realtime/topics.d.ts +36 -0
  149. package/dist/realtime/topics.mjs +25 -0
  150. package/dist/schema/serverElements.d.ts +5 -0
  151. package/dist/schema/serverElements.mjs +15 -14
  152. package/dist/server/actions/useRealtimeSync.d.ts +9 -0
  153. package/dist/server/actions/useRealtimeSync.mjs +7 -0
  154. package/dist/state/index.d.ts +1 -0
  155. package/dist/state/index.mjs +3 -2
  156. package/dist/state/paintedState.d.ts +52 -0
  157. package/dist/state/paintedState.mjs +37 -0
  158. package/dist/state/runtimeStatePersist.d.ts +24 -0
  159. package/dist/state/runtimeStatePersist.mjs +113 -10
  160. package/dist/store/index.d.ts +45 -45
  161. package/dist/store/renderSettings.d.ts +6 -3
  162. package/dist/store/tracing/index.d.ts +1 -0
  163. package/dist/store/tracing/tracingCollector.d.ts +17 -1
  164. package/dist/store/tracing/tracingCollector.mjs +5 -0
  165. package/dist/style/index.d.ts +1 -0
  166. package/dist/style/index.mjs +3 -2
  167. package/dist/style/runtimeStyle.d.ts +29 -0
  168. package/dist/style/runtimeStyle.mjs +7 -0
  169. package/dist/style/styleConstants.d.ts +3 -2
  170. package/dist/style/styleConstants.mjs +2 -0
  171. package/dist/style/styleStates.d.ts +14 -1
  172. package/dist/style/styleStates.mjs +10 -7
  173. package/dist/theme/ThemeProvider.d.ts +1 -1
  174. package/dist/theme/ThemeProvider.mjs +35 -29
  175. package/dist/theme/themeCookie.mjs +11 -15
  176. package/dist/types/ActionTypes.d.ts +193 -0
  177. package/dist/types/AuthTypes.d.ts +11 -1
  178. package/dist/types/CommonTypes.d.ts +6 -0
  179. package/dist/types/FunctionTypes.d.ts +52 -0
  180. package/dist/types/FunctionTypes.mjs +0 -0
  181. package/dist/types/PluginTypes.d.ts +0 -1
  182. package/dist/types/RealtimeTypes.d.ts +94 -0
  183. package/dist/types/RealtimeTypes.mjs +0 -0
  184. package/dist/types/SchemaTypes.d.ts +54 -0
  185. package/dist/types/SchemaTypes.mjs +8 -0
  186. package/dist/types/ServerTypes.d.ts +310 -15
  187. package/dist/types/SpaceTypes.d.ts +53 -0
  188. package/dist/types/StateTypes.d.ts +6 -0
  189. package/dist/types/StoreTypes.d.ts +12 -1
  190. package/dist/types/index.d.ts +2 -0
  191. package/dist/types/index.mjs +3 -2
  192. package/package.json +190 -21
  193. package/vite.config.ts +0 -12
  194. package/dist/network/graphql/builder/Queries/PluginsQuery.d.ts +0 -9
  195. package/dist/network/graphql/builder/Queries/PluginsQuery.mjs +0 -54
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-shared",
3
- "version": "0.37.1",
3
+ "version": "0.37.3",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist",
@@ -18,6 +18,10 @@
18
18
  "types": "./dist/actions/index.d.ts",
19
19
  "import": "./dist/actions/index.mjs"
20
20
  },
21
+ "./actions/access": {
22
+ "types": "./dist/actions/access.d.ts",
23
+ "import": "./dist/actions/access.mjs"
24
+ },
21
25
  "./actions/cron": {
22
26
  "types": "./dist/actions/cron.d.ts",
23
27
  "import": "./dist/actions/cron.mjs"
@@ -26,6 +30,10 @@
26
30
  "types": "./dist/actions/failureHandler.d.ts",
27
31
  "import": "./dist/actions/failureHandler.mjs"
28
32
  },
33
+ "./actions/functions": {
34
+ "types": "./dist/actions/functions.d.ts",
35
+ "import": "./dist/actions/functions.mjs"
36
+ },
29
37
  "./actions/index": {
30
38
  "types": "./dist/actions/index.d.ts",
31
39
  "import": "./dist/actions/index.mjs"
@@ -62,6 +70,10 @@
62
70
  "types": "./dist/auth/index.d.ts",
63
71
  "import": "./dist/auth/index.mjs"
64
72
  },
73
+ "./auth/visitorRoles": {
74
+ "types": "./dist/auth/visitorRoles.d.ts",
75
+ "import": "./dist/auth/visitorRoles.mjs"
76
+ },
65
77
  "./authoring": {
66
78
  "types": "./dist/authoring/index.d.ts",
67
79
  "import": "./dist/authoring/index.mjs"
@@ -138,6 +150,10 @@
138
150
  "types": "./dist/dataSource/index.d.ts",
139
151
  "import": "./dist/dataSource/index.mjs"
140
152
  },
153
+ "./dataSource/computed": {
154
+ "types": "./dist/dataSource/computed.d.ts",
155
+ "import": "./dist/dataSource/computed.mjs"
156
+ },
141
157
  "./dataSource/getBindingsDetails": {
142
158
  "types": "./dist/dataSource/getBindingsDetails.d.ts",
143
159
  "import": "./dist/dataSource/getBindingsDetails.mjs"
@@ -186,6 +202,10 @@
186
202
  "types": "./dist/dataSource/utility/capitalize.d.ts",
187
203
  "import": "./dist/dataSource/utility/capitalize.mjs"
188
204
  },
205
+ "./dataSource/utility/checkboxParams": {
206
+ "types": "./dist/dataSource/utility/checkboxParams.d.ts",
207
+ "import": "./dist/dataSource/utility/checkboxParams.mjs"
208
+ },
189
209
  "./dataSource/utility/dateConverter": {
190
210
  "types": "./dist/dataSource/utility/dateConverter.d.ts",
191
211
  "import": "./dist/dataSource/utility/dateConverter.mjs"
@@ -214,6 +234,10 @@
214
234
  "types": "./dist/dataSource/utility/styleVariant.d.ts",
215
235
  "import": "./dist/dataSource/utility/styleVariant.mjs"
216
236
  },
237
+ "./dataSource/utility/truthiness": {
238
+ "types": "./dist/dataSource/utility/truthiness.d.ts",
239
+ "import": "./dist/dataSource/utility/truthiness.mjs"
240
+ },
217
241
  "./dataSource/utility/twigTemplate": {
218
242
  "types": "./dist/dataSource/utility/twigTemplate.d.ts",
219
243
  "import": "./dist/dataSource/utility/twigTemplate.mjs"
@@ -258,6 +282,10 @@
258
282
  "types": "./dist/helpers/index.d.ts",
259
283
  "import": "./dist/helpers/index.mjs"
260
284
  },
285
+ "./helpers/cookies": {
286
+ "types": "./dist/helpers/cookies.d.ts",
287
+ "import": "./dist/helpers/cookies.mjs"
288
+ },
261
289
  "./helpers/fetchManifest": {
262
290
  "types": "./dist/helpers/fetchManifest.d.ts",
263
291
  "import": "./dist/helpers/fetchManifest.mjs"
@@ -274,6 +302,14 @@
274
302
  "types": "./dist/helpers/index.d.ts",
275
303
  "import": "./dist/helpers/index.mjs"
276
304
  },
305
+ "./helpers/isDate": {
306
+ "types": "./dist/helpers/isDate.d.ts",
307
+ "import": "./dist/helpers/isDate.mjs"
308
+ },
309
+ "./helpers/keys": {
310
+ "types": "./dist/helpers/keys.d.ts",
311
+ "import": "./dist/helpers/keys.mjs"
312
+ },
277
313
  "./helpers/reducerOrigin": {
278
314
  "types": "./dist/helpers/reducerOrigin.d.ts",
279
315
  "import": "./dist/helpers/reducerOrigin.mjs"
@@ -392,6 +428,10 @@
392
428
  "types": "./dist/helpers/twigWrapper/index.d.ts",
393
429
  "import": "./dist/helpers/twigWrapper/index.mjs"
394
430
  },
431
+ "./helpers/twigWrapper/inspectTemplate": {
432
+ "types": "./dist/helpers/twigWrapper/inspectTemplate.d.ts",
433
+ "import": "./dist/helpers/twigWrapper/inspectTemplate.mjs"
434
+ },
395
435
  "./helpers/twigWrapper/processTwig": {
396
436
  "types": "./dist/helpers/twigWrapper/processTwig/index.d.ts",
397
437
  "import": "./dist/helpers/twigWrapper/processTwig/index.mjs"
@@ -408,10 +448,18 @@
408
448
  "types": "./dist/helpers/twigWrapper/processTwig/processTwig.d.ts",
409
449
  "import": "./dist/helpers/twigWrapper/processTwig/processTwig.mjs"
410
450
  },
451
+ "./helpers/twigWrapper/processTwig/resolveStepParam": {
452
+ "types": "./dist/helpers/twigWrapper/processTwig/resolveStepParam.d.ts",
453
+ "import": "./dist/helpers/twigWrapper/processTwig/resolveStepParam.mjs"
454
+ },
411
455
  "./helpers/twigWrapper/templateRoots": {
412
456
  "types": "./dist/helpers/twigWrapper/templateRoots.d.ts",
413
457
  "import": "./dist/helpers/twigWrapper/templateRoots.mjs"
414
458
  },
459
+ "./helpers/twigWrapper/tokens/hasTemplateSyntax": {
460
+ "types": "./dist/helpers/twigWrapper/tokens/hasTemplateSyntax.d.ts",
461
+ "import": "./dist/helpers/twigWrapper/tokens/hasTemplateSyntax.mjs"
462
+ },
415
463
  "./helpers/twigWrapper/tokens/hasValidToken": {
416
464
  "types": "./dist/helpers/twigWrapper/tokens/hasValidToken.d.ts",
417
465
  "import": "./dist/helpers/twigWrapper/tokens/hasValidToken.mjs"
@@ -424,6 +472,25 @@
424
472
  "types": "./dist/helpers/utils.d.ts",
425
473
  "import": "./dist/helpers/utils.mjs"
426
474
  },
475
+ "./history": {
476
+ "types": "./dist/history/index.d.ts",
477
+ "import": "./dist/history/index.mjs"
478
+ },
479
+ "./history/describe": {
480
+ "types": "./dist/history/describe.d.ts",
481
+ "import": "./dist/history/describe.mjs"
482
+ },
483
+ "./history/diff": {
484
+ "types": "./dist/history/diff.d.ts",
485
+ "import": "./dist/history/diff.mjs"
486
+ },
487
+ "./history/index": {
488
+ "types": "./dist/history/index.d.ts",
489
+ "import": "./dist/history/index.mjs"
490
+ },
491
+ "./history/types": {
492
+ "types": "./dist/history/types.d.ts"
493
+ },
427
494
  "./hooks": {
428
495
  "types": "./dist/hooks/index.d.ts",
429
496
  "import": "./dist/hooks/index.mjs"
@@ -612,6 +679,10 @@
612
679
  "types": "./dist/network/graphql/builder/Mutations/Space/SpaceDeployMutation.d.ts",
613
680
  "import": "./dist/network/graphql/builder/Mutations/Space/SpaceDeployMutation.mjs"
614
681
  },
682
+ "./network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation": {
683
+ "types": "./dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.d.ts",
684
+ "import": "./dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.mjs"
685
+ },
615
686
  "./network/graphql/builder/Mutations/Space/SpaceMoveElementMutation": {
616
687
  "types": "./dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.d.ts",
617
688
  "import": "./dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.mjs"
@@ -724,6 +795,18 @@
724
795
  "types": "./dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.d.ts",
725
796
  "import": "./dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.mjs"
726
797
  },
798
+ "./network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation": {
799
+ "types": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.d.ts",
800
+ "import": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.mjs"
801
+ },
802
+ "./network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation": {
803
+ "types": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.d.ts",
804
+ "import": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.mjs"
805
+ },
806
+ "./network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation": {
807
+ "types": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.d.ts",
808
+ "import": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.mjs"
809
+ },
727
810
  "./network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation": {
728
811
  "types": "./dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.d.ts",
729
812
  "import": "./dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.mjs"
@@ -752,6 +835,30 @@
752
835
  "types": "./dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.d.ts",
753
836
  "import": "./dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.mjs"
754
837
  },
838
+ "./network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation": {
839
+ "types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.d.ts",
840
+ "import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.mjs"
841
+ },
842
+ "./network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation": {
843
+ "types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.d.ts",
844
+ "import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs"
845
+ },
846
+ "./network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation": {
847
+ "types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.d.ts",
848
+ "import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.mjs"
849
+ },
850
+ "./network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation": {
851
+ "types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.d.ts",
852
+ "import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.mjs"
853
+ },
854
+ "./network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation": {
855
+ "types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.d.ts",
856
+ "import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.mjs"
857
+ },
858
+ "./network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation": {
859
+ "types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.d.ts",
860
+ "import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.mjs"
861
+ },
755
862
  "./network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation": {
756
863
  "types": "./dist/network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation.d.ts",
757
864
  "import": "./dist/network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation.mjs"
@@ -764,6 +871,14 @@
764
871
  "types": "./dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.d.ts",
765
872
  "import": "./dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.mjs"
766
873
  },
874
+ "./network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation": {
875
+ "types": "./dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.d.ts",
876
+ "import": "./dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.mjs"
877
+ },
878
+ "./network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation": {
879
+ "types": "./dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.d.ts",
880
+ "import": "./dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.mjs"
881
+ },
767
882
  "./network/graphql/builder/Mutations/Style/StyleUpdateMutation": {
768
883
  "types": "./dist/network/graphql/builder/Mutations/Style/StyleUpdateMutation.d.ts",
769
884
  "import": "./dist/network/graphql/builder/Mutations/Style/StyleUpdateMutation.mjs"
@@ -836,10 +951,6 @@
836
951
  "types": "./dist/network/graphql/builder/Queries/InitQuery.d.ts",
837
952
  "import": "./dist/network/graphql/builder/Queries/InitQuery.mjs"
838
953
  },
839
- "./network/graphql/builder/Queries/PluginsQuery": {
840
- "types": "./dist/network/graphql/builder/Queries/PluginsQuery.d.ts",
841
- "import": "./dist/network/graphql/builder/Queries/PluginsQuery.mjs"
842
- },
843
954
  "./network/graphql/builder/Queries/Segment/SegmentQuery": {
844
955
  "types": "./dist/network/graphql/builder/Queries/Segment/SegmentQuery.d.ts",
845
956
  "import": "./dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs"
@@ -864,6 +975,10 @@
864
975
  "types": "./dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.d.ts",
865
976
  "import": "./dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.mjs"
866
977
  },
978
+ "./network/graphql/builder/Queries/Space/SpaceChangesQuery": {
979
+ "types": "./dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.d.ts",
980
+ "import": "./dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.mjs"
981
+ },
867
982
  "./network/graphql/builder/Queries/Space/SpaceCheckActionQuery": {
868
983
  "types": "./dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.d.ts",
869
984
  "import": "./dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.mjs"
@@ -880,6 +995,14 @@
880
995
  "types": "./dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.d.ts",
881
996
  "import": "./dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.mjs"
882
997
  },
998
+ "./network/graphql/builder/Queries/Space/SpaceFunctionsQuery": {
999
+ "types": "./dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.d.ts",
1000
+ "import": "./dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.mjs"
1001
+ },
1002
+ "./network/graphql/builder/Queries/Space/SpaceIssuesQuery": {
1003
+ "types": "./dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.d.ts",
1004
+ "import": "./dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.mjs"
1005
+ },
883
1006
  "./network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery": {
884
1007
  "types": "./dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.d.ts",
885
1008
  "import": "./dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.mjs"
@@ -892,6 +1015,14 @@
892
1015
  "types": "./dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.d.ts",
893
1016
  "import": "./dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.mjs"
894
1017
  },
1018
+ "./network/graphql/builder/Queries/Space/SpaceRuntimeQuery": {
1019
+ "types": "./dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.d.ts",
1020
+ "import": "./dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.mjs"
1021
+ },
1022
+ "./network/graphql/builder/Queries/Space/SpaceVisitorsQuery": {
1023
+ "types": "./dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.d.ts",
1024
+ "import": "./dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.mjs"
1025
+ },
895
1026
  "./network/graphql/builder/Queries/index": {
896
1027
  "types": "./dist/network/graphql/builder/Queries/index.d.ts",
897
1028
  "import": "./dist/network/graphql/builder/Queries/index.mjs"
@@ -976,6 +1107,26 @@
976
1107
  "types": "./dist/queries/useQuery.d.ts",
977
1108
  "import": "./dist/queries/useQuery.mjs"
978
1109
  },
1110
+ "./realtime": {
1111
+ "types": "./dist/realtime/index.d.ts",
1112
+ "import": "./dist/realtime/index.mjs"
1113
+ },
1114
+ "./realtime/client": {
1115
+ "types": "./dist/realtime/client.d.ts",
1116
+ "import": "./dist/realtime/client.mjs"
1117
+ },
1118
+ "./realtime/index": {
1119
+ "types": "./dist/realtime/index.d.ts",
1120
+ "import": "./dist/realtime/index.mjs"
1121
+ },
1122
+ "./realtime/presence": {
1123
+ "types": "./dist/realtime/presence.d.ts",
1124
+ "import": "./dist/realtime/presence.mjs"
1125
+ },
1126
+ "./realtime/topics": {
1127
+ "types": "./dist/realtime/topics.d.ts",
1128
+ "import": "./dist/realtime/topics.mjs"
1129
+ },
979
1130
  "./schema": {
980
1131
  "types": "./dist/schema/index.d.ts",
981
1132
  "import": "./dist/schema/index.mjs"
@@ -1020,6 +1171,10 @@
1020
1171
  "types": "./dist/server/actions/useActionsSync.d.ts",
1021
1172
  "import": "./dist/server/actions/useActionsSync.mjs"
1022
1173
  },
1174
+ "./server/actions/useRealtimeSync": {
1175
+ "types": "./dist/server/actions/useRealtimeSync.d.ts",
1176
+ "import": "./dist/server/actions/useRealtimeSync.mjs"
1177
+ },
1023
1178
  "./server/index": {
1024
1179
  "types": "./dist/server/index.d.ts",
1025
1180
  "import": "./dist/server/index.mjs"
@@ -1044,6 +1199,10 @@
1044
1199
  "types": "./dist/state/index.d.ts",
1045
1200
  "import": "./dist/state/index.mjs"
1046
1201
  },
1202
+ "./state/paintedState": {
1203
+ "types": "./dist/state/paintedState.d.ts",
1204
+ "import": "./dist/state/paintedState.mjs"
1205
+ },
1047
1206
  "./state/runtimeStatePersist": {
1048
1207
  "types": "./dist/state/runtimeStatePersist.d.ts",
1049
1208
  "import": "./dist/state/runtimeStatePersist.mjs"
@@ -1132,6 +1291,10 @@
1132
1291
  "types": "./dist/style/index.d.ts",
1133
1292
  "import": "./dist/style/index.mjs"
1134
1293
  },
1294
+ "./style/runtimeStyle": {
1295
+ "types": "./dist/style/runtimeStyle.d.ts",
1296
+ "import": "./dist/style/runtimeStyle.mjs"
1297
+ },
1135
1298
  "./style/styleConstants": {
1136
1299
  "types": "./dist/style/styleConstants.d.ts",
1137
1300
  "import": "./dist/style/styleConstants.mjs"
@@ -1208,6 +1371,9 @@
1208
1371
  "./types/EventBridgeTypes": {
1209
1372
  "types": "./dist/types/EventBridgeTypes.d.ts"
1210
1373
  },
1374
+ "./types/FunctionTypes": {
1375
+ "types": "./dist/types/FunctionTypes.d.ts"
1376
+ },
1211
1377
  "./types/InteractionTypes": {
1212
1378
  "types": "./dist/types/InteractionTypes.d.ts"
1213
1379
  },
@@ -1220,11 +1386,15 @@
1220
1386
  "./types/PluginTypes": {
1221
1387
  "types": "./dist/types/PluginTypes.d.ts"
1222
1388
  },
1389
+ "./types/RealtimeTypes": {
1390
+ "types": "./dist/types/RealtimeTypes.d.ts"
1391
+ },
1223
1392
  "./types/ResourceTypes": {
1224
1393
  "types": "./dist/types/ResourceTypes.d.ts"
1225
1394
  },
1226
1395
  "./types/SchemaTypes": {
1227
- "types": "./dist/types/SchemaTypes.d.ts"
1396
+ "types": "./dist/types/SchemaTypes.d.ts",
1397
+ "import": "./dist/types/SchemaTypes.mjs"
1228
1398
  },
1229
1399
  "./types/SdkTypes": {
1230
1400
  "types": "./dist/types/SdkTypes.d.ts"
@@ -1283,11 +1453,10 @@
1283
1453
  "build:prod": "vite build && node ./scripts/generate-exports.mjs"
1284
1454
  },
1285
1455
  "dependencies": {
1286
- "@modelcontextprotocol/sdk": "^1.30.0",
1287
- "@plitzi/nexus": "^1.2.2",
1288
- "@plitzi/plitzi-ui": "^1.6.21",
1456
+ "@modelcontextprotocol/sdk": "^1.30.1",
1457
+ "@plitzi/nexus": "^1.3.1",
1458
+ "@plitzi/plitzi-ui": "^1.6.24",
1289
1459
  "date-fns": "^4.4.0",
1290
- "date-fns-tz": "^3.2.0",
1291
1460
  "graphql-tag": "^2.12.7",
1292
1461
  "immer": "^11.1.18",
1293
1462
  "zod": "^4.6.5"
@@ -1297,12 +1466,12 @@
1297
1466
  "react-dom": "^19"
1298
1467
  },
1299
1468
  "devDependencies": {
1300
- "@babel/cli": "^8.0.5",
1301
- "@babel/core": "^8.0.5",
1302
- "@babel/eslint-parser": "^8.0.5",
1469
+ "@babel/cli": "^8.0.6",
1470
+ "@babel/core": "^8.0.6",
1471
+ "@babel/eslint-parser": "^7.29.9",
1303
1472
  "@babel/plugin-syntax-flow": "^8.0.1",
1304
1473
  "@babel/plugin-transform-react-jsx": "^8.0.1",
1305
- "@babel/preset-env": "^8.0.5",
1474
+ "@babel/preset-env": "^8.0.6",
1306
1475
  "@eslint/js": "^10.0.1",
1307
1476
  "@tailwindcss/forms": "^0.5.11",
1308
1477
  "@testing-library/dom": "^10.4.2",
@@ -1317,12 +1486,12 @@
1317
1486
  "eslint": "^9.39.5",
1318
1487
  "eslint-config-airbnb": "^19.0.4",
1319
1488
  "eslint-config-prettier": "^10.1.8",
1320
- "eslint-config-turbo": "^2.10.13",
1489
+ "eslint-config-turbo": "^2.11.3",
1321
1490
  "eslint-import-resolver-alias": "^1.1.2",
1322
1491
  "eslint-plugin-cypress": "^7.0.2",
1323
1492
  "eslint-plugin-flowtype": "8.0.3",
1324
1493
  "eslint-plugin-import": "^2.32.0",
1325
- "eslint-plugin-jsdoc": "^64.5.2",
1494
+ "eslint-plugin-jsdoc": "^64.5.4",
1326
1495
  "eslint-plugin-jsx-a11y": "^6.10.2",
1327
1496
  "eslint-plugin-prettier": "^5.5.6",
1328
1497
  "eslint-plugin-react": "^7.37.5",
@@ -1330,17 +1499,17 @@
1330
1499
  "eslint-plugin-react-refresh": "^0.5.7",
1331
1500
  "eslint-plugin-storybook": "^10.6.0",
1332
1501
  "globals": "^17.12.0",
1333
- "jsdom": "^30.1.0",
1502
+ "jsdom": "^30.1.1",
1334
1503
  "postcss": "^8.5.28",
1335
- "prettier": "^3.9.8",
1504
+ "prettier": "^3.9.9",
1336
1505
  "react": "^19.3.0",
1337
1506
  "react-dom": "^19.3.0",
1338
1507
  "tailwindcss": "^4.3.3",
1339
1508
  "terser": "^5.51.2",
1340
1509
  "typescript": "^6.0.3",
1341
- "typescript-eslint": "^8.70.0",
1342
- "vite": "^8.3.0",
1343
- "vite-plugin-dts": "^5.1.0",
1510
+ "typescript-eslint": "^8.70.1",
1511
+ "vite": "^8.3.1",
1512
+ "vite-plugin-dts": "^5.1.1",
1344
1513
  "vite-plugin-react": "^4.0.1",
1345
1514
  "vitest": "^5.0.1",
1346
1515
  "vitest-fetch-mock": "^0.4.5"
package/vite.config.ts CHANGED
@@ -93,18 +93,6 @@ export default defineConfig(({ mode, command }) => {
93
93
  tsconfigPath: './tsconfig.app.json',
94
94
  beforeWriteFile: skipUnchangedDts
95
95
  }),
96
- // {
97
- // name: 'trace-import-chain',
98
- // enforce: 'pre',
99
- // resolveId(source, importer) {
100
- // if (source.includes('plitzi')) {
101
- // console.log('\n---');
102
- // console.log('IMPORT:', source);
103
- // console.log('FROM :', importer);
104
- // }
105
- // return null;
106
- // }
107
- // },
108
96
  {
109
97
  name: 'externalize-and-log',
110
98
  enforce: 'pre',
@@ -1,9 +0,0 @@
1
- import { PageInfo } from '../../../../types';
2
- export type TPluginsQuery = {
3
- Plugins: {
4
- edges: unknown[];
5
- pageInfo: PageInfo;
6
- };
7
- };
8
- declare const PluginsQuery: import('graphql').DocumentNode;
9
- export default PluginsQuery;
@@ -1,54 +0,0 @@
1
- import { gql as e } from "@apollo/client/core";
2
- //#region src/network/graphql/builder/Queries/PluginsQuery.ts
3
- var t = e`
4
- query PluginsQuery($filter: PluginInput, $page: Int, $pageSize: Int, $offset: Int) {
5
- Plugins(filter: $filter, page: $page, pageSize: $pageSize, offset: $offset) {
6
- edges {
7
- name
8
- description
9
- type
10
- latestVersion {
11
- version
12
- createdAt
13
- updatedAt
14
- }
15
- market {
16
- backgroundColor
17
- icon
18
- verified
19
- website
20
- owner
21
- license
22
- category {
23
- name
24
- }
25
- }
26
- revisions {
27
- version
28
- scope
29
- module
30
- manifestUrl
31
- assets {
32
- type
33
- url
34
- sizeNormal
35
- sizeGzip
36
- }
37
- createdAt
38
- updatedAt
39
- }
40
- createdAt
41
- updatedAt
42
- }
43
- pageInfo {
44
- hasPrevPage
45
- hasNextPage
46
- from
47
- to
48
- total
49
- }
50
- }
51
- }
52
- `;
53
- //#endregion
54
- export { t as default };