2062 lines
85 KiB
TypeScript
2062 lines
85 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `RowTask` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
import type * as $Enums from "../enums.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model RowTask
|
|
*
|
|
*/
|
|
export type RowTaskModel = runtime.Types.Result.DefaultSelection<Prisma.$RowTaskPayload>
|
|
|
|
export type AggregateRowTask = {
|
|
_count: RowTaskCountAggregateOutputType | null
|
|
_min: RowTaskMinAggregateOutputType | null
|
|
_max: RowTaskMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type RowTaskMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
createdByUserId: string | null
|
|
rowId: string | null
|
|
title: string | null
|
|
description: string | null
|
|
completed: boolean | null
|
|
completedAt: Date | null
|
|
completedByUserId: string | null
|
|
assignedToUserId: string | null
|
|
deadline: Date | null
|
|
}
|
|
|
|
export type RowTaskMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
createdByUserId: string | null
|
|
rowId: string | null
|
|
title: string | null
|
|
description: string | null
|
|
completed: boolean | null
|
|
completedAt: Date | null
|
|
completedByUserId: string | null
|
|
assignedToUserId: string | null
|
|
deadline: Date | null
|
|
}
|
|
|
|
export type RowTaskCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
createdByUserId: number
|
|
rowId: number
|
|
title: number
|
|
description: number
|
|
completed: number
|
|
completedAt: number
|
|
completedByUserId: number
|
|
assignedToUserId: number
|
|
deadline: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type RowTaskMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
createdByUserId?: true
|
|
rowId?: true
|
|
title?: true
|
|
description?: true
|
|
completed?: true
|
|
completedAt?: true
|
|
completedByUserId?: true
|
|
assignedToUserId?: true
|
|
deadline?: true
|
|
}
|
|
|
|
export type RowTaskMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
createdByUserId?: true
|
|
rowId?: true
|
|
title?: true
|
|
description?: true
|
|
completed?: true
|
|
completedAt?: true
|
|
completedByUserId?: true
|
|
assignedToUserId?: true
|
|
deadline?: true
|
|
}
|
|
|
|
export type RowTaskCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
createdByUserId?: true
|
|
rowId?: true
|
|
title?: true
|
|
description?: true
|
|
completed?: true
|
|
completedAt?: true
|
|
completedByUserId?: true
|
|
assignedToUserId?: true
|
|
deadline?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type RowTaskAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which RowTask to aggregate.
|
|
*/
|
|
where?: Prisma.RowTaskWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of RowTasks to fetch.
|
|
*/
|
|
orderBy?: Prisma.RowTaskOrderByWithRelationInput | Prisma.RowTaskOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.RowTaskWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` RowTasks from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` RowTasks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned RowTasks
|
|
**/
|
|
_count?: true | RowTaskCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: RowTaskMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: RowTaskMaxAggregateInputType
|
|
}
|
|
|
|
export type GetRowTaskAggregateType<T extends RowTaskAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateRowTask]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateRowTask[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateRowTask[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type RowTaskGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.RowTaskWhereInput
|
|
orderBy?: Prisma.RowTaskOrderByWithAggregationInput | Prisma.RowTaskOrderByWithAggregationInput[]
|
|
by: Prisma.RowTaskScalarFieldEnum[] | Prisma.RowTaskScalarFieldEnum
|
|
having?: Prisma.RowTaskScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: RowTaskCountAggregateInputType | true
|
|
_min?: RowTaskMinAggregateInputType
|
|
_max?: RowTaskMaxAggregateInputType
|
|
}
|
|
|
|
export type RowTaskGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
createdByUserId: string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt: Date | null
|
|
completedByUserId: string | null
|
|
assignedToUserId: string | null
|
|
deadline: Date | null
|
|
_count: RowTaskCountAggregateOutputType | null
|
|
_min: RowTaskMinAggregateOutputType | null
|
|
_max: RowTaskMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetRowTaskGroupByPayload<T extends RowTaskGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<RowTaskGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof RowTaskGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], RowTaskGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], RowTaskGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type RowTaskWhereInput = {
|
|
AND?: Prisma.RowTaskWhereInput | Prisma.RowTaskWhereInput[]
|
|
OR?: Prisma.RowTaskWhereInput[]
|
|
NOT?: Prisma.RowTaskWhereInput | Prisma.RowTaskWhereInput[]
|
|
id?: Prisma.StringFilter<"RowTask"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"RowTask"> | Date | string
|
|
createdByUserId?: Prisma.StringFilter<"RowTask"> | string
|
|
rowId?: Prisma.StringFilter<"RowTask"> | string
|
|
title?: Prisma.StringFilter<"RowTask"> | string
|
|
description?: Prisma.StringFilter<"RowTask"> | string
|
|
completed?: Prisma.BoolFilter<"RowTask"> | boolean
|
|
completedAt?: Prisma.DateTimeNullableFilter<"RowTask"> | Date | string | null
|
|
completedByUserId?: Prisma.StringNullableFilter<"RowTask"> | string | null
|
|
assignedToUserId?: Prisma.StringNullableFilter<"RowTask"> | string | null
|
|
deadline?: Prisma.DateTimeNullableFilter<"RowTask"> | Date | string | null
|
|
assignedToUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
completedByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
row?: Prisma.XOR<Prisma.RowScalarRelationFilter, Prisma.RowWhereInput>
|
|
}
|
|
|
|
export type RowTaskOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
completed?: Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
completedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
assignedToUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
deadline?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
assignedToUser?: Prisma.UserOrderByWithRelationInput
|
|
completedByUser?: Prisma.UserOrderByWithRelationInput
|
|
createdByUser?: Prisma.UserOrderByWithRelationInput
|
|
row?: Prisma.RowOrderByWithRelationInput
|
|
}
|
|
|
|
export type RowTaskWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.RowTaskWhereInput | Prisma.RowTaskWhereInput[]
|
|
OR?: Prisma.RowTaskWhereInput[]
|
|
NOT?: Prisma.RowTaskWhereInput | Prisma.RowTaskWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"RowTask"> | Date | string
|
|
createdByUserId?: Prisma.StringFilter<"RowTask"> | string
|
|
rowId?: Prisma.StringFilter<"RowTask"> | string
|
|
title?: Prisma.StringFilter<"RowTask"> | string
|
|
description?: Prisma.StringFilter<"RowTask"> | string
|
|
completed?: Prisma.BoolFilter<"RowTask"> | boolean
|
|
completedAt?: Prisma.DateTimeNullableFilter<"RowTask"> | Date | string | null
|
|
completedByUserId?: Prisma.StringNullableFilter<"RowTask"> | string | null
|
|
assignedToUserId?: Prisma.StringNullableFilter<"RowTask"> | string | null
|
|
deadline?: Prisma.DateTimeNullableFilter<"RowTask"> | Date | string | null
|
|
assignedToUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
completedByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
createdByUser?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
row?: Prisma.XOR<Prisma.RowScalarRelationFilter, Prisma.RowWhereInput>
|
|
}, "id">
|
|
|
|
export type RowTaskOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
completed?: Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
completedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
assignedToUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
deadline?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.RowTaskCountOrderByAggregateInput
|
|
_max?: Prisma.RowTaskMaxOrderByAggregateInput
|
|
_min?: Prisma.RowTaskMinOrderByAggregateInput
|
|
}
|
|
|
|
export type RowTaskScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.RowTaskScalarWhereWithAggregatesInput | Prisma.RowTaskScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.RowTaskScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.RowTaskScalarWhereWithAggregatesInput | Prisma.RowTaskScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"RowTask"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"RowTask"> | Date | string
|
|
createdByUserId?: Prisma.StringWithAggregatesFilter<"RowTask"> | string
|
|
rowId?: Prisma.StringWithAggregatesFilter<"RowTask"> | string
|
|
title?: Prisma.StringWithAggregatesFilter<"RowTask"> | string
|
|
description?: Prisma.StringWithAggregatesFilter<"RowTask"> | string
|
|
completed?: Prisma.BoolWithAggregatesFilter<"RowTask"> | boolean
|
|
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RowTask"> | Date | string | null
|
|
completedByUserId?: Prisma.StringNullableWithAggregatesFilter<"RowTask"> | string | null
|
|
assignedToUserId?: Prisma.StringNullableWithAggregatesFilter<"RowTask"> | string | null
|
|
deadline?: Prisma.DateTimeNullableWithAggregatesFilter<"RowTask"> | Date | string | null
|
|
}
|
|
|
|
export type RowTaskCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
deadline?: Date | string | null
|
|
assignedToUser?: Prisma.UserCreateNestedOneWithoutAssignedTasksInput
|
|
completedByUser?: Prisma.UserCreateNestedOneWithoutCompletedTasksInput
|
|
createdByUser: Prisma.UserCreateNestedOneWithoutCreatedRowTasksInput
|
|
row: Prisma.RowCreateNestedOneWithoutTasksInput
|
|
}
|
|
|
|
export type RowTaskUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
createdByUserId: string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
completedByUserId?: string | null
|
|
assignedToUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
assignedToUser?: Prisma.UserUpdateOneWithoutAssignedTasksNestedInput
|
|
completedByUser?: Prisma.UserUpdateOneWithoutCompletedTasksNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneRequiredWithoutCreatedRowTasksNestedInput
|
|
row?: Prisma.RowUpdateOneRequiredWithoutTasksNestedInput
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
createdByUserId: string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
completedByUserId?: string | null
|
|
assignedToUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskListRelationFilter = {
|
|
every?: Prisma.RowTaskWhereInput
|
|
some?: Prisma.RowTaskWhereInput
|
|
none?: Prisma.RowTaskWhereInput
|
|
}
|
|
|
|
export type RowTaskOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type RowTaskCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
completed?: Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrder
|
|
completedByUserId?: Prisma.SortOrder
|
|
assignedToUserId?: Prisma.SortOrder
|
|
deadline?: Prisma.SortOrder
|
|
}
|
|
|
|
export type RowTaskMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
completed?: Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrder
|
|
completedByUserId?: Prisma.SortOrder
|
|
assignedToUserId?: Prisma.SortOrder
|
|
deadline?: Prisma.SortOrder
|
|
}
|
|
|
|
export type RowTaskMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
completed?: Prisma.SortOrder
|
|
completedAt?: Prisma.SortOrder
|
|
completedByUserId?: Prisma.SortOrder
|
|
assignedToUserId?: Prisma.SortOrder
|
|
deadline?: Prisma.SortOrder
|
|
}
|
|
|
|
export type RowTaskCreateNestedManyWithoutAssignedToUserInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutAssignedToUserInput, Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput> | Prisma.RowTaskCreateWithoutAssignedToUserInput[] | Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutAssignedToUserInput | Prisma.RowTaskCreateOrConnectWithoutAssignedToUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyAssignedToUserInputEnvelope
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowTaskCreateNestedManyWithoutCompletedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutCompletedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput> | Prisma.RowTaskCreateWithoutCompletedByUserInput[] | Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutCompletedByUserInput | Prisma.RowTaskCreateOrConnectWithoutCompletedByUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyCompletedByUserInputEnvelope
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowTaskCreateNestedManyWithoutCreatedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutCreatedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput> | Prisma.RowTaskCreateWithoutCreatedByUserInput[] | Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutCreatedByUserInput | Prisma.RowTaskCreateOrConnectWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyCreatedByUserInputEnvelope
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowTaskUncheckedCreateNestedManyWithoutAssignedToUserInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutAssignedToUserInput, Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput> | Prisma.RowTaskCreateWithoutAssignedToUserInput[] | Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutAssignedToUserInput | Prisma.RowTaskCreateOrConnectWithoutAssignedToUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyAssignedToUserInputEnvelope
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowTaskUncheckedCreateNestedManyWithoutCompletedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutCompletedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput> | Prisma.RowTaskCreateWithoutCompletedByUserInput[] | Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutCompletedByUserInput | Prisma.RowTaskCreateOrConnectWithoutCompletedByUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyCompletedByUserInputEnvelope
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowTaskUncheckedCreateNestedManyWithoutCreatedByUserInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutCreatedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput> | Prisma.RowTaskCreateWithoutCreatedByUserInput[] | Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutCreatedByUserInput | Prisma.RowTaskCreateOrConnectWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyCreatedByUserInputEnvelope
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowTaskUpdateManyWithoutAssignedToUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutAssignedToUserInput, Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput> | Prisma.RowTaskCreateWithoutAssignedToUserInput[] | Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutAssignedToUserInput | Prisma.RowTaskCreateOrConnectWithoutAssignedToUserInput[]
|
|
upsert?: Prisma.RowTaskUpsertWithWhereUniqueWithoutAssignedToUserInput | Prisma.RowTaskUpsertWithWhereUniqueWithoutAssignedToUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyAssignedToUserInputEnvelope
|
|
set?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
disconnect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
delete?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
update?: Prisma.RowTaskUpdateWithWhereUniqueWithoutAssignedToUserInput | Prisma.RowTaskUpdateWithWhereUniqueWithoutAssignedToUserInput[]
|
|
updateMany?: Prisma.RowTaskUpdateManyWithWhereWithoutAssignedToUserInput | Prisma.RowTaskUpdateManyWithWhereWithoutAssignedToUserInput[]
|
|
deleteMany?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
}
|
|
|
|
export type RowTaskUpdateManyWithoutCompletedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutCompletedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput> | Prisma.RowTaskCreateWithoutCompletedByUserInput[] | Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutCompletedByUserInput | Prisma.RowTaskCreateOrConnectWithoutCompletedByUserInput[]
|
|
upsert?: Prisma.RowTaskUpsertWithWhereUniqueWithoutCompletedByUserInput | Prisma.RowTaskUpsertWithWhereUniqueWithoutCompletedByUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyCompletedByUserInputEnvelope
|
|
set?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
disconnect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
delete?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
update?: Prisma.RowTaskUpdateWithWhereUniqueWithoutCompletedByUserInput | Prisma.RowTaskUpdateWithWhereUniqueWithoutCompletedByUserInput[]
|
|
updateMany?: Prisma.RowTaskUpdateManyWithWhereWithoutCompletedByUserInput | Prisma.RowTaskUpdateManyWithWhereWithoutCompletedByUserInput[]
|
|
deleteMany?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
}
|
|
|
|
export type RowTaskUpdateManyWithoutCreatedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutCreatedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput> | Prisma.RowTaskCreateWithoutCreatedByUserInput[] | Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutCreatedByUserInput | Prisma.RowTaskCreateOrConnectWithoutCreatedByUserInput[]
|
|
upsert?: Prisma.RowTaskUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.RowTaskUpsertWithWhereUniqueWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyCreatedByUserInputEnvelope
|
|
set?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
disconnect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
delete?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
update?: Prisma.RowTaskUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.RowTaskUpdateWithWhereUniqueWithoutCreatedByUserInput[]
|
|
updateMany?: Prisma.RowTaskUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.RowTaskUpdateManyWithWhereWithoutCreatedByUserInput[]
|
|
deleteMany?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateManyWithoutAssignedToUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutAssignedToUserInput, Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput> | Prisma.RowTaskCreateWithoutAssignedToUserInput[] | Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutAssignedToUserInput | Prisma.RowTaskCreateOrConnectWithoutAssignedToUserInput[]
|
|
upsert?: Prisma.RowTaskUpsertWithWhereUniqueWithoutAssignedToUserInput | Prisma.RowTaskUpsertWithWhereUniqueWithoutAssignedToUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyAssignedToUserInputEnvelope
|
|
set?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
disconnect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
delete?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
update?: Prisma.RowTaskUpdateWithWhereUniqueWithoutAssignedToUserInput | Prisma.RowTaskUpdateWithWhereUniqueWithoutAssignedToUserInput[]
|
|
updateMany?: Prisma.RowTaskUpdateManyWithWhereWithoutAssignedToUserInput | Prisma.RowTaskUpdateManyWithWhereWithoutAssignedToUserInput[]
|
|
deleteMany?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateManyWithoutCompletedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutCompletedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput> | Prisma.RowTaskCreateWithoutCompletedByUserInput[] | Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutCompletedByUserInput | Prisma.RowTaskCreateOrConnectWithoutCompletedByUserInput[]
|
|
upsert?: Prisma.RowTaskUpsertWithWhereUniqueWithoutCompletedByUserInput | Prisma.RowTaskUpsertWithWhereUniqueWithoutCompletedByUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyCompletedByUserInputEnvelope
|
|
set?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
disconnect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
delete?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
update?: Prisma.RowTaskUpdateWithWhereUniqueWithoutCompletedByUserInput | Prisma.RowTaskUpdateWithWhereUniqueWithoutCompletedByUserInput[]
|
|
updateMany?: Prisma.RowTaskUpdateManyWithWhereWithoutCompletedByUserInput | Prisma.RowTaskUpdateManyWithWhereWithoutCompletedByUserInput[]
|
|
deleteMany?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateManyWithoutCreatedByUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutCreatedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput> | Prisma.RowTaskCreateWithoutCreatedByUserInput[] | Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutCreatedByUserInput | Prisma.RowTaskCreateOrConnectWithoutCreatedByUserInput[]
|
|
upsert?: Prisma.RowTaskUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.RowTaskUpsertWithWhereUniqueWithoutCreatedByUserInput[]
|
|
createMany?: Prisma.RowTaskCreateManyCreatedByUserInputEnvelope
|
|
set?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
disconnect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
delete?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
update?: Prisma.RowTaskUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.RowTaskUpdateWithWhereUniqueWithoutCreatedByUserInput[]
|
|
updateMany?: Prisma.RowTaskUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.RowTaskUpdateManyWithWhereWithoutCreatedByUserInput[]
|
|
deleteMany?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
}
|
|
|
|
export type RowTaskCreateNestedManyWithoutRowInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutRowInput, Prisma.RowTaskUncheckedCreateWithoutRowInput> | Prisma.RowTaskCreateWithoutRowInput[] | Prisma.RowTaskUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutRowInput | Prisma.RowTaskCreateOrConnectWithoutRowInput[]
|
|
createMany?: Prisma.RowTaskCreateManyRowInputEnvelope
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowTaskUncheckedCreateNestedManyWithoutRowInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutRowInput, Prisma.RowTaskUncheckedCreateWithoutRowInput> | Prisma.RowTaskCreateWithoutRowInput[] | Prisma.RowTaskUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutRowInput | Prisma.RowTaskCreateOrConnectWithoutRowInput[]
|
|
createMany?: Prisma.RowTaskCreateManyRowInputEnvelope
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowTaskUpdateManyWithoutRowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutRowInput, Prisma.RowTaskUncheckedCreateWithoutRowInput> | Prisma.RowTaskCreateWithoutRowInput[] | Prisma.RowTaskUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutRowInput | Prisma.RowTaskCreateOrConnectWithoutRowInput[]
|
|
upsert?: Prisma.RowTaskUpsertWithWhereUniqueWithoutRowInput | Prisma.RowTaskUpsertWithWhereUniqueWithoutRowInput[]
|
|
createMany?: Prisma.RowTaskCreateManyRowInputEnvelope
|
|
set?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
disconnect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
delete?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
update?: Prisma.RowTaskUpdateWithWhereUniqueWithoutRowInput | Prisma.RowTaskUpdateWithWhereUniqueWithoutRowInput[]
|
|
updateMany?: Prisma.RowTaskUpdateManyWithWhereWithoutRowInput | Prisma.RowTaskUpdateManyWithWhereWithoutRowInput[]
|
|
deleteMany?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateManyWithoutRowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowTaskCreateWithoutRowInput, Prisma.RowTaskUncheckedCreateWithoutRowInput> | Prisma.RowTaskCreateWithoutRowInput[] | Prisma.RowTaskUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.RowTaskCreateOrConnectWithoutRowInput | Prisma.RowTaskCreateOrConnectWithoutRowInput[]
|
|
upsert?: Prisma.RowTaskUpsertWithWhereUniqueWithoutRowInput | Prisma.RowTaskUpsertWithWhereUniqueWithoutRowInput[]
|
|
createMany?: Prisma.RowTaskCreateManyRowInputEnvelope
|
|
set?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
disconnect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
delete?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
connect?: Prisma.RowTaskWhereUniqueInput | Prisma.RowTaskWhereUniqueInput[]
|
|
update?: Prisma.RowTaskUpdateWithWhereUniqueWithoutRowInput | Prisma.RowTaskUpdateWithWhereUniqueWithoutRowInput[]
|
|
updateMany?: Prisma.RowTaskUpdateManyWithWhereWithoutRowInput | Prisma.RowTaskUpdateManyWithWhereWithoutRowInput[]
|
|
deleteMany?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
}
|
|
|
|
export type RowTaskCreateWithoutAssignedToUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
deadline?: Date | string | null
|
|
completedByUser?: Prisma.UserCreateNestedOneWithoutCompletedTasksInput
|
|
createdByUser: Prisma.UserCreateNestedOneWithoutCreatedRowTasksInput
|
|
row: Prisma.RowCreateNestedOneWithoutTasksInput
|
|
}
|
|
|
|
export type RowTaskUncheckedCreateWithoutAssignedToUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
createdByUserId: string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
completedByUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskCreateOrConnectWithoutAssignedToUserInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.RowTaskCreateWithoutAssignedToUserInput, Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput>
|
|
}
|
|
|
|
export type RowTaskCreateManyAssignedToUserInputEnvelope = {
|
|
data: Prisma.RowTaskCreateManyAssignedToUserInput | Prisma.RowTaskCreateManyAssignedToUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowTaskCreateWithoutCompletedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
deadline?: Date | string | null
|
|
assignedToUser?: Prisma.UserCreateNestedOneWithoutAssignedTasksInput
|
|
createdByUser: Prisma.UserCreateNestedOneWithoutCreatedRowTasksInput
|
|
row: Prisma.RowCreateNestedOneWithoutTasksInput
|
|
}
|
|
|
|
export type RowTaskUncheckedCreateWithoutCompletedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
createdByUserId: string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
assignedToUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskCreateOrConnectWithoutCompletedByUserInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.RowTaskCreateWithoutCompletedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput>
|
|
}
|
|
|
|
export type RowTaskCreateManyCompletedByUserInputEnvelope = {
|
|
data: Prisma.RowTaskCreateManyCompletedByUserInput | Prisma.RowTaskCreateManyCompletedByUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowTaskCreateWithoutCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
deadline?: Date | string | null
|
|
assignedToUser?: Prisma.UserCreateNestedOneWithoutAssignedTasksInput
|
|
completedByUser?: Prisma.UserCreateNestedOneWithoutCompletedTasksInput
|
|
row: Prisma.RowCreateNestedOneWithoutTasksInput
|
|
}
|
|
|
|
export type RowTaskUncheckedCreateWithoutCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
completedByUserId?: string | null
|
|
assignedToUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskCreateOrConnectWithoutCreatedByUserInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.RowTaskCreateWithoutCreatedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type RowTaskCreateManyCreatedByUserInputEnvelope = {
|
|
data: Prisma.RowTaskCreateManyCreatedByUserInput | Prisma.RowTaskCreateManyCreatedByUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowTaskUpsertWithWhereUniqueWithoutAssignedToUserInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowTaskUpdateWithoutAssignedToUserInput, Prisma.RowTaskUncheckedUpdateWithoutAssignedToUserInput>
|
|
create: Prisma.XOR<Prisma.RowTaskCreateWithoutAssignedToUserInput, Prisma.RowTaskUncheckedCreateWithoutAssignedToUserInput>
|
|
}
|
|
|
|
export type RowTaskUpdateWithWhereUniqueWithoutAssignedToUserInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateWithoutAssignedToUserInput, Prisma.RowTaskUncheckedUpdateWithoutAssignedToUserInput>
|
|
}
|
|
|
|
export type RowTaskUpdateManyWithWhereWithoutAssignedToUserInput = {
|
|
where: Prisma.RowTaskScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateManyMutationInput, Prisma.RowTaskUncheckedUpdateManyWithoutAssignedToUserInput>
|
|
}
|
|
|
|
export type RowTaskScalarWhereInput = {
|
|
AND?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
OR?: Prisma.RowTaskScalarWhereInput[]
|
|
NOT?: Prisma.RowTaskScalarWhereInput | Prisma.RowTaskScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"RowTask"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"RowTask"> | Date | string
|
|
createdByUserId?: Prisma.StringFilter<"RowTask"> | string
|
|
rowId?: Prisma.StringFilter<"RowTask"> | string
|
|
title?: Prisma.StringFilter<"RowTask"> | string
|
|
description?: Prisma.StringFilter<"RowTask"> | string
|
|
completed?: Prisma.BoolFilter<"RowTask"> | boolean
|
|
completedAt?: Prisma.DateTimeNullableFilter<"RowTask"> | Date | string | null
|
|
completedByUserId?: Prisma.StringNullableFilter<"RowTask"> | string | null
|
|
assignedToUserId?: Prisma.StringNullableFilter<"RowTask"> | string | null
|
|
deadline?: Prisma.DateTimeNullableFilter<"RowTask"> | Date | string | null
|
|
}
|
|
|
|
export type RowTaskUpsertWithWhereUniqueWithoutCompletedByUserInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowTaskUpdateWithoutCompletedByUserInput, Prisma.RowTaskUncheckedUpdateWithoutCompletedByUserInput>
|
|
create: Prisma.XOR<Prisma.RowTaskCreateWithoutCompletedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCompletedByUserInput>
|
|
}
|
|
|
|
export type RowTaskUpdateWithWhereUniqueWithoutCompletedByUserInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateWithoutCompletedByUserInput, Prisma.RowTaskUncheckedUpdateWithoutCompletedByUserInput>
|
|
}
|
|
|
|
export type RowTaskUpdateManyWithWhereWithoutCompletedByUserInput = {
|
|
where: Prisma.RowTaskScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateManyMutationInput, Prisma.RowTaskUncheckedUpdateManyWithoutCompletedByUserInput>
|
|
}
|
|
|
|
export type RowTaskUpsertWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowTaskUpdateWithoutCreatedByUserInput, Prisma.RowTaskUncheckedUpdateWithoutCreatedByUserInput>
|
|
create: Prisma.XOR<Prisma.RowTaskCreateWithoutCreatedByUserInput, Prisma.RowTaskUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type RowTaskUpdateWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateWithoutCreatedByUserInput, Prisma.RowTaskUncheckedUpdateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type RowTaskUpdateManyWithWhereWithoutCreatedByUserInput = {
|
|
where: Prisma.RowTaskScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateManyMutationInput, Prisma.RowTaskUncheckedUpdateManyWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type RowTaskCreateWithoutRowInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
deadline?: Date | string | null
|
|
assignedToUser?: Prisma.UserCreateNestedOneWithoutAssignedTasksInput
|
|
completedByUser?: Prisma.UserCreateNestedOneWithoutCompletedTasksInput
|
|
createdByUser: Prisma.UserCreateNestedOneWithoutCreatedRowTasksInput
|
|
}
|
|
|
|
export type RowTaskUncheckedCreateWithoutRowInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
createdByUserId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
completedByUserId?: string | null
|
|
assignedToUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskCreateOrConnectWithoutRowInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.RowTaskCreateWithoutRowInput, Prisma.RowTaskUncheckedCreateWithoutRowInput>
|
|
}
|
|
|
|
export type RowTaskCreateManyRowInputEnvelope = {
|
|
data: Prisma.RowTaskCreateManyRowInput | Prisma.RowTaskCreateManyRowInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowTaskUpsertWithWhereUniqueWithoutRowInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowTaskUpdateWithoutRowInput, Prisma.RowTaskUncheckedUpdateWithoutRowInput>
|
|
create: Prisma.XOR<Prisma.RowTaskCreateWithoutRowInput, Prisma.RowTaskUncheckedCreateWithoutRowInput>
|
|
}
|
|
|
|
export type RowTaskUpdateWithWhereUniqueWithoutRowInput = {
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateWithoutRowInput, Prisma.RowTaskUncheckedUpdateWithoutRowInput>
|
|
}
|
|
|
|
export type RowTaskUpdateManyWithWhereWithoutRowInput = {
|
|
where: Prisma.RowTaskScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateManyMutationInput, Prisma.RowTaskUncheckedUpdateManyWithoutRowInput>
|
|
}
|
|
|
|
export type RowTaskCreateManyAssignedToUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
createdByUserId: string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
completedByUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskCreateManyCompletedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
createdByUserId: string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
assignedToUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskCreateManyCreatedByUserInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
completedByUserId?: string | null
|
|
assignedToUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskUpdateWithoutAssignedToUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedByUser?: Prisma.UserUpdateOneWithoutCompletedTasksNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneRequiredWithoutCreatedRowTasksNestedInput
|
|
row?: Prisma.RowUpdateOneRequiredWithoutTasksNestedInput
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateWithoutAssignedToUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateManyWithoutAssignedToUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskUpdateWithoutCompletedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
assignedToUser?: Prisma.UserUpdateOneWithoutAssignedTasksNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneRequiredWithoutCreatedRowTasksNestedInput
|
|
row?: Prisma.RowUpdateOneRequiredWithoutTasksNestedInput
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateWithoutCompletedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateManyWithoutCompletedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskUpdateWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
assignedToUser?: Prisma.UserUpdateOneWithoutAssignedTasksNestedInput
|
|
completedByUser?: Prisma.UserUpdateOneWithoutCompletedTasksNestedInput
|
|
row?: Prisma.RowUpdateOneRequiredWithoutTasksNestedInput
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateManyWithoutCreatedByUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskCreateManyRowInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
createdByUserId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt?: Date | string | null
|
|
completedByUserId?: string | null
|
|
assignedToUserId?: string | null
|
|
deadline?: Date | string | null
|
|
}
|
|
|
|
export type RowTaskUpdateWithoutRowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
assignedToUser?: Prisma.UserUpdateOneWithoutAssignedTasksNestedInput
|
|
completedByUser?: Prisma.UserUpdateOneWithoutCompletedTasksNestedInput
|
|
createdByUser?: Prisma.UserUpdateOneRequiredWithoutCreatedRowTasksNestedInput
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateWithoutRowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type RowTaskUncheckedUpdateManyWithoutRowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
completed?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
completedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
assignedToUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
deadline?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
|
|
export type RowTaskSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
createdByUserId?: boolean
|
|
rowId?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
completed?: boolean
|
|
completedAt?: boolean
|
|
completedByUserId?: boolean
|
|
assignedToUserId?: boolean
|
|
deadline?: boolean
|
|
assignedToUser?: boolean | Prisma.RowTask$assignedToUserArgs<ExtArgs>
|
|
completedByUser?: boolean | Prisma.RowTask$completedByUserArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["rowTask"]>
|
|
|
|
export type RowTaskSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
createdByUserId?: boolean
|
|
rowId?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
completed?: boolean
|
|
completedAt?: boolean
|
|
completedByUserId?: boolean
|
|
assignedToUserId?: boolean
|
|
deadline?: boolean
|
|
assignedToUser?: boolean | Prisma.RowTask$assignedToUserArgs<ExtArgs>
|
|
completedByUser?: boolean | Prisma.RowTask$completedByUserArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["rowTask"]>
|
|
|
|
export type RowTaskSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
createdByUserId?: boolean
|
|
rowId?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
completed?: boolean
|
|
completedAt?: boolean
|
|
completedByUserId?: boolean
|
|
assignedToUserId?: boolean
|
|
deadline?: boolean
|
|
assignedToUser?: boolean | Prisma.RowTask$assignedToUserArgs<ExtArgs>
|
|
completedByUser?: boolean | Prisma.RowTask$completedByUserArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["rowTask"]>
|
|
|
|
export type RowTaskSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
createdByUserId?: boolean
|
|
rowId?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
completed?: boolean
|
|
completedAt?: boolean
|
|
completedByUserId?: boolean
|
|
assignedToUserId?: boolean
|
|
deadline?: boolean
|
|
}
|
|
|
|
export type RowTaskOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "createdByUserId" | "rowId" | "title" | "description" | "completed" | "completedAt" | "completedByUserId" | "assignedToUserId" | "deadline", ExtArgs["result"]["rowTask"]>
|
|
export type RowTaskInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
assignedToUser?: boolean | Prisma.RowTask$assignedToUserArgs<ExtArgs>
|
|
completedByUser?: boolean | Prisma.RowTask$completedByUserArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
}
|
|
export type RowTaskIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
assignedToUser?: boolean | Prisma.RowTask$assignedToUserArgs<ExtArgs>
|
|
completedByUser?: boolean | Prisma.RowTask$completedByUserArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
}
|
|
export type RowTaskIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
assignedToUser?: boolean | Prisma.RowTask$assignedToUserArgs<ExtArgs>
|
|
completedByUser?: boolean | Prisma.RowTask$completedByUserArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $RowTaskPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "RowTask"
|
|
objects: {
|
|
assignedToUser: Prisma.$UserPayload<ExtArgs> | null
|
|
completedByUser: Prisma.$UserPayload<ExtArgs> | null
|
|
createdByUser: Prisma.$UserPayload<ExtArgs>
|
|
row: Prisma.$RowPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
createdByUserId: string
|
|
rowId: string
|
|
title: string
|
|
description: string
|
|
completed: boolean
|
|
completedAt: Date | null
|
|
completedByUserId: string | null
|
|
assignedToUserId: string | null
|
|
deadline: Date | null
|
|
}, ExtArgs["result"]["rowTask"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type RowTaskGetPayload<S extends boolean | null | undefined | RowTaskDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RowTaskPayload, S>
|
|
|
|
export type RowTaskCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<RowTaskFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: RowTaskCountAggregateInputType | true
|
|
}
|
|
|
|
export interface RowTaskDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RowTask'], meta: { name: 'RowTask' } }
|
|
/**
|
|
* Find zero or one RowTask that matches the filter.
|
|
* @param {RowTaskFindUniqueArgs} args - Arguments to find a RowTask
|
|
* @example
|
|
* // Get one RowTask
|
|
* const rowTask = await prisma.rowTask.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends RowTaskFindUniqueArgs>(args: Prisma.SelectSubset<T, RowTaskFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RowTaskClient<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one RowTask that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {RowTaskFindUniqueOrThrowArgs} args - Arguments to find a RowTask
|
|
* @example
|
|
* // Get one RowTask
|
|
* const rowTask = await prisma.rowTask.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends RowTaskFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RowTaskFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowTaskClient<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first RowTask that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowTaskFindFirstArgs} args - Arguments to find a RowTask
|
|
* @example
|
|
* // Get one RowTask
|
|
* const rowTask = await prisma.rowTask.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends RowTaskFindFirstArgs>(args?: Prisma.SelectSubset<T, RowTaskFindFirstArgs<ExtArgs>>): Prisma.Prisma__RowTaskClient<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first RowTask that matches the filter or
|
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowTaskFindFirstOrThrowArgs} args - Arguments to find a RowTask
|
|
* @example
|
|
* // Get one RowTask
|
|
* const rowTask = await prisma.rowTask.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends RowTaskFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RowTaskFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowTaskClient<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more RowTasks that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowTaskFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all RowTasks
|
|
* const rowTasks = await prisma.rowTask.findMany()
|
|
*
|
|
* // Get first 10 RowTasks
|
|
* const rowTasks = await prisma.rowTask.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const rowTaskWithIdOnly = await prisma.rowTask.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends RowTaskFindManyArgs>(args?: Prisma.SelectSubset<T, RowTaskFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a RowTask.
|
|
* @param {RowTaskCreateArgs} args - Arguments to create a RowTask.
|
|
* @example
|
|
* // Create one RowTask
|
|
* const RowTask = await prisma.rowTask.create({
|
|
* data: {
|
|
* // ... data to create a RowTask
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends RowTaskCreateArgs>(args: Prisma.SelectSubset<T, RowTaskCreateArgs<ExtArgs>>): Prisma.Prisma__RowTaskClient<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many RowTasks.
|
|
* @param {RowTaskCreateManyArgs} args - Arguments to create many RowTasks.
|
|
* @example
|
|
* // Create many RowTasks
|
|
* const rowTask = await prisma.rowTask.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends RowTaskCreateManyArgs>(args?: Prisma.SelectSubset<T, RowTaskCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many RowTasks and returns the data saved in the database.
|
|
* @param {RowTaskCreateManyAndReturnArgs} args - Arguments to create many RowTasks.
|
|
* @example
|
|
* // Create many RowTasks
|
|
* const rowTask = await prisma.rowTask.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many RowTasks and only return the `id`
|
|
* const rowTaskWithIdOnly = await prisma.rowTask.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends RowTaskCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RowTaskCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a RowTask.
|
|
* @param {RowTaskDeleteArgs} args - Arguments to delete one RowTask.
|
|
* @example
|
|
* // Delete one RowTask
|
|
* const RowTask = await prisma.rowTask.delete({
|
|
* where: {
|
|
* // ... filter to delete one RowTask
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends RowTaskDeleteArgs>(args: Prisma.SelectSubset<T, RowTaskDeleteArgs<ExtArgs>>): Prisma.Prisma__RowTaskClient<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one RowTask.
|
|
* @param {RowTaskUpdateArgs} args - Arguments to update one RowTask.
|
|
* @example
|
|
* // Update one RowTask
|
|
* const rowTask = await prisma.rowTask.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends RowTaskUpdateArgs>(args: Prisma.SelectSubset<T, RowTaskUpdateArgs<ExtArgs>>): Prisma.Prisma__RowTaskClient<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more RowTasks.
|
|
* @param {RowTaskDeleteManyArgs} args - Arguments to filter RowTasks to delete.
|
|
* @example
|
|
* // Delete a few RowTasks
|
|
* const { count } = await prisma.rowTask.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends RowTaskDeleteManyArgs>(args?: Prisma.SelectSubset<T, RowTaskDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more RowTasks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowTaskUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many RowTasks
|
|
* const rowTask = await prisma.rowTask.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends RowTaskUpdateManyArgs>(args: Prisma.SelectSubset<T, RowTaskUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more RowTasks and returns the data updated in the database.
|
|
* @param {RowTaskUpdateManyAndReturnArgs} args - Arguments to update many RowTasks.
|
|
* @example
|
|
* // Update many RowTasks
|
|
* const rowTask = await prisma.rowTask.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more RowTasks and only return the `id`
|
|
* const rowTaskWithIdOnly = await prisma.rowTask.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends RowTaskUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RowTaskUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one RowTask.
|
|
* @param {RowTaskUpsertArgs} args - Arguments to update or create a RowTask.
|
|
* @example
|
|
* // Update or create a RowTask
|
|
* const rowTask = await prisma.rowTask.upsert({
|
|
* create: {
|
|
* // ... data to create a RowTask
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the RowTask we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends RowTaskUpsertArgs>(args: Prisma.SelectSubset<T, RowTaskUpsertArgs<ExtArgs>>): Prisma.Prisma__RowTaskClient<runtime.Types.Result.GetResult<Prisma.$RowTaskPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of RowTasks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowTaskCountArgs} args - Arguments to filter RowTasks to count.
|
|
* @example
|
|
* // Count the number of RowTasks
|
|
* const count = await prisma.rowTask.count({
|
|
* where: {
|
|
* // ... the filter for the RowTasks we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends RowTaskCountArgs>(
|
|
args?: Prisma.Subset<T, RowTaskCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], RowTaskCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a RowTask.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowTaskAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends RowTaskAggregateArgs>(args: Prisma.Subset<T, RowTaskAggregateArgs>): Prisma.PrismaPromise<GetRowTaskAggregateType<T>>
|
|
|
|
/**
|
|
* Group by RowTask.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowTaskGroupByArgs} args - Group by arguments.
|
|
* @example
|
|
* // Group by city, order by createdAt, get count
|
|
* const result = await prisma.user.groupBy({
|
|
* by: ['city', 'createdAt'],
|
|
* orderBy: {
|
|
* createdAt: true
|
|
* },
|
|
* _count: {
|
|
* _all: true
|
|
* },
|
|
* })
|
|
*
|
|
**/
|
|
groupBy<
|
|
T extends RowTaskGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: RowTaskGroupByArgs['orderBy'] }
|
|
: { orderBy?: RowTaskGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, RowTaskGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRowTaskGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the RowTask model
|
|
*/
|
|
readonly fields: RowTaskFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for RowTask.
|
|
* Why is this prefixed with `Prisma__`?
|
|
* Because we want to prevent naming conflicts as mentioned in
|
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
*/
|
|
export interface Prisma__RowTaskClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
assignedToUser<T extends Prisma.RowTask$assignedToUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowTask$assignedToUserArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
completedByUser<T extends Prisma.RowTask$completedByUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowTask$completedByUserArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
createdByUser<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
row<T extends Prisma.RowDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowDefaultArgs<ExtArgs>>): Prisma.Prisma__RowClient<runtime.Types.Result.GetResult<Prisma.$RowPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
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>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the RowTask model
|
|
*/
|
|
export interface RowTaskFieldRefs {
|
|
readonly id: Prisma.FieldRef<"RowTask", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"RowTask", 'DateTime'>
|
|
readonly createdByUserId: Prisma.FieldRef<"RowTask", 'String'>
|
|
readonly rowId: Prisma.FieldRef<"RowTask", 'String'>
|
|
readonly title: Prisma.FieldRef<"RowTask", 'String'>
|
|
readonly description: Prisma.FieldRef<"RowTask", 'String'>
|
|
readonly completed: Prisma.FieldRef<"RowTask", 'Boolean'>
|
|
readonly completedAt: Prisma.FieldRef<"RowTask", 'DateTime'>
|
|
readonly completedByUserId: Prisma.FieldRef<"RowTask", 'String'>
|
|
readonly assignedToUserId: Prisma.FieldRef<"RowTask", 'String'>
|
|
readonly deadline: Prisma.FieldRef<"RowTask", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* RowTask findUnique
|
|
*/
|
|
export type RowTaskFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowTask to fetch.
|
|
*/
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowTask findUniqueOrThrow
|
|
*/
|
|
export type RowTaskFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowTask to fetch.
|
|
*/
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowTask findFirst
|
|
*/
|
|
export type RowTaskFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowTask to fetch.
|
|
*/
|
|
where?: Prisma.RowTaskWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of RowTasks to fetch.
|
|
*/
|
|
orderBy?: Prisma.RowTaskOrderByWithRelationInput | Prisma.RowTaskOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for RowTasks.
|
|
*/
|
|
cursor?: Prisma.RowTaskWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` RowTasks from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` RowTasks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of RowTasks.
|
|
*/
|
|
distinct?: Prisma.RowTaskScalarFieldEnum | Prisma.RowTaskScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* RowTask findFirstOrThrow
|
|
*/
|
|
export type RowTaskFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowTask to fetch.
|
|
*/
|
|
where?: Prisma.RowTaskWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of RowTasks to fetch.
|
|
*/
|
|
orderBy?: Prisma.RowTaskOrderByWithRelationInput | Prisma.RowTaskOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for RowTasks.
|
|
*/
|
|
cursor?: Prisma.RowTaskWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` RowTasks from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` RowTasks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of RowTasks.
|
|
*/
|
|
distinct?: Prisma.RowTaskScalarFieldEnum | Prisma.RowTaskScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* RowTask findMany
|
|
*/
|
|
export type RowTaskFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowTasks to fetch.
|
|
*/
|
|
where?: Prisma.RowTaskWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of RowTasks to fetch.
|
|
*/
|
|
orderBy?: Prisma.RowTaskOrderByWithRelationInput | Prisma.RowTaskOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing RowTasks.
|
|
*/
|
|
cursor?: Prisma.RowTaskWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` RowTasks from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` RowTasks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of RowTasks.
|
|
*/
|
|
distinct?: Prisma.RowTaskScalarFieldEnum | Prisma.RowTaskScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* RowTask create
|
|
*/
|
|
export type RowTaskCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a RowTask.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowTaskCreateInput, Prisma.RowTaskUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* RowTask createMany
|
|
*/
|
|
export type RowTaskCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many RowTasks.
|
|
*/
|
|
data: Prisma.RowTaskCreateManyInput | Prisma.RowTaskCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* RowTask createManyAndReturn
|
|
*/
|
|
export type RowTaskCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many RowTasks.
|
|
*/
|
|
data: Prisma.RowTaskCreateManyInput | Prisma.RowTaskCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* RowTask update
|
|
*/
|
|
export type RowTaskUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a RowTask.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateInput, Prisma.RowTaskUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which RowTask to update.
|
|
*/
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowTask updateMany
|
|
*/
|
|
export type RowTaskUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update RowTasks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateManyMutationInput, Prisma.RowTaskUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which RowTasks to update
|
|
*/
|
|
where?: Prisma.RowTaskWhereInput
|
|
/**
|
|
* Limit how many RowTasks to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* RowTask updateManyAndReturn
|
|
*/
|
|
export type RowTaskUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update RowTasks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowTaskUpdateManyMutationInput, Prisma.RowTaskUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which RowTasks to update
|
|
*/
|
|
where?: Prisma.RowTaskWhereInput
|
|
/**
|
|
* Limit how many RowTasks to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* RowTask upsert
|
|
*/
|
|
export type RowTaskUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the RowTask to update in case it exists.
|
|
*/
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
/**
|
|
* In case the RowTask found by the `where` argument doesn't exist, create a new RowTask with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.RowTaskCreateInput, Prisma.RowTaskUncheckedCreateInput>
|
|
/**
|
|
* In case the RowTask was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.RowTaskUpdateInput, Prisma.RowTaskUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* RowTask delete
|
|
*/
|
|
export type RowTaskDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which RowTask to delete.
|
|
*/
|
|
where: Prisma.RowTaskWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowTask deleteMany
|
|
*/
|
|
export type RowTaskDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which RowTasks to delete
|
|
*/
|
|
where?: Prisma.RowTaskWhereInput
|
|
/**
|
|
* Limit how many RowTasks to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* RowTask.assignedToUser
|
|
*/
|
|
export type RowTask$assignedToUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
/**
|
|
* RowTask.completedByUser
|
|
*/
|
|
export type RowTask$completedByUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
/**
|
|
* RowTask without action
|
|
*/
|
|
export type RowTaskDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowTask
|
|
*/
|
|
select?: Prisma.RowTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowTask
|
|
*/
|
|
omit?: Prisma.RowTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowTaskInclude<ExtArgs> | null
|
|
}
|