Skip to content

Instantly share code, notes, and snippets.

View kansson's full-sized avatar

Isak kansson

  • Sweden
  • 22:33 (UTC +01:00)
View GitHub Profile
@marklawlor
marklawlor / kysely-types.ts
Last active August 3, 2023 19:29
Prisma/Kysely database
/* eslint-disable @typescript-eslint/ban-types */
/* eslint-disable @typescript-eslint/no-explicit-any */
import type { Prisma, PrismaClient, PrismaPromise } from "@prisma/client";
import type { CamelCase, Merge, SnakeCase, PascalCase } from "type-fest";
import {
ColumnType,
DummyDriver,
Generated,
Kysely,
MysqlAdapter,