@allbluecn/database 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/desktop-init.ts +128 -0
- package/generated/browser.ts +494 -0
- package/generated/client.ts +518 -0
- package/generated/commonInputTypes.ts +1056 -0
- package/generated/enums.ts +93 -0
- package/generated/internal/class.ts +1144 -0
- package/generated/internal/prismaNamespace.ts +9603 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
- package/generated/models/Account.ts +1648 -0
- package/generated/models/AgentConversation.ts +1651 -0
- package/generated/models/AgentMessage.ts +1409 -0
- package/generated/models/AiProvider.ts +1607 -0
- package/generated/models/AiProviderConfig.ts +1514 -0
- package/generated/models/AiUsageLog.ts +1863 -0
- package/generated/models/AnyHubApp.ts +1911 -0
- package/generated/models/AnyHubMarketApp.ts +2008 -0
- package/generated/models/AnyHubPermission.ts +1422 -0
- package/generated/models/AnyHubRecommendation.ts +1870 -0
- package/generated/models/AnyHubRecommender.ts +1471 -0
- package/generated/models/Artboard.ts +1811 -0
- package/generated/models/ArtboardExport.ts +1548 -0
- package/generated/models/ArticleFavorite.ts +1352 -0
- package/generated/models/AuditLog.ts +1533 -0
- package/generated/models/Block.ts +1650 -0
- package/generated/models/BlockComponent.ts +1734 -0
- package/generated/models/BlockInstance.ts +2043 -0
- package/generated/models/BookmarkCategory.ts +1670 -0
- package/generated/models/ChatInterrupt.ts +1699 -0
- package/generated/models/ChatMessage.ts +1438 -0
- package/generated/models/ChatRun.ts +1632 -0
- package/generated/models/ChatThread.ts +2133 -0
- package/generated/models/Comment.ts +2206 -0
- package/generated/models/CommentIgnore.ts +1430 -0
- package/generated/models/CommentReaction.ts +1472 -0
- package/generated/models/ComplianceExport.ts +1345 -0
- package/generated/models/Component.ts +2345 -0
- package/generated/models/ComponentInstance.ts +2102 -0
- package/generated/models/ComponentTag.ts +1281 -0
- package/generated/models/CustomRole.ts +1560 -0
- package/generated/models/DesignProject.ts +1643 -0
- package/generated/models/DictionaryTerm.ts +1642 -0
- package/generated/models/GenerationRun.ts +1543 -0
- package/generated/models/IndustryCompliance.ts +1797 -0
- package/generated/models/InvitationCode.ts +1417 -0
- package/generated/models/InvitationUse.ts +1424 -0
- package/generated/models/Invoice.ts +1710 -0
- package/generated/models/KnowledgeBase.ts +1671 -0
- package/generated/models/KnowledgeDocument.ts +2458 -0
- package/generated/models/KnowledgeShareRecord.ts +1352 -0
- package/generated/models/Label.ts +1482 -0
- package/generated/models/LegalRegulation.ts +1873 -0
- package/generated/models/LicenseActivation.ts +1415 -0
- package/generated/models/LicenseKey.ts +1884 -0
- package/generated/models/LoginLog.ts +1450 -0
- package/generated/models/MonitoringErrorReport.ts +1299 -0
- package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
- package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
- package/generated/models/MonitoringRequestLog.ts +1283 -0
- package/generated/models/PRD.ts +2805 -0
- package/generated/models/PRDPage.ts +2402 -0
- package/generated/models/PRDTag.ts +1430 -0
- package/generated/models/PRDVersion.ts +2121 -0
- package/generated/models/PageVersion.ts +1523 -0
- package/generated/models/PasswordResetToken.ts +1380 -0
- package/generated/models/Plan.ts +2069 -0
- package/generated/models/Project.ts +2148 -0
- package/generated/models/ProjectActivity.ts +1582 -0
- package/generated/models/ProjectMember.ts +1512 -0
- package/generated/models/ProviderEvent.ts +1227 -0
- package/generated/models/Reference.ts +1177 -0
- package/generated/models/Review.ts +1912 -0
- package/generated/models/ReviewComment.ts +1904 -0
- package/generated/models/RoleAssignment.ts +1430 -0
- package/generated/models/SequenceCounter.ts +1137 -0
- package/generated/models/Share.ts +1681 -0
- package/generated/models/ShareVersion.ts +1389 -0
- package/generated/models/SsoMapping.ts +1512 -0
- package/generated/models/SsoProvider.ts +1639 -0
- package/generated/models/Story.ts +5234 -0
- package/generated/models/StoryActivity.ts +1664 -0
- package/generated/models/StoryAttachment.ts +1467 -0
- package/generated/models/StoryComment.ts +1992 -0
- package/generated/models/StoryDependency.ts +1517 -0
- package/generated/models/StoryDocLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +1587 -0
- package/generated/models/StoryLabel.ts +1349 -0
- package/generated/models/StoryLink.ts +1415 -0
- package/generated/models/StoryPrdLink.ts +1430 -0
- package/generated/models/StoryReaction.ts +1472 -0
- package/generated/models/Subscription.ts +2147 -0
- package/generated/models/SystemSetting.ts +1217 -0
- package/generated/models/Tag.ts +1655 -0
- package/generated/models/TeamInvitation.ts +1526 -0
- package/generated/models/TeamMembership.ts +1436 -0
- package/generated/models/Template.ts +1391 -0
- package/generated/models/TemplateBlock.ts +1664 -0
- package/generated/models/ThirdPartyDependency.ts +1473 -0
- package/generated/models/UsageRecord.ts +1505 -0
- package/generated/models/User.ts +20998 -0
- package/generated/models/UserAgent.ts +1900 -0
- package/generated/models/UserSkill.ts +1456 -0
- package/generated/models/WebsiteBookmark.ts +2219 -0
- package/generated/models/Workspace.ts +2279 -0
- package/generated/models.ts +106 -0
- package/generated-sqlite/browser.ts +399 -0
- package/generated-sqlite/client.ts +423 -0
- package/generated-sqlite/commonInputTypes.ts +608 -0
- package/generated-sqlite/enums.ts +15 -0
- package/generated-sqlite/internal/class.ts +954 -0
- package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
- package/generated-sqlite/models/AgentConversation.ts +1647 -0
- package/generated-sqlite/models/AgentMessage.ts +1406 -0
- package/generated-sqlite/models/AiProvider.ts +1605 -0
- package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
- package/generated-sqlite/models/AiUsageLog.ts +1845 -0
- package/generated-sqlite/models/AnyHubApp.ts +1908 -0
- package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
- package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
- package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
- package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
- package/generated-sqlite/models/Artboard.ts +1808 -0
- package/generated-sqlite/models/ArtboardExport.ts +1545 -0
- package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
- package/generated-sqlite/models/AuditLog.ts +1287 -0
- package/generated-sqlite/models/Block.ts +1648 -0
- package/generated-sqlite/models/BlockComponent.ts +1730 -0
- package/generated-sqlite/models/BlockInstance.ts +2039 -0
- package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
- package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
- package/generated-sqlite/models/ChatMessage.ts +1435 -0
- package/generated-sqlite/models/ChatRun.ts +1629 -0
- package/generated-sqlite/models/ChatThread.ts +2129 -0
- package/generated-sqlite/models/Comment.ts +2201 -0
- package/generated-sqlite/models/CommentIgnore.ts +1426 -0
- package/generated-sqlite/models/ComplianceExport.ts +1343 -0
- package/generated-sqlite/models/Component.ts +2326 -0
- package/generated-sqlite/models/ComponentInstance.ts +2097 -0
- package/generated-sqlite/models/ComponentTag.ts +1278 -0
- package/generated-sqlite/models/CustomRole.ts +1209 -0
- package/generated-sqlite/models/DesignProject.ts +1640 -0
- package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
- package/generated-sqlite/models/GenerationRun.ts +1540 -0
- package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
- package/generated-sqlite/models/InvitationCode.ts +1415 -0
- package/generated-sqlite/models/InvitationUse.ts +1420 -0
- package/generated-sqlite/models/Invoice.ts +1707 -0
- package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
- package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
- package/generated-sqlite/models/LegalRegulation.ts +1870 -0
- package/generated-sqlite/models/LicenseActivation.ts +1203 -0
- package/generated-sqlite/models/LicenseKey.ts +1443 -0
- package/generated-sqlite/models/LoginLog.ts +1447 -0
- package/generated-sqlite/models/PRD.ts +2616 -0
- package/generated-sqlite/models/PRDPage.ts +2398 -0
- package/generated-sqlite/models/PRDTag.ts +1426 -0
- package/generated-sqlite/models/PRDVersion.ts +2117 -0
- package/generated-sqlite/models/PageVersion.ts +1528 -0
- package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
- package/generated-sqlite/models/Plan.ts +2060 -0
- package/generated-sqlite/models/Project.ts +1994 -0
- package/generated-sqlite/models/ProjectActivity.ts +1578 -0
- package/generated-sqlite/models/ProjectMember.ts +1508 -0
- package/generated-sqlite/models/ProviderEvent.ts +1225 -0
- package/generated-sqlite/models/Reference.ts +1175 -0
- package/generated-sqlite/models/Review.ts +1903 -0
- package/generated-sqlite/models/ReviewComment.ts +1899 -0
- package/generated-sqlite/models/RoleAssignment.ts +1125 -0
- package/generated-sqlite/models/Share.ts +1674 -0
- package/generated-sqlite/models/ShareVersion.ts +1385 -0
- package/generated-sqlite/models/SsoMapping.ts +1181 -0
- package/generated-sqlite/models/SsoProvider.ts +1266 -0
- package/generated-sqlite/models/Subscription.ts +2137 -0
- package/generated-sqlite/models/SystemSetting.ts +1215 -0
- package/generated-sqlite/models/Tag.ts +1652 -0
- package/generated-sqlite/models/TeamInvitation.ts +1523 -0
- package/generated-sqlite/models/TeamMembership.ts +1433 -0
- package/generated-sqlite/models/Template.ts +1389 -0
- package/generated-sqlite/models/TemplateBlock.ts +1660 -0
- package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
- package/generated-sqlite/models/UsageRecord.ts +1498 -0
- package/generated-sqlite/models/User.ts +13558 -0
- package/generated-sqlite/models/UserAgent.ts +1897 -0
- package/generated-sqlite/models/UserSkill.ts +1453 -0
- package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
- package/generated-sqlite/models/Workspace.ts +1824 -0
- package/generated-sqlite/models.ts +87 -0
- package/package.json +7 -3
- package/LICENSE +0 -661
|
@@ -0,0 +1,1447 @@
|
|
|
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 `LoginLog` 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 LoginLog
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type LoginLogModel = runtime.Types.Result.DefaultSelection<Prisma.$LoginLogPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateLoginLog = {
|
|
22
|
+
_count: LoginLogCountAggregateOutputType | null
|
|
23
|
+
_min: LoginLogMinAggregateOutputType | null
|
|
24
|
+
_max: LoginLogMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type LoginLogMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
userId: string | null
|
|
30
|
+
ip: string | null
|
|
31
|
+
userAgent: string | null
|
|
32
|
+
location: string | null
|
|
33
|
+
success: boolean | null
|
|
34
|
+
message: string | null
|
|
35
|
+
createdAt: Date | null
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type LoginLogMaxAggregateOutputType = {
|
|
39
|
+
id: string | null
|
|
40
|
+
userId: string | null
|
|
41
|
+
ip: string | null
|
|
42
|
+
userAgent: string | null
|
|
43
|
+
location: string | null
|
|
44
|
+
success: boolean | null
|
|
45
|
+
message: string | null
|
|
46
|
+
createdAt: Date | null
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type LoginLogCountAggregateOutputType = {
|
|
50
|
+
id: number
|
|
51
|
+
userId: number
|
|
52
|
+
ip: number
|
|
53
|
+
userAgent: number
|
|
54
|
+
location: number
|
|
55
|
+
success: number
|
|
56
|
+
message: number
|
|
57
|
+
createdAt: number
|
|
58
|
+
_all: number
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
export type LoginLogMinAggregateInputType = {
|
|
63
|
+
id?: true
|
|
64
|
+
userId?: true
|
|
65
|
+
ip?: true
|
|
66
|
+
userAgent?: true
|
|
67
|
+
location?: true
|
|
68
|
+
success?: true
|
|
69
|
+
message?: true
|
|
70
|
+
createdAt?: true
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type LoginLogMaxAggregateInputType = {
|
|
74
|
+
id?: true
|
|
75
|
+
userId?: true
|
|
76
|
+
ip?: true
|
|
77
|
+
userAgent?: true
|
|
78
|
+
location?: true
|
|
79
|
+
success?: true
|
|
80
|
+
message?: true
|
|
81
|
+
createdAt?: true
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type LoginLogCountAggregateInputType = {
|
|
85
|
+
id?: true
|
|
86
|
+
userId?: true
|
|
87
|
+
ip?: true
|
|
88
|
+
userAgent?: true
|
|
89
|
+
location?: true
|
|
90
|
+
success?: true
|
|
91
|
+
message?: true
|
|
92
|
+
createdAt?: true
|
|
93
|
+
_all?: true
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export type LoginLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
97
|
+
/**
|
|
98
|
+
* Filter which LoginLog to aggregate.
|
|
99
|
+
*/
|
|
100
|
+
where?: Prisma.LoginLogWhereInput
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
103
|
+
*
|
|
104
|
+
* Determine the order of LoginLogs to fetch.
|
|
105
|
+
*/
|
|
106
|
+
orderBy?: Prisma.LoginLogOrderByWithRelationInput | Prisma.LoginLogOrderByWithRelationInput[]
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109
|
+
*
|
|
110
|
+
* Sets the start position
|
|
111
|
+
*/
|
|
112
|
+
cursor?: Prisma.LoginLogWhereUniqueInput
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
115
|
+
*
|
|
116
|
+
* Take `±n` LoginLogs from the position of the cursor.
|
|
117
|
+
*/
|
|
118
|
+
take?: number
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
121
|
+
*
|
|
122
|
+
* Skip the first `n` LoginLogs.
|
|
123
|
+
*/
|
|
124
|
+
skip?: number
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Count returned LoginLogs
|
|
129
|
+
**/
|
|
130
|
+
_count?: true | LoginLogCountAggregateInputType
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to find the minimum value
|
|
135
|
+
**/
|
|
136
|
+
_min?: LoginLogMinAggregateInputType
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to find the maximum value
|
|
141
|
+
**/
|
|
142
|
+
_max?: LoginLogMaxAggregateInputType
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export type GetLoginLogAggregateType<T extends LoginLogAggregateArgs> = {
|
|
146
|
+
[P in keyof T & keyof AggregateLoginLog]: P extends '_count' | 'count'
|
|
147
|
+
? T[P] extends true
|
|
148
|
+
? number
|
|
149
|
+
: Prisma.GetScalarType<T[P], AggregateLoginLog[P]>
|
|
150
|
+
: Prisma.GetScalarType<T[P], AggregateLoginLog[P]>
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
export type LoginLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
157
|
+
where?: Prisma.LoginLogWhereInput
|
|
158
|
+
orderBy?: Prisma.LoginLogOrderByWithAggregationInput | Prisma.LoginLogOrderByWithAggregationInput[]
|
|
159
|
+
by: Prisma.LoginLogScalarFieldEnum[] | Prisma.LoginLogScalarFieldEnum
|
|
160
|
+
having?: Prisma.LoginLogScalarWhereWithAggregatesInput
|
|
161
|
+
take?: number
|
|
162
|
+
skip?: number
|
|
163
|
+
_count?: LoginLogCountAggregateInputType | true
|
|
164
|
+
_min?: LoginLogMinAggregateInputType
|
|
165
|
+
_max?: LoginLogMaxAggregateInputType
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export type LoginLogGroupByOutputType = {
|
|
169
|
+
id: string
|
|
170
|
+
userId: string
|
|
171
|
+
ip: string | null
|
|
172
|
+
userAgent: string | null
|
|
173
|
+
location: string | null
|
|
174
|
+
success: boolean
|
|
175
|
+
message: string | null
|
|
176
|
+
createdAt: Date
|
|
177
|
+
_count: LoginLogCountAggregateOutputType | null
|
|
178
|
+
_min: LoginLogMinAggregateOutputType | null
|
|
179
|
+
_max: LoginLogMaxAggregateOutputType | null
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export type GetLoginLogGroupByPayload<T extends LoginLogGroupByArgs> = Prisma.PrismaPromise<
|
|
183
|
+
Array<
|
|
184
|
+
Prisma.PickEnumerable<LoginLogGroupByOutputType, T['by']> &
|
|
185
|
+
{
|
|
186
|
+
[P in ((keyof T) & (keyof LoginLogGroupByOutputType))]: P extends '_count'
|
|
187
|
+
? T[P] extends boolean
|
|
188
|
+
? number
|
|
189
|
+
: Prisma.GetScalarType<T[P], LoginLogGroupByOutputType[P]>
|
|
190
|
+
: Prisma.GetScalarType<T[P], LoginLogGroupByOutputType[P]>
|
|
191
|
+
}
|
|
192
|
+
>
|
|
193
|
+
>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
export type LoginLogWhereInput = {
|
|
198
|
+
AND?: Prisma.LoginLogWhereInput | Prisma.LoginLogWhereInput[]
|
|
199
|
+
OR?: Prisma.LoginLogWhereInput[]
|
|
200
|
+
NOT?: Prisma.LoginLogWhereInput | Prisma.LoginLogWhereInput[]
|
|
201
|
+
id?: Prisma.StringFilter<"LoginLog"> | string
|
|
202
|
+
userId?: Prisma.StringFilter<"LoginLog"> | string
|
|
203
|
+
ip?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
204
|
+
userAgent?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
205
|
+
location?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
206
|
+
success?: Prisma.BoolFilter<"LoginLog"> | boolean
|
|
207
|
+
message?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
208
|
+
createdAt?: Prisma.DateTimeFilter<"LoginLog"> | Date | string
|
|
209
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export type LoginLogOrderByWithRelationInput = {
|
|
213
|
+
id?: Prisma.SortOrder
|
|
214
|
+
userId?: Prisma.SortOrder
|
|
215
|
+
ip?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
216
|
+
userAgent?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
217
|
+
location?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
218
|
+
success?: Prisma.SortOrder
|
|
219
|
+
message?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
220
|
+
createdAt?: Prisma.SortOrder
|
|
221
|
+
user?: Prisma.UserOrderByWithRelationInput
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export type LoginLogWhereUniqueInput = Prisma.AtLeast<{
|
|
225
|
+
id?: string
|
|
226
|
+
AND?: Prisma.LoginLogWhereInput | Prisma.LoginLogWhereInput[]
|
|
227
|
+
OR?: Prisma.LoginLogWhereInput[]
|
|
228
|
+
NOT?: Prisma.LoginLogWhereInput | Prisma.LoginLogWhereInput[]
|
|
229
|
+
userId?: Prisma.StringFilter<"LoginLog"> | string
|
|
230
|
+
ip?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
231
|
+
userAgent?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
232
|
+
location?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
233
|
+
success?: Prisma.BoolFilter<"LoginLog"> | boolean
|
|
234
|
+
message?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
235
|
+
createdAt?: Prisma.DateTimeFilter<"LoginLog"> | Date | string
|
|
236
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
237
|
+
}, "id">
|
|
238
|
+
|
|
239
|
+
export type LoginLogOrderByWithAggregationInput = {
|
|
240
|
+
id?: Prisma.SortOrder
|
|
241
|
+
userId?: Prisma.SortOrder
|
|
242
|
+
ip?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
243
|
+
userAgent?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
244
|
+
location?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
245
|
+
success?: Prisma.SortOrder
|
|
246
|
+
message?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
247
|
+
createdAt?: Prisma.SortOrder
|
|
248
|
+
_count?: Prisma.LoginLogCountOrderByAggregateInput
|
|
249
|
+
_max?: Prisma.LoginLogMaxOrderByAggregateInput
|
|
250
|
+
_min?: Prisma.LoginLogMinOrderByAggregateInput
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export type LoginLogScalarWhereWithAggregatesInput = {
|
|
254
|
+
AND?: Prisma.LoginLogScalarWhereWithAggregatesInput | Prisma.LoginLogScalarWhereWithAggregatesInput[]
|
|
255
|
+
OR?: Prisma.LoginLogScalarWhereWithAggregatesInput[]
|
|
256
|
+
NOT?: Prisma.LoginLogScalarWhereWithAggregatesInput | Prisma.LoginLogScalarWhereWithAggregatesInput[]
|
|
257
|
+
id?: Prisma.StringWithAggregatesFilter<"LoginLog"> | string
|
|
258
|
+
userId?: Prisma.StringWithAggregatesFilter<"LoginLog"> | string
|
|
259
|
+
ip?: Prisma.StringNullableWithAggregatesFilter<"LoginLog"> | string | null
|
|
260
|
+
userAgent?: Prisma.StringNullableWithAggregatesFilter<"LoginLog"> | string | null
|
|
261
|
+
location?: Prisma.StringNullableWithAggregatesFilter<"LoginLog"> | string | null
|
|
262
|
+
success?: Prisma.BoolWithAggregatesFilter<"LoginLog"> | boolean
|
|
263
|
+
message?: Prisma.StringNullableWithAggregatesFilter<"LoginLog"> | string | null
|
|
264
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"LoginLog"> | Date | string
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export type LoginLogCreateInput = {
|
|
268
|
+
id?: string
|
|
269
|
+
ip?: string | null
|
|
270
|
+
userAgent?: string | null
|
|
271
|
+
location?: string | null
|
|
272
|
+
success?: boolean
|
|
273
|
+
message?: string | null
|
|
274
|
+
createdAt?: Date | string
|
|
275
|
+
user: Prisma.UserCreateNestedOneWithoutLoginLogsInput
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export type LoginLogUncheckedCreateInput = {
|
|
279
|
+
id?: string
|
|
280
|
+
userId: string
|
|
281
|
+
ip?: string | null
|
|
282
|
+
userAgent?: string | null
|
|
283
|
+
location?: string | null
|
|
284
|
+
success?: boolean
|
|
285
|
+
message?: string | null
|
|
286
|
+
createdAt?: Date | string
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type LoginLogUpdateInput = {
|
|
290
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
291
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
292
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
293
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
294
|
+
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
295
|
+
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
296
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
297
|
+
user?: Prisma.UserUpdateOneRequiredWithoutLoginLogsNestedInput
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type LoginLogUncheckedUpdateInput = {
|
|
301
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
302
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
303
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
304
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
305
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
306
|
+
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
307
|
+
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
308
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type LoginLogCreateManyInput = {
|
|
312
|
+
id?: string
|
|
313
|
+
userId: string
|
|
314
|
+
ip?: string | null
|
|
315
|
+
userAgent?: string | null
|
|
316
|
+
location?: string | null
|
|
317
|
+
success?: boolean
|
|
318
|
+
message?: string | null
|
|
319
|
+
createdAt?: Date | string
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export type LoginLogUpdateManyMutationInput = {
|
|
323
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
324
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
325
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
326
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
327
|
+
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
328
|
+
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
329
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export type LoginLogUncheckedUpdateManyInput = {
|
|
333
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
334
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
335
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
336
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
337
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
338
|
+
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
339
|
+
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
340
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export type LoginLogListRelationFilter = {
|
|
344
|
+
every?: Prisma.LoginLogWhereInput
|
|
345
|
+
some?: Prisma.LoginLogWhereInput
|
|
346
|
+
none?: Prisma.LoginLogWhereInput
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type LoginLogOrderByRelationAggregateInput = {
|
|
350
|
+
_count?: Prisma.SortOrder
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export type LoginLogCountOrderByAggregateInput = {
|
|
354
|
+
id?: Prisma.SortOrder
|
|
355
|
+
userId?: Prisma.SortOrder
|
|
356
|
+
ip?: Prisma.SortOrder
|
|
357
|
+
userAgent?: Prisma.SortOrder
|
|
358
|
+
location?: Prisma.SortOrder
|
|
359
|
+
success?: Prisma.SortOrder
|
|
360
|
+
message?: Prisma.SortOrder
|
|
361
|
+
createdAt?: Prisma.SortOrder
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export type LoginLogMaxOrderByAggregateInput = {
|
|
365
|
+
id?: Prisma.SortOrder
|
|
366
|
+
userId?: Prisma.SortOrder
|
|
367
|
+
ip?: Prisma.SortOrder
|
|
368
|
+
userAgent?: Prisma.SortOrder
|
|
369
|
+
location?: Prisma.SortOrder
|
|
370
|
+
success?: Prisma.SortOrder
|
|
371
|
+
message?: Prisma.SortOrder
|
|
372
|
+
createdAt?: Prisma.SortOrder
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export type LoginLogMinOrderByAggregateInput = {
|
|
376
|
+
id?: Prisma.SortOrder
|
|
377
|
+
userId?: Prisma.SortOrder
|
|
378
|
+
ip?: Prisma.SortOrder
|
|
379
|
+
userAgent?: Prisma.SortOrder
|
|
380
|
+
location?: Prisma.SortOrder
|
|
381
|
+
success?: Prisma.SortOrder
|
|
382
|
+
message?: Prisma.SortOrder
|
|
383
|
+
createdAt?: Prisma.SortOrder
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export type LoginLogCreateNestedManyWithoutUserInput = {
|
|
387
|
+
create?: Prisma.XOR<Prisma.LoginLogCreateWithoutUserInput, Prisma.LoginLogUncheckedCreateWithoutUserInput> | Prisma.LoginLogCreateWithoutUserInput[] | Prisma.LoginLogUncheckedCreateWithoutUserInput[]
|
|
388
|
+
connectOrCreate?: Prisma.LoginLogCreateOrConnectWithoutUserInput | Prisma.LoginLogCreateOrConnectWithoutUserInput[]
|
|
389
|
+
createMany?: Prisma.LoginLogCreateManyUserInputEnvelope
|
|
390
|
+
connect?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export type LoginLogUncheckedCreateNestedManyWithoutUserInput = {
|
|
394
|
+
create?: Prisma.XOR<Prisma.LoginLogCreateWithoutUserInput, Prisma.LoginLogUncheckedCreateWithoutUserInput> | Prisma.LoginLogCreateWithoutUserInput[] | Prisma.LoginLogUncheckedCreateWithoutUserInput[]
|
|
395
|
+
connectOrCreate?: Prisma.LoginLogCreateOrConnectWithoutUserInput | Prisma.LoginLogCreateOrConnectWithoutUserInput[]
|
|
396
|
+
createMany?: Prisma.LoginLogCreateManyUserInputEnvelope
|
|
397
|
+
connect?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export type LoginLogUpdateManyWithoutUserNestedInput = {
|
|
401
|
+
create?: Prisma.XOR<Prisma.LoginLogCreateWithoutUserInput, Prisma.LoginLogUncheckedCreateWithoutUserInput> | Prisma.LoginLogCreateWithoutUserInput[] | Prisma.LoginLogUncheckedCreateWithoutUserInput[]
|
|
402
|
+
connectOrCreate?: Prisma.LoginLogCreateOrConnectWithoutUserInput | Prisma.LoginLogCreateOrConnectWithoutUserInput[]
|
|
403
|
+
upsert?: Prisma.LoginLogUpsertWithWhereUniqueWithoutUserInput | Prisma.LoginLogUpsertWithWhereUniqueWithoutUserInput[]
|
|
404
|
+
createMany?: Prisma.LoginLogCreateManyUserInputEnvelope
|
|
405
|
+
set?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
406
|
+
disconnect?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
407
|
+
delete?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
408
|
+
connect?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
409
|
+
update?: Prisma.LoginLogUpdateWithWhereUniqueWithoutUserInput | Prisma.LoginLogUpdateWithWhereUniqueWithoutUserInput[]
|
|
410
|
+
updateMany?: Prisma.LoginLogUpdateManyWithWhereWithoutUserInput | Prisma.LoginLogUpdateManyWithWhereWithoutUserInput[]
|
|
411
|
+
deleteMany?: Prisma.LoginLogScalarWhereInput | Prisma.LoginLogScalarWhereInput[]
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export type LoginLogUncheckedUpdateManyWithoutUserNestedInput = {
|
|
415
|
+
create?: Prisma.XOR<Prisma.LoginLogCreateWithoutUserInput, Prisma.LoginLogUncheckedCreateWithoutUserInput> | Prisma.LoginLogCreateWithoutUserInput[] | Prisma.LoginLogUncheckedCreateWithoutUserInput[]
|
|
416
|
+
connectOrCreate?: Prisma.LoginLogCreateOrConnectWithoutUserInput | Prisma.LoginLogCreateOrConnectWithoutUserInput[]
|
|
417
|
+
upsert?: Prisma.LoginLogUpsertWithWhereUniqueWithoutUserInput | Prisma.LoginLogUpsertWithWhereUniqueWithoutUserInput[]
|
|
418
|
+
createMany?: Prisma.LoginLogCreateManyUserInputEnvelope
|
|
419
|
+
set?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
420
|
+
disconnect?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
421
|
+
delete?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
422
|
+
connect?: Prisma.LoginLogWhereUniqueInput | Prisma.LoginLogWhereUniqueInput[]
|
|
423
|
+
update?: Prisma.LoginLogUpdateWithWhereUniqueWithoutUserInput | Prisma.LoginLogUpdateWithWhereUniqueWithoutUserInput[]
|
|
424
|
+
updateMany?: Prisma.LoginLogUpdateManyWithWhereWithoutUserInput | Prisma.LoginLogUpdateManyWithWhereWithoutUserInput[]
|
|
425
|
+
deleteMany?: Prisma.LoginLogScalarWhereInput | Prisma.LoginLogScalarWhereInput[]
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export type LoginLogCreateWithoutUserInput = {
|
|
429
|
+
id?: string
|
|
430
|
+
ip?: string | null
|
|
431
|
+
userAgent?: string | null
|
|
432
|
+
location?: string | null
|
|
433
|
+
success?: boolean
|
|
434
|
+
message?: string | null
|
|
435
|
+
createdAt?: Date | string
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type LoginLogUncheckedCreateWithoutUserInput = {
|
|
439
|
+
id?: string
|
|
440
|
+
ip?: string | null
|
|
441
|
+
userAgent?: string | null
|
|
442
|
+
location?: string | null
|
|
443
|
+
success?: boolean
|
|
444
|
+
message?: string | null
|
|
445
|
+
createdAt?: Date | string
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export type LoginLogCreateOrConnectWithoutUserInput = {
|
|
449
|
+
where: Prisma.LoginLogWhereUniqueInput
|
|
450
|
+
create: Prisma.XOR<Prisma.LoginLogCreateWithoutUserInput, Prisma.LoginLogUncheckedCreateWithoutUserInput>
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export type LoginLogCreateManyUserInputEnvelope = {
|
|
454
|
+
data: Prisma.LoginLogCreateManyUserInput | Prisma.LoginLogCreateManyUserInput[]
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export type LoginLogUpsertWithWhereUniqueWithoutUserInput = {
|
|
458
|
+
where: Prisma.LoginLogWhereUniqueInput
|
|
459
|
+
update: Prisma.XOR<Prisma.LoginLogUpdateWithoutUserInput, Prisma.LoginLogUncheckedUpdateWithoutUserInput>
|
|
460
|
+
create: Prisma.XOR<Prisma.LoginLogCreateWithoutUserInput, Prisma.LoginLogUncheckedCreateWithoutUserInput>
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export type LoginLogUpdateWithWhereUniqueWithoutUserInput = {
|
|
464
|
+
where: Prisma.LoginLogWhereUniqueInput
|
|
465
|
+
data: Prisma.XOR<Prisma.LoginLogUpdateWithoutUserInput, Prisma.LoginLogUncheckedUpdateWithoutUserInput>
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export type LoginLogUpdateManyWithWhereWithoutUserInput = {
|
|
469
|
+
where: Prisma.LoginLogScalarWhereInput
|
|
470
|
+
data: Prisma.XOR<Prisma.LoginLogUpdateManyMutationInput, Prisma.LoginLogUncheckedUpdateManyWithoutUserInput>
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export type LoginLogScalarWhereInput = {
|
|
474
|
+
AND?: Prisma.LoginLogScalarWhereInput | Prisma.LoginLogScalarWhereInput[]
|
|
475
|
+
OR?: Prisma.LoginLogScalarWhereInput[]
|
|
476
|
+
NOT?: Prisma.LoginLogScalarWhereInput | Prisma.LoginLogScalarWhereInput[]
|
|
477
|
+
id?: Prisma.StringFilter<"LoginLog"> | string
|
|
478
|
+
userId?: Prisma.StringFilter<"LoginLog"> | string
|
|
479
|
+
ip?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
480
|
+
userAgent?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
481
|
+
location?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
482
|
+
success?: Prisma.BoolFilter<"LoginLog"> | boolean
|
|
483
|
+
message?: Prisma.StringNullableFilter<"LoginLog"> | string | null
|
|
484
|
+
createdAt?: Prisma.DateTimeFilter<"LoginLog"> | Date | string
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export type LoginLogCreateManyUserInput = {
|
|
488
|
+
id?: string
|
|
489
|
+
ip?: string | null
|
|
490
|
+
userAgent?: string | null
|
|
491
|
+
location?: string | null
|
|
492
|
+
success?: boolean
|
|
493
|
+
message?: string | null
|
|
494
|
+
createdAt?: Date | string
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export type LoginLogUpdateWithoutUserInput = {
|
|
498
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
499
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
500
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
501
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
502
|
+
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
503
|
+
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
504
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export type LoginLogUncheckedUpdateWithoutUserInput = {
|
|
508
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
509
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
510
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
511
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
512
|
+
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
513
|
+
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
514
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
export type LoginLogUncheckedUpdateManyWithoutUserInput = {
|
|
518
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
519
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
520
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
521
|
+
location?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
522
|
+
success?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
523
|
+
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
524
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
export type LoginLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
530
|
+
id?: boolean
|
|
531
|
+
userId?: boolean
|
|
532
|
+
ip?: boolean
|
|
533
|
+
userAgent?: boolean
|
|
534
|
+
location?: boolean
|
|
535
|
+
success?: boolean
|
|
536
|
+
message?: boolean
|
|
537
|
+
createdAt?: boolean
|
|
538
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
539
|
+
}, ExtArgs["result"]["loginLog"]>
|
|
540
|
+
|
|
541
|
+
export type LoginLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
542
|
+
id?: boolean
|
|
543
|
+
userId?: boolean
|
|
544
|
+
ip?: boolean
|
|
545
|
+
userAgent?: boolean
|
|
546
|
+
location?: boolean
|
|
547
|
+
success?: boolean
|
|
548
|
+
message?: boolean
|
|
549
|
+
createdAt?: boolean
|
|
550
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
551
|
+
}, ExtArgs["result"]["loginLog"]>
|
|
552
|
+
|
|
553
|
+
export type LoginLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
554
|
+
id?: boolean
|
|
555
|
+
userId?: boolean
|
|
556
|
+
ip?: boolean
|
|
557
|
+
userAgent?: boolean
|
|
558
|
+
location?: boolean
|
|
559
|
+
success?: boolean
|
|
560
|
+
message?: boolean
|
|
561
|
+
createdAt?: boolean
|
|
562
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
563
|
+
}, ExtArgs["result"]["loginLog"]>
|
|
564
|
+
|
|
565
|
+
export type LoginLogSelectScalar = {
|
|
566
|
+
id?: boolean
|
|
567
|
+
userId?: boolean
|
|
568
|
+
ip?: boolean
|
|
569
|
+
userAgent?: boolean
|
|
570
|
+
location?: boolean
|
|
571
|
+
success?: boolean
|
|
572
|
+
message?: boolean
|
|
573
|
+
createdAt?: boolean
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export type LoginLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "ip" | "userAgent" | "location" | "success" | "message" | "createdAt", ExtArgs["result"]["loginLog"]>
|
|
577
|
+
export type LoginLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
578
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
579
|
+
}
|
|
580
|
+
export type LoginLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
581
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
582
|
+
}
|
|
583
|
+
export type LoginLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
584
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export type $LoginLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
588
|
+
name: "LoginLog"
|
|
589
|
+
objects: {
|
|
590
|
+
user: Prisma.$UserPayload<ExtArgs>
|
|
591
|
+
}
|
|
592
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
593
|
+
id: string
|
|
594
|
+
userId: string
|
|
595
|
+
ip: string | null
|
|
596
|
+
userAgent: string | null
|
|
597
|
+
location: string | null
|
|
598
|
+
success: boolean
|
|
599
|
+
message: string | null
|
|
600
|
+
createdAt: Date
|
|
601
|
+
}, ExtArgs["result"]["loginLog"]>
|
|
602
|
+
composites: {}
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export type LoginLogGetPayload<S extends boolean | null | undefined | LoginLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$LoginLogPayload, S>
|
|
606
|
+
|
|
607
|
+
export type LoginLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
608
|
+
Omit<LoginLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
609
|
+
select?: LoginLogCountAggregateInputType | true
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
export interface LoginLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
613
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['LoginLog'], meta: { name: 'LoginLog' } }
|
|
614
|
+
/**
|
|
615
|
+
* Find zero or one LoginLog that matches the filter.
|
|
616
|
+
* @param {LoginLogFindUniqueArgs} args - Arguments to find a LoginLog
|
|
617
|
+
* @example
|
|
618
|
+
* // Get one LoginLog
|
|
619
|
+
* const loginLog = await prisma.loginLog.findUnique({
|
|
620
|
+
* where: {
|
|
621
|
+
* // ... provide filter here
|
|
622
|
+
* }
|
|
623
|
+
* })
|
|
624
|
+
*/
|
|
625
|
+
findUnique<T extends LoginLogFindUniqueArgs>(args: Prisma.SelectSubset<T, LoginLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__LoginLogClient<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Find one LoginLog that matches the filter or throw an error with `error.code='P2025'`
|
|
629
|
+
* if no matches were found.
|
|
630
|
+
* @param {LoginLogFindUniqueOrThrowArgs} args - Arguments to find a LoginLog
|
|
631
|
+
* @example
|
|
632
|
+
* // Get one LoginLog
|
|
633
|
+
* const loginLog = await prisma.loginLog.findUniqueOrThrow({
|
|
634
|
+
* where: {
|
|
635
|
+
* // ... provide filter here
|
|
636
|
+
* }
|
|
637
|
+
* })
|
|
638
|
+
*/
|
|
639
|
+
findUniqueOrThrow<T extends LoginLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, LoginLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__LoginLogClient<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Find the first LoginLog that matches the filter.
|
|
643
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
644
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
645
|
+
* @param {LoginLogFindFirstArgs} args - Arguments to find a LoginLog
|
|
646
|
+
* @example
|
|
647
|
+
* // Get one LoginLog
|
|
648
|
+
* const loginLog = await prisma.loginLog.findFirst({
|
|
649
|
+
* where: {
|
|
650
|
+
* // ... provide filter here
|
|
651
|
+
* }
|
|
652
|
+
* })
|
|
653
|
+
*/
|
|
654
|
+
findFirst<T extends LoginLogFindFirstArgs>(args?: Prisma.SelectSubset<T, LoginLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__LoginLogClient<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Find the first LoginLog that matches the filter or
|
|
658
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
659
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
660
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
661
|
+
* @param {LoginLogFindFirstOrThrowArgs} args - Arguments to find a LoginLog
|
|
662
|
+
* @example
|
|
663
|
+
* // Get one LoginLog
|
|
664
|
+
* const loginLog = await prisma.loginLog.findFirstOrThrow({
|
|
665
|
+
* where: {
|
|
666
|
+
* // ... provide filter here
|
|
667
|
+
* }
|
|
668
|
+
* })
|
|
669
|
+
*/
|
|
670
|
+
findFirstOrThrow<T extends LoginLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, LoginLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__LoginLogClient<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Find zero or more LoginLogs that matches the filter.
|
|
674
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
675
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
676
|
+
* @param {LoginLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
677
|
+
* @example
|
|
678
|
+
* // Get all LoginLogs
|
|
679
|
+
* const loginLogs = await prisma.loginLog.findMany()
|
|
680
|
+
*
|
|
681
|
+
* // Get first 10 LoginLogs
|
|
682
|
+
* const loginLogs = await prisma.loginLog.findMany({ take: 10 })
|
|
683
|
+
*
|
|
684
|
+
* // Only select the `id`
|
|
685
|
+
* const loginLogWithIdOnly = await prisma.loginLog.findMany({ select: { id: true } })
|
|
686
|
+
*
|
|
687
|
+
*/
|
|
688
|
+
findMany<T extends LoginLogFindManyArgs>(args?: Prisma.SelectSubset<T, LoginLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Create a LoginLog.
|
|
692
|
+
* @param {LoginLogCreateArgs} args - Arguments to create a LoginLog.
|
|
693
|
+
* @example
|
|
694
|
+
* // Create one LoginLog
|
|
695
|
+
* const LoginLog = await prisma.loginLog.create({
|
|
696
|
+
* data: {
|
|
697
|
+
* // ... data to create a LoginLog
|
|
698
|
+
* }
|
|
699
|
+
* })
|
|
700
|
+
*
|
|
701
|
+
*/
|
|
702
|
+
create<T extends LoginLogCreateArgs>(args: Prisma.SelectSubset<T, LoginLogCreateArgs<ExtArgs>>): Prisma.Prisma__LoginLogClient<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* Create many LoginLogs.
|
|
706
|
+
* @param {LoginLogCreateManyArgs} args - Arguments to create many LoginLogs.
|
|
707
|
+
* @example
|
|
708
|
+
* // Create many LoginLogs
|
|
709
|
+
* const loginLog = await prisma.loginLog.createMany({
|
|
710
|
+
* data: [
|
|
711
|
+
* // ... provide data here
|
|
712
|
+
* ]
|
|
713
|
+
* })
|
|
714
|
+
*
|
|
715
|
+
*/
|
|
716
|
+
createMany<T extends LoginLogCreateManyArgs>(args?: Prisma.SelectSubset<T, LoginLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Create many LoginLogs and returns the data saved in the database.
|
|
720
|
+
* @param {LoginLogCreateManyAndReturnArgs} args - Arguments to create many LoginLogs.
|
|
721
|
+
* @example
|
|
722
|
+
* // Create many LoginLogs
|
|
723
|
+
* const loginLog = await prisma.loginLog.createManyAndReturn({
|
|
724
|
+
* data: [
|
|
725
|
+
* // ... provide data here
|
|
726
|
+
* ]
|
|
727
|
+
* })
|
|
728
|
+
*
|
|
729
|
+
* // Create many LoginLogs and only return the `id`
|
|
730
|
+
* const loginLogWithIdOnly = await prisma.loginLog.createManyAndReturn({
|
|
731
|
+
* select: { id: true },
|
|
732
|
+
* data: [
|
|
733
|
+
* // ... provide data here
|
|
734
|
+
* ]
|
|
735
|
+
* })
|
|
736
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
737
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
738
|
+
*
|
|
739
|
+
*/
|
|
740
|
+
createManyAndReturn<T extends LoginLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, LoginLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Delete a LoginLog.
|
|
744
|
+
* @param {LoginLogDeleteArgs} args - Arguments to delete one LoginLog.
|
|
745
|
+
* @example
|
|
746
|
+
* // Delete one LoginLog
|
|
747
|
+
* const LoginLog = await prisma.loginLog.delete({
|
|
748
|
+
* where: {
|
|
749
|
+
* // ... filter to delete one LoginLog
|
|
750
|
+
* }
|
|
751
|
+
* })
|
|
752
|
+
*
|
|
753
|
+
*/
|
|
754
|
+
delete<T extends LoginLogDeleteArgs>(args: Prisma.SelectSubset<T, LoginLogDeleteArgs<ExtArgs>>): Prisma.Prisma__LoginLogClient<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Update one LoginLog.
|
|
758
|
+
* @param {LoginLogUpdateArgs} args - Arguments to update one LoginLog.
|
|
759
|
+
* @example
|
|
760
|
+
* // Update one LoginLog
|
|
761
|
+
* const loginLog = await prisma.loginLog.update({
|
|
762
|
+
* where: {
|
|
763
|
+
* // ... provide filter here
|
|
764
|
+
* },
|
|
765
|
+
* data: {
|
|
766
|
+
* // ... provide data here
|
|
767
|
+
* }
|
|
768
|
+
* })
|
|
769
|
+
*
|
|
770
|
+
*/
|
|
771
|
+
update<T extends LoginLogUpdateArgs>(args: Prisma.SelectSubset<T, LoginLogUpdateArgs<ExtArgs>>): Prisma.Prisma__LoginLogClient<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* Delete zero or more LoginLogs.
|
|
775
|
+
* @param {LoginLogDeleteManyArgs} args - Arguments to filter LoginLogs to delete.
|
|
776
|
+
* @example
|
|
777
|
+
* // Delete a few LoginLogs
|
|
778
|
+
* const { count } = await prisma.loginLog.deleteMany({
|
|
779
|
+
* where: {
|
|
780
|
+
* // ... provide filter here
|
|
781
|
+
* }
|
|
782
|
+
* })
|
|
783
|
+
*
|
|
784
|
+
*/
|
|
785
|
+
deleteMany<T extends LoginLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, LoginLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Update zero or more LoginLogs.
|
|
789
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
790
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
791
|
+
* @param {LoginLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
792
|
+
* @example
|
|
793
|
+
* // Update many LoginLogs
|
|
794
|
+
* const loginLog = await prisma.loginLog.updateMany({
|
|
795
|
+
* where: {
|
|
796
|
+
* // ... provide filter here
|
|
797
|
+
* },
|
|
798
|
+
* data: {
|
|
799
|
+
* // ... provide data here
|
|
800
|
+
* }
|
|
801
|
+
* })
|
|
802
|
+
*
|
|
803
|
+
*/
|
|
804
|
+
updateMany<T extends LoginLogUpdateManyArgs>(args: Prisma.SelectSubset<T, LoginLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Update zero or more LoginLogs and returns the data updated in the database.
|
|
808
|
+
* @param {LoginLogUpdateManyAndReturnArgs} args - Arguments to update many LoginLogs.
|
|
809
|
+
* @example
|
|
810
|
+
* // Update many LoginLogs
|
|
811
|
+
* const loginLog = await prisma.loginLog.updateManyAndReturn({
|
|
812
|
+
* where: {
|
|
813
|
+
* // ... provide filter here
|
|
814
|
+
* },
|
|
815
|
+
* data: [
|
|
816
|
+
* // ... provide data here
|
|
817
|
+
* ]
|
|
818
|
+
* })
|
|
819
|
+
*
|
|
820
|
+
* // Update zero or more LoginLogs and only return the `id`
|
|
821
|
+
* const loginLogWithIdOnly = await prisma.loginLog.updateManyAndReturn({
|
|
822
|
+
* select: { id: true },
|
|
823
|
+
* where: {
|
|
824
|
+
* // ... provide filter here
|
|
825
|
+
* },
|
|
826
|
+
* data: [
|
|
827
|
+
* // ... provide data here
|
|
828
|
+
* ]
|
|
829
|
+
* })
|
|
830
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
831
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
832
|
+
*
|
|
833
|
+
*/
|
|
834
|
+
updateManyAndReturn<T extends LoginLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, LoginLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Create or update one LoginLog.
|
|
838
|
+
* @param {LoginLogUpsertArgs} args - Arguments to update or create a LoginLog.
|
|
839
|
+
* @example
|
|
840
|
+
* // Update or create a LoginLog
|
|
841
|
+
* const loginLog = await prisma.loginLog.upsert({
|
|
842
|
+
* create: {
|
|
843
|
+
* // ... data to create a LoginLog
|
|
844
|
+
* },
|
|
845
|
+
* update: {
|
|
846
|
+
* // ... in case it already exists, update
|
|
847
|
+
* },
|
|
848
|
+
* where: {
|
|
849
|
+
* // ... the filter for the LoginLog we want to update
|
|
850
|
+
* }
|
|
851
|
+
* })
|
|
852
|
+
*/
|
|
853
|
+
upsert<T extends LoginLogUpsertArgs>(args: Prisma.SelectSubset<T, LoginLogUpsertArgs<ExtArgs>>): Prisma.Prisma__LoginLogClient<runtime.Types.Result.GetResult<Prisma.$LoginLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Count the number of LoginLogs.
|
|
858
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
859
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
860
|
+
* @param {LoginLogCountArgs} args - Arguments to filter LoginLogs to count.
|
|
861
|
+
* @example
|
|
862
|
+
* // Count the number of LoginLogs
|
|
863
|
+
* const count = await prisma.loginLog.count({
|
|
864
|
+
* where: {
|
|
865
|
+
* // ... the filter for the LoginLogs we want to count
|
|
866
|
+
* }
|
|
867
|
+
* })
|
|
868
|
+
**/
|
|
869
|
+
count<T extends LoginLogCountArgs>(
|
|
870
|
+
args?: Prisma.Subset<T, LoginLogCountArgs>,
|
|
871
|
+
): Prisma.PrismaPromise<
|
|
872
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
873
|
+
? T['select'] extends true
|
|
874
|
+
? number
|
|
875
|
+
: Prisma.GetScalarType<T['select'], LoginLogCountAggregateOutputType>
|
|
876
|
+
: number
|
|
877
|
+
>
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* Allows you to perform aggregations operations on a LoginLog.
|
|
881
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
882
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
883
|
+
* @param {LoginLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
884
|
+
* @example
|
|
885
|
+
* // Ordered by age ascending
|
|
886
|
+
* // Where email contains prisma.io
|
|
887
|
+
* // Limited to the 10 users
|
|
888
|
+
* const aggregations = await prisma.user.aggregate({
|
|
889
|
+
* _avg: {
|
|
890
|
+
* age: true,
|
|
891
|
+
* },
|
|
892
|
+
* where: {
|
|
893
|
+
* email: {
|
|
894
|
+
* contains: "prisma.io",
|
|
895
|
+
* },
|
|
896
|
+
* },
|
|
897
|
+
* orderBy: {
|
|
898
|
+
* age: "asc",
|
|
899
|
+
* },
|
|
900
|
+
* take: 10,
|
|
901
|
+
* })
|
|
902
|
+
**/
|
|
903
|
+
aggregate<T extends LoginLogAggregateArgs>(args: Prisma.Subset<T, LoginLogAggregateArgs>): Prisma.PrismaPromise<GetLoginLogAggregateType<T>>
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* Group by LoginLog.
|
|
907
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
908
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
909
|
+
* @param {LoginLogGroupByArgs} args - Group by arguments.
|
|
910
|
+
* @example
|
|
911
|
+
* // Group by city, order by createdAt, get count
|
|
912
|
+
* const result = await prisma.user.groupBy({
|
|
913
|
+
* by: ['city', 'createdAt'],
|
|
914
|
+
* orderBy: {
|
|
915
|
+
* createdAt: true
|
|
916
|
+
* },
|
|
917
|
+
* _count: {
|
|
918
|
+
* _all: true
|
|
919
|
+
* },
|
|
920
|
+
* })
|
|
921
|
+
*
|
|
922
|
+
**/
|
|
923
|
+
groupBy<
|
|
924
|
+
T extends LoginLogGroupByArgs,
|
|
925
|
+
HasSelectOrTake extends Prisma.Or<
|
|
926
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
927
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
928
|
+
>,
|
|
929
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
930
|
+
? { orderBy: LoginLogGroupByArgs['orderBy'] }
|
|
931
|
+
: { orderBy?: LoginLogGroupByArgs['orderBy'] },
|
|
932
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
933
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
934
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
935
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
936
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
937
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
938
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
939
|
+
? `Error: "by" must not be empty.`
|
|
940
|
+
: HavingValid extends Prisma.False
|
|
941
|
+
? {
|
|
942
|
+
[P in HavingFields]: P extends ByFields
|
|
943
|
+
? never
|
|
944
|
+
: P extends string
|
|
945
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
946
|
+
: [
|
|
947
|
+
Error,
|
|
948
|
+
'Field ',
|
|
949
|
+
P,
|
|
950
|
+
` in "having" needs to be provided in "by"`,
|
|
951
|
+
]
|
|
952
|
+
}[HavingFields]
|
|
953
|
+
: 'take' extends Prisma.Keys<T>
|
|
954
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
955
|
+
? ByValid extends Prisma.True
|
|
956
|
+
? {}
|
|
957
|
+
: {
|
|
958
|
+
[P in OrderFields]: P extends ByFields
|
|
959
|
+
? never
|
|
960
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
961
|
+
}[OrderFields]
|
|
962
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
963
|
+
: 'skip' extends Prisma.Keys<T>
|
|
964
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
965
|
+
? ByValid extends Prisma.True
|
|
966
|
+
? {}
|
|
967
|
+
: {
|
|
968
|
+
[P in OrderFields]: P extends ByFields
|
|
969
|
+
? never
|
|
970
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
971
|
+
}[OrderFields]
|
|
972
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
973
|
+
: ByValid extends Prisma.True
|
|
974
|
+
? {}
|
|
975
|
+
: {
|
|
976
|
+
[P in OrderFields]: P extends ByFields
|
|
977
|
+
? never
|
|
978
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
979
|
+
}[OrderFields]
|
|
980
|
+
>(args: Prisma.SubsetIntersection<T, LoginLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLoginLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
981
|
+
/**
|
|
982
|
+
* Fields of the LoginLog model
|
|
983
|
+
*/
|
|
984
|
+
readonly fields: LoginLogFieldRefs;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* The delegate class that acts as a "Promise-like" for LoginLog.
|
|
989
|
+
* Why is this prefixed with `Prisma__`?
|
|
990
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
991
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
992
|
+
*/
|
|
993
|
+
export interface Prisma__LoginLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
994
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
995
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
996
|
+
/**
|
|
997
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
998
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
999
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1000
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1001
|
+
*/
|
|
1002
|
+
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>
|
|
1003
|
+
/**
|
|
1004
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1005
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1006
|
+
* @returns A Promise for the completion of the callback.
|
|
1007
|
+
*/
|
|
1008
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1009
|
+
/**
|
|
1010
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1011
|
+
* resolved value cannot be modified from the callback.
|
|
1012
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1013
|
+
* @returns A Promise for the completion of the callback.
|
|
1014
|
+
*/
|
|
1015
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* Fields of the LoginLog model
|
|
1023
|
+
*/
|
|
1024
|
+
export interface LoginLogFieldRefs {
|
|
1025
|
+
readonly id: Prisma.FieldRef<"LoginLog", 'String'>
|
|
1026
|
+
readonly userId: Prisma.FieldRef<"LoginLog", 'String'>
|
|
1027
|
+
readonly ip: Prisma.FieldRef<"LoginLog", 'String'>
|
|
1028
|
+
readonly userAgent: Prisma.FieldRef<"LoginLog", 'String'>
|
|
1029
|
+
readonly location: Prisma.FieldRef<"LoginLog", 'String'>
|
|
1030
|
+
readonly success: Prisma.FieldRef<"LoginLog", 'Boolean'>
|
|
1031
|
+
readonly message: Prisma.FieldRef<"LoginLog", 'String'>
|
|
1032
|
+
readonly createdAt: Prisma.FieldRef<"LoginLog", 'DateTime'>
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
// Custom InputTypes
|
|
1037
|
+
/**
|
|
1038
|
+
* LoginLog findUnique
|
|
1039
|
+
*/
|
|
1040
|
+
export type LoginLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1041
|
+
/**
|
|
1042
|
+
* Select specific fields to fetch from the LoginLog
|
|
1043
|
+
*/
|
|
1044
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1045
|
+
/**
|
|
1046
|
+
* Omit specific fields from the LoginLog
|
|
1047
|
+
*/
|
|
1048
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1049
|
+
/**
|
|
1050
|
+
* Choose, which related nodes to fetch as well
|
|
1051
|
+
*/
|
|
1052
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1053
|
+
/**
|
|
1054
|
+
* Filter, which LoginLog to fetch.
|
|
1055
|
+
*/
|
|
1056
|
+
where: Prisma.LoginLogWhereUniqueInput
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* LoginLog findUniqueOrThrow
|
|
1061
|
+
*/
|
|
1062
|
+
export type LoginLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1063
|
+
/**
|
|
1064
|
+
* Select specific fields to fetch from the LoginLog
|
|
1065
|
+
*/
|
|
1066
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1067
|
+
/**
|
|
1068
|
+
* Omit specific fields from the LoginLog
|
|
1069
|
+
*/
|
|
1070
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1071
|
+
/**
|
|
1072
|
+
* Choose, which related nodes to fetch as well
|
|
1073
|
+
*/
|
|
1074
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1075
|
+
/**
|
|
1076
|
+
* Filter, which LoginLog to fetch.
|
|
1077
|
+
*/
|
|
1078
|
+
where: Prisma.LoginLogWhereUniqueInput
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* LoginLog findFirst
|
|
1083
|
+
*/
|
|
1084
|
+
export type LoginLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1085
|
+
/**
|
|
1086
|
+
* Select specific fields to fetch from the LoginLog
|
|
1087
|
+
*/
|
|
1088
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1089
|
+
/**
|
|
1090
|
+
* Omit specific fields from the LoginLog
|
|
1091
|
+
*/
|
|
1092
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1093
|
+
/**
|
|
1094
|
+
* Choose, which related nodes to fetch as well
|
|
1095
|
+
*/
|
|
1096
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1097
|
+
/**
|
|
1098
|
+
* Filter, which LoginLog to fetch.
|
|
1099
|
+
*/
|
|
1100
|
+
where?: Prisma.LoginLogWhereInput
|
|
1101
|
+
/**
|
|
1102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1103
|
+
*
|
|
1104
|
+
* Determine the order of LoginLogs to fetch.
|
|
1105
|
+
*/
|
|
1106
|
+
orderBy?: Prisma.LoginLogOrderByWithRelationInput | Prisma.LoginLogOrderByWithRelationInput[]
|
|
1107
|
+
/**
|
|
1108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1109
|
+
*
|
|
1110
|
+
* Sets the position for searching for LoginLogs.
|
|
1111
|
+
*/
|
|
1112
|
+
cursor?: Prisma.LoginLogWhereUniqueInput
|
|
1113
|
+
/**
|
|
1114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1115
|
+
*
|
|
1116
|
+
* Take `±n` LoginLogs from the position of the cursor.
|
|
1117
|
+
*/
|
|
1118
|
+
take?: number
|
|
1119
|
+
/**
|
|
1120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1121
|
+
*
|
|
1122
|
+
* Skip the first `n` LoginLogs.
|
|
1123
|
+
*/
|
|
1124
|
+
skip?: number
|
|
1125
|
+
/**
|
|
1126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1127
|
+
*
|
|
1128
|
+
* Filter by unique combinations of LoginLogs.
|
|
1129
|
+
*/
|
|
1130
|
+
distinct?: Prisma.LoginLogScalarFieldEnum | Prisma.LoginLogScalarFieldEnum[]
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* LoginLog findFirstOrThrow
|
|
1135
|
+
*/
|
|
1136
|
+
export type LoginLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1137
|
+
/**
|
|
1138
|
+
* Select specific fields to fetch from the LoginLog
|
|
1139
|
+
*/
|
|
1140
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1141
|
+
/**
|
|
1142
|
+
* Omit specific fields from the LoginLog
|
|
1143
|
+
*/
|
|
1144
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1145
|
+
/**
|
|
1146
|
+
* Choose, which related nodes to fetch as well
|
|
1147
|
+
*/
|
|
1148
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1149
|
+
/**
|
|
1150
|
+
* Filter, which LoginLog to fetch.
|
|
1151
|
+
*/
|
|
1152
|
+
where?: Prisma.LoginLogWhereInput
|
|
1153
|
+
/**
|
|
1154
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1155
|
+
*
|
|
1156
|
+
* Determine the order of LoginLogs to fetch.
|
|
1157
|
+
*/
|
|
1158
|
+
orderBy?: Prisma.LoginLogOrderByWithRelationInput | Prisma.LoginLogOrderByWithRelationInput[]
|
|
1159
|
+
/**
|
|
1160
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1161
|
+
*
|
|
1162
|
+
* Sets the position for searching for LoginLogs.
|
|
1163
|
+
*/
|
|
1164
|
+
cursor?: Prisma.LoginLogWhereUniqueInput
|
|
1165
|
+
/**
|
|
1166
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1167
|
+
*
|
|
1168
|
+
* Take `±n` LoginLogs from the position of the cursor.
|
|
1169
|
+
*/
|
|
1170
|
+
take?: number
|
|
1171
|
+
/**
|
|
1172
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1173
|
+
*
|
|
1174
|
+
* Skip the first `n` LoginLogs.
|
|
1175
|
+
*/
|
|
1176
|
+
skip?: number
|
|
1177
|
+
/**
|
|
1178
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1179
|
+
*
|
|
1180
|
+
* Filter by unique combinations of LoginLogs.
|
|
1181
|
+
*/
|
|
1182
|
+
distinct?: Prisma.LoginLogScalarFieldEnum | Prisma.LoginLogScalarFieldEnum[]
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* LoginLog findMany
|
|
1187
|
+
*/
|
|
1188
|
+
export type LoginLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1189
|
+
/**
|
|
1190
|
+
* Select specific fields to fetch from the LoginLog
|
|
1191
|
+
*/
|
|
1192
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1193
|
+
/**
|
|
1194
|
+
* Omit specific fields from the LoginLog
|
|
1195
|
+
*/
|
|
1196
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1197
|
+
/**
|
|
1198
|
+
* Choose, which related nodes to fetch as well
|
|
1199
|
+
*/
|
|
1200
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1201
|
+
/**
|
|
1202
|
+
* Filter, which LoginLogs to fetch.
|
|
1203
|
+
*/
|
|
1204
|
+
where?: Prisma.LoginLogWhereInput
|
|
1205
|
+
/**
|
|
1206
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1207
|
+
*
|
|
1208
|
+
* Determine the order of LoginLogs to fetch.
|
|
1209
|
+
*/
|
|
1210
|
+
orderBy?: Prisma.LoginLogOrderByWithRelationInput | Prisma.LoginLogOrderByWithRelationInput[]
|
|
1211
|
+
/**
|
|
1212
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1213
|
+
*
|
|
1214
|
+
* Sets the position for listing LoginLogs.
|
|
1215
|
+
*/
|
|
1216
|
+
cursor?: Prisma.LoginLogWhereUniqueInput
|
|
1217
|
+
/**
|
|
1218
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1219
|
+
*
|
|
1220
|
+
* Take `±n` LoginLogs from the position of the cursor.
|
|
1221
|
+
*/
|
|
1222
|
+
take?: number
|
|
1223
|
+
/**
|
|
1224
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1225
|
+
*
|
|
1226
|
+
* Skip the first `n` LoginLogs.
|
|
1227
|
+
*/
|
|
1228
|
+
skip?: number
|
|
1229
|
+
/**
|
|
1230
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1231
|
+
*
|
|
1232
|
+
* Filter by unique combinations of LoginLogs.
|
|
1233
|
+
*/
|
|
1234
|
+
distinct?: Prisma.LoginLogScalarFieldEnum | Prisma.LoginLogScalarFieldEnum[]
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* LoginLog create
|
|
1239
|
+
*/
|
|
1240
|
+
export type LoginLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1241
|
+
/**
|
|
1242
|
+
* Select specific fields to fetch from the LoginLog
|
|
1243
|
+
*/
|
|
1244
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1245
|
+
/**
|
|
1246
|
+
* Omit specific fields from the LoginLog
|
|
1247
|
+
*/
|
|
1248
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1249
|
+
/**
|
|
1250
|
+
* Choose, which related nodes to fetch as well
|
|
1251
|
+
*/
|
|
1252
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1253
|
+
/**
|
|
1254
|
+
* The data needed to create a LoginLog.
|
|
1255
|
+
*/
|
|
1256
|
+
data: Prisma.XOR<Prisma.LoginLogCreateInput, Prisma.LoginLogUncheckedCreateInput>
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* LoginLog createMany
|
|
1261
|
+
*/
|
|
1262
|
+
export type LoginLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1263
|
+
/**
|
|
1264
|
+
* The data used to create many LoginLogs.
|
|
1265
|
+
*/
|
|
1266
|
+
data: Prisma.LoginLogCreateManyInput | Prisma.LoginLogCreateManyInput[]
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* LoginLog createManyAndReturn
|
|
1271
|
+
*/
|
|
1272
|
+
export type LoginLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1273
|
+
/**
|
|
1274
|
+
* Select specific fields to fetch from the LoginLog
|
|
1275
|
+
*/
|
|
1276
|
+
select?: Prisma.LoginLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
1277
|
+
/**
|
|
1278
|
+
* Omit specific fields from the LoginLog
|
|
1279
|
+
*/
|
|
1280
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1281
|
+
/**
|
|
1282
|
+
* The data used to create many LoginLogs.
|
|
1283
|
+
*/
|
|
1284
|
+
data: Prisma.LoginLogCreateManyInput | Prisma.LoginLogCreateManyInput[]
|
|
1285
|
+
/**
|
|
1286
|
+
* Choose, which related nodes to fetch as well
|
|
1287
|
+
*/
|
|
1288
|
+
include?: Prisma.LoginLogIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* LoginLog update
|
|
1293
|
+
*/
|
|
1294
|
+
export type LoginLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1295
|
+
/**
|
|
1296
|
+
* Select specific fields to fetch from the LoginLog
|
|
1297
|
+
*/
|
|
1298
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1299
|
+
/**
|
|
1300
|
+
* Omit specific fields from the LoginLog
|
|
1301
|
+
*/
|
|
1302
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1303
|
+
/**
|
|
1304
|
+
* Choose, which related nodes to fetch as well
|
|
1305
|
+
*/
|
|
1306
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1307
|
+
/**
|
|
1308
|
+
* The data needed to update a LoginLog.
|
|
1309
|
+
*/
|
|
1310
|
+
data: Prisma.XOR<Prisma.LoginLogUpdateInput, Prisma.LoginLogUncheckedUpdateInput>
|
|
1311
|
+
/**
|
|
1312
|
+
* Choose, which LoginLog to update.
|
|
1313
|
+
*/
|
|
1314
|
+
where: Prisma.LoginLogWhereUniqueInput
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* LoginLog updateMany
|
|
1319
|
+
*/
|
|
1320
|
+
export type LoginLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1321
|
+
/**
|
|
1322
|
+
* The data used to update LoginLogs.
|
|
1323
|
+
*/
|
|
1324
|
+
data: Prisma.XOR<Prisma.LoginLogUpdateManyMutationInput, Prisma.LoginLogUncheckedUpdateManyInput>
|
|
1325
|
+
/**
|
|
1326
|
+
* Filter which LoginLogs to update
|
|
1327
|
+
*/
|
|
1328
|
+
where?: Prisma.LoginLogWhereInput
|
|
1329
|
+
/**
|
|
1330
|
+
* Limit how many LoginLogs to update.
|
|
1331
|
+
*/
|
|
1332
|
+
limit?: number
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* LoginLog updateManyAndReturn
|
|
1337
|
+
*/
|
|
1338
|
+
export type LoginLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1339
|
+
/**
|
|
1340
|
+
* Select specific fields to fetch from the LoginLog
|
|
1341
|
+
*/
|
|
1342
|
+
select?: Prisma.LoginLogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1343
|
+
/**
|
|
1344
|
+
* Omit specific fields from the LoginLog
|
|
1345
|
+
*/
|
|
1346
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1347
|
+
/**
|
|
1348
|
+
* The data used to update LoginLogs.
|
|
1349
|
+
*/
|
|
1350
|
+
data: Prisma.XOR<Prisma.LoginLogUpdateManyMutationInput, Prisma.LoginLogUncheckedUpdateManyInput>
|
|
1351
|
+
/**
|
|
1352
|
+
* Filter which LoginLogs to update
|
|
1353
|
+
*/
|
|
1354
|
+
where?: Prisma.LoginLogWhereInput
|
|
1355
|
+
/**
|
|
1356
|
+
* Limit how many LoginLogs to update.
|
|
1357
|
+
*/
|
|
1358
|
+
limit?: number
|
|
1359
|
+
/**
|
|
1360
|
+
* Choose, which related nodes to fetch as well
|
|
1361
|
+
*/
|
|
1362
|
+
include?: Prisma.LoginLogIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* LoginLog upsert
|
|
1367
|
+
*/
|
|
1368
|
+
export type LoginLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1369
|
+
/**
|
|
1370
|
+
* Select specific fields to fetch from the LoginLog
|
|
1371
|
+
*/
|
|
1372
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1373
|
+
/**
|
|
1374
|
+
* Omit specific fields from the LoginLog
|
|
1375
|
+
*/
|
|
1376
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1377
|
+
/**
|
|
1378
|
+
* Choose, which related nodes to fetch as well
|
|
1379
|
+
*/
|
|
1380
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1381
|
+
/**
|
|
1382
|
+
* The filter to search for the LoginLog to update in case it exists.
|
|
1383
|
+
*/
|
|
1384
|
+
where: Prisma.LoginLogWhereUniqueInput
|
|
1385
|
+
/**
|
|
1386
|
+
* In case the LoginLog found by the `where` argument doesn't exist, create a new LoginLog with this data.
|
|
1387
|
+
*/
|
|
1388
|
+
create: Prisma.XOR<Prisma.LoginLogCreateInput, Prisma.LoginLogUncheckedCreateInput>
|
|
1389
|
+
/**
|
|
1390
|
+
* In case the LoginLog was found with the provided `where` argument, update it with this data.
|
|
1391
|
+
*/
|
|
1392
|
+
update: Prisma.XOR<Prisma.LoginLogUpdateInput, Prisma.LoginLogUncheckedUpdateInput>
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* LoginLog delete
|
|
1397
|
+
*/
|
|
1398
|
+
export type LoginLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1399
|
+
/**
|
|
1400
|
+
* Select specific fields to fetch from the LoginLog
|
|
1401
|
+
*/
|
|
1402
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1403
|
+
/**
|
|
1404
|
+
* Omit specific fields from the LoginLog
|
|
1405
|
+
*/
|
|
1406
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1407
|
+
/**
|
|
1408
|
+
* Choose, which related nodes to fetch as well
|
|
1409
|
+
*/
|
|
1410
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1411
|
+
/**
|
|
1412
|
+
* Filter which LoginLog to delete.
|
|
1413
|
+
*/
|
|
1414
|
+
where: Prisma.LoginLogWhereUniqueInput
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* LoginLog deleteMany
|
|
1419
|
+
*/
|
|
1420
|
+
export type LoginLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1421
|
+
/**
|
|
1422
|
+
* Filter which LoginLogs to delete
|
|
1423
|
+
*/
|
|
1424
|
+
where?: Prisma.LoginLogWhereInput
|
|
1425
|
+
/**
|
|
1426
|
+
* Limit how many LoginLogs to delete.
|
|
1427
|
+
*/
|
|
1428
|
+
limit?: number
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* LoginLog without action
|
|
1433
|
+
*/
|
|
1434
|
+
export type LoginLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1435
|
+
/**
|
|
1436
|
+
* Select specific fields to fetch from the LoginLog
|
|
1437
|
+
*/
|
|
1438
|
+
select?: Prisma.LoginLogSelect<ExtArgs> | null
|
|
1439
|
+
/**
|
|
1440
|
+
* Omit specific fields from the LoginLog
|
|
1441
|
+
*/
|
|
1442
|
+
omit?: Prisma.LoginLogOmit<ExtArgs> | null
|
|
1443
|
+
/**
|
|
1444
|
+
* Choose, which related nodes to fetch as well
|
|
1445
|
+
*/
|
|
1446
|
+
include?: Prisma.LoginLogInclude<ExtArgs> | null
|
|
1447
|
+
}
|