@fps-games/editor 0.2.0-beta.3 → 0.2.1-beta.1

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 (1400) hide show
  1. package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
  2. package/dist/agent-bridge/capabilities/editor-state.js +32 -17
  3. package/dist/agent-bridge/capabilities/editor-state.js.map +1 -1
  4. package/dist/agent-bridge/capabilities/hierarchy.d.ts +4 -0
  5. package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +1 -0
  6. package/dist/agent-bridge/capabilities/hierarchy.js +209 -0
  7. package/dist/agent-bridge/capabilities/hierarchy.js.map +1 -0
  8. package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -1
  9. package/dist/agent-bridge/capabilities/prefabs.js +243 -60
  10. package/dist/agent-bridge/capabilities/prefabs.js.map +1 -1
  11. package/dist/agent-bridge/capabilities/scene-objects.d.ts +3 -4
  12. package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -1
  13. package/dist/agent-bridge/capabilities/scene-objects.js +111 -25
  14. package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
  15. package/dist/agent-bridge/capabilities/selection.d.ts.map +1 -1
  16. package/dist/agent-bridge/capabilities/selection.js +8 -5
  17. package/dist/agent-bridge/capabilities/selection.js.map +1 -1
  18. package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
  19. package/dist/agent-bridge/capabilities/shadows.js +839 -67
  20. package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
  21. package/dist/agent-bridge/capabilities/transform.d.ts.map +1 -1
  22. package/dist/agent-bridge/capabilities/transform.js +6 -4
  23. package/dist/agent-bridge/capabilities/transform.js.map +1 -1
  24. package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
  25. package/dist/agent-bridge/capabilities/ui-regions.js +3 -1
  26. package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
  27. package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
  28. package/dist/agent-bridge/capabilities/viewport.js +92 -47
  29. package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
  30. package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
  31. package/dist/agent-bridge/capability-sources.js +2 -0
  32. package/dist/agent-bridge/capability-sources.js.map +1 -1
  33. package/dist/agent-bridge/register.d.ts.map +1 -1
  34. package/dist/agent-bridge/register.js +194 -0
  35. package/dist/agent-bridge/register.js.map +1 -1
  36. package/dist/agent-bridge/shared.d.ts +232 -7
  37. package/dist/agent-bridge/shared.d.ts.map +1 -1
  38. package/dist/agent-bridge/shared.js +174 -0
  39. package/dist/agent-bridge/shared.js.map +1 -1
  40. package/dist/agent-bridge/source-types.d.ts +17 -1
  41. package/dist/agent-bridge/source-types.d.ts.map +1 -1
  42. package/dist/agent-bridge/source-types.js.map +1 -1
  43. package/dist/build-info.json +57 -42
  44. package/dist/index.d.ts +7 -6
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +4 -3
  47. package/dist/index.js.map +1 -1
  48. package/dist/internal/babylon-preview-engine.d.ts +3 -0
  49. package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
  50. package/dist/internal/babylon-preview-engine.js +11 -0
  51. package/dist/internal/babylon-preview-engine.js.map +1 -0
  52. package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
  53. package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
  54. package/dist/internal/product-local-editor-cleanup.js +20 -0
  55. package/dist/internal/product-local-editor-cleanup.js.map +1 -0
  56. package/dist/local-editor-agent-actions.d.ts +2 -4
  57. package/dist/local-editor-agent-actions.d.ts.map +1 -1
  58. package/dist/local-editor-agent-actions.js +61 -33
  59. package/dist/local-editor-agent-actions.js.map +1 -1
  60. package/dist/local-editor-agent-context.d.ts +5 -5
  61. package/dist/local-editor-agent-context.d.ts.map +1 -1
  62. package/dist/local-editor-agent-context.js.map +1 -1
  63. package/dist/local-editor-harness.d.ts +340 -35
  64. package/dist/local-editor-harness.d.ts.map +1 -1
  65. package/dist/local-editor-harness.js +3854 -1118
  66. package/dist/local-editor-harness.js.map +1 -1
  67. package/dist/local-editor-marker-graph.d.ts +15 -15
  68. package/dist/local-editor-marker-graph.d.ts.map +1 -1
  69. package/dist/local-editor-marker-graph.js +3 -0
  70. package/dist/local-editor-marker-graph.js.map +1 -1
  71. package/dist/local-editor-performance-stats.d.ts +3 -2
  72. package/dist/local-editor-performance-stats.d.ts.map +1 -1
  73. package/dist/local-editor-performance-stats.js.map +1 -1
  74. package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
  75. package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
  76. package/dist/local-editor-prefab-stage-transaction.js +45 -0
  77. package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
  78. package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
  79. package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
  80. package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
  81. package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
  82. package/dist/local-editor-tools.d.ts +18 -0
  83. package/dist/local-editor-tools.d.ts.map +1 -0
  84. package/dist/local-editor-tools.js +53 -0
  85. package/dist/local-editor-tools.js.map +1 -0
  86. package/dist/playable-babylon-rendering.d.ts +9 -0
  87. package/dist/playable-babylon-rendering.d.ts.map +1 -1
  88. package/dist/playable-babylon-rendering.js +162 -6
  89. package/dist/playable-babylon-rendering.js.map +1 -1
  90. package/dist/playable-local-editor-entry.d.ts +68 -0
  91. package/dist/playable-local-editor-entry.d.ts.map +1 -0
  92. package/dist/playable-local-editor-entry.js +424 -0
  93. package/dist/playable-local-editor-entry.js.map +1 -0
  94. package/dist/playable-local-editor-host.d.ts +51 -29
  95. package/dist/playable-local-editor-host.d.ts.map +1 -1
  96. package/dist/playable-local-editor-host.js +23 -11
  97. package/dist/playable-local-editor-host.js.map +1 -1
  98. package/dist/playable-product-local-editor.d.ts +10 -12
  99. package/dist/playable-product-local-editor.d.ts.map +1 -1
  100. package/dist/playable-product-local-editor.js +178 -85
  101. package/dist/playable-product-local-editor.js.map +1 -1
  102. package/dist/playable-product-projection-preview.d.ts +4 -1
  103. package/dist/playable-product-projection-preview.d.ts.map +1 -1
  104. package/dist/playable-product-projection-preview.js +122 -5
  105. package/dist/playable-product-projection-preview.js.map +1 -1
  106. package/dist/playable-product-rendering.d.ts +12 -0
  107. package/dist/playable-product-rendering.d.ts.map +1 -1
  108. package/dist/playable-product-rendering.js +128 -6
  109. package/dist/playable-product-rendering.js.map +1 -1
  110. package/dist/playable-product-scene-capabilities.d.ts +24 -7
  111. package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
  112. package/dist/playable-product-scene-capabilities.js +172 -15
  113. package/dist/playable-product-scene-capabilities.js.map +1 -1
  114. package/dist/playable-project-mode.d.ts +17 -0
  115. package/dist/playable-project-mode.d.ts.map +1 -0
  116. package/dist/playable-project-mode.js +2 -0
  117. package/dist/playable-project-mode.js.map +1 -0
  118. package/dist/playable-runtime-babylon.d.ts +3 -6
  119. package/dist/playable-runtime-babylon.d.ts.map +1 -1
  120. package/dist/playable-runtime-babylon.js +1 -5
  121. package/dist/playable-runtime-babylon.js.map +1 -1
  122. package/dist/playable-sdk.d.ts +16 -9
  123. package/dist/playable-sdk.d.ts.map +1 -1
  124. package/dist/playable-sdk.js +6 -4
  125. package/dist/playable-sdk.js.map +1 -1
  126. package/dist/playable-standard-project.d.ts +23 -14
  127. package/dist/playable-standard-project.d.ts.map +1 -1
  128. package/dist/playable-standard-project.js +53 -19
  129. package/dist/playable-standard-project.js.map +1 -1
  130. package/dist/vite-client.d.ts +4 -0
  131. package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
  132. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
  133. package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
  134. package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
  135. package/node_modules/@babel/parser/lib/index.js +0 -1
  136. package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
  137. package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
  138. package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
  139. package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
  140. package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
  141. package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
  142. package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
  143. package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
  144. package/node_modules/@babel/types/lib/builders/productions.js +0 -1
  145. package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
  146. package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
  147. package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
  148. package/node_modules/@babel/types/lib/clone/clone.js +0 -1
  149. package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
  150. package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
  151. package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
  152. package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
  153. package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
  154. package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
  155. package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
  156. package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
  157. package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
  158. package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
  159. package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
  160. package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
  161. package/node_modules/@babel/types/lib/constants/index.js +0 -1
  162. package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
  163. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
  164. package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
  165. package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
  166. package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
  167. package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
  168. package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
  169. package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
  170. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
  171. package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
  172. package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
  173. package/node_modules/@babel/types/lib/definitions/core.js +0 -1
  174. package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
  175. package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
  176. package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
  177. package/node_modules/@babel/types/lib/definitions/index.js +0 -1
  178. package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
  179. package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
  180. package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
  181. package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
  182. package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
  183. package/node_modules/@babel/types/lib/index.js +0 -1
  184. package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
  185. package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
  186. package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
  187. package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
  188. package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
  189. package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
  190. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
  191. package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
  192. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
  193. package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
  194. package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
  195. package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
  196. package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
  197. package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
  198. package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
  199. package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
  200. package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
  201. package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
  202. package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
  203. package/node_modules/@babel/types/lib/validators/is.js +0 -1
  204. package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
  205. package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
  206. package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
  207. package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
  208. package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
  209. package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
  210. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
  211. package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
  212. package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
  213. package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
  214. package/node_modules/@babel/types/lib/validators/isType.js +0 -1
  215. package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
  216. package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
  217. package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
  218. package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
  219. package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
  220. package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
  221. package/node_modules/@babel/types/lib/validators/validate.js +0 -1
  222. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
  223. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
  224. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
  225. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
  226. package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
  227. package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
  228. package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
  229. package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
  230. package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
  231. package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
  232. package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
  233. package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
  234. package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
  235. package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
  236. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
  237. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
  238. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
  239. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
  240. package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
  241. package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
  242. package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
  243. package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
  244. package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
  245. package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
  246. package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
  247. package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
  248. package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
  249. package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
  250. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
  251. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
  252. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
  253. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
  254. package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
  255. package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
  256. package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
  257. package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
  258. package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
  259. package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
  260. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
  261. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
  262. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
  263. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
  264. package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
  265. package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
  266. package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
  267. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
  268. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
  269. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
  270. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
  271. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
  272. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
  273. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
  274. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
  275. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
  276. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
  277. package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
  278. package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
  279. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
  280. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
  281. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
  282. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
  283. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
  284. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
  285. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
  286. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
  287. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
  288. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
  289. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
  290. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
  291. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
  292. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
  293. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
  294. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
  295. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
  296. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
  297. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
  298. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
  299. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
  300. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
  301. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
  302. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
  303. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
  304. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
  305. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
  306. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
  307. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
  308. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
  309. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
  310. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
  311. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
  312. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
  313. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
  314. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
  315. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
  316. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
  317. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
  318. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
  319. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
  320. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
  321. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
  322. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
  323. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
  324. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
  325. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
  326. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
  327. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
  328. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
  329. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
  330. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
  331. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
  332. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
  333. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
  334. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
  335. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
  336. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
  337. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
  338. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
  339. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
  340. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
  341. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
  342. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
  343. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
  344. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
  345. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
  346. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
  347. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
  348. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
  349. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
  350. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
  351. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
  352. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
  353. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
  354. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
  355. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
  356. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
  357. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
  358. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
  359. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
  360. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
  361. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
  362. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
  363. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
  364. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
  365. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
  366. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
  367. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
  368. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
  369. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
  370. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
  371. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
  372. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
  373. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
  374. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
  375. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
  376. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
  377. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
  378. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
  379. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
  380. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
  381. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
  382. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
  383. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
  384. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
  385. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
  386. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
  387. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
  388. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
  389. package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
  390. package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
  391. package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
  392. package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
  393. package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
  394. package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
  395. package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
  396. package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
  397. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
  398. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
  399. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
  400. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
  401. package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
  402. package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
  403. package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
  404. package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
  405. package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
  406. package/node_modules/@babylonjs/loaders/index.js +7 -0
  407. package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
  408. package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
  409. package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
  410. package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
  411. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
  412. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
  413. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
  414. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
  415. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
  416. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
  417. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
  418. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
  419. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
  420. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
  421. package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
  422. package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
  423. package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
  424. package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
  425. package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
  426. package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
  427. package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
  428. package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
  429. package/node_modules/@babylonjs/loaders/license.md +71 -0
  430. package/node_modules/@babylonjs/loaders/package.json +49 -0
  431. package/node_modules/@babylonjs/loaders/readme.md +23 -0
  432. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
  433. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
  434. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
  435. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
  436. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
  437. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
  438. package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
  439. package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
  440. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
  441. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
  442. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
  443. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
  444. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
  445. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
  446. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
  447. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
  448. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
  449. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
  450. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
  451. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
  452. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +4 -0
  453. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
  454. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
  455. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
  456. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
  457. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
  458. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
  459. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
  460. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
  461. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
  462. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
  463. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
  464. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
  465. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
  466. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
  467. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
  468. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
  469. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
  470. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
  471. package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
  472. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
  473. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
  474. package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
  475. package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
  476. package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
  477. package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
  478. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts +2 -0
  479. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
  480. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
  481. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
  482. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
  483. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
  484. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
  485. package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
  486. package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
  487. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +17 -5
  488. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  489. package/node_modules/@fps-games/editor-babylon/dist/projection.js +300 -362
  490. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  491. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
  492. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
  493. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
  494. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
  495. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
  496. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
  497. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
  498. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
  499. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +85 -0
  500. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
  501. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1600 -0
  502. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
  503. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
  504. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
  505. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +105 -15
  506. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
  507. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
  508. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
  509. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
  510. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
  511. package/node_modules/@fps-games/editor-babylon/package.json +6 -5
  512. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +8 -9
  513. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  514. package/node_modules/@fps-games/editor-browser/dist/index.js +6 -7
  515. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  516. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
  517. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
  518. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
  519. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
  520. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
  521. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
  522. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
  523. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
  524. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
  525. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
  526. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +6 -0
  527. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
  528. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
  529. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
  530. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
  531. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
  532. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
  533. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
  534. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
  535. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
  536. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
  537. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
  538. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -5
  539. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  540. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +831 -702
  541. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  542. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +8 -7
  543. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -1
  544. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +1 -7
  545. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -1
  546. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts +7 -0
  547. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts.map +1 -0
  548. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js +20 -0
  549. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js.map +1 -0
  550. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +6 -7
  551. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  552. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +266 -114
  553. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  554. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
  555. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
  556. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +11 -0
  557. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
  558. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts +3 -0
  559. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts.map +1 -1
  560. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js +58 -25
  561. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
  562. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
  563. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
  564. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
  565. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
  566. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +10 -7
  567. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  568. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +591 -639
  569. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  570. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +8 -36
  571. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
  572. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +25 -103
  573. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
  574. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
  575. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
  576. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
  577. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
  578. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
  579. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
  580. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
  581. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
  582. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
  583. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
  584. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +39 -0
  585. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -0
  586. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +74 -0
  587. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -0
  588. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts +4 -0
  589. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts.map +1 -0
  590. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js +44 -0
  591. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js.map +1 -0
  592. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -1
  593. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +35 -44
  594. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -1
  595. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.d.ts.map +1 -1
  596. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js +40 -24
  597. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js.map +1 -1
  598. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.d.ts.map +1 -1
  599. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +2 -20
  600. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js.map +1 -1
  601. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +56 -301
  602. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  603. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
  604. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +4 -14
  605. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
  606. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +33 -119
  607. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
  608. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +5 -10
  609. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  610. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +760 -524
  611. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  612. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
  613. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
  614. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
  615. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
  616. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
  617. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
  618. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
  619. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
  620. package/node_modules/@fps-games/editor-browser/package.json +15 -4
  621. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
  622. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
  623. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
  624. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
  625. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
  626. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
  627. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
  628. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
  629. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +26 -1
  630. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
  631. package/node_modules/@fps-games/editor-core/dist/editor-session.js +77 -8
  632. package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
  633. package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +112 -0
  634. package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
  635. package/node_modules/@fps-games/editor-core/dist/editor-tools.js +613 -0
  636. package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
  637. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
  638. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
  639. package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
  640. package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
  641. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
  642. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
  643. package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
  644. package/node_modules/@fps-games/editor-core/package.json +14 -6
  645. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  646. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
  647. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
  648. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
  649. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
  650. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
  651. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
  652. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +14 -0
  653. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
  654. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +49 -1
  655. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
  656. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +58 -2
  657. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
  658. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
  659. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
  660. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
  661. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
  662. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
  663. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +314 -6
  664. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
  665. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +2 -0
  666. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
  667. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
  668. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
  669. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
  670. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
  671. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
  672. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
  673. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
  674. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
  675. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
  676. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
  677. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
  678. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
  679. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -1
  680. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +3 -0
  681. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
  682. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +6 -0
  683. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
  684. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
  685. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +23 -81
  686. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
  687. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts +41 -0
  688. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
  689. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
  690. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
  691. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
  692. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
  693. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
  694. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
  695. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
  696. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
  697. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
  698. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
  699. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
  700. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
  701. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
  702. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
  703. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
  704. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
  705. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
  706. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
  707. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
  708. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
  709. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
  710. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +16 -8
  711. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
  712. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +10 -6
  713. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
  714. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +5 -3
  715. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
  716. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +2 -1
  717. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
  718. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
  719. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
  720. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
  721. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +11 -0
  722. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
  723. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
  724. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
  725. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
  726. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
  727. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
  728. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
  729. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
  730. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
  731. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
  732. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
  733. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
  734. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
  735. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
  736. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +18 -0
  737. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
  738. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
  739. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
  740. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
  741. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
  742. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
  743. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
  744. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
  745. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
  746. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
  747. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
  748. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
  749. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
  750. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
  751. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
  752. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
  753. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
  754. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
  755. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
  756. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
  757. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
  758. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
  759. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
  760. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
  761. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
  762. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
  763. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
  764. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
  765. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
  766. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
  767. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
  768. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
  769. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
  770. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +5 -0
  771. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
  772. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +6 -0
  773. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
  774. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
  775. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
  776. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
  777. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
  778. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
  779. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +144 -0
  780. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
  781. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
  782. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
  783. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
  784. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
  785. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
  786. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
  787. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
  788. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
  789. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -1
  790. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
  791. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
  792. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +241 -13
  793. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
  794. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
  795. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
  796. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
  797. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
  798. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts +31 -0
  799. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
  800. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
  801. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
  802. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
  803. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
  804. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -1
  805. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
  806. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
  807. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
  808. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
  809. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
  810. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +14 -0
  811. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
  812. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
  813. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
  814. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
  815. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
  816. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
  817. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
  818. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +4 -0
  819. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
  820. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
  821. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
  822. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
  823. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
  824. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -1
  825. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
  826. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
  827. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -0
  828. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
  829. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +144 -8
  830. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
  831. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +1 -1
  832. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
  833. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
  834. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
  835. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
  836. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
  837. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -1
  838. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
  839. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
  840. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +5 -2
  841. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
  842. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
  843. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
  844. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
  845. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
  846. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
  847. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +2 -1
  848. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
  849. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
  850. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
  851. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
  852. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
  853. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
  854. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
  855. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
  856. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +7 -5
  857. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
  858. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
  859. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
  860. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
  861. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
  862. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
  863. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
  864. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
  865. package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
  866. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
  867. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
  868. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +692 -2
  869. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
  870. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
  871. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
  872. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
  873. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
  874. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
  875. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  876. package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
  877. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  878. package/node_modules/@fps-games/editor-protocol/package.json +2 -2
  879. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
  880. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
  881. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
  882. package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
  883. package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
  884. package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
  885. package/node_modules/@fps-games/editor-tooling/package.json +3 -3
  886. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
  887. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
  888. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
  889. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
  890. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
  891. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
  892. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
  893. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
  894. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
  895. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
  896. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
  897. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
  898. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
  899. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
  900. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +653 -0
  901. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
  902. package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
  903. package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
  904. package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
  905. package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
  906. package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
  907. package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
  908. package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
  909. package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
  910. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
  911. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
  912. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
  913. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
  914. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
  915. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
  916. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
  917. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
  918. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
  919. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
  920. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
  921. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
  922. package/node_modules/@fps-games/editor-ui/package.json +23 -0
  923. package/node_modules/@fps-games/playable-assets/package.json +1 -1
  924. package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
  925. package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
  926. package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
  927. package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
  928. package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
  929. package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
  930. package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
  931. package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
  932. package/node_modules/@fps-games/playable-contracts/package.json +1 -1
  933. package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
  934. package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
  935. package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
  936. package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
  937. package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
  938. package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
  939. package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
  940. package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
  941. package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
  942. package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
  943. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
  944. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
  945. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
  946. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
  947. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
  948. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
  949. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
  950. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
  951. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
  952. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
  953. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
  954. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
  955. package/node_modules/@fps-games/playable-rendering/package.json +2 -2
  956. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
  957. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
  958. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
  959. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
  960. package/node_modules/@fps-games/playable-runtime/package.json +12 -12
  961. package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
  962. package/node_modules/@fps-games/playable-scene/package.json +2 -2
  963. package/node_modules/@fps-games/plugin-api/package.json +1 -1
  964. package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
  965. package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
  966. package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
  967. package/node_modules/@fps-games/plugin-assets/package.json +5 -5
  968. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
  969. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
  970. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
  971. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
  972. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
  973. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
  974. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
  975. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
  976. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
  977. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
  978. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
  979. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
  980. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
  981. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
  982. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
  983. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
  984. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
  985. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
  986. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
  987. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
  988. package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
  989. package/node_modules/@fps-games/plugin-host/package.json +2 -2
  990. package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
  991. package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
  992. package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
  993. package/node_modules/@fps-games/plugin-markers/package.json +5 -5
  994. package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
  995. package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
  996. package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
  997. package/node_modules/@fps-games/plugin-materials/package.json +5 -5
  998. package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
  999. package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
  1000. package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
  1001. package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
  1002. package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
  1003. package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
  1004. package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
  1005. package/node_modules/@fps-games/plugin-scene/package.json +5 -5
  1006. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
  1007. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
  1008. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
  1009. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
  1010. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
  1011. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
  1012. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
  1013. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
  1014. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
  1015. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
  1016. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
  1017. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
  1018. package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
  1019. package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
  1020. package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
  1021. package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
  1022. package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
  1023. package/node_modules/@playcanvas/observer/LICENSE +19 -0
  1024. package/node_modules/@playcanvas/observer/README.md +72 -0
  1025. package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
  1026. package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
  1027. package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
  1028. package/node_modules/@playcanvas/observer/package.json +78 -0
  1029. package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
  1030. package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
  1031. package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
  1032. package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
  1033. package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
  1034. package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
  1035. package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
  1036. package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
  1037. package/node_modules/@playcanvas/pcui/LICENSE +19 -0
  1038. package/node_modules/@playcanvas/pcui/README.md +164 -0
  1039. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
  1040. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
  1041. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
  1042. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
  1043. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
  1044. package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
  1045. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
  1046. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
  1047. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
  1048. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
  1049. package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
  1050. package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
  1051. package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
  1052. package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
  1053. package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
  1054. package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
  1055. package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
  1056. package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
  1057. package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
  1058. package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
  1059. package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
  1060. package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
  1061. package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
  1062. package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
  1063. package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
  1064. package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
  1065. package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
  1066. package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
  1067. package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
  1068. package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
  1069. package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
  1070. package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
  1071. package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
  1072. package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
  1073. package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
  1074. package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
  1075. package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
  1076. package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
  1077. package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
  1078. package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
  1079. package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
  1080. package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
  1081. package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
  1082. package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
  1083. package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
  1084. package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
  1085. package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
  1086. package/node_modules/@playcanvas/pcui/package.json +150 -0
  1087. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
  1088. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
  1089. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
  1090. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
  1091. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
  1092. package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
  1093. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
  1094. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
  1095. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
  1096. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
  1097. package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
  1098. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
  1099. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
  1100. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
  1101. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
  1102. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
  1103. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
  1104. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
  1105. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
  1106. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
  1107. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
  1108. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
  1109. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
  1110. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
  1111. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
  1112. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
  1113. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
  1114. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
  1115. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
  1116. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
  1117. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
  1118. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
  1119. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
  1120. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
  1121. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
  1122. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
  1123. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
  1124. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
  1125. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
  1126. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
  1127. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
  1128. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
  1129. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
  1130. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
  1131. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
  1132. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
  1133. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
  1134. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
  1135. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
  1136. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
  1137. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
  1138. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
  1139. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
  1140. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
  1141. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
  1142. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
  1143. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
  1144. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
  1145. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
  1146. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
  1147. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
  1148. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
  1149. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
  1150. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
  1151. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
  1152. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
  1153. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
  1154. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
  1155. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
  1156. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
  1157. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
  1158. package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
  1159. package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
  1160. package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
  1161. package/node_modules/@playcanvas/pcui/react/package.json +18 -0
  1162. package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
  1163. package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
  1164. package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
  1165. package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
  1166. package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
  1167. package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
  1168. package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
  1169. package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
  1170. package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
  1171. package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
  1172. package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
  1173. package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
  1174. package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
  1175. package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
  1176. package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
  1177. package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
  1178. package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
  1179. package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
  1180. package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
  1181. package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
  1182. package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
  1183. package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
  1184. package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
  1185. package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
  1186. package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
  1187. package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
  1188. package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
  1189. package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
  1190. package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
  1191. package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
  1192. package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
  1193. package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
  1194. package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
  1195. package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
  1196. package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
  1197. package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
  1198. package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
  1199. package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
  1200. package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
  1201. package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
  1202. package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
  1203. package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
  1204. package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
  1205. package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
  1206. package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
  1207. package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
  1208. package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
  1209. package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
  1210. package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
  1211. package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
  1212. package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
  1213. package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
  1214. package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
  1215. package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
  1216. package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
  1217. package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
  1218. package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
  1219. package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
  1220. package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
  1221. package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
  1222. package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
  1223. package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
  1224. package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
  1225. package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
  1226. package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
  1227. package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
  1228. package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
  1229. package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
  1230. package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
  1231. package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
  1232. package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
  1233. package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
  1234. package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
  1235. package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
  1236. package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
  1237. package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
  1238. package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
  1239. package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
  1240. package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
  1241. package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
  1242. package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
  1243. package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
  1244. package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
  1245. package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
  1246. package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
  1247. package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
  1248. package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
  1249. package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
  1250. package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
  1251. package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
  1252. package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
  1253. package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
  1254. package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
  1255. package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
  1256. package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
  1257. package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
  1258. package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
  1259. package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
  1260. package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
  1261. package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
  1262. package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
  1263. package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
  1264. package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
  1265. package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
  1266. package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
  1267. package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
  1268. package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
  1269. package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
  1270. package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
  1271. package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
  1272. package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
  1273. package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
  1274. package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
  1275. package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
  1276. package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
  1277. package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
  1278. package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
  1279. package/node_modules/babylonjs-gltf2interface/license.md +71 -0
  1280. package/node_modules/babylonjs-gltf2interface/package.json +26 -0
  1281. package/package.json +31 -19
  1282. package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
  1283. package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
  1284. package/dist/editor-plugin-hierarchy-command.js +0 -119
  1285. package/dist/editor-plugin-hierarchy-command.js.map +0 -1
  1286. package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
  1287. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  1288. package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  1289. package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  1290. package/node_modules/@babel/parser/lib/index.js.map +0 -1
  1291. package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
  1292. package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
  1293. package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
  1294. package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
  1295. package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
  1296. package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
  1297. package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
  1298. package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
  1299. package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
  1300. package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
  1301. package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
  1302. package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
  1303. package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
  1304. package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
  1305. package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
  1306. package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
  1307. package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
  1308. package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
  1309. package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
  1310. package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
  1311. package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
  1312. package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
  1313. package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
  1314. package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
  1315. package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
  1316. package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
  1317. package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
  1318. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
  1319. package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
  1320. package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
  1321. package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
  1322. package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
  1323. package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
  1324. package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
  1325. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
  1326. package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
  1327. package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
  1328. package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
  1329. package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
  1330. package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
  1331. package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
  1332. package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
  1333. package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
  1334. package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
  1335. package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
  1336. package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
  1337. package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
  1338. package/node_modules/@babel/types/lib/index.js.map +0 -1
  1339. package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
  1340. package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
  1341. package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
  1342. package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
  1343. package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
  1344. package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
  1345. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
  1346. package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
  1347. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
  1348. package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
  1349. package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
  1350. package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
  1351. package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
  1352. package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
  1353. package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
  1354. package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
  1355. package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
  1356. package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
  1357. package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
  1358. package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
  1359. package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
  1360. package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
  1361. package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
  1362. package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
  1363. package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
  1364. package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
  1365. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
  1366. package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
  1367. package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
  1368. package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
  1369. package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
  1370. package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
  1371. package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
  1372. package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
  1373. package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
  1374. package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
  1375. package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
  1376. package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
  1377. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
  1378. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
  1379. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
  1380. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
  1381. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
  1382. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
  1383. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
  1384. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
  1385. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
  1386. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
  1387. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
  1388. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
  1389. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
  1390. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
  1391. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
  1392. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
  1393. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +0 -5
  1394. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +0 -1
  1395. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +0 -92
  1396. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +0 -1
  1397. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +0 -63
  1398. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +0 -1
  1399. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +0 -285
  1400. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"reducer-core.js","sourceRoot":"","sources":["../../src/session/reducer-core.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,iDAAiD,GAClD,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,EAC7C,iCAAiC,GAIlC,MAAM,mBAAmB,CAAC;AA2J3B,MAAM,UAAU,gDAAgD,CAK9D,QAAmB,EACnB,QAAyF;IAEzF,MAAM,iBAAiB,GAAG,QAAQ,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACnE,MAAM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UAAU,CAAC;QAC5F,uBAAuB,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC,UAAU,CAAC;KAC1F,CAAC;AACJ,CAAC;AAED,SAAS,oDAAoD,CAG3D,QAAmB,EACnB,KAA8B;IAE9B,OAAO,6CAA6C,CAAC;QACnD,QAAQ;QACR,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1B,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;QACxC,cAAc,EAAE,KAAK,CAAC,cAAc;QACpC,YAAY,EAAE,KAAK,CAAC,YAAY;KACsC,CAAc,CAAC;AACzF,CAAC","sourcesContent":["import type {\n DocumentCommand,\n EditorTransformSnapshot,\n InspectorValidationResult,\n} from '@fps-games/editor-core';\nimport {\n patchEditorSceneDirectionalLightOrientationAngles,\n} from '../lighting-debug/index';\nimport {\n applyEditorSceneJsonFieldPatch,\n migrateEditorSceneDocumentRenderingAlphaIndex,\n reduceEditorSceneDocumentMutation,\n type EditorSceneDocumentMutationOptions,\n type EditorSceneDocumentMutationPatch,\n type EditorSceneFieldMutationOptions,\n} from '../mutation/index';\nimport type {\n EditorSceneDocument,\n EditorSceneGameObject,\n} from '../document/index';\nimport type {\n EditorSceneSerializedPropertyValidator,\n} from '../serialized-property/index';\n\nexport interface PlayableEditorSceneDefaultObjectServices {\n createGameObjectGuid: () => string;\n createUniqueId: (existingIds: readonly string[], preferredId: string) => string;\n}\n\nexport interface PlayableEditorSceneReducerSystemDefaultServices<\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n> {\n environmentLightId: string;\n sunLightId: string;\n horizontalLightAnglePath: string;\n elevationLightAnglePath: string;\n normalizeEnvironmentLightGameObject: (gameObject: TGameObject) => TGameObject;\n normalizeSunLightGameObject: (gameObject: TGameObject) => TGameObject;\n normalizeCameraGameObject: (gameObject: TGameObject) => TGameObject;\n normalizePlainTransformGameObject: (gameObject: TGameObject) => TGameObject;\n createDefaultCameraGameObject: (\n rootId: string | undefined,\n usedIds: Set<string>,\n services: PlayableEditorSceneDefaultObjectServices,\n ) => TGameObject;\n createDefaultEnvironmentLightGameObject: (\n rootId: string | undefined,\n usedIds: Set<string>,\n services: PlayableEditorSceneDefaultObjectServices,\n ) => TGameObject;\n createDefaultSunLightGameObject: (\n rootId: string | undefined,\n usedIds: Set<string>,\n services: PlayableEditorSceneDefaultObjectServices,\n ) => TGameObject;\n mergeCameraDefaults: (camera: TGameObject['camera']) => TGameObject['camera'];\n normalizeCameraAfterFieldPatch: (\n camera: NonNullable<TGameObject['camera']>,\n path: string,\n ) => TGameObject['camera'];\n hasInvalidCameraRelationships: (camera: NonNullable<TGameObject['camera']>) => boolean;\n mergeLightDefaults: (light: TGameObject['light']) => TGameObject['light'];\n}\n\nexport interface PlayableEditorSceneReducerCoreServices<\n TDocument extends EditorSceneDocument = EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n TPrimitiveShape extends string = string,\n> {\n systemDefaults: PlayableEditorSceneReducerSystemDefaultServices<TGameObject>;\n normalizeRootTransformDocument: (document: TDocument) => TDocument;\n syncMarkerGraphDocument: (document: TDocument) => TDocument;\n ensureGameObjectGuids: (document: TDocument) => TDocument;\n normalizeDocumentAfterCommand: (\n document: TDocument,\n command: DocumentCommand<TDocument, unknown>,\n ) => TDocument;\n\n patchMaterialAssetField: (document: TDocument, materialAssetId: string, path: string, value: unknown) => TDocument;\n addMaterialAsset: (document: TDocument, materialAsset: unknown) => TDocument;\n deleteMaterialAsset: (document: TDocument, materialAssetId: string) => TDocument;\n addMaterialAssetAndBind: (\n document: TDocument,\n targetId: string,\n bindingPath: string,\n materialAsset: unknown,\n ) => TDocument;\n addPrefabAsset: (document: TDocument, prefabAsset: unknown, sourceAsset?: unknown) => TDocument;\n patchPrefabAssetField: (document: TDocument, assetId: string, path: string, value: unknown) => TDocument;\n replacePrefabAsset: (document: TDocument, assetId: string, prefabAsset: unknown) => TDocument;\n addMaterialAssetAndBindPrefabOverride: (\n document: TDocument,\n assetId: string,\n bindingPath: string,\n materialAsset: unknown,\n ) => TDocument;\n patchGameObjectField: (document: TDocument, targetId: string, path: string, value: unknown) => TDocument;\n patchGameObjectsField: (document: TDocument, targetIds: readonly string[], path: string, value: unknown) => TDocument;\n reduceExtensionPatch?: (input: {\n document: TDocument;\n patch: Record<string, unknown>;\n command: DocumentCommand<TDocument, unknown>;\n }) => TDocument | null;\n isCustomFieldPatchPath?: (path: string) => boolean;\n reduceMarkerGraphPatch: (document: TDocument, command: unknown) => TDocument;\n isDirectionalLightAnglePath: (path: string) => boolean;\n\n validateSerializedPropertyField: EditorSceneSerializedPropertyValidator<TDocument>;\n createGameObjectGuid: () => string;\n resolveLocalTransform: (input: {\n document: TDocument;\n parentId: string | null | undefined;\n worldTransform: EditorTransformSnapshot;\n }) => EditorTransformSnapshot | null;\n isProtectedSystemGameObject: (gameObject: TGameObject) => boolean;\n resolveRootContainerId: (document: TDocument) => string | undefined;\n createUniqueId: (existingIds: readonly string[], preferredId: string) => string;\n ensureDefaultMaterialAssets: (\n materialAssets: NonNullable<TDocument['scene']['materialAssets']>,\n ) => NonNullable<TDocument['scene']['materialAssets']>;\n reconcileMaterialSlotReimportBindings: (\n document: TDocument,\n gameObjects: TGameObject[],\n ) => { gameObjects: TGameObject[]; changed: boolean };\n ensureImportedMaterialDefaults: (\n document: TDocument,\n materialAssets: NonNullable<TDocument['scene']['materialAssets']>,\n gameObjects: TGameObject[],\n ) => {\n materialAssets: NonNullable<TDocument['scene']['materialAssets']>;\n gameObjects: TGameObject[];\n changed: boolean;\n };\n\n normalizeFieldValue: (path: string, value: unknown) => unknown;\n validateField: (document: TDocument, gameObject: TGameObject, path: string, value: unknown) => InspectorValidationResult;\n normalizePrimitiveShape: (shape: unknown) => TPrimitiveShape | null;\n isCustomTransformType?: (value: unknown) => value is string;\n applyCustomTransformType?: (gameObject: TGameObject, transformType: string) => void;\n clearCustomTransformState?: (gameObject: TGameObject, transformType: string) => void;\n patchCustomTransformField?: (gameObject: TGameObject, path: string, value: unknown) => boolean;\n findGameObject: (document: TDocument, gameObjectId: string) => TGameObject | null;\n isCameraGameObject: (gameObject: TGameObject) => boolean;\n isLightGameObject: (gameObject: TGameObject) => boolean;\n hasCamera: (document: TDocument, exceptId?: string) => boolean;\n}\n\nexport type PlayableEditorSceneSystemFieldPatchServices<\n TDocument extends EditorSceneDocument = EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n> = Pick<\n PlayableEditorSceneReducerCoreServices<TDocument, TGameObject>,\n 'findGameObject' | 'isCameraGameObject' | 'isLightGameObject' | 'isProtectedSystemGameObject' | 'hasCamera' | 'systemDefaults'\n>;\n\nexport type PlayableEditorSceneFieldMutationServices<\n TDocument extends EditorSceneDocument = EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n TPrimitiveShape extends string = string,\n> = PlayableEditorSceneSystemFieldPatchServices<TDocument, TGameObject> & Pick<\n PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n | 'normalizeFieldValue'\n | 'validateField'\n | 'normalizePrimitiveShape'\n | 'isCustomTransformType'\n | 'applyCustomTransformType'\n | 'clearCustomTransformState'\n | 'patchCustomTransformField'\n>;\n\nexport function ensurePlayableEditorSceneEnvironmentDefaultsCore<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n document: TDocument,\n services: PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n): TDocument {\n const documentWithGuids = services.ensureGameObjectGuids(document);\n const rootId = services.resolveRootContainerId(documentWithGuids);\n let cameraSeen = false;\n let environmentLightSeen = false;\n let sunLightSeen = false;\n let changed = documentWithGuids !== document;\n let materialAssets = services.ensureDefaultMaterialAssets(\n (documentWithGuids.scene.materialAssets ?? []) as NonNullable<TDocument['scene']['materialAssets']>,\n );\n changed = changed || materialAssets !== documentWithGuids.scene.materialAssets;\n let gameObjects = (documentWithGuids.scene.gameObjects as TGameObject[]).map((gameObject) => {\n if (gameObject.id === services.systemDefaults.environmentLightId) {\n environmentLightSeen = true;\n const next = services.systemDefaults.normalizeEnvironmentLightGameObject(gameObject);\n changed = changed || next !== gameObject;\n return next;\n }\n if (gameObject.id === services.systemDefaults.sunLightId) {\n sunLightSeen = true;\n const next = services.systemDefaults.normalizeSunLightGameObject(gameObject);\n changed = changed || next !== gameObject;\n return next;\n }\n if (services.isCameraGameObject(gameObject)) {\n if (!cameraSeen) {\n cameraSeen = true;\n const next = services.systemDefaults.normalizeCameraGameObject(gameObject);\n changed = changed || next !== gameObject;\n return next;\n }\n changed = true;\n return services.systemDefaults.normalizePlainTransformGameObject(gameObject);\n }\n if (services.isLightGameObject(gameObject)) {\n const next = services.systemDefaults.normalizePlainTransformGameObject(gameObject);\n changed = true;\n return next;\n }\n return gameObject;\n });\n\n const defaultObjectServices = {\n createGameObjectGuid: services.createGameObjectGuid,\n createUniqueId: services.createUniqueId,\n };\n const usedIds = new Set(gameObjects.map((gameObject) => gameObject.id));\n if (!cameraSeen) {\n changed = true;\n gameObjects.push(services.systemDefaults.createDefaultCameraGameObject(rootId, usedIds, defaultObjectServices));\n }\n if (!environmentLightSeen) {\n changed = true;\n gameObjects.push(services.systemDefaults.createDefaultEnvironmentLightGameObject(rootId, usedIds, defaultObjectServices));\n }\n if (!sunLightSeen) {\n changed = true;\n gameObjects.push(services.systemDefaults.createDefaultSunLightGameObject(rootId, usedIds, defaultObjectServices));\n }\n\n const reimportSlotBindings = services.reconcileMaterialSlotReimportBindings(\n {\n ...documentWithGuids,\n scene: {\n ...documentWithGuids.scene,\n gameObjects,\n materialAssets,\n },\n } as TDocument,\n gameObjects,\n );\n gameObjects = reimportSlotBindings.gameObjects;\n changed = changed || reimportSlotBindings.changed;\n\n const importedMaterialDefaults = services.ensureImportedMaterialDefaults(documentWithGuids, materialAssets, gameObjects);\n materialAssets = importedMaterialDefaults.materialAssets;\n gameObjects = importedMaterialDefaults.gameObjects;\n changed = changed || importedMaterialDefaults.changed;\n\n const nextDocument = changed\n ? {\n ...documentWithGuids,\n scene: {\n ...documentWithGuids.scene,\n gameObjects,\n materialAssets,\n },\n } as TDocument\n : documentWithGuids;\n return services.syncMarkerGraphDocument(nextDocument);\n}\n\nexport function reducePlayableEditorSceneDocumentCore<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n document: TDocument,\n command: DocumentCommand<TDocument, unknown>,\n services: PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n): TDocument {\n const reduced = services.normalizeRootTransformDocument(\n reducePlayableEditorSceneDocumentUnchecked(document, command, services),\n );\n return services.syncMarkerGraphDocument(\n services.ensureGameObjectGuids(\n services.normalizeDocumentAfterCommand(reduced, command),\n ),\n );\n}\n\nexport function createPlayableEditorSceneFieldMutationOptions<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n services: PlayableEditorSceneFieldMutationServices<TDocument, TGameObject, TPrimitiveShape>,\n): EditorSceneFieldMutationOptions<TDocument, TGameObject> {\n return {\n normalizeFieldValue: services.normalizeFieldValue,\n validateField: ({ document, gameObject, path, value }) => (\n services.validateField(document, gameObject, path, value)\n ),\n blockFieldPatch: ({ document, targetId, path, value }) => (\n isBlockedPlayableEditorSceneSystemFieldPatch(document, targetId, path, value, services)\n ),\n normalizePrimitiveShape: services.normalizePrimitiveShape,\n mergeCameraDefaults: services.systemDefaults.mergeCameraDefaults,\n normalizeCameraAfterFieldPatch: (camera, path) => (\n camera\n ? services.systemDefaults.normalizeCameraAfterFieldPatch(camera as NonNullable<TGameObject['camera']>, path)\n : camera\n ),\n mergeLightDefaults: services.systemDefaults.mergeLightDefaults,\n isCustomTransformType: services.isCustomTransformType,\n applyCustomTransformType: services.applyCustomTransformType,\n clearCustomTransformState: services.clearCustomTransformState,\n patchCustomTransformField: services.patchCustomTransformField,\n };\n}\n\nexport function patchPlayableEditorSceneDirectionalLightAngleField<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n>(\n document: TDocument,\n targetId: string,\n path: string,\n value: number,\n services: Pick<PlayableEditorSceneReducerCoreServices<TDocument, TGameObject>, 'findGameObject' | 'systemDefaults'>,\n): TDocument {\n const gameObject = services.findGameObject(document, targetId);\n if (!gameObject) return document;\n const patchedGameObject = patchEditorSceneDirectionalLightOrientationAngles(gameObject, {\n ...(path === services.systemDefaults.horizontalLightAnglePath ? { horizontalAngleDeg: value } : {}),\n ...(path === services.systemDefaults.elevationLightAnglePath ? { elevationAngleDeg: value } : {}),\n }) as TGameObject;\n if (patchedGameObject === gameObject) return document;\n\n return {\n ...document,\n scene: {\n ...document.scene,\n gameObjects: document.scene.gameObjects.map(entry => entry.id === targetId ? patchedGameObject : entry),\n },\n } as TDocument;\n}\n\nexport function isBlockedPlayableEditorSceneSystemFieldPatch<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n>(\n document: TDocument,\n targetId: string,\n path: string,\n value: unknown,\n services: PlayableEditorSceneSystemFieldPatchServices<TDocument, TGameObject>,\n): boolean {\n const target = services.findGameObject(document, targetId);\n if (!target) return false;\n const targetIsCamera = services.isCameraGameObject(target);\n const targetIsLight = services.isLightGameObject(target);\n const targetIsProtectedSystem = services.isProtectedSystemGameObject(target);\n if (path.startsWith('transform.') && targetIsProtectedSystem) return true;\n if (path.startsWith('camera.') && !targetIsCamera) return true;\n if (path.startsWith('camera.') && targetIsCamera) {\n const patchedCameraHost = { camera: services.systemDefaults.mergeCameraDefaults(target.camera) };\n applyEditorSceneJsonFieldPatch(patchedCameraHost as unknown as Record<string, unknown>, path, value);\n if (patchedCameraHost.camera) {\n patchedCameraHost.camera = services.systemDefaults.normalizeCameraAfterFieldPatch(\n patchedCameraHost.camera as NonNullable<TGameObject['camera']>,\n path,\n );\n if (services.systemDefaults.hasInvalidCameraRelationships(patchedCameraHost.camera as NonNullable<TGameObject['camera']>)) {\n return true;\n }\n }\n }\n if (path.startsWith('light.') && !targetIsLight) return true;\n if (path === 'light.type') {\n if (target.id === services.systemDefaults.environmentLightId && value !== 'hemispheric') return true;\n if (target.id === services.systemDefaults.sunLightId && value !== 'directional') return true;\n }\n if (path === 'transformType') {\n if (targetIsCamera && value !== 'camera') return true;\n if (targetIsLight && value !== 'light') return true;\n if (!targetIsLight && value === 'light') return true;\n if (value === 'camera' && !targetIsCamera && services.hasCamera(document, targetId)) return true;\n }\n return false;\n}\n\nfunction reducePlayableEditorSceneDocumentUnchecked<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n document: TDocument,\n command: DocumentCommand<TDocument, unknown>,\n services: PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n): TDocument {\n const patch = command.type === 'document.replace' ? null : command.patch as { kind?: string; [key: string]: unknown };\n if (patch) {\n if (patch.kind === 'scene.material-asset.field') {\n return services.patchMaterialAssetField(\n document,\n patch.materialAssetId as string,\n patch.path as string,\n patch.value,\n );\n }\n if (patch.kind === 'scene.material-asset.create') return services.addMaterialAsset(document, patch.materialAsset);\n if (patch.kind === 'scene.material-asset.delete') return services.deleteMaterialAsset(document, patch.materialAssetId as string);\n if (patch.kind === 'scene.material-asset.duplicate-and-bind') {\n return services.addMaterialAssetAndBind(\n document,\n patch.targetId as string,\n patch.bindingPath as string,\n patch.materialAsset,\n );\n }\n if (patch.kind === 'scene.prefab-asset.create') return services.addPrefabAsset(document, patch.prefabAsset, patch.sourceAsset);\n if (patch.kind === 'scene.prefab-asset.create-from-game-object') return services.addPrefabAsset(document, patch.prefabAsset);\n if (patch.kind === 'scene.prefab-asset.duplicate') return services.addPrefabAsset(document, patch.prefabAsset);\n if (patch.kind === 'scene.prefab-asset.field') {\n return services.patchPrefabAssetField(\n document,\n patch.assetId as string,\n patch.path as string,\n patch.value,\n );\n }\n if (patch.kind === 'scene.prefab-asset.replace') {\n return services.replacePrefabAsset(document, patch.assetId as string, patch.prefabAsset);\n }\n if (patch.kind === 'scene.prefab-material-asset.duplicate-and-bind') {\n return services.addMaterialAssetAndBindPrefabOverride(\n document,\n patch.assetId as string,\n patch.bindingPath as string,\n patch.materialAsset,\n );\n }\n const extensionReduced = services.reduceExtensionPatch?.({ document, patch, command });\n if (extensionReduced) return extensionReduced;\n if (patch.kind === 'game-object.field' && services.isDirectionalLightAnglePath(patch.path as string)) {\n return services.patchGameObjectField(document, patch.targetId as string, patch.path as string, patch.value);\n }\n if (patch.kind === 'game-object.field' && services.isCustomFieldPatchPath?.(patch.path as string)) {\n return services.patchGameObjectField(document, patch.targetId as string, patch.path as string, patch.value);\n }\n if (patch.kind === 'game-object.rendering-alpha-index-migration') {\n return patchPlayableEditorSceneRenderingAlphaIndexMigration(document, patch as Record<string, unknown>);\n }\n if (patch.kind === 'scene.marker-graph') {\n return services.reduceMarkerGraphPatch(document, patch.command);\n }\n }\n return reduceEditorSceneDocumentMutation(\n document,\n command as DocumentCommand<TDocument, EditorSceneDocumentMutationPatch<TGameObject>>,\n createPlayableEditorSceneDocumentMutationOptions(services),\n );\n}\n\nfunction createPlayableEditorSceneDocumentMutationOptions<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n services: PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n): EditorSceneDocumentMutationOptions<TDocument, TGameObject> {\n return {\n field: createPlayableEditorSceneFieldMutationOptions(services),\n serializedProperty: {\n validateField: services.validateSerializedPropertyField,\n },\n assetPlacement: {\n createGameObjectGuid: services.createGameObjectGuid,\n resolveLocalTransform: ({ document: targetDocument, parentId, worldTransform }) => (\n services.resolveLocalTransform({\n document: targetDocument as TDocument,\n parentId,\n worldTransform,\n })\n ),\n },\n isProtectedDuplicateSource: (gameObject) => services.isProtectedSystemGameObject(gameObject),\n isProtectedDeleteTarget: (gameObject) => services.isProtectedSystemGameObject(gameObject),\n };\n}\n\nfunction patchPlayableEditorSceneRenderingAlphaIndexMigration<\n TDocument extends EditorSceneDocument,\n>(\n document: TDocument,\n patch: Record<string, unknown>,\n): TDocument {\n return migrateEditorSceneDocumentRenderingAlphaIndex({\n document,\n targetIds: patch.targetIds,\n renderingGroupId: patch.renderingGroupId,\n fromAlphaIndex: patch.fromAlphaIndex,\n toAlphaIndex: patch.toAlphaIndex,\n } as Parameters<typeof migrateEditorSceneDocumentRenderingAlphaIndex>[0]) as TDocument;\n}\n"]}
1
+ {"version":3,"file":"reducer-core.js","sourceRoot":"","sources":["../../src/session/reducer-core.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,iDAAiD,GAClD,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,EAC7C,iCAAiC,GAIlC,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EACL,uCAAuC,GAExC,MAAM,+BAA+B,CAAC;AA4JvC,MAAM,UAAU,gDAAgD,CAK9D,QAAmB,EACnB,QAAyF;IAEzF,MAAM,iBAAiB,GAAG,QAAQ,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACnE,MAAM,MAAM,GAAG,QAAQ,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,CAAC;IAClE,IAAI,UAAU,GAAG,KAAK,CAAC;IACvB,IAAI,oBAAoB,GAAG,KAAK,CAAC;IACjC,IAAI,YAAY,GAAG,KAAK,CAAC;IACzB,IAAI,OAAO,GAAG,iBAAiB,KAAK,QAAQ,CAAC;IAC7C,IAAI,cAAc,GAAG,QAAQ,CAAC,2BAA2B,CACvD,CAAC,iBAAiB,CAAC,KAAK,CAAC,cAAc,IAAI,EAAE,CAAsD,CACpG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,CAAC;AACzF,CAAC","sourcesContent":["import type {\n DocumentCommand,\n EditorTransformSnapshot,\n InspectorValidationResult,\n} from '@fps-games/editor-core';\nimport {\n patchEditorSceneDirectionalLightOrientationAngles,\n} from '../lighting-debug/index';\nimport {\n applyEditorSceneJsonFieldPatch,\n migrateEditorSceneDocumentRenderingAlphaIndex,\n reduceEditorSceneDocumentMutation,\n type EditorSceneDocumentMutationOptions,\n type EditorSceneDocumentMutationPatch,\n type EditorSceneFieldMutationOptions,\n} from '../mutation/index';\nimport type {\n EditorSceneDocument,\n EditorSceneGameObject,\n} from '../document/index';\nimport {\n assertEditorShadowMapExperimentSettings,\n type EditorShadowMapExperimentSettings,\n} from '@fps-games/playable-rendering';\nimport type {\n EditorSceneSerializedPropertyValidator,\n} from '../serialized-property/index';\n\nexport interface PlayableEditorSceneDefaultObjectServices {\n createGameObjectGuid: () => string;\n createUniqueId: (existingIds: readonly string[], preferredId: string) => string;\n}\n\nexport interface PlayableEditorSceneReducerSystemDefaultServices<\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n> {\n environmentLightId: string;\n sunLightId: string;\n horizontalLightAnglePath: string;\n elevationLightAnglePath: string;\n normalizeEnvironmentLightGameObject: (gameObject: TGameObject) => TGameObject;\n normalizeSunLightGameObject: (gameObject: TGameObject) => TGameObject;\n normalizeCameraGameObject: (gameObject: TGameObject) => TGameObject;\n normalizePlainTransformGameObject: (gameObject: TGameObject) => TGameObject;\n createDefaultCameraGameObject: (\n rootId: string | undefined,\n usedIds: Set<string>,\n services: PlayableEditorSceneDefaultObjectServices,\n ) => TGameObject;\n createDefaultEnvironmentLightGameObject: (\n rootId: string | undefined,\n usedIds: Set<string>,\n services: PlayableEditorSceneDefaultObjectServices,\n ) => TGameObject;\n createDefaultSunLightGameObject: (\n rootId: string | undefined,\n usedIds: Set<string>,\n services: PlayableEditorSceneDefaultObjectServices,\n ) => TGameObject;\n mergeCameraDefaults: (camera: TGameObject['camera']) => TGameObject['camera'];\n normalizeCameraAfterFieldPatch: (\n camera: NonNullable<TGameObject['camera']>,\n path: string,\n ) => TGameObject['camera'];\n hasInvalidCameraRelationships: (camera: NonNullable<TGameObject['camera']>) => boolean;\n mergeLightDefaults: (light: TGameObject['light']) => TGameObject['light'];\n}\n\nexport interface PlayableEditorSceneReducerCoreServices<\n TDocument extends EditorSceneDocument = EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n TPrimitiveShape extends string = string,\n> {\n systemDefaults: PlayableEditorSceneReducerSystemDefaultServices<TGameObject>;\n normalizeRootTransformDocument: (document: TDocument) => TDocument;\n syncMarkerGraphDocument: (document: TDocument) => TDocument;\n ensureGameObjectGuids: (document: TDocument) => TDocument;\n normalizeDocumentAfterCommand: (\n document: TDocument,\n command: DocumentCommand<TDocument, unknown>,\n ) => TDocument;\n\n patchMaterialAssetField: (document: TDocument, materialAssetId: string, path: string, value: unknown) => TDocument;\n addMaterialAsset: (document: TDocument, materialAsset: unknown) => TDocument;\n deleteMaterialAsset: (document: TDocument, materialAssetId: string) => TDocument;\n addMaterialAssetAndBind: (\n document: TDocument,\n targetId: string,\n bindingPath: string,\n materialAsset: unknown,\n ) => TDocument;\n addPrefabAsset: (document: TDocument, prefabAsset: unknown, sourceAsset?: unknown) => TDocument;\n patchPrefabAssetField: (document: TDocument, assetId: string, path: string, value: unknown) => TDocument;\n replacePrefabAsset: (\n document: TDocument,\n assetId: string,\n prefabAsset: unknown,\n sourceAsset?: unknown,\n ) => TDocument;\n addMaterialAssetAndBindPrefabOverride: (\n document: TDocument,\n assetId: string,\n bindingPath: string,\n materialAsset: unknown,\n ) => TDocument;\n patchGameObjectField: (document: TDocument, targetId: string, path: string, value: unknown) => TDocument;\n patchGameObjectsField: (document: TDocument, targetIds: readonly string[], path: string, value: unknown) => TDocument;\n reduceExtensionPatch?: (input: {\n document: TDocument;\n patch: Record<string, unknown>;\n command: DocumentCommand<TDocument, unknown>;\n }) => TDocument | null;\n isCustomFieldPatchPath?: (path: string) => boolean;\n reduceMarkerGraphPatch: (document: TDocument, command: unknown) => TDocument;\n isDirectionalLightAnglePath: (path: string) => boolean;\n\n validateSerializedPropertyField: EditorSceneSerializedPropertyValidator<TDocument>;\n createGameObjectGuid: () => string;\n resolveLocalTransform: (input: {\n document: TDocument;\n parentId: string | null | undefined;\n worldTransform: EditorTransformSnapshot;\n }) => EditorTransformSnapshot | null;\n isProtectedSystemGameObject: (gameObject: TGameObject) => boolean;\n resolveRootContainerId: (document: TDocument) => string | undefined;\n createUniqueId: (existingIds: readonly string[], preferredId: string) => string;\n ensureDefaultMaterialAssets: (\n materialAssets: NonNullable<TDocument['scene']['materialAssets']>,\n ) => NonNullable<TDocument['scene']['materialAssets']>;\n reconcileMaterialSlotReimportBindings: (\n document: TDocument,\n gameObjects: TGameObject[],\n ) => { gameObjects: TGameObject[]; changed: boolean };\n ensureImportedMaterialDefaults: (\n document: TDocument,\n materialAssets: NonNullable<TDocument['scene']['materialAssets']>,\n gameObjects: TGameObject[],\n ) => {\n materialAssets: NonNullable<TDocument['scene']['materialAssets']>;\n gameObjects: TGameObject[];\n changed: boolean;\n };\n\n normalizeFieldValue: (path: string, value: unknown) => unknown;\n validateField: (document: TDocument, gameObject: TGameObject, path: string, value: unknown) => InspectorValidationResult;\n normalizePrimitiveShape: (shape: unknown) => TPrimitiveShape | null;\n isCustomTransformType?: (value: unknown) => value is string;\n applyCustomTransformType?: (gameObject: TGameObject, transformType: string) => void;\n clearCustomTransformState?: (gameObject: TGameObject, transformType: string) => void;\n patchCustomTransformField?: (gameObject: TGameObject, path: string, value: unknown) => boolean;\n findGameObject: (document: TDocument, gameObjectId: string) => TGameObject | null;\n isCameraGameObject: (gameObject: TGameObject) => boolean;\n isLightGameObject: (gameObject: TGameObject) => boolean;\n hasCamera: (document: TDocument, exceptId?: string) => boolean;\n}\n\nexport type PlayableEditorSceneSystemFieldPatchServices<\n TDocument extends EditorSceneDocument = EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n> = Pick<\n PlayableEditorSceneReducerCoreServices<TDocument, TGameObject>,\n 'findGameObject' | 'isCameraGameObject' | 'isLightGameObject' | 'isProtectedSystemGameObject' | 'hasCamera' | 'systemDefaults'\n>;\n\nexport type PlayableEditorSceneFieldMutationServices<\n TDocument extends EditorSceneDocument = EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n TPrimitiveShape extends string = string,\n> = PlayableEditorSceneSystemFieldPatchServices<TDocument, TGameObject> & Pick<\n PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n | 'normalizeFieldValue'\n | 'validateField'\n | 'normalizePrimitiveShape'\n | 'isCustomTransformType'\n | 'applyCustomTransformType'\n | 'clearCustomTransformState'\n | 'patchCustomTransformField'\n>;\n\nexport function ensurePlayableEditorSceneEnvironmentDefaultsCore<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n document: TDocument,\n services: PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n): TDocument {\n const documentWithGuids = services.ensureGameObjectGuids(document);\n const rootId = services.resolveRootContainerId(documentWithGuids);\n let cameraSeen = false;\n let environmentLightSeen = false;\n let sunLightSeen = false;\n let changed = documentWithGuids !== document;\n let materialAssets = services.ensureDefaultMaterialAssets(\n (documentWithGuids.scene.materialAssets ?? []) as NonNullable<TDocument['scene']['materialAssets']>,\n );\n changed = changed || materialAssets !== documentWithGuids.scene.materialAssets;\n let gameObjects = (documentWithGuids.scene.gameObjects as TGameObject[]).map((gameObject) => {\n if (gameObject.id === services.systemDefaults.environmentLightId) {\n environmentLightSeen = true;\n const next = services.systemDefaults.normalizeEnvironmentLightGameObject(gameObject);\n changed = changed || next !== gameObject;\n return next;\n }\n if (gameObject.id === services.systemDefaults.sunLightId) {\n sunLightSeen = true;\n const next = services.systemDefaults.normalizeSunLightGameObject(gameObject);\n changed = changed || next !== gameObject;\n return next;\n }\n if (services.isCameraGameObject(gameObject)) {\n if (!cameraSeen) {\n cameraSeen = true;\n const next = services.systemDefaults.normalizeCameraGameObject(gameObject);\n changed = changed || next !== gameObject;\n return next;\n }\n changed = true;\n return services.systemDefaults.normalizePlainTransformGameObject(gameObject);\n }\n if (services.isLightGameObject(gameObject)) {\n const next = services.systemDefaults.normalizePlainTransformGameObject(gameObject);\n changed = true;\n return next;\n }\n return gameObject;\n });\n\n const defaultObjectServices = {\n createGameObjectGuid: services.createGameObjectGuid,\n createUniqueId: services.createUniqueId,\n };\n const usedIds = new Set(gameObjects.map((gameObject) => gameObject.id));\n if (!cameraSeen) {\n changed = true;\n gameObjects.push(services.systemDefaults.createDefaultCameraGameObject(rootId, usedIds, defaultObjectServices));\n }\n if (!environmentLightSeen) {\n changed = true;\n gameObjects.push(services.systemDefaults.createDefaultEnvironmentLightGameObject(rootId, usedIds, defaultObjectServices));\n }\n if (!sunLightSeen) {\n changed = true;\n gameObjects.push(services.systemDefaults.createDefaultSunLightGameObject(rootId, usedIds, defaultObjectServices));\n }\n\n const reimportSlotBindings = services.reconcileMaterialSlotReimportBindings(\n {\n ...documentWithGuids,\n scene: {\n ...documentWithGuids.scene,\n gameObjects,\n materialAssets,\n },\n } as TDocument,\n gameObjects,\n );\n gameObjects = reimportSlotBindings.gameObjects;\n changed = changed || reimportSlotBindings.changed;\n\n const importedMaterialDefaults = services.ensureImportedMaterialDefaults(documentWithGuids, materialAssets, gameObjects);\n materialAssets = importedMaterialDefaults.materialAssets;\n gameObjects = importedMaterialDefaults.gameObjects;\n changed = changed || importedMaterialDefaults.changed;\n\n const nextDocument = changed\n ? {\n ...documentWithGuids,\n scene: {\n ...documentWithGuids.scene,\n gameObjects,\n materialAssets,\n },\n } as TDocument\n : documentWithGuids;\n return services.syncMarkerGraphDocument(nextDocument);\n}\n\nexport function reducePlayableEditorSceneDocumentCore<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n document: TDocument,\n command: DocumentCommand<TDocument, unknown>,\n services: PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n): TDocument {\n const reduced = services.normalizeRootTransformDocument(\n reducePlayableEditorSceneDocumentUnchecked(document, command, services),\n );\n return services.syncMarkerGraphDocument(\n services.ensureGameObjectGuids(\n services.normalizeDocumentAfterCommand(reduced, command),\n ),\n );\n}\n\nexport function createPlayableEditorSceneFieldMutationOptions<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n services: PlayableEditorSceneFieldMutationServices<TDocument, TGameObject, TPrimitiveShape>,\n): EditorSceneFieldMutationOptions<TDocument, TGameObject> {\n return {\n normalizeFieldValue: services.normalizeFieldValue,\n validateField: ({ document, gameObject, path, value }) => (\n services.validateField(document, gameObject, path, value)\n ),\n blockFieldPatch: ({ document, targetId, path, value }) => (\n isBlockedPlayableEditorSceneSystemFieldPatch(document, targetId, path, value, services)\n ),\n normalizePrimitiveShape: services.normalizePrimitiveShape,\n mergeCameraDefaults: services.systemDefaults.mergeCameraDefaults,\n normalizeCameraAfterFieldPatch: (camera, path) => (\n camera\n ? services.systemDefaults.normalizeCameraAfterFieldPatch(camera as NonNullable<TGameObject['camera']>, path)\n : camera\n ),\n mergeLightDefaults: services.systemDefaults.mergeLightDefaults,\n isCustomTransformType: services.isCustomTransformType,\n applyCustomTransformType: services.applyCustomTransformType,\n clearCustomTransformState: services.clearCustomTransformState,\n patchCustomTransformField: services.patchCustomTransformField,\n };\n}\n\nexport function patchPlayableEditorSceneDirectionalLightAngleField<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n>(\n document: TDocument,\n targetId: string,\n path: string,\n value: number,\n services: Pick<PlayableEditorSceneReducerCoreServices<TDocument, TGameObject>, 'findGameObject' | 'systemDefaults'>,\n): TDocument {\n const gameObject = services.findGameObject(document, targetId);\n if (!gameObject) return document;\n const patchedGameObject = patchEditorSceneDirectionalLightOrientationAngles(gameObject, {\n ...(path === services.systemDefaults.horizontalLightAnglePath ? { horizontalAngleDeg: value } : {}),\n ...(path === services.systemDefaults.elevationLightAnglePath ? { elevationAngleDeg: value } : {}),\n }) as TGameObject;\n if (patchedGameObject === gameObject) return document;\n\n return {\n ...document,\n scene: {\n ...document.scene,\n gameObjects: document.scene.gameObjects.map(entry => entry.id === targetId ? patchedGameObject : entry),\n },\n } as TDocument;\n}\n\nexport function isBlockedPlayableEditorSceneSystemFieldPatch<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n>(\n document: TDocument,\n targetId: string,\n path: string,\n value: unknown,\n services: PlayableEditorSceneSystemFieldPatchServices<TDocument, TGameObject>,\n): boolean {\n const target = services.findGameObject(document, targetId);\n if (!target) return false;\n const targetIsCamera = services.isCameraGameObject(target);\n const targetIsLight = services.isLightGameObject(target);\n const targetIsProtectedSystem = services.isProtectedSystemGameObject(target);\n if (path.startsWith('transform.') && targetIsProtectedSystem) return true;\n if (path.startsWith('camera.') && !targetIsCamera) return true;\n if (path.startsWith('camera.') && targetIsCamera) {\n const patchedCameraHost = { camera: services.systemDefaults.mergeCameraDefaults(target.camera) };\n applyEditorSceneJsonFieldPatch(patchedCameraHost as unknown as Record<string, unknown>, path, value);\n if (patchedCameraHost.camera) {\n patchedCameraHost.camera = services.systemDefaults.normalizeCameraAfterFieldPatch(\n patchedCameraHost.camera as NonNullable<TGameObject['camera']>,\n path,\n );\n if (services.systemDefaults.hasInvalidCameraRelationships(patchedCameraHost.camera as NonNullable<TGameObject['camera']>)) {\n return true;\n }\n }\n }\n if (path.startsWith('light.') && !targetIsLight) return true;\n if (path === 'light.type') {\n if (target.id === services.systemDefaults.environmentLightId && value !== 'hemispheric') return true;\n if (target.id === services.systemDefaults.sunLightId && value !== 'directional') return true;\n }\n if (path === 'transformType') {\n if (targetIsCamera && value !== 'camera') return true;\n if (targetIsLight && value !== 'light') return true;\n if (!targetIsLight && value === 'light') return true;\n if (value === 'camera' && !targetIsCamera && services.hasCamera(document, targetId)) return true;\n }\n return false;\n}\n\nfunction reducePlayableEditorSceneDocumentUnchecked<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n document: TDocument,\n command: DocumentCommand<TDocument, unknown>,\n services: PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n): TDocument {\n const patch = command.type === 'document.replace' ? null : command.patch as { kind?: string; [key: string]: unknown };\n if (patch) {\n if (patch.kind === 'scene.shadow-map-experiment.profiles') {\n const settings = { ...(document.scene.shadowMapExperiment ?? {}) } as {\n qualityProfile?: string;\n behaviorProfile?: string;\n };\n if (Object.prototype.hasOwnProperty.call(patch, 'qualityProfile')) {\n if (typeof patch.qualityProfile === 'string') settings.qualityProfile = patch.qualityProfile;\n else delete settings.qualityProfile;\n }\n if (Object.prototype.hasOwnProperty.call(patch, 'behaviorProfile')) {\n if (typeof patch.behaviorProfile === 'string') settings.behaviorProfile = patch.behaviorProfile;\n else delete settings.behaviorProfile;\n }\n try {\n if (Object.keys(settings).length > 0) assertEditorShadowMapExperimentSettings(settings);\n } catch {\n return document;\n }\n const scene = { ...document.scene };\n if (Object.keys(settings).length > 0) scene.shadowMapExperiment = settings;\n else delete scene.shadowMapExperiment;\n return { ...document, scene };\n }\n if (patch.kind === 'scene.material-asset.field') {\n return services.patchMaterialAssetField(\n document,\n patch.materialAssetId as string,\n patch.path as string,\n patch.value,\n );\n }\n if (patch.kind === 'scene.material-asset.create') return services.addMaterialAsset(document, patch.materialAsset);\n if (patch.kind === 'scene.material-asset.delete') return services.deleteMaterialAsset(document, patch.materialAssetId as string);\n if (patch.kind === 'scene.material-asset.duplicate-and-bind') {\n return services.addMaterialAssetAndBind(\n document,\n patch.targetId as string,\n patch.bindingPath as string,\n patch.materialAsset,\n );\n }\n if (patch.kind === 'scene.prefab-asset.create') return services.addPrefabAsset(document, patch.prefabAsset, patch.sourceAsset);\n if (patch.kind === 'scene.prefab-asset.create-from-game-object') return services.addPrefabAsset(document, patch.prefabAsset);\n if (patch.kind === 'scene.prefab-asset.duplicate') return services.addPrefabAsset(document, patch.prefabAsset);\n if (patch.kind === 'scene.prefab-asset.field') {\n return services.patchPrefabAssetField(\n document,\n patch.assetId as string,\n patch.path as string,\n patch.value,\n );\n }\n if (patch.kind === 'scene.prefab-asset.replace') {\n return services.replacePrefabAsset(\n document,\n patch.assetId as string,\n patch.prefabAsset,\n patch.sourceAsset,\n );\n }\n if (patch.kind === 'scene.prefab-material-asset.duplicate-and-bind') {\n return services.addMaterialAssetAndBindPrefabOverride(\n document,\n patch.assetId as string,\n patch.bindingPath as string,\n patch.materialAsset,\n );\n }\n const extensionReduced = services.reduceExtensionPatch?.({ document, patch, command });\n if (extensionReduced) return extensionReduced;\n if (patch.kind === 'game-object.field' && services.isDirectionalLightAnglePath(patch.path as string)) {\n return services.patchGameObjectField(document, patch.targetId as string, patch.path as string, patch.value);\n }\n if (patch.kind === 'game-object.field' && services.isCustomFieldPatchPath?.(patch.path as string)) {\n return services.patchGameObjectField(document, patch.targetId as string, patch.path as string, patch.value);\n }\n if (patch.kind === 'game-object.rendering-alpha-index-migration') {\n return patchPlayableEditorSceneRenderingAlphaIndexMigration(document, patch as Record<string, unknown>);\n }\n if (patch.kind === 'scene.marker-graph') {\n return services.reduceMarkerGraphPatch(document, patch.command);\n }\n }\n return reduceEditorSceneDocumentMutation(\n document,\n command as DocumentCommand<TDocument, EditorSceneDocumentMutationPatch<TGameObject>>,\n createPlayableEditorSceneDocumentMutationOptions(services),\n );\n}\n\nfunction createPlayableEditorSceneDocumentMutationOptions<\n TDocument extends EditorSceneDocument,\n TGameObject extends EditorSceneGameObject = TDocument['scene']['gameObjects'][number],\n TPrimitiveShape extends string = string,\n>(\n services: PlayableEditorSceneReducerCoreServices<TDocument, TGameObject, TPrimitiveShape>,\n): EditorSceneDocumentMutationOptions<TDocument, TGameObject> {\n return {\n field: createPlayableEditorSceneFieldMutationOptions(services),\n serializedProperty: {\n validateField: services.validateSerializedPropertyField,\n },\n assetPlacement: {\n createGameObjectGuid: services.createGameObjectGuid,\n resolveLocalTransform: ({ document: targetDocument, parentId, worldTransform }) => (\n services.resolveLocalTransform({\n document: targetDocument as TDocument,\n parentId,\n worldTransform,\n })\n ),\n },\n isProtectedDuplicateSource: (gameObject) => services.isProtectedSystemGameObject(gameObject),\n isProtectedDeleteTarget: (gameObject) => services.isProtectedSystemGameObject(gameObject),\n };\n}\n\nfunction patchPlayableEditorSceneRenderingAlphaIndexMigration<\n TDocument extends EditorSceneDocument,\n>(\n document: TDocument,\n patch: Record<string, unknown>,\n): TDocument {\n return migrateEditorSceneDocumentRenderingAlphaIndex({\n document,\n targetIds: patch.targetIds,\n renderingGroupId: patch.renderingGroupId,\n fromAlphaIndex: patch.fromAlphaIndex,\n toAlphaIndex: patch.toAlphaIndex,\n } as Parameters<typeof migrateEditorSceneDocumentRenderingAlphaIndex>[0]) as TDocument;\n}\n"]}
@@ -16,6 +16,10 @@ export type PlayableEditorSceneDocumentPatch<TAsset extends EditorSceneAsset = E
16
16
  targetIds: readonly string[];
17
17
  path: string;
18
18
  value: unknown;
19
+ } | {
20
+ kind: 'scene.shadow-map-experiment.profiles';
21
+ qualityProfile?: string | null;
22
+ behaviorProfile?: string | null;
19
23
  } | {
20
24
  kind: 'game-object.rendering-alpha-index-migration';
21
25
  targetIds: string[];
@@ -59,6 +63,7 @@ export type PlayableEditorSceneDocumentPatch<TAsset extends EditorSceneAsset = E
59
63
  kind: 'scene.prefab-asset.replace';
60
64
  assetId: string;
61
65
  prefabAsset: TAsset;
66
+ sourceAsset?: TAsset;
62
67
  } | {
63
68
  kind: 'scene.prefab-material-asset.duplicate-and-bind';
64
69
  assetId: string;
@@ -85,6 +90,7 @@ export type PlayableEditorSceneDocumentPatch<TAsset extends EditorSceneAsset = E
85
90
  } | {
86
91
  kind: 'game-object.duplicate-selection';
87
92
  gameObjects: TGameObject[];
93
+ order?: string[];
88
94
  } | {
89
95
  kind: 'game-object.rename';
90
96
  targetId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/session/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,0BAA0B,CACpC,WAAW,SAAS,qBAAqB,GAAG,qBAAqB,IAC/D,mBAAmB,CAAC,WAAW,CAAC,CAAC;AAErC,MAAM,MAAM,4BAA4B,GAAG,qBAAqB,CAAC;AAEjE,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,CAAC;AAE1D,MAAM,MAAM,4BAA4B,GAAG,uBAAuB,CAAC;AAEnE,MAAM,MAAM,gCAAgC,CAC1C,MAAM,SAAS,gBAAgB,GAAG,gBAAgB,EAClD,WAAW,SAAS,qBAAqB,GAAG,qBAAqB,EACjE,cAAc,GAAG,OAAO,EACxB,iBAAiB,GAAG,OAAO,EAC3B,mBAAmB,GAAG,OAAO,EAC7B,eAAe,GAAG,KAAK,IAErB,CAAC;IAAE,IAAI,EAAE,qBAAqB,CAAA;CAAE,GAAG,uBAAuB,CAAC,GAC3D;IACA,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB,GACC;IACA,IAAI,EAAE,yBAAyB,CAAC;IAChC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,O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;CACzB,GACC;IACA,IAAI,EAAE,8BAA8B,CAAC;IACrC,UAAU,EAAE,WAAW,CAAC;CACzB,GACC;IACA,IAAI,EAAE,4BAA4B,CAAC;IACnC,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB,GACC;IACA,IAAI,EAAE,sBAAsB,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,uBAAuB,CAAC;CACrC,GACC;IACA,IAAI,EAAE,4BAA4B,CAAC;IACnC,KAAK,EAAE,KAAK,CAAC;QACX,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,uBAAuB,CAAC;KACpC,CAAC,CAAC;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,GACC;IACA,IAAI,EAAE,6BAA6B,CAAC;IACpC,UAAU,EAAE,WAAW,CAAC;IACxB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IACzD,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,GACC,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/session/types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n EditorTransformSnapshot,\n SceneGraphTreeItem,\n SerializedPropertyPatch,\n} from '@fps-games/editor-core';\nimport type {\n EditorSceneAsset,\n EditorSceneDocument,\n EditorSceneGameObject,\n} from '../document/index';\n\nexport type EditorSceneSessionDocument<\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n> = EditorSceneDocument<TGameObject>;\n\nexport type EditorSceneSessionGameObject = EditorSceneGameObject;\n\nexport type EditorSceneHierarchyItem = SceneGraphTreeItem;\n\nexport type EditorSceneTransformSnapshot = EditorTransformSnapshot;\n\nexport type PlayableEditorSceneDocumentPatch<\n TAsset extends EditorSceneAsset = EditorSceneAsset,\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n TMaterialAsset = unknown,\n TAssetLibraryItem = unknown,\n TMarkerGraphCommand = unknown,\n TExtensionPatch = never,\n> =\n | ({ kind: 'serialized-property' } & SerializedPropertyPatch)\n | {\n kind: 'game-object.field';\n targetId: string;\n path: string;\n value: unknown;\n }\n | {\n kind: 'game-object.field-batch';\n targetIds: readonly string[];\n path: string;\n value: unknown;\n }\n | {\n kind: 'game-object.rendering-alpha-index-migration';\n targetIds: string[];\n renderingGroupId: 0 | 1 | 2 | 3;\n fromAlphaIndex: number;\n toAlphaIndex: number;\n }\n | {\n kind: 'scene.material-asset.field';\n materialAssetId: string;\n path: string;\n value: unknown;\n }\n | {\n kind: 'scene.material-asset.create';\n materialAsset: TMaterialAsset;\n }\n | {\n kind: 'scene.material-asset.delete';\n materialAssetId: string;\n }\n | {\n kind: 'scene.material-asset.duplicate-and-bind';\n targetId: string;\n bindingPath: string;\n materialAsset: TMaterialAsset;\n }\n | {\n kind: 'scene.prefab-asset.create';\n sourceAsset: TAsset;\n prefabAsset: TAsset;\n }\n | {\n kind: 'scene.prefab-asset.create-from-game-object';\n sourceGameObjectId: string;\n prefabAsset: TAsset;\n }\n | {\n kind: 'scene.prefab-asset.duplicate';\n sourcePrefabAssetId: string;\n prefabAsset: TAsset;\n }\n | {\n kind: 'scene.prefab-asset.field';\n assetId: string;\n path: string;\n value: unknown;\n }\n | {\n kind: 'scene.prefab-asset.replace';\n assetId: string;\n prefabAsset: TAsset;\n }\n | {\n kind: 'scene.prefab-material-asset.duplicate-and-bind';\n assetId: string;\n bindingPath: string;\n materialAsset: TMaterialAsset;\n }\n | {\n kind: 'scene.marker-graph';\n command: TMarkerGraphCommand;\n }\n | {\n kind: 'game-object.create-from-asset';\n assetItem: TAssetLibraryItem;\n name?: string;\n placement?: EditorTransformSnapshot;\n }\n | {\n kind: 'game-object.transform';\n targetId: string;\n transform: EditorTransformSnapshot;\n }\n | {\n kind: 'game-object.transform-batch';\n targets: Array<{\n targetId: string;\n transform: Partial<EditorTransformSnapshot>;\n }>;\n }\n | {\n kind: 'game-object.duplicate-selection';\n gameObjects: TGameObject[];\n }\n | {\n kind: 'game-object.rename';\n targetId: string;\n name: string;\n }\n | {\n kind: 'game-object.create-group';\n gameObject: TGameObject;\n }\n | {\n kind: 'game-object.create-primitive';\n gameObject: TGameObject;\n }\n | {\n kind: 'game-object.delete-subtree';\n targetIds: string[];\n }\n | {\n kind: 'game-object.reparent';\n targetId: string;\n parentId?: string;\n transform?: EditorTransformSnapshot;\n }\n | {\n kind: 'game-object.hierarchy-move';\n moves: Array<{\n targetId: string;\n parentId?: string;\n transform: EditorTransformSnapshot;\n }>;\n order: string[];\n }\n | {\n kind: 'game-object.group-selection';\n gameObject: TGameObject;\n childIds: string[];\n childTransforms: Record<string, EditorTransformSnapshot>;\n order: string[];\n }\n | TExtensionPatch;\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/session/types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n EditorTransformSnapshot,\n SceneGraphTreeItem,\n SerializedPropertyPatch,\n} from '@fps-games/editor-core';\nimport type {\n EditorSceneAsset,\n EditorSceneDocument,\n EditorSceneGameObject,\n} from '../document/index';\n\nexport type EditorSceneSessionDocument<\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n> = EditorSceneDocument<TGameObject>;\n\nexport type EditorSceneSessionGameObject = EditorSceneGameObject;\n\nexport type EditorSceneHierarchyItem = SceneGraphTreeItem;\n\nexport type EditorSceneTransformSnapshot = EditorTransformSnapshot;\n\nexport type PlayableEditorSceneDocumentPatch<\n TAsset extends EditorSceneAsset = EditorSceneAsset,\n TGameObject extends EditorSceneGameObject = EditorSceneGameObject,\n TMaterialAsset = unknown,\n TAssetLibraryItem = unknown,\n TMarkerGraphCommand = unknown,\n TExtensionPatch = never,\n> =\n | ({ kind: 'serialized-property' } & SerializedPropertyPatch)\n | {\n kind: 'game-object.field';\n targetId: string;\n path: string;\n value: unknown;\n }\n | {\n kind: 'game-object.field-batch';\n targetIds: readonly string[];\n path: string;\n value: unknown;\n }\n | {\n kind: 'scene.shadow-map-experiment.profiles';\n qualityProfile?: string | null;\n behaviorProfile?: string | null;\n }\n | {\n kind: 'game-object.rendering-alpha-index-migration';\n targetIds: string[];\n renderingGroupId: 0 | 1 | 2 | 3;\n fromAlphaIndex: number;\n toAlphaIndex: number;\n }\n | {\n kind: 'scene.material-asset.field';\n materialAssetId: string;\n path: string;\n value: unknown;\n }\n | {\n kind: 'scene.material-asset.create';\n materialAsset: TMaterialAsset;\n }\n | {\n kind: 'scene.material-asset.delete';\n materialAssetId: string;\n }\n | {\n kind: 'scene.material-asset.duplicate-and-bind';\n targetId: string;\n bindingPath: string;\n materialAsset: TMaterialAsset;\n }\n | {\n kind: 'scene.prefab-asset.create';\n sourceAsset: TAsset;\n prefabAsset: TAsset;\n }\n | {\n kind: 'scene.prefab-asset.create-from-game-object';\n sourceGameObjectId: string;\n prefabAsset: TAsset;\n }\n | {\n kind: 'scene.prefab-asset.duplicate';\n sourcePrefabAssetId: string;\n prefabAsset: TAsset;\n }\n | {\n kind: 'scene.prefab-asset.field';\n assetId: string;\n path: string;\n value: unknown;\n }\n | {\n kind: 'scene.prefab-asset.replace';\n assetId: string;\n prefabAsset: TAsset;\n sourceAsset?: TAsset;\n }\n | {\n kind: 'scene.prefab-material-asset.duplicate-and-bind';\n assetId: string;\n bindingPath: string;\n materialAsset: TMaterialAsset;\n }\n | {\n kind: 'scene.marker-graph';\n command: TMarkerGraphCommand;\n }\n | {\n kind: 'game-object.create-from-asset';\n assetItem: TAssetLibraryItem;\n name?: string;\n placement?: EditorTransformSnapshot;\n }\n | {\n kind: 'game-object.transform';\n targetId: string;\n transform: EditorTransformSnapshot;\n }\n | {\n kind: 'game-object.transform-batch';\n targets: Array<{\n targetId: string;\n transform: Partial<EditorTransformSnapshot>;\n }>;\n }\n | {\n kind: 'game-object.duplicate-selection';\n gameObjects: TGameObject[];\n order?: string[];\n }\n | {\n kind: 'game-object.rename';\n targetId: string;\n name: string;\n }\n | {\n kind: 'game-object.create-group';\n gameObject: TGameObject;\n }\n | {\n kind: 'game-object.create-primitive';\n gameObject: TGameObject;\n }\n | {\n kind: 'game-object.delete-subtree';\n targetIds: string[];\n }\n | {\n kind: 'game-object.reparent';\n targetId: string;\n parentId?: string;\n transform?: EditorTransformSnapshot;\n }\n | {\n kind: 'game-object.hierarchy-move';\n moves: Array<{\n targetId: string;\n parentId?: string;\n transform: EditorTransformSnapshot;\n }>;\n order: string[];\n }\n | {\n kind: 'game-object.group-selection';\n gameObject: TGameObject;\n childIds: string[];\n childTransforms: Record<string, EditorTransformSnapshot>;\n order: string[];\n }\n | TExtensionPatch;\n"]}
@@ -162,12 +162,36 @@ export function inspectPlayableEditorUpgradeReadiness(input = {}) {
162
162
  function inspectMigrationReadinessFile(file, options) {
163
163
  const diagnostics = [];
164
164
  const content = file.content;
165
+ if (/\bassertRuntimeSceneConfig(?:ModulePath|ExportName)\b/.test(content)) {
166
+ diagnostics.push({
167
+ severity: 'warning',
168
+ code: 'hard-cut.scene-artifact.project-validator-hook-removed',
169
+ path: file.filePath,
170
+ message: 'Removed project SceneArtifact validator hook detected; delete assertRuntimeSceneConfigModulePath/assertRuntimeSceneConfigExportName because @fps-games/editor/playable-sdk now validates the canonical runtime artifact.',
171
+ });
172
+ }
173
+ if (/\bhierarchyContextActions\b/.test(content)) {
174
+ diagnostics.push({
175
+ severity: options.hierarchyContextActionSeverity ?? 'warning',
176
+ code: 'hard-cut.hierarchy-actions.browser-callbacks-removed',
177
+ path: file.filePath,
178
+ message: 'Removed hierarchyContextActions Browser callback API detected; migrate each action to a typed capabilities.hierarchyActions.operations contribution.',
179
+ });
180
+ }
165
181
  if (/\bcreateLocalEditorHarness\b/.test(content) && /\bcontextActions\b/.test(content)) {
166
182
  diagnostics.push({
167
183
  severity: options.hierarchyContextActionSeverity ?? 'warning',
168
184
  code: 'hard-cut.hierarchy-actions.direct-harness',
169
185
  path: file.filePath,
170
- message: 'Direct harness hierarchy.contextActions detected; move custom hierarchy actions to capabilities.hierarchyActions.contextActions.',
186
+ message: 'Removed hierarchy.contextActions API detected; migrate each action to a typed capabilities.hierarchyActions.operations contribution.',
187
+ });
188
+ }
189
+ if (/\bhierarchyActions\b/.test(content) && /\bcontextActions\b/.test(content)) {
190
+ diagnostics.push({
191
+ severity: options.hierarchyContextActionSeverity ?? 'warning',
192
+ code: 'hard-cut.hierarchy-actions.context-actions-removed',
193
+ path: file.filePath,
194
+ message: 'Removed capabilities.hierarchyActions.contextActions API detected; use capabilities.hierarchyActions.operations.',
171
195
  });
172
196
  }
173
197
  const retiredBypassPattern = new RegExp(`\\binstall${'Leg' + 'acy'}AssetCommandBypass\\b|__project${'Leg' + 'acy'}AssetBypass`);
@@ -246,8 +270,12 @@ function collectDeprecatedJsonFields(value, path, fields) {
246
270
  if (field in value)
247
271
  fields.add(field);
248
272
  }
249
- if (path[path.length - 1] === 'globalVolume' && 'samples' in value)
250
- fields.add('globalVolume.samples');
273
+ if (path[path.length - 1] === 'globalVolume') {
274
+ for (const field of ['samples', 'camera', 'lights']) {
275
+ if (field in value)
276
+ fields.add(`globalVolume.${field}`);
277
+ }
278
+ }
251
279
  if (value.kind === 'box' && path.slice(-2).join('.') === 'marker.geometry') {
252
280
  for (const field of ['coordinateSpace', 'center', 'size', 'rotation'])
253
281
  if (field in value)
@@ -1 +1 @@
1
- {"version":3,"file":"inspectors.js","sourceRoot":"","sources":["../../src/upgrade-doctor/inspectors.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6CAA6C,GAG9C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,gCAAgC,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,4CAA4C,EAAE,MAAM,QAAQ,CAAC;AActE,OAAO,EAAE,gCAAgC,EAAE,MAAM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PlayableEditorPackageAliasFiles,\n type PlayableEditorFileExists,\n type PlayableEditorPackageAliasPlan,\n} from '../package-resolution/index';\nimport { parse } from '@babel/parser';\nimport { createPlayableEditorDoctorReport } from './report';\nimport { inspectPlayableEditorHostCompatibilityReport } from './host';\nimport type {\n PlayableEditorDoctorDiagnostic,\n PlayableEditorDoctorReport,\n PlayableEditorImportBoundaryInspectionOptions,\n PlayableEditorImportSnapshot,\n PlayableEditorImportSnapshotFile,\n PlayableEditorInstalledVersionInspectionOptions,\n PlayableEditorInstalledVersionLike,\n PlayableEditorMigrationReadinessInspectionOptions,\n PlayableEditorPackageExportsInspectionOptions,\n PlayableEditorPackageExportsLike,\n PlayableEditorUpgradeReadinessInspectionInput,\n} from './types';\nimport { mergePlayableEditorDoctorReports } from './report';\n\nconst PLAYABLE_SDK_EXPORT_PATH = './playable-sdk';\nconst PLAYABLE_SDK_UPGRADE_DOCTOR_EXPORT_PATH = './playable-sdk/upgrade-doctor';\nconst PLAYABLE_SDK_VITE_EXPORT_PATH = './playable-sdk/vite';\nconst PLAYABLE_SDK_SUBPATH_PREFIX = '@fps-games/editor/playable-sdk/';\nconst PLAYABLE_SDK_UPGRADE_DOCTOR_SUBPATH = '@fps-games/editor/playable-sdk/upgrade-doctor';\nconst PLAYABLE_SDK_VITE_SUBPATH = '@fps-games/editor/playable-sdk/vite';\nconst PLAYABLE_RUNTIME_SUBPATH = '@fps-games/editor/playable-runtime';\nconst PLAYABLE_RUNTIME_BABYLON_SUBPATH = '@fps-games/editor/playable-runtime/babylon';\nconst DIRECT_EDITOR_IMPORTS = [\n '@fps-games/editor',\n '@fps-games/editor-core',\n] as const;\n\n/**\n * Default forbidden packages for new playable editor integration code.\n * These packages are internal to the editor framework and should not be\n * imported directly from project-side code. Use @fps-games/editor/playable-sdk\n * facade exports instead.\n */\nexport const PLAYABLE_EDITOR_DEFAULT_FORBIDDEN_PACKAGES: readonly string[] = [\n '@fps-games/editor-agent-bridge',\n '@fps-games/editor-babylon',\n '@fps-games/editor-browser',\n '@fps-games/editor-forge-play',\n '@fps-games/editor-playable-sdk',\n '@fps-games/editor-protocol',\n '@fps-games/babylon-renderer',\n];\n\nexport function inspectPlayableEditorPackageAliasPlan(\n plan: PlayableEditorPackageAliasPlan,\n fileExists: PlayableEditorFileExists,\n options: { title?: string } = {},\n): PlayableEditorDoctorReport {\n const missing = collectMissingPlayableEditorPackageAliasFiles(plan, fileExists);\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor package aliases',\n diagnostics: missing.map(entry => ({\n severity: 'error',\n code: 'package.alias.missing-file',\n source: entry.packageId,\n path: entry.file,\n message: `Package alias for ${entry.packageId} points to a missing file.`,\n })),\n });\n}\n\nexport function inspectPlayableEditorPackageExports(\n packageJson: PlayableEditorPackageExportsLike,\n options: PlayableEditorPackageExportsInspectionOptions = {},\n): PlayableEditorDoctorReport {\n const packageName = options.packageName ?? readString(packageJson.name) ?? '@fps-games/editor';\n const exportPath = options.playableSdkExportPath ?? PLAYABLE_SDK_EXPORT_PATH;\n const upgradeDoctorExportPath = options.playableSdkUpgradeDoctorExportPath ?? PLAYABLE_SDK_UPGRADE_DOCTOR_EXPORT_PATH;\n const viteExportPath = options.playableSdkViteExportPath ?? PLAYABLE_SDK_VITE_EXPORT_PATH;\n const diagnostics: PlayableEditorDoctorDiagnostic[] = [];\n\n if (!isRecord(packageJson.exports)) {\n diagnostics.push({\n severity: 'error',\n code: 'package.export.invalid',\n source: packageName,\n path: 'exports',\n message: `Package ${packageName} must expose an object exports map.`,\n });\n } else {\n for (const requiredExportPath of [exportPath, upgradeDoctorExportPath, viteExportPath]) {\n const hasExport = requiredExportPath in packageJson.exports;\n const usableTarget = hasExport && (\n requiredExportPath === upgradeDoctorExportPath\n ? isUsableNodePackageExportTarget(packageJson.exports[requiredExportPath])\n : isUsablePackageExportTarget(packageJson.exports[requiredExportPath])\n );\n if (usableTarget) continue;\n diagnostics.push({\n severity: 'error',\n code: hasExport ? 'package.export.invalid-target' : 'package.export.missing',\n source: packageName,\n path: `exports[\"${requiredExportPath}\"]`,\n message: hasExport\n ? `Package ${packageName} has no usable runtime target for the ${requiredExportPath} export.`\n : `Package ${packageName} is missing the ${requiredExportPath} export.`,\n });\n }\n }\n\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor package exports',\n diagnostics,\n });\n}\n\nexport function inspectPlayableEditorInstalledVersion(\n packageJson: PlayableEditorInstalledVersionLike,\n options: PlayableEditorInstalledVersionInspectionOptions = {},\n): PlayableEditorDoctorReport {\n const packageName = options.packageName\n ?? readString(packageJson.packageName)\n ?? '@fps-games/editor';\n const declaredVersion = readString(packageJson.declaredVersion);\n const installedVersion = readString(packageJson.installedVersion);\n const source = readString(packageJson.source) ?? packageName;\n const diagnostics: PlayableEditorDoctorDiagnostic[] = [];\n\n if (declaredVersion && installedVersion && isExactDependencyVersion(declaredVersion) && declaredVersion !== installedVersion) {\n diagnostics.push({\n severity: options.exactMismatchSeverity ?? 'error',\n code: 'package.version.installed-mismatch',\n source,\n path: 'dependencies',\n details: { packageName, declaredVersion, installedVersion },\n message: `Project declares ${packageName}@${declaredVersion}, but node_modules contains ${installedVersion}. Reinstall dependencies and restart the dev server.`,\n });\n }\n\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor installed version',\n diagnostics,\n });\n}\n\nexport function createPlayableEditorImportSnapshot(\n files: readonly PlayableEditorImportSnapshotFile[],\n): PlayableEditorImportSnapshot {\n return {\n files: files.map(file => ({\n filePath: file.filePath,\n content: file.content,\n })),\n };\n}\n\nexport function inspectPlayableEditorImportBoundaries(\n snapshot: PlayableEditorImportSnapshot | readonly PlayableEditorImportSnapshotFile[],\n options: PlayableEditorImportBoundaryInspectionOptions = {},\n): PlayableEditorDoctorReport {\n const files: readonly PlayableEditorImportSnapshotFile[] = isImportSnapshot(snapshot)\n ? snapshot.files\n : snapshot;\n const forbiddenPackages = normalizeForbiddenPackages(\n options.forbiddenPackages ?? PLAYABLE_EDITOR_DEFAULT_FORBIDDEN_PACKAGES,\n );\n const forbiddenPackageSeverity = options.forbiddenPackageSeverity ?? 'warning';\n const diagnostics = files.flatMap(file =>\n inspectFileImports(file, forbiddenPackages, forbiddenPackageSeverity),\n );\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor import boundaries',\n diagnostics,\n });\n}\n\nexport function inspectPlayableEditorMigrationReadiness(\n snapshot: PlayableEditorImportSnapshot | readonly PlayableEditorImportSnapshotFile[],\n options: PlayableEditorMigrationReadinessInspectionOptions = {},\n): PlayableEditorDoctorReport {\n const files: readonly PlayableEditorImportSnapshotFile[] = isImportSnapshot(snapshot)\n ? snapshot.files\n : snapshot;\n const diagnostics = files.flatMap(file => inspectMigrationReadinessFile(file, options));\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor hard-cut readiness',\n diagnostics,\n });\n}\n\nexport function inspectPlayableEditorUpgradeReadiness(\n input: PlayableEditorUpgradeReadinessInspectionInput = {},\n): PlayableEditorDoctorReport {\n const reports: PlayableEditorDoctorReport[] = [];\n if (input.hostCompatibility) {\n reports.push(inspectPlayableEditorHostCompatibilityReport(\n input.hostCompatibility.report,\n input.hostCompatibility.options,\n ));\n }\n if (input.packageAliasPlan) {\n reports.push(inspectPlayableEditorPackageAliasPlan(\n input.packageAliasPlan.plan,\n input.packageAliasPlan.fileExists,\n { title: input.packageAliasPlan.title },\n ));\n }\n if (input.packageExports) {\n reports.push(inspectPlayableEditorPackageExports(\n input.packageExports.packageJson,\n input.packageExports.options,\n ));\n }\n if (input.installedVersion) {\n reports.push(inspectPlayableEditorInstalledVersion(\n input.installedVersion.packageJson,\n input.installedVersion.options,\n ));\n }\n if (input.importBoundaries) {\n reports.push(inspectPlayableEditorImportBoundaries(\n input.importBoundaries.snapshot,\n input.importBoundaries.options,\n ));\n }\n if (input.migrationReadiness) {\n reports.push(inspectPlayableEditorMigrationReadiness(\n input.migrationReadiness.snapshot,\n input.migrationReadiness.options,\n ));\n }\n return mergePlayableEditorDoctorReports(reports, {\n title: input.title ?? 'Playable editor upgrade readiness',\n });\n}\n\nfunction inspectMigrationReadinessFile(\n file: PlayableEditorImportSnapshotFile,\n options: PlayableEditorMigrationReadinessInspectionOptions,\n): PlayableEditorDoctorDiagnostic[] {\n const diagnostics: PlayableEditorDoctorDiagnostic[] = [];\n const content = file.content;\n if (/\\bcreateLocalEditorHarness\\b/.test(content) && /\\bcontextActions\\b/.test(content)) {\n diagnostics.push({\n severity: options.hierarchyContextActionSeverity ?? 'warning',\n code: 'hard-cut.hierarchy-actions.direct-harness',\n path: file.filePath,\n message: 'Direct harness hierarchy.contextActions detected; move custom hierarchy actions to capabilities.hierarchyActions.contextActions.',\n });\n }\n const retiredBypassPattern = new RegExp(`\\\\binstall${'Leg' + 'acy'}AssetCommandBypass\\\\b|__project${'Leg' + 'acy'}AssetBypass`);\n if (retiredBypassPattern.test(content)) {\n diagnostics.push({\n severity: options.retiredAssetBypassSeverity ?? 'error',\n code: 'hard-cut.asset-bypass.retired-helper',\n path: file.filePath,\n message: 'A retired asset command bypass helper was detected; delete it and use product asset capabilities.',\n });\n }\n const retiredRuntimePattern = new RegExp(\n `__bridge${'Leg' + 'acy'}EditorRuntime|register${'Leg' + 'acy'}RuntimeProxy|install${'Leg' + 'acy'}CommandBypass`,\n );\n if (retiredRuntimePattern.test(content)) {\n diagnostics.push({\n severity: 'error',\n code: 'hard-cut.runtime.retired-bridge',\n path: file.filePath,\n message: 'A retired runtime bridge/global was detected; remove it and mount the product editor adapter directly.',\n });\n }\n const deprecatedAuthoredFields = collectDeprecatedAuthoredFields(file.filePath, content);\n for (const field of deprecatedAuthoredFields) {\n diagnostics.push({\n severity: 'error',\n code: 'hard-cut.schema.deprecated-field',\n path: file.filePath,\n details: { field },\n message: `Deprecated authored field ${field} is unsupported; migrate the authored source to the current contract.`,\n });\n }\n if (\n /\\bhandleProjectAssetCommand\\b/.test(content)\n && /\\b(asset\\.import|asset\\.library\\.refresh|editor\\.asset\\.place|ASSET_IMPORT|ASSET_LIBRARY_REFRESH|EDITOR_ASSET_PLACE)\\b/.test(content)\n && !/\\bcreatePlayableProjectAssetCommandHandler\\b/.test(content)\n ) {\n diagnostics.push({\n severity: options.projectAssetCommandGlueSeverity ?? 'warning',\n code: 'migration.project-asset-command.local-glue',\n path: file.filePath,\n message: 'Project asset command glue detected; consider createPlayableProjectAssetCommandHandler and keep only project registration/placement policies local.',\n });\n }\n if (\n /\\bimportProjectionModel\\b/.test(content)\n && !/\\bcreateEditorSceneRuntimePreviewImportPlan\\b/.test(content)\n ) {\n diagnostics.push({\n severity: options.runtimePreviewProjectionSeverity ?? 'info',\n code: 'migration.runtime-preview.projection-plan-missing',\n path: file.filePath,\n message: 'Projection import logic is present without the SDK runtime preview import plan helper; verify asset URL and projection diagnostics during migration.',\n });\n }\n return diagnostics;\n}\n\nfunction collectDeprecatedAuthoredFields(filePath: string, content: string): string[] {\n if (/\\.json$/i.test(filePath)) {\n try {\n const value = JSON.parse(content) as unknown;\n const fields = new Set<string>();\n collectDeprecatedJsonFields(value, [], fields);\n return [...fields];\n } catch {\n return [];\n }\n }\n // Authored scene schemas are structured JSON. TypeScript project code is\n // covered by import/runtime checks and must not be guessed through regexes.\n return [];\n}\n\nfunction collectDeprecatedJsonFields(value: unknown, path: string[], fields: Set<string>): void {\n if (Array.isArray(value)) {\n value.forEach(entry => collectDeprecatedJsonFields(entry, path, fields));\n return;\n }\n if (!isRecord(value)) return;\n for (const field of ['shadowMode', 'sceneInstances', 'modelRegistry', 'childMaterialBindings', 'childMaterials', 'useBlobShadow', 'blobSettings']) {\n if (field in value) fields.add(field);\n }\n if (path[path.length - 1] === 'globalVolume' && 'samples' in value) fields.add('globalVolume.samples');\n if (value.kind === 'box' && path.slice(-2).join('.') === 'marker.geometry') {\n for (const field of ['coordinateSpace', 'center', 'size', 'rotation']) if (field in value) fields.add(`marker.geometry.${field}`);\n }\n if (path.slice(-3).join('.') === 'shadows.staticProjected.bake') {\n for (const field of ['resolution', 'maxSize']) if (field in value) fields.add(`shadows.staticProjected.bake.${field}`);\n }\n if (path.slice(-2).join('.') === 'globalVolume.environment') {\n for (const field of ['textureAssetId', 'textureUrl', 'intensity']) if (field in value) fields.add(`globalVolume.environment.${field}`);\n }\n for (const [key, child] of Object.entries(value)) {\n if (key !== 'metadata') collectDeprecatedJsonFields(child, [...path, key], fields);\n }\n}\n\nfunction inspectFileImports(\n file: PlayableEditorImportSnapshotFile,\n forbiddenPackages: readonly string[],\n forbiddenPackageSeverity: PlayableEditorDoctorDiagnostic['severity'],\n): PlayableEditorDoctorDiagnostic[] {\n const diagnostics: PlayableEditorDoctorDiagnostic[] = [];\n let imports: string[];\n try {\n imports = readImportSpecifiers(file.content, file.filePath);\n } catch (error) {\n return [{\n severity: 'error',\n code: 'import.boundary.parse-error',\n path: file.filePath,\n message: `Unable to parse project module for import-boundary validation: ${error instanceof Error ? error.message : String(error)}`,\n }];\n }\n for (const specifier of imports) {\n if (specifier === PLAYABLE_RUNTIME_SUBPATH || specifier === PLAYABLE_RUNTIME_BABYLON_SUBPATH) continue;\n if (specifier === '@fps-games/editor' && isPublicEditorProductEntryFile(file.filePath)) continue;\n if (specifier === '@fps-games/editor/vite' && (isViteConfigFile(file.filePath) || isProjectScriptFile(file.filePath))) continue;\n if (specifier.startsWith(PLAYABLE_SDK_SUBPATH_PREFIX)) {\n const isAllowedUpgradeDoctorSubpath =\n specifier === PLAYABLE_SDK_UPGRADE_DOCTOR_SUBPATH\n && isProjectScriptFile(file.filePath);\n const isAllowedViteSubpath =\n specifier === PLAYABLE_SDK_VITE_SUBPATH\n && (\n isViteConfigFile(file.filePath)\n || isProjectScriptFile(file.filePath)\n );\n if (isAllowedUpgradeDoctorSubpath || isAllowedViteSubpath) {\n continue;\n }\n diagnostics.push({\n severity: 'error',\n code: 'import.boundary.playable-sdk-subpath',\n source: specifier,\n path: file.filePath,\n message: 'Import @fps-games/editor/playable-sdk only through the public aggregate subpath.',\n });\n continue;\n }\n const directEditorPackage = findMatchingForbiddenPackage(specifier, DIRECT_EDITOR_IMPORTS);\n if (directEditorPackage && specifier !== '@fps-games/editor/playable-sdk') {\n diagnostics.push({\n severity: 'error',\n code: directEditorPackage === '@fps-games/editor'\n ? 'import.boundary.direct-editor'\n : 'import.boundary.direct-editor-core',\n source: specifier,\n path: file.filePath,\n message: `New playable editor integration code should import stable contracts from @fps-games/editor/playable-sdk instead of ${specifier}.`,\n });\n continue;\n }\n const forbiddenPackage = findMatchingForbiddenPackage(specifier, forbiddenPackages);\n if (forbiddenPackage) {\n diagnostics.push({\n severity: forbiddenPackageSeverity,\n code: 'import.boundary.forbidden-package',\n source: specifier,\n path: file.filePath,\n details: { packageName: forbiddenPackage },\n message: `Import ${forbiddenPackage} directly couples to editor internals. Consider using @fps-games/editor/playable-sdk facade exports instead.`,\n });\n }\n }\n return diagnostics;\n}\n\nfunction isViteConfigFile(filePath: string): boolean {\n const normalized = normalizeFilePath(filePath);\n return !normalized.includes('/') && /^vite\\.config\\.(?:[cm]?[jt]s)$/.test(normalized);\n}\n\nfunction isPublicEditorProductEntryFile(filePath: string): boolean {\n if (isFpsConfigFile(filePath) || isProjectScriptFile(filePath)) return true;\n const normalized = normalizeFilePath(filePath);\n return /(?:^|\\/)src\\/(?:editor-features|services\\/fps-game-editor)\\/plugin-host\\.(?:[cm]?[jt]s)$/.test(normalized);\n}\n\nfunction isFpsConfigFile(filePath: string): boolean {\n const normalized = normalizeFilePath(filePath);\n return /(?:^|\\/)fps\\.config\\.(?:[cm]?[jt]s)$/.test(normalized);\n}\n\nfunction normalizeForbiddenPackages(packages: readonly string[]): string[] {\n const normalized: string[] = [];\n for (const packageName of packages) {\n const trimmed = packageName.trim();\n if (trimmed.length > 0 && !normalized.includes(trimmed)) {\n normalized.push(trimmed);\n }\n }\n return normalized;\n}\n\nfunction findMatchingForbiddenPackage(specifier: string, forbiddenPackages: readonly string[]): string | undefined {\n return forbiddenPackages.find(packageName => specifier === packageName || specifier.startsWith(`${packageName}/`));\n}\n\nfunction readImportSpecifiers(content: string, filePath: string): string[] {\n const supportsJsx = /\\.[cm]?[jt]sx$/i.test(filePath);\n const root = parse(content, {\n sourceType: 'unambiguous',\n allowAwaitOutsideFunction: true,\n allowReturnOutsideFunction: true,\n plugins: [\n 'typescript',\n ...(supportsJsx ? ['jsx' as const] : []),\n 'decorators',\n 'importAttributes',\n ],\n });\n const specifiers: string[] = [];\n visitBabelNode(root, (node) => {\n const type = readBabelNodeType(node);\n if (type === 'ImportDeclaration' || type === 'ExportNamedDeclaration' || type === 'ExportAllDeclaration') {\n const source = readBabelStaticString(node.source);\n if (source) specifiers.push(source);\n return;\n }\n if (type === 'ImportExpression') {\n const source = readBabelStaticString(node.source);\n if (source) specifiers.push(source);\n return;\n }\n if (type === 'TSExternalModuleReference') {\n const source = readBabelStaticString(node.expression);\n if (source) specifiers.push(source);\n return;\n }\n if (type === 'TSImportType') {\n const source = readBabelStaticString(node.argument);\n if (source) specifiers.push(source);\n return;\n }\n if (type !== 'CallExpression' && type !== 'OptionalCallExpression') return;\n if (!isBabelStaticModuleLoader(node.callee)) return;\n const source = readBabelStaticString(Array.isArray(node.arguments) ? node.arguments[0] : null);\n if (source) specifiers.push(source);\n });\n return specifiers;\n}\n\nfunction visitBabelNode(value: unknown, visit: (node: Record<string, unknown>) => void): void {\n if (Array.isArray(value)) {\n for (const entry of value) visitBabelNode(entry, visit);\n return;\n }\n if (!isRecord(value) || typeof value.type !== 'string') return;\n visit(value);\n for (const [key, child] of Object.entries(value)) {\n if (key === 'loc' || key === 'start' || key === 'end' || key === 'extra' || key === 'comments' || key === 'tokens') continue;\n visitBabelNode(child, visit);\n }\n}\n\nfunction readBabelNodeType(value: unknown): string | null {\n return isRecord(value) && typeof value.type === 'string' ? value.type : null;\n}\n\nfunction readBabelStaticString(value: unknown): string | null {\n if (!isRecord(value)) return null;\n if (value.type === 'StringLiteral' && typeof value.value === 'string') return value.value;\n if (value.type === 'TemplateLiteral' && Array.isArray(value.expressions) && value.expressions.length === 0) {\n const quasi = Array.isArray(value.quasis) ? value.quasis[0] : null;\n const cooked = isRecord(quasi) && isRecord(quasi.value) ? quasi.value.cooked : null;\n return typeof cooked === 'string' ? cooked : null;\n }\n return null;\n}\n\nfunction isBabelStaticModuleLoader(value: unknown): boolean {\n if (!isRecord(value)) return false;\n if (value.type === 'Import') return true;\n if (value.type === 'Identifier') return value.name === 'require';\n if (value.type !== 'MemberExpression' && value.type !== 'OptionalMemberExpression') return false;\n const objectName = readBabelIdentifierName(value.object);\n const propertyName = value.computed\n ? readBabelStaticString(value.property)\n : readBabelIdentifierName(value.property);\n return (objectName === 'module' && propertyName === 'require')\n || (objectName === 'require' && propertyName === 'resolve');\n}\n\nfunction readBabelIdentifierName(value: unknown): string | null {\n return isRecord(value) && value.type === 'Identifier' && typeof value.name === 'string' ? value.name : null;\n}\n\nfunction isUsablePackageExportTarget(value: unknown): boolean {\n if (typeof value === 'string') {\n if (!/^\\.\\/.+\\.(?:[cm]?js|json|node)$/.test(value)) return false;\n return value.slice(2).split('/').every(isUsablePackageTargetSegment);\n }\n if (Array.isArray(value)) return value.some(isUsablePackageExportTarget);\n if (!isRecord(value)) return false;\n const entries = Object.entries(value);\n if (entries.some(([condition]) => !/^[A-Za-z][A-Za-z0-9_-]*$/.test(condition))) return false;\n return entries.some(([condition, target]) => condition !== 'types' && isUsablePackageExportTarget(target));\n}\n\nfunction isUsableNodePackageExportTarget(value: unknown): boolean {\n if (typeof value === 'string') return isUsablePackageExportTarget(value);\n if (Array.isArray(value)) return value.some(isUsableNodePackageExportTarget);\n if (!isRecord(value)) return false;\n const entries = Object.entries(value);\n if (entries.some(([condition]) => !/^[A-Za-z][A-Za-z0-9_-]*$/.test(condition))) return false;\n for (const [condition, target] of entries) {\n if (condition !== 'node' && condition !== 'import' && condition !== 'default') continue;\n return isUsableNodePackageExportTarget(target);\n }\n return false;\n}\n\nfunction isUsablePackageTargetSegment(segment: string): boolean {\n if (!segment) return false;\n try {\n const decoded = decodeURIComponent(segment);\n return decoded !== '.'\n && decoded !== '..'\n && decoded.toLowerCase() !== 'node_modules'\n && !decoded.includes('/')\n && !decoded.includes('\\\\');\n } catch {\n return false;\n }\n}\n\nfunction isProjectScriptFile(filePath: string): boolean {\n return normalizeFilePath(filePath).startsWith('scripts/');\n}\n\nfunction normalizeFilePath(filePath: string): string {\n return filePath.replace(/\\\\/g, '/').replace(/\\/+/g, '/').replace(/^\\.\\//, '');\n}\n\nfunction isExactDependencyVersion(value: string): boolean {\n return /^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z]+(?:\\.[0-9A-Za-z]+)*)?$/.test(value.trim());\n}\n\nfunction readString(value: unknown): string | undefined {\n return typeof value === 'string' && value.trim().length > 0 ? value : undefined;\n}\n\nfunction readSeverity(value: unknown): PlayableEditorDoctorDiagnostic['severity'] | undefined {\n return value === 'error' || value === 'warning' || value === 'info' ? value : undefined;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\nfunction isImportSnapshot(value: PlayableEditorImportSnapshot | readonly PlayableEditorImportSnapshotFile[]): value is PlayableEditorImportSnapshot {\n return isRecord(value) && Array.isArray(value.files);\n}\n"]}
1
+ {"version":3,"file":"inspectors.js","sourceRoot":"","sources":["../../src/upgrade-doctor/inspectors.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6CAA6C,GAG9C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,gCAAgC,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,4CAA4C,EAAE,MAAM,QAAQ,CAAC;AActE,OAAO,EAAE,gCAAgC,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,wBAAwB,GAAG,gBAAgB,CAAC;AAClD,MAAM,uCAAuC,GAAG,+BAA+B,CAAC;AAChF,MAAM,6BAA6B,GAAG,qBAAqB,CAAC;AAC5D,MAAM,2BAA2B,GAAG,iC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wB,CAAC,KAAa;IAC7C,OAAO,sDAAsD,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC;AACnF,CAAC;AAED,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAClF,CAAC;AAED,SAAS,YAAY,CAAC,KAAc;IAClC,OAAO,KAAK,KAAK,OAAO,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAC1F,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAiF;IACzG,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACvD,CAAC","sourcesContent":["import {\n collectMissingPlayableEditorPackageAliasFiles,\n type PlayableEditorFileExists,\n type PlayableEditorPackageAliasPlan,\n} from '../package-resolution/index';\nimport { parse } from '@babel/parser';\nimport { createPlayableEditorDoctorReport } from './report';\nimport { inspectPlayableEditorHostCompatibilityReport } from './host';\nimport type {\n PlayableEditorDoctorDiagnostic,\n PlayableEditorDoctorReport,\n PlayableEditorImportBoundaryInspectionOptions,\n PlayableEditorImportSnapshot,\n PlayableEditorImportSnapshotFile,\n PlayableEditorInstalledVersionInspectionOptions,\n PlayableEditorInstalledVersionLike,\n PlayableEditorMigrationReadinessInspectionOptions,\n PlayableEditorPackageExportsInspectionOptions,\n PlayableEditorPackageExportsLike,\n PlayableEditorUpgradeReadinessInspectionInput,\n} from './types';\nimport { mergePlayableEditorDoctorReports } from './report';\n\nconst PLAYABLE_SDK_EXPORT_PATH = './playable-sdk';\nconst PLAYABLE_SDK_UPGRADE_DOCTOR_EXPORT_PATH = './playable-sdk/upgrade-doctor';\nconst PLAYABLE_SDK_VITE_EXPORT_PATH = './playable-sdk/vite';\nconst PLAYABLE_SDK_SUBPATH_PREFIX = '@fps-games/editor/playable-sdk/';\nconst PLAYABLE_SDK_UPGRADE_DOCTOR_SUBPATH = '@fps-games/editor/playable-sdk/upgrade-doctor';\nconst PLAYABLE_SDK_VITE_SUBPATH = '@fps-games/editor/playable-sdk/vite';\nconst PLAYABLE_RUNTIME_SUBPATH = '@fps-games/editor/playable-runtime';\nconst PLAYABLE_RUNTIME_BABYLON_SUBPATH = '@fps-games/editor/playable-runtime/babylon';\nconst DIRECT_EDITOR_IMPORTS = [\n '@fps-games/editor',\n '@fps-games/editor-core',\n] as const;\n\n/**\n * Default forbidden packages for new playable editor integration code.\n * These packages are internal to the editor framework and should not be\n * imported directly from project-side code. Use @fps-games/editor/playable-sdk\n * facade exports instead.\n */\nexport const PLAYABLE_EDITOR_DEFAULT_FORBIDDEN_PACKAGES: readonly string[] = [\n '@fps-games/editor-agent-bridge',\n '@fps-games/editor-babylon',\n '@fps-games/editor-browser',\n '@fps-games/editor-forge-play',\n '@fps-games/editor-playable-sdk',\n '@fps-games/editor-protocol',\n '@fps-games/babylon-renderer',\n];\n\nexport function inspectPlayableEditorPackageAliasPlan(\n plan: PlayableEditorPackageAliasPlan,\n fileExists: PlayableEditorFileExists,\n options: { title?: string } = {},\n): PlayableEditorDoctorReport {\n const missing = collectMissingPlayableEditorPackageAliasFiles(plan, fileExists);\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor package aliases',\n diagnostics: missing.map(entry => ({\n severity: 'error',\n code: 'package.alias.missing-file',\n source: entry.packageId,\n path: entry.file,\n message: `Package alias for ${entry.packageId} points to a missing file.`,\n })),\n });\n}\n\nexport function inspectPlayableEditorPackageExports(\n packageJson: PlayableEditorPackageExportsLike,\n options: PlayableEditorPackageExportsInspectionOptions = {},\n): PlayableEditorDoctorReport {\n const packageName = options.packageName ?? readString(packageJson.name) ?? '@fps-games/editor';\n const exportPath = options.playableSdkExportPath ?? PLAYABLE_SDK_EXPORT_PATH;\n const upgradeDoctorExportPath = options.playableSdkUpgradeDoctorExportPath ?? PLAYABLE_SDK_UPGRADE_DOCTOR_EXPORT_PATH;\n const viteExportPath = options.playableSdkViteExportPath ?? PLAYABLE_SDK_VITE_EXPORT_PATH;\n const diagnostics: PlayableEditorDoctorDiagnostic[] = [];\n\n if (!isRecord(packageJson.exports)) {\n diagnostics.push({\n severity: 'error',\n code: 'package.export.invalid',\n source: packageName,\n path: 'exports',\n message: `Package ${packageName} must expose an object exports map.`,\n });\n } else {\n for (const requiredExportPath of [exportPath, upgradeDoctorExportPath, viteExportPath]) {\n const hasExport = requiredExportPath in packageJson.exports;\n const usableTarget = hasExport && (\n requiredExportPath === upgradeDoctorExportPath\n ? isUsableNodePackageExportTarget(packageJson.exports[requiredExportPath])\n : isUsablePackageExportTarget(packageJson.exports[requiredExportPath])\n );\n if (usableTarget) continue;\n diagnostics.push({\n severity: 'error',\n code: hasExport ? 'package.export.invalid-target' : 'package.export.missing',\n source: packageName,\n path: `exports[\"${requiredExportPath}\"]`,\n message: hasExport\n ? `Package ${packageName} has no usable runtime target for the ${requiredExportPath} export.`\n : `Package ${packageName} is missing the ${requiredExportPath} export.`,\n });\n }\n }\n\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor package exports',\n diagnostics,\n });\n}\n\nexport function inspectPlayableEditorInstalledVersion(\n packageJson: PlayableEditorInstalledVersionLike,\n options: PlayableEditorInstalledVersionInspectionOptions = {},\n): PlayableEditorDoctorReport {\n const packageName = options.packageName\n ?? readString(packageJson.packageName)\n ?? '@fps-games/editor';\n const declaredVersion = readString(packageJson.declaredVersion);\n const installedVersion = readString(packageJson.installedVersion);\n const source = readString(packageJson.source) ?? packageName;\n const diagnostics: PlayableEditorDoctorDiagnostic[] = [];\n\n if (declaredVersion && installedVersion && isExactDependencyVersion(declaredVersion) && declaredVersion !== installedVersion) {\n diagnostics.push({\n severity: options.exactMismatchSeverity ?? 'error',\n code: 'package.version.installed-mismatch',\n source,\n path: 'dependencies',\n details: { packageName, declaredVersion, installedVersion },\n message: `Project declares ${packageName}@${declaredVersion}, but node_modules contains ${installedVersion}. Reinstall dependencies and restart the dev server.`,\n });\n }\n\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor installed version',\n diagnostics,\n });\n}\n\nexport function createPlayableEditorImportSnapshot(\n files: readonly PlayableEditorImportSnapshotFile[],\n): PlayableEditorImportSnapshot {\n return {\n files: files.map(file => ({\n filePath: file.filePath,\n content: file.content,\n })),\n };\n}\n\nexport function inspectPlayableEditorImportBoundaries(\n snapshot: PlayableEditorImportSnapshot | readonly PlayableEditorImportSnapshotFile[],\n options: PlayableEditorImportBoundaryInspectionOptions = {},\n): PlayableEditorDoctorReport {\n const files: readonly PlayableEditorImportSnapshotFile[] = isImportSnapshot(snapshot)\n ? snapshot.files\n : snapshot;\n const forbiddenPackages = normalizeForbiddenPackages(\n options.forbiddenPackages ?? PLAYABLE_EDITOR_DEFAULT_FORBIDDEN_PACKAGES,\n );\n const forbiddenPackageSeverity = options.forbiddenPackageSeverity ?? 'warning';\n const diagnostics = files.flatMap(file =>\n inspectFileImports(file, forbiddenPackages, forbiddenPackageSeverity),\n );\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor import boundaries',\n diagnostics,\n });\n}\n\nexport function inspectPlayableEditorMigrationReadiness(\n snapshot: PlayableEditorImportSnapshot | readonly PlayableEditorImportSnapshotFile[],\n options: PlayableEditorMigrationReadinessInspectionOptions = {},\n): PlayableEditorDoctorReport {\n const files: readonly PlayableEditorImportSnapshotFile[] = isImportSnapshot(snapshot)\n ? snapshot.files\n : snapshot;\n const diagnostics = files.flatMap(file => inspectMigrationReadinessFile(file, options));\n return createPlayableEditorDoctorReport({\n title: options.title ?? 'Playable editor hard-cut readiness',\n diagnostics,\n });\n}\n\nexport function inspectPlayableEditorUpgradeReadiness(\n input: PlayableEditorUpgradeReadinessInspectionInput = {},\n): PlayableEditorDoctorReport {\n const reports: PlayableEditorDoctorReport[] = [];\n if (input.hostCompatibility) {\n reports.push(inspectPlayableEditorHostCompatibilityReport(\n input.hostCompatibility.report,\n input.hostCompatibility.options,\n ));\n }\n if (input.packageAliasPlan) {\n reports.push(inspectPlayableEditorPackageAliasPlan(\n input.packageAliasPlan.plan,\n input.packageAliasPlan.fileExists,\n { title: input.packageAliasPlan.title },\n ));\n }\n if (input.packageExports) {\n reports.push(inspectPlayableEditorPackageExports(\n input.packageExports.packageJson,\n input.packageExports.options,\n ));\n }\n if (input.installedVersion) {\n reports.push(inspectPlayableEditorInstalledVersion(\n input.installedVersion.packageJson,\n input.installedVersion.options,\n ));\n }\n if (input.importBoundaries) {\n reports.push(inspectPlayableEditorImportBoundaries(\n input.importBoundaries.snapshot,\n input.importBoundaries.options,\n ));\n }\n if (input.migrationReadiness) {\n reports.push(inspectPlayableEditorMigrationReadiness(\n input.migrationReadiness.snapshot,\n input.migrationReadiness.options,\n ));\n }\n return mergePlayableEditorDoctorReports(reports, {\n title: input.title ?? 'Playable editor upgrade readiness',\n });\n}\n\nfunction inspectMigrationReadinessFile(\n file: PlayableEditorImportSnapshotFile,\n options: PlayableEditorMigrationReadinessInspectionOptions,\n): PlayableEditorDoctorDiagnostic[] {\n const diagnostics: PlayableEditorDoctorDiagnostic[] = [];\n const content = file.content;\n if (/\\bassertRuntimeSceneConfig(?:ModulePath|ExportName)\\b/.test(content)) {\n diagnostics.push({\n severity: 'warning',\n code: 'hard-cut.scene-artifact.project-validator-hook-removed',\n path: file.filePath,\n message: 'Removed project SceneArtifact validator hook detected; delete assertRuntimeSceneConfigModulePath/assertRuntimeSceneConfigExportName because @fps-games/editor/playable-sdk now validates the canonical runtime artifact.',\n });\n }\n if (/\\bhierarchyContextActions\\b/.test(content)) {\n diagnostics.push({\n severity: options.hierarchyContextActionSeverity ?? 'warning',\n code: 'hard-cut.hierarchy-actions.browser-callbacks-removed',\n path: file.filePath,\n message: 'Removed hierarchyContextActions Browser callback API detected; migrate each action to a typed capabilities.hierarchyActions.operations contribution.',\n });\n }\n if (/\\bcreateLocalEditorHarness\\b/.test(content) && /\\bcontextActions\\b/.test(content)) {\n diagnostics.push({\n severity: options.hierarchyContextActionSeverity ?? 'warning',\n code: 'hard-cut.hierarchy-actions.direct-harness',\n path: file.filePath,\n message: 'Removed hierarchy.contextActions API detected; migrate each action to a typed capabilities.hierarchyActions.operations contribution.',\n });\n }\n if (/\\bhierarchyActions\\b/.test(content) && /\\bcontextActions\\b/.test(content)) {\n diagnostics.push({\n severity: options.hierarchyContextActionSeverity ?? 'warning',\n code: 'hard-cut.hierarchy-actions.context-actions-removed',\n path: file.filePath,\n message: 'Removed capabilities.hierarchyActions.contextActions API detected; use capabilities.hierarchyActions.operations.',\n });\n }\n const retiredBypassPattern = new RegExp(`\\\\binstall${'Leg' + 'acy'}AssetCommandBypass\\\\b|__project${'Leg' + 'acy'}AssetBypass`);\n if (retiredBypassPattern.test(content)) {\n diagnostics.push({\n severity: options.retiredAssetBypassSeverity ?? 'error',\n code: 'hard-cut.asset-bypass.retired-helper',\n path: file.filePath,\n message: 'A retired asset command bypass helper was detected; delete it and use product asset capabilities.',\n });\n }\n const retiredRuntimePattern = new RegExp(\n `__bridge${'Leg' + 'acy'}EditorRuntime|register${'Leg' + 'acy'}RuntimeProxy|install${'Leg' + 'acy'}CommandBypass`,\n );\n if (retiredRuntimePattern.test(content)) {\n diagnostics.push({\n severity: 'error',\n code: 'hard-cut.runtime.retired-bridge',\n path: file.filePath,\n message: 'A retired runtime bridge/global was detected; remove it and mount the product editor adapter directly.',\n });\n }\n const deprecatedAuthoredFields = collectDeprecatedAuthoredFields(file.filePath, content);\n for (const field of deprecatedAuthoredFields) {\n diagnostics.push({\n severity: 'error',\n code: 'hard-cut.schema.deprecated-field',\n path: file.filePath,\n details: { field },\n message: `Deprecated authored field ${field} is unsupported; migrate the authored source to the current contract.`,\n });\n }\n if (\n /\\bhandleProjectAssetCommand\\b/.test(content)\n && /\\b(asset\\.import|asset\\.library\\.refresh|editor\\.asset\\.place|ASSET_IMPORT|ASSET_LIBRARY_REFRESH|EDITOR_ASSET_PLACE)\\b/.test(content)\n && !/\\bcreatePlayableProjectAssetCommandHandler\\b/.test(content)\n ) {\n diagnostics.push({\n severity: options.projectAssetCommandGlueSeverity ?? 'warning',\n code: 'migration.project-asset-command.local-glue',\n path: file.filePath,\n message: 'Project asset command glue detected; consider createPlayableProjectAssetCommandHandler and keep only project registration/placement policies local.',\n });\n }\n if (\n /\\bimportProjectionModel\\b/.test(content)\n && !/\\bcreateEditorSceneRuntimePreviewImportPlan\\b/.test(content)\n ) {\n diagnostics.push({\n severity: options.runtimePreviewProjectionSeverity ?? 'info',\n code: 'migration.runtime-preview.projection-plan-missing',\n path: file.filePath,\n message: 'Projection import logic is present without the SDK runtime preview import plan helper; verify asset URL and projection diagnostics during migration.',\n });\n }\n return diagnostics;\n}\n\nfunction collectDeprecatedAuthoredFields(filePath: string, content: string): string[] {\n if (/\\.json$/i.test(filePath)) {\n try {\n const value = JSON.parse(content) as unknown;\n const fields = new Set<string>();\n collectDeprecatedJsonFields(value, [], fields);\n return [...fields];\n } catch {\n return [];\n }\n }\n // Authored scene schemas are structured JSON. TypeScript project code is\n // covered by import/runtime checks and must not be guessed through regexes.\n return [];\n}\n\nfunction collectDeprecatedJsonFields(value: unknown, path: string[], fields: Set<string>): void {\n if (Array.isArray(value)) {\n value.forEach(entry => collectDeprecatedJsonFields(entry, path, fields));\n return;\n }\n if (!isRecord(value)) return;\n for (const field of ['shadowMode', 'sceneInstances', 'modelRegistry', 'childMaterialBindings', 'childMaterials', 'useBlobShadow', 'blobSettings']) {\n if (field in value) fields.add(field);\n }\n if (path[path.length - 1] === 'globalVolume') {\n for (const field of ['samples', 'camera', 'lights']) {\n if (field in value) fields.add(`globalVolume.${field}`);\n }\n }\n if (value.kind === 'box' && path.slice(-2).join('.') === 'marker.geometry') {\n for (const field of ['coordinateSpace', 'center', 'size', 'rotation']) if (field in value) fields.add(`marker.geometry.${field}`);\n }\n if (path.slice(-3).join('.') === 'shadows.staticProjected.bake') {\n for (const field of ['resolution', 'maxSize']) if (field in value) fields.add(`shadows.staticProjected.bake.${field}`);\n }\n if (path.slice(-2).join('.') === 'globalVolume.environment') {\n for (const field of ['textureAssetId', 'textureUrl', 'intensity']) if (field in value) fields.add(`globalVolume.environment.${field}`);\n }\n for (const [key, child] of Object.entries(value)) {\n if (key !== 'metadata') collectDeprecatedJsonFields(child, [...path, key], fields);\n }\n}\n\nfunction inspectFileImports(\n file: PlayableEditorImportSnapshotFile,\n forbiddenPackages: readonly string[],\n forbiddenPackageSeverity: PlayableEditorDoctorDiagnostic['severity'],\n): PlayableEditorDoctorDiagnostic[] {\n const diagnostics: PlayableEditorDoctorDiagnostic[] = [];\n let imports: string[];\n try {\n imports = readImportSpecifiers(file.content, file.filePath);\n } catch (error) {\n return [{\n severity: 'error',\n code: 'import.boundary.parse-error',\n path: file.filePath,\n message: `Unable to parse project module for import-boundary validation: ${error instanceof Error ? error.message : String(error)}`,\n }];\n }\n for (const specifier of imports) {\n if (specifier === PLAYABLE_RUNTIME_SUBPATH || specifier === PLAYABLE_RUNTIME_BABYLON_SUBPATH) continue;\n if (specifier === '@fps-games/editor' && isPublicEditorProductEntryFile(file.filePath)) continue;\n if (specifier === '@fps-games/editor/vite' && (isViteConfigFile(file.filePath) || isProjectScriptFile(file.filePath))) continue;\n if (specifier.startsWith(PLAYABLE_SDK_SUBPATH_PREFIX)) {\n const isAllowedUpgradeDoctorSubpath =\n specifier === PLAYABLE_SDK_UPGRADE_DOCTOR_SUBPATH\n && isProjectScriptFile(file.filePath);\n const isAllowedViteSubpath =\n specifier === PLAYABLE_SDK_VITE_SUBPATH\n && (\n isViteConfigFile(file.filePath)\n || isProjectScriptFile(file.filePath)\n );\n if (isAllowedUpgradeDoctorSubpath || isAllowedViteSubpath) {\n continue;\n }\n diagnostics.push({\n severity: 'error',\n code: 'import.boundary.playable-sdk-subpath',\n source: specifier,\n path: file.filePath,\n message: 'Import @fps-games/editor/playable-sdk only through the public aggregate subpath.',\n });\n continue;\n }\n const directEditorPackage = findMatchingForbiddenPackage(specifier, DIRECT_EDITOR_IMPORTS);\n if (directEditorPackage && specifier !== '@fps-games/editor/playable-sdk') {\n diagnostics.push({\n severity: 'error',\n code: directEditorPackage === '@fps-games/editor'\n ? 'import.boundary.direct-editor'\n : 'import.boundary.direct-editor-core',\n source: specifier,\n path: file.filePath,\n message: `New playable editor integration code should import stable contracts from @fps-games/editor/playable-sdk instead of ${specifier}.`,\n });\n continue;\n }\n const forbiddenPackage = findMatchingForbiddenPackage(specifier, forbiddenPackages);\n if (forbiddenPackage) {\n diagnostics.push({\n severity: forbiddenPackageSeverity,\n code: 'import.boundary.forbidden-package',\n source: specifier,\n path: file.filePath,\n details: { packageName: forbiddenPackage },\n message: `Import ${forbiddenPackage} directly couples to editor internals. Consider using @fps-games/editor/playable-sdk facade exports instead.`,\n });\n }\n }\n return diagnostics;\n}\n\nfunction isViteConfigFile(filePath: string): boolean {\n const normalized = normalizeFilePath(filePath);\n return !normalized.includes('/') && /^vite\\.config\\.(?:[cm]?[jt]s)$/.test(normalized);\n}\n\nfunction isPublicEditorProductEntryFile(filePath: string): boolean {\n if (isFpsConfigFile(filePath) || isProjectScriptFile(filePath)) return true;\n const normalized = normalizeFilePath(filePath);\n return /(?:^|\\/)src\\/(?:editor-features|services\\/fps-game-editor)\\/plugin-host\\.(?:[cm]?[jt]s)$/.test(normalized);\n}\n\nfunction isFpsConfigFile(filePath: string): boolean {\n const normalized = normalizeFilePath(filePath);\n return /(?:^|\\/)fps\\.config\\.(?:[cm]?[jt]s)$/.test(normalized);\n}\n\nfunction normalizeForbiddenPackages(packages: readonly string[]): string[] {\n const normalized: string[] = [];\n for (const packageName of packages) {\n const trimmed = packageName.trim();\n if (trimmed.length > 0 && !normalized.includes(trimmed)) {\n normalized.push(trimmed);\n }\n }\n return normalized;\n}\n\nfunction findMatchingForbiddenPackage(specifier: string, forbiddenPackages: readonly string[]): string | undefined {\n return forbiddenPackages.find(packageName => specifier === packageName || specifier.startsWith(`${packageName}/`));\n}\n\nfunction readImportSpecifiers(content: string, filePath: string): string[] {\n const supportsJsx = /\\.[cm]?[jt]sx$/i.test(filePath);\n const root = parse(content, {\n sourceType: 'unambiguous',\n allowAwaitOutsideFunction: true,\n allowReturnOutsideFunction: true,\n plugins: [\n 'typescript',\n ...(supportsJsx ? ['jsx' as const] : []),\n 'decorators',\n 'importAttributes',\n ],\n });\n const specifiers: string[] = [];\n visitBabelNode(root, (node) => {\n const type = readBabelNodeType(node);\n if (type === 'ImportDeclaration' || type === 'ExportNamedDeclaration' || type === 'ExportAllDeclaration') {\n const source = readBabelStaticString(node.source);\n if (source) specifiers.push(source);\n return;\n }\n if (type === 'ImportExpression') {\n const source = readBabelStaticString(node.source);\n if (source) specifiers.push(source);\n return;\n }\n if (type === 'TSExternalModuleReference') {\n const source = readBabelStaticString(node.expression);\n if (source) specifiers.push(source);\n return;\n }\n if (type === 'TSImportType') {\n const source = readBabelStaticString(node.argument);\n if (source) specifiers.push(source);\n return;\n }\n if (type !== 'CallExpression' && type !== 'OptionalCallExpression') return;\n if (!isBabelStaticModuleLoader(node.callee)) return;\n const source = readBabelStaticString(Array.isArray(node.arguments) ? node.arguments[0] : null);\n if (source) specifiers.push(source);\n });\n return specifiers;\n}\n\nfunction visitBabelNode(value: unknown, visit: (node: Record<string, unknown>) => void): void {\n if (Array.isArray(value)) {\n for (const entry of value) visitBabelNode(entry, visit);\n return;\n }\n if (!isRecord(value) || typeof value.type !== 'string') return;\n visit(value);\n for (const [key, child] of Object.entries(value)) {\n if (key === 'loc' || key === 'start' || key === 'end' || key === 'extra' || key === 'comments' || key === 'tokens') continue;\n visitBabelNode(child, visit);\n }\n}\n\nfunction readBabelNodeType(value: unknown): string | null {\n return isRecord(value) && typeof value.type === 'string' ? value.type : null;\n}\n\nfunction readBabelStaticString(value: unknown): string | null {\n if (!isRecord(value)) return null;\n if (value.type === 'StringLiteral' && typeof value.value === 'string') return value.value;\n if (value.type === 'TemplateLiteral' && Array.isArray(value.expressions) && value.expressions.length === 0) {\n const quasi = Array.isArray(value.quasis) ? value.quasis[0] : null;\n const cooked = isRecord(quasi) && isRecord(quasi.value) ? quasi.value.cooked : null;\n return typeof cooked === 'string' ? cooked : null;\n }\n return null;\n}\n\nfunction isBabelStaticModuleLoader(value: unknown): boolean {\n if (!isRecord(value)) return false;\n if (value.type === 'Import') return true;\n if (value.type === 'Identifier') return value.name === 'require';\n if (value.type !== 'MemberExpression' && value.type !== 'OptionalMemberExpression') return false;\n const objectName = readBabelIdentifierName(value.object);\n const propertyName = value.computed\n ? readBabelStaticString(value.property)\n : readBabelIdentifierName(value.property);\n return (objectName === 'module' && propertyName === 'require')\n || (objectName === 'require' && propertyName === 'resolve');\n}\n\nfunction readBabelIdentifierName(value: unknown): string | null {\n return isRecord(value) && value.type === 'Identifier' && typeof value.name === 'string' ? value.name : null;\n}\n\nfunction isUsablePackageExportTarget(value: unknown): boolean {\n if (typeof value === 'string') {\n if (!/^\\.\\/.+\\.(?:[cm]?js|json|node)$/.test(value)) return false;\n return value.slice(2).split('/').every(isUsablePackageTargetSegment);\n }\n if (Array.isArray(value)) return value.some(isUsablePackageExportTarget);\n if (!isRecord(value)) return false;\n const entries = Object.entries(value);\n if (entries.some(([condition]) => !/^[A-Za-z][A-Za-z0-9_-]*$/.test(condition))) return false;\n return entries.some(([condition, target]) => condition !== 'types' && isUsablePackageExportTarget(target));\n}\n\nfunction isUsableNodePackageExportTarget(value: unknown): boolean {\n if (typeof value === 'string') return isUsablePackageExportTarget(value);\n if (Array.isArray(value)) return value.some(isUsableNodePackageExportTarget);\n if (!isRecord(value)) return false;\n const entries = Object.entries(value);\n if (entries.some(([condition]) => !/^[A-Za-z][A-Za-z0-9_-]*$/.test(condition))) return false;\n for (const [condition, target] of entries) {\n if (condition !== 'node' && condition !== 'import' && condition !== 'default') continue;\n return isUsableNodePackageExportTarget(target);\n }\n return false;\n}\n\nfunction isUsablePackageTargetSegment(segment: string): boolean {\n if (!segment) return false;\n try {\n const decoded = decodeURIComponent(segment);\n return decoded !== '.'\n && decoded !== '..'\n && decoded.toLowerCase() !== 'node_modules'\n && !decoded.includes('/')\n && !decoded.includes('\\\\');\n } catch {\n return false;\n }\n}\n\nfunction isProjectScriptFile(filePath: string): boolean {\n return normalizeFilePath(filePath).startsWith('scripts/');\n}\n\nfunction normalizeFilePath(filePath: string): string {\n return filePath.replace(/\\\\/g, '/').replace(/\\/+/g, '/').replace(/^\\.\\//, '');\n}\n\nfunction isExactDependencyVersion(value: string): boolean {\n return /^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z]+(?:\\.[0-9A-Za-z]+)*)?$/.test(value.trim());\n}\n\nfunction readString(value: unknown): string | undefined {\n return typeof value === 'string' && value.trim().length > 0 ? value : undefined;\n}\n\nfunction readSeverity(value: unknown): PlayableEditorDoctorDiagnostic['severity'] | undefined {\n return value === 'error' || value === 'warning' || value === 'info' ? value : undefined;\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\nfunction isImportSnapshot(value: PlayableEditorImportSnapshot | readonly PlayableEditorImportSnapshotFile[]): value is PlayableEditorImportSnapshot {\n return isRecord(value) && Array.isArray(value.files);\n}\n"]}
@@ -1,4 +1,5 @@
1
1
  import type { ViteDevServer } from 'vite';
2
+ import { type ShadowMapExperimentConfig } from '@fps-games/playable-rendering';
2
3
  export interface PlayableViteEditorSceneLoadServices {
3
4
  ensureAuthoringSource(editorScene: Record<string, unknown>): Record<string, unknown>;
4
5
  detectRuntimeInputDrift(editorScene: Record<string, unknown>, runtimeScene: unknown): unknown;
@@ -9,16 +10,18 @@ export interface PlayableViteEditorSceneSaveServices extends PlayableViteEditorS
9
10
  assertEditorSceneDocument(value: unknown): void;
10
11
  assertEditorSceneMaterialAssetIntegrity(editorScene: Record<string, unknown>): void;
11
12
  bumpEditorSceneAuthoringSourceRevision(editorScene: Record<string, unknown>): Record<string, unknown>;
12
- compileEditorSceneDocumentToSceneConfig(editorScene: Record<string, unknown>, previousSceneConfig: Record<string, unknown>): {
13
+ compileEditorSceneDocumentToSceneConfig(editorScene: Record<string, unknown>, previousSceneConfig: Record<string, unknown>, options?: {
14
+ shadowMapExperimentConfig?: ShadowMapExperimentConfig | null;
15
+ }): {
13
16
  sceneConfig: Record<string, unknown>;
14
17
  summary: Record<string, unknown>;
15
18
  };
16
- assertRuntimeSceneConfig(sceneConfig: Record<string, unknown>): void;
17
19
  }
18
20
  export interface PlayableViteEditorScenePaths {
19
21
  editorScenePath: string;
20
22
  scenePath: string;
21
23
  renderingConfigPath?: string;
24
+ shadowsConfigPath?: string;
22
25
  }
23
26
  export interface PlayableViteEditorSceneWorkflowOptions {
24
27
  projectRoot: string;
@@ -1 +1 @@
1
- {"version":3,"file":"editor-scene-workflow.d.ts","sourceRoot":"","sources":["../../src/vite/editor-scene-workflow.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AA0B1C,MAAM,WAAW,mCAAmC;IAClD,qBAAqB,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrF,uBAAuB,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,EAAE,OAAO,GAAG,OAAO,CAAC;IAC9F,+BAA+B,CAC7B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACpC,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,C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