Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
19 lines
737 B
Plaintext
19 lines
737 B
Plaintext
/**
|
|
* Implemented from:
|
|
* https://github.com/drizzle-team/drizzle-orm/blob/main/drizzle-orm/src/pg-core/table.ts#L73
|
|
* Drizzle uses @internal JSDoc to remove their internal methods from types, for example
|
|
* Table.Symbol, columnBuilder.build - but they actually exist.
|
|
*/
|
|
import type { ColumnBuilderBase } from 'drizzle-orm';
|
|
import { Table } from 'drizzle-orm';
|
|
type Args = {
|
|
columns?: Record<string, ColumnBuilderBase<any>>;
|
|
extraConfig?: (self: Record<string, any>) => object;
|
|
table: Table;
|
|
};
|
|
/**
|
|
* Extends the passed table with additional columns / extra config
|
|
*/
|
|
export declare const extendDrizzleTable: ({ columns, extraConfig, table }: Args) => void;
|
|
export {};
|
|
//# sourceMappingURL=extendDrizzleTable.d.ts.map |