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