@actuate-media/cms-core 0.90.0 → 0.91.0

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