Files
planner/src/lib/generated/prisma/internal/prismaNamespace.ts

2205 lines
71 KiB
TypeScript

/* !!! 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 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!
*/
import * as runtime from "@prisma/client/runtime/library"
import type * as Prisma from "../models.ts"
import { type PrismaClient } from "./class.ts"
export type * from '../models.ts'
export type DMMF = typeof runtime.DMMF
export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>
/**
* Prisma Errors
*/
export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
export const PrismaClientInitializationError = runtime.PrismaClientInitializationError
export type PrismaClientInitializationError = runtime.PrismaClientInitializationError
export const PrismaClientValidationError = runtime.PrismaClientValidationError
export type PrismaClientValidationError = runtime.PrismaClientValidationError
/**
* Re-export of sql-template-tag
*/
export const sql = runtime.sqltag
export const empty = runtime.empty
export const join = runtime.join
export const raw = runtime.raw
export const Sql = runtime.Sql
export type Sql = runtime.Sql
/**
* Decimal.js
*/
export const Decimal = runtime.Decimal
export type Decimal = runtime.Decimal
export type DecimalJsLike = runtime.DecimalJsLike
/**
* Metrics
*/
export type Metrics = runtime.Metrics
export type Metric<T> = runtime.Metric<T>
export type MetricHistogram = runtime.MetricHistogram
export type MetricHistogramBucket = runtime.MetricHistogramBucket
/**
* Extensions
*/
export type Extension = runtime.Types.Extensions.UserArgs
export const getExtensionContext = runtime.Extensions.getExtensionContext
export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F>
export type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F>
export type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F>
export type Exact<A, W> = runtime.Types.Public.Exact<A, W>
export type PrismaVersion = {
client: string
engine: string
}
/**
* Prisma Client JS version: 6.19.3
* Query Engine version: c2990dca591cba766e3b7ef5d9e8a84796e47ab7
*/
export const prismaVersion: PrismaVersion = {
client: "6.19.3",
engine: "c2990dca591cba766e3b7ef5d9e8a84796e47ab7"
}
/**
* Utility Types
*/
export type Bytes = runtime.Bytes
export type JsonObject = runtime.JsonObject
export type JsonArray = runtime.JsonArray
export type JsonValue = runtime.JsonValue
export type InputJsonObject = runtime.InputJsonObject
export type InputJsonArray = runtime.InputJsonArray
export type InputJsonValue = runtime.InputJsonValue
export const NullTypes = {
DbNull: runtime.objectEnumValues.classes.DbNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.DbNull),
JsonNull: runtime.objectEnumValues.classes.JsonNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.JsonNull),
AnyNull: runtime.objectEnumValues.classes.AnyNull as (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 const 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
*/
export const 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
*/
export const AnyNull = runtime.objectEnumValues.instances.AnyNull
type SelectAndInclude = {
select: any
include: any
}
type SelectAndOmit = {
select: any
omit: any
}
/**
* From T, pick a set of properties whose keys are in the union K
*/
type Prisma__Pick<T, K extends keyof T> = {
[P in K]: T[P];
};
export type Enumerable<T> = T | Array<T>;
/**
* Subset
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection
*/
export type Subset<T, U> = {
[key in keyof T]: key extends keyof U ? T[key] : never;
};
/**
* SelectSubset
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
* Additionally, it validates, if both select and include are present. If the case, it errors.
*/
export type SelectSubset<T, U> = {
[key in keyof T]: key extends keyof U ? T[key] : never
} &
(T extends SelectAndInclude
? 'Please either choose `select` or `include`.'
: T extends SelectAndOmit
? 'Please either choose `select` or `omit`.'
: {})
/**
* Subset + Intersection
* @desc From `T` pick properties that exist in `U` and intersect `K`
*/
export type SubsetIntersection<T, U, K> = {
[key in keyof T]: key extends keyof U ? T[key] : never
} &
K
type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
/**
* XOR is needed to have a real mutually exclusive union type
* https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
*/
export type XOR<T, U> =
T extends object ?
U extends object ?
(Without<T, U> & U) | (Without<U, T> & T)
: U : T
/**
* Is T a Record?
*/
type IsObject<T extends any> = T extends Array<any>
? False
: T extends Date
? False
: T extends Uint8Array
? False
: T extends BigInt
? False
: T extends object
? True
: False
/**
* If it's T[], return T
*/
export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T
/**
* From ts-toolbelt
*/
type __Either<O extends object, K extends Key> = Omit<O, K> &
{
// Merge all but K
[P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
}[K]
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
type _Either<
O extends object,
K extends Key,
strict extends Boolean
> = {
1: EitherStrict<O, K>
0: EitherLoose<O, K>
}[strict]
export type Either<
O extends object,
K extends Key,
strict extends Boolean = 1
> = O extends unknown ? _Either<O, K, strict> : never
export type Union = any
export type PatchUndefined<O extends object, O1 extends object> = {
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
} & {}
/** Helper Types for "Merge" **/
export type IntersectOf<U extends Union> = (
U extends unknown ? (k: U) => void : never
) extends (k: infer I) => void
? I
: never
export type Overwrite<O extends object, O1 extends object> = {
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
} & {};
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
[K in keyof U]-?: At<U, K>;
}>>;
type Key = string | number | symbol;
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
1: AtStrict<O, K>;
0: AtLoose<O, K>;
}[strict];
export type ComputeRaw<A extends any> = A extends Function ? A : {
[K in keyof A]: A[K];
} & {};
export type OptionalFlat<O> = {
[K in keyof O]?: O[K];
} & {};
type _Record<K extends keyof any, T> = {
[P in K]: T;
};
// cause typescript not to expand types and preserve names
type NoExpand<T> = T extends unknown ? T : never;
// this type assumes the passed object is entirely optional
export type AtLeast<O extends object, K extends string> = NoExpand<
O extends unknown
? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
| {[P in keyof O as P extends K ? P : never]-?: O[P]} & O
: never>;
type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
/** End Helper Types for "Merge" **/
export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
export type Boolean = True | False
export type True = 1
export type False = 0
export type Not<B extends Boolean> = {
0: 1
1: 0
}[B]
export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
? 0 // anything `never` is false
: A1 extends A2
? 1
: 0
export type Has<U extends Union, U1 extends Union> = Not<
Extends<Exclude<U1, U>, U1>
>
export type Or<B1 extends Boolean, B2 extends Boolean> = {
0: {
0: 0
1: 1
}
1: {
0: 1
1: 1
}
}[B1][B2]
export type Keys<U extends Union> = U extends unknown ? keyof U : never
export type GetScalarType<T, O> = O extends object ? {
[P in keyof T]: P extends keyof O
? O[P]
: never
} : never
type FieldPaths<
T,
U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
> = IsObject<T> extends True ? U : T
export type GetHavingFields<T> = {
[K in keyof T]: Or<
Or<Extends<'OR', K>, Extends<'AND', K>>,
Extends<'NOT', K>
> extends True
? // infer is only needed to not hit TS limit
// based on the brilliant idea of Pierre-Antoine Mills
// https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
T[K] extends infer TK
? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
: never
: {} extends FieldPaths<T[K]>
? never
: K
}[keyof T]
/**
* Convert tuple to union
*/
type _TupleToUnion<T> = T extends (infer E)[] ? E : never
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
/**
* Like `Pick`, but additionally can also accept an array of keys
*/
export type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
/**
* Exclude all keys with underscores
*/
export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
export const ModelName = {
User: 'User',
Project: 'Project',
Membership: 'Membership',
InviteToken: 'InviteToken',
Event: 'Event',
EventTodo: 'EventTodo',
Address: 'Address',
Household: 'Household',
Guest: 'Guest',
EventGuest: 'EventGuest',
VendorCategory: 'VendorCategory',
Vendor: 'Vendor',
EventVendor: 'EventVendor',
FileUpload: 'FileUpload',
RegistryItem: 'RegistryItem',
AllowedOrigin: 'AllowedOrigin'
} as const
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record<string, any>> {
returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>
}
export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
globalOmitOptions: {
omit: GlobalOmitOptions
}
meta: {
modelProps: "user" | "project" | "membership" | "inviteToken" | "event" | "eventTodo" | "address" | "household" | "guest" | "eventGuest" | "vendorCategory" | "vendor" | "eventVendor" | "fileUpload" | "registryItem" | "allowedOrigin"
txIsolationLevel: TransactionIsolationLevel
}
model: {
User: {
payload: Prisma.$UserPayload<ExtArgs>
fields: Prisma.UserFieldRefs
operations: {
findUnique: {
args: Prisma.UserFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null
}
findUniqueOrThrow: {
args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
}
findFirst: {
args: Prisma.UserFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null
}
findFirstOrThrow: {
args: Prisma.UserFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
}
findMany: {
args: Prisma.UserFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]
}
create: {
args: Prisma.UserCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
}
createMany: {
args: Prisma.UserCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.UserCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]
}
delete: {
args: Prisma.UserDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
}
update: {
args: Prisma.UserUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
}
deleteMany: {
args: Prisma.UserDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.UserUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.UserUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]
}
upsert: {
args: Prisma.UserUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
}
aggregate: {
args: Prisma.UserAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateUser>
}
groupBy: {
args: Prisma.UserGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.UserGroupByOutputType>[]
}
count: {
args: Prisma.UserCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.UserCountAggregateOutputType> | number
}
}
}
Project: {
payload: Prisma.$ProjectPayload<ExtArgs>
fields: Prisma.ProjectFieldRefs
operations: {
findUnique: {
args: Prisma.ProjectFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload> | null
}
findUniqueOrThrow: {
args: Prisma.ProjectFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload>
}
findFirst: {
args: Prisma.ProjectFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload> | null
}
findFirstOrThrow: {
args: Prisma.ProjectFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload>
}
findMany: {
args: Prisma.ProjectFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload>[]
}
create: {
args: Prisma.ProjectCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload>
}
createMany: {
args: Prisma.ProjectCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.ProjectCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload>[]
}
delete: {
args: Prisma.ProjectDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload>
}
update: {
args: Prisma.ProjectUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload>
}
deleteMany: {
args: Prisma.ProjectDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.ProjectUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.ProjectUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload>[]
}
upsert: {
args: Prisma.ProjectUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ProjectPayload>
}
aggregate: {
args: Prisma.ProjectAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateProject>
}
groupBy: {
args: Prisma.ProjectGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.ProjectGroupByOutputType>[]
}
count: {
args: Prisma.ProjectCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.ProjectCountAggregateOutputType> | number
}
}
}
Membership: {
payload: Prisma.$MembershipPayload<ExtArgs>
fields: Prisma.MembershipFieldRefs
operations: {
findUnique: {
args: Prisma.MembershipFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload> | null
}
findUniqueOrThrow: {
args: Prisma.MembershipFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload>
}
findFirst: {
args: Prisma.MembershipFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload> | null
}
findFirstOrThrow: {
args: Prisma.MembershipFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload>
}
findMany: {
args: Prisma.MembershipFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload>[]
}
create: {
args: Prisma.MembershipCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload>
}
createMany: {
args: Prisma.MembershipCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.MembershipCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload>[]
}
delete: {
args: Prisma.MembershipDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload>
}
update: {
args: Prisma.MembershipUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload>
}
deleteMany: {
args: Prisma.MembershipDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.MembershipUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.MembershipUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload>[]
}
upsert: {
args: Prisma.MembershipUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$MembershipPayload>
}
aggregate: {
args: Prisma.MembershipAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateMembership>
}
groupBy: {
args: Prisma.MembershipGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.MembershipGroupByOutputType>[]
}
count: {
args: Prisma.MembershipCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.MembershipCountAggregateOutputType> | number
}
}
}
InviteToken: {
payload: Prisma.$InviteTokenPayload<ExtArgs>
fields: Prisma.InviteTokenFieldRefs
operations: {
findUnique: {
args: Prisma.InviteTokenFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload> | null
}
findUniqueOrThrow: {
args: Prisma.InviteTokenFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload>
}
findFirst: {
args: Prisma.InviteTokenFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload> | null
}
findFirstOrThrow: {
args: Prisma.InviteTokenFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload>
}
findMany: {
args: Prisma.InviteTokenFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload>[]
}
create: {
args: Prisma.InviteTokenCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload>
}
createMany: {
args: Prisma.InviteTokenCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.InviteTokenCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload>[]
}
delete: {
args: Prisma.InviteTokenDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload>
}
update: {
args: Prisma.InviteTokenUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload>
}
deleteMany: {
args: Prisma.InviteTokenDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.InviteTokenUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.InviteTokenUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload>[]
}
upsert: {
args: Prisma.InviteTokenUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$InviteTokenPayload>
}
aggregate: {
args: Prisma.InviteTokenAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateInviteToken>
}
groupBy: {
args: Prisma.InviteTokenGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.InviteTokenGroupByOutputType>[]
}
count: {
args: Prisma.InviteTokenCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.InviteTokenCountAggregateOutputType> | number
}
}
}
Event: {
payload: Prisma.$EventPayload<ExtArgs>
fields: Prisma.EventFieldRefs
operations: {
findUnique: {
args: Prisma.EventFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload> | null
}
findUniqueOrThrow: {
args: Prisma.EventFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload>
}
findFirst: {
args: Prisma.EventFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload> | null
}
findFirstOrThrow: {
args: Prisma.EventFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload>
}
findMany: {
args: Prisma.EventFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload>[]
}
create: {
args: Prisma.EventCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload>
}
createMany: {
args: Prisma.EventCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.EventCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload>[]
}
delete: {
args: Prisma.EventDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload>
}
update: {
args: Prisma.EventUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload>
}
deleteMany: {
args: Prisma.EventDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.EventUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.EventUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload>[]
}
upsert: {
args: Prisma.EventUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventPayload>
}
aggregate: {
args: Prisma.EventAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateEvent>
}
groupBy: {
args: Prisma.EventGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.EventGroupByOutputType>[]
}
count: {
args: Prisma.EventCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.EventCountAggregateOutputType> | number
}
}
}
EventTodo: {
payload: Prisma.$EventTodoPayload<ExtArgs>
fields: Prisma.EventTodoFieldRefs
operations: {
findUnique: {
args: Prisma.EventTodoFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload> | null
}
findUniqueOrThrow: {
args: Prisma.EventTodoFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload>
}
findFirst: {
args: Prisma.EventTodoFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload> | null
}
findFirstOrThrow: {
args: Prisma.EventTodoFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload>
}
findMany: {
args: Prisma.EventTodoFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload>[]
}
create: {
args: Prisma.EventTodoCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload>
}
createMany: {
args: Prisma.EventTodoCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.EventTodoCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload>[]
}
delete: {
args: Prisma.EventTodoDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload>
}
update: {
args: Prisma.EventTodoUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload>
}
deleteMany: {
args: Prisma.EventTodoDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.EventTodoUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.EventTodoUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload>[]
}
upsert: {
args: Prisma.EventTodoUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventTodoPayload>
}
aggregate: {
args: Prisma.EventTodoAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateEventTodo>
}
groupBy: {
args: Prisma.EventTodoGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.EventTodoGroupByOutputType>[]
}
count: {
args: Prisma.EventTodoCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.EventTodoCountAggregateOutputType> | number
}
}
}
Address: {
payload: Prisma.$AddressPayload<ExtArgs>
fields: Prisma.AddressFieldRefs
operations: {
findUnique: {
args: Prisma.AddressFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload> | null
}
findUniqueOrThrow: {
args: Prisma.AddressFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload>
}
findFirst: {
args: Prisma.AddressFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload> | null
}
findFirstOrThrow: {
args: Prisma.AddressFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload>
}
findMany: {
args: Prisma.AddressFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload>[]
}
create: {
args: Prisma.AddressCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload>
}
createMany: {
args: Prisma.AddressCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.AddressCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload>[]
}
delete: {
args: Prisma.AddressDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload>
}
update: {
args: Prisma.AddressUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload>
}
deleteMany: {
args: Prisma.AddressDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.AddressUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.AddressUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload>[]
}
upsert: {
args: Prisma.AddressUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AddressPayload>
}
aggregate: {
args: Prisma.AddressAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateAddress>
}
groupBy: {
args: Prisma.AddressGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AddressGroupByOutputType>[]
}
count: {
args: Prisma.AddressCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AddressCountAggregateOutputType> | number
}
}
}
Household: {
payload: Prisma.$HouseholdPayload<ExtArgs>
fields: Prisma.HouseholdFieldRefs
operations: {
findUnique: {
args: Prisma.HouseholdFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload> | null
}
findUniqueOrThrow: {
args: Prisma.HouseholdFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload>
}
findFirst: {
args: Prisma.HouseholdFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload> | null
}
findFirstOrThrow: {
args: Prisma.HouseholdFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload>
}
findMany: {
args: Prisma.HouseholdFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload>[]
}
create: {
args: Prisma.HouseholdCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload>
}
createMany: {
args: Prisma.HouseholdCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.HouseholdCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload>[]
}
delete: {
args: Prisma.HouseholdDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload>
}
update: {
args: Prisma.HouseholdUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload>
}
deleteMany: {
args: Prisma.HouseholdDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.HouseholdUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.HouseholdUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload>[]
}
upsert: {
args: Prisma.HouseholdUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$HouseholdPayload>
}
aggregate: {
args: Prisma.HouseholdAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateHousehold>
}
groupBy: {
args: Prisma.HouseholdGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.HouseholdGroupByOutputType>[]
}
count: {
args: Prisma.HouseholdCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.HouseholdCountAggregateOutputType> | number
}
}
}
Guest: {
payload: Prisma.$GuestPayload<ExtArgs>
fields: Prisma.GuestFieldRefs
operations: {
findUnique: {
args: Prisma.GuestFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload> | null
}
findUniqueOrThrow: {
args: Prisma.GuestFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload>
}
findFirst: {
args: Prisma.GuestFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload> | null
}
findFirstOrThrow: {
args: Prisma.GuestFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload>
}
findMany: {
args: Prisma.GuestFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload>[]
}
create: {
args: Prisma.GuestCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload>
}
createMany: {
args: Prisma.GuestCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.GuestCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload>[]
}
delete: {
args: Prisma.GuestDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload>
}
update: {
args: Prisma.GuestUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload>
}
deleteMany: {
args: Prisma.GuestDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.GuestUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.GuestUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload>[]
}
upsert: {
args: Prisma.GuestUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$GuestPayload>
}
aggregate: {
args: Prisma.GuestAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateGuest>
}
groupBy: {
args: Prisma.GuestGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.GuestGroupByOutputType>[]
}
count: {
args: Prisma.GuestCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.GuestCountAggregateOutputType> | number
}
}
}
EventGuest: {
payload: Prisma.$EventGuestPayload<ExtArgs>
fields: Prisma.EventGuestFieldRefs
operations: {
findUnique: {
args: Prisma.EventGuestFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload> | null
}
findUniqueOrThrow: {
args: Prisma.EventGuestFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload>
}
findFirst: {
args: Prisma.EventGuestFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload> | null
}
findFirstOrThrow: {
args: Prisma.EventGuestFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload>
}
findMany: {
args: Prisma.EventGuestFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload>[]
}
create: {
args: Prisma.EventGuestCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload>
}
createMany: {
args: Prisma.EventGuestCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.EventGuestCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload>[]
}
delete: {
args: Prisma.EventGuestDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload>
}
update: {
args: Prisma.EventGuestUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload>
}
deleteMany: {
args: Prisma.EventGuestDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.EventGuestUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.EventGuestUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload>[]
}
upsert: {
args: Prisma.EventGuestUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventGuestPayload>
}
aggregate: {
args: Prisma.EventGuestAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateEventGuest>
}
groupBy: {
args: Prisma.EventGuestGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.EventGuestGroupByOutputType>[]
}
count: {
args: Prisma.EventGuestCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.EventGuestCountAggregateOutputType> | number
}
}
}
VendorCategory: {
payload: Prisma.$VendorCategoryPayload<ExtArgs>
fields: Prisma.VendorCategoryFieldRefs
operations: {
findUnique: {
args: Prisma.VendorCategoryFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload> | null
}
findUniqueOrThrow: {
args: Prisma.VendorCategoryFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload>
}
findFirst: {
args: Prisma.VendorCategoryFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload> | null
}
findFirstOrThrow: {
args: Prisma.VendorCategoryFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload>
}
findMany: {
args: Prisma.VendorCategoryFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload>[]
}
create: {
args: Prisma.VendorCategoryCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload>
}
createMany: {
args: Prisma.VendorCategoryCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.VendorCategoryCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload>[]
}
delete: {
args: Prisma.VendorCategoryDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload>
}
update: {
args: Prisma.VendorCategoryUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload>
}
deleteMany: {
args: Prisma.VendorCategoryDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.VendorCategoryUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.VendorCategoryUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload>[]
}
upsert: {
args: Prisma.VendorCategoryUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorCategoryPayload>
}
aggregate: {
args: Prisma.VendorCategoryAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateVendorCategory>
}
groupBy: {
args: Prisma.VendorCategoryGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.VendorCategoryGroupByOutputType>[]
}
count: {
args: Prisma.VendorCategoryCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.VendorCategoryCountAggregateOutputType> | number
}
}
}
Vendor: {
payload: Prisma.$VendorPayload<ExtArgs>
fields: Prisma.VendorFieldRefs
operations: {
findUnique: {
args: Prisma.VendorFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload> | null
}
findUniqueOrThrow: {
args: Prisma.VendorFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload>
}
findFirst: {
args: Prisma.VendorFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload> | null
}
findFirstOrThrow: {
args: Prisma.VendorFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload>
}
findMany: {
args: Prisma.VendorFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload>[]
}
create: {
args: Prisma.VendorCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload>
}
createMany: {
args: Prisma.VendorCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.VendorCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload>[]
}
delete: {
args: Prisma.VendorDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload>
}
update: {
args: Prisma.VendorUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload>
}
deleteMany: {
args: Prisma.VendorDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.VendorUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.VendorUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload>[]
}
upsert: {
args: Prisma.VendorUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$VendorPayload>
}
aggregate: {
args: Prisma.VendorAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateVendor>
}
groupBy: {
args: Prisma.VendorGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.VendorGroupByOutputType>[]
}
count: {
args: Prisma.VendorCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.VendorCountAggregateOutputType> | number
}
}
}
EventVendor: {
payload: Prisma.$EventVendorPayload<ExtArgs>
fields: Prisma.EventVendorFieldRefs
operations: {
findUnique: {
args: Prisma.EventVendorFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload> | null
}
findUniqueOrThrow: {
args: Prisma.EventVendorFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload>
}
findFirst: {
args: Prisma.EventVendorFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload> | null
}
findFirstOrThrow: {
args: Prisma.EventVendorFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload>
}
findMany: {
args: Prisma.EventVendorFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload>[]
}
create: {
args: Prisma.EventVendorCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload>
}
createMany: {
args: Prisma.EventVendorCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.EventVendorCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload>[]
}
delete: {
args: Prisma.EventVendorDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload>
}
update: {
args: Prisma.EventVendorUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload>
}
deleteMany: {
args: Prisma.EventVendorDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.EventVendorUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.EventVendorUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload>[]
}
upsert: {
args: Prisma.EventVendorUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$EventVendorPayload>
}
aggregate: {
args: Prisma.EventVendorAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateEventVendor>
}
groupBy: {
args: Prisma.EventVendorGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.EventVendorGroupByOutputType>[]
}
count: {
args: Prisma.EventVendorCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.EventVendorCountAggregateOutputType> | number
}
}
}
FileUpload: {
payload: Prisma.$FileUploadPayload<ExtArgs>
fields: Prisma.FileUploadFieldRefs
operations: {
findUnique: {
args: Prisma.FileUploadFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload> | null
}
findUniqueOrThrow: {
args: Prisma.FileUploadFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload>
}
findFirst: {
args: Prisma.FileUploadFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload> | null
}
findFirstOrThrow: {
args: Prisma.FileUploadFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload>
}
findMany: {
args: Prisma.FileUploadFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload>[]
}
create: {
args: Prisma.FileUploadCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload>
}
createMany: {
args: Prisma.FileUploadCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.FileUploadCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload>[]
}
delete: {
args: Prisma.FileUploadDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload>
}
update: {
args: Prisma.FileUploadUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload>
}
deleteMany: {
args: Prisma.FileUploadDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.FileUploadUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.FileUploadUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload>[]
}
upsert: {
args: Prisma.FileUploadUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$FileUploadPayload>
}
aggregate: {
args: Prisma.FileUploadAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateFileUpload>
}
groupBy: {
args: Prisma.FileUploadGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.FileUploadGroupByOutputType>[]
}
count: {
args: Prisma.FileUploadCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.FileUploadCountAggregateOutputType> | number
}
}
}
RegistryItem: {
payload: Prisma.$RegistryItemPayload<ExtArgs>
fields: Prisma.RegistryItemFieldRefs
operations: {
findUnique: {
args: Prisma.RegistryItemFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload> | null
}
findUniqueOrThrow: {
args: Prisma.RegistryItemFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload>
}
findFirst: {
args: Prisma.RegistryItemFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload> | null
}
findFirstOrThrow: {
args: Prisma.RegistryItemFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload>
}
findMany: {
args: Prisma.RegistryItemFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload>[]
}
create: {
args: Prisma.RegistryItemCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload>
}
createMany: {
args: Prisma.RegistryItemCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.RegistryItemCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload>[]
}
delete: {
args: Prisma.RegistryItemDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload>
}
update: {
args: Prisma.RegistryItemUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload>
}
deleteMany: {
args: Prisma.RegistryItemDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.RegistryItemUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.RegistryItemUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload>[]
}
upsert: {
args: Prisma.RegistryItemUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$RegistryItemPayload>
}
aggregate: {
args: Prisma.RegistryItemAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateRegistryItem>
}
groupBy: {
args: Prisma.RegistryItemGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.RegistryItemGroupByOutputType>[]
}
count: {
args: Prisma.RegistryItemCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.RegistryItemCountAggregateOutputType> | number
}
}
}
AllowedOrigin: {
payload: Prisma.$AllowedOriginPayload<ExtArgs>
fields: Prisma.AllowedOriginFieldRefs
operations: {
findUnique: {
args: Prisma.AllowedOriginFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload> | null
}
findUniqueOrThrow: {
args: Prisma.AllowedOriginFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload>
}
findFirst: {
args: Prisma.AllowedOriginFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload> | null
}
findFirstOrThrow: {
args: Prisma.AllowedOriginFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload>
}
findMany: {
args: Prisma.AllowedOriginFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload>[]
}
create: {
args: Prisma.AllowedOriginCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload>
}
createMany: {
args: Prisma.AllowedOriginCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.AllowedOriginCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload>[]
}
delete: {
args: Prisma.AllowedOriginDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload>
}
update: {
args: Prisma.AllowedOriginUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload>
}
deleteMany: {
args: Prisma.AllowedOriginDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.AllowedOriginUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.AllowedOriginUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload>[]
}
upsert: {
args: Prisma.AllowedOriginUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AllowedOriginPayload>
}
aggregate: {
args: Prisma.AllowedOriginAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateAllowedOrigin>
}
groupBy: {
args: Prisma.AllowedOriginGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AllowedOriginGroupByOutputType>[]
}
count: {
args: Prisma.AllowedOriginCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AllowedOriginCountAggregateOutputType> | number
}
}
}
}
} & {
other: {
payload: any
operations: {
$executeRaw: {
args: [query: TemplateStringsArray | Sql, ...values: any[]],
result: any
}
$executeRawUnsafe: {
args: [query: string, ...values: any[]],
result: any
}
$queryRaw: {
args: [query: TemplateStringsArray | Sql, ...values: any[]],
result: any
}
$queryRawUnsafe: {
args: [query: string, ...values: any[]],
result: any
}
}
}
}
/**
* 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',
email: 'email',
name: 'name',
username: 'username',
password: 'password',
authProvider: 'authProvider',
providerId: 'providerId',
isAdmin: 'isAdmin',
createdAt: 'createdAt'
} as const
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
export const ProjectScalarFieldEnum = {
id: 'id',
name: 'name',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
archivedAt: 'archivedAt'
} as const
export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum]
export const MembershipScalarFieldEnum = {
id: 'id',
role: 'role',
createdAt: 'createdAt',
userId: 'userId',
projectId: 'projectId',
eventId: 'eventId'
} as const
export type MembershipScalarFieldEnum = (typeof MembershipScalarFieldEnum)[keyof typeof MembershipScalarFieldEnum]
export const InviteTokenScalarFieldEnum = {
id: 'id',
email: 'email',
role: 'role',
token: 'token',
expiresAt: 'expiresAt',
acceptedAt: 'acceptedAt',
createdAt: 'createdAt',
projectId: 'projectId',
eventId: 'eventId'
} as const
export type InviteTokenScalarFieldEnum = (typeof InviteTokenScalarFieldEnum)[keyof typeof InviteTokenScalarFieldEnum]
export const EventScalarFieldEnum = {
id: 'id',
slug: 'slug',
name: 'name',
date: 'date',
notes: 'notes',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
projectId: 'projectId'
} as const
export type EventScalarFieldEnum = (typeof EventScalarFieldEnum)[keyof typeof EventScalarFieldEnum]
export const EventTodoScalarFieldEnum = {
id: 'id',
name: 'name',
complete: 'complete',
dueDate: 'dueDate',
notes: 'notes',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
eventId: 'eventId'
} as const
export type EventTodoScalarFieldEnum = (typeof EventTodoScalarFieldEnum)[keyof typeof EventTodoScalarFieldEnum]
export const AddressScalarFieldEnum = {
id: 'id',
line1: 'line1',
line2: 'line2',
city: 'city',
state: 'state',
postalCode: 'postalCode',
country: 'country'
} as const
export type AddressScalarFieldEnum = (typeof AddressScalarFieldEnum)[keyof typeof AddressScalarFieldEnum]
export const HouseholdScalarFieldEnum = {
id: 'id',
name: 'name',
token: 'token',
notes: 'notes',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
projectId: 'projectId',
addressId: 'addressId'
} as const
export type HouseholdScalarFieldEnum = (typeof HouseholdScalarFieldEnum)[keyof typeof HouseholdScalarFieldEnum]
export const GuestScalarFieldEnum = {
id: 'id',
firstName: 'firstName',
lastName: 'lastName',
email: 'email',
phone: 'phone',
notes: 'notes',
side: 'side',
congratulated: 'congratulated',
isPlaceHolder: 'isPlaceHolder',
createdAt: 'createdAt',
householdId: 'householdId'
} as const
export type GuestScalarFieldEnum = (typeof GuestScalarFieldEnum)[keyof typeof GuestScalarFieldEnum]
export const EventGuestScalarFieldEnum = {
id: 'id',
rsvp: 'rsvp',
respodedAt: 'respodedAt',
createdAt: 'createdAt',
eventId: 'eventId',
guestId: 'guestId'
} as const
export type EventGuestScalarFieldEnum = (typeof EventGuestScalarFieldEnum)[keyof typeof EventGuestScalarFieldEnum]
export const VendorCategoryScalarFieldEnum = {
id: 'id',
name: 'name',
description: 'description',
color: 'color'
} as const
export type VendorCategoryScalarFieldEnum = (typeof VendorCategoryScalarFieldEnum)[keyof typeof VendorCategoryScalarFieldEnum]
export const VendorScalarFieldEnum = {
id: 'id',
slug: 'slug',
name: 'name',
description: 'description',
website: 'website',
contactPerson: 'contactPerson',
email: 'email',
phone: 'phone',
notes: 'notes',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
categoryId: 'categoryId',
addressId: 'addressId'
} as const
export type VendorScalarFieldEnum = (typeof VendorScalarFieldEnum)[keyof typeof VendorScalarFieldEnum]
export const EventVendorScalarFieldEnum = {
id: 'id',
status: 'status',
bookedDate: 'bookedDate',
quotedPrice: 'quotedPrice',
finalCost: 'finalCost',
depositPaid: 'depositPaid',
depositDueDate: 'depositDueDate',
finalPaymentDue: 'finalPaymentDue',
paymentNotes: 'paymentNotes',
notes: 'notes',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
eventId: 'eventId',
vendorId: 'vendorId'
} as const
export type EventVendorScalarFieldEnum = (typeof EventVendorScalarFieldEnum)[keyof typeof EventVendorScalarFieldEnum]
export const FileUploadScalarFieldEnum = {
id: 'id',
originalName: 'originalName',
storageKey: 'storageKey',
mimeType: 'mimeType',
size: 'size',
kind: 'kind',
uploadedAt: 'uploadedAt',
uploadedById: 'uploadedById',
eventId: 'eventId',
eventVendorId: 'eventVendorId'
} as const
export type FileUploadScalarFieldEnum = (typeof FileUploadScalarFieldEnum)[keyof typeof FileUploadScalarFieldEnum]
export const RegistryItemScalarFieldEnum = {
id: 'id',
slug: 'slug',
name: 'name',
url: 'url',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
eventId: 'eventId'
} as const
export type RegistryItemScalarFieldEnum = (typeof RegistryItemScalarFieldEnum)[keyof typeof RegistryItemScalarFieldEnum]
export const AllowedOriginScalarFieldEnum = {
id: 'id',
origin: 'origin',
isDefault: 'isDefault',
createdAt: 'createdAt',
addedById: 'addedById'
} as const
export type AllowedOriginScalarFieldEnum = (typeof AllowedOriginScalarFieldEnum)[keyof typeof AllowedOriginScalarFieldEnum]
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]
/**
* Field references
*/
/**
* Reference to a field of type 'String'
*/
export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>
/**
* Reference to a field of type 'String[]'
*/
export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>
/**
* Reference to a field of type 'Boolean'
*/
export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'>
/**
* Reference to a field of type 'DateTime'
*/
export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>
/**
* Reference to a field of type 'DateTime[]'
*/
export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>
/**
* Reference to a field of type 'Role'
*/
export type EnumRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Role'>
/**
* Reference to a field of type 'Role[]'
*/
export type ListEnumRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Role[]'>
/**
* Reference to a field of type 'RsvpStatus'
*/
export type EnumRsvpStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RsvpStatus'>
/**
* Reference to a field of type 'RsvpStatus[]'
*/
export type ListEnumRsvpStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RsvpStatus[]'>
/**
* Reference to a field of type 'VendorStatus'
*/
export type EnumVendorStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'VendorStatus'>
/**
* Reference to a field of type 'VendorStatus[]'
*/
export type ListEnumVendorStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'VendorStatus[]'>
/**
* Reference to a field of type 'Decimal'
*/
export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'>
/**
* Reference to a field of type 'Decimal[]'
*/
export type ListDecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal[]'>
/**
* Reference to a field of type 'Int'
*/
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
/**
* Reference to a field of type 'Int[]'
*/
export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
/**
* Reference to a field of type 'FileKind'
*/
export type EnumFileKindFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'FileKind'>
/**
* Reference to a field of type 'FileKind[]'
*/
export type ListEnumFileKindFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'FileKind[]'>
/**
* Reference to a field of type 'Float'
*/
export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>
/**
* Reference to a field of type 'Float[]'
*/
export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>
/**
* Batch Payload for updateMany & deleteMany & createMany
*/
export type BatchPayload = {
count: number
}
export type Datasource = {
url?: string
}
export type Datasources = {
db?: Datasource
}
export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>
export type DefaultPrismaClient = PrismaClient
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
export interface PrismaClientOptions {
/**
* Overwrites the datasource url from your schema.prisma file
*/
datasources?: Datasources
/**
* Overwrites the datasource url from your schema.prisma file
*/
datasourceUrl?: string
/**
* @default "colorless"
*/
errorFormat?: ErrorFormat
/**
* @example
* ```
* // Shorthand for `emit: 'stdout'`
* log: ['query', 'info', 'warn', 'error']
*
* // Emit as events only
* log: [
* { emit: 'event', level: 'query' },
* { emit: 'event', level: 'info' },
* { emit: 'event', level: 'warn' }
* { emit: 'event', level: 'error' }
* ]
*
* / Emit as events and log to stdout
* og: [
* { emit: 'stdout', level: 'query' },
* { emit: 'stdout', level: 'info' },
* { emit: 'stdout', level: 'warn' }
* { emit: 'stdout', level: 'error' }
*
* ```
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).
*/
log?: (LogLevel | LogDefinition)[]
/**
* The default values for transactionOptions
* maxWait ?= 2000
* timeout ?= 5000
*/
transactionOptions?: {
maxWait?: number
timeout?: number
isolationLevel?: TransactionIsolationLevel
}
/**
* Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`
*/
adapter?: runtime.SqlDriverAdapterFactory | null
/**
* Global configuration for omitting model fields by default.
*
* @example
* ```
* const prisma = new PrismaClient({
* omit: {
* user: {
* password: true
* }
* }
* })
* ```
*/
omit?: GlobalOmitConfig
}
export type GlobalOmitConfig = {
user?: Prisma.UserOmit
project?: Prisma.ProjectOmit
membership?: Prisma.MembershipOmit
inviteToken?: Prisma.InviteTokenOmit
event?: Prisma.EventOmit
eventTodo?: Prisma.EventTodoOmit
address?: Prisma.AddressOmit
household?: Prisma.HouseholdOmit
guest?: Prisma.GuestOmit
eventGuest?: Prisma.EventGuestOmit
vendorCategory?: Prisma.VendorCategoryOmit
vendor?: Prisma.VendorOmit
eventVendor?: Prisma.EventVendorOmit
fileUpload?: Prisma.FileUploadOmit
registryItem?: Prisma.RegistryItemOmit
allowedOrigin?: Prisma.AllowedOriginOmit
}
/* Types for Logging */
export type LogLevel = 'info' | 'query' | 'warn' | 'error'
export type LogDefinition = {
level: LogLevel
emit: 'stdout' | 'event'
}
export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
export type GetLogType<T> = CheckIsLogLevel<
T extends LogDefinition ? T['level'] : T
>;
export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition>
? GetLogType<T[number]>
: never;
export type QueryEvent = {
timestamp: Date
query: string
params: string
duration: number
target: string
}
export type LogEvent = {
timestamp: Date
message: string
target: string
}
/* End Types for Logging */
export type PrismaAction =
| 'findUnique'
| 'findUniqueOrThrow'
| 'findMany'
| 'findFirst'
| 'findFirstOrThrow'
| 'create'
| 'createMany'
| 'createManyAndReturn'
| 'update'
| 'updateMany'
| 'updateManyAndReturn'
| 'upsert'
| 'delete'
| 'deleteMany'
| 'executeRaw'
| 'queryRaw'
| 'aggregate'
| 'count'
| 'runCommandRaw'
| 'findRaw'
| 'groupBy'
/**
* `PrismaClient` proxy available in interactive transactions.
*/
export type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList>