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