@plitzi/sdk-shared 0.39.1 → 0.39.2
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 +7 -0
- package/dist/_virtual/_rolldown/runtime.mjs +1 -2
- package/dist/actions/access.mjs +1 -2
- package/dist/actions/cron.mjs +1 -2
- package/dist/actions/failureHandler.mjs +1 -2
- package/dist/actions/flowDelay.d.ts +6 -0
- package/dist/actions/flowDelay.mjs +3 -0
- package/dist/actions/functions.d.ts +6 -3
- package/dist/actions/functions.mjs +12 -8
- package/dist/actions/index.d.ts +2 -1
- package/dist/actions/index.mjs +10 -9
- package/dist/actions/jobs.mjs +1 -2
- package/dist/actions/smtp.mjs +1 -2
- package/dist/actions/triggerParams.mjs +1 -2
- package/dist/actions/triggers.mjs +1 -2
- package/dist/actions/validateDocument.mjs +133 -123
- package/dist/activity/describe.mjs +1 -2
- package/dist/activity/guard.mjs +1 -2
- package/dist/activity/types.mjs +1 -2
- package/dist/auth/failureChannel.mjs +1 -2
- package/dist/auth/visitorRoles.mjs +1 -2
- package/dist/authoring/builder.mjs +1 -2
- package/dist/authoring/declare.mjs +1 -2
- package/dist/authoring/elementCallbacks.mjs +1 -2
- package/dist/authoring/index.mjs +3 -3
- package/dist/authoring/paramSpec.mjs +1 -2
- package/dist/authoring/spaceCallbacks.mjs +1 -2
- package/dist/builder/contexts/BuilderContext.mjs +1 -2
- package/dist/builder/contexts/index.mjs +1 -2
- package/dist/conditions/dates.d.ts +2 -0
- package/dist/conditions/dates.mjs +12 -0
- package/dist/conditions/evaluateRuleGroup.d.ts +13 -0
- package/dist/conditions/evaluateRuleGroup.mjs +4 -0
- package/dist/conditions/evaluator.d.ts +39 -0
- package/dist/conditions/evaluator.mjs +75 -0
- package/dist/conditions/index.d.ts +10 -0
- package/dist/conditions/index.mjs +5 -0
- package/dist/conditions/rules.d.ts +3 -0
- package/dist/conditions/rules.mjs +3 -0
- package/dist/conditions/types.d.ts +44 -0
- package/dist/connectors/constants.mjs +1 -2
- package/dist/connectors/manifestTokens.mjs +1 -2
- package/dist/connectors/presets.mjs +1 -2
- package/dist/connectors/validateManifest.mjs +56 -57
- package/dist/dataSource/computed.mjs +16 -17
- package/dist/dataSource/getBindingsDetails.d.ts +5 -6
- package/dist/dataSource/getBindingsDetails.mjs +65 -40
- package/dist/dataSource/globalSources.d.ts +1 -1
- package/dist/dataSource/globalSources.mjs +1 -2
- package/dist/dataSource/helpers/getSourceName.mjs +1 -2
- package/dist/dataSource/index.mjs +5 -5
- package/dist/dataSource/utility/arrayMap.mjs +2 -2
- package/dist/dataSource/utility/capitalize.mjs +1 -2
- package/dist/dataSource/utility/checkboxParams.mjs +1 -2
- package/dist/dataSource/utility/dateConverter.mjs +0 -1
- package/dist/dataSource/utility/index.mjs +15 -16
- package/dist/dataSource/utility/not.mjs +1 -2
- package/dist/dataSource/utility/staticValue.mjs +0 -1
- package/dist/dataSource/utility/stringToArray.mjs +0 -1
- package/dist/dataSource/utility/styleSelector.mjs +1 -2
- package/dist/dataSource/utility/styleVariant.mjs +2 -3
- package/dist/dataSource/utility/truthiness.mjs +1 -2
- package/dist/dataSource/utility/twigTemplate.mjs +0 -1
- package/dist/dataSource/variables/resolveVariables.mjs +2 -3
- package/dist/dates/formatDate.mjs +29 -30
- package/dist/dates/isDate.mjs +1 -2
- package/dist/devTools/chrome.mjs +1 -2
- package/dist/devTools/debugCookie.mjs +1 -2
- package/dist/devTools/index.mjs +5 -5
- package/dist/devTools/interactionLog.mjs +1 -2
- package/dist/devTools/react/DevToolsContext.mjs +1 -2
- package/dist/devTools/sight/sight.mjs +1 -2
- package/dist/devTools/utils/PlitziConsole.mjs +1 -2
- package/dist/elements/ComponentContext.mjs +1 -2
- package/dist/flags/flagsCookie.mjs +5 -6
- package/dist/flags/index.d.ts +1 -0
- package/dist/flags/index.mjs +4 -3
- package/dist/flags/overrides.d.ts +36 -0
- package/dist/flags/overrides.mjs +13 -0
- package/dist/flags/react/useFlagResolution.mjs +5 -6
- package/dist/flags/resolveFlags.d.ts +1 -1
- package/dist/flags/resolveFlags.mjs +2 -3
- package/dist/flags/schemaFlag.mjs +1 -2
- package/dist/functions/contract.d.ts +326 -0
- package/dist/functions/contract.mjs +3 -0
- package/dist/functions/index.d.ts +15 -0
- package/dist/functions/index.mjs +9 -0
- package/dist/functions/kv.d.ts +80 -0
- package/dist/functions/kvChange.d.ts +67 -0
- package/dist/functions/kvChange.mjs +24 -0
- package/dist/functions/later.d.ts +18 -0
- package/dist/functions/messages.d.ts +4 -0
- package/dist/functions/messages.mjs +205 -0
- package/dist/functions/protocol.d.ts +416 -0
- package/dist/functions/protocol.mjs +37 -0
- package/dist/functions/rateLimit.d.ts +17 -0
- package/dist/functions/rateLimit.mjs +0 -0
- package/dist/functions/refusal.d.ts +26 -0
- package/dist/functions/refusal.mjs +11 -0
- package/dist/functions/runtime.d.ts +44 -0
- package/dist/functions/runtime.mjs +13 -0
- package/dist/functions/sizes.d.ts +27 -0
- package/dist/functions/sizes.mjs +7 -0
- package/dist/functions/wire.d.ts +11 -0
- package/dist/functions/wire.mjs +39 -0
- package/dist/helpers/canonicalJson.mjs +1 -2
- package/dist/helpers/clipboard.mjs +1 -2
- package/dist/helpers/cookies.mjs +1 -2
- package/dist/helpers/deepEqual/deepEqual.d.ts +5 -0
- package/dist/helpers/deepEqual/deepEqual.mjs +44 -0
- package/dist/helpers/deepEqual/index.d.ts +1 -0
- package/dist/helpers/deepEqual/index.mjs +1 -0
- package/dist/helpers/eventTarget.mjs +1 -2
- package/dist/helpers/fetchManifest.mjs +1 -2
- package/dist/helpers/images.mjs +1 -2
- package/dist/helpers/index.d.ts +4 -6
- package/dist/helpers/index.mjs +24 -20
- package/dist/helpers/interval.mjs +1 -2
- package/dist/helpers/isRecord.mjs +1 -2
- package/dist/helpers/keys.mjs +1 -2
- package/dist/helpers/lodash/camelCase.d.ts +1 -0
- package/dist/helpers/lodash/camelCase.mjs +7 -0
- package/dist/helpers/lodash/capitalize.d.ts +1 -0
- package/dist/helpers/lodash/capitalize.mjs +5 -0
- package/dist/helpers/lodash/cloneDeep.d.ts +8 -0
- package/dist/helpers/lodash/cloneDeep.mjs +53 -0
- package/dist/helpers/lodash/get.d.ts +11 -0
- package/dist/helpers/lodash/get.mjs +14 -0
- package/dist/helpers/lodash/has.d.ts +2 -0
- package/dist/helpers/lodash/has.mjs +12 -0
- package/dist/helpers/lodash/index.d.ts +11 -0
- package/dist/helpers/lodash/index.mjs +7 -0
- package/dist/helpers/lodash/omit.d.ts +4 -0
- package/dist/helpers/lodash/omit.mjs +35 -0
- package/dist/helpers/lodash/set.d.ts +2 -0
- package/dist/helpers/lodash/set.mjs +20 -0
- package/dist/helpers/lodash/shared.d.ts +2 -0
- package/dist/helpers/lodash/shared.mjs +37 -0
- package/dist/helpers/reducerOrigin.mjs +1 -2
- package/dist/helpers/replaceEqualDeep/index.d.ts +1 -0
- package/dist/helpers/replaceEqualDeep/index.mjs +1 -0
- package/dist/helpers/replaceEqualDeep/replaceEqualDeep.d.ts +12 -0
- package/dist/helpers/replaceEqualDeep/replaceEqualDeep.mjs +30 -0
- package/dist/helpers/resources.d.ts +21 -0
- package/dist/helpers/resources.mjs +40 -0
- package/dist/helpers/scroll.mjs +1 -2
- package/dist/helpers/security.d.ts +15 -0
- package/dist/helpers/security.mjs +8 -4
- package/dist/helpers/spaceRoot.mjs +1 -2
- package/dist/helpers/syntaxHighlight.mjs +1 -2
- package/dist/helpers/twigWrapper/Evaluator/Evaluator.mjs +75 -76
- package/dist/helpers/twigWrapper/Evaluator/helpers.mjs +1 -2
- package/dist/helpers/twigWrapper/Lexer/Lexer.mjs +1 -2
- package/dist/helpers/twigWrapper/Lexer/types.mjs +1 -2
- package/dist/helpers/twigWrapper/Parser/Cursor.mjs +1 -2
- package/dist/helpers/twigWrapper/Parser/ExpressionParser.mjs +1 -2
- package/dist/helpers/twigWrapper/Parser/Parser.mjs +1 -2
- package/dist/helpers/twigWrapper/Parser/helpers.mjs +1 -2
- package/dist/helpers/twigWrapper/TemplateCache/TemplateCache.mjs +1 -2
- package/dist/helpers/twigWrapper/charClass.mjs +1 -2
- package/dist/helpers/twigWrapper/filters/arrays.mjs +1 -2
- package/dist/helpers/twigWrapper/filters/catalog/index.mjs +1 -2
- package/dist/helpers/twigWrapper/filters/dateParts.mjs +1 -2
- package/dist/helpers/twigWrapper/filters/dates.mjs +13 -14
- package/dist/helpers/twigWrapper/filters/filters.mjs +21 -22
- package/dist/helpers/twigWrapper/filters/hashing.mjs +1 -2
- package/dist/helpers/twigWrapper/filters/misc.mjs +27 -28
- package/dist/helpers/twigWrapper/filters/numbers.mjs +1 -2
- package/dist/helpers/twigWrapper/filters/objects.mjs +1 -2
- package/dist/helpers/twigWrapper/filters/raw.mjs +1 -2
- package/dist/helpers/twigWrapper/filters/strings.mjs +23 -24
- package/dist/helpers/twigWrapper/filters/types.mjs +1 -2
- package/dist/helpers/twigWrapper/filters/values.mjs +1 -2
- package/dist/helpers/twigWrapper/index.mjs +8 -8
- package/dist/helpers/twigWrapper/inspectTemplate.mjs +12 -13
- package/dist/helpers/twigWrapper/processTwig/helpers.mjs +1 -2
- package/dist/helpers/twigWrapper/processTwig/processTwig.mjs +1 -2
- package/dist/helpers/twigWrapper/processTwig/resolveStepParam.mjs +1 -2
- package/dist/helpers/twigWrapper/templateRoots.d.ts +3 -9
- package/dist/helpers/twigWrapper/templateRoots.mjs +14 -9
- package/dist/helpers/twigWrapper/tokens/hasTemplateSyntax.mjs +1 -2
- package/dist/helpers/twigWrapper/tokens/hasValidToken.mjs +1 -2
- package/dist/helpers/twigWrapper/tokens/tokenPatterns.mjs +1 -2
- package/dist/helpers/utils.mjs +2 -3
- package/dist/history/describe.mjs +1 -2
- package/dist/history/diff.mjs +1 -2
- package/dist/hooks/index.mjs +5 -5
- package/dist/hooks/useFontHead.mjs +1 -2
- package/dist/hooks/useNetwork.mjs +1 -2
- package/dist/hooks/usePlitzi.d.ts +7 -6
- package/dist/hooks/usePlitzi.mjs +1 -2
- package/dist/hooks/useStableValue.mjs +5 -6
- package/dist/navigation/index.mjs +3 -3
- package/dist/navigation/matchPath.mjs +19 -11
- package/dist/navigation/routes.mjs +57 -38
- package/dist/navigation/sitemap.mjs +9 -10
- package/dist/network/entitlements.d.ts +21 -0
- package/dist/network/entitlements.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddElementMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddPluginMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceAddSnippetMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceCloneElementMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceDeployMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceFixIssuesMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceMoveElementMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpacePublishMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemoveElementMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceRemovePluginMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceRenameElementMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceRunE2eTestsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceSetTestsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateElementsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdatePluginMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSchemaMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/SpaceUpdateSettingsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceAddActionMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRemoveActionMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceRunActionMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/actions/SpaceUpdateActionMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceAddCdnBucketMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceAddCdnMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceRemoveCdnBucketMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceRemoveCdnMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceSetCdnCredentialMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceUpdateCdnBucketMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/cdns/SpaceUpdateCdnMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceAddComponentMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceDetachInstanceMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceRemoveComponentMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/components/SpaceUpdateComponentMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceAddConnectorMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceRemoveConnectorMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/connectors/SpaceUpdateConnectorMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceAddCredentialMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceRemoveCredentialMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/credentials/SpaceUpdateCredentialMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/data/SpaceSaveDataMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/flags/SpacePublishFlagsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/flags/SpaceRemoveFlagMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/flags/SpaceSetFlagMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceAddPageFolderMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceRemovePageFolderMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/folders/SpaceUpdatePageFolderMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceInstallTemplateFunctionsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceRemoveFunctionsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceSaveFunctionsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/functions/SpaceTryFunctionMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/jobs/SpaceControlJobMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceAddPageMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceHomePageMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceRemovePageMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/pages/SpaceUpdatePageMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceAddResourceMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceMoveResourceMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/resources/SpaceRemoveResourceMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceRemoveRuntimeVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeSizeMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceSetRuntimeVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStartRuntimeMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/runtime/SpaceStopRuntimeMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceAddVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceRemoveVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/variables/SpaceUpdateVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceAddVisitorMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Space/visitors/SpaceRemoveVisitorMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/StyleUpdateMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/StyleUpdateSettingsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleAddFontMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleRemoveFontMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/fonts/StyleUpdateFontMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleAddSelectorVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleRemoveSelectorVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/selectorVariables/StyleUpdateSelectorVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleAddSelectorMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleRemoveSelectorsMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/selectors/StyleUpdateSelectorMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleAddVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleRemoveVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/Style/variables/StyleUpdateVariableMutation.mjs +1 -2
- package/dist/network/graphql/builder/Mutations/index.mjs +155 -156
- package/dist/network/graphql/builder/Queries/InitQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceActionEventsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceActionTasksQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceActionsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceCdnsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceChangesQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceCheckActionQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceConnectorsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceCredentialsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceDataQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceDeploymentsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.d.ts +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceFunctionsQuery.mjs +2 -3
- package/dist/network/graphql/builder/Queries/Space/SpaceIssuesQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceJobsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceLatestRevisionQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceQuotaQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceResourcesQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.d.ts +1 -1
- package/dist/network/graphql/builder/Queries/Space/SpaceRuntimeQuery.mjs +2 -3
- package/dist/network/graphql/builder/Queries/Space/SpaceTestsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceVersionContentsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/Space/SpaceVisitorsQuery.mjs +1 -2
- package/dist/network/graphql/builder/Queries/index.mjs +37 -38
- package/dist/network/graphql/builder/Subscriptions/SpaceEventSubscription.mjs +1 -2
- package/dist/network/graphql/builder/Subscriptions/index.mjs +1 -2
- package/dist/network/graphql/builder/fragments/cdnFields.mjs +1 -2
- package/dist/network/graphql/index.d.ts +0 -1
- package/dist/network/graphql/index.mjs +1 -3
- package/dist/network/index.d.ts +1 -5
- package/dist/network/index.mjs +7 -11
- package/dist/network/{NetworkContext.d.ts → react/NetworkContext.d.ts} +12 -11
- package/dist/network/{NetworkContext.mjs → react/NetworkContext.mjs} +1 -2
- package/dist/network/{NetworkInternalContext.d.ts → react/NetworkInternalContext.d.ts} +1 -1
- package/dist/network/react/NetworkInternalContext.mjs +4 -0
- package/dist/network/react/index.d.ts +5 -0
- package/dist/network/react/index.mjs +3 -0
- package/dist/network/spaceEvents.mjs +16 -17
- package/dist/plugins/bundle/bundle.mjs +1 -2
- package/dist/plugins/declaration.mjs +1 -2
- package/dist/plugins/react/ElementRegistryContext.d.ts +26 -0
- package/dist/plugins/react/ElementRegistryContext.mjs +17 -0
- package/dist/plugins/react/PluginAssetsContext.d.ts +11 -0
- package/dist/plugins/react/PluginAssetsContext.mjs +4 -0
- package/dist/plugins/react/PluginsContext.mjs +6 -3
- package/dist/plugins/react/index.d.ts +3 -0
- package/dist/plugins/react/index.mjs +4 -1
- package/dist/project/index.mjs +7 -7
- package/dist/project/layout/check.mjs +26 -27
- package/dist/project/layout/codes.mjs +1 -2
- package/dist/project/layout/contents.mjs +12 -13
- package/dist/project/layout/files.mjs +1 -2
- package/dist/project/layout/folders.mjs +43 -44
- package/dist/project/layout/index.mjs +3 -3
- package/dist/project/layout/plugins.mjs +56 -57
- package/dist/project/layout/vendor.mjs +14 -15
- package/dist/project/network.mjs +1 -2
- package/dist/project/pages/index.mjs +1 -2
- package/dist/project/paths/index.d.ts +8 -2
- package/dist/project/paths/index.mjs +3 -4
- package/dist/project/root.mjs +1 -2
- package/dist/queries/index.mjs +1 -2
- package/dist/queries/queryCache.mjs +1 -2
- package/dist/queries/serverQueries.mjs +1 -2
- package/dist/queries/useQuery.mjs +1 -2
- package/dist/queries/useServerQuery.mjs +1 -2
- package/dist/{helpers → react}/enclosingSpace.mjs +1 -2
- package/dist/react/generateFacade.d.ts +1 -0
- package/dist/{helpers → react}/generateFacade.mjs +4 -5
- package/dist/react/index.d.ts +8 -0
- package/dist/react/index.mjs +4 -0
- package/dist/{helpers → react}/sharedContext.mjs +0 -1
- package/dist/realtime/client.mjs +3 -4
- package/dist/realtime/index.mjs +4 -4
- package/dist/realtime/presence.mjs +1 -2
- package/dist/realtime/topics.mjs +1 -2
- package/dist/runs/index.mjs +1 -2
- package/dist/runs/report.mjs +1 -2
- package/dist/schema/anchor.mjs +1 -2
- package/dist/schema/index.mjs +18 -18
- package/dist/schema/layoutChain.mjs +1 -2
- package/dist/schema/markdownHeadings.mjs +1 -2
- package/dist/schema/motion.mjs +1 -2
- package/dist/schema/motionReveal.mjs +1 -2
- package/dist/schema/pageAccess.d.ts +9 -0
- package/dist/schema/pageAccess.mjs +42 -36
- package/dist/schema/pageElements.d.ts +3 -1
- package/dist/schema/pageElements.mjs +9 -3
- package/dist/schema/pageHead.d.ts +5 -2
- package/dist/schema/pageHead.mjs +3 -4
- package/dist/schema/providerAnswer.mjs +1 -2
- package/dist/schema/providerWhen.d.ts +1 -1
- package/dist/schema/providerWhen.mjs +6 -7
- package/dist/schema/react/SchemaContext.mjs +1 -2
- package/dist/schema/schemaConstants.mjs +1 -2
- package/dist/schema/schemaSettings.mjs +1 -2
- package/dist/schema/serverElements.d.ts +0 -24
- package/dist/schema/serverElements.mjs +60 -39
- package/dist/schema/serverInput.mjs +23 -24
- package/dist/schema/serverQuery.d.ts +15 -5
- package/dist/schema/serverQuery.mjs +47 -35
- package/dist/schema/snippet.mjs +1 -2
- package/dist/schema/wire.mjs +1 -2
- package/dist/security/index.d.ts +49 -0
- package/dist/security/index.mjs +44 -0
- package/dist/server/actions/useActionsSync.mjs +1 -2
- package/dist/server/actions/useImagesSync.mjs +1 -2
- package/dist/server/actions/useRealtimeSync.mjs +1 -2
- package/dist/server/index.mjs +7 -7
- package/dist/server/rsc/refreshRsc.mjs +23 -24
- package/dist/server/rsc/useRscRefresh.mjs +1 -2
- package/dist/server/rsc/useRscSync.mjs +1 -2
- package/dist/server/usePluginRoute.mjs +1 -2
- package/dist/source/export.d.ts +1 -1
- package/dist/source/export.mjs +1 -2
- package/dist/source/import.mjs +1 -2
- package/dist/source/index.mjs +4 -4
- package/dist/source/snapshot.mjs +1 -2
- package/dist/state/index.d.ts +0 -1
- package/dist/state/index.mjs +1 -3
- package/dist/state/paintedState.mjs +10 -11
- package/dist/store/actionRuns/actionRunsRecorder.mjs +1 -2
- package/dist/store/actionRuns/actionRunsStore.mjs +1 -2
- package/dist/store/actionRuns/index.mjs +3 -3
- package/dist/store/actionRuns/useActionRuns.mjs +5 -6
- package/dist/store/index.d.ts +1 -0
- package/dist/store/index.mjs +2 -1
- package/dist/store/renderSettings.d.ts +1 -1
- package/dist/store/renderSettings.mjs +1 -2
- package/dist/{state → store}/runtimeStatePersist.mjs +29 -30
- package/dist/store/storeHooks.d.ts +45 -45
- package/dist/store/storeHooks.mjs +1 -2
- package/dist/store/tracing/index.mjs +5 -5
- package/dist/store/tracing/preview.mjs +1 -2
- package/dist/store/tracing/tracingCollector.d.ts +2 -2
- package/dist/store/tracing/tracingCollector.mjs +79 -78
- package/dist/store/tracing/tracingMiddleware.mjs +1 -2
- package/dist/store/tracing/tracingStore.mjs +1 -2
- package/dist/store/tracing/useTracing.mjs +6 -7
- package/dist/style/breakpoints.mjs +1 -2
- package/dist/style/cssLayers.mjs +1 -2
- package/dist/style/displayModes.mjs +1 -2
- package/dist/style/fontAssets.mjs +1 -2
- package/dist/style/fontValidation.mjs +14 -15
- package/dist/style/fonts.d.ts +5 -3
- package/dist/style/fonts.mjs +23 -24
- package/dist/style/fontsFromCss.mjs +1 -2
- package/dist/style/index.mjs +18 -18
- package/dist/style/keyframes.mjs +1 -2
- package/dist/style/layoutGrid.mjs +1 -2
- package/dist/style/notifications.mjs +1 -2
- package/dist/style/react/useDisplayMode.mjs +1 -2
- package/dist/style/react/useElementSize.mjs +1 -2
- package/dist/style/runtimeStyle.d.ts +19 -21
- package/dist/style/runtimeStyle.mjs +4 -7
- package/dist/style/snippetStyle.mjs +5 -6
- package/dist/style/styleConditions.mjs +1 -2
- package/dist/style/styleConstants.mjs +1 -2
- package/dist/style/stylePseudos.mjs +1 -2
- package/dist/style/styleStates.mjs +1 -2
- package/dist/style/styleTarget.mjs +24 -25
- package/dist/theme/cookie/index.mjs +1 -1
- package/dist/theme/cookie/themeCookie.d.ts +21 -1
- package/dist/theme/cookie/themeCookie.mjs +19 -4
- package/dist/theme/index.d.ts +1 -9
- package/dist/theme/index.mjs +1 -6
- package/dist/theme/{ThemeProvider.d.ts → react/ThemeProvider.d.ts} +8 -2
- package/dist/theme/react/ThemeProvider.mjs +78 -0
- package/dist/theme/{ThemeScope.d.ts → react/ThemeScope.d.ts} +6 -2
- package/dist/theme/react/ThemeScope.mjs +9 -0
- package/dist/theme/react/index.d.ts +9 -0
- package/dist/theme/react/index.mjs +5 -0
- package/dist/theme/{themeStore.d.ts → react/themeStore.d.ts} +5 -5
- package/dist/theme/{themeStore.mjs → react/themeStore.mjs} +4 -4
- package/dist/theme/{useTheme.d.ts → react/useTheme.d.ts} +1 -1
- package/dist/theme/react/useTheme.mjs +19 -0
- package/dist/types/ActionTypes.d.ts +33 -0
- package/dist/types/AuthTypes.d.ts +6 -0
- package/dist/types/CommonTypes.d.ts +14 -3
- package/dist/types/DataSourceTypes.d.ts +1 -1
- package/dist/types/FunctionTypes.d.ts +16 -6
- package/dist/types/InteractionTypes.d.ts +1 -1
- package/dist/types/JobTypes.d.ts +56 -182
- package/dist/types/PluginTypes.d.ts +8 -1
- package/dist/types/SchemaTypes.d.ts +1 -1
- package/dist/types/SchemaTypes.mjs +1 -2
- package/dist/types/ServerAdapterTypes.d.ts +0 -326
- package/dist/types/ServerTypes.d.ts +0 -311
- package/dist/types/SpaceTypes.d.ts +5 -2
- package/dist/types/StoreTypes.d.ts +9 -3
- package/dist/types/StyleTypes.d.ts +6 -0
- package/dist/types/StyleTypes.mjs +1 -2
- package/dist/types/index.d.ts +0 -3
- package/dist/websockets/RTCodec.mjs +1 -2
- package/eslint.config.mjs +25 -0
- package/package.json +29 -18
- package/vite.config.ts +58 -0
- package/dist/helpers/generateFacade.d.ts +0 -2
- package/dist/helpers/ruleEvaluator.d.ts +0 -16
- package/dist/helpers/ruleEvaluator.mjs +0 -5
- package/dist/network/NetworkInternalContext.mjs +0 -5
- package/dist/network/graphql/sdk/Mutations/index.d.ts +0 -3
- package/dist/network/graphql/sdk/Mutations/index.mjs +0 -4
- package/dist/network/graphql/sdk/Queries/InitQuery.d.ts +0 -16
- package/dist/network/graphql/sdk/Queries/InitQuery.mjs +0 -4
- package/dist/network/graphql/sdk/Queries/index.d.ts +0 -6
- package/dist/network/graphql/sdk/Queries/index.mjs +0 -5
- package/dist/network/graphql/sdk/index.d.ts +0 -5
- package/dist/network/graphql/sdk/index.mjs +0 -3
- package/dist/theme/ThemeProvider.mjs +0 -69
- package/dist/theme/ThemeScope.mjs +0 -10
- package/dist/theme/useTheme.mjs +0 -20
- package/dist/types/OAuthTypes.d.ts +0 -246
- package/dist/types/ServerConfigTypes.d.ts +0 -527
- package/dist/types/ServerLogTypes.d.ts +0 -119
- /package/dist/{types/OAuthTypes.mjs → conditions/types.mjs} +0 -0
- /package/dist/{types/ServerConfigTypes.mjs → functions/kv.mjs} +0 -0
- /package/dist/{types/ServerLogTypes.mjs → functions/later.mjs} +0 -0
- /package/dist/{helpers → react}/enclosingSpace.d.ts +0 -0
- /package/dist/{helpers → react}/sharedContext.d.ts +0 -0
- /package/dist/{state → store}/runtimeStatePersist.d.ts +0 -0
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
import e from "./
|
|
2
|
-
import t from "./
|
|
3
|
-
import n from "./Space/
|
|
1
|
+
import e from "./InitQuery.mjs";
|
|
2
|
+
import t from "./Space/SpaceActionEventsQuery.mjs";
|
|
3
|
+
import n from "./Space/SpaceActionsQuery.mjs";
|
|
4
4
|
import r from "./Space/SpaceActionTasksQuery.mjs";
|
|
5
|
-
import i from "./Space/
|
|
6
|
-
import a from "./Space/
|
|
7
|
-
import o from "./Space/
|
|
8
|
-
import s from "./Space/
|
|
9
|
-
import c from "./Space/
|
|
10
|
-
import l from "./Space/
|
|
11
|
-
import u from "./Space/
|
|
12
|
-
import d from "./Space/
|
|
13
|
-
import f from "./Space/
|
|
14
|
-
import p from "./Space/
|
|
15
|
-
import m from "./Space/
|
|
16
|
-
import h from "./Space/
|
|
17
|
-
import g from "./Space/
|
|
18
|
-
import _ from "./Space/
|
|
19
|
-
import v from "./Space/
|
|
5
|
+
import i from "./Space/SpaceCdnsQuery.mjs";
|
|
6
|
+
import a from "./Space/SpaceChangesQuery.mjs";
|
|
7
|
+
import o from "./Space/SpaceCheckActionQuery.mjs";
|
|
8
|
+
import s from "./Space/SpaceConnectorsQuery.mjs";
|
|
9
|
+
import c from "./Space/SpaceCredentialsQuery.mjs";
|
|
10
|
+
import l from "./Space/SpaceDataQuery.mjs";
|
|
11
|
+
import u from "./Space/SpaceDeploymentsQuery.mjs";
|
|
12
|
+
import d from "./Space/SpaceFunctionsQuery.mjs";
|
|
13
|
+
import f from "./Space/SpaceIssuesQuery.mjs";
|
|
14
|
+
import p from "./Space/SpaceJobsQuery.mjs";
|
|
15
|
+
import m from "./Space/SpaceLatestRevisionQuery.mjs";
|
|
16
|
+
import h from "./Space/SpaceQuotaQuery.mjs";
|
|
17
|
+
import g from "./Space/SpaceResourcesQuery.mjs";
|
|
18
|
+
import _ from "./Space/SpaceRuntimeQuery.mjs";
|
|
19
|
+
import v from "./Space/SpaceTestsQuery.mjs";
|
|
20
20
|
import y from "./Space/SpaceVersionContentsQuery.mjs";
|
|
21
21
|
import b from "./Space/SpaceVisitorsQuery.mjs";
|
|
22
|
-
|
|
22
|
+
// src/network/graphql/builder/Queries/index.ts
|
|
23
23
|
var x = {
|
|
24
|
-
Init:
|
|
25
|
-
SpaceLatestRevision:
|
|
26
|
-
SpaceQuota:
|
|
27
|
-
SpaceIssues:
|
|
28
|
-
SpaceTests:
|
|
29
|
-
SpaceChanges:
|
|
30
|
-
SpaceResources:
|
|
31
|
-
SpaceDeployments:
|
|
32
|
-
SpaceCdns:
|
|
33
|
-
SpaceActions:
|
|
34
|
-
SpaceActionEvents:
|
|
35
|
-
SpaceCheckAction:
|
|
24
|
+
Init: e,
|
|
25
|
+
SpaceLatestRevision: m,
|
|
26
|
+
SpaceQuota: h,
|
|
27
|
+
SpaceIssues: f,
|
|
28
|
+
SpaceTests: v,
|
|
29
|
+
SpaceChanges: a,
|
|
30
|
+
SpaceResources: g,
|
|
31
|
+
SpaceDeployments: u,
|
|
32
|
+
SpaceCdns: i,
|
|
33
|
+
SpaceActions: n,
|
|
34
|
+
SpaceActionEvents: t,
|
|
35
|
+
SpaceCheckAction: o,
|
|
36
36
|
SpaceActionTasks: r,
|
|
37
|
-
SpaceData:
|
|
38
|
-
SpaceFunctions:
|
|
39
|
-
SpaceJobs:
|
|
40
|
-
SpaceConnectors:
|
|
41
|
-
SpaceCredentials:
|
|
37
|
+
SpaceData: l,
|
|
38
|
+
SpaceFunctions: d,
|
|
39
|
+
SpaceJobs: p,
|
|
40
|
+
SpaceConnectors: s,
|
|
41
|
+
SpaceCredentials: c,
|
|
42
42
|
SpaceVersionContents: y,
|
|
43
43
|
SpaceVisitors: b,
|
|
44
|
-
SpaceRuntime:
|
|
44
|
+
SpaceRuntime: _
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { x as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
// src/network/graphql/builder/Subscriptions/SpaceEventSubscription.ts
|
|
2
2
|
var e = "\n subscription SpaceEventSubscription($environment: String!) {\n SpaceEvent(environment: $environment) {\n event\n data\n }\n }\n";
|
|
3
|
-
//#endregion
|
|
4
3
|
export { e as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
// src/network/graphql/builder/fragments/cdnFields.ts
|
|
2
2
|
var e = "\n identifier\n name\n provider\n endpoint\n prefix\n credential {\n identifier\n }\n buckets {\n identifier\n name\n bucketName\n region\n visibility\n domain\n }\n";
|
|
3
|
-
//#endregion
|
|
4
3
|
export { e as CDN_FIELDS };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import e from "./builder/Mutations/index.mjs";
|
|
2
2
|
import t from "./builder/Queries/index.mjs";
|
|
3
3
|
import n from "./builder/Subscriptions/index.mjs";
|
|
4
|
-
|
|
5
|
-
import i from "./sdk/Queries/index.mjs";
|
|
6
|
-
export { e as BuilderMutations, t as BuilderQueries, r as SdkMutations, i as SdkQueries, n as SpaceEventSubscription };
|
|
4
|
+
export { e as BuilderMutations, t as BuilderQueries, n as SpaceEventSubscription };
|
package/dist/network/index.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { default as NetworkContext } from './NetworkContext';
|
|
2
|
-
import { default as NetworkInternalContext } from './NetworkInternalContext';
|
|
3
1
|
import { default as SpaceEvents } from './spaceEvents';
|
|
4
|
-
export * from './NetworkContext';
|
|
5
|
-
export * from './NetworkInternalContext';
|
|
6
2
|
export * from './spaceEvents';
|
|
7
3
|
export * from './entitlements';
|
|
8
4
|
export * from './graphql';
|
|
9
|
-
export {
|
|
5
|
+
export { SpaceEvents };
|
package/dist/network/index.mjs
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import e from "./
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import s from "
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
import u from "./graphql/sdk/Queries/index.mjs";
|
|
9
|
-
import { elementFromWire as d, schemaFromWire as f, schemaToWire as p } from "../schema/wire.mjs";
|
|
10
|
-
import { SpaceEvents as m, spaceEventSchemas as h, validateSpaceEvent as g } from "./spaceEvents.mjs";
|
|
11
|
-
export { o as BuilderMutations, s as BuilderQueries, e as NetworkContext, t as NetworkInternalContext, n as QUOTA_NEAR_RATIO, l as SdkMutations, u as SdkQueries, c as SpaceEventSubscription, m as SpaceEvents, d as elementFromWire, r as isIncluded, i as isPlanRefusal, a as mayDo, f as schemaFromWire, p as schemaToWire, h as spaceEventSchemas, g as validateSpaceEvent };
|
|
1
|
+
import { SpaceEvents as e, spaceEventSchemas as t, validateSpaceEvent as n } from "./spaceEvents.mjs";
|
|
2
|
+
import r from "./graphql/builder/Mutations/index.mjs";
|
|
3
|
+
import i from "./graphql/builder/Queries/index.mjs";
|
|
4
|
+
import a from "./graphql/builder/Subscriptions/index.mjs";
|
|
5
|
+
import { elementFromWire as o, schemaFromWire as s, schemaToWire as c } from "../schema/wire.mjs";
|
|
6
|
+
import { QUOTA_NEAR_RATIO as l, isIncluded as u, isPlanRefusal as d, mayDo as f } from "./entitlements.mjs";
|
|
7
|
+
export { r as BuilderMutations, i as BuilderQueries, l as QUOTA_NEAR_RATIO, a as SpaceEventSubscription, e as SpaceEvents, o as elementFromWire, u as isIncluded, d as isPlanRefusal, f as mayDo, s as schemaFromWire, c as schemaToWire, t as spaceEventSchemas, n as validateSpaceEvent };
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import { Environment, Server } from '
|
|
1
|
+
import { Environment, Server } from '../../types';
|
|
2
2
|
import { FetchPolicy } from '@apollo/client/core';
|
|
3
|
-
type NetworkContextValueBase
|
|
3
|
+
type NetworkContextValueBase = {
|
|
4
|
+
webKey: string;
|
|
5
|
+
server: Server;
|
|
6
|
+
userKey: string;
|
|
7
|
+
webId: number;
|
|
8
|
+
environment: Environment;
|
|
9
|
+
};
|
|
10
|
+
export type NetworkContextValueBuilder<Q extends Record<string, unknown> = Record<string, unknown>, M extends Record<string, unknown> = Record<string, unknown>, S extends Record<string, unknown> = Record<string, unknown>> = NetworkContextValueBase & {
|
|
11
|
+
/** The builder's GraphQL: the SDK sends none, and asks the page server for the space instead. */
|
|
4
12
|
mutate: <T extends keyof M>(mutationKey: T, variables: Record<string, unknown>, silentError?: boolean, includeEnvironment?: boolean, uploadOptions?: object) => Promise<{
|
|
5
13
|
success: boolean;
|
|
6
14
|
result?: M[T];
|
|
@@ -11,13 +19,6 @@ type NetworkContextValueBase<Q extends Record<string, unknown> = Record<string,
|
|
|
11
19
|
result?: Q[T];
|
|
12
20
|
error?: string | Error;
|
|
13
21
|
}>;
|
|
14
|
-
webKey: string;
|
|
15
|
-
server: Server;
|
|
16
|
-
userKey: string;
|
|
17
|
-
webId: number;
|
|
18
|
-
environment: Environment;
|
|
19
|
-
};
|
|
20
|
-
export type NetworkContextValueBuilder<Q extends Record<string, unknown> = Record<string, unknown>, M extends Record<string, unknown> = Record<string, unknown>, S extends Record<string, unknown> = Record<string, unknown>> = NetworkContextValueBase<Q, M> & {
|
|
21
22
|
instanceId: string;
|
|
22
23
|
subscriptionManager: {
|
|
23
24
|
/** Returns the way to undo this one registration; `all` reaches the other listeners of the event too. */
|
|
@@ -27,7 +28,7 @@ export type NetworkContextValueBuilder<Q extends Record<string, unknown> = Recor
|
|
|
27
28
|
stop: () => void;
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
|
-
export type NetworkContextValue<Q extends Record<string, unknown> = Record<string, unknown>, M extends Record<string, unknown> = Record<string, unknown>, S extends Record<string, unknown> = Record<string, unknown>, T extends 'builder' | 'sdk' = 'sdk'> = T extends 'builder' ? NetworkContextValueBuilder<Q, M, S> : NetworkContextValueBase
|
|
31
|
+
export type NetworkContextValue<Q extends Record<string, unknown> = Record<string, unknown>, M extends Record<string, unknown> = Record<string, unknown>, S extends Record<string, unknown> = Record<string, unknown>, T extends 'builder' | 'sdk' = 'sdk'> = T extends 'builder' ? NetworkContextValueBuilder<Q, M, S> : NetworkContextValueBase;
|
|
31
32
|
export type BuilderNetworkContextValue<Q extends Record<string, unknown> = Record<string, unknown>, M extends Record<string, unknown> = Record<string, unknown>, S extends Record<string, unknown> = Record<string, unknown>> = NetworkContextValue<Q, M, S, 'builder'>;
|
|
32
|
-
declare const NetworkContext: import('react').Context<NetworkContextValueBase
|
|
33
|
+
declare const NetworkContext: import('react').Context<NetworkContextValueBase>;
|
|
33
34
|
export default NetworkContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { sharedContext as e } from "
|
|
1
|
+
import { sharedContext as e } from "../../react/sharedContext.mjs";
|
|
2
2
|
var t = e("NetworkContext", {
|
|
3
3
|
mutate: async () => {},
|
|
4
4
|
query: async () => {},
|
|
@@ -15,5 +15,4 @@ var t = e("NetworkContext", {
|
|
|
15
15
|
webId: "",
|
|
16
16
|
environment: "development"
|
|
17
17
|
});
|
|
18
|
-
//#endregion
|
|
19
18
|
export { t as default };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { default as NetworkContext } from './NetworkContext';
|
|
2
|
+
import { default as NetworkInternalContext } from './NetworkInternalContext';
|
|
3
|
+
export * from './NetworkContext';
|
|
4
|
+
export * from './NetworkInternalContext';
|
|
5
|
+
export { NetworkContext, NetworkInternalContext };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { isSchemaFlag as e } from "../flags/schemaFlag.mjs";
|
|
2
|
+
import { isRecord as t } from "../helpers/isRecord.mjs";
|
|
3
|
+
import { DISPLAY_MODES as n } from "../style/displayModes.mjs";
|
|
4
|
+
import { STYLE_PSEUDOS as r } from "../style/stylePseudos.mjs";
|
|
5
|
+
import { STYLE_STATES as i } from "../style/styleStates.mjs";
|
|
6
|
+
import { StyleVariableCategory as a } from "../types/StyleTypes.mjs";
|
|
7
7
|
import { elementFromWire as o, schemaFromWire as s, schemaToWire as c } from "../schema/wire.mjs";
|
|
8
8
|
import { z as l } from "zod";
|
|
9
|
-
|
|
10
|
-
var u = l.custom((
|
|
9
|
+
// src/network/spaceEvents.ts
|
|
10
|
+
var u = l.custom((e) => t(e) && typeof e.id == "string", { message: "expected an element with an id" }), d = l.array(u), f = l.custom((e) => t(e) && typeof e.id == "string" && t(e.flat), { message: "expected a component with an id and a flat" }), p = l.custom((e) => t(e) && Array.isArray(e.flat), { message: "expected a schema whose `flat` is a list of elements" }), m = l.custom((e) => t(e) && typeof e.id == "string", { message: "expected a page folder with an id" }), h = l.custom((e) => t(e) && typeof e.name == "string", { message: "expected a variable with a name" }), g = l.custom(e, { message: "expected a flag with a value and its rules" }), _ = l.custom(t, { message: "expected a style attributes object" }), v = l.custom((e) => t(e) && typeof e.family == "string" && typeof e.source == "string", { message: "expected a font with a family and a source" }), y = l.custom((e) => typeof e == "string" || typeof e == "number" || t(e), { message: "expected a style variable value" }), b = l.enum(n), x = l.custom((e) => typeof e == "string", { message: "expected a drop position" }), S = l.custom((e) => typeof e == "string", { message: "expected a style category" }), C = l.enum([
|
|
11
11
|
"class",
|
|
12
12
|
"element",
|
|
13
13
|
"id"
|
|
14
|
-
]), w = l.enum(
|
|
14
|
+
]), w = l.enum(i), T = l.enum(a), E = l.object({
|
|
15
15
|
componentType: l.string().optional(),
|
|
16
16
|
styleSelector: l.string().optional(),
|
|
17
17
|
styleState: w.optional(),
|
|
18
18
|
styleVariant: l.string().optional(),
|
|
19
19
|
styleAncestor: l.string().optional(),
|
|
20
|
-
stylePseudo: l.enum(
|
|
20
|
+
stylePseudo: l.enum(r).optional(),
|
|
21
21
|
styleCondition: l.string().optional()
|
|
22
22
|
}), D = E.extend({ styleSelector: l.string() }), O = l.object({ variable: h }), k = l.object({
|
|
23
23
|
displayMode: b,
|
|
@@ -37,12 +37,12 @@ var u = l.custom((t) => e(t) && typeof t.id == "string", { message: "expected an
|
|
|
37
37
|
}), M = l.object({
|
|
38
38
|
type: l.string(),
|
|
39
39
|
resource: l.string(),
|
|
40
|
-
settings: l.custom(
|
|
40
|
+
settings: l.custom(t, { message: "expected a plugin settings object" })
|
|
41
41
|
}), N = {
|
|
42
42
|
SPACE_UPDATED: l.object({ schema: p }),
|
|
43
43
|
STYLE_UPDATED: l.object({
|
|
44
|
-
platform: l.custom(
|
|
45
|
-
variables: l.custom(
|
|
44
|
+
platform: l.custom(t),
|
|
45
|
+
variables: l.custom(t),
|
|
46
46
|
cache: l.string()
|
|
47
47
|
}),
|
|
48
48
|
SPACE_ADD_PAGE: l.object({ page: u }),
|
|
@@ -88,7 +88,7 @@ var u = l.custom((t) => e(t) && typeof t.id == "string", { message: "expected an
|
|
|
88
88
|
}),
|
|
89
89
|
SPACE_ADD_SNIPPET: l.object({
|
|
90
90
|
element: u,
|
|
91
|
-
style: l.custom(
|
|
91
|
+
style: l.custom(t),
|
|
92
92
|
to: l.string(),
|
|
93
93
|
dropPosition: x,
|
|
94
94
|
initialItems: d.optional(),
|
|
@@ -105,7 +105,7 @@ var u = l.custom((t) => e(t) && typeof t.id == "string", { message: "expected an
|
|
|
105
105
|
l.boolean()
|
|
106
106
|
])
|
|
107
107
|
}),
|
|
108
|
-
SPACE_UPDATE_TESTS: l.object({ tests: l.custom(
|
|
108
|
+
SPACE_UPDATE_TESTS: l.object({ tests: l.custom(t) }),
|
|
109
109
|
SPACE_TESTS_PLAYING: l.object({
|
|
110
110
|
run: l.string(),
|
|
111
111
|
test: l.string(),
|
|
@@ -168,7 +168,7 @@ var u = l.custom((t) => e(t) && typeof t.id == "string", { message: "expected an
|
|
|
168
168
|
}),
|
|
169
169
|
SPACE_UPDATE_COMPONENT: l.object({
|
|
170
170
|
componentId: l.string(),
|
|
171
|
-
declaration: l.custom(
|
|
171
|
+
declaration: l.custom(t)
|
|
172
172
|
}),
|
|
173
173
|
SPACE_REMOVE_COMPONENT: l.object({ componentId: l.string() }),
|
|
174
174
|
SPACE_DETACH_INSTANCE: l.object({ instanceId: l.string() })
|
|
@@ -193,5 +193,4 @@ var u = l.custom((t) => e(t) && typeof t.id == "string", { message: "expected an
|
|
|
193
193
|
}))
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
|
-
//#endregion
|
|
197
196
|
export { P as SpaceEvents, P as default, o as elementFromWire, s as schemaFromWire, c as schemaToWire, N as spaceEventSchemas, F as validateSpaceEvent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import e from "node:fs/promises";
|
|
2
2
|
import t from "node:path";
|
|
3
|
-
|
|
3
|
+
// src/plugins/bundle/bundle.ts
|
|
4
4
|
var n = [
|
|
5
5
|
".png",
|
|
6
6
|
".jpg",
|
|
@@ -58,5 +58,4 @@ var n = [
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
//#endregion
|
|
62
61
|
export { n as PLUGIN_INLINED_ASSETS, r as pluginAssetLoaders, o as pluginImportQueries };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
// src/plugins/declaration.ts
|
|
2
2
|
var e = (e) => typeof e == "object" && !!e && "$$typeof" in e, t = (t) => JSON.parse(JSON.stringify(t, (t, n) => typeof n == "function" || e(n) ? void 0 : n)), n = (e) => ({
|
|
3
3
|
...e.content ? { content: t(e.content) } : {},
|
|
4
4
|
...e.version ? { version: e.version } : {},
|
|
5
5
|
...e.initialItems ? { initialItems: [...e.initialItems] } : {},
|
|
6
6
|
...e.plugins ? { plugins: Object.fromEntries(Object.entries(e.plugins).map(([e, t]) => [e, n(t)])) } : {}
|
|
7
7
|
}), r = (e, t) => [e, ...Object.entries(t.plugins ?? {}).flatMap(([e, t]) => r(e, t))];
|
|
8
|
-
//#endregion
|
|
9
8
|
export { n as pluginDeclarationOf, r as pluginTypesOf };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentContextValue, PluginsContextValue } from '../../types';
|
|
2
|
+
/** What a container draws its items from: the components registered, their definitions, and the space's plugins. */
|
|
3
|
+
export type ElementRegistrySnapshot = {
|
|
4
|
+
components: ComponentContextValue['components'];
|
|
5
|
+
componentDefinitions: ComponentContextValue['componentDefinitions'];
|
|
6
|
+
plugins: PluginsContextValue['plugins'];
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* The registries, as one object that is the same for the life of the page — read with `get`, followed with `subscribe`.
|
|
10
|
+
*
|
|
11
|
+
* `ComponentContext` and `PluginsContext` take a new value whenever anything joins them (a plugin the page loads after
|
|
12
|
+
* it hydrated, the host's own components), and a context's every reader draws again on each: every container of the
|
|
13
|
+
* page, once per arrival. A container on a published page follows this one instead, and draws again only when what IT
|
|
14
|
+
* draws changed — whether its items' types are registered (`useInternalItems`).
|
|
15
|
+
*/
|
|
16
|
+
export type ElementRegistry = {
|
|
17
|
+
get: () => ElementRegistrySnapshot;
|
|
18
|
+
subscribe: (listener: () => void) => () => void;
|
|
19
|
+
};
|
|
20
|
+
/** The registry a provider keeps: what `ElementRegistry` reads, and `set`, which tells every follower. */
|
|
21
|
+
export declare const createElementRegistry: (initial: ElementRegistrySnapshot) => ElementRegistry & {
|
|
22
|
+
set: (next: ElementRegistrySnapshot) => void;
|
|
23
|
+
};
|
|
24
|
+
/** Absent where nothing keeps one (the builder's canvas, a bare test): its readers read the two contexts themselves. */
|
|
25
|
+
declare const ElementRegistryContext: import('react').Context<ElementRegistry | undefined>;
|
|
26
|
+
export default ElementRegistryContext;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { sharedContext as e } from "../../react/sharedContext.mjs";
|
|
2
|
+
// src/plugins/react/ElementRegistryContext.ts
|
|
3
|
+
var t = (e) => {
|
|
4
|
+
let t = e, n = /* @__PURE__ */ new Set();
|
|
5
|
+
return {
|
|
6
|
+
get: () => t,
|
|
7
|
+
subscribe: (e) => (n.add(e), () => {
|
|
8
|
+
n.delete(e);
|
|
9
|
+
}),
|
|
10
|
+
set: (e) => {
|
|
11
|
+
(e.components !== t.components || e.componentDefinitions !== t.componentDefinitions || e.plugins !== t.plugins) && (t = e, n.forEach((e) => {
|
|
12
|
+
e();
|
|
13
|
+
}));
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
}, n = e("ElementRegistryContext", void 0);
|
|
17
|
+
export { t as createElementRegistry, n as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PluginAssetsContextValue } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* The stylesheets the space's plugins and elements registered, apart from `PluginsContext`.
|
|
4
|
+
*
|
|
5
|
+
* They change as the page mounts — every element with styles of its own registers them from an effect — and every
|
|
6
|
+
* container reads `PluginsContext` for the plugins it draws. Kept together, each registration was a new value of the
|
|
7
|
+
* one context every container reads: a landing page was drawn whole twice more, in one task each, right after it
|
|
8
|
+
* hydrated. What paints them (the document's head, a canvas) reads this one.
|
|
9
|
+
*/
|
|
10
|
+
declare const PluginAssetsContext: import('react').Context<PluginAssetsContextValue>;
|
|
11
|
+
export default PluginAssetsContext;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { sharedContext as e } from "../../
|
|
2
|
-
var t = e("PluginsContext", {
|
|
3
|
-
|
|
1
|
+
import { sharedContext as e } from "../../react/sharedContext.mjs";
|
|
2
|
+
var t = e("PluginsContext", {
|
|
3
|
+
plugins: {},
|
|
4
|
+
registerCustomAssets: () => void 0,
|
|
5
|
+
unregisterCustomAssets: () => void 0
|
|
6
|
+
});
|
|
4
7
|
export { t as default };
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
/** plugins's React bindings — apart from `@plitzi/sdk-shared/plugins`, which a server imports without React's hooks and contexts. */
|
|
2
2
|
export { default as PluginsContext } from './PluginsContext';
|
|
3
3
|
export * from './PluginsContext';
|
|
4
|
+
export { default as PluginAssetsContext } from './PluginAssetsContext';
|
|
5
|
+
export { default as ElementRegistryContext, createElementRegistry } from './ElementRegistryContext';
|
|
6
|
+
export type { ElementRegistry, ElementRegistrySnapshot } from './ElementRegistryContext';
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import e from "./PluginsContext.mjs";
|
|
2
|
+
import t from "./PluginAssetsContext.mjs";
|
|
3
|
+
import n, { createElementRegistry as r } from "./ElementRegistryContext.mjs";
|
|
4
|
+
export { n as ElementRegistryContext, t as PluginAssetsContext, e as PluginsContext, r as createElementRegistry };
|
package/dist/project/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PROJECT_LAYOUT_CODES as e } from "./layout/codes.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { readVendorPlugin as
|
|
4
|
-
import { checkPluginFolder as
|
|
5
|
-
import { ProjectLayoutError as
|
|
6
|
-
import {
|
|
7
|
-
import { ProjectRootError as
|
|
8
|
-
export {
|
|
2
|
+
import { localNetworkName as t, networkAddresses as n } from "./network.mjs";
|
|
3
|
+
import { readVendorPlugin as r } from "./layout/vendor.mjs";
|
|
4
|
+
import { checkPluginFolder as i, elementEntry as a, pluginEntry as o, pluginTypeOf as s } from "./layout/plugins.mjs";
|
|
5
|
+
import { ProjectLayoutError as c, assertProjectLayout as l, checkProjectLayout as u, layoutFindingText as d } from "./layout/check.mjs";
|
|
6
|
+
import { ACTIVE_RUN_FILE as f, AUTHOR_FILE as p, BUILD_DIR as m, CLI_DIR as h, DATA_DIR as g, DEV_SERVER_FILE as _, FUNCTIONS_DIR as v, JOBS_FILE as y, KV_FILE as b, LATER_ANSWER_FILE as x, LATER_ASK_FILE as S, LEGACY_CLI_DIR as C, MAIN_FILE as w, PLUGINS_DIR as T, PLUGIN_DECLARATION_FILE as E, PLUGIN_ENTRIES as D, PLUGIN_FUNCTIONS_DIR as O, PLUGIN_MANIFEST_FILE as k, PREVIEW_FILE_ENV as A, PREVIEW_SLUG as j, PROJECT_DATA_PREFIX as M, PROJECT_STATE as N, PROJECT_TMP as P, PUBLIC_DIR as F, RUNS_DIR as I, RUNTIME_BUNDLE as L, RUNTIME_DIR as R, RUNTIME_ENTRY as z, SERVER_RECORD_ENV as B, SOURCE_DIR as V, SPACE_DIR as H, SPACE_ENTRY as U, STATE_DIR_ENV as W, VENDOR_PLUGINS_DIR as G, previewCopyId as K } from "./paths/index.mjs";
|
|
7
|
+
import { ProjectRootError as q, checkProjectRoot as J, projectMark as Y, projectModule as X, projectRoot as Z } from "./root.mjs";
|
|
8
|
+
export { f as ACTIVE_RUN_FILE, p as AUTHOR_FILE, m as BUILD_DIR, h as CLI_DIR, g as DATA_DIR, _ as DEV_SERVER_FILE, v as FUNCTIONS_DIR, y as JOBS_FILE, b as KV_FILE, x as LATER_ANSWER_FILE, S as LATER_ASK_FILE, C as LEGACY_CLI_DIR, w as MAIN_FILE, T as PLUGINS_DIR, E as PLUGIN_DECLARATION_FILE, D as PLUGIN_ENTRIES, O as PLUGIN_FUNCTIONS_DIR, k as PLUGIN_MANIFEST_FILE, A as PREVIEW_FILE_ENV, j as PREVIEW_SLUG, M as PROJECT_DATA_PREFIX, e as PROJECT_LAYOUT_CODES, N as PROJECT_STATE, P as PROJECT_TMP, F as PUBLIC_DIR, c as ProjectLayoutError, q as ProjectRootError, I as RUNS_DIR, L as RUNTIME_BUNDLE, R as RUNTIME_DIR, z as RUNTIME_ENTRY, B as SERVER_RECORD_ENV, V as SOURCE_DIR, H as SPACE_DIR, U as SPACE_ENTRY, W as STATE_DIR_ENV, G as VENDOR_PLUGINS_DIR, l as assertProjectLayout, i as checkPluginFolder, u as checkProjectLayout, J as checkProjectRoot, a as elementEntry, d as layoutFindingText, t as localNetworkName, n as networkAddresses, o as pluginEntry, s as pluginTypeOf, K as previewCopyId, Y as projectMark, X as projectModule, Z as projectRoot, r as readVendorPlugin };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { exists as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { dataFindings as e, envFindings as t, publicFindings as n } from "./contents.mjs";
|
|
2
|
+
import { exists as r } from "./files.mjs";
|
|
3
|
+
import { nearMissFindings as i, spaceFindings as a } from "./folders.mjs";
|
|
4
|
+
import { isRecord as o } from "../../helpers/isRecord.mjs";
|
|
5
|
+
import { FUNCTIONS_DIR as s, RUNTIME_DIR as c } from "../paths/index.mjs";
|
|
6
|
+
import { functionsFindings as l, pluginFindings as u, sourceEntryFindings as d } from "./plugins.mjs";
|
|
7
7
|
import f from "node:path";
|
|
8
8
|
import { readFileSync as p } from "node:fs";
|
|
9
|
-
|
|
10
|
-
var m = (
|
|
9
|
+
// src/project/layout/check.ts
|
|
10
|
+
var m = (e) => {
|
|
11
11
|
try {
|
|
12
|
-
let
|
|
13
|
-
return
|
|
12
|
+
let t = JSON.parse(p(f.join(e, "package.json"), "utf-8"));
|
|
13
|
+
return o(t) && [t.dependencies, t.devDependencies].some((e) => o(e) && "@plitzi/sdk-server" in e);
|
|
14
14
|
} catch {
|
|
15
15
|
return !1;
|
|
16
16
|
}
|
|
17
|
-
}, h = (e,
|
|
18
|
-
mode:
|
|
19
|
-
space:
|
|
20
|
-
}), g = (
|
|
21
|
-
let f = h(
|
|
22
|
-
...
|
|
23
|
-
...
|
|
24
|
-
folder:
|
|
17
|
+
}, h = (e, t) => ({
|
|
18
|
+
mode: t.mode ?? (m(e) ? "server" : "client"),
|
|
19
|
+
space: t.space ?? (r(e, "src/space", "folder") || r(e, ".plitzi/author.ts", "file") ? "local" : "cloud")
|
|
20
|
+
}), g = (r, o = {}) => {
|
|
21
|
+
let f = h(r, o), p = i(r, f), m = [
|
|
22
|
+
...u(r),
|
|
23
|
+
...l(r, {
|
|
24
|
+
folder: s,
|
|
25
25
|
code: "functions-entry-missing",
|
|
26
26
|
lost: "none of the project’s functions runs",
|
|
27
|
-
write: `Write the domain's file at the top of ${
|
|
27
|
+
write: `Write the domain's file at the top of ${s}/ (rooms.ts) exporting defineFunctions({ tasks: [ … ] }) by default — a domain a file, nothing to list.`
|
|
28
28
|
}),
|
|
29
|
-
...
|
|
30
|
-
folder:
|
|
29
|
+
...d(r, {
|
|
30
|
+
folder: c,
|
|
31
31
|
accepted: ["index.ts"],
|
|
32
32
|
code: "runtime-entry-missing",
|
|
33
33
|
lost: "the space’s runtime does not run",
|
|
34
|
-
write: `Write ${
|
|
34
|
+
write: `Write ${c}/index.ts exporting defineRuntime(…) by default — npx plitzi runtime add writes one.`
|
|
35
35
|
}),
|
|
36
|
-
...f.space === "local" ?
|
|
36
|
+
...f.space === "local" ? a(r, p) : [],
|
|
37
37
|
...p,
|
|
38
|
-
...
|
|
39
|
-
...f.mode === "server" ?
|
|
40
|
-
...
|
|
38
|
+
...t(r),
|
|
39
|
+
...f.mode === "server" ? e(r) : [],
|
|
40
|
+
...n(r, f.mode)
|
|
41
41
|
];
|
|
42
42
|
return [...m.filter((e) => e.level === "error"), ...m.filter((e) => e.level === "warning")];
|
|
43
43
|
}, _ = (e) => `${e.message}\n → ${e.fix}`, v = class extends Error {
|
|
@@ -56,5 +56,4 @@ var y = (e, t = {}) => {
|
|
|
56
56
|
if (r.length > 0) throw new v(r);
|
|
57
57
|
return n;
|
|
58
58
|
};
|
|
59
|
-
//#endregion
|
|
60
59
|
export { v as ProjectLayoutError, y as assertProjectLayout, g as checkProjectLayout, _ as layoutFindingText };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/project/layout/codes.ts
|
|
2
2
|
var e = {
|
|
3
3
|
"plugin-entry-missing": {
|
|
4
4
|
level: "error",
|
|
@@ -104,5 +104,4 @@ var e = {
|
|
|
104
104
|
fix: i,
|
|
105
105
|
...a ? { autofix: a } : {}
|
|
106
106
|
});
|
|
107
|
-
//#endregion
|
|
108
107
|
export { e as PROJECT_LAYOUT_CODES, t as finding };
|