API

Interface IKHRInteractivitySocketProvenance

Stable source identity retained on a FlowGraph connection lowered from a KHR_interactivity socket.

interface IKHRInteractivitySocketProvenance {
    configuration?: Record<string, IKHRInteractivityConfigurationProvenance>;
    declarationIndex: number;
    direction: "input" | "output";
    generatedConfiguration?: Record<string, unknown>;
    generatedConfigurationRuntime?: Record<
        string,
        IKHRInteractivityInputDefaultProvenance,
    >;
    generatedInputDefaults?: Record<
        string,
        IKHRInteractivityInputDefaultProvenance,
    >;
    graphIndex: number;
    kind: "value"
    | "flow";
    nodeIndex: number;
    operation: string;
    role: number;
    runtimeValue?: unknown[];
    runtimeValueSnapshot?: IKHRInteractivityInputDefaultProvenance;
    socket: string;
    sourcePath: string;
    sourceValue?: any;
}

Hierarchy (View Summary)

Index
configuration?: Record<string, IKHRInteractivityConfigurationProvenance>

Original and lowered configuration values used for safe inverse transforms.

declarationIndex: number

Source declaration index.

direction: "input" | "output"

Whether the socket is consumed by or produced from the logical KHR node.

generatedConfiguration?: Record<string, unknown>

Importer-generated primitive configuration that must remain unchanged for inverse export.

generatedConfigurationRuntime?: Record<
    string,
    IKHRInteractivityInputDefaultProvenance,
>

Runtime fingerprints for generated configuration that changes representation while parsing.

generatedInputDefaults?: Record<string, IKHRInteractivityInputDefaultProvenance>

Importer-generated unconnected input defaults that have no authored KHR socket representation.

graphIndex: number

Source graph index.

kind: "value" | "flow"

Socket category.

nodeIndex: number

Source node index.

operation: string

Full operation name.

role: number

Role of this block in a one-to-many mapping. Negative roles identify generated helper blocks.

runtimeValue?: unknown[]

Lowered inline runtime value immediately after import.

Type-tagged runtime fingerprint used to distinguish parsing precision changes from edits.

socket: string

Exact source KHR socket identifier.

sourcePath: string

Stable JSON pointer to the source node.

sourceValue?: any

Exact canonical source value, when this is an input value socket.