pacatui 0.1.0
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/LICENSE +21 -0
- package/README.md +153 -0
- package/generated/prisma/browser.ts +59 -0
- package/generated/prisma/client.ts +81 -0
- package/generated/prisma/commonInputTypes.ts +402 -0
- package/generated/prisma/enums.ts +15 -0
- package/generated/prisma/internal/class.ts +260 -0
- package/generated/prisma/internal/prismaNamespace.ts +1362 -0
- package/generated/prisma/internal/prismaNamespaceBrowser.ts +190 -0
- package/generated/prisma/models/Customer.ts +1489 -0
- package/generated/prisma/models/Invoice.ts +1837 -0
- package/generated/prisma/models/Project.ts +1981 -0
- package/generated/prisma/models/Setting.ts +1086 -0
- package/generated/prisma/models/Tag.ts +1288 -0
- package/generated/prisma/models/Task.ts +1669 -0
- package/generated/prisma/models/TaskTag.ts +1340 -0
- package/generated/prisma/models/TimeEntry.ts +1602 -0
- package/generated/prisma/models.ts +19 -0
- package/package.json +71 -0
- package/prisma/migrations/20260115051911_init/migration.sql +71 -0
- package/prisma/migrations/20260115062427_add_time_tracking/migration.sql +20 -0
- package/prisma/migrations/20260117233250_add_customers_invoices/migration.sql +81 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema.prisma +162 -0
- package/src/App.tsx +1492 -0
- package/src/components/CreateInvoiceModal.tsx +222 -0
- package/src/components/CustomerModal.tsx +158 -0
- package/src/components/CustomerSelectModal.tsx +142 -0
- package/src/components/Dashboard.tsx +242 -0
- package/src/components/DateTimePicker.tsx +335 -0
- package/src/components/EditTimeEntryModal.tsx +293 -0
- package/src/components/Header.tsx +65 -0
- package/src/components/HelpView.tsx +109 -0
- package/src/components/InputModal.tsx +79 -0
- package/src/components/InvoicesView.tsx +297 -0
- package/src/components/Modal.tsx +38 -0
- package/src/components/ProjectList.tsx +114 -0
- package/src/components/ProjectModal.tsx +116 -0
- package/src/components/SettingsView.tsx +145 -0
- package/src/components/SplashScreen.tsx +25 -0
- package/src/components/StatusBar.tsx +93 -0
- package/src/components/TaskList.tsx +143 -0
- package/src/components/Timer.tsx +95 -0
- package/src/components/TimerModals.tsx +120 -0
- package/src/components/TimesheetView.tsx +218 -0
- package/src/components/index.ts +17 -0
- package/src/db.ts +629 -0
- package/src/hooks/usePaste.ts +69 -0
- package/src/index.tsx +75 -0
- package/src/stripe.ts +163 -0
- package/src/types.ts +361 -0
|
@@ -0,0 +1,1669 @@
|
|
|
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 `Task` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model Task
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type TaskModel = runtime.Types.Result.DefaultSelection<Prisma.$TaskPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateTask = {
|
|
22
|
+
_count: TaskCountAggregateOutputType | null
|
|
23
|
+
_min: TaskMinAggregateOutputType | null
|
|
24
|
+
_max: TaskMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type TaskMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
title: string | null
|
|
30
|
+
description: string | null
|
|
31
|
+
status: string | null
|
|
32
|
+
priority: string | null
|
|
33
|
+
dueDate: Date | null
|
|
34
|
+
completedAt: Date | null
|
|
35
|
+
createdAt: Date | null
|
|
36
|
+
updatedAt: Date | null
|
|
37
|
+
projectId: string | null
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type TaskMaxAggregateOutputType = {
|
|
41
|
+
id: string | null
|
|
42
|
+
title: string | null
|
|
43
|
+
description: string | null
|
|
44
|
+
status: string | null
|
|
45
|
+
priority: string | null
|
|
46
|
+
dueDate: Date | null
|
|
47
|
+
completedAt: Date | null
|
|
48
|
+
createdAt: Date | null
|
|
49
|
+
updatedAt: Date | null
|
|
50
|
+
projectId: string | null
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type TaskCountAggregateOutputType = {
|
|
54
|
+
id: number
|
|
55
|
+
title: number
|
|
56
|
+
description: number
|
|
57
|
+
status: number
|
|
58
|
+
priority: number
|
|
59
|
+
dueDate: number
|
|
60
|
+
completedAt: number
|
|
61
|
+
createdAt: number
|
|
62
|
+
updatedAt: number
|
|
63
|
+
projectId: number
|
|
64
|
+
_all: number
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
export type TaskMinAggregateInputType = {
|
|
69
|
+
id?: true
|
|
70
|
+
title?: true
|
|
71
|
+
description?: true
|
|
72
|
+
status?: true
|
|
73
|
+
priority?: true
|
|
74
|
+
dueDate?: true
|
|
75
|
+
completedAt?: true
|
|
76
|
+
createdAt?: true
|
|
77
|
+
updatedAt?: true
|
|
78
|
+
projectId?: true
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type TaskMaxAggregateInputType = {
|
|
82
|
+
id?: true
|
|
83
|
+
title?: true
|
|
84
|
+
description?: true
|
|
85
|
+
status?: true
|
|
86
|
+
priority?: true
|
|
87
|
+
dueDate?: true
|
|
88
|
+
completedAt?: true
|
|
89
|
+
createdAt?: true
|
|
90
|
+
updatedAt?: true
|
|
91
|
+
projectId?: true
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export type TaskCountAggregateInputType = {
|
|
95
|
+
id?: true
|
|
96
|
+
title?: true
|
|
97
|
+
description?: true
|
|
98
|
+
status?: true
|
|
99
|
+
priority?: true
|
|
100
|
+
dueDate?: true
|
|
101
|
+
completedAt?: true
|
|
102
|
+
createdAt?: true
|
|
103
|
+
updatedAt?: true
|
|
104
|
+
projectId?: true
|
|
105
|
+
_all?: true
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type TaskAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
109
|
+
/**
|
|
110
|
+
* Filter which Task to aggregate.
|
|
111
|
+
*/
|
|
112
|
+
where?: Prisma.TaskWhereInput
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
115
|
+
*
|
|
116
|
+
* Determine the order of Tasks to fetch.
|
|
117
|
+
*/
|
|
118
|
+
orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[]
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
121
|
+
*
|
|
122
|
+
* Sets the start position
|
|
123
|
+
*/
|
|
124
|
+
cursor?: Prisma.TaskWhereUniqueInput
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
127
|
+
*
|
|
128
|
+
* Take `±n` Tasks from the position of the cursor.
|
|
129
|
+
*/
|
|
130
|
+
take?: number
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
133
|
+
*
|
|
134
|
+
* Skip the first `n` Tasks.
|
|
135
|
+
*/
|
|
136
|
+
skip?: number
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Count returned Tasks
|
|
141
|
+
**/
|
|
142
|
+
_count?: true | TaskCountAggregateInputType
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to find the minimum value
|
|
147
|
+
**/
|
|
148
|
+
_min?: TaskMinAggregateInputType
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Select which fields to find the maximum value
|
|
153
|
+
**/
|
|
154
|
+
_max?: TaskMaxAggregateInputType
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export type GetTaskAggregateType<T extends TaskAggregateArgs> = {
|
|
158
|
+
[P in keyof T & keyof AggregateTask]: P extends '_count' | 'count'
|
|
159
|
+
? T[P] extends true
|
|
160
|
+
? number
|
|
161
|
+
: Prisma.GetScalarType<T[P], AggregateTask[P]>
|
|
162
|
+
: Prisma.GetScalarType<T[P], AggregateTask[P]>
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
export type TaskGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
169
|
+
where?: Prisma.TaskWhereInput
|
|
170
|
+
orderBy?: Prisma.TaskOrderByWithAggregationInput | Prisma.TaskOrderByWithAggregationInput[]
|
|
171
|
+
by: Prisma.TaskScalarFieldEnum[] | Prisma.TaskScalarFieldEnum
|
|
172
|
+
having?: Prisma.TaskScalarWhereWithAggregatesInput
|
|
173
|
+
take?: number
|
|
174
|
+
skip?: number
|
|
175
|
+
_count?: TaskCountAggregateInputType | true
|
|
176
|
+
_min?: TaskMinAggregateInputType
|
|
177
|
+
_max?: TaskMaxAggregateInputType
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export type TaskGroupByOutputType = {
|
|
181
|
+
id: string
|
|
182
|
+
title: string
|
|
183
|
+
description: string | null
|
|
184
|
+
status: string
|
|
185
|
+
priority: string
|
|
186
|
+
dueDate: Date | null
|
|
187
|
+
completedAt: Date | null
|
|
188
|
+
createdAt: Date
|
|
189
|
+
updatedAt: Date
|
|
190
|
+
projectId: string
|
|
191
|
+
_count: TaskCountAggregateOutputType | null
|
|
192
|
+
_min: TaskMinAggregateOutputType | null
|
|
193
|
+
_max: TaskMaxAggregateOutputType | null
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
type GetTaskGroupByPayload<T extends TaskGroupByArgs> = Prisma.PrismaPromise<
|
|
197
|
+
Array<
|
|
198
|
+
Prisma.PickEnumerable<TaskGroupByOutputType, T['by']> &
|
|
199
|
+
{
|
|
200
|
+
[P in ((keyof T) & (keyof TaskGroupByOutputType))]: P extends '_count'
|
|
201
|
+
? T[P] extends boolean
|
|
202
|
+
? number
|
|
203
|
+
: Prisma.GetScalarType<T[P], TaskGroupByOutputType[P]>
|
|
204
|
+
: Prisma.GetScalarType<T[P], TaskGroupByOutputType[P]>
|
|
205
|
+
}
|
|
206
|
+
>
|
|
207
|
+
>
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
export type TaskWhereInput = {
|
|
212
|
+
AND?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[]
|
|
213
|
+
OR?: Prisma.TaskWhereInput[]
|
|
214
|
+
NOT?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[]
|
|
215
|
+
id?: Prisma.StringFilter<"Task"> | string
|
|
216
|
+
title?: Prisma.StringFilter<"Task"> | string
|
|
217
|
+
description?: Prisma.StringNullableFilter<"Task"> | string | null
|
|
218
|
+
status?: Prisma.StringFilter<"Task"> | string
|
|
219
|
+
priority?: Prisma.StringFilter<"Task"> | string
|
|
220
|
+
dueDate?: Prisma.DateTimeNullableFilter<"Task"> | Date | string | null
|
|
221
|
+
completedAt?: Prisma.DateTimeNullableFilter<"Task"> | Date | string | null
|
|
222
|
+
createdAt?: Prisma.DateTimeFilter<"Task"> | Date | string
|
|
223
|
+
updatedAt?: Prisma.DateTimeFilter<"Task"> | Date | string
|
|
224
|
+
projectId?: Prisma.StringFilter<"Task"> | string
|
|
225
|
+
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
226
|
+
tags?: Prisma.TaskTagListRelationFilter
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export type TaskOrderByWithRelationInput = {
|
|
230
|
+
id?: Prisma.SortOrder
|
|
231
|
+
title?: Prisma.SortOrder
|
|
232
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
233
|
+
status?: Prisma.SortOrder
|
|
234
|
+
priority?: Prisma.SortOrder
|
|
235
|
+
dueDate?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
236
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
237
|
+
createdAt?: Prisma.SortOrder
|
|
238
|
+
updatedAt?: Prisma.SortOrder
|
|
239
|
+
projectId?: Prisma.SortOrder
|
|
240
|
+
project?: Prisma.ProjectOrderByWithRelationInput
|
|
241
|
+
tags?: Prisma.TaskTagOrderByRelationAggregateInput
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export type TaskWhereUniqueInput = Prisma.AtLeast<{
|
|
245
|
+
id?: string
|
|
246
|
+
AND?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[]
|
|
247
|
+
OR?: Prisma.TaskWhereInput[]
|
|
248
|
+
NOT?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[]
|
|
249
|
+
title?: Prisma.StringFilter<"Task"> | string
|
|
250
|
+
description?: Prisma.StringNullableFilter<"Task"> | string | null
|
|
251
|
+
status?: Prisma.StringFilter<"Task"> | string
|
|
252
|
+
priority?: Prisma.StringFilter<"Task"> | string
|
|
253
|
+
dueDate?: Prisma.DateTimeNullableFilter<"Task"> | Date | string | null
|
|
254
|
+
completedAt?: Prisma.DateTimeNullableFilter<"Task"> | Date | string | null
|
|
255
|
+
createdAt?: Prisma.DateTimeFilter<"Task"> | Date | string
|
|
256
|
+
updatedAt?: Prisma.DateTimeFilter<"Task"> | Date | string
|
|
257
|
+
projectId?: Prisma.StringFilter<"Task"> | string
|
|
258
|
+
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
259
|
+
tags?: Prisma.TaskTagListRelationFilter
|
|
260
|
+
}, "id">
|
|
261
|
+
|
|
262
|
+
export type TaskOrderByWithAggregationInput = {
|
|
263
|
+
id?: Prisma.SortOrder
|
|
264
|
+
title?: Prisma.SortOrder
|
|
265
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
266
|
+
status?: Prisma.SortOrder
|
|
267
|
+
priority?: Prisma.SortOrder
|
|
268
|
+
dueDate?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
269
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
270
|
+
createdAt?: Prisma.SortOrder
|
|
271
|
+
updatedAt?: Prisma.SortOrder
|
|
272
|
+
projectId?: Prisma.SortOrder
|
|
273
|
+
_count?: Prisma.TaskCountOrderByAggregateInput
|
|
274
|
+
_max?: Prisma.TaskMaxOrderByAggregateInput
|
|
275
|
+
_min?: Prisma.TaskMinOrderByAggregateInput
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export type TaskScalarWhereWithAggregatesInput = {
|
|
279
|
+
AND?: Prisma.TaskScalarWhereWithAggregatesInput | Prisma.TaskScalarWhereWithAggregatesInput[]
|
|
280
|
+
OR?: Prisma.TaskScalarWhereWithAggregatesInput[]
|
|
281
|
+
NOT?: Prisma.TaskScalarWhereWithAggregatesInput | Prisma.TaskScalarWhereWithAggregatesInput[]
|
|
282
|
+
id?: Prisma.StringWithAggregatesFilter<"Task"> | string
|
|
283
|
+
title?: Prisma.StringWithAggregatesFilter<"Task"> | string
|
|
284
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"Task"> | string | null
|
|
285
|
+
status?: Prisma.StringWithAggregatesFilter<"Task"> | string
|
|
286
|
+
priority?: Prisma.StringWithAggregatesFilter<"Task"> | string
|
|
287
|
+
dueDate?: Prisma.DateTimeNullableWithAggregatesFilter<"Task"> | Date | string | null
|
|
288
|
+
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Task"> | Date | string | null
|
|
289
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Task"> | Date | string
|
|
290
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Task"> | Date | string
|
|
291
|
+
projectId?: Prisma.StringWithAggregatesFilter<"Task"> | string
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type TaskCreateInput = {
|
|
295
|
+
id?: string
|
|
296
|
+
title: string
|
|
297
|
+
description?: string | null
|
|
298
|
+
status?: string
|
|
299
|
+
priority?: string
|
|
300
|
+
dueDate?: Date | string | null
|
|
301
|
+
completedAt?: Date | string | null
|
|
302
|
+
createdAt?: Date | string
|
|
303
|
+
updatedAt?: Date | string
|
|
304
|
+
project: Prisma.ProjectCreateNestedOneWithoutTasksInput
|
|
305
|
+
tags?: Prisma.TaskTagCreateNestedManyWithoutTaskInput
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export type TaskUncheckedCreateInput = {
|
|
309
|
+
id?: string
|
|
310
|
+
title: string
|
|
311
|
+
description?: string | null
|
|
312
|
+
status?: string
|
|
313
|
+
priority?: string
|
|
314
|
+
dueDate?: Date | string | null
|
|
315
|
+
completedAt?: Date | string | null
|
|
316
|
+
createdAt?: Date | string
|
|
317
|
+
updatedAt?: Date | string
|
|
318
|
+
projectId: string
|
|
319
|
+
tags?: Prisma.TaskTagUncheckedCreateNestedManyWithoutTaskInput
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export type TaskUpdateInput = {
|
|
323
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
324
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
325
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
326
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
327
|
+
priority?: Prisma.StringFieldUpdateOperationsInput | string
|
|
328
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
329
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
330
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
331
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
332
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutTasksNestedInput
|
|
333
|
+
tags?: Prisma.TaskTagUpdateManyWithoutTaskNestedInput
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export type TaskUncheckedUpdateInput = {
|
|
337
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
338
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
339
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
340
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
341
|
+
priority?: Prisma.StringFieldUpdateOperationsInput | string
|
|
342
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
343
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
344
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
345
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
346
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
347
|
+
tags?: Prisma.TaskTagUncheckedUpdateManyWithoutTaskNestedInput
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export type TaskCreateManyInput = {
|
|
351
|
+
id?: string
|
|
352
|
+
title: string
|
|
353
|
+
description?: string | null
|
|
354
|
+
status?: string
|
|
355
|
+
priority?: string
|
|
356
|
+
dueDate?: Date | string | null
|
|
357
|
+
completedAt?: Date | string | null
|
|
358
|
+
createdAt?: Date | string
|
|
359
|
+
updatedAt?: Date | string
|
|
360
|
+
projectId: string
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export type TaskUpdateManyMutationInput = {
|
|
364
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
365
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
366
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
367
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
368
|
+
priority?: Prisma.StringFieldUpdateOperationsInput | string
|
|
369
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
370
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
371
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
372
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export type TaskUncheckedUpdateManyInput = {
|
|
376
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
377
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
378
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
379
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
380
|
+
priority?: Prisma.StringFieldUpdateOperationsInput | string
|
|
381
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
382
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
383
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
384
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
385
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export type TaskListRelationFilter = {
|
|
389
|
+
every?: Prisma.TaskWhereInput
|
|
390
|
+
some?: Prisma.TaskWhereInput
|
|
391
|
+
none?: Prisma.TaskWhereInput
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type TaskOrderByRelationAggregateInput = {
|
|
395
|
+
_count?: Prisma.SortOrder
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export type TaskCountOrderByAggregateInput = {
|
|
399
|
+
id?: Prisma.SortOrder
|
|
400
|
+
title?: Prisma.SortOrder
|
|
401
|
+
description?: Prisma.SortOrder
|
|
402
|
+
status?: Prisma.SortOrder
|
|
403
|
+
priority?: Prisma.SortOrder
|
|
404
|
+
dueDate?: Prisma.SortOrder
|
|
405
|
+
completedAt?: Prisma.SortOrder
|
|
406
|
+
createdAt?: Prisma.SortOrder
|
|
407
|
+
updatedAt?: Prisma.SortOrder
|
|
408
|
+
projectId?: Prisma.SortOrder
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export type TaskMaxOrderByAggregateInput = {
|
|
412
|
+
id?: Prisma.SortOrder
|
|
413
|
+
title?: Prisma.SortOrder
|
|
414
|
+
description?: Prisma.SortOrder
|
|
415
|
+
status?: Prisma.SortOrder
|
|
416
|
+
priority?: Prisma.SortOrder
|
|
417
|
+
dueDate?: Prisma.SortOrder
|
|
418
|
+
completedAt?: Prisma.SortOrder
|
|
419
|
+
createdAt?: Prisma.SortOrder
|
|
420
|
+
updatedAt?: Prisma.SortOrder
|
|
421
|
+
projectId?: Prisma.SortOrder
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export type TaskMinOrderByAggregateInput = {
|
|
425
|
+
id?: Prisma.SortOrder
|
|
426
|
+
title?: Prisma.SortOrder
|
|
427
|
+
description?: Prisma.SortOrder
|
|
428
|
+
status?: Prisma.SortOrder
|
|
429
|
+
priority?: Prisma.SortOrder
|
|
430
|
+
dueDate?: Prisma.SortOrder
|
|
431
|
+
completedAt?: Prisma.SortOrder
|
|
432
|
+
createdAt?: Prisma.SortOrder
|
|
433
|
+
updatedAt?: Prisma.SortOrder
|
|
434
|
+
projectId?: Prisma.SortOrder
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type TaskScalarRelationFilter = {
|
|
438
|
+
is?: Prisma.TaskWhereInput
|
|
439
|
+
isNot?: Prisma.TaskWhereInput
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export type TaskCreateNestedManyWithoutProjectInput = {
|
|
443
|
+
create?: Prisma.XOR<Prisma.TaskCreateWithoutProjectInput, Prisma.TaskUncheckedCreateWithoutProjectInput> | Prisma.TaskCreateWithoutProjectInput[] | Prisma.TaskUncheckedCreateWithoutProjectInput[]
|
|
444
|
+
connectOrCreate?: Prisma.TaskCreateOrConnectWithoutProjectInput | Prisma.TaskCreateOrConnectWithoutProjectInput[]
|
|
445
|
+
createMany?: Prisma.TaskCreateManyProjectInputEnvelope
|
|
446
|
+
connect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export type TaskUncheckedCreateNestedManyWithoutProjectInput = {
|
|
450
|
+
create?: Prisma.XOR<Prisma.TaskCreateWithoutProjectInput, Prisma.TaskUncheckedCreateWithoutProjectInput> | Prisma.TaskCreateWithoutProjectInput[] | Prisma.TaskUncheckedCreateWithoutProjectInput[]
|
|
451
|
+
connectOrCreate?: Prisma.TaskCreateOrConnectWithoutProjectInput | Prisma.TaskCreateOrConnectWithoutProjectInput[]
|
|
452
|
+
createMany?: Prisma.TaskCreateManyProjectInputEnvelope
|
|
453
|
+
connect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export type TaskUpdateManyWithoutProjectNestedInput = {
|
|
457
|
+
create?: Prisma.XOR<Prisma.TaskCreateWithoutProjectInput, Prisma.TaskUncheckedCreateWithoutProjectInput> | Prisma.TaskCreateWithoutProjectInput[] | Prisma.TaskUncheckedCreateWithoutProjectInput[]
|
|
458
|
+
connectOrCreate?: Prisma.TaskCreateOrConnectWithoutProjectInput | Prisma.TaskCreateOrConnectWithoutProjectInput[]
|
|
459
|
+
upsert?: Prisma.TaskUpsertWithWhereUniqueWithoutProjectInput | Prisma.TaskUpsertWithWhereUniqueWithoutProjectInput[]
|
|
460
|
+
createMany?: Prisma.TaskCreateManyProjectInputEnvelope
|
|
461
|
+
set?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
462
|
+
disconnect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
463
|
+
delete?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
464
|
+
connect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
465
|
+
update?: Prisma.TaskUpdateWithWhereUniqueWithoutProjectInput | Prisma.TaskUpdateWithWhereUniqueWithoutProjectInput[]
|
|
466
|
+
updateMany?: Prisma.TaskUpdateManyWithWhereWithoutProjectInput | Prisma.TaskUpdateManyWithWhereWithoutProjectInput[]
|
|
467
|
+
deleteMany?: Prisma.TaskScalarWhereInput | Prisma.TaskScalarWhereInput[]
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type TaskUncheckedUpdateManyWithoutProjectNestedInput = {
|
|
471
|
+
create?: Prisma.XOR<Prisma.TaskCreateWithoutProjectInput, Prisma.TaskUncheckedCreateWithoutProjectInput> | Prisma.TaskCreateWithoutProjectInput[] | Prisma.TaskUncheckedCreateWithoutProjectInput[]
|
|
472
|
+
connectOrCreate?: Prisma.TaskCreateOrConnectWithoutProjectInput | Prisma.TaskCreateOrConnectWithoutProjectInput[]
|
|
473
|
+
upsert?: Prisma.TaskUpsertWithWhereUniqueWithoutProjectInput | Prisma.TaskUpsertWithWhereUniqueWithoutProjectInput[]
|
|
474
|
+
createMany?: Prisma.TaskCreateManyProjectInputEnvelope
|
|
475
|
+
set?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
476
|
+
disconnect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
477
|
+
delete?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
478
|
+
connect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[]
|
|
479
|
+
update?: Prisma.TaskUpdateWithWhereUniqueWithoutProjectInput | Prisma.TaskUpdateWithWhereUniqueWithoutProjectInput[]
|
|
480
|
+
updateMany?: Prisma.TaskUpdateManyWithWhereWithoutProjectInput | Prisma.TaskUpdateManyWithWhereWithoutProjectInput[]
|
|
481
|
+
deleteMany?: Prisma.TaskScalarWhereInput | Prisma.TaskScalarWhereInput[]
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export type TaskCreateNestedOneWithoutTagsInput = {
|
|
485
|
+
create?: Prisma.XOR<Prisma.TaskCreateWithoutTagsInput, Prisma.TaskUncheckedCreateWithoutTagsInput>
|
|
486
|
+
connectOrCreate?: Prisma.TaskCreateOrConnectWithoutTagsInput
|
|
487
|
+
connect?: Prisma.TaskWhereUniqueInput
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
export type TaskUpdateOneRequiredWithoutTagsNestedInput = {
|
|
491
|
+
create?: Prisma.XOR<Prisma.TaskCreateWithoutTagsInput, Prisma.TaskUncheckedCreateWithoutTagsInput>
|
|
492
|
+
connectOrCreate?: Prisma.TaskCreateOrConnectWithoutTagsInput
|
|
493
|
+
upsert?: Prisma.TaskUpsertWithoutTagsInput
|
|
494
|
+
connect?: Prisma.TaskWhereUniqueInput
|
|
495
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.TaskUpdateToOneWithWhereWithoutTagsInput, Prisma.TaskUpdateWithoutTagsInput>, Prisma.TaskUncheckedUpdateWithoutTagsInput>
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export type TaskCreateWithoutProjectInput = {
|
|
499
|
+
id?: string
|
|
500
|
+
title: string
|
|
501
|
+
description?: string | null
|
|
502
|
+
status?: string
|
|
503
|
+
priority?: string
|
|
504
|
+
dueDate?: Date | string | null
|
|
505
|
+
completedAt?: Date | string | null
|
|
506
|
+
createdAt?: Date | string
|
|
507
|
+
updatedAt?: Date | string
|
|
508
|
+
tags?: Prisma.TaskTagCreateNestedManyWithoutTaskInput
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
export type TaskUncheckedCreateWithoutProjectInput = {
|
|
512
|
+
id?: string
|
|
513
|
+
title: string
|
|
514
|
+
description?: string | null
|
|
515
|
+
status?: string
|
|
516
|
+
priority?: string
|
|
517
|
+
dueDate?: Date | string | null
|
|
518
|
+
completedAt?: Date | string | null
|
|
519
|
+
createdAt?: Date | string
|
|
520
|
+
updatedAt?: Date | string
|
|
521
|
+
tags?: Prisma.TaskTagUncheckedCreateNestedManyWithoutTaskInput
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export type TaskCreateOrConnectWithoutProjectInput = {
|
|
525
|
+
where: Prisma.TaskWhereUniqueInput
|
|
526
|
+
create: Prisma.XOR<Prisma.TaskCreateWithoutProjectInput, Prisma.TaskUncheckedCreateWithoutProjectInput>
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export type TaskCreateManyProjectInputEnvelope = {
|
|
530
|
+
data: Prisma.TaskCreateManyProjectInput | Prisma.TaskCreateManyProjectInput[]
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
export type TaskUpsertWithWhereUniqueWithoutProjectInput = {
|
|
534
|
+
where: Prisma.TaskWhereUniqueInput
|
|
535
|
+
update: Prisma.XOR<Prisma.TaskUpdateWithoutProjectInput, Prisma.TaskUncheckedUpdateWithoutProjectInput>
|
|
536
|
+
create: Prisma.XOR<Prisma.TaskCreateWithoutProjectInput, Prisma.TaskUncheckedCreateWithoutProjectInput>
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export type TaskUpdateWithWhereUniqueWithoutProjectInput = {
|
|
540
|
+
where: Prisma.TaskWhereUniqueInput
|
|
541
|
+
data: Prisma.XOR<Prisma.TaskUpdateWithoutProjectInput, Prisma.TaskUncheckedUpdateWithoutProjectInput>
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export type TaskUpdateManyWithWhereWithoutProjectInput = {
|
|
545
|
+
where: Prisma.TaskScalarWhereInput
|
|
546
|
+
data: Prisma.XOR<Prisma.TaskUpdateManyMutationInput, Prisma.TaskUncheckedUpdateManyWithoutProjectInput>
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export type TaskScalarWhereInput = {
|
|
550
|
+
AND?: Prisma.TaskScalarWhereInput | Prisma.TaskScalarWhereInput[]
|
|
551
|
+
OR?: Prisma.TaskScalarWhereInput[]
|
|
552
|
+
NOT?: Prisma.TaskScalarWhereInput | Prisma.TaskScalarWhereInput[]
|
|
553
|
+
id?: Prisma.StringFilter<"Task"> | string
|
|
554
|
+
title?: Prisma.StringFilter<"Task"> | string
|
|
555
|
+
description?: Prisma.StringNullableFilter<"Task"> | string | null
|
|
556
|
+
status?: Prisma.StringFilter<"Task"> | string
|
|
557
|
+
priority?: Prisma.StringFilter<"Task"> | string
|
|
558
|
+
dueDate?: Prisma.DateTimeNullableFilter<"Task"> | Date | string | null
|
|
559
|
+
completedAt?: Prisma.DateTimeNullableFilter<"Task"> | Date | string | null
|
|
560
|
+
createdAt?: Prisma.DateTimeFilter<"Task"> | Date | string
|
|
561
|
+
updatedAt?: Prisma.DateTimeFilter<"Task"> | Date | string
|
|
562
|
+
projectId?: Prisma.StringFilter<"Task"> | string
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export type TaskCreateWithoutTagsInput = {
|
|
566
|
+
id?: string
|
|
567
|
+
title: string
|
|
568
|
+
description?: string | null
|
|
569
|
+
status?: string
|
|
570
|
+
priority?: string
|
|
571
|
+
dueDate?: Date | string | null
|
|
572
|
+
completedAt?: Date | string | null
|
|
573
|
+
createdAt?: Date | string
|
|
574
|
+
updatedAt?: Date | string
|
|
575
|
+
project: Prisma.ProjectCreateNestedOneWithoutTasksInput
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export type TaskUncheckedCreateWithoutTagsInput = {
|
|
579
|
+
id?: string
|
|
580
|
+
title: string
|
|
581
|
+
description?: string | null
|
|
582
|
+
status?: string
|
|
583
|
+
priority?: string
|
|
584
|
+
dueDate?: Date | string | null
|
|
585
|
+
completedAt?: Date | string | null
|
|
586
|
+
createdAt?: Date | string
|
|
587
|
+
updatedAt?: Date | string
|
|
588
|
+
projectId: string
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
export type TaskCreateOrConnectWithoutTagsInput = {
|
|
592
|
+
where: Prisma.TaskWhereUniqueInput
|
|
593
|
+
create: Prisma.XOR<Prisma.TaskCreateWithoutTagsInput, Prisma.TaskUncheckedCreateWithoutTagsInput>
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
export type TaskUpsertWithoutTagsInput = {
|
|
597
|
+
update: Prisma.XOR<Prisma.TaskUpdateWithoutTagsInput, Prisma.TaskUncheckedUpdateWithoutTagsInput>
|
|
598
|
+
create: Prisma.XOR<Prisma.TaskCreateWithoutTagsInput, Prisma.TaskUncheckedCreateWithoutTagsInput>
|
|
599
|
+
where?: Prisma.TaskWhereInput
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export type TaskUpdateToOneWithWhereWithoutTagsInput = {
|
|
603
|
+
where?: Prisma.TaskWhereInput
|
|
604
|
+
data: Prisma.XOR<Prisma.TaskUpdateWithoutTagsInput, Prisma.TaskUncheckedUpdateWithoutTagsInput>
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
export type TaskUpdateWithoutTagsInput = {
|
|
608
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
609
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
610
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
611
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
612
|
+
priority?: Prisma.StringFieldUpdateOperationsInput | string
|
|
613
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
614
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
615
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
616
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
617
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutTasksNestedInput
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export type TaskUncheckedUpdateWithoutTagsInput = {
|
|
621
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
622
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
623
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
624
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
625
|
+
priority?: Prisma.StringFieldUpdateOperationsInput | string
|
|
626
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
627
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
628
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
629
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
630
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export type TaskCreateManyProjectInput = {
|
|
634
|
+
id?: string
|
|
635
|
+
title: string
|
|
636
|
+
description?: string | null
|
|
637
|
+
status?: string
|
|
638
|
+
priority?: string
|
|
639
|
+
dueDate?: Date | string | null
|
|
640
|
+
completedAt?: Date | string | null
|
|
641
|
+
createdAt?: Date | string
|
|
642
|
+
updatedAt?: Date | string
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
export type TaskUpdateWithoutProjectInput = {
|
|
646
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
647
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
648
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
649
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
650
|
+
priority?: Prisma.StringFieldUpdateOperationsInput | string
|
|
651
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
652
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
653
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
654
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
655
|
+
tags?: Prisma.TaskTagUpdateManyWithoutTaskNestedInput
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export type TaskUncheckedUpdateWithoutProjectInput = {
|
|
659
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
660
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
661
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
662
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
663
|
+
priority?: Prisma.StringFieldUpdateOperationsInput | string
|
|
664
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
665
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
666
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
667
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
668
|
+
tags?: Prisma.TaskTagUncheckedUpdateManyWithoutTaskNestedInput
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
export type TaskUncheckedUpdateManyWithoutProjectInput = {
|
|
672
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
673
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
674
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
675
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
676
|
+
priority?: Prisma.StringFieldUpdateOperationsInput | string
|
|
677
|
+
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
678
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
679
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
680
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Count Type TaskCountOutputType
|
|
686
|
+
*/
|
|
687
|
+
|
|
688
|
+
export type TaskCountOutputType = {
|
|
689
|
+
tags: number
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export type TaskCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
693
|
+
tags?: boolean | TaskCountOutputTypeCountTagsArgs
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* TaskCountOutputType without action
|
|
698
|
+
*/
|
|
699
|
+
export type TaskCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
700
|
+
/**
|
|
701
|
+
* Select specific fields to fetch from the TaskCountOutputType
|
|
702
|
+
*/
|
|
703
|
+
select?: Prisma.TaskCountOutputTypeSelect<ExtArgs> | null
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* TaskCountOutputType without action
|
|
708
|
+
*/
|
|
709
|
+
export type TaskCountOutputTypeCountTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
710
|
+
where?: Prisma.TaskTagWhereInput
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
export type TaskSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
715
|
+
id?: boolean
|
|
716
|
+
title?: boolean
|
|
717
|
+
description?: boolean
|
|
718
|
+
status?: boolean
|
|
719
|
+
priority?: boolean
|
|
720
|
+
dueDate?: boolean
|
|
721
|
+
completedAt?: boolean
|
|
722
|
+
createdAt?: boolean
|
|
723
|
+
updatedAt?: boolean
|
|
724
|
+
projectId?: boolean
|
|
725
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
726
|
+
tags?: boolean | Prisma.Task$tagsArgs<ExtArgs>
|
|
727
|
+
_count?: boolean | Prisma.TaskCountOutputTypeDefaultArgs<ExtArgs>
|
|
728
|
+
}, ExtArgs["result"]["task"]>
|
|
729
|
+
|
|
730
|
+
export type TaskSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
731
|
+
id?: boolean
|
|
732
|
+
title?: boolean
|
|
733
|
+
description?: boolean
|
|
734
|
+
status?: boolean
|
|
735
|
+
priority?: boolean
|
|
736
|
+
dueDate?: boolean
|
|
737
|
+
completedAt?: boolean
|
|
738
|
+
createdAt?: boolean
|
|
739
|
+
updatedAt?: boolean
|
|
740
|
+
projectId?: boolean
|
|
741
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
742
|
+
}, ExtArgs["result"]["task"]>
|
|
743
|
+
|
|
744
|
+
export type TaskSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
745
|
+
id?: boolean
|
|
746
|
+
title?: boolean
|
|
747
|
+
description?: boolean
|
|
748
|
+
status?: boolean
|
|
749
|
+
priority?: boolean
|
|
750
|
+
dueDate?: boolean
|
|
751
|
+
completedAt?: boolean
|
|
752
|
+
createdAt?: boolean
|
|
753
|
+
updatedAt?: boolean
|
|
754
|
+
projectId?: boolean
|
|
755
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
756
|
+
}, ExtArgs["result"]["task"]>
|
|
757
|
+
|
|
758
|
+
export type TaskSelectScalar = {
|
|
759
|
+
id?: boolean
|
|
760
|
+
title?: boolean
|
|
761
|
+
description?: boolean
|
|
762
|
+
status?: boolean
|
|
763
|
+
priority?: boolean
|
|
764
|
+
dueDate?: boolean
|
|
765
|
+
completedAt?: boolean
|
|
766
|
+
createdAt?: boolean
|
|
767
|
+
updatedAt?: boolean
|
|
768
|
+
projectId?: boolean
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
export type TaskOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "title" | "description" | "status" | "priority" | "dueDate" | "completedAt" | "createdAt" | "updatedAt" | "projectId", ExtArgs["result"]["task"]>
|
|
772
|
+
export type TaskInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
773
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
774
|
+
tags?: boolean | Prisma.Task$tagsArgs<ExtArgs>
|
|
775
|
+
_count?: boolean | Prisma.TaskCountOutputTypeDefaultArgs<ExtArgs>
|
|
776
|
+
}
|
|
777
|
+
export type TaskIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
778
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
779
|
+
}
|
|
780
|
+
export type TaskIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
781
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
export type $TaskPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
785
|
+
name: "Task"
|
|
786
|
+
objects: {
|
|
787
|
+
project: Prisma.$ProjectPayload<ExtArgs>
|
|
788
|
+
tags: Prisma.$TaskTagPayload<ExtArgs>[]
|
|
789
|
+
}
|
|
790
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
791
|
+
id: string
|
|
792
|
+
title: string
|
|
793
|
+
description: string | null
|
|
794
|
+
status: string
|
|
795
|
+
priority: string
|
|
796
|
+
dueDate: Date | null
|
|
797
|
+
completedAt: Date | null
|
|
798
|
+
createdAt: Date
|
|
799
|
+
updatedAt: Date
|
|
800
|
+
projectId: string
|
|
801
|
+
}, ExtArgs["result"]["task"]>
|
|
802
|
+
composites: {}
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export type TaskGetPayload<S extends boolean | null | undefined | TaskDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TaskPayload, S>
|
|
806
|
+
|
|
807
|
+
export type TaskCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
808
|
+
Omit<TaskFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
809
|
+
select?: TaskCountAggregateInputType | true
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export interface TaskDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
813
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Task'], meta: { name: 'Task' } }
|
|
814
|
+
/**
|
|
815
|
+
* Find zero or one Task that matches the filter.
|
|
816
|
+
* @param {TaskFindUniqueArgs} args - Arguments to find a Task
|
|
817
|
+
* @example
|
|
818
|
+
* // Get one Task
|
|
819
|
+
* const task = await prisma.task.findUnique({
|
|
820
|
+
* where: {
|
|
821
|
+
* // ... provide filter here
|
|
822
|
+
* }
|
|
823
|
+
* })
|
|
824
|
+
*/
|
|
825
|
+
findUnique<T extends TaskFindUniqueArgs>(args: Prisma.SelectSubset<T, TaskFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Find one Task that matches the filter or throw an error with `error.code='P2025'`
|
|
829
|
+
* if no matches were found.
|
|
830
|
+
* @param {TaskFindUniqueOrThrowArgs} args - Arguments to find a Task
|
|
831
|
+
* @example
|
|
832
|
+
* // Get one Task
|
|
833
|
+
* const task = await prisma.task.findUniqueOrThrow({
|
|
834
|
+
* where: {
|
|
835
|
+
* // ... provide filter here
|
|
836
|
+
* }
|
|
837
|
+
* })
|
|
838
|
+
*/
|
|
839
|
+
findUniqueOrThrow<T extends TaskFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TaskFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* Find the first Task that matches the filter.
|
|
843
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
844
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
845
|
+
* @param {TaskFindFirstArgs} args - Arguments to find a Task
|
|
846
|
+
* @example
|
|
847
|
+
* // Get one Task
|
|
848
|
+
* const task = await prisma.task.findFirst({
|
|
849
|
+
* where: {
|
|
850
|
+
* // ... provide filter here
|
|
851
|
+
* }
|
|
852
|
+
* })
|
|
853
|
+
*/
|
|
854
|
+
findFirst<T extends TaskFindFirstArgs>(args?: Prisma.SelectSubset<T, TaskFindFirstArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Find the first Task that matches the filter or
|
|
858
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
859
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
860
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
861
|
+
* @param {TaskFindFirstOrThrowArgs} args - Arguments to find a Task
|
|
862
|
+
* @example
|
|
863
|
+
* // Get one Task
|
|
864
|
+
* const task = await prisma.task.findFirstOrThrow({
|
|
865
|
+
* where: {
|
|
866
|
+
* // ... provide filter here
|
|
867
|
+
* }
|
|
868
|
+
* })
|
|
869
|
+
*/
|
|
870
|
+
findFirstOrThrow<T extends TaskFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TaskFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* Find zero or more Tasks that matches the filter.
|
|
874
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
875
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
876
|
+
* @param {TaskFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
877
|
+
* @example
|
|
878
|
+
* // Get all Tasks
|
|
879
|
+
* const tasks = await prisma.task.findMany()
|
|
880
|
+
*
|
|
881
|
+
* // Get first 10 Tasks
|
|
882
|
+
* const tasks = await prisma.task.findMany({ take: 10 })
|
|
883
|
+
*
|
|
884
|
+
* // Only select the `id`
|
|
885
|
+
* const taskWithIdOnly = await prisma.task.findMany({ select: { id: true } })
|
|
886
|
+
*
|
|
887
|
+
*/
|
|
888
|
+
findMany<T extends TaskFindManyArgs>(args?: Prisma.SelectSubset<T, TaskFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Create a Task.
|
|
892
|
+
* @param {TaskCreateArgs} args - Arguments to create a Task.
|
|
893
|
+
* @example
|
|
894
|
+
* // Create one Task
|
|
895
|
+
* const Task = await prisma.task.create({
|
|
896
|
+
* data: {
|
|
897
|
+
* // ... data to create a Task
|
|
898
|
+
* }
|
|
899
|
+
* })
|
|
900
|
+
*
|
|
901
|
+
*/
|
|
902
|
+
create<T extends TaskCreateArgs>(args: Prisma.SelectSubset<T, TaskCreateArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* Create many Tasks.
|
|
906
|
+
* @param {TaskCreateManyArgs} args - Arguments to create many Tasks.
|
|
907
|
+
* @example
|
|
908
|
+
* // Create many Tasks
|
|
909
|
+
* const task = await prisma.task.createMany({
|
|
910
|
+
* data: [
|
|
911
|
+
* // ... provide data here
|
|
912
|
+
* ]
|
|
913
|
+
* })
|
|
914
|
+
*
|
|
915
|
+
*/
|
|
916
|
+
createMany<T extends TaskCreateManyArgs>(args?: Prisma.SelectSubset<T, TaskCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Create many Tasks and returns the data saved in the database.
|
|
920
|
+
* @param {TaskCreateManyAndReturnArgs} args - Arguments to create many Tasks.
|
|
921
|
+
* @example
|
|
922
|
+
* // Create many Tasks
|
|
923
|
+
* const task = await prisma.task.createManyAndReturn({
|
|
924
|
+
* data: [
|
|
925
|
+
* // ... provide data here
|
|
926
|
+
* ]
|
|
927
|
+
* })
|
|
928
|
+
*
|
|
929
|
+
* // Create many Tasks and only return the `id`
|
|
930
|
+
* const taskWithIdOnly = await prisma.task.createManyAndReturn({
|
|
931
|
+
* select: { id: true },
|
|
932
|
+
* data: [
|
|
933
|
+
* // ... provide data here
|
|
934
|
+
* ]
|
|
935
|
+
* })
|
|
936
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
937
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
938
|
+
*
|
|
939
|
+
*/
|
|
940
|
+
createManyAndReturn<T extends TaskCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TaskCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Delete a Task.
|
|
944
|
+
* @param {TaskDeleteArgs} args - Arguments to delete one Task.
|
|
945
|
+
* @example
|
|
946
|
+
* // Delete one Task
|
|
947
|
+
* const Task = await prisma.task.delete({
|
|
948
|
+
* where: {
|
|
949
|
+
* // ... filter to delete one Task
|
|
950
|
+
* }
|
|
951
|
+
* })
|
|
952
|
+
*
|
|
953
|
+
*/
|
|
954
|
+
delete<T extends TaskDeleteArgs>(args: Prisma.SelectSubset<T, TaskDeleteArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* Update one Task.
|
|
958
|
+
* @param {TaskUpdateArgs} args - Arguments to update one Task.
|
|
959
|
+
* @example
|
|
960
|
+
* // Update one Task
|
|
961
|
+
* const task = await prisma.task.update({
|
|
962
|
+
* where: {
|
|
963
|
+
* // ... provide filter here
|
|
964
|
+
* },
|
|
965
|
+
* data: {
|
|
966
|
+
* // ... provide data here
|
|
967
|
+
* }
|
|
968
|
+
* })
|
|
969
|
+
*
|
|
970
|
+
*/
|
|
971
|
+
update<T extends TaskUpdateArgs>(args: Prisma.SelectSubset<T, TaskUpdateArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* Delete zero or more Tasks.
|
|
975
|
+
* @param {TaskDeleteManyArgs} args - Arguments to filter Tasks to delete.
|
|
976
|
+
* @example
|
|
977
|
+
* // Delete a few Tasks
|
|
978
|
+
* const { count } = await prisma.task.deleteMany({
|
|
979
|
+
* where: {
|
|
980
|
+
* // ... provide filter here
|
|
981
|
+
* }
|
|
982
|
+
* })
|
|
983
|
+
*
|
|
984
|
+
*/
|
|
985
|
+
deleteMany<T extends TaskDeleteManyArgs>(args?: Prisma.SelectSubset<T, TaskDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* Update zero or more Tasks.
|
|
989
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
990
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
991
|
+
* @param {TaskUpdateManyArgs} args - Arguments to update one or more rows.
|
|
992
|
+
* @example
|
|
993
|
+
* // Update many Tasks
|
|
994
|
+
* const task = await prisma.task.updateMany({
|
|
995
|
+
* where: {
|
|
996
|
+
* // ... provide filter here
|
|
997
|
+
* },
|
|
998
|
+
* data: {
|
|
999
|
+
* // ... provide data here
|
|
1000
|
+
* }
|
|
1001
|
+
* })
|
|
1002
|
+
*
|
|
1003
|
+
*/
|
|
1004
|
+
updateMany<T extends TaskUpdateManyArgs>(args: Prisma.SelectSubset<T, TaskUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* Update zero or more Tasks and returns the data updated in the database.
|
|
1008
|
+
* @param {TaskUpdateManyAndReturnArgs} args - Arguments to update many Tasks.
|
|
1009
|
+
* @example
|
|
1010
|
+
* // Update many Tasks
|
|
1011
|
+
* const task = await prisma.task.updateManyAndReturn({
|
|
1012
|
+
* where: {
|
|
1013
|
+
* // ... provide filter here
|
|
1014
|
+
* },
|
|
1015
|
+
* data: [
|
|
1016
|
+
* // ... provide data here
|
|
1017
|
+
* ]
|
|
1018
|
+
* })
|
|
1019
|
+
*
|
|
1020
|
+
* // Update zero or more Tasks and only return the `id`
|
|
1021
|
+
* const taskWithIdOnly = await prisma.task.updateManyAndReturn({
|
|
1022
|
+
* select: { id: true },
|
|
1023
|
+
* where: {
|
|
1024
|
+
* // ... provide filter here
|
|
1025
|
+
* },
|
|
1026
|
+
* data: [
|
|
1027
|
+
* // ... provide data here
|
|
1028
|
+
* ]
|
|
1029
|
+
* })
|
|
1030
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1031
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1032
|
+
*
|
|
1033
|
+
*/
|
|
1034
|
+
updateManyAndReturn<T extends TaskUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TaskUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Create or update one Task.
|
|
1038
|
+
* @param {TaskUpsertArgs} args - Arguments to update or create a Task.
|
|
1039
|
+
* @example
|
|
1040
|
+
* // Update or create a Task
|
|
1041
|
+
* const task = await prisma.task.upsert({
|
|
1042
|
+
* create: {
|
|
1043
|
+
* // ... data to create a Task
|
|
1044
|
+
* },
|
|
1045
|
+
* update: {
|
|
1046
|
+
* // ... in case it already exists, update
|
|
1047
|
+
* },
|
|
1048
|
+
* where: {
|
|
1049
|
+
* // ... the filter for the Task we want to update
|
|
1050
|
+
* }
|
|
1051
|
+
* })
|
|
1052
|
+
*/
|
|
1053
|
+
upsert<T extends TaskUpsertArgs>(args: Prisma.SelectSubset<T, TaskUpsertArgs<ExtArgs>>): Prisma.Prisma__TaskClient<runtime.Types.Result.GetResult<Prisma.$TaskPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Count the number of Tasks.
|
|
1058
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1059
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1060
|
+
* @param {TaskCountArgs} args - Arguments to filter Tasks to count.
|
|
1061
|
+
* @example
|
|
1062
|
+
* // Count the number of Tasks
|
|
1063
|
+
* const count = await prisma.task.count({
|
|
1064
|
+
* where: {
|
|
1065
|
+
* // ... the filter for the Tasks we want to count
|
|
1066
|
+
* }
|
|
1067
|
+
* })
|
|
1068
|
+
**/
|
|
1069
|
+
count<T extends TaskCountArgs>(
|
|
1070
|
+
args?: Prisma.Subset<T, TaskCountArgs>,
|
|
1071
|
+
): Prisma.PrismaPromise<
|
|
1072
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1073
|
+
? T['select'] extends true
|
|
1074
|
+
? number
|
|
1075
|
+
: Prisma.GetScalarType<T['select'], TaskCountAggregateOutputType>
|
|
1076
|
+
: number
|
|
1077
|
+
>
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Allows you to perform aggregations operations on a Task.
|
|
1081
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1082
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1083
|
+
* @param {TaskAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1084
|
+
* @example
|
|
1085
|
+
* // Ordered by age ascending
|
|
1086
|
+
* // Where email contains prisma.io
|
|
1087
|
+
* // Limited to the 10 users
|
|
1088
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1089
|
+
* _avg: {
|
|
1090
|
+
* age: true,
|
|
1091
|
+
* },
|
|
1092
|
+
* where: {
|
|
1093
|
+
* email: {
|
|
1094
|
+
* contains: "prisma.io",
|
|
1095
|
+
* },
|
|
1096
|
+
* },
|
|
1097
|
+
* orderBy: {
|
|
1098
|
+
* age: "asc",
|
|
1099
|
+
* },
|
|
1100
|
+
* take: 10,
|
|
1101
|
+
* })
|
|
1102
|
+
**/
|
|
1103
|
+
aggregate<T extends TaskAggregateArgs>(args: Prisma.Subset<T, TaskAggregateArgs>): Prisma.PrismaPromise<GetTaskAggregateType<T>>
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* Group by Task.
|
|
1107
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1108
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1109
|
+
* @param {TaskGroupByArgs} args - Group by arguments.
|
|
1110
|
+
* @example
|
|
1111
|
+
* // Group by city, order by createdAt, get count
|
|
1112
|
+
* const result = await prisma.user.groupBy({
|
|
1113
|
+
* by: ['city', 'createdAt'],
|
|
1114
|
+
* orderBy: {
|
|
1115
|
+
* createdAt: true
|
|
1116
|
+
* },
|
|
1117
|
+
* _count: {
|
|
1118
|
+
* _all: true
|
|
1119
|
+
* },
|
|
1120
|
+
* })
|
|
1121
|
+
*
|
|
1122
|
+
**/
|
|
1123
|
+
groupBy<
|
|
1124
|
+
T extends TaskGroupByArgs,
|
|
1125
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1126
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1127
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1128
|
+
>,
|
|
1129
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1130
|
+
? { orderBy: TaskGroupByArgs['orderBy'] }
|
|
1131
|
+
: { orderBy?: TaskGroupByArgs['orderBy'] },
|
|
1132
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1133
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1134
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1135
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1136
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1137
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1138
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1139
|
+
? `Error: "by" must not be empty.`
|
|
1140
|
+
: HavingValid extends Prisma.False
|
|
1141
|
+
? {
|
|
1142
|
+
[P in HavingFields]: P extends ByFields
|
|
1143
|
+
? never
|
|
1144
|
+
: P extends string
|
|
1145
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1146
|
+
: [
|
|
1147
|
+
Error,
|
|
1148
|
+
'Field ',
|
|
1149
|
+
P,
|
|
1150
|
+
` in "having" needs to be provided in "by"`,
|
|
1151
|
+
]
|
|
1152
|
+
}[HavingFields]
|
|
1153
|
+
: 'take' extends Prisma.Keys<T>
|
|
1154
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1155
|
+
? ByValid extends Prisma.True
|
|
1156
|
+
? {}
|
|
1157
|
+
: {
|
|
1158
|
+
[P in OrderFields]: P extends ByFields
|
|
1159
|
+
? never
|
|
1160
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1161
|
+
}[OrderFields]
|
|
1162
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1163
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1164
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1165
|
+
? ByValid extends Prisma.True
|
|
1166
|
+
? {}
|
|
1167
|
+
: {
|
|
1168
|
+
[P in OrderFields]: P extends ByFields
|
|
1169
|
+
? never
|
|
1170
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1171
|
+
}[OrderFields]
|
|
1172
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1173
|
+
: ByValid extends Prisma.True
|
|
1174
|
+
? {}
|
|
1175
|
+
: {
|
|
1176
|
+
[P in OrderFields]: P extends ByFields
|
|
1177
|
+
? never
|
|
1178
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1179
|
+
}[OrderFields]
|
|
1180
|
+
>(args: Prisma.SubsetIntersection<T, TaskGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTaskGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1181
|
+
/**
|
|
1182
|
+
* Fields of the Task model
|
|
1183
|
+
*/
|
|
1184
|
+
readonly fields: TaskFieldRefs;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* The delegate class that acts as a "Promise-like" for Task.
|
|
1189
|
+
* Why is this prefixed with `Prisma__`?
|
|
1190
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1191
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1192
|
+
*/
|
|
1193
|
+
export interface Prisma__TaskClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1194
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1195
|
+
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>
|
|
1196
|
+
tags<T extends Prisma.Task$tagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Task$tagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TaskTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1197
|
+
/**
|
|
1198
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1199
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1200
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1201
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1202
|
+
*/
|
|
1203
|
+
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>
|
|
1204
|
+
/**
|
|
1205
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1206
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1207
|
+
* @returns A Promise for the completion of the callback.
|
|
1208
|
+
*/
|
|
1209
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1210
|
+
/**
|
|
1211
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1212
|
+
* resolved value cannot be modified from the callback.
|
|
1213
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1214
|
+
* @returns A Promise for the completion of the callback.
|
|
1215
|
+
*/
|
|
1216
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* Fields of the Task model
|
|
1224
|
+
*/
|
|
1225
|
+
export interface TaskFieldRefs {
|
|
1226
|
+
readonly id: Prisma.FieldRef<"Task", 'String'>
|
|
1227
|
+
readonly title: Prisma.FieldRef<"Task", 'String'>
|
|
1228
|
+
readonly description: Prisma.FieldRef<"Task", 'String'>
|
|
1229
|
+
readonly status: Prisma.FieldRef<"Task", 'String'>
|
|
1230
|
+
readonly priority: Prisma.FieldRef<"Task", 'String'>
|
|
1231
|
+
readonly dueDate: Prisma.FieldRef<"Task", 'DateTime'>
|
|
1232
|
+
readonly completedAt: Prisma.FieldRef<"Task", 'DateTime'>
|
|
1233
|
+
readonly createdAt: Prisma.FieldRef<"Task", 'DateTime'>
|
|
1234
|
+
readonly updatedAt: Prisma.FieldRef<"Task", 'DateTime'>
|
|
1235
|
+
readonly projectId: Prisma.FieldRef<"Task", 'String'>
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
// Custom InputTypes
|
|
1240
|
+
/**
|
|
1241
|
+
* Task findUnique
|
|
1242
|
+
*/
|
|
1243
|
+
export type TaskFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1244
|
+
/**
|
|
1245
|
+
* Select specific fields to fetch from the Task
|
|
1246
|
+
*/
|
|
1247
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1248
|
+
/**
|
|
1249
|
+
* Omit specific fields from the Task
|
|
1250
|
+
*/
|
|
1251
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1252
|
+
/**
|
|
1253
|
+
* Choose, which related nodes to fetch as well
|
|
1254
|
+
*/
|
|
1255
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1256
|
+
/**
|
|
1257
|
+
* Filter, which Task to fetch.
|
|
1258
|
+
*/
|
|
1259
|
+
where: Prisma.TaskWhereUniqueInput
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* Task findUniqueOrThrow
|
|
1264
|
+
*/
|
|
1265
|
+
export type TaskFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1266
|
+
/**
|
|
1267
|
+
* Select specific fields to fetch from the Task
|
|
1268
|
+
*/
|
|
1269
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1270
|
+
/**
|
|
1271
|
+
* Omit specific fields from the Task
|
|
1272
|
+
*/
|
|
1273
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1274
|
+
/**
|
|
1275
|
+
* Choose, which related nodes to fetch as well
|
|
1276
|
+
*/
|
|
1277
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1278
|
+
/**
|
|
1279
|
+
* Filter, which Task to fetch.
|
|
1280
|
+
*/
|
|
1281
|
+
where: Prisma.TaskWhereUniqueInput
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Task findFirst
|
|
1286
|
+
*/
|
|
1287
|
+
export type TaskFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1288
|
+
/**
|
|
1289
|
+
* Select specific fields to fetch from the Task
|
|
1290
|
+
*/
|
|
1291
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1292
|
+
/**
|
|
1293
|
+
* Omit specific fields from the Task
|
|
1294
|
+
*/
|
|
1295
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1296
|
+
/**
|
|
1297
|
+
* Choose, which related nodes to fetch as well
|
|
1298
|
+
*/
|
|
1299
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1300
|
+
/**
|
|
1301
|
+
* Filter, which Task to fetch.
|
|
1302
|
+
*/
|
|
1303
|
+
where?: Prisma.TaskWhereInput
|
|
1304
|
+
/**
|
|
1305
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1306
|
+
*
|
|
1307
|
+
* Determine the order of Tasks to fetch.
|
|
1308
|
+
*/
|
|
1309
|
+
orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[]
|
|
1310
|
+
/**
|
|
1311
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1312
|
+
*
|
|
1313
|
+
* Sets the position for searching for Tasks.
|
|
1314
|
+
*/
|
|
1315
|
+
cursor?: Prisma.TaskWhereUniqueInput
|
|
1316
|
+
/**
|
|
1317
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1318
|
+
*
|
|
1319
|
+
* Take `±n` Tasks from the position of the cursor.
|
|
1320
|
+
*/
|
|
1321
|
+
take?: number
|
|
1322
|
+
/**
|
|
1323
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1324
|
+
*
|
|
1325
|
+
* Skip the first `n` Tasks.
|
|
1326
|
+
*/
|
|
1327
|
+
skip?: number
|
|
1328
|
+
/**
|
|
1329
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1330
|
+
*
|
|
1331
|
+
* Filter by unique combinations of Tasks.
|
|
1332
|
+
*/
|
|
1333
|
+
distinct?: Prisma.TaskScalarFieldEnum | Prisma.TaskScalarFieldEnum[]
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* Task findFirstOrThrow
|
|
1338
|
+
*/
|
|
1339
|
+
export type TaskFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1340
|
+
/**
|
|
1341
|
+
* Select specific fields to fetch from the Task
|
|
1342
|
+
*/
|
|
1343
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1344
|
+
/**
|
|
1345
|
+
* Omit specific fields from the Task
|
|
1346
|
+
*/
|
|
1347
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1348
|
+
/**
|
|
1349
|
+
* Choose, which related nodes to fetch as well
|
|
1350
|
+
*/
|
|
1351
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1352
|
+
/**
|
|
1353
|
+
* Filter, which Task to fetch.
|
|
1354
|
+
*/
|
|
1355
|
+
where?: Prisma.TaskWhereInput
|
|
1356
|
+
/**
|
|
1357
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1358
|
+
*
|
|
1359
|
+
* Determine the order of Tasks to fetch.
|
|
1360
|
+
*/
|
|
1361
|
+
orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[]
|
|
1362
|
+
/**
|
|
1363
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1364
|
+
*
|
|
1365
|
+
* Sets the position for searching for Tasks.
|
|
1366
|
+
*/
|
|
1367
|
+
cursor?: Prisma.TaskWhereUniqueInput
|
|
1368
|
+
/**
|
|
1369
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1370
|
+
*
|
|
1371
|
+
* Take `±n` Tasks from the position of the cursor.
|
|
1372
|
+
*/
|
|
1373
|
+
take?: number
|
|
1374
|
+
/**
|
|
1375
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1376
|
+
*
|
|
1377
|
+
* Skip the first `n` Tasks.
|
|
1378
|
+
*/
|
|
1379
|
+
skip?: number
|
|
1380
|
+
/**
|
|
1381
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1382
|
+
*
|
|
1383
|
+
* Filter by unique combinations of Tasks.
|
|
1384
|
+
*/
|
|
1385
|
+
distinct?: Prisma.TaskScalarFieldEnum | Prisma.TaskScalarFieldEnum[]
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Task findMany
|
|
1390
|
+
*/
|
|
1391
|
+
export type TaskFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1392
|
+
/**
|
|
1393
|
+
* Select specific fields to fetch from the Task
|
|
1394
|
+
*/
|
|
1395
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1396
|
+
/**
|
|
1397
|
+
* Omit specific fields from the Task
|
|
1398
|
+
*/
|
|
1399
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1400
|
+
/**
|
|
1401
|
+
* Choose, which related nodes to fetch as well
|
|
1402
|
+
*/
|
|
1403
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1404
|
+
/**
|
|
1405
|
+
* Filter, which Tasks to fetch.
|
|
1406
|
+
*/
|
|
1407
|
+
where?: Prisma.TaskWhereInput
|
|
1408
|
+
/**
|
|
1409
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1410
|
+
*
|
|
1411
|
+
* Determine the order of Tasks to fetch.
|
|
1412
|
+
*/
|
|
1413
|
+
orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[]
|
|
1414
|
+
/**
|
|
1415
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1416
|
+
*
|
|
1417
|
+
* Sets the position for listing Tasks.
|
|
1418
|
+
*/
|
|
1419
|
+
cursor?: Prisma.TaskWhereUniqueInput
|
|
1420
|
+
/**
|
|
1421
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1422
|
+
*
|
|
1423
|
+
* Take `±n` Tasks from the position of the cursor.
|
|
1424
|
+
*/
|
|
1425
|
+
take?: number
|
|
1426
|
+
/**
|
|
1427
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1428
|
+
*
|
|
1429
|
+
* Skip the first `n` Tasks.
|
|
1430
|
+
*/
|
|
1431
|
+
skip?: number
|
|
1432
|
+
distinct?: Prisma.TaskScalarFieldEnum | Prisma.TaskScalarFieldEnum[]
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* Task create
|
|
1437
|
+
*/
|
|
1438
|
+
export type TaskCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1439
|
+
/**
|
|
1440
|
+
* Select specific fields to fetch from the Task
|
|
1441
|
+
*/
|
|
1442
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1443
|
+
/**
|
|
1444
|
+
* Omit specific fields from the Task
|
|
1445
|
+
*/
|
|
1446
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1447
|
+
/**
|
|
1448
|
+
* Choose, which related nodes to fetch as well
|
|
1449
|
+
*/
|
|
1450
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1451
|
+
/**
|
|
1452
|
+
* The data needed to create a Task.
|
|
1453
|
+
*/
|
|
1454
|
+
data: Prisma.XOR<Prisma.TaskCreateInput, Prisma.TaskUncheckedCreateInput>
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* Task createMany
|
|
1459
|
+
*/
|
|
1460
|
+
export type TaskCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1461
|
+
/**
|
|
1462
|
+
* The data used to create many Tasks.
|
|
1463
|
+
*/
|
|
1464
|
+
data: Prisma.TaskCreateManyInput | Prisma.TaskCreateManyInput[]
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* Task createManyAndReturn
|
|
1469
|
+
*/
|
|
1470
|
+
export type TaskCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1471
|
+
/**
|
|
1472
|
+
* Select specific fields to fetch from the Task
|
|
1473
|
+
*/
|
|
1474
|
+
select?: Prisma.TaskSelectCreateManyAndReturn<ExtArgs> | null
|
|
1475
|
+
/**
|
|
1476
|
+
* Omit specific fields from the Task
|
|
1477
|
+
*/
|
|
1478
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1479
|
+
/**
|
|
1480
|
+
* The data used to create many Tasks.
|
|
1481
|
+
*/
|
|
1482
|
+
data: Prisma.TaskCreateManyInput | Prisma.TaskCreateManyInput[]
|
|
1483
|
+
/**
|
|
1484
|
+
* Choose, which related nodes to fetch as well
|
|
1485
|
+
*/
|
|
1486
|
+
include?: Prisma.TaskIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Task update
|
|
1491
|
+
*/
|
|
1492
|
+
export type TaskUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1493
|
+
/**
|
|
1494
|
+
* Select specific fields to fetch from the Task
|
|
1495
|
+
*/
|
|
1496
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1497
|
+
/**
|
|
1498
|
+
* Omit specific fields from the Task
|
|
1499
|
+
*/
|
|
1500
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1501
|
+
/**
|
|
1502
|
+
* Choose, which related nodes to fetch as well
|
|
1503
|
+
*/
|
|
1504
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1505
|
+
/**
|
|
1506
|
+
* The data needed to update a Task.
|
|
1507
|
+
*/
|
|
1508
|
+
data: Prisma.XOR<Prisma.TaskUpdateInput, Prisma.TaskUncheckedUpdateInput>
|
|
1509
|
+
/**
|
|
1510
|
+
* Choose, which Task to update.
|
|
1511
|
+
*/
|
|
1512
|
+
where: Prisma.TaskWhereUniqueInput
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* Task updateMany
|
|
1517
|
+
*/
|
|
1518
|
+
export type TaskUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1519
|
+
/**
|
|
1520
|
+
* The data used to update Tasks.
|
|
1521
|
+
*/
|
|
1522
|
+
data: Prisma.XOR<Prisma.TaskUpdateManyMutationInput, Prisma.TaskUncheckedUpdateManyInput>
|
|
1523
|
+
/**
|
|
1524
|
+
* Filter which Tasks to update
|
|
1525
|
+
*/
|
|
1526
|
+
where?: Prisma.TaskWhereInput
|
|
1527
|
+
/**
|
|
1528
|
+
* Limit how many Tasks to update.
|
|
1529
|
+
*/
|
|
1530
|
+
limit?: number
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* Task updateManyAndReturn
|
|
1535
|
+
*/
|
|
1536
|
+
export type TaskUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1537
|
+
/**
|
|
1538
|
+
* Select specific fields to fetch from the Task
|
|
1539
|
+
*/
|
|
1540
|
+
select?: Prisma.TaskSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1541
|
+
/**
|
|
1542
|
+
* Omit specific fields from the Task
|
|
1543
|
+
*/
|
|
1544
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1545
|
+
/**
|
|
1546
|
+
* The data used to update Tasks.
|
|
1547
|
+
*/
|
|
1548
|
+
data: Prisma.XOR<Prisma.TaskUpdateManyMutationInput, Prisma.TaskUncheckedUpdateManyInput>
|
|
1549
|
+
/**
|
|
1550
|
+
* Filter which Tasks to update
|
|
1551
|
+
*/
|
|
1552
|
+
where?: Prisma.TaskWhereInput
|
|
1553
|
+
/**
|
|
1554
|
+
* Limit how many Tasks to update.
|
|
1555
|
+
*/
|
|
1556
|
+
limit?: number
|
|
1557
|
+
/**
|
|
1558
|
+
* Choose, which related nodes to fetch as well
|
|
1559
|
+
*/
|
|
1560
|
+
include?: Prisma.TaskIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* Task upsert
|
|
1565
|
+
*/
|
|
1566
|
+
export type TaskUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1567
|
+
/**
|
|
1568
|
+
* Select specific fields to fetch from the Task
|
|
1569
|
+
*/
|
|
1570
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1571
|
+
/**
|
|
1572
|
+
* Omit specific fields from the Task
|
|
1573
|
+
*/
|
|
1574
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1575
|
+
/**
|
|
1576
|
+
* Choose, which related nodes to fetch as well
|
|
1577
|
+
*/
|
|
1578
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1579
|
+
/**
|
|
1580
|
+
* The filter to search for the Task to update in case it exists.
|
|
1581
|
+
*/
|
|
1582
|
+
where: Prisma.TaskWhereUniqueInput
|
|
1583
|
+
/**
|
|
1584
|
+
* In case the Task found by the `where` argument doesn't exist, create a new Task with this data.
|
|
1585
|
+
*/
|
|
1586
|
+
create: Prisma.XOR<Prisma.TaskCreateInput, Prisma.TaskUncheckedCreateInput>
|
|
1587
|
+
/**
|
|
1588
|
+
* In case the Task was found with the provided `where` argument, update it with this data.
|
|
1589
|
+
*/
|
|
1590
|
+
update: Prisma.XOR<Prisma.TaskUpdateInput, Prisma.TaskUncheckedUpdateInput>
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* Task delete
|
|
1595
|
+
*/
|
|
1596
|
+
export type TaskDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1597
|
+
/**
|
|
1598
|
+
* Select specific fields to fetch from the Task
|
|
1599
|
+
*/
|
|
1600
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1601
|
+
/**
|
|
1602
|
+
* Omit specific fields from the Task
|
|
1603
|
+
*/
|
|
1604
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1605
|
+
/**
|
|
1606
|
+
* Choose, which related nodes to fetch as well
|
|
1607
|
+
*/
|
|
1608
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1609
|
+
/**
|
|
1610
|
+
* Filter which Task to delete.
|
|
1611
|
+
*/
|
|
1612
|
+
where: Prisma.TaskWhereUniqueInput
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* Task deleteMany
|
|
1617
|
+
*/
|
|
1618
|
+
export type TaskDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1619
|
+
/**
|
|
1620
|
+
* Filter which Tasks to delete
|
|
1621
|
+
*/
|
|
1622
|
+
where?: Prisma.TaskWhereInput
|
|
1623
|
+
/**
|
|
1624
|
+
* Limit how many Tasks to delete.
|
|
1625
|
+
*/
|
|
1626
|
+
limit?: number
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* Task.tags
|
|
1631
|
+
*/
|
|
1632
|
+
export type Task$tagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1633
|
+
/**
|
|
1634
|
+
* Select specific fields to fetch from the TaskTag
|
|
1635
|
+
*/
|
|
1636
|
+
select?: Prisma.TaskTagSelect<ExtArgs> | null
|
|
1637
|
+
/**
|
|
1638
|
+
* Omit specific fields from the TaskTag
|
|
1639
|
+
*/
|
|
1640
|
+
omit?: Prisma.TaskTagOmit<ExtArgs> | null
|
|
1641
|
+
/**
|
|
1642
|
+
* Choose, which related nodes to fetch as well
|
|
1643
|
+
*/
|
|
1644
|
+
include?: Prisma.TaskTagInclude<ExtArgs> | null
|
|
1645
|
+
where?: Prisma.TaskTagWhereInput
|
|
1646
|
+
orderBy?: Prisma.TaskTagOrderByWithRelationInput | Prisma.TaskTagOrderByWithRelationInput[]
|
|
1647
|
+
cursor?: Prisma.TaskTagWhereUniqueInput
|
|
1648
|
+
take?: number
|
|
1649
|
+
skip?: number
|
|
1650
|
+
distinct?: Prisma.TaskTagScalarFieldEnum | Prisma.TaskTagScalarFieldEnum[]
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* Task without action
|
|
1655
|
+
*/
|
|
1656
|
+
export type TaskDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1657
|
+
/**
|
|
1658
|
+
* Select specific fields to fetch from the Task
|
|
1659
|
+
*/
|
|
1660
|
+
select?: Prisma.TaskSelect<ExtArgs> | null
|
|
1661
|
+
/**
|
|
1662
|
+
* Omit specific fields from the Task
|
|
1663
|
+
*/
|
|
1664
|
+
omit?: Prisma.TaskOmit<ExtArgs> | null
|
|
1665
|
+
/**
|
|
1666
|
+
* Choose, which related nodes to fetch as well
|
|
1667
|
+
*/
|
|
1668
|
+
include?: Prisma.TaskInclude<ExtArgs> | null
|
|
1669
|
+
}
|