AutoMovie API
    Preparing search index...

    Variable validateBuiltOpeningOperationConst

    validateBuiltOpeningOperation: (
        props: IAutoMovieValidateBuiltOpeningOperation.IProps,
    ) => void = ...

    Validate the movable panels, named states, and hardware of one opening.

    An operated opening must name the element it fills, and declare at least one panel and one state. Each panel needs a unique non-blank id, an element that resolves and is the filling element or below it, a positive width and height, and a valid travel by validateBuiltTravelMotion. No element may be driven by two members of the whole work, because one element carries one displacement: driven records which member already drives each element across every opening and connector, and is updated here. Each state needs a unique non-blank id and gives every panel exactly one value inside its travel, and the current state must resolve. Hardware needs unique non-blank ids, a non-blank kind, and an element that resolves when it names one. Findings are pushed under path; an opening with no operation is skipped.

    Type Declaration

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

        • props: IAutoMovieValidateBuiltOpeningOperation.IProps

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

          An operated opening must name the element it fills, and declare at least one panel and one state. Each panel needs a unique non-blank id, an element that resolves and is the filling element or below it, a positive width and height, and a valid travel by validateBuiltTravelMotion. No element may be driven by two members of the whole work, because one element carries one displacement: driven records which member already drives each element across every opening and connector, and is updated here. Each state needs a unique non-blank id and gives every panel exactly one value inside its travel, and the current state must resolve. Hardware needs unique non-blank ids, a non-blank kind, and an element that resolves when it names one. Findings are pushed under path; an opening with no operation is skipped.

          • collector: IAutoMovieViolationCollector

            Synchronous diagnostic sink; appended findings may reference authored records and sink exceptions propagate.

          • driven: Map<string, string>

            Caller-owned element-id to first-driver description map; first claims remain even for invalid panels and later claims produce conflicts.

          • elementIds: ReadonlySet<string>

            Borrowed declared building element ids used to resolve panel and optional hardware elements.

          • elements: readonly IAutoMovieBuiltElement[]

            Borrowed complete building hierarchy used to determine descendants of the filling element.

          • opening: IAutoMovieBuiltOpening

            Borrowed opening; an omitted operation causes no validation work.

          • path: string

            Diagnostic path of the opening, used as the prefix for operation, panel, state and hardware findings.

        Returns void