@plitzi/sdk-shared 0.37.1 → 0.37.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1288 -0
- package/dist/actions/access.d.ts +12 -0
- package/dist/actions/access.mjs +13 -0
- package/dist/actions/cron.d.ts +21 -12
- package/dist/actions/cron.mjs +48 -17
- package/dist/actions/functions.d.ts +27 -0
- package/dist/actions/functions.mjs +18 -0
- package/dist/actions/index.d.ts +5 -1
- package/dist/actions/index.mjs +9 -7
- package/dist/actions/triggers.d.ts +4 -0
- package/dist/actions/triggers.mjs +4 -1
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.mjs +2 -1
- package/dist/auth/visitorRoles.d.ts +27 -0
- package/dist/auth/visitorRoles.mjs +48 -0
- package/dist/authoring/builder.mjs +1 -0
- package/dist/authoring/declare.d.ts +74 -0
- package/dist/authoring/declare.mjs +2 -2
- package/dist/authoring/index.mjs +5 -5
- package/dist/authoring/paramSpec.d.ts +1 -1
- package/dist/authoring/paramSpec.mjs +1 -0
- package/dist/authoring/spaceCallbacks.mjs +2 -2
- package/dist/dataSource/computed.d.ts +21 -0
- package/dist/dataSource/computed.mjs +45 -0
- package/dist/dataSource/getBindingsDetails.mjs +35 -33
- package/dist/dataSource/index.d.ts +1 -0
- package/dist/dataSource/index.mjs +7 -6
- package/dist/dataSource/utility/checkboxParams.d.ts +11 -0
- package/dist/dataSource/utility/checkboxParams.mjs +12 -0
- package/dist/dataSource/utility/not.mjs +4 -7
- package/dist/dataSource/utility/stringToArray.mjs +1 -1
- package/dist/dataSource/utility/truthiness.d.ts +1 -0
- package/dist/dataSource/utility/truthiness.mjs +8 -0
- package/dist/dataSource/utility/twigTemplate.d.ts +2 -1
- package/dist/dataSource/utility/twigTemplate.mjs +29 -17
- package/dist/devTools/utils/PlitziConsole.mjs +22 -22
- package/dist/helpers/cookies.d.ts +10 -0
- package/dist/helpers/cookies.mjs +19 -0
- package/dist/helpers/fetchManifest.d.ts +9 -0
- package/dist/helpers/fetchManifest.mjs +3 -6
- package/dist/helpers/formatDate.d.ts +5 -3
- package/dist/helpers/formatDate.mjs +34 -36
- package/dist/helpers/index.d.ts +2 -0
- package/dist/helpers/index.mjs +18 -13
- package/dist/helpers/isDate.d.ts +7 -0
- package/dist/helpers/isDate.mjs +15 -0
- package/dist/helpers/keys.d.ts +42 -0
- package/dist/helpers/keys.mjs +91 -0
- package/dist/helpers/twigWrapper/AST.d.ts +2 -2
- package/dist/helpers/twigWrapper/Evaluator/Evaluator.d.ts +12 -2
- package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +69 -31
- package/dist/helpers/twigWrapper/Evaluator/index.d.ts +1 -1
- package/dist/helpers/twigWrapper/Evaluator/index.mjs +2 -2
- package/dist/helpers/twigWrapper/Parser/ExpressionParser.d.ts +2 -2
- package/dist/helpers/twigWrapper/Parser/ExpressionParser.mjs +147 -34
- package/dist/helpers/twigWrapper/Parser/Parser.d.ts +2 -1
- package/dist/helpers/twigWrapper/Parser/Parser.mjs +21 -20
- package/dist/helpers/twigWrapper/filters/filters.mjs +134 -111
- package/dist/helpers/twigWrapper/index.d.ts +6 -2
- package/dist/helpers/twigWrapper/index.mjs +7 -4
- package/dist/helpers/twigWrapper/inspectTemplate.d.ts +23 -0
- package/dist/helpers/twigWrapper/inspectTemplate.mjs +110 -0
- package/dist/helpers/twigWrapper/processTwig/helpers.d.ts +7 -0
- package/dist/helpers/twigWrapper/processTwig/helpers.mjs +2 -1
- package/dist/helpers/twigWrapper/processTwig/index.d.ts +2 -1
- package/dist/helpers/twigWrapper/processTwig/index.mjs +3 -2
- package/dist/helpers/twigWrapper/processTwig/processTwig.d.ts +28 -0
- package/dist/helpers/twigWrapper/processTwig/processTwig.mjs +73 -16
- package/dist/helpers/twigWrapper/processTwig/resolveStepParam.d.ts +17 -0
- package/dist/helpers/twigWrapper/processTwig/resolveStepParam.mjs +14 -0
- package/dist/helpers/twigWrapper/templateRoots.d.ts +11 -0
- package/dist/helpers/twigWrapper/templateRoots.mjs +4 -4
- package/dist/helpers/twigWrapper/tokens/hasTemplateSyntax.d.ts +9 -0
- package/dist/helpers/twigWrapper/tokens/hasTemplateSyntax.mjs +4 -0
- package/dist/history/describe.d.ts +29 -0
- package/dist/history/describe.mjs +93 -0
- package/dist/history/diff.d.ts +33 -0
- package/dist/history/diff.mjs +73 -0
- package/dist/history/index.d.ts +3 -0
- package/dist/history/index.mjs +3 -0
- package/dist/history/types.d.ts +48 -0
- package/dist/history/types.mjs +0 -0
- package/dist/hooks/usePlitziServiceContext.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +77 -65
- package/dist/navigation/index.d.ts +1 -1
- package/dist/navigation/index.mjs +2 -2
- package/dist/navigation/routes.d.ts +11 -1
- package/dist/navigation/routes.mjs +35 -30
- package/dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.d.ts +14 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.mjs +16 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.mjs +2 -2
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.mjs +1 -0
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.d.ts +3 -0
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.mjs +9 -0
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.d.ts +11 -0
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.mjs +24 -0
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.mjs +15 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.mjs +9 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs +9 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.mjs +9 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.mjs +9 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.mjs +9 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.mjs +9 -0
- package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/index.d.ts +28 -0
- package/dist/network/graphql/builder/Mutations/index.mjs +108 -84
- package/dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.d.ts +23 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.mjs +49 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.d.ts +6 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.mjs +13 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.d.ts +17 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.mjs +22 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.d.ts +6 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.mjs +32 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.d.ts +6 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.mjs +16 -0
- package/dist/network/graphql/builder/Queries/index.d.ts +17 -3
- package/dist/network/graphql/builder/Queries/index.mjs +30 -22
- package/dist/network/graphql/sdk/Mutations/index.d.ts +1 -1
- package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +1 -1
- package/dist/network/graphql/sdk/Queries/InitQuery.mjs +2 -91
- package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.d.ts +1 -1
- package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs +2 -44
- package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.d.ts +1 -1
- package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs +2 -55
- package/dist/network/graphql/sdk/Queries/index.d.ts +1 -5
- package/dist/network/index.mjs +7 -7
- package/dist/network/spaceEvents.d.ts +33 -3
- package/dist/network/spaceEvents.mjs +102 -89
- package/dist/realtime/client.d.ts +46 -0
- package/dist/realtime/client.mjs +192 -0
- package/dist/realtime/index.d.ts +6 -0
- package/dist/realtime/index.mjs +4 -0
- package/dist/realtime/presence.d.ts +38 -0
- package/dist/realtime/presence.mjs +70 -0
- package/dist/realtime/topics.d.ts +36 -0
- package/dist/realtime/topics.mjs +25 -0
- package/dist/schema/serverElements.d.ts +5 -0
- package/dist/schema/serverElements.mjs +15 -14
- package/dist/server/actions/useRealtimeSync.d.ts +9 -0
- package/dist/server/actions/useRealtimeSync.mjs +7 -0
- package/dist/state/index.d.ts +1 -0
- package/dist/state/index.mjs +3 -2
- package/dist/state/paintedState.d.ts +52 -0
- package/dist/state/paintedState.mjs +37 -0
- package/dist/state/runtimeStatePersist.d.ts +24 -0
- package/dist/state/runtimeStatePersist.mjs +113 -10
- package/dist/store/index.d.ts +45 -45
- package/dist/store/renderSettings.d.ts +6 -3
- package/dist/store/tracing/index.d.ts +1 -0
- package/dist/store/tracing/tracingCollector.d.ts +17 -1
- package/dist/store/tracing/tracingCollector.mjs +5 -0
- package/dist/style/index.d.ts +1 -0
- package/dist/style/index.mjs +3 -2
- package/dist/style/runtimeStyle.d.ts +29 -0
- package/dist/style/runtimeStyle.mjs +7 -0
- package/dist/style/styleConstants.d.ts +3 -2
- package/dist/style/styleConstants.mjs +2 -0
- package/dist/style/styleStates.d.ts +14 -1
- package/dist/style/styleStates.mjs +10 -7
- package/dist/theme/ThemeProvider.d.ts +1 -1
- package/dist/theme/ThemeProvider.mjs +35 -29
- package/dist/theme/themeCookie.mjs +11 -15
- package/dist/types/ActionTypes.d.ts +193 -0
- package/dist/types/AuthTypes.d.ts +11 -1
- package/dist/types/CommonTypes.d.ts +6 -0
- package/dist/types/FunctionTypes.d.ts +52 -0
- package/dist/types/FunctionTypes.mjs +0 -0
- package/dist/types/PluginTypes.d.ts +0 -1
- package/dist/types/RealtimeTypes.d.ts +94 -0
- package/dist/types/RealtimeTypes.mjs +0 -0
- package/dist/types/SchemaTypes.d.ts +54 -0
- package/dist/types/SchemaTypes.mjs +8 -0
- package/dist/types/ServerTypes.d.ts +310 -15
- package/dist/types/SpaceTypes.d.ts +53 -0
- package/dist/types/StateTypes.d.ts +6 -0
- package/dist/types/StoreTypes.d.ts +12 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.mjs +3 -2
- package/package.json +190 -21
- package/vite.config.ts +0 -12
- package/dist/network/graphql/builder/Queries/PluginsQuery.d.ts +0 -9
- package/dist/network/graphql/builder/Queries/PluginsQuery.mjs +0 -54
|
@@ -16,6 +16,9 @@ import { TSpaceUpdateConnectorMutation } from './Space/connectors/SpaceUpdateCon
|
|
|
16
16
|
import { TSpaceAddPageFolderMutation } from './Space/folders/SpaceAddPageFolderMutation';
|
|
17
17
|
import { TSpaceRemovePageFolderMutation } from './Space/folders/SpaceRemovePageFolderMutation';
|
|
18
18
|
import { TSpaceUpdatePageFolderMutation } from './Space/folders/SpaceUpdatePageFolderMutation';
|
|
19
|
+
import { TSpaceRemoveFunctionsMutation } from './Space/functions/SpaceRemoveFunctionsMutation';
|
|
20
|
+
import { TSpaceSaveFunctionsMutation } from './Space/functions/SpaceSaveFunctionsMutation';
|
|
21
|
+
import { TSpaceTryFunctionMutation } from './Space/functions/SpaceTryFunctionMutation';
|
|
19
22
|
import { TSpaceAddPageMutation } from './Space/pages/SpaceAddPageMutation';
|
|
20
23
|
import { TSpaceHomePageMutation } from './Space/pages/SpaceHomePageMutation';
|
|
21
24
|
import { TSpaceRemovePageMutation } from './Space/pages/SpaceRemovePageMutation';
|
|
@@ -25,6 +28,7 @@ import { TSpaceMoveResourceMutation } from './Space/resources/SpaceMoveResourceM
|
|
|
25
28
|
import { TSpaceRemoveResourceMutation } from './Space/resources/SpaceRemoveResourceMutation';
|
|
26
29
|
import { TSpaceAddPluginMutation } from './Space/SpaceAddPluginMutation';
|
|
27
30
|
import { TSpaceDeployMutation } from './Space/SpaceDeployMutation';
|
|
31
|
+
import { TSpaceFixIssuesMutation } from './Space/SpaceFixIssuesMutation';
|
|
28
32
|
import { TSpacePublishMutation } from './Space/SpacePublishMutation';
|
|
29
33
|
import { TSpaceRenameElementMutation } from './Space/SpaceRenameElementMutation';
|
|
30
34
|
import { TSpaceUpdatePluginMutation } from './Space/SpaceUpdatePluginMutation';
|
|
@@ -63,13 +67,25 @@ export type BuilderMutationsMap = {
|
|
|
63
67
|
SpaceUpdateAction: TSpaceUpdateActionMutation;
|
|
64
68
|
SpaceRemoveAction: TSpaceRemoveActionMutation;
|
|
65
69
|
SpaceRunAction: TSpaceRunActionMutation;
|
|
70
|
+
SpaceSaveFunctions: TSpaceSaveFunctionsMutation;
|
|
71
|
+
SpaceRemoveFunctions: TSpaceRemoveFunctionsMutation;
|
|
72
|
+
SpaceTryFunction: TSpaceTryFunctionMutation;
|
|
66
73
|
SpaceAddConnector: TSpaceAddConnectorMutation;
|
|
67
74
|
SpaceUpdateConnector: TSpaceUpdateConnectorMutation;
|
|
68
75
|
SpaceRemoveConnector: TSpaceRemoveConnectorMutation;
|
|
69
76
|
SpaceAddCredential: unknown;
|
|
70
77
|
SpaceUpdateCredential: unknown;
|
|
71
78
|
SpaceRemoveCredential: unknown;
|
|
79
|
+
SpaceAddVisitor: unknown;
|
|
80
|
+
SpaceRemoveVisitor: unknown;
|
|
81
|
+
SpaceSetRuntimeVariable: string[];
|
|
82
|
+
SpaceSetRuntimeSize: boolean;
|
|
83
|
+
SpaceStartRuntime: boolean;
|
|
84
|
+
SpaceStopRuntime: boolean;
|
|
85
|
+
SpaceRemoveRuntimeVariable: string[];
|
|
86
|
+
SpaceRemoveRuntime: boolean;
|
|
72
87
|
SpacePublish: TSpacePublishMutation;
|
|
88
|
+
SpaceFixIssues: TSpaceFixIssuesMutation;
|
|
73
89
|
SpaceDeploy: TSpaceDeployMutation;
|
|
74
90
|
SpaceUpdateSettings: unknown;
|
|
75
91
|
StyleAddSelector: unknown;
|
|
@@ -148,13 +164,25 @@ declare const BuilderMutations: {
|
|
|
148
164
|
SpaceUpdateAction: import('graphql').DocumentNode;
|
|
149
165
|
SpaceRemoveAction: import('graphql').DocumentNode;
|
|
150
166
|
SpaceRunAction: import('graphql').DocumentNode;
|
|
167
|
+
SpaceSaveFunctions: import('graphql').DocumentNode;
|
|
168
|
+
SpaceRemoveFunctions: import('graphql').DocumentNode;
|
|
169
|
+
SpaceTryFunction: import('graphql').DocumentNode;
|
|
151
170
|
SpaceAddConnector: import('graphql').DocumentNode;
|
|
152
171
|
SpaceUpdateConnector: import('graphql').DocumentNode;
|
|
153
172
|
SpaceRemoveConnector: import('graphql').DocumentNode;
|
|
154
173
|
SpaceAddCredential: import('graphql').DocumentNode;
|
|
155
174
|
SpaceUpdateCredential: import('graphql').DocumentNode;
|
|
156
175
|
SpaceRemoveCredential: import('graphql').DocumentNode;
|
|
176
|
+
SpaceAddVisitor: import('graphql').DocumentNode;
|
|
177
|
+
SpaceRemoveVisitor: import('graphql').DocumentNode;
|
|
178
|
+
SpaceSetRuntimeVariable: import('graphql').DocumentNode;
|
|
179
|
+
SpaceSetRuntimeSize: import('graphql').DocumentNode;
|
|
180
|
+
SpaceStartRuntime: import('graphql').DocumentNode;
|
|
181
|
+
SpaceStopRuntime: import('graphql').DocumentNode;
|
|
182
|
+
SpaceRemoveRuntimeVariable: import('graphql').DocumentNode;
|
|
183
|
+
SpaceRemoveRuntime: import('graphql').DocumentNode;
|
|
157
184
|
SpacePublish: import('graphql').DocumentNode;
|
|
185
|
+
SpaceFixIssues: import('graphql').DocumentNode;
|
|
158
186
|
SpaceDeploy: import('graphql').DocumentNode;
|
|
159
187
|
SpaceUpdateSettings: import('graphql').DocumentNode;
|
|
160
188
|
StyleAddSelector: import('graphql').DocumentNode;
|
|
@@ -40,75 +40,87 @@ import R from "./Space/credentials/SpaceUpdateCredentialMutation.mjs";
|
|
|
40
40
|
import z from "./Space/folders/SpaceAddPageFolderMutation.mjs";
|
|
41
41
|
import B from "./Space/folders/SpaceRemovePageFolderMutation.mjs";
|
|
42
42
|
import V from "./Space/folders/SpaceUpdatePageFolderMutation.mjs";
|
|
43
|
-
import H from "./Space/
|
|
44
|
-
import U from "./Space/
|
|
45
|
-
import W from "./Space/
|
|
46
|
-
import G from "./Space/pages/
|
|
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 "./Space/
|
|
68
|
-
import pe from "./Space/
|
|
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 "./Style/
|
|
82
|
-
import De from "./Style/
|
|
83
|
-
import Oe from "./Style/
|
|
43
|
+
import H from "./Space/functions/SpaceRemoveFunctionsMutation.mjs";
|
|
44
|
+
import U from "./Space/functions/SpaceSaveFunctionsMutation.mjs";
|
|
45
|
+
import W from "./Space/functions/SpaceTryFunctionMutation.mjs";
|
|
46
|
+
import G from "./Space/pages/SpaceAddPageMutation.mjs";
|
|
47
|
+
import K from "./Space/pages/SpaceHomePageMutation.mjs";
|
|
48
|
+
import q from "./Space/pages/SpaceRemovePageMutation.mjs";
|
|
49
|
+
import J from "./Space/pages/SpaceUpdatePageMutation.mjs";
|
|
50
|
+
import Y from "./Space/resources/SpaceAddResourceMutation.mjs";
|
|
51
|
+
import X from "./Space/resources/SpaceMoveResourceMutation.mjs";
|
|
52
|
+
import Z from "./Space/resources/SpaceRemoveResourceMutation.mjs";
|
|
53
|
+
import Q from "./Space/runtime/SpaceRemoveRuntimeMutation.mjs";
|
|
54
|
+
import $ from "./Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs";
|
|
55
|
+
import ee from "./Space/runtime/SpaceSetRuntimeSizeMutation.mjs";
|
|
56
|
+
import te from "./Space/runtime/SpaceSetRuntimeVariableMutation.mjs";
|
|
57
|
+
import ne from "./Space/runtime/SpaceStartRuntimeMutation.mjs";
|
|
58
|
+
import re from "./Space/runtime/SpaceStopRuntimeMutation.mjs";
|
|
59
|
+
import ie from "./Space/SpaceAddElementMutation.mjs";
|
|
60
|
+
import ae from "./Space/SpaceAddPluginMutation.mjs";
|
|
61
|
+
import oe from "./Space/SpaceAddTemplateMutation.mjs";
|
|
62
|
+
import se from "./Space/SpaceCloneElementMutation.mjs";
|
|
63
|
+
import ce from "./Space/SpaceDeployMutation.mjs";
|
|
64
|
+
import le from "./Space/SpaceFixIssuesMutation.mjs";
|
|
65
|
+
import ue from "./Space/SpaceMoveElementMutation.mjs";
|
|
66
|
+
import de from "./Space/SpacePublishMutation.mjs";
|
|
67
|
+
import fe from "./Space/SpaceRemoveElementMutation.mjs";
|
|
68
|
+
import pe from "./Space/SpaceRemovePluginMutation.mjs";
|
|
69
|
+
import me from "./Space/SpaceRenameElementMutation.mjs";
|
|
70
|
+
import he from "./Space/SpaceUpdateElementMutation.mjs";
|
|
71
|
+
import ge from "./Space/SpaceUpdateElementsMutation.mjs";
|
|
72
|
+
import _e from "./Space/SpaceUpdateMutation.mjs";
|
|
73
|
+
import ve from "./Space/SpaceUpdatePluginMutation.mjs";
|
|
74
|
+
import ye from "./Space/SpaceUpdateSchemaMutation.mjs";
|
|
75
|
+
import be from "./Space/SpaceUpdateSettingsMutation.mjs";
|
|
76
|
+
import xe from "./Space/variables/SpaceAddVariableMutation.mjs";
|
|
77
|
+
import Se from "./Space/variables/SpaceRemoveVariableMutation.mjs";
|
|
78
|
+
import Ce from "./Space/variables/SpaceUpdateVariableMutation.mjs";
|
|
79
|
+
import we from "./Space/visitors/SpaceAddVisitorMutation.mjs";
|
|
80
|
+
import Te from "./Space/visitors/SpaceRemoveVisitorMutation.mjs";
|
|
81
|
+
import Ee from "./Style/fonts/StyleAddFontMutation.mjs";
|
|
82
|
+
import De from "./Style/fonts/StyleRemoveFontMutation.mjs";
|
|
83
|
+
import Oe from "./Style/fonts/StyleUpdateFontMutation.mjs";
|
|
84
|
+
import ke from "./Style/selectors/StyleAddSelectorMutation.mjs";
|
|
85
|
+
import Ae from "./Style/selectors/StyleRemoveSelectorMutation.mjs";
|
|
86
|
+
import je from "./Style/selectors/StyleRemoveSelectorsMutation.mjs";
|
|
87
|
+
import Me from "./Style/selectors/StyleUpdateSelectorMutation.mjs";
|
|
88
|
+
import Ne from "./Style/selectorVariables/StyleAddSelectorVariableMutation.mjs";
|
|
89
|
+
import Pe from "./Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs";
|
|
90
|
+
import Fe from "./Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs";
|
|
91
|
+
import Ie from "./Style/StyleUpdateMutation.mjs";
|
|
92
|
+
import Le from "./Style/StyleUpdateSettingsMutation.mjs";
|
|
93
|
+
import Re from "./Style/variables/StyleAddVariableMutation.mjs";
|
|
94
|
+
import ze from "./Style/variables/StyleRemoveVariableMutation.mjs";
|
|
95
|
+
import Be from "./Style/variables/StyleUpdateVariableMutation.mjs";
|
|
84
96
|
//#region src/network/graphql/builder/Mutations/index.ts
|
|
85
|
-
var
|
|
86
|
-
SpaceUpdate:
|
|
87
|
-
SpaceUpdateSchema:
|
|
88
|
-
SpaceAddPage:
|
|
89
|
-
SpaceHomePage:
|
|
90
|
-
SpaceUpdatePage:
|
|
91
|
-
SpaceRemovePage:
|
|
97
|
+
var Ve = {
|
|
98
|
+
SpaceUpdate: _e,
|
|
99
|
+
SpaceUpdateSchema: ye,
|
|
100
|
+
SpaceAddPage: G,
|
|
101
|
+
SpaceHomePage: K,
|
|
102
|
+
SpaceUpdatePage: J,
|
|
103
|
+
SpaceRemovePage: q,
|
|
92
104
|
SpaceAddPageFolder: z,
|
|
93
105
|
SpaceUpdatePageFolder: V,
|
|
94
106
|
SpaceRemovePageFolder: B,
|
|
95
|
-
SpaceAddVariable:
|
|
96
|
-
SpaceUpdateVariable:
|
|
97
|
-
SpaceRemoveVariable:
|
|
98
|
-
SpaceAddElement:
|
|
99
|
-
SpaceUpdateElement:
|
|
100
|
-
SpaceRenameElement:
|
|
101
|
-
SpaceUpdateElements:
|
|
102
|
-
SpaceRemoveElement:
|
|
103
|
-
SpaceMoveElement:
|
|
104
|
-
SpaceCloneElement:
|
|
105
|
-
SpaceAddTemplate:
|
|
106
|
-
SpaceAddPlugin:
|
|
107
|
-
SpaceUpdatePlugin:
|
|
108
|
-
SpaceRemovePlugin:
|
|
109
|
-
SpaceAddResource:
|
|
110
|
-
SpaceMoveResource:
|
|
111
|
-
SpaceRemoveResource:
|
|
107
|
+
SpaceAddVariable: xe,
|
|
108
|
+
SpaceUpdateVariable: Ce,
|
|
109
|
+
SpaceRemoveVariable: Se,
|
|
110
|
+
SpaceAddElement: ie,
|
|
111
|
+
SpaceUpdateElement: he,
|
|
112
|
+
SpaceRenameElement: me,
|
|
113
|
+
SpaceUpdateElements: ge,
|
|
114
|
+
SpaceRemoveElement: fe,
|
|
115
|
+
SpaceMoveElement: ue,
|
|
116
|
+
SpaceCloneElement: se,
|
|
117
|
+
SpaceAddTemplate: oe,
|
|
118
|
+
SpaceAddPlugin: ae,
|
|
119
|
+
SpaceUpdatePlugin: ve,
|
|
120
|
+
SpaceRemovePlugin: pe,
|
|
121
|
+
SpaceAddResource: Y,
|
|
122
|
+
SpaceMoveResource: X,
|
|
123
|
+
SpaceRemoveResource: Z,
|
|
112
124
|
SpaceAddCdn: k,
|
|
113
125
|
SpaceUpdateCdn: M,
|
|
114
126
|
SpaceSetCdnCredential: j,
|
|
@@ -117,30 +129,42 @@ var ke = {
|
|
|
117
129
|
SpaceUpdateAction: O,
|
|
118
130
|
SpaceRemoveAction: E,
|
|
119
131
|
SpaceRunAction: D,
|
|
132
|
+
SpaceSaveFunctions: U,
|
|
133
|
+
SpaceRemoveFunctions: H,
|
|
134
|
+
SpaceTryFunction: W,
|
|
120
135
|
SpaceAddConnector: N,
|
|
121
136
|
SpaceUpdateConnector: F,
|
|
122
137
|
SpaceRemoveConnector: P,
|
|
123
138
|
SpaceAddCredential: I,
|
|
124
139
|
SpaceUpdateCredential: R,
|
|
125
140
|
SpaceRemoveCredential: L,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
SpaceAddVisitor: we,
|
|
142
|
+
SpaceRemoveVisitor: Te,
|
|
143
|
+
SpaceSetRuntimeVariable: te,
|
|
144
|
+
SpaceSetRuntimeSize: ee,
|
|
145
|
+
SpaceStartRuntime: ne,
|
|
146
|
+
SpaceStopRuntime: re,
|
|
147
|
+
SpaceRemoveRuntimeVariable: $,
|
|
148
|
+
SpaceRemoveRuntime: Q,
|
|
149
|
+
SpacePublish: de,
|
|
150
|
+
SpaceFixIssues: le,
|
|
151
|
+
SpaceDeploy: ce,
|
|
152
|
+
SpaceUpdateSettings: be,
|
|
153
|
+
StyleAddSelector: ke,
|
|
154
|
+
StyleUpdateSelector: Me,
|
|
155
|
+
StyleRemoveSelector: Ae,
|
|
156
|
+
StyleRemoveSelectors: je,
|
|
157
|
+
StyleAddSelectorVariable: Ne,
|
|
158
|
+
StyleUpdateSelectorVariable: Fe,
|
|
159
|
+
StyleRemoveSelectorVariable: Pe,
|
|
160
|
+
StyleAddFont: Ee,
|
|
161
|
+
StyleUpdateFont: Oe,
|
|
162
|
+
StyleRemoveFont: De,
|
|
163
|
+
StyleAddVariable: Re,
|
|
164
|
+
StyleUpdateVariable: Be,
|
|
165
|
+
StyleRemoveVariable: ze,
|
|
166
|
+
StyleUpdate: Ie,
|
|
167
|
+
StyleUpdateSettings: Le,
|
|
144
168
|
SegmentAdd: e,
|
|
145
169
|
SegmentUpdate: i,
|
|
146
170
|
SegmentRemove: r,
|
|
@@ -168,4 +192,4 @@ var ke = {
|
|
|
168
192
|
SegmentPublish: n
|
|
169
193
|
};
|
|
170
194
|
//#endregion
|
|
171
|
-
export {
|
|
195
|
+
export { Ve as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SpaceChange } from '../../../../../history';
|
|
2
|
+
/**
|
|
3
|
+
* A published revision on the timeline. `upToSeq` is the last change recorded before it was published — what it
|
|
4
|
+
* includes — or null when none is recorded. Indicative: derived from the dates.
|
|
5
|
+
*/
|
|
6
|
+
export type TSnapshotMarker = {
|
|
7
|
+
revision: number;
|
|
8
|
+
environment: string;
|
|
9
|
+
description: string;
|
|
10
|
+
publishedAt: number;
|
|
11
|
+
upToSeq: number | null;
|
|
12
|
+
};
|
|
13
|
+
/** A page of the space's change history, newest first. `nextBefore` pages further back; null at the end. */
|
|
14
|
+
export type TSpaceChanges = {
|
|
15
|
+
changes: Omit<SpaceChange, 'spaceId' | 'environment'>[];
|
|
16
|
+
snapshots: TSnapshotMarker[];
|
|
17
|
+
nextBefore: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type TSpaceChangesQuery = {
|
|
20
|
+
SpaceChanges: TSpaceChanges;
|
|
21
|
+
};
|
|
22
|
+
declare const SpaceChangesQuery: import('graphql').DocumentNode;
|
|
23
|
+
export default SpaceChangesQuery;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceChangesQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceChangesQuery(
|
|
5
|
+
$environment: String!
|
|
6
|
+
$before: Int
|
|
7
|
+
$entityId: String
|
|
8
|
+
$origin: String
|
|
9
|
+
$userId: Int
|
|
10
|
+
$since: Float
|
|
11
|
+
$limit: Int
|
|
12
|
+
) {
|
|
13
|
+
SpaceChanges(
|
|
14
|
+
environment: $environment
|
|
15
|
+
before: $before
|
|
16
|
+
entityId: $entityId
|
|
17
|
+
origin: $origin
|
|
18
|
+
userId: $userId
|
|
19
|
+
since: $since
|
|
20
|
+
limit: $limit
|
|
21
|
+
) {
|
|
22
|
+
changes {
|
|
23
|
+
seq
|
|
24
|
+
at
|
|
25
|
+
document
|
|
26
|
+
author {
|
|
27
|
+
userId
|
|
28
|
+
name
|
|
29
|
+
}
|
|
30
|
+
origin
|
|
31
|
+
client
|
|
32
|
+
batch
|
|
33
|
+
summary
|
|
34
|
+
entries
|
|
35
|
+
truncated
|
|
36
|
+
}
|
|
37
|
+
snapshots {
|
|
38
|
+
revision
|
|
39
|
+
environment
|
|
40
|
+
description
|
|
41
|
+
publishedAt
|
|
42
|
+
upToSeq
|
|
43
|
+
}
|
|
44
|
+
nextBefore
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
`;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { t as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceFunctionsQuery {
|
|
5
|
+
SpaceFunctions {
|
|
6
|
+
files
|
|
7
|
+
version
|
|
8
|
+
manifest
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
`;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { t as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** One thing the saved space would render wrong; `elementId` is the element to take someone to, when it has one. */
|
|
2
|
+
export type TSpaceIssue = {
|
|
3
|
+
code: string;
|
|
4
|
+
message: string;
|
|
5
|
+
elementId: string | null;
|
|
6
|
+
fixable: boolean;
|
|
7
|
+
};
|
|
8
|
+
/** `errors` block publishing; `warnings` render, but most likely not as meant. */
|
|
9
|
+
export type TSpaceIssues = {
|
|
10
|
+
errors: TSpaceIssue[];
|
|
11
|
+
warnings: TSpaceIssue[];
|
|
12
|
+
};
|
|
13
|
+
export type TSpaceIssuesQuery = {
|
|
14
|
+
SpaceIssues: TSpaceIssues | null;
|
|
15
|
+
};
|
|
16
|
+
declare const SpaceIssuesQuery: import('graphql').DocumentNode;
|
|
17
|
+
export default SpaceIssuesQuery;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceIssuesQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceIssuesQuery($environment: String!) {
|
|
5
|
+
SpaceIssues(environment: $environment) {
|
|
6
|
+
errors {
|
|
7
|
+
code
|
|
8
|
+
message
|
|
9
|
+
elementId
|
|
10
|
+
fixable
|
|
11
|
+
}
|
|
12
|
+
warnings {
|
|
13
|
+
code
|
|
14
|
+
message
|
|
15
|
+
elementId
|
|
16
|
+
fixable
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
`;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { t as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceRuntimeQuery {
|
|
5
|
+
SpaceRuntime {
|
|
6
|
+
environments {
|
|
7
|
+
environment
|
|
8
|
+
revision
|
|
9
|
+
digest
|
|
10
|
+
status
|
|
11
|
+
error
|
|
12
|
+
stoppedReason
|
|
13
|
+
idleStopsAt
|
|
14
|
+
endpoints
|
|
15
|
+
tasks
|
|
16
|
+
startedAt
|
|
17
|
+
size
|
|
18
|
+
}
|
|
19
|
+
variables
|
|
20
|
+
idleMinutes
|
|
21
|
+
sizes {
|
|
22
|
+
name
|
|
23
|
+
label
|
|
24
|
+
cpu
|
|
25
|
+
memory
|
|
26
|
+
included
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { t as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceVisitorsQuery {
|
|
5
|
+
SpaceVisitors {
|
|
6
|
+
id
|
|
7
|
+
email
|
|
8
|
+
role
|
|
9
|
+
claimed
|
|
10
|
+
createdAt
|
|
11
|
+
updatedAt
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
`;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { t as default };
|
|
@@ -1,23 +1,31 @@
|
|
|
1
1
|
import { TInitQuery } from './InitQuery';
|
|
2
|
-
import { TPluginsQuery } from './PluginsQuery';
|
|
3
2
|
import { TSegmentQuery } from './Segment/SegmentQuery';
|
|
4
3
|
import { TSegmentsQuery } from './Segment/SegmentsQuery';
|
|
5
4
|
import { TSpaceActionEventsQuery } from './Space/SpaceActionEventsQuery';
|
|
6
5
|
import { TSpaceActionsQuery } from './Space/SpaceActionsQuery';
|
|
7
6
|
import { TSpaceActionTasksQuery } from './Space/SpaceActionTasksQuery';
|
|
8
7
|
import { TSpaceCdnsQuery } from './Space/SpaceCdnsQuery';
|
|
8
|
+
import { TSpaceChangesQuery } from './Space/SpaceChangesQuery';
|
|
9
9
|
import { TSpaceCheckActionQuery } from './Space/SpaceCheckActionQuery';
|
|
10
10
|
import { TSpaceConnectorsQuery } from './Space/SpaceConnectorsQuery';
|
|
11
11
|
import { TSpaceCredentialsQuery } from './Space/SpaceCredentialsQuery';
|
|
12
12
|
import { TSpaceDeploymentsQuery } from './Space/SpaceDeploymentsQuery';
|
|
13
|
+
import { TSpaceFunctionsQuery } from './Space/SpaceFunctionsQuery';
|
|
14
|
+
import { TSpaceIssuesQuery } from './Space/SpaceIssuesQuery';
|
|
13
15
|
import { TSpaceLatestRevisionQuery } from './Space/SpaceLatestRevisionQuery';
|
|
14
16
|
import { TSpaceQuotaQuery } from './Space/SpaceQuotaQuery';
|
|
15
17
|
import { TSpaceResourcesQuery } from './Space/SpaceResourcesQuery';
|
|
18
|
+
import { TSpaceRuntimeQuery } from './Space/SpaceRuntimeQuery';
|
|
19
|
+
import { TSpaceVisitorsQuery } from './Space/SpaceVisitorsQuery';
|
|
16
20
|
export type { TQuotaPlane, TSpaceQuota } from './Space/SpaceQuotaQuery';
|
|
21
|
+
export type { TSpaceIssue, TSpaceIssues } from './Space/SpaceIssuesQuery';
|
|
22
|
+
export type { TSnapshotMarker, TSpaceChanges } from './Space/SpaceChangesQuery';
|
|
17
23
|
export type BuilderQueriesMap = {
|
|
18
24
|
Init: TInitQuery;
|
|
19
25
|
SpaceLatestRevision: TSpaceLatestRevisionQuery;
|
|
20
26
|
SpaceQuota: TSpaceQuotaQuery;
|
|
27
|
+
SpaceIssues: TSpaceIssuesQuery;
|
|
28
|
+
SpaceChanges: TSpaceChangesQuery;
|
|
21
29
|
SpaceResources: TSpaceResourcesQuery;
|
|
22
30
|
SpaceDeployments: TSpaceDeploymentsQuery;
|
|
23
31
|
SpaceCdns: TSpaceCdnsQuery;
|
|
@@ -25,9 +33,11 @@ export type BuilderQueriesMap = {
|
|
|
25
33
|
SpaceActionEvents: TSpaceActionEventsQuery;
|
|
26
34
|
SpaceCheckAction: TSpaceCheckActionQuery;
|
|
27
35
|
SpaceActionTasks: TSpaceActionTasksQuery;
|
|
36
|
+
SpaceFunctions: TSpaceFunctionsQuery;
|
|
28
37
|
SpaceConnectors: TSpaceConnectorsQuery;
|
|
29
38
|
SpaceCredentials: TSpaceCredentialsQuery;
|
|
30
|
-
|
|
39
|
+
SpaceVisitors: TSpaceVisitorsQuery;
|
|
40
|
+
SpaceRuntime: TSpaceRuntimeQuery;
|
|
31
41
|
Segment: TSegmentQuery;
|
|
32
42
|
Segments: TSegmentsQuery;
|
|
33
43
|
};
|
|
@@ -35,6 +45,8 @@ declare const BuilderQueries: {
|
|
|
35
45
|
Init: import('graphql').DocumentNode;
|
|
36
46
|
SpaceLatestRevision: import('graphql').DocumentNode;
|
|
37
47
|
SpaceQuota: import('graphql').DocumentNode;
|
|
48
|
+
SpaceIssues: import('graphql').DocumentNode;
|
|
49
|
+
SpaceChanges: import('graphql').DocumentNode;
|
|
38
50
|
SpaceResources: import('graphql').DocumentNode;
|
|
39
51
|
SpaceDeployments: import('graphql').DocumentNode;
|
|
40
52
|
SpaceCdns: import('graphql').DocumentNode;
|
|
@@ -42,9 +54,11 @@ declare const BuilderQueries: {
|
|
|
42
54
|
SpaceActionEvents: import('graphql').DocumentNode;
|
|
43
55
|
SpaceCheckAction: import('graphql').DocumentNode;
|
|
44
56
|
SpaceActionTasks: import('graphql').DocumentNode;
|
|
57
|
+
SpaceFunctions: import('graphql').DocumentNode;
|
|
45
58
|
SpaceConnectors: import('graphql').DocumentNode;
|
|
46
59
|
SpaceCredentials: import('graphql').DocumentNode;
|
|
47
|
-
|
|
60
|
+
SpaceVisitors: import('graphql').DocumentNode;
|
|
61
|
+
SpaceRuntime: import('graphql').DocumentNode;
|
|
48
62
|
Segment: import('graphql').DocumentNode;
|
|
49
63
|
Segments: import('graphql').DocumentNode;
|
|
50
64
|
};
|
|
@@ -1,35 +1,43 @@
|
|
|
1
1
|
import e from "./InitQuery.mjs";
|
|
2
|
-
import t from "./
|
|
3
|
-
import n from "./Segment/
|
|
4
|
-
import r from "./
|
|
5
|
-
import i from "./Space/
|
|
6
|
-
import a from "./Space/
|
|
7
|
-
import o from "./Space/
|
|
8
|
-
import s from "./Space/
|
|
2
|
+
import t from "./Segment/SegmentQuery.mjs";
|
|
3
|
+
import n from "./Segment/SegmentsQuery.mjs";
|
|
4
|
+
import r from "./Space/SpaceActionEventsQuery.mjs";
|
|
5
|
+
import i from "./Space/SpaceActionsQuery.mjs";
|
|
6
|
+
import a from "./Space/SpaceActionTasksQuery.mjs";
|
|
7
|
+
import o from "./Space/SpaceCdnsQuery.mjs";
|
|
8
|
+
import s from "./Space/SpaceChangesQuery.mjs";
|
|
9
9
|
import c from "./Space/SpaceCheckActionQuery.mjs";
|
|
10
10
|
import l from "./Space/SpaceConnectorsQuery.mjs";
|
|
11
11
|
import u from "./Space/SpaceCredentialsQuery.mjs";
|
|
12
12
|
import d from "./Space/SpaceDeploymentsQuery.mjs";
|
|
13
|
-
import f from "./Space/
|
|
14
|
-
import p from "./Space/
|
|
15
|
-
import m from "./Space/
|
|
13
|
+
import f from "./Space/SpaceFunctionsQuery.mjs";
|
|
14
|
+
import p from "./Space/SpaceIssuesQuery.mjs";
|
|
15
|
+
import m from "./Space/SpaceLatestRevisionQuery.mjs";
|
|
16
|
+
import h from "./Space/SpaceQuotaQuery.mjs";
|
|
17
|
+
import g from "./Space/SpaceResourcesQuery.mjs";
|
|
18
|
+
import _ from "./Space/SpaceRuntimeQuery.mjs";
|
|
19
|
+
import v from "./Space/SpaceVisitorsQuery.mjs";
|
|
16
20
|
//#region src/network/graphql/builder/Queries/index.ts
|
|
17
|
-
var
|
|
21
|
+
var y = {
|
|
18
22
|
Init: e,
|
|
19
|
-
SpaceLatestRevision:
|
|
20
|
-
SpaceQuota:
|
|
21
|
-
|
|
23
|
+
SpaceLatestRevision: m,
|
|
24
|
+
SpaceQuota: h,
|
|
25
|
+
SpaceIssues: p,
|
|
26
|
+
SpaceChanges: s,
|
|
27
|
+
SpaceResources: g,
|
|
22
28
|
SpaceDeployments: d,
|
|
23
|
-
SpaceCdns:
|
|
24
|
-
SpaceActions:
|
|
25
|
-
SpaceActionEvents:
|
|
29
|
+
SpaceCdns: o,
|
|
30
|
+
SpaceActions: i,
|
|
31
|
+
SpaceActionEvents: r,
|
|
26
32
|
SpaceCheckAction: c,
|
|
27
|
-
SpaceActionTasks:
|
|
33
|
+
SpaceActionTasks: a,
|
|
34
|
+
SpaceFunctions: f,
|
|
28
35
|
SpaceConnectors: l,
|
|
29
36
|
SpaceCredentials: u,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
37
|
+
SpaceVisitors: v,
|
|
38
|
+
SpaceRuntime: _,
|
|
39
|
+
Segment: t,
|
|
40
|
+
Segments: n
|
|
33
41
|
};
|
|
34
42
|
//#endregion
|
|
35
|
-
export {
|
|
43
|
+
export { y as default };
|
|
@@ -11,5 +11,5 @@ export type TInitQuery = {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
declare const InitQuery:
|
|
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 segments {\n id\n identifier\n definition\n schema {\n variables {\n name\n category\n type\n value\n subValues {\n value\n when\n }\n }\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 }\n style {\n cache\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
15
|
export default InitQuery;
|