Type Alias ThroughFunction<J>

ThroughFunction: () => {
    foreignKey: keyof J;
    joinTable: new (...args: any[]) => J;
}

Represents a function returning metadata for a join table.

Type Parameters

Type declaration

    • (): { foreignKey: keyof J; joinTable: new (...args: any[]) => J }
    • Returns { foreignKey: keyof J; joinTable: new (...args: any[]) => J }

      • foreignKey: keyof J

        The key representing the foreign key property of the join table.

      • joinTable: new (...args: any[]) => J

        The constructor function for the join table.