@actuate-media/cms-core 0.90.1 → 0.91.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +79 -0
- package/dist/actions.d.ts +31 -1
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +76 -21
- package/dist/actions.js.map +1 -1
- package/dist/api/route-helpers.d.ts +5 -1
- package/dist/api/route-helpers.d.ts.map +1 -1
- package/dist/api/route-helpers.js +13 -2
- package/dist/api/route-helpers.js.map +1 -1
- package/dist/api/routes/auth.d.ts.map +1 -1
- package/dist/api/routes/auth.js +13 -7
- package/dist/api/routes/auth.js.map +1 -1
- package/dist/api/routes/documents.d.ts.map +1 -1
- package/dist/api/routes/documents.js +4 -1
- package/dist/api/routes/documents.js.map +1 -1
- package/dist/api/routes/media.d.ts.map +1 -1
- package/dist/api/routes/media.js +10 -0
- package/dist/api/routes/media.js.map +1 -1
- package/dist/api/routes/url-resolution.d.ts.map +1 -1
- package/dist/api/routes/url-resolution.js +4 -1
- package/dist/api/routes/url-resolution.js.map +1 -1
- package/dist/config/index.d.ts +16 -0
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +59 -2
- package/dist/config/index.js.map +1 -1
- package/dist/config/runtime.d.ts +8 -0
- package/dist/config/runtime.d.ts.map +1 -1
- package/dist/config/runtime.js.map +1 -1
- package/dist/config/types.d.ts +35 -4
- package/dist/config/types.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/media/usage-sync.d.ts +37 -0
- package/dist/media/usage-sync.d.ts.map +1 -0
- package/dist/media/usage-sync.js +234 -0
- package/dist/media/usage-sync.js.map +1 -0
- package/dist/realtime/comments.d.ts +1 -1
- package/dist/realtime/comments.js +1 -1
- package/dist/realtime/notifications.d.ts +1 -1
- package/dist/realtime/notifications.js +1 -1
- package/dist/realtime/persistence.d.ts +1 -1
- package/dist/search/index.d.ts.map +1 -1
- package/dist/search/index.js +58 -35
- package/dist/search/index.js.map +1 -1
- package/dist/security/client-ip.d.ts.map +1 -1
- package/dist/security/client-ip.js +17 -0
- package/dist/security/client-ip.js.map +1 -1
- package/generated/browser.ts +229 -0
- package/generated/client.ts +253 -0
- package/generated/commonInputTypes.ts +1024 -0
- package/generated/enums.ts +211 -0
- package/generated/internal/class.ts +547 -0
- package/generated/internal/prismaNamespace.ts +4596 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1188 -0
- package/generated/models/AiCrawlerHit.ts +1275 -0
- package/generated/models/ApiKey.ts +1559 -0
- package/generated/models/ApiRequestMetric.ts +1390 -0
- package/generated/models/AuditLog.ts +1215 -0
- package/generated/models/BackupRecord.ts +1259 -0
- package/generated/models/ContentIssue.ts +1496 -0
- package/generated/models/ContentLock.ts +1481 -0
- package/generated/models/ContentTemplate.ts +1425 -0
- package/generated/models/Document.ts +3486 -0
- package/generated/models/Folder.ts +1905 -0
- package/generated/models/FormSchemaVersion.ts +1265 -0
- package/generated/models/FormSubmission.ts +2105 -0
- package/generated/models/FormSubmissionFile.ts +1615 -0
- package/generated/models/FormWebhook.ts +1371 -0
- package/generated/models/InAppNotification.ts +1466 -0
- package/generated/models/Invite.ts +1393 -0
- package/generated/models/Media.ts +2887 -0
- package/generated/models/MediaUsage.ts +1488 -0
- package/generated/models/OAuthAccount.ts +1472 -0
- package/generated/models/PageTemplate.ts +1271 -0
- package/generated/models/PasswordResetToken.ts +1396 -0
- package/generated/models/Redirect.ts +1501 -0
- package/generated/models/Redirect404Hit.ts +1266 -0
- package/generated/models/RedirectSuggestion.ts +1344 -0
- package/generated/models/SavedSection.ts +1315 -0
- package/generated/models/ScriptTag.ts +1453 -0
- package/generated/models/SeoAuditRun.ts +1745 -0
- package/generated/models/SeoIssue.ts +2047 -0
- package/generated/models/Session.ts +1501 -0
- package/generated/models/Site.ts +1215 -0
- package/generated/models/User.ts +4558 -0
- package/generated/models/Version.ts +1520 -0
- package/generated/models/WebhookDeliveryLog.ts +1656 -0
- package/generated/models/WebhookEndpoint.ts +1433 -0
- package/generated/models/WorkflowState.ts +1523 -0
- package/generated/models.ts +46 -0
- package/package.json +5 -3
- package/{prisma → schema-fragments}/cms-schema.prisma +15 -2
|
@@ -0,0 +1,1615 @@
|
|
|
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 `FormSubmissionFile` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.js"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model FormSubmissionFile
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type FormSubmissionFileModel = runtime.Types.Result.DefaultSelection<Prisma.$FormSubmissionFilePayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateFormSubmissionFile = {
|
|
22
|
+
_count: FormSubmissionFileCountAggregateOutputType | null
|
|
23
|
+
_avg: FormSubmissionFileAvgAggregateOutputType | null
|
|
24
|
+
_sum: FormSubmissionFileSumAggregateOutputType | null
|
|
25
|
+
_min: FormSubmissionFileMinAggregateOutputType | null
|
|
26
|
+
_max: FormSubmissionFileMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type FormSubmissionFileAvgAggregateOutputType = {
|
|
30
|
+
sizeBytes: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type FormSubmissionFileSumAggregateOutputType = {
|
|
34
|
+
sizeBytes: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type FormSubmissionFileMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
submissionId: string | null
|
|
40
|
+
fieldKey: string | null
|
|
41
|
+
mediaAssetId: string | null
|
|
42
|
+
fileName: string | null
|
|
43
|
+
mimeType: string | null
|
|
44
|
+
sizeBytes: number | null
|
|
45
|
+
storageKey: string | null
|
|
46
|
+
publicUrl: string | null
|
|
47
|
+
secureDownloadUrl: string | null
|
|
48
|
+
createdAt: Date | null
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type FormSubmissionFileMaxAggregateOutputType = {
|
|
52
|
+
id: string | null
|
|
53
|
+
submissionId: string | null
|
|
54
|
+
fieldKey: string | null
|
|
55
|
+
mediaAssetId: string | null
|
|
56
|
+
fileName: string | null
|
|
57
|
+
mimeType: string | null
|
|
58
|
+
sizeBytes: number | null
|
|
59
|
+
storageKey: string | null
|
|
60
|
+
publicUrl: string | null
|
|
61
|
+
secureDownloadUrl: string | null
|
|
62
|
+
createdAt: Date | null
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export type FormSubmissionFileCountAggregateOutputType = {
|
|
66
|
+
id: number
|
|
67
|
+
submissionId: number
|
|
68
|
+
fieldKey: number
|
|
69
|
+
mediaAssetId: number
|
|
70
|
+
fileName: number
|
|
71
|
+
mimeType: number
|
|
72
|
+
sizeBytes: number
|
|
73
|
+
storageKey: number
|
|
74
|
+
publicUrl: number
|
|
75
|
+
secureDownloadUrl: number
|
|
76
|
+
createdAt: number
|
|
77
|
+
_all: number
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
export type FormSubmissionFileAvgAggregateInputType = {
|
|
82
|
+
sizeBytes?: true
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type FormSubmissionFileSumAggregateInputType = {
|
|
86
|
+
sizeBytes?: true
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type FormSubmissionFileMinAggregateInputType = {
|
|
90
|
+
id?: true
|
|
91
|
+
submissionId?: true
|
|
92
|
+
fieldKey?: true
|
|
93
|
+
mediaAssetId?: true
|
|
94
|
+
fileName?: true
|
|
95
|
+
mimeType?: true
|
|
96
|
+
sizeBytes?: true
|
|
97
|
+
storageKey?: true
|
|
98
|
+
publicUrl?: true
|
|
99
|
+
secureDownloadUrl?: true
|
|
100
|
+
createdAt?: true
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export type FormSubmissionFileMaxAggregateInputType = {
|
|
104
|
+
id?: true
|
|
105
|
+
submissionId?: true
|
|
106
|
+
fieldKey?: true
|
|
107
|
+
mediaAssetId?: true
|
|
108
|
+
fileName?: true
|
|
109
|
+
mimeType?: true
|
|
110
|
+
sizeBytes?: true
|
|
111
|
+
storageKey?: true
|
|
112
|
+
publicUrl?: true
|
|
113
|
+
secureDownloadUrl?: true
|
|
114
|
+
createdAt?: true
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export type FormSubmissionFileCountAggregateInputType = {
|
|
118
|
+
id?: true
|
|
119
|
+
submissionId?: true
|
|
120
|
+
fieldKey?: true
|
|
121
|
+
mediaAssetId?: true
|
|
122
|
+
fileName?: true
|
|
123
|
+
mimeType?: true
|
|
124
|
+
sizeBytes?: true
|
|
125
|
+
storageKey?: true
|
|
126
|
+
publicUrl?: true
|
|
127
|
+
secureDownloadUrl?: true
|
|
128
|
+
createdAt?: true
|
|
129
|
+
_all?: true
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export type FormSubmissionFileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
133
|
+
/**
|
|
134
|
+
* Filter which FormSubmissionFile to aggregate.
|
|
135
|
+
*/
|
|
136
|
+
where?: Prisma.FormSubmissionFileWhereInput
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
139
|
+
*
|
|
140
|
+
* Determine the order of FormSubmissionFiles to fetch.
|
|
141
|
+
*/
|
|
142
|
+
orderBy?: Prisma.FormSubmissionFileOrderByWithRelationInput | Prisma.FormSubmissionFileOrderByWithRelationInput[]
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
145
|
+
*
|
|
146
|
+
* Sets the start position
|
|
147
|
+
*/
|
|
148
|
+
cursor?: Prisma.FormSubmissionFileWhereUniqueInput
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
151
|
+
*
|
|
152
|
+
* Take `±n` FormSubmissionFiles from the position of the cursor.
|
|
153
|
+
*/
|
|
154
|
+
take?: number
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
157
|
+
*
|
|
158
|
+
* Skip the first `n` FormSubmissionFiles.
|
|
159
|
+
*/
|
|
160
|
+
skip?: number
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
+
*
|
|
164
|
+
* Count returned FormSubmissionFiles
|
|
165
|
+
**/
|
|
166
|
+
_count?: true | FormSubmissionFileCountAggregateInputType
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Select which fields to average
|
|
171
|
+
**/
|
|
172
|
+
_avg?: FormSubmissionFileAvgAggregateInputType
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
+
*
|
|
176
|
+
* Select which fields to sum
|
|
177
|
+
**/
|
|
178
|
+
_sum?: FormSubmissionFileSumAggregateInputType
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
181
|
+
*
|
|
182
|
+
* Select which fields to find the minimum value
|
|
183
|
+
**/
|
|
184
|
+
_min?: FormSubmissionFileMinAggregateInputType
|
|
185
|
+
/**
|
|
186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
187
|
+
*
|
|
188
|
+
* Select which fields to find the maximum value
|
|
189
|
+
**/
|
|
190
|
+
_max?: FormSubmissionFileMaxAggregateInputType
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export type GetFormSubmissionFileAggregateType<T extends FormSubmissionFileAggregateArgs> = {
|
|
194
|
+
[P in keyof T & keyof AggregateFormSubmissionFile]: P extends '_count' | 'count'
|
|
195
|
+
? T[P] extends true
|
|
196
|
+
? number
|
|
197
|
+
: Prisma.GetScalarType<T[P], AggregateFormSubmissionFile[P]>
|
|
198
|
+
: Prisma.GetScalarType<T[P], AggregateFormSubmissionFile[P]>
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
export type FormSubmissionFileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
205
|
+
where?: Prisma.FormSubmissionFileWhereInput
|
|
206
|
+
orderBy?: Prisma.FormSubmissionFileOrderByWithAggregationInput | Prisma.FormSubmissionFileOrderByWithAggregationInput[]
|
|
207
|
+
by: Prisma.FormSubmissionFileScalarFieldEnum[] | Prisma.FormSubmissionFileScalarFieldEnum
|
|
208
|
+
having?: Prisma.FormSubmissionFileScalarWhereWithAggregatesInput
|
|
209
|
+
take?: number
|
|
210
|
+
skip?: number
|
|
211
|
+
_count?: FormSubmissionFileCountAggregateInputType | true
|
|
212
|
+
_avg?: FormSubmissionFileAvgAggregateInputType
|
|
213
|
+
_sum?: FormSubmissionFileSumAggregateInputType
|
|
214
|
+
_min?: FormSubmissionFileMinAggregateInputType
|
|
215
|
+
_max?: FormSubmissionFileMaxAggregateInputType
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export type FormSubmissionFileGroupByOutputType = {
|
|
219
|
+
id: string
|
|
220
|
+
submissionId: string
|
|
221
|
+
fieldKey: string
|
|
222
|
+
mediaAssetId: string | null
|
|
223
|
+
fileName: string
|
|
224
|
+
mimeType: string
|
|
225
|
+
sizeBytes: number
|
|
226
|
+
storageKey: string
|
|
227
|
+
publicUrl: string | null
|
|
228
|
+
secureDownloadUrl: string | null
|
|
229
|
+
createdAt: Date
|
|
230
|
+
_count: FormSubmissionFileCountAggregateOutputType | null
|
|
231
|
+
_avg: FormSubmissionFileAvgAggregateOutputType | null
|
|
232
|
+
_sum: FormSubmissionFileSumAggregateOutputType | null
|
|
233
|
+
_min: FormSubmissionFileMinAggregateOutputType | null
|
|
234
|
+
_max: FormSubmissionFileMaxAggregateOutputType | null
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export type GetFormSubmissionFileGroupByPayload<T extends FormSubmissionFileGroupByArgs> = Prisma.PrismaPromise<
|
|
238
|
+
Array<
|
|
239
|
+
Prisma.PickEnumerable<FormSubmissionFileGroupByOutputType, T['by']> &
|
|
240
|
+
{
|
|
241
|
+
[P in ((keyof T) & (keyof FormSubmissionFileGroupByOutputType))]: P extends '_count'
|
|
242
|
+
? T[P] extends boolean
|
|
243
|
+
? number
|
|
244
|
+
: Prisma.GetScalarType<T[P], FormSubmissionFileGroupByOutputType[P]>
|
|
245
|
+
: Prisma.GetScalarType<T[P], FormSubmissionFileGroupByOutputType[P]>
|
|
246
|
+
}
|
|
247
|
+
>
|
|
248
|
+
>
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
export type FormSubmissionFileWhereInput = {
|
|
253
|
+
AND?: Prisma.FormSubmissionFileWhereInput | Prisma.FormSubmissionFileWhereInput[]
|
|
254
|
+
OR?: Prisma.FormSubmissionFileWhereInput[]
|
|
255
|
+
NOT?: Prisma.FormSubmissionFileWhereInput | Prisma.FormSubmissionFileWhereInput[]
|
|
256
|
+
id?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
257
|
+
submissionId?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
258
|
+
fieldKey?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
259
|
+
mediaAssetId?: Prisma.StringNullableFilter<"FormSubmissionFile"> | string | null
|
|
260
|
+
fileName?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
261
|
+
mimeType?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
262
|
+
sizeBytes?: Prisma.IntFilter<"FormSubmissionFile"> | number
|
|
263
|
+
storageKey?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
264
|
+
publicUrl?: Prisma.StringNullableFilter<"FormSubmissionFile"> | string | null
|
|
265
|
+
secureDownloadUrl?: Prisma.StringNullableFilter<"FormSubmissionFile"> | string | null
|
|
266
|
+
createdAt?: Prisma.DateTimeFilter<"FormSubmissionFile"> | Date | string
|
|
267
|
+
submission?: Prisma.XOR<Prisma.FormSubmissionScalarRelationFilter, Prisma.FormSubmissionWhereInput>
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export type FormSubmissionFileOrderByWithRelationInput = {
|
|
271
|
+
id?: Prisma.SortOrder
|
|
272
|
+
submissionId?: Prisma.SortOrder
|
|
273
|
+
fieldKey?: Prisma.SortOrder
|
|
274
|
+
mediaAssetId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
275
|
+
fileName?: Prisma.SortOrder
|
|
276
|
+
mimeType?: Prisma.SortOrder
|
|
277
|
+
sizeBytes?: Prisma.SortOrder
|
|
278
|
+
storageKey?: Prisma.SortOrder
|
|
279
|
+
publicUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
280
|
+
secureDownloadUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
281
|
+
createdAt?: Prisma.SortOrder
|
|
282
|
+
submission?: Prisma.FormSubmissionOrderByWithRelationInput
|
|
283
|
+
_relevance?: Prisma.FormSubmissionFileOrderByRelevanceInput
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type FormSubmissionFileWhereUniqueInput = Prisma.AtLeast<{
|
|
287
|
+
id?: string
|
|
288
|
+
AND?: Prisma.FormSubmissionFileWhereInput | Prisma.FormSubmissionFileWhereInput[]
|
|
289
|
+
OR?: Prisma.FormSubmissionFileWhereInput[]
|
|
290
|
+
NOT?: Prisma.FormSubmissionFileWhereInput | Prisma.FormSubmissionFileWhereInput[]
|
|
291
|
+
submissionId?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
292
|
+
fieldKey?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
293
|
+
mediaAssetId?: Prisma.StringNullableFilter<"FormSubmissionFile"> | string | null
|
|
294
|
+
fileName?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
295
|
+
mimeType?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
296
|
+
sizeBytes?: Prisma.IntFilter<"FormSubmissionFile"> | number
|
|
297
|
+
storageKey?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
298
|
+
publicUrl?: Prisma.StringNullableFilter<"FormSubmissionFile"> | string | null
|
|
299
|
+
secureDownloadUrl?: Prisma.StringNullableFilter<"FormSubmissionFile"> | string | null
|
|
300
|
+
createdAt?: Prisma.DateTimeFilter<"FormSubmissionFile"> | Date | string
|
|
301
|
+
submission?: Prisma.XOR<Prisma.FormSubmissionScalarRelationFilter, Prisma.FormSubmissionWhereInput>
|
|
302
|
+
}, "id">
|
|
303
|
+
|
|
304
|
+
export type FormSubmissionFileOrderByWithAggregationInput = {
|
|
305
|
+
id?: Prisma.SortOrder
|
|
306
|
+
submissionId?: Prisma.SortOrder
|
|
307
|
+
fieldKey?: Prisma.SortOrder
|
|
308
|
+
mediaAssetId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
309
|
+
fileName?: Prisma.SortOrder
|
|
310
|
+
mimeType?: Prisma.SortOrder
|
|
311
|
+
sizeBytes?: Prisma.SortOrder
|
|
312
|
+
storageKey?: Prisma.SortOrder
|
|
313
|
+
publicUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
314
|
+
secureDownloadUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
315
|
+
createdAt?: Prisma.SortOrder
|
|
316
|
+
_count?: Prisma.FormSubmissionFileCountOrderByAggregateInput
|
|
317
|
+
_avg?: Prisma.FormSubmissionFileAvgOrderByAggregateInput
|
|
318
|
+
_max?: Prisma.FormSubmissionFileMaxOrderByAggregateInput
|
|
319
|
+
_min?: Prisma.FormSubmissionFileMinOrderByAggregateInput
|
|
320
|
+
_sum?: Prisma.FormSubmissionFileSumOrderByAggregateInput
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export type FormSubmissionFileScalarWhereWithAggregatesInput = {
|
|
324
|
+
AND?: Prisma.FormSubmissionFileScalarWhereWithAggregatesInput | Prisma.FormSubmissionFileScalarWhereWithAggregatesInput[]
|
|
325
|
+
OR?: Prisma.FormSubmissionFileScalarWhereWithAggregatesInput[]
|
|
326
|
+
NOT?: Prisma.FormSubmissionFileScalarWhereWithAggregatesInput | Prisma.FormSubmissionFileScalarWhereWithAggregatesInput[]
|
|
327
|
+
id?: Prisma.StringWithAggregatesFilter<"FormSubmissionFile"> | string
|
|
328
|
+
submissionId?: Prisma.StringWithAggregatesFilter<"FormSubmissionFile"> | string
|
|
329
|
+
fieldKey?: Prisma.StringWithAggregatesFilter<"FormSubmissionFile"> | string
|
|
330
|
+
mediaAssetId?: Prisma.StringNullableWithAggregatesFilter<"FormSubmissionFile"> | string | null
|
|
331
|
+
fileName?: Prisma.StringWithAggregatesFilter<"FormSubmissionFile"> | string
|
|
332
|
+
mimeType?: Prisma.StringWithAggregatesFilter<"FormSubmissionFile"> | string
|
|
333
|
+
sizeBytes?: Prisma.IntWithAggregatesFilter<"FormSubmissionFile"> | number
|
|
334
|
+
storageKey?: Prisma.StringWithAggregatesFilter<"FormSubmissionFile"> | string
|
|
335
|
+
publicUrl?: Prisma.StringNullableWithAggregatesFilter<"FormSubmissionFile"> | string | null
|
|
336
|
+
secureDownloadUrl?: Prisma.StringNullableWithAggregatesFilter<"FormSubmissionFile"> | string | null
|
|
337
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"FormSubmissionFile"> | Date | string
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export type FormSubmissionFileCreateInput = {
|
|
341
|
+
id?: string
|
|
342
|
+
fieldKey: string
|
|
343
|
+
mediaAssetId?: string | null
|
|
344
|
+
fileName: string
|
|
345
|
+
mimeType: string
|
|
346
|
+
sizeBytes: number
|
|
347
|
+
storageKey: string
|
|
348
|
+
publicUrl?: string | null
|
|
349
|
+
secureDownloadUrl?: string | null
|
|
350
|
+
createdAt?: Date | string
|
|
351
|
+
submission: Prisma.FormSubmissionCreateNestedOneWithoutFilesInput
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type FormSubmissionFileUncheckedCreateInput = {
|
|
355
|
+
id?: string
|
|
356
|
+
submissionId: string
|
|
357
|
+
fieldKey: string
|
|
358
|
+
mediaAssetId?: string | null
|
|
359
|
+
fileName: string
|
|
360
|
+
mimeType: string
|
|
361
|
+
sizeBytes: number
|
|
362
|
+
storageKey: string
|
|
363
|
+
publicUrl?: string | null
|
|
364
|
+
secureDownloadUrl?: string | null
|
|
365
|
+
createdAt?: Date | string
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type FormSubmissionFileUpdateInput = {
|
|
369
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
370
|
+
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
371
|
+
mediaAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
372
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
373
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
374
|
+
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
375
|
+
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
376
|
+
publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
377
|
+
secureDownloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
378
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
379
|
+
submission?: Prisma.FormSubmissionUpdateOneRequiredWithoutFilesNestedInput
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export type FormSubmissionFileUncheckedUpdateInput = {
|
|
383
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
384
|
+
submissionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
385
|
+
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
386
|
+
mediaAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
387
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
388
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
389
|
+
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
390
|
+
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
391
|
+
publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
392
|
+
secureDownloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
393
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type FormSubmissionFileCreateManyInput = {
|
|
397
|
+
id?: string
|
|
398
|
+
submissionId: string
|
|
399
|
+
fieldKey: string
|
|
400
|
+
mediaAssetId?: string | null
|
|
401
|
+
fileName: string
|
|
402
|
+
mimeType: string
|
|
403
|
+
sizeBytes: number
|
|
404
|
+
storageKey: string
|
|
405
|
+
publicUrl?: string | null
|
|
406
|
+
secureDownloadUrl?: string | null
|
|
407
|
+
createdAt?: Date | string
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type FormSubmissionFileUpdateManyMutationInput = {
|
|
411
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
412
|
+
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
413
|
+
mediaAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
414
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
415
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
416
|
+
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
417
|
+
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
418
|
+
publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
419
|
+
secureDownloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
420
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export type FormSubmissionFileUncheckedUpdateManyInput = {
|
|
424
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
425
|
+
submissionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
426
|
+
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
427
|
+
mediaAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
428
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
429
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
430
|
+
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
431
|
+
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
432
|
+
publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
433
|
+
secureDownloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
434
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type FormSubmissionFileListRelationFilter = {
|
|
438
|
+
every?: Prisma.FormSubmissionFileWhereInput
|
|
439
|
+
some?: Prisma.FormSubmissionFileWhereInput
|
|
440
|
+
none?: Prisma.FormSubmissionFileWhereInput
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type FormSubmissionFileOrderByRelationAggregateInput = {
|
|
444
|
+
_count?: Prisma.SortOrder
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export type FormSubmissionFileOrderByRelevanceInput = {
|
|
448
|
+
fields: Prisma.FormSubmissionFileOrderByRelevanceFieldEnum | Prisma.FormSubmissionFileOrderByRelevanceFieldEnum[]
|
|
449
|
+
sort: Prisma.SortOrder
|
|
450
|
+
search: string
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export type FormSubmissionFileCountOrderByAggregateInput = {
|
|
454
|
+
id?: Prisma.SortOrder
|
|
455
|
+
submissionId?: Prisma.SortOrder
|
|
456
|
+
fieldKey?: Prisma.SortOrder
|
|
457
|
+
mediaAssetId?: Prisma.SortOrder
|
|
458
|
+
fileName?: Prisma.SortOrder
|
|
459
|
+
mimeType?: Prisma.SortOrder
|
|
460
|
+
sizeBytes?: Prisma.SortOrder
|
|
461
|
+
storageKey?: Prisma.SortOrder
|
|
462
|
+
publicUrl?: Prisma.SortOrder
|
|
463
|
+
secureDownloadUrl?: Prisma.SortOrder
|
|
464
|
+
createdAt?: Prisma.SortOrder
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export type FormSubmissionFileAvgOrderByAggregateInput = {
|
|
468
|
+
sizeBytes?: Prisma.SortOrder
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type FormSubmissionFileMaxOrderByAggregateInput = {
|
|
472
|
+
id?: Prisma.SortOrder
|
|
473
|
+
submissionId?: Prisma.SortOrder
|
|
474
|
+
fieldKey?: Prisma.SortOrder
|
|
475
|
+
mediaAssetId?: Prisma.SortOrder
|
|
476
|
+
fileName?: Prisma.SortOrder
|
|
477
|
+
mimeType?: Prisma.SortOrder
|
|
478
|
+
sizeBytes?: Prisma.SortOrder
|
|
479
|
+
storageKey?: Prisma.SortOrder
|
|
480
|
+
publicUrl?: Prisma.SortOrder
|
|
481
|
+
secureDownloadUrl?: Prisma.SortOrder
|
|
482
|
+
createdAt?: Prisma.SortOrder
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export type FormSubmissionFileMinOrderByAggregateInput = {
|
|
486
|
+
id?: Prisma.SortOrder
|
|
487
|
+
submissionId?: Prisma.SortOrder
|
|
488
|
+
fieldKey?: Prisma.SortOrder
|
|
489
|
+
mediaAssetId?: Prisma.SortOrder
|
|
490
|
+
fileName?: Prisma.SortOrder
|
|
491
|
+
mimeType?: Prisma.SortOrder
|
|
492
|
+
sizeBytes?: Prisma.SortOrder
|
|
493
|
+
storageKey?: Prisma.SortOrder
|
|
494
|
+
publicUrl?: Prisma.SortOrder
|
|
495
|
+
secureDownloadUrl?: Prisma.SortOrder
|
|
496
|
+
createdAt?: Prisma.SortOrder
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export type FormSubmissionFileSumOrderByAggregateInput = {
|
|
500
|
+
sizeBytes?: Prisma.SortOrder
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
export type FormSubmissionFileCreateNestedManyWithoutSubmissionInput = {
|
|
504
|
+
create?: Prisma.XOR<Prisma.FormSubmissionFileCreateWithoutSubmissionInput, Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput> | Prisma.FormSubmissionFileCreateWithoutSubmissionInput[] | Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput[]
|
|
505
|
+
connectOrCreate?: Prisma.FormSubmissionFileCreateOrConnectWithoutSubmissionInput | Prisma.FormSubmissionFileCreateOrConnectWithoutSubmissionInput[]
|
|
506
|
+
createMany?: Prisma.FormSubmissionFileCreateManySubmissionInputEnvelope
|
|
507
|
+
connect?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export type FormSubmissionFileUncheckedCreateNestedManyWithoutSubmissionInput = {
|
|
511
|
+
create?: Prisma.XOR<Prisma.FormSubmissionFileCreateWithoutSubmissionInput, Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput> | Prisma.FormSubmissionFileCreateWithoutSubmissionInput[] | Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput[]
|
|
512
|
+
connectOrCreate?: Prisma.FormSubmissionFileCreateOrConnectWithoutSubmissionInput | Prisma.FormSubmissionFileCreateOrConnectWithoutSubmissionInput[]
|
|
513
|
+
createMany?: Prisma.FormSubmissionFileCreateManySubmissionInputEnvelope
|
|
514
|
+
connect?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
export type FormSubmissionFileUpdateManyWithoutSubmissionNestedInput = {
|
|
518
|
+
create?: Prisma.XOR<Prisma.FormSubmissionFileCreateWithoutSubmissionInput, Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput> | Prisma.FormSubmissionFileCreateWithoutSubmissionInput[] | Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput[]
|
|
519
|
+
connectOrCreate?: Prisma.FormSubmissionFileCreateOrConnectWithoutSubmissionInput | Prisma.FormSubmissionFileCreateOrConnectWithoutSubmissionInput[]
|
|
520
|
+
upsert?: Prisma.FormSubmissionFileUpsertWithWhereUniqueWithoutSubmissionInput | Prisma.FormSubmissionFileUpsertWithWhereUniqueWithoutSubmissionInput[]
|
|
521
|
+
createMany?: Prisma.FormSubmissionFileCreateManySubmissionInputEnvelope
|
|
522
|
+
set?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
523
|
+
disconnect?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
524
|
+
delete?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
525
|
+
connect?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
526
|
+
update?: Prisma.FormSubmissionFileUpdateWithWhereUniqueWithoutSubmissionInput | Prisma.FormSubmissionFileUpdateWithWhereUniqueWithoutSubmissionInput[]
|
|
527
|
+
updateMany?: Prisma.FormSubmissionFileUpdateManyWithWhereWithoutSubmissionInput | Prisma.FormSubmissionFileUpdateManyWithWhereWithoutSubmissionInput[]
|
|
528
|
+
deleteMany?: Prisma.FormSubmissionFileScalarWhereInput | Prisma.FormSubmissionFileScalarWhereInput[]
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
export type FormSubmissionFileUncheckedUpdateManyWithoutSubmissionNestedInput = {
|
|
532
|
+
create?: Prisma.XOR<Prisma.FormSubmissionFileCreateWithoutSubmissionInput, Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput> | Prisma.FormSubmissionFileCreateWithoutSubmissionInput[] | Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput[]
|
|
533
|
+
connectOrCreate?: Prisma.FormSubmissionFileCreateOrConnectWithoutSubmissionInput | Prisma.FormSubmissionFileCreateOrConnectWithoutSubmissionInput[]
|
|
534
|
+
upsert?: Prisma.FormSubmissionFileUpsertWithWhereUniqueWithoutSubmissionInput | Prisma.FormSubmissionFileUpsertWithWhereUniqueWithoutSubmissionInput[]
|
|
535
|
+
createMany?: Prisma.FormSubmissionFileCreateManySubmissionInputEnvelope
|
|
536
|
+
set?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
537
|
+
disconnect?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
538
|
+
delete?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
539
|
+
connect?: Prisma.FormSubmissionFileWhereUniqueInput | Prisma.FormSubmissionFileWhereUniqueInput[]
|
|
540
|
+
update?: Prisma.FormSubmissionFileUpdateWithWhereUniqueWithoutSubmissionInput | Prisma.FormSubmissionFileUpdateWithWhereUniqueWithoutSubmissionInput[]
|
|
541
|
+
updateMany?: Prisma.FormSubmissionFileUpdateManyWithWhereWithoutSubmissionInput | Prisma.FormSubmissionFileUpdateManyWithWhereWithoutSubmissionInput[]
|
|
542
|
+
deleteMany?: Prisma.FormSubmissionFileScalarWhereInput | Prisma.FormSubmissionFileScalarWhereInput[]
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export type FormSubmissionFileCreateWithoutSubmissionInput = {
|
|
546
|
+
id?: string
|
|
547
|
+
fieldKey: string
|
|
548
|
+
mediaAssetId?: string | null
|
|
549
|
+
fileName: string
|
|
550
|
+
mimeType: string
|
|
551
|
+
sizeBytes: number
|
|
552
|
+
storageKey: string
|
|
553
|
+
publicUrl?: string | null
|
|
554
|
+
secureDownloadUrl?: string | null
|
|
555
|
+
createdAt?: Date | string
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export type FormSubmissionFileUncheckedCreateWithoutSubmissionInput = {
|
|
559
|
+
id?: string
|
|
560
|
+
fieldKey: string
|
|
561
|
+
mediaAssetId?: string | null
|
|
562
|
+
fileName: string
|
|
563
|
+
mimeType: string
|
|
564
|
+
sizeBytes: number
|
|
565
|
+
storageKey: string
|
|
566
|
+
publicUrl?: string | null
|
|
567
|
+
secureDownloadUrl?: string | null
|
|
568
|
+
createdAt?: Date | string
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export type FormSubmissionFileCreateOrConnectWithoutSubmissionInput = {
|
|
572
|
+
where: Prisma.FormSubmissionFileWhereUniqueInput
|
|
573
|
+
create: Prisma.XOR<Prisma.FormSubmissionFileCreateWithoutSubmissionInput, Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput>
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export type FormSubmissionFileCreateManySubmissionInputEnvelope = {
|
|
577
|
+
data: Prisma.FormSubmissionFileCreateManySubmissionInput | Prisma.FormSubmissionFileCreateManySubmissionInput[]
|
|
578
|
+
skipDuplicates?: boolean
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export type FormSubmissionFileUpsertWithWhereUniqueWithoutSubmissionInput = {
|
|
582
|
+
where: Prisma.FormSubmissionFileWhereUniqueInput
|
|
583
|
+
update: Prisma.XOR<Prisma.FormSubmissionFileUpdateWithoutSubmissionInput, Prisma.FormSubmissionFileUncheckedUpdateWithoutSubmissionInput>
|
|
584
|
+
create: Prisma.XOR<Prisma.FormSubmissionFileCreateWithoutSubmissionInput, Prisma.FormSubmissionFileUncheckedCreateWithoutSubmissionInput>
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export type FormSubmissionFileUpdateWithWhereUniqueWithoutSubmissionInput = {
|
|
588
|
+
where: Prisma.FormSubmissionFileWhereUniqueInput
|
|
589
|
+
data: Prisma.XOR<Prisma.FormSubmissionFileUpdateWithoutSubmissionInput, Prisma.FormSubmissionFileUncheckedUpdateWithoutSubmissionInput>
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export type FormSubmissionFileUpdateManyWithWhereWithoutSubmissionInput = {
|
|
593
|
+
where: Prisma.FormSubmissionFileScalarWhereInput
|
|
594
|
+
data: Prisma.XOR<Prisma.FormSubmissionFileUpdateManyMutationInput, Prisma.FormSubmissionFileUncheckedUpdateManyWithoutSubmissionInput>
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export type FormSubmissionFileScalarWhereInput = {
|
|
598
|
+
AND?: Prisma.FormSubmissionFileScalarWhereInput | Prisma.FormSubmissionFileScalarWhereInput[]
|
|
599
|
+
OR?: Prisma.FormSubmissionFileScalarWhereInput[]
|
|
600
|
+
NOT?: Prisma.FormSubmissionFileScalarWhereInput | Prisma.FormSubmissionFileScalarWhereInput[]
|
|
601
|
+
id?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
602
|
+
submissionId?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
603
|
+
fieldKey?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
604
|
+
mediaAssetId?: Prisma.StringNullableFilter<"FormSubmissionFile"> | string | null
|
|
605
|
+
fileName?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
606
|
+
mimeType?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
607
|
+
sizeBytes?: Prisma.IntFilter<"FormSubmissionFile"> | number
|
|
608
|
+
storageKey?: Prisma.StringFilter<"FormSubmissionFile"> | string
|
|
609
|
+
publicUrl?: Prisma.StringNullableFilter<"FormSubmissionFile"> | string | null
|
|
610
|
+
secureDownloadUrl?: Prisma.StringNullableFilter<"FormSubmissionFile"> | string | null
|
|
611
|
+
createdAt?: Prisma.DateTimeFilter<"FormSubmissionFile"> | Date | string
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export type FormSubmissionFileCreateManySubmissionInput = {
|
|
615
|
+
id?: string
|
|
616
|
+
fieldKey: string
|
|
617
|
+
mediaAssetId?: string | null
|
|
618
|
+
fileName: string
|
|
619
|
+
mimeType: string
|
|
620
|
+
sizeBytes: number
|
|
621
|
+
storageKey: string
|
|
622
|
+
publicUrl?: string | null
|
|
623
|
+
secureDownloadUrl?: string | null
|
|
624
|
+
createdAt?: Date | string
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
export type FormSubmissionFileUpdateWithoutSubmissionInput = {
|
|
628
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
629
|
+
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
630
|
+
mediaAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
631
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
632
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
633
|
+
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
634
|
+
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
635
|
+
publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
636
|
+
secureDownloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
637
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export type FormSubmissionFileUncheckedUpdateWithoutSubmissionInput = {
|
|
641
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
642
|
+
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
643
|
+
mediaAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
644
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
645
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
646
|
+
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
647
|
+
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
648
|
+
publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
649
|
+
secureDownloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
650
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
export type FormSubmissionFileUncheckedUpdateManyWithoutSubmissionInput = {
|
|
654
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
655
|
+
fieldKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
656
|
+
mediaAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
657
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
658
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
659
|
+
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
660
|
+
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
661
|
+
publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
662
|
+
secureDownloadUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
663
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
export type FormSubmissionFileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
669
|
+
id?: boolean
|
|
670
|
+
submissionId?: boolean
|
|
671
|
+
fieldKey?: boolean
|
|
672
|
+
mediaAssetId?: boolean
|
|
673
|
+
fileName?: boolean
|
|
674
|
+
mimeType?: boolean
|
|
675
|
+
sizeBytes?: boolean
|
|
676
|
+
storageKey?: boolean
|
|
677
|
+
publicUrl?: boolean
|
|
678
|
+
secureDownloadUrl?: boolean
|
|
679
|
+
createdAt?: boolean
|
|
680
|
+
submission?: boolean | Prisma.FormSubmissionDefaultArgs<ExtArgs>
|
|
681
|
+
}, ExtArgs["result"]["formSubmissionFile"]>
|
|
682
|
+
|
|
683
|
+
export type FormSubmissionFileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
684
|
+
id?: boolean
|
|
685
|
+
submissionId?: boolean
|
|
686
|
+
fieldKey?: boolean
|
|
687
|
+
mediaAssetId?: boolean
|
|
688
|
+
fileName?: boolean
|
|
689
|
+
mimeType?: boolean
|
|
690
|
+
sizeBytes?: boolean
|
|
691
|
+
storageKey?: boolean
|
|
692
|
+
publicUrl?: boolean
|
|
693
|
+
secureDownloadUrl?: boolean
|
|
694
|
+
createdAt?: boolean
|
|
695
|
+
submission?: boolean | Prisma.FormSubmissionDefaultArgs<ExtArgs>
|
|
696
|
+
}, ExtArgs["result"]["formSubmissionFile"]>
|
|
697
|
+
|
|
698
|
+
export type FormSubmissionFileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
699
|
+
id?: boolean
|
|
700
|
+
submissionId?: boolean
|
|
701
|
+
fieldKey?: boolean
|
|
702
|
+
mediaAssetId?: boolean
|
|
703
|
+
fileName?: boolean
|
|
704
|
+
mimeType?: boolean
|
|
705
|
+
sizeBytes?: boolean
|
|
706
|
+
storageKey?: boolean
|
|
707
|
+
publicUrl?: boolean
|
|
708
|
+
secureDownloadUrl?: boolean
|
|
709
|
+
createdAt?: boolean
|
|
710
|
+
submission?: boolean | Prisma.FormSubmissionDefaultArgs<ExtArgs>
|
|
711
|
+
}, ExtArgs["result"]["formSubmissionFile"]>
|
|
712
|
+
|
|
713
|
+
export type FormSubmissionFileSelectScalar = {
|
|
714
|
+
id?: boolean
|
|
715
|
+
submissionId?: boolean
|
|
716
|
+
fieldKey?: boolean
|
|
717
|
+
mediaAssetId?: boolean
|
|
718
|
+
fileName?: boolean
|
|
719
|
+
mimeType?: boolean
|
|
720
|
+
sizeBytes?: boolean
|
|
721
|
+
storageKey?: boolean
|
|
722
|
+
publicUrl?: boolean
|
|
723
|
+
secureDownloadUrl?: boolean
|
|
724
|
+
createdAt?: boolean
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
export type FormSubmissionFileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "submissionId" | "fieldKey" | "mediaAssetId" | "fileName" | "mimeType" | "sizeBytes" | "storageKey" | "publicUrl" | "secureDownloadUrl" | "createdAt", ExtArgs["result"]["formSubmissionFile"]>
|
|
728
|
+
export type FormSubmissionFileInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
729
|
+
submission?: boolean | Prisma.FormSubmissionDefaultArgs<ExtArgs>
|
|
730
|
+
}
|
|
731
|
+
export type FormSubmissionFileIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
732
|
+
submission?: boolean | Prisma.FormSubmissionDefaultArgs<ExtArgs>
|
|
733
|
+
}
|
|
734
|
+
export type FormSubmissionFileIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
735
|
+
submission?: boolean | Prisma.FormSubmissionDefaultArgs<ExtArgs>
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
export type $FormSubmissionFilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
739
|
+
name: "FormSubmissionFile"
|
|
740
|
+
objects: {
|
|
741
|
+
submission: Prisma.$FormSubmissionPayload<ExtArgs>
|
|
742
|
+
}
|
|
743
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
744
|
+
id: string
|
|
745
|
+
submissionId: string
|
|
746
|
+
fieldKey: string
|
|
747
|
+
mediaAssetId: string | null
|
|
748
|
+
fileName: string
|
|
749
|
+
mimeType: string
|
|
750
|
+
sizeBytes: number
|
|
751
|
+
storageKey: string
|
|
752
|
+
publicUrl: string | null
|
|
753
|
+
secureDownloadUrl: string | null
|
|
754
|
+
createdAt: Date
|
|
755
|
+
}, ExtArgs["result"]["formSubmissionFile"]>
|
|
756
|
+
composites: {}
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
export type FormSubmissionFileGetPayload<S extends boolean | null | undefined | FormSubmissionFileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload, S>
|
|
760
|
+
|
|
761
|
+
export type FormSubmissionFileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
762
|
+
Omit<FormSubmissionFileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
|
|
763
|
+
select?: FormSubmissionFileCountAggregateInputType | true
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
export interface FormSubmissionFileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
767
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['FormSubmissionFile'], meta: { name: 'FormSubmissionFile' } }
|
|
768
|
+
/**
|
|
769
|
+
* Find zero or one FormSubmissionFile that matches the filter.
|
|
770
|
+
* @param {FormSubmissionFileFindUniqueArgs} args - Arguments to find a FormSubmissionFile
|
|
771
|
+
* @example
|
|
772
|
+
* // Get one FormSubmissionFile
|
|
773
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.findUnique({
|
|
774
|
+
* where: {
|
|
775
|
+
* // ... provide filter here
|
|
776
|
+
* }
|
|
777
|
+
* })
|
|
778
|
+
*/
|
|
779
|
+
findUnique<T extends FormSubmissionFileFindUniqueArgs>(args: Prisma.SelectSubset<T, FormSubmissionFileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FormSubmissionFileClient<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Find one FormSubmissionFile that matches the filter or throw an error with `error.code='P2025'`
|
|
783
|
+
* if no matches were found.
|
|
784
|
+
* @param {FormSubmissionFileFindUniqueOrThrowArgs} args - Arguments to find a FormSubmissionFile
|
|
785
|
+
* @example
|
|
786
|
+
* // Get one FormSubmissionFile
|
|
787
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.findUniqueOrThrow({
|
|
788
|
+
* where: {
|
|
789
|
+
* // ... provide filter here
|
|
790
|
+
* }
|
|
791
|
+
* })
|
|
792
|
+
*/
|
|
793
|
+
findUniqueOrThrow<T extends FormSubmissionFileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FormSubmissionFileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FormSubmissionFileClient<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Find the first FormSubmissionFile that matches the filter.
|
|
797
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
798
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
799
|
+
* @param {FormSubmissionFileFindFirstArgs} args - Arguments to find a FormSubmissionFile
|
|
800
|
+
* @example
|
|
801
|
+
* // Get one FormSubmissionFile
|
|
802
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.findFirst({
|
|
803
|
+
* where: {
|
|
804
|
+
* // ... provide filter here
|
|
805
|
+
* }
|
|
806
|
+
* })
|
|
807
|
+
*/
|
|
808
|
+
findFirst<T extends FormSubmissionFileFindFirstArgs>(args?: Prisma.SelectSubset<T, FormSubmissionFileFindFirstArgs<ExtArgs>>): Prisma.Prisma__FormSubmissionFileClient<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Find the first FormSubmissionFile that matches the filter or
|
|
812
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
813
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
814
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
815
|
+
* @param {FormSubmissionFileFindFirstOrThrowArgs} args - Arguments to find a FormSubmissionFile
|
|
816
|
+
* @example
|
|
817
|
+
* // Get one FormSubmissionFile
|
|
818
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.findFirstOrThrow({
|
|
819
|
+
* where: {
|
|
820
|
+
* // ... provide filter here
|
|
821
|
+
* }
|
|
822
|
+
* })
|
|
823
|
+
*/
|
|
824
|
+
findFirstOrThrow<T extends FormSubmissionFileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FormSubmissionFileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FormSubmissionFileClient<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* Find zero or more FormSubmissionFiles that matches the filter.
|
|
828
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
829
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
830
|
+
* @param {FormSubmissionFileFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
831
|
+
* @example
|
|
832
|
+
* // Get all FormSubmissionFiles
|
|
833
|
+
* const formSubmissionFiles = await prisma.formSubmissionFile.findMany()
|
|
834
|
+
*
|
|
835
|
+
* // Get first 10 FormSubmissionFiles
|
|
836
|
+
* const formSubmissionFiles = await prisma.formSubmissionFile.findMany({ take: 10 })
|
|
837
|
+
*
|
|
838
|
+
* // Only select the `id`
|
|
839
|
+
* const formSubmissionFileWithIdOnly = await prisma.formSubmissionFile.findMany({ select: { id: true } })
|
|
840
|
+
*
|
|
841
|
+
*/
|
|
842
|
+
findMany<T extends FormSubmissionFileFindManyArgs>(args?: Prisma.SelectSubset<T, FormSubmissionFileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Create a FormSubmissionFile.
|
|
846
|
+
* @param {FormSubmissionFileCreateArgs} args - Arguments to create a FormSubmissionFile.
|
|
847
|
+
* @example
|
|
848
|
+
* // Create one FormSubmissionFile
|
|
849
|
+
* const FormSubmissionFile = await prisma.formSubmissionFile.create({
|
|
850
|
+
* data: {
|
|
851
|
+
* // ... data to create a FormSubmissionFile
|
|
852
|
+
* }
|
|
853
|
+
* })
|
|
854
|
+
*
|
|
855
|
+
*/
|
|
856
|
+
create<T extends FormSubmissionFileCreateArgs>(args: Prisma.SelectSubset<T, FormSubmissionFileCreateArgs<ExtArgs>>): Prisma.Prisma__FormSubmissionFileClient<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Create many FormSubmissionFiles.
|
|
860
|
+
* @param {FormSubmissionFileCreateManyArgs} args - Arguments to create many FormSubmissionFiles.
|
|
861
|
+
* @example
|
|
862
|
+
* // Create many FormSubmissionFiles
|
|
863
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.createMany({
|
|
864
|
+
* data: [
|
|
865
|
+
* // ... provide data here
|
|
866
|
+
* ]
|
|
867
|
+
* })
|
|
868
|
+
*
|
|
869
|
+
*/
|
|
870
|
+
createMany<T extends FormSubmissionFileCreateManyArgs>(args?: Prisma.SelectSubset<T, FormSubmissionFileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* Create many FormSubmissionFiles and returns the data saved in the database.
|
|
874
|
+
* @param {FormSubmissionFileCreateManyAndReturnArgs} args - Arguments to create many FormSubmissionFiles.
|
|
875
|
+
* @example
|
|
876
|
+
* // Create many FormSubmissionFiles
|
|
877
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.createManyAndReturn({
|
|
878
|
+
* data: [
|
|
879
|
+
* // ... provide data here
|
|
880
|
+
* ]
|
|
881
|
+
* })
|
|
882
|
+
*
|
|
883
|
+
* // Create many FormSubmissionFiles and only return the `id`
|
|
884
|
+
* const formSubmissionFileWithIdOnly = await prisma.formSubmissionFile.createManyAndReturn({
|
|
885
|
+
* select: { id: true },
|
|
886
|
+
* data: [
|
|
887
|
+
* // ... provide data here
|
|
888
|
+
* ]
|
|
889
|
+
* })
|
|
890
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
891
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
892
|
+
*
|
|
893
|
+
*/
|
|
894
|
+
createManyAndReturn<T extends FormSubmissionFileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FormSubmissionFileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Delete a FormSubmissionFile.
|
|
898
|
+
* @param {FormSubmissionFileDeleteArgs} args - Arguments to delete one FormSubmissionFile.
|
|
899
|
+
* @example
|
|
900
|
+
* // Delete one FormSubmissionFile
|
|
901
|
+
* const FormSubmissionFile = await prisma.formSubmissionFile.delete({
|
|
902
|
+
* where: {
|
|
903
|
+
* // ... filter to delete one FormSubmissionFile
|
|
904
|
+
* }
|
|
905
|
+
* })
|
|
906
|
+
*
|
|
907
|
+
*/
|
|
908
|
+
delete<T extends FormSubmissionFileDeleteArgs>(args: Prisma.SelectSubset<T, FormSubmissionFileDeleteArgs<ExtArgs>>): Prisma.Prisma__FormSubmissionFileClient<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* Update one FormSubmissionFile.
|
|
912
|
+
* @param {FormSubmissionFileUpdateArgs} args - Arguments to update one FormSubmissionFile.
|
|
913
|
+
* @example
|
|
914
|
+
* // Update one FormSubmissionFile
|
|
915
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.update({
|
|
916
|
+
* where: {
|
|
917
|
+
* // ... provide filter here
|
|
918
|
+
* },
|
|
919
|
+
* data: {
|
|
920
|
+
* // ... provide data here
|
|
921
|
+
* }
|
|
922
|
+
* })
|
|
923
|
+
*
|
|
924
|
+
*/
|
|
925
|
+
update<T extends FormSubmissionFileUpdateArgs>(args: Prisma.SelectSubset<T, FormSubmissionFileUpdateArgs<ExtArgs>>): Prisma.Prisma__FormSubmissionFileClient<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* Delete zero or more FormSubmissionFiles.
|
|
929
|
+
* @param {FormSubmissionFileDeleteManyArgs} args - Arguments to filter FormSubmissionFiles to delete.
|
|
930
|
+
* @example
|
|
931
|
+
* // Delete a few FormSubmissionFiles
|
|
932
|
+
* const { count } = await prisma.formSubmissionFile.deleteMany({
|
|
933
|
+
* where: {
|
|
934
|
+
* // ... provide filter here
|
|
935
|
+
* }
|
|
936
|
+
* })
|
|
937
|
+
*
|
|
938
|
+
*/
|
|
939
|
+
deleteMany<T extends FormSubmissionFileDeleteManyArgs>(args?: Prisma.SelectSubset<T, FormSubmissionFileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* Update zero or more FormSubmissionFiles.
|
|
943
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
944
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
945
|
+
* @param {FormSubmissionFileUpdateManyArgs} args - Arguments to update one or more rows.
|
|
946
|
+
* @example
|
|
947
|
+
* // Update many FormSubmissionFiles
|
|
948
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.updateMany({
|
|
949
|
+
* where: {
|
|
950
|
+
* // ... provide filter here
|
|
951
|
+
* },
|
|
952
|
+
* data: {
|
|
953
|
+
* // ... provide data here
|
|
954
|
+
* }
|
|
955
|
+
* })
|
|
956
|
+
*
|
|
957
|
+
*/
|
|
958
|
+
updateMany<T extends FormSubmissionFileUpdateManyArgs>(args: Prisma.SelectSubset<T, FormSubmissionFileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Update zero or more FormSubmissionFiles and returns the data updated in the database.
|
|
962
|
+
* @param {FormSubmissionFileUpdateManyAndReturnArgs} args - Arguments to update many FormSubmissionFiles.
|
|
963
|
+
* @example
|
|
964
|
+
* // Update many FormSubmissionFiles
|
|
965
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.updateManyAndReturn({
|
|
966
|
+
* where: {
|
|
967
|
+
* // ... provide filter here
|
|
968
|
+
* },
|
|
969
|
+
* data: [
|
|
970
|
+
* // ... provide data here
|
|
971
|
+
* ]
|
|
972
|
+
* })
|
|
973
|
+
*
|
|
974
|
+
* // Update zero or more FormSubmissionFiles and only return the `id`
|
|
975
|
+
* const formSubmissionFileWithIdOnly = await prisma.formSubmissionFile.updateManyAndReturn({
|
|
976
|
+
* select: { id: true },
|
|
977
|
+
* where: {
|
|
978
|
+
* // ... provide filter here
|
|
979
|
+
* },
|
|
980
|
+
* data: [
|
|
981
|
+
* // ... provide data here
|
|
982
|
+
* ]
|
|
983
|
+
* })
|
|
984
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
985
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
986
|
+
*
|
|
987
|
+
*/
|
|
988
|
+
updateManyAndReturn<T extends FormSubmissionFileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FormSubmissionFileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Create or update one FormSubmissionFile.
|
|
992
|
+
* @param {FormSubmissionFileUpsertArgs} args - Arguments to update or create a FormSubmissionFile.
|
|
993
|
+
* @example
|
|
994
|
+
* // Update or create a FormSubmissionFile
|
|
995
|
+
* const formSubmissionFile = await prisma.formSubmissionFile.upsert({
|
|
996
|
+
* create: {
|
|
997
|
+
* // ... data to create a FormSubmissionFile
|
|
998
|
+
* },
|
|
999
|
+
* update: {
|
|
1000
|
+
* // ... in case it already exists, update
|
|
1001
|
+
* },
|
|
1002
|
+
* where: {
|
|
1003
|
+
* // ... the filter for the FormSubmissionFile we want to update
|
|
1004
|
+
* }
|
|
1005
|
+
* })
|
|
1006
|
+
*/
|
|
1007
|
+
upsert<T extends FormSubmissionFileUpsertArgs>(args: Prisma.SelectSubset<T, FormSubmissionFileUpsertArgs<ExtArgs>>): Prisma.Prisma__FormSubmissionFileClient<runtime.Types.Result.GetResult<Prisma.$FormSubmissionFilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Count the number of FormSubmissionFiles.
|
|
1012
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1013
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1014
|
+
* @param {FormSubmissionFileCountArgs} args - Arguments to filter FormSubmissionFiles to count.
|
|
1015
|
+
* @example
|
|
1016
|
+
* // Count the number of FormSubmissionFiles
|
|
1017
|
+
* const count = await prisma.formSubmissionFile.count({
|
|
1018
|
+
* where: {
|
|
1019
|
+
* // ... the filter for the FormSubmissionFiles we want to count
|
|
1020
|
+
* }
|
|
1021
|
+
* })
|
|
1022
|
+
**/
|
|
1023
|
+
count<T extends FormSubmissionFileCountArgs>(
|
|
1024
|
+
args?: Prisma.Subset<T, FormSubmissionFileCountArgs>,
|
|
1025
|
+
): Prisma.PrismaPromise<
|
|
1026
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1027
|
+
? T['select'] extends true
|
|
1028
|
+
? number
|
|
1029
|
+
: Prisma.GetScalarType<T['select'], FormSubmissionFileCountAggregateOutputType>
|
|
1030
|
+
: number
|
|
1031
|
+
>
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Allows you to perform aggregations operations on a FormSubmissionFile.
|
|
1035
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1036
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1037
|
+
* @param {FormSubmissionFileAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1038
|
+
* @example
|
|
1039
|
+
* // Ordered by age ascending
|
|
1040
|
+
* // Where email contains prisma.io
|
|
1041
|
+
* // Limited to the 10 users
|
|
1042
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1043
|
+
* _avg: {
|
|
1044
|
+
* age: true,
|
|
1045
|
+
* },
|
|
1046
|
+
* where: {
|
|
1047
|
+
* email: {
|
|
1048
|
+
* contains: "prisma.io",
|
|
1049
|
+
* },
|
|
1050
|
+
* },
|
|
1051
|
+
* orderBy: {
|
|
1052
|
+
* age: "asc",
|
|
1053
|
+
* },
|
|
1054
|
+
* take: 10,
|
|
1055
|
+
* })
|
|
1056
|
+
**/
|
|
1057
|
+
aggregate<T extends FormSubmissionFileAggregateArgs>(args: Prisma.Subset<T, FormSubmissionFileAggregateArgs>): Prisma.PrismaPromise<GetFormSubmissionFileAggregateType<T>>
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* Group by FormSubmissionFile.
|
|
1061
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1062
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1063
|
+
* @param {FormSubmissionFileGroupByArgs} args - Group by arguments.
|
|
1064
|
+
* @example
|
|
1065
|
+
* // Group by city, order by createdAt, get count
|
|
1066
|
+
* const result = await prisma.user.groupBy({
|
|
1067
|
+
* by: ['city', 'createdAt'],
|
|
1068
|
+
* orderBy: {
|
|
1069
|
+
* createdAt: true
|
|
1070
|
+
* },
|
|
1071
|
+
* _count: {
|
|
1072
|
+
* _all: true
|
|
1073
|
+
* },
|
|
1074
|
+
* })
|
|
1075
|
+
*
|
|
1076
|
+
**/
|
|
1077
|
+
groupBy<
|
|
1078
|
+
T extends FormSubmissionFileGroupByArgs,
|
|
1079
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1080
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1081
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1082
|
+
>,
|
|
1083
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1084
|
+
? { orderBy: FormSubmissionFileGroupByArgs['orderBy'] }
|
|
1085
|
+
: { orderBy?: FormSubmissionFileGroupByArgs['orderBy'] },
|
|
1086
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1087
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1088
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1089
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1090
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1091
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1092
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1093
|
+
? `Error: "by" must not be empty.`
|
|
1094
|
+
: HavingValid extends Prisma.False
|
|
1095
|
+
? {
|
|
1096
|
+
[P in HavingFields]: P extends ByFields
|
|
1097
|
+
? never
|
|
1098
|
+
: P extends string
|
|
1099
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1100
|
+
: [
|
|
1101
|
+
Error,
|
|
1102
|
+
'Field ',
|
|
1103
|
+
P,
|
|
1104
|
+
` in "having" needs to be provided in "by"`,
|
|
1105
|
+
]
|
|
1106
|
+
}[HavingFields]
|
|
1107
|
+
: 'take' extends Prisma.Keys<T>
|
|
1108
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1109
|
+
? ByValid extends Prisma.True
|
|
1110
|
+
? {}
|
|
1111
|
+
: {
|
|
1112
|
+
[P in OrderFields]: P extends ByFields
|
|
1113
|
+
? never
|
|
1114
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1115
|
+
}[OrderFields]
|
|
1116
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1117
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1118
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1119
|
+
? ByValid extends Prisma.True
|
|
1120
|
+
? {}
|
|
1121
|
+
: {
|
|
1122
|
+
[P in OrderFields]: P extends ByFields
|
|
1123
|
+
? never
|
|
1124
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1125
|
+
}[OrderFields]
|
|
1126
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1127
|
+
: ByValid extends Prisma.True
|
|
1128
|
+
? {}
|
|
1129
|
+
: {
|
|
1130
|
+
[P in OrderFields]: P extends ByFields
|
|
1131
|
+
? never
|
|
1132
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1133
|
+
}[OrderFields]
|
|
1134
|
+
>(args: Prisma.SubsetIntersection<T, FormSubmissionFileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFormSubmissionFileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1135
|
+
/**
|
|
1136
|
+
* Fields of the FormSubmissionFile model
|
|
1137
|
+
*/
|
|
1138
|
+
readonly fields: FormSubmissionFileFieldRefs;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* The delegate class that acts as a "Promise-like" for FormSubmissionFile.
|
|
1143
|
+
* Why is this prefixed with `Prisma__`?
|
|
1144
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1145
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1146
|
+
*/
|
|
1147
|
+
export interface Prisma__FormSubmissionFileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1148
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1149
|
+
submission<T extends Prisma.FormSubmissionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FormSubmissionDefaultArgs<ExtArgs>>): Prisma.Prisma__FormSubmissionClient<runtime.Types.Result.GetResult<Prisma.$FormSubmissionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1150
|
+
/**
|
|
1151
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1152
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1153
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1154
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1155
|
+
*/
|
|
1156
|
+
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>
|
|
1157
|
+
/**
|
|
1158
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1159
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1160
|
+
* @returns A Promise for the completion of the callback.
|
|
1161
|
+
*/
|
|
1162
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1163
|
+
/**
|
|
1164
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1165
|
+
* resolved value cannot be modified from the callback.
|
|
1166
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1167
|
+
* @returns A Promise for the completion of the callback.
|
|
1168
|
+
*/
|
|
1169
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* Fields of the FormSubmissionFile model
|
|
1177
|
+
*/
|
|
1178
|
+
export interface FormSubmissionFileFieldRefs {
|
|
1179
|
+
readonly id: Prisma.FieldRef<"FormSubmissionFile", 'String'>
|
|
1180
|
+
readonly submissionId: Prisma.FieldRef<"FormSubmissionFile", 'String'>
|
|
1181
|
+
readonly fieldKey: Prisma.FieldRef<"FormSubmissionFile", 'String'>
|
|
1182
|
+
readonly mediaAssetId: Prisma.FieldRef<"FormSubmissionFile", 'String'>
|
|
1183
|
+
readonly fileName: Prisma.FieldRef<"FormSubmissionFile", 'String'>
|
|
1184
|
+
readonly mimeType: Prisma.FieldRef<"FormSubmissionFile", 'String'>
|
|
1185
|
+
readonly sizeBytes: Prisma.FieldRef<"FormSubmissionFile", 'Int'>
|
|
1186
|
+
readonly storageKey: Prisma.FieldRef<"FormSubmissionFile", 'String'>
|
|
1187
|
+
readonly publicUrl: Prisma.FieldRef<"FormSubmissionFile", 'String'>
|
|
1188
|
+
readonly secureDownloadUrl: Prisma.FieldRef<"FormSubmissionFile", 'String'>
|
|
1189
|
+
readonly createdAt: Prisma.FieldRef<"FormSubmissionFile", 'DateTime'>
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
// Custom InputTypes
|
|
1194
|
+
/**
|
|
1195
|
+
* FormSubmissionFile findUnique
|
|
1196
|
+
*/
|
|
1197
|
+
export type FormSubmissionFileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1198
|
+
/**
|
|
1199
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1200
|
+
*/
|
|
1201
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1202
|
+
/**
|
|
1203
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1204
|
+
*/
|
|
1205
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1206
|
+
/**
|
|
1207
|
+
* Choose, which related nodes to fetch as well
|
|
1208
|
+
*/
|
|
1209
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1210
|
+
/**
|
|
1211
|
+
* Filter, which FormSubmissionFile to fetch.
|
|
1212
|
+
*/
|
|
1213
|
+
where: Prisma.FormSubmissionFileWhereUniqueInput
|
|
1214
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* FormSubmissionFile findUniqueOrThrow
|
|
1219
|
+
*/
|
|
1220
|
+
export type FormSubmissionFileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1221
|
+
/**
|
|
1222
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1223
|
+
*/
|
|
1224
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1225
|
+
/**
|
|
1226
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1227
|
+
*/
|
|
1228
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1229
|
+
/**
|
|
1230
|
+
* Choose, which related nodes to fetch as well
|
|
1231
|
+
*/
|
|
1232
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1233
|
+
/**
|
|
1234
|
+
* Filter, which FormSubmissionFile to fetch.
|
|
1235
|
+
*/
|
|
1236
|
+
where: Prisma.FormSubmissionFileWhereUniqueInput
|
|
1237
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* FormSubmissionFile findFirst
|
|
1242
|
+
*/
|
|
1243
|
+
export type FormSubmissionFileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1244
|
+
/**
|
|
1245
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1246
|
+
*/
|
|
1247
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1248
|
+
/**
|
|
1249
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1250
|
+
*/
|
|
1251
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1252
|
+
/**
|
|
1253
|
+
* Choose, which related nodes to fetch as well
|
|
1254
|
+
*/
|
|
1255
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1256
|
+
/**
|
|
1257
|
+
* Filter, which FormSubmissionFile to fetch.
|
|
1258
|
+
*/
|
|
1259
|
+
where?: Prisma.FormSubmissionFileWhereInput
|
|
1260
|
+
/**
|
|
1261
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1262
|
+
*
|
|
1263
|
+
* Determine the order of FormSubmissionFiles to fetch.
|
|
1264
|
+
*/
|
|
1265
|
+
orderBy?: Prisma.FormSubmissionFileOrderByWithRelationInput | Prisma.FormSubmissionFileOrderByWithRelationInput[]
|
|
1266
|
+
/**
|
|
1267
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1268
|
+
*
|
|
1269
|
+
* Sets the position for searching for FormSubmissionFiles.
|
|
1270
|
+
*/
|
|
1271
|
+
cursor?: Prisma.FormSubmissionFileWhereUniqueInput
|
|
1272
|
+
/**
|
|
1273
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1274
|
+
*
|
|
1275
|
+
* Take `±n` FormSubmissionFiles from the position of the cursor.
|
|
1276
|
+
*/
|
|
1277
|
+
take?: number
|
|
1278
|
+
/**
|
|
1279
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1280
|
+
*
|
|
1281
|
+
* Skip the first `n` FormSubmissionFiles.
|
|
1282
|
+
*/
|
|
1283
|
+
skip?: number
|
|
1284
|
+
/**
|
|
1285
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1286
|
+
*
|
|
1287
|
+
* Filter by unique combinations of FormSubmissionFiles.
|
|
1288
|
+
*/
|
|
1289
|
+
distinct?: Prisma.FormSubmissionFileScalarFieldEnum | Prisma.FormSubmissionFileScalarFieldEnum[]
|
|
1290
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* FormSubmissionFile findFirstOrThrow
|
|
1295
|
+
*/
|
|
1296
|
+
export type FormSubmissionFileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1297
|
+
/**
|
|
1298
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1299
|
+
*/
|
|
1300
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1301
|
+
/**
|
|
1302
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1303
|
+
*/
|
|
1304
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1305
|
+
/**
|
|
1306
|
+
* Choose, which related nodes to fetch as well
|
|
1307
|
+
*/
|
|
1308
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1309
|
+
/**
|
|
1310
|
+
* Filter, which FormSubmissionFile to fetch.
|
|
1311
|
+
*/
|
|
1312
|
+
where?: Prisma.FormSubmissionFileWhereInput
|
|
1313
|
+
/**
|
|
1314
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1315
|
+
*
|
|
1316
|
+
* Determine the order of FormSubmissionFiles to fetch.
|
|
1317
|
+
*/
|
|
1318
|
+
orderBy?: Prisma.FormSubmissionFileOrderByWithRelationInput | Prisma.FormSubmissionFileOrderByWithRelationInput[]
|
|
1319
|
+
/**
|
|
1320
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1321
|
+
*
|
|
1322
|
+
* Sets the position for searching for FormSubmissionFiles.
|
|
1323
|
+
*/
|
|
1324
|
+
cursor?: Prisma.FormSubmissionFileWhereUniqueInput
|
|
1325
|
+
/**
|
|
1326
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1327
|
+
*
|
|
1328
|
+
* Take `±n` FormSubmissionFiles from the position of the cursor.
|
|
1329
|
+
*/
|
|
1330
|
+
take?: number
|
|
1331
|
+
/**
|
|
1332
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1333
|
+
*
|
|
1334
|
+
* Skip the first `n` FormSubmissionFiles.
|
|
1335
|
+
*/
|
|
1336
|
+
skip?: number
|
|
1337
|
+
/**
|
|
1338
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1339
|
+
*
|
|
1340
|
+
* Filter by unique combinations of FormSubmissionFiles.
|
|
1341
|
+
*/
|
|
1342
|
+
distinct?: Prisma.FormSubmissionFileScalarFieldEnum | Prisma.FormSubmissionFileScalarFieldEnum[]
|
|
1343
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* FormSubmissionFile findMany
|
|
1348
|
+
*/
|
|
1349
|
+
export type FormSubmissionFileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1350
|
+
/**
|
|
1351
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1352
|
+
*/
|
|
1353
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1354
|
+
/**
|
|
1355
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1356
|
+
*/
|
|
1357
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1358
|
+
/**
|
|
1359
|
+
* Choose, which related nodes to fetch as well
|
|
1360
|
+
*/
|
|
1361
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1362
|
+
/**
|
|
1363
|
+
* Filter, which FormSubmissionFiles to fetch.
|
|
1364
|
+
*/
|
|
1365
|
+
where?: Prisma.FormSubmissionFileWhereInput
|
|
1366
|
+
/**
|
|
1367
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1368
|
+
*
|
|
1369
|
+
* Determine the order of FormSubmissionFiles to fetch.
|
|
1370
|
+
*/
|
|
1371
|
+
orderBy?: Prisma.FormSubmissionFileOrderByWithRelationInput | Prisma.FormSubmissionFileOrderByWithRelationInput[]
|
|
1372
|
+
/**
|
|
1373
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1374
|
+
*
|
|
1375
|
+
* Sets the position for listing FormSubmissionFiles.
|
|
1376
|
+
*/
|
|
1377
|
+
cursor?: Prisma.FormSubmissionFileWhereUniqueInput
|
|
1378
|
+
/**
|
|
1379
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1380
|
+
*
|
|
1381
|
+
* Take `±n` FormSubmissionFiles from the position of the cursor.
|
|
1382
|
+
*/
|
|
1383
|
+
take?: number
|
|
1384
|
+
/**
|
|
1385
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1386
|
+
*
|
|
1387
|
+
* Skip the first `n` FormSubmissionFiles.
|
|
1388
|
+
*/
|
|
1389
|
+
skip?: number
|
|
1390
|
+
/**
|
|
1391
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1392
|
+
*
|
|
1393
|
+
* Filter by unique combinations of FormSubmissionFiles.
|
|
1394
|
+
*/
|
|
1395
|
+
distinct?: Prisma.FormSubmissionFileScalarFieldEnum | Prisma.FormSubmissionFileScalarFieldEnum[]
|
|
1396
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* FormSubmissionFile create
|
|
1401
|
+
*/
|
|
1402
|
+
export type FormSubmissionFileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1403
|
+
/**
|
|
1404
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1405
|
+
*/
|
|
1406
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1407
|
+
/**
|
|
1408
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1409
|
+
*/
|
|
1410
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1411
|
+
/**
|
|
1412
|
+
* Choose, which related nodes to fetch as well
|
|
1413
|
+
*/
|
|
1414
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1415
|
+
/**
|
|
1416
|
+
* The data needed to create a FormSubmissionFile.
|
|
1417
|
+
*/
|
|
1418
|
+
data: Prisma.XOR<Prisma.FormSubmissionFileCreateInput, Prisma.FormSubmissionFileUncheckedCreateInput>
|
|
1419
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* FormSubmissionFile createMany
|
|
1424
|
+
*/
|
|
1425
|
+
export type FormSubmissionFileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1426
|
+
/**
|
|
1427
|
+
* The data used to create many FormSubmissionFiles.
|
|
1428
|
+
*/
|
|
1429
|
+
data: Prisma.FormSubmissionFileCreateManyInput | Prisma.FormSubmissionFileCreateManyInput[]
|
|
1430
|
+
skipDuplicates?: boolean
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* FormSubmissionFile createManyAndReturn
|
|
1435
|
+
*/
|
|
1436
|
+
export type FormSubmissionFileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1437
|
+
/**
|
|
1438
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1439
|
+
*/
|
|
1440
|
+
select?: Prisma.FormSubmissionFileSelectCreateManyAndReturn<ExtArgs> | null
|
|
1441
|
+
/**
|
|
1442
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1443
|
+
*/
|
|
1444
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1445
|
+
/**
|
|
1446
|
+
* The data used to create many FormSubmissionFiles.
|
|
1447
|
+
*/
|
|
1448
|
+
data: Prisma.FormSubmissionFileCreateManyInput | Prisma.FormSubmissionFileCreateManyInput[]
|
|
1449
|
+
skipDuplicates?: boolean
|
|
1450
|
+
/**
|
|
1451
|
+
* Choose, which related nodes to fetch as well
|
|
1452
|
+
*/
|
|
1453
|
+
include?: Prisma.FormSubmissionFileIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* FormSubmissionFile update
|
|
1458
|
+
*/
|
|
1459
|
+
export type FormSubmissionFileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1460
|
+
/**
|
|
1461
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1462
|
+
*/
|
|
1463
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1464
|
+
/**
|
|
1465
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1466
|
+
*/
|
|
1467
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1468
|
+
/**
|
|
1469
|
+
* Choose, which related nodes to fetch as well
|
|
1470
|
+
*/
|
|
1471
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1472
|
+
/**
|
|
1473
|
+
* The data needed to update a FormSubmissionFile.
|
|
1474
|
+
*/
|
|
1475
|
+
data: Prisma.XOR<Prisma.FormSubmissionFileUpdateInput, Prisma.FormSubmissionFileUncheckedUpdateInput>
|
|
1476
|
+
/**
|
|
1477
|
+
* Choose, which FormSubmissionFile to update.
|
|
1478
|
+
*/
|
|
1479
|
+
where: Prisma.FormSubmissionFileWhereUniqueInput
|
|
1480
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
/**
|
|
1484
|
+
* FormSubmissionFile updateMany
|
|
1485
|
+
*/
|
|
1486
|
+
export type FormSubmissionFileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1487
|
+
/**
|
|
1488
|
+
* The data used to update FormSubmissionFiles.
|
|
1489
|
+
*/
|
|
1490
|
+
data: Prisma.XOR<Prisma.FormSubmissionFileUpdateManyMutationInput, Prisma.FormSubmissionFileUncheckedUpdateManyInput>
|
|
1491
|
+
/**
|
|
1492
|
+
* Filter which FormSubmissionFiles to update
|
|
1493
|
+
*/
|
|
1494
|
+
where?: Prisma.FormSubmissionFileWhereInput
|
|
1495
|
+
/**
|
|
1496
|
+
* Limit how many FormSubmissionFiles to update.
|
|
1497
|
+
*/
|
|
1498
|
+
limit?: number
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* FormSubmissionFile updateManyAndReturn
|
|
1503
|
+
*/
|
|
1504
|
+
export type FormSubmissionFileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1505
|
+
/**
|
|
1506
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1507
|
+
*/
|
|
1508
|
+
select?: Prisma.FormSubmissionFileSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1509
|
+
/**
|
|
1510
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1511
|
+
*/
|
|
1512
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1513
|
+
/**
|
|
1514
|
+
* The data used to update FormSubmissionFiles.
|
|
1515
|
+
*/
|
|
1516
|
+
data: Prisma.XOR<Prisma.FormSubmissionFileUpdateManyMutationInput, Prisma.FormSubmissionFileUncheckedUpdateManyInput>
|
|
1517
|
+
/**
|
|
1518
|
+
* Filter which FormSubmissionFiles to update
|
|
1519
|
+
*/
|
|
1520
|
+
where?: Prisma.FormSubmissionFileWhereInput
|
|
1521
|
+
/**
|
|
1522
|
+
* Limit how many FormSubmissionFiles to update.
|
|
1523
|
+
*/
|
|
1524
|
+
limit?: number
|
|
1525
|
+
/**
|
|
1526
|
+
* Choose, which related nodes to fetch as well
|
|
1527
|
+
*/
|
|
1528
|
+
include?: Prisma.FormSubmissionFileIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* FormSubmissionFile upsert
|
|
1533
|
+
*/
|
|
1534
|
+
export type FormSubmissionFileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1535
|
+
/**
|
|
1536
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1537
|
+
*/
|
|
1538
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1539
|
+
/**
|
|
1540
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1541
|
+
*/
|
|
1542
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1543
|
+
/**
|
|
1544
|
+
* Choose, which related nodes to fetch as well
|
|
1545
|
+
*/
|
|
1546
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1547
|
+
/**
|
|
1548
|
+
* The filter to search for the FormSubmissionFile to update in case it exists.
|
|
1549
|
+
*/
|
|
1550
|
+
where: Prisma.FormSubmissionFileWhereUniqueInput
|
|
1551
|
+
/**
|
|
1552
|
+
* In case the FormSubmissionFile found by the `where` argument doesn't exist, create a new FormSubmissionFile with this data.
|
|
1553
|
+
*/
|
|
1554
|
+
create: Prisma.XOR<Prisma.FormSubmissionFileCreateInput, Prisma.FormSubmissionFileUncheckedCreateInput>
|
|
1555
|
+
/**
|
|
1556
|
+
* In case the FormSubmissionFile was found with the provided `where` argument, update it with this data.
|
|
1557
|
+
*/
|
|
1558
|
+
update: Prisma.XOR<Prisma.FormSubmissionFileUpdateInput, Prisma.FormSubmissionFileUncheckedUpdateInput>
|
|
1559
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* FormSubmissionFile delete
|
|
1564
|
+
*/
|
|
1565
|
+
export type FormSubmissionFileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1566
|
+
/**
|
|
1567
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1568
|
+
*/
|
|
1569
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1570
|
+
/**
|
|
1571
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1572
|
+
*/
|
|
1573
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1574
|
+
/**
|
|
1575
|
+
* Choose, which related nodes to fetch as well
|
|
1576
|
+
*/
|
|
1577
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1578
|
+
/**
|
|
1579
|
+
* Filter which FormSubmissionFile to delete.
|
|
1580
|
+
*/
|
|
1581
|
+
where: Prisma.FormSubmissionFileWhereUniqueInput
|
|
1582
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* FormSubmissionFile deleteMany
|
|
1587
|
+
*/
|
|
1588
|
+
export type FormSubmissionFileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1589
|
+
/**
|
|
1590
|
+
* Filter which FormSubmissionFiles to delete
|
|
1591
|
+
*/
|
|
1592
|
+
where?: Prisma.FormSubmissionFileWhereInput
|
|
1593
|
+
/**
|
|
1594
|
+
* Limit how many FormSubmissionFiles to delete.
|
|
1595
|
+
*/
|
|
1596
|
+
limit?: number
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* FormSubmissionFile without action
|
|
1601
|
+
*/
|
|
1602
|
+
export type FormSubmissionFileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1603
|
+
/**
|
|
1604
|
+
* Select specific fields to fetch from the FormSubmissionFile
|
|
1605
|
+
*/
|
|
1606
|
+
select?: Prisma.FormSubmissionFileSelect<ExtArgs> | null
|
|
1607
|
+
/**
|
|
1608
|
+
* Omit specific fields from the FormSubmissionFile
|
|
1609
|
+
*/
|
|
1610
|
+
omit?: Prisma.FormSubmissionFileOmit<ExtArgs> | null
|
|
1611
|
+
/**
|
|
1612
|
+
* Choose, which related nodes to fetch as well
|
|
1613
|
+
*/
|
|
1614
|
+
include?: Prisma.FormSubmissionFileInclude<ExtArgs> | null
|
|
1615
|
+
}
|