UNPKG

auth-vir

Version:

Auth made easy and secure via JWT cookies, CSRF tokens, and password hashing helpers.

76 lines (75 loc) 2.94 kB
import * as runtime from "@prisma/client/runtime/index-browser"; export type * from '../models.js'; export type * from './prismaNamespace.js'; export declare const Decimal: typeof runtime.Decimal; export declare const NullTypes: { DbNull: (new (secret: never) => typeof runtime.objectEnumValues.instances.DbNull); JsonNull: (new (secret: never) => typeof runtime.objectEnumValues.instances.JsonNull); AnyNull: (new (secret: never) => typeof runtime.objectEnumValues.instances.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 */ export declare const DbNull: { "__#private@#private": any; _getNamespace(): string; _getName(): string; toString(): string; }; /** * 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 */ export declare const JsonNull: { "__#private@#private": any; _getNamespace(): string; _getName(): string; toString(): string; }; /** * 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 */ export declare const AnyNull: { "__#private@#private": any; _getNamespace(): string; _getName(): string; toString(): string; }; export declare const ModelName: { readonly User: "User"; }; export type ModelName = (typeof ModelName)[keyof typeof ModelName]; export declare const TransactionIsolationLevel: { readonly ReadUncommitted: "ReadUncommitted"; readonly ReadCommitted: "ReadCommitted"; readonly RepeatableRead: "RepeatableRead"; readonly Serializable: "Serializable"; }; export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]; export declare const UserScalarFieldEnum: { readonly id: "id"; readonly createdAt: "createdAt"; readonly updatedAt: "updatedAt"; readonly name: "name"; }; export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]; export declare const RelationLoadStrategy: { readonly query: "query"; readonly join: "join"; }; export type RelationLoadStrategy = (typeof RelationLoadStrategy)[keyof typeof RelationLoadStrategy]; export declare const SortOrder: { readonly asc: "asc"; readonly desc: "desc"; }; export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]; export declare const QueryMode: { readonly default: "default"; readonly insensitive: "insensitive"; }; export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];