@allbluecn/database 0.4.16 → 0.4.18

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 (33) hide show
  1. package/dist/lib/share-utils.d.ts +2 -0
  2. package/dist/lib/share-utils.js +17 -0
  3. package/generated/browser.ts +10 -0
  4. package/generated/client.ts +10 -0
  5. package/generated/internal/class.ts +24 -4
  6. package/generated/internal/prismaNamespace.ts +188 -3
  7. package/generated/internal/prismaNamespaceBrowser.ts +37 -2
  8. package/generated/models/Iteration.ts +1878 -0
  9. package/generated/models/IterationAutoSchedule.ts +1485 -0
  10. package/generated/models/Project.ts +326 -0
  11. package/generated/models/Story.ts +393 -3
  12. package/generated/models/User.ts +618 -0
  13. package/generated/models.ts +2 -0
  14. package/generated-sqlite/browser.ts +15 -0
  15. package/generated-sqlite/client.ts +15 -0
  16. package/generated-sqlite/internal/class.ts +34 -4
  17. package/generated-sqlite/internal/prismaNamespace.ts +288 -2
  18. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +62 -1
  19. package/generated-sqlite/models/Iteration.ts +1874 -0
  20. package/generated-sqlite/models/IterationAutoSchedule.ts +1483 -0
  21. package/generated-sqlite/models/Project.ts +484 -0
  22. package/generated-sqlite/models/Story.ts +3263 -0
  23. package/generated-sqlite/models/User.ts +2103 -107
  24. package/generated-sqlite/models.ts +3 -0
  25. package/index.ts +2 -2
  26. package/migrations/20260831203925_story_attachment_file_hash/migration.sql +2 -0
  27. package/migrations/20260901020000_story_attachment_file_hash/migration.sql +2 -0
  28. package/migrations/20260901134601_iterations/migration.sql +52 -0
  29. package/migrations/20260902000000_story_identifier_per_project/migration.sql +37 -0
  30. package/migrations/20260902000100_story_identifier_counter_init/migration.sql +11 -0
  31. package/package.json +14 -5
  32. package/schema.prisma +47 -4
  33. package/schema.sqlite.prisma +89 -4
@@ -0,0 +1,3263 @@
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 `Story` 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 Story
17
+ *
18
+ */
19
+ export type StoryModel = runtime.Types.Result.DefaultSelection<Prisma.$StoryPayload>
20
+
21
+ export type AggregateStory = {
22
+ _count: StoryCountAggregateOutputType | null
23
+ _avg: StoryAvgAggregateOutputType | null
24
+ _sum: StorySumAggregateOutputType | null
25
+ _min: StoryMinAggregateOutputType | null
26
+ _max: StoryMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type StoryAvgAggregateOutputType = {
30
+ sequenceId: number | null
31
+ boardOrder: number | null
32
+ }
33
+
34
+ export type StorySumAggregateOutputType = {
35
+ sequenceId: number | null
36
+ boardOrder: number | null
37
+ }
38
+
39
+ export type StoryMinAggregateOutputType = {
40
+ id: string | null
41
+ sequenceId: number | null
42
+ boardOrder: number | null
43
+ identifier: string | null
44
+ projectId: string | null
45
+ name: string | null
46
+ description: string | null
47
+ state: string | null
48
+ priority: string | null
49
+ archived: boolean | null
50
+ archivedAt: Date | null
51
+ assigneeId: string | null
52
+ startDate: Date | null
53
+ targetDate: Date | null
54
+ createdById: string | null
55
+ updatedById: string | null
56
+ parentId: string | null
57
+ iterationId: string | null
58
+ createdAt: Date | null
59
+ updatedAt: Date | null
60
+ }
61
+
62
+ export type StoryMaxAggregateOutputType = {
63
+ id: string | null
64
+ sequenceId: number | null
65
+ boardOrder: number | null
66
+ identifier: string | null
67
+ projectId: string | null
68
+ name: string | null
69
+ description: string | null
70
+ state: string | null
71
+ priority: string | null
72
+ archived: boolean | null
73
+ archivedAt: Date | null
74
+ assigneeId: string | null
75
+ startDate: Date | null
76
+ targetDate: Date | null
77
+ createdById: string | null
78
+ updatedById: string | null
79
+ parentId: string | null
80
+ iterationId: string | null
81
+ createdAt: Date | null
82
+ updatedAt: Date | null
83
+ }
84
+
85
+ export type StoryCountAggregateOutputType = {
86
+ id: number
87
+ sequenceId: number
88
+ boardOrder: number
89
+ identifier: number
90
+ projectId: number
91
+ name: number
92
+ description: number
93
+ state: number
94
+ priority: number
95
+ archived: number
96
+ archivedAt: number
97
+ assigneeId: number
98
+ startDate: number
99
+ targetDate: number
100
+ createdById: number
101
+ updatedById: number
102
+ parentId: number
103
+ iterationId: number
104
+ createdAt: number
105
+ updatedAt: number
106
+ _all: number
107
+ }
108
+
109
+
110
+ export type StoryAvgAggregateInputType = {
111
+ sequenceId?: true
112
+ boardOrder?: true
113
+ }
114
+
115
+ export type StorySumAggregateInputType = {
116
+ sequenceId?: true
117
+ boardOrder?: true
118
+ }
119
+
120
+ export type StoryMinAggregateInputType = {
121
+ id?: true
122
+ sequenceId?: true
123
+ boardOrder?: true
124
+ identifier?: true
125
+ projectId?: true
126
+ name?: true
127
+ description?: true
128
+ state?: true
129
+ priority?: true
130
+ archived?: true
131
+ archivedAt?: true
132
+ assigneeId?: true
133
+ startDate?: true
134
+ targetDate?: true
135
+ createdById?: true
136
+ updatedById?: true
137
+ parentId?: true
138
+ iterationId?: true
139
+ createdAt?: true
140
+ updatedAt?: true
141
+ }
142
+
143
+ export type StoryMaxAggregateInputType = {
144
+ id?: true
145
+ sequenceId?: true
146
+ boardOrder?: true
147
+ identifier?: true
148
+ projectId?: true
149
+ name?: true
150
+ description?: true
151
+ state?: true
152
+ priority?: true
153
+ archived?: true
154
+ archivedAt?: true
155
+ assigneeId?: true
156
+ startDate?: true
157
+ targetDate?: true
158
+ createdById?: true
159
+ updatedById?: true
160
+ parentId?: true
161
+ iterationId?: true
162
+ createdAt?: true
163
+ updatedAt?: true
164
+ }
165
+
166
+ export type StoryCountAggregateInputType = {
167
+ id?: true
168
+ sequenceId?: true
169
+ boardOrder?: true
170
+ identifier?: true
171
+ projectId?: true
172
+ name?: true
173
+ description?: true
174
+ state?: true
175
+ priority?: true
176
+ archived?: true
177
+ archivedAt?: true
178
+ assigneeId?: true
179
+ startDate?: true
180
+ targetDate?: true
181
+ createdById?: true
182
+ updatedById?: true
183
+ parentId?: true
184
+ iterationId?: true
185
+ createdAt?: true
186
+ updatedAt?: true
187
+ _all?: true
188
+ }
189
+
190
+ export type StoryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
191
+ /**
192
+ * Filter which Story to aggregate.
193
+ */
194
+ where?: Prisma.StoryWhereInput
195
+ /**
196
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
197
+ *
198
+ * Determine the order of Stories to fetch.
199
+ */
200
+ orderBy?: Prisma.StoryOrderByWithRelationInput | Prisma.StoryOrderByWithRelationInput[]
201
+ /**
202
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
203
+ *
204
+ * Sets the start position
205
+ */
206
+ cursor?: Prisma.StoryWhereUniqueInput
207
+ /**
208
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
209
+ *
210
+ * Take `±n` Stories from the position of the cursor.
211
+ */
212
+ take?: number
213
+ /**
214
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
215
+ *
216
+ * Skip the first `n` Stories.
217
+ */
218
+ skip?: number
219
+ /**
220
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
221
+ *
222
+ * Count returned Stories
223
+ **/
224
+ _count?: true | StoryCountAggregateInputType
225
+ /**
226
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
227
+ *
228
+ * Select which fields to average
229
+ **/
230
+ _avg?: StoryAvgAggregateInputType
231
+ /**
232
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
233
+ *
234
+ * Select which fields to sum
235
+ **/
236
+ _sum?: StorySumAggregateInputType
237
+ /**
238
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
239
+ *
240
+ * Select which fields to find the minimum value
241
+ **/
242
+ _min?: StoryMinAggregateInputType
243
+ /**
244
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
245
+ *
246
+ * Select which fields to find the maximum value
247
+ **/
248
+ _max?: StoryMaxAggregateInputType
249
+ }
250
+
251
+ export type GetStoryAggregateType<T extends StoryAggregateArgs> = {
252
+ [P in keyof T & keyof AggregateStory]: P extends '_count' | 'count'
253
+ ? T[P] extends true
254
+ ? number
255
+ : Prisma.GetScalarType<T[P], AggregateStory[P]>
256
+ : Prisma.GetScalarType<T[P], AggregateStory[P]>
257
+ }
258
+
259
+
260
+
261
+
262
+ export type StoryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
263
+ where?: Prisma.StoryWhereInput
264
+ orderBy?: Prisma.StoryOrderByWithAggregationInput | Prisma.StoryOrderByWithAggregationInput[]
265
+ by: Prisma.StoryScalarFieldEnum[] | Prisma.StoryScalarFieldEnum
266
+ having?: Prisma.StoryScalarWhereWithAggregatesInput
267
+ take?: number
268
+ skip?: number
269
+ _count?: StoryCountAggregateInputType | true
270
+ _avg?: StoryAvgAggregateInputType
271
+ _sum?: StorySumAggregateInputType
272
+ _min?: StoryMinAggregateInputType
273
+ _max?: StoryMaxAggregateInputType
274
+ }
275
+
276
+ export type StoryGroupByOutputType = {
277
+ id: string
278
+ sequenceId: number
279
+ boardOrder: number
280
+ identifier: string
281
+ projectId: string
282
+ name: string
283
+ description: string | null
284
+ state: string
285
+ priority: string
286
+ archived: boolean
287
+ archivedAt: Date | null
288
+ assigneeId: string | null
289
+ startDate: Date | null
290
+ targetDate: Date | null
291
+ createdById: string
292
+ updatedById: string | null
293
+ parentId: string | null
294
+ iterationId: string | null
295
+ createdAt: Date
296
+ updatedAt: Date
297
+ _count: StoryCountAggregateOutputType | null
298
+ _avg: StoryAvgAggregateOutputType | null
299
+ _sum: StorySumAggregateOutputType | null
300
+ _min: StoryMinAggregateOutputType | null
301
+ _max: StoryMaxAggregateOutputType | null
302
+ }
303
+
304
+ export type GetStoryGroupByPayload<T extends StoryGroupByArgs> = Prisma.PrismaPromise<
305
+ Array<
306
+ Prisma.PickEnumerable<StoryGroupByOutputType, T['by']> &
307
+ {
308
+ [P in ((keyof T) & (keyof StoryGroupByOutputType))]: P extends '_count'
309
+ ? T[P] extends boolean
310
+ ? number
311
+ : Prisma.GetScalarType<T[P], StoryGroupByOutputType[P]>
312
+ : Prisma.GetScalarType<T[P], StoryGroupByOutputType[P]>
313
+ }
314
+ >
315
+ >
316
+
317
+
318
+
319
+ export type StoryWhereInput = {
320
+ AND?: Prisma.StoryWhereInput | Prisma.StoryWhereInput[]
321
+ OR?: Prisma.StoryWhereInput[]
322
+ NOT?: Prisma.StoryWhereInput | Prisma.StoryWhereInput[]
323
+ id?: Prisma.StringFilter<"Story"> | string
324
+ sequenceId?: Prisma.IntFilter<"Story"> | number
325
+ boardOrder?: Prisma.IntFilter<"Story"> | number
326
+ identifier?: Prisma.StringFilter<"Story"> | string
327
+ projectId?: Prisma.StringFilter<"Story"> | string
328
+ name?: Prisma.StringFilter<"Story"> | string
329
+ description?: Prisma.StringNullableFilter<"Story"> | string | null
330
+ state?: Prisma.StringFilter<"Story"> | string
331
+ priority?: Prisma.StringFilter<"Story"> | string
332
+ archived?: Prisma.BoolFilter<"Story"> | boolean
333
+ archivedAt?: Prisma.DateTimeNullableFilter<"Story"> | Date | string | null
334
+ assigneeId?: Prisma.StringNullableFilter<"Story"> | string | null
335
+ startDate?: Prisma.DateTimeNullableFilter<"Story"> | Date | string | null
336
+ targetDate?: Prisma.DateTimeNullableFilter<"Story"> | Date | string | null
337
+ createdById?: Prisma.StringFilter<"Story"> | string
338
+ updatedById?: Prisma.StringNullableFilter<"Story"> | string | null
339
+ parentId?: Prisma.StringNullableFilter<"Story"> | string | null
340
+ iterationId?: Prisma.StringNullableFilter<"Story"> | string | null
341
+ createdAt?: Prisma.DateTimeFilter<"Story"> | Date | string
342
+ updatedAt?: Prisma.DateTimeFilter<"Story"> | Date | string
343
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
344
+ assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
345
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
346
+ updatedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
347
+ parent?: Prisma.XOR<Prisma.StoryNullableScalarRelationFilter, Prisma.StoryWhereInput> | null
348
+ children?: Prisma.StoryListRelationFilter
349
+ iteration?: Prisma.XOR<Prisma.IterationNullableScalarRelationFilter, Prisma.IterationWhereInput> | null
350
+ }
351
+
352
+ export type StoryOrderByWithRelationInput = {
353
+ id?: Prisma.SortOrder
354
+ sequenceId?: Prisma.SortOrder
355
+ boardOrder?: Prisma.SortOrder
356
+ identifier?: Prisma.SortOrder
357
+ projectId?: Prisma.SortOrder
358
+ name?: Prisma.SortOrder
359
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
360
+ state?: Prisma.SortOrder
361
+ priority?: Prisma.SortOrder
362
+ archived?: Prisma.SortOrder
363
+ archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
364
+ assigneeId?: Prisma.SortOrderInput | Prisma.SortOrder
365
+ startDate?: Prisma.SortOrderInput | Prisma.SortOrder
366
+ targetDate?: Prisma.SortOrderInput | Prisma.SortOrder
367
+ createdById?: Prisma.SortOrder
368
+ updatedById?: Prisma.SortOrderInput | Prisma.SortOrder
369
+ parentId?: Prisma.SortOrderInput | Prisma.SortOrder
370
+ iterationId?: Prisma.SortOrderInput | Prisma.SortOrder
371
+ createdAt?: Prisma.SortOrder
372
+ updatedAt?: Prisma.SortOrder
373
+ project?: Prisma.ProjectOrderByWithRelationInput
374
+ assignee?: Prisma.UserOrderByWithRelationInput
375
+ createdBy?: Prisma.UserOrderByWithRelationInput
376
+ updatedBy?: Prisma.UserOrderByWithRelationInput
377
+ parent?: Prisma.StoryOrderByWithRelationInput
378
+ children?: Prisma.StoryOrderByRelationAggregateInput
379
+ iteration?: Prisma.IterationOrderByWithRelationInput
380
+ }
381
+
382
+ export type StoryWhereUniqueInput = Prisma.AtLeast<{
383
+ id?: string
384
+ projectId_identifier?: Prisma.StoryProjectIdIdentifierCompoundUniqueInput
385
+ AND?: Prisma.StoryWhereInput | Prisma.StoryWhereInput[]
386
+ OR?: Prisma.StoryWhereInput[]
387
+ NOT?: Prisma.StoryWhereInput | Prisma.StoryWhereInput[]
388
+ sequenceId?: Prisma.IntFilter<"Story"> | number
389
+ boardOrder?: Prisma.IntFilter<"Story"> | number
390
+ identifier?: Prisma.StringFilter<"Story"> | string
391
+ projectId?: Prisma.StringFilter<"Story"> | string
392
+ name?: Prisma.StringFilter<"Story"> | string
393
+ description?: Prisma.StringNullableFilter<"Story"> | string | null
394
+ state?: Prisma.StringFilter<"Story"> | string
395
+ priority?: Prisma.StringFilter<"Story"> | string
396
+ archived?: Prisma.BoolFilter<"Story"> | boolean
397
+ archivedAt?: Prisma.DateTimeNullableFilter<"Story"> | Date | string | null
398
+ assigneeId?: Prisma.StringNullableFilter<"Story"> | string | null
399
+ startDate?: Prisma.DateTimeNullableFilter<"Story"> | Date | string | null
400
+ targetDate?: Prisma.DateTimeNullableFilter<"Story"> | Date | string | null
401
+ createdById?: Prisma.StringFilter<"Story"> | string
402
+ updatedById?: Prisma.StringNullableFilter<"Story"> | string | null
403
+ parentId?: Prisma.StringNullableFilter<"Story"> | string | null
404
+ iterationId?: Prisma.StringNullableFilter<"Story"> | string | null
405
+ createdAt?: Prisma.DateTimeFilter<"Story"> | Date | string
406
+ updatedAt?: Prisma.DateTimeFilter<"Story"> | Date | string
407
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
408
+ assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
409
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
410
+ updatedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
411
+ parent?: Prisma.XOR<Prisma.StoryNullableScalarRelationFilter, Prisma.StoryWhereInput> | null
412
+ children?: Prisma.StoryListRelationFilter
413
+ iteration?: Prisma.XOR<Prisma.IterationNullableScalarRelationFilter, Prisma.IterationWhereInput> | null
414
+ }, "id" | "projectId_identifier">
415
+
416
+ export type StoryOrderByWithAggregationInput = {
417
+ id?: Prisma.SortOrder
418
+ sequenceId?: Prisma.SortOrder
419
+ boardOrder?: Prisma.SortOrder
420
+ identifier?: Prisma.SortOrder
421
+ projectId?: Prisma.SortOrder
422
+ name?: Prisma.SortOrder
423
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
424
+ state?: Prisma.SortOrder
425
+ priority?: Prisma.SortOrder
426
+ archived?: Prisma.SortOrder
427
+ archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
428
+ assigneeId?: Prisma.SortOrderInput | Prisma.SortOrder
429
+ startDate?: Prisma.SortOrderInput | Prisma.SortOrder
430
+ targetDate?: Prisma.SortOrderInput | Prisma.SortOrder
431
+ createdById?: Prisma.SortOrder
432
+ updatedById?: Prisma.SortOrderInput | Prisma.SortOrder
433
+ parentId?: Prisma.SortOrderInput | Prisma.SortOrder
434
+ iterationId?: Prisma.SortOrderInput | Prisma.SortOrder
435
+ createdAt?: Prisma.SortOrder
436
+ updatedAt?: Prisma.SortOrder
437
+ _count?: Prisma.StoryCountOrderByAggregateInput
438
+ _avg?: Prisma.StoryAvgOrderByAggregateInput
439
+ _max?: Prisma.StoryMaxOrderByAggregateInput
440
+ _min?: Prisma.StoryMinOrderByAggregateInput
441
+ _sum?: Prisma.StorySumOrderByAggregateInput
442
+ }
443
+
444
+ export type StoryScalarWhereWithAggregatesInput = {
445
+ AND?: Prisma.StoryScalarWhereWithAggregatesInput | Prisma.StoryScalarWhereWithAggregatesInput[]
446
+ OR?: Prisma.StoryScalarWhereWithAggregatesInput[]
447
+ NOT?: Prisma.StoryScalarWhereWithAggregatesInput | Prisma.StoryScalarWhereWithAggregatesInput[]
448
+ id?: Prisma.StringWithAggregatesFilter<"Story"> | string
449
+ sequenceId?: Prisma.IntWithAggregatesFilter<"Story"> | number
450
+ boardOrder?: Prisma.IntWithAggregatesFilter<"Story"> | number
451
+ identifier?: Prisma.StringWithAggregatesFilter<"Story"> | string
452
+ projectId?: Prisma.StringWithAggregatesFilter<"Story"> | string
453
+ name?: Prisma.StringWithAggregatesFilter<"Story"> | string
454
+ description?: Prisma.StringNullableWithAggregatesFilter<"Story"> | string | null
455
+ state?: Prisma.StringWithAggregatesFilter<"Story"> | string
456
+ priority?: Prisma.StringWithAggregatesFilter<"Story"> | string
457
+ archived?: Prisma.BoolWithAggregatesFilter<"Story"> | boolean
458
+ archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Story"> | Date | string | null
459
+ assigneeId?: Prisma.StringNullableWithAggregatesFilter<"Story"> | string | null
460
+ startDate?: Prisma.DateTimeNullableWithAggregatesFilter<"Story"> | Date | string | null
461
+ targetDate?: Prisma.DateTimeNullableWithAggregatesFilter<"Story"> | Date | string | null
462
+ createdById?: Prisma.StringWithAggregatesFilter<"Story"> | string
463
+ updatedById?: Prisma.StringNullableWithAggregatesFilter<"Story"> | string | null
464
+ parentId?: Prisma.StringNullableWithAggregatesFilter<"Story"> | string | null
465
+ iterationId?: Prisma.StringNullableWithAggregatesFilter<"Story"> | string | null
466
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Story"> | Date | string
467
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Story"> | Date | string
468
+ }
469
+
470
+ export type StoryCreateInput = {
471
+ id?: string
472
+ sequenceId: number
473
+ boardOrder?: number
474
+ identifier: string
475
+ name: string
476
+ description?: string | null
477
+ state?: string
478
+ priority?: string
479
+ archived?: boolean
480
+ archivedAt?: Date | string | null
481
+ startDate?: Date | string | null
482
+ targetDate?: Date | string | null
483
+ createdAt?: Date | string
484
+ updatedAt?: Date | string
485
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
486
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
487
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
488
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
489
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
490
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
491
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
492
+ }
493
+
494
+ export type StoryUncheckedCreateInput = {
495
+ id?: string
496
+ sequenceId: number
497
+ boardOrder?: number
498
+ identifier: string
499
+ projectId: string
500
+ name: string
501
+ description?: string | null
502
+ state?: string
503
+ priority?: string
504
+ archived?: boolean
505
+ archivedAt?: Date | string | null
506
+ assigneeId?: string | null
507
+ startDate?: Date | string | null
508
+ targetDate?: Date | string | null
509
+ createdById: string
510
+ updatedById?: string | null
511
+ parentId?: string | null
512
+ iterationId?: string | null
513
+ createdAt?: Date | string
514
+ updatedAt?: Date | string
515
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
516
+ }
517
+
518
+ export type StoryUpdateInput = {
519
+ id?: Prisma.StringFieldUpdateOperationsInput | string
520
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
521
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
522
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
523
+ name?: Prisma.StringFieldUpdateOperationsInput | string
524
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
525
+ state?: Prisma.StringFieldUpdateOperationsInput | string
526
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
527
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
528
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
529
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
530
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
531
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
532
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
533
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
534
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
535
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
536
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
537
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
538
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
539
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
540
+ }
541
+
542
+ export type StoryUncheckedUpdateInput = {
543
+ id?: Prisma.StringFieldUpdateOperationsInput | string
544
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
545
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
546
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
547
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
548
+ name?: Prisma.StringFieldUpdateOperationsInput | string
549
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
550
+ state?: Prisma.StringFieldUpdateOperationsInput | string
551
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
552
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
553
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
554
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
555
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
556
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
557
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
558
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
559
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
560
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
561
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
562
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
563
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
564
+ }
565
+
566
+ export type StoryCreateManyInput = {
567
+ id?: string
568
+ sequenceId: number
569
+ boardOrder?: number
570
+ identifier: string
571
+ projectId: string
572
+ name: string
573
+ description?: string | null
574
+ state?: string
575
+ priority?: string
576
+ archived?: boolean
577
+ archivedAt?: Date | string | null
578
+ assigneeId?: string | null
579
+ startDate?: Date | string | null
580
+ targetDate?: Date | string | null
581
+ createdById: string
582
+ updatedById?: string | null
583
+ parentId?: string | null
584
+ iterationId?: string | null
585
+ createdAt?: Date | string
586
+ updatedAt?: Date | string
587
+ }
588
+
589
+ export type StoryUpdateManyMutationInput = {
590
+ id?: Prisma.StringFieldUpdateOperationsInput | string
591
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
592
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
593
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
594
+ name?: Prisma.StringFieldUpdateOperationsInput | string
595
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
596
+ state?: Prisma.StringFieldUpdateOperationsInput | string
597
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
598
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
599
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
600
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
601
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
602
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
603
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
604
+ }
605
+
606
+ export type StoryUncheckedUpdateManyInput = {
607
+ id?: Prisma.StringFieldUpdateOperationsInput | string
608
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
609
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
610
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
611
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
612
+ name?: Prisma.StringFieldUpdateOperationsInput | string
613
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
614
+ state?: Prisma.StringFieldUpdateOperationsInput | string
615
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
616
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
617
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
618
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
619
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
620
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
621
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
622
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
623
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
624
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
625
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
626
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
627
+ }
628
+
629
+ export type StoryListRelationFilter = {
630
+ every?: Prisma.StoryWhereInput
631
+ some?: Prisma.StoryWhereInput
632
+ none?: Prisma.StoryWhereInput
633
+ }
634
+
635
+ export type StoryOrderByRelationAggregateInput = {
636
+ _count?: Prisma.SortOrder
637
+ }
638
+
639
+ export type StoryNullableScalarRelationFilter = {
640
+ is?: Prisma.StoryWhereInput | null
641
+ isNot?: Prisma.StoryWhereInput | null
642
+ }
643
+
644
+ export type StoryProjectIdIdentifierCompoundUniqueInput = {
645
+ projectId: string
646
+ identifier: string
647
+ }
648
+
649
+ export type StoryCountOrderByAggregateInput = {
650
+ id?: Prisma.SortOrder
651
+ sequenceId?: Prisma.SortOrder
652
+ boardOrder?: Prisma.SortOrder
653
+ identifier?: Prisma.SortOrder
654
+ projectId?: Prisma.SortOrder
655
+ name?: Prisma.SortOrder
656
+ description?: Prisma.SortOrder
657
+ state?: Prisma.SortOrder
658
+ priority?: Prisma.SortOrder
659
+ archived?: Prisma.SortOrder
660
+ archivedAt?: Prisma.SortOrder
661
+ assigneeId?: Prisma.SortOrder
662
+ startDate?: Prisma.SortOrder
663
+ targetDate?: Prisma.SortOrder
664
+ createdById?: Prisma.SortOrder
665
+ updatedById?: Prisma.SortOrder
666
+ parentId?: Prisma.SortOrder
667
+ iterationId?: Prisma.SortOrder
668
+ createdAt?: Prisma.SortOrder
669
+ updatedAt?: Prisma.SortOrder
670
+ }
671
+
672
+ export type StoryAvgOrderByAggregateInput = {
673
+ sequenceId?: Prisma.SortOrder
674
+ boardOrder?: Prisma.SortOrder
675
+ }
676
+
677
+ export type StoryMaxOrderByAggregateInput = {
678
+ id?: Prisma.SortOrder
679
+ sequenceId?: Prisma.SortOrder
680
+ boardOrder?: Prisma.SortOrder
681
+ identifier?: Prisma.SortOrder
682
+ projectId?: Prisma.SortOrder
683
+ name?: Prisma.SortOrder
684
+ description?: Prisma.SortOrder
685
+ state?: Prisma.SortOrder
686
+ priority?: Prisma.SortOrder
687
+ archived?: Prisma.SortOrder
688
+ archivedAt?: Prisma.SortOrder
689
+ assigneeId?: Prisma.SortOrder
690
+ startDate?: Prisma.SortOrder
691
+ targetDate?: Prisma.SortOrder
692
+ createdById?: Prisma.SortOrder
693
+ updatedById?: Prisma.SortOrder
694
+ parentId?: Prisma.SortOrder
695
+ iterationId?: Prisma.SortOrder
696
+ createdAt?: Prisma.SortOrder
697
+ updatedAt?: Prisma.SortOrder
698
+ }
699
+
700
+ export type StoryMinOrderByAggregateInput = {
701
+ id?: Prisma.SortOrder
702
+ sequenceId?: Prisma.SortOrder
703
+ boardOrder?: Prisma.SortOrder
704
+ identifier?: Prisma.SortOrder
705
+ projectId?: Prisma.SortOrder
706
+ name?: Prisma.SortOrder
707
+ description?: Prisma.SortOrder
708
+ state?: Prisma.SortOrder
709
+ priority?: Prisma.SortOrder
710
+ archived?: Prisma.SortOrder
711
+ archivedAt?: Prisma.SortOrder
712
+ assigneeId?: Prisma.SortOrder
713
+ startDate?: Prisma.SortOrder
714
+ targetDate?: Prisma.SortOrder
715
+ createdById?: Prisma.SortOrder
716
+ updatedById?: Prisma.SortOrder
717
+ parentId?: Prisma.SortOrder
718
+ iterationId?: Prisma.SortOrder
719
+ createdAt?: Prisma.SortOrder
720
+ updatedAt?: Prisma.SortOrder
721
+ }
722
+
723
+ export type StorySumOrderByAggregateInput = {
724
+ sequenceId?: Prisma.SortOrder
725
+ boardOrder?: Prisma.SortOrder
726
+ }
727
+
728
+ export type StoryCreateNestedManyWithoutCreatedByInput = {
729
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutCreatedByInput, Prisma.StoryUncheckedCreateWithoutCreatedByInput> | Prisma.StoryCreateWithoutCreatedByInput[] | Prisma.StoryUncheckedCreateWithoutCreatedByInput[]
730
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutCreatedByInput | Prisma.StoryCreateOrConnectWithoutCreatedByInput[]
731
+ createMany?: Prisma.StoryCreateManyCreatedByInputEnvelope
732
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
733
+ }
734
+
735
+ export type StoryCreateNestedManyWithoutAssigneeInput = {
736
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutAssigneeInput, Prisma.StoryUncheckedCreateWithoutAssigneeInput> | Prisma.StoryCreateWithoutAssigneeInput[] | Prisma.StoryUncheckedCreateWithoutAssigneeInput[]
737
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutAssigneeInput | Prisma.StoryCreateOrConnectWithoutAssigneeInput[]
738
+ createMany?: Prisma.StoryCreateManyAssigneeInputEnvelope
739
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
740
+ }
741
+
742
+ export type StoryCreateNestedManyWithoutUpdatedByInput = {
743
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutUpdatedByInput, Prisma.StoryUncheckedCreateWithoutUpdatedByInput> | Prisma.StoryCreateWithoutUpdatedByInput[] | Prisma.StoryUncheckedCreateWithoutUpdatedByInput[]
744
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutUpdatedByInput | Prisma.StoryCreateOrConnectWithoutUpdatedByInput[]
745
+ createMany?: Prisma.StoryCreateManyUpdatedByInputEnvelope
746
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
747
+ }
748
+
749
+ export type StoryUncheckedCreateNestedManyWithoutCreatedByInput = {
750
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutCreatedByInput, Prisma.StoryUncheckedCreateWithoutCreatedByInput> | Prisma.StoryCreateWithoutCreatedByInput[] | Prisma.StoryUncheckedCreateWithoutCreatedByInput[]
751
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutCreatedByInput | Prisma.StoryCreateOrConnectWithoutCreatedByInput[]
752
+ createMany?: Prisma.StoryCreateManyCreatedByInputEnvelope
753
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
754
+ }
755
+
756
+ export type StoryUncheckedCreateNestedManyWithoutAssigneeInput = {
757
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutAssigneeInput, Prisma.StoryUncheckedCreateWithoutAssigneeInput> | Prisma.StoryCreateWithoutAssigneeInput[] | Prisma.StoryUncheckedCreateWithoutAssigneeInput[]
758
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutAssigneeInput | Prisma.StoryCreateOrConnectWithoutAssigneeInput[]
759
+ createMany?: Prisma.StoryCreateManyAssigneeInputEnvelope
760
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
761
+ }
762
+
763
+ export type StoryUncheckedCreateNestedManyWithoutUpdatedByInput = {
764
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutUpdatedByInput, Prisma.StoryUncheckedCreateWithoutUpdatedByInput> | Prisma.StoryCreateWithoutUpdatedByInput[] | Prisma.StoryUncheckedCreateWithoutUpdatedByInput[]
765
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutUpdatedByInput | Prisma.StoryCreateOrConnectWithoutUpdatedByInput[]
766
+ createMany?: Prisma.StoryCreateManyUpdatedByInputEnvelope
767
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
768
+ }
769
+
770
+ export type StoryUpdateManyWithoutCreatedByNestedInput = {
771
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutCreatedByInput, Prisma.StoryUncheckedCreateWithoutCreatedByInput> | Prisma.StoryCreateWithoutCreatedByInput[] | Prisma.StoryUncheckedCreateWithoutCreatedByInput[]
772
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutCreatedByInput | Prisma.StoryCreateOrConnectWithoutCreatedByInput[]
773
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.StoryUpsertWithWhereUniqueWithoutCreatedByInput[]
774
+ createMany?: Prisma.StoryCreateManyCreatedByInputEnvelope
775
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
776
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
777
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
778
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
779
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.StoryUpdateWithWhereUniqueWithoutCreatedByInput[]
780
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutCreatedByInput | Prisma.StoryUpdateManyWithWhereWithoutCreatedByInput[]
781
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
782
+ }
783
+
784
+ export type StoryUpdateManyWithoutAssigneeNestedInput = {
785
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutAssigneeInput, Prisma.StoryUncheckedCreateWithoutAssigneeInput> | Prisma.StoryCreateWithoutAssigneeInput[] | Prisma.StoryUncheckedCreateWithoutAssigneeInput[]
786
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutAssigneeInput | Prisma.StoryCreateOrConnectWithoutAssigneeInput[]
787
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutAssigneeInput | Prisma.StoryUpsertWithWhereUniqueWithoutAssigneeInput[]
788
+ createMany?: Prisma.StoryCreateManyAssigneeInputEnvelope
789
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
790
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
791
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
792
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
793
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutAssigneeInput | Prisma.StoryUpdateWithWhereUniqueWithoutAssigneeInput[]
794
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutAssigneeInput | Prisma.StoryUpdateManyWithWhereWithoutAssigneeInput[]
795
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
796
+ }
797
+
798
+ export type StoryUpdateManyWithoutUpdatedByNestedInput = {
799
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutUpdatedByInput, Prisma.StoryUncheckedCreateWithoutUpdatedByInput> | Prisma.StoryCreateWithoutUpdatedByInput[] | Prisma.StoryUncheckedCreateWithoutUpdatedByInput[]
800
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutUpdatedByInput | Prisma.StoryCreateOrConnectWithoutUpdatedByInput[]
801
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.StoryUpsertWithWhereUniqueWithoutUpdatedByInput[]
802
+ createMany?: Prisma.StoryCreateManyUpdatedByInputEnvelope
803
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
804
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
805
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
806
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
807
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.StoryUpdateWithWhereUniqueWithoutUpdatedByInput[]
808
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutUpdatedByInput | Prisma.StoryUpdateManyWithWhereWithoutUpdatedByInput[]
809
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
810
+ }
811
+
812
+ export type StoryUncheckedUpdateManyWithoutCreatedByNestedInput = {
813
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutCreatedByInput, Prisma.StoryUncheckedCreateWithoutCreatedByInput> | Prisma.StoryCreateWithoutCreatedByInput[] | Prisma.StoryUncheckedCreateWithoutCreatedByInput[]
814
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutCreatedByInput | Prisma.StoryCreateOrConnectWithoutCreatedByInput[]
815
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.StoryUpsertWithWhereUniqueWithoutCreatedByInput[]
816
+ createMany?: Prisma.StoryCreateManyCreatedByInputEnvelope
817
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
818
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
819
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
820
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
821
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.StoryUpdateWithWhereUniqueWithoutCreatedByInput[]
822
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutCreatedByInput | Prisma.StoryUpdateManyWithWhereWithoutCreatedByInput[]
823
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
824
+ }
825
+
826
+ export type StoryUncheckedUpdateManyWithoutAssigneeNestedInput = {
827
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutAssigneeInput, Prisma.StoryUncheckedCreateWithoutAssigneeInput> | Prisma.StoryCreateWithoutAssigneeInput[] | Prisma.StoryUncheckedCreateWithoutAssigneeInput[]
828
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutAssigneeInput | Prisma.StoryCreateOrConnectWithoutAssigneeInput[]
829
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutAssigneeInput | Prisma.StoryUpsertWithWhereUniqueWithoutAssigneeInput[]
830
+ createMany?: Prisma.StoryCreateManyAssigneeInputEnvelope
831
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
832
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
833
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
834
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
835
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutAssigneeInput | Prisma.StoryUpdateWithWhereUniqueWithoutAssigneeInput[]
836
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutAssigneeInput | Prisma.StoryUpdateManyWithWhereWithoutAssigneeInput[]
837
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
838
+ }
839
+
840
+ export type StoryUncheckedUpdateManyWithoutUpdatedByNestedInput = {
841
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutUpdatedByInput, Prisma.StoryUncheckedCreateWithoutUpdatedByInput> | Prisma.StoryCreateWithoutUpdatedByInput[] | Prisma.StoryUncheckedCreateWithoutUpdatedByInput[]
842
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutUpdatedByInput | Prisma.StoryCreateOrConnectWithoutUpdatedByInput[]
843
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.StoryUpsertWithWhereUniqueWithoutUpdatedByInput[]
844
+ createMany?: Prisma.StoryCreateManyUpdatedByInputEnvelope
845
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
846
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
847
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
848
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
849
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.StoryUpdateWithWhereUniqueWithoutUpdatedByInput[]
850
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutUpdatedByInput | Prisma.StoryUpdateManyWithWhereWithoutUpdatedByInput[]
851
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
852
+ }
853
+
854
+ export type StoryCreateNestedManyWithoutProjectInput = {
855
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutProjectInput, Prisma.StoryUncheckedCreateWithoutProjectInput> | Prisma.StoryCreateWithoutProjectInput[] | Prisma.StoryUncheckedCreateWithoutProjectInput[]
856
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutProjectInput | Prisma.StoryCreateOrConnectWithoutProjectInput[]
857
+ createMany?: Prisma.StoryCreateManyProjectInputEnvelope
858
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
859
+ }
860
+
861
+ export type StoryUncheckedCreateNestedManyWithoutProjectInput = {
862
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutProjectInput, Prisma.StoryUncheckedCreateWithoutProjectInput> | Prisma.StoryCreateWithoutProjectInput[] | Prisma.StoryUncheckedCreateWithoutProjectInput[]
863
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutProjectInput | Prisma.StoryCreateOrConnectWithoutProjectInput[]
864
+ createMany?: Prisma.StoryCreateManyProjectInputEnvelope
865
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
866
+ }
867
+
868
+ export type StoryUpdateManyWithoutProjectNestedInput = {
869
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutProjectInput, Prisma.StoryUncheckedCreateWithoutProjectInput> | Prisma.StoryCreateWithoutProjectInput[] | Prisma.StoryUncheckedCreateWithoutProjectInput[]
870
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutProjectInput | Prisma.StoryCreateOrConnectWithoutProjectInput[]
871
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutProjectInput | Prisma.StoryUpsertWithWhereUniqueWithoutProjectInput[]
872
+ createMany?: Prisma.StoryCreateManyProjectInputEnvelope
873
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
874
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
875
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
876
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
877
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutProjectInput | Prisma.StoryUpdateWithWhereUniqueWithoutProjectInput[]
878
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutProjectInput | Prisma.StoryUpdateManyWithWhereWithoutProjectInput[]
879
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
880
+ }
881
+
882
+ export type StoryUncheckedUpdateManyWithoutProjectNestedInput = {
883
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutProjectInput, Prisma.StoryUncheckedCreateWithoutProjectInput> | Prisma.StoryCreateWithoutProjectInput[] | Prisma.StoryUncheckedCreateWithoutProjectInput[]
884
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutProjectInput | Prisma.StoryCreateOrConnectWithoutProjectInput[]
885
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutProjectInput | Prisma.StoryUpsertWithWhereUniqueWithoutProjectInput[]
886
+ createMany?: Prisma.StoryCreateManyProjectInputEnvelope
887
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
888
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
889
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
890
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
891
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutProjectInput | Prisma.StoryUpdateWithWhereUniqueWithoutProjectInput[]
892
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutProjectInput | Prisma.StoryUpdateManyWithWhereWithoutProjectInput[]
893
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
894
+ }
895
+
896
+ export type StoryCreateNestedOneWithoutChildrenInput = {
897
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutChildrenInput, Prisma.StoryUncheckedCreateWithoutChildrenInput>
898
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutChildrenInput
899
+ connect?: Prisma.StoryWhereUniqueInput
900
+ }
901
+
902
+ export type StoryCreateNestedManyWithoutParentInput = {
903
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutParentInput, Prisma.StoryUncheckedCreateWithoutParentInput> | Prisma.StoryCreateWithoutParentInput[] | Prisma.StoryUncheckedCreateWithoutParentInput[]
904
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutParentInput | Prisma.StoryCreateOrConnectWithoutParentInput[]
905
+ createMany?: Prisma.StoryCreateManyParentInputEnvelope
906
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
907
+ }
908
+
909
+ export type StoryUncheckedCreateNestedManyWithoutParentInput = {
910
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutParentInput, Prisma.StoryUncheckedCreateWithoutParentInput> | Prisma.StoryCreateWithoutParentInput[] | Prisma.StoryUncheckedCreateWithoutParentInput[]
911
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutParentInput | Prisma.StoryCreateOrConnectWithoutParentInput[]
912
+ createMany?: Prisma.StoryCreateManyParentInputEnvelope
913
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
914
+ }
915
+
916
+ export type StoryUpdateOneWithoutChildrenNestedInput = {
917
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutChildrenInput, Prisma.StoryUncheckedCreateWithoutChildrenInput>
918
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutChildrenInput
919
+ upsert?: Prisma.StoryUpsertWithoutChildrenInput
920
+ disconnect?: Prisma.StoryWhereInput | boolean
921
+ delete?: Prisma.StoryWhereInput | boolean
922
+ connect?: Prisma.StoryWhereUniqueInput
923
+ update?: Prisma.XOR<Prisma.XOR<Prisma.StoryUpdateToOneWithWhereWithoutChildrenInput, Prisma.StoryUpdateWithoutChildrenInput>, Prisma.StoryUncheckedUpdateWithoutChildrenInput>
924
+ }
925
+
926
+ export type StoryUpdateManyWithoutParentNestedInput = {
927
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutParentInput, Prisma.StoryUncheckedCreateWithoutParentInput> | Prisma.StoryCreateWithoutParentInput[] | Prisma.StoryUncheckedCreateWithoutParentInput[]
928
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutParentInput | Prisma.StoryCreateOrConnectWithoutParentInput[]
929
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutParentInput | Prisma.StoryUpsertWithWhereUniqueWithoutParentInput[]
930
+ createMany?: Prisma.StoryCreateManyParentInputEnvelope
931
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
932
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
933
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
934
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
935
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutParentInput | Prisma.StoryUpdateWithWhereUniqueWithoutParentInput[]
936
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutParentInput | Prisma.StoryUpdateManyWithWhereWithoutParentInput[]
937
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
938
+ }
939
+
940
+ export type StoryUncheckedUpdateManyWithoutParentNestedInput = {
941
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutParentInput, Prisma.StoryUncheckedCreateWithoutParentInput> | Prisma.StoryCreateWithoutParentInput[] | Prisma.StoryUncheckedCreateWithoutParentInput[]
942
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutParentInput | Prisma.StoryCreateOrConnectWithoutParentInput[]
943
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutParentInput | Prisma.StoryUpsertWithWhereUniqueWithoutParentInput[]
944
+ createMany?: Prisma.StoryCreateManyParentInputEnvelope
945
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
946
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
947
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
948
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
949
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutParentInput | Prisma.StoryUpdateWithWhereUniqueWithoutParentInput[]
950
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutParentInput | Prisma.StoryUpdateManyWithWhereWithoutParentInput[]
951
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
952
+ }
953
+
954
+ export type StoryCreateNestedManyWithoutIterationInput = {
955
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput> | Prisma.StoryCreateWithoutIterationInput[] | Prisma.StoryUncheckedCreateWithoutIterationInput[]
956
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutIterationInput | Prisma.StoryCreateOrConnectWithoutIterationInput[]
957
+ createMany?: Prisma.StoryCreateManyIterationInputEnvelope
958
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
959
+ }
960
+
961
+ export type StoryUncheckedCreateNestedManyWithoutIterationInput = {
962
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput> | Prisma.StoryCreateWithoutIterationInput[] | Prisma.StoryUncheckedCreateWithoutIterationInput[]
963
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutIterationInput | Prisma.StoryCreateOrConnectWithoutIterationInput[]
964
+ createMany?: Prisma.StoryCreateManyIterationInputEnvelope
965
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
966
+ }
967
+
968
+ export type StoryUpdateManyWithoutIterationNestedInput = {
969
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput> | Prisma.StoryCreateWithoutIterationInput[] | Prisma.StoryUncheckedCreateWithoutIterationInput[]
970
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutIterationInput | Prisma.StoryCreateOrConnectWithoutIterationInput[]
971
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutIterationInput | Prisma.StoryUpsertWithWhereUniqueWithoutIterationInput[]
972
+ createMany?: Prisma.StoryCreateManyIterationInputEnvelope
973
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
974
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
975
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
976
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
977
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutIterationInput | Prisma.StoryUpdateWithWhereUniqueWithoutIterationInput[]
978
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutIterationInput | Prisma.StoryUpdateManyWithWhereWithoutIterationInput[]
979
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
980
+ }
981
+
982
+ export type StoryUncheckedUpdateManyWithoutIterationNestedInput = {
983
+ create?: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput> | Prisma.StoryCreateWithoutIterationInput[] | Prisma.StoryUncheckedCreateWithoutIterationInput[]
984
+ connectOrCreate?: Prisma.StoryCreateOrConnectWithoutIterationInput | Prisma.StoryCreateOrConnectWithoutIterationInput[]
985
+ upsert?: Prisma.StoryUpsertWithWhereUniqueWithoutIterationInput | Prisma.StoryUpsertWithWhereUniqueWithoutIterationInput[]
986
+ createMany?: Prisma.StoryCreateManyIterationInputEnvelope
987
+ set?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
988
+ disconnect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
989
+ delete?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
990
+ connect?: Prisma.StoryWhereUniqueInput | Prisma.StoryWhereUniqueInput[]
991
+ update?: Prisma.StoryUpdateWithWhereUniqueWithoutIterationInput | Prisma.StoryUpdateWithWhereUniqueWithoutIterationInput[]
992
+ updateMany?: Prisma.StoryUpdateManyWithWhereWithoutIterationInput | Prisma.StoryUpdateManyWithWhereWithoutIterationInput[]
993
+ deleteMany?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
994
+ }
995
+
996
+ export type StoryCreateWithoutCreatedByInput = {
997
+ id?: string
998
+ sequenceId: number
999
+ boardOrder?: number
1000
+ identifier: string
1001
+ name: string
1002
+ description?: string | null
1003
+ state?: string
1004
+ priority?: string
1005
+ archived?: boolean
1006
+ archivedAt?: Date | string | null
1007
+ startDate?: Date | string | null
1008
+ targetDate?: Date | string | null
1009
+ createdAt?: Date | string
1010
+ updatedAt?: Date | string
1011
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
1012
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
1013
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
1014
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
1015
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
1016
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1017
+ }
1018
+
1019
+ export type StoryUncheckedCreateWithoutCreatedByInput = {
1020
+ id?: string
1021
+ sequenceId: number
1022
+ boardOrder?: number
1023
+ identifier: string
1024
+ projectId: string
1025
+ name: string
1026
+ description?: string | null
1027
+ state?: string
1028
+ priority?: string
1029
+ archived?: boolean
1030
+ archivedAt?: Date | string | null
1031
+ assigneeId?: string | null
1032
+ startDate?: Date | string | null
1033
+ targetDate?: Date | string | null
1034
+ updatedById?: string | null
1035
+ parentId?: string | null
1036
+ iterationId?: string | null
1037
+ createdAt?: Date | string
1038
+ updatedAt?: Date | string
1039
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
1040
+ }
1041
+
1042
+ export type StoryCreateOrConnectWithoutCreatedByInput = {
1043
+ where: Prisma.StoryWhereUniqueInput
1044
+ create: Prisma.XOR<Prisma.StoryCreateWithoutCreatedByInput, Prisma.StoryUncheckedCreateWithoutCreatedByInput>
1045
+ }
1046
+
1047
+ export type StoryCreateManyCreatedByInputEnvelope = {
1048
+ data: Prisma.StoryCreateManyCreatedByInput | Prisma.StoryCreateManyCreatedByInput[]
1049
+ }
1050
+
1051
+ export type StoryCreateWithoutAssigneeInput = {
1052
+ id?: string
1053
+ sequenceId: number
1054
+ boardOrder?: number
1055
+ identifier: string
1056
+ name: string
1057
+ description?: string | null
1058
+ state?: string
1059
+ priority?: string
1060
+ archived?: boolean
1061
+ archivedAt?: Date | string | null
1062
+ startDate?: Date | string | null
1063
+ targetDate?: Date | string | null
1064
+ createdAt?: Date | string
1065
+ updatedAt?: Date | string
1066
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
1067
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
1068
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
1069
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
1070
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
1071
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1072
+ }
1073
+
1074
+ export type StoryUncheckedCreateWithoutAssigneeInput = {
1075
+ id?: string
1076
+ sequenceId: number
1077
+ boardOrder?: number
1078
+ identifier: string
1079
+ projectId: string
1080
+ name: string
1081
+ description?: string | null
1082
+ state?: string
1083
+ priority?: string
1084
+ archived?: boolean
1085
+ archivedAt?: Date | string | null
1086
+ startDate?: Date | string | null
1087
+ targetDate?: Date | string | null
1088
+ createdById: string
1089
+ updatedById?: string | null
1090
+ parentId?: string | null
1091
+ iterationId?: string | null
1092
+ createdAt?: Date | string
1093
+ updatedAt?: Date | string
1094
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
1095
+ }
1096
+
1097
+ export type StoryCreateOrConnectWithoutAssigneeInput = {
1098
+ where: Prisma.StoryWhereUniqueInput
1099
+ create: Prisma.XOR<Prisma.StoryCreateWithoutAssigneeInput, Prisma.StoryUncheckedCreateWithoutAssigneeInput>
1100
+ }
1101
+
1102
+ export type StoryCreateManyAssigneeInputEnvelope = {
1103
+ data: Prisma.StoryCreateManyAssigneeInput | Prisma.StoryCreateManyAssigneeInput[]
1104
+ }
1105
+
1106
+ export type StoryCreateWithoutUpdatedByInput = {
1107
+ id?: string
1108
+ sequenceId: number
1109
+ boardOrder?: number
1110
+ identifier: string
1111
+ name: string
1112
+ description?: string | null
1113
+ state?: string
1114
+ priority?: string
1115
+ archived?: boolean
1116
+ archivedAt?: Date | string | null
1117
+ startDate?: Date | string | null
1118
+ targetDate?: Date | string | null
1119
+ createdAt?: Date | string
1120
+ updatedAt?: Date | string
1121
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
1122
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
1123
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
1124
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
1125
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
1126
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1127
+ }
1128
+
1129
+ export type StoryUncheckedCreateWithoutUpdatedByInput = {
1130
+ id?: string
1131
+ sequenceId: number
1132
+ boardOrder?: number
1133
+ identifier: string
1134
+ projectId: string
1135
+ name: string
1136
+ description?: string | null
1137
+ state?: string
1138
+ priority?: string
1139
+ archived?: boolean
1140
+ archivedAt?: Date | string | null
1141
+ assigneeId?: string | null
1142
+ startDate?: Date | string | null
1143
+ targetDate?: Date | string | null
1144
+ createdById: string
1145
+ parentId?: string | null
1146
+ iterationId?: string | null
1147
+ createdAt?: Date | string
1148
+ updatedAt?: Date | string
1149
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
1150
+ }
1151
+
1152
+ export type StoryCreateOrConnectWithoutUpdatedByInput = {
1153
+ where: Prisma.StoryWhereUniqueInput
1154
+ create: Prisma.XOR<Prisma.StoryCreateWithoutUpdatedByInput, Prisma.StoryUncheckedCreateWithoutUpdatedByInput>
1155
+ }
1156
+
1157
+ export type StoryCreateManyUpdatedByInputEnvelope = {
1158
+ data: Prisma.StoryCreateManyUpdatedByInput | Prisma.StoryCreateManyUpdatedByInput[]
1159
+ }
1160
+
1161
+ export type StoryUpsertWithWhereUniqueWithoutCreatedByInput = {
1162
+ where: Prisma.StoryWhereUniqueInput
1163
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutCreatedByInput, Prisma.StoryUncheckedUpdateWithoutCreatedByInput>
1164
+ create: Prisma.XOR<Prisma.StoryCreateWithoutCreatedByInput, Prisma.StoryUncheckedCreateWithoutCreatedByInput>
1165
+ }
1166
+
1167
+ export type StoryUpdateWithWhereUniqueWithoutCreatedByInput = {
1168
+ where: Prisma.StoryWhereUniqueInput
1169
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutCreatedByInput, Prisma.StoryUncheckedUpdateWithoutCreatedByInput>
1170
+ }
1171
+
1172
+ export type StoryUpdateManyWithWhereWithoutCreatedByInput = {
1173
+ where: Prisma.StoryScalarWhereInput
1174
+ data: Prisma.XOR<Prisma.StoryUpdateManyMutationInput, Prisma.StoryUncheckedUpdateManyWithoutCreatedByInput>
1175
+ }
1176
+
1177
+ export type StoryScalarWhereInput = {
1178
+ AND?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
1179
+ OR?: Prisma.StoryScalarWhereInput[]
1180
+ NOT?: Prisma.StoryScalarWhereInput | Prisma.StoryScalarWhereInput[]
1181
+ id?: Prisma.StringFilter<"Story"> | string
1182
+ sequenceId?: Prisma.IntFilter<"Story"> | number
1183
+ boardOrder?: Prisma.IntFilter<"Story"> | number
1184
+ identifier?: Prisma.StringFilter<"Story"> | string
1185
+ projectId?: Prisma.StringFilter<"Story"> | string
1186
+ name?: Prisma.StringFilter<"Story"> | string
1187
+ description?: Prisma.StringNullableFilter<"Story"> | string | null
1188
+ state?: Prisma.StringFilter<"Story"> | string
1189
+ priority?: Prisma.StringFilter<"Story"> | string
1190
+ archived?: Prisma.BoolFilter<"Story"> | boolean
1191
+ archivedAt?: Prisma.DateTimeNullableFilter<"Story"> | Date | string | null
1192
+ assigneeId?: Prisma.StringNullableFilter<"Story"> | string | null
1193
+ startDate?: Prisma.DateTimeNullableFilter<"Story"> | Date | string | null
1194
+ targetDate?: Prisma.DateTimeNullableFilter<"Story"> | Date | string | null
1195
+ createdById?: Prisma.StringFilter<"Story"> | string
1196
+ updatedById?: Prisma.StringNullableFilter<"Story"> | string | null
1197
+ parentId?: Prisma.StringNullableFilter<"Story"> | string | null
1198
+ iterationId?: Prisma.StringNullableFilter<"Story"> | string | null
1199
+ createdAt?: Prisma.DateTimeFilter<"Story"> | Date | string
1200
+ updatedAt?: Prisma.DateTimeFilter<"Story"> | Date | string
1201
+ }
1202
+
1203
+ export type StoryUpsertWithWhereUniqueWithoutAssigneeInput = {
1204
+ where: Prisma.StoryWhereUniqueInput
1205
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutAssigneeInput, Prisma.StoryUncheckedUpdateWithoutAssigneeInput>
1206
+ create: Prisma.XOR<Prisma.StoryCreateWithoutAssigneeInput, Prisma.StoryUncheckedCreateWithoutAssigneeInput>
1207
+ }
1208
+
1209
+ export type StoryUpdateWithWhereUniqueWithoutAssigneeInput = {
1210
+ where: Prisma.StoryWhereUniqueInput
1211
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutAssigneeInput, Prisma.StoryUncheckedUpdateWithoutAssigneeInput>
1212
+ }
1213
+
1214
+ export type StoryUpdateManyWithWhereWithoutAssigneeInput = {
1215
+ where: Prisma.StoryScalarWhereInput
1216
+ data: Prisma.XOR<Prisma.StoryUpdateManyMutationInput, Prisma.StoryUncheckedUpdateManyWithoutAssigneeInput>
1217
+ }
1218
+
1219
+ export type StoryUpsertWithWhereUniqueWithoutUpdatedByInput = {
1220
+ where: Prisma.StoryWhereUniqueInput
1221
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutUpdatedByInput, Prisma.StoryUncheckedUpdateWithoutUpdatedByInput>
1222
+ create: Prisma.XOR<Prisma.StoryCreateWithoutUpdatedByInput, Prisma.StoryUncheckedCreateWithoutUpdatedByInput>
1223
+ }
1224
+
1225
+ export type StoryUpdateWithWhereUniqueWithoutUpdatedByInput = {
1226
+ where: Prisma.StoryWhereUniqueInput
1227
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutUpdatedByInput, Prisma.StoryUncheckedUpdateWithoutUpdatedByInput>
1228
+ }
1229
+
1230
+ export type StoryUpdateManyWithWhereWithoutUpdatedByInput = {
1231
+ where: Prisma.StoryScalarWhereInput
1232
+ data: Prisma.XOR<Prisma.StoryUpdateManyMutationInput, Prisma.StoryUncheckedUpdateManyWithoutUpdatedByInput>
1233
+ }
1234
+
1235
+ export type StoryCreateWithoutProjectInput = {
1236
+ id?: string
1237
+ sequenceId: number
1238
+ boardOrder?: number
1239
+ identifier: string
1240
+ name: string
1241
+ description?: string | null
1242
+ state?: string
1243
+ priority?: string
1244
+ archived?: boolean
1245
+ archivedAt?: Date | string | null
1246
+ startDate?: Date | string | null
1247
+ targetDate?: Date | string | null
1248
+ createdAt?: Date | string
1249
+ updatedAt?: Date | string
1250
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
1251
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
1252
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
1253
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
1254
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
1255
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1256
+ }
1257
+
1258
+ export type StoryUncheckedCreateWithoutProjectInput = {
1259
+ id?: string
1260
+ sequenceId: number
1261
+ boardOrder?: number
1262
+ identifier: string
1263
+ name: string
1264
+ description?: string | null
1265
+ state?: string
1266
+ priority?: string
1267
+ archived?: boolean
1268
+ archivedAt?: Date | string | null
1269
+ assigneeId?: string | null
1270
+ startDate?: Date | string | null
1271
+ targetDate?: Date | string | null
1272
+ createdById: string
1273
+ updatedById?: string | null
1274
+ parentId?: string | null
1275
+ iterationId?: string | null
1276
+ createdAt?: Date | string
1277
+ updatedAt?: Date | string
1278
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
1279
+ }
1280
+
1281
+ export type StoryCreateOrConnectWithoutProjectInput = {
1282
+ where: Prisma.StoryWhereUniqueInput
1283
+ create: Prisma.XOR<Prisma.StoryCreateWithoutProjectInput, Prisma.StoryUncheckedCreateWithoutProjectInput>
1284
+ }
1285
+
1286
+ export type StoryCreateManyProjectInputEnvelope = {
1287
+ data: Prisma.StoryCreateManyProjectInput | Prisma.StoryCreateManyProjectInput[]
1288
+ }
1289
+
1290
+ export type StoryUpsertWithWhereUniqueWithoutProjectInput = {
1291
+ where: Prisma.StoryWhereUniqueInput
1292
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutProjectInput, Prisma.StoryUncheckedUpdateWithoutProjectInput>
1293
+ create: Prisma.XOR<Prisma.StoryCreateWithoutProjectInput, Prisma.StoryUncheckedCreateWithoutProjectInput>
1294
+ }
1295
+
1296
+ export type StoryUpdateWithWhereUniqueWithoutProjectInput = {
1297
+ where: Prisma.StoryWhereUniqueInput
1298
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutProjectInput, Prisma.StoryUncheckedUpdateWithoutProjectInput>
1299
+ }
1300
+
1301
+ export type StoryUpdateManyWithWhereWithoutProjectInput = {
1302
+ where: Prisma.StoryScalarWhereInput
1303
+ data: Prisma.XOR<Prisma.StoryUpdateManyMutationInput, Prisma.StoryUncheckedUpdateManyWithoutProjectInput>
1304
+ }
1305
+
1306
+ export type StoryCreateWithoutChildrenInput = {
1307
+ id?: string
1308
+ sequenceId: number
1309
+ boardOrder?: number
1310
+ identifier: string
1311
+ name: string
1312
+ description?: string | null
1313
+ state?: string
1314
+ priority?: string
1315
+ archived?: boolean
1316
+ archivedAt?: Date | string | null
1317
+ startDate?: Date | string | null
1318
+ targetDate?: Date | string | null
1319
+ createdAt?: Date | string
1320
+ updatedAt?: Date | string
1321
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
1322
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
1323
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
1324
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
1325
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
1326
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1327
+ }
1328
+
1329
+ export type StoryUncheckedCreateWithoutChildrenInput = {
1330
+ id?: string
1331
+ sequenceId: number
1332
+ boardOrder?: number
1333
+ identifier: string
1334
+ projectId: string
1335
+ name: string
1336
+ description?: string | null
1337
+ state?: string
1338
+ priority?: string
1339
+ archived?: boolean
1340
+ archivedAt?: Date | string | null
1341
+ assigneeId?: string | null
1342
+ startDate?: Date | string | null
1343
+ targetDate?: Date | string | null
1344
+ createdById: string
1345
+ updatedById?: string | null
1346
+ parentId?: string | null
1347
+ iterationId?: string | null
1348
+ createdAt?: Date | string
1349
+ updatedAt?: Date | string
1350
+ }
1351
+
1352
+ export type StoryCreateOrConnectWithoutChildrenInput = {
1353
+ where: Prisma.StoryWhereUniqueInput
1354
+ create: Prisma.XOR<Prisma.StoryCreateWithoutChildrenInput, Prisma.StoryUncheckedCreateWithoutChildrenInput>
1355
+ }
1356
+
1357
+ export type StoryCreateWithoutParentInput = {
1358
+ id?: string
1359
+ sequenceId: number
1360
+ boardOrder?: number
1361
+ identifier: string
1362
+ name: string
1363
+ description?: string | null
1364
+ state?: string
1365
+ priority?: string
1366
+ archived?: boolean
1367
+ archivedAt?: Date | string | null
1368
+ startDate?: Date | string | null
1369
+ targetDate?: Date | string | null
1370
+ createdAt?: Date | string
1371
+ updatedAt?: Date | string
1372
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
1373
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
1374
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
1375
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
1376
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
1377
+ iteration?: Prisma.IterationCreateNestedOneWithoutStoriesInput
1378
+ }
1379
+
1380
+ export type StoryUncheckedCreateWithoutParentInput = {
1381
+ id?: string
1382
+ sequenceId: number
1383
+ boardOrder?: number
1384
+ identifier: string
1385
+ projectId: string
1386
+ name: string
1387
+ description?: string | null
1388
+ state?: string
1389
+ priority?: string
1390
+ archived?: boolean
1391
+ archivedAt?: Date | string | null
1392
+ assigneeId?: string | null
1393
+ startDate?: Date | string | null
1394
+ targetDate?: Date | string | null
1395
+ createdById: string
1396
+ updatedById?: string | null
1397
+ iterationId?: string | null
1398
+ createdAt?: Date | string
1399
+ updatedAt?: Date | string
1400
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
1401
+ }
1402
+
1403
+ export type StoryCreateOrConnectWithoutParentInput = {
1404
+ where: Prisma.StoryWhereUniqueInput
1405
+ create: Prisma.XOR<Prisma.StoryCreateWithoutParentInput, Prisma.StoryUncheckedCreateWithoutParentInput>
1406
+ }
1407
+
1408
+ export type StoryCreateManyParentInputEnvelope = {
1409
+ data: Prisma.StoryCreateManyParentInput | Prisma.StoryCreateManyParentInput[]
1410
+ }
1411
+
1412
+ export type StoryUpsertWithoutChildrenInput = {
1413
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutChildrenInput, Prisma.StoryUncheckedUpdateWithoutChildrenInput>
1414
+ create: Prisma.XOR<Prisma.StoryCreateWithoutChildrenInput, Prisma.StoryUncheckedCreateWithoutChildrenInput>
1415
+ where?: Prisma.StoryWhereInput
1416
+ }
1417
+
1418
+ export type StoryUpdateToOneWithWhereWithoutChildrenInput = {
1419
+ where?: Prisma.StoryWhereInput
1420
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutChildrenInput, Prisma.StoryUncheckedUpdateWithoutChildrenInput>
1421
+ }
1422
+
1423
+ export type StoryUpdateWithoutChildrenInput = {
1424
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1425
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1426
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1427
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1428
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1429
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1430
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1431
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1432
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1433
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1434
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1435
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1436
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1437
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1438
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
1439
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
1440
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
1441
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
1442
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
1443
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1444
+ }
1445
+
1446
+ export type StoryUncheckedUpdateWithoutChildrenInput = {
1447
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1448
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1449
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1450
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1451
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1452
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1453
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1454
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1455
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1456
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1457
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1458
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1459
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1460
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1461
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1462
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1463
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1464
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1465
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1466
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1467
+ }
1468
+
1469
+ export type StoryUpsertWithWhereUniqueWithoutParentInput = {
1470
+ where: Prisma.StoryWhereUniqueInput
1471
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutParentInput, Prisma.StoryUncheckedUpdateWithoutParentInput>
1472
+ create: Prisma.XOR<Prisma.StoryCreateWithoutParentInput, Prisma.StoryUncheckedCreateWithoutParentInput>
1473
+ }
1474
+
1475
+ export type StoryUpdateWithWhereUniqueWithoutParentInput = {
1476
+ where: Prisma.StoryWhereUniqueInput
1477
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutParentInput, Prisma.StoryUncheckedUpdateWithoutParentInput>
1478
+ }
1479
+
1480
+ export type StoryUpdateManyWithWhereWithoutParentInput = {
1481
+ where: Prisma.StoryScalarWhereInput
1482
+ data: Prisma.XOR<Prisma.StoryUpdateManyMutationInput, Prisma.StoryUncheckedUpdateManyWithoutParentInput>
1483
+ }
1484
+
1485
+ export type StoryCreateWithoutIterationInput = {
1486
+ id?: string
1487
+ sequenceId: number
1488
+ boardOrder?: number
1489
+ identifier: string
1490
+ name: string
1491
+ description?: string | null
1492
+ state?: string
1493
+ priority?: string
1494
+ archived?: boolean
1495
+ archivedAt?: Date | string | null
1496
+ startDate?: Date | string | null
1497
+ targetDate?: Date | string | null
1498
+ createdAt?: Date | string
1499
+ updatedAt?: Date | string
1500
+ project: Prisma.ProjectCreateNestedOneWithoutStoriesInput
1501
+ assignee?: Prisma.UserCreateNestedOneWithoutStoriesAssignedInput
1502
+ createdBy: Prisma.UserCreateNestedOneWithoutStoriesCreatedInput
1503
+ updatedBy?: Prisma.UserCreateNestedOneWithoutStoriesEditedInput
1504
+ parent?: Prisma.StoryCreateNestedOneWithoutChildrenInput
1505
+ children?: Prisma.StoryCreateNestedManyWithoutParentInput
1506
+ }
1507
+
1508
+ export type StoryUncheckedCreateWithoutIterationInput = {
1509
+ id?: string
1510
+ sequenceId: number
1511
+ boardOrder?: number
1512
+ identifier: string
1513
+ projectId: string
1514
+ name: string
1515
+ description?: string | null
1516
+ state?: string
1517
+ priority?: string
1518
+ archived?: boolean
1519
+ archivedAt?: Date | string | null
1520
+ assigneeId?: string | null
1521
+ startDate?: Date | string | null
1522
+ targetDate?: Date | string | null
1523
+ createdById: string
1524
+ updatedById?: string | null
1525
+ parentId?: string | null
1526
+ createdAt?: Date | string
1527
+ updatedAt?: Date | string
1528
+ children?: Prisma.StoryUncheckedCreateNestedManyWithoutParentInput
1529
+ }
1530
+
1531
+ export type StoryCreateOrConnectWithoutIterationInput = {
1532
+ where: Prisma.StoryWhereUniqueInput
1533
+ create: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput>
1534
+ }
1535
+
1536
+ export type StoryCreateManyIterationInputEnvelope = {
1537
+ data: Prisma.StoryCreateManyIterationInput | Prisma.StoryCreateManyIterationInput[]
1538
+ }
1539
+
1540
+ export type StoryUpsertWithWhereUniqueWithoutIterationInput = {
1541
+ where: Prisma.StoryWhereUniqueInput
1542
+ update: Prisma.XOR<Prisma.StoryUpdateWithoutIterationInput, Prisma.StoryUncheckedUpdateWithoutIterationInput>
1543
+ create: Prisma.XOR<Prisma.StoryCreateWithoutIterationInput, Prisma.StoryUncheckedCreateWithoutIterationInput>
1544
+ }
1545
+
1546
+ export type StoryUpdateWithWhereUniqueWithoutIterationInput = {
1547
+ where: Prisma.StoryWhereUniqueInput
1548
+ data: Prisma.XOR<Prisma.StoryUpdateWithoutIterationInput, Prisma.StoryUncheckedUpdateWithoutIterationInput>
1549
+ }
1550
+
1551
+ export type StoryUpdateManyWithWhereWithoutIterationInput = {
1552
+ where: Prisma.StoryScalarWhereInput
1553
+ data: Prisma.XOR<Prisma.StoryUpdateManyMutationInput, Prisma.StoryUncheckedUpdateManyWithoutIterationInput>
1554
+ }
1555
+
1556
+ export type StoryCreateManyCreatedByInput = {
1557
+ id?: string
1558
+ sequenceId: number
1559
+ boardOrder?: number
1560
+ identifier: string
1561
+ projectId: string
1562
+ name: string
1563
+ description?: string | null
1564
+ state?: string
1565
+ priority?: string
1566
+ archived?: boolean
1567
+ archivedAt?: Date | string | null
1568
+ assigneeId?: string | null
1569
+ startDate?: Date | string | null
1570
+ targetDate?: Date | string | null
1571
+ updatedById?: string | null
1572
+ parentId?: string | null
1573
+ iterationId?: string | null
1574
+ createdAt?: Date | string
1575
+ updatedAt?: Date | string
1576
+ }
1577
+
1578
+ export type StoryCreateManyAssigneeInput = {
1579
+ id?: string
1580
+ sequenceId: number
1581
+ boardOrder?: number
1582
+ identifier: string
1583
+ projectId: string
1584
+ name: string
1585
+ description?: string | null
1586
+ state?: string
1587
+ priority?: string
1588
+ archived?: boolean
1589
+ archivedAt?: Date | string | null
1590
+ startDate?: Date | string | null
1591
+ targetDate?: Date | string | null
1592
+ createdById: string
1593
+ updatedById?: string | null
1594
+ parentId?: string | null
1595
+ iterationId?: string | null
1596
+ createdAt?: Date | string
1597
+ updatedAt?: Date | string
1598
+ }
1599
+
1600
+ export type StoryCreateManyUpdatedByInput = {
1601
+ id?: string
1602
+ sequenceId: number
1603
+ boardOrder?: number
1604
+ identifier: string
1605
+ projectId: string
1606
+ name: string
1607
+ description?: string | null
1608
+ state?: string
1609
+ priority?: string
1610
+ archived?: boolean
1611
+ archivedAt?: Date | string | null
1612
+ assigneeId?: string | null
1613
+ startDate?: Date | string | null
1614
+ targetDate?: Date | string | null
1615
+ createdById: string
1616
+ parentId?: string | null
1617
+ iterationId?: string | null
1618
+ createdAt?: Date | string
1619
+ updatedAt?: Date | string
1620
+ }
1621
+
1622
+ export type StoryUpdateWithoutCreatedByInput = {
1623
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1624
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1625
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1626
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1627
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1628
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1629
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1630
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1631
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1632
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1633
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1634
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1635
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1636
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1637
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
1638
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
1639
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
1640
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
1641
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
1642
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1643
+ }
1644
+
1645
+ export type StoryUncheckedUpdateWithoutCreatedByInput = {
1646
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1647
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1648
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1649
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1650
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1651
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1652
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1653
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1654
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1655
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1656
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1657
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1658
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1659
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1660
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1661
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1662
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1663
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1664
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1665
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
1666
+ }
1667
+
1668
+ export type StoryUncheckedUpdateManyWithoutCreatedByInput = {
1669
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1670
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1671
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1672
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1673
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1674
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1675
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1676
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1677
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1678
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1679
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1680
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1681
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1682
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1683
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1684
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1685
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1686
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1687
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1688
+ }
1689
+
1690
+ export type StoryUpdateWithoutAssigneeInput = {
1691
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1692
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1693
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1694
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1695
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1696
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1697
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1698
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1699
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1700
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1701
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1702
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1703
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1704
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1705
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
1706
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
1707
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
1708
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
1709
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
1710
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1711
+ }
1712
+
1713
+ export type StoryUncheckedUpdateWithoutAssigneeInput = {
1714
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1715
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1716
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1717
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1718
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1719
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1720
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1721
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1722
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1723
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1724
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1725
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1726
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1727
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1728
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1729
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1730
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1731
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1732
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1733
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
1734
+ }
1735
+
1736
+ export type StoryUncheckedUpdateManyWithoutAssigneeInput = {
1737
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1738
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1739
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1740
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1741
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1742
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1743
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1744
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1745
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1746
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1747
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1748
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1749
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1750
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1751
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1752
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1753
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1754
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1755
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1756
+ }
1757
+
1758
+ export type StoryUpdateWithoutUpdatedByInput = {
1759
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1760
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1761
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1762
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1763
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1764
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1765
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1766
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1767
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1768
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1769
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1770
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1771
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1772
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1773
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
1774
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
1775
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
1776
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
1777
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
1778
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1779
+ }
1780
+
1781
+ export type StoryUncheckedUpdateWithoutUpdatedByInput = {
1782
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1783
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1784
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1785
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1786
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1787
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1788
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1789
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1790
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1791
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1792
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1793
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1794
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1795
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1796
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1797
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1798
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1799
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1800
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1801
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
1802
+ }
1803
+
1804
+ export type StoryUncheckedUpdateManyWithoutUpdatedByInput = {
1805
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1806
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1807
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1808
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1809
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1810
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1811
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1812
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1813
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1814
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1815
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1816
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1817
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1818
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1819
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1820
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1821
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1822
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1823
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1824
+ }
1825
+
1826
+ export type StoryCreateManyProjectInput = {
1827
+ id?: string
1828
+ sequenceId: number
1829
+ boardOrder?: number
1830
+ identifier: string
1831
+ name: string
1832
+ description?: string | null
1833
+ state?: string
1834
+ priority?: string
1835
+ archived?: boolean
1836
+ archivedAt?: Date | string | null
1837
+ assigneeId?: string | null
1838
+ startDate?: Date | string | null
1839
+ targetDate?: Date | string | null
1840
+ createdById: string
1841
+ updatedById?: string | null
1842
+ parentId?: string | null
1843
+ iterationId?: string | null
1844
+ createdAt?: Date | string
1845
+ updatedAt?: Date | string
1846
+ }
1847
+
1848
+ export type StoryUpdateWithoutProjectInput = {
1849
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1850
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1851
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1852
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1853
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1854
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1855
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1856
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1857
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1858
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1859
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1860
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1861
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1862
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1863
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
1864
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
1865
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
1866
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
1867
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
1868
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1869
+ }
1870
+
1871
+ export type StoryUncheckedUpdateWithoutProjectInput = {
1872
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1873
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1874
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1875
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1876
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1877
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1878
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1879
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1880
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1881
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1882
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1883
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1884
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1885
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1886
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1887
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1888
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1889
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1890
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1891
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
1892
+ }
1893
+
1894
+ export type StoryUncheckedUpdateManyWithoutProjectInput = {
1895
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1896
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1897
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1898
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1899
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1900
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1901
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1902
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1903
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1904
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1905
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1906
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1907
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1908
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1909
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1910
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1911
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1912
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1913
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1914
+ }
1915
+
1916
+ export type StoryCreateManyParentInput = {
1917
+ id?: string
1918
+ sequenceId: number
1919
+ boardOrder?: number
1920
+ identifier: string
1921
+ projectId: string
1922
+ name: string
1923
+ description?: string | null
1924
+ state?: string
1925
+ priority?: string
1926
+ archived?: boolean
1927
+ archivedAt?: Date | string | null
1928
+ assigneeId?: string | null
1929
+ startDate?: Date | string | null
1930
+ targetDate?: Date | string | null
1931
+ createdById: string
1932
+ updatedById?: string | null
1933
+ iterationId?: string | null
1934
+ createdAt?: Date | string
1935
+ updatedAt?: Date | string
1936
+ }
1937
+
1938
+ export type StoryUpdateWithoutParentInput = {
1939
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1940
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1941
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1942
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1943
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1944
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1945
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1946
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1947
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1948
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1949
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1950
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1951
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1952
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1953
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
1954
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
1955
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
1956
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
1957
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
1958
+ iteration?: Prisma.IterationUpdateOneWithoutStoriesNestedInput
1959
+ }
1960
+
1961
+ export type StoryUncheckedUpdateWithoutParentInput = {
1962
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1963
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1964
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1965
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1966
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1967
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1968
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1969
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1970
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1971
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1972
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1973
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1974
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1975
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1976
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1977
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1978
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1979
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1980
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1981
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
1982
+ }
1983
+
1984
+ export type StoryUncheckedUpdateManyWithoutParentInput = {
1985
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1986
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1987
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1988
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1989
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1990
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1991
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1992
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1993
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1994
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1995
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1996
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1997
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1998
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1999
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2000
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2001
+ iterationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2002
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2003
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2004
+ }
2005
+
2006
+ export type StoryCreateManyIterationInput = {
2007
+ id?: string
2008
+ sequenceId: number
2009
+ boardOrder?: number
2010
+ identifier: string
2011
+ projectId: string
2012
+ name: string
2013
+ description?: string | null
2014
+ state?: string
2015
+ priority?: string
2016
+ archived?: boolean
2017
+ archivedAt?: Date | string | null
2018
+ assigneeId?: string | null
2019
+ startDate?: Date | string | null
2020
+ targetDate?: Date | string | null
2021
+ createdById: string
2022
+ updatedById?: string | null
2023
+ parentId?: string | null
2024
+ createdAt?: Date | string
2025
+ updatedAt?: Date | string
2026
+ }
2027
+
2028
+ export type StoryUpdateWithoutIterationInput = {
2029
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2030
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2031
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2032
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2033
+ name?: Prisma.StringFieldUpdateOperationsInput | string
2034
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2035
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2036
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2037
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2038
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2039
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2040
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2041
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2042
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2043
+ project?: Prisma.ProjectUpdateOneRequiredWithoutStoriesNestedInput
2044
+ assignee?: Prisma.UserUpdateOneWithoutStoriesAssignedNestedInput
2045
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStoriesCreatedNestedInput
2046
+ updatedBy?: Prisma.UserUpdateOneWithoutStoriesEditedNestedInput
2047
+ parent?: Prisma.StoryUpdateOneWithoutChildrenNestedInput
2048
+ children?: Prisma.StoryUpdateManyWithoutParentNestedInput
2049
+ }
2050
+
2051
+ export type StoryUncheckedUpdateWithoutIterationInput = {
2052
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2053
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2054
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2055
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2056
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
2057
+ name?: Prisma.StringFieldUpdateOperationsInput | string
2058
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2059
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2060
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2061
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2062
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2063
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2064
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2065
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2066
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2067
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2068
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2069
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2070
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2071
+ children?: Prisma.StoryUncheckedUpdateManyWithoutParentNestedInput
2072
+ }
2073
+
2074
+ export type StoryUncheckedUpdateManyWithoutIterationInput = {
2075
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2076
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2077
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2078
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2079
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
2080
+ name?: Prisma.StringFieldUpdateOperationsInput | string
2081
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2082
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2083
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2084
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2085
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2086
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2087
+ startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2088
+ targetDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2089
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2090
+ updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2091
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2092
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2093
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2094
+ }
2095
+
2096
+
2097
+ /**
2098
+ * Count Type StoryCountOutputType
2099
+ */
2100
+
2101
+ export type StoryCountOutputType = {
2102
+ children: number
2103
+ }
2104
+
2105
+ export type StoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2106
+ children?: boolean | StoryCountOutputTypeCountChildrenArgs
2107
+ }
2108
+
2109
+ /**
2110
+ * StoryCountOutputType without action
2111
+ */
2112
+ export type StoryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2113
+ /**
2114
+ * Select specific fields to fetch from the StoryCountOutputType
2115
+ */
2116
+ select?: Prisma.StoryCountOutputTypeSelect<ExtArgs> | null
2117
+ }
2118
+
2119
+ /**
2120
+ * StoryCountOutputType without action
2121
+ */
2122
+ export type StoryCountOutputTypeCountChildrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2123
+ where?: Prisma.StoryWhereInput
2124
+ }
2125
+
2126
+
2127
+ export type StorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2128
+ id?: boolean
2129
+ sequenceId?: boolean
2130
+ boardOrder?: boolean
2131
+ identifier?: boolean
2132
+ projectId?: boolean
2133
+ name?: boolean
2134
+ description?: boolean
2135
+ state?: boolean
2136
+ priority?: boolean
2137
+ archived?: boolean
2138
+ archivedAt?: boolean
2139
+ assigneeId?: boolean
2140
+ startDate?: boolean
2141
+ targetDate?: boolean
2142
+ createdById?: boolean
2143
+ updatedById?: boolean
2144
+ parentId?: boolean
2145
+ iterationId?: boolean
2146
+ createdAt?: boolean
2147
+ updatedAt?: boolean
2148
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2149
+ assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
2150
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2151
+ updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
2152
+ parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
2153
+ children?: boolean | Prisma.Story$childrenArgs<ExtArgs>
2154
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
2155
+ _count?: boolean | Prisma.StoryCountOutputTypeDefaultArgs<ExtArgs>
2156
+ }, ExtArgs["result"]["story"]>
2157
+
2158
+ export type StorySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2159
+ id?: boolean
2160
+ sequenceId?: boolean
2161
+ boardOrder?: boolean
2162
+ identifier?: boolean
2163
+ projectId?: boolean
2164
+ name?: boolean
2165
+ description?: boolean
2166
+ state?: boolean
2167
+ priority?: boolean
2168
+ archived?: boolean
2169
+ archivedAt?: boolean
2170
+ assigneeId?: boolean
2171
+ startDate?: boolean
2172
+ targetDate?: boolean
2173
+ createdById?: boolean
2174
+ updatedById?: boolean
2175
+ parentId?: boolean
2176
+ iterationId?: boolean
2177
+ createdAt?: boolean
2178
+ updatedAt?: boolean
2179
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2180
+ assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
2181
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2182
+ updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
2183
+ parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
2184
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
2185
+ }, ExtArgs["result"]["story"]>
2186
+
2187
+ export type StorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2188
+ id?: boolean
2189
+ sequenceId?: boolean
2190
+ boardOrder?: boolean
2191
+ identifier?: boolean
2192
+ projectId?: boolean
2193
+ name?: boolean
2194
+ description?: boolean
2195
+ state?: boolean
2196
+ priority?: boolean
2197
+ archived?: boolean
2198
+ archivedAt?: boolean
2199
+ assigneeId?: boolean
2200
+ startDate?: boolean
2201
+ targetDate?: boolean
2202
+ createdById?: boolean
2203
+ updatedById?: boolean
2204
+ parentId?: boolean
2205
+ iterationId?: boolean
2206
+ createdAt?: boolean
2207
+ updatedAt?: boolean
2208
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2209
+ assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
2210
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2211
+ updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
2212
+ parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
2213
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
2214
+ }, ExtArgs["result"]["story"]>
2215
+
2216
+ export type StorySelectScalar = {
2217
+ id?: boolean
2218
+ sequenceId?: boolean
2219
+ boardOrder?: boolean
2220
+ identifier?: boolean
2221
+ projectId?: boolean
2222
+ name?: boolean
2223
+ description?: boolean
2224
+ state?: boolean
2225
+ priority?: boolean
2226
+ archived?: boolean
2227
+ archivedAt?: boolean
2228
+ assigneeId?: boolean
2229
+ startDate?: boolean
2230
+ targetDate?: boolean
2231
+ createdById?: boolean
2232
+ updatedById?: boolean
2233
+ parentId?: boolean
2234
+ iterationId?: boolean
2235
+ createdAt?: boolean
2236
+ updatedAt?: boolean
2237
+ }
2238
+
2239
+ export type StoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sequenceId" | "boardOrder" | "identifier" | "projectId" | "name" | "description" | "state" | "priority" | "archived" | "archivedAt" | "assigneeId" | "startDate" | "targetDate" | "createdById" | "updatedById" | "parentId" | "iterationId" | "createdAt" | "updatedAt", ExtArgs["result"]["story"]>
2240
+ export type StoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2241
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2242
+ assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
2243
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2244
+ updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
2245
+ parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
2246
+ children?: boolean | Prisma.Story$childrenArgs<ExtArgs>
2247
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
2248
+ _count?: boolean | Prisma.StoryCountOutputTypeDefaultArgs<ExtArgs>
2249
+ }
2250
+ export type StoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2251
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2252
+ assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
2253
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2254
+ updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
2255
+ parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
2256
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
2257
+ }
2258
+ export type StoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2259
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2260
+ assignee?: boolean | Prisma.Story$assigneeArgs<ExtArgs>
2261
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2262
+ updatedBy?: boolean | Prisma.Story$updatedByArgs<ExtArgs>
2263
+ parent?: boolean | Prisma.Story$parentArgs<ExtArgs>
2264
+ iteration?: boolean | Prisma.Story$iterationArgs<ExtArgs>
2265
+ }
2266
+
2267
+ export type $StoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2268
+ name: "Story"
2269
+ objects: {
2270
+ project: Prisma.$ProjectPayload<ExtArgs>
2271
+ assignee: Prisma.$UserPayload<ExtArgs> | null
2272
+ createdBy: Prisma.$UserPayload<ExtArgs>
2273
+ updatedBy: Prisma.$UserPayload<ExtArgs> | null
2274
+ parent: Prisma.$StoryPayload<ExtArgs> | null
2275
+ children: Prisma.$StoryPayload<ExtArgs>[]
2276
+ iteration: Prisma.$IterationPayload<ExtArgs> | null
2277
+ }
2278
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
2279
+ id: string
2280
+ sequenceId: number
2281
+ boardOrder: number
2282
+ identifier: string
2283
+ projectId: string
2284
+ name: string
2285
+ description: string | null
2286
+ state: string
2287
+ priority: string
2288
+ archived: boolean
2289
+ archivedAt: Date | null
2290
+ assigneeId: string | null
2291
+ startDate: Date | null
2292
+ targetDate: Date | null
2293
+ createdById: string
2294
+ updatedById: string | null
2295
+ parentId: string | null
2296
+ iterationId: string | null
2297
+ createdAt: Date
2298
+ updatedAt: Date
2299
+ }, ExtArgs["result"]["story"]>
2300
+ composites: {}
2301
+ }
2302
+
2303
+ export type StoryGetPayload<S extends boolean | null | undefined | StoryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$StoryPayload, S>
2304
+
2305
+ export type StoryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
2306
+ Omit<StoryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
2307
+ select?: StoryCountAggregateInputType | true
2308
+ }
2309
+
2310
+ export interface StoryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
2311
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Story'], meta: { name: 'Story' } }
2312
+ /**
2313
+ * Find zero or one Story that matches the filter.
2314
+ * @param {StoryFindUniqueArgs} args - Arguments to find a Story
2315
+ * @example
2316
+ * // Get one Story
2317
+ * const story = await prisma.story.findUnique({
2318
+ * where: {
2319
+ * // ... provide filter here
2320
+ * }
2321
+ * })
2322
+ */
2323
+ findUnique<T extends StoryFindUniqueArgs>(args: Prisma.SelectSubset<T, StoryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2324
+
2325
+ /**
2326
+ * Find one Story that matches the filter or throw an error with `error.code='P2025'`
2327
+ * if no matches were found.
2328
+ * @param {StoryFindUniqueOrThrowArgs} args - Arguments to find a Story
2329
+ * @example
2330
+ * // Get one Story
2331
+ * const story = await prisma.story.findUniqueOrThrow({
2332
+ * where: {
2333
+ * // ... provide filter here
2334
+ * }
2335
+ * })
2336
+ */
2337
+ findUniqueOrThrow<T extends StoryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, StoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2338
+
2339
+ /**
2340
+ * Find the first Story that matches the filter.
2341
+ * Note, that providing `undefined` is treated as the value not being there.
2342
+ * Read more here: https://pris.ly/d/null-undefined
2343
+ * @param {StoryFindFirstArgs} args - Arguments to find a Story
2344
+ * @example
2345
+ * // Get one Story
2346
+ * const story = await prisma.story.findFirst({
2347
+ * where: {
2348
+ * // ... provide filter here
2349
+ * }
2350
+ * })
2351
+ */
2352
+ findFirst<T extends StoryFindFirstArgs>(args?: Prisma.SelectSubset<T, StoryFindFirstArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2353
+
2354
+ /**
2355
+ * Find the first Story that matches the filter or
2356
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
2357
+ * Note, that providing `undefined` is treated as the value not being there.
2358
+ * Read more here: https://pris.ly/d/null-undefined
2359
+ * @param {StoryFindFirstOrThrowArgs} args - Arguments to find a Story
2360
+ * @example
2361
+ * // Get one Story
2362
+ * const story = await prisma.story.findFirstOrThrow({
2363
+ * where: {
2364
+ * // ... provide filter here
2365
+ * }
2366
+ * })
2367
+ */
2368
+ findFirstOrThrow<T extends StoryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, StoryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2369
+
2370
+ /**
2371
+ * Find zero or more Stories that matches the filter.
2372
+ * Note, that providing `undefined` is treated as the value not being there.
2373
+ * Read more here: https://pris.ly/d/null-undefined
2374
+ * @param {StoryFindManyArgs} args - Arguments to filter and select certain fields only.
2375
+ * @example
2376
+ * // Get all Stories
2377
+ * const stories = await prisma.story.findMany()
2378
+ *
2379
+ * // Get first 10 Stories
2380
+ * const stories = await prisma.story.findMany({ take: 10 })
2381
+ *
2382
+ * // Only select the `id`
2383
+ * const storyWithIdOnly = await prisma.story.findMany({ select: { id: true } })
2384
+ *
2385
+ */
2386
+ findMany<T extends StoryFindManyArgs>(args?: Prisma.SelectSubset<T, StoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
2387
+
2388
+ /**
2389
+ * Create a Story.
2390
+ * @param {StoryCreateArgs} args - Arguments to create a Story.
2391
+ * @example
2392
+ * // Create one Story
2393
+ * const Story = await prisma.story.create({
2394
+ * data: {
2395
+ * // ... data to create a Story
2396
+ * }
2397
+ * })
2398
+ *
2399
+ */
2400
+ create<T extends StoryCreateArgs>(args: Prisma.SelectSubset<T, StoryCreateArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2401
+
2402
+ /**
2403
+ * Create many Stories.
2404
+ * @param {StoryCreateManyArgs} args - Arguments to create many Stories.
2405
+ * @example
2406
+ * // Create many Stories
2407
+ * const story = await prisma.story.createMany({
2408
+ * data: [
2409
+ * // ... provide data here
2410
+ * ]
2411
+ * })
2412
+ *
2413
+ */
2414
+ createMany<T extends StoryCreateManyArgs>(args?: Prisma.SelectSubset<T, StoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2415
+
2416
+ /**
2417
+ * Create many Stories and returns the data saved in the database.
2418
+ * @param {StoryCreateManyAndReturnArgs} args - Arguments to create many Stories.
2419
+ * @example
2420
+ * // Create many Stories
2421
+ * const story = await prisma.story.createManyAndReturn({
2422
+ * data: [
2423
+ * // ... provide data here
2424
+ * ]
2425
+ * })
2426
+ *
2427
+ * // Create many Stories and only return the `id`
2428
+ * const storyWithIdOnly = await prisma.story.createManyAndReturn({
2429
+ * select: { id: true },
2430
+ * data: [
2431
+ * // ... provide data here
2432
+ * ]
2433
+ * })
2434
+ * Note, that providing `undefined` is treated as the value not being there.
2435
+ * Read more here: https://pris.ly/d/null-undefined
2436
+ *
2437
+ */
2438
+ createManyAndReturn<T extends StoryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, StoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
2439
+
2440
+ /**
2441
+ * Delete a Story.
2442
+ * @param {StoryDeleteArgs} args - Arguments to delete one Story.
2443
+ * @example
2444
+ * // Delete one Story
2445
+ * const Story = await prisma.story.delete({
2446
+ * where: {
2447
+ * // ... filter to delete one Story
2448
+ * }
2449
+ * })
2450
+ *
2451
+ */
2452
+ delete<T extends StoryDeleteArgs>(args: Prisma.SelectSubset<T, StoryDeleteArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2453
+
2454
+ /**
2455
+ * Update one Story.
2456
+ * @param {StoryUpdateArgs} args - Arguments to update one Story.
2457
+ * @example
2458
+ * // Update one Story
2459
+ * const story = await prisma.story.update({
2460
+ * where: {
2461
+ * // ... provide filter here
2462
+ * },
2463
+ * data: {
2464
+ * // ... provide data here
2465
+ * }
2466
+ * })
2467
+ *
2468
+ */
2469
+ update<T extends StoryUpdateArgs>(args: Prisma.SelectSubset<T, StoryUpdateArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2470
+
2471
+ /**
2472
+ * Delete zero or more Stories.
2473
+ * @param {StoryDeleteManyArgs} args - Arguments to filter Stories to delete.
2474
+ * @example
2475
+ * // Delete a few Stories
2476
+ * const { count } = await prisma.story.deleteMany({
2477
+ * where: {
2478
+ * // ... provide filter here
2479
+ * }
2480
+ * })
2481
+ *
2482
+ */
2483
+ deleteMany<T extends StoryDeleteManyArgs>(args?: Prisma.SelectSubset<T, StoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2484
+
2485
+ /**
2486
+ * Update zero or more Stories.
2487
+ * Note, that providing `undefined` is treated as the value not being there.
2488
+ * Read more here: https://pris.ly/d/null-undefined
2489
+ * @param {StoryUpdateManyArgs} args - Arguments to update one or more rows.
2490
+ * @example
2491
+ * // Update many Stories
2492
+ * const story = await prisma.story.updateMany({
2493
+ * where: {
2494
+ * // ... provide filter here
2495
+ * },
2496
+ * data: {
2497
+ * // ... provide data here
2498
+ * }
2499
+ * })
2500
+ *
2501
+ */
2502
+ updateMany<T extends StoryUpdateManyArgs>(args: Prisma.SelectSubset<T, StoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2503
+
2504
+ /**
2505
+ * Update zero or more Stories and returns the data updated in the database.
2506
+ * @param {StoryUpdateManyAndReturnArgs} args - Arguments to update many Stories.
2507
+ * @example
2508
+ * // Update many Stories
2509
+ * const story = await prisma.story.updateManyAndReturn({
2510
+ * where: {
2511
+ * // ... provide filter here
2512
+ * },
2513
+ * data: [
2514
+ * // ... provide data here
2515
+ * ]
2516
+ * })
2517
+ *
2518
+ * // Update zero or more Stories and only return the `id`
2519
+ * const storyWithIdOnly = await prisma.story.updateManyAndReturn({
2520
+ * select: { id: true },
2521
+ * where: {
2522
+ * // ... provide filter here
2523
+ * },
2524
+ * data: [
2525
+ * // ... provide data here
2526
+ * ]
2527
+ * })
2528
+ * Note, that providing `undefined` is treated as the value not being there.
2529
+ * Read more here: https://pris.ly/d/null-undefined
2530
+ *
2531
+ */
2532
+ updateManyAndReturn<T extends StoryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, StoryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2533
+
2534
+ /**
2535
+ * Create or update one Story.
2536
+ * @param {StoryUpsertArgs} args - Arguments to update or create a Story.
2537
+ * @example
2538
+ * // Update or create a Story
2539
+ * const story = await prisma.story.upsert({
2540
+ * create: {
2541
+ * // ... data to create a Story
2542
+ * },
2543
+ * update: {
2544
+ * // ... in case it already exists, update
2545
+ * },
2546
+ * where: {
2547
+ * // ... the filter for the Story we want to update
2548
+ * }
2549
+ * })
2550
+ */
2551
+ upsert<T extends StoryUpsertArgs>(args: Prisma.SelectSubset<T, StoryUpsertArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2552
+
2553
+
2554
+ /**
2555
+ * Count the number of Stories.
2556
+ * Note, that providing `undefined` is treated as the value not being there.
2557
+ * Read more here: https://pris.ly/d/null-undefined
2558
+ * @param {StoryCountArgs} args - Arguments to filter Stories to count.
2559
+ * @example
2560
+ * // Count the number of Stories
2561
+ * const count = await prisma.story.count({
2562
+ * where: {
2563
+ * // ... the filter for the Stories we want to count
2564
+ * }
2565
+ * })
2566
+ **/
2567
+ count<T extends StoryCountArgs>(
2568
+ args?: Prisma.Subset<T, StoryCountArgs>,
2569
+ ): Prisma.PrismaPromise<
2570
+ T extends runtime.Types.Utils.Record<'select', any>
2571
+ ? T['select'] extends true
2572
+ ? number
2573
+ : Prisma.GetScalarType<T['select'], StoryCountAggregateOutputType>
2574
+ : number
2575
+ >
2576
+
2577
+ /**
2578
+ * Allows you to perform aggregations operations on a Story.
2579
+ * Note, that providing `undefined` is treated as the value not being there.
2580
+ * Read more here: https://pris.ly/d/null-undefined
2581
+ * @param {StoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2582
+ * @example
2583
+ * // Ordered by age ascending
2584
+ * // Where email contains prisma.io
2585
+ * // Limited to the 10 users
2586
+ * const aggregations = await prisma.user.aggregate({
2587
+ * _avg: {
2588
+ * age: true,
2589
+ * },
2590
+ * where: {
2591
+ * email: {
2592
+ * contains: "prisma.io",
2593
+ * },
2594
+ * },
2595
+ * orderBy: {
2596
+ * age: "asc",
2597
+ * },
2598
+ * take: 10,
2599
+ * })
2600
+ **/
2601
+ aggregate<T extends StoryAggregateArgs>(args: Prisma.Subset<T, StoryAggregateArgs>): Prisma.PrismaPromise<GetStoryAggregateType<T>>
2602
+
2603
+ /**
2604
+ * Group by Story.
2605
+ * Note, that providing `undefined` is treated as the value not being there.
2606
+ * Read more here: https://pris.ly/d/null-undefined
2607
+ * @param {StoryGroupByArgs} args - Group by arguments.
2608
+ * @example
2609
+ * // Group by city, order by createdAt, get count
2610
+ * const result = await prisma.user.groupBy({
2611
+ * by: ['city', 'createdAt'],
2612
+ * orderBy: {
2613
+ * createdAt: true
2614
+ * },
2615
+ * _count: {
2616
+ * _all: true
2617
+ * },
2618
+ * })
2619
+ *
2620
+ **/
2621
+ groupBy<
2622
+ T extends StoryGroupByArgs,
2623
+ HasSelectOrTake extends Prisma.Or<
2624
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
2625
+ Prisma.Extends<'take', Prisma.Keys<T>>
2626
+ >,
2627
+ OrderByArg extends Prisma.True extends HasSelectOrTake
2628
+ ? { orderBy: StoryGroupByArgs['orderBy'] }
2629
+ : { orderBy?: StoryGroupByArgs['orderBy'] },
2630
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2631
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2632
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
2633
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
2634
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
2635
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2636
+ InputErrors extends ByEmpty extends Prisma.True
2637
+ ? `Error: "by" must not be empty.`
2638
+ : HavingValid extends Prisma.False
2639
+ ? {
2640
+ [P in HavingFields]: P extends ByFields
2641
+ ? never
2642
+ : P extends string
2643
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2644
+ : [
2645
+ Error,
2646
+ 'Field ',
2647
+ P,
2648
+ ` in "having" needs to be provided in "by"`,
2649
+ ]
2650
+ }[HavingFields]
2651
+ : 'take' extends Prisma.Keys<T>
2652
+ ? 'orderBy' extends Prisma.Keys<T>
2653
+ ? ByValid extends Prisma.True
2654
+ ? {}
2655
+ : {
2656
+ [P in OrderFields]: P extends ByFields
2657
+ ? never
2658
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2659
+ }[OrderFields]
2660
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
2661
+ : 'skip' extends Prisma.Keys<T>
2662
+ ? 'orderBy' extends Prisma.Keys<T>
2663
+ ? ByValid extends Prisma.True
2664
+ ? {}
2665
+ : {
2666
+ [P in OrderFields]: P extends ByFields
2667
+ ? never
2668
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2669
+ }[OrderFields]
2670
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
2671
+ : ByValid extends Prisma.True
2672
+ ? {}
2673
+ : {
2674
+ [P in OrderFields]: P extends ByFields
2675
+ ? never
2676
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2677
+ }[OrderFields]
2678
+ >(args: Prisma.SubsetIntersection<T, StoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetStoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2679
+ /**
2680
+ * Fields of the Story model
2681
+ */
2682
+ readonly fields: StoryFieldRefs;
2683
+ }
2684
+
2685
+ /**
2686
+ * The delegate class that acts as a "Promise-like" for Story.
2687
+ * Why is this prefixed with `Prisma__`?
2688
+ * Because we want to prevent naming conflicts as mentioned in
2689
+ * https://github.com/prisma/prisma-client-js/issues/707
2690
+ */
2691
+ export interface Prisma__StoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2692
+ readonly [Symbol.toStringTag]: "PrismaPromise"
2693
+ project<T extends Prisma.ProjectDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
2694
+ assignee<T extends Prisma.Story$assigneeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$assigneeArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2695
+ createdBy<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
2696
+ updatedBy<T extends Prisma.Story$updatedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$updatedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2697
+ parent<T extends Prisma.Story$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$parentArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2698
+ children<T extends Prisma.Story$childrenArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2699
+ iteration<T extends Prisma.Story$iterationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Story$iterationArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2700
+ /**
2701
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
2702
+ * @param onfulfilled The callback to execute when the Promise is resolved.
2703
+ * @param onrejected The callback to execute when the Promise is rejected.
2704
+ * @returns A Promise for the completion of which ever callback is executed.
2705
+ */
2706
+ 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>
2707
+ /**
2708
+ * Attaches a callback for only the rejection of the Promise.
2709
+ * @param onrejected The callback to execute when the Promise is rejected.
2710
+ * @returns A Promise for the completion of the callback.
2711
+ */
2712
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2713
+ /**
2714
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2715
+ * resolved value cannot be modified from the callback.
2716
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2717
+ * @returns A Promise for the completion of the callback.
2718
+ */
2719
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2720
+ }
2721
+
2722
+
2723
+
2724
+
2725
+ /**
2726
+ * Fields of the Story model
2727
+ */
2728
+ export interface StoryFieldRefs {
2729
+ readonly id: Prisma.FieldRef<"Story", 'String'>
2730
+ readonly sequenceId: Prisma.FieldRef<"Story", 'Int'>
2731
+ readonly boardOrder: Prisma.FieldRef<"Story", 'Int'>
2732
+ readonly identifier: Prisma.FieldRef<"Story", 'String'>
2733
+ readonly projectId: Prisma.FieldRef<"Story", 'String'>
2734
+ readonly name: Prisma.FieldRef<"Story", 'String'>
2735
+ readonly description: Prisma.FieldRef<"Story", 'String'>
2736
+ readonly state: Prisma.FieldRef<"Story", 'String'>
2737
+ readonly priority: Prisma.FieldRef<"Story", 'String'>
2738
+ readonly archived: Prisma.FieldRef<"Story", 'Boolean'>
2739
+ readonly archivedAt: Prisma.FieldRef<"Story", 'DateTime'>
2740
+ readonly assigneeId: Prisma.FieldRef<"Story", 'String'>
2741
+ readonly startDate: Prisma.FieldRef<"Story", 'DateTime'>
2742
+ readonly targetDate: Prisma.FieldRef<"Story", 'DateTime'>
2743
+ readonly createdById: Prisma.FieldRef<"Story", 'String'>
2744
+ readonly updatedById: Prisma.FieldRef<"Story", 'String'>
2745
+ readonly parentId: Prisma.FieldRef<"Story", 'String'>
2746
+ readonly iterationId: Prisma.FieldRef<"Story", 'String'>
2747
+ readonly createdAt: Prisma.FieldRef<"Story", 'DateTime'>
2748
+ readonly updatedAt: Prisma.FieldRef<"Story", 'DateTime'>
2749
+ }
2750
+
2751
+
2752
+ // Custom InputTypes
2753
+ /**
2754
+ * Story findUnique
2755
+ */
2756
+ export type StoryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2757
+ /**
2758
+ * Select specific fields to fetch from the Story
2759
+ */
2760
+ select?: Prisma.StorySelect<ExtArgs> | null
2761
+ /**
2762
+ * Omit specific fields from the Story
2763
+ */
2764
+ omit?: Prisma.StoryOmit<ExtArgs> | null
2765
+ /**
2766
+ * Choose, which related nodes to fetch as well
2767
+ */
2768
+ include?: Prisma.StoryInclude<ExtArgs> | null
2769
+ /**
2770
+ * Filter, which Story to fetch.
2771
+ */
2772
+ where: Prisma.StoryWhereUniqueInput
2773
+ }
2774
+
2775
+ /**
2776
+ * Story findUniqueOrThrow
2777
+ */
2778
+ export type StoryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2779
+ /**
2780
+ * Select specific fields to fetch from the Story
2781
+ */
2782
+ select?: Prisma.StorySelect<ExtArgs> | null
2783
+ /**
2784
+ * Omit specific fields from the Story
2785
+ */
2786
+ omit?: Prisma.StoryOmit<ExtArgs> | null
2787
+ /**
2788
+ * Choose, which related nodes to fetch as well
2789
+ */
2790
+ include?: Prisma.StoryInclude<ExtArgs> | null
2791
+ /**
2792
+ * Filter, which Story to fetch.
2793
+ */
2794
+ where: Prisma.StoryWhereUniqueInput
2795
+ }
2796
+
2797
+ /**
2798
+ * Story findFirst
2799
+ */
2800
+ export type StoryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2801
+ /**
2802
+ * Select specific fields to fetch from the Story
2803
+ */
2804
+ select?: Prisma.StorySelect<ExtArgs> | null
2805
+ /**
2806
+ * Omit specific fields from the Story
2807
+ */
2808
+ omit?: Prisma.StoryOmit<ExtArgs> | null
2809
+ /**
2810
+ * Choose, which related nodes to fetch as well
2811
+ */
2812
+ include?: Prisma.StoryInclude<ExtArgs> | null
2813
+ /**
2814
+ * Filter, which Story to fetch.
2815
+ */
2816
+ where?: Prisma.StoryWhereInput
2817
+ /**
2818
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2819
+ *
2820
+ * Determine the order of Stories to fetch.
2821
+ */
2822
+ orderBy?: Prisma.StoryOrderByWithRelationInput | Prisma.StoryOrderByWithRelationInput[]
2823
+ /**
2824
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2825
+ *
2826
+ * Sets the position for searching for Stories.
2827
+ */
2828
+ cursor?: Prisma.StoryWhereUniqueInput
2829
+ /**
2830
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2831
+ *
2832
+ * Take `±n` Stories from the position of the cursor.
2833
+ */
2834
+ take?: number
2835
+ /**
2836
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2837
+ *
2838
+ * Skip the first `n` Stories.
2839
+ */
2840
+ skip?: number
2841
+ /**
2842
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2843
+ *
2844
+ * Filter by unique combinations of Stories.
2845
+ */
2846
+ distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
2847
+ }
2848
+
2849
+ /**
2850
+ * Story findFirstOrThrow
2851
+ */
2852
+ export type StoryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2853
+ /**
2854
+ * Select specific fields to fetch from the Story
2855
+ */
2856
+ select?: Prisma.StorySelect<ExtArgs> | null
2857
+ /**
2858
+ * Omit specific fields from the Story
2859
+ */
2860
+ omit?: Prisma.StoryOmit<ExtArgs> | null
2861
+ /**
2862
+ * Choose, which related nodes to fetch as well
2863
+ */
2864
+ include?: Prisma.StoryInclude<ExtArgs> | null
2865
+ /**
2866
+ * Filter, which Story to fetch.
2867
+ */
2868
+ where?: Prisma.StoryWhereInput
2869
+ /**
2870
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2871
+ *
2872
+ * Determine the order of Stories to fetch.
2873
+ */
2874
+ orderBy?: Prisma.StoryOrderByWithRelationInput | Prisma.StoryOrderByWithRelationInput[]
2875
+ /**
2876
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2877
+ *
2878
+ * Sets the position for searching for Stories.
2879
+ */
2880
+ cursor?: Prisma.StoryWhereUniqueInput
2881
+ /**
2882
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2883
+ *
2884
+ * Take `±n` Stories from the position of the cursor.
2885
+ */
2886
+ take?: number
2887
+ /**
2888
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2889
+ *
2890
+ * Skip the first `n` Stories.
2891
+ */
2892
+ skip?: number
2893
+ /**
2894
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2895
+ *
2896
+ * Filter by unique combinations of Stories.
2897
+ */
2898
+ distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
2899
+ }
2900
+
2901
+ /**
2902
+ * Story findMany
2903
+ */
2904
+ export type StoryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2905
+ /**
2906
+ * Select specific fields to fetch from the Story
2907
+ */
2908
+ select?: Prisma.StorySelect<ExtArgs> | null
2909
+ /**
2910
+ * Omit specific fields from the Story
2911
+ */
2912
+ omit?: Prisma.StoryOmit<ExtArgs> | null
2913
+ /**
2914
+ * Choose, which related nodes to fetch as well
2915
+ */
2916
+ include?: Prisma.StoryInclude<ExtArgs> | null
2917
+ /**
2918
+ * Filter, which Stories to fetch.
2919
+ */
2920
+ where?: Prisma.StoryWhereInput
2921
+ /**
2922
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2923
+ *
2924
+ * Determine the order of Stories to fetch.
2925
+ */
2926
+ orderBy?: Prisma.StoryOrderByWithRelationInput | Prisma.StoryOrderByWithRelationInput[]
2927
+ /**
2928
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2929
+ *
2930
+ * Sets the position for listing Stories.
2931
+ */
2932
+ cursor?: Prisma.StoryWhereUniqueInput
2933
+ /**
2934
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2935
+ *
2936
+ * Take `±n` Stories from the position of the cursor.
2937
+ */
2938
+ take?: number
2939
+ /**
2940
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2941
+ *
2942
+ * Skip the first `n` Stories.
2943
+ */
2944
+ skip?: number
2945
+ /**
2946
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2947
+ *
2948
+ * Filter by unique combinations of Stories.
2949
+ */
2950
+ distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
2951
+ }
2952
+
2953
+ /**
2954
+ * Story create
2955
+ */
2956
+ export type StoryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2957
+ /**
2958
+ * Select specific fields to fetch from the Story
2959
+ */
2960
+ select?: Prisma.StorySelect<ExtArgs> | null
2961
+ /**
2962
+ * Omit specific fields from the Story
2963
+ */
2964
+ omit?: Prisma.StoryOmit<ExtArgs> | null
2965
+ /**
2966
+ * Choose, which related nodes to fetch as well
2967
+ */
2968
+ include?: Prisma.StoryInclude<ExtArgs> | null
2969
+ /**
2970
+ * The data needed to create a Story.
2971
+ */
2972
+ data: Prisma.XOR<Prisma.StoryCreateInput, Prisma.StoryUncheckedCreateInput>
2973
+ }
2974
+
2975
+ /**
2976
+ * Story createMany
2977
+ */
2978
+ export type StoryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2979
+ /**
2980
+ * The data used to create many Stories.
2981
+ */
2982
+ data: Prisma.StoryCreateManyInput | Prisma.StoryCreateManyInput[]
2983
+ }
2984
+
2985
+ /**
2986
+ * Story createManyAndReturn
2987
+ */
2988
+ export type StoryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2989
+ /**
2990
+ * Select specific fields to fetch from the Story
2991
+ */
2992
+ select?: Prisma.StorySelectCreateManyAndReturn<ExtArgs> | null
2993
+ /**
2994
+ * Omit specific fields from the Story
2995
+ */
2996
+ omit?: Prisma.StoryOmit<ExtArgs> | null
2997
+ /**
2998
+ * The data used to create many Stories.
2999
+ */
3000
+ data: Prisma.StoryCreateManyInput | Prisma.StoryCreateManyInput[]
3001
+ /**
3002
+ * Choose, which related nodes to fetch as well
3003
+ */
3004
+ include?: Prisma.StoryIncludeCreateManyAndReturn<ExtArgs> | null
3005
+ }
3006
+
3007
+ /**
3008
+ * Story update
3009
+ */
3010
+ export type StoryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3011
+ /**
3012
+ * Select specific fields to fetch from the Story
3013
+ */
3014
+ select?: Prisma.StorySelect<ExtArgs> | null
3015
+ /**
3016
+ * Omit specific fields from the Story
3017
+ */
3018
+ omit?: Prisma.StoryOmit<ExtArgs> | null
3019
+ /**
3020
+ * Choose, which related nodes to fetch as well
3021
+ */
3022
+ include?: Prisma.StoryInclude<ExtArgs> | null
3023
+ /**
3024
+ * The data needed to update a Story.
3025
+ */
3026
+ data: Prisma.XOR<Prisma.StoryUpdateInput, Prisma.StoryUncheckedUpdateInput>
3027
+ /**
3028
+ * Choose, which Story to update.
3029
+ */
3030
+ where: Prisma.StoryWhereUniqueInput
3031
+ }
3032
+
3033
+ /**
3034
+ * Story updateMany
3035
+ */
3036
+ export type StoryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3037
+ /**
3038
+ * The data used to update Stories.
3039
+ */
3040
+ data: Prisma.XOR<Prisma.StoryUpdateManyMutationInput, Prisma.StoryUncheckedUpdateManyInput>
3041
+ /**
3042
+ * Filter which Stories to update
3043
+ */
3044
+ where?: Prisma.StoryWhereInput
3045
+ /**
3046
+ * Limit how many Stories to update.
3047
+ */
3048
+ limit?: number
3049
+ }
3050
+
3051
+ /**
3052
+ * Story updateManyAndReturn
3053
+ */
3054
+ export type StoryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3055
+ /**
3056
+ * Select specific fields to fetch from the Story
3057
+ */
3058
+ select?: Prisma.StorySelectUpdateManyAndReturn<ExtArgs> | null
3059
+ /**
3060
+ * Omit specific fields from the Story
3061
+ */
3062
+ omit?: Prisma.StoryOmit<ExtArgs> | null
3063
+ /**
3064
+ * The data used to update Stories.
3065
+ */
3066
+ data: Prisma.XOR<Prisma.StoryUpdateManyMutationInput, Prisma.StoryUncheckedUpdateManyInput>
3067
+ /**
3068
+ * Filter which Stories to update
3069
+ */
3070
+ where?: Prisma.StoryWhereInput
3071
+ /**
3072
+ * Limit how many Stories to update.
3073
+ */
3074
+ limit?: number
3075
+ /**
3076
+ * Choose, which related nodes to fetch as well
3077
+ */
3078
+ include?: Prisma.StoryIncludeUpdateManyAndReturn<ExtArgs> | null
3079
+ }
3080
+
3081
+ /**
3082
+ * Story upsert
3083
+ */
3084
+ export type StoryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3085
+ /**
3086
+ * Select specific fields to fetch from the Story
3087
+ */
3088
+ select?: Prisma.StorySelect<ExtArgs> | null
3089
+ /**
3090
+ * Omit specific fields from the Story
3091
+ */
3092
+ omit?: Prisma.StoryOmit<ExtArgs> | null
3093
+ /**
3094
+ * Choose, which related nodes to fetch as well
3095
+ */
3096
+ include?: Prisma.StoryInclude<ExtArgs> | null
3097
+ /**
3098
+ * The filter to search for the Story to update in case it exists.
3099
+ */
3100
+ where: Prisma.StoryWhereUniqueInput
3101
+ /**
3102
+ * In case the Story found by the `where` argument doesn't exist, create a new Story with this data.
3103
+ */
3104
+ create: Prisma.XOR<Prisma.StoryCreateInput, Prisma.StoryUncheckedCreateInput>
3105
+ /**
3106
+ * In case the Story was found with the provided `where` argument, update it with this data.
3107
+ */
3108
+ update: Prisma.XOR<Prisma.StoryUpdateInput, Prisma.StoryUncheckedUpdateInput>
3109
+ }
3110
+
3111
+ /**
3112
+ * Story delete
3113
+ */
3114
+ export type StoryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3115
+ /**
3116
+ * Select specific fields to fetch from the Story
3117
+ */
3118
+ select?: Prisma.StorySelect<ExtArgs> | null
3119
+ /**
3120
+ * Omit specific fields from the Story
3121
+ */
3122
+ omit?: Prisma.StoryOmit<ExtArgs> | null
3123
+ /**
3124
+ * Choose, which related nodes to fetch as well
3125
+ */
3126
+ include?: Prisma.StoryInclude<ExtArgs> | null
3127
+ /**
3128
+ * Filter which Story to delete.
3129
+ */
3130
+ where: Prisma.StoryWhereUniqueInput
3131
+ }
3132
+
3133
+ /**
3134
+ * Story deleteMany
3135
+ */
3136
+ export type StoryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3137
+ /**
3138
+ * Filter which Stories to delete
3139
+ */
3140
+ where?: Prisma.StoryWhereInput
3141
+ /**
3142
+ * Limit how many Stories to delete.
3143
+ */
3144
+ limit?: number
3145
+ }
3146
+
3147
+ /**
3148
+ * Story.assignee
3149
+ */
3150
+ export type Story$assigneeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3151
+ /**
3152
+ * Select specific fields to fetch from the User
3153
+ */
3154
+ select?: Prisma.UserSelect<ExtArgs> | null
3155
+ /**
3156
+ * Omit specific fields from the User
3157
+ */
3158
+ omit?: Prisma.UserOmit<ExtArgs> | null
3159
+ /**
3160
+ * Choose, which related nodes to fetch as well
3161
+ */
3162
+ include?: Prisma.UserInclude<ExtArgs> | null
3163
+ where?: Prisma.UserWhereInput
3164
+ }
3165
+
3166
+ /**
3167
+ * Story.updatedBy
3168
+ */
3169
+ export type Story$updatedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3170
+ /**
3171
+ * Select specific fields to fetch from the User
3172
+ */
3173
+ select?: Prisma.UserSelect<ExtArgs> | null
3174
+ /**
3175
+ * Omit specific fields from the User
3176
+ */
3177
+ omit?: Prisma.UserOmit<ExtArgs> | null
3178
+ /**
3179
+ * Choose, which related nodes to fetch as well
3180
+ */
3181
+ include?: Prisma.UserInclude<ExtArgs> | null
3182
+ where?: Prisma.UserWhereInput
3183
+ }
3184
+
3185
+ /**
3186
+ * Story.parent
3187
+ */
3188
+ export type Story$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3189
+ /**
3190
+ * Select specific fields to fetch from the Story
3191
+ */
3192
+ select?: Prisma.StorySelect<ExtArgs> | null
3193
+ /**
3194
+ * Omit specific fields from the Story
3195
+ */
3196
+ omit?: Prisma.StoryOmit<ExtArgs> | null
3197
+ /**
3198
+ * Choose, which related nodes to fetch as well
3199
+ */
3200
+ include?: Prisma.StoryInclude<ExtArgs> | null
3201
+ where?: Prisma.StoryWhereInput
3202
+ }
3203
+
3204
+ /**
3205
+ * Story.children
3206
+ */
3207
+ export type Story$childrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3208
+ /**
3209
+ * Select specific fields to fetch from the Story
3210
+ */
3211
+ select?: Prisma.StorySelect<ExtArgs> | null
3212
+ /**
3213
+ * Omit specific fields from the Story
3214
+ */
3215
+ omit?: Prisma.StoryOmit<ExtArgs> | null
3216
+ /**
3217
+ * Choose, which related nodes to fetch as well
3218
+ */
3219
+ include?: Prisma.StoryInclude<ExtArgs> | null
3220
+ where?: Prisma.StoryWhereInput
3221
+ orderBy?: Prisma.StoryOrderByWithRelationInput | Prisma.StoryOrderByWithRelationInput[]
3222
+ cursor?: Prisma.StoryWhereUniqueInput
3223
+ take?: number
3224
+ skip?: number
3225
+ distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
3226
+ }
3227
+
3228
+ /**
3229
+ * Story.iteration
3230
+ */
3231
+ export type Story$iterationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3232
+ /**
3233
+ * Select specific fields to fetch from the Iteration
3234
+ */
3235
+ select?: Prisma.IterationSelect<ExtArgs> | null
3236
+ /**
3237
+ * Omit specific fields from the Iteration
3238
+ */
3239
+ omit?: Prisma.IterationOmit<ExtArgs> | null
3240
+ /**
3241
+ * Choose, which related nodes to fetch as well
3242
+ */
3243
+ include?: Prisma.IterationInclude<ExtArgs> | null
3244
+ where?: Prisma.IterationWhereInput
3245
+ }
3246
+
3247
+ /**
3248
+ * Story without action
3249
+ */
3250
+ export type StoryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3251
+ /**
3252
+ * Select specific fields to fetch from the Story
3253
+ */
3254
+ select?: Prisma.StorySelect<ExtArgs> | null
3255
+ /**
3256
+ * Omit specific fields from the Story
3257
+ */
3258
+ omit?: Prisma.StoryOmit<ExtArgs> | null
3259
+ /**
3260
+ * Choose, which related nodes to fetch as well
3261
+ */
3262
+ include?: Prisma.StoryInclude<ExtArgs> | null
3263
+ }