build(deps): update latest

This commit is contained in:
theoludwig committed 2026-10-02 16:47:08 +02:00
1 parent f956a31c92
commit 3849b14615
6 files changed
+1478 -1226

No files matched your search

+10 -8
View File
@@ -146,14 +146,16 @@ export abstract class KyselyTypegenDialect {
tables: TableMetadata[]
}> {
const [tables, { enums, inlineEnums }] = await Promise.all([this.getTables(), this.getEnums()])
const lines: string[] = [...PREAMBLE_LINES]
lines.push(...this.getEnumsTypegen(enums))
lines.push(...this.getTablesTypegen(tables, enums, inlineEnums))
lines.push("export interface DB {")
for (const table of tables) {
lines.push(` ${table.name}: ${table.name}`)
}
lines.push("}")
const lines: string[] = [
...PREAMBLE_LINES,
...this.getEnumsTypegen(enums),
...this.getTablesTypegen(tables, enums, inlineEnums),
"export interface DB {",
...tables.map((table) => {
return ` ${table.name}: ${table.name}`
}),
"}",
]
return { lines, enums, inlineEnums, tables }
}
}