AutoMovie API
    Preparing search index...

    Variable validateBuiltConnectorOperationConst

    validateBuiltConnectorOperation: (
        props: IAutoMovieValidateBuiltConnectorOperation.IProps,
    ) => void = ...

    Validate the travelling carriages, named states, and stops of one run.

    An operated connector must name the elements it is built from, and declare at least one carriage and one state. Each carriage needs a unique non-blank id, an element that resolves and is one of the run's elements or below one, and a valid travel by validateBuiltTravelMotion; no element may be driven by two members of the whole work, which driven records across every opening and connector and is updated here. Each state needs a unique non-blank id and a known drive, may drive in reverse only on a bidirectional run, and gives every carriage exactly one value inside its travel; a carriage's serves must be one of the run's stops, its endpoints or landings. The current state must resolve. Findings are pushed under path; a run with no operation is skipped.

    Type Declaration

      • (props: IAutoMovieValidateBuiltConnectorOperation.IProps): void
      • Parameters

        • props: IAutoMovieValidateBuiltConnectorOperation.IProps

          Connector-operation validation context with shared element-drive ownership tracking.

          An operated connector must name the elements it is built from, and declare at least one carriage and one state. Each carriage needs a unique non-blank id, an element that resolves and is one of the run's elements or below one, and a valid travel by validateBuiltTravelMotion; no element may be driven by two members of the whole work, which driven records across every opening and connector and is updated here. Each state needs a unique non-blank id and a known drive, may drive in reverse only on a bidirectional run, and gives every carriage exactly one value inside its travel; a carriage value's serves is null when between stops, otherwise it names one of the run's endpoints or landings. The current state must resolve. Findings are pushed under path; a run with no operation is skipped.

          • collector: IAutoMovieViolationCollector

            Synchronous diagnostic sink appended in declaration order; it can retain authored values and its exceptions propagate.

          • connector: IAutoMovieBuiltConnector

            Borrowed connector; an omitted operation is skipped without changing the collector or driven map.

          • driven: Map<string, string>

            Caller-owned element-id to first-driver description map, updated even when other carriage checks fail; share it across openings and connectors.

          • elementIds: ReadonlySet<string>

            Borrowed declared building element ids for carriage reference resolution.

          • elements: readonly IAutoMovieBuiltElement[]

            Borrowed complete building element hierarchy used to expand the connector's owned subtrees.

          • path: string

            Diagnostic path of this connector, to which .operation and indexed member paths are appended.

        Returns void