@allbluecn/database 0.3.14 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -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 `StoryLabel` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums"
13
+ import type * as Prisma from "../internal/prismaNamespace"
14
+
15
+ /**
16
+ * Model StoryLabel
17
+ *
18
+ */
19
+ export type StoryLabelModel = runtime.Types.Result.DefaultSelection<Prisma.$StoryLabelPayload>
20
+
21
+ export type AggregateStoryLabel = {
22
+ _count: StoryLabelCountAggregateOutputType | null
23
+ _min: StoryLabelMinAggregateOutputType | null
24
+ _max: StoryLabelMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type StoryLabelMinAggregateOutputType = {
28
+ storyId: string | null
29
+ labelId: string | null
30
+ }
31
+
32
+ export type StoryLabelMaxAggregateOutputType = {
33
+ storyId: string | null
34
+ labelId: string | null
35
+ }
36
+
37
+ export type StoryLabelCountAggregateOutputType = {
38
+ storyId: number
39
+ labelId: number
40
+ _all: number
41
+ }
42
+
43
+
44
+ export type StoryLabelMinAggregateInputType = {
45
+ storyId?: true
46
+ labelId?: true
47
+ }
48
+
49
+ export type StoryLabelMaxAggregateInputType = {
50
+ storyId?: true
51
+ labelId?: true
52
+ }
53
+
54
+ export type StoryLabelCountAggregateInputType = {
55
+ storyId?: true
56
+ labelId?: true
57
+ _all?: true
58
+ }
59
+
60
+ export type StoryLabelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
61
+ /**
62
+ * Filter which StoryLabel to aggregate.
63
+ */
64
+ where?: Prisma.StoryLabelWhereInput
65
+ /**
66
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
67
+ *
68
+ * Determine the order of StoryLabels to fetch.
69
+ */
70
+ orderBy?: Prisma.StoryLabelOrderByWithRelationInput | Prisma.StoryLabelOrderByWithRelationInput[]
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.StoryLabelWhereUniqueInput
77
+ /**
78
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
79
+ *
80
+ * Take `±n` StoryLabels 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` StoryLabels.
87
+ */
88
+ skip?: number
89
+ /**
90
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
91
+ *
92
+ * Count returned StoryLabels
93
+ **/
94
+ _count?: true | StoryLabelCountAggregateInputType
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?: StoryLabelMinAggregateInputType
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?: StoryLabelMaxAggregateInputType
107
+ }
108
+
109
+ export type GetStoryLabelAggregateType<T extends StoryLabelAggregateArgs> = {
110
+ [P in keyof T & keyof AggregateStoryLabel]: P extends '_count' | 'count'
111
+ ? T[P] extends true
112
+ ? number
113
+ : Prisma.GetScalarType<T[P], AggregateStoryLabel[P]>
114
+ : Prisma.GetScalarType<T[P], AggregateStoryLabel[P]>
115
+ }
116
+
117
+
118
+
119
+
120
+ export type StoryLabelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
121
+ where?: Prisma.StoryLabelWhereInput
122
+ orderBy?: Prisma.StoryLabelOrderByWithAggregationInput | Prisma.StoryLabelOrderByWithAggregationInput[]
123
+ by: Prisma.StoryLabelScalarFieldEnum[] | Prisma.StoryLabelScalarFieldEnum
124
+ having?: Prisma.StoryLabelScalarWhereWithAggregatesInput
125
+ take?: number
126
+ skip?: number
127
+ _count?: StoryLabelCountAggregateInputType | true
128
+ _min?: StoryLabelMinAggregateInputType
129
+ _max?: StoryLabelMaxAggregateInputType
130
+ }
131
+
132
+ export type StoryLabelGroupByOutputType = {
133
+ storyId: string
134
+ labelId: string
135
+ _count: StoryLabelCountAggregateOutputType | null
136
+ _min: StoryLabelMinAggregateOutputType | null
137
+ _max: StoryLabelMaxAggregateOutputType | null
138
+ }
139
+
140
+ export type GetStoryLabelGroupByPayload<T extends StoryLabelGroupByArgs> = Prisma.PrismaPromise<
141
+ Array<
142
+ Prisma.PickEnumerable<StoryLabelGroupByOutputType, T['by']> &
143
+ {
144
+ [P in ((keyof T) & (keyof StoryLabelGroupByOutputType))]: P extends '_count'
145
+ ? T[P] extends boolean
146
+ ? number
147
+ : Prisma.GetScalarType<T[P], StoryLabelGroupByOutputType[P]>
148
+ : Prisma.GetScalarType<T[P], StoryLabelGroupByOutputType[P]>
149
+ }
150
+ >
151
+ >
152
+
153
+
154
+
155
+ export type StoryLabelWhereInput = {
156
+ AND?: Prisma.StoryLabelWhereInput | Prisma.StoryLabelWhereInput[]
157
+ OR?: Prisma.StoryLabelWhereInput[]
158
+ NOT?: Prisma.StoryLabelWhereInput | Prisma.StoryLabelWhereInput[]
159
+ storyId?: Prisma.StringFilter<"StoryLabel"> | string
160
+ labelId?: Prisma.StringFilter<"StoryLabel"> | string
161
+ story?: Prisma.XOR<Prisma.StoryScalarRelationFilter, Prisma.StoryWhereInput>
162
+ label?: Prisma.XOR<Prisma.LabelScalarRelationFilter, Prisma.LabelWhereInput>
163
+ }
164
+
165
+ export type StoryLabelOrderByWithRelationInput = {
166
+ storyId?: Prisma.SortOrder
167
+ labelId?: Prisma.SortOrder
168
+ story?: Prisma.StoryOrderByWithRelationInput
169
+ label?: Prisma.LabelOrderByWithRelationInput
170
+ }
171
+
172
+ export type StoryLabelWhereUniqueInput = Prisma.AtLeast<{
173
+ storyId_labelId?: Prisma.StoryLabelStoryIdLabelIdCompoundUniqueInput
174
+ AND?: Prisma.StoryLabelWhereInput | Prisma.StoryLabelWhereInput[]
175
+ OR?: Prisma.StoryLabelWhereInput[]
176
+ NOT?: Prisma.StoryLabelWhereInput | Prisma.StoryLabelWhereInput[]
177
+ storyId?: Prisma.StringFilter<"StoryLabel"> | string
178
+ labelId?: Prisma.StringFilter<"StoryLabel"> | string
179
+ story?: Prisma.XOR<Prisma.StoryScalarRelationFilter, Prisma.StoryWhereInput>
180
+ label?: Prisma.XOR<Prisma.LabelScalarRelationFilter, Prisma.LabelWhereInput>
181
+ }, "storyId_labelId">
182
+
183
+ export type StoryLabelOrderByWithAggregationInput = {
184
+ storyId?: Prisma.SortOrder
185
+ labelId?: Prisma.SortOrder
186
+ _count?: Prisma.StoryLabelCountOrderByAggregateInput
187
+ _max?: Prisma.StoryLabelMaxOrderByAggregateInput
188
+ _min?: Prisma.StoryLabelMinOrderByAggregateInput
189
+ }
190
+
191
+ export type StoryLabelScalarWhereWithAggregatesInput = {
192
+ AND?: Prisma.StoryLabelScalarWhereWithAggregatesInput | Prisma.StoryLabelScalarWhereWithAggregatesInput[]
193
+ OR?: Prisma.StoryLabelScalarWhereWithAggregatesInput[]
194
+ NOT?: Prisma.StoryLabelScalarWhereWithAggregatesInput | Prisma.StoryLabelScalarWhereWithAggregatesInput[]
195
+ storyId?: Prisma.StringWithAggregatesFilter<"StoryLabel"> | string
196
+ labelId?: Prisma.StringWithAggregatesFilter<"StoryLabel"> | string
197
+ }
198
+
199
+ export type StoryLabelCreateInput = {
200
+ story: Prisma.StoryCreateNestedOneWithoutLabelsInput
201
+ label: Prisma.LabelCreateNestedOneWithoutStoriesInput
202
+ }
203
+
204
+ export type StoryLabelUncheckedCreateInput = {
205
+ storyId: string
206
+ labelId: string
207
+ }
208
+
209
+ export type StoryLabelUpdateInput = {
210
+ story?: Prisma.StoryUpdateOneRequiredWithoutLabelsNestedInput
211
+ label?: Prisma.LabelUpdateOneRequiredWithoutStoriesNestedInput
212
+ }
213
+
214
+ export type StoryLabelUncheckedUpdateInput = {
215
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
216
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string
217
+ }
218
+
219
+ export type StoryLabelCreateManyInput = {
220
+ storyId: string
221
+ labelId: string
222
+ }
223
+
224
+ export type StoryLabelUpdateManyMutationInput = {
225
+
226
+ }
227
+
228
+ export type StoryLabelUncheckedUpdateManyInput = {
229
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
230
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string
231
+ }
232
+
233
+ export type StoryLabelListRelationFilter = {
234
+ every?: Prisma.StoryLabelWhereInput
235
+ some?: Prisma.StoryLabelWhereInput
236
+ none?: Prisma.StoryLabelWhereInput
237
+ }
238
+
239
+ export type StoryLabelOrderByRelationAggregateInput = {
240
+ _count?: Prisma.SortOrder
241
+ }
242
+
243
+ export type StoryLabelStoryIdLabelIdCompoundUniqueInput = {
244
+ storyId: string
245
+ labelId: string
246
+ }
247
+
248
+ export type StoryLabelCountOrderByAggregateInput = {
249
+ storyId?: Prisma.SortOrder
250
+ labelId?: Prisma.SortOrder
251
+ }
252
+
253
+ export type StoryLabelMaxOrderByAggregateInput = {
254
+ storyId?: Prisma.SortOrder
255
+ labelId?: Prisma.SortOrder
256
+ }
257
+
258
+ export type StoryLabelMinOrderByAggregateInput = {
259
+ storyId?: Prisma.SortOrder
260
+ labelId?: Prisma.SortOrder
261
+ }
262
+
263
+ export type StoryLabelCreateNestedManyWithoutStoryInput = {
264
+ create?: Prisma.XOR<Prisma.StoryLabelCreateWithoutStoryInput, Prisma.StoryLabelUncheckedCreateWithoutStoryInput> | Prisma.StoryLabelCreateWithoutStoryInput[] | Prisma.StoryLabelUncheckedCreateWithoutStoryInput[]
265
+ connectOrCreate?: Prisma.StoryLabelCreateOrConnectWithoutStoryInput | Prisma.StoryLabelCreateOrConnectWithoutStoryInput[]
266
+ createMany?: Prisma.StoryLabelCreateManyStoryInputEnvelope
267
+ connect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
268
+ }
269
+
270
+ export type StoryLabelUncheckedCreateNestedManyWithoutStoryInput = {
271
+ create?: Prisma.XOR<Prisma.StoryLabelCreateWithoutStoryInput, Prisma.StoryLabelUncheckedCreateWithoutStoryInput> | Prisma.StoryLabelCreateWithoutStoryInput[] | Prisma.StoryLabelUncheckedCreateWithoutStoryInput[]
272
+ connectOrCreate?: Prisma.StoryLabelCreateOrConnectWithoutStoryInput | Prisma.StoryLabelCreateOrConnectWithoutStoryInput[]
273
+ createMany?: Prisma.StoryLabelCreateManyStoryInputEnvelope
274
+ connect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
275
+ }
276
+
277
+ export type StoryLabelUpdateManyWithoutStoryNestedInput = {
278
+ create?: Prisma.XOR<Prisma.StoryLabelCreateWithoutStoryInput, Prisma.StoryLabelUncheckedCreateWithoutStoryInput> | Prisma.StoryLabelCreateWithoutStoryInput[] | Prisma.StoryLabelUncheckedCreateWithoutStoryInput[]
279
+ connectOrCreate?: Prisma.StoryLabelCreateOrConnectWithoutStoryInput | Prisma.StoryLabelCreateOrConnectWithoutStoryInput[]
280
+ upsert?: Prisma.StoryLabelUpsertWithWhereUniqueWithoutStoryInput | Prisma.StoryLabelUpsertWithWhereUniqueWithoutStoryInput[]
281
+ createMany?: Prisma.StoryLabelCreateManyStoryInputEnvelope
282
+ set?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
283
+ disconnect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
284
+ delete?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
285
+ connect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
286
+ update?: Prisma.StoryLabelUpdateWithWhereUniqueWithoutStoryInput | Prisma.StoryLabelUpdateWithWhereUniqueWithoutStoryInput[]
287
+ updateMany?: Prisma.StoryLabelUpdateManyWithWhereWithoutStoryInput | Prisma.StoryLabelUpdateManyWithWhereWithoutStoryInput[]
288
+ deleteMany?: Prisma.StoryLabelScalarWhereInput | Prisma.StoryLabelScalarWhereInput[]
289
+ }
290
+
291
+ export type StoryLabelUncheckedUpdateManyWithoutStoryNestedInput = {
292
+ create?: Prisma.XOR<Prisma.StoryLabelCreateWithoutStoryInput, Prisma.StoryLabelUncheckedCreateWithoutStoryInput> | Prisma.StoryLabelCreateWithoutStoryInput[] | Prisma.StoryLabelUncheckedCreateWithoutStoryInput[]
293
+ connectOrCreate?: Prisma.StoryLabelCreateOrConnectWithoutStoryInput | Prisma.StoryLabelCreateOrConnectWithoutStoryInput[]
294
+ upsert?: Prisma.StoryLabelUpsertWithWhereUniqueWithoutStoryInput | Prisma.StoryLabelUpsertWithWhereUniqueWithoutStoryInput[]
295
+ createMany?: Prisma.StoryLabelCreateManyStoryInputEnvelope
296
+ set?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
297
+ disconnect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
298
+ delete?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
299
+ connect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
300
+ update?: Prisma.StoryLabelUpdateWithWhereUniqueWithoutStoryInput | Prisma.StoryLabelUpdateWithWhereUniqueWithoutStoryInput[]
301
+ updateMany?: Prisma.StoryLabelUpdateManyWithWhereWithoutStoryInput | Prisma.StoryLabelUpdateManyWithWhereWithoutStoryInput[]
302
+ deleteMany?: Prisma.StoryLabelScalarWhereInput | Prisma.StoryLabelScalarWhereInput[]
303
+ }
304
+
305
+ export type StoryLabelCreateNestedManyWithoutLabelInput = {
306
+ create?: Prisma.XOR<Prisma.StoryLabelCreateWithoutLabelInput, Prisma.StoryLabelUncheckedCreateWithoutLabelInput> | Prisma.StoryLabelCreateWithoutLabelInput[] | Prisma.StoryLabelUncheckedCreateWithoutLabelInput[]
307
+ connectOrCreate?: Prisma.StoryLabelCreateOrConnectWithoutLabelInput | Prisma.StoryLabelCreateOrConnectWithoutLabelInput[]
308
+ createMany?: Prisma.StoryLabelCreateManyLabelInputEnvelope
309
+ connect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
310
+ }
311
+
312
+ export type StoryLabelUncheckedCreateNestedManyWithoutLabelInput = {
313
+ create?: Prisma.XOR<Prisma.StoryLabelCreateWithoutLabelInput, Prisma.StoryLabelUncheckedCreateWithoutLabelInput> | Prisma.StoryLabelCreateWithoutLabelInput[] | Prisma.StoryLabelUncheckedCreateWithoutLabelInput[]
314
+ connectOrCreate?: Prisma.StoryLabelCreateOrConnectWithoutLabelInput | Prisma.StoryLabelCreateOrConnectWithoutLabelInput[]
315
+ createMany?: Prisma.StoryLabelCreateManyLabelInputEnvelope
316
+ connect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
317
+ }
318
+
319
+ export type StoryLabelUpdateManyWithoutLabelNestedInput = {
320
+ create?: Prisma.XOR<Prisma.StoryLabelCreateWithoutLabelInput, Prisma.StoryLabelUncheckedCreateWithoutLabelInput> | Prisma.StoryLabelCreateWithoutLabelInput[] | Prisma.StoryLabelUncheckedCreateWithoutLabelInput[]
321
+ connectOrCreate?: Prisma.StoryLabelCreateOrConnectWithoutLabelInput | Prisma.StoryLabelCreateOrConnectWithoutLabelInput[]
322
+ upsert?: Prisma.StoryLabelUpsertWithWhereUniqueWithoutLabelInput | Prisma.StoryLabelUpsertWithWhereUniqueWithoutLabelInput[]
323
+ createMany?: Prisma.StoryLabelCreateManyLabelInputEnvelope
324
+ set?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
325
+ disconnect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
326
+ delete?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
327
+ connect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
328
+ update?: Prisma.StoryLabelUpdateWithWhereUniqueWithoutLabelInput | Prisma.StoryLabelUpdateWithWhereUniqueWithoutLabelInput[]
329
+ updateMany?: Prisma.StoryLabelUpdateManyWithWhereWithoutLabelInput | Prisma.StoryLabelUpdateManyWithWhereWithoutLabelInput[]
330
+ deleteMany?: Prisma.StoryLabelScalarWhereInput | Prisma.StoryLabelScalarWhereInput[]
331
+ }
332
+
333
+ export type StoryLabelUncheckedUpdateManyWithoutLabelNestedInput = {
334
+ create?: Prisma.XOR<Prisma.StoryLabelCreateWithoutLabelInput, Prisma.StoryLabelUncheckedCreateWithoutLabelInput> | Prisma.StoryLabelCreateWithoutLabelInput[] | Prisma.StoryLabelUncheckedCreateWithoutLabelInput[]
335
+ connectOrCreate?: Prisma.StoryLabelCreateOrConnectWithoutLabelInput | Prisma.StoryLabelCreateOrConnectWithoutLabelInput[]
336
+ upsert?: Prisma.StoryLabelUpsertWithWhereUniqueWithoutLabelInput | Prisma.StoryLabelUpsertWithWhereUniqueWithoutLabelInput[]
337
+ createMany?: Prisma.StoryLabelCreateManyLabelInputEnvelope
338
+ set?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
339
+ disconnect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
340
+ delete?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
341
+ connect?: Prisma.StoryLabelWhereUniqueInput | Prisma.StoryLabelWhereUniqueInput[]
342
+ update?: Prisma.StoryLabelUpdateWithWhereUniqueWithoutLabelInput | Prisma.StoryLabelUpdateWithWhereUniqueWithoutLabelInput[]
343
+ updateMany?: Prisma.StoryLabelUpdateManyWithWhereWithoutLabelInput | Prisma.StoryLabelUpdateManyWithWhereWithoutLabelInput[]
344
+ deleteMany?: Prisma.StoryLabelScalarWhereInput | Prisma.StoryLabelScalarWhereInput[]
345
+ }
346
+
347
+ export type StoryLabelCreateWithoutStoryInput = {
348
+ label: Prisma.LabelCreateNestedOneWithoutStoriesInput
349
+ }
350
+
351
+ export type StoryLabelUncheckedCreateWithoutStoryInput = {
352
+ labelId: string
353
+ }
354
+
355
+ export type StoryLabelCreateOrConnectWithoutStoryInput = {
356
+ where: Prisma.StoryLabelWhereUniqueInput
357
+ create: Prisma.XOR<Prisma.StoryLabelCreateWithoutStoryInput, Prisma.StoryLabelUncheckedCreateWithoutStoryInput>
358
+ }
359
+
360
+ export type StoryLabelCreateManyStoryInputEnvelope = {
361
+ data: Prisma.StoryLabelCreateManyStoryInput | Prisma.StoryLabelCreateManyStoryInput[]
362
+ skipDuplicates?: boolean
363
+ }
364
+
365
+ export type StoryLabelUpsertWithWhereUniqueWithoutStoryInput = {
366
+ where: Prisma.StoryLabelWhereUniqueInput
367
+ update: Prisma.XOR<Prisma.StoryLabelUpdateWithoutStoryInput, Prisma.StoryLabelUncheckedUpdateWithoutStoryInput>
368
+ create: Prisma.XOR<Prisma.StoryLabelCreateWithoutStoryInput, Prisma.StoryLabelUncheckedCreateWithoutStoryInput>
369
+ }
370
+
371
+ export type StoryLabelUpdateWithWhereUniqueWithoutStoryInput = {
372
+ where: Prisma.StoryLabelWhereUniqueInput
373
+ data: Prisma.XOR<Prisma.StoryLabelUpdateWithoutStoryInput, Prisma.StoryLabelUncheckedUpdateWithoutStoryInput>
374
+ }
375
+
376
+ export type StoryLabelUpdateManyWithWhereWithoutStoryInput = {
377
+ where: Prisma.StoryLabelScalarWhereInput
378
+ data: Prisma.XOR<Prisma.StoryLabelUpdateManyMutationInput, Prisma.StoryLabelUncheckedUpdateManyWithoutStoryInput>
379
+ }
380
+
381
+ export type StoryLabelScalarWhereInput = {
382
+ AND?: Prisma.StoryLabelScalarWhereInput | Prisma.StoryLabelScalarWhereInput[]
383
+ OR?: Prisma.StoryLabelScalarWhereInput[]
384
+ NOT?: Prisma.StoryLabelScalarWhereInput | Prisma.StoryLabelScalarWhereInput[]
385
+ storyId?: Prisma.StringFilter<"StoryLabel"> | string
386
+ labelId?: Prisma.StringFilter<"StoryLabel"> | string
387
+ }
388
+
389
+ export type StoryLabelCreateWithoutLabelInput = {
390
+ story: Prisma.StoryCreateNestedOneWithoutLabelsInput
391
+ }
392
+
393
+ export type StoryLabelUncheckedCreateWithoutLabelInput = {
394
+ storyId: string
395
+ }
396
+
397
+ export type StoryLabelCreateOrConnectWithoutLabelInput = {
398
+ where: Prisma.StoryLabelWhereUniqueInput
399
+ create: Prisma.XOR<Prisma.StoryLabelCreateWithoutLabelInput, Prisma.StoryLabelUncheckedCreateWithoutLabelInput>
400
+ }
401
+
402
+ export type StoryLabelCreateManyLabelInputEnvelope = {
403
+ data: Prisma.StoryLabelCreateManyLabelInput | Prisma.StoryLabelCreateManyLabelInput[]
404
+ skipDuplicates?: boolean
405
+ }
406
+
407
+ export type StoryLabelUpsertWithWhereUniqueWithoutLabelInput = {
408
+ where: Prisma.StoryLabelWhereUniqueInput
409
+ update: Prisma.XOR<Prisma.StoryLabelUpdateWithoutLabelInput, Prisma.StoryLabelUncheckedUpdateWithoutLabelInput>
410
+ create: Prisma.XOR<Prisma.StoryLabelCreateWithoutLabelInput, Prisma.StoryLabelUncheckedCreateWithoutLabelInput>
411
+ }
412
+
413
+ export type StoryLabelUpdateWithWhereUniqueWithoutLabelInput = {
414
+ where: Prisma.StoryLabelWhereUniqueInput
415
+ data: Prisma.XOR<Prisma.StoryLabelUpdateWithoutLabelInput, Prisma.StoryLabelUncheckedUpdateWithoutLabelInput>
416
+ }
417
+
418
+ export type StoryLabelUpdateManyWithWhereWithoutLabelInput = {
419
+ where: Prisma.StoryLabelScalarWhereInput
420
+ data: Prisma.XOR<Prisma.StoryLabelUpdateManyMutationInput, Prisma.StoryLabelUncheckedUpdateManyWithoutLabelInput>
421
+ }
422
+
423
+ export type StoryLabelCreateManyStoryInput = {
424
+ labelId: string
425
+ }
426
+
427
+ export type StoryLabelUpdateWithoutStoryInput = {
428
+ label?: Prisma.LabelUpdateOneRequiredWithoutStoriesNestedInput
429
+ }
430
+
431
+ export type StoryLabelUncheckedUpdateWithoutStoryInput = {
432
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string
433
+ }
434
+
435
+ export type StoryLabelUncheckedUpdateManyWithoutStoryInput = {
436
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string
437
+ }
438
+
439
+ export type StoryLabelCreateManyLabelInput = {
440
+ storyId: string
441
+ }
442
+
443
+ export type StoryLabelUpdateWithoutLabelInput = {
444
+ story?: Prisma.StoryUpdateOneRequiredWithoutLabelsNestedInput
445
+ }
446
+
447
+ export type StoryLabelUncheckedUpdateWithoutLabelInput = {
448
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
449
+ }
450
+
451
+ export type StoryLabelUncheckedUpdateManyWithoutLabelInput = {
452
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
453
+ }
454
+
455
+
456
+
457
+ export type StoryLabelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
458
+ storyId?: boolean
459
+ labelId?: boolean
460
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
461
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>
462
+ }, ExtArgs["result"]["storyLabel"]>
463
+
464
+ export type StoryLabelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
465
+ storyId?: boolean
466
+ labelId?: boolean
467
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
468
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>
469
+ }, ExtArgs["result"]["storyLabel"]>
470
+
471
+ export type StoryLabelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
472
+ storyId?: boolean
473
+ labelId?: boolean
474
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
475
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>
476
+ }, ExtArgs["result"]["storyLabel"]>
477
+
478
+ export type StoryLabelSelectScalar = {
479
+ storyId?: boolean
480
+ labelId?: boolean
481
+ }
482
+
483
+ export type StoryLabelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"storyId" | "labelId", ExtArgs["result"]["storyLabel"]>
484
+ export type StoryLabelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
485
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
486
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>
487
+ }
488
+ export type StoryLabelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
489
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
490
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>
491
+ }
492
+ export type StoryLabelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
493
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
494
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>
495
+ }
496
+
497
+ export type $StoryLabelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
498
+ name: "StoryLabel"
499
+ objects: {
500
+ story: Prisma.$StoryPayload<ExtArgs>
501
+ label: Prisma.$LabelPayload<ExtArgs>
502
+ }
503
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
504
+ storyId: string
505
+ labelId: string
506
+ }, ExtArgs["result"]["storyLabel"]>
507
+ composites: {}
508
+ }
509
+
510
+ export type StoryLabelGetPayload<S extends boolean | null | undefined | StoryLabelDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload, S>
511
+
512
+ export type StoryLabelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
513
+ Omit<StoryLabelFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
514
+ select?: StoryLabelCountAggregateInputType | true
515
+ }
516
+
517
+ export interface StoryLabelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
518
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['StoryLabel'], meta: { name: 'StoryLabel' } }
519
+ /**
520
+ * Find zero or one StoryLabel that matches the filter.
521
+ * @param {StoryLabelFindUniqueArgs} args - Arguments to find a StoryLabel
522
+ * @example
523
+ * // Get one StoryLabel
524
+ * const storyLabel = await prisma.storyLabel.findUnique({
525
+ * where: {
526
+ * // ... provide filter here
527
+ * }
528
+ * })
529
+ */
530
+ findUnique<T extends StoryLabelFindUniqueArgs>(args: Prisma.SelectSubset<T, StoryLabelFindUniqueArgs<ExtArgs>>): Prisma.Prisma__StoryLabelClient<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
531
+
532
+ /**
533
+ * Find one StoryLabel that matches the filter or throw an error with `error.code='P2025'`
534
+ * if no matches were found.
535
+ * @param {StoryLabelFindUniqueOrThrowArgs} args - Arguments to find a StoryLabel
536
+ * @example
537
+ * // Get one StoryLabel
538
+ * const storyLabel = await prisma.storyLabel.findUniqueOrThrow({
539
+ * where: {
540
+ * // ... provide filter here
541
+ * }
542
+ * })
543
+ */
544
+ findUniqueOrThrow<T extends StoryLabelFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, StoryLabelFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__StoryLabelClient<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
545
+
546
+ /**
547
+ * Find the first StoryLabel 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 {StoryLabelFindFirstArgs} args - Arguments to find a StoryLabel
551
+ * @example
552
+ * // Get one StoryLabel
553
+ * const storyLabel = await prisma.storyLabel.findFirst({
554
+ * where: {
555
+ * // ... provide filter here
556
+ * }
557
+ * })
558
+ */
559
+ findFirst<T extends StoryLabelFindFirstArgs>(args?: Prisma.SelectSubset<T, StoryLabelFindFirstArgs<ExtArgs>>): Prisma.Prisma__StoryLabelClient<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
560
+
561
+ /**
562
+ * Find the first StoryLabel 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 {StoryLabelFindFirstOrThrowArgs} args - Arguments to find a StoryLabel
567
+ * @example
568
+ * // Get one StoryLabel
569
+ * const storyLabel = await prisma.storyLabel.findFirstOrThrow({
570
+ * where: {
571
+ * // ... provide filter here
572
+ * }
573
+ * })
574
+ */
575
+ findFirstOrThrow<T extends StoryLabelFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, StoryLabelFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__StoryLabelClient<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
576
+
577
+ /**
578
+ * Find zero or more StoryLabels 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 {StoryLabelFindManyArgs} args - Arguments to filter and select certain fields only.
582
+ * @example
583
+ * // Get all StoryLabels
584
+ * const storyLabels = await prisma.storyLabel.findMany()
585
+ *
586
+ * // Get first 10 StoryLabels
587
+ * const storyLabels = await prisma.storyLabel.findMany({ take: 10 })
588
+ *
589
+ * // Only select the `storyId`
590
+ * const storyLabelWithStoryIdOnly = await prisma.storyLabel.findMany({ select: { storyId: true } })
591
+ *
592
+ */
593
+ findMany<T extends StoryLabelFindManyArgs>(args?: Prisma.SelectSubset<T, StoryLabelFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
594
+
595
+ /**
596
+ * Create a StoryLabel.
597
+ * @param {StoryLabelCreateArgs} args - Arguments to create a StoryLabel.
598
+ * @example
599
+ * // Create one StoryLabel
600
+ * const StoryLabel = await prisma.storyLabel.create({
601
+ * data: {
602
+ * // ... data to create a StoryLabel
603
+ * }
604
+ * })
605
+ *
606
+ */
607
+ create<T extends StoryLabelCreateArgs>(args: Prisma.SelectSubset<T, StoryLabelCreateArgs<ExtArgs>>): Prisma.Prisma__StoryLabelClient<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
608
+
609
+ /**
610
+ * Create many StoryLabels.
611
+ * @param {StoryLabelCreateManyArgs} args - Arguments to create many StoryLabels.
612
+ * @example
613
+ * // Create many StoryLabels
614
+ * const storyLabel = await prisma.storyLabel.createMany({
615
+ * data: [
616
+ * // ... provide data here
617
+ * ]
618
+ * })
619
+ *
620
+ */
621
+ createMany<T extends StoryLabelCreateManyArgs>(args?: Prisma.SelectSubset<T, StoryLabelCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
622
+
623
+ /**
624
+ * Create many StoryLabels and returns the data saved in the database.
625
+ * @param {StoryLabelCreateManyAndReturnArgs} args - Arguments to create many StoryLabels.
626
+ * @example
627
+ * // Create many StoryLabels
628
+ * const storyLabel = await prisma.storyLabel.createManyAndReturn({
629
+ * data: [
630
+ * // ... provide data here
631
+ * ]
632
+ * })
633
+ *
634
+ * // Create many StoryLabels and only return the `storyId`
635
+ * const storyLabelWithStoryIdOnly = await prisma.storyLabel.createManyAndReturn({
636
+ * select: { storyId: 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 StoryLabelCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, StoryLabelCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
646
+
647
+ /**
648
+ * Delete a StoryLabel.
649
+ * @param {StoryLabelDeleteArgs} args - Arguments to delete one StoryLabel.
650
+ * @example
651
+ * // Delete one StoryLabel
652
+ * const StoryLabel = await prisma.storyLabel.delete({
653
+ * where: {
654
+ * // ... filter to delete one StoryLabel
655
+ * }
656
+ * })
657
+ *
658
+ */
659
+ delete<T extends StoryLabelDeleteArgs>(args: Prisma.SelectSubset<T, StoryLabelDeleteArgs<ExtArgs>>): Prisma.Prisma__StoryLabelClient<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
660
+
661
+ /**
662
+ * Update one StoryLabel.
663
+ * @param {StoryLabelUpdateArgs} args - Arguments to update one StoryLabel.
664
+ * @example
665
+ * // Update one StoryLabel
666
+ * const storyLabel = await prisma.storyLabel.update({
667
+ * where: {
668
+ * // ... provide filter here
669
+ * },
670
+ * data: {
671
+ * // ... provide data here
672
+ * }
673
+ * })
674
+ *
675
+ */
676
+ update<T extends StoryLabelUpdateArgs>(args: Prisma.SelectSubset<T, StoryLabelUpdateArgs<ExtArgs>>): Prisma.Prisma__StoryLabelClient<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
677
+
678
+ /**
679
+ * Delete zero or more StoryLabels.
680
+ * @param {StoryLabelDeleteManyArgs} args - Arguments to filter StoryLabels to delete.
681
+ * @example
682
+ * // Delete a few StoryLabels
683
+ * const { count } = await prisma.storyLabel.deleteMany({
684
+ * where: {
685
+ * // ... provide filter here
686
+ * }
687
+ * })
688
+ *
689
+ */
690
+ deleteMany<T extends StoryLabelDeleteManyArgs>(args?: Prisma.SelectSubset<T, StoryLabelDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
691
+
692
+ /**
693
+ * Update zero or more StoryLabels.
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 {StoryLabelUpdateManyArgs} args - Arguments to update one or more rows.
697
+ * @example
698
+ * // Update many StoryLabels
699
+ * const storyLabel = await prisma.storyLabel.updateMany({
700
+ * where: {
701
+ * // ... provide filter here
702
+ * },
703
+ * data: {
704
+ * // ... provide data here
705
+ * }
706
+ * })
707
+ *
708
+ */
709
+ updateMany<T extends StoryLabelUpdateManyArgs>(args: Prisma.SelectSubset<T, StoryLabelUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
710
+
711
+ /**
712
+ * Update zero or more StoryLabels and returns the data updated in the database.
713
+ * @param {StoryLabelUpdateManyAndReturnArgs} args - Arguments to update many StoryLabels.
714
+ * @example
715
+ * // Update many StoryLabels
716
+ * const storyLabel = await prisma.storyLabel.updateManyAndReturn({
717
+ * where: {
718
+ * // ... provide filter here
719
+ * },
720
+ * data: [
721
+ * // ... provide data here
722
+ * ]
723
+ * })
724
+ *
725
+ * // Update zero or more StoryLabels and only return the `storyId`
726
+ * const storyLabelWithStoryIdOnly = await prisma.storyLabel.updateManyAndReturn({
727
+ * select: { storyId: 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 StoryLabelUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, StoryLabelUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
740
+
741
+ /**
742
+ * Create or update one StoryLabel.
743
+ * @param {StoryLabelUpsertArgs} args - Arguments to update or create a StoryLabel.
744
+ * @example
745
+ * // Update or create a StoryLabel
746
+ * const storyLabel = await prisma.storyLabel.upsert({
747
+ * create: {
748
+ * // ... data to create a StoryLabel
749
+ * },
750
+ * update: {
751
+ * // ... in case it already exists, update
752
+ * },
753
+ * where: {
754
+ * // ... the filter for the StoryLabel we want to update
755
+ * }
756
+ * })
757
+ */
758
+ upsert<T extends StoryLabelUpsertArgs>(args: Prisma.SelectSubset<T, StoryLabelUpsertArgs<ExtArgs>>): Prisma.Prisma__StoryLabelClient<runtime.Types.Result.GetResult<Prisma.$StoryLabelPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
759
+
760
+
761
+ /**
762
+ * Count the number of StoryLabels.
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 {StoryLabelCountArgs} args - Arguments to filter StoryLabels to count.
766
+ * @example
767
+ * // Count the number of StoryLabels
768
+ * const count = await prisma.storyLabel.count({
769
+ * where: {
770
+ * // ... the filter for the StoryLabels we want to count
771
+ * }
772
+ * })
773
+ **/
774
+ count<T extends StoryLabelCountArgs>(
775
+ args?: Prisma.Subset<T, StoryLabelCountArgs>,
776
+ ): Prisma.PrismaPromise<
777
+ T extends runtime.Types.Utils.Record<'select', any>
778
+ ? T['select'] extends true
779
+ ? number
780
+ : Prisma.GetScalarType<T['select'], StoryLabelCountAggregateOutputType>
781
+ : number
782
+ >
783
+
784
+ /**
785
+ * Allows you to perform aggregations operations on a StoryLabel.
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 {StoryLabelAggregateArgs} 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 StoryLabelAggregateArgs>(args: Prisma.Subset<T, StoryLabelAggregateArgs>): Prisma.PrismaPromise<GetStoryLabelAggregateType<T>>
809
+
810
+ /**
811
+ * Group by StoryLabel.
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 {StoryLabelGroupByArgs} 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 StoryLabelGroupByArgs,
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: StoryLabelGroupByArgs['orderBy'] }
836
+ : { orderBy?: StoryLabelGroupByArgs['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, StoryLabelGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetStoryLabelGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
886
+ /**
887
+ * Fields of the StoryLabel model
888
+ */
889
+ readonly fields: StoryLabelFieldRefs;
890
+ }
891
+
892
+ /**
893
+ * The delegate class that acts as a "Promise-like" for StoryLabel.
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__StoryLabelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
899
+ readonly [Symbol.toStringTag]: "PrismaPromise"
900
+ story<T extends Prisma.StoryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StoryDefaultArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<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 StoryLabel model
929
+ */
930
+ export interface StoryLabelFieldRefs {
931
+ readonly storyId: Prisma.FieldRef<"StoryLabel", 'String'>
932
+ readonly labelId: Prisma.FieldRef<"StoryLabel", 'String'>
933
+ }
934
+
935
+
936
+ // Custom InputTypes
937
+ /**
938
+ * StoryLabel findUnique
939
+ */
940
+ export type StoryLabelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
941
+ /**
942
+ * Select specific fields to fetch from the StoryLabel
943
+ */
944
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
945
+ /**
946
+ * Omit specific fields from the StoryLabel
947
+ */
948
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
949
+ /**
950
+ * Choose, which related nodes to fetch as well
951
+ */
952
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
953
+ /**
954
+ * Filter, which StoryLabel to fetch.
955
+ */
956
+ where: Prisma.StoryLabelWhereUniqueInput
957
+ }
958
+
959
+ /**
960
+ * StoryLabel findUniqueOrThrow
961
+ */
962
+ export type StoryLabelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
963
+ /**
964
+ * Select specific fields to fetch from the StoryLabel
965
+ */
966
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
967
+ /**
968
+ * Omit specific fields from the StoryLabel
969
+ */
970
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
971
+ /**
972
+ * Choose, which related nodes to fetch as well
973
+ */
974
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
975
+ /**
976
+ * Filter, which StoryLabel to fetch.
977
+ */
978
+ where: Prisma.StoryLabelWhereUniqueInput
979
+ }
980
+
981
+ /**
982
+ * StoryLabel findFirst
983
+ */
984
+ export type StoryLabelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
985
+ /**
986
+ * Select specific fields to fetch from the StoryLabel
987
+ */
988
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
989
+ /**
990
+ * Omit specific fields from the StoryLabel
991
+ */
992
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
993
+ /**
994
+ * Choose, which related nodes to fetch as well
995
+ */
996
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
997
+ /**
998
+ * Filter, which StoryLabel to fetch.
999
+ */
1000
+ where?: Prisma.StoryLabelWhereInput
1001
+ /**
1002
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1003
+ *
1004
+ * Determine the order of StoryLabels to fetch.
1005
+ */
1006
+ orderBy?: Prisma.StoryLabelOrderByWithRelationInput | Prisma.StoryLabelOrderByWithRelationInput[]
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 StoryLabels.
1011
+ */
1012
+ cursor?: Prisma.StoryLabelWhereUniqueInput
1013
+ /**
1014
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1015
+ *
1016
+ * Take `±n` StoryLabels 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` StoryLabels.
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 StoryLabels.
1029
+ */
1030
+ distinct?: Prisma.StoryLabelScalarFieldEnum | Prisma.StoryLabelScalarFieldEnum[]
1031
+ }
1032
+
1033
+ /**
1034
+ * StoryLabel findFirstOrThrow
1035
+ */
1036
+ export type StoryLabelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1037
+ /**
1038
+ * Select specific fields to fetch from the StoryLabel
1039
+ */
1040
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
1041
+ /**
1042
+ * Omit specific fields from the StoryLabel
1043
+ */
1044
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
1045
+ /**
1046
+ * Choose, which related nodes to fetch as well
1047
+ */
1048
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
1049
+ /**
1050
+ * Filter, which StoryLabel to fetch.
1051
+ */
1052
+ where?: Prisma.StoryLabelWhereInput
1053
+ /**
1054
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1055
+ *
1056
+ * Determine the order of StoryLabels to fetch.
1057
+ */
1058
+ orderBy?: Prisma.StoryLabelOrderByWithRelationInput | Prisma.StoryLabelOrderByWithRelationInput[]
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 StoryLabels.
1063
+ */
1064
+ cursor?: Prisma.StoryLabelWhereUniqueInput
1065
+ /**
1066
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1067
+ *
1068
+ * Take `±n` StoryLabels 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` StoryLabels.
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 StoryLabels.
1081
+ */
1082
+ distinct?: Prisma.StoryLabelScalarFieldEnum | Prisma.StoryLabelScalarFieldEnum[]
1083
+ }
1084
+
1085
+ /**
1086
+ * StoryLabel findMany
1087
+ */
1088
+ export type StoryLabelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1089
+ /**
1090
+ * Select specific fields to fetch from the StoryLabel
1091
+ */
1092
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
1093
+ /**
1094
+ * Omit specific fields from the StoryLabel
1095
+ */
1096
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
1097
+ /**
1098
+ * Choose, which related nodes to fetch as well
1099
+ */
1100
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
1101
+ /**
1102
+ * Filter, which StoryLabels to fetch.
1103
+ */
1104
+ where?: Prisma.StoryLabelWhereInput
1105
+ /**
1106
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1107
+ *
1108
+ * Determine the order of StoryLabels to fetch.
1109
+ */
1110
+ orderBy?: Prisma.StoryLabelOrderByWithRelationInput | Prisma.StoryLabelOrderByWithRelationInput[]
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 StoryLabels.
1115
+ */
1116
+ cursor?: Prisma.StoryLabelWhereUniqueInput
1117
+ /**
1118
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1119
+ *
1120
+ * Take `±n` StoryLabels 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` StoryLabels.
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 StoryLabels.
1133
+ */
1134
+ distinct?: Prisma.StoryLabelScalarFieldEnum | Prisma.StoryLabelScalarFieldEnum[]
1135
+ }
1136
+
1137
+ /**
1138
+ * StoryLabel create
1139
+ */
1140
+ export type StoryLabelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1141
+ /**
1142
+ * Select specific fields to fetch from the StoryLabel
1143
+ */
1144
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
1145
+ /**
1146
+ * Omit specific fields from the StoryLabel
1147
+ */
1148
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
1149
+ /**
1150
+ * Choose, which related nodes to fetch as well
1151
+ */
1152
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
1153
+ /**
1154
+ * The data needed to create a StoryLabel.
1155
+ */
1156
+ data: Prisma.XOR<Prisma.StoryLabelCreateInput, Prisma.StoryLabelUncheckedCreateInput>
1157
+ }
1158
+
1159
+ /**
1160
+ * StoryLabel createMany
1161
+ */
1162
+ export type StoryLabelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1163
+ /**
1164
+ * The data used to create many StoryLabels.
1165
+ */
1166
+ data: Prisma.StoryLabelCreateManyInput | Prisma.StoryLabelCreateManyInput[]
1167
+ skipDuplicates?: boolean
1168
+ }
1169
+
1170
+ /**
1171
+ * StoryLabel createManyAndReturn
1172
+ */
1173
+ export type StoryLabelCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1174
+ /**
1175
+ * Select specific fields to fetch from the StoryLabel
1176
+ */
1177
+ select?: Prisma.StoryLabelSelectCreateManyAndReturn<ExtArgs> | null
1178
+ /**
1179
+ * Omit specific fields from the StoryLabel
1180
+ */
1181
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
1182
+ /**
1183
+ * The data used to create many StoryLabels.
1184
+ */
1185
+ data: Prisma.StoryLabelCreateManyInput | Prisma.StoryLabelCreateManyInput[]
1186
+ skipDuplicates?: boolean
1187
+ /**
1188
+ * Choose, which related nodes to fetch as well
1189
+ */
1190
+ include?: Prisma.StoryLabelIncludeCreateManyAndReturn<ExtArgs> | null
1191
+ }
1192
+
1193
+ /**
1194
+ * StoryLabel update
1195
+ */
1196
+ export type StoryLabelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1197
+ /**
1198
+ * Select specific fields to fetch from the StoryLabel
1199
+ */
1200
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
1201
+ /**
1202
+ * Omit specific fields from the StoryLabel
1203
+ */
1204
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
1205
+ /**
1206
+ * Choose, which related nodes to fetch as well
1207
+ */
1208
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
1209
+ /**
1210
+ * The data needed to update a StoryLabel.
1211
+ */
1212
+ data: Prisma.XOR<Prisma.StoryLabelUpdateInput, Prisma.StoryLabelUncheckedUpdateInput>
1213
+ /**
1214
+ * Choose, which StoryLabel to update.
1215
+ */
1216
+ where: Prisma.StoryLabelWhereUniqueInput
1217
+ }
1218
+
1219
+ /**
1220
+ * StoryLabel updateMany
1221
+ */
1222
+ export type StoryLabelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1223
+ /**
1224
+ * The data used to update StoryLabels.
1225
+ */
1226
+ data: Prisma.XOR<Prisma.StoryLabelUpdateManyMutationInput, Prisma.StoryLabelUncheckedUpdateManyInput>
1227
+ /**
1228
+ * Filter which StoryLabels to update
1229
+ */
1230
+ where?: Prisma.StoryLabelWhereInput
1231
+ /**
1232
+ * Limit how many StoryLabels to update.
1233
+ */
1234
+ limit?: number
1235
+ }
1236
+
1237
+ /**
1238
+ * StoryLabel updateManyAndReturn
1239
+ */
1240
+ export type StoryLabelUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1241
+ /**
1242
+ * Select specific fields to fetch from the StoryLabel
1243
+ */
1244
+ select?: Prisma.StoryLabelSelectUpdateManyAndReturn<ExtArgs> | null
1245
+ /**
1246
+ * Omit specific fields from the StoryLabel
1247
+ */
1248
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
1249
+ /**
1250
+ * The data used to update StoryLabels.
1251
+ */
1252
+ data: Prisma.XOR<Prisma.StoryLabelUpdateManyMutationInput, Prisma.StoryLabelUncheckedUpdateManyInput>
1253
+ /**
1254
+ * Filter which StoryLabels to update
1255
+ */
1256
+ where?: Prisma.StoryLabelWhereInput
1257
+ /**
1258
+ * Limit how many StoryLabels to update.
1259
+ */
1260
+ limit?: number
1261
+ /**
1262
+ * Choose, which related nodes to fetch as well
1263
+ */
1264
+ include?: Prisma.StoryLabelIncludeUpdateManyAndReturn<ExtArgs> | null
1265
+ }
1266
+
1267
+ /**
1268
+ * StoryLabel upsert
1269
+ */
1270
+ export type StoryLabelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1271
+ /**
1272
+ * Select specific fields to fetch from the StoryLabel
1273
+ */
1274
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
1275
+ /**
1276
+ * Omit specific fields from the StoryLabel
1277
+ */
1278
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
1279
+ /**
1280
+ * Choose, which related nodes to fetch as well
1281
+ */
1282
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
1283
+ /**
1284
+ * The filter to search for the StoryLabel to update in case it exists.
1285
+ */
1286
+ where: Prisma.StoryLabelWhereUniqueInput
1287
+ /**
1288
+ * In case the StoryLabel found by the `where` argument doesn't exist, create a new StoryLabel with this data.
1289
+ */
1290
+ create: Prisma.XOR<Prisma.StoryLabelCreateInput, Prisma.StoryLabelUncheckedCreateInput>
1291
+ /**
1292
+ * In case the StoryLabel was found with the provided `where` argument, update it with this data.
1293
+ */
1294
+ update: Prisma.XOR<Prisma.StoryLabelUpdateInput, Prisma.StoryLabelUncheckedUpdateInput>
1295
+ }
1296
+
1297
+ /**
1298
+ * StoryLabel delete
1299
+ */
1300
+ export type StoryLabelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1301
+ /**
1302
+ * Select specific fields to fetch from the StoryLabel
1303
+ */
1304
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
1305
+ /**
1306
+ * Omit specific fields from the StoryLabel
1307
+ */
1308
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
1309
+ /**
1310
+ * Choose, which related nodes to fetch as well
1311
+ */
1312
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
1313
+ /**
1314
+ * Filter which StoryLabel to delete.
1315
+ */
1316
+ where: Prisma.StoryLabelWhereUniqueInput
1317
+ }
1318
+
1319
+ /**
1320
+ * StoryLabel deleteMany
1321
+ */
1322
+ export type StoryLabelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1323
+ /**
1324
+ * Filter which StoryLabels to delete
1325
+ */
1326
+ where?: Prisma.StoryLabelWhereInput
1327
+ /**
1328
+ * Limit how many StoryLabels to delete.
1329
+ */
1330
+ limit?: number
1331
+ }
1332
+
1333
+ /**
1334
+ * StoryLabel without action
1335
+ */
1336
+ export type StoryLabelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1337
+ /**
1338
+ * Select specific fields to fetch from the StoryLabel
1339
+ */
1340
+ select?: Prisma.StoryLabelSelect<ExtArgs> | null
1341
+ /**
1342
+ * Omit specific fields from the StoryLabel
1343
+ */
1344
+ omit?: Prisma.StoryLabelOmit<ExtArgs> | null
1345
+ /**
1346
+ * Choose, which related nodes to fetch as well
1347
+ */
1348
+ include?: Prisma.StoryLabelInclude<ExtArgs> | null
1349
+ }