Files
shumai/packages/db/src/generated/prisma/models/KanbanTaskLink.ts
T
Yiling-J 1f2bdc8c9e feat(agentic kanban): phase 1 not-agentic kanban board (#330)
* feat(kanban): implement AI-native kanban database models, services, and REST APIs

* feat(webui): implement team kanban board and task management

* style(webui): increase kanban dialog widths and form container

* fix(webui): ensure kanban dialogs override sm:max-w-lg base class

* style(webui): set edit task dialog max width to 5xl

* chore: untrack kanban plan markdown files

* feat(webui): update kanban page layout to 2 columns and refine task activity UI

* fix(webui): constrain kanban column and board heights for vertical scrolling

* feat(kanban): unify task status transition into updateTask API and allow unconstrained human task transitions

* fix(webui): add optimistic updates to kanban drag-and-drop to eliminate flash

* refactor(webui): remove client-side search box from kanban header

* feat(kanban): redesign task dialog comments area and add attachment support

* refactor(webui): remove top status action bar from task info dialog

* fix(webui): narrow query cache predicate and add defensive guards for kanban drag optimistic update

* feat(kanban): add drag-and-drop task reordering with fractional indexing (#331)

* feat(kanban): add drag-and-drop task reordering with fractional indexing

* fix(kanban): improve card drop zones, snap indicators, and column highlight

* fix(kanban): enable card droppables only during active drag

* fix(kanban): refine hover styles and drop indicators for column boundaries

* fix(kanban): unify bottom drop indicator and fix top indicator clipping

* fix(kanban): ensure full column highlight and full coverage drop target

* minor change

* feat(kanban): allow agent tasks free drag-and-drop and enforce status change permissions (#332)

* refactor(kanban): rename task_type_agentic translation keys to task_type_agent

* feat(kanban): refactor task type enum to isAgentTask boolean (#333)

* refactor(kanban): remove phase 2 agent execution logic and streamline phase 1 kanban

* feat(kanban): add notifications and audit logging for kanban (#334)

* feat(kanban): redesign config area layout and add parent tasks multi-selector (#335)

* feat(webui): redesign kanban task dialog config area

* feat(kanban): simplify task dependencies with parent tasks multi-selector

* refactor(kanban): remove unused links routes and legacy dependency methods

* feat(kanban): connect assets and kanban tasks with many-to-many relationship (#336)

* feat(kanban): connect assets and kanban tasks with many-to-many relationship

* feat(kanban): improve asset picker layout, infinite scrolling, and breadcrumb icon styling

* fix(kanban): ensure asset picker scrollarea is scrollable with min-h-0 and shrink-0 flex styling

* fix(kanban): hide recently deleted in folder tree picker and adjust header padding

* fix(kanban): use lucide files icon instead of paperclip for linked assets

* feat(kanban): improve task deletion, goal sidebar interaction, and card styling (#337)

* feat(kanban): improve task deletion, goal sidebar interaction, and card styling

* feat(kanban): move agent task badge after priority and update to orange style

* feat(kanban): add status Compare-And-Swap (CAS) to prevent drag-and-drop race conditions (#338)

* feat(kanban): add status Compare-And-Swap (CAS) to prevent drag-and-drop race conditions

* style(kanban): rotate kanban icon 180 degrees in sidebar and top nav

* style(kanban): remove rotate-180 from SquareKanban icons

* feat(kanban): add unassigned goal record and fix all tasks count (#339)

* feat(kanban): add unassigned goal record and fix all tasks count

* feat(kanban): toggle task count with three-dot action button on goal card hover

* fix(ci): pin bun version to 1.3.14 across CI and Docker (#340)

* fix(webui): truncate goal name to max 2 lines in kanban sidebar (#341)
2026-08-23 10:28:56 +08:00

1392 lines
56 KiB
TypeScript
Generated

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `KanbanTaskLink` model and its related types.
*
* 🟢 You can import this file directly.
*/
import type * as PJTG from '../pjtg';
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 KanbanTaskLink
*
*/
export type KanbanTaskLinkModel = runtime.Types.Result.DefaultSelection<Prisma.$KanbanTaskLinkPayload>
export type AggregateKanbanTaskLink = {
_count: KanbanTaskLinkCountAggregateOutputType | null
_min: KanbanTaskLinkMinAggregateOutputType | null
_max: KanbanTaskLinkMaxAggregateOutputType | null
}
export type KanbanTaskLinkMinAggregateOutputType = {
parentId: string | null
childId: string | null
createdAt: Date | null
}
export type KanbanTaskLinkMaxAggregateOutputType = {
parentId: string | null
childId: string | null
createdAt: Date | null
}
export type KanbanTaskLinkCountAggregateOutputType = {
parentId: number
childId: number
createdAt: number
_all: number
}
export type KanbanTaskLinkMinAggregateInputType = {
parentId?: true
childId?: true
createdAt?: true
}
export type KanbanTaskLinkMaxAggregateInputType = {
parentId?: true
childId?: true
createdAt?: true
}
export type KanbanTaskLinkCountAggregateInputType = {
parentId?: true
childId?: true
createdAt?: true
_all?: true
}
export type KanbanTaskLinkAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which KanbanTaskLink to aggregate.
*/
where?: Prisma.KanbanTaskLinkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KanbanTaskLinks to fetch.
*/
orderBy?: Prisma.KanbanTaskLinkOrderByWithRelationInput | Prisma.KanbanTaskLinkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.KanbanTaskLinkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KanbanTaskLinks 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` KanbanTaskLinks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned KanbanTaskLinks
**/
_count?: true | KanbanTaskLinkCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: KanbanTaskLinkMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: KanbanTaskLinkMaxAggregateInputType
}
export type GetKanbanTaskLinkAggregateType<T extends KanbanTaskLinkAggregateArgs> = {
[P in keyof T & keyof AggregateKanbanTaskLink]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateKanbanTaskLink[P]>
: Prisma.GetScalarType<T[P], AggregateKanbanTaskLink[P]>
}
export type KanbanTaskLinkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KanbanTaskLinkWhereInput
orderBy?: Prisma.KanbanTaskLinkOrderByWithAggregationInput | Prisma.KanbanTaskLinkOrderByWithAggregationInput[]
by: Prisma.KanbanTaskLinkScalarFieldEnum[] | Prisma.KanbanTaskLinkScalarFieldEnum
having?: Prisma.KanbanTaskLinkScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: KanbanTaskLinkCountAggregateInputType | true
_min?: KanbanTaskLinkMinAggregateInputType
_max?: KanbanTaskLinkMaxAggregateInputType
}
export type KanbanTaskLinkGroupByOutputType = {
parentId: string
childId: string
createdAt: Date
_count: KanbanTaskLinkCountAggregateOutputType | null
_min: KanbanTaskLinkMinAggregateOutputType | null
_max: KanbanTaskLinkMaxAggregateOutputType | null
}
export type GetKanbanTaskLinkGroupByPayload<T extends KanbanTaskLinkGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<KanbanTaskLinkGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof KanbanTaskLinkGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], KanbanTaskLinkGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], KanbanTaskLinkGroupByOutputType[P]>
}
>
>
export type KanbanTaskLinkWhereInput = {
AND?: Prisma.KanbanTaskLinkWhereInput | Prisma.KanbanTaskLinkWhereInput[]
OR?: Prisma.KanbanTaskLinkWhereInput[]
NOT?: Prisma.KanbanTaskLinkWhereInput | Prisma.KanbanTaskLinkWhereInput[]
parentId?: Prisma.StringFilter<"KanbanTaskLink"> | string
childId?: Prisma.StringFilter<"KanbanTaskLink"> | string
createdAt?: Prisma.DateTimeFilter<"KanbanTaskLink"> | Date | string
parent?: Prisma.XOR<Prisma.KanbanTaskScalarRelationFilter, Prisma.KanbanTaskWhereInput>
child?: Prisma.XOR<Prisma.KanbanTaskScalarRelationFilter, Prisma.KanbanTaskWhereInput>
}
export type KanbanTaskLinkOrderByWithRelationInput = {
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
parent?: Prisma.KanbanTaskOrderByWithRelationInput
child?: Prisma.KanbanTaskOrderByWithRelationInput
}
export type KanbanTaskLinkWhereUniqueInput = Prisma.AtLeast<{
parentId_childId?: Prisma.KanbanTaskLinkParentIdChildIdCompoundUniqueInput
AND?: Prisma.KanbanTaskLinkWhereInput | Prisma.KanbanTaskLinkWhereInput[]
OR?: Prisma.KanbanTaskLinkWhereInput[]
NOT?: Prisma.KanbanTaskLinkWhereInput | Prisma.KanbanTaskLinkWhereInput[]
parentId?: Prisma.StringFilter<"KanbanTaskLink"> | string
childId?: Prisma.StringFilter<"KanbanTaskLink"> | string
createdAt?: Prisma.DateTimeFilter<"KanbanTaskLink"> | Date | string
parent?: Prisma.XOR<Prisma.KanbanTaskScalarRelationFilter, Prisma.KanbanTaskWhereInput>
child?: Prisma.XOR<Prisma.KanbanTaskScalarRelationFilter, Prisma.KanbanTaskWhereInput>
}, "parentId_childId">
export type KanbanTaskLinkOrderByWithAggregationInput = {
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
_count?: Prisma.KanbanTaskLinkCountOrderByAggregateInput
_max?: Prisma.KanbanTaskLinkMaxOrderByAggregateInput
_min?: Prisma.KanbanTaskLinkMinOrderByAggregateInput
}
export type KanbanTaskLinkScalarWhereWithAggregatesInput = {
AND?: Prisma.KanbanTaskLinkScalarWhereWithAggregatesInput | Prisma.KanbanTaskLinkScalarWhereWithAggregatesInput[]
OR?: Prisma.KanbanTaskLinkScalarWhereWithAggregatesInput[]
NOT?: Prisma.KanbanTaskLinkScalarWhereWithAggregatesInput | Prisma.KanbanTaskLinkScalarWhereWithAggregatesInput[]
parentId?: Prisma.StringWithAggregatesFilter<"KanbanTaskLink"> | string
childId?: Prisma.StringWithAggregatesFilter<"KanbanTaskLink"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KanbanTaskLink"> | Date | string
}
export type KanbanTaskLinkCreateInput = {
createdAt?: Date | string
parent: Prisma.KanbanTaskCreateNestedOneWithoutDependentsInput
child: Prisma.KanbanTaskCreateNestedOneWithoutDependenciesInput
}
export type KanbanTaskLinkUncheckedCreateInput = {
parentId: string
childId: string
createdAt?: Date | string
}
export type KanbanTaskLinkUpdateInput = {
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.KanbanTaskUpdateOneRequiredWithoutDependentsNestedInput
child?: Prisma.KanbanTaskUpdateOneRequiredWithoutDependenciesNestedInput
}
export type KanbanTaskLinkUncheckedUpdateInput = {
parentId?: Prisma.StringFieldUpdateOperationsInput | string
childId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskLinkCreateManyInput = {
parentId: string
childId: string
createdAt?: Date | string
}
export type KanbanTaskLinkUpdateManyMutationInput = {
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskLinkUncheckedUpdateManyInput = {
parentId?: Prisma.StringFieldUpdateOperationsInput | string
childId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskLinkListRelationFilter = {
every?: Prisma.KanbanTaskLinkWhereInput
some?: Prisma.KanbanTaskLinkWhereInput
none?: Prisma.KanbanTaskLinkWhereInput
}
export type KanbanTaskLinkOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type KanbanTaskLinkParentIdChildIdCompoundUniqueInput = {
parentId: string
childId: string
}
export type KanbanTaskLinkCountOrderByAggregateInput = {
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KanbanTaskLinkMaxOrderByAggregateInput = {
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KanbanTaskLinkMinOrderByAggregateInput = {
parentId?: Prisma.SortOrder
childId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KanbanTaskLinkCreateNestedManyWithoutChildInput = {
create?: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutChildInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput> | Prisma.KanbanTaskLinkCreateWithoutChildInput[] | Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput[]
connectOrCreate?: Prisma.KanbanTaskLinkCreateOrConnectWithoutChildInput | Prisma.KanbanTaskLinkCreateOrConnectWithoutChildInput[]
createMany?: Prisma.KanbanTaskLinkCreateManyChildInputEnvelope
connect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
}
export type KanbanTaskLinkCreateNestedManyWithoutParentInput = {
create?: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutParentInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput> | Prisma.KanbanTaskLinkCreateWithoutParentInput[] | Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput[]
connectOrCreate?: Prisma.KanbanTaskLinkCreateOrConnectWithoutParentInput | Prisma.KanbanTaskLinkCreateOrConnectWithoutParentInput[]
createMany?: Prisma.KanbanTaskLinkCreateManyParentInputEnvelope
connect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
}
export type KanbanTaskLinkUncheckedCreateNestedManyWithoutChildInput = {
create?: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutChildInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput> | Prisma.KanbanTaskLinkCreateWithoutChildInput[] | Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput[]
connectOrCreate?: Prisma.KanbanTaskLinkCreateOrConnectWithoutChildInput | Prisma.KanbanTaskLinkCreateOrConnectWithoutChildInput[]
createMany?: Prisma.KanbanTaskLinkCreateManyChildInputEnvelope
connect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
}
export type KanbanTaskLinkUncheckedCreateNestedManyWithoutParentInput = {
create?: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutParentInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput> | Prisma.KanbanTaskLinkCreateWithoutParentInput[] | Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput[]
connectOrCreate?: Prisma.KanbanTaskLinkCreateOrConnectWithoutParentInput | Prisma.KanbanTaskLinkCreateOrConnectWithoutParentInput[]
createMany?: Prisma.KanbanTaskLinkCreateManyParentInputEnvelope
connect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
}
export type KanbanTaskLinkUpdateManyWithoutChildNestedInput = {
create?: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutChildInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput> | Prisma.KanbanTaskLinkCreateWithoutChildInput[] | Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput[]
connectOrCreate?: Prisma.KanbanTaskLinkCreateOrConnectWithoutChildInput | Prisma.KanbanTaskLinkCreateOrConnectWithoutChildInput[]
upsert?: Prisma.KanbanTaskLinkUpsertWithWhereUniqueWithoutChildInput | Prisma.KanbanTaskLinkUpsertWithWhereUniqueWithoutChildInput[]
createMany?: Prisma.KanbanTaskLinkCreateManyChildInputEnvelope
set?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
disconnect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
delete?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
connect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
update?: Prisma.KanbanTaskLinkUpdateWithWhereUniqueWithoutChildInput | Prisma.KanbanTaskLinkUpdateWithWhereUniqueWithoutChildInput[]
updateMany?: Prisma.KanbanTaskLinkUpdateManyWithWhereWithoutChildInput | Prisma.KanbanTaskLinkUpdateManyWithWhereWithoutChildInput[]
deleteMany?: Prisma.KanbanTaskLinkScalarWhereInput | Prisma.KanbanTaskLinkScalarWhereInput[]
}
export type KanbanTaskLinkUpdateManyWithoutParentNestedInput = {
create?: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutParentInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput> | Prisma.KanbanTaskLinkCreateWithoutParentInput[] | Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput[]
connectOrCreate?: Prisma.KanbanTaskLinkCreateOrConnectWithoutParentInput | Prisma.KanbanTaskLinkCreateOrConnectWithoutParentInput[]
upsert?: Prisma.KanbanTaskLinkUpsertWithWhereUniqueWithoutParentInput | Prisma.KanbanTaskLinkUpsertWithWhereUniqueWithoutParentInput[]
createMany?: Prisma.KanbanTaskLinkCreateManyParentInputEnvelope
set?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
disconnect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
delete?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
connect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
update?: Prisma.KanbanTaskLinkUpdateWithWhereUniqueWithoutParentInput | Prisma.KanbanTaskLinkUpdateWithWhereUniqueWithoutParentInput[]
updateMany?: Prisma.KanbanTaskLinkUpdateManyWithWhereWithoutParentInput | Prisma.KanbanTaskLinkUpdateManyWithWhereWithoutParentInput[]
deleteMany?: Prisma.KanbanTaskLinkScalarWhereInput | Prisma.KanbanTaskLinkScalarWhereInput[]
}
export type KanbanTaskLinkUncheckedUpdateManyWithoutChildNestedInput = {
create?: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutChildInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput> | Prisma.KanbanTaskLinkCreateWithoutChildInput[] | Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput[]
connectOrCreate?: Prisma.KanbanTaskLinkCreateOrConnectWithoutChildInput | Prisma.KanbanTaskLinkCreateOrConnectWithoutChildInput[]
upsert?: Prisma.KanbanTaskLinkUpsertWithWhereUniqueWithoutChildInput | Prisma.KanbanTaskLinkUpsertWithWhereUniqueWithoutChildInput[]
createMany?: Prisma.KanbanTaskLinkCreateManyChildInputEnvelope
set?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
disconnect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
delete?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
connect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
update?: Prisma.KanbanTaskLinkUpdateWithWhereUniqueWithoutChildInput | Prisma.KanbanTaskLinkUpdateWithWhereUniqueWithoutChildInput[]
updateMany?: Prisma.KanbanTaskLinkUpdateManyWithWhereWithoutChildInput | Prisma.KanbanTaskLinkUpdateManyWithWhereWithoutChildInput[]
deleteMany?: Prisma.KanbanTaskLinkScalarWhereInput | Prisma.KanbanTaskLinkScalarWhereInput[]
}
export type KanbanTaskLinkUncheckedUpdateManyWithoutParentNestedInput = {
create?: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutParentInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput> | Prisma.KanbanTaskLinkCreateWithoutParentInput[] | Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput[]
connectOrCreate?: Prisma.KanbanTaskLinkCreateOrConnectWithoutParentInput | Prisma.KanbanTaskLinkCreateOrConnectWithoutParentInput[]
upsert?: Prisma.KanbanTaskLinkUpsertWithWhereUniqueWithoutParentInput | Prisma.KanbanTaskLinkUpsertWithWhereUniqueWithoutParentInput[]
createMany?: Prisma.KanbanTaskLinkCreateManyParentInputEnvelope
set?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
disconnect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
delete?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
connect?: Prisma.KanbanTaskLinkWhereUniqueInput | Prisma.KanbanTaskLinkWhereUniqueInput[]
update?: Prisma.KanbanTaskLinkUpdateWithWhereUniqueWithoutParentInput | Prisma.KanbanTaskLinkUpdateWithWhereUniqueWithoutParentInput[]
updateMany?: Prisma.KanbanTaskLinkUpdateManyWithWhereWithoutParentInput | Prisma.KanbanTaskLinkUpdateManyWithWhereWithoutParentInput[]
deleteMany?: Prisma.KanbanTaskLinkScalarWhereInput | Prisma.KanbanTaskLinkScalarWhereInput[]
}
export type KanbanTaskLinkCreateWithoutChildInput = {
createdAt?: Date | string
parent: Prisma.KanbanTaskCreateNestedOneWithoutDependentsInput
}
export type KanbanTaskLinkUncheckedCreateWithoutChildInput = {
parentId: string
createdAt?: Date | string
}
export type KanbanTaskLinkCreateOrConnectWithoutChildInput = {
where: Prisma.KanbanTaskLinkWhereUniqueInput
create: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutChildInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput>
}
export type KanbanTaskLinkCreateManyChildInputEnvelope = {
data: Prisma.KanbanTaskLinkCreateManyChildInput | Prisma.KanbanTaskLinkCreateManyChildInput[]
skipDuplicates?: boolean
}
export type KanbanTaskLinkCreateWithoutParentInput = {
createdAt?: Date | string
child: Prisma.KanbanTaskCreateNestedOneWithoutDependenciesInput
}
export type KanbanTaskLinkUncheckedCreateWithoutParentInput = {
childId: string
createdAt?: Date | string
}
export type KanbanTaskLinkCreateOrConnectWithoutParentInput = {
where: Prisma.KanbanTaskLinkWhereUniqueInput
create: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutParentInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput>
}
export type KanbanTaskLinkCreateManyParentInputEnvelope = {
data: Prisma.KanbanTaskLinkCreateManyParentInput | Prisma.KanbanTaskLinkCreateManyParentInput[]
skipDuplicates?: boolean
}
export type KanbanTaskLinkUpsertWithWhereUniqueWithoutChildInput = {
where: Prisma.KanbanTaskLinkWhereUniqueInput
update: Prisma.XOR<Prisma.KanbanTaskLinkUpdateWithoutChildInput, Prisma.KanbanTaskLinkUncheckedUpdateWithoutChildInput>
create: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutChildInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutChildInput>
}
export type KanbanTaskLinkUpdateWithWhereUniqueWithoutChildInput = {
where: Prisma.KanbanTaskLinkWhereUniqueInput
data: Prisma.XOR<Prisma.KanbanTaskLinkUpdateWithoutChildInput, Prisma.KanbanTaskLinkUncheckedUpdateWithoutChildInput>
}
export type KanbanTaskLinkUpdateManyWithWhereWithoutChildInput = {
where: Prisma.KanbanTaskLinkScalarWhereInput
data: Prisma.XOR<Prisma.KanbanTaskLinkUpdateManyMutationInput, Prisma.KanbanTaskLinkUncheckedUpdateManyWithoutChildInput>
}
export type KanbanTaskLinkScalarWhereInput = {
AND?: Prisma.KanbanTaskLinkScalarWhereInput | Prisma.KanbanTaskLinkScalarWhereInput[]
OR?: Prisma.KanbanTaskLinkScalarWhereInput[]
NOT?: Prisma.KanbanTaskLinkScalarWhereInput | Prisma.KanbanTaskLinkScalarWhereInput[]
parentId?: Prisma.StringFilter<"KanbanTaskLink"> | string
childId?: Prisma.StringFilter<"KanbanTaskLink"> | string
createdAt?: Prisma.DateTimeFilter<"KanbanTaskLink"> | Date | string
}
export type KanbanTaskLinkUpsertWithWhereUniqueWithoutParentInput = {
where: Prisma.KanbanTaskLinkWhereUniqueInput
update: Prisma.XOR<Prisma.KanbanTaskLinkUpdateWithoutParentInput, Prisma.KanbanTaskLinkUncheckedUpdateWithoutParentInput>
create: Prisma.XOR<Prisma.KanbanTaskLinkCreateWithoutParentInput, Prisma.KanbanTaskLinkUncheckedCreateWithoutParentInput>
}
export type KanbanTaskLinkUpdateWithWhereUniqueWithoutParentInput = {
where: Prisma.KanbanTaskLinkWhereUniqueInput
data: Prisma.XOR<Prisma.KanbanTaskLinkUpdateWithoutParentInput, Prisma.KanbanTaskLinkUncheckedUpdateWithoutParentInput>
}
export type KanbanTaskLinkUpdateManyWithWhereWithoutParentInput = {
where: Prisma.KanbanTaskLinkScalarWhereInput
data: Prisma.XOR<Prisma.KanbanTaskLinkUpdateManyMutationInput, Prisma.KanbanTaskLinkUncheckedUpdateManyWithoutParentInput>
}
export type KanbanTaskLinkCreateManyChildInput = {
parentId: string
createdAt?: Date | string
}
export type KanbanTaskLinkCreateManyParentInput = {
childId: string
createdAt?: Date | string
}
export type KanbanTaskLinkUpdateWithoutChildInput = {
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.KanbanTaskUpdateOneRequiredWithoutDependentsNestedInput
}
export type KanbanTaskLinkUncheckedUpdateWithoutChildInput = {
parentId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskLinkUncheckedUpdateManyWithoutChildInput = {
parentId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskLinkUpdateWithoutParentInput = {
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
child?: Prisma.KanbanTaskUpdateOneRequiredWithoutDependenciesNestedInput
}
export type KanbanTaskLinkUncheckedUpdateWithoutParentInput = {
childId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskLinkUncheckedUpdateManyWithoutParentInput = {
childId?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskLinkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
parentId?: boolean
childId?: boolean
createdAt?: boolean
parent?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
child?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
}, ExtArgs["result"]["kanbanTaskLink"]>
export type KanbanTaskLinkSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
parentId?: boolean
childId?: boolean
createdAt?: boolean
parent?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
child?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
}, ExtArgs["result"]["kanbanTaskLink"]>
export type KanbanTaskLinkSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
parentId?: boolean
childId?: boolean
createdAt?: boolean
parent?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
child?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
}, ExtArgs["result"]["kanbanTaskLink"]>
export type KanbanTaskLinkSelectScalar = {
parentId?: boolean
childId?: boolean
createdAt?: boolean
}
export type KanbanTaskLinkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"parentId" | "childId" | "createdAt", ExtArgs["result"]["kanbanTaskLink"]>
export type KanbanTaskLinkInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
parent?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
child?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
}
export type KanbanTaskLinkIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
parent?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
child?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
}
export type KanbanTaskLinkIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
parent?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
child?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
}
export type $KanbanTaskLinkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "KanbanTaskLink"
objects: {
parent: Prisma.$KanbanTaskPayload<ExtArgs>
child: Prisma.$KanbanTaskPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
parentId: string
childId: string
createdAt: Date
}, ExtArgs["result"]["kanbanTaskLink"]>
composites: {}
}
export type KanbanTaskLinkGetPayload<S extends boolean | null | undefined | KanbanTaskLinkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload, S>
export type KanbanTaskLinkCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<KanbanTaskLinkFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: KanbanTaskLinkCountAggregateInputType | true
}
export interface KanbanTaskLinkDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KanbanTaskLink'], meta: { name: 'KanbanTaskLink' } }
/**
* Find zero or one KanbanTaskLink that matches the filter.
* @param {KanbanTaskLinkFindUniqueArgs} args - Arguments to find a KanbanTaskLink
* @example
* // Get one KanbanTaskLink
* const kanbanTaskLink = await prisma.kanbanTaskLink.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends KanbanTaskLinkFindUniqueArgs>(args: Prisma.SelectSubset<T, KanbanTaskLinkFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskLinkClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one KanbanTaskLink that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {KanbanTaskLinkFindUniqueOrThrowArgs} args - Arguments to find a KanbanTaskLink
* @example
* // Get one KanbanTaskLink
* const kanbanTaskLink = await prisma.kanbanTaskLink.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends KanbanTaskLinkFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KanbanTaskLinkFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskLinkClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first KanbanTaskLink 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 {KanbanTaskLinkFindFirstArgs} args - Arguments to find a KanbanTaskLink
* @example
* // Get one KanbanTaskLink
* const kanbanTaskLink = await prisma.kanbanTaskLink.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends KanbanTaskLinkFindFirstArgs>(args?: Prisma.SelectSubset<T, KanbanTaskLinkFindFirstArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskLinkClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first KanbanTaskLink 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 {KanbanTaskLinkFindFirstOrThrowArgs} args - Arguments to find a KanbanTaskLink
* @example
* // Get one KanbanTaskLink
* const kanbanTaskLink = await prisma.kanbanTaskLink.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends KanbanTaskLinkFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KanbanTaskLinkFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskLinkClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more KanbanTaskLinks 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 {KanbanTaskLinkFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all KanbanTaskLinks
* const kanbanTaskLinks = await prisma.kanbanTaskLink.findMany()
*
* // Get first 10 KanbanTaskLinks
* const kanbanTaskLinks = await prisma.kanbanTaskLink.findMany({ take: 10 })
*
* // Only select the `parentId`
* const kanbanTaskLinkWithParentIdOnly = await prisma.kanbanTaskLink.findMany({ select: { parentId: true } })
*
*/
findMany<T extends KanbanTaskLinkFindManyArgs>(args?: Prisma.SelectSubset<T, KanbanTaskLinkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a KanbanTaskLink.
* @param {KanbanTaskLinkCreateArgs} args - Arguments to create a KanbanTaskLink.
* @example
* // Create one KanbanTaskLink
* const KanbanTaskLink = await prisma.kanbanTaskLink.create({
* data: {
* // ... data to create a KanbanTaskLink
* }
* })
*
*/
create<T extends KanbanTaskLinkCreateArgs>(args: Prisma.SelectSubset<T, KanbanTaskLinkCreateArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskLinkClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many KanbanTaskLinks.
* @param {KanbanTaskLinkCreateManyArgs} args - Arguments to create many KanbanTaskLinks.
* @example
* // Create many KanbanTaskLinks
* const kanbanTaskLink = await prisma.kanbanTaskLink.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends KanbanTaskLinkCreateManyArgs>(args?: Prisma.SelectSubset<T, KanbanTaskLinkCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many KanbanTaskLinks and returns the data saved in the database.
* @param {KanbanTaskLinkCreateManyAndReturnArgs} args - Arguments to create many KanbanTaskLinks.
* @example
* // Create many KanbanTaskLinks
* const kanbanTaskLink = await prisma.kanbanTaskLink.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many KanbanTaskLinks and only return the `parentId`
* const kanbanTaskLinkWithParentIdOnly = await prisma.kanbanTaskLink.createManyAndReturn({
* select: { parentId: 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 KanbanTaskLinkCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KanbanTaskLinkCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a KanbanTaskLink.
* @param {KanbanTaskLinkDeleteArgs} args - Arguments to delete one KanbanTaskLink.
* @example
* // Delete one KanbanTaskLink
* const KanbanTaskLink = await prisma.kanbanTaskLink.delete({
* where: {
* // ... filter to delete one KanbanTaskLink
* }
* })
*
*/
delete<T extends KanbanTaskLinkDeleteArgs>(args: Prisma.SelectSubset<T, KanbanTaskLinkDeleteArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskLinkClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one KanbanTaskLink.
* @param {KanbanTaskLinkUpdateArgs} args - Arguments to update one KanbanTaskLink.
* @example
* // Update one KanbanTaskLink
* const kanbanTaskLink = await prisma.kanbanTaskLink.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends KanbanTaskLinkUpdateArgs>(args: Prisma.SelectSubset<T, KanbanTaskLinkUpdateArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskLinkClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more KanbanTaskLinks.
* @param {KanbanTaskLinkDeleteManyArgs} args - Arguments to filter KanbanTaskLinks to delete.
* @example
* // Delete a few KanbanTaskLinks
* const { count } = await prisma.kanbanTaskLink.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends KanbanTaskLinkDeleteManyArgs>(args?: Prisma.SelectSubset<T, KanbanTaskLinkDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more KanbanTaskLinks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KanbanTaskLinkUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many KanbanTaskLinks
* const kanbanTaskLink = await prisma.kanbanTaskLink.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends KanbanTaskLinkUpdateManyArgs>(args: Prisma.SelectSubset<T, KanbanTaskLinkUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more KanbanTaskLinks and returns the data updated in the database.
* @param {KanbanTaskLinkUpdateManyAndReturnArgs} args - Arguments to update many KanbanTaskLinks.
* @example
* // Update many KanbanTaskLinks
* const kanbanTaskLink = await prisma.kanbanTaskLink.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more KanbanTaskLinks and only return the `parentId`
* const kanbanTaskLinkWithParentIdOnly = await prisma.kanbanTaskLink.updateManyAndReturn({
* select: { parentId: 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 KanbanTaskLinkUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KanbanTaskLinkUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one KanbanTaskLink.
* @param {KanbanTaskLinkUpsertArgs} args - Arguments to update or create a KanbanTaskLink.
* @example
* // Update or create a KanbanTaskLink
* const kanbanTaskLink = await prisma.kanbanTaskLink.upsert({
* create: {
* // ... data to create a KanbanTaskLink
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the KanbanTaskLink we want to update
* }
* })
*/
upsert<T extends KanbanTaskLinkUpsertArgs>(args: Prisma.SelectSubset<T, KanbanTaskLinkUpsertArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskLinkClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskLinkPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of KanbanTaskLinks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KanbanTaskLinkCountArgs} args - Arguments to filter KanbanTaskLinks to count.
* @example
* // Count the number of KanbanTaskLinks
* const count = await prisma.kanbanTaskLink.count({
* where: {
* // ... the filter for the KanbanTaskLinks we want to count
* }
* })
**/
count<T extends KanbanTaskLinkCountArgs>(
args?: Prisma.Subset<T, KanbanTaskLinkCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], KanbanTaskLinkCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a KanbanTaskLink.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KanbanTaskLinkAggregateArgs} 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 KanbanTaskLinkAggregateArgs>(args: Prisma.Subset<T, KanbanTaskLinkAggregateArgs>): Prisma.PrismaPromise<GetKanbanTaskLinkAggregateType<T>>
/**
* Group by KanbanTaskLink.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KanbanTaskLinkGroupByArgs} 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 KanbanTaskLinkGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: KanbanTaskLinkGroupByArgs['orderBy'] }
: { orderBy?: KanbanTaskLinkGroupByArgs['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, KanbanTaskLinkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKanbanTaskLinkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the KanbanTaskLink model
*/
readonly fields: KanbanTaskLinkFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for KanbanTaskLink.
* 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__KanbanTaskLinkClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
parent<T extends Prisma.KanbanTaskDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KanbanTaskDefaultArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
child<T extends Prisma.KanbanTaskDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KanbanTaskDefaultArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskPayload<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 KanbanTaskLink model
*/
export interface KanbanTaskLinkFieldRefs {
readonly parentId: Prisma.FieldRef<"KanbanTaskLink", 'String'>
readonly childId: Prisma.FieldRef<"KanbanTaskLink", 'String'>
readonly createdAt: Prisma.FieldRef<"KanbanTaskLink", 'DateTime'>
}
// Custom InputTypes
/**
* KanbanTaskLink findUnique
*/
export type KanbanTaskLinkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskLink to fetch.
*/
where: Prisma.KanbanTaskLinkWhereUniqueInput
}
/**
* KanbanTaskLink findUniqueOrThrow
*/
export type KanbanTaskLinkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskLink to fetch.
*/
where: Prisma.KanbanTaskLinkWhereUniqueInput
}
/**
* KanbanTaskLink findFirst
*/
export type KanbanTaskLinkFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskLink to fetch.
*/
where?: Prisma.KanbanTaskLinkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KanbanTaskLinks to fetch.
*/
orderBy?: Prisma.KanbanTaskLinkOrderByWithRelationInput | Prisma.KanbanTaskLinkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for KanbanTaskLinks.
*/
cursor?: Prisma.KanbanTaskLinkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KanbanTaskLinks 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` KanbanTaskLinks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KanbanTaskLinks.
*/
distinct?: Prisma.KanbanTaskLinkScalarFieldEnum | Prisma.KanbanTaskLinkScalarFieldEnum[]
}
/**
* KanbanTaskLink findFirstOrThrow
*/
export type KanbanTaskLinkFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskLink to fetch.
*/
where?: Prisma.KanbanTaskLinkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KanbanTaskLinks to fetch.
*/
orderBy?: Prisma.KanbanTaskLinkOrderByWithRelationInput | Prisma.KanbanTaskLinkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for KanbanTaskLinks.
*/
cursor?: Prisma.KanbanTaskLinkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KanbanTaskLinks 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` KanbanTaskLinks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KanbanTaskLinks.
*/
distinct?: Prisma.KanbanTaskLinkScalarFieldEnum | Prisma.KanbanTaskLinkScalarFieldEnum[]
}
/**
* KanbanTaskLink findMany
*/
export type KanbanTaskLinkFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskLinks to fetch.
*/
where?: Prisma.KanbanTaskLinkWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KanbanTaskLinks to fetch.
*/
orderBy?: Prisma.KanbanTaskLinkOrderByWithRelationInput | Prisma.KanbanTaskLinkOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing KanbanTaskLinks.
*/
cursor?: Prisma.KanbanTaskLinkWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KanbanTaskLinks 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` KanbanTaskLinks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KanbanTaskLinks.
*/
distinct?: Prisma.KanbanTaskLinkScalarFieldEnum | Prisma.KanbanTaskLinkScalarFieldEnum[]
}
/**
* KanbanTaskLink create
*/
export type KanbanTaskLinkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
/**
* The data needed to create a KanbanTaskLink.
*/
data: Prisma.XOR<Prisma.KanbanTaskLinkCreateInput, Prisma.KanbanTaskLinkUncheckedCreateInput>
}
/**
* KanbanTaskLink createMany
*/
export type KanbanTaskLinkCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many KanbanTaskLinks.
*/
data: Prisma.KanbanTaskLinkCreateManyInput | Prisma.KanbanTaskLinkCreateManyInput[]
skipDuplicates?: boolean
}
/**
* KanbanTaskLink createManyAndReturn
*/
export type KanbanTaskLinkCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* The data used to create many KanbanTaskLinks.
*/
data: Prisma.KanbanTaskLinkCreateManyInput | Prisma.KanbanTaskLinkCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* KanbanTaskLink update
*/
export type KanbanTaskLinkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
/**
* The data needed to update a KanbanTaskLink.
*/
data: Prisma.XOR<Prisma.KanbanTaskLinkUpdateInput, Prisma.KanbanTaskLinkUncheckedUpdateInput>
/**
* Choose, which KanbanTaskLink to update.
*/
where: Prisma.KanbanTaskLinkWhereUniqueInput
}
/**
* KanbanTaskLink updateMany
*/
export type KanbanTaskLinkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update KanbanTaskLinks.
*/
data: Prisma.XOR<Prisma.KanbanTaskLinkUpdateManyMutationInput, Prisma.KanbanTaskLinkUncheckedUpdateManyInput>
/**
* Filter which KanbanTaskLinks to update
*/
where?: Prisma.KanbanTaskLinkWhereInput
/**
* Limit how many KanbanTaskLinks to update.
*/
limit?: number
}
/**
* KanbanTaskLink updateManyAndReturn
*/
export type KanbanTaskLinkUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* The data used to update KanbanTaskLinks.
*/
data: Prisma.XOR<Prisma.KanbanTaskLinkUpdateManyMutationInput, Prisma.KanbanTaskLinkUncheckedUpdateManyInput>
/**
* Filter which KanbanTaskLinks to update
*/
where?: Prisma.KanbanTaskLinkWhereInput
/**
* Limit how many KanbanTaskLinks to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* KanbanTaskLink upsert
*/
export type KanbanTaskLinkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
/**
* The filter to search for the KanbanTaskLink to update in case it exists.
*/
where: Prisma.KanbanTaskLinkWhereUniqueInput
/**
* In case the KanbanTaskLink found by the `where` argument doesn't exist, create a new KanbanTaskLink with this data.
*/
create: Prisma.XOR<Prisma.KanbanTaskLinkCreateInput, Prisma.KanbanTaskLinkUncheckedCreateInput>
/**
* In case the KanbanTaskLink was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.KanbanTaskLinkUpdateInput, Prisma.KanbanTaskLinkUncheckedUpdateInput>
}
/**
* KanbanTaskLink delete
*/
export type KanbanTaskLinkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
/**
* Filter which KanbanTaskLink to delete.
*/
where: Prisma.KanbanTaskLinkWhereUniqueInput
}
/**
* KanbanTaskLink deleteMany
*/
export type KanbanTaskLinkDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which KanbanTaskLinks to delete
*/
where?: Prisma.KanbanTaskLinkWhereInput
/**
* Limit how many KanbanTaskLinks to delete.
*/
limit?: number
}
/**
* KanbanTaskLink without action
*/
export type KanbanTaskLinkDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskLink
*/
select?: Prisma.KanbanTaskLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskLink
*/
omit?: Prisma.KanbanTaskLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskLinkInclude<ExtArgs> | null
}