@ankhorage/studio 6.0.1 → 7.0.0
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/README.md +23 -7
- package/apm/update.json +2 -2
- package/dist/authSettings.d.ts +3 -3
- package/dist/authSettings.js +3 -3
- package/dist/bindingDiagnosticsModel.d.ts +1 -1
- package/dist/bindingDiagnosticsModel.d.ts.map +1 -1
- package/dist/bindingDiagnosticsModel.js +10 -10
- package/dist/bindingDiagnosticsModel.js.map +1 -1
- package/dist/bindingMetadataModel.d.ts +0 -2
- package/dist/bindingMetadataModel.d.ts.map +1 -1
- package/dist/bindingMetadataModel.js +3 -4
- package/dist/bindingMetadataModel.js.map +1 -1
- package/dist/bindingMutationModel.d.ts +4 -4
- package/dist/bindingMutationModel.d.ts.map +1 -1
- package/dist/bindingMutationModel.js +7 -8
- package/dist/bindingMutationModel.js.map +1 -1
- package/dist/bindingOperationModel.d.ts +2 -2
- package/dist/bindingOperationModel.js +7 -7
- package/dist/bindingSchemaModel.d.ts +3 -3
- package/dist/bindingSchemaModel.js +5 -5
- package/dist/canExecuteProjectDeployRelease.d.ts +1 -1
- package/dist/canExecuteProjectDeployRelease.js +1 -1
- package/dist/canvasDragModel.d.ts +5 -7
- package/dist/canvasDragModel.d.ts.map +1 -1
- package/dist/canvasDragModel.js +9 -16
- package/dist/canvasDragModel.js.map +1 -1
- package/dist/canvasDropZones.d.ts +1 -2
- package/dist/canvasDropZones.d.ts.map +1 -1
- package/dist/canvasDropZones.js +1 -2
- package/dist/canvasDropZones.js.map +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/contractGuards.d.ts +2 -2
- package/dist/contractGuards.js +2 -2
- package/dist/core/StudioContext.d.ts +1 -1
- package/dist/core/StudioContext.js +1 -1
- package/dist/core/StudioProvider.js +5 -5
- package/dist/core/mediaAuthoringHostClient.d.ts +2 -2
- package/dist/core/mediaAuthoringHostClient.js +2 -2
- package/dist/core/mediaRemovalCoordinator.d.ts +1 -1
- package/dist/core/mediaRemovalCoordinator.d.ts.map +1 -1
- package/dist/core/mediaRemovalCoordinator.js +9 -10
- package/dist/core/mediaRemovalCoordinator.js.map +1 -1
- package/dist/core/studioManifestDraftModel.d.ts +7 -7
- package/dist/core/studioManifestDraftModel.js +7 -7
- package/dist/core/studioManifestPersistenceModel.d.ts +1 -1
- package/dist/core/studioManifestPersistenceModel.js +1 -1
- package/dist/createProjectDeployRequest.d.ts +0 -1
- package/dist/createProjectDeployRequest.d.ts.map +1 -1
- package/dist/createProjectDeployRequest.js +0 -1
- package/dist/createProjectDeployRequest.js.map +1 -1
- package/dist/externalApiApi.d.ts +3 -3
- package/dist/externalApiApi.d.ts.map +1 -1
- package/dist/externalApiApi.js +24 -40
- package/dist/externalApiApi.js.map +1 -1
- package/dist/features/project-updates/adapters/inbound/ProjectUpdateDashboardPanel.d.ts.map +1 -1
- package/dist/features/project-updates/adapters/inbound/ProjectUpdateDashboardPanel.js +12 -4
- package/dist/features/project-updates/adapters/inbound/ProjectUpdateDashboardPanel.js.map +1 -1
- package/dist/features/project-updates/adapters/outbound/createStudioGeneratedPackagePolicyProjectReadPort.d.ts +4 -0
- package/dist/features/project-updates/adapters/outbound/createStudioGeneratedPackagePolicyProjectReadPort.d.ts.map +1 -0
- package/dist/features/project-updates/adapters/outbound/createStudioGeneratedPackagePolicyProjectReadPort.js +30 -0
- package/dist/features/project-updates/adapters/outbound/createStudioGeneratedPackagePolicyProjectReadPort.js.map +1 -0
- package/dist/features/project-updates/adapters/outbound/getGeneratedPackagePolicy.js +0 -8
- package/dist/features/project-updates/adapters/outbound/getGeneratedPackagePolicy.js.map +1 -1
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyDescriptor.d.ts +4 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyDescriptor.d.ts.map +1 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyDescriptor.js +21 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyDescriptor.js.map +1 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyHandler.d.ts +4 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyHandler.d.ts.map +1 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyHandler.js +11 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyHandler.js.map +1 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyProjectionDescriptor.d.ts +4 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyProjectionDescriptor.d.ts.map +1 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyProjectionDescriptor.js +10 -0
- package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyProjectionDescriptor.js.map +1 -0
- package/dist/features/project-updates/application/resolveProjectUpdateDashboardPresentation.d.ts +11 -0
- package/dist/features/project-updates/application/resolveProjectUpdateDashboardPresentation.d.ts.map +1 -1
- package/dist/features/project-updates/application/resolveProjectUpdateDashboardPresentation.js +23 -8
- package/dist/features/project-updates/application/resolveProjectUpdateDashboardPresentation.js.map +1 -1
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyApplyOwnerStepPort.d.ts +4 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyApplyOwnerStepPort.d.ts.map +1 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyApplyOwnerStepPort.js +176 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyApplyOwnerStepPort.js.map +1 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyExtensionEvidencePort.d.ts +5 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyExtensionEvidencePort.d.ts.map +1 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyExtensionEvidencePort.js +148 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyExtensionEvidencePort.js.map +1 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyProtocolPort.d.ts +5 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyProtocolPort.d.ts.map +1 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyProtocolPort.js +219 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyProtocolPort.js.map +1 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyUpdatePorts.d.ts +9 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyUpdatePorts.d.ts.map +1 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyUpdatePorts.js +17 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyUpdatePorts.js.map +1 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyVerifyOwnerStepPort.d.ts +4 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyVerifyOwnerStepPort.d.ts.map +1 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyVerifyOwnerStepPort.js +80 -0
- package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyVerifyOwnerStepPort.js.map +1 -0
- package/dist/features/project-updates/composition/createStudioProjectUpdateService.d.ts.map +1 -1
- package/dist/features/project-updates/composition/createStudioProjectUpdateService.js +11 -9
- package/dist/features/project-updates/composition/createStudioProjectUpdateService.js.map +1 -1
- package/dist/features/project-updates/constants.d.ts +2 -0
- package/dist/features/project-updates/constants.d.ts.map +1 -1
- package/dist/features/project-updates/constants.js +2 -0
- package/dist/features/project-updates/constants.js.map +1 -1
- package/dist/features/project-updates/domain/applyGeneratedPackagePolicy.d.ts.map +1 -1
- package/dist/features/project-updates/domain/applyGeneratedPackagePolicy.js +6 -3
- package/dist/features/project-updates/domain/applyGeneratedPackagePolicy.js.map +1 -1
- package/dist/features/project-updates/domain/createStudioGeneratedPackagePolicyExecutionContext.d.ts +4 -0
- package/dist/features/project-updates/domain/createStudioGeneratedPackagePolicyExecutionContext.d.ts.map +1 -0
- package/dist/features/project-updates/domain/createStudioGeneratedPackagePolicyExecutionContext.js +11 -0
- package/dist/features/project-updates/domain/createStudioGeneratedPackagePolicyExecutionContext.js.map +1 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyInventorySource.d.ts +5 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyInventorySource.d.ts.map +1 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyInventorySource.js +22 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyInventorySource.js.map +1 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyMutationTarget.d.ts +10 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyMutationTarget.d.ts.map +1 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyMutationTarget.js +21 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyMutationTarget.js.map +1 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyStatusSource.d.ts +5 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyStatusSource.d.ts.map +1 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyStatusSource.js +18 -0
- package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyStatusSource.js.map +1 -0
- package/dist/host/apis/createProjectEndpointCredentialResolver.d.ts +1 -1
- package/dist/host/apis/createProjectEndpointCredentialResolver.js +1 -1
- package/dist/host/apis/createTrustedEndpointTestFetch.d.ts +1 -1
- package/dist/host/apis/createTrustedEndpointTestFetch.js +1 -1
- package/dist/host/apis/createTrustedExternalApiFetch.d.ts +1 -1
- package/dist/host/apis/createTrustedExternalApiFetch.js +1 -1
- package/dist/host/apis/requestTrustedExternalApi.d.ts +3 -12
- package/dist/host/apis/requestTrustedExternalApi.d.ts.map +1 -1
- package/dist/host/apis/requestTrustedExternalApi.js +3 -53
- package/dist/host/apis/requestTrustedExternalApi.js.map +1 -1
- package/dist/host/apis/sanitizeExternalApiOperationTestResult.d.ts +1 -1
- package/dist/host/apis/sanitizeExternalApiOperationTestResult.js +1 -1
- package/dist/host/apis/studioExternalApiService.d.ts +1 -1
- package/dist/host/apis/studioExternalApiService.d.ts.map +1 -1
- package/dist/host/apis/studioExternalApiService.js +10 -17
- package/dist/host/apis/studioExternalApiService.js.map +1 -1
- package/dist/host/auth/projectAuthHealthService.d.ts +1 -1
- package/dist/host/auth/projectAuthHealthService.js +1 -1
- package/dist/host/createStudioHost.d.ts +1 -1
- package/dist/host/createStudioHost.js +1 -1
- package/dist/host/deploy/serializeProjectDeploySecret.d.ts.map +1 -1
- package/dist/host/deploy/serializeProjectDeploySecret.js +2 -9
- package/dist/host/deploy/serializeProjectDeploySecret.js.map +1 -1
- package/dist/host/http/apiRoutes.d.ts +1 -1
- package/dist/host/http/apiRoutes.d.ts.map +1 -1
- package/dist/host/http/apiRoutes.js +19 -29
- package/dist/host/http/apiRoutes.js.map +1 -1
- package/dist/host/http/authRoutes.js +1 -1
- package/dist/host/http/deployRoutes.d.ts.map +1 -1
- package/dist/host/http/deployRoutes.js +5 -11
- package/dist/host/http/deployRoutes.js.map +1 -1
- package/dist/host/http/mediaRoutes.d.ts.map +1 -1
- package/dist/host/http/mediaRoutes.js +10 -16
- package/dist/host/http/mediaRoutes.js.map +1 -1
- package/dist/host/http/moduleRoutes.d.ts.map +1 -1
- package/dist/host/http/moduleRoutes.js +8 -20
- package/dist/host/http/moduleRoutes.js.map +1 -1
- package/dist/host/http/secretRoutes.d.ts.map +1 -1
- package/dist/host/http/secretRoutes.js +10 -20
- package/dist/host/http/secretRoutes.js.map +1 -1
- package/dist/host/http/security.d.ts +1 -1
- package/dist/host/http/security.js +1 -1
- package/dist/host/http/server.d.ts +1 -1
- package/dist/host/http/server.js +1 -1
- package/dist/host/http/serverWithSecrets.d.ts +1 -1
- package/dist/host/http/serverWithSecrets.js +1 -1
- package/dist/host/layout/auth/resolveAuthLayoutPlan.d.ts +1 -1
- package/dist/host/layout/auth/resolveAuthLayoutPlan.d.ts.map +1 -1
- package/dist/host/layout/auth/resolveAuthLayoutPlan.js +7 -13
- package/dist/host/layout/auth/resolveAuthLayoutPlan.js.map +1 -1
- package/dist/host/layout/generatedImportComposer.d.ts +1 -1
- package/dist/host/layout/generatedImportComposer.js +3 -1
- package/dist/host/layout/generatedImportComposer.js.map +1 -1
- package/dist/host/layout/layoutGenerator.d.ts +2 -1
- package/dist/host/layout/layoutGenerator.d.ts.map +1 -1
- package/dist/host/layout/layoutGenerator.js +117 -69
- package/dist/host/layout/layoutGenerator.js.map +1 -1
- package/dist/host/layout/templates/auth/navigation.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/navigation.js +2 -2
- package/dist/host/layout/templates/auth/navigation.js.map +1 -1
- package/dist/host/layout/templates/auth/oauth.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/oauth.js +2 -8
- package/dist/host/layout/templates/auth/oauth.js.map +1 -1
- package/dist/host/layout/templates/auth/oauthCompletion.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/oauthCompletion.js +2 -2
- package/dist/host/layout/templates/auth/oauthCompletion.js.map +1 -1
- package/dist/host/layout/templates/auth/screen.d.ts +1 -1
- package/dist/host/layout/templates/auth/screen.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/screen.js +19 -137
- package/dist/host/layout/templates/auth/screen.js.map +1 -1
- package/dist/host/layout/templates/auth/screenController.d.ts.map +1 -1
- package/dist/host/layout/templates/auth/screenController.js +4 -6
- package/dist/host/layout/templates/auth/screenController.js.map +1 -1
- package/dist/host/layout/templates/rootLayout.d.ts +1 -1
- package/dist/host/layout/templates/rootLayout.d.ts.map +1 -1
- package/dist/host/layout/templates/rootLayout.js +10 -7
- package/dist/host/layout/templates/rootLayout.js.map +1 -1
- package/dist/host/layout/templates/screen.d.ts +1 -1
- package/dist/host/layout/templates/screen.js +1 -1
- package/dist/host/layout/templates/utils/routes.d.ts +2 -2
- package/dist/host/layout/templates/utils/routes.js +2 -2
- package/dist/host/layout/templates/utils/strings.d.ts +1 -1
- package/dist/host/layout/templates/utils/strings.js +1 -1
- package/dist/host/layout/utils/escapeStringLiteral.d.ts +0 -1
- package/dist/host/layout/utils/escapeStringLiteral.d.ts.map +1 -1
- package/dist/host/layout/utils/escapeStringLiteral.js +2 -6
- package/dist/host/layout/utils/escapeStringLiteral.js.map +1 -1
- package/dist/host/manifestSystem/index.d.ts +1 -1
- package/dist/host/manifestSystem/index.js +1 -1
- package/dist/host/media/projectAuthoringAssetWriter.d.ts +0 -1
- package/dist/host/media/projectAuthoringAssetWriter.d.ts.map +1 -1
- package/dist/host/media/projectAuthoringAssetWriter.js +8 -4
- package/dist/host/media/projectAuthoringAssetWriter.js.map +1 -1
- package/dist/host/media/removeProjectAuthoringAsset.d.ts +0 -1
- package/dist/host/media/removeProjectAuthoringAsset.d.ts.map +1 -1
- package/dist/host/media/removeProjectAuthoringAsset.js +6 -8
- package/dist/host/media/removeProjectAuthoringAsset.js.map +1 -1
- package/dist/host/modules/runtime/LocalFsTargetAdapter.d.ts +1 -1
- package/dist/host/modules/runtime/LocalFsTargetAdapter.js +2 -2
- package/dist/host/orchestrator/GeneratedRouteFileOwnership.d.ts +1 -1
- package/dist/host/orchestrator/GeneratedRouteFileOwnership.d.ts.map +1 -1
- package/dist/host/orchestrator/GeneratedRouteFileOwnership.js +8 -21
- package/dist/host/orchestrator/GeneratedRouteFileOwnership.js.map +1 -1
- package/dist/host/orchestrator/generatedAppFiles.d.ts +1 -4
- package/dist/host/orchestrator/generatedAppFiles.d.ts.map +1 -1
- package/dist/host/orchestrator/generatedAppFiles.js +4 -16
- package/dist/host/orchestrator/generatedAppFiles.js.map +1 -1
- package/dist/host/orchestrator/moduleManager.d.ts +1 -1
- package/dist/host/orchestrator/moduleManager.d.ts.map +1 -1
- package/dist/host/orchestrator/moduleManager.js +2 -8
- package/dist/host/orchestrator/moduleManager.js.map +1 -1
- package/dist/host/orchestrator/projectManager.d.ts +2 -2
- package/dist/host/orchestrator/projectManager.d.ts.map +1 -1
- package/dist/host/orchestrator/projectManager.js +9 -24
- package/dist/host/orchestrator/projectManager.js.map +1 -1
- package/dist/host/orchestrator/projectPaths.d.ts +3 -3
- package/dist/host/orchestrator/projectPaths.js +3 -3
- package/dist/host/orchestrator/projectStore.d.ts +1 -1
- package/dist/host/orchestrator/projectStore.js +1 -1
- package/dist/host/orchestrator/projectTargets.d.ts +1 -1
- package/dist/host/orchestrator/projectTargets.js +2 -2
- package/dist/host/orchestrator/reconcileProjectPackageRootAsync.d.ts +1 -1
- package/dist/host/orchestrator/reconcileProjectPackageRootAsync.js +1 -1
- package/dist/host/orchestrator/resolveMutations.d.ts +1 -1
- package/dist/host/orchestrator/resolveMutations.js +1 -1
- package/dist/host/orchestrator/scaffolder.d.ts +2 -4
- package/dist/host/orchestrator/scaffolder.d.ts.map +1 -1
- package/dist/host/orchestrator/scaffolder.js +12 -31
- package/dist/host/orchestrator/scaffolder.js.map +1 -1
- package/dist/host/orchestrator/studioInfraUp.d.ts +1 -1
- package/dist/host/orchestrator/studioInfraUp.js +1 -1
- package/dist/host/orchestrator/templateSources.d.ts +1 -1
- package/dist/host/orchestrator/templateSources.js +1 -1
- package/dist/host/orchestrator/templateSources.js.map +1 -1
- package/dist/host/orchestrator/templates.d.ts +1 -1
- package/dist/host/secrets/bunSupabaseVaultClient.d.ts +1 -1
- package/dist/host/secrets/bunSupabaseVaultClient.d.ts.map +1 -1
- package/dist/host/secrets/bunSupabaseVaultClient.js +6 -4
- package/dist/host/secrets/bunSupabaseVaultClient.js.map +1 -1
- package/dist/host/secrets/projectSecretService.d.ts +2 -2
- package/dist/host/secrets/projectSecretService.d.ts.map +1 -1
- package/dist/host/secrets/projectSecretService.js +9 -24
- package/dist/host/secrets/projectSecretService.js.map +1 -1
- package/dist/host/secrets/trustedOAuthInfraEnvironment.d.ts +2 -2
- package/dist/host/secrets/trustedOAuthInfraEnvironment.js +3 -3
- package/dist/host/templates/index.d.ts +2 -2
- package/dist/host/templates/index.js +2 -2
- package/dist/host/utils/requirementsInference.d.ts +2 -2
- package/dist/host/utils/requirementsInference.js +2 -2
- package/dist/host/utils/workspaceRoot.d.ts +1 -1
- package/dist/host/utils/workspaceRoot.d.ts.map +1 -1
- package/dist/host/utils/workspaceRoot.js +6 -10
- package/dist/host/utils/workspaceRoot.js.map +1 -1
- package/dist/index.d.ts +19 -23
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +29 -76
- package/dist/index.js.map +1 -1
- package/dist/insertModalModel.d.ts +2 -4
- package/dist/insertModalModel.d.ts.map +1 -1
- package/dist/insertModalModel.js +2 -4
- package/dist/insertModalModel.js.map +1 -1
- package/dist/manifestState.d.ts +45 -45
- package/dist/manifestState.js +58 -58
- package/dist/manifestSync.d.ts +3 -3
- package/dist/manifestSync.d.ts.map +1 -1
- package/dist/manifestSync.js +5 -4
- package/dist/manifestSync.js.map +1 -1
- package/dist/mediaAuthoringModel.d.ts +6 -8
- package/dist/mediaAuthoringModel.d.ts.map +1 -1
- package/dist/mediaAuthoringModel.js +17 -36
- package/dist/mediaAuthoringModel.js.map +1 -1
- package/dist/moduleAdminApi.d.ts +7 -9
- package/dist/moduleAdminApi.d.ts.map +1 -1
- package/dist/moduleAdminApi.js +15 -22
- package/dist/moduleAdminApi.js.map +1 -1
- package/dist/normalizeExternalApiId.d.ts +0 -1
- package/dist/normalizeExternalApiId.d.ts.map +1 -1
- package/dist/normalizeExternalApiId.js +2 -7
- package/dist/normalizeExternalApiId.js.map +1 -1
- package/dist/projectAuthApi.d.ts +1 -1
- package/dist/projectAuthApi.js +8 -9
- package/dist/projectAuthApi.js.map +1 -1
- package/dist/projectAuthHealth.d.ts +1 -1
- package/dist/projectAuthHealth.d.ts.map +1 -1
- package/dist/projectAuthHealth.js +10 -11
- package/dist/projectAuthHealth.js.map +1 -1
- package/dist/projectAuthRuntimeDiagnostics.d.ts +1 -1
- package/dist/projectAuthRuntimeDiagnostics.js +16 -24
- package/dist/projectAuthRuntimeDiagnostics.js.map +1 -1
- package/dist/projectDeployApi.d.ts +17 -17
- package/dist/projectDeployApi.js +18 -18
- package/dist/projectDeployApiError.d.ts +1 -1
- package/dist/projectDeployApiError.js +1 -1
- package/dist/projectDeployAssetPicker.d.ts +1 -1
- package/dist/projectDeployAssetPicker.d.ts.map +1 -1
- package/dist/projectDeployAssetPicker.js +10 -9
- package/dist/projectDeployAssetPicker.js.map +1 -1
- package/dist/projectDeployClient.d.ts +3 -3
- package/dist/projectDeployClient.d.ts.map +1 -1
- package/dist/projectDeployClient.js +42 -95
- package/dist/projectDeployClient.js.map +1 -1
- package/dist/projectIdentity.d.ts +1 -2
- package/dist/projectIdentity.d.ts.map +1 -1
- package/dist/projectIdentity.js +3 -4
- package/dist/projectIdentity.js.map +1 -1
- package/dist/projectOAuthSetup.d.ts +3 -3
- package/dist/projectOAuthSetup.js +3 -3
- package/dist/projectSecretApi.d.ts +6 -6
- package/dist/projectSecretApi.js +14 -14
- package/dist/projectSecretUsage.d.ts +1 -1
- package/dist/projectSecretUsage.js +1 -2
- package/dist/projectSecretUsage.js.map +1 -1
- package/dist/routeUtils.d.ts +1 -1
- package/dist/routeUtils.js +1 -1
- package/dist/runtime/actionSuppression.d.ts +0 -1
- package/dist/runtime/actionSuppression.d.ts.map +1 -1
- package/dist/runtime/actionSuppression.js +0 -1
- package/dist/runtime/actionSuppression.js.map +1 -1
- package/dist/runtime/index.d.ts +0 -2
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +0 -2
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/interactionPolicy.d.ts +1 -1
- package/dist/runtime/interactionPolicy.js +1 -1
- package/dist/runtime/interactionPolicyCore.d.ts +0 -2
- package/dist/runtime/interactionPolicyCore.d.ts.map +1 -1
- package/dist/runtime/interactionPolicyCore.js +13 -28
- package/dist/runtime/interactionPolicyCore.js.map +1 -1
- package/dist/runtime/runtimeActions.d.ts +1 -1
- package/dist/runtime/runtimeActions.js +1 -1
- package/dist/runtime/runtimeNodeMeasurement.d.ts +2 -13
- package/dist/runtime/runtimeNodeMeasurement.d.ts.map +1 -1
- package/dist/runtime/runtimeNodeMeasurement.js +17 -86
- package/dist/runtime/runtimeNodeMeasurement.js.map +1 -1
- package/dist/runtime/stationarySelection.d.ts +3 -3
- package/dist/runtime/stationarySelection.d.ts.map +1 -1
- package/dist/runtime/stationarySelection.js +15 -54
- package/dist/runtime/stationarySelection.js.map +1 -1
- package/dist/runtime/studioMediaResolver.d.ts +1 -1
- package/dist/runtime/studioMediaResolver.js +2 -2
- package/dist/runtime/useRuntimeAction.d.ts +1 -1
- package/dist/runtime/useRuntimeAction.js +1 -1
- package/dist/runtimeDiagnosticsModel.d.ts +1 -4
- package/dist/runtimeDiagnosticsModel.d.ts.map +1 -1
- package/dist/runtimeDiagnosticsModel.js +1 -4
- package/dist/runtimeDiagnosticsModel.js.map +1 -1
- package/dist/secretResponseGuard.d.ts +2 -6
- package/dist/secretResponseGuard.d.ts.map +1 -1
- package/dist/secretResponseGuard.js +3 -37
- package/dist/secretResponseGuard.js.map +1 -1
- package/dist/studioAdminRouteModel.d.ts +7 -14
- package/dist/studioAdminRouteModel.d.ts.map +1 -1
- package/dist/studioAdminRouteModel.js +17 -28
- package/dist/studioAdminRouteModel.js.map +1 -1
- package/dist/studioRuntimeApi.d.ts +1 -1
- package/dist/studioRuntimeApi.js +3 -3
- package/dist/studioSelectionModel.d.ts +0 -4
- package/dist/studioSelectionModel.d.ts.map +1 -1
- package/dist/studioSelectionModel.js +0 -5
- package/dist/studioSelectionModel.js.map +1 -1
- package/dist/types/project-updates.d.ts +7 -1
- package/dist/types/project-updates.d.ts.map +1 -1
- package/dist/ui/admin/AnkhAdminPage.js +1 -1
- package/dist/ui/admin/AuthAdminSession.d.ts +1 -1
- package/dist/ui/admin/AuthAdminSession.js +1 -1
- package/dist/ui/admin/ModuleAdminViewBoundary.d.ts +0 -1
- package/dist/ui/admin/ModuleAdminViewBoundary.d.ts.map +1 -1
- package/dist/ui/admin/ModuleAdminViewBoundary.js +2 -2
- package/dist/ui/admin/ModuleAdminViewBoundary.js.map +1 -1
- package/dist/ui/admin/ModuleAdminViewHost.d.ts +1 -1
- package/dist/ui/admin/ModuleAdminViewHost.js +1 -1
- package/dist/ui/admin/adminPagePrimitives.d.ts +5 -5
- package/dist/ui/admin/adminPagePrimitives.js +5 -5
- package/dist/ui/admin/moduleAdminViewRegistry.d.ts +1 -1
- package/dist/ui/admin/moduleAdminViewRegistry.js +1 -1
- package/dist/ui/admin/pages/ApiOperationsCard.d.ts.map +1 -1
- package/dist/ui/admin/pages/ApiOperationsCard.js +4 -7
- package/dist/ui/admin/pages/ApiOperationsCard.js.map +1 -1
- package/dist/ui/admin/pages/AuthAdminPage.d.ts +1 -1
- package/dist/ui/admin/pages/AuthAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/AuthAdminPage.js +26 -35
- package/dist/ui/admin/pages/AuthAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/BindingsAdminPage.d.ts +1 -1
- package/dist/ui/admin/pages/BindingsAdminPage.js +1 -1
- package/dist/ui/admin/pages/ModuleDetailAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ModuleDetailAdminPage.js +4 -10
- package/dist/ui/admin/pages/ModuleDetailAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ModulesAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/ModulesAdminPage.js +3 -9
- package/dist/ui/admin/pages/ModulesAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ScreenDetailAdminPage.js +1 -1
- package/dist/ui/admin/pages/ScreensAdminPage.js +1 -1
- package/dist/ui/admin/pages/SecretsAdminPage.d.ts +1 -1
- package/dist/ui/admin/pages/SecretsAdminPage.d.ts.map +1 -1
- package/dist/ui/admin/pages/SecretsAdminPage.js +30 -137
- package/dist/ui/admin/pages/SecretsAdminPage.js.map +1 -1
- package/dist/ui/admin/pages/ThemeModeEditorSelector.d.ts +1 -1
- package/dist/ui/admin/pages/ThemeModeEditorSelector.js +1 -1
- package/dist/ui/admin/pages/adminApiOperations.d.ts +1 -1
- package/dist/ui/admin/pages/adminApiOperations.js +1 -1
- package/dist/ui/admin/pages/adminAuthCredentialFlow.d.ts +1 -1
- package/dist/ui/admin/pages/adminAuthCredentialFlow.d.ts.map +1 -1
- package/dist/ui/admin/pages/adminAuthCredentialFlow.js +5 -14
- package/dist/ui/admin/pages/adminAuthCredentialFlow.js.map +1 -1
- package/dist/ui/admin/pages/adminAuthSessionModel.d.ts +5 -66
- package/dist/ui/admin/pages/adminAuthSessionModel.d.ts.map +1 -1
- package/dist/ui/admin/pages/adminAuthSessionModel.js +37 -132
- package/dist/ui/admin/pages/adminAuthSessionModel.js.map +1 -1
- package/dist/ui/admin/pages/adminThemeModel.d.ts +2 -2
- package/dist/ui/admin/pages/adminThemeModel.js +2 -2
- package/dist/ui/admin/pages/bindings/bindingEditorModel.d.ts +0 -3
- package/dist/ui/admin/pages/bindings/bindingEditorModel.d.ts.map +1 -1
- package/dist/ui/admin/pages/bindings/bindingEditorModel.js +7 -8
- package/dist/ui/admin/pages/bindings/bindingEditorModel.js.map +1 -1
- package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.d.ts +1 -1
- package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.d.ts.map +1 -1
- package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.js +8 -19
- package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.js.map +1 -1
- package/dist/ui/admin/pages/screens/screensAdminActions.d.ts +1 -1
- package/dist/ui/admin/pages/screens/screensAdminActions.js +1 -1
- package/dist/ui/admin/pages/themeRecipeAuthoringModel.d.ts.map +1 -1
- package/dist/ui/admin/pages/themeRecipeAuthoringModel.js +3 -8
- package/dist/ui/admin/pages/themeRecipeAuthoringModel.js.map +1 -1
- package/dist/ui/admin/pages/themeRecipeTokenOptions.d.ts +1 -1
- package/dist/ui/admin/pages/themeRecipeTokenOptions.js +1 -1
- package/dist/ui/admin/pages/useActiveThemeAdmin.d.ts +1 -1
- package/dist/ui/admin/pages/useActiveThemeAdmin.js +1 -1
- package/dist/ui/canvas/StudioCanvasDndOverlay.d.ts +1 -1
- package/dist/ui/canvas/StudioCanvasDndOverlay.js +2 -2
- package/dist/ui/canvas/canvasDndInteraction.d.ts +3 -4
- package/dist/ui/canvas/canvasDndInteraction.d.ts.map +1 -1
- package/dist/ui/canvas/canvasDndInteraction.js +5 -5
- package/dist/ui/canvas/canvasDndInteraction.js.map +1 -1
- package/dist/utils/treeUtils.d.ts +1 -1
- package/dist/utils/treeUtils.js +1 -1
- package/dist/workspacePlatform.d.ts +0 -3
- package/dist/workspacePlatform.d.ts.map +1 -1
- package/dist/workspacePlatform.js +0 -3
- package/dist/workspacePlatform.js.map +1 -1
- package/package.json +51 -50
- package/dist/constants.d.ts +0 -1636
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -10
- package/dist/constants.js.map +0 -1
- package/dist/host/zoraExtensions/index.d.ts +0 -22
- package/dist/host/zoraExtensions/index.d.ts.map +0 -1
- package/dist/host/zoraExtensions/index.js +0 -61
- package/dist/host/zoraExtensions/index.js.map +0 -1
- package/dist/runtime/appExtensionRegistry.d.ts +0 -3
- package/dist/runtime/appExtensionRegistry.d.ts.map +0 -1
- package/dist/runtime/appExtensionRegistry.js +0 -12
- package/dist/runtime/appExtensionRegistry.js.map +0 -1
- package/dist/runtime/registry.d.ts +0 -6
- package/dist/runtime/registry.d.ts.map +0 -1
- package/dist/runtime/registry.js +0 -5
- package/dist/runtime/registry.js.map +0 -1
- package/dist/ui/admin/pages/adminAuthHealthFlow.d.ts +0 -26
- package/dist/ui/admin/pages/adminAuthHealthFlow.d.ts.map +0 -1
- package/dist/ui/admin/pages/adminAuthHealthFlow.js +0 -32
- package/dist/ui/admin/pages/adminAuthHealthFlow.js.map +0 -1
package/dist/manifestState.d.ts
CHANGED
|
@@ -56,97 +56,97 @@ export interface StudioManifestNodeMoveResult {
|
|
|
56
56
|
export declare const DEFAULT_STUDIO_SCREEN_TEMPLATE: UiNode;
|
|
57
57
|
/***
|
|
58
58
|
* Generate a Studio manifest-state identifier from the current time, randomness, and optional prefix.
|
|
59
|
-
*
|
|
59
|
+
* TODO: Move this identifier policy from the src root into the manifest domain or the domain that owns generated authoring IDs.
|
|
60
60
|
*/
|
|
61
61
|
export declare const generateManifestStateId: StudioIdGenerator;
|
|
62
62
|
/***
|
|
63
63
|
* Serialize the manifest fields used to detect broad Studio authoring-state changes.
|
|
64
|
-
*
|
|
64
|
+
* TODO: Move this manifest state projection from the src root into the manifest domain.
|
|
65
65
|
*/
|
|
66
66
|
export declare function createStudioManifestFingerprint(manifest: StudioManifest | null): string;
|
|
67
67
|
/***
|
|
68
68
|
* Convert a navigator parent path to the stable key used for route grouping.
|
|
69
|
-
*
|
|
69
|
+
* TODO: Move this route-path helper from the src root into routes/.
|
|
70
70
|
*/
|
|
71
71
|
export declare function pathToKey(path: string[]): string;
|
|
72
72
|
/***
|
|
73
73
|
* Return whether a route segment represents an Expo Router-style group segment.
|
|
74
|
-
*
|
|
74
|
+
* TODO: Move this route semantic helper from the src root into routes/.
|
|
75
75
|
*/
|
|
76
76
|
export declare function isRouteGroupSegment(segment: string): boolean;
|
|
77
77
|
/***
|
|
78
78
|
* Recursively collect screen-targeting routes together with their navigator and route paths.
|
|
79
|
-
*
|
|
79
|
+
* TODO: Move route traversal from the src root into routes/.
|
|
80
80
|
*/
|
|
81
81
|
export declare function collectScreenRouteEntries(routes: RouteDefinition[], parentPath?: string[], routePathPrefix?: string[]): ScreenRouteEntry[];
|
|
82
82
|
/***
|
|
83
83
|
* Group collected screen routes by the navigator parent path that owns them.
|
|
84
|
-
*
|
|
84
|
+
* TODO: Move route grouping from the src root into routes/.
|
|
85
85
|
*/
|
|
86
86
|
export declare function groupScreenRouteEntries(entries: ScreenRouteEntry[]): ScreenRouteGroup[];
|
|
87
87
|
/***
|
|
88
88
|
* Verify that every screen registry key equals its unique stable ScreenSpec identifier.
|
|
89
|
-
*
|
|
89
|
+
* TODO: Move this manifest screen invariant from the src root into the manifest domain.
|
|
90
90
|
*/
|
|
91
91
|
export declare function hasCanonicalStudioScreenRegistryIdentity(screens: StudioManifest['screens']): boolean;
|
|
92
92
|
/***
|
|
93
93
|
* Derive the complete screen/navigation authoring model and diagnostics without flattening the navigator tree.
|
|
94
|
-
*
|
|
94
|
+
* TODO: Move navigation-model derivation from the src root into routes/.
|
|
95
95
|
*/
|
|
96
96
|
export declare function deriveStudioScreenNavigationModel(manifest: StudioManifest): StudioScreenNavigationModel;
|
|
97
97
|
/***
|
|
98
98
|
* Resolve a concrete app pathname only when a screen has one unique, non-dynamic route reference.
|
|
99
|
-
*
|
|
99
|
+
* TODO: Move canonical route-path resolution from the src root into routes/.
|
|
100
100
|
*/
|
|
101
101
|
export declare function resolveStudioScreenAppPath(model: StudioScreenNavigationModel, screenId: string): string | null;
|
|
102
102
|
/***
|
|
103
103
|
* List routed screen identifiers in navigator traversal order.
|
|
104
|
-
*
|
|
104
|
+
* TODO: Move route ordering behavior from the src root into routes/.
|
|
105
105
|
*/
|
|
106
106
|
export declare function listScreenIdsInRouteOrder(routes: RouteDefinition[]): string[];
|
|
107
107
|
/***
|
|
108
108
|
* Resolve the initial leaf screen selected by a nested navigator tree, falling back to the first usable route.
|
|
109
|
-
*
|
|
109
|
+
* TODO: Move initial-route resolution from the src root into routes/.
|
|
110
110
|
*/
|
|
111
111
|
export declare function resolveInitialScreenId(navigator: NavigatorNode, screens?: AppManifest['screens']): string | null;
|
|
112
112
|
/***
|
|
113
113
|
* Resolve the active screen Studio should select when a manifest is first opened.
|
|
114
|
-
*
|
|
114
|
+
* TODO: Move initial Studio screen selection out of the src root into routes/ or selection/ according to its caller boundary.
|
|
115
115
|
*/
|
|
116
116
|
export declare function resolveInitialActiveScreenId(manifest: StudioManifest | null): string | null;
|
|
117
117
|
/***
|
|
118
118
|
* Resolve the root UI node for the active canonical screen.
|
|
119
|
-
*
|
|
119
|
+
* TODO: Move active-screen root resolution from the src root into the manifest/selection boundary.
|
|
120
120
|
*/
|
|
121
121
|
export declare function resolveActiveRootNode(manifest: StudioManifest | null, activeScreenId: string | null): UiNode | null;
|
|
122
122
|
/***
|
|
123
123
|
* Recursively find a UI node by identifier in a manifest-owned UI tree.
|
|
124
|
-
*
|
|
124
|
+
* TODO: Move UI-tree traversal from the src root into canvas/.
|
|
125
125
|
*/
|
|
126
126
|
export declare function findNodeInManifest(root: UiNode, id: string): UiNode | null;
|
|
127
127
|
/***
|
|
128
128
|
* Keep a selected node identifier only while that node still exists in the active tree.
|
|
129
|
-
*
|
|
129
|
+
* TODO: Move selection validity policy from the src root into selection/.
|
|
130
130
|
*/
|
|
131
131
|
export declare function resolveSafeSelectedNodeId(rootNode: UiNode | null, selectedNodeId: string | null): string | null;
|
|
132
132
|
/***
|
|
133
133
|
* Find the canonical screen whose UI tree contains a given node identifier.
|
|
134
|
-
*
|
|
134
|
+
* TODO: Move screen ownership lookup from the src root into the manifest/canvas boundary.
|
|
135
135
|
*/
|
|
136
136
|
export declare function findScreenIdForNode(manifest: StudioManifest, nodeId: string): string | null;
|
|
137
137
|
/***
|
|
138
138
|
* Update authored properties of one node in the active screen while preserving manifest immutability.
|
|
139
|
-
*
|
|
139
|
+
* TODO: Move canvas node mutation from the src root into canvas/.
|
|
140
140
|
*/
|
|
141
141
|
export declare function updateStudioManifestNode(manifest: StudioManifest, activeScreenId: string | null, nodeId: string, newProps: Record<string, unknown>): StudioManifest;
|
|
142
142
|
/***
|
|
143
143
|
* Delete a non-root node from the active screen and remove data bindings owned by the deleted subtree.
|
|
144
|
-
*
|
|
144
|
+
* TODO: Split this canvas mutation and binding cleanup between canvas/ and bindings/ instead of the src root.
|
|
145
145
|
*/
|
|
146
146
|
export declare function deleteStudioManifestNode(manifest: StudioManifest, activeScreenId: string | null, nodeId: string): StudioManifest;
|
|
147
147
|
/***
|
|
148
148
|
* Insert a new UI node at a validated canvas placement in the active screen.
|
|
149
|
-
*
|
|
149
|
+
* TODO: Move canvas insertion orchestration from the src root into canvas/.
|
|
150
150
|
*/
|
|
151
151
|
export declare function insertStudioManifestNodeAtPlacement(args: {
|
|
152
152
|
manifest: StudioManifest;
|
|
@@ -157,7 +157,7 @@ export declare function insertStudioManifestNodeAtPlacement(args: {
|
|
|
157
157
|
}): StudioManifestNodeInsertResult | null;
|
|
158
158
|
/***
|
|
159
159
|
* Move an existing UI node to a validated canvas placement in the active screen.
|
|
160
|
-
*
|
|
160
|
+
* TODO: Move canvas movement orchestration from the src root into canvas/.
|
|
161
161
|
*/
|
|
162
162
|
export declare function moveStudioManifestNodeToPlacement(args: {
|
|
163
163
|
manifest: StudioManifest;
|
|
@@ -168,92 +168,92 @@ export declare function moveStudioManifestNodeToPlacement(args: {
|
|
|
168
168
|
}): StudioManifestNodeMoveResult | null;
|
|
169
169
|
/***
|
|
170
170
|
* Replace the manifest component data-binding registry.
|
|
171
|
-
*
|
|
171
|
+
* TODO: Move binding-state mutation from the src root into bindings/.
|
|
172
172
|
*/
|
|
173
173
|
export declare function updateStudioManifestDataBindings(manifest: StudioManifest, dataBindings: ComponentDataBindingRegistry): StudioManifest;
|
|
174
174
|
/***
|
|
175
175
|
* Replace the manifest data-source registry.
|
|
176
|
-
*
|
|
176
|
+
* TODO: Resolve data-source authoring ownership with bindings/external APIs and remove this src-root mutation.
|
|
177
177
|
*/
|
|
178
178
|
export declare function updateStudioManifestDataSources(manifest: StudioManifest, dataSources: DataSourceRegistry): StudioManifest;
|
|
179
179
|
/***
|
|
180
180
|
* Create the default light/dark theme configuration for a newly authored theme.
|
|
181
|
-
*
|
|
181
|
+
* TODO: Extract theme authoring from manifestState.ts; the current Studio structure target does not yet name a dedicated theme domain.
|
|
182
182
|
*/
|
|
183
183
|
export declare function createDefaultThemeConfig(themeIndex: number, id?: string): ThemeConfig;
|
|
184
184
|
/***
|
|
185
185
|
* Append a theme to the manifest, creating a default theme when none is supplied.
|
|
186
|
-
*
|
|
186
|
+
* TODO: Extract theme authoring from manifestState.ts into its resolved owner.
|
|
187
187
|
*/
|
|
188
188
|
export declare function addStudioManifestTheme(manifest: StudioManifest, theme?: ThemeConfig): StudioManifest;
|
|
189
189
|
/***
|
|
190
190
|
* Merge shared and mode-specific updates into one manifest theme.
|
|
191
|
-
*
|
|
191
|
+
* TODO: Extract theme authoring from manifestState.ts into its resolved owner.
|
|
192
192
|
*/
|
|
193
193
|
export declare function updateStudioManifestTheme(manifest: StudioManifest, themeId: string, updates: ThemeUpdates): StudioManifest;
|
|
194
194
|
/***
|
|
195
195
|
* Delete a theme while preserving at least one theme and a valid active-theme identifier.
|
|
196
|
-
*
|
|
196
|
+
* TODO: Extract theme authoring from manifestState.ts into its resolved owner.
|
|
197
197
|
*/
|
|
198
198
|
export declare function deleteStudioManifestTheme(manifest: StudioManifest, themeId: string): StudioManifest;
|
|
199
199
|
/***
|
|
200
200
|
* Set the active theme identifier in the manifest.
|
|
201
|
-
*
|
|
201
|
+
* TODO: Extract theme authoring from manifestState.ts into its resolved owner.
|
|
202
202
|
*/
|
|
203
203
|
export declare function setStudioManifestActiveThemeId(manifest: StudioManifest, activeThemeId: string): StudioManifest;
|
|
204
204
|
/***
|
|
205
205
|
* Set the active light/dark theme mode in the manifest.
|
|
206
|
-
*
|
|
206
|
+
* TODO: Extract theme authoring from manifestState.ts into its resolved owner.
|
|
207
207
|
*/
|
|
208
208
|
export declare function setStudioManifestActiveThemeMode(manifest: StudioManifest, activeThemeMode: NonNullable<StudioManifest['activeThemeMode']>): StudioManifest;
|
|
209
209
|
/***
|
|
210
210
|
* Replace OAuth providers while preserving or creating the surrounding manifest auth configuration.
|
|
211
|
-
*
|
|
211
|
+
* TODO: Move auth policy from the src root into auth/.
|
|
212
212
|
*/
|
|
213
213
|
export declare function updateStudioManifestOAuthProviders(manifest: StudioManifest, providers: AuthOAuthProviderConfig[]): StudioManifest;
|
|
214
214
|
/***
|
|
215
215
|
* Resolve the navigator path Studio treats as the primary application navigator.
|
|
216
|
-
*
|
|
216
|
+
* TODO: Move primary-navigator policy from the src root into routes/.
|
|
217
217
|
*/
|
|
218
218
|
export declare function getPrimaryNavigatorPath(routes: RouteDefinition[]): string[];
|
|
219
219
|
/***
|
|
220
220
|
* Find the navigator parent path that owns a route targeting the requested screen.
|
|
221
|
-
*
|
|
221
|
+
* TODO: Move route traversal from the src root into routes/.
|
|
222
222
|
*/
|
|
223
223
|
export declare function findParentPathForScreenId(routes: RouteDefinition[], screenId: string, parentPath?: string[], routePathPrefix?: string[]): string[] | null;
|
|
224
224
|
/***
|
|
225
225
|
* Resolve the direct route collection owned by a navigator parent path.
|
|
226
|
-
*
|
|
226
|
+
* TODO: Move navigator path lookup from the src root into routes/.
|
|
227
227
|
*/
|
|
228
228
|
export declare function findRoutesAtParentPath(routes: RouteDefinition[], parentPath: string[]): RouteDefinition[] | null;
|
|
229
229
|
/***
|
|
230
230
|
* Insert a route into the navigator identified by a parent path without mutating the existing tree.
|
|
231
|
-
*
|
|
231
|
+
* TODO: Move route-tree mutation from the src root into routes/.
|
|
232
232
|
*/
|
|
233
233
|
export declare function insertRouteAtParentPath(routes: RouteDefinition[], parentPath: string[], newRoute: RouteDefinition): RouteDefinition[];
|
|
234
234
|
/***
|
|
235
235
|
* Resolve a nested navigator by its route-name path.
|
|
236
|
-
*
|
|
236
|
+
* TODO: Move navigator lookup from the src root into routes/.
|
|
237
237
|
*/
|
|
238
238
|
export declare function findNavigatorAtPath(navigator: NavigatorNode, parentPath: string[]): NavigatorNode | null;
|
|
239
239
|
/***
|
|
240
240
|
* Immutably update the navigator identified by a route-name path.
|
|
241
|
-
*
|
|
241
|
+
* TODO: Move navigator-tree mutation from the src root into routes/.
|
|
242
242
|
*/
|
|
243
243
|
export declare function updateNavigatorAtPath(navigator: NavigatorNode, parentPath: string[], updater: (current: NavigatorNode) => NavigatorNode): NavigatorNode;
|
|
244
244
|
/***
|
|
245
245
|
* Change the primary navigator type when the requested navigator type is valid and different.
|
|
246
|
-
*
|
|
246
|
+
* TODO: Move navigator authoring policy from the src root into routes/.
|
|
247
247
|
*/
|
|
248
248
|
export declare function setStudioManifestNavigatorType(manifest: StudioManifest, type: NavigatorType): StudioManifest;
|
|
249
249
|
/***
|
|
250
250
|
* Change the primary navigator initial route when the requested sibling route is unique.
|
|
251
|
-
*
|
|
251
|
+
* TODO: Move navigator authoring policy from the src root into routes/.
|
|
252
252
|
*/
|
|
253
253
|
export declare function setStudioManifestNavigatorInitialRoute(manifest: StudioManifest, routeName: string): StudioManifest;
|
|
254
254
|
/***
|
|
255
255
|
* Set whether one route is visible in primary navigation while preserving the canonical visible representation.
|
|
256
|
-
*
|
|
256
|
+
* TODO: Move route visibility authoring from the src root into routes/.
|
|
257
257
|
*/
|
|
258
258
|
export declare function setStudioManifestRoutePrimaryNavigationVisibility(args: {
|
|
259
259
|
manifest: StudioManifest;
|
|
@@ -263,7 +263,7 @@ export declare function setStudioManifestRoutePrimaryNavigationVisibility(args:
|
|
|
263
263
|
}): StudioManifest;
|
|
264
264
|
/***
|
|
265
265
|
* Reorder one uniquely named route within its navigator parent.
|
|
266
|
-
*
|
|
266
|
+
* TODO: Move route ordering authoring from the src root into routes/.
|
|
267
267
|
*/
|
|
268
268
|
export declare function moveStudioManifestRoute(args: {
|
|
269
269
|
manifest: StudioManifest;
|
|
@@ -273,7 +273,7 @@ export declare function moveStudioManifestRoute(args: {
|
|
|
273
273
|
}): StudioManifest;
|
|
274
274
|
/***
|
|
275
275
|
* Create a new screen from a template, generate a collision-free route, and make the new screen active.
|
|
276
|
-
*
|
|
276
|
+
* TODO: Split screen creation between manifest screen state and routes/ instead of keeping both in one src-root function.
|
|
277
277
|
*/
|
|
278
278
|
export declare function addStudioManifestScreen(args: {
|
|
279
279
|
manifest: StudioManifest;
|
|
@@ -285,27 +285,27 @@ export declare function addStudioManifestScreen(args: {
|
|
|
285
285
|
}): StudioManifestScreenMutationResult;
|
|
286
286
|
/***
|
|
287
287
|
* Delete a screen, remove route references and bindings for its subtree, and resolve a safe next active screen.
|
|
288
|
-
*
|
|
288
|
+
* TODO: Split this cross-domain operation across manifest, routes/, bindings/, and selection application responsibilities.
|
|
289
289
|
*/
|
|
290
290
|
export declare function deleteStudioManifestScreen(manifest: StudioManifest, screenId: string, activeScreenId: string | null): StudioManifestScreenMutationResult;
|
|
291
291
|
/***
|
|
292
292
|
* Recursively remove a screen target from routes and prune nested navigators that become empty.
|
|
293
|
-
*
|
|
293
|
+
* TODO: Move route cleanup from the src root into routes/.
|
|
294
294
|
*/
|
|
295
295
|
export declare function removeScreenIdFromRoutes(routes: RouteDefinition[], screenId: string): RouteDefinition[];
|
|
296
296
|
/***
|
|
297
297
|
* Generate a route name that is unique among sibling routes by appending a numeric suffix when needed.
|
|
298
|
-
*
|
|
298
|
+
* TODO: Move route-name generation from the src root into routes/.
|
|
299
299
|
*/
|
|
300
300
|
export declare function makeUniqueSiblingRouteName(base: string, siblingRoutes: RouteDefinition[]): string;
|
|
301
301
|
/***
|
|
302
302
|
* Convert route path segments to the canonical pathname pattern used by Studio authoring.
|
|
303
|
-
*
|
|
303
|
+
* TODO: Move canonical route-pattern logic from the src root into routes/.
|
|
304
304
|
*/
|
|
305
305
|
export declare function toCanonicalRoutePattern(routePath: string[]): string;
|
|
306
306
|
/***
|
|
307
307
|
* Generate a route name that avoids both sibling-name and canonical-path collisions.
|
|
308
|
-
*
|
|
308
|
+
* TODO: Move route-name collision policy from the src root into routes/.
|
|
309
309
|
*/
|
|
310
310
|
export declare function makeUniqueRouteNameForParent(baseRouteName: string, siblingRoutes: RouteDefinition[], parentPath: string[], existingPatterns: Set<string>): string;
|
|
311
311
|
//# sourceMappingURL=manifestState.d.ts.map
|