@plitzi/sdk-shared 0.33.2 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/dist/actions/cron.d.ts +34 -0
  3. package/dist/actions/cron.mjs +72 -0
  4. package/dist/actions/index.d.ts +6 -0
  5. package/dist/actions/index.mjs +5 -0
  6. package/dist/actions/triggerParams.d.ts +41 -0
  7. package/dist/actions/triggerParams.mjs +40 -0
  8. package/dist/actions/triggers.d.ts +29 -0
  9. package/dist/actions/triggers.mjs +4 -0
  10. package/dist/actions/validateDocument.d.ts +23 -0
  11. package/dist/actions/validateDocument.mjs +267 -0
  12. package/dist/auth/failureChannel.d.ts +9 -4
  13. package/dist/auth/failureChannel.mjs +3 -2
  14. package/dist/authoring/builder.d.ts +51 -0
  15. package/dist/authoring/builder.mjs +29 -0
  16. package/dist/authoring/declare.d.ts +64 -0
  17. package/dist/authoring/declare.mjs +4 -0
  18. package/dist/authoring/elementCallbacks.d.ts +13 -0
  19. package/dist/authoring/elementCallbacks.mjs +71 -0
  20. package/dist/authoring/index.d.ts +21 -0
  21. package/dist/authoring/index.mjs +6 -0
  22. package/dist/authoring/paramSpec.d.ts +51 -0
  23. package/dist/authoring/paramSpec.mjs +40 -0
  24. package/dist/authoring/spaceCallbacks.d.ts +10 -0
  25. package/dist/authoring/spaceCallbacks.mjs +51 -0
  26. package/dist/builder/contexts/BuilderContext.d.ts +2 -4
  27. package/dist/dataSource/getBindingsDetails.mjs +1 -1
  28. package/dist/dataSource/helpers/getSourceName.d.ts +1 -3
  29. package/dist/dataSource/helpers/getSourceName.mjs +1 -1
  30. package/dist/dataSource/index.d.ts +2 -0
  31. package/dist/dataSource/index.mjs +6 -5
  32. package/dist/dataSource/resolveVariables.d.ts +22 -0
  33. package/dist/dataSource/resolveVariables.mjs +16 -0
  34. package/dist/dataSource/utility/index.mjs +15 -13
  35. package/dist/dataSource/utility/not.d.ts +11 -0
  36. package/dist/dataSource/utility/not.mjs +15 -0
  37. package/dist/devTools/debugCookie.d.ts +16 -0
  38. package/dist/devTools/debugCookie.mjs +7 -0
  39. package/dist/devTools/index.d.ts +6 -2
  40. package/dist/devTools/index.mjs +4 -2
  41. package/dist/devTools/interactionLog.d.ts +14 -0
  42. package/dist/devTools/interactionLog.mjs +4 -0
  43. package/dist/helpers/index.d.ts +2 -0
  44. package/dist/helpers/index.mjs +11 -9
  45. package/dist/helpers/reducerOrigin.d.ts +15 -0
  46. package/dist/helpers/reducerOrigin.mjs +4 -0
  47. package/dist/helpers/ruleEvaluator.d.ts +14 -0
  48. package/dist/helpers/ruleEvaluator.mjs +5 -0
  49. package/dist/helpers/twigWrapper/AST.d.ts +12 -1
  50. package/dist/helpers/twigWrapper/AST.mjs +0 -0
  51. package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +7 -0
  52. package/dist/helpers/twigWrapper/Parser/Cursor.d.ts +7 -0
  53. package/dist/helpers/twigWrapper/Parser/Cursor.mjs +5 -0
  54. package/dist/helpers/twigWrapper/Parser/ExpressionParser.mjs +46 -8
  55. package/dist/helpers/twigWrapper/Parser/types.mjs +0 -0
  56. package/dist/helpers/twigWrapper/charClass.d.ts +7 -0
  57. package/dist/helpers/twigWrapper/charClass.mjs +16 -12
  58. package/dist/helpers/twigWrapper/tokens/tokenPatterns.mjs +2 -2
  59. package/dist/helpers/utils.d.ts +0 -2
  60. package/dist/helpers/utils.mjs +16 -19
  61. package/dist/hooks/index.d.ts +2 -1
  62. package/dist/hooks/index.mjs +4 -3
  63. package/dist/hooks/useFontHead.d.ts +3 -0
  64. package/dist/hooks/useFontHead.mjs +23 -0
  65. package/dist/hooks/usePlitziServiceContext.d.ts +3 -2
  66. package/dist/index.mjs +61 -45
  67. package/dist/navigation/index.d.ts +1 -1
  68. package/dist/navigation/index.mjs +2 -2
  69. package/dist/navigation/routes.d.ts +8 -0
  70. package/dist/navigation/routes.mjs +39 -39
  71. package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.mjs +0 -1
  72. package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.mjs +0 -1
  73. package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.mjs +0 -1
  74. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.mjs +0 -1
  75. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.mjs +0 -1
  76. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.mjs +0 -1
  77. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs +0 -1
  78. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.d.ts +3 -0
  79. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.mjs +9 -0
  80. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs +0 -1
  81. package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.mjs +0 -1
  82. package/dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.mjs +0 -1
  83. package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.mjs +0 -1
  84. package/dist/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.mjs +0 -1
  85. package/dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.mjs +0 -1
  86. package/dist/network/graphql/builder/Mutations/Space/SpaceRemoveElementMutation.mjs +0 -1
  87. package/dist/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.d.ts +5 -0
  88. package/dist/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.mjs +9 -0
  89. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.mjs +0 -1
  90. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.mjs +0 -1
  91. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.mjs +0 -1
  92. package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSchemaMutation.mjs +0 -1
  93. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation.d.ts +8 -0
  94. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation.mjs +16 -0
  95. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation.d.ts +4 -0
  96. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation.mjs +16 -0
  97. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.d.ts +4 -0
  98. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.mjs +14 -0
  99. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation.d.ts +4 -0
  100. package/dist/network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation.mjs +16 -0
  101. package/dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.mjs +2 -3
  102. package/dist/network/graphql/builder/Mutations/Space/pages/SpaceUpdatePageMutation.mjs +0 -1
  103. package/dist/network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation.d.ts +2 -0
  104. package/dist/network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation.mjs +11 -0
  105. package/dist/network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation.d.ts +2 -0
  106. package/dist/network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation.mjs +11 -0
  107. package/dist/network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation.d.ts +2 -0
  108. package/dist/network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation.mjs +11 -0
  109. package/dist/network/graphql/builder/Mutations/index.d.ts +24 -0
  110. package/dist/network/graphql/builder/Mutations/index.mjs +150 -132
  111. package/dist/network/graphql/builder/Queries/InitQuery.mjs +1 -2
  112. package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs +0 -1
  113. package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs +0 -1
  114. package/dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.d.ts +9 -0
  115. package/dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.mjs +30 -0
  116. package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.d.ts +6 -0
  117. package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.mjs +16 -0
  118. package/dist/network/graphql/builder/Queries/Space/SpaceActionsQuery.d.ts +9 -0
  119. package/dist/network/graphql/builder/Queries/Space/SpaceActionsQuery.mjs +25 -0
  120. package/dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.d.ts +6 -0
  121. package/dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.mjs +17 -0
  122. package/dist/network/graphql/builder/Queries/Space/SpaceQuotaQuery.d.ts +30 -0
  123. package/dist/network/graphql/builder/Queries/Space/SpaceQuotaQuery.mjs +40 -0
  124. package/dist/network/graphql/builder/Queries/index.d.ts +16 -0
  125. package/dist/network/graphql/builder/Queries/index.mjs +24 -14
  126. package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +4 -0
  127. package/dist/network/graphql/sdk/Queries/InitQuery.mjs +5 -2
  128. package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs +0 -1
  129. package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs +0 -1
  130. package/dist/network/spaceEvents.d.ts +20 -1
  131. package/dist/network/spaceEvents.mjs +89 -74
  132. package/dist/schema/index.d.ts +1 -0
  133. package/dist/schema/index.mjs +2 -1
  134. package/dist/schema/serverElements.d.ts +16 -0
  135. package/dist/schema/serverElements.mjs +18 -0
  136. package/dist/server/actions/useActionsSync.d.ts +10 -0
  137. package/dist/server/actions/useActionsSync.mjs +7 -0
  138. package/dist/server/index.d.ts +2 -1
  139. package/dist/server/index.mjs +5 -4
  140. package/dist/server/rsc/refreshRsc.d.ts +11 -1
  141. package/dist/server/rsc/refreshRsc.mjs +30 -12
  142. package/dist/server/rsc/useRscSync.mjs +20 -13
  143. package/dist/state/runtimeStatePersist.mjs +4 -3
  144. package/dist/store/actionRuns/actionRunsRecorder.d.ts +36 -0
  145. package/dist/store/actionRuns/actionRunsRecorder.mjs +39 -0
  146. package/dist/store/actionRuns/actionRunsStore.d.ts +16 -0
  147. package/dist/store/actionRuns/actionRunsStore.mjs +5 -0
  148. package/dist/store/actionRuns/index.d.ts +6 -0
  149. package/dist/store/actionRuns/index.mjs +4 -0
  150. package/dist/store/actionRuns/useActionRuns.d.ts +13 -0
  151. package/dist/store/actionRuns/useActionRuns.mjs +10 -0
  152. package/dist/store/index.d.ts +46 -45
  153. package/dist/store/index.mjs +6 -3
  154. package/dist/store/renderSettings.d.ts +3 -0
  155. package/dist/store/renderSettings.mjs +17 -5
  156. package/dist/store/tracing/tracingCollector.d.ts +1 -1
  157. package/dist/store/tracing/tracingCollector.mjs +37 -35
  158. package/dist/store/tracing/tracingStore.d.ts +13 -0
  159. package/dist/store/tracing/tracingStore.mjs +3 -3
  160. package/dist/style/fontAssets.d.ts +12 -0
  161. package/dist/style/fontAssets.mjs +18 -0
  162. package/dist/style/fontValidation.d.ts +8 -0
  163. package/dist/style/fontValidation.mjs +107 -0
  164. package/dist/style/fonts.d.ts +74 -0
  165. package/dist/style/fonts.mjs +198 -0
  166. package/dist/style/fontsFromCss.d.ts +27 -0
  167. package/dist/style/fontsFromCss.mjs +43 -0
  168. package/dist/style/index.d.ts +4 -0
  169. package/dist/style/index.mjs +5 -1
  170. package/dist/style/styleConstants.d.ts +2 -2
  171. package/dist/style/styleConstants.mjs +1 -0
  172. package/dist/theme/ThemeProvider.d.ts +36 -6
  173. package/dist/theme/ThemeProvider.mjs +49 -35
  174. package/dist/theme/ThemeScope.d.ts +16 -0
  175. package/dist/theme/ThemeScope.mjs +6 -0
  176. package/dist/theme/index.d.ts +7 -1
  177. package/dist/theme/index.mjs +6 -2
  178. package/dist/theme/themeCookie.d.ts +30 -0
  179. package/dist/theme/themeCookie.mjs +24 -0
  180. package/dist/theme/themeStore.d.ts +40 -0
  181. package/dist/theme/themeStore.mjs +17 -0
  182. package/dist/theme/useTheme.d.ts +29 -0
  183. package/dist/theme/useTheme.mjs +20 -0
  184. package/dist/types/ActionTypes.d.ts +396 -0
  185. package/dist/types/ActionTypes.mjs +0 -0
  186. package/dist/types/AuthTypes.d.ts +23 -2
  187. package/dist/types/BuilderTypes.d.ts +0 -12
  188. package/dist/types/CommonTypes.d.ts +13 -0
  189. package/dist/types/DevToolsTypes.d.ts +57 -14
  190. package/dist/types/EventBridgeTypes.d.ts +1 -1
  191. package/dist/types/InteractionTypes.d.ts +23 -3
  192. package/dist/types/PluginTypes.d.ts +0 -3
  193. package/dist/types/SchemaTypes.d.ts +29 -4
  194. package/dist/types/ServerTypes.d.ts +390 -46
  195. package/dist/types/SpaceTypes.d.ts +16 -0
  196. package/dist/types/StoreTypes.d.ts +181 -3
  197. package/dist/types/StyleTypes.d.ts +83 -4
  198. package/dist/types/TemplateTypes.d.ts +20 -0
  199. package/dist/types/TemplateTypes.mjs +0 -0
  200. package/dist/types/ThemeTypes.d.ts +28 -1
  201. package/dist/types/index.d.ts +2 -0
  202. package/eslint.config.mjs +2 -0
  203. package/package.json +244 -29
  204. package/vite.config.ts +27 -7
@@ -7,147 +7,165 @@ import a from "./Segment/space/elements/SegmentAddElementMutation.mjs";
7
7
  import o from "./Segment/space/elements/SegmentCloneElementMutation.mjs";
8
8
  import s from "./Segment/space/elements/SegmentMoveElementMutation.mjs";
9
9
  import c from "./Segment/space/elements/SegmentRemoveElementMutation.mjs";
10
- import l from "./Segment/space/elements/SegmentUpdateElementMutation.mjs";
11
- import u from "./Segment/space/elements/SegmentUpdateElementsMutation.mjs";
12
- import d from "./Segment/space/variables/SegmentSpaceAddVariableMutation.mjs";
13
- import f from "./Segment/space/variables/SegmentSpaceRemoveVariableMutation.mjs";
14
- import p from "./Segment/space/variables/SegmentSpaceUpdateVariableMutation.mjs";
15
- import m from "./Segment/style/selectors/SegmentStyleAddSelectorMutation.mjs";
16
- import h from "./Segment/style/selectors/SegmentStyleRemoveSelectorMutation.mjs";
17
- import g from "./Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.mjs";
18
- import _ from "./Segment/style/selectors/SegmentStyleUpdateSelectorMutation.mjs";
19
- import v from "./Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.mjs";
20
- import y from "./Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.mjs";
21
- import b from "./Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.mjs";
22
- import x from "./Segment/style/variables/SegmentStyleAddVariableMutation.mjs";
23
- import S from "./Segment/style/variables/SegmentStyleRemoveVariableMutation.mjs";
24
- import C from "./Segment/style/variables/SegmentStyleUpdateVariableMutation.mjs";
25
- import w from "./Space/cdns/SpaceAddCdnMutation.mjs";
26
- import T from "./Space/cdns/SpaceRemoveCdnMutation.mjs";
27
- import E from "./Space/cdns/SpaceSetCdnCredentialMutation.mjs";
28
- import D from "./Space/cdns/SpaceUpdateCdnMutation.mjs";
29
- import O from "./Space/connectors/SpaceAddConnectorMutation.mjs";
30
- import k from "./Space/connectors/SpaceRemoveConnectorMutation.mjs";
31
- import A from "./Space/connectors/SpaceUpdateConnectorMutation.mjs";
32
- import j from "./Space/credentials/SpaceAddCredentialMutation.mjs";
33
- import M from "./Space/credentials/SpaceRemoveCredentialMutation.mjs";
34
- import N from "./Space/credentials/SpaceUpdateCredentialMutation.mjs";
35
- import P from "./Space/folders/SpaceAddPageFolderMutation.mjs";
36
- import F from "./Space/folders/SpaceRemovePageFolderMutation.mjs";
37
- import I from "./Space/folders/SpaceUpdatePageFolderMutation.mjs";
38
- import L from "./Space/pages/SpaceAddPageMutation.mjs";
39
- import R from "./Space/pages/SpaceHomePageMutation.mjs";
40
- import z from "./Space/pages/SpaceRemovePageMutation.mjs";
41
- import B from "./Space/pages/SpaceUpdatePageMutation.mjs";
42
- import V from "./Space/resources/SpaceAddResourceMutation.mjs";
43
- import H from "./Space/resources/SpaceMoveResourceMutation.mjs";
44
- import U from "./Space/resources/SpaceRemoveResourceMutation.mjs";
45
- import W from "./Space/SpaceAddElementMutation.mjs";
46
- import G from "./Space/SpaceAddPluginMutation.mjs";
47
- import K from "./Space/SpaceAddTemplateMutation.mjs";
48
- import q from "./Space/SpaceCloneElementMutation.mjs";
49
- import J from "./Space/SpaceDeployMutation.mjs";
50
- import Y from "./Space/SpaceMoveElementMutation.mjs";
51
- import X from "./Space/SpacePublishMutation.mjs";
52
- import Z from "./Space/SpaceRemoveElementMutation.mjs";
53
- import Q from "./Space/SpaceRemovePluginMutation.mjs";
54
- import $ from "./Space/SpaceUpdateElementMutation.mjs";
55
- import ee from "./Space/SpaceUpdateElementsMutation.mjs";
56
- import te from "./Space/SpaceUpdateMutation.mjs";
57
- import ne from "./Space/SpaceUpdatePluginMutation.mjs";
58
- import re from "./Space/SpaceUpdateSchemaMutation.mjs";
59
- import ie from "./Space/SpaceUpdateSettingsMutation.mjs";
60
- import ae from "./Space/variables/SpaceAddVariableMutation.mjs";
61
- import oe from "./Space/variables/SpaceRemoveVariableMutation.mjs";
62
- import se from "./Space/variables/SpaceUpdateVariableMutation.mjs";
63
- import ce from "./Style/selectors/StyleAddSelectorMutation.mjs";
64
- import le from "./Style/selectors/StyleRemoveSelectorMutation.mjs";
65
- import ue from "./Style/selectors/StyleRemoveSelectorsMutation.mjs";
66
- import de from "./Style/selectors/StyleUpdateSelectorMutation.mjs";
67
- import fe from "./Style/selectorVariables/StyleAddSelectorVariableMutation.mjs";
68
- import pe from "./Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs";
69
- import me from "./Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs";
70
- import he from "./Style/StyleUpdateMutation.mjs";
71
- import ge from "./Style/StyleUpdateSettingsMutation.mjs";
72
- import _e from "./Style/variables/StyleAddVariableMutation.mjs";
73
- import ve from "./Style/variables/StyleRemoveVariableMutation.mjs";
74
- import ye from "./Style/variables/StyleUpdateVariableMutation.mjs";
10
+ import l from "./Segment/space/elements/SegmentRenameElementMutation.mjs";
11
+ import u from "./Segment/space/elements/SegmentUpdateElementMutation.mjs";
12
+ import d from "./Segment/space/elements/SegmentUpdateElementsMutation.mjs";
13
+ import f from "./Segment/space/variables/SegmentSpaceAddVariableMutation.mjs";
14
+ import p from "./Segment/space/variables/SegmentSpaceRemoveVariableMutation.mjs";
15
+ import m from "./Segment/space/variables/SegmentSpaceUpdateVariableMutation.mjs";
16
+ import h from "./Segment/style/selectors/SegmentStyleAddSelectorMutation.mjs";
17
+ import g from "./Segment/style/selectors/SegmentStyleRemoveSelectorMutation.mjs";
18
+ import _ from "./Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.mjs";
19
+ import v from "./Segment/style/selectors/SegmentStyleUpdateSelectorMutation.mjs";
20
+ import y from "./Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.mjs";
21
+ import b from "./Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.mjs";
22
+ import x from "./Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.mjs";
23
+ import S from "./Segment/style/variables/SegmentStyleAddVariableMutation.mjs";
24
+ import C from "./Segment/style/variables/SegmentStyleRemoveVariableMutation.mjs";
25
+ import w from "./Segment/style/variables/SegmentStyleUpdateVariableMutation.mjs";
26
+ import T from "./Space/actions/SpaceAddActionMutation.mjs";
27
+ import E from "./Space/actions/SpaceRemoveActionMutation.mjs";
28
+ import D from "./Space/actions/SpaceRunActionMutation.mjs";
29
+ import O from "./Space/actions/SpaceUpdateActionMutation.mjs";
30
+ import k from "./Space/cdns/SpaceAddCdnMutation.mjs";
31
+ import A from "./Space/cdns/SpaceRemoveCdnMutation.mjs";
32
+ import j from "./Space/cdns/SpaceSetCdnCredentialMutation.mjs";
33
+ import M from "./Space/cdns/SpaceUpdateCdnMutation.mjs";
34
+ import N from "./Space/connectors/SpaceAddConnectorMutation.mjs";
35
+ import P from "./Space/connectors/SpaceRemoveConnectorMutation.mjs";
36
+ import F from "./Space/connectors/SpaceUpdateConnectorMutation.mjs";
37
+ import I from "./Space/credentials/SpaceAddCredentialMutation.mjs";
38
+ import L from "./Space/credentials/SpaceRemoveCredentialMutation.mjs";
39
+ import R from "./Space/credentials/SpaceUpdateCredentialMutation.mjs";
40
+ import z from "./Space/folders/SpaceAddPageFolderMutation.mjs";
41
+ import B from "./Space/folders/SpaceRemovePageFolderMutation.mjs";
42
+ import V from "./Space/folders/SpaceUpdatePageFolderMutation.mjs";
43
+ import H from "./Space/pages/SpaceAddPageMutation.mjs";
44
+ import U from "./Space/pages/SpaceHomePageMutation.mjs";
45
+ import W from "./Space/pages/SpaceRemovePageMutation.mjs";
46
+ import G from "./Space/pages/SpaceUpdatePageMutation.mjs";
47
+ import K from "./Space/resources/SpaceAddResourceMutation.mjs";
48
+ import q from "./Space/resources/SpaceMoveResourceMutation.mjs";
49
+ import J from "./Space/resources/SpaceRemoveResourceMutation.mjs";
50
+ import Y from "./Space/SpaceAddElementMutation.mjs";
51
+ import X from "./Space/SpaceAddPluginMutation.mjs";
52
+ import Z from "./Space/SpaceAddTemplateMutation.mjs";
53
+ import Q from "./Space/SpaceCloneElementMutation.mjs";
54
+ import $ from "./Space/SpaceDeployMutation.mjs";
55
+ import ee from "./Space/SpaceMoveElementMutation.mjs";
56
+ import te from "./Space/SpacePublishMutation.mjs";
57
+ import ne from "./Space/SpaceRemoveElementMutation.mjs";
58
+ import re from "./Space/SpaceRemovePluginMutation.mjs";
59
+ import ie from "./Space/SpaceRenameElementMutation.mjs";
60
+ import ae from "./Space/SpaceUpdateElementMutation.mjs";
61
+ import oe from "./Space/SpaceUpdateElementsMutation.mjs";
62
+ import se from "./Space/SpaceUpdateMutation.mjs";
63
+ import ce from "./Space/SpaceUpdatePluginMutation.mjs";
64
+ import le from "./Space/SpaceUpdateSchemaMutation.mjs";
65
+ import ue from "./Space/SpaceUpdateSettingsMutation.mjs";
66
+ import de from "./Space/variables/SpaceAddVariableMutation.mjs";
67
+ import fe from "./Space/variables/SpaceRemoveVariableMutation.mjs";
68
+ import pe from "./Space/variables/SpaceUpdateVariableMutation.mjs";
69
+ import me from "./Style/fonts/StyleAddFontMutation.mjs";
70
+ import he from "./Style/fonts/StyleRemoveFontMutation.mjs";
71
+ import ge from "./Style/fonts/StyleUpdateFontMutation.mjs";
72
+ import _e from "./Style/selectors/StyleAddSelectorMutation.mjs";
73
+ import ve from "./Style/selectors/StyleRemoveSelectorMutation.mjs";
74
+ import ye from "./Style/selectors/StyleRemoveSelectorsMutation.mjs";
75
+ import be from "./Style/selectors/StyleUpdateSelectorMutation.mjs";
76
+ import xe from "./Style/selectorVariables/StyleAddSelectorVariableMutation.mjs";
77
+ import Se from "./Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs";
78
+ import Ce from "./Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs";
79
+ import we from "./Style/StyleUpdateMutation.mjs";
80
+ import Te from "./Style/StyleUpdateSettingsMutation.mjs";
81
+ import Ee from "./Style/variables/StyleAddVariableMutation.mjs";
82
+ import De from "./Style/variables/StyleRemoveVariableMutation.mjs";
83
+ import Oe from "./Style/variables/StyleUpdateVariableMutation.mjs";
75
84
  //#region src/network/graphql/builder/Mutations/index.ts
76
- var be = {
77
- SpaceUpdate: te,
78
- SpaceUpdateSchema: re,
79
- SpaceAddPage: L,
80
- SpaceHomePage: R,
81
- SpaceUpdatePage: B,
82
- SpaceRemovePage: z,
83
- SpaceAddPageFolder: P,
84
- SpaceUpdatePageFolder: I,
85
- SpaceRemovePageFolder: F,
86
- SpaceAddVariable: ae,
87
- SpaceUpdateVariable: se,
88
- SpaceRemoveVariable: oe,
89
- SpaceAddElement: W,
90
- SpaceUpdateElement: $,
91
- SpaceUpdateElements: ee,
92
- SpaceRemoveElement: Z,
93
- SpaceMoveElement: Y,
94
- SpaceCloneElement: q,
95
- SpaceAddTemplate: K,
96
- SpaceAddPlugin: G,
97
- SpaceUpdatePlugin: ne,
98
- SpaceRemovePlugin: Q,
99
- SpaceAddResource: V,
100
- SpaceMoveResource: H,
101
- SpaceRemoveResource: U,
102
- SpaceAddCdn: w,
103
- SpaceUpdateCdn: D,
104
- SpaceSetCdnCredential: E,
105
- SpaceRemoveCdn: T,
106
- SpaceAddConnector: O,
107
- SpaceUpdateConnector: A,
108
- SpaceRemoveConnector: k,
109
- SpaceAddCredential: j,
110
- SpaceUpdateCredential: N,
111
- SpaceRemoveCredential: M,
112
- SpacePublish: X,
113
- SpaceDeploy: J,
114
- SpaceUpdateSettings: ie,
115
- StyleAddSelector: ce,
116
- StyleUpdateSelector: de,
117
- StyleRemoveSelector: le,
118
- StyleRemoveSelectors: ue,
119
- StyleAddSelectorVariable: fe,
120
- StyleUpdateSelectorVariable: me,
121
- StyleRemoveSelectorVariable: pe,
122
- StyleAddVariable: _e,
123
- StyleUpdateVariable: ye,
124
- StyleRemoveVariable: ve,
125
- StyleUpdate: he,
126
- StyleUpdateSettings: ge,
85
+ var ke = {
86
+ SpaceUpdate: se,
87
+ SpaceUpdateSchema: le,
88
+ SpaceAddPage: H,
89
+ SpaceHomePage: U,
90
+ SpaceUpdatePage: G,
91
+ SpaceRemovePage: W,
92
+ SpaceAddPageFolder: z,
93
+ SpaceUpdatePageFolder: V,
94
+ SpaceRemovePageFolder: B,
95
+ SpaceAddVariable: de,
96
+ SpaceUpdateVariable: pe,
97
+ SpaceRemoveVariable: fe,
98
+ SpaceAddElement: Y,
99
+ SpaceUpdateElement: ae,
100
+ SpaceRenameElement: ie,
101
+ SpaceUpdateElements: oe,
102
+ SpaceRemoveElement: ne,
103
+ SpaceMoveElement: ee,
104
+ SpaceCloneElement: Q,
105
+ SpaceAddTemplate: Z,
106
+ SpaceAddPlugin: X,
107
+ SpaceUpdatePlugin: ce,
108
+ SpaceRemovePlugin: re,
109
+ SpaceAddResource: K,
110
+ SpaceMoveResource: q,
111
+ SpaceRemoveResource: J,
112
+ SpaceAddCdn: k,
113
+ SpaceUpdateCdn: M,
114
+ SpaceSetCdnCredential: j,
115
+ SpaceRemoveCdn: A,
116
+ SpaceAddAction: T,
117
+ SpaceUpdateAction: O,
118
+ SpaceRemoveAction: E,
119
+ SpaceRunAction: D,
120
+ SpaceAddConnector: N,
121
+ SpaceUpdateConnector: F,
122
+ SpaceRemoveConnector: P,
123
+ SpaceAddCredential: I,
124
+ SpaceUpdateCredential: R,
125
+ SpaceRemoveCredential: L,
126
+ SpacePublish: te,
127
+ SpaceDeploy: $,
128
+ SpaceUpdateSettings: ue,
129
+ StyleAddSelector: _e,
130
+ StyleUpdateSelector: be,
131
+ StyleRemoveSelector: ve,
132
+ StyleRemoveSelectors: ye,
133
+ StyleAddSelectorVariable: xe,
134
+ StyleUpdateSelectorVariable: Ce,
135
+ StyleRemoveSelectorVariable: Se,
136
+ StyleAddFont: me,
137
+ StyleUpdateFont: ge,
138
+ StyleRemoveFont: he,
139
+ StyleAddVariable: Ee,
140
+ StyleUpdateVariable: Oe,
141
+ StyleRemoveVariable: De,
142
+ StyleUpdate: we,
143
+ StyleUpdateSettings: Te,
127
144
  SegmentAdd: e,
128
145
  SegmentUpdate: i,
129
146
  SegmentRemove: r,
130
147
  SegmentAddElement: a,
131
- SegmentUpdateElement: l,
132
- SegmentUpdateElements: u,
148
+ SegmentUpdateElement: u,
149
+ SegmentRenameElement: l,
150
+ SegmentUpdateElements: d,
133
151
  SegmentRemoveElement: c,
134
152
  SegmentMoveElement: s,
135
153
  SegmentCloneElement: o,
136
154
  SegmentAddTemplate: t,
137
- SegmentSpaceAddVariable: d,
138
- SegmentSpaceRemoveVariable: f,
139
- SegmentSpaceUpdateVariable: p,
140
- SegmentStyleAddSelector: m,
141
- SegmentStyleUpdateSelector: _,
142
- SegmentStyleRemoveSelector: h,
143
- SegmentStyleRemoveSelectors: g,
144
- SegmentStyleAddSelectorVariable: v,
145
- SegmentStyleRemoveSelectorVariable: y,
146
- SegmentStyleUpdateSelectorVariable: b,
147
- SegmentStyleAddVariable: x,
148
- SegmentStyleUpdateVariable: C,
149
- SegmentStyleRemoveVariable: S,
155
+ SegmentSpaceAddVariable: f,
156
+ SegmentSpaceRemoveVariable: p,
157
+ SegmentSpaceUpdateVariable: m,
158
+ SegmentStyleAddSelector: h,
159
+ SegmentStyleUpdateSelector: v,
160
+ SegmentStyleRemoveSelector: g,
161
+ SegmentStyleRemoveSelectors: _,
162
+ SegmentStyleAddSelectorVariable: y,
163
+ SegmentStyleRemoveSelectorVariable: b,
164
+ SegmentStyleUpdateSelectorVariable: x,
165
+ SegmentStyleAddVariable: S,
166
+ SegmentStyleUpdateVariable: w,
167
+ SegmentStyleRemoveVariable: C,
150
168
  SegmentPublish: n
151
169
  };
152
170
  //#endregion
153
- export { be as default };
171
+ export { ke as default };
@@ -11,7 +11,6 @@ var t = e`
11
11
  settings
12
12
  flat {
13
13
  id
14
- idRef
15
14
  definition {
16
15
  label
17
16
  type
@@ -60,7 +59,6 @@ var t = e`
60
59
  }
61
60
  flat {
62
61
  id
63
- idRef
64
62
  definition {
65
63
  label
66
64
  type
@@ -92,6 +90,7 @@ var t = e`
92
90
  platform
93
91
  variables
94
92
  mode
93
+ fonts
95
94
  cache
96
95
  }
97
96
  }
@@ -19,7 +19,6 @@ var t = e`
19
19
  }
20
20
  flat {
21
21
  id
22
- idRef
23
22
  definition {
24
23
  label
25
24
  type
@@ -20,7 +20,6 @@ var t = e`
20
20
  }
21
21
  flat {
22
22
  id
23
- idRef
24
23
  definition {
25
24
  label
26
25
  type
@@ -0,0 +1,9 @@
1
+ import { ActionEvent, PageInfo } from '../../../../../types';
2
+ export type TSpaceActionEventsQuery = {
3
+ SpaceActionEvents: {
4
+ edges: ActionEvent[];
5
+ pageInfo: PageInfo;
6
+ };
7
+ };
8
+ declare const SpaceActionEventsQuery: import('graphql').DocumentNode;
9
+ export default SpaceActionEventsQuery;
@@ -0,0 +1,30 @@
1
+ import { gql as e } from "@apollo/client/core";
2
+ //#region src/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.ts
3
+ var t = e`
4
+ query SpaceActionEventsQuery($actionId: String, $page: Int, $pageSize: Int) {
5
+ SpaceActionEvents(actionId: $actionId, page: $page, pageSize: $pageSize) {
6
+ edges {
7
+ id
8
+ actionId
9
+ runId
10
+ trigger
11
+ status
12
+ refused
13
+ reason
14
+ durationMs
15
+ steps
16
+ detail
17
+ createdAt
18
+ }
19
+ pageInfo {
20
+ hasPrevPage
21
+ hasNextPage
22
+ from
23
+ to
24
+ total
25
+ }
26
+ }
27
+ }
28
+ `;
29
+ //#endregion
30
+ export { t as default };
@@ -0,0 +1,6 @@
1
+ import { ActionTaskDescriptor } from '../../../../../types';
2
+ export type TSpaceActionTasksQuery = {
3
+ SpaceActionTasks: ActionTaskDescriptor[];
4
+ };
5
+ declare const SpaceActionTasksQuery: import('graphql').DocumentNode;
6
+ export default SpaceActionTasksQuery;
@@ -0,0 +1,16 @@
1
+ import { gql as e } from "@apollo/client/core";
2
+ //#region src/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.ts
3
+ var t = e`
4
+ query SpaceActionTasksQuery {
5
+ SpaceActionTasks {
6
+ name
7
+ namespace
8
+ action
9
+ title
10
+ description
11
+ params
12
+ }
13
+ }
14
+ `;
15
+ //#endregion
16
+ export { t as default };
@@ -0,0 +1,9 @@
1
+ import { SpaceAction, PageInfo } from '../../../../../types';
2
+ export type TSpaceActionsQuery = {
3
+ SpaceActions: {
4
+ edges: SpaceAction[];
5
+ pageInfo: PageInfo;
6
+ };
7
+ };
8
+ declare const SpaceActionsQuery: import('graphql').DocumentNode;
9
+ export default SpaceActionsQuery;
@@ -0,0 +1,25 @@
1
+ import { gql as e } from "@apollo/client/core";
2
+ //#region src/network/graphql/builder/Queries/Space/SpaceActionsQuery.ts
3
+ var t = e`
4
+ query SpaceActionsQuery($filter: ActionInput, $page: Int, $pageSize: Int, $offset: Int) {
5
+ SpaceActions(filter: $filter, page: $page, pageSize: $pageSize, offset: $offset) {
6
+ edges {
7
+ id
8
+ identifier
9
+ name
10
+ document
11
+ createdAt
12
+ updatedAt
13
+ }
14
+ pageInfo {
15
+ hasPrevPage
16
+ hasNextPage
17
+ from
18
+ to
19
+ total
20
+ }
21
+ }
22
+ }
23
+ `;
24
+ //#endregion
25
+ export { t as default };
@@ -0,0 +1,6 @@
1
+ import { ActionCheckReport } from '../../../../../types';
2
+ export type TSpaceCheckActionQuery = {
3
+ SpaceCheckAction: ActionCheckReport;
4
+ };
5
+ declare const SpaceCheckActionQuery: import('graphql').DocumentNode;
6
+ export default SpaceCheckActionQuery;
@@ -0,0 +1,17 @@
1
+ import { gql as e } from "@apollo/client/core";
2
+ //#region src/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.ts
3
+ var t = e`
4
+ query SpaceCheckActionQuery($identifier: String!) {
5
+ SpaceCheckAction(identifier: $identifier) {
6
+ valid
7
+ issues {
8
+ level
9
+ path
10
+ message
11
+ hint
12
+ }
13
+ }
14
+ }
15
+ `;
16
+ //#endregion
17
+ export { t as default };
@@ -0,0 +1,30 @@
1
+ /** One allowance and what has been spent of it. Both planes answer in this shape. */
2
+ export type TQuotaPlane = {
3
+ views: number;
4
+ viewsQuota: number;
5
+ viewsUnlimited: boolean;
6
+ viewsPercent: number | null;
7
+ viewsRemaining: number | null;
8
+ elements: number | null;
9
+ elementsQuota: number;
10
+ elementsUnlimited: boolean;
11
+ elementsPercent: number | null;
12
+ overLimit: boolean;
13
+ };
14
+ export type TSpaceQuota = {
15
+ planName: string;
16
+ tier: string;
17
+ isFree: boolean;
18
+ periodStart: number | null;
19
+ periodEnd: number | null;
20
+ /** What THIS space may spend on its own. */
21
+ space: TQuotaPlane | null;
22
+ /** What the account may spend across every space it owns. */
23
+ account: TQuotaPlane;
24
+ overLimit: boolean;
25
+ };
26
+ export type TSpaceQuotaQuery = {
27
+ SpaceQuota: TSpaceQuota | null;
28
+ };
29
+ declare const SpaceQuotaQuery: import('graphql').DocumentNode;
30
+ export default SpaceQuotaQuery;
@@ -0,0 +1,40 @@
1
+ import { gql as e } from "@apollo/client/core";
2
+ //#region src/network/graphql/builder/Queries/Space/SpaceQuotaQuery.ts
3
+ var t = e`
4
+ query SpaceQuotaQuery {
5
+ SpaceQuota {
6
+ planName
7
+ tier
8
+ isFree
9
+ periodStart
10
+ periodEnd
11
+ space {
12
+ views
13
+ viewsQuota
14
+ viewsUnlimited
15
+ viewsPercent
16
+ viewsRemaining
17
+ elements
18
+ elementsQuota
19
+ elementsUnlimited
20
+ elementsPercent
21
+ overLimit
22
+ }
23
+ account {
24
+ views
25
+ viewsQuota
26
+ viewsUnlimited
27
+ viewsPercent
28
+ viewsRemaining
29
+ elements
30
+ elementsQuota
31
+ elementsUnlimited
32
+ elementsPercent
33
+ overLimit
34
+ }
35
+ overLimit
36
+ }
37
+ }
38
+ `;
39
+ //#endregion
40
+ export { t as default };
@@ -2,18 +2,29 @@ import { TInitQuery } from './InitQuery';
2
2
  import { TPluginsQuery } from './PluginsQuery';
3
3
  import { TSegmentQuery } from './Segment/SegmentQuery';
4
4
  import { TSegmentsQuery } from './Segment/SegmentsQuery';
5
+ import { TSpaceActionEventsQuery } from './Space/SpaceActionEventsQuery';
6
+ import { TSpaceActionsQuery } from './Space/SpaceActionsQuery';
7
+ import { TSpaceActionTasksQuery } from './Space/SpaceActionTasksQuery';
5
8
  import { TSpaceCdnsQuery } from './Space/SpaceCdnsQuery';
9
+ import { TSpaceCheckActionQuery } from './Space/SpaceCheckActionQuery';
6
10
  import { TSpaceConnectorsQuery } from './Space/SpaceConnectorsQuery';
7
11
  import { TSpaceCredentialsQuery } from './Space/SpaceCredentialsQuery';
8
12
  import { TSpaceDeploymentsQuery } from './Space/SpaceDeploymentsQuery';
9
13
  import { TSpaceLatestRevisionQuery } from './Space/SpaceLatestRevisionQuery';
14
+ import { TSpaceQuotaQuery } from './Space/SpaceQuotaQuery';
10
15
  import { TSpaceResourcesQuery } from './Space/SpaceResourcesQuery';
16
+ export type { TQuotaPlane, TSpaceQuota } from './Space/SpaceQuotaQuery';
11
17
  export type BuilderQueriesMap = {
12
18
  Init: TInitQuery;
13
19
  SpaceLatestRevision: TSpaceLatestRevisionQuery;
20
+ SpaceQuota: TSpaceQuotaQuery;
14
21
  SpaceResources: TSpaceResourcesQuery;
15
22
  SpaceDeployments: TSpaceDeploymentsQuery;
16
23
  SpaceCdns: TSpaceCdnsQuery;
24
+ SpaceActions: TSpaceActionsQuery;
25
+ SpaceActionEvents: TSpaceActionEventsQuery;
26
+ SpaceCheckAction: TSpaceCheckActionQuery;
27
+ SpaceActionTasks: TSpaceActionTasksQuery;
17
28
  SpaceConnectors: TSpaceConnectorsQuery;
18
29
  SpaceCredentials: TSpaceCredentialsQuery;
19
30
  Plugins: TPluginsQuery;
@@ -23,9 +34,14 @@ export type BuilderQueriesMap = {
23
34
  declare const BuilderQueries: {
24
35
  Init: import('graphql').DocumentNode;
25
36
  SpaceLatestRevision: import('graphql').DocumentNode;
37
+ SpaceQuota: import('graphql').DocumentNode;
26
38
  SpaceResources: import('graphql').DocumentNode;
27
39
  SpaceDeployments: import('graphql').DocumentNode;
28
40
  SpaceCdns: import('graphql').DocumentNode;
41
+ SpaceActions: import('graphql').DocumentNode;
42
+ SpaceActionEvents: import('graphql').DocumentNode;
43
+ SpaceCheckAction: import('graphql').DocumentNode;
44
+ SpaceActionTasks: import('graphql').DocumentNode;
29
45
  SpaceConnectors: import('graphql').DocumentNode;
30
46
  SpaceCredentials: import('graphql').DocumentNode;
31
47
  Plugins: import('graphql').DocumentNode;
@@ -2,24 +2,34 @@ import e from "./InitQuery.mjs";
2
2
  import t from "./PluginsQuery.mjs";
3
3
  import n from "./Segment/SegmentQuery.mjs";
4
4
  import r from "./Segment/SegmentsQuery.mjs";
5
- import i from "./Space/SpaceCdnsQuery.mjs";
6
- import a from "./Space/SpaceConnectorsQuery.mjs";
7
- import o from "./Space/SpaceCredentialsQuery.mjs";
8
- import s from "./Space/SpaceDeploymentsQuery.mjs";
9
- import c from "./Space/SpaceLatestRevisionQuery.mjs";
10
- import l from "./Space/SpaceResourcesQuery.mjs";
5
+ import i from "./Space/SpaceActionEventsQuery.mjs";
6
+ import a from "./Space/SpaceActionsQuery.mjs";
7
+ import o from "./Space/SpaceActionTasksQuery.mjs";
8
+ import s from "./Space/SpaceCdnsQuery.mjs";
9
+ import c from "./Space/SpaceCheckActionQuery.mjs";
10
+ import l from "./Space/SpaceConnectorsQuery.mjs";
11
+ import u from "./Space/SpaceCredentialsQuery.mjs";
12
+ import d from "./Space/SpaceDeploymentsQuery.mjs";
13
+ import f from "./Space/SpaceLatestRevisionQuery.mjs";
14
+ import p from "./Space/SpaceQuotaQuery.mjs";
15
+ import m from "./Space/SpaceResourcesQuery.mjs";
11
16
  //#region src/network/graphql/builder/Queries/index.ts
12
- var u = {
17
+ var h = {
13
18
  Init: e,
14
- SpaceLatestRevision: c,
15
- SpaceResources: l,
16
- SpaceDeployments: s,
17
- SpaceCdns: i,
18
- SpaceConnectors: a,
19
- SpaceCredentials: o,
19
+ SpaceLatestRevision: f,
20
+ SpaceQuota: p,
21
+ SpaceResources: m,
22
+ SpaceDeployments: d,
23
+ SpaceCdns: s,
24
+ SpaceActions: a,
25
+ SpaceActionEvents: i,
26
+ SpaceCheckAction: c,
27
+ SpaceActionTasks: o,
28
+ SpaceConnectors: l,
29
+ SpaceCredentials: u,
20
30
  Plugins: t,
21
31
  Segment: n,
22
32
  Segments: r
23
33
  };
24
34
  //#endregion
25
- export { u as default };
35
+ export { h as default };