@fps-games/editor 0.2.1-beta.3 → 0.2.1-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-info.json +44 -44
- package/dist/editor-commands/capabilities/assets.d.ts +8 -0
- package/dist/editor-commands/capabilities/assets.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/assets.js +41 -41
- package/dist/editor-commands/capabilities/assets.js.map +1 -0
- package/dist/editor-commands/capabilities/editor-state.d.ts +5 -0
- package/dist/editor-commands/capabilities/editor-state.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/editor-state.js +22 -22
- package/dist/editor-commands/capabilities/editor-state.js.map +1 -0
- package/dist/editor-commands/capabilities/hierarchy.d.ts +4 -0
- package/dist/editor-commands/capabilities/hierarchy.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/hierarchy.js +5 -5
- package/dist/editor-commands/capabilities/hierarchy.js.map +1 -0
- package/dist/editor-commands/capabilities/host-lifecycle.d.ts +11 -0
- package/dist/editor-commands/capabilities/host-lifecycle.d.ts.map +1 -0
- package/dist/editor-commands/capabilities/host-lifecycle.js +149 -0
- package/dist/editor-commands/capabilities/host-lifecycle.js.map +1 -0
- package/dist/editor-commands/capabilities/prefabs.d.ts +5 -0
- package/dist/editor-commands/capabilities/prefabs.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/prefabs.js +93 -93
- package/dist/editor-commands/capabilities/prefabs.js.map +1 -0
- package/dist/editor-commands/capabilities/scene-objects.d.ts +8 -0
- package/dist/editor-commands/capabilities/scene-objects.d.ts.map +1 -0
- package/dist/editor-commands/capabilities/scene-objects.js +480 -0
- package/dist/editor-commands/capabilities/scene-objects.js.map +1 -0
- package/dist/editor-commands/capabilities/selection.d.ts +5 -0
- package/dist/editor-commands/capabilities/selection.d.ts.map +1 -0
- package/dist/editor-commands/capabilities/selection.js +60 -0
- package/dist/editor-commands/capabilities/selection.js.map +1 -0
- package/dist/editor-commands/capabilities/shadows.d.ts +5 -0
- package/dist/editor-commands/capabilities/shadows.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/shadows.js +74 -74
- package/dist/editor-commands/capabilities/shadows.js.map +1 -0
- package/dist/editor-commands/capabilities/transform.d.ts +5 -0
- package/dist/editor-commands/capabilities/transform.d.ts.map +1 -0
- package/dist/editor-commands/capabilities/transform.js +164 -0
- package/dist/editor-commands/capabilities/transform.js.map +1 -0
- package/dist/editor-commands/capabilities/ui-regions.d.ts +4 -0
- package/dist/editor-commands/capabilities/ui-regions.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/ui-regions.js +55 -57
- package/dist/editor-commands/capabilities/ui-regions.js.map +1 -0
- package/dist/editor-commands/capabilities/viewport.d.ts +5 -0
- package/dist/editor-commands/capabilities/viewport.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/capabilities/viewport.js +100 -100
- package/dist/editor-commands/capabilities/viewport.js.map +1 -0
- package/dist/editor-commands/command-sources.d.ts +7 -0
- package/dist/editor-commands/command-sources.d.ts.map +1 -0
- package/dist/editor-commands/command-sources.js +34 -0
- package/dist/editor-commands/command-sources.js.map +1 -0
- package/dist/editor-commands/diagnostics.d.ts +12 -0
- package/dist/editor-commands/diagnostics.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/diagnostics.js +4 -4
- package/dist/editor-commands/diagnostics.js.map +1 -0
- package/dist/{agent-bridge → editor-commands}/index.d.ts +1 -1
- package/dist/editor-commands/index.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/index.js +1 -1
- package/dist/editor-commands/index.js.map +1 -0
- package/dist/editor-commands/register.d.ts +4 -0
- package/dist/editor-commands/register.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/register.js +323 -286
- package/dist/editor-commands/register.js.map +1 -0
- package/dist/{agent-bridge → editor-commands}/shared.d.ts +80 -80
- package/dist/editor-commands/shared.d.ts.map +1 -0
- package/dist/{agent-bridge → editor-commands}/shared.js +29 -29
- package/dist/editor-commands/shared.js.map +1 -0
- package/dist/editor-commands/source-types.d.ts +110 -0
- package/dist/editor-commands/source-types.d.ts.map +1 -0
- package/dist/editor-commands/source-types.js.map +1 -0
- package/dist/editor-plugin-commands.d.ts +4 -0
- package/dist/editor-plugin-commands.d.ts.map +1 -0
- package/dist/editor-plugin-commands.js +18 -0
- package/dist/editor-plugin-commands.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/local-editor-commands.d.ts +2 -0
- package/dist/local-editor-commands.d.ts.map +1 -0
- package/dist/local-editor-commands.js +2 -0
- package/dist/local-editor-commands.js.map +1 -0
- package/dist/local-editor-harness.d.ts +35 -21
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +1721 -367
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts +2 -1
- package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -1
- package/dist/local-editor-prefab-stage-transaction.js +6 -5
- package/dist/local-editor-prefab-stage-transaction.js.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
- package/dist/local-editor-scene-view-interaction-runtime.js +2 -5
- package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
- package/dist/playable-local-editor-entry.d.ts +10 -0
- package/dist/playable-local-editor-entry.d.ts.map +1 -1
- package/dist/playable-local-editor-entry.js +10 -2
- package/dist/playable-local-editor-entry.js.map +1 -1
- package/dist/playable-local-editor-host.d.ts +3 -32
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +6 -70
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-product-local-editor.d.ts +1 -2
- package/dist/playable-product-local-editor.d.ts.map +1 -1
- package/dist/playable-product-local-editor.js +0 -1
- package/dist/playable-product-local-editor.js.map +1 -1
- package/dist/playable-product-projection-preview.d.ts.map +1 -1
- package/dist/playable-product-projection-preview.js +1 -1
- package/dist/playable-product-projection-preview.js.map +1 -1
- package/dist/playable-product-scene-capabilities.d.ts +0 -2
- package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
- package/dist/playable-product-scene-capabilities.js +33 -6
- package/dist/playable-product-scene-capabilities.js.map +1 -1
- package/dist/playable-runtime-babylon.d.ts +4 -0
- package/dist/playable-runtime-babylon.d.ts.map +1 -1
- package/dist/playable-runtime-babylon.js +4 -0
- package/dist/playable-runtime-babylon.js.map +1 -1
- package/dist/playable-sdk.d.ts +1 -1
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js.map +1 -1
- package/dist/playable-standard-project.d.ts +0 -2
- package/dist/playable-standard-project.d.ts.map +1 -1
- package/dist/playable-standard-project.js +1 -2
- package/dist/playable-standard-project.js.map +1 -1
- package/dist/project-service-projection.d.ts +16 -0
- package/dist/project-service-projection.d.ts.map +1 -0
- package/dist/project-service-projection.js +67 -0
- package/dist/project-service-projection.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +18 -0
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +54 -18
- package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/package.json +9 -9
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +127 -13
- package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +66 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +6 -6
- package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.d.ts +32 -0
- package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.js +254 -0
- package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +3 -1
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js +2 -0
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.d.ts +68 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.js +650 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +22 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +8 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +117 -6
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +14 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +100 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +8 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +75 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +37 -12
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +25 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +332 -107
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/package.json +7 -7
- package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.d.ts +107 -0
- package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.js +1211 -0
- package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.d.ts +34 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.js +260 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.d.ts +9 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.js +14 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-observability.d.ts +18 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-observability.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-observability.js +113 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-observability.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-system.d.ts +82 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-system.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-system.js +1098 -0
- package/node_modules/@fps-games/editor-core/dist/editor-command-system.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -7
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +62 -103
- package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.d.ts +30 -0
- package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.js +540 -0
- package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session-authority.d.ts +9 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session-authority.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session-authority.js +61 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session-authority.js.map +1 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +55 -0
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.js +247 -6
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/index.d.ts +6 -2
- package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/index.js +6 -2
- package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +6 -6
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +0 -1
- package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/dist/index.js +0 -1
- package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +41 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +27 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +214 -7
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +11 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +2 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +77 -31
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +8 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts +21 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js +90 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +27 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +161 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +5 -92
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts +7 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js +26 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js +19 -8
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts +5 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js +16 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +9 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +12 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js +10 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +17 -82
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +53 -57
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js +3 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.js +256 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +7 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +134 -12
- package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +47 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.d.ts +27 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.js +592 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +3 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +61 -6
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +0 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +21 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.d.ts +13 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.js +18 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.d.ts +28 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.js +863 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.d.ts +1626 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/{agent-bridge.js → editor-command-capabilities.js} +766 -620
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.d.ts +69 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.js +22 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command.d.ts +136 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command.js +2 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-command.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-service.d.ts +225 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-service.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-service.js +4 -0
- package/node_modules/@fps-games/editor-protocol/dist/editor-service.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +6 -3
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +6 -3
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/package.json +2 -2
- package/node_modules/@fps-games/editor-tooling/package.json +3 -3
- package/node_modules/@fps-games/editor-ui/package.json +1 -1
- package/node_modules/@fps-games/playable-assets/package.json +1 -1
- package/node_modules/@fps-games/playable-contracts/package.json +1 -1
- package/node_modules/@fps-games/playable-rendering/package.json +2 -2
- package/node_modules/@fps-games/playable-runtime/package.json +12 -12
- package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
- package/node_modules/@fps-games/playable-scene/package.json +2 -2
- package/node_modules/@fps-games/plugin-api/package.json +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-assets/package.json +6 -6
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +1 -0
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +78 -4
- package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-hierarchy/package.json +5 -5
- package/node_modules/@fps-games/plugin-host/package.json +2 -2
- package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-markers/package.json +5 -5
- package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-materials/package.json +5 -5
- package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
- package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-scene/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +5 -5
- package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
- package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
- package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
- package/package.json +23 -23
- package/dist/agent-bridge/capabilities/assets.d.ts +0 -8
- package/dist/agent-bridge/capabilities/assets.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/assets.js.map +0 -1
- package/dist/agent-bridge/capabilities/editor-state.d.ts +0 -5
- package/dist/agent-bridge/capabilities/editor-state.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/editor-state.js.map +0 -1
- package/dist/agent-bridge/capabilities/hierarchy.d.ts +0 -4
- package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/hierarchy.js.map +0 -1
- package/dist/agent-bridge/capabilities/host-lifecycle.d.ts +0 -11
- package/dist/agent-bridge/capabilities/host-lifecycle.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/host-lifecycle.js +0 -149
- package/dist/agent-bridge/capabilities/host-lifecycle.js.map +0 -1
- package/dist/agent-bridge/capabilities/prefabs.d.ts +0 -5
- package/dist/agent-bridge/capabilities/prefabs.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/prefabs.js.map +0 -1
- package/dist/agent-bridge/capabilities/scene-objects.d.ts +0 -8
- package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/scene-objects.js +0 -480
- package/dist/agent-bridge/capabilities/scene-objects.js.map +0 -1
- package/dist/agent-bridge/capabilities/selection.d.ts +0 -5
- package/dist/agent-bridge/capabilities/selection.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/selection.js +0 -60
- package/dist/agent-bridge/capabilities/selection.js.map +0 -1
- package/dist/agent-bridge/capabilities/shadows.d.ts +0 -5
- package/dist/agent-bridge/capabilities/shadows.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/shadows.js.map +0 -1
- package/dist/agent-bridge/capabilities/transform.d.ts +0 -5
- package/dist/agent-bridge/capabilities/transform.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/transform.js +0 -164
- package/dist/agent-bridge/capabilities/transform.js.map +0 -1
- package/dist/agent-bridge/capabilities/ui-regions.d.ts +0 -4
- package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/ui-regions.js.map +0 -1
- package/dist/agent-bridge/capabilities/viewport.d.ts +0 -5
- package/dist/agent-bridge/capabilities/viewport.d.ts.map +0 -1
- package/dist/agent-bridge/capabilities/viewport.js.map +0 -1
- package/dist/agent-bridge/capability-sources.d.ts +0 -7
- package/dist/agent-bridge/capability-sources.d.ts.map +0 -1
- package/dist/agent-bridge/capability-sources.js +0 -34
- package/dist/agent-bridge/capability-sources.js.map +0 -1
- package/dist/agent-bridge/diagnostics.d.ts +0 -12
- package/dist/agent-bridge/diagnostics.d.ts.map +0 -1
- package/dist/agent-bridge/diagnostics.js.map +0 -1
- package/dist/agent-bridge/index.d.ts.map +0 -1
- package/dist/agent-bridge/index.js.map +0 -1
- package/dist/agent-bridge/register.d.ts +0 -4
- package/dist/agent-bridge/register.d.ts.map +0 -1
- package/dist/agent-bridge/register.js.map +0 -1
- package/dist/agent-bridge/shared.d.ts.map +0 -1
- package/dist/agent-bridge/shared.js.map +0 -1
- package/dist/agent-bridge/source-types.d.ts +0 -110
- package/dist/agent-bridge/source-types.d.ts.map +0 -1
- package/dist/agent-bridge/source-types.js.map +0 -1
- package/dist/editor-plugin-agent-capabilities.d.ts +0 -4
- package/dist/editor-plugin-agent-capabilities.d.ts.map +0 -1
- package/dist/editor-plugin-agent-capabilities.js +0 -64
- package/dist/editor-plugin-agent-capabilities.js.map +0 -1
- package/dist/local-editor-agent-actions.d.ts +0 -43
- package/dist/local-editor-agent-actions.d.ts.map +0 -1
- package/dist/local-editor-agent-actions.js +0 -321
- package/dist/local-editor-agent-actions.js.map +0 -1
- package/dist/local-editor-agent-bridge-transport.d.ts +0 -129
- package/dist/local-editor-agent-bridge-transport.d.ts.map +0 -1
- package/dist/local-editor-agent-bridge-transport.js +0 -403
- package/dist/local-editor-agent-bridge-transport.js.map +0 -1
- package/dist/local-editor-agent-bridge.d.ts +0 -2
- package/dist/local-editor-agent-bridge.d.ts.map +0 -1
- package/dist/local-editor-agent-bridge.js +0 -2
- package/dist/local-editor-agent-bridge.js.map +0 -1
- package/dist/local-editor-agent-context.d.ts +0 -68
- package/dist/local-editor-agent-context.d.ts.map +0 -1
- package/dist/local-editor-agent-context.js +0 -716
- package/dist/local-editor-agent-context.js.map +0 -1
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts +0 -22
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.js +0 -106
- package/node_modules/@fps-games/editor-core/dist/agent-bridge.js.map +0 -1
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +0 -17
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +0 -14
- package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +0 -1
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +0 -23
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +0 -47
- package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts +0 -112
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js +0 -159
- package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts +0 -15
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js +0 -76
- package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +0 -1622
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts +0 -68
- package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js +0 -23
- package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +0 -187
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +0 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.js +0 -5
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +0 -1
- /package/dist/{agent-bridge → editor-commands}/source-types.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/editor-commands/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACjG,OAAO,KAAK,EACV,uCAAuC,EACvC,wCAAwC,E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CAAoC,CAEtC;AAED,wBAAgB,qCAAqC,CACnD,KAAK,EAAE,oCAAoC,GAC1C,oCAAoC,CAgDtC;AAED,wBAAgB,0CAA0C,CACxD,KAAK,EAAE,oCAAoC,EAC3C,UAAU,EAAE,cAAc,GAAG,aAAa,EAC1C,KAAK,EAAE,MAAM,GACZ,iCAAiC,GAAG,IAAI,CAG1C;AAED,wBAAgB,+CAA+C,CAC7D,KAAK,EAAE,oCAAoC,EAC3C,UAAU,EAAE,cAAc,GAAG,aAAa,EAC1C,UAAU,EAAE,MAAM,GACjB,iCAAiC,GAAG,IAAI,CAG1C;AAED,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,oCAAoC,EAC3C,UAAU,EAAE,cAAc,GAAG,aAAa,GACzC,oCAAoC,EAAE,CA0DxC;AAED,wBAAgB,sCAAsC,CACpD,KAAK,EAAE,oCAAoC,EAC3C,WAAW,EAAE,SAAS,mCAAmC,EAAE,GAC1D,qCAAqC,CAoCvC;AAED,wBAAgB,8BAA8B,CAAC,SAAS,EACtD,UAAU,EAAE,IAAI,CAAC,4CAA4C,CAAC,SAAS,CAAC,EAAE,uBAAuB,CAAC,GACjG,OAAO,CAET;AAED,wBAAgB,kCAAkC,CAAC,SAAS,EAC1D,UAAU,EAAE,IAAI,CAAC,4CAA4C,CAAC,SAAS,CAAC,EAAE,uBAAuB,CAAC,GACjG,oBAAoB,CAEtB;AAED,wBAAgB,gCAAgC,CAAC,SAAS,EACxD,UAAU,EAAE,IAAI,CAAC,4CAA4C,CAAC,SAAS,CAAC,EAAE,uBAAuB,CAAC,EAClG,QAAQ,EAAE,MAAM,GACf,OAAO,CAET"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {} from '@fps-games/editor-core';
|
|
2
2
|
export const EMPTY_EDITOR_SELECTION = { selectedIds: [], activeId: null };
|
|
3
|
-
export function
|
|
3
|
+
export function cloneEditorCommandSelection(selection) {
|
|
4
4
|
return {
|
|
5
5
|
selectedIds: [...selection.selectedIds],
|
|
6
6
|
activeId: selection.activeId,
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
export function
|
|
9
|
+
export function normalizeEditorCommandString(value) {
|
|
10
10
|
return typeof value === 'string' ? value.trim() : '';
|
|
11
11
|
}
|
|
12
|
-
export function
|
|
12
|
+
export function normalizeEditorCommandIdList(values) {
|
|
13
13
|
const ids = [];
|
|
14
14
|
const seen = new Set();
|
|
15
15
|
for (const value of values) {
|
|
16
|
-
const id =
|
|
16
|
+
const id = normalizeEditorCommandString(value);
|
|
17
17
|
if (!id || seen.has(id))
|
|
18
18
|
continue;
|
|
19
19
|
seen.add(id);
|
|
@@ -21,32 +21,32 @@ export function normalizeAgentBridgeIdList(values) {
|
|
|
21
21
|
}
|
|
22
22
|
return ids;
|
|
23
23
|
}
|
|
24
|
-
export function
|
|
24
|
+
export function isEditorCommandDocumentNodeLocked(options, document, id) {
|
|
25
25
|
return options.documentAdapter.isLocked?.(document, id) ?? false;
|
|
26
26
|
}
|
|
27
|
-
export function
|
|
28
|
-
if (
|
|
27
|
+
export function isEditorCommandDocumentNodeSelectable(options, document, id) {
|
|
28
|
+
if (isEditorCommandDocumentNodeLocked(options, document, id))
|
|
29
29
|
return false;
|
|
30
30
|
return options.documentAdapter.isSelectable?.(document, id) ?? true;
|
|
31
31
|
}
|
|
32
|
-
export function
|
|
32
|
+
export function isEditorCommandObjectSelectable(options, document, objectId, hierarchyItems) {
|
|
33
33
|
const inHierarchy = hierarchyItems.some(item => item.id === objectId);
|
|
34
34
|
const hasProjectionNode = !!options.documentAdapter.getProjectionNode(document, objectId);
|
|
35
35
|
if (!inHierarchy && !hasProjectionNode)
|
|
36
36
|
return false;
|
|
37
|
-
return
|
|
37
|
+
return isEditorCommandDocumentNodeSelectable(options, document, objectId);
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
39
|
+
export function isEditorCommandHierarchyObjectSelectable(options, document, objectId, hierarchyItems) {
|
|
40
40
|
return hierarchyItems.some(item => item.id === objectId)
|
|
41
|
-
&&
|
|
41
|
+
&& isEditorCommandDocumentNodeSelectable(options, document, objectId);
|
|
42
42
|
}
|
|
43
|
-
export function
|
|
44
|
-
return [...
|
|
43
|
+
export function getEditorCommandSafeSceneHierarchy(operations) {
|
|
44
|
+
return [...getEditorCommandSafeSceneReadModel(operations).hierarchy];
|
|
45
45
|
}
|
|
46
|
-
export function
|
|
47
|
-
return
|
|
46
|
+
export function getEditorCommandSafeSceneReadModel(operations) {
|
|
47
|
+
return createEditorCommandSafeSceneReadModel(operations.getHierarchyReadModel());
|
|
48
48
|
}
|
|
49
|
-
export function
|
|
49
|
+
export function createEditorCommandSafeSceneReadModel(model) {
|
|
50
50
|
const base = {
|
|
51
51
|
authorityToken: model.authorityToken,
|
|
52
52
|
scopeKey: model.snapshot.scopeKey,
|
|
@@ -56,7 +56,7 @@ export function createAgentBridgeSafeSceneReadModel(model) {
|
|
|
56
56
|
if (model.snapshot.scopeType !== 'scene') {
|
|
57
57
|
return { ...base, hierarchy: [], selection: EMPTY_EDITOR_SELECTION };
|
|
58
58
|
}
|
|
59
|
-
const resolved =
|
|
59
|
+
const resolved = getEditorCommandSafeHierarchyEntries(model, 'scene-object');
|
|
60
60
|
const safeTargetByRowId = new Map(resolved.map(entry => [entry.node.id, entry.target.authoredId]));
|
|
61
61
|
const hierarchy = resolved.map(({ node, target, parentAuthoredId }) => {
|
|
62
62
|
const role = node.role === 'root'
|
|
@@ -95,15 +95,15 @@ export function createAgentBridgeSafeSceneReadModel(model) {
|
|
|
95
95
|
selection: { selectedIds, activeId },
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
export function
|
|
99
|
-
return
|
|
98
|
+
export function getEditorCommandSafeHierarchyTargetByRowId(model, targetKind, rowId) {
|
|
99
|
+
return getEditorCommandSafeHierarchyEntries(model, targetKind)
|
|
100
100
|
.find(entry => entry.node.id === rowId)?.target ?? null;
|
|
101
101
|
}
|
|
102
|
-
export function
|
|
103
|
-
return
|
|
102
|
+
export function getEditorCommandSafeHierarchyTargetByAuthoredId(model, targetKind, authoredId) {
|
|
103
|
+
return getEditorCommandSafeHierarchyEntries(model, targetKind)
|
|
104
104
|
.find(entry => entry.target.authoredId === authoredId)?.target ?? null;
|
|
105
105
|
}
|
|
106
|
-
export function
|
|
106
|
+
export function getEditorCommandSafeHierarchyEntries(model, targetKind) {
|
|
107
107
|
const orderedNodes = [];
|
|
108
108
|
const visitedRowIds = new Set();
|
|
109
109
|
const visit = (rowId) => {
|
|
@@ -164,8 +164,8 @@ export function getAgentBridgeSafeHierarchyEntries(model, targetKind) {
|
|
|
164
164
|
}];
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
|
-
export function
|
|
168
|
-
const entries =
|
|
167
|
+
export function createEditorCommandSafePrefabReadModel(model, nodeDetails) {
|
|
168
|
+
const entries = getEditorCommandSafeHierarchyEntries(model, 'prefab-node');
|
|
169
169
|
const detailCounts = new Map();
|
|
170
170
|
for (const detail of nodeDetails) {
|
|
171
171
|
detailCounts.set(detail.nodeId, (detailCounts.get(detail.nodeId) ?? 0) + 1);
|
|
@@ -201,13 +201,13 @@ export function createAgentBridgeSafePrefabReadModel(model, nodeDetails) {
|
|
|
201
201
|
: selectedNodeIds[selectedNodeIds.length - 1] ?? null,
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
|
-
export function
|
|
204
|
+
export function hasEditorCommandSafeSceneScope(operations) {
|
|
205
205
|
return operations.getHierarchyReadModel().snapshot.scopeType === 'scene';
|
|
206
206
|
}
|
|
207
|
-
export function
|
|
208
|
-
return
|
|
207
|
+
export function getEditorCommandSafeSceneSelection(operations) {
|
|
208
|
+
return getEditorCommandSafeSceneReadModel(operations).selection;
|
|
209
209
|
}
|
|
210
|
-
export function
|
|
211
|
-
return
|
|
210
|
+
export function isEditorCommandSafeSceneObjectId(operations, objectId) {
|
|
211
|
+
return getEditorCommandSafeSceneReadModel(operations).hierarchy.some(item => item.id === objectId);
|
|
212
212
|
}
|
|
213
213
|
//# sourceMappingURL=shared.js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AC,SAAS,KAAK,OAAO,CAAC;AAC3E,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,UAAkG;IAElG,OAAO,kCAAkC,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,gCAAgC,CAC9C,UAAkG,EAClG,QAAgB;IAEhB,OAAO,kCAAkC,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,QAAQ,CAAC,CAAC;AACrG,CAAC","sourcesContent":["import {\n type AuthoringSourceDescriptor,\n type EditorProjectionImpact,\n type EditorSelectionState,\n type EditorSession,\n type EditorTransformSnapshot,\n type EditorViewportProjectionMode,\n type EditorViewportToolState,\n type EditorViewportViewPreset,\n type InspectorObject,\n type SelectionCommand,\n} from '@fps-games/editor-core';\nimport type { FpsEditorLifecycleService } from '@fps-games/editor-core/lifecycle';\nimport type { HierarchyNodeSnapshot, HierarchyScopeSnapshot } from '@fps-games/plugin-hierarchy';\nimport type {\n EditorCommandEditorDiagnosticsListInput,\n EditorCommandEditorDiagnosticsListOutput,\n EditorCommandPrefabStageExitOutput,\n EditorCommandPrefabStageOpenOutput,\n EditorCommandPrefabStageState,\n EditorCommandSelectionState,\n EditorCommandVec3,\n} from '@fps-games/editor-protocol';\nimport type {\n LocalEditorBrowserAssetActionInput,\n LocalEditorBrowserStatusDiagnostic,\n} from '@fps-games/editor-browser';\nimport type { ShadowMapExperimentPlan } from '@fps-games/playable-rendering';\nimport type {\n LocalEditorHarnessAssetCreationOptions,\n LocalEditorHarnessAssetCreationResult,\n LocalEditorHarnessMode,\n LocalEditorHarnessOptions,\n} from '../local-editor-harness.js';\n\nexport const EMPTY_EDITOR_SELECTION: EditorSelectionState = { selectedIds: [], activeId: null };\n\nexport interface LocalEditorCommandHierarchyTarget {\n readonly rowId: string;\n readonly authoredId: string;\n readonly focusId: string;\n readonly targetKind: 'scene-object' | 'prefab-node' | 'hierarchy-only';\n}\n\nexport interface LocalEditorCommandHierarchyReadModel {\n readonly authorityToken: number;\n readonly snapshot: HierarchyScopeSnapshot;\n resolveTarget(rowId: string): LocalEditorCommandHierarchyTarget | null;\n}\n\nexport interface LocalEditorCommandHierarchyItem {\n readonly id: string;\n readonly label: string;\n readonly parentId: string | null;\n readonly role?: 'root' | 'group' | 'object' | 'marker';\n readonly selectable?: boolean;\n readonly canHaveChildren?: boolean;\n readonly renamable?: boolean;\n readonly deletable?: boolean;\n readonly draggable?: boolean;\n readonly locked?: boolean;\n readonly protected?: boolean;\n}\n\nexport interface LocalEditorCommandSafeSceneReadModel {\n readonly authorityToken: number;\n readonly scopeKey: string;\n readonly scopeType: string;\n readonly revision: number;\n readonly hierarchy: readonly LocalEditorCommandHierarchyItem[];\n readonly selection: EditorSelectionState;\n}\n\nexport interface LocalEditorCommandSafeHierarchyEntry {\n readonly node: HierarchyNodeSnapshot;\n readonly target: LocalEditorCommandHierarchyTarget;\n readonly parentAuthoredId: string | null;\n}\n\nexport interface LocalEditorCommandPrefabNodeDetails {\n readonly nodeId: string;\n readonly guid?: string;\n readonly kind?: string;\n readonly sourceAssetId?: string;\n readonly sourceNodePath?: string;\n readonly childPrefabId?: string;\n readonly transform?: unknown;\n readonly primitive?: Readonly<Record<string, unknown>>;\n readonly marker?: Readonly<Record<string, unknown>>;\n readonly defaults?: Readonly<Record<string, unknown>>;\n readonly overrides?: Readonly<Record<string, unknown>>;\n readonly light?: Readonly<Record<string, unknown>>;\n readonly readonly?: boolean;\n}\n\nexport interface LocalEditorCommandSafePrefabHierarchyNode {\n readonly rowId: string;\n readonly nodeId: string;\n readonly label: string;\n readonly parentNodeId: string | null;\n readonly role?: HierarchyNodeSnapshot['role'];\n readonly details: LocalEditorCommandPrefabNodeDetails | null;\n}\n\nexport interface LocalEditorCommandSafePrefabReadModel {\n readonly authorityToken: number;\n readonly scopeKey: string;\n readonly scopeType: string;\n readonly revision: number;\n readonly nodes: readonly LocalEditorCommandSafePrefabHierarchyNode[];\n readonly selectedNodeIds: readonly string[];\n readonly activeNodeId: string | null;\n}\n\nexport interface LocalEditorCommandProjection {\n readNodeTransform(objectId: string): EditorTransformSnapshot | null;\n getSelectionBounds(objectIds: readonly string[]): { center: EditorCommandVec3; size: EditorCommandVec3 } | null;\n getPreviewVisibilityOverrides?(): Array<{\n nodeId: string;\n visible: boolean;\n authoredActive: boolean;\n effectiveVisible: boolean;\n }>;\n setPreviewVisibilityOverrides?(overrides: Record<string, boolean>): Array<{\n nodeId: string;\n visible: boolean;\n authoredActive: boolean;\n effectiveVisible: boolean;\n }>;\n clearPreviewVisibilityOverrides?(): Array<{\n nodeId: string;\n visible: boolean;\n authoredActive: boolean;\n effectiveVisible: boolean;\n }>;\n getProjectedNodeIds?(): string[];\n getProjectionParentIds?(nodeId: string): string[];\n setShadowDebugOverlay?(items: LocalEditorCommandShadowDebugOverlayItem[]): string[];\n clearShadowDebugOverlay?(): boolean;\n waitForIdle?(): Promise<unknown>;\n}\n\nexport interface LocalEditorCommandPreviewVisibilityEntry {\n nodeId: string;\n visible: boolean;\n authoredActive: boolean;\n effectiveVisible: boolean;\n}\n\nexport interface LocalEditorCommandPreviewVisibilityState {\n overrides: Record<string, boolean>;\n isolatedObjectIds: string[];\n reason?: string;\n protectedObjectIds?: string[];\n protectedReceiverIds?: string[];\n}\n\nexport interface LocalEditorCommandShadowDebugBounds {\n min: EditorCommandVec3;\n max: EditorCommandVec3;\n size: EditorCommandVec3;\n center: EditorCommandVec3;\n}\n\nexport interface LocalEditorCommandShadowDebugOverlayItem {\n id: string;\n kind: 'caster-bounds' | 'receiver-bounds' | 'receiver-surface' | 'light-direction' | 'footprint' | 'artifact-bounds';\n bounds?: LocalEditorCommandShadowDebugBounds;\n center?: EditorCommandVec3;\n size?: EditorCommandVec3;\n direction?: EditorCommandVec3;\n}\n\nexport interface LocalEditorCommandPlanarShadowCasterDebugInfo {\n sourceName: string;\n sourceMeshNames?: string[];\n sourceNodeId?: string;\n sourceNodeIds?: string[];\n shadowName: string;\n strategy: 'auto' | 'projected-mesh' | 'convex-hull';\n hasSkeleton: boolean;\n projectedMeshCount: number;\n convexHullMeshCount: number;\n alphaCutoutMeshCount: number;\n instancedCasterCount?: number;\n batchMeshCount?: number;\n instancedBatchIds?: string[];\n instancedBatchNames?: string[];\n independentProjectedMeshCount?: number;\n visibleInstanceCount?: number;\n alphaCutoutChannels?: Array<'alpha' | 'luminance' | 'red'>;\n alphaCutoutUvSets?: number[];\n alphaCutoutLevels?: number[];\n fallbackReasons?: string[];\n instancingFallbackReasons?: string[];\n}\n\nexport interface LocalEditorCommandShadowPreviewDebugInfo {\n planar?: {\n enabled: boolean;\n casterCount: number;\n casters: LocalEditorCommandPlanarShadowCasterDebugInfo[];\n };\n shadowMapExperiment?: {\n enabled: boolean;\n planRevision: number | null;\n planFingerprint: string | null;\n effectivePlan?: ShadowMapExperimentPlan | null;\n lightEntityId: string | null;\n generatorAllocated: boolean;\n resolution: number | null;\n mapResolutions: { readonly static: number; readonly dynamic: number; readonly composite: number } | null;\n configuredMapResolutions: { readonly static: number; readonly dynamic: number; readonly composite: number } | null;\n diagnosticThresholds: {\n readonly staticCasterCountWarning: number;\n readonly dynamicCasterCountWarning: number;\n readonly renderableCountWarning: number;\n } | null;\n filter: 'hard' | 'low-pcf' | null;\n renderListCount: number;\n receiverMeshCount: number;\n boundMeshCount: number;\n backend: 'split-static-dynamic' | 'single-map' | 'single-map-fallback' | null;\n fallbackReason: string | null;\n fallbackWarningEmitted: boolean;\n depth: {\n backend: 'split-static-dynamic' | 'single-map' | 'single-map-fallback';\n fallbackReason: string | null;\n receiverFilter: 'hard' | 'poisson-low-pcf' | 'native-low-pcf';\n gpuCapability: {\n engine: 'webgl' | 'webgpu';\n maxRenderTextureSize: number;\n halfFloatRender: boolean;\n halfFloatLinearFiltering: boolean;\n splitSupported: boolean;\n };\n textureFormat: 'r-half-float' | 'single-map';\n static: {\n resolution: number;\n candidateMeshCount: number;\n retainedMeshCount: number;\n culledMeshCount: number;\n renderListCount: number;\n refreshCount: number;\n renderCount: number;\n lastRefreshReasons: readonly string[];\n };\n dynamic: {\n resolution: number;\n candidateMeshCount: number;\n retainedMeshCount: number;\n culledMeshCount: number;\n renderListCount: number;\n refreshCount: number;\n renderCount: number;\n lastRefreshReasons: readonly string[];\n };\n compositeResolution: number;\n compositeRefreshCount: number;\n compositeRenderCount: number;\n compositorReady: boolean;\n } | null;\n culling: {\n enabled: boolean;\n guardBandRatio: number;\n coverageRevision: number;\n cameraId: string | null;\n projectionSignature: string | null;\n coverage: { readonly min: readonly [number, number, number]; readonly max: readonly [number, number, number] } | null;\n conservative: boolean;\n rebuildCount: number;\n stable: boolean;\n lastInvalidationReason: string | null;\n coverageMode?: 'fixed' | 'scene-fit';\n authoredCenter?: readonly [number, number, number] | null;\n effectiveCenter?: readonly [number, number, number] | null;\n authoredExtent?: readonly [number, number, number] | null;\n effectiveExtent?: readonly [number, number, number] | null;\n anchor?: readonly [number, number, number] | null;\n };\n activity: {\n trackedEntityStateCount: number;\n registeredActivitySourceCount: number;\n activeActivitySourceCount: number;\n pendingActivitySourceCount: number;\n activeActivityCasterCount: number;\n activeActivityKindCounts: Record<'transform' | 'animation' | 'morph' | 'physics', number>;\n pendingDirtyReasons: readonly string[];\n untrackedDynamicCasterCount: number;\n untrackedDynamicCasterEntityIds: readonly string[];\n sources: readonly unknown[];\n };\n runtime: {\n planSchemaVersion: 2 | 3 | null;\n sourcePlanRevision: number | null;\n effectivePlanRevision: number | null;\n overlayRevision: number;\n registrationCount: number;\n activityOwnerCount: number;\n registrations: readonly {\n entityId: string;\n behaviorProfileId: string;\n renderableIds: readonly string[];\n activitySourceIds: readonly string[];\n }[];\n };\n refreshCount: number;\n lastRefreshReasons: readonly string[];\n worldUnitsPerTexel: readonly [number, number] | null;\n worldUnitsPerTexelByMap: {\n readonly static: readonly [number, number];\n readonly dynamic: readonly [number, number];\n readonly composite: readonly [number, number];\n } | null;\n registry: unknown;\n diagnostics: readonly { code: string; message: string; entityId?: string; renderableId?: string }[];\n };\n}\n\nexport interface LocalEditorCommandSceneViewCameraState {\n viewPreset: EditorViewportViewPreset;\n projectionMode: EditorViewportProjectionMode;\n target?: EditorCommandVec3;\n position?: EditorCommandVec3;\n alpha?: number;\n beta?: number;\n radius?: number;\n}\n\nexport interface LocalEditorCommandSceneViewCamera {\n getState(): LocalEditorCommandSceneViewCameraState;\n setViewPreset(preset: EditorViewportViewPreset, options?: { target?: EditorCommandVec3 | null; radius?: number }): boolean;\n orbit(options?: {\n target?: EditorCommandVec3;\n yawDeltaDeg?: number;\n pitchDeltaDeg?: number;\n distanceScale?: number;\n }): boolean;\n}\n\nexport interface LocalEditorCommandPrefabStageDetails<TDocument = unknown> {\n stage: EditorCommandPrefabStageState;\n nodeDetails: readonly LocalEditorCommandPrefabNodeDetails[];\n inspectorObject?: InspectorObject<TDocument> | null;\n}\n\nexport interface LocalEditorCommandHarnessState<TDocument, TPatch> {\n mode: LocalEditorHarnessMode;\n lifecycle: FpsEditorLifecycleService | null;\n busy: boolean;\n session: EditorSession<TDocument, TPatch> | null;\n assets: readonly unknown[];\n projection: LocalEditorCommandProjection | null;\n previewVisibility: LocalEditorCommandPreviewVisibilityState;\n sceneCameraPreviewEnabled: boolean;\n sceneViewCamera: LocalEditorCommandSceneViewCamera | null | any;\n viewportTools: EditorViewportToolState;\n status: string;\n statusTone: 'default' | 'success' | 'warning' | 'error';\n statusToneStatus: string;\n statusDetails: string;\n summary: string;\n}\n\nexport interface LocalEditorCommandCapabilitySourceOperations<TDocument> {\n createAssetFromAssetId(assetId: string, options?: LocalEditorHarnessAssetCreationOptions): LocalEditorHarnessAssetCreationResult;\n getPrefabStage(): EditorCommandPrefabStageState | null;\n getPrefabStageDetails(): LocalEditorCommandPrefabStageDetails<TDocument> | null;\n openPrefabStage(input: {\n assetId: string;\n browserAssetId?: string;\n dirtyAction?: 'reject' | 'save' | 'discard';\n }, serializedAccess?: unknown): Promise<EditorCommandPrefabStageOpenOutput | null>;\n exitPrefabStage(\n input?: { dirtyAction?: 'reject' | 'save' | 'discard' },\n serializedAccess?: unknown,\n ): Promise<EditorCommandPrefabStageExitOutput>;\n savePrefabStage(serializedAccess?: unknown): Promise<boolean>;\n discardPrefabStage(serializedAccess?: unknown): Promise<boolean>;\n selectPrefabStageItem(itemId: string): boolean;\n runPrefabStageAssetAction(input: LocalEditorBrowserAssetActionInput): boolean;\n getHierarchyReadModel(): LocalEditorCommandHierarchyReadModel;\n getHierarchyScope(): import('@fps-games/editor-protocol').EditorCommandHierarchyScopeGetOutput;\n listHierarchyOperations(input: import('@fps-games/editor-protocol').EditorCommandHierarchyOperationsListInput): import('@fps-games/editor-protocol').EditorCommandHierarchyOperationsListOutput;\n executeHierarchyOperation(\n input: import('@fps-games/editor-protocol').EditorCommandHierarchyOperationExecuteInput,\n serializedAccess?: unknown,\n ): Promise<import('@fps-games/editor-protocol').EditorCommandHierarchyOperationExecuteOutput>;\n getStatusDiagnostics(): LocalEditorBrowserStatusDiagnostic[];\n getDiagnostics(input: EditorCommandEditorDiagnosticsListInput): EditorCommandEditorDiagnosticsListOutput;\n getPreviewSelection(): EditorSelectionState;\n dispatchSelectionCommand(command: SelectionCommand, renderUi?: boolean): boolean;\n focusPreviewSelection(): boolean;\n focusProjectionNode(objectId: string): boolean;\n syncViewportCameraState(): void;\n requestSceneFrame(reason: string): void;\n cloneTransformSnapshot(transform: EditorTransformSnapshot): EditorTransformSnapshot;\n cancelActiveOperation(): void;\n withProjectionImpact(impact: EditorProjectionImpact | undefined): { projectionImpact?: EditorProjectionImpact };\n resolveProjectionImpact(source: { projectionImpact?: EditorProjectionImpact }, fallback: EditorProjectionImpact | undefined): EditorProjectionImpact | undefined;\n createReprojectProjectionImpact(ids: readonly (string | null | undefined)[]): EditorProjectionImpact | undefined;\n createTransformProjectionImpact(ids: readonly (string | null | undefined)[]): EditorProjectionImpact | undefined;\n createKnownCreatedReprojectProjectionImpact(input: {\n createdNodeIds: readonly (string | null | undefined)[];\n reprojectIds?: readonly (string | null | undefined)[];\n }): EditorProjectionImpact | undefined;\n createDeletedNodeProjectionImpact(ids: readonly (string | null | undefined)[]): EditorProjectionImpact | undefined;\n reprojectProjectionForChangedIds(document: TDocument, changedIds: string[]): void;\n syncProjectionForChangedIds(document: TDocument, changedIds: string[]): void;\n rebuildProjectionFromDocument(document: TDocument, selection: EditorSelectionState): void;\n sanitizeSelection(document: TDocument, selection: EditorSelectionState): EditorSelectionState | null;\n summarizeDocument(document: TDocument, source?: AuthoringSourceDescriptor | null): string;\n runRenderingAction?(actionId: string): Promise<LocalEditorCommandRenderingActionResult>;\n invalidateStaticShadowArtifact?(): boolean;\n getShadowMapExperimentExecutionPlan?(): ShadowMapExperimentPlan | null;\n getShadowPreviewDebugInfo?(): LocalEditorCommandShadowPreviewDebugInfo | null;\n refreshShadowPreview?(): void;\n setShadowDebugOverlay?(items: LocalEditorCommandShadowDebugOverlayItem[]): string[];\n clearShadowDebugOverlay?(): boolean;\n resolvePrefabStageProjectionNodeId?(nodeId: string): string | null;\n}\n\nexport interface LocalEditorCommandRenderingActionResult {\n ok: boolean;\n changed: boolean;\n rendered: boolean;\n status?: string;\n statusTone?: 'default' | 'success' | 'warning' | 'error';\n statusDetails?: string;\n details?: Record<string, unknown>;\n error?: string;\n}\n\nexport function cloneEditorCommandSelection(selection: EditorSelectionState): EditorCommandSelectionState {\n return {\n selectedIds: [...selection.selectedIds],\n activeId: selection.activeId,\n };\n}\n\nexport function normalizeEditorCommandString(value: unknown): string {\n return typeof value === 'string' ? value.trim() : '';\n}\n\nexport function normalizeEditorCommandIdList(values: readonly unknown[]): string[] {\n const ids: string[] = [];\n const seen = new Set<string>();\n for (const value of values) {\n const id = normalizeEditorCommandString(value);\n if (!id || seen.has(id)) continue;\n seen.add(id);\n ids.push(id);\n }\n return ids;\n}\n\nexport function isEditorCommandDocumentNodeLocked<TDocument, TPatch, TAsset>(\n options: LocalEditorHarnessOptions<TDocument, TPatch, TAsset>,\n document: TDocument,\n id: string,\n): boolean {\n return options.documentAdapter.isLocked?.(document, id) ?? false;\n}\n\nexport function isEditorCommandDocumentNodeSelectable<TDocument, TPatch, TAsset>(\n options: LocalEditorHarnessOptions<TDocument, TPatch, TAsset>,\n document: TDocument,\n id: string,\n): boolean {\n if (isEditorCommandDocumentNodeLocked(options, document, id)) return false;\n return options.documentAdapter.isSelectable?.(document, id) ?? true;\n}\n\nexport function isEditorCommandObjectSelectable<TDocument, TPatch, TAsset>(\n options: LocalEditorHarnessOptions<TDocument, TPatch, TAsset>,\n document: TDocument,\n objectId: string,\n hierarchyItems: readonly LocalEditorCommandHierarchyItem[],\n): boolean {\n const inHierarchy = hierarchyItems.some(item => item.id === objectId);\n const hasProjectionNode = !!options.documentAdapter.getProjectionNode(document, objectId);\n if (!inHierarchy && !hasProjectionNode) return false;\n return isEditorCommandDocumentNodeSelectable(options, document, objectId);\n}\n\nexport function isEditorCommandHierarchyObjectSelectable<TDocument, TPatch, TAsset>(\n options: LocalEditorHarnessOptions<TDocument, TPatch, TAsset>,\n document: TDocument,\n objectId: string,\n hierarchyItems: readonly LocalEditorCommandHierarchyItem[],\n): boolean {\n return hierarchyItems.some(item => item.id === objectId)\n && isEditorCommandDocumentNodeSelectable(options, document, objectId);\n}\n\nexport function getEditorCommandSafeSceneHierarchy<TDocument>(\n operations: Pick<LocalEditorCommandCapabilitySourceOperations<TDocument>, 'getHierarchyReadModel'>,\n): LocalEditorCommandHierarchyItem[] {\n return [...getEditorCommandSafeSceneReadModel(operations).hierarchy];\n}\n\nexport function getEditorCommandSafeSceneReadModel<TDocument>(\n operations: Pick<LocalEditorCommandCapabilitySourceOperations<TDocument>, 'getHierarchyReadModel'>,\n): LocalEditorCommandSafeSceneReadModel {\n return createEditorCommandSafeSceneReadModel(operations.getHierarchyReadModel());\n}\n\nexport function createEditorCommandSafeSceneReadModel(\n model: LocalEditorCommandHierarchyReadModel,\n): LocalEditorCommandSafeSceneReadModel {\n const base = {\n authorityToken: model.authorityToken,\n scopeKey: model.snapshot.scopeKey,\n scopeType: model.snapshot.scopeType,\n revision: model.snapshot.revision,\n };\n if (model.snapshot.scopeType !== 'scene') {\n return { ...base, hierarchy: [], selection: EMPTY_EDITOR_SELECTION };\n }\n const resolved = getEditorCommandSafeHierarchyEntries(model, 'scene-object');\n const safeTargetByRowId = new Map(resolved.map(entry => [entry.node.id, entry.target.authoredId] as const));\n const hierarchy: LocalEditorCommandHierarchyItem[] = resolved.map(({ node, target, parentAuthoredId }) => {\n const role: LocalEditorCommandHierarchyItem['role'] = node.role === 'root'\n || node.role === 'group'\n || node.role === 'object'\n || node.role === 'marker'\n ? node.role\n : undefined;\n return {\n id: target.authoredId,\n label: node.label,\n parentId: parentAuthoredId,\n ...(role ? { role } : {}),\n selectable: node.selectable,\n canHaveChildren: node.canHaveChildren,\n renamable: node.renamable,\n deletable: node.deletable,\n draggable: node.draggable,\n locked: node.editorLocked === true,\n protected: node.editorLocked === true,\n };\n });\n const selectedIds = [...new Set(model.snapshot.selectedIds.flatMap(rowId => {\n const targetId = safeTargetByRowId.get(rowId);\n return targetId ? [targetId] : [];\n }))];\n const activeTargetId = model.snapshot.activeId\n ? safeTargetByRowId.get(model.snapshot.activeId) ?? null\n : null;\n const activeId = activeTargetId && selectedIds.includes(activeTargetId)\n ? activeTargetId\n : selectedIds[selectedIds.length - 1] ?? null;\n return {\n ...base,\n hierarchy,\n selection: { selectedIds, activeId },\n };\n}\n\nexport function getEditorCommandSafeHierarchyTargetByRowId(\n model: LocalEditorCommandHierarchyReadModel,\n targetKind: 'scene-object' | 'prefab-node',\n rowId: string,\n): LocalEditorCommandHierarchyTarget | null {\n return getEditorCommandSafeHierarchyEntries(model, targetKind)\n .find(entry => entry.node.id === rowId)?.target ?? null;\n}\n\nexport function getEditorCommandSafeHierarchyTargetByAuthoredId(\n model: LocalEditorCommandHierarchyReadModel,\n targetKind: 'scene-object' | 'prefab-node',\n authoredId: string,\n): LocalEditorCommandHierarchyTarget | null {\n return getEditorCommandSafeHierarchyEntries(model, targetKind)\n .find(entry => entry.target.authoredId === authoredId)?.target ?? null;\n}\n\nexport function getEditorCommandSafeHierarchyEntries(\n model: LocalEditorCommandHierarchyReadModel,\n targetKind: 'scene-object' | 'prefab-node',\n): LocalEditorCommandSafeHierarchyEntry[] {\n const orderedNodes: HierarchyNodeSnapshot[] = [];\n const visitedRowIds = new Set<string>();\n const visit = (rowId: string): void => {\n if (visitedRowIds.has(rowId)) return;\n const node = model.snapshot.nodeById.get(rowId);\n if (!node) return;\n visitedRowIds.add(rowId);\n orderedNodes.push(node);\n for (const childId of model.snapshot.childrenByParentId.get(rowId) ?? []) visit(childId);\n };\n for (const rootId of model.snapshot.rootIds) visit(rootId);\n const resolved = orderedNodes.flatMap(node => {\n const target = model.resolveTarget(node.id);\n return target?.targetKind === targetKind ? [{ node, target }] : [];\n });\n const targetCounts = new Map<string, number>();\n for (const entry of resolved) {\n targetCounts.set(entry.target.authoredId, (targetCounts.get(entry.target.authoredId) ?? 0) + 1);\n }\n const uniqueTargetByRowId = new Map(\n resolved\n .filter(entry => targetCounts.get(entry.target.authoredId) === 1)\n .map(entry => [entry.node.id, entry.target.authoredId] as const),\n );\n const safeRowMemo = new Map<string, boolean>();\n const resolvingRows = new Set<string>();\n const isSafeRow = (rowId: string): boolean => {\n const cached = safeRowMemo.get(rowId);\n if (cached !== undefined) return cached;\n const node = model.snapshot.nodeById.get(rowId);\n if (!node || !uniqueTargetByRowId.has(rowId) || resolvingRows.has(rowId)) {\n safeRowMemo.set(rowId, false);\n return false;\n }\n resolvingRows.add(rowId);\n const parent = node.parentId ? model.snapshot.nodeById.get(node.parentId) : null;\n const parentTarget = parent ? model.resolveTarget(parent.id) : null;\n const hasAllowedScopeContainer = targetKind === 'prefab-node'\n && parent?.parentId === null\n && parent.role === 'root'\n && parentTarget?.targetKind === 'hierarchy-only';\n const safe = node.parentId === null || hasAllowedScopeContainer || isSafeRow(node.parentId);\n resolvingRows.delete(rowId);\n safeRowMemo.set(rowId, safe);\n return safe;\n };\n const safeTargetByRowId = new Map(\n [...uniqueTargetByRowId].filter(([rowId]) => isSafeRow(rowId)),\n );\n return resolved.flatMap(({ node, target }) => {\n if (!safeTargetByRowId.has(node.id)) return [];\n return [{\n node,\n target,\n parentAuthoredId: node.parentId ? safeTargetByRowId.get(node.parentId) ?? null : null,\n }];\n });\n}\n\nexport function createEditorCommandSafePrefabReadModel(\n model: LocalEditorCommandHierarchyReadModel,\n nodeDetails: readonly LocalEditorCommandPrefabNodeDetails[],\n): LocalEditorCommandSafePrefabReadModel {\n const entries = getEditorCommandSafeHierarchyEntries(model, 'prefab-node');\n const detailCounts = new Map<string, number>();\n for (const detail of nodeDetails) {\n detailCounts.set(detail.nodeId, (detailCounts.get(detail.nodeId) ?? 0) + 1);\n }\n const uniqueDetailsByNodeId = new Map(nodeDetails\n .filter(detail => detailCounts.get(detail.nodeId) === 1)\n .map(detail => [detail.nodeId, detail] as const));\n const nodeIdByRowId = new Map(entries.map(entry => [entry.node.id, entry.target.authoredId] as const));\n const nodes = entries.map(({ node, target, parentAuthoredId }) => ({\n rowId: node.id,\n nodeId: target.authoredId,\n label: node.label,\n parentNodeId: parentAuthoredId,\n role: node.role,\n details: uniqueDetailsByNodeId.get(target.authoredId) ?? null,\n }));\n const selectedNodeIds = [...new Set(model.snapshot.selectedIds.flatMap(rowId => {\n const nodeId = nodeIdByRowId.get(rowId);\n return nodeId ? [nodeId] : [];\n }))];\n const activeTargetId = model.snapshot.activeId\n ? nodeIdByRowId.get(model.snapshot.activeId) ?? null\n : null;\n return {\n authorityToken: model.authorityToken,\n scopeKey: model.snapshot.scopeKey,\n scopeType: model.snapshot.scopeType,\n revision: model.snapshot.revision,\n nodes,\n selectedNodeIds,\n activeNodeId: activeTargetId && selectedNodeIds.includes(activeTargetId)\n ? activeTargetId\n : selectedNodeIds[selectedNodeIds.length - 1] ?? null,\n };\n}\n\nexport function hasEditorCommandSafeSceneScope<TDocument>(\n operations: Pick<LocalEditorCommandCapabilitySourceOperations<TDocument>, 'getHierarchyReadModel'>,\n): boolean {\n return operations.getHierarchyReadModel().snapshot.scopeType === 'scene';\n}\n\nexport function getEditorCommandSafeSceneSelection<TDocument>(\n operations: Pick<LocalEditorCommandCapabilitySourceOperations<TDocument>, 'getHierarchyReadModel'>,\n): EditorSelectionState {\n return getEditorCommandSafeSceneReadModel(operations).selection;\n}\n\nexport function isEditorCommandSafeSceneObjectId<TDocument>(\n operations: Pick<LocalEditorCommandCapabilitySourceOperations<TDocument>, 'getHierarchyReadModel'>,\n objectId: string,\n): boolean {\n return getEditorCommandSafeSceneReadModel(operations).hierarchy.some(item => item.id === objectId);\n}\n"]}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { EditorCommandCallResult, EditorCommandAssetAnalysisGetInput, EditorCommandAssetAnalysisGetOutput, EditorCommandAssetInfoGetInput, EditorCommandAssetInfoGetOutput, EditorCommandAssetLibraryListInput, EditorCommandAssetLibraryListOutput, EditorCommandEditorSnapshot, EditorCommandEditorSnapshotGetInput, EditorCommandEditorState, EditorCommandEditorStateGetInput, EditorCommandEditorDiagnosticsListInput, EditorCommandEditorDiagnosticsListOutput, EditorCommandUiRegionsGetInput, EditorCommandUiRegionsGetOutput, EditorCommandHostEditorEnterInput, EditorCommandHostEditorEnterOutput, EditorCommandHostEditorSaveAndRunInput, EditorCommandHostEditorSaveAndRunOutput, EditorCommandHostEditorDiscardAndRunInput, EditorCommandHostEditorDiscardAndRunOutput, EditorCommandHostEditorWaitReadyInput, EditorCommandHostEditorWaitReadyOutput, EditorCommandHostModeGetInput, EditorCommandHostModeGetOutput, EditorCommandHierarchyScopeGetInput, EditorCommandHierarchyScopeGetOutput, EditorCommandHierarchyOperationsListInput, EditorCommandHierarchyOperationsListOutput, EditorCommandHierarchyOperationExecuteInput, EditorCommandHierarchyOperationExecuteOutput, EditorCommandObjectCreatePrimitiveInput, EditorCommandObjectCreatePrimitiveOutput, EditorCommandObjectCreateFromAssetInput, EditorCommandObjectCreateFromAssetOutput, EditorCommandObjectDeleteInput, EditorCommandObjectDeleteOutput, EditorCommandObjectResolveInput, EditorCommandObjectResolveOutput, EditorCommandPrefabMaterialSlotsListInput, EditorCommandPrefabMaterialSlotsListOutput, EditorCommandPrefabAssetRenameInput, EditorCommandPrefabAssetRenameOutput, EditorCommandPrefabNodeCreateFromAssetInput, EditorCommandPrefabNodeCreateGroupInput, EditorCommandPrefabNodeCreateMarkerInput, EditorCommandPrefabNodeCreatePrimitiveInput, EditorCommandPrefabNodeDeleteInput, EditorCommandPrefabNodeMutationOutput, EditorCommandPrefabNodeReparentInput, EditorCommandPrefabNodeRenameInput, EditorCommandPrefabNodeRenameOutput, EditorCommandPrefabNodeSelectInput, EditorCommandPrefabNodeSelectOutput, EditorCommandPrefabNodeSetTransformInput, EditorCommandPrefabNodeSetMarkerInput, EditorCommandPrefabResolveInput, EditorCommandPrefabResolveOutput, EditorCommandPrefabSceneGetInput, EditorCommandPrefabSceneGetOutput, EditorCommandPrefabSourceStructureGetInput, EditorCommandPrefabSourceStructureGetOutput, EditorCommandPrefabStageExitInput, EditorCommandPrefabStageExitOutput, EditorCommandPrefabStageActionInput, EditorCommandPrefabStageActionOutput, EditorCommandPrefabStageOpenInput, EditorCommandPrefabStageOpenOutput, EditorCommandSceneObject, EditorCommandSceneObjectsListInput, EditorCommandSelectionSetInput, EditorCommandSelectionSetOutput, EditorCommandSelectionState, EditorCommandShadowPolicyGetInput, EditorCommandShadowPolicyGetOutput, EditorCommandShadowPolicySetInput, EditorCommandShadowPolicySetOutput, EditorCommandShadowMapExperimentConfigGetInput, EditorCommandShadowMapExperimentConfigGetOutput, EditorCommandShadowMapExperimentPolicyGetInput, EditorCommandShadowMapExperimentPolicyOutput, EditorCommandShadowMapExperimentPolicySetInput, EditorCommandShadowMapExperimentPolicySetOutput, EditorCommandShadowMapExperimentPlanPreviewInput, EditorCommandShadowMapExperimentPlanPreviewOutput, EditorCommandShadowMapExperimentRuntimeSnapshotInput, EditorCommandShadowMapExperimentRuntimeSnapshotOutput, EditorCommandShadowDebugInspectInput, EditorCommandShadowDebugInspectOutput, EditorCommandShadowDebugContextClearInput, EditorCommandShadowDebugContextClearOutput, EditorCommandShadowDebugContextEnterInput, EditorCommandShadowDebugContextEnterOutput, EditorCommandShadowDebugOverlayClearInput, EditorCommandShadowDebugOverlayClearOutput, EditorCommandShadowDebugOverlaySetInput, EditorCommandShadowDebugOverlaySetOutput, EditorCommandShadowDebugVisibilityMeasureInput, EditorCommandShadowDebugVisibilityMeasureOutput, EditorCommandShadowReceiversListInput, EditorCommandShadowReceiversListOutput, EditorCommandShadowResolvePreviewInput, EditorCommandShadowResolvePreviewOutput, EditorCommandShadowStaticBakeInput, EditorCommandShadowStaticBakeOutput, EditorCommandShadowStaticInvalidateInput, EditorCommandShadowStaticInvalidateOutput, EditorCommandTransformMoveInput, EditorCommandTransformMoveOutput, EditorCommandTransformSetInput, EditorCommandTransformSetOutput, EditorCommandViewportCameraGetInput, EditorCommandViewportCameraOrbitInput, EditorCommandViewportCameraOrbitOutput, EditorCommandViewportCameraSetPresetInput, EditorCommandViewportCameraSetPresetOutput, EditorCommandViewportCameraState, EditorCommandViewportFocusObjectInput, EditorCommandViewportFocusObjectOutput, EditorCommandViewportFrameSelectionInput, EditorCommandViewportFrameSelectionOutput, EditorCommandViewportIsolationEnterInput, EditorCommandViewportIsolationEnterOutput, EditorCommandViewportVisibilityClearInput, EditorCommandViewportVisibilityMutationOutput, EditorCommandViewportVisibilitySetInput, EditorCommandViewportVisibilitySnapshotInput, EditorCommandViewportVisibilitySnapshotOutput } from '@fps-games/editor-protocol';
|
|
2
|
+
import type { EditorCommandCallContext } from '@fps-games/editor-core';
|
|
3
|
+
export type LocalEditorCommandSourceResult<TOutput> = TOutput | EditorCommandCallResult<TOutput> | Promise<TOutput | EditorCommandCallResult<TOutput>>;
|
|
4
|
+
export interface LocalEditorCommandHostSource {
|
|
5
|
+
isBusy(): boolean;
|
|
6
|
+
getMode(input: EditorCommandHostModeGetInput): LocalEditorCommandSourceResult<EditorCommandHostModeGetOutput>;
|
|
7
|
+
enterEditor(input: EditorCommandHostEditorEnterInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandHostEditorEnterOutput>;
|
|
8
|
+
saveAndRun(input: EditorCommandHostEditorSaveAndRunInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandHostEditorSaveAndRunOutput>;
|
|
9
|
+
discardAndRun(input: EditorCommandHostEditorDiscardAndRunInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandHostEditorDiscardAndRunOutput>;
|
|
10
|
+
waitReady(input: EditorCommandHostEditorWaitReadyInput): LocalEditorCommandSourceResult<EditorCommandHostEditorWaitReadyOutput>;
|
|
11
|
+
}
|
|
12
|
+
export interface LocalEditorCommandAssetSource {
|
|
13
|
+
listAssets(input: EditorCommandAssetLibraryListInput): LocalEditorCommandSourceResult<EditorCommandAssetLibraryListOutput>;
|
|
14
|
+
getAssetInfo(input: EditorCommandAssetInfoGetInput): LocalEditorCommandSourceResult<EditorCommandAssetInfoGetOutput>;
|
|
15
|
+
getAssetAnalysis(input: EditorCommandAssetAnalysisGetInput): LocalEditorCommandSourceResult<EditorCommandAssetAnalysisGetOutput>;
|
|
16
|
+
}
|
|
17
|
+
export interface LocalEditorCommandHierarchySource {
|
|
18
|
+
getScope(input: EditorCommandHierarchyScopeGetInput): LocalEditorCommandSourceResult<EditorCommandHierarchyScopeGetOutput>;
|
|
19
|
+
listOperations(input: EditorCommandHierarchyOperationsListInput): LocalEditorCommandSourceResult<EditorCommandHierarchyOperationsListOutput>;
|
|
20
|
+
executeOperation(input: EditorCommandHierarchyOperationExecuteInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandHierarchyOperationExecuteOutput>;
|
|
21
|
+
}
|
|
22
|
+
export interface LocalEditorCommandObjectSource {
|
|
23
|
+
listObjects(input: EditorCommandSceneObjectsListInput): EditorCommandSceneObject[];
|
|
24
|
+
resolveObject(input: EditorCommandObjectResolveInput): EditorCommandObjectResolveOutput;
|
|
25
|
+
getObject(objectId: string): EditorCommandSceneObject | null;
|
|
26
|
+
createPrimitive(input: EditorCommandObjectCreatePrimitiveInput): LocalEditorCommandSourceResult<EditorCommandObjectCreatePrimitiveOutput>;
|
|
27
|
+
createFromAsset(input: EditorCommandObjectCreateFromAssetInput): LocalEditorCommandSourceResult<EditorCommandObjectCreateFromAssetOutput>;
|
|
28
|
+
deleteObjects(input: EditorCommandObjectDeleteInput): LocalEditorCommandSourceResult<EditorCommandObjectDeleteOutput>;
|
|
29
|
+
}
|
|
30
|
+
export interface LocalEditorCommandPrefabSource {
|
|
31
|
+
resolvePrefab(input: EditorCommandPrefabResolveInput): LocalEditorCommandSourceResult<EditorCommandPrefabResolveOutput>;
|
|
32
|
+
openStage(input: EditorCommandPrefabStageOpenInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandPrefabStageOpenOutput>;
|
|
33
|
+
exitStage(input: EditorCommandPrefabStageExitInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandPrefabStageExitOutput>;
|
|
34
|
+
saveStage(input: EditorCommandPrefabStageActionInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandPrefabStageActionOutput>;
|
|
35
|
+
discardStage(input: EditorCommandPrefabStageActionInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandPrefabStageActionOutput>;
|
|
36
|
+
renameAsset(input: EditorCommandPrefabAssetRenameInput): LocalEditorCommandSourceResult<EditorCommandPrefabAssetRenameOutput>;
|
|
37
|
+
getScene(input: EditorCommandPrefabSceneGetInput): LocalEditorCommandSourceResult<EditorCommandPrefabSceneGetOutput>;
|
|
38
|
+
selectNode(input: EditorCommandPrefabNodeSelectInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeSelectOutput>;
|
|
39
|
+
createNodeFromAsset(input: EditorCommandPrefabNodeCreateFromAssetInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;
|
|
40
|
+
createGroupNode(input: EditorCommandPrefabNodeCreateGroupInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;
|
|
41
|
+
createMarkerNode(input: EditorCommandPrefabNodeCreateMarkerInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;
|
|
42
|
+
createPrimitiveNode(input: EditorCommandPrefabNodeCreatePrimitiveInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;
|
|
43
|
+
setNodeTransform(input: EditorCommandPrefabNodeSetTransformInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;
|
|
44
|
+
setNodeMarker(input: EditorCommandPrefabNodeSetMarkerInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;
|
|
45
|
+
renameNode(input: EditorCommandPrefabNodeRenameInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeRenameOutput>;
|
|
46
|
+
reparentNode(input: EditorCommandPrefabNodeReparentInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;
|
|
47
|
+
deleteNode(input: EditorCommandPrefabNodeDeleteInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;
|
|
48
|
+
getSourceStructure(input: EditorCommandPrefabSourceStructureGetInput): LocalEditorCommandSourceResult<EditorCommandPrefabSourceStructureGetOutput>;
|
|
49
|
+
listMaterialSlots(input: EditorCommandPrefabMaterialSlotsListInput): LocalEditorCommandSourceResult<EditorCommandPrefabMaterialSlotsListOutput>;
|
|
50
|
+
}
|
|
51
|
+
export interface LocalEditorCommandSelectionSource {
|
|
52
|
+
getSelection(): EditorCommandSelectionState;
|
|
53
|
+
setSelection(input: EditorCommandSelectionSetInput): LocalEditorCommandSourceResult<EditorCommandSelectionSetOutput>;
|
|
54
|
+
}
|
|
55
|
+
export interface LocalEditorCommandShadowSource {
|
|
56
|
+
getPolicy(input: EditorCommandShadowPolicyGetInput): LocalEditorCommandSourceResult<EditorCommandShadowPolicyGetOutput>;
|
|
57
|
+
setPolicy(input: EditorCommandShadowPolicySetInput): LocalEditorCommandSourceResult<EditorCommandShadowPolicySetOutput>;
|
|
58
|
+
getShadowMapExperimentConfig(input: EditorCommandShadowMapExperimentConfigGetInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentConfigGetOutput>;
|
|
59
|
+
getShadowMapExperimentPolicy(input: EditorCommandShadowMapExperimentPolicyGetInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentPolicyOutput>;
|
|
60
|
+
setShadowMapExperimentPolicy(input: EditorCommandShadowMapExperimentPolicySetInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentPolicySetOutput>;
|
|
61
|
+
previewShadowMapExperimentPlan(input: EditorCommandShadowMapExperimentPlanPreviewInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentPlanPreviewOutput>;
|
|
62
|
+
snapshotShadowMapExperimentRuntime(input: EditorCommandShadowMapExperimentRuntimeSnapshotInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentRuntimeSnapshotOutput>;
|
|
63
|
+
listReceivers(input: EditorCommandShadowReceiversListInput): LocalEditorCommandSourceResult<EditorCommandShadowReceiversListOutput>;
|
|
64
|
+
resolvePreview(input: EditorCommandShadowResolvePreviewInput): LocalEditorCommandSourceResult<EditorCommandShadowResolvePreviewOutput>;
|
|
65
|
+
inspectDebug(input: EditorCommandShadowDebugInspectInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugInspectOutput>;
|
|
66
|
+
enterDebugContext(input: EditorCommandShadowDebugContextEnterInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugContextEnterOutput>;
|
|
67
|
+
clearDebugContext(input: EditorCommandShadowDebugContextClearInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugContextClearOutput>;
|
|
68
|
+
setDebugOverlay(input: EditorCommandShadowDebugOverlaySetInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugOverlaySetOutput>;
|
|
69
|
+
clearDebugOverlay(input: EditorCommandShadowDebugOverlayClearInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugOverlayClearOutput>;
|
|
70
|
+
measureVisibility(input: EditorCommandShadowDebugVisibilityMeasureInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugVisibilityMeasureOutput>;
|
|
71
|
+
bakeStatic(input: EditorCommandShadowStaticBakeInput): LocalEditorCommandSourceResult<EditorCommandShadowStaticBakeOutput>;
|
|
72
|
+
invalidateStatic(input: EditorCommandShadowStaticInvalidateInput): LocalEditorCommandSourceResult<EditorCommandShadowStaticInvalidateOutput>;
|
|
73
|
+
}
|
|
74
|
+
export interface LocalEditorCommandTransformSource {
|
|
75
|
+
move(input: EditorCommandTransformMoveInput): LocalEditorCommandSourceResult<EditorCommandTransformMoveOutput>;
|
|
76
|
+
set(input: EditorCommandTransformSetInput): LocalEditorCommandSourceResult<EditorCommandTransformSetOutput>;
|
|
77
|
+
}
|
|
78
|
+
export interface LocalEditorCommandViewportSource {
|
|
79
|
+
focusObject(input: EditorCommandViewportFocusObjectInput): LocalEditorCommandSourceResult<EditorCommandViewportFocusObjectOutput>;
|
|
80
|
+
frameSelection(input: EditorCommandViewportFrameSelectionInput): LocalEditorCommandSourceResult<EditorCommandViewportFrameSelectionOutput>;
|
|
81
|
+
getCamera(input: EditorCommandViewportCameraGetInput): LocalEditorCommandSourceResult<EditorCommandViewportCameraState>;
|
|
82
|
+
setCameraPreset(input: EditorCommandViewportCameraSetPresetInput): LocalEditorCommandSourceResult<EditorCommandViewportCameraSetPresetOutput>;
|
|
83
|
+
orbitCamera(input: EditorCommandViewportCameraOrbitInput): LocalEditorCommandSourceResult<EditorCommandViewportCameraOrbitOutput>;
|
|
84
|
+
getVisibilitySnapshot(input: EditorCommandViewportVisibilitySnapshotInput): LocalEditorCommandSourceResult<EditorCommandViewportVisibilitySnapshotOutput>;
|
|
85
|
+
setVisibility(input: EditorCommandViewportVisibilitySetInput): LocalEditorCommandSourceResult<EditorCommandViewportVisibilityMutationOutput>;
|
|
86
|
+
clearVisibility(input: EditorCommandViewportVisibilityClearInput): LocalEditorCommandSourceResult<EditorCommandViewportVisibilityMutationOutput>;
|
|
87
|
+
enterIsolation(input: EditorCommandViewportIsolationEnterInput): LocalEditorCommandSourceResult<EditorCommandViewportIsolationEnterOutput>;
|
|
88
|
+
}
|
|
89
|
+
export interface LocalEditorCommandStateSource {
|
|
90
|
+
getSnapshot(input: EditorCommandEditorSnapshotGetInput): EditorCommandEditorSnapshot;
|
|
91
|
+
getState(input: EditorCommandEditorStateGetInput): EditorCommandEditorState;
|
|
92
|
+
listDiagnostics(input: EditorCommandEditorDiagnosticsListInput): EditorCommandEditorDiagnosticsListOutput;
|
|
93
|
+
}
|
|
94
|
+
export interface LocalEditorCommandUiSource {
|
|
95
|
+
getRegions(input: EditorCommandUiRegionsGetInput): LocalEditorCommandSourceResult<EditorCommandUiRegionsGetOutput>;
|
|
96
|
+
}
|
|
97
|
+
export interface LocalEditorCommandCapabilitySources {
|
|
98
|
+
assets: LocalEditorCommandAssetSource;
|
|
99
|
+
host: LocalEditorCommandHostSource;
|
|
100
|
+
hierarchy: LocalEditorCommandHierarchySource;
|
|
101
|
+
objects: LocalEditorCommandObjectSource;
|
|
102
|
+
prefabs: LocalEditorCommandPrefabSource;
|
|
103
|
+
selection: LocalEditorCommandSelectionSource;
|
|
104
|
+
shadows: LocalEditorCommandShadowSource;
|
|
105
|
+
transform: LocalEditorCommandTransformSource;
|
|
106
|
+
viewport: LocalEditorCommandViewportSource;
|
|
107
|
+
state: LocalEditorCommandStateSource;
|
|
108
|
+
ui: LocalEditorCommandUiSource;
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=source-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-types.d.ts","sourceRoot":"","sources":["../../src/editor-commands/source-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB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E,EAAE,0BAA0B,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-types.js","sourceRoot":"","sources":["../../src/editor-commands/source-types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n EditorCommandCallResult,\n EditorCommandAssetAnalysisGetInput,\n EditorCommandAssetAnalysisGetOutput,\n EditorCommandAssetInfoGetInput,\n EditorCommandAssetInfoGetOutput,\n EditorCommandAssetLibraryListInput,\n EditorCommandAssetLibraryListOutput,\n EditorCommandEditorSnapshot,\n EditorCommandEditorSnapshotGetInput,\n EditorCommandEditorState,\n EditorCommandEditorStateGetInput,\n EditorCommandEditorDiagnosticsListInput,\n EditorCommandEditorDiagnosticsListOutput,\n EditorCommandUiRegionsGetInput,\n EditorCommandUiRegionsGetOutput,\n EditorCommandHostEditorEnterInput,\n EditorCommandHostEditorEnterOutput,\n EditorCommandHostEditorSaveAndRunInput,\n EditorCommandHostEditorSaveAndRunOutput,\n EditorCommandHostEditorDiscardAndRunInput,\n EditorCommandHostEditorDiscardAndRunOutput,\n EditorCommandHostEditorWaitReadyInput,\n EditorCommandHostEditorWaitReadyOutput,\n EditorCommandHostModeGetInput,\n EditorCommandHostModeGetOutput,\n EditorCommandHierarchyScopeGetInput,\n EditorCommandHierarchyScopeGetOutput,\n EditorCommandHierarchyOperationsListInput,\n EditorCommandHierarchyOperationsListOutput,\n EditorCommandHierarchyOperationExecuteInput,\n EditorCommandHierarchyOperationExecuteOutput,\n EditorCommandObjectCreatePrimitiveInput,\n EditorCommandObjectCreatePrimitiveOutput,\n EditorCommandObjectCreateFromAssetInput,\n EditorCommandObjectCreateFromAssetOutput,\n EditorCommandObjectDeleteInput,\n EditorCommandObjectDeleteOutput,\n EditorCommandObjectResolveInput,\n EditorCommandObjectResolveOutput,\n EditorCommandPrefabMaterialSlotsListInput,\n EditorCommandPrefabMaterialSlotsListOutput,\n EditorCommandPrefabAssetRenameInput,\n EditorCommandPrefabAssetRenameOutput,\n EditorCommandPrefabNodeCreateFromAssetInput,\n EditorCommandPrefabNodeCreateGroupInput,\n EditorCommandPrefabNodeCreateMarkerInput,\n EditorCommandPrefabNodeCreatePrimitiveInput,\n EditorCommandPrefabNodeDeleteInput,\n EditorCommandPrefabNodeMutationOutput,\n EditorCommandPrefabNodeReparentInput,\n EditorCommandPrefabNodeRenameInput,\n EditorCommandPrefabNodeRenameOutput,\n EditorCommandPrefabNodeSelectInput,\n EditorCommandPrefabNodeSelectOutput,\n EditorCommandPrefabNodeSetTransformInput,\n EditorCommandPrefabNodeSetMarkerInput,\n EditorCommandPrefabResolveInput,\n EditorCommandPrefabResolveOutput,\n EditorCommandPrefabSceneGetInput,\n EditorCommandPrefabSceneGetOutput,\n EditorCommandPrefabSourceStructureGetInput,\n EditorCommandPrefabSourceStructureGetOutput,\n EditorCommandPrefabStageExitInput,\n EditorCommandPrefabStageExitOutput,\n EditorCommandPrefabStageActionInput,\n EditorCommandPrefabStageActionOutput,\n EditorCommandPrefabStageOpenInput,\n EditorCommandPrefabStageOpenOutput,\n EditorCommandSceneObject,\n EditorCommandSceneObjectsListInput,\n EditorCommandSelectionSetInput,\n EditorCommandSelectionSetOutput,\n EditorCommandSelectionState,\n EditorCommandShadowPolicyGetInput,\n EditorCommandShadowPolicyGetOutput,\n EditorCommandShadowPolicySetInput,\n EditorCommandShadowPolicySetOutput,\n EditorCommandShadowMapExperimentConfigGetInput,\n EditorCommandShadowMapExperimentConfigGetOutput,\n EditorCommandShadowMapExperimentPolicyGetInput,\n EditorCommandShadowMapExperimentPolicyOutput,\n EditorCommandShadowMapExperimentPolicySetInput,\n EditorCommandShadowMapExperimentPolicySetOutput,\n EditorCommandShadowMapExperimentPlanPreviewInput,\n EditorCommandShadowMapExperimentPlanPreviewOutput,\n EditorCommandShadowMapExperimentRuntimeSnapshotInput,\n EditorCommandShadowMapExperimentRuntimeSnapshotOutput,\n EditorCommandShadowDebugInspectInput,\n EditorCommandShadowDebugInspectOutput,\n EditorCommandShadowDebugContextClearInput,\n EditorCommandShadowDebugContextClearOutput,\n EditorCommandShadowDebugContextEnterInput,\n EditorCommandShadowDebugContextEnterOutput,\n EditorCommandShadowDebugOverlayClearInput,\n EditorCommandShadowDebugOverlayClearOutput,\n EditorCommandShadowDebugOverlaySetInput,\n EditorCommandShadowDebugOverlaySetOutput,\n EditorCommandShadowDebugVisibilityMeasureInput,\n EditorCommandShadowDebugVisibilityMeasureOutput,\n EditorCommandShadowReceiversListInput,\n EditorCommandShadowReceiversListOutput,\n EditorCommandShadowResolvePreviewInput,\n EditorCommandShadowResolvePreviewOutput,\n EditorCommandShadowStaticBakeInput,\n EditorCommandShadowStaticBakeOutput,\n EditorCommandShadowStaticInvalidateInput,\n EditorCommandShadowStaticInvalidateOutput,\n EditorCommandTransformMoveInput,\n EditorCommandTransformMoveOutput,\n EditorCommandTransformSetInput,\n EditorCommandTransformSetOutput,\n EditorCommandViewportCameraGetInput,\n EditorCommandViewportCameraOrbitInput,\n EditorCommandViewportCameraOrbitOutput,\n EditorCommandViewportCameraSetPresetInput,\n EditorCommandViewportCameraSetPresetOutput,\n EditorCommandViewportCameraState,\n EditorCommandViewportFocusObjectInput,\n EditorCommandViewportFocusObjectOutput,\n EditorCommandViewportFrameSelectionInput,\n EditorCommandViewportFrameSelectionOutput,\n EditorCommandViewportIsolationEnterInput,\n EditorCommandViewportIsolationEnterOutput,\n EditorCommandViewportVisibilityClearInput,\n EditorCommandViewportVisibilityMutationOutput,\n EditorCommandViewportVisibilitySetInput,\n EditorCommandViewportVisibilitySnapshotInput,\n EditorCommandViewportVisibilitySnapshotOutput,\n} from '@fps-games/editor-protocol';\nimport type { EditorCommandCallContext } from '@fps-games/editor-core';\n\nexport type LocalEditorCommandSourceResult<TOutput> =\n | TOutput\n | EditorCommandCallResult<TOutput>\n | Promise<TOutput | EditorCommandCallResult<TOutput>>;\n\nexport interface LocalEditorCommandHostSource {\n isBusy(): boolean;\n getMode(input: EditorCommandHostModeGetInput): LocalEditorCommandSourceResult<EditorCommandHostModeGetOutput>;\n enterEditor(input: EditorCommandHostEditorEnterInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandHostEditorEnterOutput>;\n saveAndRun(input: EditorCommandHostEditorSaveAndRunInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandHostEditorSaveAndRunOutput>;\n discardAndRun(input: EditorCommandHostEditorDiscardAndRunInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandHostEditorDiscardAndRunOutput>;\n waitReady(input: EditorCommandHostEditorWaitReadyInput): LocalEditorCommandSourceResult<EditorCommandHostEditorWaitReadyOutput>;\n}\n\nexport interface LocalEditorCommandAssetSource {\n listAssets(input: EditorCommandAssetLibraryListInput): LocalEditorCommandSourceResult<EditorCommandAssetLibraryListOutput>;\n getAssetInfo(input: EditorCommandAssetInfoGetInput): LocalEditorCommandSourceResult<EditorCommandAssetInfoGetOutput>;\n getAssetAnalysis(input: EditorCommandAssetAnalysisGetInput): LocalEditorCommandSourceResult<EditorCommandAssetAnalysisGetOutput>;\n}\n\nexport interface LocalEditorCommandHierarchySource {\n getScope(input: EditorCommandHierarchyScopeGetInput): LocalEditorCommandSourceResult<EditorCommandHierarchyScopeGetOutput>;\n listOperations(input: EditorCommandHierarchyOperationsListInput): LocalEditorCommandSourceResult<EditorCommandHierarchyOperationsListOutput>;\n executeOperation(\n input: EditorCommandHierarchyOperationExecuteInput,\n context?: EditorCommandCallContext,\n ): LocalEditorCommandSourceResult<EditorCommandHierarchyOperationExecuteOutput>;\n}\n\nexport interface LocalEditorCommandObjectSource {\n listObjects(input: EditorCommandSceneObjectsListInput): EditorCommandSceneObject[];\n resolveObject(input: EditorCommandObjectResolveInput): EditorCommandObjectResolveOutput;\n getObject(objectId: string): EditorCommandSceneObject | null;\n createPrimitive(input: EditorCommandObjectCreatePrimitiveInput): LocalEditorCommandSourceResult<EditorCommandObjectCreatePrimitiveOutput>;\n createFromAsset(input: EditorCommandObjectCreateFromAssetInput): LocalEditorCommandSourceResult<EditorCommandObjectCreateFromAssetOutput>;\n deleteObjects(input: EditorCommandObjectDeleteInput): LocalEditorCommandSourceResult<EditorCommandObjectDeleteOutput>;\n}\n\nexport interface LocalEditorCommandPrefabSource {\n resolvePrefab(input: EditorCommandPrefabResolveInput): LocalEditorCommandSourceResult<EditorCommandPrefabResolveOutput>;\n openStage(input: EditorCommandPrefabStageOpenInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandPrefabStageOpenOutput>;\n exitStage(input: EditorCommandPrefabStageExitInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandPrefabStageExitOutput>;\n saveStage(input: EditorCommandPrefabStageActionInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandPrefabStageActionOutput>;\n discardStage(input: EditorCommandPrefabStageActionInput, context?: EditorCommandCallContext): LocalEditorCommandSourceResult<EditorCommandPrefabStageActionOutput>;\n renameAsset(input: EditorCommandPrefabAssetRenameInput): LocalEditorCommandSourceResult<EditorCommandPrefabAssetRenameOutput>;\n getScene(input: EditorCommandPrefabSceneGetInput): LocalEditorCommandSourceResult<EditorCommandPrefabSceneGetOutput>;\n selectNode(input: EditorCommandPrefabNodeSelectInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeSelectOutput>;\n createNodeFromAsset(input: EditorCommandPrefabNodeCreateFromAssetInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;\n createGroupNode(input: EditorCommandPrefabNodeCreateGroupInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;\n createMarkerNode(input: EditorCommandPrefabNodeCreateMarkerInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;\n createPrimitiveNode(input: EditorCommandPrefabNodeCreatePrimitiveInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;\n setNodeTransform(input: EditorCommandPrefabNodeSetTransformInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;\n setNodeMarker(input: EditorCommandPrefabNodeSetMarkerInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;\n renameNode(input: EditorCommandPrefabNodeRenameInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeRenameOutput>;\n reparentNode(input: EditorCommandPrefabNodeReparentInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;\n deleteNode(input: EditorCommandPrefabNodeDeleteInput): LocalEditorCommandSourceResult<EditorCommandPrefabNodeMutationOutput>;\n getSourceStructure(input: EditorCommandPrefabSourceStructureGetInput): LocalEditorCommandSourceResult<EditorCommandPrefabSourceStructureGetOutput>;\n listMaterialSlots(input: EditorCommandPrefabMaterialSlotsListInput): LocalEditorCommandSourceResult<EditorCommandPrefabMaterialSlotsListOutput>;\n}\n\nexport interface LocalEditorCommandSelectionSource {\n getSelection(): EditorCommandSelectionState;\n setSelection(input: EditorCommandSelectionSetInput): LocalEditorCommandSourceResult<EditorCommandSelectionSetOutput>;\n}\n\nexport interface LocalEditorCommandShadowSource {\n getPolicy(input: EditorCommandShadowPolicyGetInput): LocalEditorCommandSourceResult<EditorCommandShadowPolicyGetOutput>;\n setPolicy(input: EditorCommandShadowPolicySetInput): LocalEditorCommandSourceResult<EditorCommandShadowPolicySetOutput>;\n getShadowMapExperimentConfig(input: EditorCommandShadowMapExperimentConfigGetInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentConfigGetOutput>;\n getShadowMapExperimentPolicy(input: EditorCommandShadowMapExperimentPolicyGetInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentPolicyOutput>;\n setShadowMapExperimentPolicy(input: EditorCommandShadowMapExperimentPolicySetInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentPolicySetOutput>;\n previewShadowMapExperimentPlan(input: EditorCommandShadowMapExperimentPlanPreviewInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentPlanPreviewOutput>;\n snapshotShadowMapExperimentRuntime(input: EditorCommandShadowMapExperimentRuntimeSnapshotInput): LocalEditorCommandSourceResult<EditorCommandShadowMapExperimentRuntimeSnapshotOutput>;\n listReceivers(input: EditorCommandShadowReceiversListInput): LocalEditorCommandSourceResult<EditorCommandShadowReceiversListOutput>;\n resolvePreview(input: EditorCommandShadowResolvePreviewInput): LocalEditorCommandSourceResult<EditorCommandShadowResolvePreviewOutput>;\n inspectDebug(input: EditorCommandShadowDebugInspectInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugInspectOutput>;\n enterDebugContext(input: EditorCommandShadowDebugContextEnterInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugContextEnterOutput>;\n clearDebugContext(input: EditorCommandShadowDebugContextClearInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugContextClearOutput>;\n setDebugOverlay(input: EditorCommandShadowDebugOverlaySetInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugOverlaySetOutput>;\n clearDebugOverlay(input: EditorCommandShadowDebugOverlayClearInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugOverlayClearOutput>;\n measureVisibility(input: EditorCommandShadowDebugVisibilityMeasureInput): LocalEditorCommandSourceResult<EditorCommandShadowDebugVisibilityMeasureOutput>;\n bakeStatic(input: EditorCommandShadowStaticBakeInput): LocalEditorCommandSourceResult<EditorCommandShadowStaticBakeOutput>;\n invalidateStatic(input: EditorCommandShadowStaticInvalidateInput): LocalEditorCommandSourceResult<EditorCommandShadowStaticInvalidateOutput>;\n}\n\nexport interface LocalEditorCommandTransformSource {\n move(input: EditorCommandTransformMoveInput): LocalEditorCommandSourceResult<EditorCommandTransformMoveOutput>;\n set(input: EditorCommandTransformSetInput): LocalEditorCommandSourceResult<EditorCommandTransformSetOutput>;\n}\n\nexport interface LocalEditorCommandViewportSource {\n focusObject(input: EditorCommandViewportFocusObjectInput): LocalEditorCommandSourceResult<EditorCommandViewportFocusObjectOutput>;\n frameSelection(input: EditorCommandViewportFrameSelectionInput): LocalEditorCommandSourceResult<EditorCommandViewportFrameSelectionOutput>;\n getCamera(input: EditorCommandViewportCameraGetInput): LocalEditorCommandSourceResult<EditorCommandViewportCameraState>;\n setCameraPreset(input: EditorCommandViewportCameraSetPresetInput): LocalEditorCommandSourceResult<EditorCommandViewportCameraSetPresetOutput>;\n orbitCamera(input: EditorCommandViewportCameraOrbitInput): LocalEditorCommandSourceResult<EditorCommandViewportCameraOrbitOutput>;\n getVisibilitySnapshot(input: EditorCommandViewportVisibilitySnapshotInput): LocalEditorCommandSourceResult<EditorCommandViewportVisibilitySnapshotOutput>;\n setVisibility(input: EditorCommandViewportVisibilitySetInput): LocalEditorCommandSourceResult<EditorCommandViewportVisibilityMutationOutput>;\n clearVisibility(input: EditorCommandViewportVisibilityClearInput): LocalEditorCommandSourceResult<EditorCommandViewportVisibilityMutationOutput>;\n enterIsolation(input: EditorCommandViewportIsolationEnterInput): LocalEditorCommandSourceResult<EditorCommandViewportIsolationEnterOutput>;\n}\n\nexport interface LocalEditorCommandStateSource {\n getSnapshot(input: EditorCommandEditorSnapshotGetInput): EditorCommandEditorSnapshot;\n getState(input: EditorCommandEditorStateGetInput): EditorCommandEditorState;\n listDiagnostics(input: EditorCommandEditorDiagnosticsListInput): EditorCommandEditorDiagnosticsListOutput;\n}\n\nexport interface LocalEditorCommandUiSource {\n getRegions(input: EditorCommandUiRegionsGetInput): LocalEditorCommandSourceResult<EditorCommandUiRegionsGetOutput>;\n}\n\nexport interface LocalEditorCommandCapabilitySources {\n assets: LocalEditorCommandAssetSource;\n host: LocalEditorCommandHostSource;\n hierarchy: LocalEditorCommandHierarchySource;\n objects: LocalEditorCommandObjectSource;\n prefabs: LocalEditorCommandPrefabSource;\n selection: LocalEditorCommandSelectionSource;\n shadows: LocalEditorCommandShadowSource;\n transform: LocalEditorCommandTransformSource;\n viewport: LocalEditorCommandViewportSource;\n state: LocalEditorCommandStateSource;\n ui: LocalEditorCommandUiSource;\n}\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FpsEditorPluginHost } from '@fps-games/editor-core/plugin-host';
|
|
2
|
+
import type { EditorCommandCapabilityAdapter, EditorAuthoringHost } from '@fps-games/editor-core';
|
|
3
|
+
export declare function registerEditorPluginCommands<TDocument = unknown, TPatch = unknown>(_adapter: EditorCommandCapabilityAdapter, pluginHost: FpsEditorPluginHost | undefined, authoringHost?: EditorAuthoringHost<TDocument, TPatch> | null): () => void;
|
|
4
|
+
//# sourceMappingURL=editor-plugin-commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-plugin-commands.d.ts","sourceRoot":"","sources":["../src/editor-plugin-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,KAAK,EAAE,8BAA8B,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElG,wBAAgB,4BAA4B,CAAC,SAAS,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,EAChF,QAAQ,EAAE,8BAA8B,EACxC,UAAU,EAAE,mBAAmB,GAAG,SAAS,EAC3C,aAAa,CAAC,EAAE,mBAAmB,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,IAAI,GAC5D,MAAM,IAAI,CAaZ"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export function registerEditorPluginCommands(_adapter, pluginHost, authoringHost) {
|
|
2
|
+
if (!pluginHost)
|
|
3
|
+
return () => undefined;
|
|
4
|
+
if (pluginHost.state !== 'started' || pluginHost.transitioning) {
|
|
5
|
+
throw new Error('Plugin commands require an idle started Editor Plugin Host.');
|
|
6
|
+
}
|
|
7
|
+
if (!authoringHost)
|
|
8
|
+
throw new Error('Plugin commands require an Editor Authoring Host authority.');
|
|
9
|
+
const unregister = pluginHost.mountCommands(authoringHost);
|
|
10
|
+
let active = true;
|
|
11
|
+
return () => {
|
|
12
|
+
if (!active)
|
|
13
|
+
return;
|
|
14
|
+
unregister();
|
|
15
|
+
active = false;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=editor-plugin-commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-plugin-commands.js","sourceRoot":"","sources":["../src/editor-plugin-commands.ts"],"names":[],"mappings":"AAGA,MAAM,UAAU,4BAA4B,CAC1C,QAAwC,EACxC,UAA2C,EAC3C,aAA6D;IAE7D,IAAI,CAAC,UAAU;QAAE,OAAO,GAAG,EAAE,CAAC,SAAS,CAAC;IACxC,IAAI,UAAU,CAAC,KAAK,KAAK,SAAS,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;QAC/D,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;IACjF,CAAC;IACD,IAAI,CAAC,aAAa;QAAE,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;IACnG,MAAM,UAAU,GAAG,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3D,IAAI,MAAM,GAAG,IAAI,CAAC;IAClB,OAAO,GAAG,EAAE;QACV,IAAI,CAAC,MAAM;YAAE,OAAO;QACpB,UAAU,EAAE,CAAC;QACb,MAAM,GAAG,KAAK,CAAC;IACjB,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import type { FpsEditorPluginHost } from '@fps-games/editor-core/plugin-host';\nimport type { EditorCommandCapabilityAdapter, EditorAuthoringHost } from '@fps-games/editor-core';\n\nexport function registerEditorPluginCommands<TDocument = unknown, TPatch = unknown>(\n _adapter: EditorCommandCapabilityAdapter,\n pluginHost: FpsEditorPluginHost | undefined,\n authoringHost?: EditorAuthoringHost<TDocument, TPatch> | null,\n): () => void {\n if (!pluginHost) return () => undefined;\n if (pluginHost.state !== 'started' || pluginHost.transitioning) {\n throw new Error('Plugin commands require an idle started Editor Plugin Host.');\n }\n if (!authoringHost) throw new Error('Plugin commands require an Editor Authoring Host authority.');\n const unregister = pluginHost.mountCommands(authoringHost);\n let active = true;\n return () => {\n if (!active) return;\n unregister();\n active = false;\n };\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type { LocalEditorBrowserInspectorControlRegistration, LocalEditorBrowser
|
|
|
27
27
|
export type { FpsEditorPluginHost, FpsEditorPluginHostOptions, FpsEditorPluginEnvironmentModuleHostOptions, FpsEditorCommandRegistration, } from '@fps-games/editor-core/plugin-host';
|
|
28
28
|
export type { FpsPluginHostInspection, FpsPluginHostState, FpsPluginInspectionDiagnostic, FpsPluginInspection, FpsPluginLifecycleState, } from '@fps-games/plugin-host';
|
|
29
29
|
export type { EditorRuntime, EditorRuntimeChange, PersistentBinding, } from '@fps-games/editor-protocol';
|
|
30
|
-
export {
|
|
31
|
-
export type {
|
|
30
|
+
export { EDITOR_COMMAND_CONTRACT_SCHEMA_VERSION, EDITOR_COMMAND_SCHEMA_VERSION, EDITOR_COMMAND_NAME, EDITOR_EVENT_NAME, EDITOR_POST_MESSAGE, } from '@fps-games/editor-protocol';
|
|
31
|
+
export type { EditorCommandCapabilityManifest, EditorCommandJsonObject, EditorCommandManifest, } from '@fps-games/editor-protocol';
|
|
32
32
|
export * from './authoring-apply.js';
|
|
33
33
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,kCAAkC,EAClC,iCAAiC,EACjC,oCAAoC,GACrC,MAAM,yCAAyC,CAAC;AACjD,YAAY,EACV,6BAA6B,EAC7B,oCAAoC,EACpC,gCAAgC,EAChC,mCAAmC,EACnC,oCAAoC,EACpC,+BAA+B,EAC/B,2BAA2B,EAC3B,gCAAgC,EAChC,4BAA4B,EAC5B,mCAAmC,EACnC,oCAAoC,EACpC,+BAA+B,EAC/B,sCAAsC,GACvC,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AC1B,2CAA2C,EAC3C,4BAA4B,GAC7B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EACV,uBAAuB,EACvB,kBAAkB,EAClB,6BAA6B,EAC7B,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,aAAa,EACb,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,sCAAsC,EACtC,6BAA6B,EAC7B,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,+BAA+B,EAC/B,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,cAAc,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,6 @@ export { FPS_SHADOWS_PLUGIN_ID, shadowsPlugin, } from '@fps-games/plugin-shadows
|
|
|
14
14
|
export { FPS_SHADOW_MAP_EXPERIMENT_PLUGIN_ID, shadowMapExperimentPlugin, } from '@fps-games/plugin-shadow-map-experiment';
|
|
15
15
|
export { FPS_EDITOR_CONTRIBUTIONS, createFpsEditorPluginHost, createFpsEditorPluginHostFromEnvironmentModule, registerFpsEditorCommand, registerFpsEditorLifecycleParticipant, resolveFpsEditorLifecycleParticipants, } from '@fps-games/editor-core/plugin-host';
|
|
16
16
|
export { registerLocalEditorBrowserInspectorControl, } from '@fps-games/editor-browser/plugin-contributions';
|
|
17
|
-
export {
|
|
17
|
+
export { EDITOR_COMMAND_CONTRACT_SCHEMA_VERSION, EDITOR_COMMAND_SCHEMA_VERSION, EDITOR_COMMAND_NAME, EDITOR_EVENT_NAME, EDITOR_POST_MESSAGE, } from '@fps-games/editor-protocol';
|
|
18
18
|
export * from './authoring-apply.js';
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index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AACnC,OAAO,EACL,uBAAuB,EACvB,qCAAqC,EACrC,qBAAqB,EACrB,4BAA4B,EAC5B,2BAA2B,EAC3B,gCAAgC,EAChC,eAAe,EACf,8BAA8B,EAC9B,8BAA8B,EAC9B,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AAwBrC,OAAO,EACL,uBAAuB,EACvB,eAAe,GAChB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,qBAAqB,EACrB,aAAa,GACd,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,mCAAmC,EACnC,yBAAyB,GAC1B,MAAM,yCAAyC,CAAC;AAIjD,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,8CAA8C,EAC9C,wBAAwB,EACxB,qCAAqC,EACrC,qCAAqC,GACtC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,0CAA0C,GAC3C,MAAM,gDAAgD,CAAC;AAwBxD,OAAO,EACL,sCAAsC,EACtC,6BAA6B,EAC7B,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,4BAA4B,CAAC;AAMpC,cAAc,sBAAsB,CAAC","sourcesContent":["export type {\n LocalEditorThemeController,\n LocalEditorThemeName,\n} from '@fps-games/editor-browser';\nexport {\n mountEditorRuntimeCameraDebugPanel,\n mountEditorRuntimeDebugPanelShell,\n mountEditorRuntimeLightingDebugPanel,\n} from '@fps-games/editor-browser/runtime-debug';\nexport type {\n EditorRuntimeCameraDebugPanel,\n EditorRuntimeCameraDebugPanelOptions,\n EditorRuntimeCameraDebugPanInput,\n EditorRuntimeCameraDebugScreenPoint,\n EditorRuntimeCameraDebugViewportRect,\n EditorRuntimeDebugPanelLanguage,\n EditorRuntimeDebugPanelMode,\n EditorRuntimeDebugPanelPlacement,\n EditorRuntimeDebugPanelShell,\n EditorRuntimeDebugPanelShellOptions,\n EditorRuntimeDebugPanelStatusOptions,\n EditorRuntimeLightingDebugPanel,\n EditorRuntimeLightingDebugPanelOptions,\n} from '@fps-games/editor-browser/runtime-debug';\nexport type { BabylonRuntimeGlobal } from '@fps-games/editor-babylon';\nexport type { DocumentAdapter } from '@fps-games/editor-core/document-adapter';\nexport { FPS_EDITOR_LIFECYCLE_CHANGED } from '@fps-games/editor-core/lifecycle';\nexport {\n FPS_EDITOR_ACTIVE_TOOL_CHANGED,\n FPS_EDITOR_DIAGNOSTIC_REPORTED,\n FPS_EDITOR_DOCUMENT_CHANGED,\n FPS_EDITOR_DOCUMENT_COMMITTED,\n FPS_EDITOR_DOCUMENT_SAVE_FAILED,\n FPS_EDITOR_HISTORY_CHANGED,\n FPS_EDITOR_PREVIEW_CHANGED,\n FPS_EDITOR_SCOPE_CLOSED,\n FPS_EDITOR_SCOPE_OPENED,\n FPS_EDITOR_SELECTION_CHANGED,\n} from '@fps-games/editor-core/events';\nexport type {\n FpsEditorActiveToolChangedEvent,\n FpsEditorDiagnosticReportedEvent,\n FpsEditorDocumentChangedEvent,\n FpsEditorDocumentCommittedEvent,\n FpsEditorDocumentSaveFailedEvent,\n FpsEditorEventContext,\n FpsEditorEventPublisher,\n FpsEditorHistoryChangedEvent,\n FpsEditorPreviewChangedEvent,\n FpsEditorScopeEvent,\n FpsEditorSelectionChangedEvent,\n} from '@fps-games/editor-core/events';\nexport type {\n FpsEditorApplicationLifecycleState,\n FpsEditorDocumentLifecycleState,\n FpsEditorLifecycleChangedEvent,\n FpsEditorLifecycleFailureEvent,\n FpsEditorLifecycleListener,\n FpsEditorLifecycleParticipant,\n FpsEditorLifecycleScopeSnapshot,\n FpsEditorLifecycleService,\n FpsEditorLifecycleSnapshot,\n FpsEditorLifecycleTransition,\n FpsEditorLifecycleTransitionContext,\n FpsEditorLifecycleTransitionEvent,\n FpsEditorLifecycleTransitionType,\n FpsEditorModeLifecycleState,\n FpsEditorPreviewLifecycleState,\n FpsEditorProjectLifecycleState,\n} from '@fps-games/editor-core/lifecycle';\nexport {\n defineFpsCommand,\n defineFpsEvent,\n defineFpsPluginEvent,\n defineFpsPluginEntry,\n defineFpsPluginManifest,\n defineFpsPluginReference,\n defineFpsServiceToken,\n getFpsPluginEventNamespace,\n resolveFpsPluginEnvironmentProvides,\n resolveFpsPluginEnvironmentRequirements,\n resolveFpsPluginEnvironmentScopes,\n} from '@fps-games/plugin-api';\nexport type {\n FpsPluginEnvironmentContract,\n FpsCommand,\n FpsDiagnostic,\n FpsDisposer,\n FpsEvent,\n FpsEventEnvelope,\n FpsPluginContext,\n FpsPluginEntry,\n FpsPluginEnvironment,\n FpsPluginEnvironmentModule,\n FpsPluginEnvironmentModuleEntry,\n FpsPluginManifest,\n FpsPluginReference,\n FpsPluginScope,\n FpsServiceToken,\n} from '@fps-games/plugin-api';\nexport {\n createFpsPluginEnvironmentLifecycle,\n createFpsPluginHostFromEnvironmentModule,\n} from '@fps-games/plugin-host';\nexport {\n babylonRendererPlugin,\n} from '@fps-games/babylon-renderer/config';\nexport {\n FPS_SCENE_PLUGIN_ID,\n scenePlugin,\n} from '@fps-games/plugin-scene';\nexport {\n FPS_ASSETS_PLUGIN_ID,\n assetsPlugin,\n} from '@fps-games/plugin-assets';\nexport {\n FPS_MATERIALS_PLUGIN_ID,\n materialsPlugin,\n} from '@fps-games/plugin-materials';\nexport {\n FPS_MARKERS_PLUGIN_ID,\n markersPlugin,\n} from '@fps-games/plugin-markers';\nexport {\n FPS_HIERARCHY_PLUGIN_ID,\n FPS_HIERARCHY_SURFACE_CONTRIBUTION_ID,\n createHierarchyKernel,\n createHierarchyScopeSnapshot,\n createHierarchyTreeSnapshot,\n createHierarchyVisibleProjection,\n hierarchyPlugin,\n registerHierarchyScopeProvider,\n resolveHierarchyScopeProviders,\n resolveHierarchySelection,\n} from '@fps-games/plugin-hierarchy';\nexport type {\n HierarchyDiagnostic,\n HierarchyDropInput,\n HierarchyDropPlacement,\n HierarchyDropResolution,\n HierarchyIntent,\n HierarchyJsonValue,\n HierarchyKernel,\n HierarchyNodeSnapshot,\n HierarchyOperationContext,\n HierarchyOperationDescriptor,\n HierarchyOperationInvocation,\n HierarchyOperationResult,\n HierarchyScopeProvider,\n HierarchyScopeSnapshot,\n HierarchySurfaceContribution,\n HierarchyTreeSnapshot,\n HierarchyVisibleProjection,\n HierarchyVisibleRow,\n HierarchyViewAdapter,\n HierarchyViewModel,\n HierarchyViewState,\n} from '@fps-games/plugin-hierarchy';\nexport {\n FPS_RENDERING_PLUGIN_ID,\n renderingPlugin,\n} from '@fps-games/plugin-rendering';\nexport {\n FPS_SHADOWS_PLUGIN_ID,\n shadowsPlugin,\n} from '@fps-games/plugin-shadows';\nexport {\n FPS_SHADOW_MAP_EXPERIMENT_PLUGIN_ID,\n shadowMapExperimentPlugin,\n} from '@fps-games/plugin-shadow-map-experiment';\nexport type {\n FpsBabylonRendererPluginConfig,\n} from '@fps-games/babylon-renderer/config';\nexport {\n FPS_EDITOR_CONTRIBUTIONS,\n createFpsEditorPluginHost,\n createFpsEditorPluginHostFromEnvironmentModule,\n registerFpsEditorCommand,\n registerFpsEditorLifecycleParticipant,\n resolveFpsEditorLifecycleParticipants,\n} from '@fps-games/editor-core/plugin-host';\nexport {\n registerLocalEditorBrowserInspectorControl,\n} from '@fps-games/editor-browser/plugin-contributions';\nexport type {\n LocalEditorBrowserInspectorControlRegistration,\n LocalEditorBrowserInspectorControlRenderContext,\n LocalEditorBrowserInspectorControlRenderer,\n} from '@fps-games/editor-browser/plugin-contributions';\nexport type {\n FpsEditorPluginHost,\n FpsEditorPluginHostOptions,\n FpsEditorPluginEnvironmentModuleHostOptions,\n FpsEditorCommandRegistration,\n} from '@fps-games/editor-core/plugin-host';\nexport type {\n FpsPluginHostInspection,\n FpsPluginHostState,\n FpsPluginInspectionDiagnostic,\n FpsPluginInspection,\n FpsPluginLifecycleState,\n} from '@fps-games/plugin-host';\nexport type {\n EditorRuntime,\n EditorRuntimeChange,\n PersistentBinding,\n} from '@fps-games/editor-protocol';\nexport {\n EDITOR_COMMAND_CONTRACT_SCHEMA_VERSION,\n EDITOR_COMMAND_SCHEMA_VERSION,\n EDITOR_COMMAND_NAME,\n EDITOR_EVENT_NAME,\n EDITOR_POST_MESSAGE,\n} from '@fps-games/editor-protocol';\nexport type {\n EditorCommandCapabilityManifest,\n EditorCommandJsonObject,\n EditorCommandManifest,\n} from '@fps-games/editor-protocol';\nexport * from './authoring-apply.js';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-editor-commands.d.ts","sourceRoot":"","sources":["../src/local-editor-commands.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-editor-commands.js","sourceRoot":"","sources":["../src/local-editor-commands.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './editor-commands/index.js';\n"]}
|