/* !!! 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.ts' export type * from './prismaNamespace.ts' 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 = { User: 'User', Session: 'Session', Account: 'Account', Verification: 'Verification', House: 'House', Member: 'Member', Invitation: 'Invitation', Setting: 'Setting', Audit: 'Audit', Notification: 'Notification', Box: 'Box', Item: 'Item' } 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 UserScalarFieldEnum = { id: 'id', name: 'name', email: 'email', emailVerified: 'emailVerified', image: 'image', createdAt: 'createdAt', updatedAt: 'updatedAt', role: 'role', banned: 'banned', banReason: 'banReason', banExpires: 'banExpires' } as const export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] export const SessionScalarFieldEnum = { id: 'id', expiresAt: 'expiresAt', token: 'token', createdAt: 'createdAt', updatedAt: 'updatedAt', ipAddress: 'ipAddress', userAgent: 'userAgent', userId: 'userId', impersonatedBy: 'impersonatedBy', activeOrganizationId: 'activeOrganizationId' } as const export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum] export const AccountScalarFieldEnum = { 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 AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] export const VerificationScalarFieldEnum = { id: 'id', identifier: 'identifier', value: 'value', expiresAt: 'expiresAt', createdAt: 'createdAt', updatedAt: 'updatedAt' } as const export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum] export const HouseScalarFieldEnum = { id: 'id', name: 'name', slug: 'slug', logo: 'logo', createdAt: 'createdAt', metadata: 'metadata', color: 'color' } as const export type HouseScalarFieldEnum = (typeof HouseScalarFieldEnum)[keyof typeof HouseScalarFieldEnum] export const MemberScalarFieldEnum = { id: 'id', organizationId: 'organizationId', userId: 'userId', role: 'role', createdAt: 'createdAt' } as const export type MemberScalarFieldEnum = (typeof MemberScalarFieldEnum)[keyof typeof MemberScalarFieldEnum] export const InvitationScalarFieldEnum = { id: 'id', organizationId: 'organizationId', email: 'email', role: 'role', status: 'status', expiresAt: 'expiresAt', createdAt: 'createdAt', inviterId: 'inviterId' } as const export type InvitationScalarFieldEnum = (typeof InvitationScalarFieldEnum)[keyof typeof InvitationScalarFieldEnum] export const SettingScalarFieldEnum = { id: 'id', key: 'key', value: 'value', description: 'description', relation: 'relation', createdAt: 'createdAt', updatedAt: 'updatedAt' } as const export type SettingScalarFieldEnum = (typeof SettingScalarFieldEnum)[keyof typeof SettingScalarFieldEnum] export const AuditScalarFieldEnum = { id: 'id', userId: 'userId', action: 'action', tableName: 'tableName', recordId: 'recordId', oldValue: 'oldValue', newValue: 'newValue', createdAt: 'createdAt' } as const export type AuditScalarFieldEnum = (typeof AuditScalarFieldEnum)[keyof typeof AuditScalarFieldEnum] export const NotificationScalarFieldEnum = { id: 'id', userId: 'userId', title: 'title', message: 'message', type: 'type', link: 'link', metadata: 'metadata', createdAt: 'createdAt', readAt: 'readAt' } as const export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum] export const BoxScalarFieldEnum = { id: 'id', name: 'name', description: 'description', tags: 'tags', color: 'color', houseId: 'houseId', createrId: 'createrId', createdAt: 'createdAt', updatedAt: 'updatedAt', deletedAt: 'deletedAt', isPrivate: 'isPrivate' } as const export type BoxScalarFieldEnum = (typeof BoxScalarFieldEnum)[keyof typeof BoxScalarFieldEnum] export const ItemScalarFieldEnum = { id: 'id', createrId: 'createrId', boxId: 'boxId', image: 'image', name: 'name', description: 'description', price: 'price', tags: 'tags', quantity: 'quantity', expiresAt: 'expiresAt', createdAt: 'createdAt', updatedAt: 'updatedAt', deletedAt: 'deletedAt' } as const export type ItemScalarFieldEnum = (typeof ItemScalarFieldEnum)[keyof typeof ItemScalarFieldEnum] 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]