@plitzi/sdk-shared 0.30.19
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 +1015 -0
- package/dist/_virtual/_rolldown/runtime.mjs +11 -0
- package/dist/builder/contexts/BuilderContext.d.ts +61 -0
- package/dist/builder/contexts/BuilderContext.mjs +5 -0
- package/dist/builder/contexts/index.d.ts +3 -0
- package/dist/builder/contexts/index.mjs +6 -0
- package/dist/builder/index.d.ts +3 -0
- package/dist/builder/index.mjs +3 -0
- package/dist/collections/CollectionContext.d.ts +2 -0
- package/dist/collections/CollectionContext.mjs +5 -0
- package/dist/collections/index.d.ts +3 -0
- package/dist/collections/index.mjs +2 -0
- package/dist/dataSource/DataSourceContext.d.ts +3 -0
- package/dist/dataSource/DataSourceContext.mjs +5 -0
- package/dist/dataSource/hooks/index.d.ts +3 -0
- package/dist/dataSource/hooks/index.mjs +2 -0
- package/dist/dataSource/hooks/useDataSource.d.ts +20 -0
- package/dist/dataSource/hooks/useDataSource.mjs +45 -0
- package/dist/dataSource/index.d.ts +2 -0
- package/dist/dataSource/index.mjs +2 -0
- package/dist/devTools/DevToolsContext.d.ts +11 -0
- package/dist/devTools/DevToolsContext.mjs +8 -0
- package/dist/devTools/index.d.ts +5 -0
- package/dist/devTools/index.mjs +3 -0
- package/dist/devTools/utils/PlitziConsole.d.ts +39 -0
- package/dist/devTools/utils/PlitziConsole.mjs +97 -0
- package/dist/elements/ComponentContext.d.ts +3 -0
- package/dist/elements/ComponentContext.mjs +5 -0
- package/dist/elements/ElementContext.d.ts +19 -0
- package/dist/elements/ElementContext.mjs +6 -0
- package/dist/elements/hooks/useElement.d.ts +3 -0
- package/dist/elements/hooks/useElement.mjs +10 -0
- package/dist/elements/index.d.ts +7 -0
- package/dist/elements/index.mjs +4 -0
- package/dist/helpers/fetchManifest.d.ts +2 -0
- package/dist/helpers/fetchManifest.mjs +14 -0
- package/dist/helpers/formatDate.d.ts +56 -0
- package/dist/helpers/formatDate.mjs +54 -0
- package/dist/helpers/generateFacade.d.ts +2 -0
- package/dist/helpers/generateFacade.mjs +35 -0
- package/dist/helpers/index.d.ts +12 -0
- package/dist/helpers/index.mjs +9 -0
- package/dist/helpers/security.d.ts +6 -0
- package/dist/helpers/security.mjs +10 -0
- package/dist/helpers/stripTypename.d.ts +15 -0
- package/dist/helpers/stripTypename.mjs +41 -0
- package/dist/helpers/syntaxHighlight.d.ts +2 -0
- package/dist/helpers/syntaxHighlight.mjs +7 -0
- package/dist/helpers/twigWrapper.d.ts +4 -0
- package/dist/helpers/twigWrapper.mjs +33 -0
- package/dist/helpers/utils.d.ts +18 -0
- package/dist/helpers/utils.mjs +62 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/index.mjs +3 -0
- package/dist/hooks/useNetwork.d.ts +12 -0
- package/dist/hooks/useNetwork.mjs +45 -0
- package/dist/hooks/usePlitziServiceContext.d.ts +42 -0
- package/dist/hooks/usePlitziServiceContext.mjs +17 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.mjs +37 -0
- package/dist/network/NetworkContext.d.ts +31 -0
- package/dist/network/NetworkContext.mjs +20 -0
- package/dist/network/NetworkInternalContext.d.ts +7 -0
- package/dist/network/NetworkInternalContext.mjs +6 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionAddMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionAddMutation.mjs +24 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionAddRecordMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionAddRecordMutation.mjs +16 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionRemoveMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionRemoveMutation.mjs +17 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionRemoveRecordMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionRemoveRecordMutation.mjs +14 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionUpdateMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionUpdateMutation.mjs +32 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionUpdateRecordMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Collection/CollectionUpdateRecordMutation.mjs +16 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddMutation.mjs +59 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentAddTemplateMutation.mjs +53 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.d.ts +8 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentPublishMutation.mjs +14 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentRemoveMutation.mjs +12 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Segment/SegmentUpdateMutation.mjs +35 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentAddElementMutation.mjs +39 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentCloneElementMutation.mjs +37 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentMoveElementMutation.mjs +37 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentRemoveElementMutation.mjs +23 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/elements/SegmentUpdateElementMutation.mjs +23 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceAddVariableMutation.mjs +34 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceRemoveVariableMutation.mjs +18 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/space/variables/SegmentSpaceUpdateVariableMutation.mjs +34 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableMutation.mjs +32 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableMutation.mjs +29 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableMutation.mjs +32 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleAddSelectorMutation.mjs +34 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleRemoveSelectorMutation.mjs +12 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/selectors/SegmentStyleUpdateSelectorMutation.mjs +32 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleAddVariableMutation.mjs +26 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleRemoveVariableMutation.mjs +18 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Segment/style/variables/SegmentStyleUpdateVariableMutation.mjs +26 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.mjs +37 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddPluginMutation.d.ts +6 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddPluginMutation.mjs +15 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddTemplateMutation.mjs +39 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.mjs +35 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceDeployMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceDeployMutation.mjs +26 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.mjs +35 -0
- package/dist/network/graphql/builder/Mutations/Space/SpacePublishMutation.d.ts +8 -0
- package/dist/network/graphql/builder/Mutations/Space/SpacePublishMutation.mjs +14 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemoveElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemoveElementMutation.mjs +23 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemovePluginMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemovePluginMutation.mjs +15 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.mjs +23 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.mjs +34 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.d.ts +6 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.mjs +15 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSchemaMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSchemaMutation.mjs +29 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSettingsMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSettingsMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceAddCdnMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceAddCdnMutation.mjs +34 -0
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceRemoveCdnMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceRemoveCdnMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceSetCdnCredentialMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceSetCdnCredentialMutation.mjs +20 -0
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceUpdateCdnMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceUpdateCdnMutation.mjs +36 -0
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceAddCredentialMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceAddCredentialMutation.mjs +18 -0
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceRemoveCredentialMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceRemoveCredentialMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceUpdateCredentialMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceUpdateCredentialMutation.mjs +18 -0
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceAddPageFolderMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceAddPageFolderMutation.mjs +14 -0
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceRemovePageFolderMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceRemovePageFolderMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.mjs +14 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.mjs +13 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceHomePageMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceHomePageMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceRemovePageMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceRemovePageMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceUpdatePageMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceUpdatePageMutation.mjs +13 -0
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceAddResourceMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceAddResourceMutation.mjs +27 -0
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceMoveResourceMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceMoveResourceMutation.mjs +15 -0
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.d.ts +4 -0
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation.mjs +32 -0
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceRemoveVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceRemoveVariableMutation.mjs +11 -0
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.mjs +18 -0
- package/dist/network/graphql/builder/Mutations/Style/StyleUpdateMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/StyleUpdateMutation.mjs +15 -0
- package/dist/network/graphql/builder/Mutations/Style/StyleUpdateSettingsMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/StyleUpdateSettingsMutation.mjs +15 -0
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleAddSelectorVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleAddSelectorVariableMutation.mjs +29 -0
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleRemoveSelectorVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs +26 -0
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleUpdateSelectorVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs +29 -0
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleAddSelectorMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleAddSelectorMutation.mjs +32 -0
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorMutation.mjs +12 -0
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleUpdateSelectorMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleUpdateSelectorMutation.mjs +30 -0
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleAddVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleAddVariableMutation.mjs +13 -0
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleRemoveVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleRemoveVariableMutation.mjs +12 -0
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleUpdateVariableMutation.d.ts +2 -0
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleUpdateVariableMutation.mjs +13 -0
- package/dist/network/graphql/builder/Mutations/index.d.ts +178 -0
- package/dist/network/graphql/builder/Mutations/index.mjs +151 -0
- package/dist/network/graphql/builder/Queries/Collection/CollectionQuery.d.ts +6 -0
- package/dist/network/graphql/builder/Queries/Collection/CollectionQuery.mjs +35 -0
- package/dist/network/graphql/builder/Queries/Collection/CollectionRecordQuery.d.ts +6 -0
- package/dist/network/graphql/builder/Queries/Collection/CollectionRecordQuery.mjs +16 -0
- package/dist/network/graphql/builder/Queries/Collection/CollectionRecordsQuery.d.ts +9 -0
- package/dist/network/graphql/builder/Queries/Collection/CollectionRecordsQuery.mjs +27 -0
- package/dist/network/graphql/builder/Queries/Collection/CollectionsQuery.d.ts +9 -0
- package/dist/network/graphql/builder/Queries/Collection/CollectionsQuery.mjs +37 -0
- package/dist/network/graphql/builder/Queries/InitQuery.d.ts +15 -0
- package/dist/network/graphql/builder/Queries/InitQuery.mjs +130 -0
- package/dist/network/graphql/builder/Queries/PluginsQuery.d.ts +9 -0
- package/dist/network/graphql/builder/Queries/PluginsQuery.mjs +54 -0
- package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.d.ts +6 -0
- package/dist/network/graphql/builder/Queries/Segment/SegmentQuery.mjs +47 -0
- package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.d.ts +9 -0
- package/dist/network/graphql/builder/Queries/Segment/SegmentsQuery.mjs +58 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.d.ts +9 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.mjs +32 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceCredentialsQuery.d.ts +9 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceCredentialsQuery.mjs +29 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.d.ts +9 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.mjs +30 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.d.ts +11 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.mjs +15 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.d.ts +8 -0
- package/dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.mjs +20 -0
- package/dist/network/graphql/builder/Queries/index.d.ts +44 -0
- package/dist/network/graphql/builder/Queries/index.mjs +31 -0
- package/dist/network/graphql/builder/Subscriptions/Collaborator/CollaboratorConnectedSubscription.d.ts +11 -0
- package/dist/network/graphql/builder/Subscriptions/Collaborator/CollaboratorConnectedSubscription.mjs +17 -0
- package/dist/network/graphql/builder/Subscriptions/Collaborator/CollaboratorDisconnectedSubscription.d.ts +11 -0
- package/dist/network/graphql/builder/Subscriptions/Collaborator/CollaboratorDisconnectedSubscription.mjs +17 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/SegmentAddTemplateSubscription.d.ts +2 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/SegmentAddTemplateSubscription.mjs +40 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentAddElementSubscription.d.ts +11 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentAddElementSubscription.mjs +39 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentCloneElementSubscription.d.ts +10 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentCloneElementSubscription.mjs +29 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentMoveElementSubscription.d.ts +10 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentMoveElementSubscription.mjs +15 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentRemoveElementSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentRemoveElementSubscription.mjs +12 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementSubscription.d.ts +11 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/elements/SegmentUpdateElementSubscription.mjs +26 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceAddVariableSubscription.d.ts +7 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceAddVariableSubscription.mjs +21 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceRemoveVariableSubscription.d.ts +7 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceRemoveVariableSubscription.mjs +14 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceUpdateVariableSubscription.d.ts +7 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/space/variables/SegmentSpaceUpdateVariableSubscription.mjs +21 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableSubscription.d.ts +11 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleAddSelectorVariableSubscription.mjs +16 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableSubscription.d.ts +10 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleRemoveSelectorVariableSubscription.mjs +15 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableSubscription.d.ts +11 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectorVariables/SegmentStyleUpdateSelectorVariableSubscription.mjs +16 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleAddSelectorSubscription.d.ts +17 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleAddSelectorSubscription.mjs +17 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorSubscription.d.ts +8 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleRemoveSelectorSubscription.mjs +13 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleUpdateSelectorSubscription.d.ts +16 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/selectors/SegmentStyleUpdateSelectorSubscription.mjs +17 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleAddVariableSubscription.d.ts +9 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleAddVariableSubscription.mjs +14 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleRemoveVariableSubscription.d.ts +8 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleRemoveVariableSubscription.mjs +13 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleUpdateVariableSubscription.d.ts +9 -0
- package/dist/network/graphql/builder/Subscriptions/Segment/style/variables/SegmentStyleUpdateVariableSubscription.mjs +14 -0
- package/dist/network/graphql/builder/Subscriptions/Space/SpaceAddTemplateSubscription.d.ts +11 -0
- package/dist/network/graphql/builder/Subscriptions/Space/SpaceAddTemplateSubscription.mjs +39 -0
- package/dist/network/graphql/builder/Subscriptions/Space/SpaceUpdateSettingsSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/SpaceUpdateSettingsSubscription.mjs +12 -0
- package/dist/network/graphql/builder/Subscriptions/Space/SpaceUpdatedSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/SpaceUpdatedSubscription.mjs +28 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceAddElementSubscription.d.ts +10 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceAddElementSubscription.mjs +38 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceCloneElementSubscription.d.ts +9 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceCloneElementSubscription.mjs +28 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceMoveElementSubscription.d.ts +9 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceMoveElementSubscription.mjs +14 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceRemoveElementSubscription.d.ts +5 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceRemoveElementSubscription.mjs +11 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/elements/SpaceUpdateElementSubscription.mjs +25 -0
- package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceAddPageFolderSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceAddPageFolderSubscription.mjs +16 -0
- package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceRemovePageFolderSubscription.d.ts +5 -0
- package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceRemovePageFolderSubscription.mjs +11 -0
- package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceUpdatePageFolderSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/folders/SpaceUpdatePageFolderSubscription.mjs +16 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceAddPageSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceAddPageSubscription.mjs +25 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceHomePageSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceHomePageSubscription.mjs +25 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceRemovePageSubscription.d.ts +5 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceRemovePageSubscription.mjs +11 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceUpdatePageSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/pages/SpaceUpdatePageSubscription.mjs +25 -0
- package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceAddVariableSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceAddVariableSubscription.mjs +20 -0
- package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceRemoveVariableSubscription.d.ts +5 -0
- package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceRemoveVariableSubscription.mjs +11 -0
- package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceUpdateVariableSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Space/variables/SpaceUpdateVariableSubscription.mjs +20 -0
- package/dist/network/graphql/builder/Subscriptions/Style/StyleUpdateSettingsSubscription.d.ts +6 -0
- package/dist/network/graphql/builder/Subscriptions/Style/StyleUpdateSettingsSubscription.mjs +12 -0
- package/dist/network/graphql/builder/Subscriptions/Style/StyleUpdatedSubscription.d.ts +4 -0
- package/dist/network/graphql/builder/Subscriptions/Style/StyleUpdatedSubscription.mjs +13 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleAddSelectorSubscription.d.ts +16 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleAddSelectorSubscription.mjs +16 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorSubscription.d.ts +7 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleRemoveSelectorSubscription.mjs +12 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleUpdateSelectorSubscription.d.ts +15 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selector/StyleUpdateSelectorSubscription.mjs +16 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleAddSelectorVariableSubscription.d.ts +10 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleAddSelectorVariableSubscription.mjs +15 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleRemoveSelectorVariableSubscription.d.ts +9 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleRemoveSelectorVariableSubscription.mjs +14 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleUpdateSelectorVariableSubscription.d.ts +10 -0
- package/dist/network/graphql/builder/Subscriptions/Style/selectorVariables/StyleUpdateSelectorVariableSubscription.mjs +15 -0
- package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleAddVariableSubscription.d.ts +8 -0
- package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleAddVariableSubscription.mjs +13 -0
- package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleRemoveVariableSubscription.d.ts +7 -0
- package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleRemoveVariableSubscription.mjs +12 -0
- package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleUpdateVariableSubscription.d.ts +8 -0
- package/dist/network/graphql/builder/Subscriptions/Style/variables/StyleUpdateVariableSubscription.mjs +13 -0
- package/dist/network/graphql/builder/Subscriptions/index.d.ts +151 -0
- package/dist/network/graphql/builder/Subscriptions/index.mjs +103 -0
- package/dist/network/graphql/builder/index.d.ts +7 -0
- package/dist/network/graphql/builder/index.mjs +4 -0
- package/dist/network/graphql/index.d.ts +2 -0
- package/dist/network/graphql/index.mjs +6 -0
- package/dist/network/graphql/sdk/Mutations/Collection/CollectionAddMutation.d.ts +2 -0
- package/dist/network/graphql/sdk/Mutations/Collection/CollectionAddRecordMutation.d.ts +4 -0
- package/dist/network/graphql/sdk/Mutations/Collection/CollectionAddRecordMutation.mjs +16 -0
- package/dist/network/graphql/sdk/Mutations/Collection/CollectionRemoveMutation.d.ts +2 -0
- package/dist/network/graphql/sdk/Mutations/Collection/CollectionRemoveRecordMutation.d.ts +4 -0
- package/dist/network/graphql/sdk/Mutations/Collection/CollectionRemoveRecordMutation.mjs +14 -0
- package/dist/network/graphql/sdk/Mutations/Collection/CollectionUpdateMutation.d.ts +2 -0
- package/dist/network/graphql/sdk/Mutations/Collection/CollectionUpdateRecordMutation.d.ts +4 -0
- package/dist/network/graphql/sdk/Mutations/Collection/CollectionUpdateRecordMutation.mjs +16 -0
- package/dist/network/graphql/sdk/Mutations/index.d.ts +14 -0
- package/dist/network/graphql/sdk/Mutations/index.mjs +11 -0
- package/dist/network/graphql/sdk/Queries/Collection/CollectionQuery.d.ts +6 -0
- package/dist/network/graphql/sdk/Queries/Collection/CollectionQuery.mjs +32 -0
- package/dist/network/graphql/sdk/Queries/Collection/CollectionRecordQuery.d.ts +6 -0
- package/dist/network/graphql/sdk/Queries/Collection/CollectionRecordQuery.mjs +14 -0
- package/dist/network/graphql/sdk/Queries/Collection/CollectionRecordsQuery.d.ts +9 -0
- package/dist/network/graphql/sdk/Queries/Collection/CollectionRecordsQuery.mjs +25 -0
- package/dist/network/graphql/sdk/Queries/Collection/CollectionsQuery.d.ts +9 -0
- package/dist/network/graphql/sdk/Queries/Collection/CollectionsQuery.mjs +25 -0
- package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +14 -0
- package/dist/network/graphql/sdk/Queries/InitQuery.mjs +100 -0
- package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.d.ts +6 -0
- package/dist/network/graphql/sdk/Queries/Segment/SegmentQuery.mjs +46 -0
- package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.d.ts +9 -0
- package/dist/network/graphql/sdk/Queries/Segment/SegmentsQuery.mjs +57 -0
- package/dist/network/graphql/sdk/Queries/index.d.ts +26 -0
- package/dist/network/graphql/sdk/Queries/index.mjs +19 -0
- package/dist/network/graphql/sdk/index.d.ts +5 -0
- package/dist/network/graphql/sdk/index.mjs +3 -0
- package/dist/network/index.d.ts +6 -0
- package/dist/network/index.mjs +8 -0
- package/dist/schema/SchemaContext.d.ts +3 -0
- package/dist/schema/SchemaContext.mjs +5 -0
- package/dist/schema/index.d.ts +4 -0
- package/dist/schema/index.mjs +3 -0
- package/dist/schema/schemaConstants.d.ts +9 -0
- package/dist/schema/schemaConstants.mjs +19 -0
- package/dist/segments/SegmentsContext.d.ts +2 -0
- package/dist/segments/SegmentsContext.mjs +6 -0
- package/dist/segments/index.d.ts +3 -0
- package/dist/segments/index.mjs +2 -0
- package/dist/server/hooks/useRscData.d.ts +14 -0
- package/dist/server/hooks/useRscData.mjs +16 -0
- package/dist/server/index.d.ts +7 -0
- package/dist/server/index.mjs +4 -0
- package/dist/server/rsc/RscContext.d.ts +13 -0
- package/dist/server/rsc/RscContext.mjs +5 -0
- package/dist/server/rsc/RscProvider.d.ts +13 -0
- package/dist/server/rsc/RscProvider.mjs +42 -0
- package/dist/style/index.d.ts +3 -0
- package/dist/style/index.mjs +2 -0
- package/dist/style/styleConstants.d.ts +105 -0
- package/dist/style/styleConstants.mjs +226 -0
- package/dist/theme/ThemeProvider.d.ts +12 -0
- package/dist/theme/ThemeProvider.mjs +40 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.mjs +2 -0
- package/dist/types/AuthTypes.d.ts +32 -0
- package/dist/types/AuthTypes.mjs +0 -0
- package/dist/types/BuilderTypes.d.ts +20 -0
- package/dist/types/BuilderTypes.mjs +0 -0
- package/dist/types/CollectionTypes.d.ts +84 -0
- package/dist/types/CollectionTypes.mjs +0 -0
- package/dist/types/CommonTypes.d.ts +24 -0
- package/dist/types/CommonTypes.mjs +0 -0
- package/dist/types/ComponentTypes.d.ts +45 -0
- package/dist/types/ComponentTypes.mjs +0 -0
- package/dist/types/DataSourceTypes.d.ts +56 -0
- package/dist/types/DataSourceTypes.mjs +0 -0
- package/dist/types/DevToolsTypes.d.ts +44 -0
- package/dist/types/DevToolsTypes.mjs +0 -0
- package/dist/types/ElementTypes.d.ts +35 -0
- package/dist/types/ElementTypes.mjs +0 -0
- package/dist/types/EventBridgeTypes.d.ts +5 -0
- package/dist/types/EventBridgeTypes.mjs +0 -0
- package/dist/types/InteractionTypes.d.ts +101 -0
- package/dist/types/InteractionTypes.mjs +0 -0
- package/dist/types/McpTypes.d.ts +164 -0
- package/dist/types/McpTypes.mjs +0 -0
- package/dist/types/NavigationTypes.d.ts +13 -0
- package/dist/types/NavigationTypes.mjs +0 -0
- package/dist/types/PluginTypes.d.ts +121 -0
- package/dist/types/PluginTypes.mjs +0 -0
- package/dist/types/ResourceTypes.d.ts +40 -0
- package/dist/types/ResourceTypes.mjs +0 -0
- package/dist/types/SchemaTypes.d.ts +152 -0
- package/dist/types/SchemaTypes.mjs +0 -0
- package/dist/types/SdkTypes.d.ts +16 -0
- package/dist/types/SdkTypes.mjs +0 -0
- package/dist/types/SegmentTypes.d.ts +41 -0
- package/dist/types/SegmentTypes.mjs +0 -0
- package/dist/types/ServerTypes.d.ts +200 -0
- package/dist/types/ServerTypes.mjs +0 -0
- package/dist/types/SpaceTypes.d.ts +25 -0
- package/dist/types/SpaceTypes.mjs +0 -0
- package/dist/types/StateTypes.d.ts +7 -0
- package/dist/types/StateTypes.mjs +0 -0
- package/dist/types/StoreTypes.d.ts +22 -0
- package/dist/types/StoreTypes.mjs +0 -0
- package/dist/types/StyleTypes.d.ts +59 -0
- package/dist/types/StyleTypes.mjs +6 -0
- package/dist/types/ThemeTypes.d.ts +5 -0
- package/dist/types/ThemeTypes.mjs +0 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/index.mjs +2 -0
- package/dist/websockets/RTCodec.d.ts +134 -0
- package/dist/websockets/RTCodec.mjs +35 -0
- package/dist/websockets/index.d.ts +3 -0
- package/dist/websockets/index.mjs +2 -0
- package/eslint.config.mjs +85 -0
- package/package.json +1063 -0
- package/setupTests.ts +29 -0
- package/tailwind.config.js +29 -0
- package/vite.config.ts +163 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/InitQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query InitQuery($environment: String!, $cursor: String, $limit: Int!) {
|
|
5
|
+
Space(environment: $environment) {
|
|
6
|
+
definition {
|
|
7
|
+
name
|
|
8
|
+
permanentUrl
|
|
9
|
+
}
|
|
10
|
+
schema {
|
|
11
|
+
settings
|
|
12
|
+
flat {
|
|
13
|
+
id
|
|
14
|
+
definition {
|
|
15
|
+
label
|
|
16
|
+
type
|
|
17
|
+
initialState
|
|
18
|
+
styleSelectors
|
|
19
|
+
bindings
|
|
20
|
+
interactions
|
|
21
|
+
parentId
|
|
22
|
+
rootId
|
|
23
|
+
items
|
|
24
|
+
}
|
|
25
|
+
attributes
|
|
26
|
+
}
|
|
27
|
+
pages
|
|
28
|
+
pageFolders {
|
|
29
|
+
id
|
|
30
|
+
name
|
|
31
|
+
slug
|
|
32
|
+
parentId
|
|
33
|
+
}
|
|
34
|
+
variables {
|
|
35
|
+
name
|
|
36
|
+
category
|
|
37
|
+
type
|
|
38
|
+
value
|
|
39
|
+
subValues {
|
|
40
|
+
when
|
|
41
|
+
value
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
segments {
|
|
46
|
+
id
|
|
47
|
+
identifier
|
|
48
|
+
definition
|
|
49
|
+
schema {
|
|
50
|
+
variables {
|
|
51
|
+
name
|
|
52
|
+
category
|
|
53
|
+
type
|
|
54
|
+
value
|
|
55
|
+
subValues {
|
|
56
|
+
value
|
|
57
|
+
when
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
flat {
|
|
61
|
+
id
|
|
62
|
+
definition {
|
|
63
|
+
label
|
|
64
|
+
type
|
|
65
|
+
initialState
|
|
66
|
+
styleSelectors
|
|
67
|
+
bindings
|
|
68
|
+
interactions
|
|
69
|
+
parentId
|
|
70
|
+
rootId
|
|
71
|
+
items
|
|
72
|
+
}
|
|
73
|
+
attributes
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
style {
|
|
77
|
+
platform
|
|
78
|
+
variables
|
|
79
|
+
mode
|
|
80
|
+
cache
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
plugins {
|
|
84
|
+
type
|
|
85
|
+
resource
|
|
86
|
+
settings
|
|
87
|
+
}
|
|
88
|
+
style {
|
|
89
|
+
id
|
|
90
|
+
platform
|
|
91
|
+
variables
|
|
92
|
+
mode
|
|
93
|
+
cache
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
Collections(cursor: $cursor, limit: $limit) {
|
|
97
|
+
edges {
|
|
98
|
+
id
|
|
99
|
+
name
|
|
100
|
+
namePlural
|
|
101
|
+
description
|
|
102
|
+
privacy
|
|
103
|
+
fields
|
|
104
|
+
records(limit: 20) {
|
|
105
|
+
edges {
|
|
106
|
+
id
|
|
107
|
+
status
|
|
108
|
+
values
|
|
109
|
+
createdAt
|
|
110
|
+
updatedAt
|
|
111
|
+
publishedAt
|
|
112
|
+
}
|
|
113
|
+
pageInfo {
|
|
114
|
+
hasPrevPage
|
|
115
|
+
hasNextPage
|
|
116
|
+
prevCursor
|
|
117
|
+
nextCursor
|
|
118
|
+
from
|
|
119
|
+
to
|
|
120
|
+
total
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
createdAt
|
|
124
|
+
updatedAt
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
`;
|
|
129
|
+
//#endregion
|
|
130
|
+
export { t as default };
|
|
@@ -0,0 +1,54 @@
|
|
|
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 };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Segment/SegmentQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SegmentQuery($id: String, $identifier: String, $environment: String!) {
|
|
5
|
+
Segment(id: $id, identifier: $identifier, environment: $environment) {
|
|
6
|
+
id
|
|
7
|
+
identifier
|
|
8
|
+
definition
|
|
9
|
+
schema {
|
|
10
|
+
variables {
|
|
11
|
+
name
|
|
12
|
+
category
|
|
13
|
+
type
|
|
14
|
+
value
|
|
15
|
+
subValues {
|
|
16
|
+
value
|
|
17
|
+
when
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
flat {
|
|
21
|
+
id
|
|
22
|
+
definition {
|
|
23
|
+
label
|
|
24
|
+
type
|
|
25
|
+
initialState
|
|
26
|
+
styleSelectors
|
|
27
|
+
bindings
|
|
28
|
+
interactions
|
|
29
|
+
parentId
|
|
30
|
+
rootId
|
|
31
|
+
items
|
|
32
|
+
}
|
|
33
|
+
attributes
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
style {
|
|
37
|
+
variables
|
|
38
|
+
platform
|
|
39
|
+
cache
|
|
40
|
+
}
|
|
41
|
+
createdAt
|
|
42
|
+
updatedAt
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
46
|
+
//#endregion
|
|
47
|
+
export { t as default };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Segment/SegmentsQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SegmentsQuery($environment: String!, $filter: JsonObject, $cursor: String, $limit: Int) {
|
|
5
|
+
Segments(environment: $environment, filter: $filter, cursor: $cursor, limit: $limit) {
|
|
6
|
+
edges {
|
|
7
|
+
id
|
|
8
|
+
identifier
|
|
9
|
+
definition
|
|
10
|
+
schema {
|
|
11
|
+
variables {
|
|
12
|
+
name
|
|
13
|
+
category
|
|
14
|
+
type
|
|
15
|
+
value
|
|
16
|
+
subValues {
|
|
17
|
+
value
|
|
18
|
+
when
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
flat {
|
|
22
|
+
id
|
|
23
|
+
definition {
|
|
24
|
+
label
|
|
25
|
+
type
|
|
26
|
+
initialState
|
|
27
|
+
styleSelectors
|
|
28
|
+
bindings
|
|
29
|
+
interactions
|
|
30
|
+
parentId
|
|
31
|
+
rootId
|
|
32
|
+
items
|
|
33
|
+
}
|
|
34
|
+
attributes
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
style {
|
|
38
|
+
variables
|
|
39
|
+
platform
|
|
40
|
+
cache
|
|
41
|
+
}
|
|
42
|
+
createdAt
|
|
43
|
+
updatedAt
|
|
44
|
+
}
|
|
45
|
+
pageInfo {
|
|
46
|
+
hasPrevPage
|
|
47
|
+
hasNextPage
|
|
48
|
+
prevCursor
|
|
49
|
+
nextCursor
|
|
50
|
+
from
|
|
51
|
+
to
|
|
52
|
+
total
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
`;
|
|
57
|
+
//#endregion
|
|
58
|
+
export { t as default };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceCdnsQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceCdnsQuery($filter: CdnInput, $page: Int, $pageSize: Int, $offset: Int) {
|
|
5
|
+
SpaceCdns(filter: $filter, page: $page, pageSize: $pageSize, offset: $offset) {
|
|
6
|
+
edges {
|
|
7
|
+
identifier
|
|
8
|
+
name
|
|
9
|
+
domain
|
|
10
|
+
provider
|
|
11
|
+
region
|
|
12
|
+
endpoint
|
|
13
|
+
bucketName
|
|
14
|
+
prefix
|
|
15
|
+
credential {
|
|
16
|
+
identifier
|
|
17
|
+
}
|
|
18
|
+
createdAt
|
|
19
|
+
updatedAt
|
|
20
|
+
}
|
|
21
|
+
pageInfo {
|
|
22
|
+
hasPrevPage
|
|
23
|
+
hasNextPage
|
|
24
|
+
from
|
|
25
|
+
to
|
|
26
|
+
total
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { t as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SpaceCredential, PageInfo } from '../../../../../types';
|
|
2
|
+
export type TSpaceCredentialsQuery = {
|
|
3
|
+
SpaceCredentials: {
|
|
4
|
+
edges: SpaceCredential[];
|
|
5
|
+
pageInfo: PageInfo;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
declare const SpaceCredentialsQuery: import('graphql').DocumentNode;
|
|
9
|
+
export default SpaceCredentialsQuery;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceCredentialsQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceCredentialsQuery($filter: CredentialInput, $page: Int, $pageSize: Int, $offset: Int) {
|
|
5
|
+
SpaceCredentials(filter: $filter, page: $page, pageSize: $pageSize, offset: $offset) {
|
|
6
|
+
edges {
|
|
7
|
+
identifier
|
|
8
|
+
name
|
|
9
|
+
provider
|
|
10
|
+
inUse
|
|
11
|
+
usedIn {
|
|
12
|
+
usedFrom
|
|
13
|
+
name
|
|
14
|
+
}
|
|
15
|
+
createdAt
|
|
16
|
+
updatedAt
|
|
17
|
+
}
|
|
18
|
+
pageInfo {
|
|
19
|
+
hasPrevPage
|
|
20
|
+
hasNextPage
|
|
21
|
+
from
|
|
22
|
+
to
|
|
23
|
+
total
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
`;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { t as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PageInfo, SpaceDeployment } from '../../../../../types';
|
|
2
|
+
export type TSpaceDeploymentsQuery = {
|
|
3
|
+
SpaceDeployments: {
|
|
4
|
+
edges: SpaceDeployment[];
|
|
5
|
+
pageInfo: PageInfo;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
declare const SpaceDeploymentsQuery: import('graphql').DocumentNode;
|
|
9
|
+
export default SpaceDeploymentsQuery;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceDeploymentsQuery($filter: DeploymentInput, $page: Int, $pageSize: Int, $offset: Int) {
|
|
5
|
+
SpaceDeployments(filter: $filter, page: $page, pageSize: $pageSize, offset: $offset) {
|
|
6
|
+
edges {
|
|
7
|
+
id
|
|
8
|
+
environment
|
|
9
|
+
revision
|
|
10
|
+
domain
|
|
11
|
+
isVerified
|
|
12
|
+
default
|
|
13
|
+
credential {
|
|
14
|
+
identifier
|
|
15
|
+
}
|
|
16
|
+
createdAt
|
|
17
|
+
updatedAt
|
|
18
|
+
}
|
|
19
|
+
pageInfo {
|
|
20
|
+
hasPrevPage
|
|
21
|
+
hasNextPage
|
|
22
|
+
from
|
|
23
|
+
to
|
|
24
|
+
total
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { t as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type TSpaceLatestRevisionQuery = {
|
|
2
|
+
SpaceLatestRevision: {
|
|
3
|
+
snapshot: {
|
|
4
|
+
revision: number;
|
|
5
|
+
publishedAt: Date;
|
|
6
|
+
description: string;
|
|
7
|
+
} | null;
|
|
8
|
+
} | null;
|
|
9
|
+
};
|
|
10
|
+
declare const SpaceLatestRevisionQuery: import('graphql').DocumentNode;
|
|
11
|
+
export default SpaceLatestRevisionQuery;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceLatestRevisionQuery($environment: String!) {
|
|
5
|
+
SpaceLatestRevision(environment: $environment) {
|
|
6
|
+
snapshot {
|
|
7
|
+
description
|
|
8
|
+
revision
|
|
9
|
+
publishedAt
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { t as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Queries/Space/SpaceResourcesQuery.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
query SpaceResourcesQuery($cdnIdentifier: String!, $filter: ResourceInput, $page: Int, $pageSize: Int, $offset: Int) {
|
|
5
|
+
SpaceResources(cdnIdentifier: $cdnIdentifier, filter: $filter, page: $page, pageSize: $pageSize, offset: $offset) {
|
|
6
|
+
resources {
|
|
7
|
+
id
|
|
8
|
+
cdnIdentifier
|
|
9
|
+
name
|
|
10
|
+
type
|
|
11
|
+
size
|
|
12
|
+
path
|
|
13
|
+
createdAt
|
|
14
|
+
updatedAt
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { t as default };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { TCollectionQuery } from './Collection/CollectionQuery';
|
|
2
|
+
import { TCollectionRecordQuery } from './Collection/CollectionRecordQuery';
|
|
3
|
+
import { TCollectionRecordsQuery } from './Collection/CollectionRecordsQuery';
|
|
4
|
+
import { TCollectionsQuery } from './Collection/CollectionsQuery';
|
|
5
|
+
import { TInitQuery } from './InitQuery';
|
|
6
|
+
import { TPluginsQuery } from './PluginsQuery';
|
|
7
|
+
import { TSegmentQuery } from './Segment/SegmentQuery';
|
|
8
|
+
import { TSegmentsQuery } from './Segment/SegmentsQuery';
|
|
9
|
+
import { TSpaceCdnsQuery } from './Space/SpaceCdnsQuery';
|
|
10
|
+
import { TSpaceCredentialsQuery } from './Space/SpaceCredentialsQuery';
|
|
11
|
+
import { TSpaceDeploymentsQuery } from './Space/SpaceDeploymentsQuery';
|
|
12
|
+
import { TSpaceLatestRevisionQuery } from './Space/SpaceLatestRevisionQuery';
|
|
13
|
+
import { TSpaceResourcesQuery } from './Space/SpaceResourcesQuery';
|
|
14
|
+
export type BuilderQueriesMap = {
|
|
15
|
+
Init: TInitQuery;
|
|
16
|
+
SpaceLatestRevision: TSpaceLatestRevisionQuery;
|
|
17
|
+
SpaceResources: TSpaceResourcesQuery;
|
|
18
|
+
SpaceDeployments: TSpaceDeploymentsQuery;
|
|
19
|
+
SpaceCdns: TSpaceCdnsQuery;
|
|
20
|
+
SpaceCredentials: TSpaceCredentialsQuery;
|
|
21
|
+
Plugins: TPluginsQuery;
|
|
22
|
+
Collection: TCollectionQuery;
|
|
23
|
+
Collections: TCollectionsQuery;
|
|
24
|
+
CollectionRecords: TCollectionRecordsQuery;
|
|
25
|
+
CollectionRecord: TCollectionRecordQuery;
|
|
26
|
+
Segment: TSegmentQuery;
|
|
27
|
+
Segments: TSegmentsQuery;
|
|
28
|
+
};
|
|
29
|
+
declare const BuilderQueries: {
|
|
30
|
+
Init: import('graphql').DocumentNode;
|
|
31
|
+
SpaceLatestRevision: import('graphql').DocumentNode;
|
|
32
|
+
SpaceResources: import('graphql').DocumentNode;
|
|
33
|
+
SpaceDeployments: import('graphql').DocumentNode;
|
|
34
|
+
SpaceCdns: import('graphql').DocumentNode;
|
|
35
|
+
SpaceCredentials: import('graphql').DocumentNode;
|
|
36
|
+
Plugins: import('graphql').DocumentNode;
|
|
37
|
+
Collection: import('graphql').DocumentNode;
|
|
38
|
+
Collections: import('graphql').DocumentNode;
|
|
39
|
+
CollectionRecords: import('graphql').DocumentNode;
|
|
40
|
+
CollectionRecord: import('graphql').DocumentNode;
|
|
41
|
+
Segment: import('graphql').DocumentNode;
|
|
42
|
+
Segments: import('graphql').DocumentNode;
|
|
43
|
+
};
|
|
44
|
+
export default BuilderQueries;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import e from "./Collection/CollectionQuery.mjs";
|
|
2
|
+
import t from "./Collection/CollectionRecordQuery.mjs";
|
|
3
|
+
import n from "./Collection/CollectionRecordsQuery.mjs";
|
|
4
|
+
import r from "./Collection/CollectionsQuery.mjs";
|
|
5
|
+
import i from "./InitQuery.mjs";
|
|
6
|
+
import a from "./PluginsQuery.mjs";
|
|
7
|
+
import o from "./Segment/SegmentQuery.mjs";
|
|
8
|
+
import s from "./Segment/SegmentsQuery.mjs";
|
|
9
|
+
import c from "./Space/SpaceCdnsQuery.mjs";
|
|
10
|
+
import l from "./Space/SpaceCredentialsQuery.mjs";
|
|
11
|
+
import u from "./Space/SpaceDeploymentsQuery.mjs";
|
|
12
|
+
import d from "./Space/SpaceLatestRevisionQuery.mjs";
|
|
13
|
+
import f from "./Space/SpaceResourcesQuery.mjs";
|
|
14
|
+
//#region src/network/graphql/builder/Queries/index.ts
|
|
15
|
+
var p = {
|
|
16
|
+
Init: i,
|
|
17
|
+
SpaceLatestRevision: d,
|
|
18
|
+
SpaceResources: f,
|
|
19
|
+
SpaceDeployments: u,
|
|
20
|
+
SpaceCdns: c,
|
|
21
|
+
SpaceCredentials: l,
|
|
22
|
+
Plugins: a,
|
|
23
|
+
Collection: e,
|
|
24
|
+
Collections: r,
|
|
25
|
+
CollectionRecords: n,
|
|
26
|
+
CollectionRecord: t,
|
|
27
|
+
Segment: o,
|
|
28
|
+
Segments: s
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { p as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type TCollaboratorConnectedSubscription = {
|
|
2
|
+
color: string;
|
|
3
|
+
instanceId: string;
|
|
4
|
+
user: {
|
|
5
|
+
id: string;
|
|
6
|
+
firstName: string;
|
|
7
|
+
surName: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
declare const CollaboratorConnectedSubscription: import('graphql').DocumentNode;
|
|
11
|
+
export default CollaboratorConnectedSubscription;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Subscriptions/Collaborator/CollaboratorConnectedSubscription.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
subscription {
|
|
5
|
+
CollaboratorConnected {
|
|
6
|
+
color
|
|
7
|
+
instanceId
|
|
8
|
+
user {
|
|
9
|
+
id
|
|
10
|
+
firstName
|
|
11
|
+
surName
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { t as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type TCollaboratorDisconnectedSubscription = {
|
|
2
|
+
color: string;
|
|
3
|
+
instanceId: string;
|
|
4
|
+
user: {
|
|
5
|
+
id: string;
|
|
6
|
+
firstName: string;
|
|
7
|
+
surName: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
declare const CollaboratorDisconnectedSubscription: import('graphql').DocumentNode;
|
|
11
|
+
export default CollaboratorDisconnectedSubscription;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client/core";
|
|
2
|
+
//#region src/network/graphql/builder/Subscriptions/Collaborator/CollaboratorDisconnectedSubscription.ts
|
|
3
|
+
var t = e`
|
|
4
|
+
subscription {
|
|
5
|
+
CollaboratorDisconnected {
|
|
6
|
+
color
|
|
7
|
+
instanceId
|
|
8
|
+
user {
|
|
9
|
+
id
|
|
10
|
+
firstName
|
|
11
|
+
surName
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { t as default };
|