AutoMovie API
    Preparing search index...

    Node and port admission context with mutable indexes for later connectivity diagnostics.

    type IProps = {
        elementIds: ReadonlySet<string>;
        environment: IAutoMovieBuiltEnvironment;
        network: IAutoMovieServiceNetwork;
        nonNegative: (
            value: number,
            path: string,
            label: string,
            out: IAutoMovieViolationCollector,
        ) => void;
        out: IAutoMovieViolationCollector;
        portPaths: Map<string, string>;
        positive: (
            value: number,
            path: string,
            label: string,
            out: IAutoMovieViolationCollector,
        ) => void;
        root: string;
        seenPorts: Set<string>;
        spaceIds: ReadonlySet<string>;
        systems: ReadonlyMap<string, IAutoMovieServiceSystem>;
    }
    Index
    elementIds: ReadonlySet<string>

    Borrowed building element ids used to resolve optional node element references.

    Borrowed served building in the same world-metre frame as node and port positions.

    Borrowed graph whose nodes and ports are visited in declaration order.

    nonNegative: (
        value: number,
        path: string,
        label: string,
        out: IAutoMovieViolationCollector,
    ) => void

    Synchronous finite-nonnegative scalar gate for port demand in its system unit. Receives value, exact path, label and out; errors are appended and callback exceptions propagate.

    Caller-owned synchronous diagnostic sink; findings may retain borrowed authored values.

    portPaths: Map<string, string>

    Caller-owned port-id to diagnostic-path map; only the first path is inserted, preserving the port selected by portRecords.

    positive: (
        value: number,
        path: string,
        label: string,
        out: IAutoMovieViolationCollector,
    ) => void

    Finite-positive scalar gate for non-null port sections in square metres. Receives value, exact path, label and out and appends findings. Called synchronously and not retained by the validator; exceptions propagate.

    root: string

    Diagnostic prefix before .nodes[index], normally $input.

    seenPorts: Set<string>

    Caller-owned set accumulated across all ports, including defective declarations, for network-wide duplicate detection.

    spaceIds: ReadonlySet<string>

    Borrowed building space ids used for reference checks before containment.

    systems: ReadonlyMap<string, IAutoMovieServiceSystem>

    Borrowed system-id index supplying the medium and demand unit each port must repeat.