@actuate-media/cms-core 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/LICENSE +21 -21
  2. package/dist/__tests__/api/api-key-auth.test.d.ts +2 -0
  3. package/dist/__tests__/api/api-key-auth.test.d.ts.map +1 -0
  4. package/dist/__tests__/api/api-key-auth.test.js +217 -0
  5. package/dist/__tests__/api/api-key-auth.test.js.map +1 -0
  6. package/dist/__tests__/security/api-key-enhanced.test.d.ts +2 -0
  7. package/dist/__tests__/security/api-key-enhanced.test.d.ts.map +1 -0
  8. package/dist/__tests__/security/api-key-enhanced.test.js +110 -0
  9. package/dist/__tests__/security/api-key-enhanced.test.js.map +1 -0
  10. package/dist/api/handler-factory.d.ts.map +1 -1
  11. package/dist/api/handler-factory.js +19 -2
  12. package/dist/api/handler-factory.js.map +1 -1
  13. package/dist/api/handlers.d.ts.map +1 -1
  14. package/dist/api/handlers.js +427 -30
  15. package/dist/api/handlers.js.map +1 -1
  16. package/dist/security/api-key-enhanced.d.ts +48 -5
  17. package/dist/security/api-key-enhanced.d.ts.map +1 -1
  18. package/dist/security/api-key-enhanced.js +60 -9
  19. package/dist/security/api-key-enhanced.js.map +1 -1
  20. package/generated/browser.ts +109 -0
  21. package/generated/client.ts +133 -0
  22. package/generated/commonInputTypes.ts +709 -0
  23. package/generated/enums.ts +125 -0
  24. package/generated/internal/class.ts +376 -0
  25. package/generated/internal/prismaNamespace.ts +2617 -0
  26. package/generated/internal/prismaNamespaceBrowser.ts +611 -0
  27. package/generated/models/ApiKey.ts +1550 -0
  28. package/generated/models/AuditLog.ts +1206 -0
  29. package/generated/models/BackupRecord.ts +1250 -0
  30. package/generated/models/ContentLock.ts +1472 -0
  31. package/generated/models/ContentTemplate.ts +1416 -0
  32. package/generated/models/Document.ts +3005 -0
  33. package/generated/models/Folder.ts +1904 -0
  34. package/generated/models/FormSubmission.ts +1200 -0
  35. package/generated/models/InAppNotification.ts +1457 -0
  36. package/generated/models/Media.ts +2340 -0
  37. package/generated/models/MediaUsage.ts +1472 -0
  38. package/generated/models/OAuthAccount.ts +1463 -0
  39. package/generated/models/Redirect.ts +1284 -0
  40. package/generated/models/Session.ts +1492 -0
  41. package/generated/models/Site.ts +1206 -0
  42. package/generated/models/User.ts +3513 -0
  43. package/generated/models/Version.ts +1511 -0
  44. package/generated/models/WorkflowState.ts +1514 -0
  45. package/generated/models.ts +29 -0
  46. package/package.json +1 -1
  47. package/prisma/cms-schema.prisma +306 -306
  48. package/prisma/migrations/0001_init/migration.sql +384 -384
  49. package/prisma/migrations/0002_folders/migration.sql +39 -39
  50. package/prisma/migrations/0003_search_and_webhooks/migration.sql +50 -50
  51. package/prisma/migrations/0004_script_tags/migration.sql +21 -21
  52. package/prisma/migrations/0005_password_reset_tokens/migration.sql +20 -20
  53. package/prisma/migrations/0006_page_builder/migration.sql +38 -38
  54. package/prisma/migrations/migration_lock.toml +3 -3
  55. package/prisma/schema.prisma +549 -549
@@ -0,0 +1,2617 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * WARNING: This is an internal file that is subject to change!
8
+ *
9
+ * 🛑 Under no circumstances should you import this file directly! 🛑
10
+ *
11
+ * All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file.
12
+ * While this enables partial backward compatibility, it is not part of the stable public API.
13
+ *
14
+ * If you are looking for your Models, Enums, and Input Types, please import them from the respective
15
+ * model files in the `model` directory!
16
+ */
17
+
18
+ import * as runtime from "@prisma/client/runtime/client"
19
+ import type * as Prisma from "../models"
20
+ import { type PrismaClient } from "./class"
21
+
22
+ export type * from '../models'
23
+
24
+ export type DMMF = typeof runtime.DMMF
25
+
26
+ export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>
27
+
28
+ /**
29
+ * Prisma Errors
30
+ */
31
+
32
+ export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
33
+ export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
34
+
35
+ export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
36
+ export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
37
+
38
+ export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
39
+ export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
40
+
41
+ export const PrismaClientInitializationError = runtime.PrismaClientInitializationError
42
+ export type PrismaClientInitializationError = runtime.PrismaClientInitializationError
43
+
44
+ export const PrismaClientValidationError = runtime.PrismaClientValidationError
45
+ export type PrismaClientValidationError = runtime.PrismaClientValidationError
46
+
47
+ /**
48
+ * Re-export of sql-template-tag
49
+ */
50
+ export const sql = runtime.sqltag
51
+ export const empty = runtime.empty
52
+ export const join = runtime.join
53
+ export const raw = runtime.raw
54
+ export const Sql = runtime.Sql
55
+ export type Sql = runtime.Sql
56
+
57
+
58
+
59
+ /**
60
+ * Decimal.js
61
+ */
62
+ export const Decimal = runtime.Decimal
63
+ export type Decimal = runtime.Decimal
64
+
65
+ export type DecimalJsLike = runtime.DecimalJsLike
66
+
67
+ /**
68
+ * Extensions
69
+ */
70
+ export type Extension = runtime.Types.Extensions.UserArgs
71
+ export const getExtensionContext = runtime.Extensions.getExtensionContext
72
+ export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F>
73
+ export type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F>
74
+ export type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F>
75
+ export type Exact<A, W> = runtime.Types.Public.Exact<A, W>
76
+
77
+ export type PrismaVersion = {
78
+ client: string
79
+ engine: string
80
+ }
81
+
82
+ /**
83
+ * Prisma Client JS version: 7.5.0
84
+ * Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e
85
+ */
86
+ export const prismaVersion: PrismaVersion = {
87
+ client: "7.5.0",
88
+ engine: "280c870be64f457428992c43c1f6d557fab6e29e"
89
+ }
90
+
91
+ /**
92
+ * Utility Types
93
+ */
94
+
95
+ export type Bytes = runtime.Bytes
96
+ export type JsonObject = runtime.JsonObject
97
+ export type JsonArray = runtime.JsonArray
98
+ export type JsonValue = runtime.JsonValue
99
+ export type InputJsonObject = runtime.InputJsonObject
100
+ export type InputJsonArray = runtime.InputJsonArray
101
+ export type InputJsonValue = runtime.InputJsonValue
102
+
103
+
104
+ export const NullTypes = {
105
+ DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
106
+ JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
107
+ AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
108
+ }
109
+ /**
110
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
111
+ *
112
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
113
+ */
114
+ export const DbNull = runtime.DbNull
115
+
116
+ /**
117
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
118
+ *
119
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
120
+ */
121
+ export const JsonNull = runtime.JsonNull
122
+
123
+ /**
124
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
125
+ *
126
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
127
+ */
128
+ export const AnyNull = runtime.AnyNull
129
+
130
+
131
+ type SelectAndInclude = {
132
+ select: any
133
+ include: any
134
+ }
135
+
136
+ type SelectAndOmit = {
137
+ select: any
138
+ omit: any
139
+ }
140
+
141
+ /**
142
+ * From T, pick a set of properties whose keys are in the union K
143
+ */
144
+ type Prisma__Pick<T, K extends keyof T> = {
145
+ [P in K]: T[P];
146
+ };
147
+
148
+ export type Enumerable<T> = T | Array<T>;
149
+
150
+ /**
151
+ * Subset
152
+ * @desc From `T` pick properties that exist in `U`. Simple version of Intersection
153
+ */
154
+ export type Subset<T, U> = {
155
+ [key in keyof T]: key extends keyof U ? T[key] : never;
156
+ };
157
+
158
+ /**
159
+ * SelectSubset
160
+ * @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
161
+ * Additionally, it validates, if both select and include are present. If the case, it errors.
162
+ */
163
+ export type SelectSubset<T, U> = {
164
+ [key in keyof T]: key extends keyof U ? T[key] : never
165
+ } &
166
+ (T extends SelectAndInclude
167
+ ? 'Please either choose `select` or `include`.'
168
+ : T extends SelectAndOmit
169
+ ? 'Please either choose `select` or `omit`.'
170
+ : {})
171
+
172
+ /**
173
+ * Subset + Intersection
174
+ * @desc From `T` pick properties that exist in `U` and intersect `K`
175
+ */
176
+ export type SubsetIntersection<T, U, K> = {
177
+ [key in keyof T]: key extends keyof U ? T[key] : never
178
+ } &
179
+ K
180
+
181
+ type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
182
+
183
+ /**
184
+ * XOR is needed to have a real mutually exclusive union type
185
+ * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
186
+ */
187
+ export type XOR<T, U> =
188
+ T extends object ?
189
+ U extends object ?
190
+ (Without<T, U> & U) | (Without<U, T> & T)
191
+ : U : T
192
+
193
+
194
+ /**
195
+ * Is T a Record?
196
+ */
197
+ type IsObject<T extends any> = T extends Array<any>
198
+ ? False
199
+ : T extends Date
200
+ ? False
201
+ : T extends Uint8Array
202
+ ? False
203
+ : T extends BigInt
204
+ ? False
205
+ : T extends object
206
+ ? True
207
+ : False
208
+
209
+
210
+ /**
211
+ * If it's T[], return T
212
+ */
213
+ export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T
214
+
215
+ /**
216
+ * From ts-toolbelt
217
+ */
218
+
219
+ type __Either<O extends object, K extends Key> = Omit<O, K> &
220
+ {
221
+ // Merge all but K
222
+ [P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
223
+ }[K]
224
+
225
+ type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
226
+
227
+ type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
228
+
229
+ type _Either<
230
+ O extends object,
231
+ K extends Key,
232
+ strict extends Boolean
233
+ > = {
234
+ 1: EitherStrict<O, K>
235
+ 0: EitherLoose<O, K>
236
+ }[strict]
237
+
238
+ export type Either<
239
+ O extends object,
240
+ K extends Key,
241
+ strict extends Boolean = 1
242
+ > = O extends unknown ? _Either<O, K, strict> : never
243
+
244
+ export type Union = any
245
+
246
+ export type PatchUndefined<O extends object, O1 extends object> = {
247
+ [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
248
+ } & {}
249
+
250
+ /** Helper Types for "Merge" **/
251
+ export type IntersectOf<U extends Union> = (
252
+ U extends unknown ? (k: U) => void : never
253
+ ) extends (k: infer I) => void
254
+ ? I
255
+ : never
256
+
257
+ export type Overwrite<O extends object, O1 extends object> = {
258
+ [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
259
+ } & {};
260
+
261
+ type _Merge<U extends object> = IntersectOf<Overwrite<U, {
262
+ [K in keyof U]-?: At<U, K>;
263
+ }>>;
264
+
265
+ type Key = string | number | symbol;
266
+ type AtStrict<O extends object, K extends Key> = O[K & keyof O];
267
+ type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
268
+ export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
269
+ 1: AtStrict<O, K>;
270
+ 0: AtLoose<O, K>;
271
+ }[strict];
272
+
273
+ export type ComputeRaw<A extends any> = A extends Function ? A : {
274
+ [K in keyof A]: A[K];
275
+ } & {};
276
+
277
+ export type OptionalFlat<O> = {
278
+ [K in keyof O]?: O[K];
279
+ } & {};
280
+
281
+ type _Record<K extends keyof any, T> = {
282
+ [P in K]: T;
283
+ };
284
+
285
+ // cause typescript not to expand types and preserve names
286
+ type NoExpand<T> = T extends unknown ? T : never;
287
+
288
+ // this type assumes the passed object is entirely optional
289
+ export type AtLeast<O extends object, K extends string> = NoExpand<
290
+ O extends unknown
291
+ ? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
292
+ | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O
293
+ : never>;
294
+
295
+ type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
296
+
297
+ export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
298
+ /** End Helper Types for "Merge" **/
299
+
300
+ export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
301
+
302
+ export type Boolean = True | False
303
+
304
+ export type True = 1
305
+
306
+ export type False = 0
307
+
308
+ export type Not<B extends Boolean> = {
309
+ 0: 1
310
+ 1: 0
311
+ }[B]
312
+
313
+ export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
314
+ ? 0 // anything `never` is false
315
+ : A1 extends A2
316
+ ? 1
317
+ : 0
318
+
319
+ export type Has<U extends Union, U1 extends Union> = Not<
320
+ Extends<Exclude<U1, U>, U1>
321
+ >
322
+
323
+ export type Or<B1 extends Boolean, B2 extends Boolean> = {
324
+ 0: {
325
+ 0: 0
326
+ 1: 1
327
+ }
328
+ 1: {
329
+ 0: 1
330
+ 1: 1
331
+ }
332
+ }[B1][B2]
333
+
334
+ export type Keys<U extends Union> = U extends unknown ? keyof U : never
335
+
336
+ export type GetScalarType<T, O> = O extends object ? {
337
+ [P in keyof T]: P extends keyof O
338
+ ? O[P]
339
+ : never
340
+ } : never
341
+
342
+ type FieldPaths<
343
+ T,
344
+ U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
345
+ > = IsObject<T> extends True ? U : T
346
+
347
+ export type GetHavingFields<T> = {
348
+ [K in keyof T]: Or<
349
+ Or<Extends<'OR', K>, Extends<'AND', K>>,
350
+ Extends<'NOT', K>
351
+ > extends True
352
+ ? // infer is only needed to not hit TS limit
353
+ // based on the brilliant idea of Pierre-Antoine Mills
354
+ // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
355
+ T[K] extends infer TK
356
+ ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
357
+ : never
358
+ : {} extends FieldPaths<T[K]>
359
+ ? never
360
+ : K
361
+ }[keyof T]
362
+
363
+ /**
364
+ * Convert tuple to union
365
+ */
366
+ type _TupleToUnion<T> = T extends (infer E)[] ? E : never
367
+ type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
368
+ export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
369
+
370
+ /**
371
+ * Like `Pick`, but additionally can also accept an array of keys
372
+ */
373
+ export type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
374
+
375
+ /**
376
+ * Exclude all keys with underscores
377
+ */
378
+ export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
379
+
380
+
381
+ export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
382
+
383
+ type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
384
+
385
+
386
+ export const ModelName = {
387
+ User: 'User',
388
+ OAuthAccount: 'OAuthAccount',
389
+ Session: 'Session',
390
+ ApiKey: 'ApiKey',
391
+ AuditLog: 'AuditLog',
392
+ Folder: 'Folder',
393
+ Document: 'Document',
394
+ Version: 'Version',
395
+ Media: 'Media',
396
+ MediaUsage: 'MediaUsage',
397
+ ContentLock: 'ContentLock',
398
+ InAppNotification: 'InAppNotification',
399
+ ContentTemplate: 'ContentTemplate',
400
+ Site: 'Site',
401
+ WorkflowState: 'WorkflowState',
402
+ Redirect: 'Redirect',
403
+ FormSubmission: 'FormSubmission',
404
+ BackupRecord: 'BackupRecord'
405
+ } as const
406
+
407
+ export type ModelName = (typeof ModelName)[keyof typeof ModelName]
408
+
409
+
410
+
411
+ export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record<string, any>> {
412
+ returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>
413
+ }
414
+
415
+ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
416
+ globalOmitOptions: {
417
+ omit: GlobalOmitOptions
418
+ }
419
+ meta: {
420
+ modelProps: "user" | "oAuthAccount" | "session" | "apiKey" | "auditLog" | "folder" | "document" | "version" | "media" | "mediaUsage" | "contentLock" | "inAppNotification" | "contentTemplate" | "site" | "workflowState" | "redirect" | "formSubmission" | "backupRecord"
421
+ txIsolationLevel: TransactionIsolationLevel
422
+ }
423
+ model: {
424
+ User: {
425
+ payload: Prisma.$UserPayload<ExtArgs>
426
+ fields: Prisma.UserFieldRefs
427
+ operations: {
428
+ findUnique: {
429
+ args: Prisma.UserFindUniqueArgs<ExtArgs>
430
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null
431
+ }
432
+ findUniqueOrThrow: {
433
+ args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs>
434
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
435
+ }
436
+ findFirst: {
437
+ args: Prisma.UserFindFirstArgs<ExtArgs>
438
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload> | null
439
+ }
440
+ findFirstOrThrow: {
441
+ args: Prisma.UserFindFirstOrThrowArgs<ExtArgs>
442
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
443
+ }
444
+ findMany: {
445
+ args: Prisma.UserFindManyArgs<ExtArgs>
446
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]
447
+ }
448
+ create: {
449
+ args: Prisma.UserCreateArgs<ExtArgs>
450
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
451
+ }
452
+ createMany: {
453
+ args: Prisma.UserCreateManyArgs<ExtArgs>
454
+ result: BatchPayload
455
+ }
456
+ createManyAndReturn: {
457
+ args: Prisma.UserCreateManyAndReturnArgs<ExtArgs>
458
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]
459
+ }
460
+ delete: {
461
+ args: Prisma.UserDeleteArgs<ExtArgs>
462
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
463
+ }
464
+ update: {
465
+ args: Prisma.UserUpdateArgs<ExtArgs>
466
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
467
+ }
468
+ deleteMany: {
469
+ args: Prisma.UserDeleteManyArgs<ExtArgs>
470
+ result: BatchPayload
471
+ }
472
+ updateMany: {
473
+ args: Prisma.UserUpdateManyArgs<ExtArgs>
474
+ result: BatchPayload
475
+ }
476
+ updateManyAndReturn: {
477
+ args: Prisma.UserUpdateManyAndReturnArgs<ExtArgs>
478
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>[]
479
+ }
480
+ upsert: {
481
+ args: Prisma.UserUpsertArgs<ExtArgs>
482
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UserPayload>
483
+ }
484
+ aggregate: {
485
+ args: Prisma.UserAggregateArgs<ExtArgs>
486
+ result: runtime.Types.Utils.Optional<Prisma.AggregateUser>
487
+ }
488
+ groupBy: {
489
+ args: Prisma.UserGroupByArgs<ExtArgs>
490
+ result: runtime.Types.Utils.Optional<Prisma.UserGroupByOutputType>[]
491
+ }
492
+ count: {
493
+ args: Prisma.UserCountArgs<ExtArgs>
494
+ result: runtime.Types.Utils.Optional<Prisma.UserCountAggregateOutputType> | number
495
+ }
496
+ }
497
+ }
498
+ OAuthAccount: {
499
+ payload: Prisma.$OAuthAccountPayload<ExtArgs>
500
+ fields: Prisma.OAuthAccountFieldRefs
501
+ operations: {
502
+ findUnique: {
503
+ args: Prisma.OAuthAccountFindUniqueArgs<ExtArgs>
504
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload> | null
505
+ }
506
+ findUniqueOrThrow: {
507
+ args: Prisma.OAuthAccountFindUniqueOrThrowArgs<ExtArgs>
508
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload>
509
+ }
510
+ findFirst: {
511
+ args: Prisma.OAuthAccountFindFirstArgs<ExtArgs>
512
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload> | null
513
+ }
514
+ findFirstOrThrow: {
515
+ args: Prisma.OAuthAccountFindFirstOrThrowArgs<ExtArgs>
516
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload>
517
+ }
518
+ findMany: {
519
+ args: Prisma.OAuthAccountFindManyArgs<ExtArgs>
520
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload>[]
521
+ }
522
+ create: {
523
+ args: Prisma.OAuthAccountCreateArgs<ExtArgs>
524
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload>
525
+ }
526
+ createMany: {
527
+ args: Prisma.OAuthAccountCreateManyArgs<ExtArgs>
528
+ result: BatchPayload
529
+ }
530
+ createManyAndReturn: {
531
+ args: Prisma.OAuthAccountCreateManyAndReturnArgs<ExtArgs>
532
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload>[]
533
+ }
534
+ delete: {
535
+ args: Prisma.OAuthAccountDeleteArgs<ExtArgs>
536
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload>
537
+ }
538
+ update: {
539
+ args: Prisma.OAuthAccountUpdateArgs<ExtArgs>
540
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload>
541
+ }
542
+ deleteMany: {
543
+ args: Prisma.OAuthAccountDeleteManyArgs<ExtArgs>
544
+ result: BatchPayload
545
+ }
546
+ updateMany: {
547
+ args: Prisma.OAuthAccountUpdateManyArgs<ExtArgs>
548
+ result: BatchPayload
549
+ }
550
+ updateManyAndReturn: {
551
+ args: Prisma.OAuthAccountUpdateManyAndReturnArgs<ExtArgs>
552
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload>[]
553
+ }
554
+ upsert: {
555
+ args: Prisma.OAuthAccountUpsertArgs<ExtArgs>
556
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$OAuthAccountPayload>
557
+ }
558
+ aggregate: {
559
+ args: Prisma.OAuthAccountAggregateArgs<ExtArgs>
560
+ result: runtime.Types.Utils.Optional<Prisma.AggregateOAuthAccount>
561
+ }
562
+ groupBy: {
563
+ args: Prisma.OAuthAccountGroupByArgs<ExtArgs>
564
+ result: runtime.Types.Utils.Optional<Prisma.OAuthAccountGroupByOutputType>[]
565
+ }
566
+ count: {
567
+ args: Prisma.OAuthAccountCountArgs<ExtArgs>
568
+ result: runtime.Types.Utils.Optional<Prisma.OAuthAccountCountAggregateOutputType> | number
569
+ }
570
+ }
571
+ }
572
+ Session: {
573
+ payload: Prisma.$SessionPayload<ExtArgs>
574
+ fields: Prisma.SessionFieldRefs
575
+ operations: {
576
+ findUnique: {
577
+ args: Prisma.SessionFindUniqueArgs<ExtArgs>
578
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload> | null
579
+ }
580
+ findUniqueOrThrow: {
581
+ args: Prisma.SessionFindUniqueOrThrowArgs<ExtArgs>
582
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload>
583
+ }
584
+ findFirst: {
585
+ args: Prisma.SessionFindFirstArgs<ExtArgs>
586
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload> | null
587
+ }
588
+ findFirstOrThrow: {
589
+ args: Prisma.SessionFindFirstOrThrowArgs<ExtArgs>
590
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload>
591
+ }
592
+ findMany: {
593
+ args: Prisma.SessionFindManyArgs<ExtArgs>
594
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload>[]
595
+ }
596
+ create: {
597
+ args: Prisma.SessionCreateArgs<ExtArgs>
598
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload>
599
+ }
600
+ createMany: {
601
+ args: Prisma.SessionCreateManyArgs<ExtArgs>
602
+ result: BatchPayload
603
+ }
604
+ createManyAndReturn: {
605
+ args: Prisma.SessionCreateManyAndReturnArgs<ExtArgs>
606
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload>[]
607
+ }
608
+ delete: {
609
+ args: Prisma.SessionDeleteArgs<ExtArgs>
610
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload>
611
+ }
612
+ update: {
613
+ args: Prisma.SessionUpdateArgs<ExtArgs>
614
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload>
615
+ }
616
+ deleteMany: {
617
+ args: Prisma.SessionDeleteManyArgs<ExtArgs>
618
+ result: BatchPayload
619
+ }
620
+ updateMany: {
621
+ args: Prisma.SessionUpdateManyArgs<ExtArgs>
622
+ result: BatchPayload
623
+ }
624
+ updateManyAndReturn: {
625
+ args: Prisma.SessionUpdateManyAndReturnArgs<ExtArgs>
626
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload>[]
627
+ }
628
+ upsert: {
629
+ args: Prisma.SessionUpsertArgs<ExtArgs>
630
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionPayload>
631
+ }
632
+ aggregate: {
633
+ args: Prisma.SessionAggregateArgs<ExtArgs>
634
+ result: runtime.Types.Utils.Optional<Prisma.AggregateSession>
635
+ }
636
+ groupBy: {
637
+ args: Prisma.SessionGroupByArgs<ExtArgs>
638
+ result: runtime.Types.Utils.Optional<Prisma.SessionGroupByOutputType>[]
639
+ }
640
+ count: {
641
+ args: Prisma.SessionCountArgs<ExtArgs>
642
+ result: runtime.Types.Utils.Optional<Prisma.SessionCountAggregateOutputType> | number
643
+ }
644
+ }
645
+ }
646
+ ApiKey: {
647
+ payload: Prisma.$ApiKeyPayload<ExtArgs>
648
+ fields: Prisma.ApiKeyFieldRefs
649
+ operations: {
650
+ findUnique: {
651
+ args: Prisma.ApiKeyFindUniqueArgs<ExtArgs>
652
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload> | null
653
+ }
654
+ findUniqueOrThrow: {
655
+ args: Prisma.ApiKeyFindUniqueOrThrowArgs<ExtArgs>
656
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload>
657
+ }
658
+ findFirst: {
659
+ args: Prisma.ApiKeyFindFirstArgs<ExtArgs>
660
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload> | null
661
+ }
662
+ findFirstOrThrow: {
663
+ args: Prisma.ApiKeyFindFirstOrThrowArgs<ExtArgs>
664
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload>
665
+ }
666
+ findMany: {
667
+ args: Prisma.ApiKeyFindManyArgs<ExtArgs>
668
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload>[]
669
+ }
670
+ create: {
671
+ args: Prisma.ApiKeyCreateArgs<ExtArgs>
672
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload>
673
+ }
674
+ createMany: {
675
+ args: Prisma.ApiKeyCreateManyArgs<ExtArgs>
676
+ result: BatchPayload
677
+ }
678
+ createManyAndReturn: {
679
+ args: Prisma.ApiKeyCreateManyAndReturnArgs<ExtArgs>
680
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload>[]
681
+ }
682
+ delete: {
683
+ args: Prisma.ApiKeyDeleteArgs<ExtArgs>
684
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload>
685
+ }
686
+ update: {
687
+ args: Prisma.ApiKeyUpdateArgs<ExtArgs>
688
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload>
689
+ }
690
+ deleteMany: {
691
+ args: Prisma.ApiKeyDeleteManyArgs<ExtArgs>
692
+ result: BatchPayload
693
+ }
694
+ updateMany: {
695
+ args: Prisma.ApiKeyUpdateManyArgs<ExtArgs>
696
+ result: BatchPayload
697
+ }
698
+ updateManyAndReturn: {
699
+ args: Prisma.ApiKeyUpdateManyAndReturnArgs<ExtArgs>
700
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload>[]
701
+ }
702
+ upsert: {
703
+ args: Prisma.ApiKeyUpsertArgs<ExtArgs>
704
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ApiKeyPayload>
705
+ }
706
+ aggregate: {
707
+ args: Prisma.ApiKeyAggregateArgs<ExtArgs>
708
+ result: runtime.Types.Utils.Optional<Prisma.AggregateApiKey>
709
+ }
710
+ groupBy: {
711
+ args: Prisma.ApiKeyGroupByArgs<ExtArgs>
712
+ result: runtime.Types.Utils.Optional<Prisma.ApiKeyGroupByOutputType>[]
713
+ }
714
+ count: {
715
+ args: Prisma.ApiKeyCountArgs<ExtArgs>
716
+ result: runtime.Types.Utils.Optional<Prisma.ApiKeyCountAggregateOutputType> | number
717
+ }
718
+ }
719
+ }
720
+ AuditLog: {
721
+ payload: Prisma.$AuditLogPayload<ExtArgs>
722
+ fields: Prisma.AuditLogFieldRefs
723
+ operations: {
724
+ findUnique: {
725
+ args: Prisma.AuditLogFindUniqueArgs<ExtArgs>
726
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload> | null
727
+ }
728
+ findUniqueOrThrow: {
729
+ args: Prisma.AuditLogFindUniqueOrThrowArgs<ExtArgs>
730
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload>
731
+ }
732
+ findFirst: {
733
+ args: Prisma.AuditLogFindFirstArgs<ExtArgs>
734
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload> | null
735
+ }
736
+ findFirstOrThrow: {
737
+ args: Prisma.AuditLogFindFirstOrThrowArgs<ExtArgs>
738
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload>
739
+ }
740
+ findMany: {
741
+ args: Prisma.AuditLogFindManyArgs<ExtArgs>
742
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload>[]
743
+ }
744
+ create: {
745
+ args: Prisma.AuditLogCreateArgs<ExtArgs>
746
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload>
747
+ }
748
+ createMany: {
749
+ args: Prisma.AuditLogCreateManyArgs<ExtArgs>
750
+ result: BatchPayload
751
+ }
752
+ createManyAndReturn: {
753
+ args: Prisma.AuditLogCreateManyAndReturnArgs<ExtArgs>
754
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload>[]
755
+ }
756
+ delete: {
757
+ args: Prisma.AuditLogDeleteArgs<ExtArgs>
758
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload>
759
+ }
760
+ update: {
761
+ args: Prisma.AuditLogUpdateArgs<ExtArgs>
762
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload>
763
+ }
764
+ deleteMany: {
765
+ args: Prisma.AuditLogDeleteManyArgs<ExtArgs>
766
+ result: BatchPayload
767
+ }
768
+ updateMany: {
769
+ args: Prisma.AuditLogUpdateManyArgs<ExtArgs>
770
+ result: BatchPayload
771
+ }
772
+ updateManyAndReturn: {
773
+ args: Prisma.AuditLogUpdateManyAndReturnArgs<ExtArgs>
774
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload>[]
775
+ }
776
+ upsert: {
777
+ args: Prisma.AuditLogUpsertArgs<ExtArgs>
778
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$AuditLogPayload>
779
+ }
780
+ aggregate: {
781
+ args: Prisma.AuditLogAggregateArgs<ExtArgs>
782
+ result: runtime.Types.Utils.Optional<Prisma.AggregateAuditLog>
783
+ }
784
+ groupBy: {
785
+ args: Prisma.AuditLogGroupByArgs<ExtArgs>
786
+ result: runtime.Types.Utils.Optional<Prisma.AuditLogGroupByOutputType>[]
787
+ }
788
+ count: {
789
+ args: Prisma.AuditLogCountArgs<ExtArgs>
790
+ result: runtime.Types.Utils.Optional<Prisma.AuditLogCountAggregateOutputType> | number
791
+ }
792
+ }
793
+ }
794
+ Folder: {
795
+ payload: Prisma.$FolderPayload<ExtArgs>
796
+ fields: Prisma.FolderFieldRefs
797
+ operations: {
798
+ findUnique: {
799
+ args: Prisma.FolderFindUniqueArgs<ExtArgs>
800
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload> | null
801
+ }
802
+ findUniqueOrThrow: {
803
+ args: Prisma.FolderFindUniqueOrThrowArgs<ExtArgs>
804
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload>
805
+ }
806
+ findFirst: {
807
+ args: Prisma.FolderFindFirstArgs<ExtArgs>
808
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload> | null
809
+ }
810
+ findFirstOrThrow: {
811
+ args: Prisma.FolderFindFirstOrThrowArgs<ExtArgs>
812
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload>
813
+ }
814
+ findMany: {
815
+ args: Prisma.FolderFindManyArgs<ExtArgs>
816
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload>[]
817
+ }
818
+ create: {
819
+ args: Prisma.FolderCreateArgs<ExtArgs>
820
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload>
821
+ }
822
+ createMany: {
823
+ args: Prisma.FolderCreateManyArgs<ExtArgs>
824
+ result: BatchPayload
825
+ }
826
+ createManyAndReturn: {
827
+ args: Prisma.FolderCreateManyAndReturnArgs<ExtArgs>
828
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload>[]
829
+ }
830
+ delete: {
831
+ args: Prisma.FolderDeleteArgs<ExtArgs>
832
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload>
833
+ }
834
+ update: {
835
+ args: Prisma.FolderUpdateArgs<ExtArgs>
836
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload>
837
+ }
838
+ deleteMany: {
839
+ args: Prisma.FolderDeleteManyArgs<ExtArgs>
840
+ result: BatchPayload
841
+ }
842
+ updateMany: {
843
+ args: Prisma.FolderUpdateManyArgs<ExtArgs>
844
+ result: BatchPayload
845
+ }
846
+ updateManyAndReturn: {
847
+ args: Prisma.FolderUpdateManyAndReturnArgs<ExtArgs>
848
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload>[]
849
+ }
850
+ upsert: {
851
+ args: Prisma.FolderUpsertArgs<ExtArgs>
852
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FolderPayload>
853
+ }
854
+ aggregate: {
855
+ args: Prisma.FolderAggregateArgs<ExtArgs>
856
+ result: runtime.Types.Utils.Optional<Prisma.AggregateFolder>
857
+ }
858
+ groupBy: {
859
+ args: Prisma.FolderGroupByArgs<ExtArgs>
860
+ result: runtime.Types.Utils.Optional<Prisma.FolderGroupByOutputType>[]
861
+ }
862
+ count: {
863
+ args: Prisma.FolderCountArgs<ExtArgs>
864
+ result: runtime.Types.Utils.Optional<Prisma.FolderCountAggregateOutputType> | number
865
+ }
866
+ }
867
+ }
868
+ Document: {
869
+ payload: Prisma.$DocumentPayload<ExtArgs>
870
+ fields: Prisma.DocumentFieldRefs
871
+ operations: {
872
+ findUnique: {
873
+ args: Prisma.DocumentFindUniqueArgs<ExtArgs>
874
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload> | null
875
+ }
876
+ findUniqueOrThrow: {
877
+ args: Prisma.DocumentFindUniqueOrThrowArgs<ExtArgs>
878
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload>
879
+ }
880
+ findFirst: {
881
+ args: Prisma.DocumentFindFirstArgs<ExtArgs>
882
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload> | null
883
+ }
884
+ findFirstOrThrow: {
885
+ args: Prisma.DocumentFindFirstOrThrowArgs<ExtArgs>
886
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload>
887
+ }
888
+ findMany: {
889
+ args: Prisma.DocumentFindManyArgs<ExtArgs>
890
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload>[]
891
+ }
892
+ create: {
893
+ args: Prisma.DocumentCreateArgs<ExtArgs>
894
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload>
895
+ }
896
+ createMany: {
897
+ args: Prisma.DocumentCreateManyArgs<ExtArgs>
898
+ result: BatchPayload
899
+ }
900
+ createManyAndReturn: {
901
+ args: Prisma.DocumentCreateManyAndReturnArgs<ExtArgs>
902
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload>[]
903
+ }
904
+ delete: {
905
+ args: Prisma.DocumentDeleteArgs<ExtArgs>
906
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload>
907
+ }
908
+ update: {
909
+ args: Prisma.DocumentUpdateArgs<ExtArgs>
910
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload>
911
+ }
912
+ deleteMany: {
913
+ args: Prisma.DocumentDeleteManyArgs<ExtArgs>
914
+ result: BatchPayload
915
+ }
916
+ updateMany: {
917
+ args: Prisma.DocumentUpdateManyArgs<ExtArgs>
918
+ result: BatchPayload
919
+ }
920
+ updateManyAndReturn: {
921
+ args: Prisma.DocumentUpdateManyAndReturnArgs<ExtArgs>
922
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload>[]
923
+ }
924
+ upsert: {
925
+ args: Prisma.DocumentUpsertArgs<ExtArgs>
926
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$DocumentPayload>
927
+ }
928
+ aggregate: {
929
+ args: Prisma.DocumentAggregateArgs<ExtArgs>
930
+ result: runtime.Types.Utils.Optional<Prisma.AggregateDocument>
931
+ }
932
+ groupBy: {
933
+ args: Prisma.DocumentGroupByArgs<ExtArgs>
934
+ result: runtime.Types.Utils.Optional<Prisma.DocumentGroupByOutputType>[]
935
+ }
936
+ count: {
937
+ args: Prisma.DocumentCountArgs<ExtArgs>
938
+ result: runtime.Types.Utils.Optional<Prisma.DocumentCountAggregateOutputType> | number
939
+ }
940
+ }
941
+ }
942
+ Version: {
943
+ payload: Prisma.$VersionPayload<ExtArgs>
944
+ fields: Prisma.VersionFieldRefs
945
+ operations: {
946
+ findUnique: {
947
+ args: Prisma.VersionFindUniqueArgs<ExtArgs>
948
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload> | null
949
+ }
950
+ findUniqueOrThrow: {
951
+ args: Prisma.VersionFindUniqueOrThrowArgs<ExtArgs>
952
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload>
953
+ }
954
+ findFirst: {
955
+ args: Prisma.VersionFindFirstArgs<ExtArgs>
956
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload> | null
957
+ }
958
+ findFirstOrThrow: {
959
+ args: Prisma.VersionFindFirstOrThrowArgs<ExtArgs>
960
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload>
961
+ }
962
+ findMany: {
963
+ args: Prisma.VersionFindManyArgs<ExtArgs>
964
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload>[]
965
+ }
966
+ create: {
967
+ args: Prisma.VersionCreateArgs<ExtArgs>
968
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload>
969
+ }
970
+ createMany: {
971
+ args: Prisma.VersionCreateManyArgs<ExtArgs>
972
+ result: BatchPayload
973
+ }
974
+ createManyAndReturn: {
975
+ args: Prisma.VersionCreateManyAndReturnArgs<ExtArgs>
976
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload>[]
977
+ }
978
+ delete: {
979
+ args: Prisma.VersionDeleteArgs<ExtArgs>
980
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload>
981
+ }
982
+ update: {
983
+ args: Prisma.VersionUpdateArgs<ExtArgs>
984
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload>
985
+ }
986
+ deleteMany: {
987
+ args: Prisma.VersionDeleteManyArgs<ExtArgs>
988
+ result: BatchPayload
989
+ }
990
+ updateMany: {
991
+ args: Prisma.VersionUpdateManyArgs<ExtArgs>
992
+ result: BatchPayload
993
+ }
994
+ updateManyAndReturn: {
995
+ args: Prisma.VersionUpdateManyAndReturnArgs<ExtArgs>
996
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload>[]
997
+ }
998
+ upsert: {
999
+ args: Prisma.VersionUpsertArgs<ExtArgs>
1000
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$VersionPayload>
1001
+ }
1002
+ aggregate: {
1003
+ args: Prisma.VersionAggregateArgs<ExtArgs>
1004
+ result: runtime.Types.Utils.Optional<Prisma.AggregateVersion>
1005
+ }
1006
+ groupBy: {
1007
+ args: Prisma.VersionGroupByArgs<ExtArgs>
1008
+ result: runtime.Types.Utils.Optional<Prisma.VersionGroupByOutputType>[]
1009
+ }
1010
+ count: {
1011
+ args: Prisma.VersionCountArgs<ExtArgs>
1012
+ result: runtime.Types.Utils.Optional<Prisma.VersionCountAggregateOutputType> | number
1013
+ }
1014
+ }
1015
+ }
1016
+ Media: {
1017
+ payload: Prisma.$MediaPayload<ExtArgs>
1018
+ fields: Prisma.MediaFieldRefs
1019
+ operations: {
1020
+ findUnique: {
1021
+ args: Prisma.MediaFindUniqueArgs<ExtArgs>
1022
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload> | null
1023
+ }
1024
+ findUniqueOrThrow: {
1025
+ args: Prisma.MediaFindUniqueOrThrowArgs<ExtArgs>
1026
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload>
1027
+ }
1028
+ findFirst: {
1029
+ args: Prisma.MediaFindFirstArgs<ExtArgs>
1030
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload> | null
1031
+ }
1032
+ findFirstOrThrow: {
1033
+ args: Prisma.MediaFindFirstOrThrowArgs<ExtArgs>
1034
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload>
1035
+ }
1036
+ findMany: {
1037
+ args: Prisma.MediaFindManyArgs<ExtArgs>
1038
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload>[]
1039
+ }
1040
+ create: {
1041
+ args: Prisma.MediaCreateArgs<ExtArgs>
1042
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload>
1043
+ }
1044
+ createMany: {
1045
+ args: Prisma.MediaCreateManyArgs<ExtArgs>
1046
+ result: BatchPayload
1047
+ }
1048
+ createManyAndReturn: {
1049
+ args: Prisma.MediaCreateManyAndReturnArgs<ExtArgs>
1050
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload>[]
1051
+ }
1052
+ delete: {
1053
+ args: Prisma.MediaDeleteArgs<ExtArgs>
1054
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload>
1055
+ }
1056
+ update: {
1057
+ args: Prisma.MediaUpdateArgs<ExtArgs>
1058
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload>
1059
+ }
1060
+ deleteMany: {
1061
+ args: Prisma.MediaDeleteManyArgs<ExtArgs>
1062
+ result: BatchPayload
1063
+ }
1064
+ updateMany: {
1065
+ args: Prisma.MediaUpdateManyArgs<ExtArgs>
1066
+ result: BatchPayload
1067
+ }
1068
+ updateManyAndReturn: {
1069
+ args: Prisma.MediaUpdateManyAndReturnArgs<ExtArgs>
1070
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload>[]
1071
+ }
1072
+ upsert: {
1073
+ args: Prisma.MediaUpsertArgs<ExtArgs>
1074
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaPayload>
1075
+ }
1076
+ aggregate: {
1077
+ args: Prisma.MediaAggregateArgs<ExtArgs>
1078
+ result: runtime.Types.Utils.Optional<Prisma.AggregateMedia>
1079
+ }
1080
+ groupBy: {
1081
+ args: Prisma.MediaGroupByArgs<ExtArgs>
1082
+ result: runtime.Types.Utils.Optional<Prisma.MediaGroupByOutputType>[]
1083
+ }
1084
+ count: {
1085
+ args: Prisma.MediaCountArgs<ExtArgs>
1086
+ result: runtime.Types.Utils.Optional<Prisma.MediaCountAggregateOutputType> | number
1087
+ }
1088
+ }
1089
+ }
1090
+ MediaUsage: {
1091
+ payload: Prisma.$MediaUsagePayload<ExtArgs>
1092
+ fields: Prisma.MediaUsageFieldRefs
1093
+ operations: {
1094
+ findUnique: {
1095
+ args: Prisma.MediaUsageFindUniqueArgs<ExtArgs>
1096
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload> | null
1097
+ }
1098
+ findUniqueOrThrow: {
1099
+ args: Prisma.MediaUsageFindUniqueOrThrowArgs<ExtArgs>
1100
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload>
1101
+ }
1102
+ findFirst: {
1103
+ args: Prisma.MediaUsageFindFirstArgs<ExtArgs>
1104
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload> | null
1105
+ }
1106
+ findFirstOrThrow: {
1107
+ args: Prisma.MediaUsageFindFirstOrThrowArgs<ExtArgs>
1108
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload>
1109
+ }
1110
+ findMany: {
1111
+ args: Prisma.MediaUsageFindManyArgs<ExtArgs>
1112
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload>[]
1113
+ }
1114
+ create: {
1115
+ args: Prisma.MediaUsageCreateArgs<ExtArgs>
1116
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload>
1117
+ }
1118
+ createMany: {
1119
+ args: Prisma.MediaUsageCreateManyArgs<ExtArgs>
1120
+ result: BatchPayload
1121
+ }
1122
+ createManyAndReturn: {
1123
+ args: Prisma.MediaUsageCreateManyAndReturnArgs<ExtArgs>
1124
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload>[]
1125
+ }
1126
+ delete: {
1127
+ args: Prisma.MediaUsageDeleteArgs<ExtArgs>
1128
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload>
1129
+ }
1130
+ update: {
1131
+ args: Prisma.MediaUsageUpdateArgs<ExtArgs>
1132
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload>
1133
+ }
1134
+ deleteMany: {
1135
+ args: Prisma.MediaUsageDeleteManyArgs<ExtArgs>
1136
+ result: BatchPayload
1137
+ }
1138
+ updateMany: {
1139
+ args: Prisma.MediaUsageUpdateManyArgs<ExtArgs>
1140
+ result: BatchPayload
1141
+ }
1142
+ updateManyAndReturn: {
1143
+ args: Prisma.MediaUsageUpdateManyAndReturnArgs<ExtArgs>
1144
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload>[]
1145
+ }
1146
+ upsert: {
1147
+ args: Prisma.MediaUsageUpsertArgs<ExtArgs>
1148
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$MediaUsagePayload>
1149
+ }
1150
+ aggregate: {
1151
+ args: Prisma.MediaUsageAggregateArgs<ExtArgs>
1152
+ result: runtime.Types.Utils.Optional<Prisma.AggregateMediaUsage>
1153
+ }
1154
+ groupBy: {
1155
+ args: Prisma.MediaUsageGroupByArgs<ExtArgs>
1156
+ result: runtime.Types.Utils.Optional<Prisma.MediaUsageGroupByOutputType>[]
1157
+ }
1158
+ count: {
1159
+ args: Prisma.MediaUsageCountArgs<ExtArgs>
1160
+ result: runtime.Types.Utils.Optional<Prisma.MediaUsageCountAggregateOutputType> | number
1161
+ }
1162
+ }
1163
+ }
1164
+ ContentLock: {
1165
+ payload: Prisma.$ContentLockPayload<ExtArgs>
1166
+ fields: Prisma.ContentLockFieldRefs
1167
+ operations: {
1168
+ findUnique: {
1169
+ args: Prisma.ContentLockFindUniqueArgs<ExtArgs>
1170
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload> | null
1171
+ }
1172
+ findUniqueOrThrow: {
1173
+ args: Prisma.ContentLockFindUniqueOrThrowArgs<ExtArgs>
1174
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload>
1175
+ }
1176
+ findFirst: {
1177
+ args: Prisma.ContentLockFindFirstArgs<ExtArgs>
1178
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload> | null
1179
+ }
1180
+ findFirstOrThrow: {
1181
+ args: Prisma.ContentLockFindFirstOrThrowArgs<ExtArgs>
1182
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload>
1183
+ }
1184
+ findMany: {
1185
+ args: Prisma.ContentLockFindManyArgs<ExtArgs>
1186
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload>[]
1187
+ }
1188
+ create: {
1189
+ args: Prisma.ContentLockCreateArgs<ExtArgs>
1190
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload>
1191
+ }
1192
+ createMany: {
1193
+ args: Prisma.ContentLockCreateManyArgs<ExtArgs>
1194
+ result: BatchPayload
1195
+ }
1196
+ createManyAndReturn: {
1197
+ args: Prisma.ContentLockCreateManyAndReturnArgs<ExtArgs>
1198
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload>[]
1199
+ }
1200
+ delete: {
1201
+ args: Prisma.ContentLockDeleteArgs<ExtArgs>
1202
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload>
1203
+ }
1204
+ update: {
1205
+ args: Prisma.ContentLockUpdateArgs<ExtArgs>
1206
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload>
1207
+ }
1208
+ deleteMany: {
1209
+ args: Prisma.ContentLockDeleteManyArgs<ExtArgs>
1210
+ result: BatchPayload
1211
+ }
1212
+ updateMany: {
1213
+ args: Prisma.ContentLockUpdateManyArgs<ExtArgs>
1214
+ result: BatchPayload
1215
+ }
1216
+ updateManyAndReturn: {
1217
+ args: Prisma.ContentLockUpdateManyAndReturnArgs<ExtArgs>
1218
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload>[]
1219
+ }
1220
+ upsert: {
1221
+ args: Prisma.ContentLockUpsertArgs<ExtArgs>
1222
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentLockPayload>
1223
+ }
1224
+ aggregate: {
1225
+ args: Prisma.ContentLockAggregateArgs<ExtArgs>
1226
+ result: runtime.Types.Utils.Optional<Prisma.AggregateContentLock>
1227
+ }
1228
+ groupBy: {
1229
+ args: Prisma.ContentLockGroupByArgs<ExtArgs>
1230
+ result: runtime.Types.Utils.Optional<Prisma.ContentLockGroupByOutputType>[]
1231
+ }
1232
+ count: {
1233
+ args: Prisma.ContentLockCountArgs<ExtArgs>
1234
+ result: runtime.Types.Utils.Optional<Prisma.ContentLockCountAggregateOutputType> | number
1235
+ }
1236
+ }
1237
+ }
1238
+ InAppNotification: {
1239
+ payload: Prisma.$InAppNotificationPayload<ExtArgs>
1240
+ fields: Prisma.InAppNotificationFieldRefs
1241
+ operations: {
1242
+ findUnique: {
1243
+ args: Prisma.InAppNotificationFindUniqueArgs<ExtArgs>
1244
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload> | null
1245
+ }
1246
+ findUniqueOrThrow: {
1247
+ args: Prisma.InAppNotificationFindUniqueOrThrowArgs<ExtArgs>
1248
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload>
1249
+ }
1250
+ findFirst: {
1251
+ args: Prisma.InAppNotificationFindFirstArgs<ExtArgs>
1252
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload> | null
1253
+ }
1254
+ findFirstOrThrow: {
1255
+ args: Prisma.InAppNotificationFindFirstOrThrowArgs<ExtArgs>
1256
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload>
1257
+ }
1258
+ findMany: {
1259
+ args: Prisma.InAppNotificationFindManyArgs<ExtArgs>
1260
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload>[]
1261
+ }
1262
+ create: {
1263
+ args: Prisma.InAppNotificationCreateArgs<ExtArgs>
1264
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload>
1265
+ }
1266
+ createMany: {
1267
+ args: Prisma.InAppNotificationCreateManyArgs<ExtArgs>
1268
+ result: BatchPayload
1269
+ }
1270
+ createManyAndReturn: {
1271
+ args: Prisma.InAppNotificationCreateManyAndReturnArgs<ExtArgs>
1272
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload>[]
1273
+ }
1274
+ delete: {
1275
+ args: Prisma.InAppNotificationDeleteArgs<ExtArgs>
1276
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload>
1277
+ }
1278
+ update: {
1279
+ args: Prisma.InAppNotificationUpdateArgs<ExtArgs>
1280
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload>
1281
+ }
1282
+ deleteMany: {
1283
+ args: Prisma.InAppNotificationDeleteManyArgs<ExtArgs>
1284
+ result: BatchPayload
1285
+ }
1286
+ updateMany: {
1287
+ args: Prisma.InAppNotificationUpdateManyArgs<ExtArgs>
1288
+ result: BatchPayload
1289
+ }
1290
+ updateManyAndReturn: {
1291
+ args: Prisma.InAppNotificationUpdateManyAndReturnArgs<ExtArgs>
1292
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload>[]
1293
+ }
1294
+ upsert: {
1295
+ args: Prisma.InAppNotificationUpsertArgs<ExtArgs>
1296
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$InAppNotificationPayload>
1297
+ }
1298
+ aggregate: {
1299
+ args: Prisma.InAppNotificationAggregateArgs<ExtArgs>
1300
+ result: runtime.Types.Utils.Optional<Prisma.AggregateInAppNotification>
1301
+ }
1302
+ groupBy: {
1303
+ args: Prisma.InAppNotificationGroupByArgs<ExtArgs>
1304
+ result: runtime.Types.Utils.Optional<Prisma.InAppNotificationGroupByOutputType>[]
1305
+ }
1306
+ count: {
1307
+ args: Prisma.InAppNotificationCountArgs<ExtArgs>
1308
+ result: runtime.Types.Utils.Optional<Prisma.InAppNotificationCountAggregateOutputType> | number
1309
+ }
1310
+ }
1311
+ }
1312
+ ContentTemplate: {
1313
+ payload: Prisma.$ContentTemplatePayload<ExtArgs>
1314
+ fields: Prisma.ContentTemplateFieldRefs
1315
+ operations: {
1316
+ findUnique: {
1317
+ args: Prisma.ContentTemplateFindUniqueArgs<ExtArgs>
1318
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload> | null
1319
+ }
1320
+ findUniqueOrThrow: {
1321
+ args: Prisma.ContentTemplateFindUniqueOrThrowArgs<ExtArgs>
1322
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload>
1323
+ }
1324
+ findFirst: {
1325
+ args: Prisma.ContentTemplateFindFirstArgs<ExtArgs>
1326
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload> | null
1327
+ }
1328
+ findFirstOrThrow: {
1329
+ args: Prisma.ContentTemplateFindFirstOrThrowArgs<ExtArgs>
1330
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload>
1331
+ }
1332
+ findMany: {
1333
+ args: Prisma.ContentTemplateFindManyArgs<ExtArgs>
1334
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload>[]
1335
+ }
1336
+ create: {
1337
+ args: Prisma.ContentTemplateCreateArgs<ExtArgs>
1338
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload>
1339
+ }
1340
+ createMany: {
1341
+ args: Prisma.ContentTemplateCreateManyArgs<ExtArgs>
1342
+ result: BatchPayload
1343
+ }
1344
+ createManyAndReturn: {
1345
+ args: Prisma.ContentTemplateCreateManyAndReturnArgs<ExtArgs>
1346
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload>[]
1347
+ }
1348
+ delete: {
1349
+ args: Prisma.ContentTemplateDeleteArgs<ExtArgs>
1350
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload>
1351
+ }
1352
+ update: {
1353
+ args: Prisma.ContentTemplateUpdateArgs<ExtArgs>
1354
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload>
1355
+ }
1356
+ deleteMany: {
1357
+ args: Prisma.ContentTemplateDeleteManyArgs<ExtArgs>
1358
+ result: BatchPayload
1359
+ }
1360
+ updateMany: {
1361
+ args: Prisma.ContentTemplateUpdateManyArgs<ExtArgs>
1362
+ result: BatchPayload
1363
+ }
1364
+ updateManyAndReturn: {
1365
+ args: Prisma.ContentTemplateUpdateManyAndReturnArgs<ExtArgs>
1366
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload>[]
1367
+ }
1368
+ upsert: {
1369
+ args: Prisma.ContentTemplateUpsertArgs<ExtArgs>
1370
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$ContentTemplatePayload>
1371
+ }
1372
+ aggregate: {
1373
+ args: Prisma.ContentTemplateAggregateArgs<ExtArgs>
1374
+ result: runtime.Types.Utils.Optional<Prisma.AggregateContentTemplate>
1375
+ }
1376
+ groupBy: {
1377
+ args: Prisma.ContentTemplateGroupByArgs<ExtArgs>
1378
+ result: runtime.Types.Utils.Optional<Prisma.ContentTemplateGroupByOutputType>[]
1379
+ }
1380
+ count: {
1381
+ args: Prisma.ContentTemplateCountArgs<ExtArgs>
1382
+ result: runtime.Types.Utils.Optional<Prisma.ContentTemplateCountAggregateOutputType> | number
1383
+ }
1384
+ }
1385
+ }
1386
+ Site: {
1387
+ payload: Prisma.$SitePayload<ExtArgs>
1388
+ fields: Prisma.SiteFieldRefs
1389
+ operations: {
1390
+ findUnique: {
1391
+ args: Prisma.SiteFindUniqueArgs<ExtArgs>
1392
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload> | null
1393
+ }
1394
+ findUniqueOrThrow: {
1395
+ args: Prisma.SiteFindUniqueOrThrowArgs<ExtArgs>
1396
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload>
1397
+ }
1398
+ findFirst: {
1399
+ args: Prisma.SiteFindFirstArgs<ExtArgs>
1400
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload> | null
1401
+ }
1402
+ findFirstOrThrow: {
1403
+ args: Prisma.SiteFindFirstOrThrowArgs<ExtArgs>
1404
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload>
1405
+ }
1406
+ findMany: {
1407
+ args: Prisma.SiteFindManyArgs<ExtArgs>
1408
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload>[]
1409
+ }
1410
+ create: {
1411
+ args: Prisma.SiteCreateArgs<ExtArgs>
1412
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload>
1413
+ }
1414
+ createMany: {
1415
+ args: Prisma.SiteCreateManyArgs<ExtArgs>
1416
+ result: BatchPayload
1417
+ }
1418
+ createManyAndReturn: {
1419
+ args: Prisma.SiteCreateManyAndReturnArgs<ExtArgs>
1420
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload>[]
1421
+ }
1422
+ delete: {
1423
+ args: Prisma.SiteDeleteArgs<ExtArgs>
1424
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload>
1425
+ }
1426
+ update: {
1427
+ args: Prisma.SiteUpdateArgs<ExtArgs>
1428
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload>
1429
+ }
1430
+ deleteMany: {
1431
+ args: Prisma.SiteDeleteManyArgs<ExtArgs>
1432
+ result: BatchPayload
1433
+ }
1434
+ updateMany: {
1435
+ args: Prisma.SiteUpdateManyArgs<ExtArgs>
1436
+ result: BatchPayload
1437
+ }
1438
+ updateManyAndReturn: {
1439
+ args: Prisma.SiteUpdateManyAndReturnArgs<ExtArgs>
1440
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload>[]
1441
+ }
1442
+ upsert: {
1443
+ args: Prisma.SiteUpsertArgs<ExtArgs>
1444
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SitePayload>
1445
+ }
1446
+ aggregate: {
1447
+ args: Prisma.SiteAggregateArgs<ExtArgs>
1448
+ result: runtime.Types.Utils.Optional<Prisma.AggregateSite>
1449
+ }
1450
+ groupBy: {
1451
+ args: Prisma.SiteGroupByArgs<ExtArgs>
1452
+ result: runtime.Types.Utils.Optional<Prisma.SiteGroupByOutputType>[]
1453
+ }
1454
+ count: {
1455
+ args: Prisma.SiteCountArgs<ExtArgs>
1456
+ result: runtime.Types.Utils.Optional<Prisma.SiteCountAggregateOutputType> | number
1457
+ }
1458
+ }
1459
+ }
1460
+ WorkflowState: {
1461
+ payload: Prisma.$WorkflowStatePayload<ExtArgs>
1462
+ fields: Prisma.WorkflowStateFieldRefs
1463
+ operations: {
1464
+ findUnique: {
1465
+ args: Prisma.WorkflowStateFindUniqueArgs<ExtArgs>
1466
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload> | null
1467
+ }
1468
+ findUniqueOrThrow: {
1469
+ args: Prisma.WorkflowStateFindUniqueOrThrowArgs<ExtArgs>
1470
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload>
1471
+ }
1472
+ findFirst: {
1473
+ args: Prisma.WorkflowStateFindFirstArgs<ExtArgs>
1474
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload> | null
1475
+ }
1476
+ findFirstOrThrow: {
1477
+ args: Prisma.WorkflowStateFindFirstOrThrowArgs<ExtArgs>
1478
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload>
1479
+ }
1480
+ findMany: {
1481
+ args: Prisma.WorkflowStateFindManyArgs<ExtArgs>
1482
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload>[]
1483
+ }
1484
+ create: {
1485
+ args: Prisma.WorkflowStateCreateArgs<ExtArgs>
1486
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload>
1487
+ }
1488
+ createMany: {
1489
+ args: Prisma.WorkflowStateCreateManyArgs<ExtArgs>
1490
+ result: BatchPayload
1491
+ }
1492
+ createManyAndReturn: {
1493
+ args: Prisma.WorkflowStateCreateManyAndReturnArgs<ExtArgs>
1494
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload>[]
1495
+ }
1496
+ delete: {
1497
+ args: Prisma.WorkflowStateDeleteArgs<ExtArgs>
1498
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload>
1499
+ }
1500
+ update: {
1501
+ args: Prisma.WorkflowStateUpdateArgs<ExtArgs>
1502
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload>
1503
+ }
1504
+ deleteMany: {
1505
+ args: Prisma.WorkflowStateDeleteManyArgs<ExtArgs>
1506
+ result: BatchPayload
1507
+ }
1508
+ updateMany: {
1509
+ args: Prisma.WorkflowStateUpdateManyArgs<ExtArgs>
1510
+ result: BatchPayload
1511
+ }
1512
+ updateManyAndReturn: {
1513
+ args: Prisma.WorkflowStateUpdateManyAndReturnArgs<ExtArgs>
1514
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload>[]
1515
+ }
1516
+ upsert: {
1517
+ args: Prisma.WorkflowStateUpsertArgs<ExtArgs>
1518
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$WorkflowStatePayload>
1519
+ }
1520
+ aggregate: {
1521
+ args: Prisma.WorkflowStateAggregateArgs<ExtArgs>
1522
+ result: runtime.Types.Utils.Optional<Prisma.AggregateWorkflowState>
1523
+ }
1524
+ groupBy: {
1525
+ args: Prisma.WorkflowStateGroupByArgs<ExtArgs>
1526
+ result: runtime.Types.Utils.Optional<Prisma.WorkflowStateGroupByOutputType>[]
1527
+ }
1528
+ count: {
1529
+ args: Prisma.WorkflowStateCountArgs<ExtArgs>
1530
+ result: runtime.Types.Utils.Optional<Prisma.WorkflowStateCountAggregateOutputType> | number
1531
+ }
1532
+ }
1533
+ }
1534
+ Redirect: {
1535
+ payload: Prisma.$RedirectPayload<ExtArgs>
1536
+ fields: Prisma.RedirectFieldRefs
1537
+ operations: {
1538
+ findUnique: {
1539
+ args: Prisma.RedirectFindUniqueArgs<ExtArgs>
1540
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload> | null
1541
+ }
1542
+ findUniqueOrThrow: {
1543
+ args: Prisma.RedirectFindUniqueOrThrowArgs<ExtArgs>
1544
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload>
1545
+ }
1546
+ findFirst: {
1547
+ args: Prisma.RedirectFindFirstArgs<ExtArgs>
1548
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload> | null
1549
+ }
1550
+ findFirstOrThrow: {
1551
+ args: Prisma.RedirectFindFirstOrThrowArgs<ExtArgs>
1552
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload>
1553
+ }
1554
+ findMany: {
1555
+ args: Prisma.RedirectFindManyArgs<ExtArgs>
1556
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload>[]
1557
+ }
1558
+ create: {
1559
+ args: Prisma.RedirectCreateArgs<ExtArgs>
1560
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload>
1561
+ }
1562
+ createMany: {
1563
+ args: Prisma.RedirectCreateManyArgs<ExtArgs>
1564
+ result: BatchPayload
1565
+ }
1566
+ createManyAndReturn: {
1567
+ args: Prisma.RedirectCreateManyAndReturnArgs<ExtArgs>
1568
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload>[]
1569
+ }
1570
+ delete: {
1571
+ args: Prisma.RedirectDeleteArgs<ExtArgs>
1572
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload>
1573
+ }
1574
+ update: {
1575
+ args: Prisma.RedirectUpdateArgs<ExtArgs>
1576
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload>
1577
+ }
1578
+ deleteMany: {
1579
+ args: Prisma.RedirectDeleteManyArgs<ExtArgs>
1580
+ result: BatchPayload
1581
+ }
1582
+ updateMany: {
1583
+ args: Prisma.RedirectUpdateManyArgs<ExtArgs>
1584
+ result: BatchPayload
1585
+ }
1586
+ updateManyAndReturn: {
1587
+ args: Prisma.RedirectUpdateManyAndReturnArgs<ExtArgs>
1588
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload>[]
1589
+ }
1590
+ upsert: {
1591
+ args: Prisma.RedirectUpsertArgs<ExtArgs>
1592
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RedirectPayload>
1593
+ }
1594
+ aggregate: {
1595
+ args: Prisma.RedirectAggregateArgs<ExtArgs>
1596
+ result: runtime.Types.Utils.Optional<Prisma.AggregateRedirect>
1597
+ }
1598
+ groupBy: {
1599
+ args: Prisma.RedirectGroupByArgs<ExtArgs>
1600
+ result: runtime.Types.Utils.Optional<Prisma.RedirectGroupByOutputType>[]
1601
+ }
1602
+ count: {
1603
+ args: Prisma.RedirectCountArgs<ExtArgs>
1604
+ result: runtime.Types.Utils.Optional<Prisma.RedirectCountAggregateOutputType> | number
1605
+ }
1606
+ }
1607
+ }
1608
+ FormSubmission: {
1609
+ payload: Prisma.$FormSubmissionPayload<ExtArgs>
1610
+ fields: Prisma.FormSubmissionFieldRefs
1611
+ operations: {
1612
+ findUnique: {
1613
+ args: Prisma.FormSubmissionFindUniqueArgs<ExtArgs>
1614
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload> | null
1615
+ }
1616
+ findUniqueOrThrow: {
1617
+ args: Prisma.FormSubmissionFindUniqueOrThrowArgs<ExtArgs>
1618
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload>
1619
+ }
1620
+ findFirst: {
1621
+ args: Prisma.FormSubmissionFindFirstArgs<ExtArgs>
1622
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload> | null
1623
+ }
1624
+ findFirstOrThrow: {
1625
+ args: Prisma.FormSubmissionFindFirstOrThrowArgs<ExtArgs>
1626
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload>
1627
+ }
1628
+ findMany: {
1629
+ args: Prisma.FormSubmissionFindManyArgs<ExtArgs>
1630
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload>[]
1631
+ }
1632
+ create: {
1633
+ args: Prisma.FormSubmissionCreateArgs<ExtArgs>
1634
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload>
1635
+ }
1636
+ createMany: {
1637
+ args: Prisma.FormSubmissionCreateManyArgs<ExtArgs>
1638
+ result: BatchPayload
1639
+ }
1640
+ createManyAndReturn: {
1641
+ args: Prisma.FormSubmissionCreateManyAndReturnArgs<ExtArgs>
1642
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload>[]
1643
+ }
1644
+ delete: {
1645
+ args: Prisma.FormSubmissionDeleteArgs<ExtArgs>
1646
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload>
1647
+ }
1648
+ update: {
1649
+ args: Prisma.FormSubmissionUpdateArgs<ExtArgs>
1650
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload>
1651
+ }
1652
+ deleteMany: {
1653
+ args: Prisma.FormSubmissionDeleteManyArgs<ExtArgs>
1654
+ result: BatchPayload
1655
+ }
1656
+ updateMany: {
1657
+ args: Prisma.FormSubmissionUpdateManyArgs<ExtArgs>
1658
+ result: BatchPayload
1659
+ }
1660
+ updateManyAndReturn: {
1661
+ args: Prisma.FormSubmissionUpdateManyAndReturnArgs<ExtArgs>
1662
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload>[]
1663
+ }
1664
+ upsert: {
1665
+ args: Prisma.FormSubmissionUpsertArgs<ExtArgs>
1666
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$FormSubmissionPayload>
1667
+ }
1668
+ aggregate: {
1669
+ args: Prisma.FormSubmissionAggregateArgs<ExtArgs>
1670
+ result: runtime.Types.Utils.Optional<Prisma.AggregateFormSubmission>
1671
+ }
1672
+ groupBy: {
1673
+ args: Prisma.FormSubmissionGroupByArgs<ExtArgs>
1674
+ result: runtime.Types.Utils.Optional<Prisma.FormSubmissionGroupByOutputType>[]
1675
+ }
1676
+ count: {
1677
+ args: Prisma.FormSubmissionCountArgs<ExtArgs>
1678
+ result: runtime.Types.Utils.Optional<Prisma.FormSubmissionCountAggregateOutputType> | number
1679
+ }
1680
+ }
1681
+ }
1682
+ BackupRecord: {
1683
+ payload: Prisma.$BackupRecordPayload<ExtArgs>
1684
+ fields: Prisma.BackupRecordFieldRefs
1685
+ operations: {
1686
+ findUnique: {
1687
+ args: Prisma.BackupRecordFindUniqueArgs<ExtArgs>
1688
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload> | null
1689
+ }
1690
+ findUniqueOrThrow: {
1691
+ args: Prisma.BackupRecordFindUniqueOrThrowArgs<ExtArgs>
1692
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload>
1693
+ }
1694
+ findFirst: {
1695
+ args: Prisma.BackupRecordFindFirstArgs<ExtArgs>
1696
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload> | null
1697
+ }
1698
+ findFirstOrThrow: {
1699
+ args: Prisma.BackupRecordFindFirstOrThrowArgs<ExtArgs>
1700
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload>
1701
+ }
1702
+ findMany: {
1703
+ args: Prisma.BackupRecordFindManyArgs<ExtArgs>
1704
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload>[]
1705
+ }
1706
+ create: {
1707
+ args: Prisma.BackupRecordCreateArgs<ExtArgs>
1708
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload>
1709
+ }
1710
+ createMany: {
1711
+ args: Prisma.BackupRecordCreateManyArgs<ExtArgs>
1712
+ result: BatchPayload
1713
+ }
1714
+ createManyAndReturn: {
1715
+ args: Prisma.BackupRecordCreateManyAndReturnArgs<ExtArgs>
1716
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload>[]
1717
+ }
1718
+ delete: {
1719
+ args: Prisma.BackupRecordDeleteArgs<ExtArgs>
1720
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload>
1721
+ }
1722
+ update: {
1723
+ args: Prisma.BackupRecordUpdateArgs<ExtArgs>
1724
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload>
1725
+ }
1726
+ deleteMany: {
1727
+ args: Prisma.BackupRecordDeleteManyArgs<ExtArgs>
1728
+ result: BatchPayload
1729
+ }
1730
+ updateMany: {
1731
+ args: Prisma.BackupRecordUpdateManyArgs<ExtArgs>
1732
+ result: BatchPayload
1733
+ }
1734
+ updateManyAndReturn: {
1735
+ args: Prisma.BackupRecordUpdateManyAndReturnArgs<ExtArgs>
1736
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload>[]
1737
+ }
1738
+ upsert: {
1739
+ args: Prisma.BackupRecordUpsertArgs<ExtArgs>
1740
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BackupRecordPayload>
1741
+ }
1742
+ aggregate: {
1743
+ args: Prisma.BackupRecordAggregateArgs<ExtArgs>
1744
+ result: runtime.Types.Utils.Optional<Prisma.AggregateBackupRecord>
1745
+ }
1746
+ groupBy: {
1747
+ args: Prisma.BackupRecordGroupByArgs<ExtArgs>
1748
+ result: runtime.Types.Utils.Optional<Prisma.BackupRecordGroupByOutputType>[]
1749
+ }
1750
+ count: {
1751
+ args: Prisma.BackupRecordCountArgs<ExtArgs>
1752
+ result: runtime.Types.Utils.Optional<Prisma.BackupRecordCountAggregateOutputType> | number
1753
+ }
1754
+ }
1755
+ }
1756
+ }
1757
+ } & {
1758
+ other: {
1759
+ payload: any
1760
+ operations: {
1761
+ $executeRaw: {
1762
+ args: [query: TemplateStringsArray | Sql, ...values: any[]],
1763
+ result: any
1764
+ }
1765
+ $executeRawUnsafe: {
1766
+ args: [query: string, ...values: any[]],
1767
+ result: any
1768
+ }
1769
+ $queryRaw: {
1770
+ args: [query: TemplateStringsArray | Sql, ...values: any[]],
1771
+ result: any
1772
+ }
1773
+ $queryRawUnsafe: {
1774
+ args: [query: string, ...values: any[]],
1775
+ result: any
1776
+ }
1777
+ }
1778
+ }
1779
+ }
1780
+
1781
+ /**
1782
+ * Enums
1783
+ */
1784
+
1785
+ export const TransactionIsolationLevel = runtime.makeStrictEnum({
1786
+ ReadUncommitted: 'ReadUncommitted',
1787
+ ReadCommitted: 'ReadCommitted',
1788
+ RepeatableRead: 'RepeatableRead',
1789
+ Serializable: 'Serializable'
1790
+ } as const)
1791
+
1792
+ export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
1793
+
1794
+
1795
+ export const UserScalarFieldEnum = {
1796
+ id: 'id',
1797
+ email: 'email',
1798
+ name: 'name',
1799
+ avatarUrl: 'avatarUrl',
1800
+ role: 'role',
1801
+ passwordHash: 'passwordHash',
1802
+ totpSecret: 'totpSecret',
1803
+ authProvider: 'authProvider',
1804
+ isActive: 'isActive',
1805
+ isApproved: 'isApproved',
1806
+ emailVerified: 'emailVerified',
1807
+ lastLoginAt: 'lastLoginAt',
1808
+ createdAt: 'createdAt',
1809
+ updatedAt: 'updatedAt'
1810
+ } as const
1811
+
1812
+ export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
1813
+
1814
+
1815
+ export const OAuthAccountScalarFieldEnum = {
1816
+ id: 'id',
1817
+ userId: 'userId',
1818
+ provider: 'provider',
1819
+ providerAccountId: 'providerAccountId',
1820
+ accessToken: 'accessToken',
1821
+ refreshToken: 'refreshToken',
1822
+ expiresAt: 'expiresAt',
1823
+ createdAt: 'createdAt'
1824
+ } as const
1825
+
1826
+ export type OAuthAccountScalarFieldEnum = (typeof OAuthAccountScalarFieldEnum)[keyof typeof OAuthAccountScalarFieldEnum]
1827
+
1828
+
1829
+ export const SessionScalarFieldEnum = {
1830
+ id: 'id',
1831
+ userId: 'userId',
1832
+ token: 'token',
1833
+ expiresAt: 'expiresAt',
1834
+ revokedAt: 'revokedAt',
1835
+ ipAddress: 'ipAddress',
1836
+ userAgent: 'userAgent',
1837
+ fingerprintHash: 'fingerprintHash',
1838
+ createdAt: 'createdAt'
1839
+ } as const
1840
+
1841
+ export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]
1842
+
1843
+
1844
+ export const ApiKeyScalarFieldEnum = {
1845
+ id: 'id',
1846
+ name: 'name',
1847
+ keyHash: 'keyHash',
1848
+ keyPrefix: 'keyPrefix',
1849
+ userId: 'userId',
1850
+ scopes: 'scopes',
1851
+ ipRestrictions: 'ipRestrictions',
1852
+ expiresAt: 'expiresAt',
1853
+ lastUsedAt: 'lastUsedAt',
1854
+ revokedAt: 'revokedAt',
1855
+ createdAt: 'createdAt'
1856
+ } as const
1857
+
1858
+ export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum]
1859
+
1860
+
1861
+ export const AuditLogScalarFieldEnum = {
1862
+ id: 'id',
1863
+ event: 'event',
1864
+ userId: 'userId',
1865
+ ipAddress: 'ipAddress',
1866
+ userAgent: 'userAgent',
1867
+ details: 'details',
1868
+ timestamp: 'timestamp'
1869
+ } as const
1870
+
1871
+ export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum]
1872
+
1873
+
1874
+ export const FolderScalarFieldEnum = {
1875
+ id: 'id',
1876
+ name: 'name',
1877
+ scope: 'scope',
1878
+ parentId: 'parentId',
1879
+ position: 'position',
1880
+ createdAt: 'createdAt',
1881
+ updatedAt: 'updatedAt'
1882
+ } as const
1883
+
1884
+ export type FolderScalarFieldEnum = (typeof FolderScalarFieldEnum)[keyof typeof FolderScalarFieldEnum]
1885
+
1886
+
1887
+ export const DocumentScalarFieldEnum = {
1888
+ id: 'id',
1889
+ collection: 'collection',
1890
+ data: 'data',
1891
+ status: 'status',
1892
+ locale: 'locale',
1893
+ localeGroupId: 'localeGroupId',
1894
+ createdById: 'createdById',
1895
+ updatedById: 'updatedById',
1896
+ publishedAt: 'publishedAt',
1897
+ scheduledAt: 'scheduledAt',
1898
+ scheduledUnpublishAt: 'scheduledUnpublishAt',
1899
+ deletedAt: 'deletedAt',
1900
+ searchVector: 'searchVector',
1901
+ plainText: 'plainText',
1902
+ contentHash: 'contentHash',
1903
+ structuredData: 'structuredData',
1904
+ contentGraph: 'contentGraph',
1905
+ siteId: 'siteId',
1906
+ templateId: 'templateId',
1907
+ folderId: 'folderId',
1908
+ createdAt: 'createdAt',
1909
+ updatedAt: 'updatedAt'
1910
+ } as const
1911
+
1912
+ export type DocumentScalarFieldEnum = (typeof DocumentScalarFieldEnum)[keyof typeof DocumentScalarFieldEnum]
1913
+
1914
+
1915
+ export const VersionScalarFieldEnum = {
1916
+ id: 'id',
1917
+ documentId: 'documentId',
1918
+ data: 'data',
1919
+ changedById: 'changedById',
1920
+ changeType: 'changeType',
1921
+ createdAt: 'createdAt'
1922
+ } as const
1923
+
1924
+ export type VersionScalarFieldEnum = (typeof VersionScalarFieldEnum)[keyof typeof VersionScalarFieldEnum]
1925
+
1926
+
1927
+ export const MediaScalarFieldEnum = {
1928
+ id: 'id',
1929
+ filename: 'filename',
1930
+ storageKey: 'storageKey',
1931
+ mimeType: 'mimeType',
1932
+ fileSize: 'fileSize',
1933
+ width: 'width',
1934
+ height: 'height',
1935
+ altText: 'altText',
1936
+ title: 'title',
1937
+ uploadedById: 'uploadedById',
1938
+ focalPointX: 'focalPointX',
1939
+ focalPointY: 'focalPointY',
1940
+ blurHash: 'blurHash',
1941
+ aiAltText: 'aiAltText',
1942
+ aiTags: 'aiTags',
1943
+ aiDescription: 'aiDescription',
1944
+ folderId: 'folderId',
1945
+ createdAt: 'createdAt',
1946
+ updatedAt: 'updatedAt'
1947
+ } as const
1948
+
1949
+ export type MediaScalarFieldEnum = (typeof MediaScalarFieldEnum)[keyof typeof MediaScalarFieldEnum]
1950
+
1951
+
1952
+ export const MediaUsageScalarFieldEnum = {
1953
+ id: 'id',
1954
+ mediaId: 'mediaId',
1955
+ documentId: 'documentId',
1956
+ fieldName: 'fieldName',
1957
+ createdAt: 'createdAt'
1958
+ } as const
1959
+
1960
+ export type MediaUsageScalarFieldEnum = (typeof MediaUsageScalarFieldEnum)[keyof typeof MediaUsageScalarFieldEnum]
1961
+
1962
+
1963
+ export const ContentLockScalarFieldEnum = {
1964
+ id: 'id',
1965
+ documentId: 'documentId',
1966
+ userId: 'userId',
1967
+ lockedAt: 'lockedAt',
1968
+ expiresAt: 'expiresAt'
1969
+ } as const
1970
+
1971
+ export type ContentLockScalarFieldEnum = (typeof ContentLockScalarFieldEnum)[keyof typeof ContentLockScalarFieldEnum]
1972
+
1973
+
1974
+ export const InAppNotificationScalarFieldEnum = {
1975
+ id: 'id',
1976
+ userId: 'userId',
1977
+ type: 'type',
1978
+ title: 'title',
1979
+ message: 'message',
1980
+ link: 'link',
1981
+ read: 'read',
1982
+ createdAt: 'createdAt'
1983
+ } as const
1984
+
1985
+ export type InAppNotificationScalarFieldEnum = (typeof InAppNotificationScalarFieldEnum)[keyof typeof InAppNotificationScalarFieldEnum]
1986
+
1987
+
1988
+ export const ContentTemplateScalarFieldEnum = {
1989
+ id: 'id',
1990
+ name: 'name',
1991
+ collection: 'collection',
1992
+ templateData: 'templateData',
1993
+ createdById: 'createdById',
1994
+ createdAt: 'createdAt',
1995
+ updatedAt: 'updatedAt'
1996
+ } as const
1997
+
1998
+ export type ContentTemplateScalarFieldEnum = (typeof ContentTemplateScalarFieldEnum)[keyof typeof ContentTemplateScalarFieldEnum]
1999
+
2000
+
2001
+ export const SiteScalarFieldEnum = {
2002
+ id: 'id',
2003
+ domain: 'domain',
2004
+ name: 'name',
2005
+ configOverrides: 'configOverrides',
2006
+ isDefault: 'isDefault',
2007
+ createdAt: 'createdAt',
2008
+ updatedAt: 'updatedAt'
2009
+ } as const
2010
+
2011
+ export type SiteScalarFieldEnum = (typeof SiteScalarFieldEnum)[keyof typeof SiteScalarFieldEnum]
2012
+
2013
+
2014
+ export const WorkflowStateScalarFieldEnum = {
2015
+ id: 'id',
2016
+ documentId: 'documentId',
2017
+ currentStep: 'currentStep',
2018
+ assignedToId: 'assignedToId',
2019
+ status: 'status',
2020
+ definition: 'definition',
2021
+ createdAt: 'createdAt',
2022
+ updatedAt: 'updatedAt'
2023
+ } as const
2024
+
2025
+ export type WorkflowStateScalarFieldEnum = (typeof WorkflowStateScalarFieldEnum)[keyof typeof WorkflowStateScalarFieldEnum]
2026
+
2027
+
2028
+ export const RedirectScalarFieldEnum = {
2029
+ id: 'id',
2030
+ source: 'source',
2031
+ destination: 'destination',
2032
+ statusCode: 'statusCode',
2033
+ isRegex: 'isRegex',
2034
+ notes: 'notes',
2035
+ createdAt: 'createdAt',
2036
+ updatedAt: 'updatedAt'
2037
+ } as const
2038
+
2039
+ export type RedirectScalarFieldEnum = (typeof RedirectScalarFieldEnum)[keyof typeof RedirectScalarFieldEnum]
2040
+
2041
+
2042
+ export const FormSubmissionScalarFieldEnum = {
2043
+ id: 'id',
2044
+ formId: 'formId',
2045
+ data: 'data',
2046
+ attribution: 'attribution',
2047
+ status: 'status',
2048
+ submittedAt: 'submittedAt',
2049
+ createdAt: 'createdAt'
2050
+ } as const
2051
+
2052
+ export type FormSubmissionScalarFieldEnum = (typeof FormSubmissionScalarFieldEnum)[keyof typeof FormSubmissionScalarFieldEnum]
2053
+
2054
+
2055
+ export const BackupRecordScalarFieldEnum = {
2056
+ id: 'id',
2057
+ filename: 'filename',
2058
+ storageKey: 'storageKey',
2059
+ sizeBytes: 'sizeBytes',
2060
+ type: 'type',
2061
+ metadata: 'metadata',
2062
+ createdAt: 'createdAt'
2063
+ } as const
2064
+
2065
+ export type BackupRecordScalarFieldEnum = (typeof BackupRecordScalarFieldEnum)[keyof typeof BackupRecordScalarFieldEnum]
2066
+
2067
+
2068
+ export const SortOrder = {
2069
+ asc: 'asc',
2070
+ desc: 'desc'
2071
+ } as const
2072
+
2073
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
2074
+
2075
+
2076
+ export const JsonNullValueInput = {
2077
+ JsonNull: JsonNull
2078
+ } as const
2079
+
2080
+ export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
2081
+
2082
+
2083
+ export const NullableJsonNullValueInput = {
2084
+ DbNull: DbNull,
2085
+ JsonNull: JsonNull
2086
+ } as const
2087
+
2088
+ export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
2089
+
2090
+
2091
+ export const QueryMode = {
2092
+ default: 'default',
2093
+ insensitive: 'insensitive'
2094
+ } as const
2095
+
2096
+ export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
2097
+
2098
+
2099
+ export const NullsOrder = {
2100
+ first: 'first',
2101
+ last: 'last'
2102
+ } as const
2103
+
2104
+ export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
2105
+
2106
+
2107
+ export const UserOrderByRelevanceFieldEnum = {
2108
+ id: 'id',
2109
+ email: 'email',
2110
+ name: 'name',
2111
+ avatarUrl: 'avatarUrl',
2112
+ passwordHash: 'passwordHash',
2113
+ totpSecret: 'totpSecret',
2114
+ authProvider: 'authProvider'
2115
+ } as const
2116
+
2117
+ export type UserOrderByRelevanceFieldEnum = (typeof UserOrderByRelevanceFieldEnum)[keyof typeof UserOrderByRelevanceFieldEnum]
2118
+
2119
+
2120
+ export const OAuthAccountOrderByRelevanceFieldEnum = {
2121
+ id: 'id',
2122
+ userId: 'userId',
2123
+ provider: 'provider',
2124
+ providerAccountId: 'providerAccountId',
2125
+ accessToken: 'accessToken',
2126
+ refreshToken: 'refreshToken'
2127
+ } as const
2128
+
2129
+ export type OAuthAccountOrderByRelevanceFieldEnum = (typeof OAuthAccountOrderByRelevanceFieldEnum)[keyof typeof OAuthAccountOrderByRelevanceFieldEnum]
2130
+
2131
+
2132
+ export const SessionOrderByRelevanceFieldEnum = {
2133
+ id: 'id',
2134
+ userId: 'userId',
2135
+ token: 'token',
2136
+ ipAddress: 'ipAddress',
2137
+ userAgent: 'userAgent',
2138
+ fingerprintHash: 'fingerprintHash'
2139
+ } as const
2140
+
2141
+ export type SessionOrderByRelevanceFieldEnum = (typeof SessionOrderByRelevanceFieldEnum)[keyof typeof SessionOrderByRelevanceFieldEnum]
2142
+
2143
+
2144
+ export const JsonNullValueFilter = {
2145
+ DbNull: DbNull,
2146
+ JsonNull: JsonNull,
2147
+ AnyNull: AnyNull
2148
+ } as const
2149
+
2150
+ export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
2151
+
2152
+
2153
+ export const ApiKeyOrderByRelevanceFieldEnum = {
2154
+ id: 'id',
2155
+ name: 'name',
2156
+ keyHash: 'keyHash',
2157
+ keyPrefix: 'keyPrefix',
2158
+ userId: 'userId'
2159
+ } as const
2160
+
2161
+ export type ApiKeyOrderByRelevanceFieldEnum = (typeof ApiKeyOrderByRelevanceFieldEnum)[keyof typeof ApiKeyOrderByRelevanceFieldEnum]
2162
+
2163
+
2164
+ export const AuditLogOrderByRelevanceFieldEnum = {
2165
+ id: 'id',
2166
+ event: 'event',
2167
+ userId: 'userId',
2168
+ ipAddress: 'ipAddress',
2169
+ userAgent: 'userAgent'
2170
+ } as const
2171
+
2172
+ export type AuditLogOrderByRelevanceFieldEnum = (typeof AuditLogOrderByRelevanceFieldEnum)[keyof typeof AuditLogOrderByRelevanceFieldEnum]
2173
+
2174
+
2175
+ export const FolderOrderByRelevanceFieldEnum = {
2176
+ id: 'id',
2177
+ name: 'name',
2178
+ scope: 'scope',
2179
+ parentId: 'parentId'
2180
+ } as const
2181
+
2182
+ export type FolderOrderByRelevanceFieldEnum = (typeof FolderOrderByRelevanceFieldEnum)[keyof typeof FolderOrderByRelevanceFieldEnum]
2183
+
2184
+
2185
+ export const DocumentOrderByRelevanceFieldEnum = {
2186
+ id: 'id',
2187
+ collection: 'collection',
2188
+ locale: 'locale',
2189
+ localeGroupId: 'localeGroupId',
2190
+ createdById: 'createdById',
2191
+ updatedById: 'updatedById',
2192
+ searchVector: 'searchVector',
2193
+ plainText: 'plainText',
2194
+ contentHash: 'contentHash',
2195
+ siteId: 'siteId',
2196
+ templateId: 'templateId',
2197
+ folderId: 'folderId'
2198
+ } as const
2199
+
2200
+ export type DocumentOrderByRelevanceFieldEnum = (typeof DocumentOrderByRelevanceFieldEnum)[keyof typeof DocumentOrderByRelevanceFieldEnum]
2201
+
2202
+
2203
+ export const VersionOrderByRelevanceFieldEnum = {
2204
+ id: 'id',
2205
+ documentId: 'documentId',
2206
+ changedById: 'changedById'
2207
+ } as const
2208
+
2209
+ export type VersionOrderByRelevanceFieldEnum = (typeof VersionOrderByRelevanceFieldEnum)[keyof typeof VersionOrderByRelevanceFieldEnum]
2210
+
2211
+
2212
+ export const MediaOrderByRelevanceFieldEnum = {
2213
+ id: 'id',
2214
+ filename: 'filename',
2215
+ storageKey: 'storageKey',
2216
+ mimeType: 'mimeType',
2217
+ altText: 'altText',
2218
+ title: 'title',
2219
+ uploadedById: 'uploadedById',
2220
+ blurHash: 'blurHash',
2221
+ aiAltText: 'aiAltText',
2222
+ aiDescription: 'aiDescription',
2223
+ folderId: 'folderId'
2224
+ } as const
2225
+
2226
+ export type MediaOrderByRelevanceFieldEnum = (typeof MediaOrderByRelevanceFieldEnum)[keyof typeof MediaOrderByRelevanceFieldEnum]
2227
+
2228
+
2229
+ export const MediaUsageOrderByRelevanceFieldEnum = {
2230
+ id: 'id',
2231
+ mediaId: 'mediaId',
2232
+ documentId: 'documentId',
2233
+ fieldName: 'fieldName'
2234
+ } as const
2235
+
2236
+ export type MediaUsageOrderByRelevanceFieldEnum = (typeof MediaUsageOrderByRelevanceFieldEnum)[keyof typeof MediaUsageOrderByRelevanceFieldEnum]
2237
+
2238
+
2239
+ export const ContentLockOrderByRelevanceFieldEnum = {
2240
+ id: 'id',
2241
+ documentId: 'documentId',
2242
+ userId: 'userId'
2243
+ } as const
2244
+
2245
+ export type ContentLockOrderByRelevanceFieldEnum = (typeof ContentLockOrderByRelevanceFieldEnum)[keyof typeof ContentLockOrderByRelevanceFieldEnum]
2246
+
2247
+
2248
+ export const InAppNotificationOrderByRelevanceFieldEnum = {
2249
+ id: 'id',
2250
+ userId: 'userId',
2251
+ type: 'type',
2252
+ title: 'title',
2253
+ message: 'message',
2254
+ link: 'link'
2255
+ } as const
2256
+
2257
+ export type InAppNotificationOrderByRelevanceFieldEnum = (typeof InAppNotificationOrderByRelevanceFieldEnum)[keyof typeof InAppNotificationOrderByRelevanceFieldEnum]
2258
+
2259
+
2260
+ export const ContentTemplateOrderByRelevanceFieldEnum = {
2261
+ id: 'id',
2262
+ name: 'name',
2263
+ collection: 'collection',
2264
+ createdById: 'createdById'
2265
+ } as const
2266
+
2267
+ export type ContentTemplateOrderByRelevanceFieldEnum = (typeof ContentTemplateOrderByRelevanceFieldEnum)[keyof typeof ContentTemplateOrderByRelevanceFieldEnum]
2268
+
2269
+
2270
+ export const SiteOrderByRelevanceFieldEnum = {
2271
+ id: 'id',
2272
+ domain: 'domain',
2273
+ name: 'name'
2274
+ } as const
2275
+
2276
+ export type SiteOrderByRelevanceFieldEnum = (typeof SiteOrderByRelevanceFieldEnum)[keyof typeof SiteOrderByRelevanceFieldEnum]
2277
+
2278
+
2279
+ export const WorkflowStateOrderByRelevanceFieldEnum = {
2280
+ id: 'id',
2281
+ documentId: 'documentId',
2282
+ assignedToId: 'assignedToId',
2283
+ status: 'status'
2284
+ } as const
2285
+
2286
+ export type WorkflowStateOrderByRelevanceFieldEnum = (typeof WorkflowStateOrderByRelevanceFieldEnum)[keyof typeof WorkflowStateOrderByRelevanceFieldEnum]
2287
+
2288
+
2289
+ export const RedirectOrderByRelevanceFieldEnum = {
2290
+ id: 'id',
2291
+ source: 'source',
2292
+ destination: 'destination',
2293
+ notes: 'notes'
2294
+ } as const
2295
+
2296
+ export type RedirectOrderByRelevanceFieldEnum = (typeof RedirectOrderByRelevanceFieldEnum)[keyof typeof RedirectOrderByRelevanceFieldEnum]
2297
+
2298
+
2299
+ export const FormSubmissionOrderByRelevanceFieldEnum = {
2300
+ id: 'id',
2301
+ formId: 'formId',
2302
+ status: 'status'
2303
+ } as const
2304
+
2305
+ export type FormSubmissionOrderByRelevanceFieldEnum = (typeof FormSubmissionOrderByRelevanceFieldEnum)[keyof typeof FormSubmissionOrderByRelevanceFieldEnum]
2306
+
2307
+
2308
+ export const BackupRecordOrderByRelevanceFieldEnum = {
2309
+ id: 'id',
2310
+ filename: 'filename',
2311
+ storageKey: 'storageKey',
2312
+ type: 'type'
2313
+ } as const
2314
+
2315
+ export type BackupRecordOrderByRelevanceFieldEnum = (typeof BackupRecordOrderByRelevanceFieldEnum)[keyof typeof BackupRecordOrderByRelevanceFieldEnum]
2316
+
2317
+
2318
+
2319
+ /**
2320
+ * Field references
2321
+ */
2322
+
2323
+
2324
+ /**
2325
+ * Reference to a field of type 'String'
2326
+ */
2327
+ export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>
2328
+
2329
+
2330
+
2331
+ /**
2332
+ * Reference to a field of type 'String[]'
2333
+ */
2334
+ export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>
2335
+
2336
+
2337
+
2338
+ /**
2339
+ * Reference to a field of type 'UserRole'
2340
+ */
2341
+ export type EnumUserRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserRole'>
2342
+
2343
+
2344
+
2345
+ /**
2346
+ * Reference to a field of type 'UserRole[]'
2347
+ */
2348
+ export type ListEnumUserRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserRole[]'>
2349
+
2350
+
2351
+
2352
+ /**
2353
+ * Reference to a field of type 'Boolean'
2354
+ */
2355
+ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'>
2356
+
2357
+
2358
+
2359
+ /**
2360
+ * Reference to a field of type 'DateTime'
2361
+ */
2362
+ export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>
2363
+
2364
+
2365
+
2366
+ /**
2367
+ * Reference to a field of type 'DateTime[]'
2368
+ */
2369
+ export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>
2370
+
2371
+
2372
+
2373
+ /**
2374
+ * Reference to a field of type 'Json'
2375
+ */
2376
+ export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>
2377
+
2378
+
2379
+
2380
+ /**
2381
+ * Reference to a field of type 'QueryMode'
2382
+ */
2383
+ export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'>
2384
+
2385
+
2386
+
2387
+ /**
2388
+ * Reference to a field of type 'Int'
2389
+ */
2390
+ export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
2391
+
2392
+
2393
+
2394
+ /**
2395
+ * Reference to a field of type 'Int[]'
2396
+ */
2397
+ export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
2398
+
2399
+
2400
+
2401
+ /**
2402
+ * Reference to a field of type 'DocumentStatus'
2403
+ */
2404
+ export type EnumDocumentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DocumentStatus'>
2405
+
2406
+
2407
+
2408
+ /**
2409
+ * Reference to a field of type 'DocumentStatus[]'
2410
+ */
2411
+ export type ListEnumDocumentStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DocumentStatus[]'>
2412
+
2413
+
2414
+
2415
+ /**
2416
+ * Reference to a field of type 'ChangeType'
2417
+ */
2418
+ export type EnumChangeTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ChangeType'>
2419
+
2420
+
2421
+
2422
+ /**
2423
+ * Reference to a field of type 'ChangeType[]'
2424
+ */
2425
+ export type ListEnumChangeTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ChangeType[]'>
2426
+
2427
+
2428
+
2429
+ /**
2430
+ * Reference to a field of type 'Float'
2431
+ */
2432
+ export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>
2433
+
2434
+
2435
+
2436
+ /**
2437
+ * Reference to a field of type 'Float[]'
2438
+ */
2439
+ export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>
2440
+
2441
+
2442
+ /**
2443
+ * Batch Payload for updateMany & deleteMany & createMany
2444
+ */
2445
+ export type BatchPayload = {
2446
+ count: number
2447
+ }
2448
+
2449
+ export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>
2450
+ export type DefaultPrismaClient = PrismaClient
2451
+ export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
2452
+ export type PrismaClientOptions = ({
2453
+ /**
2454
+ * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`.
2455
+ */
2456
+ adapter: runtime.SqlDriverAdapterFactory
2457
+ accelerateUrl?: never
2458
+ } | {
2459
+ /**
2460
+ * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database.
2461
+ */
2462
+ accelerateUrl: string
2463
+ adapter?: never
2464
+ }) & {
2465
+ /**
2466
+ * @default "colorless"
2467
+ */
2468
+ errorFormat?: ErrorFormat
2469
+ /**
2470
+ * @example
2471
+ * ```
2472
+ * // Shorthand for `emit: 'stdout'`
2473
+ * log: ['query', 'info', 'warn', 'error']
2474
+ *
2475
+ * // Emit as events only
2476
+ * log: [
2477
+ * { emit: 'event', level: 'query' },
2478
+ * { emit: 'event', level: 'info' },
2479
+ * { emit: 'event', level: 'warn' }
2480
+ * { emit: 'event', level: 'error' }
2481
+ * ]
2482
+ *
2483
+ * / Emit as events and log to stdout
2484
+ * og: [
2485
+ * { emit: 'stdout', level: 'query' },
2486
+ * { emit: 'stdout', level: 'info' },
2487
+ * { emit: 'stdout', level: 'warn' }
2488
+ * { emit: 'stdout', level: 'error' }
2489
+ *
2490
+ * ```
2491
+ * Read more in our [docs](https://pris.ly/d/logging).
2492
+ */
2493
+ log?: (LogLevel | LogDefinition)[]
2494
+ /**
2495
+ * The default values for transactionOptions
2496
+ * maxWait ?= 2000
2497
+ * timeout ?= 5000
2498
+ */
2499
+ transactionOptions?: {
2500
+ maxWait?: number
2501
+ timeout?: number
2502
+ isolationLevel?: TransactionIsolationLevel
2503
+ }
2504
+ /**
2505
+ * Global configuration for omitting model fields by default.
2506
+ *
2507
+ * @example
2508
+ * ```
2509
+ * const prisma = new PrismaClient({
2510
+ * omit: {
2511
+ * user: {
2512
+ * password: true
2513
+ * }
2514
+ * }
2515
+ * })
2516
+ * ```
2517
+ */
2518
+ omit?: GlobalOmitConfig
2519
+ /**
2520
+ * SQL commenter plugins that add metadata to SQL queries as comments.
2521
+ * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/
2522
+ *
2523
+ * @example
2524
+ * ```
2525
+ * const prisma = new PrismaClient({
2526
+ * adapter,
2527
+ * comments: [
2528
+ * traceContext(),
2529
+ * queryInsights(),
2530
+ * ],
2531
+ * })
2532
+ * ```
2533
+ */
2534
+ comments?: runtime.SqlCommenterPlugin[]
2535
+ }
2536
+ export type GlobalOmitConfig = {
2537
+ user?: Prisma.UserOmit
2538
+ oAuthAccount?: Prisma.OAuthAccountOmit
2539
+ session?: Prisma.SessionOmit
2540
+ apiKey?: Prisma.ApiKeyOmit
2541
+ auditLog?: Prisma.AuditLogOmit
2542
+ folder?: Prisma.FolderOmit
2543
+ document?: Prisma.DocumentOmit
2544
+ version?: Prisma.VersionOmit
2545
+ media?: Prisma.MediaOmit
2546
+ mediaUsage?: Prisma.MediaUsageOmit
2547
+ contentLock?: Prisma.ContentLockOmit
2548
+ inAppNotification?: Prisma.InAppNotificationOmit
2549
+ contentTemplate?: Prisma.ContentTemplateOmit
2550
+ site?: Prisma.SiteOmit
2551
+ workflowState?: Prisma.WorkflowStateOmit
2552
+ redirect?: Prisma.RedirectOmit
2553
+ formSubmission?: Prisma.FormSubmissionOmit
2554
+ backupRecord?: Prisma.BackupRecordOmit
2555
+ }
2556
+
2557
+ /* Types for Logging */
2558
+ export type LogLevel = 'info' | 'query' | 'warn' | 'error'
2559
+ export type LogDefinition = {
2560
+ level: LogLevel
2561
+ emit: 'stdout' | 'event'
2562
+ }
2563
+
2564
+ export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
2565
+
2566
+ export type GetLogType<T> = CheckIsLogLevel<
2567
+ T extends LogDefinition ? T['level'] : T
2568
+ >;
2569
+
2570
+ export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition>
2571
+ ? GetLogType<T[number]>
2572
+ : never;
2573
+
2574
+ export type QueryEvent = {
2575
+ timestamp: Date
2576
+ query: string
2577
+ params: string
2578
+ duration: number
2579
+ target: string
2580
+ }
2581
+
2582
+ export type LogEvent = {
2583
+ timestamp: Date
2584
+ message: string
2585
+ target: string
2586
+ }
2587
+ /* End Types for Logging */
2588
+
2589
+
2590
+ export type PrismaAction =
2591
+ | 'findUnique'
2592
+ | 'findUniqueOrThrow'
2593
+ | 'findMany'
2594
+ | 'findFirst'
2595
+ | 'findFirstOrThrow'
2596
+ | 'create'
2597
+ | 'createMany'
2598
+ | 'createManyAndReturn'
2599
+ | 'update'
2600
+ | 'updateMany'
2601
+ | 'updateManyAndReturn'
2602
+ | 'upsert'
2603
+ | 'delete'
2604
+ | 'deleteMany'
2605
+ | 'executeRaw'
2606
+ | 'queryRaw'
2607
+ | 'aggregate'
2608
+ | 'count'
2609
+ | 'runCommandRaw'
2610
+ | 'findRaw'
2611
+ | 'groupBy'
2612
+
2613
+ /**
2614
+ * `PrismaClient` proxy available in interactive transactions.
2615
+ */
2616
+ export type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList>
2617
+