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