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