@actuate-media/cms-core 0.90.1 → 0.91.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/CHANGELOG.md +79 -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 +5 -1
  7. package/dist/api/route-helpers.d.ts.map +1 -1
  8. package/dist/api/route-helpers.js +13 -2
  9. package/dist/api/route-helpers.js.map +1 -1
  10. package/dist/api/routes/auth.d.ts.map +1 -1
  11. package/dist/api/routes/auth.js +13 -7
  12. package/dist/api/routes/auth.js.map +1 -1
  13. package/dist/api/routes/documents.d.ts.map +1 -1
  14. package/dist/api/routes/documents.js +4 -1
  15. package/dist/api/routes/documents.js.map +1 -1
  16. package/dist/api/routes/media.d.ts.map +1 -1
  17. package/dist/api/routes/media.js +10 -0
  18. package/dist/api/routes/media.js.map +1 -1
  19. package/dist/api/routes/url-resolution.d.ts.map +1 -1
  20. package/dist/api/routes/url-resolution.js +4 -1
  21. package/dist/api/routes/url-resolution.js.map +1 -1
  22. package/dist/config/index.d.ts +16 -0
  23. package/dist/config/index.d.ts.map +1 -1
  24. package/dist/config/index.js +59 -2
  25. package/dist/config/index.js.map +1 -1
  26. package/dist/config/runtime.d.ts +8 -0
  27. package/dist/config/runtime.d.ts.map +1 -1
  28. package/dist/config/runtime.js.map +1 -1
  29. package/dist/config/types.d.ts +35 -4
  30. package/dist/config/types.d.ts.map +1 -1
  31. package/dist/index.d.ts +3 -1
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +1 -0
  34. package/dist/index.js.map +1 -1
  35. package/dist/media/usage-sync.d.ts +37 -0
  36. package/dist/media/usage-sync.d.ts.map +1 -0
  37. package/dist/media/usage-sync.js +234 -0
  38. package/dist/media/usage-sync.js.map +1 -0
  39. package/dist/realtime/comments.d.ts +1 -1
  40. package/dist/realtime/comments.js +1 -1
  41. package/dist/realtime/notifications.d.ts +1 -1
  42. package/dist/realtime/notifications.js +1 -1
  43. package/dist/realtime/persistence.d.ts +1 -1
  44. package/dist/search/index.d.ts.map +1 -1
  45. package/dist/search/index.js +58 -35
  46. package/dist/search/index.js.map +1 -1
  47. package/dist/security/client-ip.d.ts.map +1 -1
  48. package/dist/security/client-ip.js +17 -0
  49. package/dist/security/client-ip.js.map +1 -1
  50. package/generated/browser.ts +229 -0
  51. package/generated/client.ts +253 -0
  52. package/generated/commonInputTypes.ts +1024 -0
  53. package/generated/enums.ts +211 -0
  54. package/generated/internal/class.ts +547 -0
  55. package/generated/internal/prismaNamespace.ts +4596 -0
  56. package/generated/internal/prismaNamespaceBrowser.ts +1188 -0
  57. package/generated/models/AiCrawlerHit.ts +1275 -0
  58. package/generated/models/ApiKey.ts +1559 -0
  59. package/generated/models/ApiRequestMetric.ts +1390 -0
  60. package/generated/models/AuditLog.ts +1215 -0
  61. package/generated/models/BackupRecord.ts +1259 -0
  62. package/generated/models/ContentIssue.ts +1496 -0
  63. package/generated/models/ContentLock.ts +1481 -0
  64. package/generated/models/ContentTemplate.ts +1425 -0
  65. package/generated/models/Document.ts +3486 -0
  66. package/generated/models/Folder.ts +1905 -0
  67. package/generated/models/FormSchemaVersion.ts +1265 -0
  68. package/generated/models/FormSubmission.ts +2105 -0
  69. package/generated/models/FormSubmissionFile.ts +1615 -0
  70. package/generated/models/FormWebhook.ts +1371 -0
  71. package/generated/models/InAppNotification.ts +1466 -0
  72. package/generated/models/Invite.ts +1393 -0
  73. package/generated/models/Media.ts +2887 -0
  74. package/generated/models/MediaUsage.ts +1488 -0
  75. package/generated/models/OAuthAccount.ts +1472 -0
  76. package/generated/models/PageTemplate.ts +1271 -0
  77. package/generated/models/PasswordResetToken.ts +1396 -0
  78. package/generated/models/Redirect.ts +1501 -0
  79. package/generated/models/Redirect404Hit.ts +1266 -0
  80. package/generated/models/RedirectSuggestion.ts +1344 -0
  81. package/generated/models/SavedSection.ts +1315 -0
  82. package/generated/models/ScriptTag.ts +1453 -0
  83. package/generated/models/SeoAuditRun.ts +1745 -0
  84. package/generated/models/SeoIssue.ts +2047 -0
  85. package/generated/models/Session.ts +1501 -0
  86. package/generated/models/Site.ts +1215 -0
  87. package/generated/models/User.ts +4558 -0
  88. package/generated/models/Version.ts +1520 -0
  89. package/generated/models/WebhookDeliveryLog.ts +1656 -0
  90. package/generated/models/WebhookEndpoint.ts +1433 -0
  91. package/generated/models/WorkflowState.ts +1523 -0
  92. package/generated/models.ts +46 -0
  93. package/package.json +5 -3
  94. package/{prisma → schema-fragments}/cms-schema.prisma +15 -2
@@ -0,0 +1,1215 @@
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 `Site` 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 Site
17
+ *
18
+ */
19
+ export type SiteModel = runtime.Types.Result.DefaultSelection<Prisma.$SitePayload>
20
+
21
+ export type AggregateSite = {
22
+ _count: SiteCountAggregateOutputType | null
23
+ _min: SiteMinAggregateOutputType | null
24
+ _max: SiteMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type SiteMinAggregateOutputType = {
28
+ id: string | null
29
+ domain: string | null
30
+ name: string | null
31
+ isDefault: boolean | null
32
+ createdAt: Date | null
33
+ updatedAt: Date | null
34
+ }
35
+
36
+ export type SiteMaxAggregateOutputType = {
37
+ id: string | null
38
+ domain: string | null
39
+ name: string | null
40
+ isDefault: boolean | null
41
+ createdAt: Date | null
42
+ updatedAt: Date | null
43
+ }
44
+
45
+ export type SiteCountAggregateOutputType = {
46
+ id: number
47
+ domain: number
48
+ name: number
49
+ configOverrides: number
50
+ isDefault: number
51
+ createdAt: number
52
+ updatedAt: number
53
+ _all: number
54
+ }
55
+
56
+
57
+ export type SiteMinAggregateInputType = {
58
+ id?: true
59
+ domain?: true
60
+ name?: true
61
+ isDefault?: true
62
+ createdAt?: true
63
+ updatedAt?: true
64
+ }
65
+
66
+ export type SiteMaxAggregateInputType = {
67
+ id?: true
68
+ domain?: true
69
+ name?: true
70
+ isDefault?: true
71
+ createdAt?: true
72
+ updatedAt?: true
73
+ }
74
+
75
+ export type SiteCountAggregateInputType = {
76
+ id?: true
77
+ domain?: true
78
+ name?: true
79
+ configOverrides?: true
80
+ isDefault?: true
81
+ createdAt?: true
82
+ updatedAt?: true
83
+ _all?: true
84
+ }
85
+
86
+ export type SiteAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
87
+ /**
88
+ * Filter which Site to aggregate.
89
+ */
90
+ where?: Prisma.SiteWhereInput
91
+ /**
92
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
93
+ *
94
+ * Determine the order of Sites to fetch.
95
+ */
96
+ orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
97
+ /**
98
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
99
+ *
100
+ * Sets the start position
101
+ */
102
+ cursor?: Prisma.SiteWhereUniqueInput
103
+ /**
104
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105
+ *
106
+ * Take `±n` Sites from the position of the cursor.
107
+ */
108
+ take?: number
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
111
+ *
112
+ * Skip the first `n` Sites.
113
+ */
114
+ skip?: number
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
117
+ *
118
+ * Count returned Sites
119
+ **/
120
+ _count?: true | SiteCountAggregateInputType
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
123
+ *
124
+ * Select which fields to find the minimum value
125
+ **/
126
+ _min?: SiteMinAggregateInputType
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
129
+ *
130
+ * Select which fields to find the maximum value
131
+ **/
132
+ _max?: SiteMaxAggregateInputType
133
+ }
134
+
135
+ export type GetSiteAggregateType<T extends SiteAggregateArgs> = {
136
+ [P in keyof T & keyof AggregateSite]: P extends '_count' | 'count'
137
+ ? T[P] extends true
138
+ ? number
139
+ : Prisma.GetScalarType<T[P], AggregateSite[P]>
140
+ : Prisma.GetScalarType<T[P], AggregateSite[P]>
141
+ }
142
+
143
+
144
+
145
+
146
+ export type SiteGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
147
+ where?: Prisma.SiteWhereInput
148
+ orderBy?: Prisma.SiteOrderByWithAggregationInput | Prisma.SiteOrderByWithAggregationInput[]
149
+ by: Prisma.SiteScalarFieldEnum[] | Prisma.SiteScalarFieldEnum
150
+ having?: Prisma.SiteScalarWhereWithAggregatesInput
151
+ take?: number
152
+ skip?: number
153
+ _count?: SiteCountAggregateInputType | true
154
+ _min?: SiteMinAggregateInputType
155
+ _max?: SiteMaxAggregateInputType
156
+ }
157
+
158
+ export type SiteGroupByOutputType = {
159
+ id: string
160
+ domain: string
161
+ name: string
162
+ configOverrides: runtime.JsonValue | null
163
+ isDefault: boolean
164
+ createdAt: Date
165
+ updatedAt: Date
166
+ _count: SiteCountAggregateOutputType | null
167
+ _min: SiteMinAggregateOutputType | null
168
+ _max: SiteMaxAggregateOutputType | null
169
+ }
170
+
171
+ export type GetSiteGroupByPayload<T extends SiteGroupByArgs> = Prisma.PrismaPromise<
172
+ Array<
173
+ Prisma.PickEnumerable<SiteGroupByOutputType, T['by']> &
174
+ {
175
+ [P in ((keyof T) & (keyof SiteGroupByOutputType))]: P extends '_count'
176
+ ? T[P] extends boolean
177
+ ? number
178
+ : Prisma.GetScalarType<T[P], SiteGroupByOutputType[P]>
179
+ : Prisma.GetScalarType<T[P], SiteGroupByOutputType[P]>
180
+ }
181
+ >
182
+ >
183
+
184
+
185
+
186
+ export type SiteWhereInput = {
187
+ AND?: Prisma.SiteWhereInput | Prisma.SiteWhereInput[]
188
+ OR?: Prisma.SiteWhereInput[]
189
+ NOT?: Prisma.SiteWhereInput | Prisma.SiteWhereInput[]
190
+ id?: Prisma.StringFilter<"Site"> | string
191
+ domain?: Prisma.StringFilter<"Site"> | string
192
+ name?: Prisma.StringFilter<"Site"> | string
193
+ configOverrides?: Prisma.JsonNullableFilter<"Site">
194
+ isDefault?: Prisma.BoolFilter<"Site"> | boolean
195
+ createdAt?: Prisma.DateTimeFilter<"Site"> | Date | string
196
+ updatedAt?: Prisma.DateTimeFilter<"Site"> | Date | string
197
+ }
198
+
199
+ export type SiteOrderByWithRelationInput = {
200
+ id?: Prisma.SortOrder
201
+ domain?: Prisma.SortOrder
202
+ name?: Prisma.SortOrder
203
+ configOverrides?: Prisma.SortOrderInput | Prisma.SortOrder
204
+ isDefault?: Prisma.SortOrder
205
+ createdAt?: Prisma.SortOrder
206
+ updatedAt?: Prisma.SortOrder
207
+ _relevance?: Prisma.SiteOrderByRelevanceInput
208
+ }
209
+
210
+ export type SiteWhereUniqueInput = Prisma.AtLeast<{
211
+ id?: string
212
+ domain?: string
213
+ AND?: Prisma.SiteWhereInput | Prisma.SiteWhereInput[]
214
+ OR?: Prisma.SiteWhereInput[]
215
+ NOT?: Prisma.SiteWhereInput | Prisma.SiteWhereInput[]
216
+ name?: Prisma.StringFilter<"Site"> | string
217
+ configOverrides?: Prisma.JsonNullableFilter<"Site">
218
+ isDefault?: Prisma.BoolFilter<"Site"> | boolean
219
+ createdAt?: Prisma.DateTimeFilter<"Site"> | Date | string
220
+ updatedAt?: Prisma.DateTimeFilter<"Site"> | Date | string
221
+ }, "id" | "domain">
222
+
223
+ export type SiteOrderByWithAggregationInput = {
224
+ id?: Prisma.SortOrder
225
+ domain?: Prisma.SortOrder
226
+ name?: Prisma.SortOrder
227
+ configOverrides?: Prisma.SortOrderInput | Prisma.SortOrder
228
+ isDefault?: Prisma.SortOrder
229
+ createdAt?: Prisma.SortOrder
230
+ updatedAt?: Prisma.SortOrder
231
+ _count?: Prisma.SiteCountOrderByAggregateInput
232
+ _max?: Prisma.SiteMaxOrderByAggregateInput
233
+ _min?: Prisma.SiteMinOrderByAggregateInput
234
+ }
235
+
236
+ export type SiteScalarWhereWithAggregatesInput = {
237
+ AND?: Prisma.SiteScalarWhereWithAggregatesInput | Prisma.SiteScalarWhereWithAggregatesInput[]
238
+ OR?: Prisma.SiteScalarWhereWithAggregatesInput[]
239
+ NOT?: Prisma.SiteScalarWhereWithAggregatesInput | Prisma.SiteScalarWhereWithAggregatesInput[]
240
+ id?: Prisma.StringWithAggregatesFilter<"Site"> | string
241
+ domain?: Prisma.StringWithAggregatesFilter<"Site"> | string
242
+ name?: Prisma.StringWithAggregatesFilter<"Site"> | string
243
+ configOverrides?: Prisma.JsonNullableWithAggregatesFilter<"Site">
244
+ isDefault?: Prisma.BoolWithAggregatesFilter<"Site"> | boolean
245
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Site"> | Date | string
246
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Site"> | Date | string
247
+ }
248
+
249
+ export type SiteCreateInput = {
250
+ id?: string
251
+ domain: string
252
+ name: string
253
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
254
+ isDefault?: boolean
255
+ createdAt?: Date | string
256
+ updatedAt?: Date | string
257
+ }
258
+
259
+ export type SiteUncheckedCreateInput = {
260
+ id?: string
261
+ domain: string
262
+ name: string
263
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
264
+ isDefault?: boolean
265
+ createdAt?: Date | string
266
+ updatedAt?: Date | string
267
+ }
268
+
269
+ export type SiteUpdateInput = {
270
+ id?: Prisma.StringFieldUpdateOperationsInput | string
271
+ domain?: Prisma.StringFieldUpdateOperationsInput | string
272
+ name?: Prisma.StringFieldUpdateOperationsInput | string
273
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
274
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
275
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
276
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
277
+ }
278
+
279
+ export type SiteUncheckedUpdateInput = {
280
+ id?: Prisma.StringFieldUpdateOperationsInput | string
281
+ domain?: Prisma.StringFieldUpdateOperationsInput | string
282
+ name?: Prisma.StringFieldUpdateOperationsInput | string
283
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
284
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
285
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
286
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
287
+ }
288
+
289
+ export type SiteCreateManyInput = {
290
+ id?: string
291
+ domain: string
292
+ name: string
293
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
294
+ isDefault?: boolean
295
+ createdAt?: Date | string
296
+ updatedAt?: Date | string
297
+ }
298
+
299
+ export type SiteUpdateManyMutationInput = {
300
+ id?: Prisma.StringFieldUpdateOperationsInput | string
301
+ domain?: Prisma.StringFieldUpdateOperationsInput | string
302
+ name?: Prisma.StringFieldUpdateOperationsInput | string
303
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
304
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
305
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
306
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
307
+ }
308
+
309
+ export type SiteUncheckedUpdateManyInput = {
310
+ id?: Prisma.StringFieldUpdateOperationsInput | string
311
+ domain?: Prisma.StringFieldUpdateOperationsInput | string
312
+ name?: Prisma.StringFieldUpdateOperationsInput | string
313
+ configOverrides?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
314
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
315
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
316
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
317
+ }
318
+
319
+ export type SiteOrderByRelevanceInput = {
320
+ fields: Prisma.SiteOrderByRelevanceFieldEnum | Prisma.SiteOrderByRelevanceFieldEnum[]
321
+ sort: Prisma.SortOrder
322
+ search: string
323
+ }
324
+
325
+ export type SiteCountOrderByAggregateInput = {
326
+ id?: Prisma.SortOrder
327
+ domain?: Prisma.SortOrder
328
+ name?: Prisma.SortOrder
329
+ configOverrides?: Prisma.SortOrder
330
+ isDefault?: Prisma.SortOrder
331
+ createdAt?: Prisma.SortOrder
332
+ updatedAt?: Prisma.SortOrder
333
+ }
334
+
335
+ export type SiteMaxOrderByAggregateInput = {
336
+ id?: Prisma.SortOrder
337
+ domain?: Prisma.SortOrder
338
+ name?: Prisma.SortOrder
339
+ isDefault?: Prisma.SortOrder
340
+ createdAt?: Prisma.SortOrder
341
+ updatedAt?: Prisma.SortOrder
342
+ }
343
+
344
+ export type SiteMinOrderByAggregateInput = {
345
+ id?: Prisma.SortOrder
346
+ domain?: Prisma.SortOrder
347
+ name?: Prisma.SortOrder
348
+ isDefault?: Prisma.SortOrder
349
+ createdAt?: Prisma.SortOrder
350
+ updatedAt?: Prisma.SortOrder
351
+ }
352
+
353
+
354
+
355
+ export type SiteSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
356
+ id?: boolean
357
+ domain?: boolean
358
+ name?: boolean
359
+ configOverrides?: boolean
360
+ isDefault?: boolean
361
+ createdAt?: boolean
362
+ updatedAt?: boolean
363
+ }, ExtArgs["result"]["site"]>
364
+
365
+ export type SiteSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
366
+ id?: boolean
367
+ domain?: boolean
368
+ name?: boolean
369
+ configOverrides?: boolean
370
+ isDefault?: boolean
371
+ createdAt?: boolean
372
+ updatedAt?: boolean
373
+ }, ExtArgs["result"]["site"]>
374
+
375
+ export type SiteSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
376
+ id?: boolean
377
+ domain?: boolean
378
+ name?: boolean
379
+ configOverrides?: boolean
380
+ isDefault?: boolean
381
+ createdAt?: boolean
382
+ updatedAt?: boolean
383
+ }, ExtArgs["result"]["site"]>
384
+
385
+ export type SiteSelectScalar = {
386
+ id?: boolean
387
+ domain?: boolean
388
+ name?: boolean
389
+ configOverrides?: boolean
390
+ isDefault?: boolean
391
+ createdAt?: boolean
392
+ updatedAt?: boolean
393
+ }
394
+
395
+ export type SiteOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "domain" | "name" | "configOverrides" | "isDefault" | "createdAt" | "updatedAt", ExtArgs["result"]["site"]>
396
+
397
+ export type $SitePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
398
+ name: "Site"
399
+ objects: {}
400
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
401
+ id: string
402
+ domain: string
403
+ name: string
404
+ configOverrides: runtime.JsonValue | null
405
+ isDefault: boolean
406
+ createdAt: Date
407
+ updatedAt: Date
408
+ }, ExtArgs["result"]["site"]>
409
+ composites: {}
410
+ }
411
+
412
+ export type SiteGetPayload<S extends boolean | null | undefined | SiteDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SitePayload, S>
413
+
414
+ export type SiteCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
415
+ Omit<SiteFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
416
+ select?: SiteCountAggregateInputType | true
417
+ }
418
+
419
+ export interface SiteDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
420
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Site'], meta: { name: 'Site' } }
421
+ /**
422
+ * Find zero or one Site that matches the filter.
423
+ * @param {SiteFindUniqueArgs} args - Arguments to find a Site
424
+ * @example
425
+ * // Get one Site
426
+ * const site = await prisma.site.findUnique({
427
+ * where: {
428
+ * // ... provide filter here
429
+ * }
430
+ * })
431
+ */
432
+ findUnique<T extends SiteFindUniqueArgs>(args: Prisma.SelectSubset<T, SiteFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
433
+
434
+ /**
435
+ * Find one Site that matches the filter or throw an error with `error.code='P2025'`
436
+ * if no matches were found.
437
+ * @param {SiteFindUniqueOrThrowArgs} args - Arguments to find a Site
438
+ * @example
439
+ * // Get one Site
440
+ * const site = await prisma.site.findUniqueOrThrow({
441
+ * where: {
442
+ * // ... provide filter here
443
+ * }
444
+ * })
445
+ */
446
+ findUniqueOrThrow<T extends SiteFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SiteFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
447
+
448
+ /**
449
+ * Find the first Site that matches the filter.
450
+ * Note, that providing `undefined` is treated as the value not being there.
451
+ * Read more here: https://pris.ly/d/null-undefined
452
+ * @param {SiteFindFirstArgs} args - Arguments to find a Site
453
+ * @example
454
+ * // Get one Site
455
+ * const site = await prisma.site.findFirst({
456
+ * where: {
457
+ * // ... provide filter here
458
+ * }
459
+ * })
460
+ */
461
+ findFirst<T extends SiteFindFirstArgs>(args?: Prisma.SelectSubset<T, SiteFindFirstArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
462
+
463
+ /**
464
+ * Find the first Site that matches the filter or
465
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
466
+ * Note, that providing `undefined` is treated as the value not being there.
467
+ * Read more here: https://pris.ly/d/null-undefined
468
+ * @param {SiteFindFirstOrThrowArgs} args - Arguments to find a Site
469
+ * @example
470
+ * // Get one Site
471
+ * const site = await prisma.site.findFirstOrThrow({
472
+ * where: {
473
+ * // ... provide filter here
474
+ * }
475
+ * })
476
+ */
477
+ findFirstOrThrow<T extends SiteFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SiteFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
478
+
479
+ /**
480
+ * Find zero or more Sites that matches the filter.
481
+ * Note, that providing `undefined` is treated as the value not being there.
482
+ * Read more here: https://pris.ly/d/null-undefined
483
+ * @param {SiteFindManyArgs} args - Arguments to filter and select certain fields only.
484
+ * @example
485
+ * // Get all Sites
486
+ * const sites = await prisma.site.findMany()
487
+ *
488
+ * // Get first 10 Sites
489
+ * const sites = await prisma.site.findMany({ take: 10 })
490
+ *
491
+ * // Only select the `id`
492
+ * const siteWithIdOnly = await prisma.site.findMany({ select: { id: true } })
493
+ *
494
+ */
495
+ findMany<T extends SiteFindManyArgs>(args?: Prisma.SelectSubset<T, SiteFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
496
+
497
+ /**
498
+ * Create a Site.
499
+ * @param {SiteCreateArgs} args - Arguments to create a Site.
500
+ * @example
501
+ * // Create one Site
502
+ * const Site = await prisma.site.create({
503
+ * data: {
504
+ * // ... data to create a Site
505
+ * }
506
+ * })
507
+ *
508
+ */
509
+ create<T extends SiteCreateArgs>(args: Prisma.SelectSubset<T, SiteCreateArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
510
+
511
+ /**
512
+ * Create many Sites.
513
+ * @param {SiteCreateManyArgs} args - Arguments to create many Sites.
514
+ * @example
515
+ * // Create many Sites
516
+ * const site = await prisma.site.createMany({
517
+ * data: [
518
+ * // ... provide data here
519
+ * ]
520
+ * })
521
+ *
522
+ */
523
+ createMany<T extends SiteCreateManyArgs>(args?: Prisma.SelectSubset<T, SiteCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
524
+
525
+ /**
526
+ * Create many Sites and returns the data saved in the database.
527
+ * @param {SiteCreateManyAndReturnArgs} args - Arguments to create many Sites.
528
+ * @example
529
+ * // Create many Sites
530
+ * const site = await prisma.site.createManyAndReturn({
531
+ * data: [
532
+ * // ... provide data here
533
+ * ]
534
+ * })
535
+ *
536
+ * // Create many Sites and only return the `id`
537
+ * const siteWithIdOnly = await prisma.site.createManyAndReturn({
538
+ * select: { id: true },
539
+ * data: [
540
+ * // ... provide data here
541
+ * ]
542
+ * })
543
+ * Note, that providing `undefined` is treated as the value not being there.
544
+ * Read more here: https://pris.ly/d/null-undefined
545
+ *
546
+ */
547
+ createManyAndReturn<T extends SiteCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SiteCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
548
+
549
+ /**
550
+ * Delete a Site.
551
+ * @param {SiteDeleteArgs} args - Arguments to delete one Site.
552
+ * @example
553
+ * // Delete one Site
554
+ * const Site = await prisma.site.delete({
555
+ * where: {
556
+ * // ... filter to delete one Site
557
+ * }
558
+ * })
559
+ *
560
+ */
561
+ delete<T extends SiteDeleteArgs>(args: Prisma.SelectSubset<T, SiteDeleteArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
562
+
563
+ /**
564
+ * Update one Site.
565
+ * @param {SiteUpdateArgs} args - Arguments to update one Site.
566
+ * @example
567
+ * // Update one Site
568
+ * const site = await prisma.site.update({
569
+ * where: {
570
+ * // ... provide filter here
571
+ * },
572
+ * data: {
573
+ * // ... provide data here
574
+ * }
575
+ * })
576
+ *
577
+ */
578
+ update<T extends SiteUpdateArgs>(args: Prisma.SelectSubset<T, SiteUpdateArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
579
+
580
+ /**
581
+ * Delete zero or more Sites.
582
+ * @param {SiteDeleteManyArgs} args - Arguments to filter Sites to delete.
583
+ * @example
584
+ * // Delete a few Sites
585
+ * const { count } = await prisma.site.deleteMany({
586
+ * where: {
587
+ * // ... provide filter here
588
+ * }
589
+ * })
590
+ *
591
+ */
592
+ deleteMany<T extends SiteDeleteManyArgs>(args?: Prisma.SelectSubset<T, SiteDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
593
+
594
+ /**
595
+ * Update zero or more Sites.
596
+ * Note, that providing `undefined` is treated as the value not being there.
597
+ * Read more here: https://pris.ly/d/null-undefined
598
+ * @param {SiteUpdateManyArgs} args - Arguments to update one or more rows.
599
+ * @example
600
+ * // Update many Sites
601
+ * const site = await prisma.site.updateMany({
602
+ * where: {
603
+ * // ... provide filter here
604
+ * },
605
+ * data: {
606
+ * // ... provide data here
607
+ * }
608
+ * })
609
+ *
610
+ */
611
+ updateMany<T extends SiteUpdateManyArgs>(args: Prisma.SelectSubset<T, SiteUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
612
+
613
+ /**
614
+ * Update zero or more Sites and returns the data updated in the database.
615
+ * @param {SiteUpdateManyAndReturnArgs} args - Arguments to update many Sites.
616
+ * @example
617
+ * // Update many Sites
618
+ * const site = await prisma.site.updateManyAndReturn({
619
+ * where: {
620
+ * // ... provide filter here
621
+ * },
622
+ * data: [
623
+ * // ... provide data here
624
+ * ]
625
+ * })
626
+ *
627
+ * // Update zero or more Sites and only return the `id`
628
+ * const siteWithIdOnly = await prisma.site.updateManyAndReturn({
629
+ * select: { id: true },
630
+ * where: {
631
+ * // ... provide filter here
632
+ * },
633
+ * data: [
634
+ * // ... provide data here
635
+ * ]
636
+ * })
637
+ * Note, that providing `undefined` is treated as the value not being there.
638
+ * Read more here: https://pris.ly/d/null-undefined
639
+ *
640
+ */
641
+ updateManyAndReturn<T extends SiteUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SiteUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
642
+
643
+ /**
644
+ * Create or update one Site.
645
+ * @param {SiteUpsertArgs} args - Arguments to update or create a Site.
646
+ * @example
647
+ * // Update or create a Site
648
+ * const site = await prisma.site.upsert({
649
+ * create: {
650
+ * // ... data to create a Site
651
+ * },
652
+ * update: {
653
+ * // ... in case it already exists, update
654
+ * },
655
+ * where: {
656
+ * // ... the filter for the Site we want to update
657
+ * }
658
+ * })
659
+ */
660
+ upsert<T extends SiteUpsertArgs>(args: Prisma.SelectSubset<T, SiteUpsertArgs<ExtArgs>>): Prisma.Prisma__SiteClient<runtime.Types.Result.GetResult<Prisma.$SitePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
661
+
662
+
663
+ /**
664
+ * Count the number of Sites.
665
+ * Note, that providing `undefined` is treated as the value not being there.
666
+ * Read more here: https://pris.ly/d/null-undefined
667
+ * @param {SiteCountArgs} args - Arguments to filter Sites to count.
668
+ * @example
669
+ * // Count the number of Sites
670
+ * const count = await prisma.site.count({
671
+ * where: {
672
+ * // ... the filter for the Sites we want to count
673
+ * }
674
+ * })
675
+ **/
676
+ count<T extends SiteCountArgs>(
677
+ args?: Prisma.Subset<T, SiteCountArgs>,
678
+ ): Prisma.PrismaPromise<
679
+ T extends runtime.Types.Utils.Record<'select', any>
680
+ ? T['select'] extends true
681
+ ? number
682
+ : Prisma.GetScalarType<T['select'], SiteCountAggregateOutputType>
683
+ : number
684
+ >
685
+
686
+ /**
687
+ * Allows you to perform aggregations operations on a Site.
688
+ * Note, that providing `undefined` is treated as the value not being there.
689
+ * Read more here: https://pris.ly/d/null-undefined
690
+ * @param {SiteAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
691
+ * @example
692
+ * // Ordered by age ascending
693
+ * // Where email contains prisma.io
694
+ * // Limited to the 10 users
695
+ * const aggregations = await prisma.user.aggregate({
696
+ * _avg: {
697
+ * age: true,
698
+ * },
699
+ * where: {
700
+ * email: {
701
+ * contains: "prisma.io",
702
+ * },
703
+ * },
704
+ * orderBy: {
705
+ * age: "asc",
706
+ * },
707
+ * take: 10,
708
+ * })
709
+ **/
710
+ aggregate<T extends SiteAggregateArgs>(args: Prisma.Subset<T, SiteAggregateArgs>): Prisma.PrismaPromise<GetSiteAggregateType<T>>
711
+
712
+ /**
713
+ * Group by Site.
714
+ * Note, that providing `undefined` is treated as the value not being there.
715
+ * Read more here: https://pris.ly/d/null-undefined
716
+ * @param {SiteGroupByArgs} args - Group by arguments.
717
+ * @example
718
+ * // Group by city, order by createdAt, get count
719
+ * const result = await prisma.user.groupBy({
720
+ * by: ['city', 'createdAt'],
721
+ * orderBy: {
722
+ * createdAt: true
723
+ * },
724
+ * _count: {
725
+ * _all: true
726
+ * },
727
+ * })
728
+ *
729
+ **/
730
+ groupBy<
731
+ T extends SiteGroupByArgs,
732
+ HasSelectOrTake extends Prisma.Or<
733
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
734
+ Prisma.Extends<'take', Prisma.Keys<T>>
735
+ >,
736
+ OrderByArg extends Prisma.True extends HasSelectOrTake
737
+ ? { orderBy: SiteGroupByArgs['orderBy'] }
738
+ : { orderBy?: SiteGroupByArgs['orderBy'] },
739
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
740
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
741
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
742
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
743
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
744
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
745
+ InputErrors extends ByEmpty extends Prisma.True
746
+ ? `Error: "by" must not be empty.`
747
+ : HavingValid extends Prisma.False
748
+ ? {
749
+ [P in HavingFields]: P extends ByFields
750
+ ? never
751
+ : P extends string
752
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
753
+ : [
754
+ Error,
755
+ 'Field ',
756
+ P,
757
+ ` in "having" needs to be provided in "by"`,
758
+ ]
759
+ }[HavingFields]
760
+ : 'take' extends Prisma.Keys<T>
761
+ ? 'orderBy' extends Prisma.Keys<T>
762
+ ? ByValid extends Prisma.True
763
+ ? {}
764
+ : {
765
+ [P in OrderFields]: P extends ByFields
766
+ ? never
767
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
768
+ }[OrderFields]
769
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
770
+ : 'skip' extends Prisma.Keys<T>
771
+ ? 'orderBy' extends Prisma.Keys<T>
772
+ ? ByValid extends Prisma.True
773
+ ? {}
774
+ : {
775
+ [P in OrderFields]: P extends ByFields
776
+ ? never
777
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
778
+ }[OrderFields]
779
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
780
+ : ByValid extends Prisma.True
781
+ ? {}
782
+ : {
783
+ [P in OrderFields]: P extends ByFields
784
+ ? never
785
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
786
+ }[OrderFields]
787
+ >(args: Prisma.SubsetIntersection<T, SiteGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSiteGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
788
+ /**
789
+ * Fields of the Site model
790
+ */
791
+ readonly fields: SiteFieldRefs;
792
+ }
793
+
794
+ /**
795
+ * The delegate class that acts as a "Promise-like" for Site.
796
+ * Why is this prefixed with `Prisma__`?
797
+ * Because we want to prevent naming conflicts as mentioned in
798
+ * https://github.com/prisma/prisma-client-js/issues/707
799
+ */
800
+ export interface Prisma__SiteClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
801
+ readonly [Symbol.toStringTag]: "PrismaPromise"
802
+ /**
803
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
804
+ * @param onfulfilled The callback to execute when the Promise is resolved.
805
+ * @param onrejected The callback to execute when the Promise is rejected.
806
+ * @returns A Promise for the completion of which ever callback is executed.
807
+ */
808
+ 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>
809
+ /**
810
+ * Attaches a callback for only the rejection of the Promise.
811
+ * @param onrejected The callback to execute when the Promise is rejected.
812
+ * @returns A Promise for the completion of the callback.
813
+ */
814
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
815
+ /**
816
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
817
+ * resolved value cannot be modified from the callback.
818
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
819
+ * @returns A Promise for the completion of the callback.
820
+ */
821
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
822
+ }
823
+
824
+
825
+
826
+
827
+ /**
828
+ * Fields of the Site model
829
+ */
830
+ export interface SiteFieldRefs {
831
+ readonly id: Prisma.FieldRef<"Site", 'String'>
832
+ readonly domain: Prisma.FieldRef<"Site", 'String'>
833
+ readonly name: Prisma.FieldRef<"Site", 'String'>
834
+ readonly configOverrides: Prisma.FieldRef<"Site", 'Json'>
835
+ readonly isDefault: Prisma.FieldRef<"Site", 'Boolean'>
836
+ readonly createdAt: Prisma.FieldRef<"Site", 'DateTime'>
837
+ readonly updatedAt: Prisma.FieldRef<"Site", 'DateTime'>
838
+ }
839
+
840
+
841
+ // Custom InputTypes
842
+ /**
843
+ * Site findUnique
844
+ */
845
+ export type SiteFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
846
+ /**
847
+ * Select specific fields to fetch from the Site
848
+ */
849
+ select?: Prisma.SiteSelect<ExtArgs> | null
850
+ /**
851
+ * Omit specific fields from the Site
852
+ */
853
+ omit?: Prisma.SiteOmit<ExtArgs> | null
854
+ /**
855
+ * Filter, which Site to fetch.
856
+ */
857
+ where: Prisma.SiteWhereUniqueInput
858
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
859
+ }
860
+
861
+ /**
862
+ * Site findUniqueOrThrow
863
+ */
864
+ export type SiteFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
865
+ /**
866
+ * Select specific fields to fetch from the Site
867
+ */
868
+ select?: Prisma.SiteSelect<ExtArgs> | null
869
+ /**
870
+ * Omit specific fields from the Site
871
+ */
872
+ omit?: Prisma.SiteOmit<ExtArgs> | null
873
+ /**
874
+ * Filter, which Site to fetch.
875
+ */
876
+ where: Prisma.SiteWhereUniqueInput
877
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
878
+ }
879
+
880
+ /**
881
+ * Site findFirst
882
+ */
883
+ export type SiteFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
884
+ /**
885
+ * Select specific fields to fetch from the Site
886
+ */
887
+ select?: Prisma.SiteSelect<ExtArgs> | null
888
+ /**
889
+ * Omit specific fields from the Site
890
+ */
891
+ omit?: Prisma.SiteOmit<ExtArgs> | null
892
+ /**
893
+ * Filter, which Site to fetch.
894
+ */
895
+ where?: Prisma.SiteWhereInput
896
+ /**
897
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
898
+ *
899
+ * Determine the order of Sites to fetch.
900
+ */
901
+ orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
902
+ /**
903
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
904
+ *
905
+ * Sets the position for searching for Sites.
906
+ */
907
+ cursor?: Prisma.SiteWhereUniqueInput
908
+ /**
909
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
910
+ *
911
+ * Take `±n` Sites from the position of the cursor.
912
+ */
913
+ take?: number
914
+ /**
915
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
916
+ *
917
+ * Skip the first `n` Sites.
918
+ */
919
+ skip?: number
920
+ /**
921
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
922
+ *
923
+ * Filter by unique combinations of Sites.
924
+ */
925
+ distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[]
926
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
927
+ }
928
+
929
+ /**
930
+ * Site findFirstOrThrow
931
+ */
932
+ export type SiteFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
933
+ /**
934
+ * Select specific fields to fetch from the Site
935
+ */
936
+ select?: Prisma.SiteSelect<ExtArgs> | null
937
+ /**
938
+ * Omit specific fields from the Site
939
+ */
940
+ omit?: Prisma.SiteOmit<ExtArgs> | null
941
+ /**
942
+ * Filter, which Site to fetch.
943
+ */
944
+ where?: Prisma.SiteWhereInput
945
+ /**
946
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
947
+ *
948
+ * Determine the order of Sites to fetch.
949
+ */
950
+ orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
951
+ /**
952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
953
+ *
954
+ * Sets the position for searching for Sites.
955
+ */
956
+ cursor?: Prisma.SiteWhereUniqueInput
957
+ /**
958
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
959
+ *
960
+ * Take `±n` Sites from the position of the cursor.
961
+ */
962
+ take?: number
963
+ /**
964
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
965
+ *
966
+ * Skip the first `n` Sites.
967
+ */
968
+ skip?: number
969
+ /**
970
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
971
+ *
972
+ * Filter by unique combinations of Sites.
973
+ */
974
+ distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[]
975
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
976
+ }
977
+
978
+ /**
979
+ * Site findMany
980
+ */
981
+ export type SiteFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
982
+ /**
983
+ * Select specific fields to fetch from the Site
984
+ */
985
+ select?: Prisma.SiteSelect<ExtArgs> | null
986
+ /**
987
+ * Omit specific fields from the Site
988
+ */
989
+ omit?: Prisma.SiteOmit<ExtArgs> | null
990
+ /**
991
+ * Filter, which Sites to fetch.
992
+ */
993
+ where?: Prisma.SiteWhereInput
994
+ /**
995
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
996
+ *
997
+ * Determine the order of Sites to fetch.
998
+ */
999
+ orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
1000
+ /**
1001
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1002
+ *
1003
+ * Sets the position for listing Sites.
1004
+ */
1005
+ cursor?: Prisma.SiteWhereUniqueInput
1006
+ /**
1007
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1008
+ *
1009
+ * Take `±n` Sites from the position of the cursor.
1010
+ */
1011
+ take?: number
1012
+ /**
1013
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1014
+ *
1015
+ * Skip the first `n` Sites.
1016
+ */
1017
+ skip?: number
1018
+ /**
1019
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1020
+ *
1021
+ * Filter by unique combinations of Sites.
1022
+ */
1023
+ distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[]
1024
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1025
+ }
1026
+
1027
+ /**
1028
+ * Site create
1029
+ */
1030
+ export type SiteCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1031
+ /**
1032
+ * Select specific fields to fetch from the Site
1033
+ */
1034
+ select?: Prisma.SiteSelect<ExtArgs> | null
1035
+ /**
1036
+ * Omit specific fields from the Site
1037
+ */
1038
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1039
+ /**
1040
+ * The data needed to create a Site.
1041
+ */
1042
+ data: Prisma.XOR<Prisma.SiteCreateInput, Prisma.SiteUncheckedCreateInput>
1043
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1044
+ }
1045
+
1046
+ /**
1047
+ * Site createMany
1048
+ */
1049
+ export type SiteCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1050
+ /**
1051
+ * The data used to create many Sites.
1052
+ */
1053
+ data: Prisma.SiteCreateManyInput | Prisma.SiteCreateManyInput[]
1054
+ skipDuplicates?: boolean
1055
+ }
1056
+
1057
+ /**
1058
+ * Site createManyAndReturn
1059
+ */
1060
+ export type SiteCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1061
+ /**
1062
+ * Select specific fields to fetch from the Site
1063
+ */
1064
+ select?: Prisma.SiteSelectCreateManyAndReturn<ExtArgs> | null
1065
+ /**
1066
+ * Omit specific fields from the Site
1067
+ */
1068
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1069
+ /**
1070
+ * The data used to create many Sites.
1071
+ */
1072
+ data: Prisma.SiteCreateManyInput | Prisma.SiteCreateManyInput[]
1073
+ skipDuplicates?: boolean
1074
+ }
1075
+
1076
+ /**
1077
+ * Site update
1078
+ */
1079
+ export type SiteUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1080
+ /**
1081
+ * Select specific fields to fetch from the Site
1082
+ */
1083
+ select?: Prisma.SiteSelect<ExtArgs> | null
1084
+ /**
1085
+ * Omit specific fields from the Site
1086
+ */
1087
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1088
+ /**
1089
+ * The data needed to update a Site.
1090
+ */
1091
+ data: Prisma.XOR<Prisma.SiteUpdateInput, Prisma.SiteUncheckedUpdateInput>
1092
+ /**
1093
+ * Choose, which Site to update.
1094
+ */
1095
+ where: Prisma.SiteWhereUniqueInput
1096
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1097
+ }
1098
+
1099
+ /**
1100
+ * Site updateMany
1101
+ */
1102
+ export type SiteUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1103
+ /**
1104
+ * The data used to update Sites.
1105
+ */
1106
+ data: Prisma.XOR<Prisma.SiteUpdateManyMutationInput, Prisma.SiteUncheckedUpdateManyInput>
1107
+ /**
1108
+ * Filter which Sites to update
1109
+ */
1110
+ where?: Prisma.SiteWhereInput
1111
+ /**
1112
+ * Limit how many Sites to update.
1113
+ */
1114
+ limit?: number
1115
+ }
1116
+
1117
+ /**
1118
+ * Site updateManyAndReturn
1119
+ */
1120
+ export type SiteUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1121
+ /**
1122
+ * Select specific fields to fetch from the Site
1123
+ */
1124
+ select?: Prisma.SiteSelectUpdateManyAndReturn<ExtArgs> | null
1125
+ /**
1126
+ * Omit specific fields from the Site
1127
+ */
1128
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1129
+ /**
1130
+ * The data used to update Sites.
1131
+ */
1132
+ data: Prisma.XOR<Prisma.SiteUpdateManyMutationInput, Prisma.SiteUncheckedUpdateManyInput>
1133
+ /**
1134
+ * Filter which Sites to update
1135
+ */
1136
+ where?: Prisma.SiteWhereInput
1137
+ /**
1138
+ * Limit how many Sites to update.
1139
+ */
1140
+ limit?: number
1141
+ }
1142
+
1143
+ /**
1144
+ * Site upsert
1145
+ */
1146
+ export type SiteUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1147
+ /**
1148
+ * Select specific fields to fetch from the Site
1149
+ */
1150
+ select?: Prisma.SiteSelect<ExtArgs> | null
1151
+ /**
1152
+ * Omit specific fields from the Site
1153
+ */
1154
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1155
+ /**
1156
+ * The filter to search for the Site to update in case it exists.
1157
+ */
1158
+ where: Prisma.SiteWhereUniqueInput
1159
+ /**
1160
+ * In case the Site found by the `where` argument doesn't exist, create a new Site with this data.
1161
+ */
1162
+ create: Prisma.XOR<Prisma.SiteCreateInput, Prisma.SiteUncheckedCreateInput>
1163
+ /**
1164
+ * In case the Site was found with the provided `where` argument, update it with this data.
1165
+ */
1166
+ update: Prisma.XOR<Prisma.SiteUpdateInput, Prisma.SiteUncheckedUpdateInput>
1167
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1168
+ }
1169
+
1170
+ /**
1171
+ * Site delete
1172
+ */
1173
+ export type SiteDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1174
+ /**
1175
+ * Select specific fields to fetch from the Site
1176
+ */
1177
+ select?: Prisma.SiteSelect<ExtArgs> | null
1178
+ /**
1179
+ * Omit specific fields from the Site
1180
+ */
1181
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1182
+ /**
1183
+ * Filter which Site to delete.
1184
+ */
1185
+ where: Prisma.SiteWhereUniqueInput
1186
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1187
+ }
1188
+
1189
+ /**
1190
+ * Site deleteMany
1191
+ */
1192
+ export type SiteDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1193
+ /**
1194
+ * Filter which Sites to delete
1195
+ */
1196
+ where?: Prisma.SiteWhereInput
1197
+ /**
1198
+ * Limit how many Sites to delete.
1199
+ */
1200
+ limit?: number
1201
+ }
1202
+
1203
+ /**
1204
+ * Site without action
1205
+ */
1206
+ export type SiteDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1207
+ /**
1208
+ * Select specific fields to fetch from the Site
1209
+ */
1210
+ select?: Prisma.SiteSelect<ExtArgs> | null
1211
+ /**
1212
+ * Omit specific fields from the Site
1213
+ */
1214
+ omit?: Prisma.SiteOmit<ExtArgs> | null
1215
+ }