@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
|
@@ -3,6 +3,7 @@ import { SubscriptionCollaborator, SubscriptionCollaboratorPointer } from './Bui
|
|
|
3
3
|
import { Environment, RenderMode } from './CommonTypes';
|
|
4
4
|
import { Source } from './DataSourceTypes';
|
|
5
5
|
import { QueryParams, RouteParams } from './NavigationTypes';
|
|
6
|
+
import { RealtimeTransport } from './RealtimeTypes';
|
|
6
7
|
import { Schema, Element } from './SchemaTypes';
|
|
7
8
|
import { Segment } from './SegmentTypes';
|
|
8
9
|
import { SpaceConnector } from './SpaceTypes';
|
|
@@ -44,6 +45,11 @@ export type CommonState = {
|
|
|
44
45
|
sources?: Record<string, Source>;
|
|
45
46
|
rsc?: RscState;
|
|
46
47
|
actions?: ActionsState;
|
|
48
|
+
/** Where this origin's realtime channels answer — absent in a render with no server, where no channel opens. */
|
|
49
|
+
realtime?: {
|
|
50
|
+
endpoint?: string;
|
|
51
|
+
transport?: RealtimeTransport;
|
|
52
|
+
};
|
|
47
53
|
render?: RenderSettings;
|
|
48
54
|
/**
|
|
49
55
|
* The theme, mirrored from `themeStore` so the devtools store viewer answers "which theme is this" in one line.
|
|
@@ -72,6 +78,11 @@ export type CommonState = {
|
|
|
72
78
|
/** Scheme, host AND port — what a link needs to name this page absolutely. `hostname` has no port, which is why
|
|
73
79
|
* it answers `when` rules and cannot answer this. */
|
|
74
80
|
origin: string;
|
|
81
|
+
/**
|
|
82
|
+
* The page's whole address — origin, path and query — as the server was asked for it and the browser shows it: what
|
|
83
|
+
* a link that shares THIS page is. Known in the first paint, so a text built from it is right before hydration.
|
|
84
|
+
*/
|
|
85
|
+
href: string;
|
|
75
86
|
currentPageId: string;
|
|
76
87
|
navigate: (url: string, isExternal?: boolean) => void;
|
|
77
88
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export * from './NavigationTypes';
|
|
|
12
12
|
export * from './CollectionTypes';
|
|
13
13
|
export * from './ConnectorTypes';
|
|
14
14
|
export * from './ActionTypes';
|
|
15
|
+
export * from './FunctionTypes';
|
|
16
|
+
export * from './RealtimeTypes';
|
|
15
17
|
export * from './ComponentTypes';
|
|
16
18
|
export * from './StateTypes';
|
|
17
19
|
export * from './CommonTypes';
|
package/dist/types/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { WHILE_RUNNING_MODES as e } from "./SchemaTypes.mjs";
|
|
2
|
+
import { StyleVariableCategory as t } from "./StyleTypes.mjs";
|
|
3
|
+
export { t as StyleVariableCategory, e as WHILE_RUNNING_MODES };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-shared",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.4",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
"types": "./dist/actions/index.d.ts",
|
|
19
19
|
"import": "./dist/actions/index.mjs"
|
|
20
20
|
},
|
|
21
|
+
"./actions/access": {
|
|
22
|
+
"types": "./dist/actions/access.d.ts",
|
|
23
|
+
"import": "./dist/actions/access.mjs"
|
|
24
|
+
},
|
|
21
25
|
"./actions/cron": {
|
|
22
26
|
"types": "./dist/actions/cron.d.ts",
|
|
23
27
|
"import": "./dist/actions/cron.mjs"
|
|
@@ -26,6 +30,10 @@
|
|
|
26
30
|
"types": "./dist/actions/failureHandler.d.ts",
|
|
27
31
|
"import": "./dist/actions/failureHandler.mjs"
|
|
28
32
|
},
|
|
33
|
+
"./actions/functions": {
|
|
34
|
+
"types": "./dist/actions/functions.d.ts",
|
|
35
|
+
"import": "./dist/actions/functions.mjs"
|
|
36
|
+
},
|
|
29
37
|
"./actions/index": {
|
|
30
38
|
"types": "./dist/actions/index.d.ts",
|
|
31
39
|
"import": "./dist/actions/index.mjs"
|
|
@@ -62,6 +70,10 @@
|
|
|
62
70
|
"types": "./dist/auth/index.d.ts",
|
|
63
71
|
"import": "./dist/auth/index.mjs"
|
|
64
72
|
},
|
|
73
|
+
"./auth/visitorRoles": {
|
|
74
|
+
"types": "./dist/auth/visitorRoles.d.ts",
|
|
75
|
+
"import": "./dist/auth/visitorRoles.mjs"
|
|
76
|
+
},
|
|
65
77
|
"./authoring": {
|
|
66
78
|
"types": "./dist/authoring/index.d.ts",
|
|
67
79
|
"import": "./dist/authoring/index.mjs"
|
|
@@ -138,6 +150,10 @@
|
|
|
138
150
|
"types": "./dist/dataSource/index.d.ts",
|
|
139
151
|
"import": "./dist/dataSource/index.mjs"
|
|
140
152
|
},
|
|
153
|
+
"./dataSource/computed": {
|
|
154
|
+
"types": "./dist/dataSource/computed.d.ts",
|
|
155
|
+
"import": "./dist/dataSource/computed.mjs"
|
|
156
|
+
},
|
|
141
157
|
"./dataSource/getBindingsDetails": {
|
|
142
158
|
"types": "./dist/dataSource/getBindingsDetails.d.ts",
|
|
143
159
|
"import": "./dist/dataSource/getBindingsDetails.mjs"
|
|
@@ -218,6 +234,10 @@
|
|
|
218
234
|
"types": "./dist/dataSource/utility/styleVariant.d.ts",
|
|
219
235
|
"import": "./dist/dataSource/utility/styleVariant.mjs"
|
|
220
236
|
},
|
|
237
|
+
"./dataSource/utility/truthiness": {
|
|
238
|
+
"types": "./dist/dataSource/utility/truthiness.d.ts",
|
|
239
|
+
"import": "./dist/dataSource/utility/truthiness.mjs"
|
|
240
|
+
},
|
|
221
241
|
"./dataSource/utility/twigTemplate": {
|
|
222
242
|
"types": "./dist/dataSource/utility/twigTemplate.d.ts",
|
|
223
243
|
"import": "./dist/dataSource/utility/twigTemplate.mjs"
|
|
@@ -262,6 +282,10 @@
|
|
|
262
282
|
"types": "./dist/helpers/index.d.ts",
|
|
263
283
|
"import": "./dist/helpers/index.mjs"
|
|
264
284
|
},
|
|
285
|
+
"./helpers/cookies": {
|
|
286
|
+
"types": "./dist/helpers/cookies.d.ts",
|
|
287
|
+
"import": "./dist/helpers/cookies.mjs"
|
|
288
|
+
},
|
|
265
289
|
"./helpers/fetchManifest": {
|
|
266
290
|
"types": "./dist/helpers/fetchManifest.d.ts",
|
|
267
291
|
"import": "./dist/helpers/fetchManifest.mjs"
|
|
@@ -278,6 +302,14 @@
|
|
|
278
302
|
"types": "./dist/helpers/index.d.ts",
|
|
279
303
|
"import": "./dist/helpers/index.mjs"
|
|
280
304
|
},
|
|
305
|
+
"./helpers/isDate": {
|
|
306
|
+
"types": "./dist/helpers/isDate.d.ts",
|
|
307
|
+
"import": "./dist/helpers/isDate.mjs"
|
|
308
|
+
},
|
|
309
|
+
"./helpers/keys": {
|
|
310
|
+
"types": "./dist/helpers/keys.d.ts",
|
|
311
|
+
"import": "./dist/helpers/keys.mjs"
|
|
312
|
+
},
|
|
281
313
|
"./helpers/reducerOrigin": {
|
|
282
314
|
"types": "./dist/helpers/reducerOrigin.d.ts",
|
|
283
315
|
"import": "./dist/helpers/reducerOrigin.mjs"
|
|
@@ -396,6 +428,10 @@
|
|
|
396
428
|
"types": "./dist/helpers/twigWrapper/index.d.ts",
|
|
397
429
|
"import": "./dist/helpers/twigWrapper/index.mjs"
|
|
398
430
|
},
|
|
431
|
+
"./helpers/twigWrapper/inspectTemplate": {
|
|
432
|
+
"types": "./dist/helpers/twigWrapper/inspectTemplate.d.ts",
|
|
433
|
+
"import": "./dist/helpers/twigWrapper/inspectTemplate.mjs"
|
|
434
|
+
},
|
|
399
435
|
"./helpers/twigWrapper/processTwig": {
|
|
400
436
|
"types": "./dist/helpers/twigWrapper/processTwig/index.d.ts",
|
|
401
437
|
"import": "./dist/helpers/twigWrapper/processTwig/index.mjs"
|
|
@@ -412,6 +448,10 @@
|
|
|
412
448
|
"types": "./dist/helpers/twigWrapper/processTwig/processTwig.d.ts",
|
|
413
449
|
"import": "./dist/helpers/twigWrapper/processTwig/processTwig.mjs"
|
|
414
450
|
},
|
|
451
|
+
"./helpers/twigWrapper/processTwig/resolveStepParam": {
|
|
452
|
+
"types": "./dist/helpers/twigWrapper/processTwig/resolveStepParam.d.ts",
|
|
453
|
+
"import": "./dist/helpers/twigWrapper/processTwig/resolveStepParam.mjs"
|
|
454
|
+
},
|
|
415
455
|
"./helpers/twigWrapper/templateRoots": {
|
|
416
456
|
"types": "./dist/helpers/twigWrapper/templateRoots.d.ts",
|
|
417
457
|
"import": "./dist/helpers/twigWrapper/templateRoots.mjs"
|
|
@@ -432,6 +472,25 @@
|
|
|
432
472
|
"types": "./dist/helpers/utils.d.ts",
|
|
433
473
|
"import": "./dist/helpers/utils.mjs"
|
|
434
474
|
},
|
|
475
|
+
"./history": {
|
|
476
|
+
"types": "./dist/history/index.d.ts",
|
|
477
|
+
"import": "./dist/history/index.mjs"
|
|
478
|
+
},
|
|
479
|
+
"./history/describe": {
|
|
480
|
+
"types": "./dist/history/describe.d.ts",
|
|
481
|
+
"import": "./dist/history/describe.mjs"
|
|
482
|
+
},
|
|
483
|
+
"./history/diff": {
|
|
484
|
+
"types": "./dist/history/diff.d.ts",
|
|
485
|
+
"import": "./dist/history/diff.mjs"
|
|
486
|
+
},
|
|
487
|
+
"./history/index": {
|
|
488
|
+
"types": "./dist/history/index.d.ts",
|
|
489
|
+
"import": "./dist/history/index.mjs"
|
|
490
|
+
},
|
|
491
|
+
"./history/types": {
|
|
492
|
+
"types": "./dist/history/types.d.ts"
|
|
493
|
+
},
|
|
435
494
|
"./hooks": {
|
|
436
495
|
"types": "./dist/hooks/index.d.ts",
|
|
437
496
|
"import": "./dist/hooks/index.mjs"
|
|
@@ -620,6 +679,10 @@
|
|
|
620
679
|
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceDeployMutation.d.ts",
|
|
621
680
|
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceDeployMutation.mjs"
|
|
622
681
|
},
|
|
682
|
+
"./network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation": {
|
|
683
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.d.ts",
|
|
684
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.mjs"
|
|
685
|
+
},
|
|
623
686
|
"./network/graphql/builder/Mutations/Space/SpaceMoveElementMutation": {
|
|
624
687
|
"types": "./dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.d.ts",
|
|
625
688
|
"import": "./dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.mjs"
|
|
@@ -732,6 +795,18 @@
|
|
|
732
795
|
"types": "./dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.d.ts",
|
|
733
796
|
"import": "./dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.mjs"
|
|
734
797
|
},
|
|
798
|
+
"./network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation": {
|
|
799
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.d.ts",
|
|
800
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.mjs"
|
|
801
|
+
},
|
|
802
|
+
"./network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation": {
|
|
803
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.d.ts",
|
|
804
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.mjs"
|
|
805
|
+
},
|
|
806
|
+
"./network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation": {
|
|
807
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.d.ts",
|
|
808
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.mjs"
|
|
809
|
+
},
|
|
735
810
|
"./network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation": {
|
|
736
811
|
"types": "./dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.d.ts",
|
|
737
812
|
"import": "./dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.mjs"
|
|
@@ -760,6 +835,30 @@
|
|
|
760
835
|
"types": "./dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.d.ts",
|
|
761
836
|
"import": "./dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.mjs"
|
|
762
837
|
},
|
|
838
|
+
"./network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation": {
|
|
839
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.d.ts",
|
|
840
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.mjs"
|
|
841
|
+
},
|
|
842
|
+
"./network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation": {
|
|
843
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.d.ts",
|
|
844
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs"
|
|
845
|
+
},
|
|
846
|
+
"./network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation": {
|
|
847
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.d.ts",
|
|
848
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.mjs"
|
|
849
|
+
},
|
|
850
|
+
"./network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation": {
|
|
851
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.d.ts",
|
|
852
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.mjs"
|
|
853
|
+
},
|
|
854
|
+
"./network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation": {
|
|
855
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.d.ts",
|
|
856
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.mjs"
|
|
857
|
+
},
|
|
858
|
+
"./network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation": {
|
|
859
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.d.ts",
|
|
860
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.mjs"
|
|
861
|
+
},
|
|
763
862
|
"./network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation": {
|
|
764
863
|
"types": "./dist/network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation.d.ts",
|
|
765
864
|
"import": "./dist/network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation.mjs"
|
|
@@ -772,6 +871,14 @@
|
|
|
772
871
|
"types": "./dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.d.ts",
|
|
773
872
|
"import": "./dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.mjs"
|
|
774
873
|
},
|
|
874
|
+
"./network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation": {
|
|
875
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.d.ts",
|
|
876
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.mjs"
|
|
877
|
+
},
|
|
878
|
+
"./network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation": {
|
|
879
|
+
"types": "./dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.d.ts",
|
|
880
|
+
"import": "./dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.mjs"
|
|
881
|
+
},
|
|
775
882
|
"./network/graphql/builder/Mutations/Style/StyleUpdateMutation": {
|
|
776
883
|
"types": "./dist/network/graphql/builder/Mutations/Style/StyleUpdateMutation.d.ts",
|
|
777
884
|
"import": "./dist/network/graphql/builder/Mutations/Style/StyleUpdateMutation.mjs"
|
|
@@ -844,10 +951,6 @@
|
|
|
844
951
|
"types": "./dist/network/graphql/builder/Queries/InitQuery.d.ts",
|
|
845
952
|
"import": "./dist/network/graphql/builder/Queries/InitQuery.mjs"
|
|
846
953
|
},
|
|
847
|
-
"./network/graphql/builder/Queries/PluginsQuery": {
|
|
848
|
-
"types": "./dist/network/graphql/builder/Queries/PluginsQuery.d.ts",
|
|
849
|
-
"import": "./dist/network/graphql/builder/Queries/PluginsQuery.mjs"
|
|
850
|
-
},
|
|
851
954
|
"./network/graphql/builder/Queries/Segment/SegmentQuery": {
|
|
852
955
|
"types": "./dist/network/graphql/builder/Queries/Segment/SegmentQuery.d.ts",
|
|
853
956
|
"import": "./dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs"
|
|
@@ -872,6 +975,10 @@
|
|
|
872
975
|
"types": "./dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.d.ts",
|
|
873
976
|
"import": "./dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.mjs"
|
|
874
977
|
},
|
|
978
|
+
"./network/graphql/builder/Queries/Space/SpaceChangesQuery": {
|
|
979
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.d.ts",
|
|
980
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.mjs"
|
|
981
|
+
},
|
|
875
982
|
"./network/graphql/builder/Queries/Space/SpaceCheckActionQuery": {
|
|
876
983
|
"types": "./dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.d.ts",
|
|
877
984
|
"import": "./dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.mjs"
|
|
@@ -888,6 +995,14 @@
|
|
|
888
995
|
"types": "./dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.d.ts",
|
|
889
996
|
"import": "./dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.mjs"
|
|
890
997
|
},
|
|
998
|
+
"./network/graphql/builder/Queries/Space/SpaceFunctionsQuery": {
|
|
999
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.d.ts",
|
|
1000
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.mjs"
|
|
1001
|
+
},
|
|
1002
|
+
"./network/graphql/builder/Queries/Space/SpaceIssuesQuery": {
|
|
1003
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.d.ts",
|
|
1004
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.mjs"
|
|
1005
|
+
},
|
|
891
1006
|
"./network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery": {
|
|
892
1007
|
"types": "./dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.d.ts",
|
|
893
1008
|
"import": "./dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.mjs"
|
|
@@ -900,6 +1015,14 @@
|
|
|
900
1015
|
"types": "./dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.d.ts",
|
|
901
1016
|
"import": "./dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.mjs"
|
|
902
1017
|
},
|
|
1018
|
+
"./network/graphql/builder/Queries/Space/SpaceRuntimeQuery": {
|
|
1019
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.d.ts",
|
|
1020
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.mjs"
|
|
1021
|
+
},
|
|
1022
|
+
"./network/graphql/builder/Queries/Space/SpaceVisitorsQuery": {
|
|
1023
|
+
"types": "./dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.d.ts",
|
|
1024
|
+
"import": "./dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.mjs"
|
|
1025
|
+
},
|
|
903
1026
|
"./network/graphql/builder/Queries/index": {
|
|
904
1027
|
"types": "./dist/network/graphql/builder/Queries/index.d.ts",
|
|
905
1028
|
"import": "./dist/network/graphql/builder/Queries/index.mjs"
|
|
@@ -984,6 +1107,26 @@
|
|
|
984
1107
|
"types": "./dist/queries/useQuery.d.ts",
|
|
985
1108
|
"import": "./dist/queries/useQuery.mjs"
|
|
986
1109
|
},
|
|
1110
|
+
"./realtime": {
|
|
1111
|
+
"types": "./dist/realtime/index.d.ts",
|
|
1112
|
+
"import": "./dist/realtime/index.mjs"
|
|
1113
|
+
},
|
|
1114
|
+
"./realtime/client": {
|
|
1115
|
+
"types": "./dist/realtime/client.d.ts",
|
|
1116
|
+
"import": "./dist/realtime/client.mjs"
|
|
1117
|
+
},
|
|
1118
|
+
"./realtime/index": {
|
|
1119
|
+
"types": "./dist/realtime/index.d.ts",
|
|
1120
|
+
"import": "./dist/realtime/index.mjs"
|
|
1121
|
+
},
|
|
1122
|
+
"./realtime/presence": {
|
|
1123
|
+
"types": "./dist/realtime/presence.d.ts",
|
|
1124
|
+
"import": "./dist/realtime/presence.mjs"
|
|
1125
|
+
},
|
|
1126
|
+
"./realtime/topics": {
|
|
1127
|
+
"types": "./dist/realtime/topics.d.ts",
|
|
1128
|
+
"import": "./dist/realtime/topics.mjs"
|
|
1129
|
+
},
|
|
987
1130
|
"./schema": {
|
|
988
1131
|
"types": "./dist/schema/index.d.ts",
|
|
989
1132
|
"import": "./dist/schema/index.mjs"
|
|
@@ -1028,6 +1171,10 @@
|
|
|
1028
1171
|
"types": "./dist/server/actions/useActionsSync.d.ts",
|
|
1029
1172
|
"import": "./dist/server/actions/useActionsSync.mjs"
|
|
1030
1173
|
},
|
|
1174
|
+
"./server/actions/useRealtimeSync": {
|
|
1175
|
+
"types": "./dist/server/actions/useRealtimeSync.d.ts",
|
|
1176
|
+
"import": "./dist/server/actions/useRealtimeSync.mjs"
|
|
1177
|
+
},
|
|
1031
1178
|
"./server/index": {
|
|
1032
1179
|
"types": "./dist/server/index.d.ts",
|
|
1033
1180
|
"import": "./dist/server/index.mjs"
|
|
@@ -1052,6 +1199,10 @@
|
|
|
1052
1199
|
"types": "./dist/state/index.d.ts",
|
|
1053
1200
|
"import": "./dist/state/index.mjs"
|
|
1054
1201
|
},
|
|
1202
|
+
"./state/paintedState": {
|
|
1203
|
+
"types": "./dist/state/paintedState.d.ts",
|
|
1204
|
+
"import": "./dist/state/paintedState.mjs"
|
|
1205
|
+
},
|
|
1055
1206
|
"./state/runtimeStatePersist": {
|
|
1056
1207
|
"types": "./dist/state/runtimeStatePersist.d.ts",
|
|
1057
1208
|
"import": "./dist/state/runtimeStatePersist.mjs"
|
|
@@ -1140,6 +1291,10 @@
|
|
|
1140
1291
|
"types": "./dist/style/index.d.ts",
|
|
1141
1292
|
"import": "./dist/style/index.mjs"
|
|
1142
1293
|
},
|
|
1294
|
+
"./style/runtimeStyle": {
|
|
1295
|
+
"types": "./dist/style/runtimeStyle.d.ts",
|
|
1296
|
+
"import": "./dist/style/runtimeStyle.mjs"
|
|
1297
|
+
},
|
|
1143
1298
|
"./style/styleConstants": {
|
|
1144
1299
|
"types": "./dist/style/styleConstants.d.ts",
|
|
1145
1300
|
"import": "./dist/style/styleConstants.mjs"
|
|
@@ -1216,6 +1371,9 @@
|
|
|
1216
1371
|
"./types/EventBridgeTypes": {
|
|
1217
1372
|
"types": "./dist/types/EventBridgeTypes.d.ts"
|
|
1218
1373
|
},
|
|
1374
|
+
"./types/FunctionTypes": {
|
|
1375
|
+
"types": "./dist/types/FunctionTypes.d.ts"
|
|
1376
|
+
},
|
|
1219
1377
|
"./types/InteractionTypes": {
|
|
1220
1378
|
"types": "./dist/types/InteractionTypes.d.ts"
|
|
1221
1379
|
},
|
|
@@ -1228,11 +1386,15 @@
|
|
|
1228
1386
|
"./types/PluginTypes": {
|
|
1229
1387
|
"types": "./dist/types/PluginTypes.d.ts"
|
|
1230
1388
|
},
|
|
1389
|
+
"./types/RealtimeTypes": {
|
|
1390
|
+
"types": "./dist/types/RealtimeTypes.d.ts"
|
|
1391
|
+
},
|
|
1231
1392
|
"./types/ResourceTypes": {
|
|
1232
1393
|
"types": "./dist/types/ResourceTypes.d.ts"
|
|
1233
1394
|
},
|
|
1234
1395
|
"./types/SchemaTypes": {
|
|
1235
|
-
"types": "./dist/types/SchemaTypes.d.ts"
|
|
1396
|
+
"types": "./dist/types/SchemaTypes.d.ts",
|
|
1397
|
+
"import": "./dist/types/SchemaTypes.mjs"
|
|
1236
1398
|
},
|
|
1237
1399
|
"./types/SdkTypes": {
|
|
1238
1400
|
"types": "./dist/types/SdkTypes.d.ts"
|
|
@@ -1291,20 +1453,22 @@
|
|
|
1291
1453
|
"build:prod": "vite build && node ./scripts/generate-exports.mjs"
|
|
1292
1454
|
},
|
|
1293
1455
|
"dependencies": {
|
|
1294
|
-
"@modelcontextprotocol/sdk": "^1.30.
|
|
1295
|
-
"@plitzi/nexus": "^1.
|
|
1296
|
-
"@plitzi/plitzi-ui": "^1.6.
|
|
1456
|
+
"@modelcontextprotocol/sdk": "^1.30.1",
|
|
1457
|
+
"@plitzi/nexus": "^1.3.1",
|
|
1458
|
+
"@plitzi/plitzi-ui": "^1.6.24",
|
|
1297
1459
|
"date-fns": "^4.4.0",
|
|
1298
|
-
"
|
|
1460
|
+
"graphql": "^16.0.0 || ^17.0.0",
|
|
1299
1461
|
"graphql-tag": "^2.12.7",
|
|
1300
1462
|
"immer": "^11.1.18",
|
|
1301
1463
|
"zod": "^4.6.5"
|
|
1302
1464
|
},
|
|
1303
1465
|
"peerDependencies": {
|
|
1466
|
+
"@apollo/client": "^4.3.1",
|
|
1304
1467
|
"react": "^19",
|
|
1305
1468
|
"react-dom": "^19"
|
|
1306
1469
|
},
|
|
1307
1470
|
"devDependencies": {
|
|
1471
|
+
"@apollo/client": "^4.3.1",
|
|
1308
1472
|
"@babel/cli": "^8.0.6",
|
|
1309
1473
|
"@babel/core": "^8.0.6",
|
|
1310
1474
|
"@babel/eslint-parser": "^7.29.9",
|
|
@@ -1347,10 +1511,15 @@
|
|
|
1347
1511
|
"terser": "^5.51.2",
|
|
1348
1512
|
"typescript": "^6.0.3",
|
|
1349
1513
|
"typescript-eslint": "^8.70.1",
|
|
1350
|
-
"vite": "^8.3.
|
|
1514
|
+
"vite": "^8.3.1",
|
|
1351
1515
|
"vite-plugin-dts": "^5.1.1",
|
|
1352
1516
|
"vite-plugin-react": "^4.0.1",
|
|
1353
1517
|
"vitest": "^5.0.1",
|
|
1354
1518
|
"vitest-fetch-mock": "^0.4.5"
|
|
1519
|
+
},
|
|
1520
|
+
"peerDependenciesMeta": {
|
|
1521
|
+
"@apollo/client": {
|
|
1522
|
+
"optional": true
|
|
1523
|
+
}
|
|
1355
1524
|
}
|
|
1356
1525
|
}
|
package/vite.config.ts
CHANGED
|
@@ -93,18 +93,6 @@ export default defineConfig(({ mode, command }) => {
|
|
|
93
93
|
tsconfigPath: './tsconfig.app.json',
|
|
94
94
|
beforeWriteFile: skipUnchangedDts
|
|
95
95
|
}),
|
|
96
|
-
// {
|
|
97
|
-
// name: 'trace-import-chain',
|
|
98
|
-
// enforce: 'pre',
|
|
99
|
-
// resolveId(source, importer) {
|
|
100
|
-
// if (source.includes('plitzi')) {
|
|
101
|
-
// console.log('\n---');
|
|
102
|
-
// console.log('IMPORT:', source);
|
|
103
|
-
// console.log('FROM :', importer);
|
|
104
|
-
// }
|
|
105
|
-
// return null;
|
|
106
|
-
// }
|
|
107
|
-
// },
|
|
108
96
|
{
|
|
109
97
|
name: 'externalize-and-log',
|
|
110
98
|
enforce: 'pre',
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { gql as e } from "@apollo/client/core";
|
|
2
|
-
//#region src/network/graphql/builder/Queries/PluginsQuery.ts
|
|
3
|
-
var t = e`
|
|
4
|
-
query PluginsQuery($filter: PluginInput, $page: Int, $pageSize: Int, $offset: Int) {
|
|
5
|
-
Plugins(filter: $filter, page: $page, pageSize: $pageSize, offset: $offset) {
|
|
6
|
-
edges {
|
|
7
|
-
name
|
|
8
|
-
description
|
|
9
|
-
type
|
|
10
|
-
latestVersion {
|
|
11
|
-
version
|
|
12
|
-
createdAt
|
|
13
|
-
updatedAt
|
|
14
|
-
}
|
|
15
|
-
market {
|
|
16
|
-
backgroundColor
|
|
17
|
-
icon
|
|
18
|
-
verified
|
|
19
|
-
website
|
|
20
|
-
owner
|
|
21
|
-
license
|
|
22
|
-
category {
|
|
23
|
-
name
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
revisions {
|
|
27
|
-
version
|
|
28
|
-
scope
|
|
29
|
-
module
|
|
30
|
-
manifestUrl
|
|
31
|
-
assets {
|
|
32
|
-
type
|
|
33
|
-
url
|
|
34
|
-
sizeNormal
|
|
35
|
-
sizeGzip
|
|
36
|
-
}
|
|
37
|
-
createdAt
|
|
38
|
-
updatedAt
|
|
39
|
-
}
|
|
40
|
-
createdAt
|
|
41
|
-
updatedAt
|
|
42
|
-
}
|
|
43
|
-
pageInfo {
|
|
44
|
-
hasPrevPage
|
|
45
|
-
hasNextPage
|
|
46
|
-
from
|
|
47
|
-
to
|
|
48
|
-
total
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
`;
|
|
53
|
-
//#endregion
|
|
54
|
-
export { t as default };
|