UNPKG

@nestjs-mod/two-factor

Version:

Two factor module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction

41 lines (40 loc) 1.38 kB
/** * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types. * * 🟢 You can import this file directly. */ import * as runtime from "@prisma/client/runtime/client"; import * as $Class from "./internal/class"; import * as Prisma from "./internal/prismaNamespace"; export * as $Enums from './enums'; /** * ## Prisma Client * * Type-safe database client for TypeScript * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more TwoFactorUsers * const twoFactorUsers = await prisma.twoFactorUser.findMany() * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ export declare const PrismaClient: $Class.PrismaClientConstructor; export type PrismaClient<ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, Log = $Class.LogOptions<ClientOptions>, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<ClientOptions, Log, ExtArgs>; export { Prisma }; /** * Model TwoFactorUser * */ export type TwoFactorUser = Prisma.TwoFactorUserModel; /** * Model TwoFactorCode * */ export type TwoFactorCode = Prisma.TwoFactorCodeModel; /** * Model migrations_two_factor * */ export type migrations_two_factor = Prisma.migrations_two_factorModel;