@actuate-media/cms-core 0.2.3 → 0.3.1

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 (81) hide show
  1. package/LICENSE +21 -21
  2. package/dist/__tests__/auth/session.test.js +1 -1
  3. package/dist/__tests__/auth/session.test.js.map +1 -1
  4. package/dist/api/handler-factory.d.ts.map +1 -1
  5. package/dist/api/handler-factory.js +85 -68
  6. package/dist/api/handler-factory.js.map +1 -1
  7. package/dist/api/handlers.d.ts +1 -1
  8. package/dist/api/handlers.d.ts.map +1 -1
  9. package/dist/api/handlers.js +212 -31
  10. package/dist/api/handlers.js.map +1 -1
  11. package/dist/api/index.d.ts +2 -19
  12. package/dist/api/index.d.ts.map +1 -1
  13. package/dist/api/index.js +1 -54
  14. package/dist/api/index.js.map +1 -1
  15. package/dist/api/router.d.ts +20 -0
  16. package/dist/api/router.d.ts.map +1 -0
  17. package/dist/api/router.js +55 -0
  18. package/dist/api/router.js.map +1 -0
  19. package/dist/config/index.d.ts.map +1 -1
  20. package/dist/config/index.js +2 -0
  21. package/dist/config/index.js.map +1 -1
  22. package/dist/i18n/index.js +8 -8
  23. package/dist/media/optimize.d.ts +2 -3
  24. package/dist/media/optimize.d.ts.map +1 -1
  25. package/dist/media/optimize.js +10 -1
  26. package/dist/media/optimize.js.map +1 -1
  27. package/dist/next.d.ts +3 -3
  28. package/dist/next.d.ts.map +1 -1
  29. package/dist/next.js +8 -8
  30. package/dist/next.js.map +1 -1
  31. package/dist/search/index.js +22 -22
  32. package/dist/security/anomaly-detection.d.ts +1 -1
  33. package/dist/security/anomaly-detection.d.ts.map +1 -1
  34. package/dist/security/anomaly-detection.js +27 -5
  35. package/dist/security/anomaly-detection.js.map +1 -1
  36. package/dist/security/reauth.d.ts +1 -1
  37. package/dist/security/reauth.d.ts.map +1 -1
  38. package/dist/security/reauth.js +12 -4
  39. package/dist/security/reauth.js.map +1 -1
  40. package/dist/security/sanitize.d.ts +1 -1
  41. package/dist/security/sanitize.d.ts.map +1 -1
  42. package/dist/security/sanitize.js +9 -11
  43. package/dist/security/sanitize.js.map +1 -1
  44. package/dist/security/webhook.d.ts +1 -1
  45. package/dist/security/webhook.d.ts.map +1 -1
  46. package/dist/security/webhook.js +24 -3
  47. package/dist/security/webhook.js.map +1 -1
  48. package/package.json +3 -2
  49. package/prisma/cms-schema.prisma +237 -237
  50. package/prisma/migrations/0001_init/migration.sql +384 -384
  51. package/prisma/migrations/0002_folders/migration.sql +39 -39
  52. package/prisma/migrations/0003_search_and_webhooks/migration.sql +50 -50
  53. package/prisma/migrations/migration_lock.toml +3 -3
  54. package/prisma/schema.prisma +485 -485
  55. package/prisma/seed.ts +82 -82
  56. package/generated/browser.ts +0 -109
  57. package/generated/client.ts +0 -133
  58. package/generated/commonInputTypes.ts +0 -709
  59. package/generated/enums.ts +0 -125
  60. package/generated/internal/class.ts +0 -376
  61. package/generated/internal/prismaNamespace.ts +0 -2617
  62. package/generated/internal/prismaNamespaceBrowser.ts +0 -611
  63. package/generated/models/ApiKey.ts +0 -1550
  64. package/generated/models/AuditLog.ts +0 -1206
  65. package/generated/models/BackupRecord.ts +0 -1250
  66. package/generated/models/ContentLock.ts +0 -1472
  67. package/generated/models/ContentTemplate.ts +0 -1416
  68. package/generated/models/Document.ts +0 -3005
  69. package/generated/models/Folder.ts +0 -1904
  70. package/generated/models/FormSubmission.ts +0 -1200
  71. package/generated/models/InAppNotification.ts +0 -1457
  72. package/generated/models/Media.ts +0 -2340
  73. package/generated/models/MediaUsage.ts +0 -1472
  74. package/generated/models/OAuthAccount.ts +0 -1463
  75. package/generated/models/Redirect.ts +0 -1284
  76. package/generated/models/Session.ts +0 -1492
  77. package/generated/models/Site.ts +0 -1206
  78. package/generated/models/User.ts +0 -3513
  79. package/generated/models/Version.ts +0 -1511
  80. package/generated/models/WorkflowState.ts +0 -1514
  81. package/generated/models.ts +0 -29
@@ -1,3005 +0,0 @@
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
- * This file exports the `Document` model and its related types.
8
- *
9
- * 🟢 You can import this file directly.
10
- */
11
- import type * as runtime from "@prisma/client/runtime/client"
12
- import type * as $Enums from "../enums"
13
- import type * as Prisma from "../internal/prismaNamespace"
14
-
15
- /**
16
- * Model Document
17
- *
18
- */
19
- export type DocumentModel = runtime.Types.Result.DefaultSelection<Prisma.$DocumentPayload>
20
-
21
- export type AggregateDocument = {
22
- _count: DocumentCountAggregateOutputType | null
23
- _min: DocumentMinAggregateOutputType | null
24
- _max: DocumentMaxAggregateOutputType | null
25
- }
26
-
27
- export type DocumentMinAggregateOutputType = {
28
- id: string | null
29
- collection: string | null
30
- status: $Enums.DocumentStatus | null
31
- locale: string | null
32
- localeGroupId: string | null
33
- createdById: string | null
34
- updatedById: string | null
35
- publishedAt: Date | null
36
- scheduledAt: Date | null
37
- scheduledUnpublishAt: Date | null
38
- deletedAt: Date | null
39
- searchVector: string | null
40
- plainText: string | null
41
- contentHash: string | null
42
- siteId: string | null
43
- templateId: string | null
44
- folderId: string | null
45
- createdAt: Date | null
46
- updatedAt: Date | null
47
- }
48
-
49
- export type DocumentMaxAggregateOutputType = {
50
- id: string | null
51
- collection: string | null
52
- status: $Enums.DocumentStatus | null
53
- locale: string | null
54
- localeGroupId: string | null
55
- createdById: string | null
56
- updatedById: string | null
57
- publishedAt: Date | null
58
- scheduledAt: Date | null
59
- scheduledUnpublishAt: Date | null
60
- deletedAt: Date | null
61
- searchVector: string | null
62
- plainText: string | null
63
- contentHash: string | null
64
- siteId: string | null
65
- templateId: string | null
66
- folderId: string | null
67
- createdAt: Date | null
68
- updatedAt: Date | null
69
- }
70
-
71
- export type DocumentCountAggregateOutputType = {
72
- id: number
73
- collection: number
74
- data: number
75
- status: number
76
- locale: number
77
- localeGroupId: number
78
- createdById: number
79
- updatedById: number
80
- publishedAt: number
81
- scheduledAt: number
82
- scheduledUnpublishAt: number
83
- deletedAt: number
84
- searchVector: number
85
- plainText: number
86
- contentHash: number
87
- structuredData: number
88
- contentGraph: number
89
- siteId: number
90
- templateId: number
91
- folderId: number
92
- createdAt: number
93
- updatedAt: number
94
- _all: number
95
- }
96
-
97
-
98
- export type DocumentMinAggregateInputType = {
99
- id?: true
100
- collection?: true
101
- status?: true
102
- locale?: true
103
- localeGroupId?: true
104
- createdById?: true
105
- updatedById?: true
106
- publishedAt?: true
107
- scheduledAt?: true
108
- scheduledUnpublishAt?: true
109
- deletedAt?: true
110
- searchVector?: true
111
- plainText?: true
112
- contentHash?: true
113
- siteId?: true
114
- templateId?: true
115
- folderId?: true
116
- createdAt?: true
117
- updatedAt?: true
118
- }
119
-
120
- export type DocumentMaxAggregateInputType = {
121
- id?: true
122
- collection?: true
123
- status?: true
124
- locale?: true
125
- localeGroupId?: true
126
- createdById?: true
127
- updatedById?: true
128
- publishedAt?: true
129
- scheduledAt?: true
130
- scheduledUnpublishAt?: true
131
- deletedAt?: true
132
- searchVector?: true
133
- plainText?: true
134
- contentHash?: true
135
- siteId?: true
136
- templateId?: true
137
- folderId?: true
138
- createdAt?: true
139
- updatedAt?: true
140
- }
141
-
142
- export type DocumentCountAggregateInputType = {
143
- id?: true
144
- collection?: true
145
- data?: true
146
- status?: true
147
- locale?: true
148
- localeGroupId?: true
149
- createdById?: true
150
- updatedById?: true
151
- publishedAt?: true
152
- scheduledAt?: true
153
- scheduledUnpublishAt?: true
154
- deletedAt?: true
155
- searchVector?: true
156
- plainText?: true
157
- contentHash?: true
158
- structuredData?: true
159
- contentGraph?: true
160
- siteId?: true
161
- templateId?: true
162
- folderId?: true
163
- createdAt?: true
164
- updatedAt?: true
165
- _all?: true
166
- }
167
-
168
- export type DocumentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
169
- /**
170
- * Filter which Document to aggregate.
171
- */
172
- where?: Prisma.DocumentWhereInput
173
- /**
174
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
175
- *
176
- * Determine the order of Documents to fetch.
177
- */
178
- orderBy?: Prisma.DocumentOrderByWithRelationInput | Prisma.DocumentOrderByWithRelationInput[]
179
- /**
180
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
181
- *
182
- * Sets the start position
183
- */
184
- cursor?: Prisma.DocumentWhereUniqueInput
185
- /**
186
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
187
- *
188
- * Take `±n` Documents from the position of the cursor.
189
- */
190
- take?: number
191
- /**
192
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
193
- *
194
- * Skip the first `n` Documents.
195
- */
196
- skip?: number
197
- /**
198
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
199
- *
200
- * Count returned Documents
201
- **/
202
- _count?: true | DocumentCountAggregateInputType
203
- /**
204
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
205
- *
206
- * Select which fields to find the minimum value
207
- **/
208
- _min?: DocumentMinAggregateInputType
209
- /**
210
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
211
- *
212
- * Select which fields to find the maximum value
213
- **/
214
- _max?: DocumentMaxAggregateInputType
215
- }
216
-
217
- export type GetDocumentAggregateType<T extends DocumentAggregateArgs> = {
218
- [P in keyof T & keyof AggregateDocument]: P extends '_count' | 'count'
219
- ? T[P] extends true
220
- ? number
221
- : Prisma.GetScalarType<T[P], AggregateDocument[P]>
222
- : Prisma.GetScalarType<T[P], AggregateDocument[P]>
223
- }
224
-
225
-
226
-
227
-
228
- export type DocumentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
229
- where?: Prisma.DocumentWhereInput
230
- orderBy?: Prisma.DocumentOrderByWithAggregationInput | Prisma.DocumentOrderByWithAggregationInput[]
231
- by: Prisma.DocumentScalarFieldEnum[] | Prisma.DocumentScalarFieldEnum
232
- having?: Prisma.DocumentScalarWhereWithAggregatesInput
233
- take?: number
234
- skip?: number
235
- _count?: DocumentCountAggregateInputType | true
236
- _min?: DocumentMinAggregateInputType
237
- _max?: DocumentMaxAggregateInputType
238
- }
239
-
240
- export type DocumentGroupByOutputType = {
241
- id: string
242
- collection: string
243
- data: runtime.JsonValue
244
- status: $Enums.DocumentStatus
245
- locale: string | null
246
- localeGroupId: string | null
247
- createdById: string
248
- updatedById: string
249
- publishedAt: Date | null
250
- scheduledAt: Date | null
251
- scheduledUnpublishAt: Date | null
252
- deletedAt: Date | null
253
- searchVector: string | null
254
- plainText: string | null
255
- contentHash: string | null
256
- structuredData: runtime.JsonValue | null
257
- contentGraph: runtime.JsonValue | null
258
- siteId: string | null
259
- templateId: string | null
260
- folderId: string | null
261
- createdAt: Date
262
- updatedAt: Date
263
- _count: DocumentCountAggregateOutputType | null
264
- _min: DocumentMinAggregateOutputType | null
265
- _max: DocumentMaxAggregateOutputType | null
266
- }
267
-
268
- type GetDocumentGroupByPayload<T extends DocumentGroupByArgs> = Prisma.PrismaPromise<
269
- Array<
270
- Prisma.PickEnumerable<DocumentGroupByOutputType, T['by']> &
271
- {
272
- [P in ((keyof T) & (keyof DocumentGroupByOutputType))]: P extends '_count'
273
- ? T[P] extends boolean
274
- ? number
275
- : Prisma.GetScalarType<T[P], DocumentGroupByOutputType[P]>
276
- : Prisma.GetScalarType<T[P], DocumentGroupByOutputType[P]>
277
- }
278
- >
279
- >
280
-
281
-
282
-
283
- export type DocumentWhereInput = {
284
- AND?: Prisma.DocumentWhereInput | Prisma.DocumentWhereInput[]
285
- OR?: Prisma.DocumentWhereInput[]
286
- NOT?: Prisma.DocumentWhereInput | Prisma.DocumentWhereInput[]
287
- id?: Prisma.StringFilter<"Document"> | string
288
- collection?: Prisma.StringFilter<"Document"> | string
289
- data?: Prisma.JsonFilter<"Document">
290
- status?: Prisma.EnumDocumentStatusFilter<"Document"> | $Enums.DocumentStatus
291
- locale?: Prisma.StringNullableFilter<"Document"> | string | null
292
- localeGroupId?: Prisma.StringNullableFilter<"Document"> | string | null
293
- createdById?: Prisma.StringFilter<"Document"> | string
294
- updatedById?: Prisma.StringFilter<"Document"> | string
295
- publishedAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
296
- scheduledAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
297
- scheduledUnpublishAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
298
- deletedAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
299
- searchVector?: Prisma.StringNullableFilter<"Document"> | string | null
300
- plainText?: Prisma.StringNullableFilter<"Document"> | string | null
301
- contentHash?: Prisma.StringNullableFilter<"Document"> | string | null
302
- structuredData?: Prisma.JsonNullableFilter<"Document">
303
- contentGraph?: Prisma.JsonNullableFilter<"Document">
304
- siteId?: Prisma.StringNullableFilter<"Document"> | string | null
305
- templateId?: Prisma.StringNullableFilter<"Document"> | string | null
306
- folderId?: Prisma.StringNullableFilter<"Document"> | string | null
307
- createdAt?: Prisma.DateTimeFilter<"Document"> | Date | string
308
- updatedAt?: Prisma.DateTimeFilter<"Document"> | Date | string
309
- createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
310
- updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
311
- folder?: Prisma.XOR<Prisma.FolderNullableScalarRelationFilter, Prisma.FolderWhereInput> | null
312
- versions?: Prisma.VersionListRelationFilter
313
- mediaUsages?: Prisma.MediaUsageListRelationFilter
314
- contentLocks?: Prisma.ContentLockListRelationFilter
315
- }
316
-
317
- export type DocumentOrderByWithRelationInput = {
318
- id?: Prisma.SortOrder
319
- collection?: Prisma.SortOrder
320
- data?: Prisma.SortOrder
321
- status?: Prisma.SortOrder
322
- locale?: Prisma.SortOrderInput | Prisma.SortOrder
323
- localeGroupId?: Prisma.SortOrderInput | Prisma.SortOrder
324
- createdById?: Prisma.SortOrder
325
- updatedById?: Prisma.SortOrder
326
- publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
327
- scheduledAt?: Prisma.SortOrderInput | Prisma.SortOrder
328
- scheduledUnpublishAt?: Prisma.SortOrderInput | Prisma.SortOrder
329
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
330
- searchVector?: Prisma.SortOrderInput | Prisma.SortOrder
331
- plainText?: Prisma.SortOrderInput | Prisma.SortOrder
332
- contentHash?: Prisma.SortOrderInput | Prisma.SortOrder
333
- structuredData?: Prisma.SortOrderInput | Prisma.SortOrder
334
- contentGraph?: Prisma.SortOrderInput | Prisma.SortOrder
335
- siteId?: Prisma.SortOrderInput | Prisma.SortOrder
336
- templateId?: Prisma.SortOrderInput | Prisma.SortOrder
337
- folderId?: Prisma.SortOrderInput | Prisma.SortOrder
338
- createdAt?: Prisma.SortOrder
339
- updatedAt?: Prisma.SortOrder
340
- createdBy?: Prisma.UserOrderByWithRelationInput
341
- updatedBy?: Prisma.UserOrderByWithRelationInput
342
- folder?: Prisma.FolderOrderByWithRelationInput
343
- versions?: Prisma.VersionOrderByRelationAggregateInput
344
- mediaUsages?: Prisma.MediaUsageOrderByRelationAggregateInput
345
- contentLocks?: Prisma.ContentLockOrderByRelationAggregateInput
346
- _relevance?: Prisma.DocumentOrderByRelevanceInput
347
- }
348
-
349
- export type DocumentWhereUniqueInput = Prisma.AtLeast<{
350
- id?: string
351
- AND?: Prisma.DocumentWhereInput | Prisma.DocumentWhereInput[]
352
- OR?: Prisma.DocumentWhereInput[]
353
- NOT?: Prisma.DocumentWhereInput | Prisma.DocumentWhereInput[]
354
- collection?: Prisma.StringFilter<"Document"> | string
355
- data?: Prisma.JsonFilter<"Document">
356
- status?: Prisma.EnumDocumentStatusFilter<"Document"> | $Enums.DocumentStatus
357
- locale?: Prisma.StringNullableFilter<"Document"> | string | null
358
- localeGroupId?: Prisma.StringNullableFilter<"Document"> | string | null
359
- createdById?: Prisma.StringFilter<"Document"> | string
360
- updatedById?: Prisma.StringFilter<"Document"> | string
361
- publishedAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
362
- scheduledAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
363
- scheduledUnpublishAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
364
- deletedAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
365
- searchVector?: Prisma.StringNullableFilter<"Document"> | string | null
366
- plainText?: Prisma.StringNullableFilter<"Document"> | string | null
367
- contentHash?: Prisma.StringNullableFilter<"Document"> | string | null
368
- structuredData?: Prisma.JsonNullableFilter<"Document">
369
- contentGraph?: Prisma.JsonNullableFilter<"Document">
370
- siteId?: Prisma.StringNullableFilter<"Document"> | string | null
371
- templateId?: Prisma.StringNullableFilter<"Document"> | string | null
372
- folderId?: Prisma.StringNullableFilter<"Document"> | string | null
373
- createdAt?: Prisma.DateTimeFilter<"Document"> | Date | string
374
- updatedAt?: Prisma.DateTimeFilter<"Document"> | Date | string
375
- createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
376
- updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
377
- folder?: Prisma.XOR<Prisma.FolderNullableScalarRelationFilter, Prisma.FolderWhereInput> | null
378
- versions?: Prisma.VersionListRelationFilter
379
- mediaUsages?: Prisma.MediaUsageListRelationFilter
380
- contentLocks?: Prisma.ContentLockListRelationFilter
381
- }, "id">
382
-
383
- export type DocumentOrderByWithAggregationInput = {
384
- id?: Prisma.SortOrder
385
- collection?: Prisma.SortOrder
386
- data?: Prisma.SortOrder
387
- status?: Prisma.SortOrder
388
- locale?: Prisma.SortOrderInput | Prisma.SortOrder
389
- localeGroupId?: Prisma.SortOrderInput | Prisma.SortOrder
390
- createdById?: Prisma.SortOrder
391
- updatedById?: Prisma.SortOrder
392
- publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
393
- scheduledAt?: Prisma.SortOrderInput | Prisma.SortOrder
394
- scheduledUnpublishAt?: Prisma.SortOrderInput | Prisma.SortOrder
395
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
396
- searchVector?: Prisma.SortOrderInput | Prisma.SortOrder
397
- plainText?: Prisma.SortOrderInput | Prisma.SortOrder
398
- contentHash?: Prisma.SortOrderInput | Prisma.SortOrder
399
- structuredData?: Prisma.SortOrderInput | Prisma.SortOrder
400
- contentGraph?: Prisma.SortOrderInput | Prisma.SortOrder
401
- siteId?: Prisma.SortOrderInput | Prisma.SortOrder
402
- templateId?: Prisma.SortOrderInput | Prisma.SortOrder
403
- folderId?: Prisma.SortOrderInput | Prisma.SortOrder
404
- createdAt?: Prisma.SortOrder
405
- updatedAt?: Prisma.SortOrder
406
- _count?: Prisma.DocumentCountOrderByAggregateInput
407
- _max?: Prisma.DocumentMaxOrderByAggregateInput
408
- _min?: Prisma.DocumentMinOrderByAggregateInput
409
- }
410
-
411
- export type DocumentScalarWhereWithAggregatesInput = {
412
- AND?: Prisma.DocumentScalarWhereWithAggregatesInput | Prisma.DocumentScalarWhereWithAggregatesInput[]
413
- OR?: Prisma.DocumentScalarWhereWithAggregatesInput[]
414
- NOT?: Prisma.DocumentScalarWhereWithAggregatesInput | Prisma.DocumentScalarWhereWithAggregatesInput[]
415
- id?: Prisma.StringWithAggregatesFilter<"Document"> | string
416
- collection?: Prisma.StringWithAggregatesFilter<"Document"> | string
417
- data?: Prisma.JsonWithAggregatesFilter<"Document">
418
- status?: Prisma.EnumDocumentStatusWithAggregatesFilter<"Document"> | $Enums.DocumentStatus
419
- locale?: Prisma.StringNullableWithAggregatesFilter<"Document"> | string | null
420
- localeGroupId?: Prisma.StringNullableWithAggregatesFilter<"Document"> | string | null
421
- createdById?: Prisma.StringWithAggregatesFilter<"Document"> | string
422
- updatedById?: Prisma.StringWithAggregatesFilter<"Document"> | string
423
- publishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Document"> | Date | string | null
424
- scheduledAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Document"> | Date | string | null
425
- scheduledUnpublishAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Document"> | Date | string | null
426
- deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Document"> | Date | string | null
427
- searchVector?: Prisma.StringNullableWithAggregatesFilter<"Document"> | string | null
428
- plainText?: Prisma.StringNullableWithAggregatesFilter<"Document"> | string | null
429
- contentHash?: Prisma.StringNullableWithAggregatesFilter<"Document"> | string | null
430
- structuredData?: Prisma.JsonNullableWithAggregatesFilter<"Document">
431
- contentGraph?: Prisma.JsonNullableWithAggregatesFilter<"Document">
432
- siteId?: Prisma.StringNullableWithAggregatesFilter<"Document"> | string | null
433
- templateId?: Prisma.StringNullableWithAggregatesFilter<"Document"> | string | null
434
- folderId?: Prisma.StringNullableWithAggregatesFilter<"Document"> | string | null
435
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Document"> | Date | string
436
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Document"> | Date | string
437
- }
438
-
439
- export type DocumentCreateInput = {
440
- id?: string
441
- collection: string
442
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
443
- status?: $Enums.DocumentStatus
444
- locale?: string | null
445
- localeGroupId?: string | null
446
- publishedAt?: Date | string | null
447
- scheduledAt?: Date | string | null
448
- scheduledUnpublishAt?: Date | string | null
449
- deletedAt?: Date | string | null
450
- searchVector?: string | null
451
- plainText?: string | null
452
- contentHash?: string | null
453
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
454
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
455
- siteId?: string | null
456
- templateId?: string | null
457
- createdAt?: Date | string
458
- updatedAt?: Date | string
459
- createdBy: Prisma.UserCreateNestedOneWithoutDocumentsInput
460
- updatedBy: Prisma.UserCreateNestedOneWithoutUpdatedDocumentsInput
461
- folder?: Prisma.FolderCreateNestedOneWithoutDocumentsInput
462
- versions?: Prisma.VersionCreateNestedManyWithoutDocumentInput
463
- mediaUsages?: Prisma.MediaUsageCreateNestedManyWithoutDocumentInput
464
- contentLocks?: Prisma.ContentLockCreateNestedManyWithoutDocumentInput
465
- }
466
-
467
- export type DocumentUncheckedCreateInput = {
468
- id?: string
469
- collection: string
470
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
471
- status?: $Enums.DocumentStatus
472
- locale?: string | null
473
- localeGroupId?: string | null
474
- createdById: string
475
- updatedById: string
476
- publishedAt?: Date | string | null
477
- scheduledAt?: Date | string | null
478
- scheduledUnpublishAt?: Date | string | null
479
- deletedAt?: Date | string | null
480
- searchVector?: string | null
481
- plainText?: string | null
482
- contentHash?: string | null
483
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
484
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
485
- siteId?: string | null
486
- templateId?: string | null
487
- folderId?: string | null
488
- createdAt?: Date | string
489
- updatedAt?: Date | string
490
- versions?: Prisma.VersionUncheckedCreateNestedManyWithoutDocumentInput
491
- mediaUsages?: Prisma.MediaUsageUncheckedCreateNestedManyWithoutDocumentInput
492
- contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutDocumentInput
493
- }
494
-
495
- export type DocumentUpdateInput = {
496
- id?: Prisma.StringFieldUpdateOperationsInput | string
497
- collection?: Prisma.StringFieldUpdateOperationsInput | string
498
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
499
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
500
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
501
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
502
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
503
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
504
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
505
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
506
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
507
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
508
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
509
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
510
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
511
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
512
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
513
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
514
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
515
- createdBy?: Prisma.UserUpdateOneRequiredWithoutDocumentsNestedInput
516
- updatedBy?: Prisma.UserUpdateOneRequiredWithoutUpdatedDocumentsNestedInput
517
- folder?: Prisma.FolderUpdateOneWithoutDocumentsNestedInput
518
- versions?: Prisma.VersionUpdateManyWithoutDocumentNestedInput
519
- mediaUsages?: Prisma.MediaUsageUpdateManyWithoutDocumentNestedInput
520
- contentLocks?: Prisma.ContentLockUpdateManyWithoutDocumentNestedInput
521
- }
522
-
523
- export type DocumentUncheckedUpdateInput = {
524
- id?: Prisma.StringFieldUpdateOperationsInput | string
525
- collection?: Prisma.StringFieldUpdateOperationsInput | string
526
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
527
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
528
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
529
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
530
- createdById?: Prisma.StringFieldUpdateOperationsInput | string
531
- updatedById?: Prisma.StringFieldUpdateOperationsInput | string
532
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
533
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
534
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
535
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
536
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
537
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
538
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
539
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
540
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
541
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
542
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
543
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
544
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
545
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
546
- versions?: Prisma.VersionUncheckedUpdateManyWithoutDocumentNestedInput
547
- mediaUsages?: Prisma.MediaUsageUncheckedUpdateManyWithoutDocumentNestedInput
548
- contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutDocumentNestedInput
549
- }
550
-
551
- export type DocumentCreateManyInput = {
552
- id?: string
553
- collection: string
554
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
555
- status?: $Enums.DocumentStatus
556
- locale?: string | null
557
- localeGroupId?: string | null
558
- createdById: string
559
- updatedById: string
560
- publishedAt?: Date | string | null
561
- scheduledAt?: Date | string | null
562
- scheduledUnpublishAt?: Date | string | null
563
- deletedAt?: Date | string | null
564
- searchVector?: string | null
565
- plainText?: string | null
566
- contentHash?: string | null
567
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
568
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
569
- siteId?: string | null
570
- templateId?: string | null
571
- folderId?: string | null
572
- createdAt?: Date | string
573
- updatedAt?: Date | string
574
- }
575
-
576
- export type DocumentUpdateManyMutationInput = {
577
- id?: Prisma.StringFieldUpdateOperationsInput | string
578
- collection?: Prisma.StringFieldUpdateOperationsInput | string
579
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
580
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
581
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
582
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
583
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
584
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
585
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
586
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
587
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
588
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
589
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
590
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
591
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
592
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
593
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
594
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
595
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
596
- }
597
-
598
- export type DocumentUncheckedUpdateManyInput = {
599
- id?: Prisma.StringFieldUpdateOperationsInput | string
600
- collection?: Prisma.StringFieldUpdateOperationsInput | string
601
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
602
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
603
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
604
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
605
- createdById?: Prisma.StringFieldUpdateOperationsInput | string
606
- updatedById?: Prisma.StringFieldUpdateOperationsInput | string
607
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
608
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
609
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
610
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
611
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
612
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
613
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
614
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
615
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
616
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
617
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
618
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
619
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
620
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
621
- }
622
-
623
- export type DocumentListRelationFilter = {
624
- every?: Prisma.DocumentWhereInput
625
- some?: Prisma.DocumentWhereInput
626
- none?: Prisma.DocumentWhereInput
627
- }
628
-
629
- export type DocumentOrderByRelationAggregateInput = {
630
- _count?: Prisma.SortOrder
631
- }
632
-
633
- export type DocumentOrderByRelevanceInput = {
634
- fields: Prisma.DocumentOrderByRelevanceFieldEnum | Prisma.DocumentOrderByRelevanceFieldEnum[]
635
- sort: Prisma.SortOrder
636
- search: string
637
- }
638
-
639
- export type DocumentCountOrderByAggregateInput = {
640
- id?: Prisma.SortOrder
641
- collection?: Prisma.SortOrder
642
- data?: Prisma.SortOrder
643
- status?: Prisma.SortOrder
644
- locale?: Prisma.SortOrder
645
- localeGroupId?: Prisma.SortOrder
646
- createdById?: Prisma.SortOrder
647
- updatedById?: Prisma.SortOrder
648
- publishedAt?: Prisma.SortOrder
649
- scheduledAt?: Prisma.SortOrder
650
- scheduledUnpublishAt?: Prisma.SortOrder
651
- deletedAt?: Prisma.SortOrder
652
- searchVector?: Prisma.SortOrder
653
- plainText?: Prisma.SortOrder
654
- contentHash?: Prisma.SortOrder
655
- structuredData?: Prisma.SortOrder
656
- contentGraph?: Prisma.SortOrder
657
- siteId?: Prisma.SortOrder
658
- templateId?: Prisma.SortOrder
659
- folderId?: Prisma.SortOrder
660
- createdAt?: Prisma.SortOrder
661
- updatedAt?: Prisma.SortOrder
662
- }
663
-
664
- export type DocumentMaxOrderByAggregateInput = {
665
- id?: Prisma.SortOrder
666
- collection?: Prisma.SortOrder
667
- status?: Prisma.SortOrder
668
- locale?: Prisma.SortOrder
669
- localeGroupId?: Prisma.SortOrder
670
- createdById?: Prisma.SortOrder
671
- updatedById?: Prisma.SortOrder
672
- publishedAt?: Prisma.SortOrder
673
- scheduledAt?: Prisma.SortOrder
674
- scheduledUnpublishAt?: Prisma.SortOrder
675
- deletedAt?: Prisma.SortOrder
676
- searchVector?: Prisma.SortOrder
677
- plainText?: Prisma.SortOrder
678
- contentHash?: Prisma.SortOrder
679
- siteId?: Prisma.SortOrder
680
- templateId?: Prisma.SortOrder
681
- folderId?: Prisma.SortOrder
682
- createdAt?: Prisma.SortOrder
683
- updatedAt?: Prisma.SortOrder
684
- }
685
-
686
- export type DocumentMinOrderByAggregateInput = {
687
- id?: Prisma.SortOrder
688
- collection?: Prisma.SortOrder
689
- status?: Prisma.SortOrder
690
- locale?: Prisma.SortOrder
691
- localeGroupId?: Prisma.SortOrder
692
- createdById?: Prisma.SortOrder
693
- updatedById?: Prisma.SortOrder
694
- publishedAt?: Prisma.SortOrder
695
- scheduledAt?: Prisma.SortOrder
696
- scheduledUnpublishAt?: Prisma.SortOrder
697
- deletedAt?: Prisma.SortOrder
698
- searchVector?: Prisma.SortOrder
699
- plainText?: Prisma.SortOrder
700
- contentHash?: Prisma.SortOrder
701
- siteId?: Prisma.SortOrder
702
- templateId?: Prisma.SortOrder
703
- folderId?: Prisma.SortOrder
704
- createdAt?: Prisma.SortOrder
705
- updatedAt?: Prisma.SortOrder
706
- }
707
-
708
- export type DocumentScalarRelationFilter = {
709
- is?: Prisma.DocumentWhereInput
710
- isNot?: Prisma.DocumentWhereInput
711
- }
712
-
713
- export type DocumentCreateNestedManyWithoutCreatedByInput = {
714
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutCreatedByInput, Prisma.DocumentUncheckedCreateWithoutCreatedByInput> | Prisma.DocumentCreateWithoutCreatedByInput[] | Prisma.DocumentUncheckedCreateWithoutCreatedByInput[]
715
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutCreatedByInput | Prisma.DocumentCreateOrConnectWithoutCreatedByInput[]
716
- createMany?: Prisma.DocumentCreateManyCreatedByInputEnvelope
717
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
718
- }
719
-
720
- export type DocumentCreateNestedManyWithoutUpdatedByInput = {
721
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutUpdatedByInput, Prisma.DocumentUncheckedCreateWithoutUpdatedByInput> | Prisma.DocumentCreateWithoutUpdatedByInput[] | Prisma.DocumentUncheckedCreateWithoutUpdatedByInput[]
722
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutUpdatedByInput | Prisma.DocumentCreateOrConnectWithoutUpdatedByInput[]
723
- createMany?: Prisma.DocumentCreateManyUpdatedByInputEnvelope
724
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
725
- }
726
-
727
- export type DocumentUncheckedCreateNestedManyWithoutCreatedByInput = {
728
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutCreatedByInput, Prisma.DocumentUncheckedCreateWithoutCreatedByInput> | Prisma.DocumentCreateWithoutCreatedByInput[] | Prisma.DocumentUncheckedCreateWithoutCreatedByInput[]
729
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutCreatedByInput | Prisma.DocumentCreateOrConnectWithoutCreatedByInput[]
730
- createMany?: Prisma.DocumentCreateManyCreatedByInputEnvelope
731
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
732
- }
733
-
734
- export type DocumentUncheckedCreateNestedManyWithoutUpdatedByInput = {
735
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutUpdatedByInput, Prisma.DocumentUncheckedCreateWithoutUpdatedByInput> | Prisma.DocumentCreateWithoutUpdatedByInput[] | Prisma.DocumentUncheckedCreateWithoutUpdatedByInput[]
736
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutUpdatedByInput | Prisma.DocumentCreateOrConnectWithoutUpdatedByInput[]
737
- createMany?: Prisma.DocumentCreateManyUpdatedByInputEnvelope
738
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
739
- }
740
-
741
- export type DocumentUpdateManyWithoutCreatedByNestedInput = {
742
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutCreatedByInput, Prisma.DocumentUncheckedCreateWithoutCreatedByInput> | Prisma.DocumentCreateWithoutCreatedByInput[] | Prisma.DocumentUncheckedCreateWithoutCreatedByInput[]
743
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutCreatedByInput | Prisma.DocumentCreateOrConnectWithoutCreatedByInput[]
744
- upsert?: Prisma.DocumentUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.DocumentUpsertWithWhereUniqueWithoutCreatedByInput[]
745
- createMany?: Prisma.DocumentCreateManyCreatedByInputEnvelope
746
- set?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
747
- disconnect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
748
- delete?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
749
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
750
- update?: Prisma.DocumentUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.DocumentUpdateWithWhereUniqueWithoutCreatedByInput[]
751
- updateMany?: Prisma.DocumentUpdateManyWithWhereWithoutCreatedByInput | Prisma.DocumentUpdateManyWithWhereWithoutCreatedByInput[]
752
- deleteMany?: Prisma.DocumentScalarWhereInput | Prisma.DocumentScalarWhereInput[]
753
- }
754
-
755
- export type DocumentUpdateManyWithoutUpdatedByNestedInput = {
756
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutUpdatedByInput, Prisma.DocumentUncheckedCreateWithoutUpdatedByInput> | Prisma.DocumentCreateWithoutUpdatedByInput[] | Prisma.DocumentUncheckedCreateWithoutUpdatedByInput[]
757
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutUpdatedByInput | Prisma.DocumentCreateOrConnectWithoutUpdatedByInput[]
758
- upsert?: Prisma.DocumentUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.DocumentUpsertWithWhereUniqueWithoutUpdatedByInput[]
759
- createMany?: Prisma.DocumentCreateManyUpdatedByInputEnvelope
760
- set?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
761
- disconnect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
762
- delete?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
763
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
764
- update?: Prisma.DocumentUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.DocumentUpdateWithWhereUniqueWithoutUpdatedByInput[]
765
- updateMany?: Prisma.DocumentUpdateManyWithWhereWithoutUpdatedByInput | Prisma.DocumentUpdateManyWithWhereWithoutUpdatedByInput[]
766
- deleteMany?: Prisma.DocumentScalarWhereInput | Prisma.DocumentScalarWhereInput[]
767
- }
768
-
769
- export type DocumentUncheckedUpdateManyWithoutCreatedByNestedInput = {
770
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutCreatedByInput, Prisma.DocumentUncheckedCreateWithoutCreatedByInput> | Prisma.DocumentCreateWithoutCreatedByInput[] | Prisma.DocumentUncheckedCreateWithoutCreatedByInput[]
771
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutCreatedByInput | Prisma.DocumentCreateOrConnectWithoutCreatedByInput[]
772
- upsert?: Prisma.DocumentUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.DocumentUpsertWithWhereUniqueWithoutCreatedByInput[]
773
- createMany?: Prisma.DocumentCreateManyCreatedByInputEnvelope
774
- set?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
775
- disconnect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
776
- delete?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
777
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
778
- update?: Prisma.DocumentUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.DocumentUpdateWithWhereUniqueWithoutCreatedByInput[]
779
- updateMany?: Prisma.DocumentUpdateManyWithWhereWithoutCreatedByInput | Prisma.DocumentUpdateManyWithWhereWithoutCreatedByInput[]
780
- deleteMany?: Prisma.DocumentScalarWhereInput | Prisma.DocumentScalarWhereInput[]
781
- }
782
-
783
- export type DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput = {
784
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutUpdatedByInput, Prisma.DocumentUncheckedCreateWithoutUpdatedByInput> | Prisma.DocumentCreateWithoutUpdatedByInput[] | Prisma.DocumentUncheckedCreateWithoutUpdatedByInput[]
785
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutUpdatedByInput | Prisma.DocumentCreateOrConnectWithoutUpdatedByInput[]
786
- upsert?: Prisma.DocumentUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.DocumentUpsertWithWhereUniqueWithoutUpdatedByInput[]
787
- createMany?: Prisma.DocumentCreateManyUpdatedByInputEnvelope
788
- set?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
789
- disconnect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
790
- delete?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
791
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
792
- update?: Prisma.DocumentUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.DocumentUpdateWithWhereUniqueWithoutUpdatedByInput[]
793
- updateMany?: Prisma.DocumentUpdateManyWithWhereWithoutUpdatedByInput | Prisma.DocumentUpdateManyWithWhereWithoutUpdatedByInput[]
794
- deleteMany?: Prisma.DocumentScalarWhereInput | Prisma.DocumentScalarWhereInput[]
795
- }
796
-
797
- export type DocumentCreateNestedManyWithoutFolderInput = {
798
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutFolderInput, Prisma.DocumentUncheckedCreateWithoutFolderInput> | Prisma.DocumentCreateWithoutFolderInput[] | Prisma.DocumentUncheckedCreateWithoutFolderInput[]
799
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutFolderInput | Prisma.DocumentCreateOrConnectWithoutFolderInput[]
800
- createMany?: Prisma.DocumentCreateManyFolderInputEnvelope
801
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
802
- }
803
-
804
- export type DocumentUncheckedCreateNestedManyWithoutFolderInput = {
805
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutFolderInput, Prisma.DocumentUncheckedCreateWithoutFolderInput> | Prisma.DocumentCreateWithoutFolderInput[] | Prisma.DocumentUncheckedCreateWithoutFolderInput[]
806
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutFolderInput | Prisma.DocumentCreateOrConnectWithoutFolderInput[]
807
- createMany?: Prisma.DocumentCreateManyFolderInputEnvelope
808
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
809
- }
810
-
811
- export type DocumentUpdateManyWithoutFolderNestedInput = {
812
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutFolderInput, Prisma.DocumentUncheckedCreateWithoutFolderInput> | Prisma.DocumentCreateWithoutFolderInput[] | Prisma.DocumentUncheckedCreateWithoutFolderInput[]
813
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutFolderInput | Prisma.DocumentCreateOrConnectWithoutFolderInput[]
814
- upsert?: Prisma.DocumentUpsertWithWhereUniqueWithoutFolderInput | Prisma.DocumentUpsertWithWhereUniqueWithoutFolderInput[]
815
- createMany?: Prisma.DocumentCreateManyFolderInputEnvelope
816
- set?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
817
- disconnect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
818
- delete?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
819
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
820
- update?: Prisma.DocumentUpdateWithWhereUniqueWithoutFolderInput | Prisma.DocumentUpdateWithWhereUniqueWithoutFolderInput[]
821
- updateMany?: Prisma.DocumentUpdateManyWithWhereWithoutFolderInput | Prisma.DocumentUpdateManyWithWhereWithoutFolderInput[]
822
- deleteMany?: Prisma.DocumentScalarWhereInput | Prisma.DocumentScalarWhereInput[]
823
- }
824
-
825
- export type DocumentUncheckedUpdateManyWithoutFolderNestedInput = {
826
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutFolderInput, Prisma.DocumentUncheckedCreateWithoutFolderInput> | Prisma.DocumentCreateWithoutFolderInput[] | Prisma.DocumentUncheckedCreateWithoutFolderInput[]
827
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutFolderInput | Prisma.DocumentCreateOrConnectWithoutFolderInput[]
828
- upsert?: Prisma.DocumentUpsertWithWhereUniqueWithoutFolderInput | Prisma.DocumentUpsertWithWhereUniqueWithoutFolderInput[]
829
- createMany?: Prisma.DocumentCreateManyFolderInputEnvelope
830
- set?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
831
- disconnect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
832
- delete?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
833
- connect?: Prisma.DocumentWhereUniqueInput | Prisma.DocumentWhereUniqueInput[]
834
- update?: Prisma.DocumentUpdateWithWhereUniqueWithoutFolderInput | Prisma.DocumentUpdateWithWhereUniqueWithoutFolderInput[]
835
- updateMany?: Prisma.DocumentUpdateManyWithWhereWithoutFolderInput | Prisma.DocumentUpdateManyWithWhereWithoutFolderInput[]
836
- deleteMany?: Prisma.DocumentScalarWhereInput | Prisma.DocumentScalarWhereInput[]
837
- }
838
-
839
- export type EnumDocumentStatusFieldUpdateOperationsInput = {
840
- set?: $Enums.DocumentStatus
841
- }
842
-
843
- export type DocumentCreateNestedOneWithoutVersionsInput = {
844
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutVersionsInput, Prisma.DocumentUncheckedCreateWithoutVersionsInput>
845
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutVersionsInput
846
- connect?: Prisma.DocumentWhereUniqueInput
847
- }
848
-
849
- export type DocumentUpdateOneRequiredWithoutVersionsNestedInput = {
850
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutVersionsInput, Prisma.DocumentUncheckedCreateWithoutVersionsInput>
851
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutVersionsInput
852
- upsert?: Prisma.DocumentUpsertWithoutVersionsInput
853
- connect?: Prisma.DocumentWhereUniqueInput
854
- update?: Prisma.XOR<Prisma.XOR<Prisma.DocumentUpdateToOneWithWhereWithoutVersionsInput, Prisma.DocumentUpdateWithoutVersionsInput>, Prisma.DocumentUncheckedUpdateWithoutVersionsInput>
855
- }
856
-
857
- export type DocumentCreateNestedOneWithoutMediaUsagesInput = {
858
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutMediaUsagesInput, Prisma.DocumentUncheckedCreateWithoutMediaUsagesInput>
859
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutMediaUsagesInput
860
- connect?: Prisma.DocumentWhereUniqueInput
861
- }
862
-
863
- export type DocumentUpdateOneRequiredWithoutMediaUsagesNestedInput = {
864
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutMediaUsagesInput, Prisma.DocumentUncheckedCreateWithoutMediaUsagesInput>
865
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutMediaUsagesInput
866
- upsert?: Prisma.DocumentUpsertWithoutMediaUsagesInput
867
- connect?: Prisma.DocumentWhereUniqueInput
868
- update?: Prisma.XOR<Prisma.XOR<Prisma.DocumentUpdateToOneWithWhereWithoutMediaUsagesInput, Prisma.DocumentUpdateWithoutMediaUsagesInput>, Prisma.DocumentUncheckedUpdateWithoutMediaUsagesInput>
869
- }
870
-
871
- export type DocumentCreateNestedOneWithoutContentLocksInput = {
872
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutContentLocksInput, Prisma.DocumentUncheckedCreateWithoutContentLocksInput>
873
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutContentLocksInput
874
- connect?: Prisma.DocumentWhereUniqueInput
875
- }
876
-
877
- export type DocumentUpdateOneRequiredWithoutContentLocksNestedInput = {
878
- create?: Prisma.XOR<Prisma.DocumentCreateWithoutContentLocksInput, Prisma.DocumentUncheckedCreateWithoutContentLocksInput>
879
- connectOrCreate?: Prisma.DocumentCreateOrConnectWithoutContentLocksInput
880
- upsert?: Prisma.DocumentUpsertWithoutContentLocksInput
881
- connect?: Prisma.DocumentWhereUniqueInput
882
- update?: Prisma.XOR<Prisma.XOR<Prisma.DocumentUpdateToOneWithWhereWithoutContentLocksInput, Prisma.DocumentUpdateWithoutContentLocksInput>, Prisma.DocumentUncheckedUpdateWithoutContentLocksInput>
883
- }
884
-
885
- export type DocumentCreateWithoutCreatedByInput = {
886
- id?: string
887
- collection: string
888
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
889
- status?: $Enums.DocumentStatus
890
- locale?: string | null
891
- localeGroupId?: string | null
892
- publishedAt?: Date | string | null
893
- scheduledAt?: Date | string | null
894
- scheduledUnpublishAt?: Date | string | null
895
- deletedAt?: Date | string | null
896
- searchVector?: string | null
897
- plainText?: string | null
898
- contentHash?: string | null
899
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
900
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
901
- siteId?: string | null
902
- templateId?: string | null
903
- createdAt?: Date | string
904
- updatedAt?: Date | string
905
- updatedBy: Prisma.UserCreateNestedOneWithoutUpdatedDocumentsInput
906
- folder?: Prisma.FolderCreateNestedOneWithoutDocumentsInput
907
- versions?: Prisma.VersionCreateNestedManyWithoutDocumentInput
908
- mediaUsages?: Prisma.MediaUsageCreateNestedManyWithoutDocumentInput
909
- contentLocks?: Prisma.ContentLockCreateNestedManyWithoutDocumentInput
910
- }
911
-
912
- export type DocumentUncheckedCreateWithoutCreatedByInput = {
913
- id?: string
914
- collection: string
915
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
916
- status?: $Enums.DocumentStatus
917
- locale?: string | null
918
- localeGroupId?: string | null
919
- updatedById: string
920
- publishedAt?: Date | string | null
921
- scheduledAt?: Date | string | null
922
- scheduledUnpublishAt?: Date | string | null
923
- deletedAt?: Date | string | null
924
- searchVector?: string | null
925
- plainText?: string | null
926
- contentHash?: string | null
927
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
928
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
929
- siteId?: string | null
930
- templateId?: string | null
931
- folderId?: string | null
932
- createdAt?: Date | string
933
- updatedAt?: Date | string
934
- versions?: Prisma.VersionUncheckedCreateNestedManyWithoutDocumentInput
935
- mediaUsages?: Prisma.MediaUsageUncheckedCreateNestedManyWithoutDocumentInput
936
- contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutDocumentInput
937
- }
938
-
939
- export type DocumentCreateOrConnectWithoutCreatedByInput = {
940
- where: Prisma.DocumentWhereUniqueInput
941
- create: Prisma.XOR<Prisma.DocumentCreateWithoutCreatedByInput, Prisma.DocumentUncheckedCreateWithoutCreatedByInput>
942
- }
943
-
944
- export type DocumentCreateManyCreatedByInputEnvelope = {
945
- data: Prisma.DocumentCreateManyCreatedByInput | Prisma.DocumentCreateManyCreatedByInput[]
946
- skipDuplicates?: boolean
947
- }
948
-
949
- export type DocumentCreateWithoutUpdatedByInput = {
950
- id?: string
951
- collection: string
952
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
953
- status?: $Enums.DocumentStatus
954
- locale?: string | null
955
- localeGroupId?: string | null
956
- publishedAt?: Date | string | null
957
- scheduledAt?: Date | string | null
958
- scheduledUnpublishAt?: Date | string | null
959
- deletedAt?: Date | string | null
960
- searchVector?: string | null
961
- plainText?: string | null
962
- contentHash?: string | null
963
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
964
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
965
- siteId?: string | null
966
- templateId?: string | null
967
- createdAt?: Date | string
968
- updatedAt?: Date | string
969
- createdBy: Prisma.UserCreateNestedOneWithoutDocumentsInput
970
- folder?: Prisma.FolderCreateNestedOneWithoutDocumentsInput
971
- versions?: Prisma.VersionCreateNestedManyWithoutDocumentInput
972
- mediaUsages?: Prisma.MediaUsageCreateNestedManyWithoutDocumentInput
973
- contentLocks?: Prisma.ContentLockCreateNestedManyWithoutDocumentInput
974
- }
975
-
976
- export type DocumentUncheckedCreateWithoutUpdatedByInput = {
977
- id?: string
978
- collection: string
979
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
980
- status?: $Enums.DocumentStatus
981
- locale?: string | null
982
- localeGroupId?: string | null
983
- createdById: string
984
- publishedAt?: Date | string | null
985
- scheduledAt?: Date | string | null
986
- scheduledUnpublishAt?: Date | string | null
987
- deletedAt?: Date | string | null
988
- searchVector?: string | null
989
- plainText?: string | null
990
- contentHash?: string | null
991
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
992
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
993
- siteId?: string | null
994
- templateId?: string | null
995
- folderId?: string | null
996
- createdAt?: Date | string
997
- updatedAt?: Date | string
998
- versions?: Prisma.VersionUncheckedCreateNestedManyWithoutDocumentInput
999
- mediaUsages?: Prisma.MediaUsageUncheckedCreateNestedManyWithoutDocumentInput
1000
- contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutDocumentInput
1001
- }
1002
-
1003
- export type DocumentCreateOrConnectWithoutUpdatedByInput = {
1004
- where: Prisma.DocumentWhereUniqueInput
1005
- create: Prisma.XOR<Prisma.DocumentCreateWithoutUpdatedByInput, Prisma.DocumentUncheckedCreateWithoutUpdatedByInput>
1006
- }
1007
-
1008
- export type DocumentCreateManyUpdatedByInputEnvelope = {
1009
- data: Prisma.DocumentCreateManyUpdatedByInput | Prisma.DocumentCreateManyUpdatedByInput[]
1010
- skipDuplicates?: boolean
1011
- }
1012
-
1013
- export type DocumentUpsertWithWhereUniqueWithoutCreatedByInput = {
1014
- where: Prisma.DocumentWhereUniqueInput
1015
- update: Prisma.XOR<Prisma.DocumentUpdateWithoutCreatedByInput, Prisma.DocumentUncheckedUpdateWithoutCreatedByInput>
1016
- create: Prisma.XOR<Prisma.DocumentCreateWithoutCreatedByInput, Prisma.DocumentUncheckedCreateWithoutCreatedByInput>
1017
- }
1018
-
1019
- export type DocumentUpdateWithWhereUniqueWithoutCreatedByInput = {
1020
- where: Prisma.DocumentWhereUniqueInput
1021
- data: Prisma.XOR<Prisma.DocumentUpdateWithoutCreatedByInput, Prisma.DocumentUncheckedUpdateWithoutCreatedByInput>
1022
- }
1023
-
1024
- export type DocumentUpdateManyWithWhereWithoutCreatedByInput = {
1025
- where: Prisma.DocumentScalarWhereInput
1026
- data: Prisma.XOR<Prisma.DocumentUpdateManyMutationInput, Prisma.DocumentUncheckedUpdateManyWithoutCreatedByInput>
1027
- }
1028
-
1029
- export type DocumentScalarWhereInput = {
1030
- AND?: Prisma.DocumentScalarWhereInput | Prisma.DocumentScalarWhereInput[]
1031
- OR?: Prisma.DocumentScalarWhereInput[]
1032
- NOT?: Prisma.DocumentScalarWhereInput | Prisma.DocumentScalarWhereInput[]
1033
- id?: Prisma.StringFilter<"Document"> | string
1034
- collection?: Prisma.StringFilter<"Document"> | string
1035
- data?: Prisma.JsonFilter<"Document">
1036
- status?: Prisma.EnumDocumentStatusFilter<"Document"> | $Enums.DocumentStatus
1037
- locale?: Prisma.StringNullableFilter<"Document"> | string | null
1038
- localeGroupId?: Prisma.StringNullableFilter<"Document"> | string | null
1039
- createdById?: Prisma.StringFilter<"Document"> | string
1040
- updatedById?: Prisma.StringFilter<"Document"> | string
1041
- publishedAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
1042
- scheduledAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
1043
- scheduledUnpublishAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
1044
- deletedAt?: Prisma.DateTimeNullableFilter<"Document"> | Date | string | null
1045
- searchVector?: Prisma.StringNullableFilter<"Document"> | string | null
1046
- plainText?: Prisma.StringNullableFilter<"Document"> | string | null
1047
- contentHash?: Prisma.StringNullableFilter<"Document"> | string | null
1048
- structuredData?: Prisma.JsonNullableFilter<"Document">
1049
- contentGraph?: Prisma.JsonNullableFilter<"Document">
1050
- siteId?: Prisma.StringNullableFilter<"Document"> | string | null
1051
- templateId?: Prisma.StringNullableFilter<"Document"> | string | null
1052
- folderId?: Prisma.StringNullableFilter<"Document"> | string | null
1053
- createdAt?: Prisma.DateTimeFilter<"Document"> | Date | string
1054
- updatedAt?: Prisma.DateTimeFilter<"Document"> | Date | string
1055
- }
1056
-
1057
- export type DocumentUpsertWithWhereUniqueWithoutUpdatedByInput = {
1058
- where: Prisma.DocumentWhereUniqueInput
1059
- update: Prisma.XOR<Prisma.DocumentUpdateWithoutUpdatedByInput, Prisma.DocumentUncheckedUpdateWithoutUpdatedByInput>
1060
- create: Prisma.XOR<Prisma.DocumentCreateWithoutUpdatedByInput, Prisma.DocumentUncheckedCreateWithoutUpdatedByInput>
1061
- }
1062
-
1063
- export type DocumentUpdateWithWhereUniqueWithoutUpdatedByInput = {
1064
- where: Prisma.DocumentWhereUniqueInput
1065
- data: Prisma.XOR<Prisma.DocumentUpdateWithoutUpdatedByInput, Prisma.DocumentUncheckedUpdateWithoutUpdatedByInput>
1066
- }
1067
-
1068
- export type DocumentUpdateManyWithWhereWithoutUpdatedByInput = {
1069
- where: Prisma.DocumentScalarWhereInput
1070
- data: Prisma.XOR<Prisma.DocumentUpdateManyMutationInput, Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByInput>
1071
- }
1072
-
1073
- export type DocumentCreateWithoutFolderInput = {
1074
- id?: string
1075
- collection: string
1076
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1077
- status?: $Enums.DocumentStatus
1078
- locale?: string | null
1079
- localeGroupId?: string | null
1080
- publishedAt?: Date | string | null
1081
- scheduledAt?: Date | string | null
1082
- scheduledUnpublishAt?: Date | string | null
1083
- deletedAt?: Date | string | null
1084
- searchVector?: string | null
1085
- plainText?: string | null
1086
- contentHash?: string | null
1087
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1088
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1089
- siteId?: string | null
1090
- templateId?: string | null
1091
- createdAt?: Date | string
1092
- updatedAt?: Date | string
1093
- createdBy: Prisma.UserCreateNestedOneWithoutDocumentsInput
1094
- updatedBy: Prisma.UserCreateNestedOneWithoutUpdatedDocumentsInput
1095
- versions?: Prisma.VersionCreateNestedManyWithoutDocumentInput
1096
- mediaUsages?: Prisma.MediaUsageCreateNestedManyWithoutDocumentInput
1097
- contentLocks?: Prisma.ContentLockCreateNestedManyWithoutDocumentInput
1098
- }
1099
-
1100
- export type DocumentUncheckedCreateWithoutFolderInput = {
1101
- id?: string
1102
- collection: string
1103
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1104
- status?: $Enums.DocumentStatus
1105
- locale?: string | null
1106
- localeGroupId?: string | null
1107
- createdById: string
1108
- updatedById: string
1109
- publishedAt?: Date | string | null
1110
- scheduledAt?: Date | string | null
1111
- scheduledUnpublishAt?: Date | string | null
1112
- deletedAt?: Date | string | null
1113
- searchVector?: string | null
1114
- plainText?: string | null
1115
- contentHash?: string | null
1116
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1117
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1118
- siteId?: string | null
1119
- templateId?: string | null
1120
- createdAt?: Date | string
1121
- updatedAt?: Date | string
1122
- versions?: Prisma.VersionUncheckedCreateNestedManyWithoutDocumentInput
1123
- mediaUsages?: Prisma.MediaUsageUncheckedCreateNestedManyWithoutDocumentInput
1124
- contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutDocumentInput
1125
- }
1126
-
1127
- export type DocumentCreateOrConnectWithoutFolderInput = {
1128
- where: Prisma.DocumentWhereUniqueInput
1129
- create: Prisma.XOR<Prisma.DocumentCreateWithoutFolderInput, Prisma.DocumentUncheckedCreateWithoutFolderInput>
1130
- }
1131
-
1132
- export type DocumentCreateManyFolderInputEnvelope = {
1133
- data: Prisma.DocumentCreateManyFolderInput | Prisma.DocumentCreateManyFolderInput[]
1134
- skipDuplicates?: boolean
1135
- }
1136
-
1137
- export type DocumentUpsertWithWhereUniqueWithoutFolderInput = {
1138
- where: Prisma.DocumentWhereUniqueInput
1139
- update: Prisma.XOR<Prisma.DocumentUpdateWithoutFolderInput, Prisma.DocumentUncheckedUpdateWithoutFolderInput>
1140
- create: Prisma.XOR<Prisma.DocumentCreateWithoutFolderInput, Prisma.DocumentUncheckedCreateWithoutFolderInput>
1141
- }
1142
-
1143
- export type DocumentUpdateWithWhereUniqueWithoutFolderInput = {
1144
- where: Prisma.DocumentWhereUniqueInput
1145
- data: Prisma.XOR<Prisma.DocumentUpdateWithoutFolderInput, Prisma.DocumentUncheckedUpdateWithoutFolderInput>
1146
- }
1147
-
1148
- export type DocumentUpdateManyWithWhereWithoutFolderInput = {
1149
- where: Prisma.DocumentScalarWhereInput
1150
- data: Prisma.XOR<Prisma.DocumentUpdateManyMutationInput, Prisma.DocumentUncheckedUpdateManyWithoutFolderInput>
1151
- }
1152
-
1153
- export type DocumentCreateWithoutVersionsInput = {
1154
- id?: string
1155
- collection: string
1156
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1157
- status?: $Enums.DocumentStatus
1158
- locale?: string | null
1159
- localeGroupId?: string | null
1160
- publishedAt?: Date | string | null
1161
- scheduledAt?: Date | string | null
1162
- scheduledUnpublishAt?: Date | string | null
1163
- deletedAt?: Date | string | null
1164
- searchVector?: string | null
1165
- plainText?: string | null
1166
- contentHash?: string | null
1167
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1168
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1169
- siteId?: string | null
1170
- templateId?: string | null
1171
- createdAt?: Date | string
1172
- updatedAt?: Date | string
1173
- createdBy: Prisma.UserCreateNestedOneWithoutDocumentsInput
1174
- updatedBy: Prisma.UserCreateNestedOneWithoutUpdatedDocumentsInput
1175
- folder?: Prisma.FolderCreateNestedOneWithoutDocumentsInput
1176
- mediaUsages?: Prisma.MediaUsageCreateNestedManyWithoutDocumentInput
1177
- contentLocks?: Prisma.ContentLockCreateNestedManyWithoutDocumentInput
1178
- }
1179
-
1180
- export type DocumentUncheckedCreateWithoutVersionsInput = {
1181
- id?: string
1182
- collection: string
1183
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1184
- status?: $Enums.DocumentStatus
1185
- locale?: string | null
1186
- localeGroupId?: string | null
1187
- createdById: string
1188
- updatedById: string
1189
- publishedAt?: Date | string | null
1190
- scheduledAt?: Date | string | null
1191
- scheduledUnpublishAt?: Date | string | null
1192
- deletedAt?: Date | string | null
1193
- searchVector?: string | null
1194
- plainText?: string | null
1195
- contentHash?: string | null
1196
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1197
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1198
- siteId?: string | null
1199
- templateId?: string | null
1200
- folderId?: string | null
1201
- createdAt?: Date | string
1202
- updatedAt?: Date | string
1203
- mediaUsages?: Prisma.MediaUsageUncheckedCreateNestedManyWithoutDocumentInput
1204
- contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutDocumentInput
1205
- }
1206
-
1207
- export type DocumentCreateOrConnectWithoutVersionsInput = {
1208
- where: Prisma.DocumentWhereUniqueInput
1209
- create: Prisma.XOR<Prisma.DocumentCreateWithoutVersionsInput, Prisma.DocumentUncheckedCreateWithoutVersionsInput>
1210
- }
1211
-
1212
- export type DocumentUpsertWithoutVersionsInput = {
1213
- update: Prisma.XOR<Prisma.DocumentUpdateWithoutVersionsInput, Prisma.DocumentUncheckedUpdateWithoutVersionsInput>
1214
- create: Prisma.XOR<Prisma.DocumentCreateWithoutVersionsInput, Prisma.DocumentUncheckedCreateWithoutVersionsInput>
1215
- where?: Prisma.DocumentWhereInput
1216
- }
1217
-
1218
- export type DocumentUpdateToOneWithWhereWithoutVersionsInput = {
1219
- where?: Prisma.DocumentWhereInput
1220
- data: Prisma.XOR<Prisma.DocumentUpdateWithoutVersionsInput, Prisma.DocumentUncheckedUpdateWithoutVersionsInput>
1221
- }
1222
-
1223
- export type DocumentUpdateWithoutVersionsInput = {
1224
- id?: Prisma.StringFieldUpdateOperationsInput | string
1225
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1226
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1227
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1228
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1229
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1230
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1231
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1232
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1233
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1234
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1235
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1236
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1237
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1238
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1239
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1240
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1241
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1242
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1243
- createdBy?: Prisma.UserUpdateOneRequiredWithoutDocumentsNestedInput
1244
- updatedBy?: Prisma.UserUpdateOneRequiredWithoutUpdatedDocumentsNestedInput
1245
- folder?: Prisma.FolderUpdateOneWithoutDocumentsNestedInput
1246
- mediaUsages?: Prisma.MediaUsageUpdateManyWithoutDocumentNestedInput
1247
- contentLocks?: Prisma.ContentLockUpdateManyWithoutDocumentNestedInput
1248
- }
1249
-
1250
- export type DocumentUncheckedUpdateWithoutVersionsInput = {
1251
- id?: Prisma.StringFieldUpdateOperationsInput | string
1252
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1253
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1254
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1255
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1256
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1257
- createdById?: Prisma.StringFieldUpdateOperationsInput | string
1258
- updatedById?: Prisma.StringFieldUpdateOperationsInput | string
1259
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1260
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1261
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1262
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1263
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1264
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1265
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1266
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1267
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1268
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1269
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1270
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1271
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1272
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1273
- mediaUsages?: Prisma.MediaUsageUncheckedUpdateManyWithoutDocumentNestedInput
1274
- contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutDocumentNestedInput
1275
- }
1276
-
1277
- export type DocumentCreateWithoutMediaUsagesInput = {
1278
- id?: string
1279
- collection: string
1280
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1281
- status?: $Enums.DocumentStatus
1282
- locale?: string | null
1283
- localeGroupId?: string | null
1284
- publishedAt?: Date | string | null
1285
- scheduledAt?: Date | string | null
1286
- scheduledUnpublishAt?: Date | string | null
1287
- deletedAt?: Date | string | null
1288
- searchVector?: string | null
1289
- plainText?: string | null
1290
- contentHash?: string | null
1291
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1292
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1293
- siteId?: string | null
1294
- templateId?: string | null
1295
- createdAt?: Date | string
1296
- updatedAt?: Date | string
1297
- createdBy: Prisma.UserCreateNestedOneWithoutDocumentsInput
1298
- updatedBy: Prisma.UserCreateNestedOneWithoutUpdatedDocumentsInput
1299
- folder?: Prisma.FolderCreateNestedOneWithoutDocumentsInput
1300
- versions?: Prisma.VersionCreateNestedManyWithoutDocumentInput
1301
- contentLocks?: Prisma.ContentLockCreateNestedManyWithoutDocumentInput
1302
- }
1303
-
1304
- export type DocumentUncheckedCreateWithoutMediaUsagesInput = {
1305
- id?: string
1306
- collection: string
1307
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1308
- status?: $Enums.DocumentStatus
1309
- locale?: string | null
1310
- localeGroupId?: string | null
1311
- createdById: string
1312
- updatedById: string
1313
- publishedAt?: Date | string | null
1314
- scheduledAt?: Date | string | null
1315
- scheduledUnpublishAt?: Date | string | null
1316
- deletedAt?: Date | string | null
1317
- searchVector?: string | null
1318
- plainText?: string | null
1319
- contentHash?: string | null
1320
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1321
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1322
- siteId?: string | null
1323
- templateId?: string | null
1324
- folderId?: string | null
1325
- createdAt?: Date | string
1326
- updatedAt?: Date | string
1327
- versions?: Prisma.VersionUncheckedCreateNestedManyWithoutDocumentInput
1328
- contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutDocumentInput
1329
- }
1330
-
1331
- export type DocumentCreateOrConnectWithoutMediaUsagesInput = {
1332
- where: Prisma.DocumentWhereUniqueInput
1333
- create: Prisma.XOR<Prisma.DocumentCreateWithoutMediaUsagesInput, Prisma.DocumentUncheckedCreateWithoutMediaUsagesInput>
1334
- }
1335
-
1336
- export type DocumentUpsertWithoutMediaUsagesInput = {
1337
- update: Prisma.XOR<Prisma.DocumentUpdateWithoutMediaUsagesInput, Prisma.DocumentUncheckedUpdateWithoutMediaUsagesInput>
1338
- create: Prisma.XOR<Prisma.DocumentCreateWithoutMediaUsagesInput, Prisma.DocumentUncheckedCreateWithoutMediaUsagesInput>
1339
- where?: Prisma.DocumentWhereInput
1340
- }
1341
-
1342
- export type DocumentUpdateToOneWithWhereWithoutMediaUsagesInput = {
1343
- where?: Prisma.DocumentWhereInput
1344
- data: Prisma.XOR<Prisma.DocumentUpdateWithoutMediaUsagesInput, Prisma.DocumentUncheckedUpdateWithoutMediaUsagesInput>
1345
- }
1346
-
1347
- export type DocumentUpdateWithoutMediaUsagesInput = {
1348
- id?: Prisma.StringFieldUpdateOperationsInput | string
1349
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1350
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1351
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1352
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1353
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1354
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1355
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1356
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1357
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1358
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1359
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1360
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1361
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1362
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1363
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1364
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1365
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1366
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1367
- createdBy?: Prisma.UserUpdateOneRequiredWithoutDocumentsNestedInput
1368
- updatedBy?: Prisma.UserUpdateOneRequiredWithoutUpdatedDocumentsNestedInput
1369
- folder?: Prisma.FolderUpdateOneWithoutDocumentsNestedInput
1370
- versions?: Prisma.VersionUpdateManyWithoutDocumentNestedInput
1371
- contentLocks?: Prisma.ContentLockUpdateManyWithoutDocumentNestedInput
1372
- }
1373
-
1374
- export type DocumentUncheckedUpdateWithoutMediaUsagesInput = {
1375
- id?: Prisma.StringFieldUpdateOperationsInput | string
1376
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1377
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1378
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1379
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1380
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1381
- createdById?: Prisma.StringFieldUpdateOperationsInput | string
1382
- updatedById?: Prisma.StringFieldUpdateOperationsInput | string
1383
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1384
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1385
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1386
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1387
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1388
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1389
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1390
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1391
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1392
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1393
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1394
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1395
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1396
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1397
- versions?: Prisma.VersionUncheckedUpdateManyWithoutDocumentNestedInput
1398
- contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutDocumentNestedInput
1399
- }
1400
-
1401
- export type DocumentCreateWithoutContentLocksInput = {
1402
- id?: string
1403
- collection: string
1404
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1405
- status?: $Enums.DocumentStatus
1406
- locale?: string | null
1407
- localeGroupId?: string | null
1408
- publishedAt?: Date | string | null
1409
- scheduledAt?: Date | string | null
1410
- scheduledUnpublishAt?: Date | string | null
1411
- deletedAt?: Date | string | null
1412
- searchVector?: string | null
1413
- plainText?: string | null
1414
- contentHash?: string | null
1415
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1416
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1417
- siteId?: string | null
1418
- templateId?: string | null
1419
- createdAt?: Date | string
1420
- updatedAt?: Date | string
1421
- createdBy: Prisma.UserCreateNestedOneWithoutDocumentsInput
1422
- updatedBy: Prisma.UserCreateNestedOneWithoutUpdatedDocumentsInput
1423
- folder?: Prisma.FolderCreateNestedOneWithoutDocumentsInput
1424
- versions?: Prisma.VersionCreateNestedManyWithoutDocumentInput
1425
- mediaUsages?: Prisma.MediaUsageCreateNestedManyWithoutDocumentInput
1426
- }
1427
-
1428
- export type DocumentUncheckedCreateWithoutContentLocksInput = {
1429
- id?: string
1430
- collection: string
1431
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1432
- status?: $Enums.DocumentStatus
1433
- locale?: string | null
1434
- localeGroupId?: string | null
1435
- createdById: string
1436
- updatedById: string
1437
- publishedAt?: Date | string | null
1438
- scheduledAt?: Date | string | null
1439
- scheduledUnpublishAt?: Date | string | null
1440
- deletedAt?: Date | string | null
1441
- searchVector?: string | null
1442
- plainText?: string | null
1443
- contentHash?: string | null
1444
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1445
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1446
- siteId?: string | null
1447
- templateId?: string | null
1448
- folderId?: string | null
1449
- createdAt?: Date | string
1450
- updatedAt?: Date | string
1451
- versions?: Prisma.VersionUncheckedCreateNestedManyWithoutDocumentInput
1452
- mediaUsages?: Prisma.MediaUsageUncheckedCreateNestedManyWithoutDocumentInput
1453
- }
1454
-
1455
- export type DocumentCreateOrConnectWithoutContentLocksInput = {
1456
- where: Prisma.DocumentWhereUniqueInput
1457
- create: Prisma.XOR<Prisma.DocumentCreateWithoutContentLocksInput, Prisma.DocumentUncheckedCreateWithoutContentLocksInput>
1458
- }
1459
-
1460
- export type DocumentUpsertWithoutContentLocksInput = {
1461
- update: Prisma.XOR<Prisma.DocumentUpdateWithoutContentLocksInput, Prisma.DocumentUncheckedUpdateWithoutContentLocksInput>
1462
- create: Prisma.XOR<Prisma.DocumentCreateWithoutContentLocksInput, Prisma.DocumentUncheckedCreateWithoutContentLocksInput>
1463
- where?: Prisma.DocumentWhereInput
1464
- }
1465
-
1466
- export type DocumentUpdateToOneWithWhereWithoutContentLocksInput = {
1467
- where?: Prisma.DocumentWhereInput
1468
- data: Prisma.XOR<Prisma.DocumentUpdateWithoutContentLocksInput, Prisma.DocumentUncheckedUpdateWithoutContentLocksInput>
1469
- }
1470
-
1471
- export type DocumentUpdateWithoutContentLocksInput = {
1472
- id?: Prisma.StringFieldUpdateOperationsInput | string
1473
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1474
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1475
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1476
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1477
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1478
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1479
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1480
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1481
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1482
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1483
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1484
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1485
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1486
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1487
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1488
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1489
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1490
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1491
- createdBy?: Prisma.UserUpdateOneRequiredWithoutDocumentsNestedInput
1492
- updatedBy?: Prisma.UserUpdateOneRequiredWithoutUpdatedDocumentsNestedInput
1493
- folder?: Prisma.FolderUpdateOneWithoutDocumentsNestedInput
1494
- versions?: Prisma.VersionUpdateManyWithoutDocumentNestedInput
1495
- mediaUsages?: Prisma.MediaUsageUpdateManyWithoutDocumentNestedInput
1496
- }
1497
-
1498
- export type DocumentUncheckedUpdateWithoutContentLocksInput = {
1499
- id?: Prisma.StringFieldUpdateOperationsInput | string
1500
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1501
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1502
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1503
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1504
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1505
- createdById?: Prisma.StringFieldUpdateOperationsInput | string
1506
- updatedById?: Prisma.StringFieldUpdateOperationsInput | string
1507
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1508
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1509
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1510
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1511
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1512
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1513
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1514
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1515
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1516
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1517
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1518
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1519
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1520
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1521
- versions?: Prisma.VersionUncheckedUpdateManyWithoutDocumentNestedInput
1522
- mediaUsages?: Prisma.MediaUsageUncheckedUpdateManyWithoutDocumentNestedInput
1523
- }
1524
-
1525
- export type DocumentCreateManyCreatedByInput = {
1526
- id?: string
1527
- collection: string
1528
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1529
- status?: $Enums.DocumentStatus
1530
- locale?: string | null
1531
- localeGroupId?: string | null
1532
- updatedById: string
1533
- publishedAt?: Date | string | null
1534
- scheduledAt?: Date | string | null
1535
- scheduledUnpublishAt?: Date | string | null
1536
- deletedAt?: Date | string | null
1537
- searchVector?: string | null
1538
- plainText?: string | null
1539
- contentHash?: string | null
1540
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1541
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1542
- siteId?: string | null
1543
- templateId?: string | null
1544
- folderId?: string | null
1545
- createdAt?: Date | string
1546
- updatedAt?: Date | string
1547
- }
1548
-
1549
- export type DocumentCreateManyUpdatedByInput = {
1550
- id?: string
1551
- collection: string
1552
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1553
- status?: $Enums.DocumentStatus
1554
- locale?: string | null
1555
- localeGroupId?: string | null
1556
- createdById: string
1557
- publishedAt?: Date | string | null
1558
- scheduledAt?: Date | string | null
1559
- scheduledUnpublishAt?: Date | string | null
1560
- deletedAt?: Date | string | null
1561
- searchVector?: string | null
1562
- plainText?: string | null
1563
- contentHash?: string | null
1564
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1565
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1566
- siteId?: string | null
1567
- templateId?: string | null
1568
- folderId?: string | null
1569
- createdAt?: Date | string
1570
- updatedAt?: Date | string
1571
- }
1572
-
1573
- export type DocumentUpdateWithoutCreatedByInput = {
1574
- id?: Prisma.StringFieldUpdateOperationsInput | string
1575
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1576
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1577
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1578
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1579
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1580
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1581
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1582
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1583
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1584
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1585
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1586
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1587
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1588
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1589
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1590
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1591
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1592
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1593
- updatedBy?: Prisma.UserUpdateOneRequiredWithoutUpdatedDocumentsNestedInput
1594
- folder?: Prisma.FolderUpdateOneWithoutDocumentsNestedInput
1595
- versions?: Prisma.VersionUpdateManyWithoutDocumentNestedInput
1596
- mediaUsages?: Prisma.MediaUsageUpdateManyWithoutDocumentNestedInput
1597
- contentLocks?: Prisma.ContentLockUpdateManyWithoutDocumentNestedInput
1598
- }
1599
-
1600
- export type DocumentUncheckedUpdateWithoutCreatedByInput = {
1601
- id?: Prisma.StringFieldUpdateOperationsInput | string
1602
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1603
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1604
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1605
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1606
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1607
- updatedById?: Prisma.StringFieldUpdateOperationsInput | string
1608
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1609
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1610
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1611
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1612
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1613
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1614
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1615
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1616
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1617
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1618
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1619
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1620
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1621
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1622
- versions?: Prisma.VersionUncheckedUpdateManyWithoutDocumentNestedInput
1623
- mediaUsages?: Prisma.MediaUsageUncheckedUpdateManyWithoutDocumentNestedInput
1624
- contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutDocumentNestedInput
1625
- }
1626
-
1627
- export type DocumentUncheckedUpdateManyWithoutCreatedByInput = {
1628
- id?: Prisma.StringFieldUpdateOperationsInput | string
1629
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1630
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1631
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1632
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1633
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1634
- updatedById?: Prisma.StringFieldUpdateOperationsInput | string
1635
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1636
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1637
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1638
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1639
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1640
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1641
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1642
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1643
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1644
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1645
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1646
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1647
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1648
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1649
- }
1650
-
1651
- export type DocumentUpdateWithoutUpdatedByInput = {
1652
- id?: Prisma.StringFieldUpdateOperationsInput | string
1653
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1654
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1655
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1656
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1657
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1658
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1659
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1660
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1661
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1662
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1663
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1664
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1665
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1666
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1667
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1668
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1669
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1670
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1671
- createdBy?: Prisma.UserUpdateOneRequiredWithoutDocumentsNestedInput
1672
- folder?: Prisma.FolderUpdateOneWithoutDocumentsNestedInput
1673
- versions?: Prisma.VersionUpdateManyWithoutDocumentNestedInput
1674
- mediaUsages?: Prisma.MediaUsageUpdateManyWithoutDocumentNestedInput
1675
- contentLocks?: Prisma.ContentLockUpdateManyWithoutDocumentNestedInput
1676
- }
1677
-
1678
- export type DocumentUncheckedUpdateWithoutUpdatedByInput = {
1679
- id?: Prisma.StringFieldUpdateOperationsInput | string
1680
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1681
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1682
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1683
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1684
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1685
- createdById?: Prisma.StringFieldUpdateOperationsInput | string
1686
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1687
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1688
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1689
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1690
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1691
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1692
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1693
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1694
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1695
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1696
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1697
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1698
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1699
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1700
- versions?: Prisma.VersionUncheckedUpdateManyWithoutDocumentNestedInput
1701
- mediaUsages?: Prisma.MediaUsageUncheckedUpdateManyWithoutDocumentNestedInput
1702
- contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutDocumentNestedInput
1703
- }
1704
-
1705
- export type DocumentUncheckedUpdateManyWithoutUpdatedByInput = {
1706
- id?: Prisma.StringFieldUpdateOperationsInput | string
1707
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1708
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1709
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1710
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1711
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1712
- createdById?: Prisma.StringFieldUpdateOperationsInput | string
1713
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1714
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1715
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1716
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1717
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1718
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1719
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1720
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1721
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1722
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1723
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1724
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1725
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1726
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1727
- }
1728
-
1729
- export type DocumentCreateManyFolderInput = {
1730
- id?: string
1731
- collection: string
1732
- data: Prisma.JsonNullValueInput | runtime.InputJsonValue
1733
- status?: $Enums.DocumentStatus
1734
- locale?: string | null
1735
- localeGroupId?: string | null
1736
- createdById: string
1737
- updatedById: string
1738
- publishedAt?: Date | string | null
1739
- scheduledAt?: Date | string | null
1740
- scheduledUnpublishAt?: Date | string | null
1741
- deletedAt?: Date | string | null
1742
- searchVector?: string | null
1743
- plainText?: string | null
1744
- contentHash?: string | null
1745
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1746
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1747
- siteId?: string | null
1748
- templateId?: string | null
1749
- createdAt?: Date | string
1750
- updatedAt?: Date | string
1751
- }
1752
-
1753
- export type DocumentUpdateWithoutFolderInput = {
1754
- id?: Prisma.StringFieldUpdateOperationsInput | string
1755
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1756
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1757
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1758
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1759
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1760
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1761
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1762
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1763
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1764
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1765
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1766
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1767
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1768
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1769
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1770
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1771
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1772
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1773
- createdBy?: Prisma.UserUpdateOneRequiredWithoutDocumentsNestedInput
1774
- updatedBy?: Prisma.UserUpdateOneRequiredWithoutUpdatedDocumentsNestedInput
1775
- versions?: Prisma.VersionUpdateManyWithoutDocumentNestedInput
1776
- mediaUsages?: Prisma.MediaUsageUpdateManyWithoutDocumentNestedInput
1777
- contentLocks?: Prisma.ContentLockUpdateManyWithoutDocumentNestedInput
1778
- }
1779
-
1780
- export type DocumentUncheckedUpdateWithoutFolderInput = {
1781
- id?: Prisma.StringFieldUpdateOperationsInput | string
1782
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1783
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1784
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1785
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1786
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1787
- createdById?: Prisma.StringFieldUpdateOperationsInput | string
1788
- updatedById?: Prisma.StringFieldUpdateOperationsInput | string
1789
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1790
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1791
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1792
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1793
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1794
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1795
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1796
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1797
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1798
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1799
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1800
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1801
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1802
- versions?: Prisma.VersionUncheckedUpdateManyWithoutDocumentNestedInput
1803
- mediaUsages?: Prisma.MediaUsageUncheckedUpdateManyWithoutDocumentNestedInput
1804
- contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutDocumentNestedInput
1805
- }
1806
-
1807
- export type DocumentUncheckedUpdateManyWithoutFolderInput = {
1808
- id?: Prisma.StringFieldUpdateOperationsInput | string
1809
- collection?: Prisma.StringFieldUpdateOperationsInput | string
1810
- data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1811
- status?: Prisma.EnumDocumentStatusFieldUpdateOperationsInput | $Enums.DocumentStatus
1812
- locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1813
- localeGroupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1814
- createdById?: Prisma.StringFieldUpdateOperationsInput | string
1815
- updatedById?: Prisma.StringFieldUpdateOperationsInput | string
1816
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1817
- scheduledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1818
- scheduledUnpublishAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1819
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1820
- searchVector?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1821
- plainText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1822
- contentHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1823
- structuredData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1824
- contentGraph?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1825
- siteId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1826
- templateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1827
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1828
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1829
- }
1830
-
1831
-
1832
- /**
1833
- * Count Type DocumentCountOutputType
1834
- */
1835
-
1836
- export type DocumentCountOutputType = {
1837
- versions: number
1838
- mediaUsages: number
1839
- contentLocks: number
1840
- }
1841
-
1842
- export type DocumentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1843
- versions?: boolean | DocumentCountOutputTypeCountVersionsArgs
1844
- mediaUsages?: boolean | DocumentCountOutputTypeCountMediaUsagesArgs
1845
- contentLocks?: boolean | DocumentCountOutputTypeCountContentLocksArgs
1846
- }
1847
-
1848
- /**
1849
- * DocumentCountOutputType without action
1850
- */
1851
- export type DocumentCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1852
- /**
1853
- * Select specific fields to fetch from the DocumentCountOutputType
1854
- */
1855
- select?: Prisma.DocumentCountOutputTypeSelect<ExtArgs> | null
1856
- }
1857
-
1858
- /**
1859
- * DocumentCountOutputType without action
1860
- */
1861
- export type DocumentCountOutputTypeCountVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1862
- where?: Prisma.VersionWhereInput
1863
- }
1864
-
1865
- /**
1866
- * DocumentCountOutputType without action
1867
- */
1868
- export type DocumentCountOutputTypeCountMediaUsagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1869
- where?: Prisma.MediaUsageWhereInput
1870
- }
1871
-
1872
- /**
1873
- * DocumentCountOutputType without action
1874
- */
1875
- export type DocumentCountOutputTypeCountContentLocksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1876
- where?: Prisma.ContentLockWhereInput
1877
- }
1878
-
1879
-
1880
- export type DocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1881
- id?: boolean
1882
- collection?: boolean
1883
- data?: boolean
1884
- status?: boolean
1885
- locale?: boolean
1886
- localeGroupId?: boolean
1887
- createdById?: boolean
1888
- updatedById?: boolean
1889
- publishedAt?: boolean
1890
- scheduledAt?: boolean
1891
- scheduledUnpublishAt?: boolean
1892
- deletedAt?: boolean
1893
- searchVector?: boolean
1894
- plainText?: boolean
1895
- contentHash?: boolean
1896
- structuredData?: boolean
1897
- contentGraph?: boolean
1898
- siteId?: boolean
1899
- templateId?: boolean
1900
- folderId?: boolean
1901
- createdAt?: boolean
1902
- updatedAt?: boolean
1903
- createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1904
- updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1905
- folder?: boolean | Prisma.Document$folderArgs<ExtArgs>
1906
- versions?: boolean | Prisma.Document$versionsArgs<ExtArgs>
1907
- mediaUsages?: boolean | Prisma.Document$mediaUsagesArgs<ExtArgs>
1908
- contentLocks?: boolean | Prisma.Document$contentLocksArgs<ExtArgs>
1909
- _count?: boolean | Prisma.DocumentCountOutputTypeDefaultArgs<ExtArgs>
1910
- }, ExtArgs["result"]["document"]>
1911
-
1912
- export type DocumentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1913
- id?: boolean
1914
- collection?: boolean
1915
- data?: boolean
1916
- status?: boolean
1917
- locale?: boolean
1918
- localeGroupId?: boolean
1919
- createdById?: boolean
1920
- updatedById?: boolean
1921
- publishedAt?: boolean
1922
- scheduledAt?: boolean
1923
- scheduledUnpublishAt?: boolean
1924
- deletedAt?: boolean
1925
- searchVector?: boolean
1926
- plainText?: boolean
1927
- contentHash?: boolean
1928
- structuredData?: boolean
1929
- contentGraph?: boolean
1930
- siteId?: boolean
1931
- templateId?: boolean
1932
- folderId?: boolean
1933
- createdAt?: boolean
1934
- updatedAt?: boolean
1935
- createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1936
- updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1937
- folder?: boolean | Prisma.Document$folderArgs<ExtArgs>
1938
- }, ExtArgs["result"]["document"]>
1939
-
1940
- export type DocumentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1941
- id?: boolean
1942
- collection?: boolean
1943
- data?: boolean
1944
- status?: boolean
1945
- locale?: boolean
1946
- localeGroupId?: boolean
1947
- createdById?: boolean
1948
- updatedById?: boolean
1949
- publishedAt?: boolean
1950
- scheduledAt?: boolean
1951
- scheduledUnpublishAt?: boolean
1952
- deletedAt?: boolean
1953
- searchVector?: boolean
1954
- plainText?: boolean
1955
- contentHash?: boolean
1956
- structuredData?: boolean
1957
- contentGraph?: boolean
1958
- siteId?: boolean
1959
- templateId?: boolean
1960
- folderId?: boolean
1961
- createdAt?: boolean
1962
- updatedAt?: boolean
1963
- createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1964
- updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1965
- folder?: boolean | Prisma.Document$folderArgs<ExtArgs>
1966
- }, ExtArgs["result"]["document"]>
1967
-
1968
- export type DocumentSelectScalar = {
1969
- id?: boolean
1970
- collection?: boolean
1971
- data?: boolean
1972
- status?: boolean
1973
- locale?: boolean
1974
- localeGroupId?: boolean
1975
- createdById?: boolean
1976
- updatedById?: boolean
1977
- publishedAt?: boolean
1978
- scheduledAt?: boolean
1979
- scheduledUnpublishAt?: boolean
1980
- deletedAt?: boolean
1981
- searchVector?: boolean
1982
- plainText?: boolean
1983
- contentHash?: boolean
1984
- structuredData?: boolean
1985
- contentGraph?: boolean
1986
- siteId?: boolean
1987
- templateId?: boolean
1988
- folderId?: boolean
1989
- createdAt?: boolean
1990
- updatedAt?: boolean
1991
- }
1992
-
1993
- export type DocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "collection" | "data" | "status" | "locale" | "localeGroupId" | "createdById" | "updatedById" | "publishedAt" | "scheduledAt" | "scheduledUnpublishAt" | "deletedAt" | "searchVector" | "plainText" | "contentHash" | "structuredData" | "contentGraph" | "siteId" | "templateId" | "folderId" | "createdAt" | "updatedAt", ExtArgs["result"]["document"]>
1994
- export type DocumentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1995
- createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1996
- updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1997
- folder?: boolean | Prisma.Document$folderArgs<ExtArgs>
1998
- versions?: boolean | Prisma.Document$versionsArgs<ExtArgs>
1999
- mediaUsages?: boolean | Prisma.Document$mediaUsagesArgs<ExtArgs>
2000
- contentLocks?: boolean | Prisma.Document$contentLocksArgs<ExtArgs>
2001
- _count?: boolean | Prisma.DocumentCountOutputTypeDefaultArgs<ExtArgs>
2002
- }
2003
- export type DocumentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2004
- createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2005
- updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2006
- folder?: boolean | Prisma.Document$folderArgs<ExtArgs>
2007
- }
2008
- export type DocumentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2009
- createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2010
- updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2011
- folder?: boolean | Prisma.Document$folderArgs<ExtArgs>
2012
- }
2013
-
2014
- export type $DocumentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2015
- name: "Document"
2016
- objects: {
2017
- createdBy: Prisma.$UserPayload<ExtArgs>
2018
- updatedBy: Prisma.$UserPayload<ExtArgs>
2019
- folder: Prisma.$FolderPayload<ExtArgs> | null
2020
- versions: Prisma.$VersionPayload<ExtArgs>[]
2021
- mediaUsages: Prisma.$MediaUsagePayload<ExtArgs>[]
2022
- contentLocks: Prisma.$ContentLockPayload<ExtArgs>[]
2023
- }
2024
- scalars: runtime.Types.Extensions.GetPayloadResult<{
2025
- id: string
2026
- collection: string
2027
- data: runtime.JsonValue
2028
- status: $Enums.DocumentStatus
2029
- locale: string | null
2030
- localeGroupId: string | null
2031
- createdById: string
2032
- updatedById: string
2033
- publishedAt: Date | null
2034
- scheduledAt: Date | null
2035
- scheduledUnpublishAt: Date | null
2036
- deletedAt: Date | null
2037
- searchVector: string | null
2038
- plainText: string | null
2039
- contentHash: string | null
2040
- structuredData: runtime.JsonValue | null
2041
- contentGraph: runtime.JsonValue | null
2042
- siteId: string | null
2043
- templateId: string | null
2044
- folderId: string | null
2045
- createdAt: Date
2046
- updatedAt: Date
2047
- }, ExtArgs["result"]["document"]>
2048
- composites: {}
2049
- }
2050
-
2051
- export type DocumentGetPayload<S extends boolean | null | undefined | DocumentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DocumentPayload, S>
2052
-
2053
- export type DocumentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
2054
- Omit<DocumentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
2055
- select?: DocumentCountAggregateInputType | true
2056
- }
2057
-
2058
- export interface DocumentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
2059
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Document'], meta: { name: 'Document' } }
2060
- /**
2061
- * Find zero or one Document that matches the filter.
2062
- * @param {DocumentFindUniqueArgs} args - Arguments to find a Document
2063
- * @example
2064
- * // Get one Document
2065
- * const document = await prisma.document.findUnique({
2066
- * where: {
2067
- * // ... provide filter here
2068
- * }
2069
- * })
2070
- */
2071
- findUnique<T extends DocumentFindUniqueArgs>(args: Prisma.SelectSubset<T, DocumentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DocumentClient<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2072
-
2073
- /**
2074
- * Find one Document that matches the filter or throw an error with `error.code='P2025'`
2075
- * if no matches were found.
2076
- * @param {DocumentFindUniqueOrThrowArgs} args - Arguments to find a Document
2077
- * @example
2078
- * // Get one Document
2079
- * const document = await prisma.document.findUniqueOrThrow({
2080
- * where: {
2081
- * // ... provide filter here
2082
- * }
2083
- * })
2084
- */
2085
- findUniqueOrThrow<T extends DocumentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DocumentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DocumentClient<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2086
-
2087
- /**
2088
- * Find the first Document that matches the filter.
2089
- * Note, that providing `undefined` is treated as the value not being there.
2090
- * Read more here: https://pris.ly/d/null-undefined
2091
- * @param {DocumentFindFirstArgs} args - Arguments to find a Document
2092
- * @example
2093
- * // Get one Document
2094
- * const document = await prisma.document.findFirst({
2095
- * where: {
2096
- * // ... provide filter here
2097
- * }
2098
- * })
2099
- */
2100
- findFirst<T extends DocumentFindFirstArgs>(args?: Prisma.SelectSubset<T, DocumentFindFirstArgs<ExtArgs>>): Prisma.Prisma__DocumentClient<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2101
-
2102
- /**
2103
- * Find the first Document that matches the filter or
2104
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
2105
- * Note, that providing `undefined` is treated as the value not being there.
2106
- * Read more here: https://pris.ly/d/null-undefined
2107
- * @param {DocumentFindFirstOrThrowArgs} args - Arguments to find a Document
2108
- * @example
2109
- * // Get one Document
2110
- * const document = await prisma.document.findFirstOrThrow({
2111
- * where: {
2112
- * // ... provide filter here
2113
- * }
2114
- * })
2115
- */
2116
- findFirstOrThrow<T extends DocumentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DocumentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DocumentClient<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2117
-
2118
- /**
2119
- * Find zero or more Documents that matches the filter.
2120
- * Note, that providing `undefined` is treated as the value not being there.
2121
- * Read more here: https://pris.ly/d/null-undefined
2122
- * @param {DocumentFindManyArgs} args - Arguments to filter and select certain fields only.
2123
- * @example
2124
- * // Get all Documents
2125
- * const documents = await prisma.document.findMany()
2126
- *
2127
- * // Get first 10 Documents
2128
- * const documents = await prisma.document.findMany({ take: 10 })
2129
- *
2130
- * // Only select the `id`
2131
- * const documentWithIdOnly = await prisma.document.findMany({ select: { id: true } })
2132
- *
2133
- */
2134
- findMany<T extends DocumentFindManyArgs>(args?: Prisma.SelectSubset<T, DocumentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
2135
-
2136
- /**
2137
- * Create a Document.
2138
- * @param {DocumentCreateArgs} args - Arguments to create a Document.
2139
- * @example
2140
- * // Create one Document
2141
- * const Document = await prisma.document.create({
2142
- * data: {
2143
- * // ... data to create a Document
2144
- * }
2145
- * })
2146
- *
2147
- */
2148
- create<T extends DocumentCreateArgs>(args: Prisma.SelectSubset<T, DocumentCreateArgs<ExtArgs>>): Prisma.Prisma__DocumentClient<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2149
-
2150
- /**
2151
- * Create many Documents.
2152
- * @param {DocumentCreateManyArgs} args - Arguments to create many Documents.
2153
- * @example
2154
- * // Create many Documents
2155
- * const document = await prisma.document.createMany({
2156
- * data: [
2157
- * // ... provide data here
2158
- * ]
2159
- * })
2160
- *
2161
- */
2162
- createMany<T extends DocumentCreateManyArgs>(args?: Prisma.SelectSubset<T, DocumentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2163
-
2164
- /**
2165
- * Create many Documents and returns the data saved in the database.
2166
- * @param {DocumentCreateManyAndReturnArgs} args - Arguments to create many Documents.
2167
- * @example
2168
- * // Create many Documents
2169
- * const document = await prisma.document.createManyAndReturn({
2170
- * data: [
2171
- * // ... provide data here
2172
- * ]
2173
- * })
2174
- *
2175
- * // Create many Documents and only return the `id`
2176
- * const documentWithIdOnly = await prisma.document.createManyAndReturn({
2177
- * select: { id: true },
2178
- * data: [
2179
- * // ... provide data here
2180
- * ]
2181
- * })
2182
- * Note, that providing `undefined` is treated as the value not being there.
2183
- * Read more here: https://pris.ly/d/null-undefined
2184
- *
2185
- */
2186
- createManyAndReturn<T extends DocumentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DocumentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
2187
-
2188
- /**
2189
- * Delete a Document.
2190
- * @param {DocumentDeleteArgs} args - Arguments to delete one Document.
2191
- * @example
2192
- * // Delete one Document
2193
- * const Document = await prisma.document.delete({
2194
- * where: {
2195
- * // ... filter to delete one Document
2196
- * }
2197
- * })
2198
- *
2199
- */
2200
- delete<T extends DocumentDeleteArgs>(args: Prisma.SelectSubset<T, DocumentDeleteArgs<ExtArgs>>): Prisma.Prisma__DocumentClient<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2201
-
2202
- /**
2203
- * Update one Document.
2204
- * @param {DocumentUpdateArgs} args - Arguments to update one Document.
2205
- * @example
2206
- * // Update one Document
2207
- * const document = await prisma.document.update({
2208
- * where: {
2209
- * // ... provide filter here
2210
- * },
2211
- * data: {
2212
- * // ... provide data here
2213
- * }
2214
- * })
2215
- *
2216
- */
2217
- update<T extends DocumentUpdateArgs>(args: Prisma.SelectSubset<T, DocumentUpdateArgs<ExtArgs>>): Prisma.Prisma__DocumentClient<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2218
-
2219
- /**
2220
- * Delete zero or more Documents.
2221
- * @param {DocumentDeleteManyArgs} args - Arguments to filter Documents to delete.
2222
- * @example
2223
- * // Delete a few Documents
2224
- * const { count } = await prisma.document.deleteMany({
2225
- * where: {
2226
- * // ... provide filter here
2227
- * }
2228
- * })
2229
- *
2230
- */
2231
- deleteMany<T extends DocumentDeleteManyArgs>(args?: Prisma.SelectSubset<T, DocumentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2232
-
2233
- /**
2234
- * Update zero or more Documents.
2235
- * Note, that providing `undefined` is treated as the value not being there.
2236
- * Read more here: https://pris.ly/d/null-undefined
2237
- * @param {DocumentUpdateManyArgs} args - Arguments to update one or more rows.
2238
- * @example
2239
- * // Update many Documents
2240
- * const document = await prisma.document.updateMany({
2241
- * where: {
2242
- * // ... provide filter here
2243
- * },
2244
- * data: {
2245
- * // ... provide data here
2246
- * }
2247
- * })
2248
- *
2249
- */
2250
- updateMany<T extends DocumentUpdateManyArgs>(args: Prisma.SelectSubset<T, DocumentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2251
-
2252
- /**
2253
- * Update zero or more Documents and returns the data updated in the database.
2254
- * @param {DocumentUpdateManyAndReturnArgs} args - Arguments to update many Documents.
2255
- * @example
2256
- * // Update many Documents
2257
- * const document = await prisma.document.updateManyAndReturn({
2258
- * where: {
2259
- * // ... provide filter here
2260
- * },
2261
- * data: [
2262
- * // ... provide data here
2263
- * ]
2264
- * })
2265
- *
2266
- * // Update zero or more Documents and only return the `id`
2267
- * const documentWithIdOnly = await prisma.document.updateManyAndReturn({
2268
- * select: { id: true },
2269
- * where: {
2270
- * // ... provide filter here
2271
- * },
2272
- * data: [
2273
- * // ... provide data here
2274
- * ]
2275
- * })
2276
- * Note, that providing `undefined` is treated as the value not being there.
2277
- * Read more here: https://pris.ly/d/null-undefined
2278
- *
2279
- */
2280
- updateManyAndReturn<T extends DocumentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DocumentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2281
-
2282
- /**
2283
- * Create or update one Document.
2284
- * @param {DocumentUpsertArgs} args - Arguments to update or create a Document.
2285
- * @example
2286
- * // Update or create a Document
2287
- * const document = await prisma.document.upsert({
2288
- * create: {
2289
- * // ... data to create a Document
2290
- * },
2291
- * update: {
2292
- * // ... in case it already exists, update
2293
- * },
2294
- * where: {
2295
- * // ... the filter for the Document we want to update
2296
- * }
2297
- * })
2298
- */
2299
- upsert<T extends DocumentUpsertArgs>(args: Prisma.SelectSubset<T, DocumentUpsertArgs<ExtArgs>>): Prisma.Prisma__DocumentClient<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2300
-
2301
-
2302
- /**
2303
- * Count the number of Documents.
2304
- * Note, that providing `undefined` is treated as the value not being there.
2305
- * Read more here: https://pris.ly/d/null-undefined
2306
- * @param {DocumentCountArgs} args - Arguments to filter Documents to count.
2307
- * @example
2308
- * // Count the number of Documents
2309
- * const count = await prisma.document.count({
2310
- * where: {
2311
- * // ... the filter for the Documents we want to count
2312
- * }
2313
- * })
2314
- **/
2315
- count<T extends DocumentCountArgs>(
2316
- args?: Prisma.Subset<T, DocumentCountArgs>,
2317
- ): Prisma.PrismaPromise<
2318
- T extends runtime.Types.Utils.Record<'select', any>
2319
- ? T['select'] extends true
2320
- ? number
2321
- : Prisma.GetScalarType<T['select'], DocumentCountAggregateOutputType>
2322
- : number
2323
- >
2324
-
2325
- /**
2326
- * Allows you to perform aggregations operations on a Document.
2327
- * Note, that providing `undefined` is treated as the value not being there.
2328
- * Read more here: https://pris.ly/d/null-undefined
2329
- * @param {DocumentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2330
- * @example
2331
- * // Ordered by age ascending
2332
- * // Where email contains prisma.io
2333
- * // Limited to the 10 users
2334
- * const aggregations = await prisma.user.aggregate({
2335
- * _avg: {
2336
- * age: true,
2337
- * },
2338
- * where: {
2339
- * email: {
2340
- * contains: "prisma.io",
2341
- * },
2342
- * },
2343
- * orderBy: {
2344
- * age: "asc",
2345
- * },
2346
- * take: 10,
2347
- * })
2348
- **/
2349
- aggregate<T extends DocumentAggregateArgs>(args: Prisma.Subset<T, DocumentAggregateArgs>): Prisma.PrismaPromise<GetDocumentAggregateType<T>>
2350
-
2351
- /**
2352
- * Group by Document.
2353
- * Note, that providing `undefined` is treated as the value not being there.
2354
- * Read more here: https://pris.ly/d/null-undefined
2355
- * @param {DocumentGroupByArgs} args - Group by arguments.
2356
- * @example
2357
- * // Group by city, order by createdAt, get count
2358
- * const result = await prisma.user.groupBy({
2359
- * by: ['city', 'createdAt'],
2360
- * orderBy: {
2361
- * createdAt: true
2362
- * },
2363
- * _count: {
2364
- * _all: true
2365
- * },
2366
- * })
2367
- *
2368
- **/
2369
- groupBy<
2370
- T extends DocumentGroupByArgs,
2371
- HasSelectOrTake extends Prisma.Or<
2372
- Prisma.Extends<'skip', Prisma.Keys<T>>,
2373
- Prisma.Extends<'take', Prisma.Keys<T>>
2374
- >,
2375
- OrderByArg extends Prisma.True extends HasSelectOrTake
2376
- ? { orderBy: DocumentGroupByArgs['orderBy'] }
2377
- : { orderBy?: DocumentGroupByArgs['orderBy'] },
2378
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2379
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2380
- ByValid extends Prisma.Has<ByFields, OrderFields>,
2381
- HavingFields extends Prisma.GetHavingFields<T['having']>,
2382
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
2383
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2384
- InputErrors extends ByEmpty extends Prisma.True
2385
- ? `Error: "by" must not be empty.`
2386
- : HavingValid extends Prisma.False
2387
- ? {
2388
- [P in HavingFields]: P extends ByFields
2389
- ? never
2390
- : P extends string
2391
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2392
- : [
2393
- Error,
2394
- 'Field ',
2395
- P,
2396
- ` in "having" needs to be provided in "by"`,
2397
- ]
2398
- }[HavingFields]
2399
- : 'take' extends Prisma.Keys<T>
2400
- ? 'orderBy' extends Prisma.Keys<T>
2401
- ? ByValid extends Prisma.True
2402
- ? {}
2403
- : {
2404
- [P in OrderFields]: P extends ByFields
2405
- ? never
2406
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2407
- }[OrderFields]
2408
- : 'Error: If you provide "take", you also need to provide "orderBy"'
2409
- : 'skip' extends Prisma.Keys<T>
2410
- ? 'orderBy' extends Prisma.Keys<T>
2411
- ? ByValid extends Prisma.True
2412
- ? {}
2413
- : {
2414
- [P in OrderFields]: P extends ByFields
2415
- ? never
2416
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2417
- }[OrderFields]
2418
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
2419
- : ByValid extends Prisma.True
2420
- ? {}
2421
- : {
2422
- [P in OrderFields]: P extends ByFields
2423
- ? never
2424
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2425
- }[OrderFields]
2426
- >(args: Prisma.SubsetIntersection<T, DocumentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDocumentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2427
- /**
2428
- * Fields of the Document model
2429
- */
2430
- readonly fields: DocumentFieldRefs;
2431
- }
2432
-
2433
- /**
2434
- * The delegate class that acts as a "Promise-like" for Document.
2435
- * Why is this prefixed with `Prisma__`?
2436
- * Because we want to prevent naming conflicts as mentioned in
2437
- * https://github.com/prisma/prisma-client-js/issues/707
2438
- */
2439
- export interface Prisma__DocumentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2440
- readonly [Symbol.toStringTag]: "PrismaPromise"
2441
- createdBy<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
2442
- updatedBy<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
2443
- folder<T extends Prisma.Document$folderArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Document$folderArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2444
- versions<T extends Prisma.Document$versionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Document$versionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2445
- mediaUsages<T extends Prisma.Document$mediaUsagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Document$mediaUsagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MediaUsagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2446
- contentLocks<T extends Prisma.Document$contentLocksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Document$contentLocksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContentLockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2447
- /**
2448
- * Attaches callbacks for the resolution and/or rejection of the Promise.
2449
- * @param onfulfilled The callback to execute when the Promise is resolved.
2450
- * @param onrejected The callback to execute when the Promise is rejected.
2451
- * @returns A Promise for the completion of which ever callback is executed.
2452
- */
2453
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
2454
- /**
2455
- * Attaches a callback for only the rejection of the Promise.
2456
- * @param onrejected The callback to execute when the Promise is rejected.
2457
- * @returns A Promise for the completion of the callback.
2458
- */
2459
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2460
- /**
2461
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2462
- * resolved value cannot be modified from the callback.
2463
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2464
- * @returns A Promise for the completion of the callback.
2465
- */
2466
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2467
- }
2468
-
2469
-
2470
-
2471
-
2472
- /**
2473
- * Fields of the Document model
2474
- */
2475
- export interface DocumentFieldRefs {
2476
- readonly id: Prisma.FieldRef<"Document", 'String'>
2477
- readonly collection: Prisma.FieldRef<"Document", 'String'>
2478
- readonly data: Prisma.FieldRef<"Document", 'Json'>
2479
- readonly status: Prisma.FieldRef<"Document", 'DocumentStatus'>
2480
- readonly locale: Prisma.FieldRef<"Document", 'String'>
2481
- readonly localeGroupId: Prisma.FieldRef<"Document", 'String'>
2482
- readonly createdById: Prisma.FieldRef<"Document", 'String'>
2483
- readonly updatedById: Prisma.FieldRef<"Document", 'String'>
2484
- readonly publishedAt: Prisma.FieldRef<"Document", 'DateTime'>
2485
- readonly scheduledAt: Prisma.FieldRef<"Document", 'DateTime'>
2486
- readonly scheduledUnpublishAt: Prisma.FieldRef<"Document", 'DateTime'>
2487
- readonly deletedAt: Prisma.FieldRef<"Document", 'DateTime'>
2488
- readonly searchVector: Prisma.FieldRef<"Document", 'String'>
2489
- readonly plainText: Prisma.FieldRef<"Document", 'String'>
2490
- readonly contentHash: Prisma.FieldRef<"Document", 'String'>
2491
- readonly structuredData: Prisma.FieldRef<"Document", 'Json'>
2492
- readonly contentGraph: Prisma.FieldRef<"Document", 'Json'>
2493
- readonly siteId: Prisma.FieldRef<"Document", 'String'>
2494
- readonly templateId: Prisma.FieldRef<"Document", 'String'>
2495
- readonly folderId: Prisma.FieldRef<"Document", 'String'>
2496
- readonly createdAt: Prisma.FieldRef<"Document", 'DateTime'>
2497
- readonly updatedAt: Prisma.FieldRef<"Document", 'DateTime'>
2498
- }
2499
-
2500
-
2501
- // Custom InputTypes
2502
- /**
2503
- * Document findUnique
2504
- */
2505
- export type DocumentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2506
- /**
2507
- * Select specific fields to fetch from the Document
2508
- */
2509
- select?: Prisma.DocumentSelect<ExtArgs> | null
2510
- /**
2511
- * Omit specific fields from the Document
2512
- */
2513
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2514
- /**
2515
- * Choose, which related nodes to fetch as well
2516
- */
2517
- include?: Prisma.DocumentInclude<ExtArgs> | null
2518
- /**
2519
- * Filter, which Document to fetch.
2520
- */
2521
- where: Prisma.DocumentWhereUniqueInput
2522
- }
2523
-
2524
- /**
2525
- * Document findUniqueOrThrow
2526
- */
2527
- export type DocumentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2528
- /**
2529
- * Select specific fields to fetch from the Document
2530
- */
2531
- select?: Prisma.DocumentSelect<ExtArgs> | null
2532
- /**
2533
- * Omit specific fields from the Document
2534
- */
2535
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2536
- /**
2537
- * Choose, which related nodes to fetch as well
2538
- */
2539
- include?: Prisma.DocumentInclude<ExtArgs> | null
2540
- /**
2541
- * Filter, which Document to fetch.
2542
- */
2543
- where: Prisma.DocumentWhereUniqueInput
2544
- }
2545
-
2546
- /**
2547
- * Document findFirst
2548
- */
2549
- export type DocumentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2550
- /**
2551
- * Select specific fields to fetch from the Document
2552
- */
2553
- select?: Prisma.DocumentSelect<ExtArgs> | null
2554
- /**
2555
- * Omit specific fields from the Document
2556
- */
2557
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2558
- /**
2559
- * Choose, which related nodes to fetch as well
2560
- */
2561
- include?: Prisma.DocumentInclude<ExtArgs> | null
2562
- /**
2563
- * Filter, which Document to fetch.
2564
- */
2565
- where?: Prisma.DocumentWhereInput
2566
- /**
2567
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2568
- *
2569
- * Determine the order of Documents to fetch.
2570
- */
2571
- orderBy?: Prisma.DocumentOrderByWithRelationInput | Prisma.DocumentOrderByWithRelationInput[]
2572
- /**
2573
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2574
- *
2575
- * Sets the position for searching for Documents.
2576
- */
2577
- cursor?: Prisma.DocumentWhereUniqueInput
2578
- /**
2579
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2580
- *
2581
- * Take `±n` Documents from the position of the cursor.
2582
- */
2583
- take?: number
2584
- /**
2585
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2586
- *
2587
- * Skip the first `n` Documents.
2588
- */
2589
- skip?: number
2590
- /**
2591
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2592
- *
2593
- * Filter by unique combinations of Documents.
2594
- */
2595
- distinct?: Prisma.DocumentScalarFieldEnum | Prisma.DocumentScalarFieldEnum[]
2596
- }
2597
-
2598
- /**
2599
- * Document findFirstOrThrow
2600
- */
2601
- export type DocumentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2602
- /**
2603
- * Select specific fields to fetch from the Document
2604
- */
2605
- select?: Prisma.DocumentSelect<ExtArgs> | null
2606
- /**
2607
- * Omit specific fields from the Document
2608
- */
2609
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2610
- /**
2611
- * Choose, which related nodes to fetch as well
2612
- */
2613
- include?: Prisma.DocumentInclude<ExtArgs> | null
2614
- /**
2615
- * Filter, which Document to fetch.
2616
- */
2617
- where?: Prisma.DocumentWhereInput
2618
- /**
2619
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2620
- *
2621
- * Determine the order of Documents to fetch.
2622
- */
2623
- orderBy?: Prisma.DocumentOrderByWithRelationInput | Prisma.DocumentOrderByWithRelationInput[]
2624
- /**
2625
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2626
- *
2627
- * Sets the position for searching for Documents.
2628
- */
2629
- cursor?: Prisma.DocumentWhereUniqueInput
2630
- /**
2631
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2632
- *
2633
- * Take `±n` Documents from the position of the cursor.
2634
- */
2635
- take?: number
2636
- /**
2637
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2638
- *
2639
- * Skip the first `n` Documents.
2640
- */
2641
- skip?: number
2642
- /**
2643
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2644
- *
2645
- * Filter by unique combinations of Documents.
2646
- */
2647
- distinct?: Prisma.DocumentScalarFieldEnum | Prisma.DocumentScalarFieldEnum[]
2648
- }
2649
-
2650
- /**
2651
- * Document findMany
2652
- */
2653
- export type DocumentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2654
- /**
2655
- * Select specific fields to fetch from the Document
2656
- */
2657
- select?: Prisma.DocumentSelect<ExtArgs> | null
2658
- /**
2659
- * Omit specific fields from the Document
2660
- */
2661
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2662
- /**
2663
- * Choose, which related nodes to fetch as well
2664
- */
2665
- include?: Prisma.DocumentInclude<ExtArgs> | null
2666
- /**
2667
- * Filter, which Documents to fetch.
2668
- */
2669
- where?: Prisma.DocumentWhereInput
2670
- /**
2671
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2672
- *
2673
- * Determine the order of Documents to fetch.
2674
- */
2675
- orderBy?: Prisma.DocumentOrderByWithRelationInput | Prisma.DocumentOrderByWithRelationInput[]
2676
- /**
2677
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2678
- *
2679
- * Sets the position for listing Documents.
2680
- */
2681
- cursor?: Prisma.DocumentWhereUniqueInput
2682
- /**
2683
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2684
- *
2685
- * Take `±n` Documents from the position of the cursor.
2686
- */
2687
- take?: number
2688
- /**
2689
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2690
- *
2691
- * Skip the first `n` Documents.
2692
- */
2693
- skip?: number
2694
- /**
2695
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2696
- *
2697
- * Filter by unique combinations of Documents.
2698
- */
2699
- distinct?: Prisma.DocumentScalarFieldEnum | Prisma.DocumentScalarFieldEnum[]
2700
- }
2701
-
2702
- /**
2703
- * Document create
2704
- */
2705
- export type DocumentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2706
- /**
2707
- * Select specific fields to fetch from the Document
2708
- */
2709
- select?: Prisma.DocumentSelect<ExtArgs> | null
2710
- /**
2711
- * Omit specific fields from the Document
2712
- */
2713
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2714
- /**
2715
- * Choose, which related nodes to fetch as well
2716
- */
2717
- include?: Prisma.DocumentInclude<ExtArgs> | null
2718
- /**
2719
- * The data needed to create a Document.
2720
- */
2721
- data: Prisma.XOR<Prisma.DocumentCreateInput, Prisma.DocumentUncheckedCreateInput>
2722
- }
2723
-
2724
- /**
2725
- * Document createMany
2726
- */
2727
- export type DocumentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2728
- /**
2729
- * The data used to create many Documents.
2730
- */
2731
- data: Prisma.DocumentCreateManyInput | Prisma.DocumentCreateManyInput[]
2732
- skipDuplicates?: boolean
2733
- }
2734
-
2735
- /**
2736
- * Document createManyAndReturn
2737
- */
2738
- export type DocumentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2739
- /**
2740
- * Select specific fields to fetch from the Document
2741
- */
2742
- select?: Prisma.DocumentSelectCreateManyAndReturn<ExtArgs> | null
2743
- /**
2744
- * Omit specific fields from the Document
2745
- */
2746
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2747
- /**
2748
- * The data used to create many Documents.
2749
- */
2750
- data: Prisma.DocumentCreateManyInput | Prisma.DocumentCreateManyInput[]
2751
- skipDuplicates?: boolean
2752
- /**
2753
- * Choose, which related nodes to fetch as well
2754
- */
2755
- include?: Prisma.DocumentIncludeCreateManyAndReturn<ExtArgs> | null
2756
- }
2757
-
2758
- /**
2759
- * Document update
2760
- */
2761
- export type DocumentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2762
- /**
2763
- * Select specific fields to fetch from the Document
2764
- */
2765
- select?: Prisma.DocumentSelect<ExtArgs> | null
2766
- /**
2767
- * Omit specific fields from the Document
2768
- */
2769
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2770
- /**
2771
- * Choose, which related nodes to fetch as well
2772
- */
2773
- include?: Prisma.DocumentInclude<ExtArgs> | null
2774
- /**
2775
- * The data needed to update a Document.
2776
- */
2777
- data: Prisma.XOR<Prisma.DocumentUpdateInput, Prisma.DocumentUncheckedUpdateInput>
2778
- /**
2779
- * Choose, which Document to update.
2780
- */
2781
- where: Prisma.DocumentWhereUniqueInput
2782
- }
2783
-
2784
- /**
2785
- * Document updateMany
2786
- */
2787
- export type DocumentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2788
- /**
2789
- * The data used to update Documents.
2790
- */
2791
- data: Prisma.XOR<Prisma.DocumentUpdateManyMutationInput, Prisma.DocumentUncheckedUpdateManyInput>
2792
- /**
2793
- * Filter which Documents to update
2794
- */
2795
- where?: Prisma.DocumentWhereInput
2796
- /**
2797
- * Limit how many Documents to update.
2798
- */
2799
- limit?: number
2800
- }
2801
-
2802
- /**
2803
- * Document updateManyAndReturn
2804
- */
2805
- export type DocumentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2806
- /**
2807
- * Select specific fields to fetch from the Document
2808
- */
2809
- select?: Prisma.DocumentSelectUpdateManyAndReturn<ExtArgs> | null
2810
- /**
2811
- * Omit specific fields from the Document
2812
- */
2813
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2814
- /**
2815
- * The data used to update Documents.
2816
- */
2817
- data: Prisma.XOR<Prisma.DocumentUpdateManyMutationInput, Prisma.DocumentUncheckedUpdateManyInput>
2818
- /**
2819
- * Filter which Documents to update
2820
- */
2821
- where?: Prisma.DocumentWhereInput
2822
- /**
2823
- * Limit how many Documents to update.
2824
- */
2825
- limit?: number
2826
- /**
2827
- * Choose, which related nodes to fetch as well
2828
- */
2829
- include?: Prisma.DocumentIncludeUpdateManyAndReturn<ExtArgs> | null
2830
- }
2831
-
2832
- /**
2833
- * Document upsert
2834
- */
2835
- export type DocumentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2836
- /**
2837
- * Select specific fields to fetch from the Document
2838
- */
2839
- select?: Prisma.DocumentSelect<ExtArgs> | null
2840
- /**
2841
- * Omit specific fields from the Document
2842
- */
2843
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2844
- /**
2845
- * Choose, which related nodes to fetch as well
2846
- */
2847
- include?: Prisma.DocumentInclude<ExtArgs> | null
2848
- /**
2849
- * The filter to search for the Document to update in case it exists.
2850
- */
2851
- where: Prisma.DocumentWhereUniqueInput
2852
- /**
2853
- * In case the Document found by the `where` argument doesn't exist, create a new Document with this data.
2854
- */
2855
- create: Prisma.XOR<Prisma.DocumentCreateInput, Prisma.DocumentUncheckedCreateInput>
2856
- /**
2857
- * In case the Document was found with the provided `where` argument, update it with this data.
2858
- */
2859
- update: Prisma.XOR<Prisma.DocumentUpdateInput, Prisma.DocumentUncheckedUpdateInput>
2860
- }
2861
-
2862
- /**
2863
- * Document delete
2864
- */
2865
- export type DocumentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2866
- /**
2867
- * Select specific fields to fetch from the Document
2868
- */
2869
- select?: Prisma.DocumentSelect<ExtArgs> | null
2870
- /**
2871
- * Omit specific fields from the Document
2872
- */
2873
- omit?: Prisma.DocumentOmit<ExtArgs> | null
2874
- /**
2875
- * Choose, which related nodes to fetch as well
2876
- */
2877
- include?: Prisma.DocumentInclude<ExtArgs> | null
2878
- /**
2879
- * Filter which Document to delete.
2880
- */
2881
- where: Prisma.DocumentWhereUniqueInput
2882
- }
2883
-
2884
- /**
2885
- * Document deleteMany
2886
- */
2887
- export type DocumentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2888
- /**
2889
- * Filter which Documents to delete
2890
- */
2891
- where?: Prisma.DocumentWhereInput
2892
- /**
2893
- * Limit how many Documents to delete.
2894
- */
2895
- limit?: number
2896
- }
2897
-
2898
- /**
2899
- * Document.folder
2900
- */
2901
- export type Document$folderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2902
- /**
2903
- * Select specific fields to fetch from the Folder
2904
- */
2905
- select?: Prisma.FolderSelect<ExtArgs> | null
2906
- /**
2907
- * Omit specific fields from the Folder
2908
- */
2909
- omit?: Prisma.FolderOmit<ExtArgs> | null
2910
- /**
2911
- * Choose, which related nodes to fetch as well
2912
- */
2913
- include?: Prisma.FolderInclude<ExtArgs> | null
2914
- where?: Prisma.FolderWhereInput
2915
- }
2916
-
2917
- /**
2918
- * Document.versions
2919
- */
2920
- export type Document$versionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2921
- /**
2922
- * Select specific fields to fetch from the Version
2923
- */
2924
- select?: Prisma.VersionSelect<ExtArgs> | null
2925
- /**
2926
- * Omit specific fields from the Version
2927
- */
2928
- omit?: Prisma.VersionOmit<ExtArgs> | null
2929
- /**
2930
- * Choose, which related nodes to fetch as well
2931
- */
2932
- include?: Prisma.VersionInclude<ExtArgs> | null
2933
- where?: Prisma.VersionWhereInput
2934
- orderBy?: Prisma.VersionOrderByWithRelationInput | Prisma.VersionOrderByWithRelationInput[]
2935
- cursor?: Prisma.VersionWhereUniqueInput
2936
- take?: number
2937
- skip?: number
2938
- distinct?: Prisma.VersionScalarFieldEnum | Prisma.VersionScalarFieldEnum[]
2939
- }
2940
-
2941
- /**
2942
- * Document.mediaUsages
2943
- */
2944
- export type Document$mediaUsagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2945
- /**
2946
- * Select specific fields to fetch from the MediaUsage
2947
- */
2948
- select?: Prisma.MediaUsageSelect<ExtArgs> | null
2949
- /**
2950
- * Omit specific fields from the MediaUsage
2951
- */
2952
- omit?: Prisma.MediaUsageOmit<ExtArgs> | null
2953
- /**
2954
- * Choose, which related nodes to fetch as well
2955
- */
2956
- include?: Prisma.MediaUsageInclude<ExtArgs> | null
2957
- where?: Prisma.MediaUsageWhereInput
2958
- orderBy?: Prisma.MediaUsageOrderByWithRelationInput | Prisma.MediaUsageOrderByWithRelationInput[]
2959
- cursor?: Prisma.MediaUsageWhereUniqueInput
2960
- take?: number
2961
- skip?: number
2962
- distinct?: Prisma.MediaUsageScalarFieldEnum | Prisma.MediaUsageScalarFieldEnum[]
2963
- }
2964
-
2965
- /**
2966
- * Document.contentLocks
2967
- */
2968
- export type Document$contentLocksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2969
- /**
2970
- * Select specific fields to fetch from the ContentLock
2971
- */
2972
- select?: Prisma.ContentLockSelect<ExtArgs> | null
2973
- /**
2974
- * Omit specific fields from the ContentLock
2975
- */
2976
- omit?: Prisma.ContentLockOmit<ExtArgs> | null
2977
- /**
2978
- * Choose, which related nodes to fetch as well
2979
- */
2980
- include?: Prisma.ContentLockInclude<ExtArgs> | null
2981
- where?: Prisma.ContentLockWhereInput
2982
- orderBy?: Prisma.ContentLockOrderByWithRelationInput | Prisma.ContentLockOrderByWithRelationInput[]
2983
- cursor?: Prisma.ContentLockWhereUniqueInput
2984
- take?: number
2985
- skip?: number
2986
- distinct?: Prisma.ContentLockScalarFieldEnum | Prisma.ContentLockScalarFieldEnum[]
2987
- }
2988
-
2989
- /**
2990
- * Document without action
2991
- */
2992
- export type DocumentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2993
- /**
2994
- * Select specific fields to fetch from the Document
2995
- */
2996
- select?: Prisma.DocumentSelect<ExtArgs> | null
2997
- /**
2998
- * Omit specific fields from the Document
2999
- */
3000
- omit?: Prisma.DocumentOmit<ExtArgs> | null
3001
- /**
3002
- * Choose, which related nodes to fetch as well
3003
- */
3004
- include?: Prisma.DocumentInclude<ExtArgs> | null
3005
- }