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