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