Type alias NormalizedBelongsToManyOptions<SourceKey, TargetKey, ThroughModel>

NormalizedBelongsToManyOptions<SourceKey, TargetKey, ThroughModel>: 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