@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
|
@@ -2,5 +2,9 @@ import { PluginRaw } from '../../../../../types';
|
|
|
2
2
|
export type TSpaceUpdatePluginMutation = {
|
|
3
3
|
plugins: PluginRaw[];
|
|
4
4
|
};
|
|
5
|
+
/**
|
|
6
|
+
* A plugin's address, its settings, or both — whichever is sent. What is left out is kept: saving the settings does not
|
|
7
|
+
* move the plugin, and a new version does not forget how the space configured it.
|
|
8
|
+
*/
|
|
5
9
|
declare const SpaceUpdatePluginMutation: import('graphql').DocumentNode;
|
|
6
10
|
export default SpaceUpdatePluginMutation;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { gql as e } from "
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
2
|
//#region src/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.ts
|
|
3
3
|
var t = e`
|
|
4
|
-
mutation SpaceUpdatePluginMutation($environment: String!, $pluginType: String!, $resource: String
|
|
5
|
-
SpaceUpdatePlugin(environment: $environment, pluginType: $pluginType, resource: $resource) {
|
|
4
|
+
mutation SpaceUpdatePluginMutation($environment: String!, $pluginType: String!, $resource: String, $settings: Json) {
|
|
5
|
+
SpaceUpdatePlugin(environment: $environment, pluginType: $pluginType, resource: $resource, settings: $settings) {
|
|
6
6
|
plugins {
|
|
7
7
|
type
|
|
8
8
|
resource
|
|
@@ -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/Mutations/Space/SpaceUpdateSettingsMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceUpdateSettingsMutation($environment: String!, $value: Json!, $path: String) {
|
|
@@ -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/Mutations/Space/actions/SpaceRunActionMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceRunActionMutation($identifier: String!, $input: Json, $trigger: String) {
|
|
@@ -7,6 +7,7 @@ var t = e`
|
|
|
7
7
|
status
|
|
8
8
|
output
|
|
9
9
|
trace
|
|
10
|
+
steps
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
`;
|
|
@@ -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/Mutations/Space/actions/SpaceUpdateActionMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceUpdateActionMutation($identifier: String!, $name: String!, $document: Json!) {
|
|
@@ -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/Mutations/Space/cdns/SpaceSetCdnCredentialMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceSetCdnCredentialMutation($identifier: String!, $credentialIdentifier: String!) {
|
package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceUpdateConnectorMutation.mjs
CHANGED
|
@@ -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/Mutations/Space/connectors/SpaceUpdateConnectorMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceUpdateConnectorMutation($identifier: String!, $name: String!, $manifest: Json!) {
|
package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceAddCredentialMutation.mjs
CHANGED
|
@@ -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/Mutations/Space/credentials/SpaceAddCredentialMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceAddCredentialMutation($name: String!, $provider: String!, $data: Json!) {
|
package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceUpdateCredentialMutation.mjs
CHANGED
|
@@ -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/Mutations/Space/credentials/SpaceUpdateCredentialMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceUpdateCredentialMutation($identifier: String!, $name: String!, $provider: String!, $data: Json!) {
|
|
@@ -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/Mutations/Space/folders/SpaceAddPageFolderMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceAddPageFolderMutation($environment: String!, $name: String!, $slug: String!, $parentId: String) {
|
package/dist/network/graphql/builder/Mutations/Space/folders/SpaceRemovePageFolderMutation.mjs
CHANGED
|
@@ -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/Mutations/Space/folders/SpaceRemovePageFolderMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceRemovePageFolderMutation($environment: String!, $pageFolderId: String!) {
|
package/dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.mjs
CHANGED
|
@@ -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/Mutations/Space/folders/SpaceUpdatePageFolderMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceUpdatePageFolderMutation($environment: String!, $pageFolder: Json!) {
|
package/dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceRemoveFunctionsMutation {
|
|
5
|
+
SpaceRemoveFunctions
|
|
6
|
+
}
|
|
7
|
+
`;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as default };
|
package/dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FunctionsManifest, FunctionsProblem, FunctionsRefusal } from '../../../../../../types';
|
|
2
|
+
/** As GraphQL carries it: one shape with every field, `ok` saying which of them mean something. */
|
|
3
|
+
export type TSpaceSaveFunctionsMutation = {
|
|
4
|
+
ok: boolean;
|
|
5
|
+
version: string | null;
|
|
6
|
+
manifest: FunctionsManifest | null;
|
|
7
|
+
problems: FunctionsProblem[];
|
|
8
|
+
refusal: FunctionsRefusal | null;
|
|
9
|
+
};
|
|
10
|
+
declare const SpaceSaveFunctionsMutation: import('graphql').DocumentNode;
|
|
11
|
+
export default SpaceSaveFunctionsMutation;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceSaveFunctionsMutation($files: Json!, $base: String) {
|
|
5
|
+
SpaceSaveFunctions(files: $files, base: $base) {
|
|
6
|
+
ok
|
|
7
|
+
version
|
|
8
|
+
manifest
|
|
9
|
+
problems {
|
|
10
|
+
file
|
|
11
|
+
line
|
|
12
|
+
column
|
|
13
|
+
message
|
|
14
|
+
}
|
|
15
|
+
refusal {
|
|
16
|
+
status
|
|
17
|
+
error
|
|
18
|
+
limit
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { t as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceTryFunctionMutation($task: String!, $params: Json) {
|
|
5
|
+
SpaceTryFunction(task: $task, params: $params) {
|
|
6
|
+
runId
|
|
7
|
+
status
|
|
8
|
+
output
|
|
9
|
+
trace
|
|
10
|
+
steps
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { t as default };
|
package/dist/network/graphql/builder/Mutations/Space/resources/SpaceMoveResourceMutation.mjs
CHANGED
|
@@ -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/Mutations/Space/resources/SpaceMoveResourceMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceMoveResourceMutation($identifier: String!, $cdnIdentifier: String!, $prefix: String!) {
|
package/dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.mjs
CHANGED
|
@@ -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/Mutations/Space/resources/SpaceRemoveResourceMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceRemoveResourceMutation($identifier: String!, $cdnIdentifier: String!) {
|
package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceRemoveRuntimeVariableMutation($name: String!) {
|
|
5
|
+
SpaceRemoveRuntimeVariable(name: $name)
|
|
6
|
+
}
|
|
7
|
+
`;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceSetRuntimeSizeMutation($environment: String!, $size: String!) {
|
|
5
|
+
SpaceSetRuntimeSize(environment: $environment, size: $size)
|
|
6
|
+
}
|
|
7
|
+
`;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as default };
|
package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.mjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceSetRuntimeVariableMutation($name: String!, $value: String!) {
|
|
5
|
+
SpaceSetRuntimeVariable(name: $name, value: $value)
|
|
6
|
+
}
|
|
7
|
+
`;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceStartRuntimeMutation($environment: String!) {
|
|
5
|
+
SpaceStartRuntime(environment: $environment)
|
|
6
|
+
}
|
|
7
|
+
`;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceStopRuntimeMutation($environment: String!) {
|
|
5
|
+
SpaceStopRuntime(environment: $environment)
|
|
6
|
+
}
|
|
7
|
+
`;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as default };
|
package/dist/network/graphql/builder/Mutations/Space/variables/SpaceRemoveVariableMutation.mjs
CHANGED
|
@@ -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/Mutations/Space/variables/SpaceRemoveVariableMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceRemoveVariableMutation($environment: String!, $name: String!) {
|
package/dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.mjs
CHANGED
|
@@ -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/Mutations/Space/variables/SpaceUpdateVariableMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation SpaceUpdateVariableMutation($environment: String!, $variable: Json!) {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceAddVisitorMutation($email: String!, $role: String!) {
|
|
5
|
+
SpaceAddVisitor(email: $email, role: $role) {
|
|
6
|
+
id
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { t as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { gql as e } from "graphql-tag";
|
|
2
|
+
//#region src/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
mutation SpaceRemoveVisitorMutation($id: Int!) {
|
|
5
|
+
SpaceRemoveVisitor(id: $id) {
|
|
6
|
+
id
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`;
|
|
10
|
+
//#endregion
|
|
11
|
+
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/Mutations/Style/StyleUpdateSettingsMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation StyleUpdateSettingsMutation($environment: String!, $path: String!, $value: String!) {
|
|
@@ -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/Mutations/Style/fonts/StyleUpdateFontMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation StyleUpdateFontMutation($environment: String!, $family: String!, $font: Json!) {
|
package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorMutation.mjs
CHANGED
|
@@ -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/Mutations/Style/selectors/StyleRemoveSelectorMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation StyleRemoveSelectorMutation($environment: String!, $displayMode: String, $selector: String!) {
|
package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorsMutation.mjs
CHANGED
|
@@ -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/Mutations/Style/selectors/StyleRemoveSelectorsMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation StyleRemoveSelectorsMutation($environment: String!, $displayMode: String, $selectors: [String!]!) {
|
|
@@ -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/Mutations/Style/variables/StyleAddVariableMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation StyleAddVariableMutation($environment: String!, $category: String!, $name: String!, $value: Json!) {
|
package/dist/network/graphql/builder/Mutations/Style/variables/StyleRemoveVariableMutation.mjs
CHANGED
|
@@ -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/Mutations/Style/variables/StyleRemoveVariableMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation StyleRemoveVariableMutation($environment: String!, $category: String!, $name: String!) {
|
package/dist/network/graphql/builder/Mutations/Style/variables/StyleUpdateVariableMutation.mjs
CHANGED
|
@@ -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/Mutations/Style/variables/StyleUpdateVariableMutation.ts
|
|
3
3
|
var t = e`
|
|
4
4
|
mutation StyleUpdateVariableMutation($environment: String!, $category: String!, $name: String!, $value: Json!) {
|