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