@plitzi/sdk-shared 0.37.7 → 0.37.9
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 +247 -0
- package/dist/actions/functions.d.ts +12 -3
- package/dist/actions/functions.mjs +8 -5
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.mjs +6 -6
- package/dist/auth/failureChannel.d.ts +8 -2
- package/dist/auth/failureChannel.mjs +1 -3
- package/dist/builder/contexts/BuilderContext.d.ts +1 -1
- package/dist/builder/contexts/BuilderContext.mjs +2 -3
- package/dist/devTools/DevToolsContext.mjs +2 -3
- package/dist/elements/ComponentContext.mjs +2 -3
- 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/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 +1 -0
- package/dist/history/diff.d.ts +1 -1
- package/dist/history/diff.mjs +10 -9
- package/dist/history/types.d.ts +1 -1
- package/dist/hooks/usePlitziServiceContext.d.ts +1 -2
- package/dist/hooks/usePlitziServiceContext.mjs +3 -4
- package/dist/index.d.ts +0 -1
- package/dist/index.mjs +12 -13
- 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/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/index.d.ts +8 -29
- package/dist/network/graphql/builder/Mutations/index.mjs +158 -200
- package/dist/network/graphql/builder/Queries/InitQuery.d.ts +2 -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/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 +2 -4
- 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/spaceEvents.d.ts +14 -190
- package/dist/network/spaceEvents.mjs +48 -132
- package/dist/schema/SchemaContext.mjs +2 -3
- package/dist/schema/index.mjs +4 -4
- package/dist/schema/schemaConstants.d.ts +2 -0
- package/dist/schema/schemaConstants.mjs +4 -3
- package/dist/server/rsc/refreshRsc.d.ts +3 -1
- package/dist/server/rsc/refreshRsc.mjs +15 -14
- 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 +80 -0
- 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/theme/ThemeScope.mjs +4 -3
- package/dist/types/ActionTypes.d.ts +5 -0
- 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/SchemaTypes.d.ts +38 -0
- package/dist/types/SdkTypes.d.ts +0 -2
- package/dist/types/SpaceTypes.d.ts +36 -0
- package/dist/types/StoreTypes.d.ts +14 -3
- package/dist/types/index.d.ts +0 -1
- package/package.json +43 -134
- 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/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/SegmentTypes.mjs +0 -0
|
@@ -1,203 +1,161 @@
|
|
|
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 "./
|
|
65
|
-
import ue from "./
|
|
66
|
-
import de from "./
|
|
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 "./Space/SpaceUpdateSettingsMutation.mjs";
|
|
80
|
-
import Te from "./Space/variables/SpaceAddVariableMutation.mjs";
|
|
81
|
-
import Ee from "./Space/variables/SpaceRemoveVariableMutation.mjs";
|
|
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/folders/SpaceAddPageFolderMutation.mjs";
|
|
23
|
+
import S from "./Space/folders/SpaceRemovePageFolderMutation.mjs";
|
|
24
|
+
import C from "./Space/folders/SpaceUpdatePageFolderMutation.mjs";
|
|
25
|
+
import w from "./Space/functions/SpaceInstallTemplateFunctionsMutation.mjs";
|
|
26
|
+
import T from "./Space/functions/SpaceRemoveFunctionsMutation.mjs";
|
|
27
|
+
import E from "./Space/functions/SpaceSaveFunctionsMutation.mjs";
|
|
28
|
+
import D from "./Space/functions/SpaceTryFunctionMutation.mjs";
|
|
29
|
+
import O from "./Space/pages/SpaceAddPageMutation.mjs";
|
|
30
|
+
import k from "./Space/pages/SpaceHomePageMutation.mjs";
|
|
31
|
+
import A from "./Space/pages/SpaceRemovePageMutation.mjs";
|
|
32
|
+
import j from "./Space/pages/SpaceUpdatePageMutation.mjs";
|
|
33
|
+
import M from "./Space/resources/SpaceAddResourceMutation.mjs";
|
|
34
|
+
import N from "./Space/resources/SpaceMoveResourceMutation.mjs";
|
|
35
|
+
import P from "./Space/resources/SpaceRemoveResourceMutation.mjs";
|
|
36
|
+
import F from "./Space/runtime/SpaceRemoveRuntimeMutation.mjs";
|
|
37
|
+
import I from "./Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs";
|
|
38
|
+
import L from "./Space/runtime/SpaceSetRuntimeSizeMutation.mjs";
|
|
39
|
+
import R from "./Space/runtime/SpaceSetRuntimeVariableMutation.mjs";
|
|
40
|
+
import z from "./Space/runtime/SpaceStartRuntimeMutation.mjs";
|
|
41
|
+
import B from "./Space/runtime/SpaceStopRuntimeMutation.mjs";
|
|
42
|
+
import V from "./Space/SpaceAddElementMutation.mjs";
|
|
43
|
+
import H from "./Space/SpaceAddPluginMutation.mjs";
|
|
44
|
+
import U from "./Space/SpaceAddTemplateMutation.mjs";
|
|
45
|
+
import W from "./Space/SpaceCloneElementMutation.mjs";
|
|
46
|
+
import G from "./Space/SpaceDeployMutation.mjs";
|
|
47
|
+
import K from "./Space/SpaceFixIssuesMutation.mjs";
|
|
48
|
+
import q from "./Space/SpaceMoveElementMutation.mjs";
|
|
49
|
+
import J from "./Space/SpacePublishMutation.mjs";
|
|
50
|
+
import Y from "./Space/SpaceRemoveElementMutation.mjs";
|
|
51
|
+
import X from "./Space/SpaceRemovePluginMutation.mjs";
|
|
52
|
+
import Z from "./Space/SpaceRenameElementMutation.mjs";
|
|
53
|
+
import Q from "./Space/SpaceUpdateElementMutation.mjs";
|
|
54
|
+
import $ from "./Space/SpaceUpdateElementsMutation.mjs";
|
|
55
|
+
import ee from "./Space/SpaceUpdateMutation.mjs";
|
|
56
|
+
import te from "./Space/SpaceUpdatePluginMutation.mjs";
|
|
57
|
+
import ne from "./Space/SpaceUpdateSchemaMutation.mjs";
|
|
58
|
+
import re from "./Space/SpaceUpdateSettingsMutation.mjs";
|
|
59
|
+
import ie from "./Space/variables/SpaceAddVariableMutation.mjs";
|
|
60
|
+
import ae from "./Space/variables/SpaceRemoveVariableMutation.mjs";
|
|
61
|
+
import oe from "./Space/variables/SpaceUpdateVariableMutation.mjs";
|
|
62
|
+
import se from "./Space/visitors/SpaceAddVisitorMutation.mjs";
|
|
63
|
+
import ce from "./Space/visitors/SpaceRemoveVisitorMutation.mjs";
|
|
64
|
+
import le from "./Style/fonts/StyleAddFontMutation.mjs";
|
|
65
|
+
import ue from "./Style/fonts/StyleRemoveFontMutation.mjs";
|
|
66
|
+
import de from "./Style/fonts/StyleUpdateFontMutation.mjs";
|
|
67
|
+
import fe from "./Style/selectors/StyleAddSelectorMutation.mjs";
|
|
68
|
+
import pe from "./Style/selectors/StyleRemoveSelectorMutation.mjs";
|
|
69
|
+
import me from "./Style/selectors/StyleRemoveSelectorsMutation.mjs";
|
|
70
|
+
import he from "./Style/selectors/StyleUpdateSelectorMutation.mjs";
|
|
71
|
+
import ge from "./Style/selectorVariables/StyleAddSelectorVariableMutation.mjs";
|
|
72
|
+
import _e from "./Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs";
|
|
73
|
+
import ve from "./Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs";
|
|
74
|
+
import ye from "./Style/StyleUpdateMutation.mjs";
|
|
75
|
+
import be from "./Style/StyleUpdateSettingsMutation.mjs";
|
|
76
|
+
import xe from "./Style/variables/StyleAddVariableMutation.mjs";
|
|
77
|
+
import Se from "./Style/variables/StyleRemoveVariableMutation.mjs";
|
|
78
|
+
import Ce from "./Style/variables/StyleUpdateVariableMutation.mjs";
|
|
100
79
|
//#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
|
-
SpaceAddElement:
|
|
115
|
-
SpaceUpdateElement:
|
|
116
|
-
SpaceRenameElement:
|
|
117
|
-
SpaceUpdateElements:
|
|
118
|
-
SpaceRemoveElement:
|
|
119
|
-
SpaceMoveElement:
|
|
120
|
-
SpaceCloneElement:
|
|
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
|
-
SegmentUpdateElement: u,
|
|
181
|
-
SegmentRenameElement: l,
|
|
182
|
-
SegmentUpdateElements: d,
|
|
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
|
|
80
|
+
var we = {
|
|
81
|
+
SpaceUpdate: ee,
|
|
82
|
+
SpaceUpdateSchema: ne,
|
|
83
|
+
SpaceAddPage: O,
|
|
84
|
+
SpaceHomePage: k,
|
|
85
|
+
SpaceUpdatePage: j,
|
|
86
|
+
SpaceRemovePage: A,
|
|
87
|
+
SpaceAddPageFolder: x,
|
|
88
|
+
SpaceUpdatePageFolder: C,
|
|
89
|
+
SpaceRemovePageFolder: S,
|
|
90
|
+
SpaceAddVariable: ie,
|
|
91
|
+
SpaceUpdateVariable: oe,
|
|
92
|
+
SpaceRemoveVariable: ae,
|
|
93
|
+
SpaceAddElement: V,
|
|
94
|
+
SpaceUpdateElement: Q,
|
|
95
|
+
SpaceRenameElement: Z,
|
|
96
|
+
SpaceUpdateElements: $,
|
|
97
|
+
SpaceRemoveElement: Y,
|
|
98
|
+
SpaceMoveElement: q,
|
|
99
|
+
SpaceCloneElement: W,
|
|
100
|
+
SpaceAddComponent: d,
|
|
101
|
+
SpaceUpdateComponent: m,
|
|
102
|
+
SpaceRemoveComponent: p,
|
|
103
|
+
SpaceDetachInstance: f,
|
|
104
|
+
SpaceAddTemplate: U,
|
|
105
|
+
SpaceAddPlugin: H,
|
|
106
|
+
SpaceUpdatePlugin: te,
|
|
107
|
+
SpaceRemovePlugin: X,
|
|
108
|
+
SpaceAddResource: M,
|
|
109
|
+
SpaceMoveResource: N,
|
|
110
|
+
SpaceRemoveResource: P,
|
|
111
|
+
SpaceAddCdn: a,
|
|
112
|
+
SpaceUpdateCdn: u,
|
|
113
|
+
SpaceSetCdnCredential: c,
|
|
114
|
+
SpaceRemoveCdn: s,
|
|
115
|
+
SpaceAddCdnBucket: i,
|
|
116
|
+
SpaceUpdateCdnBucket: l,
|
|
117
|
+
SpaceRemoveCdnBucket: o,
|
|
118
|
+
SpaceAddAction: e,
|
|
119
|
+
SpaceUpdateAction: r,
|
|
120
|
+
SpaceRemoveAction: t,
|
|
121
|
+
SpaceRunAction: n,
|
|
122
|
+
SpaceSaveFunctions: E,
|
|
123
|
+
SpaceRemoveFunctions: T,
|
|
124
|
+
SpaceInstallTemplateFunctions: w,
|
|
125
|
+
SpaceTryFunction: D,
|
|
126
|
+
SpaceAddConnector: h,
|
|
127
|
+
SpaceUpdateConnector: _,
|
|
128
|
+
SpaceRemoveConnector: g,
|
|
129
|
+
SpaceAddCredential: v,
|
|
130
|
+
SpaceUpdateCredential: b,
|
|
131
|
+
SpaceRemoveCredential: y,
|
|
132
|
+
SpaceAddVisitor: se,
|
|
133
|
+
SpaceRemoveVisitor: ce,
|
|
134
|
+
SpaceSetRuntimeVariable: R,
|
|
135
|
+
SpaceSetRuntimeSize: L,
|
|
136
|
+
SpaceStartRuntime: z,
|
|
137
|
+
SpaceStopRuntime: B,
|
|
138
|
+
SpaceRemoveRuntimeVariable: I,
|
|
139
|
+
SpaceRemoveRuntime: F,
|
|
140
|
+
SpacePublish: J,
|
|
141
|
+
SpaceFixIssues: K,
|
|
142
|
+
SpaceDeploy: G,
|
|
143
|
+
SpaceUpdateSettings: re,
|
|
144
|
+
StyleAddSelector: fe,
|
|
145
|
+
StyleUpdateSelector: he,
|
|
146
|
+
StyleRemoveSelector: pe,
|
|
147
|
+
StyleRemoveSelectors: me,
|
|
148
|
+
StyleAddSelectorVariable: ge,
|
|
149
|
+
StyleUpdateSelectorVariable: ve,
|
|
150
|
+
StyleRemoveSelectorVariable: _e,
|
|
151
|
+
StyleAddFont: le,
|
|
152
|
+
StyleUpdateFont: de,
|
|
153
|
+
StyleRemoveFont: ue,
|
|
154
|
+
StyleAddVariable: xe,
|
|
155
|
+
StyleUpdateVariable: Ce,
|
|
156
|
+
StyleRemoveVariable: Se,
|
|
157
|
+
StyleUpdate: ye,
|
|
158
|
+
StyleUpdateSettings: be
|
|
201
159
|
};
|
|
202
160
|
//#endregion
|
|
203
|
-
export {
|
|
161
|
+
export { we as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { PluginRaw, SchemaRaw,
|
|
1
|
+
import { PluginRaw, SchemaRaw, Style } from '../../../../types';
|
|
2
2
|
export type TInitQuery = {
|
|
3
3
|
Space?: {
|
|
4
4
|
definition: SchemaRaw['definition'];
|
|
5
5
|
plugins: PluginRaw[];
|
|
6
6
|
schema: SchemaRaw;
|
|
7
7
|
style: Style;
|
|
8
|
-
segments?: SegmentRaw[];
|
|
9
8
|
};
|
|
10
9
|
};
|
|
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
|
|
10
|
+
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 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 }\n attributes\n }\n pages\n components\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
11
|
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 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 }\n attributes\n }\n pages\n components\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 };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SpaceVersionContents } from '../../../../../types';
|
|
2
|
+
export type TSpaceVersionContentsQuery = {
|
|
3
|
+
SpaceVersionContents: SpaceVersionContents | null;
|
|
4
|
+
};
|
|
5
|
+
/** What one version of the space is made of: the draft a snapshot would freeze, or a snapshot (its latest by default). */
|
|
6
|
+
declare const SpaceVersionContentsQuery = "\n query SpaceVersionContentsQuery($environment: String!, $revision: Int) {\n SpaceVersionContents(environment: $environment, revision: $revision) {\n environment\n revision\n snapshot {\n description\n publishedAt\n }\n pages\n layouts\n components\n elements\n plugins {\n type\n source\n }\n actions\n connectors\n functions {\n tasks\n routes\n }\n runtime {\n source\n }\n }\n }\n";
|
|
7
|
+
export default SpaceVersionContentsQuery;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceVersionContentsQuery.ts
|
|
2
|
+
var e = "\n query SpaceVersionContentsQuery($environment: String!, $revision: Int) {\n SpaceVersionContents(environment: $environment, revision: $revision) {\n environment\n revision\n snapshot {\n description\n publishedAt\n }\n pages\n layouts\n components\n elements\n plugins {\n type\n source\n }\n actions\n connectors\n functions {\n tasks\n routes\n }\n runtime {\n source\n }\n }\n }\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { TInitQuery } from './InitQuery';
|
|
2
|
-
import { TSegmentQuery } from './Segment/SegmentQuery';
|
|
3
|
-
import { TSegmentsQuery } from './Segment/SegmentsQuery';
|
|
4
2
|
import { TSpaceActionEventsQuery } from './Space/SpaceActionEventsQuery';
|
|
5
3
|
import { TSpaceActionsQuery } from './Space/SpaceActionsQuery';
|
|
6
4
|
import { TSpaceActionTasksQuery } from './Space/SpaceActionTasksQuery';
|
|
@@ -16,6 +14,7 @@ import { TSpaceLatestRevisionQuery } from './Space/SpaceLatestRevisionQuery';
|
|
|
16
14
|
import { TSpaceQuotaQuery } from './Space/SpaceQuotaQuery';
|
|
17
15
|
import { TSpaceResourcesQuery } from './Space/SpaceResourcesQuery';
|
|
18
16
|
import { TSpaceRuntimeQuery } from './Space/SpaceRuntimeQuery';
|
|
17
|
+
import { TSpaceVersionContentsQuery } from './Space/SpaceVersionContentsQuery';
|
|
19
18
|
import { TSpaceVisitorsQuery } from './Space/SpaceVisitorsQuery';
|
|
20
19
|
export type { TQuotaPlane, TSpaceQuota } from './Space/SpaceQuotaQuery';
|
|
21
20
|
export type { TSpaceIssue, TSpaceIssues } from './Space/SpaceIssuesQuery';
|
|
@@ -36,10 +35,9 @@ export type BuilderQueriesMap = {
|
|
|
36
35
|
SpaceFunctions: TSpaceFunctionsQuery;
|
|
37
36
|
SpaceConnectors: TSpaceConnectorsQuery;
|
|
38
37
|
SpaceCredentials: TSpaceCredentialsQuery;
|
|
38
|
+
SpaceVersionContents: TSpaceVersionContentsQuery;
|
|
39
39
|
SpaceVisitors: TSpaceVisitorsQuery;
|
|
40
40
|
SpaceRuntime: TSpaceRuntimeQuery;
|
|
41
|
-
Segment: TSegmentQuery;
|
|
42
|
-
Segments: TSegmentsQuery;
|
|
43
41
|
};
|
|
44
42
|
declare const BuilderQueries: Record<keyof BuilderQueriesMap, string>;
|
|
45
43
|
export default BuilderQueries;
|
|
@@ -1,43 +1,41 @@
|
|
|
1
1
|
import e from "./InitQuery.mjs";
|
|
2
|
-
import t from "./
|
|
3
|
-
import n from "./
|
|
4
|
-
import r from "./Space/
|
|
5
|
-
import i from "./Space/
|
|
6
|
-
import a from "./Space/
|
|
7
|
-
import o from "./Space/
|
|
8
|
-
import s from "./Space/
|
|
9
|
-
import c from "./Space/
|
|
10
|
-
import l from "./Space/
|
|
11
|
-
import u from "./Space/
|
|
12
|
-
import d from "./Space/
|
|
13
|
-
import f from "./Space/
|
|
14
|
-
import p from "./Space/
|
|
15
|
-
import m from "./Space/
|
|
16
|
-
import h from "./Space/
|
|
17
|
-
import g from "./Space/
|
|
18
|
-
import _ from "./Space/
|
|
19
|
-
import v from "./Space/SpaceVisitorsQuery.mjs";
|
|
2
|
+
import t from "./Space/SpaceActionEventsQuery.mjs";
|
|
3
|
+
import n from "./Space/SpaceActionsQuery.mjs";
|
|
4
|
+
import r from "./Space/SpaceActionTasksQuery.mjs";
|
|
5
|
+
import i from "./Space/SpaceCdnsQuery.mjs";
|
|
6
|
+
import a from "./Space/SpaceChangesQuery.mjs";
|
|
7
|
+
import o from "./Space/SpaceCheckActionQuery.mjs";
|
|
8
|
+
import s from "./Space/SpaceConnectorsQuery.mjs";
|
|
9
|
+
import c from "./Space/SpaceCredentialsQuery.mjs";
|
|
10
|
+
import l from "./Space/SpaceDeploymentsQuery.mjs";
|
|
11
|
+
import u from "./Space/SpaceFunctionsQuery.mjs";
|
|
12
|
+
import d from "./Space/SpaceIssuesQuery.mjs";
|
|
13
|
+
import f from "./Space/SpaceLatestRevisionQuery.mjs";
|
|
14
|
+
import p from "./Space/SpaceQuotaQuery.mjs";
|
|
15
|
+
import m from "./Space/SpaceResourcesQuery.mjs";
|
|
16
|
+
import h from "./Space/SpaceRuntimeQuery.mjs";
|
|
17
|
+
import g from "./Space/SpaceVersionContentsQuery.mjs";
|
|
18
|
+
import _ from "./Space/SpaceVisitorsQuery.mjs";
|
|
20
19
|
//#region src/network/graphql/builder/Queries/index.ts
|
|
21
|
-
var
|
|
20
|
+
var v = {
|
|
22
21
|
Init: e,
|
|
23
|
-
SpaceLatestRevision:
|
|
24
|
-
SpaceQuota:
|
|
25
|
-
SpaceIssues:
|
|
26
|
-
SpaceChanges:
|
|
27
|
-
SpaceResources:
|
|
28
|
-
SpaceDeployments:
|
|
29
|
-
SpaceCdns:
|
|
30
|
-
SpaceActions:
|
|
31
|
-
SpaceActionEvents:
|
|
32
|
-
SpaceCheckAction:
|
|
33
|
-
SpaceActionTasks:
|
|
34
|
-
SpaceFunctions:
|
|
35
|
-
SpaceConnectors:
|
|
36
|
-
SpaceCredentials:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
Segments: n
|
|
22
|
+
SpaceLatestRevision: f,
|
|
23
|
+
SpaceQuota: p,
|
|
24
|
+
SpaceIssues: d,
|
|
25
|
+
SpaceChanges: a,
|
|
26
|
+
SpaceResources: m,
|
|
27
|
+
SpaceDeployments: l,
|
|
28
|
+
SpaceCdns: i,
|
|
29
|
+
SpaceActions: n,
|
|
30
|
+
SpaceActionEvents: t,
|
|
31
|
+
SpaceCheckAction: o,
|
|
32
|
+
SpaceActionTasks: r,
|
|
33
|
+
SpaceFunctions: u,
|
|
34
|
+
SpaceConnectors: s,
|
|
35
|
+
SpaceCredentials: c,
|
|
36
|
+
SpaceVersionContents: g,
|
|
37
|
+
SpaceVisitors: _,
|
|
38
|
+
SpaceRuntime: h
|
|
41
39
|
};
|
|
42
40
|
//#endregion
|
|
43
|
-
export {
|
|
41
|
+
export { v as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpaceEventName } from '../../../spaceEvents';
|
|
2
2
|
/**
|
|
3
|
-
* The single live channel of a space. Every edit — elements, pages, variables, styles
|
|
3
|
+
* The single live channel of a space. Every edit — elements, pages, variables, styles — arrives on this
|
|
4
4
|
* one subscription and is told apart by `event`, instead of one operation (and one Redis channel, and one websocket
|
|
5
5
|
* subscription) per kind of edit.
|
|
6
6
|
*
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { PluginRaw, SchemaRaw,
|
|
1
|
+
import { PluginRaw, SchemaRaw, Style } from '../../../../types';
|
|
2
2
|
export type TInitQuery = {
|
|
3
3
|
Space?: {
|
|
4
4
|
plugins: PluginRaw[];
|
|
5
5
|
schema: SchemaRaw;
|
|
6
6
|
style: Style;
|
|
7
|
-
segments?: SegmentRaw[];
|
|
8
7
|
/** What the server decided about this render. Server-side facts the space cannot author away. */
|
|
9
8
|
render?: {
|
|
10
9
|
overQuota: boolean;
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
12
|
};
|
|
14
|
-
declare const InitQuery = "\n query InitQuery($environment: String!, $revision: Int) {\n Space(environment: $environment, revision: $revision) {\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 type\n value\n subValues {\n when\n value\n }\n }\n }\n
|
|
13
|
+
declare const InitQuery = "\n query InitQuery($environment: String!, $revision: Int) {\n Space(environment: $environment, revision: $revision) {\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 }\n attributes\n }\n pages\n components\n pageFolders {\n id\n name\n slug\n parentId\n }\n variables {\n name\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 variables\n cache\n }\n # The schema fetch is the one moment a client-side render hears from the server at all, so the decision it\n # would have been handed in an SSR bootstrap travels here instead.\n render {\n overQuota\n }\n }\n }\n";
|
|
15
14
|
export default InitQuery;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//#region src/network/graphql/sdk/Queries/InitQuery.ts
|
|
2
|
-
var e = "\n query InitQuery($environment: String!, $revision: Int) {\n Space(environment: $environment, revision: $revision) {\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 type\n value\n subValues {\n when\n value\n }\n }\n }\n
|
|
2
|
+
var e = "\n query InitQuery($environment: String!, $revision: Int) {\n Space(environment: $environment, revision: $revision) {\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 }\n attributes\n }\n pages\n components\n pageFolders {\n id\n name\n slug\n parentId\n }\n variables {\n name\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 variables\n cache\n }\n # The schema fetch is the one moment a client-side render hears from the server at all, so the decision it\n # would have been handed in an SSR bootstrap travels here instead.\n render {\n overQuota\n }\n }\n }\n";
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as default };
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { TInitQuery } from './InitQuery';
|
|
2
|
-
import { TSegmentQuery } from './Segment/SegmentQuery';
|
|
3
|
-
import { TSegmentsQuery } from './Segment/SegmentsQuery';
|
|
4
2
|
export type SdkQueriesMap = {
|
|
5
3
|
Init: TInitQuery;
|
|
6
|
-
Segment: TSegmentQuery;
|
|
7
|
-
Segments: TSegmentsQuery;
|
|
8
4
|
};
|
|
9
5
|
declare const SdkQueries: Record<keyof SdkQueriesMap, string>;
|
|
10
6
|
export default SdkQueries;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import e from "./InitQuery.mjs";
|
|
2
|
-
import t from "./Segment/SegmentQuery.mjs";
|
|
3
|
-
import n from "./Segment/SegmentsQuery.mjs";
|
|
4
2
|
//#region src/network/graphql/sdk/Queries/index.ts
|
|
5
|
-
var
|
|
6
|
-
Init: e,
|
|
7
|
-
Segment: t,
|
|
8
|
-
Segments: n
|
|
9
|
-
};
|
|
3
|
+
var t = { Init: e };
|
|
10
4
|
//#endregion
|
|
11
|
-
export {
|
|
5
|
+
export { t as default };
|