@ankhorage/studio 2.0.22 → 2.0.24
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/dist/app/ProjectDetailScreen.d.ts.map +1 -1
- package/dist/app/ProjectDetailScreen.js +4 -1
- package/dist/app/ProjectDetailScreen.js.map +1 -1
- package/dist/app/StudioApp.d.ts.map +1 -1
- package/dist/app/StudioApp.js +2 -48
- package/dist/app/StudioApp.js.map +1 -1
- package/dist/authSettings.d.ts +12 -0
- package/dist/authSettings.d.ts.map +1 -1
- package/dist/authSettings.js +29 -7
- package/dist/authSettings.js.map +1 -1
- package/dist/bindingDiagnosticsModel.d.ts +4 -0
- package/dist/bindingDiagnosticsModel.d.ts.map +1 -1
- package/dist/bindingDiagnosticsModel.js +37 -1
- package/dist/bindingDiagnosticsModel.js.map +1 -1
- package/dist/bindingMetadataModel.d.ts +8 -0
- package/dist/bindingMetadataModel.d.ts.map +1 -1
- package/dist/bindingMetadataModel.js +8 -0
- package/dist/bindingMetadataModel.js.map +1 -1
- package/dist/bindingMutationModel.d.ts +16 -0
- package/dist/bindingMutationModel.d.ts.map +1 -1
- package/dist/bindingMutationModel.js +25 -3
- package/dist/bindingMutationModel.js.map +1 -1
- package/dist/bindingOperationModel.d.ts +11 -0
- package/dist/bindingOperationModel.d.ts.map +1 -1
- package/dist/bindingOperationModel.js +37 -3
- package/dist/bindingOperationModel.js.map +1 -1
- package/dist/bindingSchemaModel.d.ts +12 -0
- package/dist/bindingSchemaModel.d.ts.map +1 -1
- package/dist/bindingSchemaModel.js +39 -15
- package/dist/bindingSchemaModel.js.map +1 -1
- package/dist/canExecuteProjectDeployRelease.d.ts +4 -0
- package/dist/canExecuteProjectDeployRelease.d.ts.map +1 -1
- package/dist/canExecuteProjectDeployRelease.js +4 -0
- package/dist/canExecuteProjectDeployRelease.js.map +1 -1
- package/dist/canvasDragModel.d.ts +28 -0
- package/dist/canvasDragModel.d.ts.map +1 -1
- package/dist/canvasDragModel.js +41 -34
- package/dist/canvasDragModel.js.map +1 -1
- package/dist/canvasDropZones.d.ts +8 -0
- package/dist/canvasDropZones.d.ts.map +1 -1
- package/dist/canvasDropZones.js +10 -1
- package/dist/canvasDropZones.js.map +1 -1
- package/dist/cli/index.d.ts +6 -14
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +0 -20
- package/dist/cli/index.js.map +1 -1
- package/dist/contractGuards.d.ts +8 -2
- package/dist/contractGuards.d.ts.map +1 -1
- package/dist/contractGuards.js +8 -2
- package/dist/contractGuards.js.map +1 -1
- package/dist/core/StudioContext.d.ts +4 -0
- package/dist/core/StudioContext.d.ts.map +1 -1
- package/dist/core/StudioContext.js +4 -0
- package/dist/core/StudioContext.js.map +1 -1
- package/dist/core/StudioProvider.d.ts +1 -0
- package/dist/core/StudioProvider.d.ts.map +1 -1
- package/dist/core/StudioProvider.js +46 -0
- package/dist/core/StudioProvider.js.map +1 -1
- package/dist/core/apiBase.d.ts +4 -0
- package/dist/core/apiBase.d.ts.map +1 -1
- package/dist/core/apiBase.js +4 -0
- package/dist/core/apiBase.js.map +1 -1
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +8 -12
- package/dist/core/constants.js.map +1 -1
- package/dist/core/mediaAuthoringHostClient.d.ts +8 -0
- package/dist/core/mediaAuthoringHostClient.d.ts.map +1 -1
- package/dist/core/mediaAuthoringHostClient.js +15 -9
- package/dist/core/mediaAuthoringHostClient.js.map +1 -1
- package/dist/core/mediaRemovalCoordinator.d.ts +4 -0
- package/dist/core/mediaRemovalCoordinator.d.ts.map +1 -1
- package/dist/core/mediaRemovalCoordinator.js +9 -0
- package/dist/core/mediaRemovalCoordinator.js.map +1 -1
- package/dist/core/studioManifestDraftModel.d.ts +28 -0
- package/dist/core/studioManifestDraftModel.d.ts.map +1 -1
- package/dist/core/studioManifestDraftModel.js +28 -0
- package/dist/core/studioManifestDraftModel.js.map +1 -1
- package/dist/core/studioManifestPersistenceModel.d.ts +9 -0
- package/dist/core/studioManifestPersistenceModel.d.ts.map +1 -1
- package/dist/core/studioManifestPersistenceModel.js +9 -0
- package/dist/core/studioManifestPersistenceModel.js.map +1 -1
- package/dist/createProjectDeployRequest.d.ts +4 -0
- package/dist/createProjectDeployRequest.d.ts.map +1 -1
- package/dist/createProjectDeployRequest.js +7 -1
- package/dist/createProjectDeployRequest.js.map +1 -1
- package/dist/externalApiApi.d.ts +12 -0
- package/dist/externalApiApi.d.ts.map +1 -1
- package/dist/externalApiApi.js +64 -5
- package/dist/externalApiApi.js.map +1 -1
- package/dist/hooks/useProjects.d.ts +5 -0
- package/dist/hooks/useProjects.d.ts.map +1 -1
- package/dist/hooks/useProjects.js +10 -0
- package/dist/hooks/useProjects.js.map +1 -1
- package/dist/host/apis/createProjectEndpointCredentialResolver.d.ts +4 -0
- package/dist/host/apis/createProjectEndpointCredentialResolver.d.ts.map +1 -1
- package/dist/host/apis/createProjectEndpointCredentialResolver.js +6 -0
- package/dist/host/apis/createProjectEndpointCredentialResolver.js.map +1 -1
- package/dist/host/apis/createTrustedEndpointTestFetch.d.ts +4 -0
- package/dist/host/apis/createTrustedEndpointTestFetch.d.ts.map +1 -1
- package/dist/host/apis/createTrustedEndpointTestFetch.js +4 -0
- package/dist/host/apis/createTrustedEndpointTestFetch.js.map +1 -1
- package/dist/host/apis/createTrustedExternalApiFetch.d.ts +4 -0
- package/dist/host/apis/createTrustedExternalApiFetch.d.ts.map +1 -1
- package/dist/host/apis/createTrustedExternalApiFetch.js +4 -0
- package/dist/host/apis/createTrustedExternalApiFetch.js.map +1 -1
- package/dist/host/apis/requestTrustedExternalApi.d.ts +4 -0
- package/dist/host/apis/requestTrustedExternalApi.d.ts.map +1 -1
- package/dist/host/apis/requestTrustedExternalApi.js +12 -0
- package/dist/host/apis/requestTrustedExternalApi.js.map +1 -1
- package/dist/host/apis/sanitizeExternalApiOperationTestResult.d.ts +4 -0
- package/dist/host/apis/sanitizeExternalApiOperationTestResult.d.ts.map +1 -1
- package/dist/host/apis/sanitizeExternalApiOperationTestResult.js +6 -13
- package/dist/host/apis/sanitizeExternalApiOperationTestResult.js.map +1 -1
- package/dist/host/apis/studioExternalApiService.d.ts +10 -0
- package/dist/host/apis/studioExternalApiService.d.ts.map +1 -1
- package/dist/host/apis/studioExternalApiService.js +17 -0
- package/dist/host/apis/studioExternalApiService.js.map +1 -1
- package/dist/host/auth/projectAuthHealthService.d.ts +5 -0
- package/dist/host/auth/projectAuthHealthService.d.ts.map +1 -1
- package/dist/host/auth/projectAuthHealthService.js +5 -0
- package/dist/host/auth/projectAuthHealthService.js.map +1 -1
- package/dist/host/auth/projectAuthRuntimeDiagnostics.d.ts +6 -0
- package/dist/host/auth/projectAuthRuntimeDiagnostics.d.ts.map +1 -1
- package/dist/host/auth/projectAuthRuntimeDiagnostics.js +13 -42
- package/dist/host/auth/projectAuthRuntimeDiagnostics.js.map +1 -1
- package/dist/host/createStudioHost.d.ts +5 -0
- package/dist/host/createStudioHost.d.ts.map +1 -1
- package/dist/host/createStudioHost.js +5 -0
- package/dist/host/createStudioHost.js.map +1 -1
- package/dist/host/deploy/ProjectDeployMutationGuard.d.ts +5 -1
- package/dist/host/deploy/ProjectDeployMutationGuard.d.ts.map +1 -1
- package/dist/host/deploy/ProjectDeployMutationGuard.js +9 -11
- package/dist/host/deploy/ProjectDeployMutationGuard.js.map +1 -1
- package/dist/host/deploy/ProjectDeploySecretStore.d.ts +1 -0
- package/dist/host/deploy/ProjectDeploySecretStore.d.ts.map +1 -1
- package/dist/host/deploy/ProjectDeployService.d.ts +22 -0
- package/dist/host/deploy/ProjectDeployService.d.ts.map +1 -1
- package/dist/host/deploy/ProjectDeployService.js +22 -0
- package/dist/host/deploy/ProjectDeployService.js.map +1 -1
- package/dist/host/deploy/createProjectDeployAccess.d.ts +1 -0
- package/dist/host/deploy/createProjectDeployAccess.d.ts.map +1 -1
- package/dist/host/deploy/createProjectDeployAccess.js +3 -0
- package/dist/host/deploy/createProjectDeployAccess.js.map +1 -1
- package/dist/host/deploy/serializeProjectDeploySecret.d.ts +1 -0
- package/dist/host/deploy/serializeProjectDeploySecret.d.ts.map +1 -1
- package/dist/host/deploy/serializeProjectDeploySecret.js +5 -0
- package/dist/host/deploy/serializeProjectDeploySecret.js.map +1 -1
- package/dist/host/http/apiRoutes.d.ts +4 -0
- package/dist/host/http/apiRoutes.d.ts.map +1 -1
- package/dist/host/http/apiRoutes.js +40 -0
- package/dist/host/http/apiRoutes.js.map +1 -1
- package/dist/host/http/authRoutes.d.ts +1 -0
- package/dist/host/http/authRoutes.d.ts.map +1 -1
- package/dist/host/http/authRoutes.js +6 -0
- package/dist/host/http/authRoutes.js.map +1 -1
- package/dist/host/http/deployRoutes.d.ts +1 -0
- package/dist/host/http/deployRoutes.d.ts.map +1 -1
- package/dist/host/http/deployRoutes.js +34 -2
- package/dist/host/http/deployRoutes.js.map +1 -1
- package/dist/host/http/mediaRoutes.d.ts +1 -0
- package/dist/host/http/mediaRoutes.d.ts.map +1 -1
- package/dist/host/http/mediaRoutes.js +36 -1
- package/dist/host/http/mediaRoutes.js.map +1 -1
- package/dist/host/http/moduleRoutes.d.ts +1 -0
- package/dist/host/http/moduleRoutes.d.ts.map +1 -1
- package/dist/host/http/moduleRoutes.js +16 -0
- package/dist/host/http/moduleRoutes.js.map +1 -1
- package/dist/host/http/projectRuntimeRoutes.d.ts +1 -0
- package/dist/host/http/projectRuntimeRoutes.d.ts.map +1 -1
- package/dist/host/http/projectRuntimeRoutes.js +7 -0
- package/dist/host/http/projectRuntimeRoutes.js.map +1 -1
- package/dist/host/http/secretRoutes.d.ts +1 -0
- package/dist/host/http/secretRoutes.d.ts.map +1 -1
- package/dist/host/http/secretRoutes.js +26 -0
- package/dist/host/http/secretRoutes.js.map +1 -1
- package/dist/host/http/security.d.ts +4 -0
- package/dist/host/http/security.d.ts.map +1 -1
- package/dist/host/http/security.js +4 -0
- package/dist/host/http/security.js.map +1 -1
- package/dist/host/http/server.d.ts +5 -0
- package/dist/host/http/server.d.ts.map +1 -1
- package/dist/host/http/server.js +8 -3
- package/dist/host/http/server.js.map +1 -1
- package/dist/host/http/serverWithSecrets.d.ts +3 -2
- package/dist/host/http/serverWithSecrets.d.ts.map +1 -1
- package/dist/host/http/serverWithSecrets.js +3 -2
- package/dist/host/http/serverWithSecrets.js.map +1 -1
- package/dist/host/index.d.ts +3 -0
- package/dist/host/index.d.ts.map +1 -1
- package/dist/host/index.js.map +1 -1
- package/dist/host/layout/auth/resolveAuthLayoutPlan.d.ts +4 -0
- package/dist/host/layout/auth/resolveAuthLayoutPlan.d.ts.map +1 -1
- package/dist/host/layout/auth/resolveAuthLayoutPlan.js +43 -34
- package/dist/host/layout/auth/resolveAuthLayoutPlan.js.map +1 -1
- package/dist/host/layout/generatedImportComposer.d.ts +4 -0
- package/dist/host/layout/generatedImportComposer.d.ts.map +1 -1
- package/dist/host/layout/generatedImportComposer.js +18 -0
- package/dist/host/layout/generatedImportComposer.js.map +1 -1
- package/dist/host/layout/layoutGenerator.d.ts +19 -0
- package/dist/host/layout/layoutGenerator.d.ts.map +1 -1
- package/dist/host/layout/layoutGenerator.js +58 -0
- package/dist/host/layout/layoutGenerator.js.map +1 -1
- package/dist/host/layout/templates/auth/adapter.d.ts +1 -0
- package/dist/host/layout/templates/auth/adapter.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/adapter.js +1 -0
- package/dist/host/layout/templates/auth/adapter.js.map +1 -1
- package/dist/host/layout/templates/auth/callback.d.ts +1 -0
- package/dist/host/layout/templates/auth/callback.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/callback.js +1 -0
- package/dist/host/layout/templates/auth/callback.js.map +1 -1
- package/dist/host/layout/templates/auth/form.d.ts +1 -0
- package/dist/host/layout/templates/auth/form.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/form.js +1 -0
- package/dist/host/layout/templates/auth/form.js.map +1 -1
- package/dist/host/layout/templates/auth/navigation.d.ts +1 -0
- package/dist/host/layout/templates/auth/navigation.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/navigation.js +5 -0
- package/dist/host/layout/templates/auth/navigation.js.map +1 -1
- package/dist/host/layout/templates/auth/oauth.d.ts +1 -0
- package/dist/host/layout/templates/auth/oauth.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/oauth.js +7 -0
- package/dist/host/layout/templates/auth/oauth.js.map +1 -1
- package/dist/host/layout/templates/auth/oauthCompletion.d.ts +1 -0
- package/dist/host/layout/templates/auth/oauthCompletion.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/oauthCompletion.js +5 -0
- package/dist/host/layout/templates/auth/oauthCompletion.js.map +1 -1
- package/dist/host/layout/templates/auth/oauthState.d.ts +1 -0
- package/dist/host/layout/templates/auth/oauthState.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/oauthState.js +1 -0
- package/dist/host/layout/templates/auth/oauthState.js.map +1 -1
- package/dist/host/layout/templates/auth/screen.d.ts +2 -0
- package/dist/host/layout/templates/auth/screen.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/screen.js +3 -0
- package/dist/host/layout/templates/auth/screen.js.map +1 -1
- package/dist/host/layout/templates/auth/screenController.d.ts +1 -0
- package/dist/host/layout/templates/auth/screenController.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/screenController.js +6 -0
- package/dist/host/layout/templates/auth/screenController.js.map +1 -1
- package/dist/host/layout/templates/auth/session.d.ts +1 -0
- package/dist/host/layout/templates/auth/session.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/session.js +1 -0
- package/dist/host/layout/templates/auth/session.js.map +1 -1
- package/dist/host/layout/templates/auth/signOut.d.ts +1 -0
- package/dist/host/layout/templates/auth/signOut.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/signOut.js +1 -0
- package/dist/host/layout/templates/auth/signOut.js.map +1 -1
- package/dist/host/layout/templates/index.d.ts +1 -0
- package/dist/host/layout/templates/index.d.ts.map +1 -1
- package/dist/host/layout/templates/index.js +1 -0
- package/dist/host/layout/templates/index.js.map +1 -1
- package/dist/host/layout/templates/navigation.d.ts +3 -0
- package/dist/host/layout/templates/navigation.d.ts.map +1 -1
- package/dist/host/layout/templates/navigation.js +58 -0
- package/dist/host/layout/templates/navigation.js.map +1 -1
- package/dist/host/layout/templates/nestedLayout.d.ts +1 -0
- package/dist/host/layout/templates/nestedLayout.d.ts.map +1 -1
- package/dist/host/layout/templates/nestedLayout.js +2 -0
- package/dist/host/layout/templates/nestedLayout.js.map +1 -1
- package/dist/host/layout/templates/redirect.d.ts +1 -0
- package/dist/host/layout/templates/redirect.d.ts.map +1 -1
- package/dist/host/layout/templates/redirect.js +1 -0
- package/dist/host/layout/templates/redirect.js.map +1 -1
- package/dist/host/layout/templates/rootLayout.d.ts +7 -0
- package/dist/host/layout/templates/rootLayout.d.ts.map +1 -1
- package/dist/host/layout/templates/rootLayout.js +11 -0
- package/dist/host/layout/templates/rootLayout.js.map +1 -1
- package/dist/host/layout/templates/screen.d.ts +4 -0
- package/dist/host/layout/templates/screen.d.ts.map +1 -1
- package/dist/host/layout/templates/screen.js +4 -0
- package/dist/host/layout/templates/screen.js.map +1 -1
- package/dist/host/layout/templates/utils/routes.d.ts +8 -0
- package/dist/host/layout/templates/utils/routes.d.ts.map +1 -1
- package/dist/host/layout/templates/utils/routes.js +8 -0
- package/dist/host/layout/templates/utils/routes.js.map +1 -1
- package/dist/host/layout/templates/utils/strings.d.ts +8 -0
- package/dist/host/layout/templates/utils/strings.d.ts.map +1 -1
- package/dist/host/layout/templates/utils/strings.js +8 -0
- package/dist/host/layout/templates/utils/strings.js.map +1 -1
- package/dist/host/layout/utils/escapeStringLiteral.d.ts +4 -0
- package/dist/host/layout/utils/escapeStringLiteral.d.ts.map +1 -1
- package/dist/host/layout/utils/escapeStringLiteral.js +4 -0
- package/dist/host/layout/utils/escapeStringLiteral.js.map +1 -1
- package/dist/host/manifestSystem/auth/index.d.ts +1 -0
- package/dist/host/manifestSystem/auth/index.d.ts.map +1 -1
- package/dist/host/manifestSystem/auth/index.js +1 -0
- package/dist/host/manifestSystem/auth/index.js.map +1 -1
- package/dist/host/manifestSystem/auth/shared/global.auth.system.tpl.d.ts +2 -0
- package/dist/host/manifestSystem/auth/shared/global.auth.system.tpl.d.ts.map +1 -1
- package/dist/host/manifestSystem/auth/shared/global.auth.system.tpl.js +2 -0
- package/dist/host/manifestSystem/auth/shared/global.auth.system.tpl.js.map +1 -1
- package/dist/host/manifestSystem/index.d.ts +4 -0
- package/dist/host/manifestSystem/index.d.ts.map +1 -1
- package/dist/host/manifestSystem/index.js +4 -1
- package/dist/host/manifestSystem/index.js.map +1 -1
- package/dist/host/media/projectAuthoringAssetWriter.d.ts +4 -0
- package/dist/host/media/projectAuthoringAssetWriter.d.ts.map +1 -1
- package/dist/host/media/projectAuthoringAssetWriter.js +4 -0
- package/dist/host/media/projectAuthoringAssetWriter.js.map +1 -1
- package/dist/host/media/projectBundledMediaRegistry.d.ts +1 -0
- package/dist/host/media/projectBundledMediaRegistry.d.ts.map +1 -1
- package/dist/host/media/projectBundledMediaRegistry.js +5 -32
- package/dist/host/media/projectBundledMediaRegistry.js.map +1 -1
- package/dist/host/media/projectBundledMediaService.d.ts +5 -0
- package/dist/host/media/projectBundledMediaService.d.ts.map +1 -1
- package/dist/host/media/projectBundledMediaService.js +7 -12
- package/dist/host/media/projectBundledMediaService.js.map +1 -1
- package/dist/host/media/projectMediaService.d.ts +7 -0
- package/dist/host/media/projectMediaService.d.ts.map +1 -1
- package/dist/host/media/projectMediaService.js +10 -12
- package/dist/host/media/projectMediaService.js.map +1 -1
- package/dist/host/media/projectMediaStorage.d.ts +1 -0
- package/dist/host/media/projectMediaStorage.d.ts.map +1 -1
- package/dist/host/media/projectMediaStorage.js +1 -0
- package/dist/host/media/projectMediaStorage.js.map +1 -1
- package/dist/host/media/removeProjectAuthoringAsset.d.ts +4 -0
- package/dist/host/media/removeProjectAuthoringAsset.d.ts.map +1 -1
- package/dist/host/media/removeProjectAuthoringAsset.js +5 -21
- package/dist/host/media/removeProjectAuthoringAsset.js.map +1 -1
- package/dist/host/modules/adminRuntime.d.ts +2 -0
- package/dist/host/modules/adminRuntime.d.ts.map +1 -1
- package/dist/host/modules/adminRuntime.js +4 -3
- package/dist/host/modules/adminRuntime.js.map +1 -1
- package/dist/host/modules/catalog.d.ts +3 -0
- package/dist/host/modules/catalog.d.ts.map +1 -1
- package/dist/host/modules/catalog.js +7 -3
- package/dist/host/modules/catalog.js.map +1 -1
- package/dist/host/modules/layout.d.ts +1 -0
- package/dist/host/modules/layout.d.ts.map +1 -1
- package/dist/host/modules/runtime/LocalFsTargetAdapter.d.ts +14 -0
- package/dist/host/modules/runtime/LocalFsTargetAdapter.d.ts.map +1 -1
- package/dist/host/modules/runtime/LocalFsTargetAdapter.js +18 -0
- package/dist/host/modules/runtime/LocalFsTargetAdapter.js.map +1 -1
- package/dist/host/orchestrator/GeneratedRouteFileOwnership.d.ts +7 -0
- package/dist/host/orchestrator/GeneratedRouteFileOwnership.d.ts.map +1 -1
- package/dist/host/orchestrator/GeneratedRouteFileOwnership.js +29 -11
- package/dist/host/orchestrator/GeneratedRouteFileOwnership.js.map +1 -1
- package/dist/host/orchestrator/generatedAppFiles.d.ts +5 -0
- package/dist/host/orchestrator/generatedAppFiles.d.ts.map +1 -1
- package/dist/host/orchestrator/generatedAppFiles.js +18 -35
- package/dist/host/orchestrator/generatedAppFiles.js.map +1 -1
- package/dist/host/orchestrator/infraSession.d.ts +12 -0
- package/dist/host/orchestrator/infraSession.d.ts.map +1 -1
- package/dist/host/orchestrator/infraSession.js +17 -0
- package/dist/host/orchestrator/infraSession.js.map +1 -1
- package/dist/host/orchestrator/moduleManager.d.ts +34 -1
- package/dist/host/orchestrator/moduleManager.d.ts.map +1 -1
- package/dist/host/orchestrator/moduleManager.js +38 -1
- package/dist/host/orchestrator/moduleManager.js.map +1 -1
- package/dist/host/orchestrator/projectGenerationState.d.ts +8 -0
- package/dist/host/orchestrator/projectGenerationState.d.ts.map +1 -1
- package/dist/host/orchestrator/projectGenerationState.js +17 -10
- package/dist/host/orchestrator/projectGenerationState.js.map +1 -1
- package/dist/host/orchestrator/projectManager.d.ts +30 -1
- package/dist/host/orchestrator/projectManager.d.ts.map +1 -1
- package/dist/host/orchestrator/projectManager.js +41 -3
- package/dist/host/orchestrator/projectManager.js.map +1 -1
- package/dist/host/orchestrator/projectPaths.d.ts +12 -0
- package/dist/host/orchestrator/projectPaths.d.ts.map +1 -1
- package/dist/host/orchestrator/projectPaths.js +12 -0
- package/dist/host/orchestrator/projectPaths.js.map +1 -1
- package/dist/host/orchestrator/projectStore.d.ts +15 -0
- package/dist/host/orchestrator/projectStore.d.ts.map +1 -1
- package/dist/host/orchestrator/projectStore.js +22 -23
- package/dist/host/orchestrator/projectStore.js.map +1 -1
- package/dist/host/orchestrator/projectTargets.d.ts +4 -0
- package/dist/host/orchestrator/projectTargets.d.ts.map +1 -1
- package/dist/host/orchestrator/projectTargets.js +8 -0
- package/dist/host/orchestrator/projectTargets.js.map +1 -1
- package/dist/host/orchestrator/resolveMutations.d.ts +4 -0
- package/dist/host/orchestrator/resolveMutations.d.ts.map +1 -1
- package/dist/host/orchestrator/resolveMutations.js +4 -0
- package/dist/host/orchestrator/resolveMutations.js.map +1 -1
- package/dist/host/orchestrator/scaffolder.d.ts +20 -0
- package/dist/host/orchestrator/scaffolder.d.ts.map +1 -1
- package/dist/host/orchestrator/scaffolder.js +36 -15
- package/dist/host/orchestrator/scaffolder.js.map +1 -1
- package/dist/host/orchestrator/studioInfraUp.d.ts +4 -0
- package/dist/host/orchestrator/studioInfraUp.d.ts.map +1 -1
- package/dist/host/orchestrator/studioInfraUp.js +4 -0
- package/dist/host/orchestrator/studioInfraUp.js.map +1 -1
- package/dist/host/orchestrator/workspaceRuntime.d.ts +4 -0
- package/dist/host/orchestrator/workspaceRuntime.d.ts.map +1 -1
- package/dist/host/orchestrator/workspaceRuntime.js +10 -0
- package/dist/host/orchestrator/workspaceRuntime.js.map +1 -1
- package/dist/host/secrets/bunSupabaseVaultClient.d.ts +3 -5
- package/dist/host/secrets/bunSupabaseVaultClient.d.ts.map +1 -1
- package/dist/host/secrets/bunSupabaseVaultClient.js +7 -5
- package/dist/host/secrets/bunSupabaseVaultClient.js.map +1 -1
- package/dist/host/secrets/projectSecretService.d.ts +21 -0
- package/dist/host/secrets/projectSecretService.d.ts.map +1 -1
- package/dist/host/secrets/projectSecretService.js +30 -0
- package/dist/host/secrets/projectSecretService.js.map +1 -1
- package/dist/host/secrets/resolveProjectSecretDatabaseUrl.d.ts +4 -0
- package/dist/host/secrets/resolveProjectSecretDatabaseUrl.d.ts.map +1 -1
- package/dist/host/secrets/resolveProjectSecretDatabaseUrl.js +5 -1
- package/dist/host/secrets/resolveProjectSecretDatabaseUrl.js.map +1 -1
- package/dist/host/secrets/trustedOAuthInfraEnvironment.d.ts +8 -0
- package/dist/host/secrets/trustedOAuthInfraEnvironment.d.ts.map +1 -1
- package/dist/host/secrets/trustedOAuthInfraEnvironment.js +12 -0
- package/dist/host/secrets/trustedOAuthInfraEnvironment.js.map +1 -1
- package/dist/host/templates/index.d.ts +8 -2
- package/dist/host/templates/index.d.ts.map +1 -1
- package/dist/host/templates/index.js +8 -2
- package/dist/host/templates/index.js.map +1 -1
- package/dist/host/utils/requirementsInference.d.ts +8 -0
- package/dist/host/utils/requirementsInference.d.ts.map +1 -1
- package/dist/host/utils/requirementsInference.js +9 -0
- package/dist/host/utils/requirementsInference.js.map +1 -1
- package/dist/host/utils/trimOutput.d.ts +4 -0
- package/dist/host/utils/trimOutput.d.ts.map +1 -1
- package/dist/host/utils/trimOutput.js +6 -29
- package/dist/host/utils/trimOutput.js.map +1 -1
- package/dist/host/utils/workspaceRoot.d.ts +4 -0
- package/dist/host/utils/workspaceRoot.d.ts.map +1 -1
- package/dist/host/utils/workspaceRoot.js +8 -0
- package/dist/host/utils/workspaceRoot.js.map +1 -1
- package/dist/host/zoraExtensions/index.d.ts +13 -1
- package/dist/host/zoraExtensions/index.d.ts.map +1 -1
- package/dist/host/zoraExtensions/index.js +13 -1
- package/dist/host/zoraExtensions/index.js.map +1 -1
- package/dist/index.d.ts +75 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +132 -63
- package/dist/index.js.map +1 -1
- package/dist/insertModalModel.d.ts +16 -0
- package/dist/insertModalModel.d.ts.map +1 -1
- package/dist/insertModalModel.js +29 -27
- package/dist/insertModalModel.js.map +1 -1
- package/dist/manifestState.d.ts +176 -13
- package/dist/manifestState.d.ts.map +1 -1
- package/dist/manifestState.js +228 -13
- package/dist/manifestState.js.map +1 -1
- package/dist/manifestSync.d.ts +8 -0
- package/dist/manifestSync.d.ts.map +1 -1
- package/dist/manifestSync.js +13 -1
- package/dist/manifestSync.js.map +1 -1
- package/dist/mediaAuthoringModel.d.ts +32 -0
- package/dist/mediaAuthoringModel.d.ts.map +1 -1
- package/dist/mediaAuthoringModel.js +45 -3
- package/dist/mediaAuthoringModel.js.map +1 -1
- package/dist/moduleAdminApi.d.ts +41 -0
- package/dist/moduleAdminApi.d.ts.map +1 -1
- package/dist/moduleAdminApi.js +62 -6
- package/dist/moduleAdminApi.js.map +1 -1
- package/dist/moduleAdminModel.d.ts +6 -0
- package/dist/moduleAdminModel.d.ts.map +1 -1
- package/dist/moduleAdminModel.js +20 -52
- package/dist/moduleAdminModel.js.map +1 -1
- package/dist/normalizeExternalApiId.d.ts +4 -0
- package/dist/normalizeExternalApiId.d.ts.map +1 -1
- package/dist/normalizeExternalApiId.js +4 -0
- package/dist/normalizeExternalApiId.js.map +1 -1
- package/dist/projectAuthApi.d.ts +7 -0
- package/dist/projectAuthApi.d.ts.map +1 -1
- package/dist/projectAuthApi.js +49 -6
- package/dist/projectAuthApi.js.map +1 -1
- package/dist/projectAuthHealth.d.ts +4 -0
- package/dist/projectAuthHealth.d.ts.map +1 -1
- package/dist/projectAuthHealth.js +28 -0
- package/dist/projectAuthHealth.js.map +1 -1
- package/dist/projectAuthRuntimeDiagnostics.d.ts +4 -0
- package/dist/projectAuthRuntimeDiagnostics.d.ts.map +1 -1
- package/dist/projectAuthRuntimeDiagnostics.js +20 -0
- package/dist/projectAuthRuntimeDiagnostics.js.map +1 -1
- package/dist/projectDeployApi.d.ts +17 -0
- package/dist/projectDeployApi.d.ts.map +1 -1
- package/dist/projectDeployApi.js +21 -0
- package/dist/projectDeployApi.js.map +1 -1
- package/dist/projectDeployApiError.d.ts +5 -0
- package/dist/projectDeployApiError.d.ts.map +1 -1
- package/dist/projectDeployApiError.js +5 -0
- package/dist/projectDeployApiError.js.map +1 -1
- package/dist/projectDeployAssetPicker.d.ts +4 -0
- package/dist/projectDeployAssetPicker.d.ts.map +1 -1
- package/dist/projectDeployAssetPicker.js +12 -0
- package/dist/projectDeployAssetPicker.js.map +1 -1
- package/dist/projectDeployClient.d.ts +27 -0
- package/dist/projectDeployClient.d.ts.map +1 -1
- package/dist/projectDeployClient.js +83 -6
- package/dist/projectDeployClient.js.map +1 -1
- package/dist/projectIdentity.d.ts +10 -0
- package/dist/projectIdentity.d.ts.map +1 -1
- package/dist/projectIdentity.js +18 -0
- package/dist/projectIdentity.js.map +1 -1
- package/dist/projectOAuthSetup.d.ts +12 -0
- package/dist/projectOAuthSetup.d.ts.map +1 -1
- package/dist/projectOAuthSetup.js +13 -1
- package/dist/projectOAuthSetup.js.map +1 -1
- package/dist/projectSecretApi.d.ts +30 -0
- package/dist/projectSecretApi.d.ts.map +1 -1
- package/dist/projectSecretApi.js +71 -6
- package/dist/projectSecretApi.js.map +1 -1
- package/dist/projectSecretUsage.d.ts +4 -0
- package/dist/projectSecretUsage.d.ts.map +1 -1
- package/dist/projectSecretUsage.js +17 -12
- package/dist/projectSecretUsage.js.map +1 -1
- package/dist/propertiesAuthoringModel.d.ts +12 -0
- package/dist/propertiesAuthoringModel.d.ts.map +1 -1
- package/dist/propertiesAuthoringModel.js +23 -5
- package/dist/propertiesAuthoringModel.js.map +1 -1
- package/dist/root.d.ts +3 -0
- package/dist/root.d.ts.map +1 -1
- package/dist/root.js +3 -0
- package/dist/root.js.map +1 -1
- package/dist/routeUtils.d.ts +3 -4
- package/dist/routeUtils.d.ts.map +1 -1
- package/dist/routeUtils.js +6 -67
- package/dist/routeUtils.js.map +1 -1
- package/dist/runtime/actionSuppression.d.ts +9 -1
- package/dist/runtime/actionSuppression.d.ts.map +1 -1
- package/dist/runtime/actionSuppression.js +9 -1
- package/dist/runtime/actionSuppression.js.map +1 -1
- package/dist/runtime/appExtensionRegistry.d.ts +7 -4
- package/dist/runtime/appExtensionRegistry.d.ts.map +1 -1
- package/dist/runtime/appExtensionRegistry.js +7 -4
- package/dist/runtime/appExtensionRegistry.js.map +1 -1
- package/dist/runtime/index.d.ts +3 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +3 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/indicatorRefreshCoordinator.d.ts +1 -0
- package/dist/runtime/indicatorRefreshCoordinator.d.ts.map +1 -1
- package/dist/runtime/indicatorRefreshCoordinator.js +9 -21
- package/dist/runtime/indicatorRefreshCoordinator.js.map +1 -1
- package/dist/runtime/indicatorSettleCoordinator.d.ts +3 -18
- package/dist/runtime/indicatorSettleCoordinator.d.ts.map +1 -1
- package/dist/runtime/indicatorSettleCoordinator.js +3 -75
- package/dist/runtime/indicatorSettleCoordinator.js.map +1 -1
- package/dist/runtime/interactionPolicy.d.ts +4 -0
- package/dist/runtime/interactionPolicy.d.ts.map +1 -1
- package/dist/runtime/interactionPolicy.js +5 -0
- package/dist/runtime/interactionPolicy.js.map +1 -1
- package/dist/runtime/interactionPolicyCore.d.ts +8 -0
- package/dist/runtime/interactionPolicyCore.d.ts.map +1 -1
- package/dist/runtime/interactionPolicyCore.js +23 -1
- package/dist/runtime/interactionPolicyCore.js.map +1 -1
- package/dist/runtime/registry.d.ts +3 -0
- package/dist/runtime/registry.d.ts.map +1 -1
- package/dist/runtime/registry.js +3 -0
- package/dist/runtime/registry.js.map +1 -1
- package/dist/runtime/runtimeActions.d.ts +4 -0
- package/dist/runtime/runtimeActions.d.ts.map +1 -1
- package/dist/runtime/runtimeActions.js +4 -0
- package/dist/runtime/runtimeActions.js.map +1 -1
- package/dist/runtime/runtimeNodeMeasurement.d.ts +23 -0
- package/dist/runtime/runtimeNodeMeasurement.d.ts.map +1 -1
- package/dist/runtime/runtimeNodeMeasurement.js +32 -0
- package/dist/runtime/runtimeNodeMeasurement.js.map +1 -1
- package/dist/runtime/stationarySelection.d.ts +12 -0
- package/dist/runtime/stationarySelection.d.ts.map +1 -1
- package/dist/runtime/stationarySelection.js +75 -0
- package/dist/runtime/stationarySelection.js.map +1 -1
- package/dist/runtime/stationarySelectionCoordinator.d.ts +5 -20
- package/dist/runtime/stationarySelectionCoordinator.d.ts.map +1 -1
- package/dist/runtime/stationarySelectionCoordinator.js +1 -83
- package/dist/runtime/stationarySelectionCoordinator.js.map +1 -1
- package/dist/runtime/stationarySelectionInputState.d.ts +4 -25
- package/dist/runtime/stationarySelectionInputState.d.ts.map +1 -1
- package/dist/runtime/stationarySelectionInputState.js +1 -55
- package/dist/runtime/stationarySelectionInputState.js.map +1 -1
- package/dist/runtime/studioMediaResolver.d.ts +4 -0
- package/dist/runtime/studioMediaResolver.d.ts.map +1 -1
- package/dist/runtime/studioMediaResolver.js +9 -0
- package/dist/runtime/studioMediaResolver.js.map +1 -1
- package/dist/runtime/useRuntimeAction.d.ts +4 -0
- package/dist/runtime/useRuntimeAction.d.ts.map +1 -1
- package/dist/runtime/useRuntimeAction.js +4 -0
- package/dist/runtime/useRuntimeAction.js.map +1 -1
- package/dist/runtimeDiagnosticsModel.d.ts +19 -2
- package/dist/runtimeDiagnosticsModel.d.ts.map +1 -1
- package/dist/runtimeDiagnosticsModel.js +26 -20
- package/dist/runtimeDiagnosticsModel.js.map +1 -1
- package/dist/secretResponseGuard.d.ts +8 -0
- package/dist/secretResponseGuard.d.ts.map +1 -1
- package/dist/secretResponseGuard.js +12 -0
- package/dist/secretResponseGuard.js.map +1 -1
- package/dist/studioAdminRouteModel.d.ts +70 -0
- package/dist/studioAdminRouteModel.d.ts.map +1 -1
- package/dist/studioAdminRouteModel.js +77 -32
- package/dist/studioAdminRouteModel.js.map +1 -1
- package/dist/studioRuntimeApi.d.ts +4 -0
- package/dist/studioRuntimeApi.d.ts.map +1 -1
- package/dist/studioRuntimeApi.js +12 -0
- package/dist/studioRuntimeApi.js.map +1 -1
- package/dist/studioSelectionModel.d.ts +16 -0
- package/dist/studioSelectionModel.d.ts.map +1 -1
- package/dist/studioSelectionModel.js +32 -29
- package/dist/studioSelectionModel.js.map +1 -1
- package/dist/ui/admin/AnkhAdminPage.d.ts +1 -0
- package/dist/ui/admin/AnkhAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/AnkhAdminPage.js +5 -0
- package/dist/ui/admin/AnkhAdminPage.js.map +1 -1
- package/dist/ui/admin/AnkhAdminShell.d.ts +4 -0
- package/dist/ui/admin/AnkhAdminShell.d.ts.map +1 -1
- package/dist/ui/admin/AnkhAdminShell.js +7 -0
- package/dist/ui/admin/AnkhAdminShell.js.map +1 -1
- package/dist/ui/admin/AuthAdminSession.d.ts +5 -0
- package/dist/ui/admin/AuthAdminSession.d.ts.map +1 -1
- package/dist/ui/admin/AuthAdminSession.js +12 -0
- package/dist/ui/admin/AuthAdminSession.js.map +1 -1
- package/dist/ui/admin/ModuleAdminViewBoundary.d.ts +7 -0
- package/dist/ui/admin/ModuleAdminViewBoundary.d.ts.map +1 -1
- package/dist/ui/admin/ModuleAdminViewBoundary.js +7 -0
- package/dist/ui/admin/ModuleAdminViewBoundary.js.map +1 -1
- package/dist/ui/admin/ModuleAdminViewHost.d.ts +4 -0
- package/dist/ui/admin/ModuleAdminViewHost.d.ts.map +1 -1
- package/dist/ui/admin/ModuleAdminViewHost.js +6 -0
- package/dist/ui/admin/ModuleAdminViewHost.js.map +1 -1
- package/dist/ui/admin/adminPagePrimitives.d.ts +24 -0
- package/dist/ui/admin/adminPagePrimitives.d.ts.map +1 -1
- package/dist/ui/admin/adminPagePrimitives.js +24 -0
- package/dist/ui/admin/adminPagePrimitives.js.map +1 -1
- package/dist/ui/admin/moduleAdminViewRegistry.d.ts +4 -0
- package/dist/ui/admin/moduleAdminViewRegistry.d.ts.map +1 -1
- package/dist/ui/admin/moduleAdminViewRegistry.js +4 -0
- package/dist/ui/admin/moduleAdminViewRegistry.js.map +1 -1
- package/dist/ui/admin/pages/ApiCatalogCard.d.ts +1 -0
- package/dist/ui/admin/pages/ApiCatalogCard.d.ts.map +1 -1
- package/dist/ui/admin/pages/ApiCatalogCard.js +3 -0
- package/dist/ui/admin/pages/ApiCatalogCard.js.map +1 -1
- package/dist/ui/admin/pages/ApiOperationsCard.d.ts +1 -0
- package/dist/ui/admin/pages/ApiOperationsCard.d.ts.map +1 -1
- package/dist/ui/admin/pages/ApiOperationsCard.js +11 -0
- package/dist/ui/admin/pages/ApiOperationsCard.js.map +1 -1
- package/dist/ui/admin/pages/ApisAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ApisAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ApisAdminPage.js +1 -0
- package/dist/ui/admin/pages/ApisAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/AuthAdminPage.d.ts +4 -0
- package/dist/ui/admin/pages/AuthAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/AuthAdminPage.js +82 -0
- package/dist/ui/admin/pages/AuthAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/BindingsAdminPage.d.ts +4 -0
- package/dist/ui/admin/pages/BindingsAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/BindingsAdminPage.js +4 -0
- package/dist/ui/admin/pages/BindingsAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ExternalApiAdminPrimitives.d.ts +5 -0
- package/dist/ui/admin/pages/ExternalApiAdminPrimitives.d.ts.map +1 -1
- package/dist/ui/admin/pages/ExternalApiAdminPrimitives.js +5 -0
- package/dist/ui/admin/pages/ExternalApiAdminPrimitives.js.map +1 -1
- package/dist/ui/admin/pages/ExternalApiConnectCard.d.ts +1 -0
- package/dist/ui/admin/pages/ExternalApiConnectCard.d.ts.map +1 -1
- package/dist/ui/admin/pages/ExternalApiConnectCard.js +2 -0
- package/dist/ui/admin/pages/ExternalApiConnectCard.js.map +1 -1
- package/dist/ui/admin/pages/ManualRestApiCard.d.ts +1 -0
- package/dist/ui/admin/pages/ManualRestApiCard.d.ts.map +1 -1
- package/dist/ui/admin/pages/ManualRestApiCard.js +2 -0
- package/dist/ui/admin/pages/ManualRestApiCard.js.map +1 -1
- package/dist/ui/admin/pages/MediaAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/MediaAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/MediaAdminPage.js +6 -0
- package/dist/ui/admin/pages/MediaAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/MediaDeviceImportCard.d.ts +1 -0
- package/dist/ui/admin/pages/MediaDeviceImportCard.d.ts.map +1 -1
- package/dist/ui/admin/pages/MediaDeviceImportCard.js +2 -0
- package/dist/ui/admin/pages/MediaDeviceImportCard.js.map +1 -1
- package/dist/ui/admin/pages/MediaPropertyInput.d.ts +1 -0
- package/dist/ui/admin/pages/MediaPropertyInput.d.ts.map +1 -1
- package/dist/ui/admin/pages/MediaPropertyInput.js +1 -0
- package/dist/ui/admin/pages/MediaPropertyInput.js.map +1 -1
- package/dist/ui/admin/pages/ModuleDetailAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ModuleDetailAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ModuleDetailAdminPage.js +9 -0
- package/dist/ui/admin/pages/ModuleDetailAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ModulesAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ModulesAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ModulesAdminPage.js +9 -0
- package/dist/ui/admin/pages/ModulesAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/OverviewAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/OverviewAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/OverviewAdminPage.js +1 -0
- package/dist/ui/admin/pages/OverviewAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/PropertiesAdminPage.d.ts +4 -0
- package/dist/ui/admin/pages/PropertiesAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/PropertiesAdminPage.js +17 -0
- package/dist/ui/admin/pages/PropertiesAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ScreenDetailAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ScreenDetailAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ScreenDetailAdminPage.js +11 -0
- package/dist/ui/admin/pages/ScreenDetailAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ScreensAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ScreensAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ScreensAdminPage.js +10 -0
- package/dist/ui/admin/pages/ScreensAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/SecretsAdminPage.d.ts +4 -0
- package/dist/ui/admin/pages/SecretsAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/SecretsAdminPage.js +64 -0
- package/dist/ui/admin/pages/SecretsAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ThemeAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeAdminPage.js +1 -0
- package/dist/ui/admin/pages/ThemeAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ThemeColorsAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeColorsAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeColorsAdminPage.js +4 -0
- package/dist/ui/admin/pages/ThemeColorsAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ThemeModeEditorSelector.d.ts +4 -0
- package/dist/ui/admin/pages/ThemeModeEditorSelector.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeModeEditorSelector.js +4 -0
- package/dist/ui/admin/pages/ThemeModeEditorSelector.js.map +1 -1
- package/dist/ui/admin/pages/ThemeNumericTokensAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeNumericTokensAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeNumericTokensAdminPage.js +10 -6
- package/dist/ui/admin/pages/ThemeNumericTokensAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ThemeRecipeAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeRecipeAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeRecipeAdminPage.js +3 -0
- package/dist/ui/admin/pages/ThemeRecipeAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ThemeRecipeCatalog.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeRecipeCatalog.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeRecipeCatalog.js +3 -0
- package/dist/ui/admin/pages/ThemeRecipeCatalog.js.map +1 -1
- package/dist/ui/admin/pages/ThemeRecipeFieldEditor.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeRecipeFieldEditor.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeRecipeFieldEditor.js +4 -0
- package/dist/ui/admin/pages/ThemeRecipeFieldEditor.js.map +1 -1
- package/dist/ui/admin/pages/ThemeTokenAction.d.ts +4 -0
- package/dist/ui/admin/pages/ThemeTokenAction.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeTokenAction.js +4 -0
- package/dist/ui/admin/pages/ThemeTokenAction.js.map +1 -1
- package/dist/ui/admin/pages/ThemeTypographyAdminPage.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeTypographyAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeTypographyAdminPage.js +1 -0
- package/dist/ui/admin/pages/ThemeTypographyAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ThemeTypographyHeadingEditor.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeTypographyHeadingEditor.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeTypographyHeadingEditor.js +6 -6
- package/dist/ui/admin/pages/ThemeTypographyHeadingEditor.js.map +1 -1
- package/dist/ui/admin/pages/ThemeTypographySizeEditor.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeTypographySizeEditor.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeTypographySizeEditor.js +5 -6
- package/dist/ui/admin/pages/ThemeTypographySizeEditor.js.map +1 -1
- package/dist/ui/admin/pages/ThemeTypographyWeightEditor.d.ts +1 -0
- package/dist/ui/admin/pages/ThemeTypographyWeightEditor.d.ts.map +1 -1
- package/dist/ui/admin/pages/ThemeTypographyWeightEditor.js +3 -0
- package/dist/ui/admin/pages/ThemeTypographyWeightEditor.js.map +1 -1
- package/dist/ui/admin/pages/adminApiOperations.d.ts +4 -0
- package/dist/ui/admin/pages/adminApiOperations.d.ts.map +1 -1
- package/dist/ui/admin/pages/adminApiOperations.js +4 -0
- package/dist/ui/admin/pages/adminApiOperations.js.map +1 -1
- package/dist/ui/admin/pages/adminAuthCredentialFlow.d.ts +7 -0
- package/dist/ui/admin/pages/adminAuthCredentialFlow.d.ts.map +1 -1
- package/dist/ui/admin/pages/adminAuthCredentialFlow.js +28 -0
- package/dist/ui/admin/pages/adminAuthCredentialFlow.js.map +1 -1
- package/dist/ui/admin/pages/adminAuthHealthFlow.d.ts +8 -0
- package/dist/ui/admin/pages/adminAuthHealthFlow.d.ts.map +1 -1
- package/dist/ui/admin/pages/adminAuthHealthFlow.js +8 -0
- package/dist/ui/admin/pages/adminAuthHealthFlow.js.map +1 -1
- package/dist/ui/admin/pages/adminAuthSessionModel.d.ts +73 -0
- package/dist/ui/admin/pages/adminAuthSessionModel.d.ts.map +1 -1
- package/dist/ui/admin/pages/adminAuthSessionModel.js +73 -0
- package/dist/ui/admin/pages/adminAuthSessionModel.js.map +1 -1
- package/dist/ui/admin/pages/adminThemeHarmony.d.ts +4 -0
- package/dist/ui/admin/pages/adminThemeHarmony.d.ts.map +1 -1
- package/dist/ui/admin/pages/adminThemeHarmony.js +4 -0
- package/dist/ui/admin/pages/adminThemeHarmony.js.map +1 -1
- package/dist/ui/admin/pages/adminThemeModel.d.ts +13 -0
- package/dist/ui/admin/pages/adminThemeModel.d.ts.map +1 -1
- package/dist/ui/admin/pages/adminThemeModel.js +13 -0
- package/dist/ui/admin/pages/adminThemeModel.js.map +1 -1
- package/dist/ui/admin/pages/bindings/BindingDiagnosticsCard.d.ts +1 -0
- package/dist/ui/admin/pages/bindings/BindingDiagnosticsCard.d.ts.map +1 -1
- package/dist/ui/admin/pages/bindings/BindingDiagnosticsCard.js +1 -0
- package/dist/ui/admin/pages/bindings/BindingDiagnosticsCard.js.map +1 -1
- package/dist/ui/admin/pages/bindings/EventBindingComposer.d.ts +1 -0
- package/dist/ui/admin/pages/bindings/EventBindingComposer.d.ts.map +1 -1
- package/dist/ui/admin/pages/bindings/EventBindingComposer.js +3 -0
- package/dist/ui/admin/pages/bindings/EventBindingComposer.js.map +1 -1
- package/dist/ui/admin/pages/bindings/EventBindingsCard.d.ts +1 -0
- package/dist/ui/admin/pages/bindings/EventBindingsCard.d.ts.map +1 -1
- package/dist/ui/admin/pages/bindings/EventBindingsCard.js +4 -0
- package/dist/ui/admin/pages/bindings/EventBindingsCard.js.map +1 -1
- package/dist/ui/admin/pages/bindings/PropertyBindingEditor.d.ts +1 -0
- package/dist/ui/admin/pages/bindings/PropertyBindingEditor.d.ts.map +1 -1
- package/dist/ui/admin/pages/bindings/PropertyBindingEditor.js +2 -0
- package/dist/ui/admin/pages/bindings/PropertyBindingEditor.js.map +1 -1
- package/dist/ui/admin/pages/bindings/PropertyBindingsCard.d.ts +1 -0
- package/dist/ui/admin/pages/bindings/PropertyBindingsCard.d.ts.map +1 -1
- package/dist/ui/admin/pages/bindings/PropertyBindingsCard.js +1 -0
- package/dist/ui/admin/pages/bindings/PropertyBindingsCard.js.map +1 -1
- package/dist/ui/admin/pages/bindings/bindingEditorModel.d.ts +16 -0
- package/dist/ui/admin/pages/bindings/bindingEditorModel.d.ts.map +1 -1
- package/dist/ui/admin/pages/bindings/bindingEditorModel.js +26 -0
- package/dist/ui/admin/pages/bindings/bindingEditorModel.js.map +1 -1
- package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.d.ts +4 -0
- package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.d.ts.map +1 -1
- package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.js +10 -0
- package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.js.map +1 -1
- package/dist/ui/admin/pages/screens/screensAdminActions.d.ts +4 -0
- package/dist/ui/admin/pages/screens/screensAdminActions.d.ts.map +1 -1
- package/dist/ui/admin/pages/screens/screensAdminActions.js +4 -0
- package/dist/ui/admin/pages/screens/screensAdminActions.js.map +1 -1
- package/dist/ui/admin/pages/themeRecipeAuthoringModel.d.ts +4 -0
- package/dist/ui/admin/pages/themeRecipeAuthoringModel.d.ts.map +1 -1
- package/dist/ui/admin/pages/themeRecipeAuthoringModel.js +10 -3
- package/dist/ui/admin/pages/themeRecipeAuthoringModel.js.map +1 -1
- package/dist/ui/admin/pages/themeRecipeTokenOptions.d.ts +4 -0
- package/dist/ui/admin/pages/themeRecipeTokenOptions.d.ts.map +1 -1
- package/dist/ui/admin/pages/themeRecipeTokenOptions.js +4 -0
- package/dist/ui/admin/pages/themeRecipeTokenOptions.js.map +1 -1
- package/dist/ui/admin/pages/themeTokenAuthoringModel.d.ts +4 -0
- package/dist/ui/admin/pages/themeTokenAuthoringModel.d.ts.map +1 -1
- package/dist/ui/admin/pages/themeTokenAuthoringModel.js +12 -3
- package/dist/ui/admin/pages/themeTokenAuthoringModel.js.map +1 -1
- package/dist/ui/admin/pages/useActiveThemeAdmin.d.ts +4 -0
- package/dist/ui/admin/pages/useActiveThemeAdmin.d.ts.map +1 -1
- package/dist/ui/admin/pages/useActiveThemeAdmin.js +5 -0
- package/dist/ui/admin/pages/useActiveThemeAdmin.js.map +1 -1
- package/dist/ui/canvas/StudioCanvasDndOverlay.d.ts +4 -0
- package/dist/ui/canvas/StudioCanvasDndOverlay.d.ts.map +1 -1
- package/dist/ui/canvas/StudioCanvasDndOverlay.js +11 -0
- package/dist/ui/canvas/StudioCanvasDndOverlay.js.map +1 -1
- package/dist/ui/canvas/canvasDndInteraction.d.ts +18 -6
- package/dist/ui/canvas/canvasDndInteraction.d.ts.map +1 -1
- package/dist/ui/canvas/canvasDndInteraction.js +18 -3
- package/dist/ui/canvas/canvasDndInteraction.js.map +1 -1
- package/dist/upsertExternalApi.d.ts +3 -0
- package/dist/upsertExternalApi.d.ts.map +1 -1
- package/dist/upsertExternalApi.js +7 -5
- package/dist/upsertExternalApi.js.map +1 -1
- package/dist/utils/treeUtils.d.ts +3 -0
- package/dist/utils/treeUtils.d.ts.map +1 -1
- package/dist/utils/treeUtils.js +3 -0
- package/dist/utils/treeUtils.js.map +1 -1
- package/dist/workspacePlatform.d.ts +12 -0
- package/dist/workspacePlatform.d.ts.map +1 -1
- package/dist/workspacePlatform.js +30 -25
- package/dist/workspacePlatform.js.map +1 -1
- package/package.json +2 -2
- package/dist/hooks/useWorkspaceActions.d.ts +0 -8
- package/dist/hooks/useWorkspaceActions.d.ts.map +0 -1
- package/dist/hooks/useWorkspaceActions.js +0 -28
- package/dist/hooks/useWorkspaceActions.js.map +0 -1
- package/dist/utils/deleteOwnProperty.d.ts +0 -3
- package/dist/utils/deleteOwnProperty.d.ts.map +0 -1
- package/dist/utils/deleteOwnProperty.js +0 -5
- package/dist/utils/deleteOwnProperty.js.map +0 -1
- package/dist/utils/readOwnProperty.d.ts +0 -3
- package/dist/utils/readOwnProperty.d.ts.map +0 -1
- package/dist/utils/readOwnProperty.js +0 -7
- package/dist/utils/readOwnProperty.js.map +0 -1
- package/dist/utils/setOwnProperty.d.ts +0 -3
- package/dist/utils/setOwnProperty.d.ts.map +0 -1
- package/dist/utils/setOwnProperty.js +0 -10
- package/dist/utils/setOwnProperty.js.map +0 -1
package/dist/manifestState.js
CHANGED
|
@@ -44,12 +44,20 @@ export const DEFAULT_STUDIO_SCREEN_TEMPLATE = {
|
|
|
44
44
|
},
|
|
45
45
|
],
|
|
46
46
|
};
|
|
47
|
+
/***
|
|
48
|
+
* Generate a Studio manifest-state identifier from the current time, randomness, and optional prefix.
|
|
49
|
+
* @todo Move this identifier policy from the src root into the manifest domain or the domain that owns generated authoring IDs.
|
|
50
|
+
*/
|
|
47
51
|
export const generateManifestStateId = (prefix) => {
|
|
48
52
|
const timestamp = Date.now().toString(36);
|
|
49
53
|
const random = Math.random().toString(36).substring(2, 11);
|
|
50
54
|
const id = `${timestamp}-${random}`;
|
|
51
55
|
return prefix ? `${prefix.toLowerCase()}-${id}` : id;
|
|
52
56
|
};
|
|
57
|
+
/***
|
|
58
|
+
* Serialize the manifest fields used to detect broad Studio authoring-state changes.
|
|
59
|
+
* @todo Move this manifest state projection from the src root into the manifest domain.
|
|
60
|
+
*/
|
|
53
61
|
export function createStudioManifestFingerprint(manifest) {
|
|
54
62
|
if (!manifest)
|
|
55
63
|
return '';
|
|
@@ -65,12 +73,24 @@ export function createStudioManifestFingerprint(manifest) {
|
|
|
65
73
|
infra: manifest.infra,
|
|
66
74
|
});
|
|
67
75
|
}
|
|
76
|
+
/***
|
|
77
|
+
* Convert a navigator parent path to the stable key used for route grouping.
|
|
78
|
+
* @todo Move this route-path helper from the src root into routes/.
|
|
79
|
+
*/
|
|
68
80
|
export function pathToKey(path) {
|
|
69
81
|
return path.length === 0 ? '__root__' : path.join('/');
|
|
70
82
|
}
|
|
83
|
+
/***
|
|
84
|
+
* Return whether a route segment represents an Expo Router-style group segment.
|
|
85
|
+
* @todo Move this route semantic helper from the src root into routes/.
|
|
86
|
+
*/
|
|
71
87
|
export function isRouteGroupSegment(segment) {
|
|
72
88
|
return /^\(.*\)$/.test(segment);
|
|
73
89
|
}
|
|
90
|
+
/***
|
|
91
|
+
* Recursively collect screen-targeting routes together with their navigator and route paths.
|
|
92
|
+
* @todo Move route traversal from the src root into routes/.
|
|
93
|
+
*/
|
|
74
94
|
export function collectScreenRouteEntries(routes, parentPath = [], routePathPrefix = []) {
|
|
75
95
|
const entries = [];
|
|
76
96
|
for (const route of routes) {
|
|
@@ -89,6 +109,10 @@ export function collectScreenRouteEntries(routes, parentPath = [], routePathPref
|
|
|
89
109
|
}
|
|
90
110
|
return entries;
|
|
91
111
|
}
|
|
112
|
+
/***
|
|
113
|
+
* Group collected screen routes by the navigator parent path that owns them.
|
|
114
|
+
* @todo Move route grouping from the src root into routes/.
|
|
115
|
+
*/
|
|
92
116
|
export function groupScreenRouteEntries(entries) {
|
|
93
117
|
const groups = new Map();
|
|
94
118
|
for (const entry of entries) {
|
|
@@ -104,9 +128,9 @@ export function groupScreenRouteEntries(entries) {
|
|
|
104
128
|
}
|
|
105
129
|
return Array.from(groups.values());
|
|
106
130
|
}
|
|
107
|
-
|
|
108
|
-
*
|
|
109
|
-
*
|
|
131
|
+
/***
|
|
132
|
+
* Verify that every screen registry key equals its unique stable ScreenSpec identifier.
|
|
133
|
+
* @todo Move this manifest screen invariant from the src root into the manifest domain.
|
|
110
134
|
*/
|
|
111
135
|
export function hasCanonicalStudioScreenRegistryIdentity(screens) {
|
|
112
136
|
const screenIds = new Set();
|
|
@@ -117,14 +141,18 @@ export function hasCanonicalStudioScreenRegistryIdentity(screens) {
|
|
|
117
141
|
}
|
|
118
142
|
return true;
|
|
119
143
|
}
|
|
144
|
+
/***
|
|
145
|
+
* Resolve a screen by stable identifier only when the manifest screen registry satisfies its canonical identity invariant.
|
|
146
|
+
* @todo Move this screen lookup from the src root into the manifest domain.
|
|
147
|
+
*/
|
|
120
148
|
function resolveCanonicalStudioScreen(manifest, screenId) {
|
|
121
149
|
if (!hasCanonicalStudioScreenRegistryIdentity(manifest.screens))
|
|
122
150
|
return undefined;
|
|
123
151
|
return Object.values(manifest.screens).find((screen) => screen.id === screenId);
|
|
124
152
|
}
|
|
125
|
-
|
|
126
|
-
*
|
|
127
|
-
*
|
|
153
|
+
/***
|
|
154
|
+
* Derive the complete screen/navigation authoring model and diagnostics without flattening the navigator tree.
|
|
155
|
+
* @todo Move navigation-model derivation from the src root into routes/.
|
|
128
156
|
*/
|
|
129
157
|
export function deriveStudioScreenNavigationModel(manifest) {
|
|
130
158
|
const primaryNavigatorPath = getPrimaryNavigatorPath(manifest.navigator.routes);
|
|
@@ -183,9 +211,9 @@ export function deriveStudioScreenNavigationModel(manifest) {
|
|
|
183
211
|
diagnostics,
|
|
184
212
|
};
|
|
185
213
|
}
|
|
186
|
-
|
|
187
|
-
*
|
|
188
|
-
*
|
|
214
|
+
/***
|
|
215
|
+
* Resolve a concrete app pathname only when a screen has one unique, non-dynamic route reference.
|
|
216
|
+
* @todo Move canonical route-path resolution from the src root into routes/.
|
|
189
217
|
*/
|
|
190
218
|
export function resolveStudioScreenAppPath(model, screenId) {
|
|
191
219
|
const matchingEntries = model.screens.filter((candidate) => candidate.screenId === screenId);
|
|
@@ -207,6 +235,10 @@ export function resolveStudioScreenAppPath(model, screenId) {
|
|
|
207
235
|
const matchingReferences = model.screens.flatMap((candidate) => candidate.routeReferences.filter((candidateReference) => candidateReference.pathnamePattern === reference.pathnamePattern));
|
|
208
236
|
return matchingReferences.length === 1 ? reference.pathnamePattern : null;
|
|
209
237
|
}
|
|
238
|
+
/***
|
|
239
|
+
* Traverse a navigator tree to collect route references and navigation diagnostics for each screen.
|
|
240
|
+
* @todo Move navigation traversal and diagnostics from the src root into routes/.
|
|
241
|
+
*/
|
|
210
242
|
function collectNavigationModelReferences(args) {
|
|
211
243
|
const { navigator, screens, primaryNavigatorPath, parentPath, routePathPrefix, runtimePathPrefix, diagnostics, referencesByRegistryKey, } = args;
|
|
212
244
|
const siblingNameCounts = new Map();
|
|
@@ -301,25 +333,40 @@ function collectNavigationModelReferences(args) {
|
|
|
301
333
|
}
|
|
302
334
|
}
|
|
303
335
|
}
|
|
336
|
+
/***
|
|
337
|
+
* Append one route's explicit or named path segments to the current runtime route path.
|
|
338
|
+
* @todo Move runtime route-path construction from the src root into routes/.
|
|
339
|
+
*/
|
|
304
340
|
function appendRuntimeRoutePath(runtimePathPrefix, route) {
|
|
305
341
|
const explicitPath = route.path?.trim();
|
|
306
342
|
const segmentPath = explicitPath ?? route.name;
|
|
307
343
|
const segments = segmentPath.split('/').filter(Boolean);
|
|
308
344
|
return explicitPath?.startsWith('/') ? segments : [...runtimePathPrefix, ...segments];
|
|
309
345
|
}
|
|
346
|
+
/***
|
|
347
|
+
* Compare two route paths for ordered segment equality.
|
|
348
|
+
* @todo Keep this small comparison helper local to routes/ unless broader reuse is demonstrated.
|
|
349
|
+
*/
|
|
310
350
|
function pathsEqual(first, second) {
|
|
311
351
|
return (first.length === second.length && first.every((value, index) => value === second.at(index)));
|
|
312
352
|
}
|
|
353
|
+
/***
|
|
354
|
+
* Format a route parent path for navigation diagnostic messages.
|
|
355
|
+
* @todo Move route diagnostic formatting from the src root into routes/.
|
|
356
|
+
*/
|
|
313
357
|
function formatParentPath(parentPath) {
|
|
314
358
|
return parentPath.length === 0 ? '<root>' : parentPath.join('/');
|
|
315
359
|
}
|
|
360
|
+
/***
|
|
361
|
+
* List routed screen identifiers in navigator traversal order.
|
|
362
|
+
* @todo Move route ordering behavior from the src root into routes/.
|
|
363
|
+
*/
|
|
316
364
|
export function listScreenIdsInRouteOrder(routes) {
|
|
317
365
|
return collectScreenRouteEntries(routes).map((entry) => entry.screenId);
|
|
318
366
|
}
|
|
319
|
-
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
* back to the first route that reaches an available screen.
|
|
367
|
+
/***
|
|
368
|
+
* Resolve the initial leaf screen selected by a nested navigator tree, falling back to the first usable route.
|
|
369
|
+
* @todo Move initial-route resolution from the src root into routes/.
|
|
323
370
|
*/
|
|
324
371
|
export function resolveInitialScreenId(navigator, screens) {
|
|
325
372
|
if (screens && !hasCanonicalStudioScreenRegistryIdentity(screens))
|
|
@@ -342,6 +389,10 @@ export function resolveInitialScreenId(navigator, screens) {
|
|
|
342
389
|
}
|
|
343
390
|
return null;
|
|
344
391
|
}
|
|
392
|
+
/***
|
|
393
|
+
* Resolve the active screen Studio should select when a manifest is first opened.
|
|
394
|
+
* @todo Move initial Studio screen selection out of the src root into routes/ or selection/ according to its caller boundary.
|
|
395
|
+
*/
|
|
345
396
|
export function resolveInitialActiveScreenId(manifest) {
|
|
346
397
|
if (!manifest || !hasCanonicalStudioScreenRegistryIdentity(manifest.screens))
|
|
347
398
|
return null;
|
|
@@ -349,11 +400,19 @@ export function resolveInitialActiveScreenId(manifest) {
|
|
|
349
400
|
const [firstScreenId] = Object.values(manifest.screens).map((screen) => screen.id);
|
|
350
401
|
return firstRoutedScreenId ?? firstScreenId ?? null;
|
|
351
402
|
}
|
|
403
|
+
/***
|
|
404
|
+
* Resolve the root UI node for the active canonical screen.
|
|
405
|
+
* @todo Move active-screen root resolution from the src root into the manifest/selection boundary.
|
|
406
|
+
*/
|
|
352
407
|
export function resolveActiveRootNode(manifest, activeScreenId) {
|
|
353
408
|
if (!manifest || !activeScreenId)
|
|
354
409
|
return null;
|
|
355
410
|
return resolveCanonicalStudioScreen(manifest, activeScreenId)?.root ?? null;
|
|
356
411
|
}
|
|
412
|
+
/***
|
|
413
|
+
* Recursively find a UI node by identifier in a manifest-owned UI tree.
|
|
414
|
+
* @todo Move UI-tree traversal from the src root into canvas/.
|
|
415
|
+
*/
|
|
357
416
|
export function findNodeInManifest(root, id) {
|
|
358
417
|
if (root.id === id)
|
|
359
418
|
return root;
|
|
@@ -364,11 +423,19 @@ export function findNodeInManifest(root, id) {
|
|
|
364
423
|
}
|
|
365
424
|
return null;
|
|
366
425
|
}
|
|
426
|
+
/***
|
|
427
|
+
* Keep a selected node identifier only while that node still exists in the active tree.
|
|
428
|
+
* @todo Move selection validity policy from the src root into selection/.
|
|
429
|
+
*/
|
|
367
430
|
export function resolveSafeSelectedNodeId(rootNode, selectedNodeId) {
|
|
368
431
|
if (!selectedNodeId || !rootNode)
|
|
369
432
|
return null;
|
|
370
433
|
return findNodeInManifest(rootNode, selectedNodeId) ? selectedNodeId : null;
|
|
371
434
|
}
|
|
435
|
+
/***
|
|
436
|
+
* Find the canonical screen whose UI tree contains a given node identifier.
|
|
437
|
+
* @todo Move screen ownership lookup from the src root into the manifest/canvas boundary.
|
|
438
|
+
*/
|
|
372
439
|
export function findScreenIdForNode(manifest, nodeId) {
|
|
373
440
|
if (!hasCanonicalStudioScreenRegistryIdentity(manifest.screens))
|
|
374
441
|
return null;
|
|
@@ -379,6 +446,10 @@ export function findScreenIdForNode(manifest, nodeId) {
|
|
|
379
446
|
}
|
|
380
447
|
return null;
|
|
381
448
|
}
|
|
449
|
+
/***
|
|
450
|
+
* Update authored properties of one node in the active screen while preserving manifest immutability.
|
|
451
|
+
* @todo Move canvas node mutation from the src root into canvas/.
|
|
452
|
+
*/
|
|
382
453
|
export function updateStudioManifestNode(manifest, activeScreenId, nodeId, newProps) {
|
|
383
454
|
if (!activeScreenId)
|
|
384
455
|
return manifest;
|
|
@@ -399,6 +470,10 @@ export function updateStudioManifestNode(manifest, activeScreenId, nodeId, newPr
|
|
|
399
470
|
},
|
|
400
471
|
};
|
|
401
472
|
}
|
|
473
|
+
/***
|
|
474
|
+
* Delete a non-root node from the active screen and remove data bindings owned by the deleted subtree.
|
|
475
|
+
* @todo Split this canvas mutation and binding cleanup between canvas/ and bindings/ instead of the src root.
|
|
476
|
+
*/
|
|
402
477
|
export function deleteStudioManifestNode(manifest, activeScreenId, nodeId) {
|
|
403
478
|
if (!activeScreenId)
|
|
404
479
|
return manifest;
|
|
@@ -425,6 +500,10 @@ export function deleteStudioManifestNode(manifest, activeScreenId, nodeId) {
|
|
|
425
500
|
},
|
|
426
501
|
};
|
|
427
502
|
}
|
|
503
|
+
/***
|
|
504
|
+
* Insert a new UI node at a validated canvas placement in the active screen.
|
|
505
|
+
* @todo Move canvas insertion orchestration from the src root into canvas/.
|
|
506
|
+
*/
|
|
428
507
|
export function insertStudioManifestNodeAtPlacement(args) {
|
|
429
508
|
const { manifest, activeScreenId, placement, newNode, componentMeta } = args;
|
|
430
509
|
if (!activeScreenId)
|
|
@@ -454,6 +533,10 @@ export function insertStudioManifestNodeAtPlacement(args) {
|
|
|
454
533
|
insertedNodeId: newNode.id,
|
|
455
534
|
};
|
|
456
535
|
}
|
|
536
|
+
/***
|
|
537
|
+
* Move an existing UI node to a validated canvas placement in the active screen.
|
|
538
|
+
* @todo Move canvas movement orchestration from the src root into canvas/.
|
|
539
|
+
*/
|
|
457
540
|
export function moveStudioManifestNodeToPlacement(args) {
|
|
458
541
|
const { manifest, activeScreenId, nodeId, placement, componentMeta } = args;
|
|
459
542
|
if (!activeScreenId)
|
|
@@ -483,12 +566,24 @@ export function moveStudioManifestNodeToPlacement(args) {
|
|
|
483
566
|
movedNodeId: movement.movedNodeId,
|
|
484
567
|
};
|
|
485
568
|
}
|
|
569
|
+
/***
|
|
570
|
+
* Replace the manifest component data-binding registry.
|
|
571
|
+
* @todo Move binding-state mutation from the src root into bindings/.
|
|
572
|
+
*/
|
|
486
573
|
export function updateStudioManifestDataBindings(manifest, dataBindings) {
|
|
487
574
|
return { ...manifest, dataBindings };
|
|
488
575
|
}
|
|
576
|
+
/***
|
|
577
|
+
* Replace the manifest data-source registry.
|
|
578
|
+
* @todo Resolve data-source authoring ownership with bindings/external APIs and remove this src-root mutation.
|
|
579
|
+
*/
|
|
489
580
|
export function updateStudioManifestDataSources(manifest, dataSources) {
|
|
490
581
|
return { ...manifest, dataSources };
|
|
491
582
|
}
|
|
583
|
+
/***
|
|
584
|
+
* Create the default light/dark theme configuration for a newly authored theme.
|
|
585
|
+
* @todo Extract theme authoring from manifestState.ts; the current Studio structure target does not yet name a dedicated theme domain.
|
|
586
|
+
*/
|
|
492
587
|
export function createDefaultThemeConfig(themeIndex, id = generateManifestStateId('theme')) {
|
|
493
588
|
return {
|
|
494
589
|
id,
|
|
@@ -503,9 +598,17 @@ export function createDefaultThemeConfig(themeIndex, id = generateManifestStateI
|
|
|
503
598
|
},
|
|
504
599
|
};
|
|
505
600
|
}
|
|
601
|
+
/***
|
|
602
|
+
* Append a theme to the manifest, creating a default theme when none is supplied.
|
|
603
|
+
* @todo Extract theme authoring from manifestState.ts into its resolved owner.
|
|
604
|
+
*/
|
|
506
605
|
export function addStudioManifestTheme(manifest, theme = createDefaultThemeConfig(manifest.themes.length)) {
|
|
507
606
|
return { ...manifest, themes: [...manifest.themes, theme] };
|
|
508
607
|
}
|
|
608
|
+
/***
|
|
609
|
+
* Merge shared and mode-specific updates into one manifest theme.
|
|
610
|
+
* @todo Extract theme authoring from manifestState.ts into its resolved owner.
|
|
611
|
+
*/
|
|
509
612
|
export function updateStudioManifestTheme(manifest, themeId, updates) {
|
|
510
613
|
return {
|
|
511
614
|
...manifest,
|
|
@@ -522,6 +625,10 @@ export function updateStudioManifestTheme(manifest, themeId, updates) {
|
|
|
522
625
|
}),
|
|
523
626
|
};
|
|
524
627
|
}
|
|
628
|
+
/***
|
|
629
|
+
* Delete a theme while preserving at least one theme and a valid active-theme identifier.
|
|
630
|
+
* @todo Extract theme authoring from manifestState.ts into its resolved owner.
|
|
631
|
+
*/
|
|
525
632
|
export function deleteStudioManifestTheme(manifest, themeId) {
|
|
526
633
|
if (manifest.themes.length <= 1)
|
|
527
634
|
return manifest;
|
|
@@ -531,12 +638,24 @@ export function deleteStudioManifestTheme(manifest, themeId) {
|
|
|
531
638
|
: manifest.activeThemeId;
|
|
532
639
|
return { ...manifest, themes, activeThemeId };
|
|
533
640
|
}
|
|
641
|
+
/***
|
|
642
|
+
* Set the active theme identifier in the manifest.
|
|
643
|
+
* @todo Extract theme authoring from manifestState.ts into its resolved owner.
|
|
644
|
+
*/
|
|
534
645
|
export function setStudioManifestActiveThemeId(manifest, activeThemeId) {
|
|
535
646
|
return { ...manifest, activeThemeId };
|
|
536
647
|
}
|
|
648
|
+
/***
|
|
649
|
+
* Set the active light/dark theme mode in the manifest.
|
|
650
|
+
* @todo Extract theme authoring from manifestState.ts into its resolved owner.
|
|
651
|
+
*/
|
|
537
652
|
export function setStudioManifestActiveThemeMode(manifest, activeThemeMode) {
|
|
538
653
|
return { ...manifest, activeThemeMode };
|
|
539
654
|
}
|
|
655
|
+
/***
|
|
656
|
+
* Replace OAuth providers while preserving or creating the surrounding manifest auth configuration.
|
|
657
|
+
* @todo Move auth policy from the src root into auth/.
|
|
658
|
+
*/
|
|
540
659
|
export function updateStudioManifestOAuthProviders(manifest, providers) {
|
|
541
660
|
const previousAuth = manifest.infra.auth ?? {
|
|
542
661
|
provider: 'supabase',
|
|
@@ -563,6 +682,10 @@ export function updateStudioManifestOAuthProviders(manifest, providers) {
|
|
|
563
682
|
},
|
|
564
683
|
};
|
|
565
684
|
}
|
|
685
|
+
/***
|
|
686
|
+
* Resolve the navigator path Studio treats as the primary application navigator.
|
|
687
|
+
* @todo Move primary-navigator policy from the src root into routes/.
|
|
688
|
+
*/
|
|
566
689
|
export function getPrimaryNavigatorPath(routes) {
|
|
567
690
|
const appGroupRoute = routes.find((route) => route.name === '(app)' && route.navigator?.routes);
|
|
568
691
|
if (appGroupRoute)
|
|
@@ -572,6 +695,10 @@ export function getPrimaryNavigatorPath(routes) {
|
|
|
572
695
|
return ['app'];
|
|
573
696
|
return [];
|
|
574
697
|
}
|
|
698
|
+
/***
|
|
699
|
+
* Find the navigator parent path that owns a route targeting the requested screen.
|
|
700
|
+
* @todo Move route traversal from the src root into routes/.
|
|
701
|
+
*/
|
|
575
702
|
export function findParentPathForScreenId(routes, screenId, parentPath = [], routePathPrefix = []) {
|
|
576
703
|
for (const route of routes) {
|
|
577
704
|
const routePath = [...routePathPrefix, route.name];
|
|
@@ -585,6 +712,10 @@ export function findParentPathForScreenId(routes, screenId, parentPath = [], rou
|
|
|
585
712
|
}
|
|
586
713
|
return null;
|
|
587
714
|
}
|
|
715
|
+
/***
|
|
716
|
+
* Resolve the direct route collection owned by a navigator parent path.
|
|
717
|
+
* @todo Move navigator path lookup from the src root into routes/.
|
|
718
|
+
*/
|
|
588
719
|
export function findRoutesAtParentPath(routes, parentPath) {
|
|
589
720
|
if (parentPath.length === 0)
|
|
590
721
|
return routes;
|
|
@@ -599,6 +730,10 @@ export function findRoutesAtParentPath(routes, parentPath) {
|
|
|
599
730
|
return null;
|
|
600
731
|
return findRoutesAtParentPath(route.navigator.routes, rest);
|
|
601
732
|
}
|
|
733
|
+
/***
|
|
734
|
+
* Insert a route into the navigator identified by a parent path without mutating the existing tree.
|
|
735
|
+
* @todo Move route-tree mutation from the src root into routes/.
|
|
736
|
+
*/
|
|
602
737
|
export function insertRouteAtParentPath(routes, parentPath, newRoute) {
|
|
603
738
|
if (parentPath.length === 0)
|
|
604
739
|
return [...routes, newRoute];
|
|
@@ -619,6 +754,10 @@ export function insertRouteAtParentPath(routes, parentPath, newRoute) {
|
|
|
619
754
|
};
|
|
620
755
|
});
|
|
621
756
|
}
|
|
757
|
+
/***
|
|
758
|
+
* Resolve a nested navigator by its route-name path.
|
|
759
|
+
* @todo Move navigator lookup from the src root into routes/.
|
|
760
|
+
*/
|
|
622
761
|
export function findNavigatorAtPath(navigator, parentPath) {
|
|
623
762
|
if (parentPath.length === 0)
|
|
624
763
|
return navigator;
|
|
@@ -633,6 +772,10 @@ export function findNavigatorAtPath(navigator, parentPath) {
|
|
|
633
772
|
return null;
|
|
634
773
|
return findNavigatorAtPath(route.navigator, rest);
|
|
635
774
|
}
|
|
775
|
+
/***
|
|
776
|
+
* Immutably update the navigator identified by a route-name path.
|
|
777
|
+
* @todo Move navigator-tree mutation from the src root into routes/.
|
|
778
|
+
*/
|
|
636
779
|
export function updateNavigatorAtPath(navigator, parentPath, updater) {
|
|
637
780
|
if (parentPath.length === 0)
|
|
638
781
|
return updater(navigator);
|
|
@@ -653,6 +796,10 @@ export function updateNavigatorAtPath(navigator, parentPath, updater) {
|
|
|
653
796
|
}),
|
|
654
797
|
};
|
|
655
798
|
}
|
|
799
|
+
/***
|
|
800
|
+
* Change the primary navigator type when the requested navigator type is valid and different.
|
|
801
|
+
* @todo Move navigator authoring policy from the src root into routes/.
|
|
802
|
+
*/
|
|
656
803
|
export function setStudioManifestNavigatorType(manifest, type) {
|
|
657
804
|
if (!NAVIGATOR_TYPES.includes(type))
|
|
658
805
|
return manifest;
|
|
@@ -668,6 +815,10 @@ export function setStudioManifestNavigatorType(manifest, type) {
|
|
|
668
815
|
})),
|
|
669
816
|
};
|
|
670
817
|
}
|
|
818
|
+
/***
|
|
819
|
+
* Change the primary navigator initial route when the requested sibling route is unique.
|
|
820
|
+
* @todo Move navigator authoring policy from the src root into routes/.
|
|
821
|
+
*/
|
|
671
822
|
export function setStudioManifestNavigatorInitialRoute(manifest, routeName) {
|
|
672
823
|
const normalizedRoute = routeName.trim();
|
|
673
824
|
if (!normalizedRoute)
|
|
@@ -689,6 +840,10 @@ export function setStudioManifestNavigatorInitialRoute(manifest, routeName) {
|
|
|
689
840
|
})),
|
|
690
841
|
};
|
|
691
842
|
}
|
|
843
|
+
/***
|
|
844
|
+
* Set whether one route is visible in primary navigation while preserving the canonical visible representation.
|
|
845
|
+
* @todo Move route visibility authoring from the src root into routes/.
|
|
846
|
+
*/
|
|
692
847
|
export function setStudioManifestRoutePrimaryNavigationVisibility(args) {
|
|
693
848
|
const { manifest, parentPath, routeName, showInPrimaryNavigation } = args;
|
|
694
849
|
const navigator = findNavigatorAtPath(manifest.navigator, parentPath);
|
|
@@ -721,6 +876,10 @@ export function setStudioManifestRoutePrimaryNavigationVisibility(args) {
|
|
|
721
876
|
})),
|
|
722
877
|
};
|
|
723
878
|
}
|
|
879
|
+
/***
|
|
880
|
+
* Reorder one uniquely named route within its navigator parent.
|
|
881
|
+
* @todo Move route ordering authoring from the src root into routes/.
|
|
882
|
+
*/
|
|
724
883
|
export function moveStudioManifestRoute(args) {
|
|
725
884
|
const { manifest, parentPath, routeName, toIndex } = args;
|
|
726
885
|
if (!Number.isInteger(toIndex))
|
|
@@ -746,6 +905,10 @@ export function moveStudioManifestRoute(args) {
|
|
|
746
905
|
}),
|
|
747
906
|
};
|
|
748
907
|
}
|
|
908
|
+
/***
|
|
909
|
+
* Create a new screen from a template, generate a collision-free route, and make the new screen active.
|
|
910
|
+
* @todo Split screen creation between manifest screen state and routes/ instead of keeping both in one src-root function.
|
|
911
|
+
*/
|
|
749
912
|
export function addStudioManifestScreen(args) {
|
|
750
913
|
const { manifest, activeScreenId, createId = generateManifestStateId } = args;
|
|
751
914
|
if (!hasCanonicalStudioScreenRegistryIdentity(manifest.screens)) {
|
|
@@ -791,6 +954,10 @@ export function addStudioManifestScreen(args) {
|
|
|
791
954
|
},
|
|
792
955
|
};
|
|
793
956
|
}
|
|
957
|
+
/***
|
|
958
|
+
* Delete a screen, remove route references and bindings for its subtree, and resolve a safe next active screen.
|
|
959
|
+
* @todo Split this cross-domain operation across manifest, routes/, bindings/, and selection application responsibilities.
|
|
960
|
+
*/
|
|
794
961
|
export function deleteStudioManifestScreen(manifest, screenId, activeScreenId) {
|
|
795
962
|
if (!hasCanonicalStudioScreenRegistryIdentity(manifest.screens)) {
|
|
796
963
|
return { manifest, activeScreenId };
|
|
@@ -824,6 +991,10 @@ export function deleteStudioManifestScreen(manifest, screenId, activeScreenId) {
|
|
|
824
991
|
},
|
|
825
992
|
};
|
|
826
993
|
}
|
|
994
|
+
/***
|
|
995
|
+
* Recursively remove a screen target from routes and prune nested navigators that become empty.
|
|
996
|
+
* @todo Move route cleanup from the src root into routes/.
|
|
997
|
+
*/
|
|
827
998
|
export function removeScreenIdFromRoutes(routes, screenId) {
|
|
828
999
|
const nextRoutes = [];
|
|
829
1000
|
for (const route of routes) {
|
|
@@ -849,6 +1020,10 @@ export function removeScreenIdFromRoutes(routes, screenId) {
|
|
|
849
1020
|
}
|
|
850
1021
|
return nextRoutes;
|
|
851
1022
|
}
|
|
1023
|
+
/***
|
|
1024
|
+
* Generate a route name that is unique among sibling routes by appending a numeric suffix when needed.
|
|
1025
|
+
* @todo Move route-name generation from the src root into routes/.
|
|
1026
|
+
*/
|
|
852
1027
|
export function makeUniqueSiblingRouteName(base, siblingRoutes) {
|
|
853
1028
|
const normalized = normalizeRouteName(base);
|
|
854
1029
|
const existingNames = new Set(siblingRoutes.map((route) => route.name));
|
|
@@ -860,6 +1035,10 @@ export function makeUniqueSiblingRouteName(base, siblingRoutes) {
|
|
|
860
1035
|
}
|
|
861
1036
|
return `${normalized}-${suffix}`;
|
|
862
1037
|
}
|
|
1038
|
+
/***
|
|
1039
|
+
* Convert route path segments to the canonical pathname pattern used by Studio authoring.
|
|
1040
|
+
* @todo Move canonical route-pattern logic from the src root into routes/.
|
|
1041
|
+
*/
|
|
863
1042
|
export function toCanonicalRoutePattern(routePath) {
|
|
864
1043
|
const normalized = routePath.filter((segment) => !isRouteGroupSegment(segment));
|
|
865
1044
|
while (normalized[0] === 'index')
|
|
@@ -868,6 +1047,10 @@ export function toCanonicalRoutePattern(routePath) {
|
|
|
868
1047
|
normalized.pop();
|
|
869
1048
|
return normalized.length ? `/${normalized.join('/')}` : '/';
|
|
870
1049
|
}
|
|
1050
|
+
/***
|
|
1051
|
+
* Generate a route name that avoids both sibling-name and canonical-path collisions.
|
|
1052
|
+
* @todo Move route-name collision policy from the src root into routes/.
|
|
1053
|
+
*/
|
|
871
1054
|
export function makeUniqueRouteNameForParent(baseRouteName, siblingRoutes, parentPath, existingPatterns) {
|
|
872
1055
|
const siblingNames = new Set(siblingRoutes.map((route) => route.name));
|
|
873
1056
|
let candidate = baseRouteName;
|
|
@@ -879,6 +1062,10 @@ export function makeUniqueRouteNameForParent(baseRouteName, siblingRoutes, paren
|
|
|
879
1062
|
}
|
|
880
1063
|
return candidate;
|
|
881
1064
|
}
|
|
1065
|
+
/***
|
|
1066
|
+
* Normalize arbitrary screen text into the lowercase hyphenated route-name form used by Studio.
|
|
1067
|
+
* @todo Keep this semantic route-name normalization under routes/ rather than extracting it as a generic slug utility.
|
|
1068
|
+
*/
|
|
882
1069
|
function normalizeRouteName(value) {
|
|
883
1070
|
return (value
|
|
884
1071
|
.trim()
|
|
@@ -886,6 +1073,10 @@ function normalizeRouteName(value) {
|
|
|
886
1073
|
.replace(/[^a-z0-9]+/g, '-')
|
|
887
1074
|
.replace(/^-+|-+$/g, '') || 'screen');
|
|
888
1075
|
}
|
|
1076
|
+
/***
|
|
1077
|
+
* Collect canonical pathname patterns for every route in a nested navigator tree.
|
|
1078
|
+
* @todo Move route-pattern traversal from the src root into routes/.
|
|
1079
|
+
*/
|
|
889
1080
|
function collectCanonicalRoutePatterns(routes, runtimePathPrefix = []) {
|
|
890
1081
|
const patterns = [];
|
|
891
1082
|
for (const route of routes) {
|
|
@@ -897,6 +1088,10 @@ function collectCanonicalRoutePatterns(routes, runtimePathPrefix = []) {
|
|
|
897
1088
|
}
|
|
898
1089
|
return patterns;
|
|
899
1090
|
}
|
|
1091
|
+
/***
|
|
1092
|
+
* Deep-clone a UI node tree while assigning fresh identifiers and copying mutable node data.
|
|
1093
|
+
* @todo Move UI-tree cloning from the src root into canvas/.
|
|
1094
|
+
*/
|
|
900
1095
|
function cloneNodeWithNewIds(node, createId) {
|
|
901
1096
|
const clonedNode = {
|
|
902
1097
|
...node,
|
|
@@ -908,6 +1103,10 @@ function cloneNodeWithNewIds(node, createId) {
|
|
|
908
1103
|
}
|
|
909
1104
|
return clonedNode;
|
|
910
1105
|
}
|
|
1106
|
+
/***
|
|
1107
|
+
* Immutably update alias, style, and props for a node in a UI tree.
|
|
1108
|
+
* @todo Move UI-tree mutation from the src root into canvas/ or properties/ according to final authoring ownership.
|
|
1109
|
+
*/
|
|
911
1110
|
function updateNodeInManifestTree(root, id, newProps) {
|
|
912
1111
|
if (root.id === id) {
|
|
913
1112
|
const { alias, style, ...rest } = newProps;
|
|
@@ -926,6 +1125,10 @@ function updateNodeInManifestTree(root, id, newProps) {
|
|
|
926
1125
|
const hasChanged = nextChildren.some((child, index) => child !== root.children?.at(index));
|
|
927
1126
|
return hasChanged ? { ...root, children: nextChildren } : root;
|
|
928
1127
|
}
|
|
1128
|
+
/***
|
|
1129
|
+
* Immutably remove a node from a UI tree while preserving the remaining hierarchy.
|
|
1130
|
+
* @todo Move UI-tree mutation from the src root into canvas/.
|
|
1131
|
+
*/
|
|
929
1132
|
function removeNodeFromManifestTree(root, nodeId) {
|
|
930
1133
|
if (root.id === nodeId)
|
|
931
1134
|
return null;
|
|
@@ -939,6 +1142,10 @@ function removeNodeFromManifestTree(root, nodeId) {
|
|
|
939
1142
|
const hasChanged = nextChildren.some((child, index) => child !== root.children?.at(index));
|
|
940
1143
|
return hasChanged ? { ...root, children: nextChildren } : root;
|
|
941
1144
|
}
|
|
1145
|
+
/***
|
|
1146
|
+
* Collect every node identifier in a UI subtree.
|
|
1147
|
+
* @todo Move UI-tree traversal from the src root into canvas/.
|
|
1148
|
+
*/
|
|
942
1149
|
function collectNodeIds(root) {
|
|
943
1150
|
const ids = new Set();
|
|
944
1151
|
const visit = (node) => {
|
|
@@ -949,6 +1156,10 @@ function collectNodeIds(root) {
|
|
|
949
1156
|
visit(root);
|
|
950
1157
|
return ids;
|
|
951
1158
|
}
|
|
1159
|
+
/***
|
|
1160
|
+
* Repair a navigator's initial-route field after route removal while preserving canonical omission when no initial route exists.
|
|
1161
|
+
* @todo Move navigator normalization from the src root into routes/.
|
|
1162
|
+
*/
|
|
952
1163
|
function normalizeNavigatorAfterRouteUpdate(navigator) {
|
|
953
1164
|
const nextRoutes = navigator.routes;
|
|
954
1165
|
let nextInitialRouteName = navigator.initialRouteName;
|
|
@@ -965,6 +1176,10 @@ function normalizeNavigatorAfterRouteUpdate(navigator) {
|
|
|
965
1176
|
}
|
|
966
1177
|
return { ...navigator, routes: nextRoutes, initialRouteName: nextInitialRouteName };
|
|
967
1178
|
}
|
|
1179
|
+
/***
|
|
1180
|
+
* Narrow an unknown node style value to the string-or-number style record accepted by Studio node updates.
|
|
1181
|
+
* @todo Keep this semantic style predicate with the canvas/properties authoring logic rather than treating it as a generic record utility.
|
|
1182
|
+
*/
|
|
968
1183
|
function isStyleRecord(value) {
|
|
969
1184
|
if (typeof value !== 'object' || value === null || Array.isArray(value))
|
|
970
1185
|
return false;
|