@plitzi/sdk-shared 0.37.2 → 0.37.4

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 (280) hide show
  1. package/CHANGELOG.md +1162 -0
  2. package/dist/actions/access.d.ts +12 -0
  3. package/dist/actions/access.mjs +13 -0
  4. package/dist/actions/functions.d.ts +27 -0
  5. package/dist/actions/functions.mjs +18 -0
  6. package/dist/actions/index.d.ts +4 -0
  7. package/dist/actions/index.mjs +9 -7
  8. package/dist/auth/index.d.ts +2 -1
  9. package/dist/auth/index.mjs +2 -2
  10. package/dist/auth/visitorRoles.d.ts +27 -0
  11. package/dist/auth/visitorRoles.mjs +48 -0
  12. package/dist/authoring/builder.mjs +1 -0
  13. package/dist/authoring/declare.d.ts +53 -0
  14. package/dist/authoring/declare.mjs +2 -2
  15. package/dist/authoring/index.mjs +5 -5
  16. package/dist/authoring/paramSpec.d.ts +1 -1
  17. package/dist/authoring/paramSpec.mjs +1 -0
  18. package/dist/authoring/spaceCallbacks.mjs +2 -2
  19. package/dist/dataSource/computed.d.ts +21 -0
  20. package/dist/dataSource/computed.mjs +45 -0
  21. package/dist/dataSource/getBindingsDetails.mjs +35 -34
  22. package/dist/dataSource/index.d.ts +1 -0
  23. package/dist/dataSource/index.mjs +7 -6
  24. package/dist/dataSource/utility/not.mjs +4 -7
  25. package/dist/dataSource/utility/stringToArray.mjs +1 -1
  26. package/dist/dataSource/utility/truthiness.d.ts +1 -0
  27. package/dist/dataSource/utility/truthiness.mjs +8 -0
  28. package/dist/dataSource/utility/twigTemplate.d.ts +2 -1
  29. package/dist/dataSource/utility/twigTemplate.mjs +29 -17
  30. package/dist/devTools/utils/PlitziConsole.mjs +22 -22
  31. package/dist/helpers/cookies.d.ts +10 -0
  32. package/dist/helpers/cookies.mjs +19 -0
  33. package/dist/helpers/fetchManifest.d.ts +9 -0
  34. package/dist/helpers/fetchManifest.mjs +3 -6
  35. package/dist/helpers/formatDate.d.ts +5 -3
  36. package/dist/helpers/formatDate.mjs +34 -36
  37. package/dist/helpers/index.d.ts +2 -1
  38. package/dist/helpers/index.mjs +17 -14
  39. package/dist/helpers/isDate.d.ts +7 -0
  40. package/dist/helpers/isDate.mjs +15 -0
  41. package/dist/helpers/keys.d.ts +42 -0
  42. package/dist/helpers/keys.mjs +91 -0
  43. package/dist/helpers/twigWrapper/AST.d.ts +2 -2
  44. package/dist/helpers/twigWrapper/Evaluator/Evaluator.d.ts +12 -2
  45. package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +57 -34
  46. package/dist/helpers/twigWrapper/Evaluator/index.d.ts +1 -1
  47. package/dist/helpers/twigWrapper/Evaluator/index.mjs +2 -2
  48. package/dist/helpers/twigWrapper/Parser/ExpressionParser.d.ts +2 -2
  49. package/dist/helpers/twigWrapper/Parser/ExpressionParser.mjs +147 -34
  50. package/dist/helpers/twigWrapper/Parser/Parser.d.ts +2 -1
  51. package/dist/helpers/twigWrapper/Parser/Parser.mjs +21 -20
  52. package/dist/helpers/twigWrapper/filters/filters.mjs +130 -112
  53. package/dist/helpers/twigWrapper/index.d.ts +5 -2
  54. package/dist/helpers/twigWrapper/index.mjs +7 -5
  55. package/dist/helpers/twigWrapper/inspectTemplate.d.ts +23 -0
  56. package/dist/helpers/twigWrapper/inspectTemplate.mjs +110 -0
  57. package/dist/helpers/twigWrapper/processTwig/helpers.d.ts +7 -0
  58. package/dist/helpers/twigWrapper/processTwig/helpers.mjs +2 -1
  59. package/dist/helpers/twigWrapper/processTwig/index.d.ts +2 -1
  60. package/dist/helpers/twigWrapper/processTwig/index.mjs +3 -2
  61. package/dist/helpers/twigWrapper/processTwig/processTwig.d.ts +28 -0
  62. package/dist/helpers/twigWrapper/processTwig/processTwig.mjs +73 -16
  63. package/dist/helpers/twigWrapper/processTwig/resolveStepParam.d.ts +17 -0
  64. package/dist/helpers/twigWrapper/processTwig/resolveStepParam.mjs +14 -0
  65. package/dist/helpers/twigWrapper/templateRoots.d.ts +11 -0
  66. package/dist/helpers/twigWrapper/templateRoots.mjs +4 -4
  67. package/dist/helpers/twigWrapper/tokens/hasTemplateSyntax.d.ts +1 -1
  68. package/dist/history/describe.d.ts +29 -0
  69. package/dist/history/describe.mjs +93 -0
  70. package/dist/history/diff.d.ts +33 -0
  71. package/dist/history/diff.mjs +73 -0
  72. package/dist/history/index.d.ts +3 -0
  73. package/dist/history/index.mjs +3 -0
  74. package/dist/history/types.d.ts +48 -0
  75. package/dist/history/types.mjs +0 -0
  76. package/dist/index.d.ts +1 -0
  77. package/dist/index.mjs +76 -67
  78. package/dist/navigation/index.d.ts +1 -1
  79. package/dist/navigation/index.mjs +2 -2
  80. package/dist/navigation/routes.d.ts +11 -1
  81. package/dist/navigation/routes.mjs +15 -10
  82. package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.mjs +1 -1
  83. package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.mjs +1 -1
  84. package/dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.mjs +1 -1
  85. package/dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.mjs +1 -1
  86. package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.mjs +1 -1
  87. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.mjs +1 -1
  88. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.mjs +1 -1
  89. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.mjs +1 -1
  90. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs +1 -1
  91. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.mjs +1 -1
  92. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs +1 -1
  93. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.mjs +1 -1
  94. package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.mjs +1 -1
  95. package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.mjs +1 -1
  96. package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.mjs +1 -1
  97. package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.mjs +1 -1
  98. package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.mjs +1 -1
  99. package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.mjs +1 -1
  100. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.mjs +1 -1
  101. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.mjs +1 -1
  102. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.mjs +1 -1
  103. package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.mjs +1 -1
  104. package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.mjs +1 -1
  105. package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.mjs +1 -1
  106. package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.mjs +1 -1
  107. package/dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.mjs +1 -1
  108. package/dist/network/graphql/builder/Mutations/Space/SpaceAddPluginMutation.mjs +1 -1
  109. package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.mjs +1 -1
  110. package/dist/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.mjs +1 -1
  111. package/dist/network/graphql/builder/Mutations/Space/SpaceDeployMutation.mjs +1 -1
  112. package/dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.d.ts +14 -0
  113. package/dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.mjs +16 -0
  114. package/dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.mjs +1 -1
  115. package/dist/network/graphql/builder/Mutations/Space/SpacePublishMutation.mjs +1 -1
  116. package/dist/network/graphql/builder/Mutations/Space/SpaceRemoveElementMutation.mjs +1 -1
  117. package/dist/network/graphql/builder/Mutations/Space/SpaceRemovePluginMutation.mjs +1 -1
  118. package/dist/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.mjs +1 -1
  119. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.mjs +1 -1
  120. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.mjs +1 -1
  121. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.mjs +1 -1
  122. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.d.ts +4 -0
  123. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.mjs +3 -3
  124. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSchemaMutation.mjs +1 -1
  125. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSettingsMutation.mjs +1 -1
  126. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation.mjs +1 -1
  127. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation.mjs +1 -1
  128. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.mjs +2 -1
  129. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation.mjs +1 -1
  130. package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceAddCdnMutation.mjs +1 -1
  131. package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceRemoveCdnMutation.mjs +1 -1
  132. package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceSetCdnCredentialMutation.mjs +1 -1
  133. package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceUpdateCdnMutation.mjs +1 -1
  134. package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceAddConnectorMutation.mjs +1 -1
  135. package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceRemoveConnectorMutation.mjs +1 -1
  136. package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceUpdateConnectorMutation.mjs +1 -1
  137. package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceAddCredentialMutation.mjs +1 -1
  138. package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceRemoveCredentialMutation.mjs +1 -1
  139. package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceUpdateCredentialMutation.mjs +1 -1
  140. package/dist/network/graphql/builder/Mutations/Space/folders/SpaceAddPageFolderMutation.mjs +1 -1
  141. package/dist/network/graphql/builder/Mutations/Space/folders/SpaceRemovePageFolderMutation.mjs +1 -1
  142. package/dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.mjs +1 -1
  143. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.d.ts +3 -0
  144. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.mjs +9 -0
  145. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.d.ts +11 -0
  146. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.mjs +24 -0
  147. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.d.ts +4 -0
  148. package/dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.mjs +15 -0
  149. package/dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.mjs +1 -1
  150. package/dist/network/graphql/builder/Mutations/Space/pages/SpaceHomePageMutation.mjs +1 -1
  151. package/dist/network/graphql/builder/Mutations/Space/pages/SpaceRemovePageMutation.mjs +1 -1
  152. package/dist/network/graphql/builder/Mutations/Space/pages/SpaceUpdatePageMutation.mjs +1 -1
  153. package/dist/network/graphql/builder/Mutations/Space/resources/SpaceAddResourceMutation.mjs +1 -1
  154. package/dist/network/graphql/builder/Mutations/Space/resources/SpaceMoveResourceMutation.mjs +1 -1
  155. package/dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.mjs +1 -1
  156. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.d.ts +2 -0
  157. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.mjs +9 -0
  158. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.d.ts +2 -0
  159. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs +9 -0
  160. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.d.ts +2 -0
  161. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.mjs +9 -0
  162. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.d.ts +2 -0
  163. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.mjs +9 -0
  164. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.d.ts +2 -0
  165. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.mjs +9 -0
  166. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.d.ts +2 -0
  167. package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.mjs +9 -0
  168. package/dist/network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation.mjs +1 -1
  169. package/dist/network/graphql/builder/Mutations/Space/variables/SpaceRemoveVariableMutation.mjs +1 -1
  170. package/dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.mjs +1 -1
  171. package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.d.ts +2 -0
  172. package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.mjs +11 -0
  173. package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.d.ts +2 -0
  174. package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.mjs +11 -0
  175. package/dist/network/graphql/builder/Mutations/Style/StyleUpdateMutation.mjs +1 -1
  176. package/dist/network/graphql/builder/Mutations/Style/StyleUpdateSettingsMutation.mjs +1 -1
  177. package/dist/network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation.mjs +1 -1
  178. package/dist/network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation.mjs +1 -1
  179. package/dist/network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation.mjs +1 -1
  180. package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleAddSelectorVariableMutation.mjs +1 -1
  181. package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs +1 -1
  182. package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs +1 -1
  183. package/dist/network/graphql/builder/Mutations/Style/selectors/StyleAddSelectorMutation.mjs +1 -1
  184. package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorMutation.mjs +1 -1
  185. package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorsMutation.mjs +1 -1
  186. package/dist/network/graphql/builder/Mutations/Style/selectors/StyleUpdateSelectorMutation.mjs +1 -1
  187. package/dist/network/graphql/builder/Mutations/Style/variables/StyleAddVariableMutation.mjs +1 -1
  188. package/dist/network/graphql/builder/Mutations/Style/variables/StyleRemoveVariableMutation.mjs +1 -1
  189. package/dist/network/graphql/builder/Mutations/Style/variables/StyleUpdateVariableMutation.mjs +1 -1
  190. package/dist/network/graphql/builder/Mutations/index.d.ts +28 -0
  191. package/dist/network/graphql/builder/Mutations/index.mjs +108 -84
  192. package/dist/network/graphql/builder/Queries/InitQuery.mjs +1 -1
  193. package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs +1 -1
  194. package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs +1 -1
  195. package/dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.mjs +1 -1
  196. package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.mjs +1 -1
  197. package/dist/network/graphql/builder/Queries/Space/SpaceActionsQuery.mjs +1 -1
  198. package/dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.mjs +1 -1
  199. package/dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.d.ts +23 -0
  200. package/dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.mjs +49 -0
  201. package/dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.mjs +1 -1
  202. package/dist/network/graphql/builder/Queries/Space/SpaceConnectorsQuery.mjs +1 -1
  203. package/dist/network/graphql/builder/Queries/Space/SpaceCredentialsQuery.mjs +1 -1
  204. package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.mjs +1 -1
  205. package/dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.d.ts +6 -0
  206. package/dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.mjs +13 -0
  207. package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.d.ts +17 -0
  208. package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.mjs +22 -0
  209. package/dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.mjs +1 -1
  210. package/dist/network/graphql/builder/Queries/Space/SpaceQuotaQuery.mjs +1 -1
  211. package/dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.mjs +1 -1
  212. package/dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.d.ts +6 -0
  213. package/dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.mjs +32 -0
  214. package/dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.d.ts +6 -0
  215. package/dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.mjs +16 -0
  216. package/dist/network/graphql/builder/Queries/index.d.ts +17 -3
  217. package/dist/network/graphql/builder/Queries/index.mjs +30 -22
  218. package/dist/network/graphql/builder/Subscriptions/SpaceEventSubscription.mjs +1 -1
  219. package/dist/network/graphql/sdk/Mutations/index.d.ts +1 -1
  220. package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +1 -1
  221. package/dist/network/graphql/sdk/Queries/InitQuery.mjs +2 -91
  222. package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.d.ts +1 -1
  223. package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs +2 -44
  224. package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.d.ts +1 -1
  225. package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs +2 -55
  226. package/dist/network/graphql/sdk/Queries/index.d.ts +1 -5
  227. package/dist/network/index.mjs +7 -7
  228. package/dist/network/spaceEvents.d.ts +33 -3
  229. package/dist/network/spaceEvents.mjs +102 -89
  230. package/dist/realtime/client.d.ts +46 -0
  231. package/dist/realtime/client.mjs +192 -0
  232. package/dist/realtime/index.d.ts +6 -0
  233. package/dist/realtime/index.mjs +4 -0
  234. package/dist/realtime/presence.d.ts +38 -0
  235. package/dist/realtime/presence.mjs +70 -0
  236. package/dist/realtime/topics.d.ts +36 -0
  237. package/dist/realtime/topics.mjs +25 -0
  238. package/dist/server/actions/useRealtimeSync.d.ts +9 -0
  239. package/dist/server/actions/useRealtimeSync.mjs +7 -0
  240. package/dist/state/index.d.ts +1 -0
  241. package/dist/state/index.mjs +3 -2
  242. package/dist/state/paintedState.d.ts +52 -0
  243. package/dist/state/paintedState.mjs +37 -0
  244. package/dist/state/runtimeStatePersist.d.ts +8 -1
  245. package/dist/state/runtimeStatePersist.mjs +79 -29
  246. package/dist/store/index.d.ts +45 -45
  247. package/dist/store/renderSettings.d.ts +6 -3
  248. package/dist/store/tracing/index.d.ts +1 -0
  249. package/dist/store/tracing/tracingCollector.d.ts +17 -1
  250. package/dist/store/tracing/tracingCollector.mjs +5 -0
  251. package/dist/style/index.d.ts +1 -0
  252. package/dist/style/index.mjs +3 -2
  253. package/dist/style/runtimeStyle.d.ts +29 -0
  254. package/dist/style/runtimeStyle.mjs +7 -0
  255. package/dist/style/styleConstants.d.ts +3 -2
  256. package/dist/style/styleConstants.mjs +2 -0
  257. package/dist/style/styleStates.d.ts +14 -1
  258. package/dist/style/styleStates.mjs +10 -7
  259. package/dist/theme/ThemeProvider.mjs +35 -29
  260. package/dist/theme/themeCookie.mjs +11 -15
  261. package/dist/types/ActionTypes.d.ts +4 -0
  262. package/dist/types/AuthTypes.d.ts +11 -1
  263. package/dist/types/CommonTypes.d.ts +6 -0
  264. package/dist/types/FunctionTypes.d.ts +52 -0
  265. package/dist/types/FunctionTypes.mjs +0 -0
  266. package/dist/types/PluginTypes.d.ts +0 -1
  267. package/dist/types/RealtimeTypes.d.ts +94 -0
  268. package/dist/types/RealtimeTypes.mjs +0 -0
  269. package/dist/types/SchemaTypes.d.ts +54 -0
  270. package/dist/types/SchemaTypes.mjs +8 -0
  271. package/dist/types/ServerTypes.d.ts +259 -15
  272. package/dist/types/SpaceTypes.d.ts +53 -0
  273. package/dist/types/StateTypes.d.ts +6 -0
  274. package/dist/types/StoreTypes.d.ts +11 -0
  275. package/dist/types/index.d.ts +2 -0
  276. package/dist/types/index.mjs +3 -2
  277. package/package.json +180 -11
  278. package/vite.config.ts +0 -12
  279. package/dist/network/graphql/builder/Queries/PluginsQuery.d.ts +0 -9
  280. package/dist/network/graphql/builder/Queries/PluginsQuery.mjs +0 -54
package/dist/index.mjs CHANGED
@@ -1,68 +1,77 @@
1
1
  import { authFailureFromResponse as e, onAuthFailure as t, reportAuthFailure as n, sameRegistrableDomain as r } from "./auth/failureChannel.mjs";
2
- import { createAuthFailureLink as i } from "./auth/authFailureLink.mjs";
3
- import { filters as a } from "./helpers/twigWrapper/filters/filters.mjs";
4
- import { processTwig as o } from "./helpers/twigWrapper/processTwig/processTwig.mjs";
5
- import { hasTemplateSyntax as s } from "./helpers/twigWrapper/tokens/hasTemplateSyntax.mjs";
6
- import { hasValidToken as c } from "./helpers/twigWrapper/tokens/hasValidToken.mjs";
7
- import { templateRootNames as l } from "./helpers/twigWrapper/templateRoots.mjs";
8
- import u from "./builder/contexts/BuilderContext.mjs";
9
- import { contexts_exports as d } from "./builder/contexts/index.mjs";
10
- import { BODYLESS_METHODS as f, CONNECTOR_HTTP_METHODS as p, DEFAULT_READ_ENDPOINT as m, EMPTY_RESPONSE_METHODS as h, READ_ENDPOINT_NAMES as g, WRITE_ENDPOINT_NAMES as _ } from "./connectors/constants.mjs";
11
- import { connectorTokens as v, getConnectorTokens as y } from "./connectors/manifestTokens.mjs";
12
- import { connectorPresets as b, emptyManifest as x } from "./connectors/presets.mjs";
13
- import { validateConnectorManifest as S } from "./connectors/validateManifest.mjs";
14
- import C from "./helpers/fetchManifest.mjs";
15
- import w from "./helpers/generateFacade.mjs";
16
- import T from "./helpers/syntaxHighlight.mjs";
17
- import { formatDate as E, formatDateUTC as D, formatFromNow as O, formatUTCToLocal as k, getDurationMs as A, isDate as j, isValidFormat as M, parseDate as N, toUnixSeconds as P } from "./helpers/formatDate.mjs";
18
- import { isUserEdit as F } from "./helpers/reducerOrigin.mjs";
19
- import { evaluateRuleGroup as I } from "./helpers/ruleEvaluator.mjs";
20
- import { ParamsFromURL as L, delay as R, emptyObject as z, getDisplayName as B, getKeyDecoded as V, getPathsFromObeject as H, hexToRGB as U, isInViewport as W, makeId as G } from "./helpers/utils.mjs";
21
- import { disableReactDevTools as K } from "./helpers/security.mjs";
22
- import { createStripTypenameLink as q, stripTypenameDeep as J } from "./helpers/stripTypename.mjs";
23
- import Y, { utilityOptions as X } from "./dataSource/utility/index.mjs";
24
- import Z from "./dataSource/getBindingsDetails.mjs";
25
- import Q from "./dataSource/helpers/getSourceName.mjs";
26
- import $ from "./dataSource/hooks/useRegisterSource.mjs";
27
- import ee from "./dataSource/resolveVariables.mjs";
28
- import te from "./devTools/DevToolsContext.mjs";
29
- import { debugCookieName as ne } from "./devTools/debugCookie.mjs";
30
- import re from "./devTools/interactionLog.mjs";
31
- import ie, { createStoreDevToolsLogger as ae, pConsole as oe } from "./devTools/utils/PlitziConsole.mjs";
32
- import se from "./elements/ComponentContext.mjs";
33
- import ce from "./hooks/useFontHead.mjs";
34
- import le from "./hooks/useNetwork.mjs";
35
- import ue, { PlitziServiceContext as de, PlitziServiceProvider as fe } from "./hooks/usePlitziServiceContext.mjs";
36
- import pe from "./hooks/useStableValue.mjs";
37
- import { StyleVariableCategory as me } from "./types/StyleTypes.mjs";
38
- import he, { EMPTY_STYLE_SCHEMA as ge, StyleBindingsAllowed as _e, baseDefaultValue as ve, inheritableAttributesBase as ye } from "./style/styleConstants.mjs";
39
- import { fontLinkAssets as be } from "./style/fontAssets.mjs";
40
- import { SYSTEM_FONTS as xe, availableFonts as Se, familiesInCss as Ce, fontFamilyStack as we, fontUrlResolver as Te, fontsToHead as Ee, googleCss2Url as De, googleTextSubsetUrl as Oe, isSafeFontUrl as ke, primaryFamily as Ae } from "./style/fonts.mjs";
41
- import { FontValidationError as je, parseSpaceFont as Me } from "./style/fontValidation.mjs";
42
- import { fallbackForFamily as Ne, fontsFromCss as Pe } from "./style/fontsFromCss.mjs";
43
- import { STYLE_STATES as Fe, STYLE_STATE_LABELS as Ie, inCascadeOrder as Le, isKnownState as Re } from "./style/styleStates.mjs";
44
- import ze from "./schema/SchemaContext.mjs";
45
- import { EMPTY_SCHEMA as Be, VARIABLE_REGEX as Ve } from "./schema/schemaConstants.mjs";
46
- import { findLayoutCycle as He, resolveLayoutChain as Ue } from "./schema/layoutChain.mjs";
47
- import { collectServerElements as We, hasServerElements as Ge } from "./schema/serverElements.mjs";
48
- import Ke from "./network/NetworkContext.mjs";
49
- import qe from "./network/NetworkInternalContext.mjs";
50
- import { SpaceEvents as Je, spaceEventSchemas as Ye, validateSpaceEvent as Xe } from "./network/spaceEvents.mjs";
51
- import Ze from "./network/graphql/builder/Mutations/index.mjs";
52
- import Qe from "./network/graphql/builder/Queries/index.mjs";
53
- import $e from "./network/graphql/builder/Subscriptions/index.mjs";
54
- import et from "./network/graphql/sdk/Mutations/index.mjs";
55
- import tt from "./network/graphql/sdk/Queries/index.mjs";
56
- import nt from "./segments/SegmentsContext.mjs";
57
- import rt, { RTEvent as it, RTEventCloseCode as at, getInstance as ot, isRTEvent as st, setInstance as ct } from "./websockets/RTCodec.mjs";
58
- import { THEME_CLASSES as lt, THEME_COOKIE_NAME as ut, applyThemeClass as dt, isTheme as ft, readThemeCookie as pt, themeFromCookies as mt, writeThemeCookie as ht } from "./theme/themeCookie.mjs";
59
- import gt, { createThemeState as _t, createThemeStore as vt, resolveScheme as yt, setAreaTheme as bt, setMachineScheme as xt, setThemeMode as St, themeFor as Ct } from "./theme/themeStore.mjs";
60
- import { useThemeStore as wt } from "./theme/ThemeScope.mjs";
61
- import Tt from "./theme/ThemeProvider.mjs";
62
- import Et, { SPACE_THEME_AREA as Dt } from "./theme/useTheme.mjs";
63
- import Ot from "./server/actions/useActionsSync.mjs";
64
- import kt, { currentRscLocation as At, rscDataPath as jt } from "./server/rsc/refreshRsc.mjs";
65
- import Mt from "./server/rsc/useRscRefresh.mjs";
66
- import Nt from "./server/rsc/useRscSync.mjs";
67
- import { runtimeStatePersist as Pt, stateOwner as Ft } from "./state/runtimeStatePersist.mjs";
68
- export { f as BODYLESS_METHODS, u as BuilderContext, Ze as BuilderMutations, Qe as BuilderQueries, p as CONNECTOR_HTTP_METHODS, se as ComponentContext, m as DEFAULT_READ_ENDPOINT, te as DevToolsContext, h as EMPTY_RESPONSE_METHODS, Be as EMPTY_SCHEMA, ge as EMPTY_STYLE_SCHEMA, je as FontValidationError, Ke as NetworkContext, qe as NetworkInternalContext, L as ParamsFromURL, ie as PlitziConsole, de as PlitziServiceContext, fe as PlitziServiceProvider, g as READ_ENDPOINT_NAMES, rt as RTCodec, it as RTEvent, at as RTEventCloseCode, Dt as SPACE_THEME_AREA, Fe as STYLE_STATES, Ie as STYLE_STATE_LABELS, xe as SYSTEM_FONTS, ze as SchemaContext, et as SdkMutations, tt as SdkQueries, nt as SegmentsContext, $e as SpaceEventSubscription, Je as SpaceEvents, _e as StyleBindingsAllowed, me as StyleVariableCategory, lt as THEME_CLASSES, ut as THEME_COOKIE_NAME, Tt as ThemeProvider, Ve as VARIABLE_REGEX, _ as WRITE_ENDPOINT_NAMES, dt as applyThemeClass, e as authFailureFromResponse, Se as availableFonts, ve as baseDefaultValue, We as collectServerElements, b as connectorPresets, v as connectorTokens, d as contexts, i as createAuthFailureLink, ae as createStoreDevToolsLogger, q as createStripTypenameLink, _t as createThemeState, vt as createThemeStore, At as currentRscLocation, ne as debugCookieName, R as delay, K as disableReactDevTools, x as emptyManifest, z as emptyObject, I as evaluateRuleGroup, Ne as fallbackForFamily, Ce as familiesInCss, C as fetchManifest, a as filters, He as findLayoutCycle, we as fontFamilyStack, be as fontLinkAssets, Te as fontUrlResolver, Pe as fontsFromCss, Ee as fontsToHead, E as formatDate, D as formatDateUTC, O as formatFromNow, k as formatUTCToLocal, w as generateFacade, Z as getBindingsDetails, y as getConnectorTokens, B as getDisplayName, A as getDurationMs, ot as getInstance, V as getKeyDecoded, H as getPathsFromObeject, Q as getSourceName, De as googleCss2Url, Oe as googleTextSubsetUrl, Ge as hasServerElements, s as hasTemplateSyntax, c as hasValidToken, U as hexToRGB, Le as inCascadeOrder, ye as inheritableAttributesBase, j as isDate, W as isInViewport, re as isInteractionFlow, Re as isKnownState, st as isRTEvent, ke as isSafeFontUrl, ft as isTheme, F as isUserEdit, M as isValidFormat, G as makeId, t as onAuthFailure, oe as pConsole, N as parseDate, Me as parseSpaceFont, Ae as primaryFamily, o as processTwig, pt as readThemeCookie, kt as refreshRsc, n as reportAuthFailure, Ue as resolveLayoutChain, yt as resolveScheme, ee as resolveVariables, jt as rscDataPath, Pt as runtimeStatePersist, r as sameRegistrableDomain, bt as setAreaTheme, ct as setInstance, xt as setMachineScheme, St as setThemeMode, Ye as spaceEventSchemas, Ft as stateOwner, J as stripTypenameDeep, he as styleConstants, T as syntaxHighlight, l as templateRootNames, Ct as themeFor, mt as themeFromCookies, gt as themeStore, P as toUnixSeconds, Ot as useActionsSync, ce as useFontHead, le as useNetwork, ue as usePlitziServiceContext, $ as useRegisterSource, Mt as useRscRefresh, Nt as useRscSync, pe as useStableValue, Et as useTheme, wt as useThemeStore, Y as utility, X as utilityOptions, S as validateConnectorManifest, Xe as validateSpaceEvent, ht as writeThemeCookie };
2
+ import { VISITOR_NAME as i, checkVisitorRoles as a, visitorAccess as o } from "./auth/visitorRoles.mjs";
3
+ import { filters as s } from "./helpers/twigWrapper/filters/filters.mjs";
4
+ import { processTwig as c, processTwigParam as l, processTwigValue as u } from "./helpers/twigWrapper/processTwig/processTwig.mjs";
5
+ import { hasTemplateSyntax as d } from "./helpers/twigWrapper/tokens/hasTemplateSyntax.mjs";
6
+ import { hasValidToken as f } from "./helpers/twigWrapper/tokens/hasValidToken.mjs";
7
+ import { MAX_PARAM_PASSES as p, resolveStepParam as m } from "./helpers/twigWrapper/processTwig/resolveStepParam.mjs";
8
+ import { inspectTemplate as h } from "./helpers/twigWrapper/inspectTemplate.mjs";
9
+ import { templatePaths as g, templateRootNames as _ } from "./helpers/twigWrapper/templateRoots.mjs";
10
+ import v from "./builder/contexts/BuilderContext.mjs";
11
+ import { contexts_exports as y } from "./builder/contexts/index.mjs";
12
+ import { BODYLESS_METHODS as b, CONNECTOR_HTTP_METHODS as x, DEFAULT_READ_ENDPOINT as S, EMPTY_RESPONSE_METHODS as C, READ_ENDPOINT_NAMES as w, WRITE_ENDPOINT_NAMES as T } from "./connectors/constants.mjs";
13
+ import { connectorTokens as E, getConnectorTokens as D } from "./connectors/manifestTokens.mjs";
14
+ import { connectorPresets as O, emptyManifest as k } from "./connectors/presets.mjs";
15
+ import { validateConnectorManifest as A } from "./connectors/validateManifest.mjs";
16
+ import { evaluateComputed as j, liveSources as M } from "./dataSource/computed.mjs";
17
+ import N from "./helpers/fetchManifest.mjs";
18
+ import P from "./helpers/generateFacade.mjs";
19
+ import F from "./helpers/syntaxHighlight.mjs";
20
+ import { cookieFromHeader as I, documentCookies as L } from "./helpers/cookies.mjs";
21
+ import { formatDate as R, formatDateUTC as z, formatFromNow as B, formatUTCToLocal as V, getDurationMs as H, isValidFormat as U, parseDate as W, toUnixSeconds as G } from "./helpers/formatDate.mjs";
22
+ import { isDate as K } from "./helpers/isDate.mjs";
23
+ import { isUserEdit as q } from "./helpers/reducerOrigin.mjs";
24
+ import { evaluateRuleGroup as J } from "./helpers/ruleEvaluator.mjs";
25
+ import { ParamsFromURL as Y, delay as X, emptyObject as Z, getDisplayName as Q, getKeyDecoded as $, getPathsFromObeject as ee, hexToRGB as te, isInViewport as ne, makeId as re } from "./helpers/utils.mjs";
26
+ import { disableReactDevTools as ie } from "./helpers/security.mjs";
27
+ import ae, { utilityOptions as oe } from "./dataSource/utility/index.mjs";
28
+ import se from "./dataSource/getBindingsDetails.mjs";
29
+ import ce from "./dataSource/helpers/getSourceName.mjs";
30
+ import le from "./dataSource/hooks/useRegisterSource.mjs";
31
+ import ue from "./dataSource/resolveVariables.mjs";
32
+ import de from "./devTools/DevToolsContext.mjs";
33
+ import { debugCookieName as fe } from "./devTools/debugCookie.mjs";
34
+ import pe from "./devTools/interactionLog.mjs";
35
+ import me, { createStoreDevToolsLogger as he, pConsole as ge } from "./devTools/utils/PlitziConsole.mjs";
36
+ import _e from "./elements/ComponentContext.mjs";
37
+ import { describeChange as ve, fieldChanges as ye, uniqueLines as be } from "./history/describe.mjs";
38
+ import { diffSchema as xe, diffStyle as Se, jsonCopy as Ce, sameValue as we } from "./history/diff.mjs";
39
+ import Te from "./hooks/useFontHead.mjs";
40
+ import Ee from "./hooks/useNetwork.mjs";
41
+ import De, { PlitziServiceContext as Oe, PlitziServiceProvider as ke } from "./hooks/usePlitziServiceContext.mjs";
42
+ import Ae from "./hooks/useStableValue.mjs";
43
+ import { WHILE_RUNNING_MODES as je } from "./types/SchemaTypes.mjs";
44
+ import { StyleVariableCategory as Me } from "./types/StyleTypes.mjs";
45
+ import Ne, { EMPTY_STYLE_SCHEMA as Pe, StyleBindingsAllowed as Fe, baseDefaultValue as Ie, inheritableAttributesBase as Le } from "./style/styleConstants.mjs";
46
+ import { fontLinkAssets as Re } from "./style/fontAssets.mjs";
47
+ import { SYSTEM_FONTS as ze, availableFonts as Be, familiesInCss as Ve, fontFamilyStack as He, fontUrlResolver as Ue, fontsToHead as We, googleCss2Url as Ge, googleTextSubsetUrl as Ke, isSafeFontUrl as qe, primaryFamily as Je } from "./style/fonts.mjs";
48
+ import { FontValidationError as Ye, parseSpaceFont as Xe } from "./style/fontValidation.mjs";
49
+ import { fallbackForFamily as Ze, fontsFromCss as Qe } from "./style/fontsFromCss.mjs";
50
+ import { RUNTIME_STYLE_ID as $e, markStyleCache as et, styleCacheFromDocument as tt, styleCacheTravelsInDocument as nt } from "./style/runtimeStyle.mjs";
51
+ import { HIDDEN_CLASS as rt, STYLE_STATES as it, STYLE_STATE_LABELS as at, inCascadeOrder as ot, isKnownState as st, isStartingState as ct, stateSuffix as lt } from "./style/styleStates.mjs";
52
+ import ut from "./schema/SchemaContext.mjs";
53
+ import { EMPTY_SCHEMA as dt, VARIABLE_REGEX as ft } from "./schema/schemaConstants.mjs";
54
+ import { findLayoutCycle as pt, resolveLayoutChain as mt } from "./schema/layoutChain.mjs";
55
+ import { collectServerElements as ht, hasServerElements as gt } from "./schema/serverElements.mjs";
56
+ import _t from "./network/NetworkContext.mjs";
57
+ import vt from "./network/NetworkInternalContext.mjs";
58
+ import { SpaceEvents as yt, schemaFromWire as bt, schemaToWire as xt, spaceEventSchemas as St, validateSpaceEvent as Ct } from "./network/spaceEvents.mjs";
59
+ import wt from "./network/graphql/builder/Mutations/index.mjs";
60
+ import Tt from "./network/graphql/builder/Queries/index.mjs";
61
+ import Et from "./network/graphql/builder/Subscriptions/index.mjs";
62
+ import Dt from "./network/graphql/sdk/Mutations/index.mjs";
63
+ import Ot from "./network/graphql/sdk/Queries/index.mjs";
64
+ import kt from "./segments/SegmentsContext.mjs";
65
+ import At, { RTEvent as jt, RTEventCloseCode as Mt, getInstance as Nt, isRTEvent as Pt, setInstance as Ft } from "./websockets/RTCodec.mjs";
66
+ import { THEME_CLASSES as It, THEME_COOKIE_NAME as Lt, applyThemeClass as Rt, isTheme as zt, readThemeCookie as Bt, themeFromCookies as Vt, writeThemeCookie as Ht } from "./theme/themeCookie.mjs";
67
+ import Ut, { createThemeState as Wt, createThemeStore as Gt, resolveScheme as Kt, setAreaTheme as qt, setMachineScheme as Jt, setThemeMode as Yt, themeFor as Xt } from "./theme/themeStore.mjs";
68
+ import { useThemeStore as Zt } from "./theme/ThemeScope.mjs";
69
+ import Qt from "./theme/ThemeProvider.mjs";
70
+ import $t, { SPACE_THEME_AREA as en } from "./theme/useTheme.mjs";
71
+ import tn from "./server/actions/useActionsSync.mjs";
72
+ import nn, { currentRscLocation as rn, rscDataPath as an } from "./server/rsc/refreshRsc.mjs";
73
+ import on from "./server/rsc/useRscRefresh.mjs";
74
+ import sn from "./server/rsc/useRscSync.mjs";
75
+ import { PAINTED_STATE_BUDGET as cn, clearPaintedEntry as ln, paintedEntryFromCookies as un, paintedKeys as dn, paintedStateCookieName as fn, paintedStateFor as pn, pickPainted as mn, readPaintedEntry as hn, writePaintedEntry as gn } from "./state/paintedState.mjs";
76
+ import { runtimeStatePersist as _n, stateOwner as vn } from "./state/runtimeStatePersist.mjs";
77
+ export { b as BODYLESS_METHODS, v as BuilderContext, wt as BuilderMutations, Tt as BuilderQueries, x as CONNECTOR_HTTP_METHODS, _e as ComponentContext, S as DEFAULT_READ_ENDPOINT, de as DevToolsContext, C as EMPTY_RESPONSE_METHODS, dt as EMPTY_SCHEMA, Pe as EMPTY_STYLE_SCHEMA, Ye as FontValidationError, rt as HIDDEN_CLASS, p as MAX_PARAM_PASSES, _t as NetworkContext, vt as NetworkInternalContext, cn as PAINTED_STATE_BUDGET, Y as ParamsFromURL, me as PlitziConsole, Oe as PlitziServiceContext, ke as PlitziServiceProvider, w as READ_ENDPOINT_NAMES, At as RTCodec, jt as RTEvent, Mt as RTEventCloseCode, $e as RUNTIME_STYLE_ID, en as SPACE_THEME_AREA, it as STYLE_STATES, at as STYLE_STATE_LABELS, ze as SYSTEM_FONTS, ut as SchemaContext, Dt as SdkMutations, Ot as SdkQueries, kt as SegmentsContext, Et as SpaceEventSubscription, yt as SpaceEvents, Fe as StyleBindingsAllowed, Me as StyleVariableCategory, It as THEME_CLASSES, Lt as THEME_COOKIE_NAME, Qt as ThemeProvider, ft as VARIABLE_REGEX, i as VISITOR_NAME, je as WHILE_RUNNING_MODES, T as WRITE_ENDPOINT_NAMES, Rt as applyThemeClass, e as authFailureFromResponse, Be as availableFonts, Ie as baseDefaultValue, a as checkVisitorRoles, ln as clearPaintedEntry, ht as collectServerElements, O as connectorPresets, E as connectorTokens, y as contexts, I as cookieFromHeader, he as createStoreDevToolsLogger, Wt as createThemeState, Gt as createThemeStore, rn as currentRscLocation, fe as debugCookieName, X as delay, ve as describeChange, xe as diffSchema, Se as diffStyle, ie as disableReactDevTools, L as documentCookies, k as emptyManifest, Z as emptyObject, j as evaluateComputed, J as evaluateRuleGroup, Ze as fallbackForFamily, Ve as familiesInCss, N as fetchManifest, ye as fieldChanges, s as filters, pt as findLayoutCycle, He as fontFamilyStack, Re as fontLinkAssets, Ue as fontUrlResolver, Qe as fontsFromCss, We as fontsToHead, R as formatDate, z as formatDateUTC, B as formatFromNow, V as formatUTCToLocal, P as generateFacade, se as getBindingsDetails, D as getConnectorTokens, Q as getDisplayName, H as getDurationMs, Nt as getInstance, $ as getKeyDecoded, ee as getPathsFromObeject, ce as getSourceName, Ge as googleCss2Url, Ke as googleTextSubsetUrl, gt as hasServerElements, d as hasTemplateSyntax, f as hasValidToken, te as hexToRGB, ot as inCascadeOrder, Le as inheritableAttributesBase, h as inspectTemplate, K as isDate, ne as isInViewport, pe as isInteractionFlow, st as isKnownState, Pt as isRTEvent, qe as isSafeFontUrl, ct as isStartingState, zt as isTheme, q as isUserEdit, U as isValidFormat, Ce as jsonCopy, M as liveSources, re as makeId, et as markStyleCache, t as onAuthFailure, ge as pConsole, un as paintedEntryFromCookies, dn as paintedKeys, fn as paintedStateCookieName, pn as paintedStateFor, W as parseDate, Xe as parseSpaceFont, mn as pickPainted, Je as primaryFamily, c as processTwig, l as processTwigParam, u as processTwigValue, hn as readPaintedEntry, Bt as readThemeCookie, nn as refreshRsc, n as reportAuthFailure, mt as resolveLayoutChain, Kt as resolveScheme, m as resolveStepParam, ue as resolveVariables, an as rscDataPath, _n as runtimeStatePersist, r as sameRegistrableDomain, we as sameValue, bt as schemaFromWire, xt as schemaToWire, qt as setAreaTheme, Ft as setInstance, Jt as setMachineScheme, Yt as setThemeMode, St as spaceEventSchemas, vn as stateOwner, lt as stateSuffix, tt as styleCacheFromDocument, nt as styleCacheTravelsInDocument, Ne as styleConstants, F as syntaxHighlight, g as templatePaths, _ as templateRootNames, Xt as themeFor, Vt as themeFromCookies, Ut as themeStore, G as toUnixSeconds, be as uniqueLines, tn as useActionsSync, Te as useFontHead, Ee as useNetwork, De as usePlitziServiceContext, le as useRegisterSource, on as useRscRefresh, sn as useRscSync, Ae as useStableValue, $t as useTheme, Zt as useThemeStore, ae as utility, oe as utilityOptions, A as validateConnectorManifest, Ct as validateSpaceEvent, o as visitorAccess, gn as writePaintedEntry, Ht as writeThemeCookie };
@@ -1,4 +1,4 @@
1
1
  export { matchPath } from './matchPath';
2
- export { getPageFullPath, getPaths, isAbsoluteUrl, isPageAuthored, matchRoutePath, getRouteParams } from './routes';
2
+ export { getPageFullPath, getPaths, isAbsoluteUrl, isPageAuthored, matchRoutePath, getRouteParams, getSlugParams, navigationTarget } from './routes';
3
3
  export type { PathMatch, PathPattern } from './matchPath';
4
4
  export type { NavigationAccessLevel, NavigationAction, Path } from './routes';
@@ -1,3 +1,3 @@
1
1
  import { matchPath as e } from "./matchPath.mjs";
2
- import { getPageFullPath as t, getPaths as n, getRouteParams as r, isAbsoluteUrl as i, isPageAuthored as a, matchRoutePath as o } from "./routes.mjs";
3
- export { t as getPageFullPath, n as getPaths, r as getRouteParams, i as isAbsoluteUrl, a as isPageAuthored, e as matchPath, o as matchRoutePath };
2
+ import { getPageFullPath as t, getPaths as n, getRouteParams as r, getSlugParams as i, isAbsoluteUrl as a, isPageAuthored as o, matchRoutePath as s, navigationTarget as c } from "./routes.mjs";
3
+ export { t as getPageFullPath, n as getPaths, r as getRouteParams, i as getSlugParams, a as isAbsoluteUrl, o as isPageAuthored, e as matchPath, s as matchRoutePath, c as navigationTarget };
@@ -22,6 +22,14 @@ export type Path = {
22
22
  export declare const isAbsoluteUrl: (url: string) => boolean;
23
23
  declare function getPageFullPath(pages: Record<string, Element>, pageFolders: PageFolder[], pageId: string, asString: true): string;
24
24
  declare function getPageFullPath(pages: Record<string, Element>, pageFolders: PageFolder[], pageId: string, asString?: false): Record<string, string>;
25
+ /**
26
+ * Where a navigation to `target` goes: a page id resolves to that page's full path — its folders' slugs before its own,
27
+ * exactly what a link to it resolves to — and anything else (a path, a slug) is taken as the path it already is.
28
+ *
29
+ * The router's navigation and a link used to disagree about a page in a folder: the link went to `/account/security`,
30
+ * a flow's `navigate` to `/security`, and to the home page for a folder's index — whose own slug is empty.
31
+ */
32
+ declare const navigationTarget: (pages: Record<string, Element>, pageFolders: PageFolder[], target: string) => string;
25
33
  declare const isPageAuthored: (accessLevel?: NavigationAccessLevel, authenticated?: boolean, previewMode?: boolean) => boolean;
26
34
  declare const getPaths: (pages?: Record<string, Element>, pageFolders?: PageFolder[], authenticated?: boolean, basePath?: string, previewMode?: boolean, strictMode?: boolean) => Path[];
27
35
  declare const matchRoutePath: (paths: Path[], pathName: string, authenticated: boolean) => {
@@ -33,4 +41,6 @@ declare const matchRoutePath: (paths: Path[], pathName: string, authenticated: b
33
41
  pageId?: string;
34
42
  };
35
43
  declare const getRouteParams: (path: string) => string[];
36
- export { getPageFullPath, getPaths, matchRoutePath, isPageAuthored, getRouteParams };
44
+ /** The params a page's slug declares, in either spelling a slug accepts: `post/{{slug}}` and `:spaceId/update`. */
45
+ declare const getSlugParams: (slug: string) => string[];
46
+ export { getPageFullPath, getPaths, matchRoutePath, isPageAuthored, getRouteParams, getSlugParams, navigationTarget };
@@ -1,6 +1,6 @@
1
1
  import { matchPath as e } from "./matchPath.mjs";
2
2
  //#region src/navigation/routes.ts
3
- var t = (e) => /^https?:\/\//i.test(e), n = (e) => t(e) || e.includes("{{"), r = (e) => e.replaceAll(/\/+/g, "/"), i = (e) => r(e.replace(/{{([a-zA-Z0-9-_:*/]+)}}/i, ":$1")), a = (e, t) => {
3
+ var t = (e) => /^https?:\/\//i.test(e), n = (e) => t(e) || e.includes("{{"), r = (e) => e.replaceAll(/\/+/g, "/"), i = (e) => r(e.replace(/{{([a-zA-Z0-9-_:*/]+)}}/gi, ":$1")), a = (e, t) => {
4
4
  if (!t || !e[t]) return "";
5
5
  let { slug: n, parentId: r } = e[t];
6
6
  return r ? `${a(e, r)}/${n}` : n;
@@ -34,10 +34,15 @@ function o(e, t, n, o = !1) {
34
34
  [i(`/${n}`)]: n
35
35
  };
36
36
  }
37
- var s = (e, t, n = !0) => !e || !n || t === void 0 || t && e === "authenticated" || !t && e === "public" ? !0 : t && e === "public" ? !1 : !e, c = (e = {}, t = [], r, i = "", a = !0, c = !0) => {
38
- let l = Object.keys(e).reduce((c, l) => {
37
+ var s = (e, t, n) => {
38
+ let r = e[n];
39
+ if (!r) return n;
40
+ let { slug: i, default: a } = r.attributes;
41
+ return typeof i == "string" ? o(e, t, n, !0) : a ? "/" : `/${n}`;
42
+ }, c = (e, t, n = !0) => !e || !n || t === void 0 || t && e === "authenticated" || !t && e === "public" ? !0 : t && e === "public" ? !1 : !e, l = (e = {}, t = [], r, i = "", a = !0, s = !0) => {
43
+ let l = Object.keys(e).reduce((s, l) => {
39
44
  let { attributes: { accessLevel: u, enabled: d = !0, unauthorizedBehaviour: f } } = e[l], p = e[l].attributes.unauthorizedPageRedirect;
40
- if (!d && a) return c;
45
+ if (!d && a) return s;
41
46
  p &&= n(p) ? p : o(e, t, p, !0);
42
47
  let m = o(e, t, l), h = Object.keys(m).map((e) => ({
43
48
  pageId: l,
@@ -47,11 +52,11 @@ var s = (e, t, n = !0) => !e || !n || t === void 0 || t && e === "authenticated"
47
52
  isRaw: `/${l}` === e,
48
53
  unauthorizedBehaviour: f,
49
54
  unauthorizedPageRedirect: p,
50
- hasAccess: s(u, r, a)
55
+ hasAccess: c(u, r, a)
51
56
  }));
52
- return [...c, ...h];
57
+ return [...s, ...h];
53
58
  }, []).filter((e) => e.path !== "*" || e.hasAccess).sort((e, t) => e.path === t.path ? e.accessLevel === "authenticated" ? -1 : 1 : e.path > t.path ? -1 : 1);
54
- if (!l.find((e) => e.path === "*") && !c) {
59
+ if (!l.find((e) => e.path === "*") && !s) {
55
60
  let e = l.find((e) => e.path === "/" && e.hasAccess);
56
61
  e && e.unauthorizedBehaviour === "redirect" && e.unauthorizedPageRedirect && l.push({
57
62
  ...e,
@@ -63,7 +68,7 @@ var s = (e, t, n = !0) => !e || !n || t === void 0 || t && e === "authenticated"
63
68
  });
64
69
  }
65
70
  return l;
66
- }, l = (t, n, r) => {
71
+ }, u = (t, n, r) => {
67
72
  if (!n) return {
68
73
  action: {
69
74
  type: "accessDenied",
@@ -119,6 +124,6 @@ var s = (e, t, n = !0) => !e || !n || t === void 0 || t && e === "authenticated"
119
124
  },
120
125
  pathMatch: void 0
121
126
  };
122
- }, u = (e) => !e || typeof e != "string" ? [] : (e.match(/:[a-zA-Z0-9-_:*]+/gim) || []).map((e) => e.replace(":", ""));
127
+ }, d = (e) => !e || typeof e != "string" ? [] : (e.match(/:[a-zA-Z0-9-_:*]+/gim) || []).map((e) => e.replace(":", "")), f = (e) => d(i(e));
123
128
  //#endregion
124
- export { o as getPageFullPath, c as getPaths, u as getRouteParams, t as isAbsoluteUrl, s as isPageAuthored, l as matchRoutePath };
129
+ export { o as getPageFullPath, l as getPaths, d as getRouteParams, f as getSlugParams, t as isAbsoluteUrl, c as isPageAuthored, u as matchRoutePath, s as navigationTarget };
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/SegmentAddMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentAddMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentAddTemplateMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentPublish($environment: String!, $description: String!, $contextId: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentRemoveMutation($id: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentUpdateMutation($id: String!, $segment: Json!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentAddElementMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentCloneElementMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentMoveElementMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentRemoveElementMutation($environment: String!, $elementId: String!, $contextId: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentRenameElementMutation($environment: String!, $elementId: String!, $id: String!, $contextId: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentUpdateElementMutation($environment: String!, $element: Json!, $contextId: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentUpdateElementsMutation($environment: String!, $elements: [Json!]!, $contextId: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentSpaceAddVariableMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentSpaceRemoveVariableMutation($environment: String!, $contextId: String!, $name: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentSpaceUpdateVariableMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleAddSelectorVariableMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleRemoveSelectorVariableMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleUpdateSelectorVariableMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleAddSelectorMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleRemoveSelectorMutation($environment: String!, $selector: String!, $contextId: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleRemoveSelectorsMutation($environment: String!, $selectors: [String!]!, $contextId: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleUpdateSelectorMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleAddVariableMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleRemoveVariableMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.ts
3
3
  var t = e`
4
4
  mutation SegmentStyleUpdateVariableMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceAddElementMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceAddPluginMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceAddPluginMutation($environment: String!, $pluginType: String!, $resource: String!, $override: Boolean) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceAddTemplateMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceCloneElementMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceDeployMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceDeploy($environment: String!, $domain: String!, $revision: Int, $credentialIdentifier: String) {
@@ -0,0 +1,14 @@
1
+ import { SchemaRaw } from '../../../../../types';
2
+ /** One change the fix made, keyed by the issue it settles. */
3
+ export type TSpaceFix = {
4
+ code: string;
5
+ elementId: string | null;
6
+ message: string;
7
+ };
8
+ /** What was changed, and the schema as it is now stored — `flat` as a list, the shape the live channel carries. */
9
+ export type TSpaceFixIssuesMutation = {
10
+ applied: TSpaceFix[];
11
+ schema: SchemaRaw;
12
+ };
13
+ declare const SpaceFixIssuesMutation: import('graphql').DocumentNode;
14
+ export default SpaceFixIssuesMutation;
@@ -0,0 +1,16 @@
1
+ import { gql as e } from "graphql-tag";
2
+ //#region src/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.ts
3
+ var t = e`
4
+ mutation SpaceFixIssues($environment: String!) {
5
+ SpaceFixIssues(environment: $environment) {
6
+ applied {
7
+ code
8
+ elementId
9
+ message
10
+ }
11
+ schema
12
+ }
13
+ }
14
+ `;
15
+ //#endregion
16
+ export { t as default };
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceMoveElementMutation(
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpacePublishMutation.ts
3
3
  var t = e`
4
4
  mutation SpacePublish($environment: String!, $description: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceRemoveElementMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceRemoveElement($environment: String!, $elementId: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceRemovePluginMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceRemovePluginMutation($environment: String!, $pluginType: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceRenameElementMutation($environment: String!, $elementId: String!, $id: String!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceUpdateElement($environment: String!, $element: Json!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceUpdateElements($environment: String!, $elements: [Json!]!) {
@@ -1,4 +1,4 @@
1
- import { gql as e } from "@apollo/client/core";
1
+ import { gql as e } from "graphql-tag";
2
2
  //#region src/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.ts
3
3
  var t = e`
4
4
  mutation SpaceUpdate($environment: String!, $schema: Json!, $styleId: String!, $style: Json!) {