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