(query: string, ...values: any[]): Prisma.PrismaPromise;
+ /**
+ * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
+ * @example
+ * ```
+ * const [george, bob, alice] = await prisma.$transaction([
+ * prisma.user.create({ data: { name: 'George' } }),
+ * prisma.user.create({ data: { name: 'Bob' } }),
+ * prisma.user.create({ data: { name: 'Alice' } }),
+ * ])
+ * ```
+ *
+ * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
+ */
+ $transaction[]>(
+ arg: [...P],
+ options?: {
+ maxWait?: number;
+ timeout?: number;
+ isolationLevel?: Prisma.TransactionIsolationLevel;
+ }
+ ): runtime.Types.Utils.JsPromise>;
- /**
- * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
- * @example
- * ```
- * const [george, bob, alice] = await prisma.$transaction([
- * prisma.user.create({ data: { name: 'George' } }),
- * prisma.user.create({ data: { name: 'Bob' } }),
- * prisma.user.create({ data: { name: 'Alice' } }),
- * ])
- * ```
- *
- * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
- */
- $transaction[]>(arg: [...P], options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise>
+ $transaction(
+ fn: (prisma: Omit) => runtime.Types.Utils.JsPromise,
+ options?: {
+ maxWait?: number;
+ timeout?: number;
+ isolationLevel?: Prisma.TransactionIsolationLevel;
+ }
+ ): runtime.Types.Utils.JsPromise;
- $transaction(fn: (prisma: Omit) => runtime.Types.Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise
+ $extends: runtime.Types.Extensions.ExtendsHook<
+ 'extends',
+ Prisma.TypeMapCb,
+ ExtArgs,
+ runtime.Types.Utils.Call<
+ Prisma.TypeMapCb,
+ {
+ extArgs: ExtArgs;
+ }
+ >
+ >;
- $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, runtime.Types.Utils.Call, {
- extArgs: ExtArgs
- }>>
+ /**
+ * `prisma.user`: Exposes CRUD operations for the **User** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more Users
+ * const users = await prisma.user.findMany()
+ * ```
+ */
+ get user(): Prisma.UserDelegate;
- /**
- * `prisma.user`: Exposes CRUD operations for the **User** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Users
- * const users = await prisma.user.findMany()
- * ```
- */
- get user(): Prisma.UserDelegate;
+ /**
+ * `prisma.profile`: Exposes CRUD operations for the **Profile** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more Profiles
+ * const profiles = await prisma.profile.findMany()
+ * ```
+ */
+ get profile(): Prisma.ProfileDelegate;
- /**
- * `prisma.profile`: Exposes CRUD operations for the **Profile** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Profiles
- * const profiles = await prisma.profile.findMany()
- * ```
- */
- get profile(): Prisma.ProfileDelegate;
+ /**
+ * `prisma.address`: Exposes CRUD operations for the **Address** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more Addresses
+ * const addresses = await prisma.address.findMany()
+ * ```
+ */
+ get address(): Prisma.AddressDelegate;
- /**
- * `prisma.address`: Exposes CRUD operations for the **Address** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Addresses
- * const addresses = await prisma.address.findMany()
- * ```
- */
- get address(): Prisma.AddressDelegate;
+ /**
+ * `prisma.session`: Exposes CRUD operations for the **Session** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more Sessions
+ * const sessions = await prisma.session.findMany()
+ * ```
+ */
+ get session(): Prisma.SessionDelegate;
- /**
- * `prisma.session`: Exposes CRUD operations for the **Session** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Sessions
- * const sessions = await prisma.session.findMany()
- * ```
- */
- get session(): Prisma.SessionDelegate;
+ /**
+ * `prisma.account`: Exposes CRUD operations for the **Account** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more Accounts
+ * const accounts = await prisma.account.findMany()
+ * ```
+ */
+ get account(): Prisma.AccountDelegate;
- /**
- * `prisma.account`: Exposes CRUD operations for the **Account** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Accounts
- * const accounts = await prisma.account.findMany()
- * ```
- */
- get account(): Prisma.AccountDelegate;
+ /**
+ * `prisma.userRole`: Exposes CRUD operations for the **UserRole** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more UserRoles
+ * const userRoles = await prisma.userRole.findMany()
+ * ```
+ */
+ get userRole(): Prisma.UserRoleDelegate;
- /**
- * `prisma.userRole`: Exposes CRUD operations for the **UserRole** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more UserRoles
- * const userRoles = await prisma.userRole.findMany()
- * ```
- */
- get userRole(): Prisma.UserRoleDelegate;
+ /**
+ * `prisma.verification`: Exposes CRUD operations for the **Verification** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more Verifications
+ * const verifications = await prisma.verification.findMany()
+ * ```
+ */
+ get verification(): Prisma.VerificationDelegate;
- /**
- * `prisma.verification`: Exposes CRUD operations for the **Verification** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Verifications
- * const verifications = await prisma.verification.findMany()
- * ```
- */
- get verification(): Prisma.VerificationDelegate;
+ /**
+ * `prisma.proclamation`: Exposes CRUD operations for the **Proclamation** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more Proclamations
+ * const proclamations = await prisma.proclamation.findMany()
+ * ```
+ */
+ get proclamation(): Prisma.ProclamationDelegate;
- /**
- * `prisma.proclamation`: Exposes CRUD operations for the **Proclamation** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more Proclamations
- * const proclamations = await prisma.proclamation.findMany()
- * ```
- */
- get proclamation(): Prisma.ProclamationDelegate;
+ /**
+ * `prisma.userProclamations`: Exposes CRUD operations for the **UserProclamations** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more UserProclamations
+ * const userProclamations = await prisma.userProclamations.findMany()
+ * ```
+ */
+ get userProclamations(): Prisma.UserProclamationsDelegate;
- /**
- * `prisma.userProclamations`: Exposes CRUD operations for the **UserProclamations** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more UserProclamations
- * const userProclamations = await prisma.userProclamations.findMany()
- * ```
- */
- get userProclamations(): Prisma.UserProclamationsDelegate;
+ /**
+ * `prisma.solfeggioFrequency`: Exposes CRUD operations for the **SolfeggioFrequency** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more SolfeggioFrequencies
+ * const solfeggioFrequencies = await prisma.solfeggioFrequency.findMany()
+ * ```
+ */
+ get solfeggioFrequency(): Prisma.SolfeggioFrequencyDelegate;
- /**
- * `prisma.solfeggioFrequency`: Exposes CRUD operations for the **SolfeggioFrequency** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more SolfeggioFrequencies
- * const solfeggioFrequencies = await prisma.solfeggioFrequency.findMany()
- * ```
- */
- get solfeggioFrequency(): Prisma.SolfeggioFrequencyDelegate;
+ /**
+ * `prisma.proclamationCategory`: Exposes CRUD operations for the **ProclamationCategory** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more ProclamationCategories
+ * const proclamationCategories = await prisma.proclamationCategory.findMany()
+ * ```
+ */
+ get proclamationCategory(): Prisma.ProclamationCategoryDelegate;
- /**
- * `prisma.proclamationCategory`: Exposes CRUD operations for the **ProclamationCategory** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more ProclamationCategories
- * const proclamationCategories = await prisma.proclamationCategory.findMany()
- * ```
- */
- get proclamationCategory(): Prisma.ProclamationCategoryDelegate;
+ /**
+ * `prisma.proclamationCategorySubscriptionLevel`: Exposes CRUD operations for the **ProclamationCategorySubscriptionLevel** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more ProclamationCategorySubscriptionLevels
+ * const proclamationCategorySubscriptionLevels = await prisma.proclamationCategorySubscriptionLevel.findMany()
+ * ```
+ */
+ get proclamationCategorySubscriptionLevel(): Prisma.ProclamationCategorySubscriptionLevelDelegate<
+ ExtArgs,
+ { omit: OmitOpts }
+ >;
- /**
- * `prisma.proclamationCategorySubscriptionLevel`: Exposes CRUD operations for the **ProclamationCategorySubscriptionLevel** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more ProclamationCategorySubscriptionLevels
- * const proclamationCategorySubscriptionLevels = await prisma.proclamationCategorySubscriptionLevel.findMany()
- * ```
- */
- get proclamationCategorySubscriptionLevel(): Prisma.ProclamationCategorySubscriptionLevelDelegate;
+ /**
+ * `prisma.licenseKey`: Exposes CRUD operations for the **LicenseKey** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more LicenseKeys
+ * const licenseKeys = await prisma.licenseKey.findMany()
+ * ```
+ */
+ get licenseKey(): Prisma.LicenseKeyDelegate;
- /**
- * `prisma.licenseKey`: Exposes CRUD operations for the **LicenseKey** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more LicenseKeys
- * const licenseKeys = await prisma.licenseKey.findMany()
- * ```
- */
- get licenseKey(): Prisma.LicenseKeyDelegate;
+ /**
+ * `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more ApiKeys
+ * const apiKeys = await prisma.apiKey.findMany()
+ * ```
+ */
+ get apiKey(): Prisma.ApiKeyDelegate;
- /**
- * `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more ApiKeys
- * const apiKeys = await prisma.apiKey.findMany()
- * ```
- */
- get apiKey(): Prisma.ApiKeyDelegate;
-
- /**
- * `prisma.subscriptionLevel`: Exposes CRUD operations for the **SubscriptionLevel** model.
- * Example usage:
- * ```ts
- * // Fetch zero or more SubscriptionLevels
- * const subscriptionLevels = await prisma.subscriptionLevel.findMany()
- * ```
- */
- get subscriptionLevel(): Prisma.SubscriptionLevelDelegate;
+ /**
+ * `prisma.subscriptionLevel`: Exposes CRUD operations for the **SubscriptionLevel** model.
+ * Example usage:
+ * ```ts
+ * // Fetch zero or more SubscriptionLevels
+ * const subscriptionLevels = await prisma.subscriptionLevel.findMany()
+ * ```
+ */
+ get subscriptionLevel(): Prisma.SubscriptionLevelDelegate;
}
export function getPrismaClientClass(): PrismaClientConstructor {
- return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor
+ return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor;
}
diff --git a/src/lib/generated/prisma/internal/prismaNamespace.ts b/src/lib/generated/prisma/internal/prismaNamespace.ts
index d1b5fb6..3bdece3 100644
--- a/src/lib/generated/prisma/internal/prismaNamespace.ts
+++ b/src/lib/generated/prisma/internal/prismaNamespace.ts
@@ -1,8 +1,7 @@
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
-// @ts-nocheck
+// @ts-nocheck
/*
* WARNING: This is an internal file that is subject to change!
*
@@ -15,134 +14,130 @@
* model files in the `model` directory!
*/
-import * as runtime from "@prisma/client/runtime/client"
-import type * as Prisma from "../models.ts"
-import { type PrismaClient } from "./class.ts"
+import * as runtime from '@prisma/client/runtime/client';
+import type * as Prisma from '../models.ts';
+import { type PrismaClient } from './class.ts';
-export type * from '../models.ts'
+export type * from '../models.ts';
-export type DMMF = typeof runtime.DMMF
+export type DMMF = typeof runtime.DMMF;
-export type PrismaPromise = runtime.Types.Public.PrismaPromise
+export type PrismaPromise = runtime.Types.Public.PrismaPromise;
/**
* Prisma Errors
*/
-export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
-export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
+export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
+export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
-export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
-export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
+export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
+export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
-export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
-export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
+export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
+export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
-export const PrismaClientInitializationError = runtime.PrismaClientInitializationError
-export type PrismaClientInitializationError = runtime.PrismaClientInitializationError
+export const PrismaClientInitializationError = runtime.PrismaClientInitializationError;
+export type PrismaClientInitializationError = runtime.PrismaClientInitializationError;
-export const PrismaClientValidationError = runtime.PrismaClientValidationError
-export type PrismaClientValidationError = runtime.PrismaClientValidationError
+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
-
-
+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 const Decimal = runtime.Decimal;
+export type Decimal = runtime.Decimal;
-export type DecimalJsLike = runtime.DecimalJsLike
+export type DecimalJsLike = runtime.DecimalJsLike;
/**
-* Extensions
-*/
-export type Extension = runtime.Types.Extensions.UserArgs
-export const getExtensionContext = runtime.Extensions.getExtensionContext
-export type Args = runtime.Types.Public.Args
-export type Payload = runtime.Types.Public.Payload
-export type Result = runtime.Types.Public.Result
-export type Exact = runtime.Types.Public.Exact
+ * Extensions
+ */
+export type Extension = runtime.Types.Extensions.UserArgs;
+export const getExtensionContext = runtime.Extensions.getExtensionContext;
+export type Args = runtime.Types.Public.Args;
+export type Payload = runtime.Types.Public.Payload;
+export type Result = runtime.Types.Public.Result;
+export type Exact = runtime.Types.Public.Exact;
export type PrismaVersion = {
- client: string
- engine: string
-}
+ client: string;
+ engine: string;
+};
/**
* Prisma Client JS version: 7.8.0
* Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a
*/
export const prismaVersion: PrismaVersion = {
- client: "7.8.0",
- engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a"
-}
+ client: '7.8.0',
+ engine: '3c6e192761c0362d496ed980de936e2f3cebcd3a'
+};
/**
* 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 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.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),
-}
+ 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
+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
+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 AnyNull = runtime.AnyNull;
type SelectAndInclude = {
- select: any
- include: any
-}
+ select: any;
+ include: any;
+};
type SelectAndOmit = {
- select: any
- omit: any
-}
+ select: any;
+ omit: any;
+};
/**
* From T, pick a set of properties whose keys are in the union K
*/
type Prisma__Pick = {
- [P in K]: T[P];
+ [P in K]: T[P];
};
export type Enumerable = T | Array;
@@ -152,7 +147,7 @@ export type Enumerable = T | Array;
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection
*/
export type Subset = {
- [key in keyof T]: key extends keyof U ? T[key] : never;
+ [key in keyof T]: key extends keyof U ? T[key] : never;
};
/**
@@ -161,22 +156,20 @@ export type Subset = {
* Additionally, it validates, if both select and include are present. If the case, it errors.
*/
export type SelectSubset = {
- [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`.'
- : {})
+ [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 = {
- [key in keyof T]: key extends keyof U ? T[key] : never
-} &
- K
+ [key in keyof T]: key extends keyof U ? T[key] : never;
+} & K;
type Without = { [P in Exclude]?: never };
@@ -184,102 +177,102 @@ type Without = { [P in Exclude]?: 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 extends object ?
- U extends object ?
- (Without & U) | (Without & T)
- : U : T
-
+export type XOR = T extends object
+ ? U extends object
+ ? (Without & U) | (Without & T)
+ : U
+ : T;
/**
* Is T a Record?
*/
-type IsObject = T extends Array
-? False
-: T extends Date
-? False
-: T extends Uint8Array
-? False
-: T extends BigInt
-? False
-: T extends object
-? True
-: False
-
+type IsObject =
+ T extends Array
+ ? 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 Array ? U : T
+export type UnEnumerate = T extends Array ? U : T;
/**
* From ts-toolbelt
*/
type __Either = Omit &
- {
- // Merge all but K
- [P in K]: Prisma__Pick // With K possibilities
- }[K]
+ {
+ // Merge all but K
+ [P in K]: Prisma__Pick; // With K possibilities
+ }[K];
-type EitherStrict = Strict<__Either>
+type EitherStrict = Strict<__Either>;
-type EitherLoose = ComputeRaw<__Either>
+type EitherLoose = ComputeRaw<__Either>;
-type _Either<
- O extends object,
- K extends Key,
- strict extends Boolean
-> = {
- 1: EitherStrict
- 0: EitherLoose
-}[strict]
+type _Either = {
+ 1: EitherStrict;
+ 0: EitherLoose;
+}[strict];
-export type Either<
- O extends object,
- K extends Key,
- strict extends Boolean = 1
-> = O extends unknown ? _Either : never
+export type Either = O extends unknown
+ ? _Either
+ : never;
-export type Union = any
+export type Union = any;
export type PatchUndefined = {
- [K in keyof O]: O[K] extends undefined ? At : O[K]
-} & {}
-
-/** Helper Types for "Merge" **/
-export type IntersectOf = (
- U extends unknown ? (k: U) => void : never
-) extends (k: infer I) => void
- ? I
- : never
-
-export type Overwrite = {
- [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
+ [K in keyof O]: O[K] extends undefined ? At : O[K];
} & {};
-type _Merge = IntersectOf;
-}>>;
+/** Helper Types for "Merge" **/
+export type IntersectOf = (U extends unknown ? (k: U) => void : never) extends (
+ k: infer I
+) => void
+ ? I
+ : never;
+
+export type Overwrite = {
+ [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
+} & {};
+
+type _Merge = IntersectOf<
+ Overwrite<
+ U,
+ {
+ [K in keyof U]-?: At;
+ }
+ >
+>;
type Key = string | number | symbol;
type AtStrict = O[K & keyof O];
type AtLoose = O extends unknown ? AtStrict : never;
export type At = {
- 1: AtStrict;
- 0: AtLoose;
+ 1: AtStrict;
+ 0: AtLoose;
}[strict];
-export type ComputeRaw = A extends Function ? A : {
- [K in keyof A]: A[K];
-} & {};
+export type ComputeRaw = A extends Function
+ ? A
+ : {
+ [K in keyof A]: A[K];
+ } & {};
export type OptionalFlat = {
- [K in keyof O]?: O[K];
+ [K in keyof O]?: O[K];
} & {};
type _Record = {
- [P in K]: T;
+ [P in K]: T;
};
// cause typescript not to expand types and preserve names
@@ -287,1740 +280,1751 @@ type NoExpand = T extends unknown ? T : never;
// this type assumes the passed object is entirely optional
export type AtLeast = 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>;
+ 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 extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never;
+type _Strict = U extends unknown
+ ? U & OptionalFlat<_Record, keyof U>, never>>
+ : never;
export type Strict = ComputeRaw<_Strict>;
/** End Helper Types for "Merge" **/
export type Merge = ComputeRaw<_Merge>>;
-export type Boolean = True | False
+export type Boolean = True | False;
-export type True = 1
+export type True = 1;
-export type False = 0
+export type False = 0;
export type Not = {
- 0: 1
- 1: 0
-}[B]
+ 0: 1;
+ 1: 0;
+}[B];
export type Extends = [A1] extends [never]
- ? 0 // anything `never` is false
- : A1 extends A2
- ? 1
- : 0
+ ? 0 // anything `never` is false
+ : A1 extends A2
+ ? 1
+ : 0;
-export type Has = Not<
- Extends, U1>
->
+export type Has = Not, U1>>;
export type Or = {
- 0: {
- 0: 0
- 1: 1
- }
- 1: {
- 0: 1
- 1: 1
- }
-}[B1][B2]
+ 0: {
+ 0: 0;
+ 1: 1;
+ };
+ 1: {
+ 0: 1;
+ 1: 1;
+ };
+}[B1][B2];
-export type Keys = U extends unknown ? keyof U : never
+export type Keys = U extends unknown ? keyof U : never;
-export type GetScalarType = O extends object ? {
- [P in keyof T]: P extends keyof O
- ? O[P]
- : never
-} : never
+export type GetScalarType = O extends object
+ ? {
+ [P in keyof T]: P extends keyof O ? O[P] : never;
+ }
+ : never;
-type FieldPaths<
- T,
- U = Omit
-> = IsObject extends True ? U : T
+type FieldPaths> =
+ IsObject extends True ? U : T;
export type GetHavingFields = {
- [K in keyof T]: Or<
- Or, 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 extends object ? Merge> : never>
- : never
- : {} extends FieldPaths
- ? never
- : K
-}[keyof T]
+ [K in keyof T]: Or, 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 extends object ? Merge> : never>
+ : never
+ : {} extends FieldPaths
+ ? never
+ : K;
+}[keyof T];
/**
* Convert tuple to union
*/
-type _TupleToUnion = T extends (infer E)[] ? E : never
-type TupleToUnion = _TupleToUnion
-export type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T
+type _TupleToUnion = T extends (infer E)[] ? E : never;
+type TupleToUnion = _TupleToUnion;
+export type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T;
/**
* Like `Pick`, but additionally can also accept an array of keys
*/
-export type PickEnumerable | keyof T> = Prisma__Pick>
+export type PickEnumerable | keyof T> = Prisma__Pick<
+ T,
+ MaybeTupleToUnion
+>;
/**
* Exclude all keys with underscores
*/
-export type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T
+export type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T;
+export type FieldRef = runtime.FieldRef;
-export type FieldRef = runtime.FieldRef
-
-type FieldRefInputType = Model extends never ? never : FieldRef
-
+type FieldRefInputType = Model extends never ? never : FieldRef;
export const ModelName = {
- User: 'User',
- Profile: 'Profile',
- Address: 'Address',
- Session: 'Session',
- Account: 'Account',
- UserRole: 'UserRole',
- Verification: 'Verification',
- Proclamation: 'Proclamation',
- UserProclamations: 'UserProclamations',
- SolfeggioFrequency: 'SolfeggioFrequency',
- ProclamationCategory: 'ProclamationCategory',
- ProclamationCategorySubscriptionLevel: 'ProclamationCategorySubscriptionLevel',
- LicenseKey: 'LicenseKey',
- ApiKey: 'ApiKey',
- SubscriptionLevel: 'SubscriptionLevel'
-} as const
+ User: 'User',
+ Profile: 'Profile',
+ Address: 'Address',
+ Session: 'Session',
+ Account: 'Account',
+ UserRole: 'UserRole',
+ Verification: 'Verification',
+ Proclamation: 'Proclamation',
+ UserProclamations: 'UserProclamations',
+ SolfeggioFrequency: 'SolfeggioFrequency',
+ ProclamationCategory: 'ProclamationCategory',
+ ProclamationCategorySubscriptionLevel: 'ProclamationCategorySubscriptionLevel',
+ LicenseKey: 'LicenseKey',
+ ApiKey: 'ApiKey',
+ SubscriptionLevel: 'SubscriptionLevel'
+} as const;
-export type ModelName = (typeof ModelName)[keyof typeof ModelName]
+export type ModelName = (typeof ModelName)[keyof typeof ModelName];
-
-
-export interface TypeMapCb extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record> {
- returns: TypeMap
+export interface TypeMapCb extends runtime.Types.Utils.Fn<
+ { extArgs: runtime.Types.Extensions.InternalArgs },
+ runtime.Types.Utils.Record
+> {
+ returns: TypeMap;
}
-export type TypeMap = {
- globalOmitOptions: {
- omit: GlobalOmitOptions
- }
- meta: {
- modelProps: "user" | "profile" | "address" | "session" | "account" | "userRole" | "verification" | "proclamation" | "userProclamations" | "solfeggioFrequency" | "proclamationCategory" | "proclamationCategorySubscriptionLevel" | "licenseKey" | "apiKey" | "subscriptionLevel"
- txIsolationLevel: TransactionIsolationLevel
- }
- model: {
- User: {
- payload: Prisma.$UserPayload
- fields: Prisma.UserFieldRefs
- operations: {
- findUnique: {
- args: Prisma.UserFindUniqueArgs
- result: runtime.Types.Utils.PayloadToResult | null
- }
- findUniqueOrThrow: {
- args: Prisma.UserFindUniqueOrThrowArgs
- result: runtime.Types.Utils.PayloadToResult
- }
- findFirst: {
- args: Prisma.UserFindFirstArgs
- result: runtime.Types.Utils.PayloadToResult | null
- }
- findFirstOrThrow: {
- args: Prisma.UserFindFirstOrThrowArgs
- result: runtime.Types.Utils.PayloadToResult
- }
- findMany: {
- args: Prisma.UserFindManyArgs
- result: runtime.Types.Utils.PayloadToResult[]
- }
- create: {
- args: Prisma.UserCreateArgs
- result: runtime.Types.Utils.PayloadToResult
- }
- createMany: {
- args: Prisma.UserCreateManyArgs
- result: BatchPayload
- }
- createManyAndReturn: {
- args: Prisma.UserCreateManyAndReturnArgs
- result: runtime.Types.Utils.PayloadToResult