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