@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,1453 @@
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 `ScriptTag` 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 ScriptTag
17
+ *
18
+ */
19
+ export type ScriptTagModel = runtime.Types.Result.DefaultSelection<Prisma.$ScriptTagPayload>
20
+
21
+ export type AggregateScriptTag = {
22
+ _count: ScriptTagCountAggregateOutputType | null
23
+ _avg: ScriptTagAvgAggregateOutputType | null
24
+ _sum: ScriptTagSumAggregateOutputType | null
25
+ _min: ScriptTagMinAggregateOutputType | null
26
+ _max: ScriptTagMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type ScriptTagAvgAggregateOutputType = {
30
+ priority: number | null
31
+ }
32
+
33
+ export type ScriptTagSumAggregateOutputType = {
34
+ priority: number | null
35
+ }
36
+
37
+ export type ScriptTagMinAggregateOutputType = {
38
+ id: string | null
39
+ name: string | null
40
+ code: string | null
41
+ placement: string | null
42
+ scope: string | null
43
+ priority: number | null
44
+ enabled: boolean | null
45
+ loadAsync: boolean | null
46
+ disableInPreview: boolean | null
47
+ consentCategory: string | null
48
+ createdAt: Date | null
49
+ updatedAt: Date | null
50
+ }
51
+
52
+ export type ScriptTagMaxAggregateOutputType = {
53
+ id: string | null
54
+ name: string | null
55
+ code: string | null
56
+ placement: string | null
57
+ scope: string | null
58
+ priority: number | null
59
+ enabled: boolean | null
60
+ loadAsync: boolean | null
61
+ disableInPreview: boolean | null
62
+ consentCategory: string | null
63
+ createdAt: Date | null
64
+ updatedAt: Date | null
65
+ }
66
+
67
+ export type ScriptTagCountAggregateOutputType = {
68
+ id: number
69
+ name: number
70
+ code: number
71
+ placement: number
72
+ scope: number
73
+ targetPaths: number
74
+ priority: number
75
+ enabled: number
76
+ loadAsync: number
77
+ disableInPreview: number
78
+ consentCategory: number
79
+ createdAt: number
80
+ updatedAt: number
81
+ _all: number
82
+ }
83
+
84
+
85
+ export type ScriptTagAvgAggregateInputType = {
86
+ priority?: true
87
+ }
88
+
89
+ export type ScriptTagSumAggregateInputType = {
90
+ priority?: true
91
+ }
92
+
93
+ export type ScriptTagMinAggregateInputType = {
94
+ id?: true
95
+ name?: true
96
+ code?: true
97
+ placement?: true
98
+ scope?: true
99
+ priority?: true
100
+ enabled?: true
101
+ loadAsync?: true
102
+ disableInPreview?: true
103
+ consentCategory?: true
104
+ createdAt?: true
105
+ updatedAt?: true
106
+ }
107
+
108
+ export type ScriptTagMaxAggregateInputType = {
109
+ id?: true
110
+ name?: true
111
+ code?: true
112
+ placement?: true
113
+ scope?: true
114
+ priority?: true
115
+ enabled?: true
116
+ loadAsync?: true
117
+ disableInPreview?: true
118
+ consentCategory?: true
119
+ createdAt?: true
120
+ updatedAt?: true
121
+ }
122
+
123
+ export type ScriptTagCountAggregateInputType = {
124
+ id?: true
125
+ name?: true
126
+ code?: true
127
+ placement?: true
128
+ scope?: true
129
+ targetPaths?: true
130
+ priority?: true
131
+ enabled?: true
132
+ loadAsync?: true
133
+ disableInPreview?: true
134
+ consentCategory?: true
135
+ createdAt?: true
136
+ updatedAt?: true
137
+ _all?: true
138
+ }
139
+
140
+ export type ScriptTagAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
141
+ /**
142
+ * Filter which ScriptTag to aggregate.
143
+ */
144
+ where?: Prisma.ScriptTagWhereInput
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
147
+ *
148
+ * Determine the order of ScriptTags to fetch.
149
+ */
150
+ orderBy?: Prisma.ScriptTagOrderByWithRelationInput | Prisma.ScriptTagOrderByWithRelationInput[]
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
153
+ *
154
+ * Sets the start position
155
+ */
156
+ cursor?: Prisma.ScriptTagWhereUniqueInput
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
159
+ *
160
+ * Take `±n` ScriptTags from the position of the cursor.
161
+ */
162
+ take?: number
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
165
+ *
166
+ * Skip the first `n` ScriptTags.
167
+ */
168
+ skip?: number
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
171
+ *
172
+ * Count returned ScriptTags
173
+ **/
174
+ _count?: true | ScriptTagCountAggregateInputType
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
177
+ *
178
+ * Select which fields to average
179
+ **/
180
+ _avg?: ScriptTagAvgAggregateInputType
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
+ *
184
+ * Select which fields to sum
185
+ **/
186
+ _sum?: ScriptTagSumAggregateInputType
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
+ *
190
+ * Select which fields to find the minimum value
191
+ **/
192
+ _min?: ScriptTagMinAggregateInputType
193
+ /**
194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
+ *
196
+ * Select which fields to find the maximum value
197
+ **/
198
+ _max?: ScriptTagMaxAggregateInputType
199
+ }
200
+
201
+ export type GetScriptTagAggregateType<T extends ScriptTagAggregateArgs> = {
202
+ [P in keyof T & keyof AggregateScriptTag]: P extends '_count' | 'count'
203
+ ? T[P] extends true
204
+ ? number
205
+ : Prisma.GetScalarType<T[P], AggregateScriptTag[P]>
206
+ : Prisma.GetScalarType<T[P], AggregateScriptTag[P]>
207
+ }
208
+
209
+
210
+
211
+
212
+ export type ScriptTagGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
213
+ where?: Prisma.ScriptTagWhereInput
214
+ orderBy?: Prisma.ScriptTagOrderByWithAggregationInput | Prisma.ScriptTagOrderByWithAggregationInput[]
215
+ by: Prisma.ScriptTagScalarFieldEnum[] | Prisma.ScriptTagScalarFieldEnum
216
+ having?: Prisma.ScriptTagScalarWhereWithAggregatesInput
217
+ take?: number
218
+ skip?: number
219
+ _count?: ScriptTagCountAggregateInputType | true
220
+ _avg?: ScriptTagAvgAggregateInputType
221
+ _sum?: ScriptTagSumAggregateInputType
222
+ _min?: ScriptTagMinAggregateInputType
223
+ _max?: ScriptTagMaxAggregateInputType
224
+ }
225
+
226
+ export type ScriptTagGroupByOutputType = {
227
+ id: string
228
+ name: string
229
+ code: string
230
+ placement: string
231
+ scope: string
232
+ targetPaths: string[]
233
+ priority: number
234
+ enabled: boolean
235
+ loadAsync: boolean
236
+ disableInPreview: boolean
237
+ consentCategory: string
238
+ createdAt: Date
239
+ updatedAt: Date
240
+ _count: ScriptTagCountAggregateOutputType | null
241
+ _avg: ScriptTagAvgAggregateOutputType | null
242
+ _sum: ScriptTagSumAggregateOutputType | null
243
+ _min: ScriptTagMinAggregateOutputType | null
244
+ _max: ScriptTagMaxAggregateOutputType | null
245
+ }
246
+
247
+ export type GetScriptTagGroupByPayload<T extends ScriptTagGroupByArgs> = Prisma.PrismaPromise<
248
+ Array<
249
+ Prisma.PickEnumerable<ScriptTagGroupByOutputType, T['by']> &
250
+ {
251
+ [P in ((keyof T) & (keyof ScriptTagGroupByOutputType))]: P extends '_count'
252
+ ? T[P] extends boolean
253
+ ? number
254
+ : Prisma.GetScalarType<T[P], ScriptTagGroupByOutputType[P]>
255
+ : Prisma.GetScalarType<T[P], ScriptTagGroupByOutputType[P]>
256
+ }
257
+ >
258
+ >
259
+
260
+
261
+
262
+ export type ScriptTagWhereInput = {
263
+ AND?: Prisma.ScriptTagWhereInput | Prisma.ScriptTagWhereInput[]
264
+ OR?: Prisma.ScriptTagWhereInput[]
265
+ NOT?: Prisma.ScriptTagWhereInput | Prisma.ScriptTagWhereInput[]
266
+ id?: Prisma.StringFilter<"ScriptTag"> | string
267
+ name?: Prisma.StringFilter<"ScriptTag"> | string
268
+ code?: Prisma.StringFilter<"ScriptTag"> | string
269
+ placement?: Prisma.StringFilter<"ScriptTag"> | string
270
+ scope?: Prisma.StringFilter<"ScriptTag"> | string
271
+ targetPaths?: Prisma.StringNullableListFilter<"ScriptTag">
272
+ priority?: Prisma.IntFilter<"ScriptTag"> | number
273
+ enabled?: Prisma.BoolFilter<"ScriptTag"> | boolean
274
+ loadAsync?: Prisma.BoolFilter<"ScriptTag"> | boolean
275
+ disableInPreview?: Prisma.BoolFilter<"ScriptTag"> | boolean
276
+ consentCategory?: Prisma.StringFilter<"ScriptTag"> | string
277
+ createdAt?: Prisma.DateTimeFilter<"ScriptTag"> | Date | string
278
+ updatedAt?: Prisma.DateTimeFilter<"ScriptTag"> | Date | string
279
+ }
280
+
281
+ export type ScriptTagOrderByWithRelationInput = {
282
+ id?: Prisma.SortOrder
283
+ name?: Prisma.SortOrder
284
+ code?: Prisma.SortOrder
285
+ placement?: Prisma.SortOrder
286
+ scope?: Prisma.SortOrder
287
+ targetPaths?: Prisma.SortOrder
288
+ priority?: Prisma.SortOrder
289
+ enabled?: Prisma.SortOrder
290
+ loadAsync?: Prisma.SortOrder
291
+ disableInPreview?: Prisma.SortOrder
292
+ consentCategory?: Prisma.SortOrder
293
+ createdAt?: Prisma.SortOrder
294
+ updatedAt?: Prisma.SortOrder
295
+ _relevance?: Prisma.ScriptTagOrderByRelevanceInput
296
+ }
297
+
298
+ export type ScriptTagWhereUniqueInput = Prisma.AtLeast<{
299
+ id?: string
300
+ AND?: Prisma.ScriptTagWhereInput | Prisma.ScriptTagWhereInput[]
301
+ OR?: Prisma.ScriptTagWhereInput[]
302
+ NOT?: Prisma.ScriptTagWhereInput | Prisma.ScriptTagWhereInput[]
303
+ name?: Prisma.StringFilter<"ScriptTag"> | string
304
+ code?: Prisma.StringFilter<"ScriptTag"> | string
305
+ placement?: Prisma.StringFilter<"ScriptTag"> | string
306
+ scope?: Prisma.StringFilter<"ScriptTag"> | string
307
+ targetPaths?: Prisma.StringNullableListFilter<"ScriptTag">
308
+ priority?: Prisma.IntFilter<"ScriptTag"> | number
309
+ enabled?: Prisma.BoolFilter<"ScriptTag"> | boolean
310
+ loadAsync?: Prisma.BoolFilter<"ScriptTag"> | boolean
311
+ disableInPreview?: Prisma.BoolFilter<"ScriptTag"> | boolean
312
+ consentCategory?: Prisma.StringFilter<"ScriptTag"> | string
313
+ createdAt?: Prisma.DateTimeFilter<"ScriptTag"> | Date | string
314
+ updatedAt?: Prisma.DateTimeFilter<"ScriptTag"> | Date | string
315
+ }, "id">
316
+
317
+ export type ScriptTagOrderByWithAggregationInput = {
318
+ id?: Prisma.SortOrder
319
+ name?: Prisma.SortOrder
320
+ code?: Prisma.SortOrder
321
+ placement?: Prisma.SortOrder
322
+ scope?: Prisma.SortOrder
323
+ targetPaths?: Prisma.SortOrder
324
+ priority?: Prisma.SortOrder
325
+ enabled?: Prisma.SortOrder
326
+ loadAsync?: Prisma.SortOrder
327
+ disableInPreview?: Prisma.SortOrder
328
+ consentCategory?: Prisma.SortOrder
329
+ createdAt?: Prisma.SortOrder
330
+ updatedAt?: Prisma.SortOrder
331
+ _count?: Prisma.ScriptTagCountOrderByAggregateInput
332
+ _avg?: Prisma.ScriptTagAvgOrderByAggregateInput
333
+ _max?: Prisma.ScriptTagMaxOrderByAggregateInput
334
+ _min?: Prisma.ScriptTagMinOrderByAggregateInput
335
+ _sum?: Prisma.ScriptTagSumOrderByAggregateInput
336
+ }
337
+
338
+ export type ScriptTagScalarWhereWithAggregatesInput = {
339
+ AND?: Prisma.ScriptTagScalarWhereWithAggregatesInput | Prisma.ScriptTagScalarWhereWithAggregatesInput[]
340
+ OR?: Prisma.ScriptTagScalarWhereWithAggregatesInput[]
341
+ NOT?: Prisma.ScriptTagScalarWhereWithAggregatesInput | Prisma.ScriptTagScalarWhereWithAggregatesInput[]
342
+ id?: Prisma.StringWithAggregatesFilter<"ScriptTag"> | string
343
+ name?: Prisma.StringWithAggregatesFilter<"ScriptTag"> | string
344
+ code?: Prisma.StringWithAggregatesFilter<"ScriptTag"> | string
345
+ placement?: Prisma.StringWithAggregatesFilter<"ScriptTag"> | string
346
+ scope?: Prisma.StringWithAggregatesFilter<"ScriptTag"> | string
347
+ targetPaths?: Prisma.StringNullableListFilter<"ScriptTag">
348
+ priority?: Prisma.IntWithAggregatesFilter<"ScriptTag"> | number
349
+ enabled?: Prisma.BoolWithAggregatesFilter<"ScriptTag"> | boolean
350
+ loadAsync?: Prisma.BoolWithAggregatesFilter<"ScriptTag"> | boolean
351
+ disableInPreview?: Prisma.BoolWithAggregatesFilter<"ScriptTag"> | boolean
352
+ consentCategory?: Prisma.StringWithAggregatesFilter<"ScriptTag"> | string
353
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"ScriptTag"> | Date | string
354
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ScriptTag"> | Date | string
355
+ }
356
+
357
+ export type ScriptTagCreateInput = {
358
+ id?: string
359
+ name: string
360
+ code: string
361
+ placement: string
362
+ scope: string
363
+ targetPaths?: Prisma.ScriptTagCreatetargetPathsInput | string[]
364
+ priority?: number
365
+ enabled?: boolean
366
+ loadAsync?: boolean
367
+ disableInPreview?: boolean
368
+ consentCategory?: string
369
+ createdAt?: Date | string
370
+ updatedAt?: Date | string
371
+ }
372
+
373
+ export type ScriptTagUncheckedCreateInput = {
374
+ id?: string
375
+ name: string
376
+ code: string
377
+ placement: string
378
+ scope: string
379
+ targetPaths?: Prisma.ScriptTagCreatetargetPathsInput | string[]
380
+ priority?: number
381
+ enabled?: boolean
382
+ loadAsync?: boolean
383
+ disableInPreview?: boolean
384
+ consentCategory?: string
385
+ createdAt?: Date | string
386
+ updatedAt?: Date | string
387
+ }
388
+
389
+ export type ScriptTagUpdateInput = {
390
+ id?: Prisma.StringFieldUpdateOperationsInput | string
391
+ name?: Prisma.StringFieldUpdateOperationsInput | string
392
+ code?: Prisma.StringFieldUpdateOperationsInput | string
393
+ placement?: Prisma.StringFieldUpdateOperationsInput | string
394
+ scope?: Prisma.StringFieldUpdateOperationsInput | string
395
+ targetPaths?: Prisma.ScriptTagUpdatetargetPathsInput | string[]
396
+ priority?: Prisma.IntFieldUpdateOperationsInput | number
397
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
398
+ loadAsync?: Prisma.BoolFieldUpdateOperationsInput | boolean
399
+ disableInPreview?: Prisma.BoolFieldUpdateOperationsInput | boolean
400
+ consentCategory?: Prisma.StringFieldUpdateOperationsInput | string
401
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
402
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
403
+ }
404
+
405
+ export type ScriptTagUncheckedUpdateInput = {
406
+ id?: Prisma.StringFieldUpdateOperationsInput | string
407
+ name?: Prisma.StringFieldUpdateOperationsInput | string
408
+ code?: Prisma.StringFieldUpdateOperationsInput | string
409
+ placement?: Prisma.StringFieldUpdateOperationsInput | string
410
+ scope?: Prisma.StringFieldUpdateOperationsInput | string
411
+ targetPaths?: Prisma.ScriptTagUpdatetargetPathsInput | string[]
412
+ priority?: Prisma.IntFieldUpdateOperationsInput | number
413
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
414
+ loadAsync?: Prisma.BoolFieldUpdateOperationsInput | boolean
415
+ disableInPreview?: Prisma.BoolFieldUpdateOperationsInput | boolean
416
+ consentCategory?: Prisma.StringFieldUpdateOperationsInput | string
417
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
418
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
419
+ }
420
+
421
+ export type ScriptTagCreateManyInput = {
422
+ id?: string
423
+ name: string
424
+ code: string
425
+ placement: string
426
+ scope: string
427
+ targetPaths?: Prisma.ScriptTagCreatetargetPathsInput | string[]
428
+ priority?: number
429
+ enabled?: boolean
430
+ loadAsync?: boolean
431
+ disableInPreview?: boolean
432
+ consentCategory?: string
433
+ createdAt?: Date | string
434
+ updatedAt?: Date | string
435
+ }
436
+
437
+ export type ScriptTagUpdateManyMutationInput = {
438
+ id?: Prisma.StringFieldUpdateOperationsInput | string
439
+ name?: Prisma.StringFieldUpdateOperationsInput | string
440
+ code?: Prisma.StringFieldUpdateOperationsInput | string
441
+ placement?: Prisma.StringFieldUpdateOperationsInput | string
442
+ scope?: Prisma.StringFieldUpdateOperationsInput | string
443
+ targetPaths?: Prisma.ScriptTagUpdatetargetPathsInput | string[]
444
+ priority?: Prisma.IntFieldUpdateOperationsInput | number
445
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
446
+ loadAsync?: Prisma.BoolFieldUpdateOperationsInput | boolean
447
+ disableInPreview?: Prisma.BoolFieldUpdateOperationsInput | boolean
448
+ consentCategory?: Prisma.StringFieldUpdateOperationsInput | string
449
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
450
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
451
+ }
452
+
453
+ export type ScriptTagUncheckedUpdateManyInput = {
454
+ id?: Prisma.StringFieldUpdateOperationsInput | string
455
+ name?: Prisma.StringFieldUpdateOperationsInput | string
456
+ code?: Prisma.StringFieldUpdateOperationsInput | string
457
+ placement?: Prisma.StringFieldUpdateOperationsInput | string
458
+ scope?: Prisma.StringFieldUpdateOperationsInput | string
459
+ targetPaths?: Prisma.ScriptTagUpdatetargetPathsInput | string[]
460
+ priority?: Prisma.IntFieldUpdateOperationsInput | number
461
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
462
+ loadAsync?: Prisma.BoolFieldUpdateOperationsInput | boolean
463
+ disableInPreview?: Prisma.BoolFieldUpdateOperationsInput | boolean
464
+ consentCategory?: Prisma.StringFieldUpdateOperationsInput | string
465
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
466
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
467
+ }
468
+
469
+ export type StringNullableListFilter<$PrismaModel = never> = {
470
+ equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
471
+ has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
472
+ hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
473
+ hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
474
+ isEmpty?: boolean
475
+ }
476
+
477
+ export type ScriptTagOrderByRelevanceInput = {
478
+ fields: Prisma.ScriptTagOrderByRelevanceFieldEnum | Prisma.ScriptTagOrderByRelevanceFieldEnum[]
479
+ sort: Prisma.SortOrder
480
+ search: string
481
+ }
482
+
483
+ export type ScriptTagCountOrderByAggregateInput = {
484
+ id?: Prisma.SortOrder
485
+ name?: Prisma.SortOrder
486
+ code?: Prisma.SortOrder
487
+ placement?: Prisma.SortOrder
488
+ scope?: Prisma.SortOrder
489
+ targetPaths?: Prisma.SortOrder
490
+ priority?: Prisma.SortOrder
491
+ enabled?: Prisma.SortOrder
492
+ loadAsync?: Prisma.SortOrder
493
+ disableInPreview?: Prisma.SortOrder
494
+ consentCategory?: Prisma.SortOrder
495
+ createdAt?: Prisma.SortOrder
496
+ updatedAt?: Prisma.SortOrder
497
+ }
498
+
499
+ export type ScriptTagAvgOrderByAggregateInput = {
500
+ priority?: Prisma.SortOrder
501
+ }
502
+
503
+ export type ScriptTagMaxOrderByAggregateInput = {
504
+ id?: Prisma.SortOrder
505
+ name?: Prisma.SortOrder
506
+ code?: Prisma.SortOrder
507
+ placement?: Prisma.SortOrder
508
+ scope?: Prisma.SortOrder
509
+ priority?: Prisma.SortOrder
510
+ enabled?: Prisma.SortOrder
511
+ loadAsync?: Prisma.SortOrder
512
+ disableInPreview?: Prisma.SortOrder
513
+ consentCategory?: Prisma.SortOrder
514
+ createdAt?: Prisma.SortOrder
515
+ updatedAt?: Prisma.SortOrder
516
+ }
517
+
518
+ export type ScriptTagMinOrderByAggregateInput = {
519
+ id?: Prisma.SortOrder
520
+ name?: Prisma.SortOrder
521
+ code?: Prisma.SortOrder
522
+ placement?: Prisma.SortOrder
523
+ scope?: Prisma.SortOrder
524
+ priority?: Prisma.SortOrder
525
+ enabled?: Prisma.SortOrder
526
+ loadAsync?: Prisma.SortOrder
527
+ disableInPreview?: Prisma.SortOrder
528
+ consentCategory?: Prisma.SortOrder
529
+ createdAt?: Prisma.SortOrder
530
+ updatedAt?: Prisma.SortOrder
531
+ }
532
+
533
+ export type ScriptTagSumOrderByAggregateInput = {
534
+ priority?: Prisma.SortOrder
535
+ }
536
+
537
+ export type ScriptTagCreatetargetPathsInput = {
538
+ set: string[]
539
+ }
540
+
541
+ export type ScriptTagUpdatetargetPathsInput = {
542
+ set?: string[]
543
+ push?: string | string[]
544
+ }
545
+
546
+
547
+
548
+ export type ScriptTagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
549
+ id?: boolean
550
+ name?: boolean
551
+ code?: boolean
552
+ placement?: boolean
553
+ scope?: boolean
554
+ targetPaths?: boolean
555
+ priority?: boolean
556
+ enabled?: boolean
557
+ loadAsync?: boolean
558
+ disableInPreview?: boolean
559
+ consentCategory?: boolean
560
+ createdAt?: boolean
561
+ updatedAt?: boolean
562
+ }, ExtArgs["result"]["scriptTag"]>
563
+
564
+ export type ScriptTagSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
565
+ id?: boolean
566
+ name?: boolean
567
+ code?: boolean
568
+ placement?: boolean
569
+ scope?: boolean
570
+ targetPaths?: boolean
571
+ priority?: boolean
572
+ enabled?: boolean
573
+ loadAsync?: boolean
574
+ disableInPreview?: boolean
575
+ consentCategory?: boolean
576
+ createdAt?: boolean
577
+ updatedAt?: boolean
578
+ }, ExtArgs["result"]["scriptTag"]>
579
+
580
+ export type ScriptTagSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
581
+ id?: boolean
582
+ name?: boolean
583
+ code?: boolean
584
+ placement?: boolean
585
+ scope?: boolean
586
+ targetPaths?: boolean
587
+ priority?: boolean
588
+ enabled?: boolean
589
+ loadAsync?: boolean
590
+ disableInPreview?: boolean
591
+ consentCategory?: boolean
592
+ createdAt?: boolean
593
+ updatedAt?: boolean
594
+ }, ExtArgs["result"]["scriptTag"]>
595
+
596
+ export type ScriptTagSelectScalar = {
597
+ id?: boolean
598
+ name?: boolean
599
+ code?: boolean
600
+ placement?: boolean
601
+ scope?: boolean
602
+ targetPaths?: boolean
603
+ priority?: boolean
604
+ enabled?: boolean
605
+ loadAsync?: boolean
606
+ disableInPreview?: boolean
607
+ consentCategory?: boolean
608
+ createdAt?: boolean
609
+ updatedAt?: boolean
610
+ }
611
+
612
+ export type ScriptTagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "code" | "placement" | "scope" | "targetPaths" | "priority" | "enabled" | "loadAsync" | "disableInPreview" | "consentCategory" | "createdAt" | "updatedAt", ExtArgs["result"]["scriptTag"]>
613
+
614
+ export type $ScriptTagPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
615
+ name: "ScriptTag"
616
+ objects: {}
617
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
618
+ id: string
619
+ name: string
620
+ code: string
621
+ placement: string
622
+ scope: string
623
+ targetPaths: string[]
624
+ priority: number
625
+ enabled: boolean
626
+ /**
627
+ * Inject `async` into external <script src> tags so they don't block render.
628
+ */
629
+ loadAsync: boolean
630
+ /**
631
+ * Skip this tag when the page is rendered inside CMS preview mode.
632
+ */
633
+ disableInPreview: boolean
634
+ /**
635
+ * Cookie-consent category gate: none | analytics | marketing | functional | preferences.
636
+ */
637
+ consentCategory: string
638
+ createdAt: Date
639
+ updatedAt: Date
640
+ }, ExtArgs["result"]["scriptTag"]>
641
+ composites: {}
642
+ }
643
+
644
+ export type ScriptTagGetPayload<S extends boolean | null | undefined | ScriptTagDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload, S>
645
+
646
+ export type ScriptTagCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
647
+ Omit<ScriptTagFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
648
+ select?: ScriptTagCountAggregateInputType | true
649
+ }
650
+
651
+ export interface ScriptTagDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
652
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScriptTag'], meta: { name: 'ScriptTag' } }
653
+ /**
654
+ * Find zero or one ScriptTag that matches the filter.
655
+ * @param {ScriptTagFindUniqueArgs} args - Arguments to find a ScriptTag
656
+ * @example
657
+ * // Get one ScriptTag
658
+ * const scriptTag = await prisma.scriptTag.findUnique({
659
+ * where: {
660
+ * // ... provide filter here
661
+ * }
662
+ * })
663
+ */
664
+ findUnique<T extends ScriptTagFindUniqueArgs>(args: Prisma.SelectSubset<T, ScriptTagFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ScriptTagClient<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
665
+
666
+ /**
667
+ * Find one ScriptTag that matches the filter or throw an error with `error.code='P2025'`
668
+ * if no matches were found.
669
+ * @param {ScriptTagFindUniqueOrThrowArgs} args - Arguments to find a ScriptTag
670
+ * @example
671
+ * // Get one ScriptTag
672
+ * const scriptTag = await prisma.scriptTag.findUniqueOrThrow({
673
+ * where: {
674
+ * // ... provide filter here
675
+ * }
676
+ * })
677
+ */
678
+ findUniqueOrThrow<T extends ScriptTagFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ScriptTagFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScriptTagClient<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
679
+
680
+ /**
681
+ * Find the first ScriptTag that matches the filter.
682
+ * Note, that providing `undefined` is treated as the value not being there.
683
+ * Read more here: https://pris.ly/d/null-undefined
684
+ * @param {ScriptTagFindFirstArgs} args - Arguments to find a ScriptTag
685
+ * @example
686
+ * // Get one ScriptTag
687
+ * const scriptTag = await prisma.scriptTag.findFirst({
688
+ * where: {
689
+ * // ... provide filter here
690
+ * }
691
+ * })
692
+ */
693
+ findFirst<T extends ScriptTagFindFirstArgs>(args?: Prisma.SelectSubset<T, ScriptTagFindFirstArgs<ExtArgs>>): Prisma.Prisma__ScriptTagClient<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
694
+
695
+ /**
696
+ * Find the first ScriptTag that matches the filter or
697
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
698
+ * Note, that providing `undefined` is treated as the value not being there.
699
+ * Read more here: https://pris.ly/d/null-undefined
700
+ * @param {ScriptTagFindFirstOrThrowArgs} args - Arguments to find a ScriptTag
701
+ * @example
702
+ * // Get one ScriptTag
703
+ * const scriptTag = await prisma.scriptTag.findFirstOrThrow({
704
+ * where: {
705
+ * // ... provide filter here
706
+ * }
707
+ * })
708
+ */
709
+ findFirstOrThrow<T extends ScriptTagFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ScriptTagFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScriptTagClient<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
710
+
711
+ /**
712
+ * Find zero or more ScriptTags that matches the filter.
713
+ * Note, that providing `undefined` is treated as the value not being there.
714
+ * Read more here: https://pris.ly/d/null-undefined
715
+ * @param {ScriptTagFindManyArgs} args - Arguments to filter and select certain fields only.
716
+ * @example
717
+ * // Get all ScriptTags
718
+ * const scriptTags = await prisma.scriptTag.findMany()
719
+ *
720
+ * // Get first 10 ScriptTags
721
+ * const scriptTags = await prisma.scriptTag.findMany({ take: 10 })
722
+ *
723
+ * // Only select the `id`
724
+ * const scriptTagWithIdOnly = await prisma.scriptTag.findMany({ select: { id: true } })
725
+ *
726
+ */
727
+ findMany<T extends ScriptTagFindManyArgs>(args?: Prisma.SelectSubset<T, ScriptTagFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
728
+
729
+ /**
730
+ * Create a ScriptTag.
731
+ * @param {ScriptTagCreateArgs} args - Arguments to create a ScriptTag.
732
+ * @example
733
+ * // Create one ScriptTag
734
+ * const ScriptTag = await prisma.scriptTag.create({
735
+ * data: {
736
+ * // ... data to create a ScriptTag
737
+ * }
738
+ * })
739
+ *
740
+ */
741
+ create<T extends ScriptTagCreateArgs>(args: Prisma.SelectSubset<T, ScriptTagCreateArgs<ExtArgs>>): Prisma.Prisma__ScriptTagClient<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
742
+
743
+ /**
744
+ * Create many ScriptTags.
745
+ * @param {ScriptTagCreateManyArgs} args - Arguments to create many ScriptTags.
746
+ * @example
747
+ * // Create many ScriptTags
748
+ * const scriptTag = await prisma.scriptTag.createMany({
749
+ * data: [
750
+ * // ... provide data here
751
+ * ]
752
+ * })
753
+ *
754
+ */
755
+ createMany<T extends ScriptTagCreateManyArgs>(args?: Prisma.SelectSubset<T, ScriptTagCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
756
+
757
+ /**
758
+ * Create many ScriptTags and returns the data saved in the database.
759
+ * @param {ScriptTagCreateManyAndReturnArgs} args - Arguments to create many ScriptTags.
760
+ * @example
761
+ * // Create many ScriptTags
762
+ * const scriptTag = await prisma.scriptTag.createManyAndReturn({
763
+ * data: [
764
+ * // ... provide data here
765
+ * ]
766
+ * })
767
+ *
768
+ * // Create many ScriptTags and only return the `id`
769
+ * const scriptTagWithIdOnly = await prisma.scriptTag.createManyAndReturn({
770
+ * select: { id: true },
771
+ * data: [
772
+ * // ... provide data here
773
+ * ]
774
+ * })
775
+ * Note, that providing `undefined` is treated as the value not being there.
776
+ * Read more here: https://pris.ly/d/null-undefined
777
+ *
778
+ */
779
+ createManyAndReturn<T extends ScriptTagCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ScriptTagCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
780
+
781
+ /**
782
+ * Delete a ScriptTag.
783
+ * @param {ScriptTagDeleteArgs} args - Arguments to delete one ScriptTag.
784
+ * @example
785
+ * // Delete one ScriptTag
786
+ * const ScriptTag = await prisma.scriptTag.delete({
787
+ * where: {
788
+ * // ... filter to delete one ScriptTag
789
+ * }
790
+ * })
791
+ *
792
+ */
793
+ delete<T extends ScriptTagDeleteArgs>(args: Prisma.SelectSubset<T, ScriptTagDeleteArgs<ExtArgs>>): Prisma.Prisma__ScriptTagClient<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
794
+
795
+ /**
796
+ * Update one ScriptTag.
797
+ * @param {ScriptTagUpdateArgs} args - Arguments to update one ScriptTag.
798
+ * @example
799
+ * // Update one ScriptTag
800
+ * const scriptTag = await prisma.scriptTag.update({
801
+ * where: {
802
+ * // ... provide filter here
803
+ * },
804
+ * data: {
805
+ * // ... provide data here
806
+ * }
807
+ * })
808
+ *
809
+ */
810
+ update<T extends ScriptTagUpdateArgs>(args: Prisma.SelectSubset<T, ScriptTagUpdateArgs<ExtArgs>>): Prisma.Prisma__ScriptTagClient<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
811
+
812
+ /**
813
+ * Delete zero or more ScriptTags.
814
+ * @param {ScriptTagDeleteManyArgs} args - Arguments to filter ScriptTags to delete.
815
+ * @example
816
+ * // Delete a few ScriptTags
817
+ * const { count } = await prisma.scriptTag.deleteMany({
818
+ * where: {
819
+ * // ... provide filter here
820
+ * }
821
+ * })
822
+ *
823
+ */
824
+ deleteMany<T extends ScriptTagDeleteManyArgs>(args?: Prisma.SelectSubset<T, ScriptTagDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
825
+
826
+ /**
827
+ * Update zero or more ScriptTags.
828
+ * Note, that providing `undefined` is treated as the value not being there.
829
+ * Read more here: https://pris.ly/d/null-undefined
830
+ * @param {ScriptTagUpdateManyArgs} args - Arguments to update one or more rows.
831
+ * @example
832
+ * // Update many ScriptTags
833
+ * const scriptTag = await prisma.scriptTag.updateMany({
834
+ * where: {
835
+ * // ... provide filter here
836
+ * },
837
+ * data: {
838
+ * // ... provide data here
839
+ * }
840
+ * })
841
+ *
842
+ */
843
+ updateMany<T extends ScriptTagUpdateManyArgs>(args: Prisma.SelectSubset<T, ScriptTagUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
844
+
845
+ /**
846
+ * Update zero or more ScriptTags and returns the data updated in the database.
847
+ * @param {ScriptTagUpdateManyAndReturnArgs} args - Arguments to update many ScriptTags.
848
+ * @example
849
+ * // Update many ScriptTags
850
+ * const scriptTag = await prisma.scriptTag.updateManyAndReturn({
851
+ * where: {
852
+ * // ... provide filter here
853
+ * },
854
+ * data: [
855
+ * // ... provide data here
856
+ * ]
857
+ * })
858
+ *
859
+ * // Update zero or more ScriptTags and only return the `id`
860
+ * const scriptTagWithIdOnly = await prisma.scriptTag.updateManyAndReturn({
861
+ * select: { id: true },
862
+ * where: {
863
+ * // ... provide filter here
864
+ * },
865
+ * data: [
866
+ * // ... provide data here
867
+ * ]
868
+ * })
869
+ * Note, that providing `undefined` is treated as the value not being there.
870
+ * Read more here: https://pris.ly/d/null-undefined
871
+ *
872
+ */
873
+ updateManyAndReturn<T extends ScriptTagUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ScriptTagUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
874
+
875
+ /**
876
+ * Create or update one ScriptTag.
877
+ * @param {ScriptTagUpsertArgs} args - Arguments to update or create a ScriptTag.
878
+ * @example
879
+ * // Update or create a ScriptTag
880
+ * const scriptTag = await prisma.scriptTag.upsert({
881
+ * create: {
882
+ * // ... data to create a ScriptTag
883
+ * },
884
+ * update: {
885
+ * // ... in case it already exists, update
886
+ * },
887
+ * where: {
888
+ * // ... the filter for the ScriptTag we want to update
889
+ * }
890
+ * })
891
+ */
892
+ upsert<T extends ScriptTagUpsertArgs>(args: Prisma.SelectSubset<T, ScriptTagUpsertArgs<ExtArgs>>): Prisma.Prisma__ScriptTagClient<runtime.Types.Result.GetResult<Prisma.$ScriptTagPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
893
+
894
+
895
+ /**
896
+ * Count the number of ScriptTags.
897
+ * Note, that providing `undefined` is treated as the value not being there.
898
+ * Read more here: https://pris.ly/d/null-undefined
899
+ * @param {ScriptTagCountArgs} args - Arguments to filter ScriptTags to count.
900
+ * @example
901
+ * // Count the number of ScriptTags
902
+ * const count = await prisma.scriptTag.count({
903
+ * where: {
904
+ * // ... the filter for the ScriptTags we want to count
905
+ * }
906
+ * })
907
+ **/
908
+ count<T extends ScriptTagCountArgs>(
909
+ args?: Prisma.Subset<T, ScriptTagCountArgs>,
910
+ ): Prisma.PrismaPromise<
911
+ T extends runtime.Types.Utils.Record<'select', any>
912
+ ? T['select'] extends true
913
+ ? number
914
+ : Prisma.GetScalarType<T['select'], ScriptTagCountAggregateOutputType>
915
+ : number
916
+ >
917
+
918
+ /**
919
+ * Allows you to perform aggregations operations on a ScriptTag.
920
+ * Note, that providing `undefined` is treated as the value not being there.
921
+ * Read more here: https://pris.ly/d/null-undefined
922
+ * @param {ScriptTagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
923
+ * @example
924
+ * // Ordered by age ascending
925
+ * // Where email contains prisma.io
926
+ * // Limited to the 10 users
927
+ * const aggregations = await prisma.user.aggregate({
928
+ * _avg: {
929
+ * age: true,
930
+ * },
931
+ * where: {
932
+ * email: {
933
+ * contains: "prisma.io",
934
+ * },
935
+ * },
936
+ * orderBy: {
937
+ * age: "asc",
938
+ * },
939
+ * take: 10,
940
+ * })
941
+ **/
942
+ aggregate<T extends ScriptTagAggregateArgs>(args: Prisma.Subset<T, ScriptTagAggregateArgs>): Prisma.PrismaPromise<GetScriptTagAggregateType<T>>
943
+
944
+ /**
945
+ * Group by ScriptTag.
946
+ * Note, that providing `undefined` is treated as the value not being there.
947
+ * Read more here: https://pris.ly/d/null-undefined
948
+ * @param {ScriptTagGroupByArgs} args - Group by arguments.
949
+ * @example
950
+ * // Group by city, order by createdAt, get count
951
+ * const result = await prisma.user.groupBy({
952
+ * by: ['city', 'createdAt'],
953
+ * orderBy: {
954
+ * createdAt: true
955
+ * },
956
+ * _count: {
957
+ * _all: true
958
+ * },
959
+ * })
960
+ *
961
+ **/
962
+ groupBy<
963
+ T extends ScriptTagGroupByArgs,
964
+ HasSelectOrTake extends Prisma.Or<
965
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
966
+ Prisma.Extends<'take', Prisma.Keys<T>>
967
+ >,
968
+ OrderByArg extends Prisma.True extends HasSelectOrTake
969
+ ? { orderBy: ScriptTagGroupByArgs['orderBy'] }
970
+ : { orderBy?: ScriptTagGroupByArgs['orderBy'] },
971
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
972
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
973
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
974
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
975
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
976
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
977
+ InputErrors extends ByEmpty extends Prisma.True
978
+ ? `Error: "by" must not be empty.`
979
+ : HavingValid extends Prisma.False
980
+ ? {
981
+ [P in HavingFields]: P extends ByFields
982
+ ? never
983
+ : P extends string
984
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
985
+ : [
986
+ Error,
987
+ 'Field ',
988
+ P,
989
+ ` in "having" needs to be provided in "by"`,
990
+ ]
991
+ }[HavingFields]
992
+ : 'take' extends Prisma.Keys<T>
993
+ ? 'orderBy' extends Prisma.Keys<T>
994
+ ? ByValid extends Prisma.True
995
+ ? {}
996
+ : {
997
+ [P in OrderFields]: P extends ByFields
998
+ ? never
999
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1000
+ }[OrderFields]
1001
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1002
+ : 'skip' extends Prisma.Keys<T>
1003
+ ? 'orderBy' extends Prisma.Keys<T>
1004
+ ? ByValid extends Prisma.True
1005
+ ? {}
1006
+ : {
1007
+ [P in OrderFields]: P extends ByFields
1008
+ ? never
1009
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1010
+ }[OrderFields]
1011
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1012
+ : ByValid extends Prisma.True
1013
+ ? {}
1014
+ : {
1015
+ [P in OrderFields]: P extends ByFields
1016
+ ? never
1017
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1018
+ }[OrderFields]
1019
+ >(args: Prisma.SubsetIntersection<T, ScriptTagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScriptTagGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1020
+ /**
1021
+ * Fields of the ScriptTag model
1022
+ */
1023
+ readonly fields: ScriptTagFieldRefs;
1024
+ }
1025
+
1026
+ /**
1027
+ * The delegate class that acts as a "Promise-like" for ScriptTag.
1028
+ * Why is this prefixed with `Prisma__`?
1029
+ * Because we want to prevent naming conflicts as mentioned in
1030
+ * https://github.com/prisma/prisma-client-js/issues/707
1031
+ */
1032
+ export interface Prisma__ScriptTagClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1033
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1034
+ /**
1035
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1036
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1037
+ * @param onrejected The callback to execute when the Promise is rejected.
1038
+ * @returns A Promise for the completion of which ever callback is executed.
1039
+ */
1040
+ 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>
1041
+ /**
1042
+ * Attaches a callback for only the rejection of the Promise.
1043
+ * @param onrejected The callback to execute when the Promise is rejected.
1044
+ * @returns A Promise for the completion of the callback.
1045
+ */
1046
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1047
+ /**
1048
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1049
+ * resolved value cannot be modified from the callback.
1050
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1051
+ * @returns A Promise for the completion of the callback.
1052
+ */
1053
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1054
+ }
1055
+
1056
+
1057
+
1058
+
1059
+ /**
1060
+ * Fields of the ScriptTag model
1061
+ */
1062
+ export interface ScriptTagFieldRefs {
1063
+ readonly id: Prisma.FieldRef<"ScriptTag", 'String'>
1064
+ readonly name: Prisma.FieldRef<"ScriptTag", 'String'>
1065
+ readonly code: Prisma.FieldRef<"ScriptTag", 'String'>
1066
+ readonly placement: Prisma.FieldRef<"ScriptTag", 'String'>
1067
+ readonly scope: Prisma.FieldRef<"ScriptTag", 'String'>
1068
+ readonly targetPaths: Prisma.FieldRef<"ScriptTag", 'String[]'>
1069
+ readonly priority: Prisma.FieldRef<"ScriptTag", 'Int'>
1070
+ readonly enabled: Prisma.FieldRef<"ScriptTag", 'Boolean'>
1071
+ readonly loadAsync: Prisma.FieldRef<"ScriptTag", 'Boolean'>
1072
+ readonly disableInPreview: Prisma.FieldRef<"ScriptTag", 'Boolean'>
1073
+ readonly consentCategory: Prisma.FieldRef<"ScriptTag", 'String'>
1074
+ readonly createdAt: Prisma.FieldRef<"ScriptTag", 'DateTime'>
1075
+ readonly updatedAt: Prisma.FieldRef<"ScriptTag", 'DateTime'>
1076
+ }
1077
+
1078
+
1079
+ // Custom InputTypes
1080
+ /**
1081
+ * ScriptTag findUnique
1082
+ */
1083
+ export type ScriptTagFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1084
+ /**
1085
+ * Select specific fields to fetch from the ScriptTag
1086
+ */
1087
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1088
+ /**
1089
+ * Omit specific fields from the ScriptTag
1090
+ */
1091
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1092
+ /**
1093
+ * Filter, which ScriptTag to fetch.
1094
+ */
1095
+ where: Prisma.ScriptTagWhereUniqueInput
1096
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1097
+ }
1098
+
1099
+ /**
1100
+ * ScriptTag findUniqueOrThrow
1101
+ */
1102
+ export type ScriptTagFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1103
+ /**
1104
+ * Select specific fields to fetch from the ScriptTag
1105
+ */
1106
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1107
+ /**
1108
+ * Omit specific fields from the ScriptTag
1109
+ */
1110
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1111
+ /**
1112
+ * Filter, which ScriptTag to fetch.
1113
+ */
1114
+ where: Prisma.ScriptTagWhereUniqueInput
1115
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1116
+ }
1117
+
1118
+ /**
1119
+ * ScriptTag findFirst
1120
+ */
1121
+ export type ScriptTagFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1122
+ /**
1123
+ * Select specific fields to fetch from the ScriptTag
1124
+ */
1125
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1126
+ /**
1127
+ * Omit specific fields from the ScriptTag
1128
+ */
1129
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1130
+ /**
1131
+ * Filter, which ScriptTag to fetch.
1132
+ */
1133
+ where?: Prisma.ScriptTagWhereInput
1134
+ /**
1135
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1136
+ *
1137
+ * Determine the order of ScriptTags to fetch.
1138
+ */
1139
+ orderBy?: Prisma.ScriptTagOrderByWithRelationInput | Prisma.ScriptTagOrderByWithRelationInput[]
1140
+ /**
1141
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1142
+ *
1143
+ * Sets the position for searching for ScriptTags.
1144
+ */
1145
+ cursor?: Prisma.ScriptTagWhereUniqueInput
1146
+ /**
1147
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1148
+ *
1149
+ * Take `±n` ScriptTags from the position of the cursor.
1150
+ */
1151
+ take?: number
1152
+ /**
1153
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1154
+ *
1155
+ * Skip the first `n` ScriptTags.
1156
+ */
1157
+ skip?: number
1158
+ /**
1159
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1160
+ *
1161
+ * Filter by unique combinations of ScriptTags.
1162
+ */
1163
+ distinct?: Prisma.ScriptTagScalarFieldEnum | Prisma.ScriptTagScalarFieldEnum[]
1164
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1165
+ }
1166
+
1167
+ /**
1168
+ * ScriptTag findFirstOrThrow
1169
+ */
1170
+ export type ScriptTagFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1171
+ /**
1172
+ * Select specific fields to fetch from the ScriptTag
1173
+ */
1174
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1175
+ /**
1176
+ * Omit specific fields from the ScriptTag
1177
+ */
1178
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1179
+ /**
1180
+ * Filter, which ScriptTag to fetch.
1181
+ */
1182
+ where?: Prisma.ScriptTagWhereInput
1183
+ /**
1184
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1185
+ *
1186
+ * Determine the order of ScriptTags to fetch.
1187
+ */
1188
+ orderBy?: Prisma.ScriptTagOrderByWithRelationInput | Prisma.ScriptTagOrderByWithRelationInput[]
1189
+ /**
1190
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1191
+ *
1192
+ * Sets the position for searching for ScriptTags.
1193
+ */
1194
+ cursor?: Prisma.ScriptTagWhereUniqueInput
1195
+ /**
1196
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1197
+ *
1198
+ * Take `±n` ScriptTags from the position of the cursor.
1199
+ */
1200
+ take?: number
1201
+ /**
1202
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1203
+ *
1204
+ * Skip the first `n` ScriptTags.
1205
+ */
1206
+ skip?: number
1207
+ /**
1208
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1209
+ *
1210
+ * Filter by unique combinations of ScriptTags.
1211
+ */
1212
+ distinct?: Prisma.ScriptTagScalarFieldEnum | Prisma.ScriptTagScalarFieldEnum[]
1213
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1214
+ }
1215
+
1216
+ /**
1217
+ * ScriptTag findMany
1218
+ */
1219
+ export type ScriptTagFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1220
+ /**
1221
+ * Select specific fields to fetch from the ScriptTag
1222
+ */
1223
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1224
+ /**
1225
+ * Omit specific fields from the ScriptTag
1226
+ */
1227
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1228
+ /**
1229
+ * Filter, which ScriptTags to fetch.
1230
+ */
1231
+ where?: Prisma.ScriptTagWhereInput
1232
+ /**
1233
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1234
+ *
1235
+ * Determine the order of ScriptTags to fetch.
1236
+ */
1237
+ orderBy?: Prisma.ScriptTagOrderByWithRelationInput | Prisma.ScriptTagOrderByWithRelationInput[]
1238
+ /**
1239
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1240
+ *
1241
+ * Sets the position for listing ScriptTags.
1242
+ */
1243
+ cursor?: Prisma.ScriptTagWhereUniqueInput
1244
+ /**
1245
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1246
+ *
1247
+ * Take `±n` ScriptTags from the position of the cursor.
1248
+ */
1249
+ take?: number
1250
+ /**
1251
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1252
+ *
1253
+ * Skip the first `n` ScriptTags.
1254
+ */
1255
+ skip?: number
1256
+ /**
1257
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1258
+ *
1259
+ * Filter by unique combinations of ScriptTags.
1260
+ */
1261
+ distinct?: Prisma.ScriptTagScalarFieldEnum | Prisma.ScriptTagScalarFieldEnum[]
1262
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1263
+ }
1264
+
1265
+ /**
1266
+ * ScriptTag create
1267
+ */
1268
+ export type ScriptTagCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1269
+ /**
1270
+ * Select specific fields to fetch from the ScriptTag
1271
+ */
1272
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1273
+ /**
1274
+ * Omit specific fields from the ScriptTag
1275
+ */
1276
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1277
+ /**
1278
+ * The data needed to create a ScriptTag.
1279
+ */
1280
+ data: Prisma.XOR<Prisma.ScriptTagCreateInput, Prisma.ScriptTagUncheckedCreateInput>
1281
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1282
+ }
1283
+
1284
+ /**
1285
+ * ScriptTag createMany
1286
+ */
1287
+ export type ScriptTagCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1288
+ /**
1289
+ * The data used to create many ScriptTags.
1290
+ */
1291
+ data: Prisma.ScriptTagCreateManyInput | Prisma.ScriptTagCreateManyInput[]
1292
+ skipDuplicates?: boolean
1293
+ }
1294
+
1295
+ /**
1296
+ * ScriptTag createManyAndReturn
1297
+ */
1298
+ export type ScriptTagCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1299
+ /**
1300
+ * Select specific fields to fetch from the ScriptTag
1301
+ */
1302
+ select?: Prisma.ScriptTagSelectCreateManyAndReturn<ExtArgs> | null
1303
+ /**
1304
+ * Omit specific fields from the ScriptTag
1305
+ */
1306
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1307
+ /**
1308
+ * The data used to create many ScriptTags.
1309
+ */
1310
+ data: Prisma.ScriptTagCreateManyInput | Prisma.ScriptTagCreateManyInput[]
1311
+ skipDuplicates?: boolean
1312
+ }
1313
+
1314
+ /**
1315
+ * ScriptTag update
1316
+ */
1317
+ export type ScriptTagUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1318
+ /**
1319
+ * Select specific fields to fetch from the ScriptTag
1320
+ */
1321
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1322
+ /**
1323
+ * Omit specific fields from the ScriptTag
1324
+ */
1325
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1326
+ /**
1327
+ * The data needed to update a ScriptTag.
1328
+ */
1329
+ data: Prisma.XOR<Prisma.ScriptTagUpdateInput, Prisma.ScriptTagUncheckedUpdateInput>
1330
+ /**
1331
+ * Choose, which ScriptTag to update.
1332
+ */
1333
+ where: Prisma.ScriptTagWhereUniqueInput
1334
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1335
+ }
1336
+
1337
+ /**
1338
+ * ScriptTag updateMany
1339
+ */
1340
+ export type ScriptTagUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1341
+ /**
1342
+ * The data used to update ScriptTags.
1343
+ */
1344
+ data: Prisma.XOR<Prisma.ScriptTagUpdateManyMutationInput, Prisma.ScriptTagUncheckedUpdateManyInput>
1345
+ /**
1346
+ * Filter which ScriptTags to update
1347
+ */
1348
+ where?: Prisma.ScriptTagWhereInput
1349
+ /**
1350
+ * Limit how many ScriptTags to update.
1351
+ */
1352
+ limit?: number
1353
+ }
1354
+
1355
+ /**
1356
+ * ScriptTag updateManyAndReturn
1357
+ */
1358
+ export type ScriptTagUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1359
+ /**
1360
+ * Select specific fields to fetch from the ScriptTag
1361
+ */
1362
+ select?: Prisma.ScriptTagSelectUpdateManyAndReturn<ExtArgs> | null
1363
+ /**
1364
+ * Omit specific fields from the ScriptTag
1365
+ */
1366
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1367
+ /**
1368
+ * The data used to update ScriptTags.
1369
+ */
1370
+ data: Prisma.XOR<Prisma.ScriptTagUpdateManyMutationInput, Prisma.ScriptTagUncheckedUpdateManyInput>
1371
+ /**
1372
+ * Filter which ScriptTags to update
1373
+ */
1374
+ where?: Prisma.ScriptTagWhereInput
1375
+ /**
1376
+ * Limit how many ScriptTags to update.
1377
+ */
1378
+ limit?: number
1379
+ }
1380
+
1381
+ /**
1382
+ * ScriptTag upsert
1383
+ */
1384
+ export type ScriptTagUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1385
+ /**
1386
+ * Select specific fields to fetch from the ScriptTag
1387
+ */
1388
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1389
+ /**
1390
+ * Omit specific fields from the ScriptTag
1391
+ */
1392
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1393
+ /**
1394
+ * The filter to search for the ScriptTag to update in case it exists.
1395
+ */
1396
+ where: Prisma.ScriptTagWhereUniqueInput
1397
+ /**
1398
+ * In case the ScriptTag found by the `where` argument doesn't exist, create a new ScriptTag with this data.
1399
+ */
1400
+ create: Prisma.XOR<Prisma.ScriptTagCreateInput, Prisma.ScriptTagUncheckedCreateInput>
1401
+ /**
1402
+ * In case the ScriptTag was found with the provided `where` argument, update it with this data.
1403
+ */
1404
+ update: Prisma.XOR<Prisma.ScriptTagUpdateInput, Prisma.ScriptTagUncheckedUpdateInput>
1405
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1406
+ }
1407
+
1408
+ /**
1409
+ * ScriptTag delete
1410
+ */
1411
+ export type ScriptTagDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1412
+ /**
1413
+ * Select specific fields to fetch from the ScriptTag
1414
+ */
1415
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1416
+ /**
1417
+ * Omit specific fields from the ScriptTag
1418
+ */
1419
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1420
+ /**
1421
+ * Filter which ScriptTag to delete.
1422
+ */
1423
+ where: Prisma.ScriptTagWhereUniqueInput
1424
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1425
+ }
1426
+
1427
+ /**
1428
+ * ScriptTag deleteMany
1429
+ */
1430
+ export type ScriptTagDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1431
+ /**
1432
+ * Filter which ScriptTags to delete
1433
+ */
1434
+ where?: Prisma.ScriptTagWhereInput
1435
+ /**
1436
+ * Limit how many ScriptTags to delete.
1437
+ */
1438
+ limit?: number
1439
+ }
1440
+
1441
+ /**
1442
+ * ScriptTag without action
1443
+ */
1444
+ export type ScriptTagDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1445
+ /**
1446
+ * Select specific fields to fetch from the ScriptTag
1447
+ */
1448
+ select?: Prisma.ScriptTagSelect<ExtArgs> | null
1449
+ /**
1450
+ * Omit specific fields from the ScriptTag
1451
+ */
1452
+ omit?: Prisma.ScriptTagOmit<ExtArgs> | null
1453
+ }