@plitzi/sdk-shared 0.37.2 → 0.37.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1162 -0
- package/dist/actions/access.d.ts +12 -0
- package/dist/actions/access.mjs +13 -0
- package/dist/actions/functions.d.ts +27 -0
- package/dist/actions/functions.mjs +18 -0
- package/dist/actions/index.d.ts +4 -0
- package/dist/actions/index.mjs +9 -7
- package/dist/auth/index.d.ts +2 -1
- package/dist/auth/index.mjs +2 -2
- 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 +53 -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 -34
- package/dist/dataSource/index.d.ts +1 -0
- package/dist/dataSource/index.mjs +7 -6
- 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 -1
- package/dist/helpers/index.mjs +17 -14
- 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 +57 -34
- 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 +130 -112
- package/dist/helpers/twigWrapper/index.d.ts +5 -2
- package/dist/helpers/twigWrapper/index.mjs +7 -5
- 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 +1 -1
- 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/index.d.ts +1 -0
- package/dist/index.mjs +76 -67
- 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 +15 -10
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRenameElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementsMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorsMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddPluginMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceDeployMutation.mjs +1 -1
- 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/SpaceMoveElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpacePublishMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemoveElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemovePluginMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.mjs +3 -3
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSchemaMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSettingsMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.mjs +2 -1
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceAddCdnMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceRemoveCdnMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceSetCdnCredentialMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceUpdateCdnMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceAddConnectorMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceRemoveConnectorMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceUpdateConnectorMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceAddCredentialMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceRemoveCredentialMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceUpdateCredentialMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceAddPageFolderMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceRemovePageFolderMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.mjs +1 -1
- 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/pages/SpaceAddPageMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceHomePageMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceRemovePageMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceUpdatePageMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceAddResourceMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceMoveResourceMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.mjs +1 -1
- 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/variables/SpaceAddVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceRemoveVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.mjs +1 -1
- 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/Style/StyleUpdateMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/StyleUpdateSettingsMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleAddSelectorVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleAddSelectorMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorsMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleUpdateSelectorMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleAddVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleRemoveVariableMutation.mjs +1 -1
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleUpdateVariableMutation.mjs +1 -1
- 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/InitQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceActionsQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.mjs +1 -1
- 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/SpaceCheckActionQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceConnectorsQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceCredentialsQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.mjs +1 -1
- 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/SpaceLatestRevisionQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceQuotaQuery.mjs +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.mjs +1 -1
- 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/builder/Subscriptions/SpaceEventSubscription.mjs +1 -1
- 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/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 +8 -1
- package/dist/state/runtimeStatePersist.mjs +79 -29
- 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.mjs +35 -29
- package/dist/theme/themeCookie.mjs +11 -15
- package/dist/types/ActionTypes.d.ts +4 -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 +259 -15
- package/dist/types/SpaceTypes.d.ts +53 -0
- package/dist/types/StateTypes.d.ts +6 -0
- package/dist/types/StoreTypes.d.ts +11 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.mjs +3 -2
- package/package.json +180 -11
- 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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gql as e } from "
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
2
|
//#region src/network/graphql/builder/Queries/Segment/SegmentsQuery.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
query SegmentsQuery($environment: String!, $filter: JsonObject, $cursor: String, $limit: Int) {
|
|
@@ -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 "graphql-tag";
|
|
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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gql as e } from "
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
2
|
//#region src/network/graphql/builder/Queries/Space/SpaceConnectorsQuery.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
query SpaceConnectorsQuery($filter: ConnectorInput, $page: Int, $pageSize: Int, $offset: Int) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gql as e } from "
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
2
|
//#region src/network/graphql/builder/Queries/Space/SpaceCredentialsQuery.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
query SpaceCredentialsQuery($filter: CredentialInput, $page: Int, $pageSize: Int, $offset: Int) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gql as e } from "
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
2
|
//#region src/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
query SpaceDeploymentsQuery($filter: DeploymentInput, $page: Int, $pageSize: Int, $offset: Int) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
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 "graphql-tag";
|
|
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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { gql as e } from "
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
2
|
//#region src/network/graphql/builder/Queries/Space/SpaceResourcesQuery.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
query SpaceResourcesQuery($cdnIdentifier: String!, $filter: ResourceInput, $page: Int, $pageSize: Int, $offset: Int) {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
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 "graphql-tag";
|
|
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 };
|