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

136 lines 5.16 kB
"use strict"; /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // @ts-nocheck /** * WARNING: This is an internal file that is subject to change! * * 🛑 Under no circumstances should you import this file directly! 🛑 * * All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file. * While this enables partial backward compatibility, it is not part of the stable public API. * * If you are looking for your Models, Enums, and Input Types, please import them from the respective * model files in the `model` directory! */ Object.defineProperty(exports, "__esModule", { value: true }); exports.defineExtension = exports.NullsOrder = exports.QueryMode = exports.SortOrder = exports.Migrations_two_factorScalarFieldEnum = exports.TwoFactorCodeScalarFieldEnum = exports.TwoFactorUserScalarFieldEnum = exports.TransactionIsolationLevel = exports.ModelName = exports.AnyNull = exports.JsonNull = exports.DbNull = exports.NullTypes = exports.prismaVersion = exports.getExtensionContext = exports.Decimal = exports.Sql = exports.raw = exports.join = exports.empty = exports.sql = exports.PrismaClientValidationError = exports.PrismaClientInitializationError = exports.PrismaClientRustPanicError = exports.PrismaClientUnknownRequestError = exports.PrismaClientKnownRequestError = exports.validator = void 0; const tslib_1 = require("tslib"); const runtime = tslib_1.__importStar(require("@prisma/client/runtime/client")); /** * Validator */ exports.validator = runtime.Public.validator; /** * Prisma Errors */ exports.PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError; exports.PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError; exports.PrismaClientRustPanicError = runtime.PrismaClientRustPanicError; exports.PrismaClientInitializationError = runtime.PrismaClientInitializationError; exports.PrismaClientValidationError = runtime.PrismaClientValidationError; /** * Re-export of sql-template-tag */ exports.sql = runtime.sqltag; exports.empty = runtime.empty; exports.join = runtime.join; exports.raw = runtime.raw; exports.Sql = runtime.Sql; /** * Decimal.js */ exports.Decimal = runtime.Decimal; exports.getExtensionContext = runtime.Extensions.getExtensionContext; /** * Prisma Client JS version: 6.9.0 * Query Engine version: 81e4af48011447c3cc503a190e86995b66d2a28e */ exports.prismaVersion = { client: "6.9.0", engine: "81e4af48011447c3cc503a190e86995b66d2a28e" }; exports.NullTypes = { DbNull: runtime.objectEnumValues.classes.DbNull, JsonNull: runtime.objectEnumValues.classes.JsonNull, AnyNull: runtime.objectEnumValues.classes.AnyNull, }; /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ exports.DbNull = runtime.objectEnumValues.instances.DbNull; /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ exports.JsonNull = runtime.objectEnumValues.instances.JsonNull; /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ exports.AnyNull = runtime.objectEnumValues.instances.AnyNull; exports.ModelName = { TwoFactorUser: 'TwoFactorUser', TwoFactorCode: 'TwoFactorCode', migrations_two_factor: 'migrations_two_factor' }; /** * Enums */ exports.TransactionIsolationLevel = runtime.makeStrictEnum({ ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }); exports.TwoFactorUserScalarFieldEnum = { id: 'id', username: 'username', secret: 'secret', externalTenantId: 'externalTenantId', externalUserId: 'externalUserId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; exports.TwoFactorCodeScalarFieldEnum = { id: 'id', type: 'type', operationName: 'operationName', code: 'code', used: 'used', outdated: 'outdated', userId: 'userId', externalTenantId: 'externalTenantId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; exports.Migrations_two_factorScalarFieldEnum = { installed_rank: 'installed_rank', version: 'version', description: 'description', type: 'type', script: 'script', checksum: 'checksum', installed_by: 'installed_by', installed_on: 'installed_on', execution_time: 'execution_time', success: 'success' }; exports.SortOrder = { asc: 'asc', desc: 'desc' }; exports.QueryMode = { default: 'default', insensitive: 'insensitive' }; exports.NullsOrder = { first: 'first', last: 'last' }; exports.defineExtension = runtime.Extensions.defineExtension; //# sourceMappingURL=prismaNamespace.js.map