@allbluecn/database 0.4.16 → 0.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/browser.ts +10 -0
- package/generated/client.ts +10 -0
- package/generated/internal/class.ts +24 -4
- package/generated/internal/prismaNamespace.ts +188 -3
- package/generated/internal/prismaNamespaceBrowser.ts +37 -2
- package/generated/models/Iteration.ts +1878 -0
- package/generated/models/IterationAutoSchedule.ts +1485 -0
- package/generated/models/Project.ts +326 -0
- package/generated/models/Story.ts +393 -3
- package/generated/models/User.ts +618 -0
- package/generated/models.ts +2 -0
- package/generated-sqlite/browser.ts +15 -0
- package/generated-sqlite/client.ts +15 -0
- package/generated-sqlite/internal/class.ts +34 -4
- package/generated-sqlite/internal/prismaNamespace.ts +288 -2
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +62 -1
- package/generated-sqlite/models/Iteration.ts +1874 -0
- package/generated-sqlite/models/IterationAutoSchedule.ts +1483 -0
- package/generated-sqlite/models/Project.ts +484 -0
- package/generated-sqlite/models/Story.ts +3263 -0
- package/generated-sqlite/models/User.ts +2103 -107
- package/generated-sqlite/models.ts +3 -0
- package/index.ts +2 -2
- package/migrations/20260831203925_story_attachment_file_hash/migration.sql +2 -0
- package/migrations/20260901020000_story_attachment_file_hash/migration.sql +2 -0
- package/migrations/20260901134601_iterations/migration.sql +52 -0
- package/migrations/20260902000000_story_identifier_per_project/migration.sql +37 -0
- package/migrations/20260902000100_story_identifier_counter_init/migration.sql +11 -0
- package/package.json +12 -5
- package/schema.prisma +47 -4
- package/schema.sqlite.prisma +89 -4
|
@@ -0,0 +1,1878 @@
|
|
|
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 `Iteration` 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 Iteration
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type IterationModel = runtime.Types.Result.DefaultSelection<Prisma.$IterationPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateIteration = {
|
|
22
|
+
_count: IterationCountAggregateOutputType | null
|
|
23
|
+
_min: IterationMinAggregateOutputType | null
|
|
24
|
+
_max: IterationMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type IterationMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
projectId: string | null
|
|
30
|
+
name: string | null
|
|
31
|
+
description: string | null
|
|
32
|
+
startDate: Date | null
|
|
33
|
+
endDate: Date | null
|
|
34
|
+
archived: boolean | null
|
|
35
|
+
archivedAt: Date | null
|
|
36
|
+
createdById: string | null
|
|
37
|
+
createdAt: Date | null
|
|
38
|
+
updatedAt: Date | null
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type IterationMaxAggregateOutputType = {
|
|
42
|
+
id: string | null
|
|
43
|
+
projectId: string | null
|
|
44
|
+
name: string | null
|
|
45
|
+
description: string | null
|
|
46
|
+
startDate: Date | null
|
|
47
|
+
endDate: Date | null
|
|
48
|
+
archived: boolean | null
|
|
49
|
+
archivedAt: Date | null
|
|
50
|
+
createdById: string | null
|
|
51
|
+
createdAt: Date | null
|
|
52
|
+
updatedAt: Date | null
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type IterationCountAggregateOutputType = {
|
|
56
|
+
id: number
|
|
57
|
+
projectId: number
|
|
58
|
+
name: number
|
|
59
|
+
description: number
|
|
60
|
+
startDate: number
|
|
61
|
+
endDate: number
|
|
62
|
+
archived: number
|
|
63
|
+
archivedAt: number
|
|
64
|
+
createdById: number
|
|
65
|
+
createdAt: number
|
|
66
|
+
updatedAt: number
|
|
67
|
+
_all: number
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
export type IterationMinAggregateInputType = {
|
|
72
|
+
id?: true
|
|
73
|
+
projectId?: true
|
|
74
|
+
name?: true
|
|
75
|
+
description?: true
|
|
76
|
+
startDate?: true
|
|
77
|
+
endDate?: true
|
|
78
|
+
archived?: true
|
|
79
|
+
archivedAt?: true
|
|
80
|
+
createdById?: true
|
|
81
|
+
createdAt?: true
|
|
82
|
+
updatedAt?: true
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type IterationMaxAggregateInputType = {
|
|
86
|
+
id?: true
|
|
87
|
+
projectId?: true
|
|
88
|
+
name?: true
|
|
89
|
+
description?: true
|
|
90
|
+
startDate?: true
|
|
91
|
+
endDate?: true
|
|
92
|
+
archived?: true
|
|
93
|
+
archivedAt?: true
|
|
94
|
+
createdById?: true
|
|
95
|
+
createdAt?: true
|
|
96
|
+
updatedAt?: true
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type IterationCountAggregateInputType = {
|
|
100
|
+
id?: true
|
|
101
|
+
projectId?: true
|
|
102
|
+
name?: true
|
|
103
|
+
description?: true
|
|
104
|
+
startDate?: true
|
|
105
|
+
endDate?: true
|
|
106
|
+
archived?: true
|
|
107
|
+
archivedAt?: true
|
|
108
|
+
createdById?: true
|
|
109
|
+
createdAt?: true
|
|
110
|
+
updatedAt?: true
|
|
111
|
+
_all?: true
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export type IterationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
115
|
+
/**
|
|
116
|
+
* Filter which Iteration to aggregate.
|
|
117
|
+
*/
|
|
118
|
+
where?: Prisma.IterationWhereInput
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
121
|
+
*
|
|
122
|
+
* Determine the order of Iterations to fetch.
|
|
123
|
+
*/
|
|
124
|
+
orderBy?: Prisma.IterationOrderByWithRelationInput | Prisma.IterationOrderByWithRelationInput[]
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
127
|
+
*
|
|
128
|
+
* Sets the start position
|
|
129
|
+
*/
|
|
130
|
+
cursor?: Prisma.IterationWhereUniqueInput
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
133
|
+
*
|
|
134
|
+
* Take `±n` Iterations from the position of the cursor.
|
|
135
|
+
*/
|
|
136
|
+
take?: number
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
139
|
+
*
|
|
140
|
+
* Skip the first `n` Iterations.
|
|
141
|
+
*/
|
|
142
|
+
skip?: number
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Count returned Iterations
|
|
147
|
+
**/
|
|
148
|
+
_count?: true | IterationCountAggregateInputType
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Select which fields to find the minimum value
|
|
153
|
+
**/
|
|
154
|
+
_min?: IterationMinAggregateInputType
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
+
*
|
|
158
|
+
* Select which fields to find the maximum value
|
|
159
|
+
**/
|
|
160
|
+
_max?: IterationMaxAggregateInputType
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export type GetIterationAggregateType<T extends IterationAggregateArgs> = {
|
|
164
|
+
[P in keyof T & keyof AggregateIteration]: P extends '_count' | 'count'
|
|
165
|
+
? T[P] extends true
|
|
166
|
+
? number
|
|
167
|
+
: Prisma.GetScalarType<T[P], AggregateIteration[P]>
|
|
168
|
+
: Prisma.GetScalarType<T[P], AggregateIteration[P]>
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
export type IterationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
175
|
+
where?: Prisma.IterationWhereInput
|
|
176
|
+
orderBy?: Prisma.IterationOrderByWithAggregationInput | Prisma.IterationOrderByWithAggregationInput[]
|
|
177
|
+
by: Prisma.IterationScalarFieldEnum[] | Prisma.IterationScalarFieldEnum
|
|
178
|
+
having?: Prisma.IterationScalarWhereWithAggregatesInput
|
|
179
|
+
take?: number
|
|
180
|
+
skip?: number
|
|
181
|
+
_count?: IterationCountAggregateInputType | true
|
|
182
|
+
_min?: IterationMinAggregateInputType
|
|
183
|
+
_max?: IterationMaxAggregateInputType
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export type IterationGroupByOutputType = {
|
|
187
|
+
id: string
|
|
188
|
+
projectId: string
|
|
189
|
+
name: string
|
|
190
|
+
description: string | null
|
|
191
|
+
startDate: Date
|
|
192
|
+
endDate: Date
|
|
193
|
+
archived: boolean
|
|
194
|
+
archivedAt: Date | null
|
|
195
|
+
createdById: string
|
|
196
|
+
createdAt: Date
|
|
197
|
+
updatedAt: Date
|
|
198
|
+
_count: IterationCountAggregateOutputType | null
|
|
199
|
+
_min: IterationMinAggregateOutputType | null
|
|
200
|
+
_max: IterationMaxAggregateOutputType | null
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export type GetIterationGroupByPayload<T extends IterationGroupByArgs> = Prisma.PrismaPromise<
|
|
204
|
+
Array<
|
|
205
|
+
Prisma.PickEnumerable<IterationGroupByOutputType, T['by']> &
|
|
206
|
+
{
|
|
207
|
+
[P in ((keyof T) & (keyof IterationGroupByOutputType))]: P extends '_count'
|
|
208
|
+
? T[P] extends boolean
|
|
209
|
+
? number
|
|
210
|
+
: Prisma.GetScalarType<T[P], IterationGroupByOutputType[P]>
|
|
211
|
+
: Prisma.GetScalarType<T[P], IterationGroupByOutputType[P]>
|
|
212
|
+
}
|
|
213
|
+
>
|
|
214
|
+
>
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
export type IterationWhereInput = {
|
|
219
|
+
AND?: Prisma.IterationWhereInput | Prisma.IterationWhereInput[]
|
|
220
|
+
OR?: Prisma.IterationWhereInput[]
|
|
221
|
+
NOT?: Prisma.IterationWhereInput | Prisma.IterationWhereInput[]
|
|
222
|
+
id?: Prisma.StringFilter<"Iteration"> | string
|
|
223
|
+
projectId?: Prisma.StringFilter<"Iteration"> | string
|
|
224
|
+
name?: Prisma.StringFilter<"Iteration"> | string
|
|
225
|
+
description?: Prisma.StringNullableFilter<"Iteration"> | string | null
|
|
226
|
+
startDate?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
227
|
+
endDate?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
228
|
+
archived?: Prisma.BoolFilter<"Iteration"> | boolean
|
|
229
|
+
archivedAt?: Prisma.DateTimeNullableFilter<"Iteration"> | Date | string | null
|
|
230
|
+
createdById?: Prisma.StringFilter<"Iteration"> | string
|
|
231
|
+
createdAt?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
232
|
+
updatedAt?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
233
|
+
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
234
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
235
|
+
stories?: Prisma.StoryListRelationFilter
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type IterationOrderByWithRelationInput = {
|
|
239
|
+
id?: Prisma.SortOrder
|
|
240
|
+
projectId?: Prisma.SortOrder
|
|
241
|
+
name?: Prisma.SortOrder
|
|
242
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
243
|
+
startDate?: Prisma.SortOrder
|
|
244
|
+
endDate?: Prisma.SortOrder
|
|
245
|
+
archived?: Prisma.SortOrder
|
|
246
|
+
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
247
|
+
createdById?: Prisma.SortOrder
|
|
248
|
+
createdAt?: Prisma.SortOrder
|
|
249
|
+
updatedAt?: Prisma.SortOrder
|
|
250
|
+
project?: Prisma.ProjectOrderByWithRelationInput
|
|
251
|
+
createdBy?: Prisma.UserOrderByWithRelationInput
|
|
252
|
+
stories?: Prisma.StoryOrderByRelationAggregateInput
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export type IterationWhereUniqueInput = Prisma.AtLeast<{
|
|
256
|
+
id?: string
|
|
257
|
+
AND?: Prisma.IterationWhereInput | Prisma.IterationWhereInput[]
|
|
258
|
+
OR?: Prisma.IterationWhereInput[]
|
|
259
|
+
NOT?: Prisma.IterationWhereInput | Prisma.IterationWhereInput[]
|
|
260
|
+
projectId?: Prisma.StringFilter<"Iteration"> | string
|
|
261
|
+
name?: Prisma.StringFilter<"Iteration"> | string
|
|
262
|
+
description?: Prisma.StringNullableFilter<"Iteration"> | string | null
|
|
263
|
+
startDate?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
264
|
+
endDate?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
265
|
+
archived?: Prisma.BoolFilter<"Iteration"> | boolean
|
|
266
|
+
archivedAt?: Prisma.DateTimeNullableFilter<"Iteration"> | Date | string | null
|
|
267
|
+
createdById?: Prisma.StringFilter<"Iteration"> | string
|
|
268
|
+
createdAt?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
269
|
+
updatedAt?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
270
|
+
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
271
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
272
|
+
stories?: Prisma.StoryListRelationFilter
|
|
273
|
+
}, "id">
|
|
274
|
+
|
|
275
|
+
export type IterationOrderByWithAggregationInput = {
|
|
276
|
+
id?: Prisma.SortOrder
|
|
277
|
+
projectId?: Prisma.SortOrder
|
|
278
|
+
name?: Prisma.SortOrder
|
|
279
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
280
|
+
startDate?: Prisma.SortOrder
|
|
281
|
+
endDate?: Prisma.SortOrder
|
|
282
|
+
archived?: Prisma.SortOrder
|
|
283
|
+
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
284
|
+
createdById?: Prisma.SortOrder
|
|
285
|
+
createdAt?: Prisma.SortOrder
|
|
286
|
+
updatedAt?: Prisma.SortOrder
|
|
287
|
+
_count?: Prisma.IterationCountOrderByAggregateInput
|
|
288
|
+
_max?: Prisma.IterationMaxOrderByAggregateInput
|
|
289
|
+
_min?: Prisma.IterationMinOrderByAggregateInput
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export type IterationScalarWhereWithAggregatesInput = {
|
|
293
|
+
AND?: Prisma.IterationScalarWhereWithAggregatesInput | Prisma.IterationScalarWhereWithAggregatesInput[]
|
|
294
|
+
OR?: Prisma.IterationScalarWhereWithAggregatesInput[]
|
|
295
|
+
NOT?: Prisma.IterationScalarWhereWithAggregatesInput | Prisma.IterationScalarWhereWithAggregatesInput[]
|
|
296
|
+
id?: Prisma.StringWithAggregatesFilter<"Iteration"> | string
|
|
297
|
+
projectId?: Prisma.StringWithAggregatesFilter<"Iteration"> | string
|
|
298
|
+
name?: Prisma.StringWithAggregatesFilter<"Iteration"> | string
|
|
299
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"Iteration"> | string | null
|
|
300
|
+
startDate?: Prisma.DateTimeWithAggregatesFilter<"Iteration"> | Date | string
|
|
301
|
+
endDate?: Prisma.DateTimeWithAggregatesFilter<"Iteration"> | Date | string
|
|
302
|
+
archived?: Prisma.BoolWithAggregatesFilter<"Iteration"> | boolean
|
|
303
|
+
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Iteration"> | Date | string | null
|
|
304
|
+
createdById?: Prisma.StringWithAggregatesFilter<"Iteration"> | string
|
|
305
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Iteration"> | Date | string
|
|
306
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Iteration"> | Date | string
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export type IterationCreateInput = {
|
|
310
|
+
id?: string
|
|
311
|
+
name: string
|
|
312
|
+
description?: string | null
|
|
313
|
+
startDate: Date | string
|
|
314
|
+
endDate: Date | string
|
|
315
|
+
archived?: boolean
|
|
316
|
+
archivedAt?: Date | string | null
|
|
317
|
+
createdAt?: Date | string
|
|
318
|
+
updatedAt?: Date | string
|
|
319
|
+
project: Prisma.ProjectCreateNestedOneWithoutIterationsInput
|
|
320
|
+
createdBy: Prisma.UserCreateNestedOneWithoutIterationsCreatedInput
|
|
321
|
+
stories?: Prisma.StoryCreateNestedManyWithoutIterationInput
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export type IterationUncheckedCreateInput = {
|
|
325
|
+
id?: string
|
|
326
|
+
projectId: string
|
|
327
|
+
name: string
|
|
328
|
+
description?: string | null
|
|
329
|
+
startDate: Date | string
|
|
330
|
+
endDate: Date | string
|
|
331
|
+
archived?: boolean
|
|
332
|
+
archivedAt?: Date | string | null
|
|
333
|
+
createdById: string
|
|
334
|
+
createdAt?: Date | string
|
|
335
|
+
updatedAt?: Date | string
|
|
336
|
+
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutIterationInput
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export type IterationUpdateInput = {
|
|
340
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
341
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
342
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
343
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
344
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
345
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
346
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
347
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
348
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
349
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutIterationsNestedInput
|
|
350
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutIterationsCreatedNestedInput
|
|
351
|
+
stories?: Prisma.StoryUpdateManyWithoutIterationNestedInput
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type IterationUncheckedUpdateInput = {
|
|
355
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
356
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
357
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
358
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
359
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
360
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
361
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
362
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
363
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
364
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
365
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
366
|
+
stories?: Prisma.StoryUncheckedUpdateManyWithoutIterationNestedInput
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export type IterationCreateManyInput = {
|
|
370
|
+
id?: string
|
|
371
|
+
projectId: string
|
|
372
|
+
name: string
|
|
373
|
+
description?: string | null
|
|
374
|
+
startDate: Date | string
|
|
375
|
+
endDate: Date | string
|
|
376
|
+
archived?: boolean
|
|
377
|
+
archivedAt?: Date | string | null
|
|
378
|
+
createdById: string
|
|
379
|
+
createdAt?: Date | string
|
|
380
|
+
updatedAt?: Date | string
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export type IterationUpdateManyMutationInput = {
|
|
384
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
385
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
386
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
387
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
388
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
389
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
390
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
391
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
392
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export type IterationUncheckedUpdateManyInput = {
|
|
396
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
397
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
398
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
399
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
400
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
401
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
402
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
403
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
404
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
405
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
406
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export type IterationListRelationFilter = {
|
|
410
|
+
every?: Prisma.IterationWhereInput
|
|
411
|
+
some?: Prisma.IterationWhereInput
|
|
412
|
+
none?: Prisma.IterationWhereInput
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type IterationOrderByRelationAggregateInput = {
|
|
416
|
+
_count?: Prisma.SortOrder
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export type IterationNullableScalarRelationFilter = {
|
|
420
|
+
is?: Prisma.IterationWhereInput | null
|
|
421
|
+
isNot?: Prisma.IterationWhereInput | null
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export type IterationCountOrderByAggregateInput = {
|
|
425
|
+
id?: Prisma.SortOrder
|
|
426
|
+
projectId?: Prisma.SortOrder
|
|
427
|
+
name?: Prisma.SortOrder
|
|
428
|
+
description?: Prisma.SortOrder
|
|
429
|
+
startDate?: Prisma.SortOrder
|
|
430
|
+
endDate?: Prisma.SortOrder
|
|
431
|
+
archived?: Prisma.SortOrder
|
|
432
|
+
archivedAt?: Prisma.SortOrder
|
|
433
|
+
createdById?: Prisma.SortOrder
|
|
434
|
+
createdAt?: Prisma.SortOrder
|
|
435
|
+
updatedAt?: Prisma.SortOrder
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type IterationMaxOrderByAggregateInput = {
|
|
439
|
+
id?: Prisma.SortOrder
|
|
440
|
+
projectId?: Prisma.SortOrder
|
|
441
|
+
name?: Prisma.SortOrder
|
|
442
|
+
description?: Prisma.SortOrder
|
|
443
|
+
startDate?: Prisma.SortOrder
|
|
444
|
+
endDate?: Prisma.SortOrder
|
|
445
|
+
archived?: Prisma.SortOrder
|
|
446
|
+
archivedAt?: Prisma.SortOrder
|
|
447
|
+
createdById?: Prisma.SortOrder
|
|
448
|
+
createdAt?: Prisma.SortOrder
|
|
449
|
+
updatedAt?: Prisma.SortOrder
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export type IterationMinOrderByAggregateInput = {
|
|
453
|
+
id?: Prisma.SortOrder
|
|
454
|
+
projectId?: Prisma.SortOrder
|
|
455
|
+
name?: Prisma.SortOrder
|
|
456
|
+
description?: Prisma.SortOrder
|
|
457
|
+
startDate?: Prisma.SortOrder
|
|
458
|
+
endDate?: Prisma.SortOrder
|
|
459
|
+
archived?: Prisma.SortOrder
|
|
460
|
+
archivedAt?: Prisma.SortOrder
|
|
461
|
+
createdById?: Prisma.SortOrder
|
|
462
|
+
createdAt?: Prisma.SortOrder
|
|
463
|
+
updatedAt?: Prisma.SortOrder
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export type IterationCreateNestedManyWithoutCreatedByInput = {
|
|
467
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutCreatedByInput, Prisma.IterationUncheckedCreateWithoutCreatedByInput> | Prisma.IterationCreateWithoutCreatedByInput[] | Prisma.IterationUncheckedCreateWithoutCreatedByInput[]
|
|
468
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutCreatedByInput | Prisma.IterationCreateOrConnectWithoutCreatedByInput[]
|
|
469
|
+
createMany?: Prisma.IterationCreateManyCreatedByInputEnvelope
|
|
470
|
+
connect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export type IterationUncheckedCreateNestedManyWithoutCreatedByInput = {
|
|
474
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutCreatedByInput, Prisma.IterationUncheckedCreateWithoutCreatedByInput> | Prisma.IterationCreateWithoutCreatedByInput[] | Prisma.IterationUncheckedCreateWithoutCreatedByInput[]
|
|
475
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutCreatedByInput | Prisma.IterationCreateOrConnectWithoutCreatedByInput[]
|
|
476
|
+
createMany?: Prisma.IterationCreateManyCreatedByInputEnvelope
|
|
477
|
+
connect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export type IterationUpdateManyWithoutCreatedByNestedInput = {
|
|
481
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutCreatedByInput, Prisma.IterationUncheckedCreateWithoutCreatedByInput> | Prisma.IterationCreateWithoutCreatedByInput[] | Prisma.IterationUncheckedCreateWithoutCreatedByInput[]
|
|
482
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutCreatedByInput | Prisma.IterationCreateOrConnectWithoutCreatedByInput[]
|
|
483
|
+
upsert?: Prisma.IterationUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.IterationUpsertWithWhereUniqueWithoutCreatedByInput[]
|
|
484
|
+
createMany?: Prisma.IterationCreateManyCreatedByInputEnvelope
|
|
485
|
+
set?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
486
|
+
disconnect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
487
|
+
delete?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
488
|
+
connect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
489
|
+
update?: Prisma.IterationUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.IterationUpdateWithWhereUniqueWithoutCreatedByInput[]
|
|
490
|
+
updateMany?: Prisma.IterationUpdateManyWithWhereWithoutCreatedByInput | Prisma.IterationUpdateManyWithWhereWithoutCreatedByInput[]
|
|
491
|
+
deleteMany?: Prisma.IterationScalarWhereInput | Prisma.IterationScalarWhereInput[]
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export type IterationUncheckedUpdateManyWithoutCreatedByNestedInput = {
|
|
495
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutCreatedByInput, Prisma.IterationUncheckedCreateWithoutCreatedByInput> | Prisma.IterationCreateWithoutCreatedByInput[] | Prisma.IterationUncheckedCreateWithoutCreatedByInput[]
|
|
496
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutCreatedByInput | Prisma.IterationCreateOrConnectWithoutCreatedByInput[]
|
|
497
|
+
upsert?: Prisma.IterationUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.IterationUpsertWithWhereUniqueWithoutCreatedByInput[]
|
|
498
|
+
createMany?: Prisma.IterationCreateManyCreatedByInputEnvelope
|
|
499
|
+
set?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
500
|
+
disconnect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
501
|
+
delete?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
502
|
+
connect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
503
|
+
update?: Prisma.IterationUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.IterationUpdateWithWhereUniqueWithoutCreatedByInput[]
|
|
504
|
+
updateMany?: Prisma.IterationUpdateManyWithWhereWithoutCreatedByInput | Prisma.IterationUpdateManyWithWhereWithoutCreatedByInput[]
|
|
505
|
+
deleteMany?: Prisma.IterationScalarWhereInput | Prisma.IterationScalarWhereInput[]
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export type IterationCreateNestedManyWithoutProjectInput = {
|
|
509
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutProjectInput, Prisma.IterationUncheckedCreateWithoutProjectInput> | Prisma.IterationCreateWithoutProjectInput[] | Prisma.IterationUncheckedCreateWithoutProjectInput[]
|
|
510
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutProjectInput | Prisma.IterationCreateOrConnectWithoutProjectInput[]
|
|
511
|
+
createMany?: Prisma.IterationCreateManyProjectInputEnvelope
|
|
512
|
+
connect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type IterationUncheckedCreateNestedManyWithoutProjectInput = {
|
|
516
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutProjectInput, Prisma.IterationUncheckedCreateWithoutProjectInput> | Prisma.IterationCreateWithoutProjectInput[] | Prisma.IterationUncheckedCreateWithoutProjectInput[]
|
|
517
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutProjectInput | Prisma.IterationCreateOrConnectWithoutProjectInput[]
|
|
518
|
+
createMany?: Prisma.IterationCreateManyProjectInputEnvelope
|
|
519
|
+
connect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export type IterationUpdateManyWithoutProjectNestedInput = {
|
|
523
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutProjectInput, Prisma.IterationUncheckedCreateWithoutProjectInput> | Prisma.IterationCreateWithoutProjectInput[] | Prisma.IterationUncheckedCreateWithoutProjectInput[]
|
|
524
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutProjectInput | Prisma.IterationCreateOrConnectWithoutProjectInput[]
|
|
525
|
+
upsert?: Prisma.IterationUpsertWithWhereUniqueWithoutProjectInput | Prisma.IterationUpsertWithWhereUniqueWithoutProjectInput[]
|
|
526
|
+
createMany?: Prisma.IterationCreateManyProjectInputEnvelope
|
|
527
|
+
set?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
528
|
+
disconnect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
529
|
+
delete?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
530
|
+
connect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
531
|
+
update?: Prisma.IterationUpdateWithWhereUniqueWithoutProjectInput | Prisma.IterationUpdateWithWhereUniqueWithoutProjectInput[]
|
|
532
|
+
updateMany?: Prisma.IterationUpdateManyWithWhereWithoutProjectInput | Prisma.IterationUpdateManyWithWhereWithoutProjectInput[]
|
|
533
|
+
deleteMany?: Prisma.IterationScalarWhereInput | Prisma.IterationScalarWhereInput[]
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export type IterationUncheckedUpdateManyWithoutProjectNestedInput = {
|
|
537
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutProjectInput, Prisma.IterationUncheckedCreateWithoutProjectInput> | Prisma.IterationCreateWithoutProjectInput[] | Prisma.IterationUncheckedCreateWithoutProjectInput[]
|
|
538
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutProjectInput | Prisma.IterationCreateOrConnectWithoutProjectInput[]
|
|
539
|
+
upsert?: Prisma.IterationUpsertWithWhereUniqueWithoutProjectInput | Prisma.IterationUpsertWithWhereUniqueWithoutProjectInput[]
|
|
540
|
+
createMany?: Prisma.IterationCreateManyProjectInputEnvelope
|
|
541
|
+
set?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
542
|
+
disconnect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
543
|
+
delete?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
544
|
+
connect?: Prisma.IterationWhereUniqueInput | Prisma.IterationWhereUniqueInput[]
|
|
545
|
+
update?: Prisma.IterationUpdateWithWhereUniqueWithoutProjectInput | Prisma.IterationUpdateWithWhereUniqueWithoutProjectInput[]
|
|
546
|
+
updateMany?: Prisma.IterationUpdateManyWithWhereWithoutProjectInput | Prisma.IterationUpdateManyWithWhereWithoutProjectInput[]
|
|
547
|
+
deleteMany?: Prisma.IterationScalarWhereInput | Prisma.IterationScalarWhereInput[]
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export type IterationCreateNestedOneWithoutStoriesInput = {
|
|
551
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutStoriesInput, Prisma.IterationUncheckedCreateWithoutStoriesInput>
|
|
552
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutStoriesInput
|
|
553
|
+
connect?: Prisma.IterationWhereUniqueInput
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type IterationUpdateOneWithoutStoriesNestedInput = {
|
|
557
|
+
create?: Prisma.XOR<Prisma.IterationCreateWithoutStoriesInput, Prisma.IterationUncheckedCreateWithoutStoriesInput>
|
|
558
|
+
connectOrCreate?: Prisma.IterationCreateOrConnectWithoutStoriesInput
|
|
559
|
+
upsert?: Prisma.IterationUpsertWithoutStoriesInput
|
|
560
|
+
disconnect?: Prisma.IterationWhereInput | boolean
|
|
561
|
+
delete?: Prisma.IterationWhereInput | boolean
|
|
562
|
+
connect?: Prisma.IterationWhereUniqueInput
|
|
563
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.IterationUpdateToOneWithWhereWithoutStoriesInput, Prisma.IterationUpdateWithoutStoriesInput>, Prisma.IterationUncheckedUpdateWithoutStoriesInput>
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export type IterationCreateWithoutCreatedByInput = {
|
|
567
|
+
id?: string
|
|
568
|
+
name: string
|
|
569
|
+
description?: string | null
|
|
570
|
+
startDate: Date | string
|
|
571
|
+
endDate: Date | string
|
|
572
|
+
archived?: boolean
|
|
573
|
+
archivedAt?: Date | string | null
|
|
574
|
+
createdAt?: Date | string
|
|
575
|
+
updatedAt?: Date | string
|
|
576
|
+
project: Prisma.ProjectCreateNestedOneWithoutIterationsInput
|
|
577
|
+
stories?: Prisma.StoryCreateNestedManyWithoutIterationInput
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export type IterationUncheckedCreateWithoutCreatedByInput = {
|
|
581
|
+
id?: string
|
|
582
|
+
projectId: string
|
|
583
|
+
name: string
|
|
584
|
+
description?: string | null
|
|
585
|
+
startDate: Date | string
|
|
586
|
+
endDate: Date | string
|
|
587
|
+
archived?: boolean
|
|
588
|
+
archivedAt?: Date | string | null
|
|
589
|
+
createdAt?: Date | string
|
|
590
|
+
updatedAt?: Date | string
|
|
591
|
+
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutIterationInput
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export type IterationCreateOrConnectWithoutCreatedByInput = {
|
|
595
|
+
where: Prisma.IterationWhereUniqueInput
|
|
596
|
+
create: Prisma.XOR<Prisma.IterationCreateWithoutCreatedByInput, Prisma.IterationUncheckedCreateWithoutCreatedByInput>
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export type IterationCreateManyCreatedByInputEnvelope = {
|
|
600
|
+
data: Prisma.IterationCreateManyCreatedByInput | Prisma.IterationCreateManyCreatedByInput[]
|
|
601
|
+
skipDuplicates?: boolean
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export type IterationUpsertWithWhereUniqueWithoutCreatedByInput = {
|
|
605
|
+
where: Prisma.IterationWhereUniqueInput
|
|
606
|
+
update: Prisma.XOR<Prisma.IterationUpdateWithoutCreatedByInput, Prisma.IterationUncheckedUpdateWithoutCreatedByInput>
|
|
607
|
+
create: Prisma.XOR<Prisma.IterationCreateWithoutCreatedByInput, Prisma.IterationUncheckedCreateWithoutCreatedByInput>
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export type IterationUpdateWithWhereUniqueWithoutCreatedByInput = {
|
|
611
|
+
where: Prisma.IterationWhereUniqueInput
|
|
612
|
+
data: Prisma.XOR<Prisma.IterationUpdateWithoutCreatedByInput, Prisma.IterationUncheckedUpdateWithoutCreatedByInput>
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export type IterationUpdateManyWithWhereWithoutCreatedByInput = {
|
|
616
|
+
where: Prisma.IterationScalarWhereInput
|
|
617
|
+
data: Prisma.XOR<Prisma.IterationUpdateManyMutationInput, Prisma.IterationUncheckedUpdateManyWithoutCreatedByInput>
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export type IterationScalarWhereInput = {
|
|
621
|
+
AND?: Prisma.IterationScalarWhereInput | Prisma.IterationScalarWhereInput[]
|
|
622
|
+
OR?: Prisma.IterationScalarWhereInput[]
|
|
623
|
+
NOT?: Prisma.IterationScalarWhereInput | Prisma.IterationScalarWhereInput[]
|
|
624
|
+
id?: Prisma.StringFilter<"Iteration"> | string
|
|
625
|
+
projectId?: Prisma.StringFilter<"Iteration"> | string
|
|
626
|
+
name?: Prisma.StringFilter<"Iteration"> | string
|
|
627
|
+
description?: Prisma.StringNullableFilter<"Iteration"> | string | null
|
|
628
|
+
startDate?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
629
|
+
endDate?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
630
|
+
archived?: Prisma.BoolFilter<"Iteration"> | boolean
|
|
631
|
+
archivedAt?: Prisma.DateTimeNullableFilter<"Iteration"> | Date | string | null
|
|
632
|
+
createdById?: Prisma.StringFilter<"Iteration"> | string
|
|
633
|
+
createdAt?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
634
|
+
updatedAt?: Prisma.DateTimeFilter<"Iteration"> | Date | string
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
export type IterationCreateWithoutProjectInput = {
|
|
638
|
+
id?: string
|
|
639
|
+
name: string
|
|
640
|
+
description?: string | null
|
|
641
|
+
startDate: Date | string
|
|
642
|
+
endDate: Date | string
|
|
643
|
+
archived?: boolean
|
|
644
|
+
archivedAt?: Date | string | null
|
|
645
|
+
createdAt?: Date | string
|
|
646
|
+
updatedAt?: Date | string
|
|
647
|
+
createdBy: Prisma.UserCreateNestedOneWithoutIterationsCreatedInput
|
|
648
|
+
stories?: Prisma.StoryCreateNestedManyWithoutIterationInput
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export type IterationUncheckedCreateWithoutProjectInput = {
|
|
652
|
+
id?: string
|
|
653
|
+
name: string
|
|
654
|
+
description?: string | null
|
|
655
|
+
startDate: Date | string
|
|
656
|
+
endDate: Date | string
|
|
657
|
+
archived?: boolean
|
|
658
|
+
archivedAt?: Date | string | null
|
|
659
|
+
createdById: string
|
|
660
|
+
createdAt?: Date | string
|
|
661
|
+
updatedAt?: Date | string
|
|
662
|
+
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutIterationInput
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export type IterationCreateOrConnectWithoutProjectInput = {
|
|
666
|
+
where: Prisma.IterationWhereUniqueInput
|
|
667
|
+
create: Prisma.XOR<Prisma.IterationCreateWithoutProjectInput, Prisma.IterationUncheckedCreateWithoutProjectInput>
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export type IterationCreateManyProjectInputEnvelope = {
|
|
671
|
+
data: Prisma.IterationCreateManyProjectInput | Prisma.IterationCreateManyProjectInput[]
|
|
672
|
+
skipDuplicates?: boolean
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
export type IterationUpsertWithWhereUniqueWithoutProjectInput = {
|
|
676
|
+
where: Prisma.IterationWhereUniqueInput
|
|
677
|
+
update: Prisma.XOR<Prisma.IterationUpdateWithoutProjectInput, Prisma.IterationUncheckedUpdateWithoutProjectInput>
|
|
678
|
+
create: Prisma.XOR<Prisma.IterationCreateWithoutProjectInput, Prisma.IterationUncheckedCreateWithoutProjectInput>
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
export type IterationUpdateWithWhereUniqueWithoutProjectInput = {
|
|
682
|
+
where: Prisma.IterationWhereUniqueInput
|
|
683
|
+
data: Prisma.XOR<Prisma.IterationUpdateWithoutProjectInput, Prisma.IterationUncheckedUpdateWithoutProjectInput>
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export type IterationUpdateManyWithWhereWithoutProjectInput = {
|
|
687
|
+
where: Prisma.IterationScalarWhereInput
|
|
688
|
+
data: Prisma.XOR<Prisma.IterationUpdateManyMutationInput, Prisma.IterationUncheckedUpdateManyWithoutProjectInput>
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export type IterationCreateWithoutStoriesInput = {
|
|
692
|
+
id?: string
|
|
693
|
+
name: string
|
|
694
|
+
description?: string | null
|
|
695
|
+
startDate: Date | string
|
|
696
|
+
endDate: Date | string
|
|
697
|
+
archived?: boolean
|
|
698
|
+
archivedAt?: Date | string | null
|
|
699
|
+
createdAt?: Date | string
|
|
700
|
+
updatedAt?: Date | string
|
|
701
|
+
project: Prisma.ProjectCreateNestedOneWithoutIterationsInput
|
|
702
|
+
createdBy: Prisma.UserCreateNestedOneWithoutIterationsCreatedInput
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
export type IterationUncheckedCreateWithoutStoriesInput = {
|
|
706
|
+
id?: string
|
|
707
|
+
projectId: string
|
|
708
|
+
name: string
|
|
709
|
+
description?: string | null
|
|
710
|
+
startDate: Date | string
|
|
711
|
+
endDate: Date | string
|
|
712
|
+
archived?: boolean
|
|
713
|
+
archivedAt?: Date | string | null
|
|
714
|
+
createdById: string
|
|
715
|
+
createdAt?: Date | string
|
|
716
|
+
updatedAt?: Date | string
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
export type IterationCreateOrConnectWithoutStoriesInput = {
|
|
720
|
+
where: Prisma.IterationWhereUniqueInput
|
|
721
|
+
create: Prisma.XOR<Prisma.IterationCreateWithoutStoriesInput, Prisma.IterationUncheckedCreateWithoutStoriesInput>
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
export type IterationUpsertWithoutStoriesInput = {
|
|
725
|
+
update: Prisma.XOR<Prisma.IterationUpdateWithoutStoriesInput, Prisma.IterationUncheckedUpdateWithoutStoriesInput>
|
|
726
|
+
create: Prisma.XOR<Prisma.IterationCreateWithoutStoriesInput, Prisma.IterationUncheckedCreateWithoutStoriesInput>
|
|
727
|
+
where?: Prisma.IterationWhereInput
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
export type IterationUpdateToOneWithWhereWithoutStoriesInput = {
|
|
731
|
+
where?: Prisma.IterationWhereInput
|
|
732
|
+
data: Prisma.XOR<Prisma.IterationUpdateWithoutStoriesInput, Prisma.IterationUncheckedUpdateWithoutStoriesInput>
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export type IterationUpdateWithoutStoriesInput = {
|
|
736
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
737
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
738
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
739
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
740
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
741
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
742
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
743
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
744
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
745
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutIterationsNestedInput
|
|
746
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutIterationsCreatedNestedInput
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
export type IterationUncheckedUpdateWithoutStoriesInput = {
|
|
750
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
751
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
752
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
753
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
754
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
755
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
756
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
757
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
758
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
759
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
760
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
export type IterationCreateManyCreatedByInput = {
|
|
764
|
+
id?: string
|
|
765
|
+
projectId: string
|
|
766
|
+
name: string
|
|
767
|
+
description?: string | null
|
|
768
|
+
startDate: Date | string
|
|
769
|
+
endDate: Date | string
|
|
770
|
+
archived?: boolean
|
|
771
|
+
archivedAt?: Date | string | null
|
|
772
|
+
createdAt?: Date | string
|
|
773
|
+
updatedAt?: Date | string
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
export type IterationUpdateWithoutCreatedByInput = {
|
|
777
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
778
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
779
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
780
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
781
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
782
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
783
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
784
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
785
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
786
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutIterationsNestedInput
|
|
787
|
+
stories?: Prisma.StoryUpdateManyWithoutIterationNestedInput
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export type IterationUncheckedUpdateWithoutCreatedByInput = {
|
|
791
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
792
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
793
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
794
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
795
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
796
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
797
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
798
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
799
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
800
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
801
|
+
stories?: Prisma.StoryUncheckedUpdateManyWithoutIterationNestedInput
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
export type IterationUncheckedUpdateManyWithoutCreatedByInput = {
|
|
805
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
806
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
807
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
808
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
809
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
810
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
811
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
812
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
813
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
814
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
export type IterationCreateManyProjectInput = {
|
|
818
|
+
id?: string
|
|
819
|
+
name: string
|
|
820
|
+
description?: string | null
|
|
821
|
+
startDate: Date | string
|
|
822
|
+
endDate: Date | string
|
|
823
|
+
archived?: boolean
|
|
824
|
+
archivedAt?: Date | string | null
|
|
825
|
+
createdById: string
|
|
826
|
+
createdAt?: Date | string
|
|
827
|
+
updatedAt?: Date | string
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
export type IterationUpdateWithoutProjectInput = {
|
|
831
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
832
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
833
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
834
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
835
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
836
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
837
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
838
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
839
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
840
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutIterationsCreatedNestedInput
|
|
841
|
+
stories?: Prisma.StoryUpdateManyWithoutIterationNestedInput
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export type IterationUncheckedUpdateWithoutProjectInput = {
|
|
845
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
846
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
847
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
848
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
849
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
850
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
851
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
852
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
853
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
854
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
855
|
+
stories?: Prisma.StoryUncheckedUpdateManyWithoutIterationNestedInput
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export type IterationUncheckedUpdateManyWithoutProjectInput = {
|
|
859
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
860
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
861
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
862
|
+
startDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
863
|
+
endDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
864
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
865
|
+
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
866
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
867
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
868
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* Count Type IterationCountOutputType
|
|
874
|
+
*/
|
|
875
|
+
|
|
876
|
+
export type IterationCountOutputType = {
|
|
877
|
+
stories: number
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
export type IterationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
881
|
+
stories?: boolean | IterationCountOutputTypeCountStoriesArgs
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* IterationCountOutputType without action
|
|
886
|
+
*/
|
|
887
|
+
export type IterationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
888
|
+
/**
|
|
889
|
+
* Select specific fields to fetch from the IterationCountOutputType
|
|
890
|
+
*/
|
|
891
|
+
select?: Prisma.IterationCountOutputTypeSelect<ExtArgs> | null
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* IterationCountOutputType without action
|
|
896
|
+
*/
|
|
897
|
+
export type IterationCountOutputTypeCountStoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
898
|
+
where?: Prisma.StoryWhereInput
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
export type IterationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
903
|
+
id?: boolean
|
|
904
|
+
projectId?: boolean
|
|
905
|
+
name?: boolean
|
|
906
|
+
description?: boolean
|
|
907
|
+
startDate?: boolean
|
|
908
|
+
endDate?: boolean
|
|
909
|
+
archived?: boolean
|
|
910
|
+
archivedAt?: boolean
|
|
911
|
+
createdById?: boolean
|
|
912
|
+
createdAt?: boolean
|
|
913
|
+
updatedAt?: boolean
|
|
914
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
915
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
916
|
+
stories?: boolean | Prisma.Iteration$storiesArgs<ExtArgs>
|
|
917
|
+
_count?: boolean | Prisma.IterationCountOutputTypeDefaultArgs<ExtArgs>
|
|
918
|
+
}, ExtArgs["result"]["iteration"]>
|
|
919
|
+
|
|
920
|
+
export type IterationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
921
|
+
id?: boolean
|
|
922
|
+
projectId?: boolean
|
|
923
|
+
name?: boolean
|
|
924
|
+
description?: boolean
|
|
925
|
+
startDate?: boolean
|
|
926
|
+
endDate?: boolean
|
|
927
|
+
archived?: boolean
|
|
928
|
+
archivedAt?: boolean
|
|
929
|
+
createdById?: boolean
|
|
930
|
+
createdAt?: boolean
|
|
931
|
+
updatedAt?: boolean
|
|
932
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
933
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
934
|
+
}, ExtArgs["result"]["iteration"]>
|
|
935
|
+
|
|
936
|
+
export type IterationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
937
|
+
id?: boolean
|
|
938
|
+
projectId?: boolean
|
|
939
|
+
name?: boolean
|
|
940
|
+
description?: boolean
|
|
941
|
+
startDate?: boolean
|
|
942
|
+
endDate?: boolean
|
|
943
|
+
archived?: boolean
|
|
944
|
+
archivedAt?: boolean
|
|
945
|
+
createdById?: boolean
|
|
946
|
+
createdAt?: boolean
|
|
947
|
+
updatedAt?: boolean
|
|
948
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
949
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
950
|
+
}, ExtArgs["result"]["iteration"]>
|
|
951
|
+
|
|
952
|
+
export type IterationSelectScalar = {
|
|
953
|
+
id?: boolean
|
|
954
|
+
projectId?: boolean
|
|
955
|
+
name?: boolean
|
|
956
|
+
description?: boolean
|
|
957
|
+
startDate?: boolean
|
|
958
|
+
endDate?: boolean
|
|
959
|
+
archived?: boolean
|
|
960
|
+
archivedAt?: boolean
|
|
961
|
+
createdById?: boolean
|
|
962
|
+
createdAt?: boolean
|
|
963
|
+
updatedAt?: boolean
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
export type IterationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "projectId" | "name" | "description" | "startDate" | "endDate" | "archived" | "archivedAt" | "createdById" | "createdAt" | "updatedAt", ExtArgs["result"]["iteration"]>
|
|
967
|
+
export type IterationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
969
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
970
|
+
stories?: boolean | Prisma.Iteration$storiesArgs<ExtArgs>
|
|
971
|
+
_count?: boolean | Prisma.IterationCountOutputTypeDefaultArgs<ExtArgs>
|
|
972
|
+
}
|
|
973
|
+
export type IterationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
974
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
975
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
976
|
+
}
|
|
977
|
+
export type IterationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
978
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
979
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
export type $IterationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
983
|
+
name: "Iteration"
|
|
984
|
+
objects: {
|
|
985
|
+
project: Prisma.$ProjectPayload<ExtArgs>
|
|
986
|
+
createdBy: Prisma.$UserPayload<ExtArgs>
|
|
987
|
+
stories: Prisma.$StoryPayload<ExtArgs>[]
|
|
988
|
+
}
|
|
989
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
990
|
+
id: string
|
|
991
|
+
projectId: string
|
|
992
|
+
name: string
|
|
993
|
+
description: string | null
|
|
994
|
+
startDate: Date
|
|
995
|
+
endDate: Date
|
|
996
|
+
archived: boolean
|
|
997
|
+
archivedAt: Date | null
|
|
998
|
+
createdById: string
|
|
999
|
+
createdAt: Date
|
|
1000
|
+
updatedAt: Date
|
|
1001
|
+
}, ExtArgs["result"]["iteration"]>
|
|
1002
|
+
composites: {}
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
export type IterationGetPayload<S extends boolean | null | undefined | IterationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$IterationPayload, S>
|
|
1006
|
+
|
|
1007
|
+
export type IterationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1008
|
+
Omit<IterationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1009
|
+
select?: IterationCountAggregateInputType | true
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
export interface IterationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1013
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Iteration'], meta: { name: 'Iteration' } }
|
|
1014
|
+
/**
|
|
1015
|
+
* Find zero or one Iteration that matches the filter.
|
|
1016
|
+
* @param {IterationFindUniqueArgs} args - Arguments to find a Iteration
|
|
1017
|
+
* @example
|
|
1018
|
+
* // Get one Iteration
|
|
1019
|
+
* const iteration = await prisma.iteration.findUnique({
|
|
1020
|
+
* where: {
|
|
1021
|
+
* // ... provide filter here
|
|
1022
|
+
* }
|
|
1023
|
+
* })
|
|
1024
|
+
*/
|
|
1025
|
+
findUnique<T extends IterationFindUniqueArgs>(args: Prisma.SelectSubset<T, IterationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Find one Iteration that matches the filter or throw an error with `error.code='P2025'`
|
|
1029
|
+
* if no matches were found.
|
|
1030
|
+
* @param {IterationFindUniqueOrThrowArgs} args - Arguments to find a Iteration
|
|
1031
|
+
* @example
|
|
1032
|
+
* // Get one Iteration
|
|
1033
|
+
* const iteration = await prisma.iteration.findUniqueOrThrow({
|
|
1034
|
+
* where: {
|
|
1035
|
+
* // ... provide filter here
|
|
1036
|
+
* }
|
|
1037
|
+
* })
|
|
1038
|
+
*/
|
|
1039
|
+
findUniqueOrThrow<T extends IterationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, IterationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* Find the first Iteration that matches the filter.
|
|
1043
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1044
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1045
|
+
* @param {IterationFindFirstArgs} args - Arguments to find a Iteration
|
|
1046
|
+
* @example
|
|
1047
|
+
* // Get one Iteration
|
|
1048
|
+
* const iteration = await prisma.iteration.findFirst({
|
|
1049
|
+
* where: {
|
|
1050
|
+
* // ... provide filter here
|
|
1051
|
+
* }
|
|
1052
|
+
* })
|
|
1053
|
+
*/
|
|
1054
|
+
findFirst<T extends IterationFindFirstArgs>(args?: Prisma.SelectSubset<T, IterationFindFirstArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Find the first Iteration that matches the filter or
|
|
1058
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1059
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1060
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1061
|
+
* @param {IterationFindFirstOrThrowArgs} args - Arguments to find a Iteration
|
|
1062
|
+
* @example
|
|
1063
|
+
* // Get one Iteration
|
|
1064
|
+
* const iteration = await prisma.iteration.findFirstOrThrow({
|
|
1065
|
+
* where: {
|
|
1066
|
+
* // ... provide filter here
|
|
1067
|
+
* }
|
|
1068
|
+
* })
|
|
1069
|
+
*/
|
|
1070
|
+
findFirstOrThrow<T extends IterationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, IterationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* Find zero or more Iterations that matches the filter.
|
|
1074
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1075
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1076
|
+
* @param {IterationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1077
|
+
* @example
|
|
1078
|
+
* // Get all Iterations
|
|
1079
|
+
* const iterations = await prisma.iteration.findMany()
|
|
1080
|
+
*
|
|
1081
|
+
* // Get first 10 Iterations
|
|
1082
|
+
* const iterations = await prisma.iteration.findMany({ take: 10 })
|
|
1083
|
+
*
|
|
1084
|
+
* // Only select the `id`
|
|
1085
|
+
* const iterationWithIdOnly = await prisma.iteration.findMany({ select: { id: true } })
|
|
1086
|
+
*
|
|
1087
|
+
*/
|
|
1088
|
+
findMany<T extends IterationFindManyArgs>(args?: Prisma.SelectSubset<T, IterationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Create a Iteration.
|
|
1092
|
+
* @param {IterationCreateArgs} args - Arguments to create a Iteration.
|
|
1093
|
+
* @example
|
|
1094
|
+
* // Create one Iteration
|
|
1095
|
+
* const Iteration = await prisma.iteration.create({
|
|
1096
|
+
* data: {
|
|
1097
|
+
* // ... data to create a Iteration
|
|
1098
|
+
* }
|
|
1099
|
+
* })
|
|
1100
|
+
*
|
|
1101
|
+
*/
|
|
1102
|
+
create<T extends IterationCreateArgs>(args: Prisma.SelectSubset<T, IterationCreateArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* Create many Iterations.
|
|
1106
|
+
* @param {IterationCreateManyArgs} args - Arguments to create many Iterations.
|
|
1107
|
+
* @example
|
|
1108
|
+
* // Create many Iterations
|
|
1109
|
+
* const iteration = await prisma.iteration.createMany({
|
|
1110
|
+
* data: [
|
|
1111
|
+
* // ... provide data here
|
|
1112
|
+
* ]
|
|
1113
|
+
* })
|
|
1114
|
+
*
|
|
1115
|
+
*/
|
|
1116
|
+
createMany<T extends IterationCreateManyArgs>(args?: Prisma.SelectSubset<T, IterationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Create many Iterations and returns the data saved in the database.
|
|
1120
|
+
* @param {IterationCreateManyAndReturnArgs} args - Arguments to create many Iterations.
|
|
1121
|
+
* @example
|
|
1122
|
+
* // Create many Iterations
|
|
1123
|
+
* const iteration = await prisma.iteration.createManyAndReturn({
|
|
1124
|
+
* data: [
|
|
1125
|
+
* // ... provide data here
|
|
1126
|
+
* ]
|
|
1127
|
+
* })
|
|
1128
|
+
*
|
|
1129
|
+
* // Create many Iterations and only return the `id`
|
|
1130
|
+
* const iterationWithIdOnly = await prisma.iteration.createManyAndReturn({
|
|
1131
|
+
* select: { id: true },
|
|
1132
|
+
* data: [
|
|
1133
|
+
* // ... provide data here
|
|
1134
|
+
* ]
|
|
1135
|
+
* })
|
|
1136
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1137
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1138
|
+
*
|
|
1139
|
+
*/
|
|
1140
|
+
createManyAndReturn<T extends IterationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, IterationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Delete a Iteration.
|
|
1144
|
+
* @param {IterationDeleteArgs} args - Arguments to delete one Iteration.
|
|
1145
|
+
* @example
|
|
1146
|
+
* // Delete one Iteration
|
|
1147
|
+
* const Iteration = await prisma.iteration.delete({
|
|
1148
|
+
* where: {
|
|
1149
|
+
* // ... filter to delete one Iteration
|
|
1150
|
+
* }
|
|
1151
|
+
* })
|
|
1152
|
+
*
|
|
1153
|
+
*/
|
|
1154
|
+
delete<T extends IterationDeleteArgs>(args: Prisma.SelectSubset<T, IterationDeleteArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* Update one Iteration.
|
|
1158
|
+
* @param {IterationUpdateArgs} args - Arguments to update one Iteration.
|
|
1159
|
+
* @example
|
|
1160
|
+
* // Update one Iteration
|
|
1161
|
+
* const iteration = await prisma.iteration.update({
|
|
1162
|
+
* where: {
|
|
1163
|
+
* // ... provide filter here
|
|
1164
|
+
* },
|
|
1165
|
+
* data: {
|
|
1166
|
+
* // ... provide data here
|
|
1167
|
+
* }
|
|
1168
|
+
* })
|
|
1169
|
+
*
|
|
1170
|
+
*/
|
|
1171
|
+
update<T extends IterationUpdateArgs>(args: Prisma.SelectSubset<T, IterationUpdateArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* Delete zero or more Iterations.
|
|
1175
|
+
* @param {IterationDeleteManyArgs} args - Arguments to filter Iterations to delete.
|
|
1176
|
+
* @example
|
|
1177
|
+
* // Delete a few Iterations
|
|
1178
|
+
* const { count } = await prisma.iteration.deleteMany({
|
|
1179
|
+
* where: {
|
|
1180
|
+
* // ... provide filter here
|
|
1181
|
+
* }
|
|
1182
|
+
* })
|
|
1183
|
+
*
|
|
1184
|
+
*/
|
|
1185
|
+
deleteMany<T extends IterationDeleteManyArgs>(args?: Prisma.SelectSubset<T, IterationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* Update zero or more Iterations.
|
|
1189
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1190
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1191
|
+
* @param {IterationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1192
|
+
* @example
|
|
1193
|
+
* // Update many Iterations
|
|
1194
|
+
* const iteration = await prisma.iteration.updateMany({
|
|
1195
|
+
* where: {
|
|
1196
|
+
* // ... provide filter here
|
|
1197
|
+
* },
|
|
1198
|
+
* data: {
|
|
1199
|
+
* // ... provide data here
|
|
1200
|
+
* }
|
|
1201
|
+
* })
|
|
1202
|
+
*
|
|
1203
|
+
*/
|
|
1204
|
+
updateMany<T extends IterationUpdateManyArgs>(args: Prisma.SelectSubset<T, IterationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Update zero or more Iterations and returns the data updated in the database.
|
|
1208
|
+
* @param {IterationUpdateManyAndReturnArgs} args - Arguments to update many Iterations.
|
|
1209
|
+
* @example
|
|
1210
|
+
* // Update many Iterations
|
|
1211
|
+
* const iteration = await prisma.iteration.updateManyAndReturn({
|
|
1212
|
+
* where: {
|
|
1213
|
+
* // ... provide filter here
|
|
1214
|
+
* },
|
|
1215
|
+
* data: [
|
|
1216
|
+
* // ... provide data here
|
|
1217
|
+
* ]
|
|
1218
|
+
* })
|
|
1219
|
+
*
|
|
1220
|
+
* // Update zero or more Iterations and only return the `id`
|
|
1221
|
+
* const iterationWithIdOnly = await prisma.iteration.updateManyAndReturn({
|
|
1222
|
+
* select: { id: true },
|
|
1223
|
+
* where: {
|
|
1224
|
+
* // ... provide filter here
|
|
1225
|
+
* },
|
|
1226
|
+
* data: [
|
|
1227
|
+
* // ... provide data here
|
|
1228
|
+
* ]
|
|
1229
|
+
* })
|
|
1230
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1231
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1232
|
+
*
|
|
1233
|
+
*/
|
|
1234
|
+
updateManyAndReturn<T extends IterationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, IterationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* Create or update one Iteration.
|
|
1238
|
+
* @param {IterationUpsertArgs} args - Arguments to update or create a Iteration.
|
|
1239
|
+
* @example
|
|
1240
|
+
* // Update or create a Iteration
|
|
1241
|
+
* const iteration = await prisma.iteration.upsert({
|
|
1242
|
+
* create: {
|
|
1243
|
+
* // ... data to create a Iteration
|
|
1244
|
+
* },
|
|
1245
|
+
* update: {
|
|
1246
|
+
* // ... in case it already exists, update
|
|
1247
|
+
* },
|
|
1248
|
+
* where: {
|
|
1249
|
+
* // ... the filter for the Iteration we want to update
|
|
1250
|
+
* }
|
|
1251
|
+
* })
|
|
1252
|
+
*/
|
|
1253
|
+
upsert<T extends IterationUpsertArgs>(args: Prisma.SelectSubset<T, IterationUpsertArgs<ExtArgs>>): Prisma.Prisma__IterationClient<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Count the number of Iterations.
|
|
1258
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1259
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1260
|
+
* @param {IterationCountArgs} args - Arguments to filter Iterations to count.
|
|
1261
|
+
* @example
|
|
1262
|
+
* // Count the number of Iterations
|
|
1263
|
+
* const count = await prisma.iteration.count({
|
|
1264
|
+
* where: {
|
|
1265
|
+
* // ... the filter for the Iterations we want to count
|
|
1266
|
+
* }
|
|
1267
|
+
* })
|
|
1268
|
+
**/
|
|
1269
|
+
count<T extends IterationCountArgs>(
|
|
1270
|
+
args?: Prisma.Subset<T, IterationCountArgs>,
|
|
1271
|
+
): Prisma.PrismaPromise<
|
|
1272
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1273
|
+
? T['select'] extends true
|
|
1274
|
+
? number
|
|
1275
|
+
: Prisma.GetScalarType<T['select'], IterationCountAggregateOutputType>
|
|
1276
|
+
: number
|
|
1277
|
+
>
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Allows you to perform aggregations operations on a Iteration.
|
|
1281
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1282
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1283
|
+
* @param {IterationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1284
|
+
* @example
|
|
1285
|
+
* // Ordered by age ascending
|
|
1286
|
+
* // Where email contains prisma.io
|
|
1287
|
+
* // Limited to the 10 users
|
|
1288
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1289
|
+
* _avg: {
|
|
1290
|
+
* age: true,
|
|
1291
|
+
* },
|
|
1292
|
+
* where: {
|
|
1293
|
+
* email: {
|
|
1294
|
+
* contains: "prisma.io",
|
|
1295
|
+
* },
|
|
1296
|
+
* },
|
|
1297
|
+
* orderBy: {
|
|
1298
|
+
* age: "asc",
|
|
1299
|
+
* },
|
|
1300
|
+
* take: 10,
|
|
1301
|
+
* })
|
|
1302
|
+
**/
|
|
1303
|
+
aggregate<T extends IterationAggregateArgs>(args: Prisma.Subset<T, IterationAggregateArgs>): Prisma.PrismaPromise<GetIterationAggregateType<T>>
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Group by Iteration.
|
|
1307
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1308
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1309
|
+
* @param {IterationGroupByArgs} args - Group by arguments.
|
|
1310
|
+
* @example
|
|
1311
|
+
* // Group by city, order by createdAt, get count
|
|
1312
|
+
* const result = await prisma.user.groupBy({
|
|
1313
|
+
* by: ['city', 'createdAt'],
|
|
1314
|
+
* orderBy: {
|
|
1315
|
+
* createdAt: true
|
|
1316
|
+
* },
|
|
1317
|
+
* _count: {
|
|
1318
|
+
* _all: true
|
|
1319
|
+
* },
|
|
1320
|
+
* })
|
|
1321
|
+
*
|
|
1322
|
+
**/
|
|
1323
|
+
groupBy<
|
|
1324
|
+
T extends IterationGroupByArgs,
|
|
1325
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1326
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1327
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1328
|
+
>,
|
|
1329
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1330
|
+
? { orderBy: IterationGroupByArgs['orderBy'] }
|
|
1331
|
+
: { orderBy?: IterationGroupByArgs['orderBy'] },
|
|
1332
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1333
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1334
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1335
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1336
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1337
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1338
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1339
|
+
? `Error: "by" must not be empty.`
|
|
1340
|
+
: HavingValid extends Prisma.False
|
|
1341
|
+
? {
|
|
1342
|
+
[P in HavingFields]: P extends ByFields
|
|
1343
|
+
? never
|
|
1344
|
+
: P extends string
|
|
1345
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1346
|
+
: [
|
|
1347
|
+
Error,
|
|
1348
|
+
'Field ',
|
|
1349
|
+
P,
|
|
1350
|
+
` in "having" needs to be provided in "by"`,
|
|
1351
|
+
]
|
|
1352
|
+
}[HavingFields]
|
|
1353
|
+
: 'take' extends Prisma.Keys<T>
|
|
1354
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1355
|
+
? ByValid extends Prisma.True
|
|
1356
|
+
? {}
|
|
1357
|
+
: {
|
|
1358
|
+
[P in OrderFields]: P extends ByFields
|
|
1359
|
+
? never
|
|
1360
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1361
|
+
}[OrderFields]
|
|
1362
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1363
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1364
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1365
|
+
? ByValid extends Prisma.True
|
|
1366
|
+
? {}
|
|
1367
|
+
: {
|
|
1368
|
+
[P in OrderFields]: P extends ByFields
|
|
1369
|
+
? never
|
|
1370
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1371
|
+
}[OrderFields]
|
|
1372
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1373
|
+
: ByValid extends Prisma.True
|
|
1374
|
+
? {}
|
|
1375
|
+
: {
|
|
1376
|
+
[P in OrderFields]: P extends ByFields
|
|
1377
|
+
? never
|
|
1378
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1379
|
+
}[OrderFields]
|
|
1380
|
+
>(args: Prisma.SubsetIntersection<T, IterationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIterationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1381
|
+
/**
|
|
1382
|
+
* Fields of the Iteration model
|
|
1383
|
+
*/
|
|
1384
|
+
readonly fields: IterationFieldRefs;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* The delegate class that acts as a "Promise-like" for Iteration.
|
|
1389
|
+
* Why is this prefixed with `Prisma__`?
|
|
1390
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1391
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1392
|
+
*/
|
|
1393
|
+
export interface Prisma__IterationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1394
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1395
|
+
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>
|
|
1396
|
+
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>
|
|
1397
|
+
stories<T extends Prisma.Iteration$storiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Iteration$storiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1398
|
+
/**
|
|
1399
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1400
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1401
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1402
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1403
|
+
*/
|
|
1404
|
+
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>
|
|
1405
|
+
/**
|
|
1406
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1407
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1408
|
+
* @returns A Promise for the completion of the callback.
|
|
1409
|
+
*/
|
|
1410
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1411
|
+
/**
|
|
1412
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1413
|
+
* resolved value cannot be modified from the callback.
|
|
1414
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1415
|
+
* @returns A Promise for the completion of the callback.
|
|
1416
|
+
*/
|
|
1417
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* Fields of the Iteration model
|
|
1425
|
+
*/
|
|
1426
|
+
export interface IterationFieldRefs {
|
|
1427
|
+
readonly id: Prisma.FieldRef<"Iteration", 'String'>
|
|
1428
|
+
readonly projectId: Prisma.FieldRef<"Iteration", 'String'>
|
|
1429
|
+
readonly name: Prisma.FieldRef<"Iteration", 'String'>
|
|
1430
|
+
readonly description: Prisma.FieldRef<"Iteration", 'String'>
|
|
1431
|
+
readonly startDate: Prisma.FieldRef<"Iteration", 'DateTime'>
|
|
1432
|
+
readonly endDate: Prisma.FieldRef<"Iteration", 'DateTime'>
|
|
1433
|
+
readonly archived: Prisma.FieldRef<"Iteration", 'Boolean'>
|
|
1434
|
+
readonly archivedAt: Prisma.FieldRef<"Iteration", 'DateTime'>
|
|
1435
|
+
readonly createdById: Prisma.FieldRef<"Iteration", 'String'>
|
|
1436
|
+
readonly createdAt: Prisma.FieldRef<"Iteration", 'DateTime'>
|
|
1437
|
+
readonly updatedAt: Prisma.FieldRef<"Iteration", 'DateTime'>
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
// Custom InputTypes
|
|
1442
|
+
/**
|
|
1443
|
+
* Iteration findUnique
|
|
1444
|
+
*/
|
|
1445
|
+
export type IterationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1446
|
+
/**
|
|
1447
|
+
* Select specific fields to fetch from the Iteration
|
|
1448
|
+
*/
|
|
1449
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1450
|
+
/**
|
|
1451
|
+
* Omit specific fields from the Iteration
|
|
1452
|
+
*/
|
|
1453
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1454
|
+
/**
|
|
1455
|
+
* Choose, which related nodes to fetch as well
|
|
1456
|
+
*/
|
|
1457
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1458
|
+
/**
|
|
1459
|
+
* Filter, which Iteration to fetch.
|
|
1460
|
+
*/
|
|
1461
|
+
where: Prisma.IterationWhereUniqueInput
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* Iteration findUniqueOrThrow
|
|
1466
|
+
*/
|
|
1467
|
+
export type IterationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1468
|
+
/**
|
|
1469
|
+
* Select specific fields to fetch from the Iteration
|
|
1470
|
+
*/
|
|
1471
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1472
|
+
/**
|
|
1473
|
+
* Omit specific fields from the Iteration
|
|
1474
|
+
*/
|
|
1475
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1476
|
+
/**
|
|
1477
|
+
* Choose, which related nodes to fetch as well
|
|
1478
|
+
*/
|
|
1479
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1480
|
+
/**
|
|
1481
|
+
* Filter, which Iteration to fetch.
|
|
1482
|
+
*/
|
|
1483
|
+
where: Prisma.IterationWhereUniqueInput
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* Iteration findFirst
|
|
1488
|
+
*/
|
|
1489
|
+
export type IterationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1490
|
+
/**
|
|
1491
|
+
* Select specific fields to fetch from the Iteration
|
|
1492
|
+
*/
|
|
1493
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1494
|
+
/**
|
|
1495
|
+
* Omit specific fields from the Iteration
|
|
1496
|
+
*/
|
|
1497
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1498
|
+
/**
|
|
1499
|
+
* Choose, which related nodes to fetch as well
|
|
1500
|
+
*/
|
|
1501
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1502
|
+
/**
|
|
1503
|
+
* Filter, which Iteration to fetch.
|
|
1504
|
+
*/
|
|
1505
|
+
where?: Prisma.IterationWhereInput
|
|
1506
|
+
/**
|
|
1507
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1508
|
+
*
|
|
1509
|
+
* Determine the order of Iterations to fetch.
|
|
1510
|
+
*/
|
|
1511
|
+
orderBy?: Prisma.IterationOrderByWithRelationInput | Prisma.IterationOrderByWithRelationInput[]
|
|
1512
|
+
/**
|
|
1513
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1514
|
+
*
|
|
1515
|
+
* Sets the position for searching for Iterations.
|
|
1516
|
+
*/
|
|
1517
|
+
cursor?: Prisma.IterationWhereUniqueInput
|
|
1518
|
+
/**
|
|
1519
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1520
|
+
*
|
|
1521
|
+
* Take `±n` Iterations from the position of the cursor.
|
|
1522
|
+
*/
|
|
1523
|
+
take?: number
|
|
1524
|
+
/**
|
|
1525
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1526
|
+
*
|
|
1527
|
+
* Skip the first `n` Iterations.
|
|
1528
|
+
*/
|
|
1529
|
+
skip?: number
|
|
1530
|
+
/**
|
|
1531
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1532
|
+
*
|
|
1533
|
+
* Filter by unique combinations of Iterations.
|
|
1534
|
+
*/
|
|
1535
|
+
distinct?: Prisma.IterationScalarFieldEnum | Prisma.IterationScalarFieldEnum[]
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* Iteration findFirstOrThrow
|
|
1540
|
+
*/
|
|
1541
|
+
export type IterationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1542
|
+
/**
|
|
1543
|
+
* Select specific fields to fetch from the Iteration
|
|
1544
|
+
*/
|
|
1545
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1546
|
+
/**
|
|
1547
|
+
* Omit specific fields from the Iteration
|
|
1548
|
+
*/
|
|
1549
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1550
|
+
/**
|
|
1551
|
+
* Choose, which related nodes to fetch as well
|
|
1552
|
+
*/
|
|
1553
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1554
|
+
/**
|
|
1555
|
+
* Filter, which Iteration to fetch.
|
|
1556
|
+
*/
|
|
1557
|
+
where?: Prisma.IterationWhereInput
|
|
1558
|
+
/**
|
|
1559
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1560
|
+
*
|
|
1561
|
+
* Determine the order of Iterations to fetch.
|
|
1562
|
+
*/
|
|
1563
|
+
orderBy?: Prisma.IterationOrderByWithRelationInput | Prisma.IterationOrderByWithRelationInput[]
|
|
1564
|
+
/**
|
|
1565
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1566
|
+
*
|
|
1567
|
+
* Sets the position for searching for Iterations.
|
|
1568
|
+
*/
|
|
1569
|
+
cursor?: Prisma.IterationWhereUniqueInput
|
|
1570
|
+
/**
|
|
1571
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1572
|
+
*
|
|
1573
|
+
* Take `±n` Iterations from the position of the cursor.
|
|
1574
|
+
*/
|
|
1575
|
+
take?: number
|
|
1576
|
+
/**
|
|
1577
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1578
|
+
*
|
|
1579
|
+
* Skip the first `n` Iterations.
|
|
1580
|
+
*/
|
|
1581
|
+
skip?: number
|
|
1582
|
+
/**
|
|
1583
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1584
|
+
*
|
|
1585
|
+
* Filter by unique combinations of Iterations.
|
|
1586
|
+
*/
|
|
1587
|
+
distinct?: Prisma.IterationScalarFieldEnum | Prisma.IterationScalarFieldEnum[]
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* Iteration findMany
|
|
1592
|
+
*/
|
|
1593
|
+
export type IterationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1594
|
+
/**
|
|
1595
|
+
* Select specific fields to fetch from the Iteration
|
|
1596
|
+
*/
|
|
1597
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1598
|
+
/**
|
|
1599
|
+
* Omit specific fields from the Iteration
|
|
1600
|
+
*/
|
|
1601
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1602
|
+
/**
|
|
1603
|
+
* Choose, which related nodes to fetch as well
|
|
1604
|
+
*/
|
|
1605
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1606
|
+
/**
|
|
1607
|
+
* Filter, which Iterations to fetch.
|
|
1608
|
+
*/
|
|
1609
|
+
where?: Prisma.IterationWhereInput
|
|
1610
|
+
/**
|
|
1611
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1612
|
+
*
|
|
1613
|
+
* Determine the order of Iterations to fetch.
|
|
1614
|
+
*/
|
|
1615
|
+
orderBy?: Prisma.IterationOrderByWithRelationInput | Prisma.IterationOrderByWithRelationInput[]
|
|
1616
|
+
/**
|
|
1617
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1618
|
+
*
|
|
1619
|
+
* Sets the position for listing Iterations.
|
|
1620
|
+
*/
|
|
1621
|
+
cursor?: Prisma.IterationWhereUniqueInput
|
|
1622
|
+
/**
|
|
1623
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1624
|
+
*
|
|
1625
|
+
* Take `±n` Iterations from the position of the cursor.
|
|
1626
|
+
*/
|
|
1627
|
+
take?: number
|
|
1628
|
+
/**
|
|
1629
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1630
|
+
*
|
|
1631
|
+
* Skip the first `n` Iterations.
|
|
1632
|
+
*/
|
|
1633
|
+
skip?: number
|
|
1634
|
+
/**
|
|
1635
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1636
|
+
*
|
|
1637
|
+
* Filter by unique combinations of Iterations.
|
|
1638
|
+
*/
|
|
1639
|
+
distinct?: Prisma.IterationScalarFieldEnum | Prisma.IterationScalarFieldEnum[]
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* Iteration create
|
|
1644
|
+
*/
|
|
1645
|
+
export type IterationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1646
|
+
/**
|
|
1647
|
+
* Select specific fields to fetch from the Iteration
|
|
1648
|
+
*/
|
|
1649
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1650
|
+
/**
|
|
1651
|
+
* Omit specific fields from the Iteration
|
|
1652
|
+
*/
|
|
1653
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1654
|
+
/**
|
|
1655
|
+
* Choose, which related nodes to fetch as well
|
|
1656
|
+
*/
|
|
1657
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1658
|
+
/**
|
|
1659
|
+
* The data needed to create a Iteration.
|
|
1660
|
+
*/
|
|
1661
|
+
data: Prisma.XOR<Prisma.IterationCreateInput, Prisma.IterationUncheckedCreateInput>
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* Iteration createMany
|
|
1666
|
+
*/
|
|
1667
|
+
export type IterationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1668
|
+
/**
|
|
1669
|
+
* The data used to create many Iterations.
|
|
1670
|
+
*/
|
|
1671
|
+
data: Prisma.IterationCreateManyInput | Prisma.IterationCreateManyInput[]
|
|
1672
|
+
skipDuplicates?: boolean
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Iteration createManyAndReturn
|
|
1677
|
+
*/
|
|
1678
|
+
export type IterationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1679
|
+
/**
|
|
1680
|
+
* Select specific fields to fetch from the Iteration
|
|
1681
|
+
*/
|
|
1682
|
+
select?: Prisma.IterationSelectCreateManyAndReturn<ExtArgs> | null
|
|
1683
|
+
/**
|
|
1684
|
+
* Omit specific fields from the Iteration
|
|
1685
|
+
*/
|
|
1686
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1687
|
+
/**
|
|
1688
|
+
* The data used to create many Iterations.
|
|
1689
|
+
*/
|
|
1690
|
+
data: Prisma.IterationCreateManyInput | Prisma.IterationCreateManyInput[]
|
|
1691
|
+
skipDuplicates?: boolean
|
|
1692
|
+
/**
|
|
1693
|
+
* Choose, which related nodes to fetch as well
|
|
1694
|
+
*/
|
|
1695
|
+
include?: Prisma.IterationIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* Iteration update
|
|
1700
|
+
*/
|
|
1701
|
+
export type IterationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1702
|
+
/**
|
|
1703
|
+
* Select specific fields to fetch from the Iteration
|
|
1704
|
+
*/
|
|
1705
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1706
|
+
/**
|
|
1707
|
+
* Omit specific fields from the Iteration
|
|
1708
|
+
*/
|
|
1709
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1710
|
+
/**
|
|
1711
|
+
* Choose, which related nodes to fetch as well
|
|
1712
|
+
*/
|
|
1713
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1714
|
+
/**
|
|
1715
|
+
* The data needed to update a Iteration.
|
|
1716
|
+
*/
|
|
1717
|
+
data: Prisma.XOR<Prisma.IterationUpdateInput, Prisma.IterationUncheckedUpdateInput>
|
|
1718
|
+
/**
|
|
1719
|
+
* Choose, which Iteration to update.
|
|
1720
|
+
*/
|
|
1721
|
+
where: Prisma.IterationWhereUniqueInput
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Iteration updateMany
|
|
1726
|
+
*/
|
|
1727
|
+
export type IterationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1728
|
+
/**
|
|
1729
|
+
* The data used to update Iterations.
|
|
1730
|
+
*/
|
|
1731
|
+
data: Prisma.XOR<Prisma.IterationUpdateManyMutationInput, Prisma.IterationUncheckedUpdateManyInput>
|
|
1732
|
+
/**
|
|
1733
|
+
* Filter which Iterations to update
|
|
1734
|
+
*/
|
|
1735
|
+
where?: Prisma.IterationWhereInput
|
|
1736
|
+
/**
|
|
1737
|
+
* Limit how many Iterations to update.
|
|
1738
|
+
*/
|
|
1739
|
+
limit?: number
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
/**
|
|
1743
|
+
* Iteration updateManyAndReturn
|
|
1744
|
+
*/
|
|
1745
|
+
export type IterationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1746
|
+
/**
|
|
1747
|
+
* Select specific fields to fetch from the Iteration
|
|
1748
|
+
*/
|
|
1749
|
+
select?: Prisma.IterationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1750
|
+
/**
|
|
1751
|
+
* Omit specific fields from the Iteration
|
|
1752
|
+
*/
|
|
1753
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1754
|
+
/**
|
|
1755
|
+
* The data used to update Iterations.
|
|
1756
|
+
*/
|
|
1757
|
+
data: Prisma.XOR<Prisma.IterationUpdateManyMutationInput, Prisma.IterationUncheckedUpdateManyInput>
|
|
1758
|
+
/**
|
|
1759
|
+
* Filter which Iterations to update
|
|
1760
|
+
*/
|
|
1761
|
+
where?: Prisma.IterationWhereInput
|
|
1762
|
+
/**
|
|
1763
|
+
* Limit how many Iterations to update.
|
|
1764
|
+
*/
|
|
1765
|
+
limit?: number
|
|
1766
|
+
/**
|
|
1767
|
+
* Choose, which related nodes to fetch as well
|
|
1768
|
+
*/
|
|
1769
|
+
include?: Prisma.IterationIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* Iteration upsert
|
|
1774
|
+
*/
|
|
1775
|
+
export type IterationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1776
|
+
/**
|
|
1777
|
+
* Select specific fields to fetch from the Iteration
|
|
1778
|
+
*/
|
|
1779
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1780
|
+
/**
|
|
1781
|
+
* Omit specific fields from the Iteration
|
|
1782
|
+
*/
|
|
1783
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1784
|
+
/**
|
|
1785
|
+
* Choose, which related nodes to fetch as well
|
|
1786
|
+
*/
|
|
1787
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1788
|
+
/**
|
|
1789
|
+
* The filter to search for the Iteration to update in case it exists.
|
|
1790
|
+
*/
|
|
1791
|
+
where: Prisma.IterationWhereUniqueInput
|
|
1792
|
+
/**
|
|
1793
|
+
* In case the Iteration found by the `where` argument doesn't exist, create a new Iteration with this data.
|
|
1794
|
+
*/
|
|
1795
|
+
create: Prisma.XOR<Prisma.IterationCreateInput, Prisma.IterationUncheckedCreateInput>
|
|
1796
|
+
/**
|
|
1797
|
+
* In case the Iteration was found with the provided `where` argument, update it with this data.
|
|
1798
|
+
*/
|
|
1799
|
+
update: Prisma.XOR<Prisma.IterationUpdateInput, Prisma.IterationUncheckedUpdateInput>
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* Iteration delete
|
|
1804
|
+
*/
|
|
1805
|
+
export type IterationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1806
|
+
/**
|
|
1807
|
+
* Select specific fields to fetch from the Iteration
|
|
1808
|
+
*/
|
|
1809
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1810
|
+
/**
|
|
1811
|
+
* Omit specific fields from the Iteration
|
|
1812
|
+
*/
|
|
1813
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1814
|
+
/**
|
|
1815
|
+
* Choose, which related nodes to fetch as well
|
|
1816
|
+
*/
|
|
1817
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1818
|
+
/**
|
|
1819
|
+
* Filter which Iteration to delete.
|
|
1820
|
+
*/
|
|
1821
|
+
where: Prisma.IterationWhereUniqueInput
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
/**
|
|
1825
|
+
* Iteration deleteMany
|
|
1826
|
+
*/
|
|
1827
|
+
export type IterationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1828
|
+
/**
|
|
1829
|
+
* Filter which Iterations to delete
|
|
1830
|
+
*/
|
|
1831
|
+
where?: Prisma.IterationWhereInput
|
|
1832
|
+
/**
|
|
1833
|
+
* Limit how many Iterations to delete.
|
|
1834
|
+
*/
|
|
1835
|
+
limit?: number
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* Iteration.stories
|
|
1840
|
+
*/
|
|
1841
|
+
export type Iteration$storiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1842
|
+
/**
|
|
1843
|
+
* Select specific fields to fetch from the Story
|
|
1844
|
+
*/
|
|
1845
|
+
select?: Prisma.StorySelect<ExtArgs> | null
|
|
1846
|
+
/**
|
|
1847
|
+
* Omit specific fields from the Story
|
|
1848
|
+
*/
|
|
1849
|
+
omit?: Prisma.StoryOmit<ExtArgs> | null
|
|
1850
|
+
/**
|
|
1851
|
+
* Choose, which related nodes to fetch as well
|
|
1852
|
+
*/
|
|
1853
|
+
include?: Prisma.StoryInclude<ExtArgs> | null
|
|
1854
|
+
where?: Prisma.StoryWhereInput
|
|
1855
|
+
orderBy?: Prisma.StoryOrderByWithRelationInput | Prisma.StoryOrderByWithRelationInput[]
|
|
1856
|
+
cursor?: Prisma.StoryWhereUniqueInput
|
|
1857
|
+
take?: number
|
|
1858
|
+
skip?: number
|
|
1859
|
+
distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Iteration without action
|
|
1864
|
+
*/
|
|
1865
|
+
export type IterationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1866
|
+
/**
|
|
1867
|
+
* Select specific fields to fetch from the Iteration
|
|
1868
|
+
*/
|
|
1869
|
+
select?: Prisma.IterationSelect<ExtArgs> | null
|
|
1870
|
+
/**
|
|
1871
|
+
* Omit specific fields from the Iteration
|
|
1872
|
+
*/
|
|
1873
|
+
omit?: Prisma.IterationOmit<ExtArgs> | null
|
|
1874
|
+
/**
|
|
1875
|
+
* Choose, which related nodes to fetch as well
|
|
1876
|
+
*/
|
|
1877
|
+
include?: Prisma.IterationInclude<ExtArgs> | null
|
|
1878
|
+
}
|