@fps-games/editor 0.1.5-beta.4 → 0.1.6-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-info.json +16 -16
- package/dist/local-editor-agent-actions.d.ts +8 -1
- package/dist/local-editor-agent-actions.d.ts.map +1 -1
- package/dist/local-editor-agent-actions.js +171 -12
- package/dist/local-editor-agent-actions.js.map +1 -1
- package/dist/local-editor-agent-context.d.ts +29 -1
- package/dist/local-editor-agent-context.d.ts.map +1 -1
- package/dist/local-editor-agent-context.js +403 -0
- package/dist/local-editor-agent-context.js.map +1 -1
- package/dist/local-editor-harness.d.ts +103 -5
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +1982 -101
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-marker-graph.d.ts +92 -0
- package/dist/local-editor-marker-graph.d.ts.map +1 -0
- package/dist/local-editor-marker-graph.js +1432 -0
- package/dist/local-editor-marker-graph.js.map +1 -0
- package/dist/local-editor-performance-stats.js +1 -1
- package/dist/local-editor-performance-stats.js.map +1 -1
- package/dist/playable-babylon-facade.d.ts +2 -2
- package/dist/playable-babylon-facade.d.ts.map +1 -1
- package/dist/playable-babylon-facade.js +1 -1
- package/dist/playable-babylon-facade.js.map +1 -1
- package/dist/playable-local-editor-host.d.ts +52 -7
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js +23 -1
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-sdk.d.ts +4 -2
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +2 -1
- package/dist/playable-sdk.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +11 -0
- package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/editor-sky.d.ts +3 -1
- package/node_modules/@fps-games/editor-babylon/dist/editor-sky.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/editor-sky.js +114 -18
- package/node_modules/@fps-games/editor-babylon/dist/editor-sky.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/editor-world.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/editor-world.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/editor-world.js +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/editor-world.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +3 -0
- package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.d.ts +52 -0
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js +1395 -0
- package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js +4 -65
- package/node_modules/@fps-games/editor-babylon/dist/material-property-adapter.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts +28 -0
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +235 -0
- package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +37 -0
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +451 -0
- package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +24 -10
- package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-pick-resolver.d.ts +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection-pick-resolver.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-pick-resolver.js +20 -4
- package/node_modules/@fps-games/editor-babylon/dist/projection-pick-resolver.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection-source-owner-path.d.ts +9 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection-source-owner-path.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection-source-owner-path.js +64 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection-source-owner-path.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +44 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +311 -70
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +5 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +5 -2
- 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-ui-asset-kind.d.ts +5 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +23 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +69 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +2 -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 +38 -1
- 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-tree.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -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 +8 -2
- 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-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +7 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panel-registry.js +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panel-registry.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +4 -0
- 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 +1471 -29
- 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-prefab-stage.d.ts +52 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +131 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +9 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +234 -3
- 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-workbench.d.ts +10 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +3 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +4 -3
- 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 +1274 -55
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/package.json +3 -3
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -1
- package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts +2 -0
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js +1 -0
- package/node_modules/@fps-games/editor-core/dist/viewport-tools.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +2 -2
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +17 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts +3 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +68 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +56 -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 +531 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +103 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +9 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.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 +3 -7
- 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/material-binding/binding.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +6 -0
- 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/types.d.ts +2 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +8 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +66 -31
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +40 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +20 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +68 -27
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js +7 -4
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/package.json +3 -3
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +57 -3
- package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +19 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-protocol/dist/marker-graph.d.ts +128 -0
- package/node_modules/@fps-games/editor-protocol/dist/marker-graph.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-protocol/dist/marker-graph.js +2 -0
- package/node_modules/@fps-games/editor-protocol/dist/marker-graph.js.map +1 -0
- package/node_modules/@fps-games/editor-protocol/package.json +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { type AgentReadableSpatialFacts, type ResolvedSpatialMarkerNode, type ResolvedSpatialMarkerGraph, type SpatialMarkerGeometry, type SpatialMarkerGraph, type SpatialMarkerNode, type SpatialMarkerTypeDefinition, type SpatialRelation, type SpatialRelationTypeDefinition } from '@fps-games/editor-protocol';
|
|
2
|
+
import type { InspectorEditPayload, InspectorObject } from '@fps-games/editor-core';
|
|
3
|
+
import type { LocalEditorBrowserMarkerPanelState, LocalEditorBrowserMarkerRelationActionInput, LocalEditorBrowserMarkerRelationEndpointItem, LocalEditorBrowserUiHierarchyItem } from '@fps-games/editor-browser';
|
|
4
|
+
import type { LocalEditorMarkerGraphCommand } from './local-editor-harness';
|
|
5
|
+
export declare const LOCAL_EDITOR_MARKER_GRAPH_HIERARCHY_ROOT_ID = "__marker_graph__";
|
|
6
|
+
interface MarkerRelationPickState {
|
|
7
|
+
active: boolean;
|
|
8
|
+
type?: string;
|
|
9
|
+
typeLabel?: string;
|
|
10
|
+
directed?: boolean;
|
|
11
|
+
from?: {
|
|
12
|
+
kind: string;
|
|
13
|
+
id: string;
|
|
14
|
+
} | null;
|
|
15
|
+
status?: string;
|
|
16
|
+
statusTone?: 'default' | 'success' | 'warning' | 'error';
|
|
17
|
+
}
|
|
18
|
+
export interface MarkerGraphHierarchyVisibility {
|
|
19
|
+
rootVisible?: boolean;
|
|
20
|
+
hiddenMarkerIds?: ReadonlySet<string> | readonly string[];
|
|
21
|
+
}
|
|
22
|
+
export interface MarkerRelationCommandResult {
|
|
23
|
+
command: LocalEditorMarkerGraphCommand | null;
|
|
24
|
+
status: string;
|
|
25
|
+
statusTone: 'success' | 'warning' | 'error';
|
|
26
|
+
}
|
|
27
|
+
export interface MarkerRelationVisibilityOptions {
|
|
28
|
+
markersVisible?: boolean;
|
|
29
|
+
rootVisible?: boolean;
|
|
30
|
+
hiddenMarkerIds?: ReadonlySet<string> | readonly string[];
|
|
31
|
+
}
|
|
32
|
+
export interface MarkerRelationEndpointInput {
|
|
33
|
+
kind?: string;
|
|
34
|
+
id?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface MarkerRelationCreateManyInput {
|
|
37
|
+
type: string;
|
|
38
|
+
fromKind?: string;
|
|
39
|
+
fromId?: string;
|
|
40
|
+
toEndpoints: readonly MarkerRelationEndpointInput[];
|
|
41
|
+
directed?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export declare function resolveSpatialMarkerGraph(graph: SpatialMarkerGraph | null | undefined): ResolvedSpatialMarkerGraph | null;
|
|
44
|
+
export declare function createMarkerGraphHierarchyItems(hierarchy: readonly LocalEditorBrowserUiHierarchyItem[], graph: SpatialMarkerGraph | null | undefined, visibility?: MarkerGraphHierarchyVisibility): LocalEditorBrowserUiHierarchyItem[];
|
|
45
|
+
export declare function isSpatialMarkerHierarchyVisible(markerId: string, visibility?: MarkerGraphHierarchyVisibility): boolean;
|
|
46
|
+
export declare function isMarkerGraphHierarchyId(graph: SpatialMarkerGraph | null | undefined, id: string | null | undefined, hierarchy?: readonly LocalEditorBrowserUiHierarchyItem[]): boolean;
|
|
47
|
+
export declare function isMarkerGraphHierarchyRootRowId(graph: SpatialMarkerGraph | null | undefined, id: string | null | undefined, hierarchy: readonly LocalEditorBrowserUiHierarchyItem[]): boolean;
|
|
48
|
+
export declare function createMarkerGraphHierarchyMarkerId(markerId: string): string;
|
|
49
|
+
export declare function isMarkerGraphHierarchyRootId(id: string | null | undefined): boolean;
|
|
50
|
+
export declare function readMarkerGraphHierarchyMarkerId(id: string | null | undefined): string | null;
|
|
51
|
+
export declare function readMarkerGraphHierarchyMarkerIdForGraph(graph: SpatialMarkerGraph | null | undefined, id: string | null | undefined, hierarchy?: readonly LocalEditorBrowserUiHierarchyItem[]): string | null;
|
|
52
|
+
export declare function isSpatialMarkerBackedByHierarchyRow(graph: SpatialMarkerGraph | null | undefined, id: string | null | undefined, hierarchy: readonly LocalEditorBrowserUiHierarchyItem[]): boolean;
|
|
53
|
+
export declare function readSpatialMarkerIdFromHierarchySelection(graph: SpatialMarkerGraph | null | undefined, id: string | null | undefined, hierarchy?: readonly LocalEditorBrowserUiHierarchyItem[]): string | null;
|
|
54
|
+
export declare function createMarkerGraphInspectorObject<TDocument>(input: {
|
|
55
|
+
document: TDocument;
|
|
56
|
+
graph: SpatialMarkerGraph | null | undefined;
|
|
57
|
+
markerId: string;
|
|
58
|
+
hierarchy?: readonly LocalEditorBrowserUiHierarchyItem[];
|
|
59
|
+
markerTypes?: readonly SpatialMarkerTypeDefinition[];
|
|
60
|
+
relationTypes?: readonly SpatialRelationTypeDefinition[];
|
|
61
|
+
activeRelationId?: string | null;
|
|
62
|
+
relationPick?: MarkerRelationPickState | null;
|
|
63
|
+
relationVisibility?: MarkerRelationVisibilityOptions;
|
|
64
|
+
}): InspectorObject<TDocument> | null;
|
|
65
|
+
export declare function createMarkerGraphRootInspectorObject<TDocument>(input: {
|
|
66
|
+
document: TDocument;
|
|
67
|
+
graph: SpatialMarkerGraph | null | undefined;
|
|
68
|
+
rootId: string;
|
|
69
|
+
hierarchy: readonly LocalEditorBrowserUiHierarchyItem[];
|
|
70
|
+
markerTypes?: readonly SpatialMarkerTypeDefinition[];
|
|
71
|
+
relationTypes?: readonly SpatialRelationTypeDefinition[];
|
|
72
|
+
}): InspectorObject<TDocument> | null;
|
|
73
|
+
export declare function createMarkerPanelState(graph: SpatialMarkerGraph | null | undefined, markerTypes: readonly SpatialMarkerTypeDefinition[], relationTypes?: readonly SpatialRelationTypeDefinition[], hierarchy?: readonly LocalEditorBrowserUiHierarchyItem[], activeMarkerId?: string | null, activeRelationId?: string | null, relationPick?: MarkerRelationPickState | null, visibility?: MarkerRelationVisibilityOptions): LocalEditorBrowserMarkerPanelState | null;
|
|
74
|
+
export declare function createMarkerRelationCommand(input: LocalEditorBrowserMarkerRelationActionInput, graph: SpatialMarkerGraph | null | undefined, relationTypes?: readonly SpatialRelationTypeDefinition[], hierarchy?: readonly LocalEditorBrowserUiHierarchyItem[], activeMarkerId?: string | null): MarkerRelationCommandResult;
|
|
75
|
+
export declare function createMarkerRelationCreateManyCommand(input: MarkerRelationCreateManyInput, graph: SpatialMarkerGraph | null | undefined, relationTypes?: readonly SpatialRelationTypeDefinition[], hierarchy?: readonly LocalEditorBrowserUiHierarchyItem[], activeMarkerId?: string | null): MarkerRelationCommandResult;
|
|
76
|
+
export declare function createMarkerRelationDeleteManyCommand(relationIds: readonly string[], graph: SpatialMarkerGraph | null | undefined): MarkerRelationCommandResult;
|
|
77
|
+
export declare function createMarkerRelationDeleteConnectedCommand(markerId: string, graph: SpatialMarkerGraph | null | undefined): MarkerRelationCommandResult;
|
|
78
|
+
export declare function createMarkerRelationReverseCommand(relationId: string, graph: SpatialMarkerGraph | null | undefined): MarkerRelationCommandResult;
|
|
79
|
+
export declare function createMarkerRelationEndpointOptions(graph: SpatialMarkerGraph | null | undefined, hierarchy?: readonly LocalEditorBrowserUiHierarchyItem[], visibility?: MarkerRelationVisibilityOptions): LocalEditorBrowserMarkerRelationEndpointItem[];
|
|
80
|
+
export declare function createMarkerGraphPatchFromInspectorEdit(graph: SpatialMarkerGraph | null | undefined, payload: InspectorEditPayload, hierarchy?: readonly LocalEditorBrowserUiHierarchyItem[], markerTypes?: readonly SpatialMarkerTypeDefinition[]): LocalEditorMarkerGraphCommand | null;
|
|
81
|
+
export declare function resolveSpatialMarkerNode(marker: SpatialMarkerNode): ResolvedSpatialMarkerNode;
|
|
82
|
+
export declare function resolveSpatialFacts(geometry: SpatialMarkerGeometry, marker?: SpatialMarkerNode): AgentReadableSpatialFacts;
|
|
83
|
+
export declare function getSpatialMarkerDirectRelations(graph: Pick<SpatialMarkerGraph, 'relations'> | Pick<ResolvedSpatialMarkerGraph, 'relations'>, markerId: string): SpatialRelation[];
|
|
84
|
+
export declare function getSpatialRelationRelatedIds(relations: readonly SpatialRelation[], markerId: string): {
|
|
85
|
+
markerIds: string[];
|
|
86
|
+
objectIds: string[];
|
|
87
|
+
};
|
|
88
|
+
export declare function findSpatialMarkerById<TMarker extends SpatialMarkerNode | ResolvedSpatialMarkerNode>(graph: {
|
|
89
|
+
markers: readonly TMarker[];
|
|
90
|
+
} | null | undefined, markerId: string): TMarker | null;
|
|
91
|
+
export {};
|
|
92
|
+
//# sourceMappingURL=local-editor-marker-graph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-editor-marker-graph.d.ts","sourceRoot":"","sources":["../src/local-editor-marker-graph.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAE/B,KAAK,qBAAqB,EAC1B,KA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