Member Junction
    Preparing search index...

    Interface GeneratedTypeAvailability

    Describes which GraphQL ObjectTypes are actually resolvable in the file being generated, so the generator can decide whether a reverse-relationship (child-array) member may reference a related entity's type by name.

    A reverse-relationship member references the related entity's type by BARE class name, which only compiles when that class is declared in the same file. This carries the ground truth for that question — the exact set of entities handed to the generator for this file — instead of inferring it from schema/package heuristics, which can only ever approximate the set.

    interface GeneratedTypeAvailability {
        generatedEntityNames: Set<string>;
        isInternal: boolean;
    }
    Index

    Properties

    generatedEntityNames: Set<string>

    Lower-cased, trimmed names of every entity whose ObjectType is emitted inline into the file being generated. Membership is the compile condition for a bare-name reference.

    isInternal: boolean

    True when generating the CORE entity file. The core file has NO mj_core_schema_server_object_types namespace import (it is that module), so core related entities must satisfy set membership like everything else. In a non-core file, core types resolve through that namespace import regardless of the set.