Documentation
    Preparing search index...

    Type Alias NormalizedBelongsToManyOptions<SourceKey, TargetKey, ThroughModel>

    NormalizedBelongsToManyOptions: Omit<
        RequiredBy<
            BelongsToManyOptions<SourceKey, TargetKey, ThroughModel>,
            "throughAssociations",
        >,
        "through" | "as" | "hooks" | "foreignKey" | "inverse",
    > & {
        inverse?: Exclude<
            BelongsToManyOptions<SourceKey, TargetKey, ThroughModel>["inverse"],
            string,
        >;
        through: NormalizedThroughOptions<ThroughModel>;
    } & Pick<
        NormalizedAssociationOptions<string>,
        "as" | "name" | "hooks" | "foreignKey",
    >

    Type Parameters

    • SourceKey extends string
    • TargetKey extends string
    • ThroughModel extends Model