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