Expose portable scene bindings and an explicit React Flow peer adapter

This commit is contained in:
2026-11-09 15:07:18 +08:00
parent bceaf2eca6
commit 196ca4514e
19 changed files with 218 additions and 73 deletions
+10
View File
@@ -0,0 +1,10 @@
"use client";
/** Explicit framework boundary; consumers install the declared optional peers. */
export * from './react-renderers.ts';
export * from './renderer-context.ts';
import type {Node,Edge} from '@xyflow/react';
import type {ProjectionNode,ProjectionEdge} from './projection.ts';
/** Structural adapter types add framework-owned optional metadata, never model state. */
export type ReactFlowProjectionNode=Node<ProjectionNode['data'],string>&ProjectionNode;
export type ReactFlowProjectionEdge=Edge<ProjectionEdge['data']>&ProjectionEdge;