Spaces:
Runtime error
Runtime error
| /* !!! This is code generated by Prisma. Do not edit directly. !!! */ | |
| /* eslint-disable */ | |
| // biome-ignore-all lint: generated file | |
| // @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 browser.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! | |
| */ | |
| import * as runtime from "@prisma/client/runtime/index-browser" | |
| export type * from '../models.js' | |
| export type * from './prismaNamespace.js' | |
| export const Decimal = runtime.Decimal | |
| export const NullTypes = { | |
| DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), | |
| JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), | |
| AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.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 const DbNull = runtime.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 | |
| */ | |
| export const JsonNull = runtime.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 | |
| */ | |
| export const AnyNull = runtime.AnyNull | |
| export const ModelName = { | |
| Users: 'Users', | |
| Sessions: 'Sessions', | |
| Accounts: 'Accounts', | |
| Verifications: 'Verifications', | |
| Jwkss: 'Jwkss', | |
| MentorApplications: 'MentorApplications' | |
| } as const | |
| export type ModelName = (typeof ModelName)[keyof typeof ModelName] | |
| /* | |
| * Enums | |
| */ | |
| export const TransactionIsolationLevel = runtime.makeStrictEnum({ | |
| ReadUncommitted: 'ReadUncommitted', | |
| ReadCommitted: 'ReadCommitted', | |
| RepeatableRead: 'RepeatableRead', | |
| Serializable: 'Serializable' | |
| } as const) | |
| export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] | |
| export const UsersScalarFieldEnum = { | |
| id: 'id', | |
| name: 'name', | |
| email: 'email', | |
| emailVerified: 'emailVerified', | |
| image: 'image', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt', | |
| role: 'role', | |
| phoneNumber: 'phoneNumber', | |
| deletedAt: 'deletedAt' | |
| } as const | |
| export type UsersScalarFieldEnum = (typeof UsersScalarFieldEnum)[keyof typeof UsersScalarFieldEnum] | |
| export const SessionsScalarFieldEnum = { | |
| id: 'id', | |
| expiresAt: 'expiresAt', | |
| token: 'token', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt', | |
| ipAddress: 'ipAddress', | |
| userAgent: 'userAgent', | |
| userId: 'userId' | |
| } as const | |
| export type SessionsScalarFieldEnum = (typeof SessionsScalarFieldEnum)[keyof typeof SessionsScalarFieldEnum] | |
| export const AccountsScalarFieldEnum = { | |
| id: 'id', | |
| accountId: 'accountId', | |
| providerId: 'providerId', | |
| userId: 'userId', | |
| accessToken: 'accessToken', | |
| refreshToken: 'refreshToken', | |
| idToken: 'idToken', | |
| accessTokenExpiresAt: 'accessTokenExpiresAt', | |
| refreshTokenExpiresAt: 'refreshTokenExpiresAt', | |
| scope: 'scope', | |
| password: 'password', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt' | |
| } as const | |
| export type AccountsScalarFieldEnum = (typeof AccountsScalarFieldEnum)[keyof typeof AccountsScalarFieldEnum] | |
| export const VerificationsScalarFieldEnum = { | |
| id: 'id', | |
| identifier: 'identifier', | |
| value: 'value', | |
| expiresAt: 'expiresAt', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt' | |
| } as const | |
| export type VerificationsScalarFieldEnum = (typeof VerificationsScalarFieldEnum)[keyof typeof VerificationsScalarFieldEnum] | |
| export const JwkssScalarFieldEnum = { | |
| id: 'id', | |
| publicKey: 'publicKey', | |
| privateKey: 'privateKey', | |
| createdAt: 'createdAt', | |
| expiresAt: 'expiresAt' | |
| } as const | |
| export type JwkssScalarFieldEnum = (typeof JwkssScalarFieldEnum)[keyof typeof JwkssScalarFieldEnum] | |
| export const MentorApplicationsScalarFieldEnum = { | |
| id: 'id', | |
| userId: 'userId', | |
| expertise: 'expertise', | |
| about: 'about', | |
| certificateUrl: 'certificateUrl', | |
| portfolioUrl: 'portfolioUrl', | |
| statementLetterUrl: 'statementLetterUrl', | |
| status: 'status', | |
| verifiedBy: 'verifiedBy', | |
| verifiedAt: 'verifiedAt', | |
| rejectionReason: 'rejectionReason', | |
| deletedAt: 'deletedAt', | |
| createdAt: 'createdAt', | |
| updatedAt: 'updatedAt' | |
| } as const | |
| export type MentorApplicationsScalarFieldEnum = (typeof MentorApplicationsScalarFieldEnum)[keyof typeof MentorApplicationsScalarFieldEnum] | |
| export const SortOrder = { | |
| asc: 'asc', | |
| desc: 'desc' | |
| } as const | |
| export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] | |
| export const QueryMode = { | |
| default: 'default', | |
| insensitive: 'insensitive' | |
| } as const | |
| export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] | |
| export const NullsOrder = { | |
| first: 'first', | |
| last: 'last' | |
| } as const | |
| export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] | |