@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,1283 @@
|
|
|
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 `MonitoringRequestLog` 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 MonitoringRequestLog
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type MonitoringRequestLogModel = runtime.Types.Result.DefaultSelection<Prisma.$MonitoringRequestLogPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateMonitoringRequestLog = {
|
|
22
|
+
_count: MonitoringRequestLogCountAggregateOutputType | null
|
|
23
|
+
_avg: MonitoringRequestLogAvgAggregateOutputType | null
|
|
24
|
+
_sum: MonitoringRequestLogSumAggregateOutputType | null
|
|
25
|
+
_min: MonitoringRequestLogMinAggregateOutputType | null
|
|
26
|
+
_max: MonitoringRequestLogMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type MonitoringRequestLogAvgAggregateOutputType = {
|
|
30
|
+
status: number | null
|
|
31
|
+
duration: number | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type MonitoringRequestLogSumAggregateOutputType = {
|
|
35
|
+
status: number | null
|
|
36
|
+
duration: number | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type MonitoringRequestLogMinAggregateOutputType = {
|
|
40
|
+
id: string | null
|
|
41
|
+
timestamp: Date | null
|
|
42
|
+
method: string | null
|
|
43
|
+
path: string | null
|
|
44
|
+
status: number | null
|
|
45
|
+
duration: number | null
|
|
46
|
+
ip: string | null
|
|
47
|
+
userAgent: string | null
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export type MonitoringRequestLogMaxAggregateOutputType = {
|
|
51
|
+
id: string | null
|
|
52
|
+
timestamp: Date | null
|
|
53
|
+
method: string | null
|
|
54
|
+
path: string | null
|
|
55
|
+
status: number | null
|
|
56
|
+
duration: number | null
|
|
57
|
+
ip: string | null
|
|
58
|
+
userAgent: string | null
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type MonitoringRequestLogCountAggregateOutputType = {
|
|
62
|
+
id: number
|
|
63
|
+
timestamp: number
|
|
64
|
+
method: number
|
|
65
|
+
path: number
|
|
66
|
+
status: number
|
|
67
|
+
duration: number
|
|
68
|
+
ip: number
|
|
69
|
+
userAgent: number
|
|
70
|
+
_all: number
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
export type MonitoringRequestLogAvgAggregateInputType = {
|
|
75
|
+
status?: true
|
|
76
|
+
duration?: true
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type MonitoringRequestLogSumAggregateInputType = {
|
|
80
|
+
status?: true
|
|
81
|
+
duration?: true
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type MonitoringRequestLogMinAggregateInputType = {
|
|
85
|
+
id?: true
|
|
86
|
+
timestamp?: true
|
|
87
|
+
method?: true
|
|
88
|
+
path?: true
|
|
89
|
+
status?: true
|
|
90
|
+
duration?: true
|
|
91
|
+
ip?: true
|
|
92
|
+
userAgent?: true
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export type MonitoringRequestLogMaxAggregateInputType = {
|
|
96
|
+
id?: true
|
|
97
|
+
timestamp?: true
|
|
98
|
+
method?: true
|
|
99
|
+
path?: true
|
|
100
|
+
status?: true
|
|
101
|
+
duration?: true
|
|
102
|
+
ip?: true
|
|
103
|
+
userAgent?: true
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export type MonitoringRequestLogCountAggregateInputType = {
|
|
107
|
+
id?: true
|
|
108
|
+
timestamp?: true
|
|
109
|
+
method?: true
|
|
110
|
+
path?: true
|
|
111
|
+
status?: true
|
|
112
|
+
duration?: true
|
|
113
|
+
ip?: true
|
|
114
|
+
userAgent?: true
|
|
115
|
+
_all?: true
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export type MonitoringRequestLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
119
|
+
/**
|
|
120
|
+
* Filter which MonitoringRequestLog to aggregate.
|
|
121
|
+
*/
|
|
122
|
+
where?: Prisma.MonitoringRequestLogWhereInput
|
|
123
|
+
/**
|
|
124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
125
|
+
*
|
|
126
|
+
* Determine the order of MonitoringRequestLogs to fetch.
|
|
127
|
+
*/
|
|
128
|
+
orderBy?: Prisma.MonitoringRequestLogOrderByWithRelationInput | Prisma.MonitoringRequestLogOrderByWithRelationInput[]
|
|
129
|
+
/**
|
|
130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
131
|
+
*
|
|
132
|
+
* Sets the start position
|
|
133
|
+
*/
|
|
134
|
+
cursor?: Prisma.MonitoringRequestLogWhereUniqueInput
|
|
135
|
+
/**
|
|
136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
137
|
+
*
|
|
138
|
+
* Take `±n` MonitoringRequestLogs from the position of the cursor.
|
|
139
|
+
*/
|
|
140
|
+
take?: number
|
|
141
|
+
/**
|
|
142
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
143
|
+
*
|
|
144
|
+
* Skip the first `n` MonitoringRequestLogs.
|
|
145
|
+
*/
|
|
146
|
+
skip?: number
|
|
147
|
+
/**
|
|
148
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
149
|
+
*
|
|
150
|
+
* Count returned MonitoringRequestLogs
|
|
151
|
+
**/
|
|
152
|
+
_count?: true | MonitoringRequestLogCountAggregateInputType
|
|
153
|
+
/**
|
|
154
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
155
|
+
*
|
|
156
|
+
* Select which fields to average
|
|
157
|
+
**/
|
|
158
|
+
_avg?: MonitoringRequestLogAvgAggregateInputType
|
|
159
|
+
/**
|
|
160
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
161
|
+
*
|
|
162
|
+
* Select which fields to sum
|
|
163
|
+
**/
|
|
164
|
+
_sum?: MonitoringRequestLogSumAggregateInputType
|
|
165
|
+
/**
|
|
166
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
167
|
+
*
|
|
168
|
+
* Select which fields to find the minimum value
|
|
169
|
+
**/
|
|
170
|
+
_min?: MonitoringRequestLogMinAggregateInputType
|
|
171
|
+
/**
|
|
172
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
173
|
+
*
|
|
174
|
+
* Select which fields to find the maximum value
|
|
175
|
+
**/
|
|
176
|
+
_max?: MonitoringRequestLogMaxAggregateInputType
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export type GetMonitoringRequestLogAggregateType<T extends MonitoringRequestLogAggregateArgs> = {
|
|
180
|
+
[P in keyof T & keyof AggregateMonitoringRequestLog]: P extends '_count' | 'count'
|
|
181
|
+
? T[P] extends true
|
|
182
|
+
? number
|
|
183
|
+
: Prisma.GetScalarType<T[P], AggregateMonitoringRequestLog[P]>
|
|
184
|
+
: Prisma.GetScalarType<T[P], AggregateMonitoringRequestLog[P]>
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
export type MonitoringRequestLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
191
|
+
where?: Prisma.MonitoringRequestLogWhereInput
|
|
192
|
+
orderBy?: Prisma.MonitoringRequestLogOrderByWithAggregationInput | Prisma.MonitoringRequestLogOrderByWithAggregationInput[]
|
|
193
|
+
by: Prisma.MonitoringRequestLogScalarFieldEnum[] | Prisma.MonitoringRequestLogScalarFieldEnum
|
|
194
|
+
having?: Prisma.MonitoringRequestLogScalarWhereWithAggregatesInput
|
|
195
|
+
take?: number
|
|
196
|
+
skip?: number
|
|
197
|
+
_count?: MonitoringRequestLogCountAggregateInputType | true
|
|
198
|
+
_avg?: MonitoringRequestLogAvgAggregateInputType
|
|
199
|
+
_sum?: MonitoringRequestLogSumAggregateInputType
|
|
200
|
+
_min?: MonitoringRequestLogMinAggregateInputType
|
|
201
|
+
_max?: MonitoringRequestLogMaxAggregateInputType
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export type MonitoringRequestLogGroupByOutputType = {
|
|
205
|
+
id: string
|
|
206
|
+
timestamp: Date
|
|
207
|
+
method: string
|
|
208
|
+
path: string
|
|
209
|
+
status: number
|
|
210
|
+
duration: number
|
|
211
|
+
ip: string | null
|
|
212
|
+
userAgent: string | null
|
|
213
|
+
_count: MonitoringRequestLogCountAggregateOutputType | null
|
|
214
|
+
_avg: MonitoringRequestLogAvgAggregateOutputType | null
|
|
215
|
+
_sum: MonitoringRequestLogSumAggregateOutputType | null
|
|
216
|
+
_min: MonitoringRequestLogMinAggregateOutputType | null
|
|
217
|
+
_max: MonitoringRequestLogMaxAggregateOutputType | null
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export type GetMonitoringRequestLogGroupByPayload<T extends MonitoringRequestLogGroupByArgs> = Prisma.PrismaPromise<
|
|
221
|
+
Array<
|
|
222
|
+
Prisma.PickEnumerable<MonitoringRequestLogGroupByOutputType, T['by']> &
|
|
223
|
+
{
|
|
224
|
+
[P in ((keyof T) & (keyof MonitoringRequestLogGroupByOutputType))]: P extends '_count'
|
|
225
|
+
? T[P] extends boolean
|
|
226
|
+
? number
|
|
227
|
+
: Prisma.GetScalarType<T[P], MonitoringRequestLogGroupByOutputType[P]>
|
|
228
|
+
: Prisma.GetScalarType<T[P], MonitoringRequestLogGroupByOutputType[P]>
|
|
229
|
+
}
|
|
230
|
+
>
|
|
231
|
+
>
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
export type MonitoringRequestLogWhereInput = {
|
|
236
|
+
AND?: Prisma.MonitoringRequestLogWhereInput | Prisma.MonitoringRequestLogWhereInput[]
|
|
237
|
+
OR?: Prisma.MonitoringRequestLogWhereInput[]
|
|
238
|
+
NOT?: Prisma.MonitoringRequestLogWhereInput | Prisma.MonitoringRequestLogWhereInput[]
|
|
239
|
+
id?: Prisma.StringFilter<"MonitoringRequestLog"> | string
|
|
240
|
+
timestamp?: Prisma.DateTimeFilter<"MonitoringRequestLog"> | Date | string
|
|
241
|
+
method?: Prisma.StringFilter<"MonitoringRequestLog"> | string
|
|
242
|
+
path?: Prisma.StringFilter<"MonitoringRequestLog"> | string
|
|
243
|
+
status?: Prisma.IntFilter<"MonitoringRequestLog"> | number
|
|
244
|
+
duration?: Prisma.IntFilter<"MonitoringRequestLog"> | number
|
|
245
|
+
ip?: Prisma.StringNullableFilter<"MonitoringRequestLog"> | string | null
|
|
246
|
+
userAgent?: Prisma.StringNullableFilter<"MonitoringRequestLog"> | string | null
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export type MonitoringRequestLogOrderByWithRelationInput = {
|
|
250
|
+
id?: Prisma.SortOrder
|
|
251
|
+
timestamp?: Prisma.SortOrder
|
|
252
|
+
method?: Prisma.SortOrder
|
|
253
|
+
path?: Prisma.SortOrder
|
|
254
|
+
status?: Prisma.SortOrder
|
|
255
|
+
duration?: Prisma.SortOrder
|
|
256
|
+
ip?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
257
|
+
userAgent?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export type MonitoringRequestLogWhereUniqueInput = Prisma.AtLeast<{
|
|
261
|
+
id?: string
|
|
262
|
+
AND?: Prisma.MonitoringRequestLogWhereInput | Prisma.MonitoringRequestLogWhereInput[]
|
|
263
|
+
OR?: Prisma.MonitoringRequestLogWhereInput[]
|
|
264
|
+
NOT?: Prisma.MonitoringRequestLogWhereInput | Prisma.MonitoringRequestLogWhereInput[]
|
|
265
|
+
timestamp?: Prisma.DateTimeFilter<"MonitoringRequestLog"> | Date | string
|
|
266
|
+
method?: Prisma.StringFilter<"MonitoringRequestLog"> | string
|
|
267
|
+
path?: Prisma.StringFilter<"MonitoringRequestLog"> | string
|
|
268
|
+
status?: Prisma.IntFilter<"MonitoringRequestLog"> | number
|
|
269
|
+
duration?: Prisma.IntFilter<"MonitoringRequestLog"> | number
|
|
270
|
+
ip?: Prisma.StringNullableFilter<"MonitoringRequestLog"> | string | null
|
|
271
|
+
userAgent?: Prisma.StringNullableFilter<"MonitoringRequestLog"> | string | null
|
|
272
|
+
}, "id">
|
|
273
|
+
|
|
274
|
+
export type MonitoringRequestLogOrderByWithAggregationInput = {
|
|
275
|
+
id?: Prisma.SortOrder
|
|
276
|
+
timestamp?: Prisma.SortOrder
|
|
277
|
+
method?: Prisma.SortOrder
|
|
278
|
+
path?: Prisma.SortOrder
|
|
279
|
+
status?: Prisma.SortOrder
|
|
280
|
+
duration?: Prisma.SortOrder
|
|
281
|
+
ip?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
282
|
+
userAgent?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
283
|
+
_count?: Prisma.MonitoringRequestLogCountOrderByAggregateInput
|
|
284
|
+
_avg?: Prisma.MonitoringRequestLogAvgOrderByAggregateInput
|
|
285
|
+
_max?: Prisma.MonitoringRequestLogMaxOrderByAggregateInput
|
|
286
|
+
_min?: Prisma.MonitoringRequestLogMinOrderByAggregateInput
|
|
287
|
+
_sum?: Prisma.MonitoringRequestLogSumOrderByAggregateInput
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export type MonitoringRequestLogScalarWhereWithAggregatesInput = {
|
|
291
|
+
AND?: Prisma.MonitoringRequestLogScalarWhereWithAggregatesInput | Prisma.MonitoringRequestLogScalarWhereWithAggregatesInput[]
|
|
292
|
+
OR?: Prisma.MonitoringRequestLogScalarWhereWithAggregatesInput[]
|
|
293
|
+
NOT?: Prisma.MonitoringRequestLogScalarWhereWithAggregatesInput | Prisma.MonitoringRequestLogScalarWhereWithAggregatesInput[]
|
|
294
|
+
id?: Prisma.StringWithAggregatesFilter<"MonitoringRequestLog"> | string
|
|
295
|
+
timestamp?: Prisma.DateTimeWithAggregatesFilter<"MonitoringRequestLog"> | Date | string
|
|
296
|
+
method?: Prisma.StringWithAggregatesFilter<"MonitoringRequestLog"> | string
|
|
297
|
+
path?: Prisma.StringWithAggregatesFilter<"MonitoringRequestLog"> | string
|
|
298
|
+
status?: Prisma.IntWithAggregatesFilter<"MonitoringRequestLog"> | number
|
|
299
|
+
duration?: Prisma.IntWithAggregatesFilter<"MonitoringRequestLog"> | number
|
|
300
|
+
ip?: Prisma.StringNullableWithAggregatesFilter<"MonitoringRequestLog"> | string | null
|
|
301
|
+
userAgent?: Prisma.StringNullableWithAggregatesFilter<"MonitoringRequestLog"> | string | null
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type MonitoringRequestLogCreateInput = {
|
|
305
|
+
id?: string
|
|
306
|
+
timestamp?: Date | string
|
|
307
|
+
method: string
|
|
308
|
+
path: string
|
|
309
|
+
status: number
|
|
310
|
+
duration: number
|
|
311
|
+
ip?: string | null
|
|
312
|
+
userAgent?: string | null
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export type MonitoringRequestLogUncheckedCreateInput = {
|
|
316
|
+
id?: string
|
|
317
|
+
timestamp?: Date | string
|
|
318
|
+
method: string
|
|
319
|
+
path: string
|
|
320
|
+
status: number
|
|
321
|
+
duration: number
|
|
322
|
+
ip?: string | null
|
|
323
|
+
userAgent?: string | null
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export type MonitoringRequestLogUpdateInput = {
|
|
327
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
328
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
329
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
330
|
+
path?: Prisma.StringFieldUpdateOperationsInput | string
|
|
331
|
+
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
332
|
+
duration?: Prisma.IntFieldUpdateOperationsInput | number
|
|
333
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
334
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export type MonitoringRequestLogUncheckedUpdateInput = {
|
|
338
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
339
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
340
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
341
|
+
path?: Prisma.StringFieldUpdateOperationsInput | string
|
|
342
|
+
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
343
|
+
duration?: Prisma.IntFieldUpdateOperationsInput | number
|
|
344
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
345
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export type MonitoringRequestLogCreateManyInput = {
|
|
349
|
+
id?: string
|
|
350
|
+
timestamp?: Date | string
|
|
351
|
+
method: string
|
|
352
|
+
path: string
|
|
353
|
+
status: number
|
|
354
|
+
duration: number
|
|
355
|
+
ip?: string | null
|
|
356
|
+
userAgent?: string | null
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export type MonitoringRequestLogUpdateManyMutationInput = {
|
|
360
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
361
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
362
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
363
|
+
path?: Prisma.StringFieldUpdateOperationsInput | string
|
|
364
|
+
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
365
|
+
duration?: Prisma.IntFieldUpdateOperationsInput | number
|
|
366
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
367
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type MonitoringRequestLogUncheckedUpdateManyInput = {
|
|
371
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
372
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
373
|
+
method?: Prisma.StringFieldUpdateOperationsInput | string
|
|
374
|
+
path?: Prisma.StringFieldUpdateOperationsInput | string
|
|
375
|
+
status?: Prisma.IntFieldUpdateOperationsInput | number
|
|
376
|
+
duration?: Prisma.IntFieldUpdateOperationsInput | number
|
|
377
|
+
ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
378
|
+
userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export type MonitoringRequestLogCountOrderByAggregateInput = {
|
|
382
|
+
id?: Prisma.SortOrder
|
|
383
|
+
timestamp?: Prisma.SortOrder
|
|
384
|
+
method?: Prisma.SortOrder
|
|
385
|
+
path?: Prisma.SortOrder
|
|
386
|
+
status?: Prisma.SortOrder
|
|
387
|
+
duration?: Prisma.SortOrder
|
|
388
|
+
ip?: Prisma.SortOrder
|
|
389
|
+
userAgent?: Prisma.SortOrder
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type MonitoringRequestLogAvgOrderByAggregateInput = {
|
|
393
|
+
status?: Prisma.SortOrder
|
|
394
|
+
duration?: Prisma.SortOrder
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export type MonitoringRequestLogMaxOrderByAggregateInput = {
|
|
398
|
+
id?: Prisma.SortOrder
|
|
399
|
+
timestamp?: Prisma.SortOrder
|
|
400
|
+
method?: Prisma.SortOrder
|
|
401
|
+
path?: Prisma.SortOrder
|
|
402
|
+
status?: Prisma.SortOrder
|
|
403
|
+
duration?: Prisma.SortOrder
|
|
404
|
+
ip?: Prisma.SortOrder
|
|
405
|
+
userAgent?: Prisma.SortOrder
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export type MonitoringRequestLogMinOrderByAggregateInput = {
|
|
409
|
+
id?: Prisma.SortOrder
|
|
410
|
+
timestamp?: Prisma.SortOrder
|
|
411
|
+
method?: Prisma.SortOrder
|
|
412
|
+
path?: Prisma.SortOrder
|
|
413
|
+
status?: Prisma.SortOrder
|
|
414
|
+
duration?: Prisma.SortOrder
|
|
415
|
+
ip?: Prisma.SortOrder
|
|
416
|
+
userAgent?: Prisma.SortOrder
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export type MonitoringRequestLogSumOrderByAggregateInput = {
|
|
420
|
+
status?: Prisma.SortOrder
|
|
421
|
+
duration?: Prisma.SortOrder
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
export type MonitoringRequestLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
427
|
+
id?: boolean
|
|
428
|
+
timestamp?: boolean
|
|
429
|
+
method?: boolean
|
|
430
|
+
path?: boolean
|
|
431
|
+
status?: boolean
|
|
432
|
+
duration?: boolean
|
|
433
|
+
ip?: boolean
|
|
434
|
+
userAgent?: boolean
|
|
435
|
+
}, ExtArgs["result"]["monitoringRequestLog"]>
|
|
436
|
+
|
|
437
|
+
export type MonitoringRequestLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
438
|
+
id?: boolean
|
|
439
|
+
timestamp?: boolean
|
|
440
|
+
method?: boolean
|
|
441
|
+
path?: boolean
|
|
442
|
+
status?: boolean
|
|
443
|
+
duration?: boolean
|
|
444
|
+
ip?: boolean
|
|
445
|
+
userAgent?: boolean
|
|
446
|
+
}, ExtArgs["result"]["monitoringRequestLog"]>
|
|
447
|
+
|
|
448
|
+
export type MonitoringRequestLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
449
|
+
id?: boolean
|
|
450
|
+
timestamp?: boolean
|
|
451
|
+
method?: boolean
|
|
452
|
+
path?: boolean
|
|
453
|
+
status?: boolean
|
|
454
|
+
duration?: boolean
|
|
455
|
+
ip?: boolean
|
|
456
|
+
userAgent?: boolean
|
|
457
|
+
}, ExtArgs["result"]["monitoringRequestLog"]>
|
|
458
|
+
|
|
459
|
+
export type MonitoringRequestLogSelectScalar = {
|
|
460
|
+
id?: boolean
|
|
461
|
+
timestamp?: boolean
|
|
462
|
+
method?: boolean
|
|
463
|
+
path?: boolean
|
|
464
|
+
status?: boolean
|
|
465
|
+
duration?: boolean
|
|
466
|
+
ip?: boolean
|
|
467
|
+
userAgent?: boolean
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type MonitoringRequestLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "timestamp" | "method" | "path" | "status" | "duration" | "ip" | "userAgent", ExtArgs["result"]["monitoringRequestLog"]>
|
|
471
|
+
|
|
472
|
+
export type $MonitoringRequestLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
473
|
+
name: "MonitoringRequestLog"
|
|
474
|
+
objects: {}
|
|
475
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
476
|
+
id: string
|
|
477
|
+
timestamp: Date
|
|
478
|
+
method: string
|
|
479
|
+
path: string
|
|
480
|
+
status: number
|
|
481
|
+
duration: number
|
|
482
|
+
ip: string | null
|
|
483
|
+
userAgent: string | null
|
|
484
|
+
}, ExtArgs["result"]["monitoringRequestLog"]>
|
|
485
|
+
composites: {}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type MonitoringRequestLogGetPayload<S extends boolean | null | undefined | MonitoringRequestLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload, S>
|
|
489
|
+
|
|
490
|
+
export type MonitoringRequestLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
491
|
+
Omit<MonitoringRequestLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
492
|
+
select?: MonitoringRequestLogCountAggregateInputType | true
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export interface MonitoringRequestLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
496
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MonitoringRequestLog'], meta: { name: 'MonitoringRequestLog' } }
|
|
497
|
+
/**
|
|
498
|
+
* Find zero or one MonitoringRequestLog that matches the filter.
|
|
499
|
+
* @param {MonitoringRequestLogFindUniqueArgs} args - Arguments to find a MonitoringRequestLog
|
|
500
|
+
* @example
|
|
501
|
+
* // Get one MonitoringRequestLog
|
|
502
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.findUnique({
|
|
503
|
+
* where: {
|
|
504
|
+
* // ... provide filter here
|
|
505
|
+
* }
|
|
506
|
+
* })
|
|
507
|
+
*/
|
|
508
|
+
findUnique<T extends MonitoringRequestLogFindUniqueArgs>(args: Prisma.SelectSubset<T, MonitoringRequestLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MonitoringRequestLogClient<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Find one MonitoringRequestLog that matches the filter or throw an error with `error.code='P2025'`
|
|
512
|
+
* if no matches were found.
|
|
513
|
+
* @param {MonitoringRequestLogFindUniqueOrThrowArgs} args - Arguments to find a MonitoringRequestLog
|
|
514
|
+
* @example
|
|
515
|
+
* // Get one MonitoringRequestLog
|
|
516
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.findUniqueOrThrow({
|
|
517
|
+
* where: {
|
|
518
|
+
* // ... provide filter here
|
|
519
|
+
* }
|
|
520
|
+
* })
|
|
521
|
+
*/
|
|
522
|
+
findUniqueOrThrow<T extends MonitoringRequestLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MonitoringRequestLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MonitoringRequestLogClient<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Find the first MonitoringRequestLog that matches the filter.
|
|
526
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
527
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
528
|
+
* @param {MonitoringRequestLogFindFirstArgs} args - Arguments to find a MonitoringRequestLog
|
|
529
|
+
* @example
|
|
530
|
+
* // Get one MonitoringRequestLog
|
|
531
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.findFirst({
|
|
532
|
+
* where: {
|
|
533
|
+
* // ... provide filter here
|
|
534
|
+
* }
|
|
535
|
+
* })
|
|
536
|
+
*/
|
|
537
|
+
findFirst<T extends MonitoringRequestLogFindFirstArgs>(args?: Prisma.SelectSubset<T, MonitoringRequestLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__MonitoringRequestLogClient<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Find the first MonitoringRequestLog that matches the filter or
|
|
541
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
542
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
543
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
544
|
+
* @param {MonitoringRequestLogFindFirstOrThrowArgs} args - Arguments to find a MonitoringRequestLog
|
|
545
|
+
* @example
|
|
546
|
+
* // Get one MonitoringRequestLog
|
|
547
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.findFirstOrThrow({
|
|
548
|
+
* where: {
|
|
549
|
+
* // ... provide filter here
|
|
550
|
+
* }
|
|
551
|
+
* })
|
|
552
|
+
*/
|
|
553
|
+
findFirstOrThrow<T extends MonitoringRequestLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MonitoringRequestLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MonitoringRequestLogClient<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Find zero or more MonitoringRequestLogs that matches the filter.
|
|
557
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
558
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
559
|
+
* @param {MonitoringRequestLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
560
|
+
* @example
|
|
561
|
+
* // Get all MonitoringRequestLogs
|
|
562
|
+
* const monitoringRequestLogs = await prisma.monitoringRequestLog.findMany()
|
|
563
|
+
*
|
|
564
|
+
* // Get first 10 MonitoringRequestLogs
|
|
565
|
+
* const monitoringRequestLogs = await prisma.monitoringRequestLog.findMany({ take: 10 })
|
|
566
|
+
*
|
|
567
|
+
* // Only select the `id`
|
|
568
|
+
* const monitoringRequestLogWithIdOnly = await prisma.monitoringRequestLog.findMany({ select: { id: true } })
|
|
569
|
+
*
|
|
570
|
+
*/
|
|
571
|
+
findMany<T extends MonitoringRequestLogFindManyArgs>(args?: Prisma.SelectSubset<T, MonitoringRequestLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Create a MonitoringRequestLog.
|
|
575
|
+
* @param {MonitoringRequestLogCreateArgs} args - Arguments to create a MonitoringRequestLog.
|
|
576
|
+
* @example
|
|
577
|
+
* // Create one MonitoringRequestLog
|
|
578
|
+
* const MonitoringRequestLog = await prisma.monitoringRequestLog.create({
|
|
579
|
+
* data: {
|
|
580
|
+
* // ... data to create a MonitoringRequestLog
|
|
581
|
+
* }
|
|
582
|
+
* })
|
|
583
|
+
*
|
|
584
|
+
*/
|
|
585
|
+
create<T extends MonitoringRequestLogCreateArgs>(args: Prisma.SelectSubset<T, MonitoringRequestLogCreateArgs<ExtArgs>>): Prisma.Prisma__MonitoringRequestLogClient<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Create many MonitoringRequestLogs.
|
|
589
|
+
* @param {MonitoringRequestLogCreateManyArgs} args - Arguments to create many MonitoringRequestLogs.
|
|
590
|
+
* @example
|
|
591
|
+
* // Create many MonitoringRequestLogs
|
|
592
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.createMany({
|
|
593
|
+
* data: [
|
|
594
|
+
* // ... provide data here
|
|
595
|
+
* ]
|
|
596
|
+
* })
|
|
597
|
+
*
|
|
598
|
+
*/
|
|
599
|
+
createMany<T extends MonitoringRequestLogCreateManyArgs>(args?: Prisma.SelectSubset<T, MonitoringRequestLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Create many MonitoringRequestLogs and returns the data saved in the database.
|
|
603
|
+
* @param {MonitoringRequestLogCreateManyAndReturnArgs} args - Arguments to create many MonitoringRequestLogs.
|
|
604
|
+
* @example
|
|
605
|
+
* // Create many MonitoringRequestLogs
|
|
606
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.createManyAndReturn({
|
|
607
|
+
* data: [
|
|
608
|
+
* // ... provide data here
|
|
609
|
+
* ]
|
|
610
|
+
* })
|
|
611
|
+
*
|
|
612
|
+
* // Create many MonitoringRequestLogs and only return the `id`
|
|
613
|
+
* const monitoringRequestLogWithIdOnly = await prisma.monitoringRequestLog.createManyAndReturn({
|
|
614
|
+
* select: { id: true },
|
|
615
|
+
* data: [
|
|
616
|
+
* // ... provide data here
|
|
617
|
+
* ]
|
|
618
|
+
* })
|
|
619
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
620
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
621
|
+
*
|
|
622
|
+
*/
|
|
623
|
+
createManyAndReturn<T extends MonitoringRequestLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MonitoringRequestLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Delete a MonitoringRequestLog.
|
|
627
|
+
* @param {MonitoringRequestLogDeleteArgs} args - Arguments to delete one MonitoringRequestLog.
|
|
628
|
+
* @example
|
|
629
|
+
* // Delete one MonitoringRequestLog
|
|
630
|
+
* const MonitoringRequestLog = await prisma.monitoringRequestLog.delete({
|
|
631
|
+
* where: {
|
|
632
|
+
* // ... filter to delete one MonitoringRequestLog
|
|
633
|
+
* }
|
|
634
|
+
* })
|
|
635
|
+
*
|
|
636
|
+
*/
|
|
637
|
+
delete<T extends MonitoringRequestLogDeleteArgs>(args: Prisma.SelectSubset<T, MonitoringRequestLogDeleteArgs<ExtArgs>>): Prisma.Prisma__MonitoringRequestLogClient<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Update one MonitoringRequestLog.
|
|
641
|
+
* @param {MonitoringRequestLogUpdateArgs} args - Arguments to update one MonitoringRequestLog.
|
|
642
|
+
* @example
|
|
643
|
+
* // Update one MonitoringRequestLog
|
|
644
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.update({
|
|
645
|
+
* where: {
|
|
646
|
+
* // ... provide filter here
|
|
647
|
+
* },
|
|
648
|
+
* data: {
|
|
649
|
+
* // ... provide data here
|
|
650
|
+
* }
|
|
651
|
+
* })
|
|
652
|
+
*
|
|
653
|
+
*/
|
|
654
|
+
update<T extends MonitoringRequestLogUpdateArgs>(args: Prisma.SelectSubset<T, MonitoringRequestLogUpdateArgs<ExtArgs>>): Prisma.Prisma__MonitoringRequestLogClient<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Delete zero or more MonitoringRequestLogs.
|
|
658
|
+
* @param {MonitoringRequestLogDeleteManyArgs} args - Arguments to filter MonitoringRequestLogs to delete.
|
|
659
|
+
* @example
|
|
660
|
+
* // Delete a few MonitoringRequestLogs
|
|
661
|
+
* const { count } = await prisma.monitoringRequestLog.deleteMany({
|
|
662
|
+
* where: {
|
|
663
|
+
* // ... provide filter here
|
|
664
|
+
* }
|
|
665
|
+
* })
|
|
666
|
+
*
|
|
667
|
+
*/
|
|
668
|
+
deleteMany<T extends MonitoringRequestLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, MonitoringRequestLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Update zero or more MonitoringRequestLogs.
|
|
672
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
673
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
674
|
+
* @param {MonitoringRequestLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
675
|
+
* @example
|
|
676
|
+
* // Update many MonitoringRequestLogs
|
|
677
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.updateMany({
|
|
678
|
+
* where: {
|
|
679
|
+
* // ... provide filter here
|
|
680
|
+
* },
|
|
681
|
+
* data: {
|
|
682
|
+
* // ... provide data here
|
|
683
|
+
* }
|
|
684
|
+
* })
|
|
685
|
+
*
|
|
686
|
+
*/
|
|
687
|
+
updateMany<T extends MonitoringRequestLogUpdateManyArgs>(args: Prisma.SelectSubset<T, MonitoringRequestLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Update zero or more MonitoringRequestLogs and returns the data updated in the database.
|
|
691
|
+
* @param {MonitoringRequestLogUpdateManyAndReturnArgs} args - Arguments to update many MonitoringRequestLogs.
|
|
692
|
+
* @example
|
|
693
|
+
* // Update many MonitoringRequestLogs
|
|
694
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.updateManyAndReturn({
|
|
695
|
+
* where: {
|
|
696
|
+
* // ... provide filter here
|
|
697
|
+
* },
|
|
698
|
+
* data: [
|
|
699
|
+
* // ... provide data here
|
|
700
|
+
* ]
|
|
701
|
+
* })
|
|
702
|
+
*
|
|
703
|
+
* // Update zero or more MonitoringRequestLogs and only return the `id`
|
|
704
|
+
* const monitoringRequestLogWithIdOnly = await prisma.monitoringRequestLog.updateManyAndReturn({
|
|
705
|
+
* select: { id: true },
|
|
706
|
+
* where: {
|
|
707
|
+
* // ... provide filter here
|
|
708
|
+
* },
|
|
709
|
+
* data: [
|
|
710
|
+
* // ... provide data here
|
|
711
|
+
* ]
|
|
712
|
+
* })
|
|
713
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
714
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
715
|
+
*
|
|
716
|
+
*/
|
|
717
|
+
updateManyAndReturn<T extends MonitoringRequestLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MonitoringRequestLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Create or update one MonitoringRequestLog.
|
|
721
|
+
* @param {MonitoringRequestLogUpsertArgs} args - Arguments to update or create a MonitoringRequestLog.
|
|
722
|
+
* @example
|
|
723
|
+
* // Update or create a MonitoringRequestLog
|
|
724
|
+
* const monitoringRequestLog = await prisma.monitoringRequestLog.upsert({
|
|
725
|
+
* create: {
|
|
726
|
+
* // ... data to create a MonitoringRequestLog
|
|
727
|
+
* },
|
|
728
|
+
* update: {
|
|
729
|
+
* // ... in case it already exists, update
|
|
730
|
+
* },
|
|
731
|
+
* where: {
|
|
732
|
+
* // ... the filter for the MonitoringRequestLog we want to update
|
|
733
|
+
* }
|
|
734
|
+
* })
|
|
735
|
+
*/
|
|
736
|
+
upsert<T extends MonitoringRequestLogUpsertArgs>(args: Prisma.SelectSubset<T, MonitoringRequestLogUpsertArgs<ExtArgs>>): Prisma.Prisma__MonitoringRequestLogClient<runtime.Types.Result.GetResult<Prisma.$MonitoringRequestLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Count the number of MonitoringRequestLogs.
|
|
741
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
742
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
743
|
+
* @param {MonitoringRequestLogCountArgs} args - Arguments to filter MonitoringRequestLogs to count.
|
|
744
|
+
* @example
|
|
745
|
+
* // Count the number of MonitoringRequestLogs
|
|
746
|
+
* const count = await prisma.monitoringRequestLog.count({
|
|
747
|
+
* where: {
|
|
748
|
+
* // ... the filter for the MonitoringRequestLogs we want to count
|
|
749
|
+
* }
|
|
750
|
+
* })
|
|
751
|
+
**/
|
|
752
|
+
count<T extends MonitoringRequestLogCountArgs>(
|
|
753
|
+
args?: Prisma.Subset<T, MonitoringRequestLogCountArgs>,
|
|
754
|
+
): Prisma.PrismaPromise<
|
|
755
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
756
|
+
? T['select'] extends true
|
|
757
|
+
? number
|
|
758
|
+
: Prisma.GetScalarType<T['select'], MonitoringRequestLogCountAggregateOutputType>
|
|
759
|
+
: number
|
|
760
|
+
>
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Allows you to perform aggregations operations on a MonitoringRequestLog.
|
|
764
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
765
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
766
|
+
* @param {MonitoringRequestLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
767
|
+
* @example
|
|
768
|
+
* // Ordered by age ascending
|
|
769
|
+
* // Where email contains prisma.io
|
|
770
|
+
* // Limited to the 10 users
|
|
771
|
+
* const aggregations = await prisma.user.aggregate({
|
|
772
|
+
* _avg: {
|
|
773
|
+
* age: true,
|
|
774
|
+
* },
|
|
775
|
+
* where: {
|
|
776
|
+
* email: {
|
|
777
|
+
* contains: "prisma.io",
|
|
778
|
+
* },
|
|
779
|
+
* },
|
|
780
|
+
* orderBy: {
|
|
781
|
+
* age: "asc",
|
|
782
|
+
* },
|
|
783
|
+
* take: 10,
|
|
784
|
+
* })
|
|
785
|
+
**/
|
|
786
|
+
aggregate<T extends MonitoringRequestLogAggregateArgs>(args: Prisma.Subset<T, MonitoringRequestLogAggregateArgs>): Prisma.PrismaPromise<GetMonitoringRequestLogAggregateType<T>>
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Group by MonitoringRequestLog.
|
|
790
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
791
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
792
|
+
* @param {MonitoringRequestLogGroupByArgs} args - Group by arguments.
|
|
793
|
+
* @example
|
|
794
|
+
* // Group by city, order by createdAt, get count
|
|
795
|
+
* const result = await prisma.user.groupBy({
|
|
796
|
+
* by: ['city', 'createdAt'],
|
|
797
|
+
* orderBy: {
|
|
798
|
+
* createdAt: true
|
|
799
|
+
* },
|
|
800
|
+
* _count: {
|
|
801
|
+
* _all: true
|
|
802
|
+
* },
|
|
803
|
+
* })
|
|
804
|
+
*
|
|
805
|
+
**/
|
|
806
|
+
groupBy<
|
|
807
|
+
T extends MonitoringRequestLogGroupByArgs,
|
|
808
|
+
HasSelectOrTake extends Prisma.Or<
|
|
809
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
810
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
811
|
+
>,
|
|
812
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
813
|
+
? { orderBy: MonitoringRequestLogGroupByArgs['orderBy'] }
|
|
814
|
+
: { orderBy?: MonitoringRequestLogGroupByArgs['orderBy'] },
|
|
815
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
816
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
817
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
818
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
819
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
820
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
821
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
822
|
+
? `Error: "by" must not be empty.`
|
|
823
|
+
: HavingValid extends Prisma.False
|
|
824
|
+
? {
|
|
825
|
+
[P in HavingFields]: P extends ByFields
|
|
826
|
+
? never
|
|
827
|
+
: P extends string
|
|
828
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
829
|
+
: [
|
|
830
|
+
Error,
|
|
831
|
+
'Field ',
|
|
832
|
+
P,
|
|
833
|
+
` in "having" needs to be provided in "by"`,
|
|
834
|
+
]
|
|
835
|
+
}[HavingFields]
|
|
836
|
+
: 'take' extends Prisma.Keys<T>
|
|
837
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
838
|
+
? ByValid extends Prisma.True
|
|
839
|
+
? {}
|
|
840
|
+
: {
|
|
841
|
+
[P in OrderFields]: P extends ByFields
|
|
842
|
+
? never
|
|
843
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
844
|
+
}[OrderFields]
|
|
845
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
846
|
+
: 'skip' extends Prisma.Keys<T>
|
|
847
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
848
|
+
? ByValid extends Prisma.True
|
|
849
|
+
? {}
|
|
850
|
+
: {
|
|
851
|
+
[P in OrderFields]: P extends ByFields
|
|
852
|
+
? never
|
|
853
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
854
|
+
}[OrderFields]
|
|
855
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
856
|
+
: ByValid extends Prisma.True
|
|
857
|
+
? {}
|
|
858
|
+
: {
|
|
859
|
+
[P in OrderFields]: P extends ByFields
|
|
860
|
+
? never
|
|
861
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
862
|
+
}[OrderFields]
|
|
863
|
+
>(args: Prisma.SubsetIntersection<T, MonitoringRequestLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMonitoringRequestLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
864
|
+
/**
|
|
865
|
+
* Fields of the MonitoringRequestLog model
|
|
866
|
+
*/
|
|
867
|
+
readonly fields: MonitoringRequestLogFieldRefs;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* The delegate class that acts as a "Promise-like" for MonitoringRequestLog.
|
|
872
|
+
* Why is this prefixed with `Prisma__`?
|
|
873
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
874
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
875
|
+
*/
|
|
876
|
+
export interface Prisma__MonitoringRequestLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
877
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
878
|
+
/**
|
|
879
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
880
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
881
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
882
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
883
|
+
*/
|
|
884
|
+
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>
|
|
885
|
+
/**
|
|
886
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
887
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
888
|
+
* @returns A Promise for the completion of the callback.
|
|
889
|
+
*/
|
|
890
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
891
|
+
/**
|
|
892
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
893
|
+
* resolved value cannot be modified from the callback.
|
|
894
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
895
|
+
* @returns A Promise for the completion of the callback.
|
|
896
|
+
*/
|
|
897
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Fields of the MonitoringRequestLog model
|
|
905
|
+
*/
|
|
906
|
+
export interface MonitoringRequestLogFieldRefs {
|
|
907
|
+
readonly id: Prisma.FieldRef<"MonitoringRequestLog", 'String'>
|
|
908
|
+
readonly timestamp: Prisma.FieldRef<"MonitoringRequestLog", 'DateTime'>
|
|
909
|
+
readonly method: Prisma.FieldRef<"MonitoringRequestLog", 'String'>
|
|
910
|
+
readonly path: Prisma.FieldRef<"MonitoringRequestLog", 'String'>
|
|
911
|
+
readonly status: Prisma.FieldRef<"MonitoringRequestLog", 'Int'>
|
|
912
|
+
readonly duration: Prisma.FieldRef<"MonitoringRequestLog", 'Int'>
|
|
913
|
+
readonly ip: Prisma.FieldRef<"MonitoringRequestLog", 'String'>
|
|
914
|
+
readonly userAgent: Prisma.FieldRef<"MonitoringRequestLog", 'String'>
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
// Custom InputTypes
|
|
919
|
+
/**
|
|
920
|
+
* MonitoringRequestLog findUnique
|
|
921
|
+
*/
|
|
922
|
+
export type MonitoringRequestLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
923
|
+
/**
|
|
924
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
925
|
+
*/
|
|
926
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
927
|
+
/**
|
|
928
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
929
|
+
*/
|
|
930
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
931
|
+
/**
|
|
932
|
+
* Filter, which MonitoringRequestLog to fetch.
|
|
933
|
+
*/
|
|
934
|
+
where: Prisma.MonitoringRequestLogWhereUniqueInput
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* MonitoringRequestLog findUniqueOrThrow
|
|
939
|
+
*/
|
|
940
|
+
export type MonitoringRequestLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
941
|
+
/**
|
|
942
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
943
|
+
*/
|
|
944
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
945
|
+
/**
|
|
946
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
947
|
+
*/
|
|
948
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
949
|
+
/**
|
|
950
|
+
* Filter, which MonitoringRequestLog to fetch.
|
|
951
|
+
*/
|
|
952
|
+
where: Prisma.MonitoringRequestLogWhereUniqueInput
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* MonitoringRequestLog findFirst
|
|
957
|
+
*/
|
|
958
|
+
export type MonitoringRequestLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
/**
|
|
960
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
961
|
+
*/
|
|
962
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
963
|
+
/**
|
|
964
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
965
|
+
*/
|
|
966
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
967
|
+
/**
|
|
968
|
+
* Filter, which MonitoringRequestLog to fetch.
|
|
969
|
+
*/
|
|
970
|
+
where?: Prisma.MonitoringRequestLogWhereInput
|
|
971
|
+
/**
|
|
972
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
973
|
+
*
|
|
974
|
+
* Determine the order of MonitoringRequestLogs to fetch.
|
|
975
|
+
*/
|
|
976
|
+
orderBy?: Prisma.MonitoringRequestLogOrderByWithRelationInput | Prisma.MonitoringRequestLogOrderByWithRelationInput[]
|
|
977
|
+
/**
|
|
978
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
979
|
+
*
|
|
980
|
+
* Sets the position for searching for MonitoringRequestLogs.
|
|
981
|
+
*/
|
|
982
|
+
cursor?: Prisma.MonitoringRequestLogWhereUniqueInput
|
|
983
|
+
/**
|
|
984
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
985
|
+
*
|
|
986
|
+
* Take `±n` MonitoringRequestLogs from the position of the cursor.
|
|
987
|
+
*/
|
|
988
|
+
take?: number
|
|
989
|
+
/**
|
|
990
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
991
|
+
*
|
|
992
|
+
* Skip the first `n` MonitoringRequestLogs.
|
|
993
|
+
*/
|
|
994
|
+
skip?: number
|
|
995
|
+
/**
|
|
996
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
997
|
+
*
|
|
998
|
+
* Filter by unique combinations of MonitoringRequestLogs.
|
|
999
|
+
*/
|
|
1000
|
+
distinct?: Prisma.MonitoringRequestLogScalarFieldEnum | Prisma.MonitoringRequestLogScalarFieldEnum[]
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* MonitoringRequestLog findFirstOrThrow
|
|
1005
|
+
*/
|
|
1006
|
+
export type MonitoringRequestLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1007
|
+
/**
|
|
1008
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
1009
|
+
*/
|
|
1010
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
1011
|
+
/**
|
|
1012
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
1013
|
+
*/
|
|
1014
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
1015
|
+
/**
|
|
1016
|
+
* Filter, which MonitoringRequestLog to fetch.
|
|
1017
|
+
*/
|
|
1018
|
+
where?: Prisma.MonitoringRequestLogWhereInput
|
|
1019
|
+
/**
|
|
1020
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1021
|
+
*
|
|
1022
|
+
* Determine the order of MonitoringRequestLogs to fetch.
|
|
1023
|
+
*/
|
|
1024
|
+
orderBy?: Prisma.MonitoringRequestLogOrderByWithRelationInput | Prisma.MonitoringRequestLogOrderByWithRelationInput[]
|
|
1025
|
+
/**
|
|
1026
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1027
|
+
*
|
|
1028
|
+
* Sets the position for searching for MonitoringRequestLogs.
|
|
1029
|
+
*/
|
|
1030
|
+
cursor?: Prisma.MonitoringRequestLogWhereUniqueInput
|
|
1031
|
+
/**
|
|
1032
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1033
|
+
*
|
|
1034
|
+
* Take `±n` MonitoringRequestLogs from the position of the cursor.
|
|
1035
|
+
*/
|
|
1036
|
+
take?: number
|
|
1037
|
+
/**
|
|
1038
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1039
|
+
*
|
|
1040
|
+
* Skip the first `n` MonitoringRequestLogs.
|
|
1041
|
+
*/
|
|
1042
|
+
skip?: number
|
|
1043
|
+
/**
|
|
1044
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1045
|
+
*
|
|
1046
|
+
* Filter by unique combinations of MonitoringRequestLogs.
|
|
1047
|
+
*/
|
|
1048
|
+
distinct?: Prisma.MonitoringRequestLogScalarFieldEnum | Prisma.MonitoringRequestLogScalarFieldEnum[]
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* MonitoringRequestLog findMany
|
|
1053
|
+
*/
|
|
1054
|
+
export type MonitoringRequestLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1055
|
+
/**
|
|
1056
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
1057
|
+
*/
|
|
1058
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
1059
|
+
/**
|
|
1060
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
1061
|
+
*/
|
|
1062
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
1063
|
+
/**
|
|
1064
|
+
* Filter, which MonitoringRequestLogs to fetch.
|
|
1065
|
+
*/
|
|
1066
|
+
where?: Prisma.MonitoringRequestLogWhereInput
|
|
1067
|
+
/**
|
|
1068
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1069
|
+
*
|
|
1070
|
+
* Determine the order of MonitoringRequestLogs to fetch.
|
|
1071
|
+
*/
|
|
1072
|
+
orderBy?: Prisma.MonitoringRequestLogOrderByWithRelationInput | Prisma.MonitoringRequestLogOrderByWithRelationInput[]
|
|
1073
|
+
/**
|
|
1074
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1075
|
+
*
|
|
1076
|
+
* Sets the position for listing MonitoringRequestLogs.
|
|
1077
|
+
*/
|
|
1078
|
+
cursor?: Prisma.MonitoringRequestLogWhereUniqueInput
|
|
1079
|
+
/**
|
|
1080
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1081
|
+
*
|
|
1082
|
+
* Take `±n` MonitoringRequestLogs from the position of the cursor.
|
|
1083
|
+
*/
|
|
1084
|
+
take?: number
|
|
1085
|
+
/**
|
|
1086
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1087
|
+
*
|
|
1088
|
+
* Skip the first `n` MonitoringRequestLogs.
|
|
1089
|
+
*/
|
|
1090
|
+
skip?: number
|
|
1091
|
+
/**
|
|
1092
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1093
|
+
*
|
|
1094
|
+
* Filter by unique combinations of MonitoringRequestLogs.
|
|
1095
|
+
*/
|
|
1096
|
+
distinct?: Prisma.MonitoringRequestLogScalarFieldEnum | Prisma.MonitoringRequestLogScalarFieldEnum[]
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* MonitoringRequestLog create
|
|
1101
|
+
*/
|
|
1102
|
+
export type MonitoringRequestLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1103
|
+
/**
|
|
1104
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
1105
|
+
*/
|
|
1106
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
1107
|
+
/**
|
|
1108
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
1109
|
+
*/
|
|
1110
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
1111
|
+
/**
|
|
1112
|
+
* The data needed to create a MonitoringRequestLog.
|
|
1113
|
+
*/
|
|
1114
|
+
data: Prisma.XOR<Prisma.MonitoringRequestLogCreateInput, Prisma.MonitoringRequestLogUncheckedCreateInput>
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* MonitoringRequestLog createMany
|
|
1119
|
+
*/
|
|
1120
|
+
export type MonitoringRequestLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1121
|
+
/**
|
|
1122
|
+
* The data used to create many MonitoringRequestLogs.
|
|
1123
|
+
*/
|
|
1124
|
+
data: Prisma.MonitoringRequestLogCreateManyInput | Prisma.MonitoringRequestLogCreateManyInput[]
|
|
1125
|
+
skipDuplicates?: boolean
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* MonitoringRequestLog createManyAndReturn
|
|
1130
|
+
*/
|
|
1131
|
+
export type MonitoringRequestLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1132
|
+
/**
|
|
1133
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
1134
|
+
*/
|
|
1135
|
+
select?: Prisma.MonitoringRequestLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
1136
|
+
/**
|
|
1137
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
1138
|
+
*/
|
|
1139
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
1140
|
+
/**
|
|
1141
|
+
* The data used to create many MonitoringRequestLogs.
|
|
1142
|
+
*/
|
|
1143
|
+
data: Prisma.MonitoringRequestLogCreateManyInput | Prisma.MonitoringRequestLogCreateManyInput[]
|
|
1144
|
+
skipDuplicates?: boolean
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* MonitoringRequestLog update
|
|
1149
|
+
*/
|
|
1150
|
+
export type MonitoringRequestLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1151
|
+
/**
|
|
1152
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
1153
|
+
*/
|
|
1154
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
1155
|
+
/**
|
|
1156
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
1157
|
+
*/
|
|
1158
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
1159
|
+
/**
|
|
1160
|
+
* The data needed to update a MonitoringRequestLog.
|
|
1161
|
+
*/
|
|
1162
|
+
data: Prisma.XOR<Prisma.MonitoringRequestLogUpdateInput, Prisma.MonitoringRequestLogUncheckedUpdateInput>
|
|
1163
|
+
/**
|
|
1164
|
+
* Choose, which MonitoringRequestLog to update.
|
|
1165
|
+
*/
|
|
1166
|
+
where: Prisma.MonitoringRequestLogWhereUniqueInput
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* MonitoringRequestLog updateMany
|
|
1171
|
+
*/
|
|
1172
|
+
export type MonitoringRequestLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1173
|
+
/**
|
|
1174
|
+
* The data used to update MonitoringRequestLogs.
|
|
1175
|
+
*/
|
|
1176
|
+
data: Prisma.XOR<Prisma.MonitoringRequestLogUpdateManyMutationInput, Prisma.MonitoringRequestLogUncheckedUpdateManyInput>
|
|
1177
|
+
/**
|
|
1178
|
+
* Filter which MonitoringRequestLogs to update
|
|
1179
|
+
*/
|
|
1180
|
+
where?: Prisma.MonitoringRequestLogWhereInput
|
|
1181
|
+
/**
|
|
1182
|
+
* Limit how many MonitoringRequestLogs to update.
|
|
1183
|
+
*/
|
|
1184
|
+
limit?: number
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* MonitoringRequestLog updateManyAndReturn
|
|
1189
|
+
*/
|
|
1190
|
+
export type MonitoringRequestLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1191
|
+
/**
|
|
1192
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
1193
|
+
*/
|
|
1194
|
+
select?: Prisma.MonitoringRequestLogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1195
|
+
/**
|
|
1196
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
1197
|
+
*/
|
|
1198
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
1199
|
+
/**
|
|
1200
|
+
* The data used to update MonitoringRequestLogs.
|
|
1201
|
+
*/
|
|
1202
|
+
data: Prisma.XOR<Prisma.MonitoringRequestLogUpdateManyMutationInput, Prisma.MonitoringRequestLogUncheckedUpdateManyInput>
|
|
1203
|
+
/**
|
|
1204
|
+
* Filter which MonitoringRequestLogs to update
|
|
1205
|
+
*/
|
|
1206
|
+
where?: Prisma.MonitoringRequestLogWhereInput
|
|
1207
|
+
/**
|
|
1208
|
+
* Limit how many MonitoringRequestLogs to update.
|
|
1209
|
+
*/
|
|
1210
|
+
limit?: number
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* MonitoringRequestLog upsert
|
|
1215
|
+
*/
|
|
1216
|
+
export type MonitoringRequestLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1217
|
+
/**
|
|
1218
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
1219
|
+
*/
|
|
1220
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
1221
|
+
/**
|
|
1222
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
1223
|
+
*/
|
|
1224
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
1225
|
+
/**
|
|
1226
|
+
* The filter to search for the MonitoringRequestLog to update in case it exists.
|
|
1227
|
+
*/
|
|
1228
|
+
where: Prisma.MonitoringRequestLogWhereUniqueInput
|
|
1229
|
+
/**
|
|
1230
|
+
* In case the MonitoringRequestLog found by the `where` argument doesn't exist, create a new MonitoringRequestLog with this data.
|
|
1231
|
+
*/
|
|
1232
|
+
create: Prisma.XOR<Prisma.MonitoringRequestLogCreateInput, Prisma.MonitoringRequestLogUncheckedCreateInput>
|
|
1233
|
+
/**
|
|
1234
|
+
* In case the MonitoringRequestLog was found with the provided `where` argument, update it with this data.
|
|
1235
|
+
*/
|
|
1236
|
+
update: Prisma.XOR<Prisma.MonitoringRequestLogUpdateInput, Prisma.MonitoringRequestLogUncheckedUpdateInput>
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* MonitoringRequestLog delete
|
|
1241
|
+
*/
|
|
1242
|
+
export type MonitoringRequestLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1243
|
+
/**
|
|
1244
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
1245
|
+
*/
|
|
1246
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
1247
|
+
/**
|
|
1248
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
1249
|
+
*/
|
|
1250
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
1251
|
+
/**
|
|
1252
|
+
* Filter which MonitoringRequestLog to delete.
|
|
1253
|
+
*/
|
|
1254
|
+
where: Prisma.MonitoringRequestLogWhereUniqueInput
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* MonitoringRequestLog deleteMany
|
|
1259
|
+
*/
|
|
1260
|
+
export type MonitoringRequestLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1261
|
+
/**
|
|
1262
|
+
* Filter which MonitoringRequestLogs to delete
|
|
1263
|
+
*/
|
|
1264
|
+
where?: Prisma.MonitoringRequestLogWhereInput
|
|
1265
|
+
/**
|
|
1266
|
+
* Limit how many MonitoringRequestLogs to delete.
|
|
1267
|
+
*/
|
|
1268
|
+
limit?: number
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* MonitoringRequestLog without action
|
|
1273
|
+
*/
|
|
1274
|
+
export type MonitoringRequestLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1275
|
+
/**
|
|
1276
|
+
* Select specific fields to fetch from the MonitoringRequestLog
|
|
1277
|
+
*/
|
|
1278
|
+
select?: Prisma.MonitoringRequestLogSelect<ExtArgs> | null
|
|
1279
|
+
/**
|
|
1280
|
+
* Omit specific fields from the MonitoringRequestLog
|
|
1281
|
+
*/
|
|
1282
|
+
omit?: Prisma.MonitoringRequestLogOmit<ExtArgs> | null
|
|
1283
|
+
}
|