Libraries
    Preparing search index...

    Type Alias ResolvedRel<R>

    ResolvedRel: R extends RelationInfo<infer Kind, infer F>
        ? F extends ObjectSchemaBuilder<any, any, any, any, any, any, any>
            ? Kind extends "hasMany"
            | "belongsToMany"
                ? InferType<F>[]
                : InferType<F> | undefined
            : never
        : never

    Project the navigation-property type added by a single relation: arrays for one-to-many / many-to-many, optional singletons for to-one.

    Type Parameters

    • R