@optimatech88/titomeet-shared-lib 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/admin.middleware.d.ts.map +1 -1
- package/dist/auth/admin.middleware.js +1 -1
- package/dist/auth/admin.middleware.js.map +1 -1
- package/dist/auth/auth.guard.d.ts.map +1 -1
- package/dist/auth/auth.guard.js +9 -4
- package/dist/auth/auth.guard.js.map +1 -1
- package/dist/auth/auth.module.d.ts +1 -1
- package/dist/auth/auth.module.d.ts.map +1 -1
- package/dist/generated/prisma/client.d.ts.map +1 -1
- package/dist/generated/prisma/client.js.map +1 -1
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -1
- package/dist/generated/prisma/commonInputTypes.js.map +1 -1
- package/dist/generated/prisma/enums.d.ts.map +1 -1
- package/dist/generated/prisma/enums.js.map +1 -1
- package/dist/generated/prisma/internal/class.d.ts.map +1 -1
- package/dist/generated/prisma/internal/class.js +1 -1
- package/dist/generated/prisma/internal/class.js.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +21 -26
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -1
- package/dist/generated/prisma/models/Account.d.ts.map +1 -1
- package/dist/generated/prisma/models/Account.js.map +1 -1
- package/dist/generated/prisma/models/Address.d.ts.map +1 -1
- package/dist/generated/prisma/models/Address.js.map +1 -1
- package/dist/generated/prisma/models/Chat.d.ts.map +1 -1
- package/dist/generated/prisma/models/Chat.js.map +1 -1
- package/dist/generated/prisma/models/ChatUser.d.ts.map +1 -1
- package/dist/generated/prisma/models/ChatUser.js.map +1 -1
- package/dist/generated/prisma/models/Country.d.ts.map +1 -1
- package/dist/generated/prisma/models/Country.js.map +1 -1
- package/dist/generated/prisma/models/Event.d.ts.map +1 -1
- package/dist/generated/prisma/models/Event.js.map +1 -1
- package/dist/generated/prisma/models/EventCategory.d.ts.map +1 -1
- package/dist/generated/prisma/models/EventCategory.js.map +1 -1
- package/dist/generated/prisma/models/EventPrice.d.ts.map +1 -1
- package/dist/generated/prisma/models/EventPrice.js.map +1 -1
- package/dist/generated/prisma/models/Favorite.d.ts.map +1 -1
- package/dist/generated/prisma/models/Favorite.js.map +1 -1
- package/dist/generated/prisma/models/Feedback.d.ts.map +1 -1
- package/dist/generated/prisma/models/Feedback.js.map +1 -1
- package/dist/generated/prisma/models/Message.d.ts.map +1 -1
- package/dist/generated/prisma/models/Message.js.map +1 -1
- package/dist/generated/prisma/models/Newsletter.d.ts.map +1 -1
- package/dist/generated/prisma/models/Newsletter.js.map +1 -1
- package/dist/generated/prisma/models/Notification.d.ts.map +1 -1
- package/dist/generated/prisma/models/Notification.js.map +1 -1
- package/dist/generated/prisma/models/Order.d.ts.map +1 -1
- package/dist/generated/prisma/models/Order.js.map +1 -1
- package/dist/generated/prisma/models/OrderItem.d.ts.map +1 -1
- package/dist/generated/prisma/models/OrderItem.js.map +1 -1
- package/dist/generated/prisma/models/Pricing.d.ts.map +1 -1
- package/dist/generated/prisma/models/Pricing.js.map +1 -1
- package/dist/generated/prisma/models/Provider.d.ts.map +1 -1
- package/dist/generated/prisma/models/Provider.js.map +1 -1
- package/dist/generated/prisma/models/ProviderCategory.d.ts.map +1 -1
- package/dist/generated/prisma/models/ProviderCategory.js.map +1 -1
- package/dist/generated/prisma/models/ProviderOnEvent.d.ts.map +1 -1
- package/dist/generated/prisma/models/ProviderOnEvent.js.map +1 -1
- package/dist/generated/prisma/models/Report.d.ts.map +1 -1
- package/dist/generated/prisma/models/Report.js.map +1 -1
- package/dist/generated/prisma/models/Review.d.ts.map +1 -1
- package/dist/generated/prisma/models/Review.js.map +1 -1
- package/dist/generated/prisma/models/Transaction.d.ts.map +1 -1
- package/dist/generated/prisma/models/Transaction.js.map +1 -1
- package/dist/generated/prisma/models/User.d.ts.map +1 -1
- package/dist/generated/prisma/models/User.js.map +1 -1
- package/dist/generated/prisma/models/UserInterests.d.ts.map +1 -1
- package/dist/generated/prisma/models/UserInterests.js.map +1 -1
- package/dist/generated/prisma/models.d.ts.map +1 -1
- package/dist/generated/prisma/models.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/prisma/prisma.module.d.ts +5 -0
- package/dist/prisma/prisma.module.d.ts.map +1 -1
- package/dist/prisma/prisma.module.js +31 -6
- package/dist/prisma/prisma.module.js.map +1 -1
- package/dist/prisma/prisma.service.d.ts +1 -1
- package/dist/prisma/prisma.service.d.ts.map +1 -1
- package/dist/prisma/prisma.service.js +10 -6
- package/dist/prisma/prisma.service.js.map +1 -1
- package/dist/prisma/seed.js +6 -2
- package/dist/prisma/seed.js.map +1 -1
- package/package.json +1 -2
- package/prisma/schema.prisma +1 -1
- package/src/auth/admin.middleware.ts +2 -1
- package/src/auth/auth.guard.ts +2 -1
- package/{generated/prisma/client → src/generated/prisma}/internal/class.ts +1 -1
- package/src/index.ts +63 -38
- package/src/prisma/prisma.module.ts +32 -6
- package/src/prisma/prisma.service.ts +12 -5
- package/src/prisma/seed.ts +1 -1
- package/tsconfig.json +4 -3
- package/generated/prisma/client/browser.ts +0 -139
- package/generated/prisma/client/client.ts +0 -163
- package/generated/prisma/client.d.ts +0 -33
- package/generated/prisma/client.d.ts.map +0 -1
- package/generated/prisma/client.js +0 -10
- package/generated/prisma/client.js.map +0 -1
- package/generated/prisma/commonInputTypes.d.ts +0 -966
- package/generated/prisma/commonInputTypes.d.ts.map +0 -1
- package/generated/prisma/commonInputTypes.js +0 -2
- package/generated/prisma/commonInputTypes.js.map +0 -1
- package/generated/prisma/commonInputTypes.ts +0 -1102
- package/generated/prisma/enums.d.ts +0 -111
- package/generated/prisma/enums.d.ts.map +0 -1
- package/generated/prisma/enums.js +0 -93
- package/generated/prisma/enums.js.map +0 -1
- package/generated/prisma/enums.ts +0 -173
- package/generated/prisma/internal/class.d.ts +0 -105
- package/generated/prisma/internal/class.d.ts.map +0 -1
- package/generated/prisma/internal/class.js +0 -39
- package/generated/prisma/internal/class.js.map +0 -1
- package/generated/prisma/internal/class.ts +0 -434
- package/generated/prisma/internal/prismaNamespace.d.ts +0 -2431
- package/generated/prisma/internal/prismaNamespace.d.ts.map +0 -1
- package/generated/prisma/internal/prismaNamespace.js +0 -338
- package/generated/prisma/internal/prismaNamespace.js.map +0 -1
- package/generated/prisma/internal/prismaNamespace.ts +0 -3141
- package/generated/prisma/internal/prismaNamespaceBrowser.ts +0 -489
- package/generated/prisma/models/Account.d.ts +0 -582
- package/generated/prisma/models/Account.d.ts.map +0 -1
- package/generated/prisma/models/Account.js +0 -2
- package/generated/prisma/models/Account.js.map +0 -1
- package/generated/prisma/models/Account.ts +0 -1384
- package/generated/prisma/models/Address.d.ts +0 -930
- package/generated/prisma/models/Address.d.ts.map +0 -1
- package/generated/prisma/models/Address.js +0 -2
- package/generated/prisma/models/Address.js.map +0 -1
- package/generated/prisma/models/Address.ts +0 -1791
- package/generated/prisma/models/Chat.d.ts +0 -788
- package/generated/prisma/models/Chat.d.ts.map +0 -1
- package/generated/prisma/models/Chat.js +0 -2
- package/generated/prisma/models/Chat.js.map +0 -1
- package/generated/prisma/models/Chat.ts +0 -1676
- package/generated/prisma/models/ChatUser.d.ts +0 -648
- package/generated/prisma/models/ChatUser.d.ts.map +0 -1
- package/generated/prisma/models/ChatUser.js +0 -2
- package/generated/prisma/models/ChatUser.js.map +0 -1
- package/generated/prisma/models/ChatUser.ts +0 -1465
- package/generated/prisma/models/Country.d.ts +0 -543
- package/generated/prisma/models/Country.d.ts.map +0 -1
- package/generated/prisma/models/Country.js +0 -2
- package/generated/prisma/models/Country.js.map +0 -1
- package/generated/prisma/models/Country.ts +0 -1361
- package/generated/prisma/models/Event.d.ts +0 -3206
- package/generated/prisma/models/Event.d.ts.map +0 -1
- package/generated/prisma/models/Event.js +0 -2
- package/generated/prisma/models/Event.js.map +0 -1
- package/generated/prisma/models/Event.ts +0 -4258
- package/generated/prisma/models/EventCategory.d.ts +0 -1004
- package/generated/prisma/models/EventCategory.d.ts.map +0 -1
- package/generated/prisma/models/EventCategory.js +0 -2
- package/generated/prisma/models/EventCategory.js.map +0 -1
- package/generated/prisma/models/EventCategory.ts +0 -1919
- package/generated/prisma/models/EventPrice.d.ts +0 -798
- package/generated/prisma/models/EventPrice.d.ts.map +0 -1
- package/generated/prisma/models/EventPrice.js +0 -2
- package/generated/prisma/models/EventPrice.js.map +0 -1
- package/generated/prisma/models/EventPrice.ts +0 -1657
- package/generated/prisma/models/Favorite.d.ts +0 -648
- package/generated/prisma/models/Favorite.d.ts.map +0 -1
- package/generated/prisma/models/Favorite.js +0 -2
- package/generated/prisma/models/Favorite.js.map +0 -1
- package/generated/prisma/models/Favorite.ts +0 -1465
- package/generated/prisma/models/Feedback.d.ts +0 -682
- package/generated/prisma/models/Feedback.d.ts.map +0 -1
- package/generated/prisma/models/Feedback.js +0 -2
- package/generated/prisma/models/Feedback.js.map +0 -1
- package/generated/prisma/models/Feedback.ts +0 -1513
- package/generated/prisma/models/Message.d.ts +0 -724
- package/generated/prisma/models/Message.d.ts.map +0 -1
- package/generated/prisma/models/Message.js +0 -2
- package/generated/prisma/models/Message.js.map +0 -1
- package/generated/prisma/models/Message.ts +0 -1541
- package/generated/prisma/models/Newsletter.d.ts +0 -404
- package/generated/prisma/models/Newsletter.d.ts.map +0 -1
- package/generated/prisma/models/Newsletter.js +0 -2
- package/generated/prisma/models/Newsletter.js.map +0 -1
- package/generated/prisma/models/Newsletter.ts +0 -1153
- package/generated/prisma/models/Notification.d.ts +0 -775
- package/generated/prisma/models/Notification.d.ts.map +0 -1
- package/generated/prisma/models/Notification.js +0 -2
- package/generated/prisma/models/Notification.js.map +0 -1
- package/generated/prisma/models/Notification.ts +0 -1605
- package/generated/prisma/models/Order.d.ts +0 -1009
- package/generated/prisma/models/Order.d.ts.map +0 -1
- package/generated/prisma/models/Order.js +0 -2
- package/generated/prisma/models/Order.js.map +0 -1
- package/generated/prisma/models/Order.ts +0 -1883
- package/generated/prisma/models/OrderItem.d.ts +0 -806
- package/generated/prisma/models/OrderItem.d.ts.map +0 -1
- package/generated/prisma/models/OrderItem.js +0 -2
- package/generated/prisma/models/OrderItem.js.map +0 -1
- package/generated/prisma/models/OrderItem.ts +0 -1641
- package/generated/prisma/models/Pricing.d.ts +0 -739
- package/generated/prisma/models/Pricing.d.ts.map +0 -1
- package/generated/prisma/models/Pricing.js +0 -2
- package/generated/prisma/models/Pricing.js.map +0 -1
- package/generated/prisma/models/Pricing.ts +0 -1576
- package/generated/prisma/models/Provider.d.ts +0 -1650
- package/generated/prisma/models/Provider.d.ts.map +0 -1
- package/generated/prisma/models/Provider.js +0 -2
- package/generated/prisma/models/Provider.js.map +0 -1
- package/generated/prisma/models/Provider.ts +0 -2577
- package/generated/prisma/models/ProviderCategory.d.ts +0 -830
- package/generated/prisma/models/ProviderCategory.d.ts.map +0 -1
- package/generated/prisma/models/ProviderCategory.js +0 -2
- package/generated/prisma/models/ProviderCategory.js.map +0 -1
- package/generated/prisma/models/ProviderCategory.ts +0 -1712
- package/generated/prisma/models/ProviderOnEvent.d.ts +0 -693
- package/generated/prisma/models/ProviderOnEvent.d.ts.map +0 -1
- package/generated/prisma/models/ProviderOnEvent.js +0 -2
- package/generated/prisma/models/ProviderOnEvent.js.map +0 -1
- package/generated/prisma/models/ProviderOnEvent.ts +0 -1510
- package/generated/prisma/models/Report.d.ts +0 -689
- package/generated/prisma/models/Report.d.ts.map +0 -1
- package/generated/prisma/models/Report.js +0 -2
- package/generated/prisma/models/Report.js.map +0 -1
- package/generated/prisma/models/Report.ts +0 -1506
- package/generated/prisma/models/Review.d.ts +0 -758
- package/generated/prisma/models/Review.d.ts.map +0 -1
- package/generated/prisma/models/Review.js +0 -2
- package/generated/prisma/models/Review.js.map +0 -1
- package/generated/prisma/models/Review.ts +0 -1591
- package/generated/prisma/models/Transaction.d.ts +0 -894
- package/generated/prisma/models/Transaction.d.ts.map +0 -1
- package/generated/prisma/models/Transaction.js +0 -2
- package/generated/prisma/models/Transaction.js.map +0 -1
- package/generated/prisma/models/Transaction.ts +0 -1741
- package/generated/prisma/models/User.d.ts +0 -2966
- package/generated/prisma/models/User.d.ts.map +0 -1
- package/generated/prisma/models/User.js +0 -2
- package/generated/prisma/models/User.js.map +0 -1
- package/generated/prisma/models/User.ts +0 -4124
- package/generated/prisma/models/UserInterests.d.ts +0 -605
- package/generated/prisma/models/UserInterests.d.ts.map +0 -1
- package/generated/prisma/models/UserInterests.js +0 -2
- package/generated/prisma/models/UserInterests.js.map +0 -1
- package/generated/prisma/models/UserInterests.ts +0 -1447
- package/generated/prisma/models.d.ts +0 -26
- package/generated/prisma/models.d.ts.map +0 -1
- package/generated/prisma/models.js +0 -2
- package/generated/prisma/models.js.map +0 -1
- package/generated/prisma/models.ts +0 -35
- /package/{generated → src/generated}/prisma/browser.ts +0 -0
- /package/{generated → src/generated}/prisma/client.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/commonInputTypes.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/enums.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/internal/prismaNamespace.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/internal/prismaNamespaceBrowser.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Account.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Address.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Chat.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/ChatUser.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Country.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Event.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/EventCategory.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/EventPrice.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Favorite.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Feedback.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Message.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Newsletter.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Notification.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Order.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/OrderItem.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Pricing.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Provider.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/ProviderCategory.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/ProviderOnEvent.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Report.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Review.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/Transaction.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/User.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models/UserInterests.ts +0 -0
- /package/{generated/prisma/client → src/generated/prisma}/models.ts +0 -0
|
@@ -1,1506 +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 `Report` 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 Report
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type ReportModel = runtime.Types.Result.DefaultSelection<Prisma.$ReportPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateReport = {
|
|
22
|
-
_count: ReportCountAggregateOutputType | null
|
|
23
|
-
_min: ReportMinAggregateOutputType | null
|
|
24
|
-
_max: ReportMaxAggregateOutputType | null
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type ReportMinAggregateOutputType = {
|
|
28
|
-
id: string | null
|
|
29
|
-
chatId: string | null
|
|
30
|
-
userId: string | null
|
|
31
|
-
reason: string | null
|
|
32
|
-
createdAt: Date | null
|
|
33
|
-
updatedAt: Date | null
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type ReportMaxAggregateOutputType = {
|
|
37
|
-
id: string | null
|
|
38
|
-
chatId: string | null
|
|
39
|
-
userId: string | null
|
|
40
|
-
reason: string | null
|
|
41
|
-
createdAt: Date | null
|
|
42
|
-
updatedAt: Date | null
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export type ReportCountAggregateOutputType = {
|
|
46
|
-
id: number
|
|
47
|
-
chatId: number
|
|
48
|
-
userId: number
|
|
49
|
-
reason: number
|
|
50
|
-
createdAt: number
|
|
51
|
-
updatedAt: number
|
|
52
|
-
_all: number
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export type ReportMinAggregateInputType = {
|
|
57
|
-
id?: true
|
|
58
|
-
chatId?: true
|
|
59
|
-
userId?: true
|
|
60
|
-
reason?: true
|
|
61
|
-
createdAt?: true
|
|
62
|
-
updatedAt?: true
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export type ReportMaxAggregateInputType = {
|
|
66
|
-
id?: true
|
|
67
|
-
chatId?: true
|
|
68
|
-
userId?: true
|
|
69
|
-
reason?: true
|
|
70
|
-
createdAt?: true
|
|
71
|
-
updatedAt?: true
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export type ReportCountAggregateInputType = {
|
|
75
|
-
id?: true
|
|
76
|
-
chatId?: true
|
|
77
|
-
userId?: true
|
|
78
|
-
reason?: true
|
|
79
|
-
createdAt?: true
|
|
80
|
-
updatedAt?: true
|
|
81
|
-
_all?: true
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export type ReportAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
85
|
-
/**
|
|
86
|
-
* Filter which Report to aggregate.
|
|
87
|
-
*/
|
|
88
|
-
where?: Prisma.ReportWhereInput
|
|
89
|
-
/**
|
|
90
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
91
|
-
*
|
|
92
|
-
* Determine the order of Reports to fetch.
|
|
93
|
-
*/
|
|
94
|
-
orderBy?: Prisma.ReportOrderByWithRelationInput | Prisma.ReportOrderByWithRelationInput[]
|
|
95
|
-
/**
|
|
96
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
97
|
-
*
|
|
98
|
-
* Sets the start position
|
|
99
|
-
*/
|
|
100
|
-
cursor?: Prisma.ReportWhereUniqueInput
|
|
101
|
-
/**
|
|
102
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
103
|
-
*
|
|
104
|
-
* Take `±n` Reports from the position of the cursor.
|
|
105
|
-
*/
|
|
106
|
-
take?: number
|
|
107
|
-
/**
|
|
108
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
-
*
|
|
110
|
-
* Skip the first `n` Reports.
|
|
111
|
-
*/
|
|
112
|
-
skip?: number
|
|
113
|
-
/**
|
|
114
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
-
*
|
|
116
|
-
* Count returned Reports
|
|
117
|
-
**/
|
|
118
|
-
_count?: true | ReportCountAggregateInputType
|
|
119
|
-
/**
|
|
120
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
-
*
|
|
122
|
-
* Select which fields to find the minimum value
|
|
123
|
-
**/
|
|
124
|
-
_min?: ReportMinAggregateInputType
|
|
125
|
-
/**
|
|
126
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
-
*
|
|
128
|
-
* Select which fields to find the maximum value
|
|
129
|
-
**/
|
|
130
|
-
_max?: ReportMaxAggregateInputType
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export type GetReportAggregateType<T extends ReportAggregateArgs> = {
|
|
134
|
-
[P in keyof T & keyof AggregateReport]: P extends '_count' | 'count'
|
|
135
|
-
? T[P] extends true
|
|
136
|
-
? number
|
|
137
|
-
: Prisma.GetScalarType<T[P], AggregateReport[P]>
|
|
138
|
-
: Prisma.GetScalarType<T[P], AggregateReport[P]>
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
export type ReportGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
145
|
-
where?: Prisma.ReportWhereInput
|
|
146
|
-
orderBy?: Prisma.ReportOrderByWithAggregationInput | Prisma.ReportOrderByWithAggregationInput[]
|
|
147
|
-
by: Prisma.ReportScalarFieldEnum[] | Prisma.ReportScalarFieldEnum
|
|
148
|
-
having?: Prisma.ReportScalarWhereWithAggregatesInput
|
|
149
|
-
take?: number
|
|
150
|
-
skip?: number
|
|
151
|
-
_count?: ReportCountAggregateInputType | true
|
|
152
|
-
_min?: ReportMinAggregateInputType
|
|
153
|
-
_max?: ReportMaxAggregateInputType
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export type ReportGroupByOutputType = {
|
|
157
|
-
id: string
|
|
158
|
-
chatId: string
|
|
159
|
-
userId: string
|
|
160
|
-
reason: string
|
|
161
|
-
createdAt: Date
|
|
162
|
-
updatedAt: Date
|
|
163
|
-
_count: ReportCountAggregateOutputType | null
|
|
164
|
-
_min: ReportMinAggregateOutputType | null
|
|
165
|
-
_max: ReportMaxAggregateOutputType | null
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export type GetReportGroupByPayload<T extends ReportGroupByArgs> = Prisma.PrismaPromise<
|
|
169
|
-
Array<
|
|
170
|
-
Prisma.PickEnumerable<ReportGroupByOutputType, T['by']> &
|
|
171
|
-
{
|
|
172
|
-
[P in ((keyof T) & (keyof ReportGroupByOutputType))]: P extends '_count'
|
|
173
|
-
? T[P] extends boolean
|
|
174
|
-
? number
|
|
175
|
-
: Prisma.GetScalarType<T[P], ReportGroupByOutputType[P]>
|
|
176
|
-
: Prisma.GetScalarType<T[P], ReportGroupByOutputType[P]>
|
|
177
|
-
}
|
|
178
|
-
>
|
|
179
|
-
>
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
export type ReportWhereInput = {
|
|
184
|
-
AND?: Prisma.ReportWhereInput | Prisma.ReportWhereInput[]
|
|
185
|
-
OR?: Prisma.ReportWhereInput[]
|
|
186
|
-
NOT?: Prisma.ReportWhereInput | Prisma.ReportWhereInput[]
|
|
187
|
-
id?: Prisma.StringFilter<"Report"> | string
|
|
188
|
-
chatId?: Prisma.StringFilter<"Report"> | string
|
|
189
|
-
userId?: Prisma.StringFilter<"Report"> | string
|
|
190
|
-
reason?: Prisma.StringFilter<"Report"> | string
|
|
191
|
-
createdAt?: Prisma.DateTimeFilter<"Report"> | Date | string
|
|
192
|
-
updatedAt?: Prisma.DateTimeFilter<"Report"> | Date | string
|
|
193
|
-
chat?: Prisma.XOR<Prisma.ChatScalarRelationFilter, Prisma.ChatWhereInput>
|
|
194
|
-
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
export type ReportOrderByWithRelationInput = {
|
|
198
|
-
id?: Prisma.SortOrder
|
|
199
|
-
chatId?: Prisma.SortOrder
|
|
200
|
-
userId?: Prisma.SortOrder
|
|
201
|
-
reason?: Prisma.SortOrder
|
|
202
|
-
createdAt?: Prisma.SortOrder
|
|
203
|
-
updatedAt?: Prisma.SortOrder
|
|
204
|
-
chat?: Prisma.ChatOrderByWithRelationInput
|
|
205
|
-
user?: Prisma.UserOrderByWithRelationInput
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export type ReportWhereUniqueInput = Prisma.AtLeast<{
|
|
209
|
-
id?: string
|
|
210
|
-
AND?: Prisma.ReportWhereInput | Prisma.ReportWhereInput[]
|
|
211
|
-
OR?: Prisma.ReportWhereInput[]
|
|
212
|
-
NOT?: Prisma.ReportWhereInput | Prisma.ReportWhereInput[]
|
|
213
|
-
chatId?: Prisma.StringFilter<"Report"> | string
|
|
214
|
-
userId?: Prisma.StringFilter<"Report"> | string
|
|
215
|
-
reason?: Prisma.StringFilter<"Report"> | string
|
|
216
|
-
createdAt?: Prisma.DateTimeFilter<"Report"> | Date | string
|
|
217
|
-
updatedAt?: Prisma.DateTimeFilter<"Report"> | Date | string
|
|
218
|
-
chat?: Prisma.XOR<Prisma.ChatScalarRelationFilter, Prisma.ChatWhereInput>
|
|
219
|
-
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
220
|
-
}, "id">
|
|
221
|
-
|
|
222
|
-
export type ReportOrderByWithAggregationInput = {
|
|
223
|
-
id?: Prisma.SortOrder
|
|
224
|
-
chatId?: Prisma.SortOrder
|
|
225
|
-
userId?: Prisma.SortOrder
|
|
226
|
-
reason?: Prisma.SortOrder
|
|
227
|
-
createdAt?: Prisma.SortOrder
|
|
228
|
-
updatedAt?: Prisma.SortOrder
|
|
229
|
-
_count?: Prisma.ReportCountOrderByAggregateInput
|
|
230
|
-
_max?: Prisma.ReportMaxOrderByAggregateInput
|
|
231
|
-
_min?: Prisma.ReportMinOrderByAggregateInput
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
export type ReportScalarWhereWithAggregatesInput = {
|
|
235
|
-
AND?: Prisma.ReportScalarWhereWithAggregatesInput | Prisma.ReportScalarWhereWithAggregatesInput[]
|
|
236
|
-
OR?: Prisma.ReportScalarWhereWithAggregatesInput[]
|
|
237
|
-
NOT?: Prisma.ReportScalarWhereWithAggregatesInput | Prisma.ReportScalarWhereWithAggregatesInput[]
|
|
238
|
-
id?: Prisma.StringWithAggregatesFilter<"Report"> | string
|
|
239
|
-
chatId?: Prisma.StringWithAggregatesFilter<"Report"> | string
|
|
240
|
-
userId?: Prisma.StringWithAggregatesFilter<"Report"> | string
|
|
241
|
-
reason?: Prisma.StringWithAggregatesFilter<"Report"> | string
|
|
242
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Report"> | Date | string
|
|
243
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Report"> | Date | string
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export type ReportCreateInput = {
|
|
247
|
-
id?: string
|
|
248
|
-
reason: string
|
|
249
|
-
createdAt?: Date | string
|
|
250
|
-
updatedAt?: Date | string
|
|
251
|
-
chat: Prisma.ChatCreateNestedOneWithoutReportsInput
|
|
252
|
-
user: Prisma.UserCreateNestedOneWithoutReportsInput
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
export type ReportUncheckedCreateInput = {
|
|
256
|
-
id?: string
|
|
257
|
-
chatId: string
|
|
258
|
-
userId: string
|
|
259
|
-
reason: string
|
|
260
|
-
createdAt?: Date | string
|
|
261
|
-
updatedAt?: Date | string
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
export type ReportUpdateInput = {
|
|
265
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
266
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
267
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
268
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
269
|
-
chat?: Prisma.ChatUpdateOneRequiredWithoutReportsNestedInput
|
|
270
|
-
user?: Prisma.UserUpdateOneRequiredWithoutReportsNestedInput
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
export type ReportUncheckedUpdateInput = {
|
|
274
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
275
|
-
chatId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
277
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
278
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
279
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
export type ReportCreateManyInput = {
|
|
283
|
-
id?: string
|
|
284
|
-
chatId: string
|
|
285
|
-
userId: string
|
|
286
|
-
reason: string
|
|
287
|
-
createdAt?: Date | string
|
|
288
|
-
updatedAt?: Date | string
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
export type ReportUpdateManyMutationInput = {
|
|
292
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
293
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
294
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
295
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
export type ReportUncheckedUpdateManyInput = {
|
|
299
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
300
|
-
chatId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
301
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
302
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
303
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
304
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
export type ReportListRelationFilter = {
|
|
308
|
-
every?: Prisma.ReportWhereInput
|
|
309
|
-
some?: Prisma.ReportWhereInput
|
|
310
|
-
none?: Prisma.ReportWhereInput
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
export type ReportOrderByRelationAggregateInput = {
|
|
314
|
-
_count?: Prisma.SortOrder
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
export type ReportCountOrderByAggregateInput = {
|
|
318
|
-
id?: Prisma.SortOrder
|
|
319
|
-
chatId?: Prisma.SortOrder
|
|
320
|
-
userId?: Prisma.SortOrder
|
|
321
|
-
reason?: Prisma.SortOrder
|
|
322
|
-
createdAt?: Prisma.SortOrder
|
|
323
|
-
updatedAt?: Prisma.SortOrder
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
export type ReportMaxOrderByAggregateInput = {
|
|
327
|
-
id?: Prisma.SortOrder
|
|
328
|
-
chatId?: Prisma.SortOrder
|
|
329
|
-
userId?: Prisma.SortOrder
|
|
330
|
-
reason?: Prisma.SortOrder
|
|
331
|
-
createdAt?: Prisma.SortOrder
|
|
332
|
-
updatedAt?: Prisma.SortOrder
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
export type ReportMinOrderByAggregateInput = {
|
|
336
|
-
id?: Prisma.SortOrder
|
|
337
|
-
chatId?: Prisma.SortOrder
|
|
338
|
-
userId?: Prisma.SortOrder
|
|
339
|
-
reason?: Prisma.SortOrder
|
|
340
|
-
createdAt?: Prisma.SortOrder
|
|
341
|
-
updatedAt?: Prisma.SortOrder
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
export type ReportCreateNestedManyWithoutUserInput = {
|
|
345
|
-
create?: Prisma.XOR<Prisma.ReportCreateWithoutUserInput, Prisma.ReportUncheckedCreateWithoutUserInput> | Prisma.ReportCreateWithoutUserInput[] | Prisma.ReportUncheckedCreateWithoutUserInput[]
|
|
346
|
-
connectOrCreate?: Prisma.ReportCreateOrConnectWithoutUserInput | Prisma.ReportCreateOrConnectWithoutUserInput[]
|
|
347
|
-
createMany?: Prisma.ReportCreateManyUserInputEnvelope
|
|
348
|
-
connect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
export type ReportUncheckedCreateNestedManyWithoutUserInput = {
|
|
352
|
-
create?: Prisma.XOR<Prisma.ReportCreateWithoutUserInput, Prisma.ReportUncheckedCreateWithoutUserInput> | Prisma.ReportCreateWithoutUserInput[] | Prisma.ReportUncheckedCreateWithoutUserInput[]
|
|
353
|
-
connectOrCreate?: Prisma.ReportCreateOrConnectWithoutUserInput | Prisma.ReportCreateOrConnectWithoutUserInput[]
|
|
354
|
-
createMany?: Prisma.ReportCreateManyUserInputEnvelope
|
|
355
|
-
connect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
export type ReportUpdateManyWithoutUserNestedInput = {
|
|
359
|
-
create?: Prisma.XOR<Prisma.ReportCreateWithoutUserInput, Prisma.ReportUncheckedCreateWithoutUserInput> | Prisma.ReportCreateWithoutUserInput[] | Prisma.ReportUncheckedCreateWithoutUserInput[]
|
|
360
|
-
connectOrCreate?: Prisma.ReportCreateOrConnectWithoutUserInput | Prisma.ReportCreateOrConnectWithoutUserInput[]
|
|
361
|
-
upsert?: Prisma.ReportUpsertWithWhereUniqueWithoutUserInput | Prisma.ReportUpsertWithWhereUniqueWithoutUserInput[]
|
|
362
|
-
createMany?: Prisma.ReportCreateManyUserInputEnvelope
|
|
363
|
-
set?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
364
|
-
disconnect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
365
|
-
delete?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
366
|
-
connect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
367
|
-
update?: Prisma.ReportUpdateWithWhereUniqueWithoutUserInput | Prisma.ReportUpdateWithWhereUniqueWithoutUserInput[]
|
|
368
|
-
updateMany?: Prisma.ReportUpdateManyWithWhereWithoutUserInput | Prisma.ReportUpdateManyWithWhereWithoutUserInput[]
|
|
369
|
-
deleteMany?: Prisma.ReportScalarWhereInput | Prisma.ReportScalarWhereInput[]
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
export type ReportUncheckedUpdateManyWithoutUserNestedInput = {
|
|
373
|
-
create?: Prisma.XOR<Prisma.ReportCreateWithoutUserInput, Prisma.ReportUncheckedCreateWithoutUserInput> | Prisma.ReportCreateWithoutUserInput[] | Prisma.ReportUncheckedCreateWithoutUserInput[]
|
|
374
|
-
connectOrCreate?: Prisma.ReportCreateOrConnectWithoutUserInput | Prisma.ReportCreateOrConnectWithoutUserInput[]
|
|
375
|
-
upsert?: Prisma.ReportUpsertWithWhereUniqueWithoutUserInput | Prisma.ReportUpsertWithWhereUniqueWithoutUserInput[]
|
|
376
|
-
createMany?: Prisma.ReportCreateManyUserInputEnvelope
|
|
377
|
-
set?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
378
|
-
disconnect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
379
|
-
delete?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
380
|
-
connect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
381
|
-
update?: Prisma.ReportUpdateWithWhereUniqueWithoutUserInput | Prisma.ReportUpdateWithWhereUniqueWithoutUserInput[]
|
|
382
|
-
updateMany?: Prisma.ReportUpdateManyWithWhereWithoutUserInput | Prisma.ReportUpdateManyWithWhereWithoutUserInput[]
|
|
383
|
-
deleteMany?: Prisma.ReportScalarWhereInput | Prisma.ReportScalarWhereInput[]
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
export type ReportCreateNestedManyWithoutChatInput = {
|
|
387
|
-
create?: Prisma.XOR<Prisma.ReportCreateWithoutChatInput, Prisma.ReportUncheckedCreateWithoutChatInput> | Prisma.ReportCreateWithoutChatInput[] | Prisma.ReportUncheckedCreateWithoutChatInput[]
|
|
388
|
-
connectOrCreate?: Prisma.ReportCreateOrConnectWithoutChatInput | Prisma.ReportCreateOrConnectWithoutChatInput[]
|
|
389
|
-
createMany?: Prisma.ReportCreateManyChatInputEnvelope
|
|
390
|
-
connect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
export type ReportUncheckedCreateNestedManyWithoutChatInput = {
|
|
394
|
-
create?: Prisma.XOR<Prisma.ReportCreateWithoutChatInput, Prisma.ReportUncheckedCreateWithoutChatInput> | Prisma.ReportCreateWithoutChatInput[] | Prisma.ReportUncheckedCreateWithoutChatInput[]
|
|
395
|
-
connectOrCreate?: Prisma.ReportCreateOrConnectWithoutChatInput | Prisma.ReportCreateOrConnectWithoutChatInput[]
|
|
396
|
-
createMany?: Prisma.ReportCreateManyChatInputEnvelope
|
|
397
|
-
connect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
export type ReportUpdateManyWithoutChatNestedInput = {
|
|
401
|
-
create?: Prisma.XOR<Prisma.ReportCreateWithoutChatInput, Prisma.ReportUncheckedCreateWithoutChatInput> | Prisma.ReportCreateWithoutChatInput[] | Prisma.ReportUncheckedCreateWithoutChatInput[]
|
|
402
|
-
connectOrCreate?: Prisma.ReportCreateOrConnectWithoutChatInput | Prisma.ReportCreateOrConnectWithoutChatInput[]
|
|
403
|
-
upsert?: Prisma.ReportUpsertWithWhereUniqueWithoutChatInput | Prisma.ReportUpsertWithWhereUniqueWithoutChatInput[]
|
|
404
|
-
createMany?: Prisma.ReportCreateManyChatInputEnvelope
|
|
405
|
-
set?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
406
|
-
disconnect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
407
|
-
delete?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
408
|
-
connect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
409
|
-
update?: Prisma.ReportUpdateWithWhereUniqueWithoutChatInput | Prisma.ReportUpdateWithWhereUniqueWithoutChatInput[]
|
|
410
|
-
updateMany?: Prisma.ReportUpdateManyWithWhereWithoutChatInput | Prisma.ReportUpdateManyWithWhereWithoutChatInput[]
|
|
411
|
-
deleteMany?: Prisma.ReportScalarWhereInput | Prisma.ReportScalarWhereInput[]
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
export type ReportUncheckedUpdateManyWithoutChatNestedInput = {
|
|
415
|
-
create?: Prisma.XOR<Prisma.ReportCreateWithoutChatInput, Prisma.ReportUncheckedCreateWithoutChatInput> | Prisma.ReportCreateWithoutChatInput[] | Prisma.ReportUncheckedCreateWithoutChatInput[]
|
|
416
|
-
connectOrCreate?: Prisma.ReportCreateOrConnectWithoutChatInput | Prisma.ReportCreateOrConnectWithoutChatInput[]
|
|
417
|
-
upsert?: Prisma.ReportUpsertWithWhereUniqueWithoutChatInput | Prisma.ReportUpsertWithWhereUniqueWithoutChatInput[]
|
|
418
|
-
createMany?: Prisma.ReportCreateManyChatInputEnvelope
|
|
419
|
-
set?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
420
|
-
disconnect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
421
|
-
delete?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
422
|
-
connect?: Prisma.ReportWhereUniqueInput | Prisma.ReportWhereUniqueInput[]
|
|
423
|
-
update?: Prisma.ReportUpdateWithWhereUniqueWithoutChatInput | Prisma.ReportUpdateWithWhereUniqueWithoutChatInput[]
|
|
424
|
-
updateMany?: Prisma.ReportUpdateManyWithWhereWithoutChatInput | Prisma.ReportUpdateManyWithWhereWithoutChatInput[]
|
|
425
|
-
deleteMany?: Prisma.ReportScalarWhereInput | Prisma.ReportScalarWhereInput[]
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
export type ReportCreateWithoutUserInput = {
|
|
429
|
-
id?: string
|
|
430
|
-
reason: string
|
|
431
|
-
createdAt?: Date | string
|
|
432
|
-
updatedAt?: Date | string
|
|
433
|
-
chat: Prisma.ChatCreateNestedOneWithoutReportsInput
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
export type ReportUncheckedCreateWithoutUserInput = {
|
|
437
|
-
id?: string
|
|
438
|
-
chatId: string
|
|
439
|
-
reason: string
|
|
440
|
-
createdAt?: Date | string
|
|
441
|
-
updatedAt?: Date | string
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
export type ReportCreateOrConnectWithoutUserInput = {
|
|
445
|
-
where: Prisma.ReportWhereUniqueInput
|
|
446
|
-
create: Prisma.XOR<Prisma.ReportCreateWithoutUserInput, Prisma.ReportUncheckedCreateWithoutUserInput>
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
export type ReportCreateManyUserInputEnvelope = {
|
|
450
|
-
data: Prisma.ReportCreateManyUserInput | Prisma.ReportCreateManyUserInput[]
|
|
451
|
-
skipDuplicates?: boolean
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
export type ReportUpsertWithWhereUniqueWithoutUserInput = {
|
|
455
|
-
where: Prisma.ReportWhereUniqueInput
|
|
456
|
-
update: Prisma.XOR<Prisma.ReportUpdateWithoutUserInput, Prisma.ReportUncheckedUpdateWithoutUserInput>
|
|
457
|
-
create: Prisma.XOR<Prisma.ReportCreateWithoutUserInput, Prisma.ReportUncheckedCreateWithoutUserInput>
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
export type ReportUpdateWithWhereUniqueWithoutUserInput = {
|
|
461
|
-
where: Prisma.ReportWhereUniqueInput
|
|
462
|
-
data: Prisma.XOR<Prisma.ReportUpdateWithoutUserInput, Prisma.ReportUncheckedUpdateWithoutUserInput>
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
export type ReportUpdateManyWithWhereWithoutUserInput = {
|
|
466
|
-
where: Prisma.ReportScalarWhereInput
|
|
467
|
-
data: Prisma.XOR<Prisma.ReportUpdateManyMutationInput, Prisma.ReportUncheckedUpdateManyWithoutUserInput>
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
export type ReportScalarWhereInput = {
|
|
471
|
-
AND?: Prisma.ReportScalarWhereInput | Prisma.ReportScalarWhereInput[]
|
|
472
|
-
OR?: Prisma.ReportScalarWhereInput[]
|
|
473
|
-
NOT?: Prisma.ReportScalarWhereInput | Prisma.ReportScalarWhereInput[]
|
|
474
|
-
id?: Prisma.StringFilter<"Report"> | string
|
|
475
|
-
chatId?: Prisma.StringFilter<"Report"> | string
|
|
476
|
-
userId?: Prisma.StringFilter<"Report"> | string
|
|
477
|
-
reason?: Prisma.StringFilter<"Report"> | string
|
|
478
|
-
createdAt?: Prisma.DateTimeFilter<"Report"> | Date | string
|
|
479
|
-
updatedAt?: Prisma.DateTimeFilter<"Report"> | Date | string
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
export type ReportCreateWithoutChatInput = {
|
|
483
|
-
id?: string
|
|
484
|
-
reason: string
|
|
485
|
-
createdAt?: Date | string
|
|
486
|
-
updatedAt?: Date | string
|
|
487
|
-
user: Prisma.UserCreateNestedOneWithoutReportsInput
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
export type ReportUncheckedCreateWithoutChatInput = {
|
|
491
|
-
id?: string
|
|
492
|
-
userId: string
|
|
493
|
-
reason: string
|
|
494
|
-
createdAt?: Date | string
|
|
495
|
-
updatedAt?: Date | string
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
export type ReportCreateOrConnectWithoutChatInput = {
|
|
499
|
-
where: Prisma.ReportWhereUniqueInput
|
|
500
|
-
create: Prisma.XOR<Prisma.ReportCreateWithoutChatInput, Prisma.ReportUncheckedCreateWithoutChatInput>
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
export type ReportCreateManyChatInputEnvelope = {
|
|
504
|
-
data: Prisma.ReportCreateManyChatInput | Prisma.ReportCreateManyChatInput[]
|
|
505
|
-
skipDuplicates?: boolean
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
export type ReportUpsertWithWhereUniqueWithoutChatInput = {
|
|
509
|
-
where: Prisma.ReportWhereUniqueInput
|
|
510
|
-
update: Prisma.XOR<Prisma.ReportUpdateWithoutChatInput, Prisma.ReportUncheckedUpdateWithoutChatInput>
|
|
511
|
-
create: Prisma.XOR<Prisma.ReportCreateWithoutChatInput, Prisma.ReportUncheckedCreateWithoutChatInput>
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
export type ReportUpdateWithWhereUniqueWithoutChatInput = {
|
|
515
|
-
where: Prisma.ReportWhereUniqueInput
|
|
516
|
-
data: Prisma.XOR<Prisma.ReportUpdateWithoutChatInput, Prisma.ReportUncheckedUpdateWithoutChatInput>
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
export type ReportUpdateManyWithWhereWithoutChatInput = {
|
|
520
|
-
where: Prisma.ReportScalarWhereInput
|
|
521
|
-
data: Prisma.XOR<Prisma.ReportUpdateManyMutationInput, Prisma.ReportUncheckedUpdateManyWithoutChatInput>
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
export type ReportCreateManyUserInput = {
|
|
525
|
-
id?: string
|
|
526
|
-
chatId: string
|
|
527
|
-
reason: string
|
|
528
|
-
createdAt?: Date | string
|
|
529
|
-
updatedAt?: Date | string
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
export type ReportUpdateWithoutUserInput = {
|
|
533
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
534
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
535
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
536
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
537
|
-
chat?: Prisma.ChatUpdateOneRequiredWithoutReportsNestedInput
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
export type ReportUncheckedUpdateWithoutUserInput = {
|
|
541
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
542
|
-
chatId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
543
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
544
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
545
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
export type ReportUncheckedUpdateManyWithoutUserInput = {
|
|
549
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
550
|
-
chatId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
551
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
552
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
553
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
export type ReportCreateManyChatInput = {
|
|
557
|
-
id?: string
|
|
558
|
-
userId: string
|
|
559
|
-
reason: string
|
|
560
|
-
createdAt?: Date | string
|
|
561
|
-
updatedAt?: Date | string
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
export type ReportUpdateWithoutChatInput = {
|
|
565
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
566
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
567
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
568
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
569
|
-
user?: Prisma.UserUpdateOneRequiredWithoutReportsNestedInput
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
export type ReportUncheckedUpdateWithoutChatInput = {
|
|
573
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
574
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
575
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
576
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
577
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
export type ReportUncheckedUpdateManyWithoutChatInput = {
|
|
581
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
582
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
583
|
-
reason?: Prisma.StringFieldUpdateOperationsInput | string
|
|
584
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
585
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
export type ReportSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
591
|
-
id?: boolean
|
|
592
|
-
chatId?: boolean
|
|
593
|
-
userId?: boolean
|
|
594
|
-
reason?: boolean
|
|
595
|
-
createdAt?: boolean
|
|
596
|
-
updatedAt?: boolean
|
|
597
|
-
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
598
|
-
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
599
|
-
}, ExtArgs["result"]["report"]>
|
|
600
|
-
|
|
601
|
-
export type ReportSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
602
|
-
id?: boolean
|
|
603
|
-
chatId?: boolean
|
|
604
|
-
userId?: boolean
|
|
605
|
-
reason?: boolean
|
|
606
|
-
createdAt?: boolean
|
|
607
|
-
updatedAt?: boolean
|
|
608
|
-
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
609
|
-
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
610
|
-
}, ExtArgs["result"]["report"]>
|
|
611
|
-
|
|
612
|
-
export type ReportSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
613
|
-
id?: boolean
|
|
614
|
-
chatId?: boolean
|
|
615
|
-
userId?: boolean
|
|
616
|
-
reason?: boolean
|
|
617
|
-
createdAt?: boolean
|
|
618
|
-
updatedAt?: boolean
|
|
619
|
-
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
620
|
-
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
621
|
-
}, ExtArgs["result"]["report"]>
|
|
622
|
-
|
|
623
|
-
export type ReportSelectScalar = {
|
|
624
|
-
id?: boolean
|
|
625
|
-
chatId?: boolean
|
|
626
|
-
userId?: boolean
|
|
627
|
-
reason?: boolean
|
|
628
|
-
createdAt?: boolean
|
|
629
|
-
updatedAt?: boolean
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
export type ReportOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "chatId" | "userId" | "reason" | "createdAt" | "updatedAt", ExtArgs["result"]["report"]>
|
|
633
|
-
export type ReportInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
634
|
-
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
635
|
-
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
636
|
-
}
|
|
637
|
-
export type ReportIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
638
|
-
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
639
|
-
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
640
|
-
}
|
|
641
|
-
export type ReportIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
642
|
-
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
643
|
-
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
export type $ReportPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
647
|
-
name: "Report"
|
|
648
|
-
objects: {
|
|
649
|
-
chat: Prisma.$ChatPayload<ExtArgs>
|
|
650
|
-
user: Prisma.$UserPayload<ExtArgs>
|
|
651
|
-
}
|
|
652
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
653
|
-
id: string
|
|
654
|
-
chatId: string
|
|
655
|
-
userId: string
|
|
656
|
-
reason: string
|
|
657
|
-
createdAt: Date
|
|
658
|
-
updatedAt: Date
|
|
659
|
-
}, ExtArgs["result"]["report"]>
|
|
660
|
-
composites: {}
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
export type ReportGetPayload<S extends boolean | null | undefined | ReportDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ReportPayload, S>
|
|
664
|
-
|
|
665
|
-
export type ReportCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
666
|
-
Omit<ReportFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
667
|
-
select?: ReportCountAggregateInputType | true
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
export interface ReportDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
671
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Report'], meta: { name: 'Report' } }
|
|
672
|
-
/**
|
|
673
|
-
* Find zero or one Report that matches the filter.
|
|
674
|
-
* @param {ReportFindUniqueArgs} args - Arguments to find a Report
|
|
675
|
-
* @example
|
|
676
|
-
* // Get one Report
|
|
677
|
-
* const report = await prisma.report.findUnique({
|
|
678
|
-
* where: {
|
|
679
|
-
* // ... provide filter here
|
|
680
|
-
* }
|
|
681
|
-
* })
|
|
682
|
-
*/
|
|
683
|
-
findUnique<T extends ReportFindUniqueArgs>(args: Prisma.SelectSubset<T, ReportFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ReportClient<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
* Find one Report that matches the filter or throw an error with `error.code='P2025'`
|
|
687
|
-
* if no matches were found.
|
|
688
|
-
* @param {ReportFindUniqueOrThrowArgs} args - Arguments to find a Report
|
|
689
|
-
* @example
|
|
690
|
-
* // Get one Report
|
|
691
|
-
* const report = await prisma.report.findUniqueOrThrow({
|
|
692
|
-
* where: {
|
|
693
|
-
* // ... provide filter here
|
|
694
|
-
* }
|
|
695
|
-
* })
|
|
696
|
-
*/
|
|
697
|
-
findUniqueOrThrow<T extends ReportFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ReportFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ReportClient<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* Find the first Report that matches the filter.
|
|
701
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
702
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
703
|
-
* @param {ReportFindFirstArgs} args - Arguments to find a Report
|
|
704
|
-
* @example
|
|
705
|
-
* // Get one Report
|
|
706
|
-
* const report = await prisma.report.findFirst({
|
|
707
|
-
* where: {
|
|
708
|
-
* // ... provide filter here
|
|
709
|
-
* }
|
|
710
|
-
* })
|
|
711
|
-
*/
|
|
712
|
-
findFirst<T extends ReportFindFirstArgs>(args?: Prisma.SelectSubset<T, ReportFindFirstArgs<ExtArgs>>): Prisma.Prisma__ReportClient<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* Find the first Report that matches the filter or
|
|
716
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
717
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
718
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
719
|
-
* @param {ReportFindFirstOrThrowArgs} args - Arguments to find a Report
|
|
720
|
-
* @example
|
|
721
|
-
* // Get one Report
|
|
722
|
-
* const report = await prisma.report.findFirstOrThrow({
|
|
723
|
-
* where: {
|
|
724
|
-
* // ... provide filter here
|
|
725
|
-
* }
|
|
726
|
-
* })
|
|
727
|
-
*/
|
|
728
|
-
findFirstOrThrow<T extends ReportFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ReportFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ReportClient<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
729
|
-
|
|
730
|
-
/**
|
|
731
|
-
* Find zero or more Reports that matches the filter.
|
|
732
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
733
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
734
|
-
* @param {ReportFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
735
|
-
* @example
|
|
736
|
-
* // Get all Reports
|
|
737
|
-
* const reports = await prisma.report.findMany()
|
|
738
|
-
*
|
|
739
|
-
* // Get first 10 Reports
|
|
740
|
-
* const reports = await prisma.report.findMany({ take: 10 })
|
|
741
|
-
*
|
|
742
|
-
* // Only select the `id`
|
|
743
|
-
* const reportWithIdOnly = await prisma.report.findMany({ select: { id: true } })
|
|
744
|
-
*
|
|
745
|
-
*/
|
|
746
|
-
findMany<T extends ReportFindManyArgs>(args?: Prisma.SelectSubset<T, ReportFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* Create a Report.
|
|
750
|
-
* @param {ReportCreateArgs} args - Arguments to create a Report.
|
|
751
|
-
* @example
|
|
752
|
-
* // Create one Report
|
|
753
|
-
* const Report = await prisma.report.create({
|
|
754
|
-
* data: {
|
|
755
|
-
* // ... data to create a Report
|
|
756
|
-
* }
|
|
757
|
-
* })
|
|
758
|
-
*
|
|
759
|
-
*/
|
|
760
|
-
create<T extends ReportCreateArgs>(args: Prisma.SelectSubset<T, ReportCreateArgs<ExtArgs>>): Prisma.Prisma__ReportClient<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* Create many Reports.
|
|
764
|
-
* @param {ReportCreateManyArgs} args - Arguments to create many Reports.
|
|
765
|
-
* @example
|
|
766
|
-
* // Create many Reports
|
|
767
|
-
* const report = await prisma.report.createMany({
|
|
768
|
-
* data: [
|
|
769
|
-
* // ... provide data here
|
|
770
|
-
* ]
|
|
771
|
-
* })
|
|
772
|
-
*
|
|
773
|
-
*/
|
|
774
|
-
createMany<T extends ReportCreateManyArgs>(args?: Prisma.SelectSubset<T, ReportCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
775
|
-
|
|
776
|
-
/**
|
|
777
|
-
* Create many Reports and returns the data saved in the database.
|
|
778
|
-
* @param {ReportCreateManyAndReturnArgs} args - Arguments to create many Reports.
|
|
779
|
-
* @example
|
|
780
|
-
* // Create many Reports
|
|
781
|
-
* const report = await prisma.report.createManyAndReturn({
|
|
782
|
-
* data: [
|
|
783
|
-
* // ... provide data here
|
|
784
|
-
* ]
|
|
785
|
-
* })
|
|
786
|
-
*
|
|
787
|
-
* // Create many Reports and only return the `id`
|
|
788
|
-
* const reportWithIdOnly = await prisma.report.createManyAndReturn({
|
|
789
|
-
* select: { id: true },
|
|
790
|
-
* data: [
|
|
791
|
-
* // ... provide data here
|
|
792
|
-
* ]
|
|
793
|
-
* })
|
|
794
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
795
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
796
|
-
*
|
|
797
|
-
*/
|
|
798
|
-
createManyAndReturn<T extends ReportCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ReportCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* Delete a Report.
|
|
802
|
-
* @param {ReportDeleteArgs} args - Arguments to delete one Report.
|
|
803
|
-
* @example
|
|
804
|
-
* // Delete one Report
|
|
805
|
-
* const Report = await prisma.report.delete({
|
|
806
|
-
* where: {
|
|
807
|
-
* // ... filter to delete one Report
|
|
808
|
-
* }
|
|
809
|
-
* })
|
|
810
|
-
*
|
|
811
|
-
*/
|
|
812
|
-
delete<T extends ReportDeleteArgs>(args: Prisma.SelectSubset<T, ReportDeleteArgs<ExtArgs>>): Prisma.Prisma__ReportClient<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
* Update one Report.
|
|
816
|
-
* @param {ReportUpdateArgs} args - Arguments to update one Report.
|
|
817
|
-
* @example
|
|
818
|
-
* // Update one Report
|
|
819
|
-
* const report = await prisma.report.update({
|
|
820
|
-
* where: {
|
|
821
|
-
* // ... provide filter here
|
|
822
|
-
* },
|
|
823
|
-
* data: {
|
|
824
|
-
* // ... provide data here
|
|
825
|
-
* }
|
|
826
|
-
* })
|
|
827
|
-
*
|
|
828
|
-
*/
|
|
829
|
-
update<T extends ReportUpdateArgs>(args: Prisma.SelectSubset<T, ReportUpdateArgs<ExtArgs>>): Prisma.Prisma__ReportClient<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* Delete zero or more Reports.
|
|
833
|
-
* @param {ReportDeleteManyArgs} args - Arguments to filter Reports to delete.
|
|
834
|
-
* @example
|
|
835
|
-
* // Delete a few Reports
|
|
836
|
-
* const { count } = await prisma.report.deleteMany({
|
|
837
|
-
* where: {
|
|
838
|
-
* // ... provide filter here
|
|
839
|
-
* }
|
|
840
|
-
* })
|
|
841
|
-
*
|
|
842
|
-
*/
|
|
843
|
-
deleteMany<T extends ReportDeleteManyArgs>(args?: Prisma.SelectSubset<T, ReportDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
* Update zero or more Reports.
|
|
847
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
848
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
849
|
-
* @param {ReportUpdateManyArgs} args - Arguments to update one or more rows.
|
|
850
|
-
* @example
|
|
851
|
-
* // Update many Reports
|
|
852
|
-
* const report = await prisma.report.updateMany({
|
|
853
|
-
* where: {
|
|
854
|
-
* // ... provide filter here
|
|
855
|
-
* },
|
|
856
|
-
* data: {
|
|
857
|
-
* // ... provide data here
|
|
858
|
-
* }
|
|
859
|
-
* })
|
|
860
|
-
*
|
|
861
|
-
*/
|
|
862
|
-
updateMany<T extends ReportUpdateManyArgs>(args: Prisma.SelectSubset<T, ReportUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* Update zero or more Reports and returns the data updated in the database.
|
|
866
|
-
* @param {ReportUpdateManyAndReturnArgs} args - Arguments to update many Reports.
|
|
867
|
-
* @example
|
|
868
|
-
* // Update many Reports
|
|
869
|
-
* const report = await prisma.report.updateManyAndReturn({
|
|
870
|
-
* where: {
|
|
871
|
-
* // ... provide filter here
|
|
872
|
-
* },
|
|
873
|
-
* data: [
|
|
874
|
-
* // ... provide data here
|
|
875
|
-
* ]
|
|
876
|
-
* })
|
|
877
|
-
*
|
|
878
|
-
* // Update zero or more Reports and only return the `id`
|
|
879
|
-
* const reportWithIdOnly = await prisma.report.updateManyAndReturn({
|
|
880
|
-
* select: { id: true },
|
|
881
|
-
* where: {
|
|
882
|
-
* // ... provide filter here
|
|
883
|
-
* },
|
|
884
|
-
* data: [
|
|
885
|
-
* // ... provide data here
|
|
886
|
-
* ]
|
|
887
|
-
* })
|
|
888
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
889
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
890
|
-
*
|
|
891
|
-
*/
|
|
892
|
-
updateManyAndReturn<T extends ReportUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ReportUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
* Create or update one Report.
|
|
896
|
-
* @param {ReportUpsertArgs} args - Arguments to update or create a Report.
|
|
897
|
-
* @example
|
|
898
|
-
* // Update or create a Report
|
|
899
|
-
* const report = await prisma.report.upsert({
|
|
900
|
-
* create: {
|
|
901
|
-
* // ... data to create a Report
|
|
902
|
-
* },
|
|
903
|
-
* update: {
|
|
904
|
-
* // ... in case it already exists, update
|
|
905
|
-
* },
|
|
906
|
-
* where: {
|
|
907
|
-
* // ... the filter for the Report we want to update
|
|
908
|
-
* }
|
|
909
|
-
* })
|
|
910
|
-
*/
|
|
911
|
-
upsert<T extends ReportUpsertArgs>(args: Prisma.SelectSubset<T, ReportUpsertArgs<ExtArgs>>): Prisma.Prisma__ReportClient<runtime.Types.Result.GetResult<Prisma.$ReportPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
/**
|
|
915
|
-
* Count the number of Reports.
|
|
916
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
917
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
918
|
-
* @param {ReportCountArgs} args - Arguments to filter Reports to count.
|
|
919
|
-
* @example
|
|
920
|
-
* // Count the number of Reports
|
|
921
|
-
* const count = await prisma.report.count({
|
|
922
|
-
* where: {
|
|
923
|
-
* // ... the filter for the Reports we want to count
|
|
924
|
-
* }
|
|
925
|
-
* })
|
|
926
|
-
**/
|
|
927
|
-
count<T extends ReportCountArgs>(
|
|
928
|
-
args?: Prisma.Subset<T, ReportCountArgs>,
|
|
929
|
-
): Prisma.PrismaPromise<
|
|
930
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
931
|
-
? T['select'] extends true
|
|
932
|
-
? number
|
|
933
|
-
: Prisma.GetScalarType<T['select'], ReportCountAggregateOutputType>
|
|
934
|
-
: number
|
|
935
|
-
>
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* Allows you to perform aggregations operations on a Report.
|
|
939
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
940
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
941
|
-
* @param {ReportAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
942
|
-
* @example
|
|
943
|
-
* // Ordered by age ascending
|
|
944
|
-
* // Where email contains prisma.io
|
|
945
|
-
* // Limited to the 10 users
|
|
946
|
-
* const aggregations = await prisma.user.aggregate({
|
|
947
|
-
* _avg: {
|
|
948
|
-
* age: true,
|
|
949
|
-
* },
|
|
950
|
-
* where: {
|
|
951
|
-
* email: {
|
|
952
|
-
* contains: "prisma.io",
|
|
953
|
-
* },
|
|
954
|
-
* },
|
|
955
|
-
* orderBy: {
|
|
956
|
-
* age: "asc",
|
|
957
|
-
* },
|
|
958
|
-
* take: 10,
|
|
959
|
-
* })
|
|
960
|
-
**/
|
|
961
|
-
aggregate<T extends ReportAggregateArgs>(args: Prisma.Subset<T, ReportAggregateArgs>): Prisma.PrismaPromise<GetReportAggregateType<T>>
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
* Group by Report.
|
|
965
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
966
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
967
|
-
* @param {ReportGroupByArgs} args - Group by arguments.
|
|
968
|
-
* @example
|
|
969
|
-
* // Group by city, order by createdAt, get count
|
|
970
|
-
* const result = await prisma.user.groupBy({
|
|
971
|
-
* by: ['city', 'createdAt'],
|
|
972
|
-
* orderBy: {
|
|
973
|
-
* createdAt: true
|
|
974
|
-
* },
|
|
975
|
-
* _count: {
|
|
976
|
-
* _all: true
|
|
977
|
-
* },
|
|
978
|
-
* })
|
|
979
|
-
*
|
|
980
|
-
**/
|
|
981
|
-
groupBy<
|
|
982
|
-
T extends ReportGroupByArgs,
|
|
983
|
-
HasSelectOrTake extends Prisma.Or<
|
|
984
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
985
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
986
|
-
>,
|
|
987
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
988
|
-
? { orderBy: ReportGroupByArgs['orderBy'] }
|
|
989
|
-
: { orderBy?: ReportGroupByArgs['orderBy'] },
|
|
990
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
991
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
992
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
993
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
994
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
995
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
996
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
997
|
-
? `Error: "by" must not be empty.`
|
|
998
|
-
: HavingValid extends Prisma.False
|
|
999
|
-
? {
|
|
1000
|
-
[P in HavingFields]: P extends ByFields
|
|
1001
|
-
? never
|
|
1002
|
-
: P extends string
|
|
1003
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1004
|
-
: [
|
|
1005
|
-
Error,
|
|
1006
|
-
'Field ',
|
|
1007
|
-
P,
|
|
1008
|
-
` in "having" needs to be provided in "by"`,
|
|
1009
|
-
]
|
|
1010
|
-
}[HavingFields]
|
|
1011
|
-
: 'take' extends Prisma.Keys<T>
|
|
1012
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1013
|
-
? ByValid extends Prisma.True
|
|
1014
|
-
? {}
|
|
1015
|
-
: {
|
|
1016
|
-
[P in OrderFields]: P extends ByFields
|
|
1017
|
-
? never
|
|
1018
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1019
|
-
}[OrderFields]
|
|
1020
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1021
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1022
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1023
|
-
? ByValid extends Prisma.True
|
|
1024
|
-
? {}
|
|
1025
|
-
: {
|
|
1026
|
-
[P in OrderFields]: P extends ByFields
|
|
1027
|
-
? never
|
|
1028
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1029
|
-
}[OrderFields]
|
|
1030
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1031
|
-
: ByValid extends Prisma.True
|
|
1032
|
-
? {}
|
|
1033
|
-
: {
|
|
1034
|
-
[P in OrderFields]: P extends ByFields
|
|
1035
|
-
? never
|
|
1036
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1037
|
-
}[OrderFields]
|
|
1038
|
-
>(args: Prisma.SubsetIntersection<T, ReportGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetReportGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1039
|
-
/**
|
|
1040
|
-
* Fields of the Report model
|
|
1041
|
-
*/
|
|
1042
|
-
readonly fields: ReportFieldRefs;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
/**
|
|
1046
|
-
* The delegate class that acts as a "Promise-like" for Report.
|
|
1047
|
-
* Why is this prefixed with `Prisma__`?
|
|
1048
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1049
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1050
|
-
*/
|
|
1051
|
-
export interface Prisma__ReportClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1052
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1053
|
-
chat<T extends Prisma.ChatDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ChatDefaultArgs<ExtArgs>>): Prisma.Prisma__ChatClient<runtime.Types.Result.GetResult<Prisma.$ChatPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1054
|
-
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1055
|
-
/**
|
|
1056
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1057
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1058
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1059
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1060
|
-
*/
|
|
1061
|
-
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>
|
|
1062
|
-
/**
|
|
1063
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1064
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1065
|
-
* @returns A Promise for the completion of the callback.
|
|
1066
|
-
*/
|
|
1067
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1068
|
-
/**
|
|
1069
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1070
|
-
* resolved value cannot be modified from the callback.
|
|
1071
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1072
|
-
* @returns A Promise for the completion of the callback.
|
|
1073
|
-
*/
|
|
1074
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
/**
|
|
1081
|
-
* Fields of the Report model
|
|
1082
|
-
*/
|
|
1083
|
-
export interface ReportFieldRefs {
|
|
1084
|
-
readonly id: Prisma.FieldRef<"Report", 'String'>
|
|
1085
|
-
readonly chatId: Prisma.FieldRef<"Report", 'String'>
|
|
1086
|
-
readonly userId: Prisma.FieldRef<"Report", 'String'>
|
|
1087
|
-
readonly reason: Prisma.FieldRef<"Report", 'String'>
|
|
1088
|
-
readonly createdAt: Prisma.FieldRef<"Report", 'DateTime'>
|
|
1089
|
-
readonly updatedAt: Prisma.FieldRef<"Report", 'DateTime'>
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
// Custom InputTypes
|
|
1094
|
-
/**
|
|
1095
|
-
* Report findUnique
|
|
1096
|
-
*/
|
|
1097
|
-
export type ReportFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1098
|
-
/**
|
|
1099
|
-
* Select specific fields to fetch from the Report
|
|
1100
|
-
*/
|
|
1101
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1102
|
-
/**
|
|
1103
|
-
* Omit specific fields from the Report
|
|
1104
|
-
*/
|
|
1105
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1106
|
-
/**
|
|
1107
|
-
* Choose, which related nodes to fetch as well
|
|
1108
|
-
*/
|
|
1109
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1110
|
-
/**
|
|
1111
|
-
* Filter, which Report to fetch.
|
|
1112
|
-
*/
|
|
1113
|
-
where: Prisma.ReportWhereUniqueInput
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* Report findUniqueOrThrow
|
|
1118
|
-
*/
|
|
1119
|
-
export type ReportFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1120
|
-
/**
|
|
1121
|
-
* Select specific fields to fetch from the Report
|
|
1122
|
-
*/
|
|
1123
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1124
|
-
/**
|
|
1125
|
-
* Omit specific fields from the Report
|
|
1126
|
-
*/
|
|
1127
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1128
|
-
/**
|
|
1129
|
-
* Choose, which related nodes to fetch as well
|
|
1130
|
-
*/
|
|
1131
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1132
|
-
/**
|
|
1133
|
-
* Filter, which Report to fetch.
|
|
1134
|
-
*/
|
|
1135
|
-
where: Prisma.ReportWhereUniqueInput
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
/**
|
|
1139
|
-
* Report findFirst
|
|
1140
|
-
*/
|
|
1141
|
-
export type ReportFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1142
|
-
/**
|
|
1143
|
-
* Select specific fields to fetch from the Report
|
|
1144
|
-
*/
|
|
1145
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1146
|
-
/**
|
|
1147
|
-
* Omit specific fields from the Report
|
|
1148
|
-
*/
|
|
1149
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1150
|
-
/**
|
|
1151
|
-
* Choose, which related nodes to fetch as well
|
|
1152
|
-
*/
|
|
1153
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1154
|
-
/**
|
|
1155
|
-
* Filter, which Report to fetch.
|
|
1156
|
-
*/
|
|
1157
|
-
where?: Prisma.ReportWhereInput
|
|
1158
|
-
/**
|
|
1159
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1160
|
-
*
|
|
1161
|
-
* Determine the order of Reports to fetch.
|
|
1162
|
-
*/
|
|
1163
|
-
orderBy?: Prisma.ReportOrderByWithRelationInput | Prisma.ReportOrderByWithRelationInput[]
|
|
1164
|
-
/**
|
|
1165
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1166
|
-
*
|
|
1167
|
-
* Sets the position for searching for Reports.
|
|
1168
|
-
*/
|
|
1169
|
-
cursor?: Prisma.ReportWhereUniqueInput
|
|
1170
|
-
/**
|
|
1171
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1172
|
-
*
|
|
1173
|
-
* Take `±n` Reports from the position of the cursor.
|
|
1174
|
-
*/
|
|
1175
|
-
take?: number
|
|
1176
|
-
/**
|
|
1177
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1178
|
-
*
|
|
1179
|
-
* Skip the first `n` Reports.
|
|
1180
|
-
*/
|
|
1181
|
-
skip?: number
|
|
1182
|
-
/**
|
|
1183
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1184
|
-
*
|
|
1185
|
-
* Filter by unique combinations of Reports.
|
|
1186
|
-
*/
|
|
1187
|
-
distinct?: Prisma.ReportScalarFieldEnum | Prisma.ReportScalarFieldEnum[]
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
/**
|
|
1191
|
-
* Report findFirstOrThrow
|
|
1192
|
-
*/
|
|
1193
|
-
export type ReportFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1194
|
-
/**
|
|
1195
|
-
* Select specific fields to fetch from the Report
|
|
1196
|
-
*/
|
|
1197
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1198
|
-
/**
|
|
1199
|
-
* Omit specific fields from the Report
|
|
1200
|
-
*/
|
|
1201
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1202
|
-
/**
|
|
1203
|
-
* Choose, which related nodes to fetch as well
|
|
1204
|
-
*/
|
|
1205
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1206
|
-
/**
|
|
1207
|
-
* Filter, which Report to fetch.
|
|
1208
|
-
*/
|
|
1209
|
-
where?: Prisma.ReportWhereInput
|
|
1210
|
-
/**
|
|
1211
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1212
|
-
*
|
|
1213
|
-
* Determine the order of Reports to fetch.
|
|
1214
|
-
*/
|
|
1215
|
-
orderBy?: Prisma.ReportOrderByWithRelationInput | Prisma.ReportOrderByWithRelationInput[]
|
|
1216
|
-
/**
|
|
1217
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1218
|
-
*
|
|
1219
|
-
* Sets the position for searching for Reports.
|
|
1220
|
-
*/
|
|
1221
|
-
cursor?: Prisma.ReportWhereUniqueInput
|
|
1222
|
-
/**
|
|
1223
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1224
|
-
*
|
|
1225
|
-
* Take `±n` Reports from the position of the cursor.
|
|
1226
|
-
*/
|
|
1227
|
-
take?: number
|
|
1228
|
-
/**
|
|
1229
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1230
|
-
*
|
|
1231
|
-
* Skip the first `n` Reports.
|
|
1232
|
-
*/
|
|
1233
|
-
skip?: number
|
|
1234
|
-
/**
|
|
1235
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1236
|
-
*
|
|
1237
|
-
* Filter by unique combinations of Reports.
|
|
1238
|
-
*/
|
|
1239
|
-
distinct?: Prisma.ReportScalarFieldEnum | Prisma.ReportScalarFieldEnum[]
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
/**
|
|
1243
|
-
* Report findMany
|
|
1244
|
-
*/
|
|
1245
|
-
export type ReportFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1246
|
-
/**
|
|
1247
|
-
* Select specific fields to fetch from the Report
|
|
1248
|
-
*/
|
|
1249
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1250
|
-
/**
|
|
1251
|
-
* Omit specific fields from the Report
|
|
1252
|
-
*/
|
|
1253
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1254
|
-
/**
|
|
1255
|
-
* Choose, which related nodes to fetch as well
|
|
1256
|
-
*/
|
|
1257
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1258
|
-
/**
|
|
1259
|
-
* Filter, which Reports to fetch.
|
|
1260
|
-
*/
|
|
1261
|
-
where?: Prisma.ReportWhereInput
|
|
1262
|
-
/**
|
|
1263
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1264
|
-
*
|
|
1265
|
-
* Determine the order of Reports to fetch.
|
|
1266
|
-
*/
|
|
1267
|
-
orderBy?: Prisma.ReportOrderByWithRelationInput | Prisma.ReportOrderByWithRelationInput[]
|
|
1268
|
-
/**
|
|
1269
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1270
|
-
*
|
|
1271
|
-
* Sets the position for listing Reports.
|
|
1272
|
-
*/
|
|
1273
|
-
cursor?: Prisma.ReportWhereUniqueInput
|
|
1274
|
-
/**
|
|
1275
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1276
|
-
*
|
|
1277
|
-
* Take `±n` Reports from the position of the cursor.
|
|
1278
|
-
*/
|
|
1279
|
-
take?: number
|
|
1280
|
-
/**
|
|
1281
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1282
|
-
*
|
|
1283
|
-
* Skip the first `n` Reports.
|
|
1284
|
-
*/
|
|
1285
|
-
skip?: number
|
|
1286
|
-
/**
|
|
1287
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1288
|
-
*
|
|
1289
|
-
* Filter by unique combinations of Reports.
|
|
1290
|
-
*/
|
|
1291
|
-
distinct?: Prisma.ReportScalarFieldEnum | Prisma.ReportScalarFieldEnum[]
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* Report create
|
|
1296
|
-
*/
|
|
1297
|
-
export type ReportCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1298
|
-
/**
|
|
1299
|
-
* Select specific fields to fetch from the Report
|
|
1300
|
-
*/
|
|
1301
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1302
|
-
/**
|
|
1303
|
-
* Omit specific fields from the Report
|
|
1304
|
-
*/
|
|
1305
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1306
|
-
/**
|
|
1307
|
-
* Choose, which related nodes to fetch as well
|
|
1308
|
-
*/
|
|
1309
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1310
|
-
/**
|
|
1311
|
-
* The data needed to create a Report.
|
|
1312
|
-
*/
|
|
1313
|
-
data: Prisma.XOR<Prisma.ReportCreateInput, Prisma.ReportUncheckedCreateInput>
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
/**
|
|
1317
|
-
* Report createMany
|
|
1318
|
-
*/
|
|
1319
|
-
export type ReportCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1320
|
-
/**
|
|
1321
|
-
* The data used to create many Reports.
|
|
1322
|
-
*/
|
|
1323
|
-
data: Prisma.ReportCreateManyInput | Prisma.ReportCreateManyInput[]
|
|
1324
|
-
skipDuplicates?: boolean
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
/**
|
|
1328
|
-
* Report createManyAndReturn
|
|
1329
|
-
*/
|
|
1330
|
-
export type ReportCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1331
|
-
/**
|
|
1332
|
-
* Select specific fields to fetch from the Report
|
|
1333
|
-
*/
|
|
1334
|
-
select?: Prisma.ReportSelectCreateManyAndReturn<ExtArgs> | null
|
|
1335
|
-
/**
|
|
1336
|
-
* Omit specific fields from the Report
|
|
1337
|
-
*/
|
|
1338
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1339
|
-
/**
|
|
1340
|
-
* The data used to create many Reports.
|
|
1341
|
-
*/
|
|
1342
|
-
data: Prisma.ReportCreateManyInput | Prisma.ReportCreateManyInput[]
|
|
1343
|
-
skipDuplicates?: boolean
|
|
1344
|
-
/**
|
|
1345
|
-
* Choose, which related nodes to fetch as well
|
|
1346
|
-
*/
|
|
1347
|
-
include?: Prisma.ReportIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
/**
|
|
1351
|
-
* Report update
|
|
1352
|
-
*/
|
|
1353
|
-
export type ReportUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1354
|
-
/**
|
|
1355
|
-
* Select specific fields to fetch from the Report
|
|
1356
|
-
*/
|
|
1357
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1358
|
-
/**
|
|
1359
|
-
* Omit specific fields from the Report
|
|
1360
|
-
*/
|
|
1361
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1362
|
-
/**
|
|
1363
|
-
* Choose, which related nodes to fetch as well
|
|
1364
|
-
*/
|
|
1365
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1366
|
-
/**
|
|
1367
|
-
* The data needed to update a Report.
|
|
1368
|
-
*/
|
|
1369
|
-
data: Prisma.XOR<Prisma.ReportUpdateInput, Prisma.ReportUncheckedUpdateInput>
|
|
1370
|
-
/**
|
|
1371
|
-
* Choose, which Report to update.
|
|
1372
|
-
*/
|
|
1373
|
-
where: Prisma.ReportWhereUniqueInput
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
/**
|
|
1377
|
-
* Report updateMany
|
|
1378
|
-
*/
|
|
1379
|
-
export type ReportUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1380
|
-
/**
|
|
1381
|
-
* The data used to update Reports.
|
|
1382
|
-
*/
|
|
1383
|
-
data: Prisma.XOR<Prisma.ReportUpdateManyMutationInput, Prisma.ReportUncheckedUpdateManyInput>
|
|
1384
|
-
/**
|
|
1385
|
-
* Filter which Reports to update
|
|
1386
|
-
*/
|
|
1387
|
-
where?: Prisma.ReportWhereInput
|
|
1388
|
-
/**
|
|
1389
|
-
* Limit how many Reports to update.
|
|
1390
|
-
*/
|
|
1391
|
-
limit?: number
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
/**
|
|
1395
|
-
* Report updateManyAndReturn
|
|
1396
|
-
*/
|
|
1397
|
-
export type ReportUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1398
|
-
/**
|
|
1399
|
-
* Select specific fields to fetch from the Report
|
|
1400
|
-
*/
|
|
1401
|
-
select?: Prisma.ReportSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1402
|
-
/**
|
|
1403
|
-
* Omit specific fields from the Report
|
|
1404
|
-
*/
|
|
1405
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1406
|
-
/**
|
|
1407
|
-
* The data used to update Reports.
|
|
1408
|
-
*/
|
|
1409
|
-
data: Prisma.XOR<Prisma.ReportUpdateManyMutationInput, Prisma.ReportUncheckedUpdateManyInput>
|
|
1410
|
-
/**
|
|
1411
|
-
* Filter which Reports to update
|
|
1412
|
-
*/
|
|
1413
|
-
where?: Prisma.ReportWhereInput
|
|
1414
|
-
/**
|
|
1415
|
-
* Limit how many Reports to update.
|
|
1416
|
-
*/
|
|
1417
|
-
limit?: number
|
|
1418
|
-
/**
|
|
1419
|
-
* Choose, which related nodes to fetch as well
|
|
1420
|
-
*/
|
|
1421
|
-
include?: Prisma.ReportIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
* Report upsert
|
|
1426
|
-
*/
|
|
1427
|
-
export type ReportUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1428
|
-
/**
|
|
1429
|
-
* Select specific fields to fetch from the Report
|
|
1430
|
-
*/
|
|
1431
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1432
|
-
/**
|
|
1433
|
-
* Omit specific fields from the Report
|
|
1434
|
-
*/
|
|
1435
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1436
|
-
/**
|
|
1437
|
-
* Choose, which related nodes to fetch as well
|
|
1438
|
-
*/
|
|
1439
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1440
|
-
/**
|
|
1441
|
-
* The filter to search for the Report to update in case it exists.
|
|
1442
|
-
*/
|
|
1443
|
-
where: Prisma.ReportWhereUniqueInput
|
|
1444
|
-
/**
|
|
1445
|
-
* In case the Report found by the `where` argument doesn't exist, create a new Report with this data.
|
|
1446
|
-
*/
|
|
1447
|
-
create: Prisma.XOR<Prisma.ReportCreateInput, Prisma.ReportUncheckedCreateInput>
|
|
1448
|
-
/**
|
|
1449
|
-
* In case the Report was found with the provided `where` argument, update it with this data.
|
|
1450
|
-
*/
|
|
1451
|
-
update: Prisma.XOR<Prisma.ReportUpdateInput, Prisma.ReportUncheckedUpdateInput>
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
/**
|
|
1455
|
-
* Report delete
|
|
1456
|
-
*/
|
|
1457
|
-
export type ReportDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1458
|
-
/**
|
|
1459
|
-
* Select specific fields to fetch from the Report
|
|
1460
|
-
*/
|
|
1461
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1462
|
-
/**
|
|
1463
|
-
* Omit specific fields from the Report
|
|
1464
|
-
*/
|
|
1465
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1466
|
-
/**
|
|
1467
|
-
* Choose, which related nodes to fetch as well
|
|
1468
|
-
*/
|
|
1469
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1470
|
-
/**
|
|
1471
|
-
* Filter which Report to delete.
|
|
1472
|
-
*/
|
|
1473
|
-
where: Prisma.ReportWhereUniqueInput
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
/**
|
|
1477
|
-
* Report deleteMany
|
|
1478
|
-
*/
|
|
1479
|
-
export type ReportDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1480
|
-
/**
|
|
1481
|
-
* Filter which Reports to delete
|
|
1482
|
-
*/
|
|
1483
|
-
where?: Prisma.ReportWhereInput
|
|
1484
|
-
/**
|
|
1485
|
-
* Limit how many Reports to delete.
|
|
1486
|
-
*/
|
|
1487
|
-
limit?: number
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
/**
|
|
1491
|
-
* Report without action
|
|
1492
|
-
*/
|
|
1493
|
-
export type ReportDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1494
|
-
/**
|
|
1495
|
-
* Select specific fields to fetch from the Report
|
|
1496
|
-
*/
|
|
1497
|
-
select?: Prisma.ReportSelect<ExtArgs> | null
|
|
1498
|
-
/**
|
|
1499
|
-
* Omit specific fields from the Report
|
|
1500
|
-
*/
|
|
1501
|
-
omit?: Prisma.ReportOmit<ExtArgs> | null
|
|
1502
|
-
/**
|
|
1503
|
-
* Choose, which related nodes to fetch as well
|
|
1504
|
-
*/
|
|
1505
|
-
include?: Prisma.ReportInclude<ExtArgs> | null
|
|
1506
|
-
}
|