@dismissible/nestjs-postgres-storage 0.0.1

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