21 lines
783 B
TypeScript
21 lines
783 B
TypeScript
/**
|
|
* <div style={{display: "flex", justifyContent: "space-between", alignItems: "center", padding: 16}}>
|
|
* Official <a href="https://www.prisma.io/docs">Prisma</a> adapter for Auth.js / NextAuth.js.
|
|
* <a href="https://www.prisma.io/">
|
|
* <img style={{display: "block"}} src="https://authjs.dev/img/adapters/prisma.svg" width="38" />
|
|
* </a>
|
|
* </div>
|
|
*
|
|
* ## Installation
|
|
*
|
|
* ```bash npm2yarn
|
|
* npm install @prisma/client @auth/prisma-adapter
|
|
* npm install prisma --save-dev
|
|
* ```
|
|
*
|
|
* @module @auth/prisma-adapter
|
|
*/
|
|
import type { PrismaClient } from "@prisma/client";
|
|
import type { Adapter } from "@auth/core/adapters";
|
|
export declare function PrismaAdapter(prisma: PrismaClient | ReturnType<PrismaClient["$extends"]>): Adapter;
|
|
//# sourceMappingURL=index.d.ts.map
|