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