@plitzi/sdk-shared 0.37.8 → 0.37.10
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.
- package/CHANGELOG.md +817 -0
- package/dist/actions/functions.d.ts +12 -3
- package/dist/actions/functions.mjs +8 -5
- package/dist/actions/index.d.ts +2 -2
- package/dist/actions/index.mjs +6 -6
- package/dist/actions/triggerParams.mjs +7 -6
- package/dist/actions/validateDocument.d.ts +3 -0
- package/dist/actions/validateDocument.mjs +89 -88
- package/dist/auth/failureChannel.d.ts +8 -2
- package/dist/auth/failureChannel.mjs +1 -3
- package/dist/authoring/elementCallbacks.d.ts +65 -0
- package/dist/authoring/elementCallbacks.mjs +72 -8
- package/dist/authoring/index.mjs +3 -3
- package/dist/builder/contexts/BuilderContext.d.ts +18 -7
- package/dist/builder/contexts/BuilderContext.mjs +2 -3
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.mjs +2 -2
- package/dist/connectors/validateManifest.d.ts +3 -0
- package/dist/connectors/validateManifest.mjs +77 -76
- package/dist/dataSource/computed.mjs +25 -29
- package/dist/dataSource/globalSources.d.ts +15 -0
- package/dist/dataSource/globalSources.mjs +13 -0
- package/dist/dataSource/index.d.ts +2 -0
- package/dist/dataSource/index.mjs +8 -7
- package/dist/devTools/DevToolsContext.mjs +2 -3
- package/dist/devTools/utils/PlitziConsole.d.ts +9 -0
- package/dist/devTools/utils/PlitziConsole.mjs +27 -7
- package/dist/elements/ComponentContext.mjs +2 -3
- package/dist/flags/flagsCookie.d.ts +26 -0
- package/dist/flags/flagsCookie.mjs +20 -0
- package/dist/flags/index.d.ts +3 -0
- package/dist/flags/index.mjs +4 -0
- package/dist/flags/resolveFlags.d.ts +60 -0
- package/dist/flags/resolveFlags.mjs +38 -0
- package/dist/flags/schemaFlag.d.ts +11 -0
- package/dist/flags/schemaFlag.mjs +9 -0
- package/dist/flags/useFlagResolution.d.ts +13 -0
- package/dist/flags/useFlagResolution.mjs +43 -0
- package/dist/helpers/eventTarget.d.ts +10 -0
- package/dist/helpers/eventTarget.mjs +4 -0
- package/dist/helpers/images.d.ts +18 -0
- package/dist/helpers/images.mjs +13 -0
- package/dist/helpers/index.d.ts +3 -0
- package/dist/helpers/index.mjs +21 -18
- package/dist/helpers/interval.d.ts +18 -0
- package/dist/helpers/interval.mjs +7 -0
- package/dist/helpers/isRecord.d.ts +2 -0
- package/dist/helpers/isRecord.mjs +4 -0
- package/dist/helpers/scroll.d.ts +42 -0
- package/dist/helpers/scroll.mjs +30 -0
- package/dist/helpers/sharedContext.d.ts +14 -0
- package/dist/helpers/sharedContext.mjs +9 -0
- package/dist/helpers/twigWrapper/Evaluator/Evaluator.d.ts +9 -1
- package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +13 -8
- package/dist/helpers/twigWrapper/Evaluator/index.d.ts +1 -1
- package/dist/helpers/twigWrapper/TemplateCache/TemplateCache.mjs +1 -1
- package/dist/helpers/twigWrapper/filters/filters.mjs +38 -2
- package/dist/helpers/twigWrapper/index.d.ts +1 -0
- package/dist/helpers/twigWrapper/processTwig/processTwig.d.ts +2 -1
- package/dist/helpers/twigWrapper/processTwig/processTwig.mjs +3 -3
- package/dist/helpers/utils.mjs +4 -2
- package/dist/history/describe.mjs +4 -1
- package/dist/history/diff.d.ts +1 -1
- package/dist/history/diff.mjs +11 -9
- package/dist/history/types.d.ts +1 -1
- package/dist/hooks/index.mjs +5 -5
- package/dist/hooks/usePlitziServiceContext.d.ts +1 -2
- package/dist/hooks/usePlitziServiceContext.mjs +3 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +90 -77
- package/dist/navigation/routes.mjs +6 -4
- package/dist/network/NetworkContext.mjs +2 -3
- package/dist/network/NetworkInternalContext.d.ts +2 -4
- package/dist/network/NetworkInternalContext.mjs +2 -3
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddSnippetMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddSnippetMutation.mjs +4 -0
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation.mjs +4 -0
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.mjs +4 -0
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.mjs +4 -0
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.mjs +4 -0
- package/dist/network/graphql/builder/Mutations/Space/flags/SpacePublishFlagsMutation.d.ts +12 -0
- package/dist/network/graphql/builder/Mutations/Space/flags/SpacePublishFlagsMutation.mjs +4 -0
- package/dist/network/graphql/builder/Mutations/Space/flags/SpaceRemoveFlagMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/flags/SpaceRemoveFlagMutation.mjs +4 -0
- package/dist/network/graphql/builder/Mutations/Space/flags/SpaceSetFlagMutation.d.ts +3 -0
- package/dist/network/graphql/builder/Mutations/Space/flags/SpaceSetFlagMutation.mjs +4 -0
- package/dist/network/graphql/builder/Mutations/index.d.ts +13 -30
- package/dist/network/graphql/builder/Mutations/index.mjs +164 -200
- package/dist/network/graphql/builder/Queries/InitQuery.d.ts +4 -3
- package/dist/network/graphql/builder/Queries/InitQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.d.ts +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.d.ts +16 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceVersionContentsQuery.d.ts +7 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceVersionContentsQuery.mjs +4 -0
- package/dist/network/graphql/builder/Queries/index.d.ts +3 -5
- package/dist/network/graphql/builder/Queries/index.mjs +36 -38
- package/dist/network/graphql/builder/Subscriptions/SpaceEventSubscription.d.ts +1 -1
- package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +2 -3
- package/dist/network/graphql/sdk/Queries/InitQuery.mjs +1 -1
- package/dist/network/graphql/sdk/Queries/index.d.ts +0 -4
- package/dist/network/graphql/sdk/Queries/index.mjs +2 -8
- package/dist/network/index.mjs +8 -7
- package/dist/network/spaceEvents.d.ts +25 -195
- package/dist/network/spaceEvents.mjs +156 -241
- package/dist/realtime/client.mjs +123 -95
- package/dist/realtime/topics.mjs +18 -17
- package/dist/schema/SchemaContext.mjs +2 -3
- package/dist/schema/anchor.d.ts +8 -0
- package/dist/schema/anchor.mjs +4 -0
- package/dist/schema/index.d.ts +2 -0
- package/dist/schema/index.mjs +6 -4
- package/dist/schema/schemaConstants.d.ts +2 -0
- package/dist/schema/schemaConstants.mjs +4 -3
- package/dist/schema/serverElements.d.ts +6 -2
- package/dist/schema/serverElements.mjs +17 -16
- package/dist/schema/snippet.d.ts +7 -0
- package/dist/schema/snippet.mjs +9 -0
- package/dist/schema/wire.d.ts +11 -0
- package/dist/schema/wire.mjs +27 -0
- package/dist/server/actions/useImagesSync.d.ts +9 -0
- package/dist/server/actions/useImagesSync.mjs +7 -0
- package/dist/server/rsc/refreshRsc.d.ts +3 -1
- package/dist/server/rsc/refreshRsc.mjs +17 -16
- package/dist/source/export.d.ts +107 -0
- package/dist/source/export.mjs +4 -0
- package/dist/source/index.d.ts +4 -0
- package/dist/source/index.mjs +3 -0
- package/dist/source/snapshot.d.ts +51 -0
- package/dist/source/snapshot.mjs +81 -0
- package/dist/state/paintedState.mjs +13 -12
- package/dist/state/runtimeStatePersist.mjs +50 -49
- package/dist/store/index.d.ts +45 -45
- package/dist/store/renderSettings.d.ts +1 -0
- package/dist/store/renderSettings.mjs +9 -5
- package/dist/style/breakpoints.d.ts +11 -0
- package/dist/style/breakpoints.mjs +8 -0
- package/dist/style/displayModes.d.ts +5 -0
- package/dist/style/displayModes.mjs +8 -0
- package/dist/style/fontValidation.mjs +52 -51
- package/dist/style/fonts.d.ts +0 -12
- package/dist/style/fonts.mjs +11 -11
- package/dist/style/index.d.ts +4 -0
- package/dist/style/index.mjs +11 -7
- package/dist/style/layoutGrid.d.ts +30 -0
- package/dist/style/layoutGrid.mjs +33 -0
- package/dist/style/notifications.d.ts +52 -0
- package/dist/style/notifications.mjs +55 -0
- package/dist/style/snippetStyle.d.ts +23 -0
- package/dist/style/snippetStyle.mjs +32 -0
- package/dist/style/styleConstants.d.ts +7 -2
- package/dist/style/styleConstants.mjs +10 -0
- package/dist/style/styleStates.d.ts +11 -2
- package/dist/style/styleStates.mjs +12 -9
- package/dist/theme/ThemeProvider.mjs +20 -20
- package/dist/theme/ThemeScope.mjs +4 -3
- package/dist/types/ActionTypes.d.ts +5 -0
- package/dist/types/CommonTypes.d.ts +3 -0
- package/dist/types/DevToolsTypes.d.ts +29 -4
- package/dist/types/ElementTypes.d.ts +6 -5
- package/dist/types/EventBridgeTypes.d.ts +2 -2
- package/dist/types/FunctionTypes.d.ts +13 -0
- package/dist/types/InteractionTypes.d.ts +5 -0
- package/dist/types/PluginTypes.d.ts +1 -1
- package/dist/types/ResourceTypes.d.ts +2 -2
- package/dist/types/SchemaTypes.d.ts +100 -3
- package/dist/types/SdkTypes.d.ts +0 -2
- package/dist/types/ServerTypes.d.ts +47 -0
- package/dist/types/SnippetTypes.d.ts +28 -0
- package/dist/types/SpaceTypes.d.ts +36 -0
- package/dist/types/StoreTypes.d.ts +39 -3
- package/dist/types/StyleTypes.d.ts +1 -1
- package/dist/types/index.d.ts +1 -2
- package/package.json +143 -138
- package/tailwind.config.js +1 -6
- package/vite.config.ts +16 -4
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.d.ts +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.d.ts +0 -8
- package/dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.d.ts +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.d.ts +0 -3
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.mjs +0 -4
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.d.ts +0 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.mjs +0 -4
- package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.d.ts +0 -6
- package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs +0 -4
- package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.d.ts +0 -9
- package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs +0 -4
- package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.d.ts +0 -6
- package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs +0 -4
- package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.d.ts +0 -9
- package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs +0 -4
- package/dist/segments/SegmentsContext.d.ts +0 -2
- package/dist/segments/SegmentsContext.mjs +0 -6
- package/dist/segments/index.d.ts +0 -3
- package/dist/segments/index.mjs +0 -2
- package/dist/types/SegmentTypes.d.ts +0 -41
- package/dist/types/TemplateTypes.d.ts +0 -20
- package/dist/types/TemplateTypes.mjs +0 -0
- /package/dist/types/{SegmentTypes.mjs → SnippetTypes.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const SpaceAddSnippetMutation = "\n mutation SpaceAddSnippetMutation(\n $environment: String!\n $element: Json!\n $style: Json\n $dropPosition: String!\n $to: String!\n $initialItems: [Json]!\n $variables: [SpaceVariableInput]\n ) {\n SpaceAddSnippet(\n environment: $environment\n element: $element\n style: $style\n dropPosition: $dropPosition\n to: $to\n initialItems: $initialItems\n variables: $variables\n ) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
|
|
2
|
+
export default SpaceAddSnippetMutation;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/network/graphql/builder/Mutations/Space/SpaceAddSnippetMutation.ts
|
|
2
|
+
var e = "\n mutation SpaceAddSnippetMutation(\n $environment: String!\n $element: Json!\n $style: Json\n $dropPosition: String!\n $to: String!\n $initialItems: [Json]!\n $variables: [SpaceVariableInput]\n ) {\n SpaceAddSnippet(\n environment: $environment\n element: $element\n style: $style\n dropPosition: $dropPosition\n to: $to\n initialItems: $initialItems\n variables: $variables\n ) {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n }\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
package/dist/network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Whether the component was declared. */
|
|
2
|
+
export type TSpaceAddComponentMutation = boolean;
|
|
3
|
+
declare const SpaceAddComponentMutation = "\n mutation SpaceAddComponentMutation($environment: String!, $component: Json!, $from: Json) {\n SpaceAddComponent(environment: $environment, component: $component, from: $from)\n }\n";
|
|
4
|
+
export default SpaceAddComponentMutation;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation.ts
|
|
2
|
+
var e = "\n mutation SpaceAddComponentMutation($environment: String!, $component: Json!, $from: Json) {\n SpaceAddComponent(environment: $environment, component: $component, from: $from)\n }\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
package/dist/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** The id of the copy that replaced the instance. */
|
|
2
|
+
export type TSpaceDetachInstanceMutation = string;
|
|
3
|
+
declare const SpaceDetachInstanceMutation = "\n mutation SpaceDetachInstanceMutation($environment: String!, $instanceId: String!) {\n SpaceDetachInstance(environment: $environment, instanceId: $instanceId)\n }\n";
|
|
4
|
+
export default SpaceDetachInstanceMutation;
|
package/dist/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.mjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.ts
|
|
2
|
+
var e = "\n mutation SpaceDetachInstanceMutation($environment: String!, $instanceId: String!) {\n SpaceDetachInstance(environment: $environment, instanceId: $instanceId)\n }\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
package/dist/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Whether the component was removed. */
|
|
2
|
+
export type TSpaceRemoveComponentMutation = boolean;
|
|
3
|
+
declare const SpaceRemoveComponentMutation = "\n mutation SpaceRemoveComponentMutation($environment: String!, $componentId: String!) {\n SpaceRemoveComponent(environment: $environment, componentId: $componentId)\n }\n";
|
|
4
|
+
export default SpaceRemoveComponentMutation;
|
package/dist/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.mjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.ts
|
|
2
|
+
var e = "\n mutation SpaceRemoveComponentMutation($environment: String!, $componentId: String!) {\n SpaceRemoveComponent(environment: $environment, componentId: $componentId)\n }\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
package/dist/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Whether the declaration was changed. */
|
|
2
|
+
export type TSpaceUpdateComponentMutation = boolean;
|
|
3
|
+
declare const SpaceUpdateComponentMutation = "\n mutation SpaceUpdateComponentMutation($environment: String!, $componentId: String!, $declaration: Json!) {\n SpaceUpdateComponent(environment: $environment, componentId: $componentId, declaration: $declaration)\n }\n";
|
|
4
|
+
export default SpaceUpdateComponentMutation;
|
package/dist/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.mjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.ts
|
|
2
|
+
var e = "\n mutation SpaceUpdateComponentMutation($environment: String!, $componentId: String!, $declaration: Json!) {\n SpaceUpdateComponent(environment: $environment, componentId: $componentId, declaration: $declaration)\n }\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type TSpacePublishFlagsMutation = {
|
|
2
|
+
environment: string;
|
|
3
|
+
/** The content's hash: what every cache of the environment's pages is keyed by. */
|
|
4
|
+
hash: string;
|
|
5
|
+
publishedAt: string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Publishes the draft's flags to an environment, and only them. Flags are not part of a snapshot — an environment has
|
|
9
|
+
* one set, shared by every revision it serves — so this makes no revision: the pages the environment serves now switch.
|
|
10
|
+
*/
|
|
11
|
+
declare const SpacePublishFlagsMutation = "\n mutation SpacePublishFlagsMutation($environment: String!, $description: String!) {\n SpacePublishFlags(environment: $environment, description: $description) {\n environment\n hash\n publishedAt\n }\n }\n";
|
|
12
|
+
export default SpacePublishFlagsMutation;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/network/graphql/builder/Mutations/Space/flags/SpacePublishFlagsMutation.ts
|
|
2
|
+
var e = "\n mutation SpacePublishFlagsMutation($environment: String!, $description: String!) {\n SpacePublishFlags(environment: $environment, description: $description) {\n environment\n hash\n publishedAt\n }\n }\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/network/graphql/builder/Mutations/Space/flags/SpaceRemoveFlagMutation.ts
|
|
2
|
+
var e = "\n mutation SpaceRemoveFlagMutation($environment: String!, $name: String!) {\n SpaceRemoveFlag(environment: $environment, name: $name) {\n name\n }\n }\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Declares a feature flag, or changes one: a flag is keyed by its name, so the two are the same write. */
|
|
2
|
+
declare const SpaceSetFlagMutation = "\n mutation SpaceSetFlagMutation($environment: String!, $name: String!, $flag: JSON!) {\n SpaceSetFlag(environment: $environment, name: $name, flag: $flag) {\n name\n flag\n }\n }\n";
|
|
3
|
+
export default SpaceSetFlagMutation;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/network/graphql/builder/Mutations/Space/flags/SpaceSetFlagMutation.ts
|
|
2
|
+
var e = "\n mutation SpaceSetFlagMutation($environment: String!, $name: String!, $flag: JSON!) {\n SpaceSetFlag(environment: $environment, name: $name, flag: $flag) {\n name\n flag\n }\n }\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { TSegmentAddMutation } from './Segment/SegmentAddMutation';
|
|
2
|
-
import { TSegmentPublishMutation } from './Segment/SegmentPublishMutation';
|
|
3
|
-
import { TSegmentUpdateMutation } from './Segment/SegmentUpdateMutation';
|
|
4
|
-
import { TSegmentRenameElementMutation } from './Segment/space/elements/SegmentRenameElementMutation';
|
|
5
1
|
import { TSpaceAddActionMutation } from './Space/actions/SpaceAddActionMutation';
|
|
6
2
|
import { TSpaceRemoveActionMutation } from './Space/actions/SpaceRemoveActionMutation';
|
|
7
3
|
import { TSpaceRunActionMutation } from './Space/actions/SpaceRunActionMutation';
|
|
@@ -13,9 +9,14 @@ import { TSpaceRemoveCdnMutation } from './Space/cdns/SpaceRemoveCdnMutation';
|
|
|
13
9
|
import { TSpaceSetCdnCredentialMutation } from './Space/cdns/SpaceSetCdnCredentialMutation';
|
|
14
10
|
import { TSpaceUpdateCdnBucketMutation } from './Space/cdns/SpaceUpdateCdnBucketMutation';
|
|
15
11
|
import { TSpaceUpdateCdnMutation } from './Space/cdns/SpaceUpdateCdnMutation';
|
|
12
|
+
import { TSpaceAddComponentMutation } from './Space/components/SpaceAddComponentMutation';
|
|
13
|
+
import { TSpaceDetachInstanceMutation } from './Space/components/SpaceDetachInstanceMutation';
|
|
14
|
+
import { TSpaceRemoveComponentMutation } from './Space/components/SpaceRemoveComponentMutation';
|
|
15
|
+
import { TSpaceUpdateComponentMutation } from './Space/components/SpaceUpdateComponentMutation';
|
|
16
16
|
import { TSpaceAddConnectorMutation } from './Space/connectors/SpaceAddConnectorMutation';
|
|
17
17
|
import { TSpaceRemoveConnectorMutation } from './Space/connectors/SpaceRemoveConnectorMutation';
|
|
18
18
|
import { TSpaceUpdateConnectorMutation } from './Space/connectors/SpaceUpdateConnectorMutation';
|
|
19
|
+
import { TSpacePublishFlagsMutation } from './Space/flags/SpacePublishFlagsMutation';
|
|
19
20
|
import { TSpaceAddPageFolderMutation } from './Space/folders/SpaceAddPageFolderMutation';
|
|
20
21
|
import { TSpaceRemovePageFolderMutation } from './Space/folders/SpaceRemovePageFolderMutation';
|
|
21
22
|
import { TSpaceUpdatePageFolderMutation } from './Space/folders/SpaceUpdatePageFolderMutation';
|
|
@@ -49,6 +50,8 @@ export type BuilderMutationsMap = {
|
|
|
49
50
|
SpaceAddVariable: unknown;
|
|
50
51
|
SpaceUpdateVariable: unknown;
|
|
51
52
|
SpaceRemoveVariable: unknown;
|
|
53
|
+
SpaceSetFlag: unknown;
|
|
54
|
+
SpaceRemoveFlag: unknown;
|
|
52
55
|
SpaceAddElement: unknown;
|
|
53
56
|
SpaceUpdateElement: unknown;
|
|
54
57
|
SpaceRenameElement: TSpaceRenameElementMutation;
|
|
@@ -56,7 +59,11 @@ export type BuilderMutationsMap = {
|
|
|
56
59
|
SpaceRemoveElement: unknown;
|
|
57
60
|
SpaceMoveElement: unknown;
|
|
58
61
|
SpaceCloneElement: unknown;
|
|
59
|
-
|
|
62
|
+
SpaceAddComponent: TSpaceAddComponentMutation;
|
|
63
|
+
SpaceUpdateComponent: TSpaceUpdateComponentMutation;
|
|
64
|
+
SpaceRemoveComponent: TSpaceRemoveComponentMutation;
|
|
65
|
+
SpaceDetachInstance: TSpaceDetachInstanceMutation;
|
|
66
|
+
SpaceAddSnippet: unknown;
|
|
60
67
|
SpaceAddPlugin: TSpaceAddPluginMutation;
|
|
61
68
|
SpaceUpdatePlugin: TSpaceUpdatePluginMutation;
|
|
62
69
|
SpaceRemovePlugin: unknown;
|
|
@@ -93,6 +100,7 @@ export type BuilderMutationsMap = {
|
|
|
93
100
|
SpaceRemoveRuntimeVariable: string[];
|
|
94
101
|
SpaceRemoveRuntime: boolean;
|
|
95
102
|
SpacePublish: TSpacePublishMutation;
|
|
103
|
+
SpacePublishFlags: TSpacePublishFlagsMutation;
|
|
96
104
|
SpaceFixIssues: TSpaceFixIssuesMutation;
|
|
97
105
|
SpaceDeploy: TSpaceDeployMutation;
|
|
98
106
|
SpaceUpdateSettings: unknown;
|
|
@@ -111,31 +119,6 @@ export type BuilderMutationsMap = {
|
|
|
111
119
|
StyleRemoveVariable: unknown;
|
|
112
120
|
StyleUpdate: unknown;
|
|
113
121
|
StyleUpdateSettings: unknown;
|
|
114
|
-
SegmentAdd: TSegmentAddMutation;
|
|
115
|
-
SegmentUpdate: TSegmentUpdateMutation;
|
|
116
|
-
SegmentRemove: unknown;
|
|
117
|
-
SegmentAddElement: unknown;
|
|
118
|
-
SegmentUpdateElement: unknown;
|
|
119
|
-
SegmentRenameElement: TSegmentRenameElementMutation;
|
|
120
|
-
SegmentUpdateElements: unknown;
|
|
121
|
-
SegmentRemoveElement: unknown;
|
|
122
|
-
SegmentMoveElement: unknown;
|
|
123
|
-
SegmentCloneElement: unknown;
|
|
124
|
-
SegmentAddTemplate: unknown;
|
|
125
|
-
SegmentSpaceAddVariable: unknown;
|
|
126
|
-
SegmentSpaceUpdateVariable: unknown;
|
|
127
|
-
SegmentSpaceRemoveVariable: unknown;
|
|
128
|
-
SegmentStyleAddSelector: unknown;
|
|
129
|
-
SegmentStyleUpdateSelector: unknown;
|
|
130
|
-
SegmentStyleRemoveSelector: unknown;
|
|
131
|
-
SegmentStyleRemoveSelectors: unknown;
|
|
132
|
-
SegmentStyleAddSelectorVariable: unknown;
|
|
133
|
-
SegmentStyleRemoveSelectorVariable: unknown;
|
|
134
|
-
SegmentStyleUpdateSelectorVariable: unknown;
|
|
135
|
-
SegmentStyleAddVariable: unknown;
|
|
136
|
-
SegmentStyleUpdateVariable: unknown;
|
|
137
|
-
SegmentStyleRemoveVariable: unknown;
|
|
138
|
-
SegmentPublish: TSegmentPublishMutation;
|
|
139
122
|
};
|
|
140
123
|
declare const BuilderMutations: Record<keyof BuilderMutationsMap, string>;
|
|
141
124
|
export default BuilderMutations;
|
|
@@ -1,203 +1,167 @@
|
|
|
1
|
-
import e from "./
|
|
2
|
-
import t from "./
|
|
3
|
-
import n from "./
|
|
4
|
-
import r from "./
|
|
5
|
-
import i from "./
|
|
6
|
-
import a from "./
|
|
7
|
-
import o from "./
|
|
8
|
-
import s from "./
|
|
9
|
-
import c from "./
|
|
10
|
-
import l from "./
|
|
11
|
-
import u from "./
|
|
12
|
-
import d from "./
|
|
13
|
-
import f from "./
|
|
14
|
-
import p from "./
|
|
15
|
-
import m from "./
|
|
16
|
-
import h from "./
|
|
17
|
-
import g from "./
|
|
18
|
-
import _ from "./
|
|
19
|
-
import v from "./
|
|
20
|
-
import y from "./
|
|
21
|
-
import b from "./
|
|
22
|
-
import x from "./
|
|
23
|
-
import S from "./
|
|
24
|
-
import C from "./
|
|
25
|
-
import w from "./
|
|
26
|
-
import T from "./Space/
|
|
27
|
-
import E from "./Space/
|
|
28
|
-
import D from "./Space/
|
|
29
|
-
import O from "./Space/
|
|
30
|
-
import k from "./Space/
|
|
31
|
-
import A from "./Space/
|
|
32
|
-
import j from "./Space/
|
|
33
|
-
import M from "./Space/
|
|
34
|
-
import N from "./Space/
|
|
35
|
-
import P from "./Space/
|
|
36
|
-
import F from "./Space/
|
|
37
|
-
import I from "./Space/
|
|
38
|
-
import L from "./Space/
|
|
39
|
-
import R from "./Space/
|
|
40
|
-
import z from "./Space/
|
|
41
|
-
import B from "./Space/
|
|
42
|
-
import V from "./Space/
|
|
43
|
-
import H from "./Space/
|
|
44
|
-
import U from "./Space/
|
|
45
|
-
import W from "./Space/
|
|
46
|
-
import G from "./Space/
|
|
47
|
-
import K from "./Space/
|
|
48
|
-
import q from "./Space/
|
|
49
|
-
import J from "./Space/
|
|
50
|
-
import Y from "./Space/
|
|
51
|
-
import X from "./Space/
|
|
52
|
-
import Z from "./Space/
|
|
53
|
-
import Q from "./Space/
|
|
54
|
-
import $ from "./Space/
|
|
55
|
-
import ee from "./Space/
|
|
56
|
-
import te from "./Space/
|
|
57
|
-
import ne from "./Space/
|
|
58
|
-
import re from "./Space/
|
|
59
|
-
import ie from "./Space/
|
|
60
|
-
import ae from "./Space/
|
|
61
|
-
import oe from "./Space/
|
|
62
|
-
import se from "./Space/
|
|
63
|
-
import ce from "./Space/
|
|
64
|
-
import le from "./Space/
|
|
65
|
-
import ue from "./Space/
|
|
66
|
-
import de from "./Space/
|
|
67
|
-
import fe from "./
|
|
68
|
-
import pe from "./
|
|
69
|
-
import me from "./
|
|
70
|
-
import he from "./
|
|
71
|
-
import ge from "./
|
|
72
|
-
import _e from "./
|
|
73
|
-
import ve from "./
|
|
74
|
-
import ye from "./
|
|
75
|
-
import be from "./
|
|
76
|
-
import xe from "./
|
|
77
|
-
import Se from "./
|
|
78
|
-
import Ce from "./
|
|
79
|
-
import we from "./
|
|
80
|
-
import Te from "./
|
|
81
|
-
import Ee from "./
|
|
82
|
-
import De from "./Space/variables/SpaceUpdateVariableMutation.mjs";
|
|
83
|
-
import Oe from "./Space/visitors/SpaceAddVisitorMutation.mjs";
|
|
84
|
-
import ke from "./Space/visitors/SpaceRemoveVisitorMutation.mjs";
|
|
85
|
-
import Ae from "./Style/fonts/StyleAddFontMutation.mjs";
|
|
86
|
-
import je from "./Style/fonts/StyleRemoveFontMutation.mjs";
|
|
87
|
-
import Me from "./Style/fonts/StyleUpdateFontMutation.mjs";
|
|
88
|
-
import Ne from "./Style/selectors/StyleAddSelectorMutation.mjs";
|
|
89
|
-
import Pe from "./Style/selectors/StyleRemoveSelectorMutation.mjs";
|
|
90
|
-
import Fe from "./Style/selectors/StyleRemoveSelectorsMutation.mjs";
|
|
91
|
-
import Ie from "./Style/selectors/StyleUpdateSelectorMutation.mjs";
|
|
92
|
-
import Le from "./Style/selectorVariables/StyleAddSelectorVariableMutation.mjs";
|
|
93
|
-
import Re from "./Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs";
|
|
94
|
-
import ze from "./Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs";
|
|
95
|
-
import Be from "./Style/StyleUpdateMutation.mjs";
|
|
96
|
-
import Ve from "./Style/StyleUpdateSettingsMutation.mjs";
|
|
97
|
-
import He from "./Style/variables/StyleAddVariableMutation.mjs";
|
|
98
|
-
import Ue from "./Style/variables/StyleRemoveVariableMutation.mjs";
|
|
99
|
-
import We from "./Style/variables/StyleUpdateVariableMutation.mjs";
|
|
1
|
+
import e from "./Space/actions/SpaceAddActionMutation.mjs";
|
|
2
|
+
import t from "./Space/actions/SpaceRemoveActionMutation.mjs";
|
|
3
|
+
import n from "./Space/actions/SpaceRunActionMutation.mjs";
|
|
4
|
+
import r from "./Space/actions/SpaceUpdateActionMutation.mjs";
|
|
5
|
+
import i from "./Space/cdns/SpaceAddCdnBucketMutation.mjs";
|
|
6
|
+
import a from "./Space/cdns/SpaceAddCdnMutation.mjs";
|
|
7
|
+
import o from "./Space/cdns/SpaceRemoveCdnBucketMutation.mjs";
|
|
8
|
+
import s from "./Space/cdns/SpaceRemoveCdnMutation.mjs";
|
|
9
|
+
import c from "./Space/cdns/SpaceSetCdnCredentialMutation.mjs";
|
|
10
|
+
import l from "./Space/cdns/SpaceUpdateCdnBucketMutation.mjs";
|
|
11
|
+
import u from "./Space/cdns/SpaceUpdateCdnMutation.mjs";
|
|
12
|
+
import d from "./Space/components/SpaceAddComponentMutation.mjs";
|
|
13
|
+
import f from "./Space/components/SpaceDetachInstanceMutation.mjs";
|
|
14
|
+
import p from "./Space/components/SpaceRemoveComponentMutation.mjs";
|
|
15
|
+
import m from "./Space/components/SpaceUpdateComponentMutation.mjs";
|
|
16
|
+
import h from "./Space/connectors/SpaceAddConnectorMutation.mjs";
|
|
17
|
+
import g from "./Space/connectors/SpaceRemoveConnectorMutation.mjs";
|
|
18
|
+
import _ from "./Space/connectors/SpaceUpdateConnectorMutation.mjs";
|
|
19
|
+
import v from "./Space/credentials/SpaceAddCredentialMutation.mjs";
|
|
20
|
+
import y from "./Space/credentials/SpaceRemoveCredentialMutation.mjs";
|
|
21
|
+
import b from "./Space/credentials/SpaceUpdateCredentialMutation.mjs";
|
|
22
|
+
import x from "./Space/flags/SpacePublishFlagsMutation.mjs";
|
|
23
|
+
import S from "./Space/flags/SpaceRemoveFlagMutation.mjs";
|
|
24
|
+
import C from "./Space/flags/SpaceSetFlagMutation.mjs";
|
|
25
|
+
import w from "./Space/folders/SpaceAddPageFolderMutation.mjs";
|
|
26
|
+
import T from "./Space/folders/SpaceRemovePageFolderMutation.mjs";
|
|
27
|
+
import E from "./Space/folders/SpaceUpdatePageFolderMutation.mjs";
|
|
28
|
+
import D from "./Space/functions/SpaceInstallTemplateFunctionsMutation.mjs";
|
|
29
|
+
import O from "./Space/functions/SpaceRemoveFunctionsMutation.mjs";
|
|
30
|
+
import k from "./Space/functions/SpaceSaveFunctionsMutation.mjs";
|
|
31
|
+
import A from "./Space/functions/SpaceTryFunctionMutation.mjs";
|
|
32
|
+
import j from "./Space/pages/SpaceAddPageMutation.mjs";
|
|
33
|
+
import M from "./Space/pages/SpaceHomePageMutation.mjs";
|
|
34
|
+
import N from "./Space/pages/SpaceRemovePageMutation.mjs";
|
|
35
|
+
import P from "./Space/pages/SpaceUpdatePageMutation.mjs";
|
|
36
|
+
import F from "./Space/resources/SpaceAddResourceMutation.mjs";
|
|
37
|
+
import I from "./Space/resources/SpaceMoveResourceMutation.mjs";
|
|
38
|
+
import L from "./Space/resources/SpaceRemoveResourceMutation.mjs";
|
|
39
|
+
import R from "./Space/runtime/SpaceRemoveRuntimeMutation.mjs";
|
|
40
|
+
import z from "./Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs";
|
|
41
|
+
import B from "./Space/runtime/SpaceSetRuntimeSizeMutation.mjs";
|
|
42
|
+
import V from "./Space/runtime/SpaceSetRuntimeVariableMutation.mjs";
|
|
43
|
+
import H from "./Space/runtime/SpaceStartRuntimeMutation.mjs";
|
|
44
|
+
import U from "./Space/runtime/SpaceStopRuntimeMutation.mjs";
|
|
45
|
+
import W from "./Space/SpaceAddElementMutation.mjs";
|
|
46
|
+
import G from "./Space/SpaceAddPluginMutation.mjs";
|
|
47
|
+
import K from "./Space/SpaceAddSnippetMutation.mjs";
|
|
48
|
+
import q from "./Space/SpaceCloneElementMutation.mjs";
|
|
49
|
+
import J from "./Space/SpaceDeployMutation.mjs";
|
|
50
|
+
import Y from "./Space/SpaceFixIssuesMutation.mjs";
|
|
51
|
+
import X from "./Space/SpaceMoveElementMutation.mjs";
|
|
52
|
+
import Z from "./Space/SpacePublishMutation.mjs";
|
|
53
|
+
import Q from "./Space/SpaceRemoveElementMutation.mjs";
|
|
54
|
+
import $ from "./Space/SpaceRemovePluginMutation.mjs";
|
|
55
|
+
import ee from "./Space/SpaceRenameElementMutation.mjs";
|
|
56
|
+
import te from "./Space/SpaceUpdateElementMutation.mjs";
|
|
57
|
+
import ne from "./Space/SpaceUpdateElementsMutation.mjs";
|
|
58
|
+
import re from "./Space/SpaceUpdateMutation.mjs";
|
|
59
|
+
import ie from "./Space/SpaceUpdatePluginMutation.mjs";
|
|
60
|
+
import ae from "./Space/SpaceUpdateSchemaMutation.mjs";
|
|
61
|
+
import oe from "./Space/SpaceUpdateSettingsMutation.mjs";
|
|
62
|
+
import se from "./Space/variables/SpaceAddVariableMutation.mjs";
|
|
63
|
+
import ce from "./Space/variables/SpaceRemoveVariableMutation.mjs";
|
|
64
|
+
import le from "./Space/variables/SpaceUpdateVariableMutation.mjs";
|
|
65
|
+
import ue from "./Space/visitors/SpaceAddVisitorMutation.mjs";
|
|
66
|
+
import de from "./Space/visitors/SpaceRemoveVisitorMutation.mjs";
|
|
67
|
+
import fe from "./Style/fonts/StyleAddFontMutation.mjs";
|
|
68
|
+
import pe from "./Style/fonts/StyleRemoveFontMutation.mjs";
|
|
69
|
+
import me from "./Style/fonts/StyleUpdateFontMutation.mjs";
|
|
70
|
+
import he from "./Style/selectors/StyleAddSelectorMutation.mjs";
|
|
71
|
+
import ge from "./Style/selectors/StyleRemoveSelectorMutation.mjs";
|
|
72
|
+
import _e from "./Style/selectors/StyleRemoveSelectorsMutation.mjs";
|
|
73
|
+
import ve from "./Style/selectors/StyleUpdateSelectorMutation.mjs";
|
|
74
|
+
import ye from "./Style/selectorVariables/StyleAddSelectorVariableMutation.mjs";
|
|
75
|
+
import be from "./Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs";
|
|
76
|
+
import xe from "./Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs";
|
|
77
|
+
import Se from "./Style/StyleUpdateMutation.mjs";
|
|
78
|
+
import Ce from "./Style/StyleUpdateSettingsMutation.mjs";
|
|
79
|
+
import we from "./Style/variables/StyleAddVariableMutation.mjs";
|
|
80
|
+
import Te from "./Style/variables/StyleRemoveVariableMutation.mjs";
|
|
81
|
+
import Ee from "./Style/variables/StyleUpdateVariableMutation.mjs";
|
|
100
82
|
//#region src/network/graphql/builder/Mutations/index.ts
|
|
101
|
-
var
|
|
102
|
-
SpaceUpdate:
|
|
103
|
-
SpaceUpdateSchema:
|
|
104
|
-
SpaceAddPage:
|
|
105
|
-
SpaceHomePage:
|
|
106
|
-
SpaceUpdatePage:
|
|
107
|
-
SpaceRemovePage:
|
|
108
|
-
SpaceAddPageFolder:
|
|
109
|
-
SpaceUpdatePageFolder:
|
|
110
|
-
SpaceRemovePageFolder:
|
|
111
|
-
SpaceAddVariable:
|
|
112
|
-
SpaceUpdateVariable:
|
|
113
|
-
SpaceRemoveVariable:
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
SegmentRemoveElement: c,
|
|
184
|
-
SegmentMoveElement: s,
|
|
185
|
-
SegmentCloneElement: o,
|
|
186
|
-
SegmentAddTemplate: t,
|
|
187
|
-
SegmentSpaceAddVariable: f,
|
|
188
|
-
SegmentSpaceRemoveVariable: p,
|
|
189
|
-
SegmentSpaceUpdateVariable: m,
|
|
190
|
-
SegmentStyleAddSelector: h,
|
|
191
|
-
SegmentStyleUpdateSelector: v,
|
|
192
|
-
SegmentStyleRemoveSelector: g,
|
|
193
|
-
SegmentStyleRemoveSelectors: _,
|
|
194
|
-
SegmentStyleAddSelectorVariable: y,
|
|
195
|
-
SegmentStyleRemoveSelectorVariable: b,
|
|
196
|
-
SegmentStyleUpdateSelectorVariable: x,
|
|
197
|
-
SegmentStyleAddVariable: S,
|
|
198
|
-
SegmentStyleUpdateVariable: w,
|
|
199
|
-
SegmentStyleRemoveVariable: C,
|
|
200
|
-
SegmentPublish: n
|
|
83
|
+
var De = {
|
|
84
|
+
SpaceUpdate: re,
|
|
85
|
+
SpaceUpdateSchema: ae,
|
|
86
|
+
SpaceAddPage: j,
|
|
87
|
+
SpaceHomePage: M,
|
|
88
|
+
SpaceUpdatePage: P,
|
|
89
|
+
SpaceRemovePage: N,
|
|
90
|
+
SpaceAddPageFolder: w,
|
|
91
|
+
SpaceUpdatePageFolder: E,
|
|
92
|
+
SpaceRemovePageFolder: T,
|
|
93
|
+
SpaceAddVariable: se,
|
|
94
|
+
SpaceUpdateVariable: le,
|
|
95
|
+
SpaceRemoveVariable: ce,
|
|
96
|
+
SpaceSetFlag: C,
|
|
97
|
+
SpaceRemoveFlag: S,
|
|
98
|
+
SpaceAddElement: W,
|
|
99
|
+
SpaceUpdateElement: te,
|
|
100
|
+
SpaceRenameElement: ee,
|
|
101
|
+
SpaceUpdateElements: ne,
|
|
102
|
+
SpaceRemoveElement: Q,
|
|
103
|
+
SpaceMoveElement: X,
|
|
104
|
+
SpaceCloneElement: q,
|
|
105
|
+
SpaceAddComponent: d,
|
|
106
|
+
SpaceUpdateComponent: m,
|
|
107
|
+
SpaceRemoveComponent: p,
|
|
108
|
+
SpaceDetachInstance: f,
|
|
109
|
+
SpaceAddSnippet: K,
|
|
110
|
+
SpaceAddPlugin: G,
|
|
111
|
+
SpaceUpdatePlugin: ie,
|
|
112
|
+
SpaceRemovePlugin: $,
|
|
113
|
+
SpaceAddResource: F,
|
|
114
|
+
SpaceMoveResource: I,
|
|
115
|
+
SpaceRemoveResource: L,
|
|
116
|
+
SpaceAddCdn: a,
|
|
117
|
+
SpaceUpdateCdn: u,
|
|
118
|
+
SpaceSetCdnCredential: c,
|
|
119
|
+
SpaceRemoveCdn: s,
|
|
120
|
+
SpaceAddCdnBucket: i,
|
|
121
|
+
SpaceUpdateCdnBucket: l,
|
|
122
|
+
SpaceRemoveCdnBucket: o,
|
|
123
|
+
SpaceAddAction: e,
|
|
124
|
+
SpaceUpdateAction: r,
|
|
125
|
+
SpaceRemoveAction: t,
|
|
126
|
+
SpaceRunAction: n,
|
|
127
|
+
SpaceSaveFunctions: k,
|
|
128
|
+
SpaceRemoveFunctions: O,
|
|
129
|
+
SpaceInstallTemplateFunctions: D,
|
|
130
|
+
SpaceTryFunction: A,
|
|
131
|
+
SpaceAddConnector: h,
|
|
132
|
+
SpaceUpdateConnector: _,
|
|
133
|
+
SpaceRemoveConnector: g,
|
|
134
|
+
SpaceAddCredential: v,
|
|
135
|
+
SpaceUpdateCredential: b,
|
|
136
|
+
SpaceRemoveCredential: y,
|
|
137
|
+
SpaceAddVisitor: ue,
|
|
138
|
+
SpaceRemoveVisitor: de,
|
|
139
|
+
SpaceSetRuntimeVariable: V,
|
|
140
|
+
SpaceSetRuntimeSize: B,
|
|
141
|
+
SpaceStartRuntime: H,
|
|
142
|
+
SpaceStopRuntime: U,
|
|
143
|
+
SpaceRemoveRuntimeVariable: z,
|
|
144
|
+
SpaceRemoveRuntime: R,
|
|
145
|
+
SpacePublish: Z,
|
|
146
|
+
SpacePublishFlags: x,
|
|
147
|
+
SpaceFixIssues: Y,
|
|
148
|
+
SpaceDeploy: J,
|
|
149
|
+
SpaceUpdateSettings: oe,
|
|
150
|
+
StyleAddSelector: he,
|
|
151
|
+
StyleUpdateSelector: ve,
|
|
152
|
+
StyleRemoveSelector: ge,
|
|
153
|
+
StyleRemoveSelectors: _e,
|
|
154
|
+
StyleAddSelectorVariable: ye,
|
|
155
|
+
StyleUpdateSelectorVariable: xe,
|
|
156
|
+
StyleRemoveSelectorVariable: be,
|
|
157
|
+
StyleAddFont: fe,
|
|
158
|
+
StyleUpdateFont: me,
|
|
159
|
+
StyleRemoveFont: pe,
|
|
160
|
+
StyleAddVariable: we,
|
|
161
|
+
StyleUpdateVariable: Ee,
|
|
162
|
+
StyleRemoveVariable: Te,
|
|
163
|
+
StyleUpdate: Se,
|
|
164
|
+
StyleUpdateSettings: Ce
|
|
201
165
|
};
|
|
202
166
|
//#endregion
|
|
203
|
-
export {
|
|
167
|
+
export { De as default };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { PluginRaw, SchemaRaw,
|
|
1
|
+
import { PluginRaw, SchemaRaw, Style } from '../../../../types';
|
|
2
2
|
export type TInitQuery = {
|
|
3
|
+
/** The editor's own feature flags, resolved by the platform for whoever opened it. */
|
|
4
|
+
PlatformFlags?: Record<string, boolean>;
|
|
3
5
|
Space?: {
|
|
4
6
|
definition: SchemaRaw['definition'];
|
|
5
7
|
plugins: PluginRaw[];
|
|
6
8
|
schema: SchemaRaw;
|
|
7
9
|
style: Style;
|
|
8
|
-
segments?: SegmentRaw[];
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
|
-
declare const InitQuery = "\n query InitQuery($environment: String!, $revision: Int) {\n Space(environment: $environment, revision: $revision) {\n definition {\n name\n permanentUrl\n }\n schema {\n settings\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n pages\n pageFolders {\n id\n name\n slug\n parentId\n }\n variables {\n name\n category\n type\n value\n subValues {\n when\n value\n }\n }\n }\n
|
|
12
|
+
declare const InitQuery = "\n query InitQuery($environment: String!, $revision: Int) {\n PlatformFlags\n Space(environment: $environment, revision: $revision) {\n definition {\n name\n permanentUrl\n }\n schema {\n settings\n rsc\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n runtime\n loadStrategy\n flag {\n name\n is\n }\n anchor\n }\n attributes\n }\n pages\n components\n flags\n pageFolders {\n id\n name\n slug\n parentId\n }\n variables {\n name\n category\n type\n value\n subValues {\n when\n value\n }\n }\n }\n plugins {\n type\n resource\n settings\n }\n style {\n id\n platform\n variables\n mode\n fonts\n cache\n }\n }\n }\n";
|
|
12
13
|
export default InitQuery;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region src/network/graphql/builder/Queries/InitQuery.ts
|
|
2
|
-
var e = "\n query InitQuery($environment: String!, $revision: Int) {\n Space(environment: $environment, revision: $revision) {\n definition {\n name\n permanentUrl\n }\n schema {\n settings\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n }\n attributes\n }\n pages\n pageFolders {\n id\n name\n slug\n parentId\n }\n variables {\n name\n category\n type\n value\n subValues {\n when\n value\n }\n }\n }\n
|
|
2
|
+
var e = "\n query InitQuery($environment: String!, $revision: Int) {\n PlatformFlags\n Space(environment: $environment, revision: $revision) {\n definition {\n name\n permanentUrl\n }\n schema {\n settings\n rsc\n flat {\n id\n definition {\n label\n type\n initialState\n styleSelectors\n bindings\n interactions\n parentId\n rootId\n items\n runtime\n loadStrategy\n flag {\n name\n is\n }\n anchor\n }\n attributes\n }\n pages\n components\n flags\n pageFolders {\n id\n name\n slug\n parentId\n }\n variables {\n name\n category\n type\n value\n subValues {\n when\n value\n }\n }\n }\n plugins {\n type\n resource\n settings\n }\n style {\n id\n platform\n variables\n mode\n fonts\n cache\n }\n }\n }\n";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as default };
|
|
@@ -2,5 +2,5 @@ import { ActionTaskDescriptor } from '../../../../../types';
|
|
|
2
2
|
export type TSpaceActionTasksQuery = {
|
|
3
3
|
SpaceActionTasks: ActionTaskDescriptor[];
|
|
4
4
|
};
|
|
5
|
-
declare const SpaceActionTasksQuery = "\n query SpaceActionTasksQuery {\n SpaceActionTasks {\n name\n namespace\n action\n title\n description\n params\n }\n }\n";
|
|
5
|
+
declare const SpaceActionTasksQuery = "\n query SpaceActionTasksQuery {\n SpaceActionTasks {\n name\n namespace\n action\n title\n description\n origin\n params\n }\n }\n";
|
|
6
6
|
export default SpaceActionTasksQuery;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region src/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.ts
|
|
2
|
-
var e = "\n query SpaceActionTasksQuery {\n SpaceActionTasks {\n name\n namespace\n action\n title\n description\n params\n }\n }\n";
|
|
2
|
+
var e = "\n query SpaceActionTasksQuery {\n SpaceActionTasks {\n name\n namespace\n action\n title\n description\n origin\n params\n }\n }\n";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as default };
|