@actuate-media/cms-core 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/dist/__tests__/api/api-key-auth.test.d.ts +2 -0
- package/dist/__tests__/api/api-key-auth.test.d.ts.map +1 -0
- package/dist/__tests__/api/api-key-auth.test.js +254 -0
- package/dist/__tests__/api/api-key-auth.test.js.map +1 -0
- package/dist/__tests__/api/public-seo.test.d.ts +2 -0
- package/dist/__tests__/api/public-seo.test.d.ts.map +1 -0
- package/dist/__tests__/api/public-seo.test.js +341 -0
- package/dist/__tests__/api/public-seo.test.js.map +1 -0
- package/dist/__tests__/security/api-key-enhanced.test.d.ts +2 -0
- package/dist/__tests__/security/api-key-enhanced.test.d.ts.map +1 -0
- package/dist/__tests__/security/api-key-enhanced.test.js +110 -0
- package/dist/__tests__/security/api-key-enhanced.test.js.map +1 -0
- package/dist/__tests__/seo/page-meta.test.d.ts +2 -0
- package/dist/__tests__/seo/page-meta.test.d.ts.map +1 -0
- package/dist/__tests__/seo/page-meta.test.js +204 -0
- package/dist/__tests__/seo/page-meta.test.js.map +1 -0
- package/dist/api/handler-factory.d.ts.map +1 -1
- package/dist/api/handler-factory.js +20 -2
- package/dist/api/handler-factory.js.map +1 -1
- package/dist/api/handlers.d.ts.map +1 -1
- package/dist/api/handlers.js +764 -31
- package/dist/api/handlers.js.map +1 -1
- package/dist/config/types.d.ts +75 -0
- package/dist/config/types.d.ts.map +1 -1
- package/dist/security/api-key-enhanced.d.ts +48 -5
- package/dist/security/api-key-enhanced.d.ts.map +1 -1
- package/dist/security/api-key-enhanced.js +60 -9
- package/dist/security/api-key-enhanced.js.map +1 -1
- package/dist/seo/index.d.ts +2 -0
- package/dist/seo/index.d.ts.map +1 -1
- package/dist/seo/index.js +1 -0
- package/dist/seo/index.js.map +1 -1
- package/dist/seo/page-meta.d.ts +79 -0
- package/dist/seo/page-meta.d.ts.map +1 -0
- package/dist/seo/page-meta.js +209 -0
- package/dist/seo/page-meta.js.map +1 -0
- package/generated/browser.ts +109 -0
- package/generated/client.ts +133 -0
- package/generated/commonInputTypes.ts +709 -0
- package/generated/enums.ts +125 -0
- package/generated/internal/class.ts +376 -0
- package/generated/internal/prismaNamespace.ts +2617 -0
- package/generated/internal/prismaNamespaceBrowser.ts +611 -0
- package/generated/models/ApiKey.ts +1550 -0
- package/generated/models/AuditLog.ts +1206 -0
- package/generated/models/BackupRecord.ts +1250 -0
- package/generated/models/ContentLock.ts +1472 -0
- package/generated/models/ContentTemplate.ts +1416 -0
- package/generated/models/Document.ts +3005 -0
- package/generated/models/Folder.ts +1904 -0
- package/generated/models/FormSubmission.ts +1200 -0
- package/generated/models/InAppNotification.ts +1457 -0
- package/generated/models/Media.ts +2340 -0
- package/generated/models/MediaUsage.ts +1472 -0
- package/generated/models/OAuthAccount.ts +1463 -0
- package/generated/models/Redirect.ts +1284 -0
- package/generated/models/Session.ts +1492 -0
- package/generated/models/Site.ts +1206 -0
- package/generated/models/User.ts +3513 -0
- package/generated/models/Version.ts +1511 -0
- package/generated/models/WorkflowState.ts +1514 -0
- package/generated/models.ts +29 -0
- package/package.json +1 -1
- package/prisma/cms-schema.prisma +306 -306
- package/prisma/migrations/0001_init/migration.sql +384 -384
- package/prisma/migrations/0002_folders/migration.sql +39 -39
- package/prisma/migrations/0003_search_and_webhooks/migration.sql +50 -50
- package/prisma/migrations/0004_script_tags/migration.sql +21 -21
- package/prisma/migrations/0005_password_reset_tokens/migration.sql +20 -20
- package/prisma/migrations/0006_page_builder/migration.sql +38 -38
- package/prisma/migrations/migration_lock.toml +3 -3
- package/prisma/schema.prisma +549 -549
|
@@ -0,0 +1,1206 @@
|
|
|
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"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
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
|
+
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'> & {
|
|
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
|
+
}
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Site findUniqueOrThrow
|
|
862
|
+
*/
|
|
863
|
+
export type SiteFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
864
|
+
/**
|
|
865
|
+
* Select specific fields to fetch from the Site
|
|
866
|
+
*/
|
|
867
|
+
select?: Prisma.SiteSelect<ExtArgs> | null
|
|
868
|
+
/**
|
|
869
|
+
* Omit specific fields from the Site
|
|
870
|
+
*/
|
|
871
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
872
|
+
/**
|
|
873
|
+
* Filter, which Site to fetch.
|
|
874
|
+
*/
|
|
875
|
+
where: Prisma.SiteWhereUniqueInput
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Site findFirst
|
|
880
|
+
*/
|
|
881
|
+
export type SiteFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
882
|
+
/**
|
|
883
|
+
* Select specific fields to fetch from the Site
|
|
884
|
+
*/
|
|
885
|
+
select?: Prisma.SiteSelect<ExtArgs> | null
|
|
886
|
+
/**
|
|
887
|
+
* Omit specific fields from the Site
|
|
888
|
+
*/
|
|
889
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
890
|
+
/**
|
|
891
|
+
* Filter, which Site to fetch.
|
|
892
|
+
*/
|
|
893
|
+
where?: Prisma.SiteWhereInput
|
|
894
|
+
/**
|
|
895
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
896
|
+
*
|
|
897
|
+
* Determine the order of Sites to fetch.
|
|
898
|
+
*/
|
|
899
|
+
orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
|
|
900
|
+
/**
|
|
901
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
902
|
+
*
|
|
903
|
+
* Sets the position for searching for Sites.
|
|
904
|
+
*/
|
|
905
|
+
cursor?: Prisma.SiteWhereUniqueInput
|
|
906
|
+
/**
|
|
907
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
908
|
+
*
|
|
909
|
+
* Take `±n` Sites from the position of the cursor.
|
|
910
|
+
*/
|
|
911
|
+
take?: number
|
|
912
|
+
/**
|
|
913
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
914
|
+
*
|
|
915
|
+
* Skip the first `n` Sites.
|
|
916
|
+
*/
|
|
917
|
+
skip?: number
|
|
918
|
+
/**
|
|
919
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
920
|
+
*
|
|
921
|
+
* Filter by unique combinations of Sites.
|
|
922
|
+
*/
|
|
923
|
+
distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[]
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* Site findFirstOrThrow
|
|
928
|
+
*/
|
|
929
|
+
export type SiteFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
930
|
+
/**
|
|
931
|
+
* Select specific fields to fetch from the Site
|
|
932
|
+
*/
|
|
933
|
+
select?: Prisma.SiteSelect<ExtArgs> | null
|
|
934
|
+
/**
|
|
935
|
+
* Omit specific fields from the Site
|
|
936
|
+
*/
|
|
937
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
938
|
+
/**
|
|
939
|
+
* Filter, which Site to fetch.
|
|
940
|
+
*/
|
|
941
|
+
where?: Prisma.SiteWhereInput
|
|
942
|
+
/**
|
|
943
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
944
|
+
*
|
|
945
|
+
* Determine the order of Sites to fetch.
|
|
946
|
+
*/
|
|
947
|
+
orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
|
|
948
|
+
/**
|
|
949
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
950
|
+
*
|
|
951
|
+
* Sets the position for searching for Sites.
|
|
952
|
+
*/
|
|
953
|
+
cursor?: Prisma.SiteWhereUniqueInput
|
|
954
|
+
/**
|
|
955
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
956
|
+
*
|
|
957
|
+
* Take `±n` Sites from the position of the cursor.
|
|
958
|
+
*/
|
|
959
|
+
take?: number
|
|
960
|
+
/**
|
|
961
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
962
|
+
*
|
|
963
|
+
* Skip the first `n` Sites.
|
|
964
|
+
*/
|
|
965
|
+
skip?: number
|
|
966
|
+
/**
|
|
967
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
968
|
+
*
|
|
969
|
+
* Filter by unique combinations of Sites.
|
|
970
|
+
*/
|
|
971
|
+
distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[]
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* Site findMany
|
|
976
|
+
*/
|
|
977
|
+
export type SiteFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
978
|
+
/**
|
|
979
|
+
* Select specific fields to fetch from the Site
|
|
980
|
+
*/
|
|
981
|
+
select?: Prisma.SiteSelect<ExtArgs> | null
|
|
982
|
+
/**
|
|
983
|
+
* Omit specific fields from the Site
|
|
984
|
+
*/
|
|
985
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
986
|
+
/**
|
|
987
|
+
* Filter, which Sites to fetch.
|
|
988
|
+
*/
|
|
989
|
+
where?: Prisma.SiteWhereInput
|
|
990
|
+
/**
|
|
991
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
992
|
+
*
|
|
993
|
+
* Determine the order of Sites to fetch.
|
|
994
|
+
*/
|
|
995
|
+
orderBy?: Prisma.SiteOrderByWithRelationInput | Prisma.SiteOrderByWithRelationInput[]
|
|
996
|
+
/**
|
|
997
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
998
|
+
*
|
|
999
|
+
* Sets the position for listing Sites.
|
|
1000
|
+
*/
|
|
1001
|
+
cursor?: Prisma.SiteWhereUniqueInput
|
|
1002
|
+
/**
|
|
1003
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1004
|
+
*
|
|
1005
|
+
* Take `±n` Sites from the position of the cursor.
|
|
1006
|
+
*/
|
|
1007
|
+
take?: number
|
|
1008
|
+
/**
|
|
1009
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1010
|
+
*
|
|
1011
|
+
* Skip the first `n` Sites.
|
|
1012
|
+
*/
|
|
1013
|
+
skip?: number
|
|
1014
|
+
/**
|
|
1015
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1016
|
+
*
|
|
1017
|
+
* Filter by unique combinations of Sites.
|
|
1018
|
+
*/
|
|
1019
|
+
distinct?: Prisma.SiteScalarFieldEnum | Prisma.SiteScalarFieldEnum[]
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Site create
|
|
1024
|
+
*/
|
|
1025
|
+
export type SiteCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1026
|
+
/**
|
|
1027
|
+
* Select specific fields to fetch from the Site
|
|
1028
|
+
*/
|
|
1029
|
+
select?: Prisma.SiteSelect<ExtArgs> | null
|
|
1030
|
+
/**
|
|
1031
|
+
* Omit specific fields from the Site
|
|
1032
|
+
*/
|
|
1033
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
1034
|
+
/**
|
|
1035
|
+
* The data needed to create a Site.
|
|
1036
|
+
*/
|
|
1037
|
+
data: Prisma.XOR<Prisma.SiteCreateInput, Prisma.SiteUncheckedCreateInput>
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* Site createMany
|
|
1042
|
+
*/
|
|
1043
|
+
export type SiteCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1044
|
+
/**
|
|
1045
|
+
* The data used to create many Sites.
|
|
1046
|
+
*/
|
|
1047
|
+
data: Prisma.SiteCreateManyInput | Prisma.SiteCreateManyInput[]
|
|
1048
|
+
skipDuplicates?: boolean
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* Site createManyAndReturn
|
|
1053
|
+
*/
|
|
1054
|
+
export type SiteCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1055
|
+
/**
|
|
1056
|
+
* Select specific fields to fetch from the Site
|
|
1057
|
+
*/
|
|
1058
|
+
select?: Prisma.SiteSelectCreateManyAndReturn<ExtArgs> | null
|
|
1059
|
+
/**
|
|
1060
|
+
* Omit specific fields from the Site
|
|
1061
|
+
*/
|
|
1062
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
1063
|
+
/**
|
|
1064
|
+
* The data used to create many Sites.
|
|
1065
|
+
*/
|
|
1066
|
+
data: Prisma.SiteCreateManyInput | Prisma.SiteCreateManyInput[]
|
|
1067
|
+
skipDuplicates?: boolean
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Site update
|
|
1072
|
+
*/
|
|
1073
|
+
export type SiteUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1074
|
+
/**
|
|
1075
|
+
* Select specific fields to fetch from the Site
|
|
1076
|
+
*/
|
|
1077
|
+
select?: Prisma.SiteSelect<ExtArgs> | null
|
|
1078
|
+
/**
|
|
1079
|
+
* Omit specific fields from the Site
|
|
1080
|
+
*/
|
|
1081
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
1082
|
+
/**
|
|
1083
|
+
* The data needed to update a Site.
|
|
1084
|
+
*/
|
|
1085
|
+
data: Prisma.XOR<Prisma.SiteUpdateInput, Prisma.SiteUncheckedUpdateInput>
|
|
1086
|
+
/**
|
|
1087
|
+
* Choose, which Site to update.
|
|
1088
|
+
*/
|
|
1089
|
+
where: Prisma.SiteWhereUniqueInput
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Site updateMany
|
|
1094
|
+
*/
|
|
1095
|
+
export type SiteUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1096
|
+
/**
|
|
1097
|
+
* The data used to update Sites.
|
|
1098
|
+
*/
|
|
1099
|
+
data: Prisma.XOR<Prisma.SiteUpdateManyMutationInput, Prisma.SiteUncheckedUpdateManyInput>
|
|
1100
|
+
/**
|
|
1101
|
+
* Filter which Sites to update
|
|
1102
|
+
*/
|
|
1103
|
+
where?: Prisma.SiteWhereInput
|
|
1104
|
+
/**
|
|
1105
|
+
* Limit how many Sites to update.
|
|
1106
|
+
*/
|
|
1107
|
+
limit?: number
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Site updateManyAndReturn
|
|
1112
|
+
*/
|
|
1113
|
+
export type SiteUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1114
|
+
/**
|
|
1115
|
+
* Select specific fields to fetch from the Site
|
|
1116
|
+
*/
|
|
1117
|
+
select?: Prisma.SiteSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1118
|
+
/**
|
|
1119
|
+
* Omit specific fields from the Site
|
|
1120
|
+
*/
|
|
1121
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
1122
|
+
/**
|
|
1123
|
+
* The data used to update Sites.
|
|
1124
|
+
*/
|
|
1125
|
+
data: Prisma.XOR<Prisma.SiteUpdateManyMutationInput, Prisma.SiteUncheckedUpdateManyInput>
|
|
1126
|
+
/**
|
|
1127
|
+
* Filter which Sites to update
|
|
1128
|
+
*/
|
|
1129
|
+
where?: Prisma.SiteWhereInput
|
|
1130
|
+
/**
|
|
1131
|
+
* Limit how many Sites to update.
|
|
1132
|
+
*/
|
|
1133
|
+
limit?: number
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* Site upsert
|
|
1138
|
+
*/
|
|
1139
|
+
export type SiteUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1140
|
+
/**
|
|
1141
|
+
* Select specific fields to fetch from the Site
|
|
1142
|
+
*/
|
|
1143
|
+
select?: Prisma.SiteSelect<ExtArgs> | null
|
|
1144
|
+
/**
|
|
1145
|
+
* Omit specific fields from the Site
|
|
1146
|
+
*/
|
|
1147
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
1148
|
+
/**
|
|
1149
|
+
* The filter to search for the Site to update in case it exists.
|
|
1150
|
+
*/
|
|
1151
|
+
where: Prisma.SiteWhereUniqueInput
|
|
1152
|
+
/**
|
|
1153
|
+
* In case the Site found by the `where` argument doesn't exist, create a new Site with this data.
|
|
1154
|
+
*/
|
|
1155
|
+
create: Prisma.XOR<Prisma.SiteCreateInput, Prisma.SiteUncheckedCreateInput>
|
|
1156
|
+
/**
|
|
1157
|
+
* In case the Site was found with the provided `where` argument, update it with this data.
|
|
1158
|
+
*/
|
|
1159
|
+
update: Prisma.XOR<Prisma.SiteUpdateInput, Prisma.SiteUncheckedUpdateInput>
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* Site delete
|
|
1164
|
+
*/
|
|
1165
|
+
export type SiteDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1166
|
+
/**
|
|
1167
|
+
* Select specific fields to fetch from the Site
|
|
1168
|
+
*/
|
|
1169
|
+
select?: Prisma.SiteSelect<ExtArgs> | null
|
|
1170
|
+
/**
|
|
1171
|
+
* Omit specific fields from the Site
|
|
1172
|
+
*/
|
|
1173
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
1174
|
+
/**
|
|
1175
|
+
* Filter which Site to delete.
|
|
1176
|
+
*/
|
|
1177
|
+
where: Prisma.SiteWhereUniqueInput
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* Site deleteMany
|
|
1182
|
+
*/
|
|
1183
|
+
export type SiteDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1184
|
+
/**
|
|
1185
|
+
* Filter which Sites to delete
|
|
1186
|
+
*/
|
|
1187
|
+
where?: Prisma.SiteWhereInput
|
|
1188
|
+
/**
|
|
1189
|
+
* Limit how many Sites to delete.
|
|
1190
|
+
*/
|
|
1191
|
+
limit?: number
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* Site without action
|
|
1196
|
+
*/
|
|
1197
|
+
export type SiteDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1198
|
+
/**
|
|
1199
|
+
* Select specific fields to fetch from the Site
|
|
1200
|
+
*/
|
|
1201
|
+
select?: Prisma.SiteSelect<ExtArgs> | null
|
|
1202
|
+
/**
|
|
1203
|
+
* Omit specific fields from the Site
|
|
1204
|
+
*/
|
|
1205
|
+
omit?: Prisma.SiteOmit<ExtArgs> | null
|
|
1206
|
+
}
|