@ankhorage/studio 6.0.2 → 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.
Files changed (479) hide show
  1. package/README.md +23 -7
  2. package/apm/update.json +2 -2
  3. package/dist/authSettings.d.ts +3 -3
  4. package/dist/authSettings.js +3 -3
  5. package/dist/bindingDiagnosticsModel.d.ts +1 -1
  6. package/dist/bindingDiagnosticsModel.d.ts.map +1 -1
  7. package/dist/bindingDiagnosticsModel.js +10 -10
  8. package/dist/bindingDiagnosticsModel.js.map +1 -1
  9. package/dist/bindingMetadataModel.d.ts +0 -2
  10. package/dist/bindingMetadataModel.d.ts.map +1 -1
  11. package/dist/bindingMetadataModel.js +3 -4
  12. package/dist/bindingMetadataModel.js.map +1 -1
  13. package/dist/bindingMutationModel.d.ts +4 -4
  14. package/dist/bindingMutationModel.d.ts.map +1 -1
  15. package/dist/bindingMutationModel.js +7 -8
  16. package/dist/bindingMutationModel.js.map +1 -1
  17. package/dist/bindingOperationModel.d.ts +2 -2
  18. package/dist/bindingOperationModel.js +7 -7
  19. package/dist/bindingSchemaModel.d.ts +3 -3
  20. package/dist/bindingSchemaModel.js +5 -5
  21. package/dist/canExecuteProjectDeployRelease.d.ts +1 -1
  22. package/dist/canExecuteProjectDeployRelease.js +1 -1
  23. package/dist/canvasDragModel.d.ts +5 -7
  24. package/dist/canvasDragModel.d.ts.map +1 -1
  25. package/dist/canvasDragModel.js +9 -16
  26. package/dist/canvasDragModel.js.map +1 -1
  27. package/dist/canvasDropZones.d.ts +1 -2
  28. package/dist/canvasDropZones.d.ts.map +1 -1
  29. package/dist/canvasDropZones.js +1 -2
  30. package/dist/canvasDropZones.js.map +1 -1
  31. package/dist/cli/index.js +1 -1
  32. package/dist/contractGuards.d.ts +2 -2
  33. package/dist/contractGuards.js +2 -2
  34. package/dist/core/StudioContext.d.ts +1 -1
  35. package/dist/core/StudioContext.js +1 -1
  36. package/dist/core/StudioProvider.js +5 -5
  37. package/dist/core/mediaAuthoringHostClient.d.ts +2 -2
  38. package/dist/core/mediaAuthoringHostClient.js +2 -2
  39. package/dist/core/mediaRemovalCoordinator.d.ts +1 -1
  40. package/dist/core/mediaRemovalCoordinator.d.ts.map +1 -1
  41. package/dist/core/mediaRemovalCoordinator.js +9 -10
  42. package/dist/core/mediaRemovalCoordinator.js.map +1 -1
  43. package/dist/core/studioManifestDraftModel.d.ts +7 -7
  44. package/dist/core/studioManifestDraftModel.js +7 -7
  45. package/dist/core/studioManifestPersistenceModel.d.ts +1 -1
  46. package/dist/core/studioManifestPersistenceModel.js +1 -1
  47. package/dist/createProjectDeployRequest.d.ts +0 -1
  48. package/dist/createProjectDeployRequest.d.ts.map +1 -1
  49. package/dist/createProjectDeployRequest.js +0 -1
  50. package/dist/createProjectDeployRequest.js.map +1 -1
  51. package/dist/externalApiApi.d.ts +3 -3
  52. package/dist/externalApiApi.d.ts.map +1 -1
  53. package/dist/externalApiApi.js +24 -40
  54. package/dist/externalApiApi.js.map +1 -1
  55. package/dist/features/project-updates/adapters/inbound/ProjectUpdateDashboardPanel.d.ts.map +1 -1
  56. package/dist/features/project-updates/adapters/inbound/ProjectUpdateDashboardPanel.js +12 -4
  57. package/dist/features/project-updates/adapters/inbound/ProjectUpdateDashboardPanel.js.map +1 -1
  58. package/dist/features/project-updates/adapters/outbound/createStudioGeneratedPackagePolicyProjectReadPort.d.ts +4 -0
  59. package/dist/features/project-updates/adapters/outbound/createStudioGeneratedPackagePolicyProjectReadPort.d.ts.map +1 -0
  60. package/dist/features/project-updates/adapters/outbound/createStudioGeneratedPackagePolicyProjectReadPort.js +30 -0
  61. package/dist/features/project-updates/adapters/outbound/createStudioGeneratedPackagePolicyProjectReadPort.js.map +1 -0
  62. package/dist/features/project-updates/adapters/outbound/getGeneratedPackagePolicy.js +0 -8
  63. package/dist/features/project-updates/adapters/outbound/getGeneratedPackagePolicy.js.map +1 -1
  64. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyDescriptor.d.ts +4 -0
  65. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyDescriptor.d.ts.map +1 -0
  66. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyDescriptor.js +21 -0
  67. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyDescriptor.js.map +1 -0
  68. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyHandler.d.ts +4 -0
  69. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyHandler.d.ts.map +1 -0
  70. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyHandler.js +11 -0
  71. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyHandler.js.map +1 -0
  72. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyProjectionDescriptor.d.ts +4 -0
  73. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyProjectionDescriptor.d.ts.map +1 -0
  74. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyProjectionDescriptor.js +10 -0
  75. package/dist/features/project-updates/adapters/outbound/readStudioGeneratedPackagePolicyProjectionDescriptor.js.map +1 -0
  76. package/dist/features/project-updates/application/resolveProjectUpdateDashboardPresentation.d.ts +11 -0
  77. package/dist/features/project-updates/application/resolveProjectUpdateDashboardPresentation.d.ts.map +1 -1
  78. package/dist/features/project-updates/application/resolveProjectUpdateDashboardPresentation.js +23 -8
  79. package/dist/features/project-updates/application/resolveProjectUpdateDashboardPresentation.js.map +1 -1
  80. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyApplyOwnerStepPort.d.ts +4 -0
  81. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyApplyOwnerStepPort.d.ts.map +1 -0
  82. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyApplyOwnerStepPort.js +176 -0
  83. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyApplyOwnerStepPort.js.map +1 -0
  84. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyExtensionEvidencePort.d.ts +5 -0
  85. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyExtensionEvidencePort.d.ts.map +1 -0
  86. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyExtensionEvidencePort.js +148 -0
  87. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyExtensionEvidencePort.js.map +1 -0
  88. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyProtocolPort.d.ts +5 -0
  89. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyProtocolPort.d.ts.map +1 -0
  90. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyProtocolPort.js +219 -0
  91. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyProtocolPort.js.map +1 -0
  92. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyUpdatePorts.d.ts +9 -0
  93. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyUpdatePorts.d.ts.map +1 -0
  94. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyUpdatePorts.js +17 -0
  95. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyUpdatePorts.js.map +1 -0
  96. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyVerifyOwnerStepPort.d.ts +4 -0
  97. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyVerifyOwnerStepPort.d.ts.map +1 -0
  98. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyVerifyOwnerStepPort.js +80 -0
  99. package/dist/features/project-updates/composition/createStudioGeneratedPackagePolicyVerifyOwnerStepPort.js.map +1 -0
  100. package/dist/features/project-updates/composition/createStudioProjectUpdateService.d.ts.map +1 -1
  101. package/dist/features/project-updates/composition/createStudioProjectUpdateService.js +11 -9
  102. package/dist/features/project-updates/composition/createStudioProjectUpdateService.js.map +1 -1
  103. package/dist/features/project-updates/constants.d.ts +2 -0
  104. package/dist/features/project-updates/constants.d.ts.map +1 -1
  105. package/dist/features/project-updates/constants.js +2 -0
  106. package/dist/features/project-updates/constants.js.map +1 -1
  107. package/dist/features/project-updates/domain/applyGeneratedPackagePolicy.d.ts.map +1 -1
  108. package/dist/features/project-updates/domain/applyGeneratedPackagePolicy.js +6 -3
  109. package/dist/features/project-updates/domain/applyGeneratedPackagePolicy.js.map +1 -1
  110. package/dist/features/project-updates/domain/createStudioGeneratedPackagePolicyExecutionContext.d.ts +4 -0
  111. package/dist/features/project-updates/domain/createStudioGeneratedPackagePolicyExecutionContext.d.ts.map +1 -0
  112. package/dist/features/project-updates/domain/createStudioGeneratedPackagePolicyExecutionContext.js +11 -0
  113. package/dist/features/project-updates/domain/createStudioGeneratedPackagePolicyExecutionContext.js.map +1 -0
  114. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyInventorySource.d.ts +5 -0
  115. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyInventorySource.d.ts.map +1 -0
  116. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyInventorySource.js +22 -0
  117. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyInventorySource.js.map +1 -0
  118. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyMutationTarget.d.ts +10 -0
  119. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyMutationTarget.d.ts.map +1 -0
  120. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyMutationTarget.js +21 -0
  121. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyMutationTarget.js.map +1 -0
  122. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyStatusSource.d.ts +5 -0
  123. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyStatusSource.d.ts.map +1 -0
  124. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyStatusSource.js +18 -0
  125. package/dist/features/project-updates/domain/readStudioGeneratedPackagePolicyStatusSource.js.map +1 -0
  126. package/dist/host/apis/createProjectEndpointCredentialResolver.d.ts +1 -1
  127. package/dist/host/apis/createProjectEndpointCredentialResolver.js +1 -1
  128. package/dist/host/apis/createTrustedEndpointTestFetch.d.ts +1 -1
  129. package/dist/host/apis/createTrustedEndpointTestFetch.js +1 -1
  130. package/dist/host/apis/createTrustedExternalApiFetch.d.ts +1 -1
  131. package/dist/host/apis/createTrustedExternalApiFetch.js +1 -1
  132. package/dist/host/apis/requestTrustedExternalApi.d.ts +3 -12
  133. package/dist/host/apis/requestTrustedExternalApi.d.ts.map +1 -1
  134. package/dist/host/apis/requestTrustedExternalApi.js +3 -53
  135. package/dist/host/apis/requestTrustedExternalApi.js.map +1 -1
  136. package/dist/host/apis/sanitizeExternalApiOperationTestResult.d.ts +1 -1
  137. package/dist/host/apis/sanitizeExternalApiOperationTestResult.js +1 -1
  138. package/dist/host/apis/studioExternalApiService.d.ts +1 -1
  139. package/dist/host/apis/studioExternalApiService.d.ts.map +1 -1
  140. package/dist/host/apis/studioExternalApiService.js +10 -17
  141. package/dist/host/apis/studioExternalApiService.js.map +1 -1
  142. package/dist/host/auth/projectAuthHealthService.d.ts +1 -1
  143. package/dist/host/auth/projectAuthHealthService.js +1 -1
  144. package/dist/host/createStudioHost.d.ts +1 -1
  145. package/dist/host/createStudioHost.js +1 -1
  146. package/dist/host/deploy/serializeProjectDeploySecret.d.ts.map +1 -1
  147. package/dist/host/deploy/serializeProjectDeploySecret.js +2 -9
  148. package/dist/host/deploy/serializeProjectDeploySecret.js.map +1 -1
  149. package/dist/host/http/apiRoutes.d.ts +1 -1
  150. package/dist/host/http/apiRoutes.d.ts.map +1 -1
  151. package/dist/host/http/apiRoutes.js +19 -29
  152. package/dist/host/http/apiRoutes.js.map +1 -1
  153. package/dist/host/http/authRoutes.js +1 -1
  154. package/dist/host/http/deployRoutes.d.ts.map +1 -1
  155. package/dist/host/http/deployRoutes.js +5 -11
  156. package/dist/host/http/deployRoutes.js.map +1 -1
  157. package/dist/host/http/mediaRoutes.d.ts.map +1 -1
  158. package/dist/host/http/mediaRoutes.js +10 -16
  159. package/dist/host/http/mediaRoutes.js.map +1 -1
  160. package/dist/host/http/moduleRoutes.d.ts.map +1 -1
  161. package/dist/host/http/moduleRoutes.js +8 -20
  162. package/dist/host/http/moduleRoutes.js.map +1 -1
  163. package/dist/host/http/secretRoutes.d.ts.map +1 -1
  164. package/dist/host/http/secretRoutes.js +10 -20
  165. package/dist/host/http/secretRoutes.js.map +1 -1
  166. package/dist/host/http/security.d.ts +1 -1
  167. package/dist/host/http/security.js +1 -1
  168. package/dist/host/http/server.d.ts +1 -1
  169. package/dist/host/http/server.js +1 -1
  170. package/dist/host/http/serverWithSecrets.d.ts +1 -1
  171. package/dist/host/http/serverWithSecrets.js +1 -1
  172. package/dist/host/layout/auth/resolveAuthLayoutPlan.d.ts +1 -1
  173. package/dist/host/layout/auth/resolveAuthLayoutPlan.d.ts.map +1 -1
  174. package/dist/host/layout/auth/resolveAuthLayoutPlan.js +7 -13
  175. package/dist/host/layout/auth/resolveAuthLayoutPlan.js.map +1 -1
  176. package/dist/host/layout/generatedImportComposer.d.ts +1 -1
  177. package/dist/host/layout/generatedImportComposer.js +3 -1
  178. package/dist/host/layout/generatedImportComposer.js.map +1 -1
  179. package/dist/host/layout/layoutGenerator.d.ts +2 -1
  180. package/dist/host/layout/layoutGenerator.d.ts.map +1 -1
  181. package/dist/host/layout/layoutGenerator.js +117 -69
  182. package/dist/host/layout/layoutGenerator.js.map +1 -1
  183. package/dist/host/layout/templates/auth/navigation.d.ts.map +1 -1
  184. package/dist/host/layout/templates/auth/navigation.js +2 -2
  185. package/dist/host/layout/templates/auth/navigation.js.map +1 -1
  186. package/dist/host/layout/templates/auth/oauth.d.ts.map +1 -1
  187. package/dist/host/layout/templates/auth/oauth.js +2 -8
  188. package/dist/host/layout/templates/auth/oauth.js.map +1 -1
  189. package/dist/host/layout/templates/auth/oauthCompletion.d.ts.map +1 -1
  190. package/dist/host/layout/templates/auth/oauthCompletion.js +2 -2
  191. package/dist/host/layout/templates/auth/oauthCompletion.js.map +1 -1
  192. package/dist/host/layout/templates/auth/screen.d.ts +1 -1
  193. package/dist/host/layout/templates/auth/screen.d.ts.map +1 -1
  194. package/dist/host/layout/templates/auth/screen.js +19 -137
  195. package/dist/host/layout/templates/auth/screen.js.map +1 -1
  196. package/dist/host/layout/templates/auth/screenController.d.ts.map +1 -1
  197. package/dist/host/layout/templates/auth/screenController.js +4 -6
  198. package/dist/host/layout/templates/auth/screenController.js.map +1 -1
  199. package/dist/host/layout/templates/rootLayout.d.ts +1 -1
  200. package/dist/host/layout/templates/rootLayout.js +4 -4
  201. package/dist/host/layout/templates/screen.d.ts +1 -1
  202. package/dist/host/layout/templates/screen.js +1 -1
  203. package/dist/host/layout/templates/utils/routes.d.ts +2 -2
  204. package/dist/host/layout/templates/utils/routes.js +2 -2
  205. package/dist/host/layout/templates/utils/strings.d.ts +1 -1
  206. package/dist/host/layout/templates/utils/strings.js +1 -1
  207. package/dist/host/layout/utils/escapeStringLiteral.d.ts +0 -1
  208. package/dist/host/layout/utils/escapeStringLiteral.d.ts.map +1 -1
  209. package/dist/host/layout/utils/escapeStringLiteral.js +2 -6
  210. package/dist/host/layout/utils/escapeStringLiteral.js.map +1 -1
  211. package/dist/host/manifestSystem/index.d.ts +1 -1
  212. package/dist/host/manifestSystem/index.js +1 -1
  213. package/dist/host/media/projectAuthoringAssetWriter.d.ts +0 -1
  214. package/dist/host/media/projectAuthoringAssetWriter.d.ts.map +1 -1
  215. package/dist/host/media/projectAuthoringAssetWriter.js +8 -4
  216. package/dist/host/media/projectAuthoringAssetWriter.js.map +1 -1
  217. package/dist/host/media/removeProjectAuthoringAsset.d.ts +0 -1
  218. package/dist/host/media/removeProjectAuthoringAsset.d.ts.map +1 -1
  219. package/dist/host/media/removeProjectAuthoringAsset.js +6 -8
  220. package/dist/host/media/removeProjectAuthoringAsset.js.map +1 -1
  221. package/dist/host/modules/runtime/LocalFsTargetAdapter.d.ts +1 -1
  222. package/dist/host/modules/runtime/LocalFsTargetAdapter.js +2 -2
  223. package/dist/host/orchestrator/GeneratedRouteFileOwnership.d.ts +1 -1
  224. package/dist/host/orchestrator/GeneratedRouteFileOwnership.d.ts.map +1 -1
  225. package/dist/host/orchestrator/GeneratedRouteFileOwnership.js +8 -21
  226. package/dist/host/orchestrator/GeneratedRouteFileOwnership.js.map +1 -1
  227. package/dist/host/orchestrator/generatedAppFiles.d.ts +1 -4
  228. package/dist/host/orchestrator/generatedAppFiles.d.ts.map +1 -1
  229. package/dist/host/orchestrator/generatedAppFiles.js +4 -16
  230. package/dist/host/orchestrator/generatedAppFiles.js.map +1 -1
  231. package/dist/host/orchestrator/moduleManager.d.ts +1 -1
  232. package/dist/host/orchestrator/moduleManager.d.ts.map +1 -1
  233. package/dist/host/orchestrator/moduleManager.js +2 -8
  234. package/dist/host/orchestrator/moduleManager.js.map +1 -1
  235. package/dist/host/orchestrator/projectManager.d.ts +2 -2
  236. package/dist/host/orchestrator/projectManager.d.ts.map +1 -1
  237. package/dist/host/orchestrator/projectManager.js +9 -24
  238. package/dist/host/orchestrator/projectManager.js.map +1 -1
  239. package/dist/host/orchestrator/projectPaths.d.ts +3 -3
  240. package/dist/host/orchestrator/projectPaths.js +3 -3
  241. package/dist/host/orchestrator/projectStore.d.ts +1 -1
  242. package/dist/host/orchestrator/projectStore.js +1 -1
  243. package/dist/host/orchestrator/projectTargets.d.ts +1 -1
  244. package/dist/host/orchestrator/projectTargets.js +2 -2
  245. package/dist/host/orchestrator/reconcileProjectPackageRootAsync.d.ts +1 -1
  246. package/dist/host/orchestrator/reconcileProjectPackageRootAsync.js +1 -1
  247. package/dist/host/orchestrator/resolveMutations.d.ts +1 -1
  248. package/dist/host/orchestrator/resolveMutations.js +1 -1
  249. package/dist/host/orchestrator/scaffolder.d.ts +2 -4
  250. package/dist/host/orchestrator/scaffolder.d.ts.map +1 -1
  251. package/dist/host/orchestrator/scaffolder.js +12 -31
  252. package/dist/host/orchestrator/scaffolder.js.map +1 -1
  253. package/dist/host/orchestrator/studioInfraUp.d.ts +1 -1
  254. package/dist/host/orchestrator/studioInfraUp.js +1 -1
  255. package/dist/host/secrets/bunSupabaseVaultClient.d.ts +1 -1
  256. package/dist/host/secrets/bunSupabaseVaultClient.d.ts.map +1 -1
  257. package/dist/host/secrets/bunSupabaseVaultClient.js +6 -4
  258. package/dist/host/secrets/bunSupabaseVaultClient.js.map +1 -1
  259. package/dist/host/secrets/projectSecretService.d.ts +2 -2
  260. package/dist/host/secrets/projectSecretService.d.ts.map +1 -1
  261. package/dist/host/secrets/projectSecretService.js +9 -24
  262. package/dist/host/secrets/projectSecretService.js.map +1 -1
  263. package/dist/host/secrets/trustedOAuthInfraEnvironment.d.ts +2 -2
  264. package/dist/host/secrets/trustedOAuthInfraEnvironment.js +3 -3
  265. package/dist/host/templates/index.d.ts +2 -2
  266. package/dist/host/templates/index.js +2 -2
  267. package/dist/host/utils/requirementsInference.d.ts +2 -2
  268. package/dist/host/utils/requirementsInference.js +2 -2
  269. package/dist/host/utils/workspaceRoot.d.ts +1 -1
  270. package/dist/host/utils/workspaceRoot.d.ts.map +1 -1
  271. package/dist/host/utils/workspaceRoot.js +6 -10
  272. package/dist/host/utils/workspaceRoot.js.map +1 -1
  273. package/dist/index.d.ts +19 -23
  274. package/dist/index.d.ts.map +1 -1
  275. package/dist/index.js +29 -76
  276. package/dist/index.js.map +1 -1
  277. package/dist/insertModalModel.d.ts +2 -4
  278. package/dist/insertModalModel.d.ts.map +1 -1
  279. package/dist/insertModalModel.js +2 -4
  280. package/dist/insertModalModel.js.map +1 -1
  281. package/dist/manifestState.d.ts +45 -45
  282. package/dist/manifestState.js +58 -58
  283. package/dist/manifestSync.d.ts +3 -3
  284. package/dist/manifestSync.d.ts.map +1 -1
  285. package/dist/manifestSync.js +5 -4
  286. package/dist/manifestSync.js.map +1 -1
  287. package/dist/mediaAuthoringModel.d.ts +6 -8
  288. package/dist/mediaAuthoringModel.d.ts.map +1 -1
  289. package/dist/mediaAuthoringModel.js +17 -36
  290. package/dist/mediaAuthoringModel.js.map +1 -1
  291. package/dist/moduleAdminApi.d.ts +7 -9
  292. package/dist/moduleAdminApi.d.ts.map +1 -1
  293. package/dist/moduleAdminApi.js +15 -22
  294. package/dist/moduleAdminApi.js.map +1 -1
  295. package/dist/normalizeExternalApiId.d.ts +0 -1
  296. package/dist/normalizeExternalApiId.d.ts.map +1 -1
  297. package/dist/normalizeExternalApiId.js +2 -7
  298. package/dist/normalizeExternalApiId.js.map +1 -1
  299. package/dist/projectAuthApi.d.ts +1 -1
  300. package/dist/projectAuthApi.js +8 -9
  301. package/dist/projectAuthApi.js.map +1 -1
  302. package/dist/projectAuthHealth.d.ts +1 -1
  303. package/dist/projectAuthHealth.d.ts.map +1 -1
  304. package/dist/projectAuthHealth.js +10 -11
  305. package/dist/projectAuthHealth.js.map +1 -1
  306. package/dist/projectAuthRuntimeDiagnostics.d.ts +1 -1
  307. package/dist/projectAuthRuntimeDiagnostics.js +16 -24
  308. package/dist/projectAuthRuntimeDiagnostics.js.map +1 -1
  309. package/dist/projectDeployApi.d.ts +17 -17
  310. package/dist/projectDeployApi.js +18 -18
  311. package/dist/projectDeployApiError.d.ts +1 -1
  312. package/dist/projectDeployApiError.js +1 -1
  313. package/dist/projectDeployAssetPicker.d.ts +1 -1
  314. package/dist/projectDeployAssetPicker.d.ts.map +1 -1
  315. package/dist/projectDeployAssetPicker.js +10 -9
  316. package/dist/projectDeployAssetPicker.js.map +1 -1
  317. package/dist/projectDeployClient.d.ts +3 -3
  318. package/dist/projectDeployClient.d.ts.map +1 -1
  319. package/dist/projectDeployClient.js +42 -95
  320. package/dist/projectDeployClient.js.map +1 -1
  321. package/dist/projectIdentity.d.ts +1 -2
  322. package/dist/projectIdentity.d.ts.map +1 -1
  323. package/dist/projectIdentity.js +3 -4
  324. package/dist/projectIdentity.js.map +1 -1
  325. package/dist/projectOAuthSetup.d.ts +3 -3
  326. package/dist/projectOAuthSetup.js +3 -3
  327. package/dist/projectSecretApi.d.ts +6 -6
  328. package/dist/projectSecretApi.js +14 -14
  329. package/dist/projectSecretUsage.d.ts +1 -1
  330. package/dist/projectSecretUsage.js +1 -2
  331. package/dist/projectSecretUsage.js.map +1 -1
  332. package/dist/routeUtils.d.ts +1 -1
  333. package/dist/routeUtils.js +1 -1
  334. package/dist/runtime/actionSuppression.d.ts +0 -1
  335. package/dist/runtime/actionSuppression.d.ts.map +1 -1
  336. package/dist/runtime/actionSuppression.js +0 -1
  337. package/dist/runtime/actionSuppression.js.map +1 -1
  338. package/dist/runtime/index.d.ts +0 -2
  339. package/dist/runtime/index.d.ts.map +1 -1
  340. package/dist/runtime/index.js +0 -2
  341. package/dist/runtime/index.js.map +1 -1
  342. package/dist/runtime/interactionPolicy.d.ts +1 -1
  343. package/dist/runtime/interactionPolicy.js +1 -1
  344. package/dist/runtime/interactionPolicyCore.d.ts +0 -2
  345. package/dist/runtime/interactionPolicyCore.d.ts.map +1 -1
  346. package/dist/runtime/interactionPolicyCore.js +13 -28
  347. package/dist/runtime/interactionPolicyCore.js.map +1 -1
  348. package/dist/runtime/runtimeActions.d.ts +1 -1
  349. package/dist/runtime/runtimeActions.js +1 -1
  350. package/dist/runtime/runtimeNodeMeasurement.d.ts +2 -13
  351. package/dist/runtime/runtimeNodeMeasurement.d.ts.map +1 -1
  352. package/dist/runtime/runtimeNodeMeasurement.js +17 -86
  353. package/dist/runtime/runtimeNodeMeasurement.js.map +1 -1
  354. package/dist/runtime/stationarySelection.d.ts +3 -3
  355. package/dist/runtime/stationarySelection.d.ts.map +1 -1
  356. package/dist/runtime/stationarySelection.js +15 -54
  357. package/dist/runtime/stationarySelection.js.map +1 -1
  358. package/dist/runtime/studioMediaResolver.d.ts +1 -1
  359. package/dist/runtime/studioMediaResolver.js +2 -2
  360. package/dist/runtime/useRuntimeAction.d.ts +1 -1
  361. package/dist/runtime/useRuntimeAction.js +1 -1
  362. package/dist/runtimeDiagnosticsModel.d.ts +1 -4
  363. package/dist/runtimeDiagnosticsModel.d.ts.map +1 -1
  364. package/dist/runtimeDiagnosticsModel.js +1 -4
  365. package/dist/runtimeDiagnosticsModel.js.map +1 -1
  366. package/dist/secretResponseGuard.d.ts +2 -6
  367. package/dist/secretResponseGuard.d.ts.map +1 -1
  368. package/dist/secretResponseGuard.js +3 -37
  369. package/dist/secretResponseGuard.js.map +1 -1
  370. package/dist/studioAdminRouteModel.d.ts +7 -14
  371. package/dist/studioAdminRouteModel.d.ts.map +1 -1
  372. package/dist/studioAdminRouteModel.js +17 -28
  373. package/dist/studioAdminRouteModel.js.map +1 -1
  374. package/dist/studioRuntimeApi.d.ts +1 -1
  375. package/dist/studioRuntimeApi.js +3 -3
  376. package/dist/studioSelectionModel.d.ts +0 -4
  377. package/dist/studioSelectionModel.d.ts.map +1 -1
  378. package/dist/studioSelectionModel.js +0 -5
  379. package/dist/studioSelectionModel.js.map +1 -1
  380. package/dist/types/project-updates.d.ts +7 -1
  381. package/dist/types/project-updates.d.ts.map +1 -1
  382. package/dist/ui/admin/AnkhAdminPage.js +1 -1
  383. package/dist/ui/admin/AuthAdminSession.d.ts +1 -1
  384. package/dist/ui/admin/AuthAdminSession.js +1 -1
  385. package/dist/ui/admin/ModuleAdminViewBoundary.d.ts +0 -1
  386. package/dist/ui/admin/ModuleAdminViewBoundary.d.ts.map +1 -1
  387. package/dist/ui/admin/ModuleAdminViewBoundary.js +2 -2
  388. package/dist/ui/admin/ModuleAdminViewBoundary.js.map +1 -1
  389. package/dist/ui/admin/ModuleAdminViewHost.d.ts +1 -1
  390. package/dist/ui/admin/ModuleAdminViewHost.js +1 -1
  391. package/dist/ui/admin/adminPagePrimitives.d.ts +5 -5
  392. package/dist/ui/admin/adminPagePrimitives.js +5 -5
  393. package/dist/ui/admin/moduleAdminViewRegistry.d.ts +1 -1
  394. package/dist/ui/admin/moduleAdminViewRegistry.js +1 -1
  395. package/dist/ui/admin/pages/ApiOperationsCard.d.ts.map +1 -1
  396. package/dist/ui/admin/pages/ApiOperationsCard.js +4 -7
  397. package/dist/ui/admin/pages/ApiOperationsCard.js.map +1 -1
  398. package/dist/ui/admin/pages/AuthAdminPage.d.ts +1 -1
  399. package/dist/ui/admin/pages/AuthAdminPage.d.ts.map +1 -1
  400. package/dist/ui/admin/pages/AuthAdminPage.js +26 -35
  401. package/dist/ui/admin/pages/AuthAdminPage.js.map +1 -1
  402. package/dist/ui/admin/pages/BindingsAdminPage.d.ts +1 -1
  403. package/dist/ui/admin/pages/BindingsAdminPage.js +1 -1
  404. package/dist/ui/admin/pages/ModuleDetailAdminPage.d.ts.map +1 -1
  405. package/dist/ui/admin/pages/ModuleDetailAdminPage.js +4 -10
  406. package/dist/ui/admin/pages/ModuleDetailAdminPage.js.map +1 -1
  407. package/dist/ui/admin/pages/ModulesAdminPage.d.ts.map +1 -1
  408. package/dist/ui/admin/pages/ModulesAdminPage.js +3 -9
  409. package/dist/ui/admin/pages/ModulesAdminPage.js.map +1 -1
  410. package/dist/ui/admin/pages/ScreenDetailAdminPage.js +1 -1
  411. package/dist/ui/admin/pages/ScreensAdminPage.js +1 -1
  412. package/dist/ui/admin/pages/SecretsAdminPage.d.ts +1 -1
  413. package/dist/ui/admin/pages/SecretsAdminPage.d.ts.map +1 -1
  414. package/dist/ui/admin/pages/SecretsAdminPage.js +30 -137
  415. package/dist/ui/admin/pages/SecretsAdminPage.js.map +1 -1
  416. package/dist/ui/admin/pages/ThemeModeEditorSelector.d.ts +1 -1
  417. package/dist/ui/admin/pages/ThemeModeEditorSelector.js +1 -1
  418. package/dist/ui/admin/pages/adminApiOperations.d.ts +1 -1
  419. package/dist/ui/admin/pages/adminApiOperations.js +1 -1
  420. package/dist/ui/admin/pages/adminAuthCredentialFlow.d.ts +1 -1
  421. package/dist/ui/admin/pages/adminAuthCredentialFlow.d.ts.map +1 -1
  422. package/dist/ui/admin/pages/adminAuthCredentialFlow.js +5 -14
  423. package/dist/ui/admin/pages/adminAuthCredentialFlow.js.map +1 -1
  424. package/dist/ui/admin/pages/adminAuthSessionModel.d.ts +5 -66
  425. package/dist/ui/admin/pages/adminAuthSessionModel.d.ts.map +1 -1
  426. package/dist/ui/admin/pages/adminAuthSessionModel.js +37 -132
  427. package/dist/ui/admin/pages/adminAuthSessionModel.js.map +1 -1
  428. package/dist/ui/admin/pages/adminThemeModel.d.ts +2 -2
  429. package/dist/ui/admin/pages/adminThemeModel.js +2 -2
  430. package/dist/ui/admin/pages/bindings/bindingEditorModel.d.ts +0 -3
  431. package/dist/ui/admin/pages/bindings/bindingEditorModel.d.ts.map +1 -1
  432. package/dist/ui/admin/pages/bindings/bindingEditorModel.js +7 -8
  433. package/dist/ui/admin/pages/bindings/bindingEditorModel.js.map +1 -1
  434. package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.d.ts +1 -1
  435. package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.d.ts.map +1 -1
  436. package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.js +8 -19
  437. package/dist/ui/admin/pages/deploy/useProjectDeployDashboard.js.map +1 -1
  438. package/dist/ui/admin/pages/screens/screensAdminActions.d.ts +1 -1
  439. package/dist/ui/admin/pages/screens/screensAdminActions.js +1 -1
  440. package/dist/ui/admin/pages/themeRecipeAuthoringModel.d.ts.map +1 -1
  441. package/dist/ui/admin/pages/themeRecipeAuthoringModel.js +3 -8
  442. package/dist/ui/admin/pages/themeRecipeAuthoringModel.js.map +1 -1
  443. package/dist/ui/admin/pages/themeRecipeTokenOptions.d.ts +1 -1
  444. package/dist/ui/admin/pages/themeRecipeTokenOptions.js +1 -1
  445. package/dist/ui/admin/pages/useActiveThemeAdmin.d.ts +1 -1
  446. package/dist/ui/admin/pages/useActiveThemeAdmin.js +1 -1
  447. package/dist/ui/canvas/StudioCanvasDndOverlay.d.ts +1 -1
  448. package/dist/ui/canvas/StudioCanvasDndOverlay.js +2 -2
  449. package/dist/ui/canvas/canvasDndInteraction.d.ts +3 -4
  450. package/dist/ui/canvas/canvasDndInteraction.d.ts.map +1 -1
  451. package/dist/ui/canvas/canvasDndInteraction.js +5 -5
  452. package/dist/ui/canvas/canvasDndInteraction.js.map +1 -1
  453. package/dist/utils/treeUtils.d.ts +1 -1
  454. package/dist/utils/treeUtils.js +1 -1
  455. package/dist/workspacePlatform.d.ts +0 -3
  456. package/dist/workspacePlatform.d.ts.map +1 -1
  457. package/dist/workspacePlatform.js +0 -3
  458. package/dist/workspacePlatform.js.map +1 -1
  459. package/package.json +51 -50
  460. package/dist/constants.d.ts +0 -1636
  461. package/dist/constants.d.ts.map +0 -1
  462. package/dist/constants.js +0 -10
  463. package/dist/constants.js.map +0 -1
  464. package/dist/host/zoraExtensions/index.d.ts +0 -22
  465. package/dist/host/zoraExtensions/index.d.ts.map +0 -1
  466. package/dist/host/zoraExtensions/index.js +0 -61
  467. package/dist/host/zoraExtensions/index.js.map +0 -1
  468. package/dist/runtime/appExtensionRegistry.d.ts +0 -3
  469. package/dist/runtime/appExtensionRegistry.d.ts.map +0 -1
  470. package/dist/runtime/appExtensionRegistry.js +0 -12
  471. package/dist/runtime/appExtensionRegistry.js.map +0 -1
  472. package/dist/runtime/registry.d.ts +0 -6
  473. package/dist/runtime/registry.d.ts.map +0 -1
  474. package/dist/runtime/registry.js +0 -5
  475. package/dist/runtime/registry.js.map +0 -1
  476. package/dist/ui/admin/pages/adminAuthHealthFlow.d.ts +0 -26
  477. package/dist/ui/admin/pages/adminAuthHealthFlow.d.ts.map +0 -1
  478. package/dist/ui/admin/pages/adminAuthHealthFlow.js +0 -32
  479. package/dist/ui/admin/pages/adminAuthHealthFlow.js.map +0 -1
@@ -48,7 +48,7 @@ export const DEFAULT_STUDIO_SCREEN_TEMPLATE = {
48
48
  };
49
49
  /***
50
50
  * Generate a Studio manifest-state identifier from the current time, randomness, and optional prefix.
51
- * @todo Move this identifier policy from the src root into the manifest domain or the domain that owns generated authoring IDs.
51
+ * TODO: Move this identifier policy from the src root into the manifest domain or the domain that owns generated authoring IDs.
52
52
  */
53
53
  export const generateManifestStateId = (prefix) => {
54
54
  const timestamp = Date.now().toString(36);
@@ -58,7 +58,7 @@ export const generateManifestStateId = (prefix) => {
58
58
  };
59
59
  /***
60
60
  * Serialize the manifest fields used to detect broad Studio authoring-state changes.
61
- * @todo Move this manifest state projection from the src root into the manifest domain.
61
+ * TODO: Move this manifest state projection from the src root into the manifest domain.
62
62
  */
63
63
  export function createStudioManifestFingerprint(manifest) {
64
64
  if (!manifest)
@@ -77,21 +77,21 @@ export function createStudioManifestFingerprint(manifest) {
77
77
  }
78
78
  /***
79
79
  * Convert a navigator parent path to the stable key used for route grouping.
80
- * @todo Move this route-path helper from the src root into routes/.
80
+ * TODO: Move this route-path helper from the src root into routes/.
81
81
  */
82
82
  export function pathToKey(path) {
83
83
  return path.length === 0 ? '__root__' : path.join('/');
84
84
  }
85
85
  /***
86
86
  * Return whether a route segment represents an Expo Router-style group segment.
87
- * @todo Move this route semantic helper from the src root into routes/.
87
+ * TODO: Move this route semantic helper from the src root into routes/.
88
88
  */
89
89
  export function isRouteGroupSegment(segment) {
90
90
  return /^\(.*\)$/.test(segment);
91
91
  }
92
92
  /***
93
93
  * Recursively collect screen-targeting routes together with their navigator and route paths.
94
- * @todo Move route traversal from the src root into routes/.
94
+ * TODO: Move route traversal from the src root into routes/.
95
95
  */
96
96
  export function collectScreenRouteEntries(routes, parentPath = [], routePathPrefix = []) {
97
97
  const entries = [];
@@ -113,7 +113,7 @@ export function collectScreenRouteEntries(routes, parentPath = [], routePathPref
113
113
  }
114
114
  /***
115
115
  * Group collected screen routes by the navigator parent path that owns them.
116
- * @todo Move route grouping from the src root into routes/.
116
+ * TODO: Move route grouping from the src root into routes/.
117
117
  */
118
118
  export function groupScreenRouteEntries(entries) {
119
119
  const groups = new Map();
@@ -132,7 +132,7 @@ export function groupScreenRouteEntries(entries) {
132
132
  }
133
133
  /***
134
134
  * Verify that every screen registry key equals its unique stable ScreenSpec identifier.
135
- * @todo Move this manifest screen invariant from the src root into the manifest domain.
135
+ * TODO: Move this manifest screen invariant from the src root into the manifest domain.
136
136
  */
137
137
  export function hasCanonicalStudioScreenRegistryIdentity(screens) {
138
138
  const screenIds = new Set();
@@ -145,7 +145,7 @@ export function hasCanonicalStudioScreenRegistryIdentity(screens) {
145
145
  }
146
146
  /***
147
147
  * Resolve a screen by stable identifier only when the manifest screen registry satisfies its canonical identity invariant.
148
- * @todo Move this screen lookup from the src root into the manifest domain.
148
+ * TODO: Move this screen lookup from the src root into the manifest domain.
149
149
  */
150
150
  function resolveCanonicalStudioScreen(manifest, screenId) {
151
151
  if (!hasCanonicalStudioScreenRegistryIdentity(manifest.screens))
@@ -154,7 +154,7 @@ function resolveCanonicalStudioScreen(manifest, screenId) {
154
154
  }
155
155
  /***
156
156
  * Derive the complete screen/navigation authoring model and diagnostics without flattening the navigator tree.
157
- * @todo Move navigation-model derivation from the src root into routes/.
157
+ * TODO: Move navigation-model derivation from the src root into routes/.
158
158
  */
159
159
  export function deriveStudioScreenNavigationModel(manifest) {
160
160
  const primaryNavigatorPath = getPrimaryNavigatorPath(manifest.navigator.routes);
@@ -215,7 +215,7 @@ export function deriveStudioScreenNavigationModel(manifest) {
215
215
  }
216
216
  /***
217
217
  * Resolve a concrete app pathname only when a screen has one unique, non-dynamic route reference.
218
- * @todo Move canonical route-path resolution from the src root into routes/.
218
+ * TODO: Move canonical route-path resolution from the src root into routes/.
219
219
  */
220
220
  export function resolveStudioScreenAppPath(model, screenId) {
221
221
  const matchingEntries = model.screens.filter((candidate) => candidate.screenId === screenId);
@@ -239,7 +239,7 @@ export function resolveStudioScreenAppPath(model, screenId) {
239
239
  }
240
240
  /***
241
241
  * Traverse a navigator tree to collect route references and navigation diagnostics for each screen.
242
- * @todo Move navigation traversal and diagnostics from the src root into routes/.
242
+ * TODO: Move navigation traversal and diagnostics from the src root into routes/.
243
243
  */
244
244
  function collectNavigationModelReferences(args) {
245
245
  const { navigator, screens, primaryNavigatorPath, parentPath, routePathPrefix, runtimePathPrefix, diagnostics, referencesByRegistryKey, } = args;
@@ -337,7 +337,7 @@ function collectNavigationModelReferences(args) {
337
337
  }
338
338
  /***
339
339
  * Append one route's explicit or named path segments to the current runtime route path.
340
- * @todo Move runtime route-path construction from the src root into routes/.
340
+ * TODO: Move runtime route-path construction from the src root into routes/.
341
341
  */
342
342
  function appendRuntimeRoutePath(runtimePathPrefix, route) {
343
343
  const explicitPath = route.path?.trim();
@@ -347,28 +347,28 @@ function appendRuntimeRoutePath(runtimePathPrefix, route) {
347
347
  }
348
348
  /***
349
349
  * Compare two route paths for ordered segment equality.
350
- * @todo Keep this small comparison helper local to routes/ unless broader reuse is demonstrated.
350
+ * TODO: Keep this small comparison helper local to routes/ unless broader reuse is demonstrated.
351
351
  */
352
352
  function pathsEqual(first, second) {
353
353
  return (first.length === second.length && first.every((value, index) => value === second.at(index)));
354
354
  }
355
355
  /***
356
356
  * Format a route parent path for navigation diagnostic messages.
357
- * @todo Move route diagnostic formatting from the src root into routes/.
357
+ * TODO: Move route diagnostic formatting from the src root into routes/.
358
358
  */
359
359
  function formatParentPath(parentPath) {
360
360
  return parentPath.length === 0 ? '<root>' : parentPath.join('/');
361
361
  }
362
362
  /***
363
363
  * List routed screen identifiers in navigator traversal order.
364
- * @todo Move route ordering behavior from the src root into routes/.
364
+ * TODO: Move route ordering behavior from the src root into routes/.
365
365
  */
366
366
  export function listScreenIdsInRouteOrder(routes) {
367
367
  return collectScreenRouteEntries(routes).map((entry) => entry.screenId);
368
368
  }
369
369
  /***
370
370
  * Resolve the initial leaf screen selected by a nested navigator tree, falling back to the first usable route.
371
- * @todo Move initial-route resolution from the src root into routes/.
371
+ * TODO: Move initial-route resolution from the src root into routes/.
372
372
  */
373
373
  export function resolveInitialScreenId(navigator, screens) {
374
374
  if (screens && !hasCanonicalStudioScreenRegistryIdentity(screens))
@@ -393,7 +393,7 @@ export function resolveInitialScreenId(navigator, screens) {
393
393
  }
394
394
  /***
395
395
  * Resolve the active screen Studio should select when a manifest is first opened.
396
- * @todo Move initial Studio screen selection out of the src root into routes/ or selection/ according to its caller boundary.
396
+ * TODO: Move initial Studio screen selection out of the src root into routes/ or selection/ according to its caller boundary.
397
397
  */
398
398
  export function resolveInitialActiveScreenId(manifest) {
399
399
  if (!manifest || !hasCanonicalStudioScreenRegistryIdentity(manifest.screens))
@@ -404,7 +404,7 @@ export function resolveInitialActiveScreenId(manifest) {
404
404
  }
405
405
  /***
406
406
  * Resolve the root UI node for the active canonical screen.
407
- * @todo Move active-screen root resolution from the src root into the manifest/selection boundary.
407
+ * TODO: Move active-screen root resolution from the src root into the manifest/selection boundary.
408
408
  */
409
409
  export function resolveActiveRootNode(manifest, activeScreenId) {
410
410
  if (!manifest || !activeScreenId)
@@ -413,7 +413,7 @@ export function resolveActiveRootNode(manifest, activeScreenId) {
413
413
  }
414
414
  /***
415
415
  * Recursively find a UI node by identifier in a manifest-owned UI tree.
416
- * @todo Move UI-tree traversal from the src root into canvas/.
416
+ * TODO: Move UI-tree traversal from the src root into canvas/.
417
417
  */
418
418
  export function findNodeInManifest(root, id) {
419
419
  if (root.id === id)
@@ -427,7 +427,7 @@ export function findNodeInManifest(root, id) {
427
427
  }
428
428
  /***
429
429
  * Keep a selected node identifier only while that node still exists in the active tree.
430
- * @todo Move selection validity policy from the src root into selection/.
430
+ * TODO: Move selection validity policy from the src root into selection/.
431
431
  */
432
432
  export function resolveSafeSelectedNodeId(rootNode, selectedNodeId) {
433
433
  if (!selectedNodeId || !rootNode)
@@ -436,7 +436,7 @@ export function resolveSafeSelectedNodeId(rootNode, selectedNodeId) {
436
436
  }
437
437
  /***
438
438
  * Find the canonical screen whose UI tree contains a given node identifier.
439
- * @todo Move screen ownership lookup from the src root into the manifest/canvas boundary.
439
+ * TODO: Move screen ownership lookup from the src root into the manifest/canvas boundary.
440
440
  */
441
441
  export function findScreenIdForNode(manifest, nodeId) {
442
442
  if (!hasCanonicalStudioScreenRegistryIdentity(manifest.screens))
@@ -450,7 +450,7 @@ export function findScreenIdForNode(manifest, nodeId) {
450
450
  }
451
451
  /***
452
452
  * Update authored properties of one node in the active screen while preserving manifest immutability.
453
- * @todo Move canvas node mutation from the src root into canvas/.
453
+ * TODO: Move canvas node mutation from the src root into canvas/.
454
454
  */
455
455
  export function updateStudioManifestNode(manifest, activeScreenId, nodeId, newProps) {
456
456
  if (!activeScreenId)
@@ -474,7 +474,7 @@ export function updateStudioManifestNode(manifest, activeScreenId, nodeId, newPr
474
474
  }
475
475
  /***
476
476
  * Delete a non-root node from the active screen and remove data bindings owned by the deleted subtree.
477
- * @todo Split this canvas mutation and binding cleanup between canvas/ and bindings/ instead of the src root.
477
+ * TODO: Split this canvas mutation and binding cleanup between canvas/ and bindings/ instead of the src root.
478
478
  */
479
479
  export function deleteStudioManifestNode(manifest, activeScreenId, nodeId) {
480
480
  if (!activeScreenId)
@@ -504,7 +504,7 @@ export function deleteStudioManifestNode(manifest, activeScreenId, nodeId) {
504
504
  }
505
505
  /***
506
506
  * Insert a new UI node at a validated canvas placement in the active screen.
507
- * @todo Move canvas insertion orchestration from the src root into canvas/.
507
+ * TODO: Move canvas insertion orchestration from the src root into canvas/.
508
508
  */
509
509
  export function insertStudioManifestNodeAtPlacement(args) {
510
510
  const { manifest, activeScreenId, placement, newNode, componentMeta } = args;
@@ -537,7 +537,7 @@ export function insertStudioManifestNodeAtPlacement(args) {
537
537
  }
538
538
  /***
539
539
  * Move an existing UI node to a validated canvas placement in the active screen.
540
- * @todo Move canvas movement orchestration from the src root into canvas/.
540
+ * TODO: Move canvas movement orchestration from the src root into canvas/.
541
541
  */
542
542
  export function moveStudioManifestNodeToPlacement(args) {
543
543
  const { manifest, activeScreenId, nodeId, placement, componentMeta } = args;
@@ -570,21 +570,21 @@ export function moveStudioManifestNodeToPlacement(args) {
570
570
  }
571
571
  /***
572
572
  * Replace the manifest component data-binding registry.
573
- * @todo Move binding-state mutation from the src root into bindings/.
573
+ * TODO: Move binding-state mutation from the src root into bindings/.
574
574
  */
575
575
  export function updateStudioManifestDataBindings(manifest, dataBindings) {
576
576
  return { ...manifest, dataBindings };
577
577
  }
578
578
  /***
579
579
  * Replace the manifest data-source registry.
580
- * @todo Resolve data-source authoring ownership with bindings/external APIs and remove this src-root mutation.
580
+ * TODO: Resolve data-source authoring ownership with bindings/external APIs and remove this src-root mutation.
581
581
  */
582
582
  export function updateStudioManifestDataSources(manifest, dataSources) {
583
583
  return { ...manifest, dataSources };
584
584
  }
585
585
  /***
586
586
  * Create the default light/dark theme configuration for a newly authored theme.
587
- * @todo Extract theme authoring from manifestState.ts; the current Studio structure target does not yet name a dedicated theme domain.
587
+ * TODO: Extract theme authoring from manifestState.ts; the current Studio structure target does not yet name a dedicated theme domain.
588
588
  */
589
589
  export function createDefaultThemeConfig(themeIndex, id = generateManifestStateId('theme')) {
590
590
  return {
@@ -602,7 +602,7 @@ export function createDefaultThemeConfig(themeIndex, id = generateManifestStateI
602
602
  }
603
603
  /***
604
604
  * Append a theme to the manifest, creating a default theme when none is supplied.
605
- * @todo Extract theme authoring from manifestState.ts into its resolved owner.
605
+ * TODO: Extract theme authoring from manifestState.ts into its resolved owner.
606
606
  */
607
607
  export function addStudioManifestTheme(manifest, theme = createDefaultThemeConfig(Object.keys(manifest.themes).length)) {
608
608
  const themes = { ...manifest.themes };
@@ -611,7 +611,7 @@ export function addStudioManifestTheme(manifest, theme = createDefaultThemeConfi
611
611
  }
612
612
  /***
613
613
  * Merge shared and mode-specific updates into one manifest theme.
614
- * @todo Extract theme authoring from manifestState.ts into its resolved owner.
614
+ * TODO: Extract theme authoring from manifestState.ts into its resolved owner.
615
615
  */
616
616
  export function updateStudioManifestTheme(manifest, themeId, updates) {
617
617
  const theme = readOwnProperty(manifest.themes, themeId);
@@ -630,7 +630,7 @@ export function updateStudioManifestTheme(manifest, themeId, updates) {
630
630
  }
631
631
  /***
632
632
  * Delete a theme while preserving at least one theme and a valid active-theme identifier.
633
- * @todo Extract theme authoring from manifestState.ts into its resolved owner.
633
+ * TODO: Extract theme authoring from manifestState.ts into its resolved owner.
634
634
  */
635
635
  export function deleteStudioManifestTheme(manifest, themeId) {
636
636
  if (Object.keys(manifest.themes).length <= 1)
@@ -646,7 +646,7 @@ export function deleteStudioManifestTheme(manifest, themeId) {
646
646
  }
647
647
  /***
648
648
  * Set the active theme identifier in the manifest.
649
- * @todo Extract theme authoring from manifestState.ts into its resolved owner.
649
+ * TODO: Extract theme authoring from manifestState.ts into its resolved owner.
650
650
  */
651
651
  export function setStudioManifestActiveThemeId(manifest, activeThemeId) {
652
652
  return readOwnProperty(manifest.themes, activeThemeId) === undefined
@@ -655,14 +655,14 @@ export function setStudioManifestActiveThemeId(manifest, activeThemeId) {
655
655
  }
656
656
  /***
657
657
  * Set the active light/dark theme mode in the manifest.
658
- * @todo Extract theme authoring from manifestState.ts into its resolved owner.
658
+ * TODO: Extract theme authoring from manifestState.ts into its resolved owner.
659
659
  */
660
660
  export function setStudioManifestActiveThemeMode(manifest, activeThemeMode) {
661
661
  return { ...manifest, activeThemeMode };
662
662
  }
663
663
  /***
664
664
  * Replace OAuth providers while preserving or creating the surrounding manifest auth configuration.
665
- * @todo Move auth policy from the src root into auth/.
665
+ * TODO: Move auth policy from the src root into auth/.
666
666
  */
667
667
  export function updateStudioManifestOAuthProviders(manifest, providers) {
668
668
  const previousAuth = manifest.infra.environments.local.auth ?? {
@@ -697,7 +697,7 @@ export function updateStudioManifestOAuthProviders(manifest, providers) {
697
697
  }
698
698
  /***
699
699
  * Resolve the navigator path Studio treats as the primary application navigator.
700
- * @todo Move primary-navigator policy from the src root into routes/.
700
+ * TODO: Move primary-navigator policy from the src root into routes/.
701
701
  */
702
702
  export function getPrimaryNavigatorPath(routes) {
703
703
  const appGroupRoute = routes.find((route) => route.name === '(app)' && route.navigator?.routes);
@@ -710,7 +710,7 @@ export function getPrimaryNavigatorPath(routes) {
710
710
  }
711
711
  /***
712
712
  * Find the navigator parent path that owns a route targeting the requested screen.
713
- * @todo Move route traversal from the src root into routes/.
713
+ * TODO: Move route traversal from the src root into routes/.
714
714
  */
715
715
  export function findParentPathForScreenId(routes, screenId, parentPath = [], routePathPrefix = []) {
716
716
  for (const route of routes) {
@@ -727,7 +727,7 @@ export function findParentPathForScreenId(routes, screenId, parentPath = [], rou
727
727
  }
728
728
  /***
729
729
  * Resolve the direct route collection owned by a navigator parent path.
730
- * @todo Move navigator path lookup from the src root into routes/.
730
+ * TODO: Move navigator path lookup from the src root into routes/.
731
731
  */
732
732
  export function findRoutesAtParentPath(routes, parentPath) {
733
733
  if (parentPath.length === 0)
@@ -745,7 +745,7 @@ export function findRoutesAtParentPath(routes, parentPath) {
745
745
  }
746
746
  /***
747
747
  * Insert a route into the navigator identified by a parent path without mutating the existing tree.
748
- * @todo Move route-tree mutation from the src root into routes/.
748
+ * TODO: Move route-tree mutation from the src root into routes/.
749
749
  */
750
750
  export function insertRouteAtParentPath(routes, parentPath, newRoute) {
751
751
  if (parentPath.length === 0)
@@ -769,7 +769,7 @@ export function insertRouteAtParentPath(routes, parentPath, newRoute) {
769
769
  }
770
770
  /***
771
771
  * Resolve a nested navigator by its route-name path.
772
- * @todo Move navigator lookup from the src root into routes/.
772
+ * TODO: Move navigator lookup from the src root into routes/.
773
773
  */
774
774
  export function findNavigatorAtPath(navigator, parentPath) {
775
775
  if (parentPath.length === 0)
@@ -787,7 +787,7 @@ export function findNavigatorAtPath(navigator, parentPath) {
787
787
  }
788
788
  /***
789
789
  * Immutably update the navigator identified by a route-name path.
790
- * @todo Move navigator-tree mutation from the src root into routes/.
790
+ * TODO: Move navigator-tree mutation from the src root into routes/.
791
791
  */
792
792
  export function updateNavigatorAtPath(navigator, parentPath, updater) {
793
793
  if (parentPath.length === 0)
@@ -838,7 +838,7 @@ function createNavigatorWithType(current, type) {
838
838
  }
839
839
  /***
840
840
  * Change the primary navigator type when the requested navigator type is valid and different.
841
- * @todo Move navigator authoring policy from the src root into routes/.
841
+ * TODO: Move navigator authoring policy from the src root into routes/.
842
842
  */
843
843
  export function setStudioManifestNavigatorType(manifest, type) {
844
844
  if (!NAVIGATOR_TYPES.includes(type))
@@ -866,7 +866,7 @@ export function setStudioManifestNavigatorType(manifest, type) {
866
866
  }
867
867
  /***
868
868
  * Change the primary navigator initial route when the requested sibling route is unique.
869
- * @todo Move navigator authoring policy from the src root into routes/.
869
+ * TODO: Move navigator authoring policy from the src root into routes/.
870
870
  */
871
871
  export function setStudioManifestNavigatorInitialRoute(manifest, routeName) {
872
872
  const normalizedRoute = routeName.trim();
@@ -891,7 +891,7 @@ export function setStudioManifestNavigatorInitialRoute(manifest, routeName) {
891
891
  }
892
892
  /***
893
893
  * Set whether one route is visible in primary navigation while preserving the canonical visible representation.
894
- * @todo Move route visibility authoring from the src root into routes/.
894
+ * TODO: Move route visibility authoring from the src root into routes/.
895
895
  */
896
896
  export function setStudioManifestRoutePrimaryNavigationVisibility(args) {
897
897
  const { manifest, parentPath, routeName, showInPrimaryNavigation } = args;
@@ -927,7 +927,7 @@ export function setStudioManifestRoutePrimaryNavigationVisibility(args) {
927
927
  }
928
928
  /***
929
929
  * Reorder one uniquely named route within its navigator parent.
930
- * @todo Move route ordering authoring from the src root into routes/.
930
+ * TODO: Move route ordering authoring from the src root into routes/.
931
931
  */
932
932
  export function moveStudioManifestRoute(args) {
933
933
  const { manifest, parentPath, routeName, toIndex } = args;
@@ -956,7 +956,7 @@ export function moveStudioManifestRoute(args) {
956
956
  }
957
957
  /***
958
958
  * Create a new screen from a template, generate a collision-free route, and make the new screen active.
959
- * @todo Split screen creation between manifest screen state and routes/ instead of keeping both in one src-root function.
959
+ * TODO: Split screen creation between manifest screen state and routes/ instead of keeping both in one src-root function.
960
960
  */
961
961
  export function addStudioManifestScreen(args) {
962
962
  const { manifest, activeScreenId, createId = generateManifestStateId } = args;
@@ -1005,7 +1005,7 @@ export function addStudioManifestScreen(args) {
1005
1005
  }
1006
1006
  /***
1007
1007
  * Delete a screen, remove route references and bindings for its subtree, and resolve a safe next active screen.
1008
- * @todo Split this cross-domain operation across manifest, routes/, bindings/, and selection application responsibilities.
1008
+ * TODO: Split this cross-domain operation across manifest, routes/, bindings/, and selection application responsibilities.
1009
1009
  */
1010
1010
  export function deleteStudioManifestScreen(manifest, screenId, activeScreenId) {
1011
1011
  if (!hasCanonicalStudioScreenRegistryIdentity(manifest.screens)) {
@@ -1042,7 +1042,7 @@ export function deleteStudioManifestScreen(manifest, screenId, activeScreenId) {
1042
1042
  }
1043
1043
  /***
1044
1044
  * Recursively remove a screen target from routes and prune nested navigators that become empty.
1045
- * @todo Move route cleanup from the src root into routes/.
1045
+ * TODO: Move route cleanup from the src root into routes/.
1046
1046
  */
1047
1047
  export function removeScreenIdFromRoutes(routes, screenId) {
1048
1048
  const nextRoutes = [];
@@ -1071,7 +1071,7 @@ export function removeScreenIdFromRoutes(routes, screenId) {
1071
1071
  }
1072
1072
  /***
1073
1073
  * Generate a route name that is unique among sibling routes by appending a numeric suffix when needed.
1074
- * @todo Move route-name generation from the src root into routes/.
1074
+ * TODO: Move route-name generation from the src root into routes/.
1075
1075
  */
1076
1076
  export function makeUniqueSiblingRouteName(base, siblingRoutes) {
1077
1077
  const normalized = normalizeRouteName(base);
@@ -1086,7 +1086,7 @@ export function makeUniqueSiblingRouteName(base, siblingRoutes) {
1086
1086
  }
1087
1087
  /***
1088
1088
  * Convert route path segments to the canonical pathname pattern used by Studio authoring.
1089
- * @todo Move canonical route-pattern logic from the src root into routes/.
1089
+ * TODO: Move canonical route-pattern logic from the src root into routes/.
1090
1090
  */
1091
1091
  export function toCanonicalRoutePattern(routePath) {
1092
1092
  const normalized = routePath.filter((segment) => !isRouteGroupSegment(segment));
@@ -1098,7 +1098,7 @@ export function toCanonicalRoutePattern(routePath) {
1098
1098
  }
1099
1099
  /***
1100
1100
  * Generate a route name that avoids both sibling-name and canonical-path collisions.
1101
- * @todo Move route-name collision policy from the src root into routes/.
1101
+ * TODO: Move route-name collision policy from the src root into routes/.
1102
1102
  */
1103
1103
  export function makeUniqueRouteNameForParent(baseRouteName, siblingRoutes, parentPath, existingPatterns) {
1104
1104
  const siblingNames = new Set(siblingRoutes.map((route) => route.name));
@@ -1113,14 +1113,14 @@ export function makeUniqueRouteNameForParent(baseRouteName, siblingRoutes, paren
1113
1113
  }
1114
1114
  /***
1115
1115
  * Normalize arbitrary screen text into the lowercase hyphenated route-name form used by Studio.
1116
- * @todo Keep this semantic route-name normalization under routes/ rather than extracting it as a generic slug utility.
1116
+ * TODO: Keep this semantic route-name normalization under routes/ rather than extracting it as a generic slug utility.
1117
1117
  */
1118
1118
  function normalizeRouteName(value) {
1119
1119
  return slugifyAscii(value) || 'screen';
1120
1120
  }
1121
1121
  /***
1122
1122
  * Collect canonical pathname patterns for every route in a nested navigator tree.
1123
- * @todo Move route-pattern traversal from the src root into routes/.
1123
+ * TODO: Move route-pattern traversal from the src root into routes/.
1124
1124
  */
1125
1125
  function collectCanonicalRoutePatterns(routes, runtimePathPrefix = []) {
1126
1126
  const patterns = [];
@@ -1135,7 +1135,7 @@ function collectCanonicalRoutePatterns(routes, runtimePathPrefix = []) {
1135
1135
  }
1136
1136
  /***
1137
1137
  * Deep-clone a UI node tree while assigning fresh identifiers and copying mutable node data.
1138
- * @todo Move UI-tree cloning from the src root into canvas/.
1138
+ * TODO: Move UI-tree cloning from the src root into canvas/.
1139
1139
  */
1140
1140
  function cloneNodeWithNewIds(node, createId) {
1141
1141
  const clonedNode = {
@@ -1150,7 +1150,7 @@ function cloneNodeWithNewIds(node, createId) {
1150
1150
  }
1151
1151
  /***
1152
1152
  * Immutably update alias, style, and props for a node in a UI tree.
1153
- * @todo Move UI-tree mutation from the src root into canvas/ or properties/ according to final authoring ownership.
1153
+ * TODO: Move UI-tree mutation from the src root into canvas/ or properties/ according to final authoring ownership.
1154
1154
  */
1155
1155
  function updateNodeInManifestTree(root, id, newProps) {
1156
1156
  if (root.id === id) {
@@ -1172,7 +1172,7 @@ function updateNodeInManifestTree(root, id, newProps) {
1172
1172
  }
1173
1173
  /***
1174
1174
  * Immutably remove a node from a UI tree while preserving the remaining hierarchy.
1175
- * @todo Move UI-tree mutation from the src root into canvas/.
1175
+ * TODO: Move UI-tree mutation from the src root into canvas/.
1176
1176
  */
1177
1177
  function removeNodeFromManifestTree(root, nodeId) {
1178
1178
  if (root.id === nodeId)
@@ -1189,7 +1189,7 @@ function removeNodeFromManifestTree(root, nodeId) {
1189
1189
  }
1190
1190
  /***
1191
1191
  * Collect every node identifier in a UI subtree.
1192
- * @todo Move UI-tree traversal from the src root into canvas/.
1192
+ * TODO: Move UI-tree traversal from the src root into canvas/.
1193
1193
  */
1194
1194
  function collectNodeIds(root) {
1195
1195
  const ids = new Set();
@@ -1203,7 +1203,7 @@ function collectNodeIds(root) {
1203
1203
  }
1204
1204
  /***
1205
1205
  * Repair a navigator's initial-route field after route removal while preserving canonical omission when no initial route exists.
1206
- * @todo Move navigator normalization from the src root into routes/.
1206
+ * TODO: Move navigator normalization from the src root into routes/.
1207
1207
  */
1208
1208
  function normalizeNavigatorAfterRouteUpdate(navigator) {
1209
1209
  const nextRoutes = navigator.routes;
@@ -1223,7 +1223,7 @@ function normalizeNavigatorAfterRouteUpdate(navigator) {
1223
1223
  }
1224
1224
  /***
1225
1225
  * Narrow an unknown node style value to the string-or-number style record accepted by Studio node updates.
1226
- * @todo Keep this semantic style predicate with the canvas/properties authoring logic rather than treating it as a generic record utility.
1226
+ * TODO: Keep this semantic style predicate with the canvas/properties authoring logic rather than treating it as a generic record utility.
1227
1227
  */
1228
1228
  function isStyleRecord(value) {
1229
1229
  if (typeof value !== 'object' || value === null || Array.isArray(value))
@@ -1,12 +1,12 @@
1
1
  import type { StudioManifest } from './index';
2
2
  /***
3
3
  * Serialize only the manifest fields that affect generated runtime synchronization.
4
- * @todo Move manifest signature behavior from the source root into the manifest domain.
4
+ * TODO: Move manifest signature behavior from the source root into the manifest domain.
5
5
  */
6
- export declare function createStudioRuntimeSyncSignature(manifest: StudioManifest): string;
6
+ export declare function createStudioRuntimeSyncSignature(manifest: StudioManifest, generatorRevision?: string): string;
7
7
  /***
8
8
  * Serialize the complete manifest for exact persistence-change comparison.
9
- * @todo Move manifest signature behavior from the source root into the manifest domain.
9
+ * TODO: Move manifest signature behavior from the source root into the manifest domain.
10
10
  */
11
11
  export declare function createStudioManifestSignature(manifest: StudioManifest): string;
12
12
  //# sourceMappingURL=manifestSync.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"manifestSync.d.ts","sourceRoot":"","sources":["../src/manifestSync.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA2B9C;;;GAGG;AACH,wBAAgB,gCAAgC,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM,CAcjF;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM,CAE9E"}
1
+ {"version":3,"file":"manifestSync.d.ts","sourceRoot":"","sources":["../src/manifestSync.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA2B9C;;;GAGG;AACH,wBAAgB,gCAAgC,CAC9C,QAAQ,EAAE,cAAc,EACxB,iBAAiB,SAAW,GAC3B,MAAM,CAeR;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM,CAE9E"}
@@ -1,7 +1,7 @@
1
1
  import { setOwnProperty } from '@ankhorage/utility/object';
2
2
  /***
3
3
  * Build the sorted screen subset used to detect runtime-relevant manifest changes.
4
- * @todo Move manifest signature behavior from the source root into the manifest domain.
4
+ * TODO: Move manifest signature behavior from the source root into the manifest domain.
5
5
  */
6
6
  function createRuntimeScreenSignatures(manifest) {
7
7
  return Object.entries(manifest.screens)
@@ -17,10 +17,11 @@ function createRuntimeScreenSignatures(manifest) {
17
17
  }
18
18
  /***
19
19
  * Serialize only the manifest fields that affect generated runtime synchronization.
20
- * @todo Move manifest signature behavior from the source root into the manifest domain.
20
+ * TODO: Move manifest signature behavior from the source root into the manifest domain.
21
21
  */
22
- export function createStudioRuntimeSyncSignature(manifest) {
22
+ export function createStudioRuntimeSyncSignature(manifest, generatorRevision = 'legacy') {
23
23
  return JSON.stringify({
24
+ generatorRevision,
24
25
  navigator: manifest.navigator,
25
26
  screens: createRuntimeScreenSignatures(manifest),
26
27
  apis: Object.fromEntries(Object.entries(manifest.infra.apis ?? {}).sort(([leftId], [rightId]) => leftId.localeCompare(rightId))),
@@ -32,7 +33,7 @@ export function createStudioRuntimeSyncSignature(manifest) {
32
33
  }
33
34
  /***
34
35
  * Serialize the complete manifest for exact persistence-change comparison.
35
- * @todo Move manifest signature behavior from the source root into the manifest domain.
36
+ * TODO: Move manifest signature behavior from the source root into the manifest domain.
36
37
  */
37
38
  export function createStudioManifestSignature(manifest) {
38
39
  return JSON.stringify(manifest);
@@ -1 +1 @@
1
- {"version":3,"file":"manifestSync.js","sourceRoot":"","sources":["../src/manifestSync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAU3D;;;GAGG;AACH,SAAS,6BAA6B,CACpC,QAAwB;IAExB,OAAO,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;SACpC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SAC5D,MAAM,CAAyC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,EAAE;QAC1E,cAAc,CAAC,GAAG,EAAE,QAAQ,EAAE;YAC5B,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC,CAAC;QACH,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACX,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,gCAAgC,CAAC,QAAwB;IACvE,OAAO,IAAI,CAAC,SAAS,CAAC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AAM,CAAC,EAAE;YACb,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC,CAAC;QACH,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;AACX,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,gCAAgC,CAC9C,QAAwB,EACxB,iBAAiB,GAAG,QAAQ;IAE5B,OAAO,IAAI,CAAC,SAAS,CAAC;QACpB,iBAAiB;QACjB,SAAS,EAAE,QAAQ,CAAC,SAAS;QAC7B,OAAO,EAAE,6BAA6B,CAAC,QAAQ,CAAC;QAChD,IAAI,EAAE,MAAM,CAAC,WAAW,CACtB,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,CACrE,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,CAC9B,CACF;QACD,YAAY,EAAE,QAAQ,CAAC,YAAY,IAAI,EAAE;QACzC,WAAW,EAAE,QAAQ,CAAC,WAAW,IAAI,EAAE;QACvC,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC,YAAY;QACzC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE;KACpD,CAAC,CAAC;AACL,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,6BAA6B,CAAC,QAAwB;IACpE,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AAClC,CAAC"}
@@ -39,27 +39,26 @@ export type StudioUrlMediaAssetResult = {
39
39
  };
40
40
  /***
41
41
  * List manifest media assets, optionally filter by kind, and sort them by name.
42
- * @utility @ankhorage/utility/array
43
42
  */
44
43
  export declare function listStudioMediaAssets(manifest: AppManifest, mediaKinds?: readonly MediaAssetKind[]): readonly MediaAsset[];
45
44
  /***
46
45
  * Create the canonical media-reference object for one media id.
47
- * @todo Keep the MediaAssetReference constructor with its contracts/media owner unless a generic single-key reference constructor is extracted.
46
+ * Follow-up: Keep the MediaAssetReference constructor with its contracts/media owner unless a generic single-key reference constructor is extracted.
48
47
  */
49
48
  export declare function createStudioMediaAssetReference(mediaId: string): MediaAssetReference;
50
49
  /***
51
50
  * Parse an unknown value as an exact one-key media-reference object.
52
- * @todo Keep MediaAssetReference semantics with media/contracts; implement it from generic object/value utilities.
51
+ * Follow-up: Keep MediaAssetReference semantics with media/contracts; implement it from generic object/value utilities.
53
52
  */
54
53
  export declare function readStudioMediaAssetReference(value: unknown): MediaAssetReference | null;
55
54
  /***
56
55
  * Create a unique slug-like media id from a name and an existing keyed registry.
57
- * @utility @ankhorage/utility/string
56
+ * Utility candidate: @ankhorage/utility/string
58
57
  */
59
58
  export declare function createStudioMediaAssetId(name: string, registry?: MediaAssetRegistry): string;
60
59
  /***
61
60
  * Create a URL-backed Studio media asset after validating and normalizing its HTTP URL.
62
- * @todo Move URL-media authoring behavior under src/media/ while reusing generic URL normalization.
61
+ * Follow-up: Move URL-media authoring behavior under src/media/ while reusing generic URL normalization.
63
62
  */
64
63
  export declare function createStudioUrlMediaAsset(args: {
65
64
  readonly id: string;
@@ -69,17 +68,16 @@ export declare function createStudioUrlMediaAsset(args: {
69
68
  }): StudioUrlMediaAssetResult;
70
69
  /***
71
70
  * Immutably insert or replace a keyed media asset in a manifest registry.
72
- * @utility @ankhorage/utility/object
73
71
  */
74
72
  export declare function upsertStudioMediaAsset(manifest: AppManifest, asset: MediaAsset): AppManifest;
75
73
  /***
76
74
  * Collect every Studio node-property usage of one media asset across all manifest screens.
77
- * @todo Move media usage analysis under src/media/ while extracting generic deep-value traversal.
75
+ * Follow-up: Move media usage analysis under src/media/ while extracting generic deep-value traversal.
78
76
  */
79
77
  export declare function collectStudioMediaAssetUsages(manifest: AppManifest, mediaId: string): readonly StudioMediaUsage[];
80
78
  /***
81
79
  * Remove an unused media asset from the manifest and reject removal when the asset is missing or referenced.
82
- * @todo Move media removal policy under src/media/.
80
+ * Follow-up: Move media removal policy under src/media/.
83
81
  */
84
82
  export declare function removeStudioMediaAsset(manifest: AppManifest, mediaId: string): StudioMediaAssetRemovalResult;
85
83
  //# sourceMappingURL=mediaAuthoringModel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mediaAuthoringModel.d.ts","sourceRoot":"","sources":["../src/mediaAuthoringModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAEnB,MAAM,sBAAsB,CAAC;AAI9B,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,MAAM,6BAA6B,GACrC;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAA;CAAE,GACrD;IACE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,QAAQ,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC9C,CAAC;AAEN,MAAM,MAAM,uBAAuB,GAC/B;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAC3D;IACE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,QAAQ,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC9C,GACD;IACE,QAAQ,CAAC,EAAE,EA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