mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 19:18:39 +00:00
* 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)
1547 lines
65 KiB
TypeScript
Generated
1547 lines
65 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 `KanbanTaskComment` 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 KanbanTaskComment
|
|
*
|
|
*/
|
|
export type KanbanTaskCommentModel = runtime.Types.Result.DefaultSelection<Prisma.$KanbanTaskCommentPayload>
|
|
|
|
export type AggregateKanbanTaskComment = {
|
|
_count: KanbanTaskCommentCountAggregateOutputType | null
|
|
_min: KanbanTaskCommentMinAggregateOutputType | null
|
|
_max: KanbanTaskCommentMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type KanbanTaskCommentMinAggregateOutputType = {
|
|
id: string | null
|
|
taskId: string | null
|
|
authorId: string | null
|
|
body: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type KanbanTaskCommentMaxAggregateOutputType = {
|
|
id: string | null
|
|
taskId: string | null
|
|
authorId: string | null
|
|
body: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type KanbanTaskCommentCountAggregateOutputType = {
|
|
id: number
|
|
taskId: number
|
|
authorId: number
|
|
body: number
|
|
attachments:PrismaJson.KanbanCommentAttachmentList
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type KanbanTaskCommentMinAggregateInputType = {
|
|
id?: true
|
|
taskId?: true
|
|
authorId?: true
|
|
body?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type KanbanTaskCommentMaxAggregateInputType = {
|
|
id?: true
|
|
taskId?: true
|
|
authorId?: true
|
|
body?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type KanbanTaskCommentCountAggregateInputType = {
|
|
id?: true
|
|
taskId?: true
|
|
authorId?: true
|
|
body?: true
|
|
attachments?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type KanbanTaskCommentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KanbanTaskComment to aggregate.
|
|
*/
|
|
where?: Prisma.KanbanTaskCommentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KanbanTaskComments to fetch.
|
|
*/
|
|
orderBy?: Prisma.KanbanTaskCommentOrderByWithRelationInput | Prisma.KanbanTaskCommentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KanbanTaskComments 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` KanbanTaskComments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned KanbanTaskComments
|
|
**/
|
|
_count?: true | KanbanTaskCommentCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: KanbanTaskCommentMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: KanbanTaskCommentMaxAggregateInputType
|
|
}
|
|
|
|
export type GetKanbanTaskCommentAggregateType<T extends KanbanTaskCommentAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateKanbanTaskComment]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateKanbanTaskComment[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateKanbanTaskComment[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type KanbanTaskCommentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.KanbanTaskCommentWhereInput
|
|
orderBy?: Prisma.KanbanTaskCommentOrderByWithAggregationInput | Prisma.KanbanTaskCommentOrderByWithAggregationInput[]
|
|
by: Prisma.KanbanTaskCommentScalarFieldEnum[] | Prisma.KanbanTaskCommentScalarFieldEnum
|
|
having?: Prisma.KanbanTaskCommentScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: KanbanTaskCommentCountAggregateInputType | true
|
|
_min?: KanbanTaskCommentMinAggregateInputType
|
|
_max?: KanbanTaskCommentMaxAggregateInputType
|
|
}
|
|
|
|
export type KanbanTaskCommentGroupByOutputType = {
|
|
id: string
|
|
taskId: string
|
|
authorId: string
|
|
body: string
|
|
attachments:PrismaJson.KanbanCommentAttachmentList | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: KanbanTaskCommentCountAggregateOutputType | null
|
|
_min: KanbanTaskCommentMinAggregateOutputType | null
|
|
_max: KanbanTaskCommentMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetKanbanTaskCommentGroupByPayload<T extends KanbanTaskCommentGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<KanbanTaskCommentGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof KanbanTaskCommentGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], KanbanTaskCommentGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], KanbanTaskCommentGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type KanbanTaskCommentWhereInput = {
|
|
AND?: Prisma.KanbanTaskCommentWhereInput | Prisma.KanbanTaskCommentWhereInput[]
|
|
OR?: Prisma.KanbanTaskCommentWhereInput[]
|
|
NOT?: Prisma.KanbanTaskCommentWhereInput | Prisma.KanbanTaskCommentWhereInput[]
|
|
id?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
taskId?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
authorId?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
body?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
attachments?: Prisma.JsonNullableFilter<"KanbanTaskComment">
|
|
createdAt?: Prisma.DateTimeFilter<"KanbanTaskComment"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KanbanTaskComment"> | Date | string
|
|
task?: Prisma.XOR<Prisma.KanbanTaskScalarRelationFilter, Prisma.KanbanTaskWhereInput>
|
|
author?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
}
|
|
|
|
export type KanbanTaskCommentOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
taskId?: Prisma.SortOrder
|
|
authorId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
attachments?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
task?: Prisma.KanbanTaskOrderByWithRelationInput
|
|
author?: Prisma.UserOrderByWithRelationInput
|
|
}
|
|
|
|
export type KanbanTaskCommentWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.KanbanTaskCommentWhereInput | Prisma.KanbanTaskCommentWhereInput[]
|
|
OR?: Prisma.KanbanTaskCommentWhereInput[]
|
|
NOT?: Prisma.KanbanTaskCommentWhereInput | Prisma.KanbanTaskCommentWhereInput[]
|
|
taskId?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
authorId?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
body?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
attachments?: Prisma.JsonNullableFilter<"KanbanTaskComment">
|
|
createdAt?: Prisma.DateTimeFilter<"KanbanTaskComment"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KanbanTaskComment"> | Date | string
|
|
task?: Prisma.XOR<Prisma.KanbanTaskScalarRelationFilter, Prisma.KanbanTaskWhereInput>
|
|
author?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
}, "id">
|
|
|
|
export type KanbanTaskCommentOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
taskId?: Prisma.SortOrder
|
|
authorId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
attachments?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.KanbanTaskCommentCountOrderByAggregateInput
|
|
_max?: Prisma.KanbanTaskCommentMaxOrderByAggregateInput
|
|
_min?: Prisma.KanbanTaskCommentMinOrderByAggregateInput
|
|
}
|
|
|
|
export type KanbanTaskCommentScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.KanbanTaskCommentScalarWhereWithAggregatesInput | Prisma.KanbanTaskCommentScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.KanbanTaskCommentScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.KanbanTaskCommentScalarWhereWithAggregatesInput | Prisma.KanbanTaskCommentScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"KanbanTaskComment"> | string
|
|
taskId?: Prisma.StringWithAggregatesFilter<"KanbanTaskComment"> | string
|
|
authorId?: Prisma.StringWithAggregatesFilter<"KanbanTaskComment"> | string
|
|
body?: Prisma.StringWithAggregatesFilter<"KanbanTaskComment"> | string
|
|
attachments?: Prisma.JsonNullableWithAggregatesFilter<"KanbanTaskComment">
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KanbanTaskComment"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"KanbanTaskComment"> | Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateInput = {
|
|
id?: string
|
|
body: string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
task: Prisma.KanbanTaskCreateNestedOneWithoutCommentsInput
|
|
author: Prisma.UserCreateNestedOneWithoutKanbanTaskCommentsInput
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedCreateInput = {
|
|
id?: string
|
|
taskId: string
|
|
authorId: string
|
|
body: string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
task?: Prisma.KanbanTaskUpdateOneRequiredWithoutCommentsNestedInput
|
|
author?: Prisma.UserUpdateOneRequiredWithoutKanbanTaskCommentsNestedInput
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
taskId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateManyInput = {
|
|
id?: string
|
|
taskId: string
|
|
authorId: string
|
|
body: string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
taskId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentListRelationFilter = {
|
|
every?: Prisma.KanbanTaskCommentWhereInput
|
|
some?: Prisma.KanbanTaskCommentWhereInput
|
|
none?: Prisma.KanbanTaskCommentWhereInput
|
|
}
|
|
|
|
export type KanbanTaskCommentOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KanbanTaskCommentCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
taskId?: Prisma.SortOrder
|
|
authorId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
attachments?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KanbanTaskCommentMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
taskId?: Prisma.SortOrder
|
|
authorId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KanbanTaskCommentMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
taskId?: Prisma.SortOrder
|
|
authorId?: Prisma.SortOrder
|
|
body?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateNestedManyWithoutAuthorInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutAuthorInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput> | Prisma.KanbanTaskCommentCreateWithoutAuthorInput[] | Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput[]
|
|
connectOrCreate?: Prisma.KanbanTaskCommentCreateOrConnectWithoutAuthorInput | Prisma.KanbanTaskCommentCreateOrConnectWithoutAuthorInput[]
|
|
createMany?: Prisma.KanbanTaskCommentCreateManyAuthorInputEnvelope
|
|
connect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedCreateNestedManyWithoutAuthorInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutAuthorInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput> | Prisma.KanbanTaskCommentCreateWithoutAuthorInput[] | Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput[]
|
|
connectOrCreate?: Prisma.KanbanTaskCommentCreateOrConnectWithoutAuthorInput | Prisma.KanbanTaskCommentCreateOrConnectWithoutAuthorInput[]
|
|
createMany?: Prisma.KanbanTaskCommentCreateManyAuthorInputEnvelope
|
|
connect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateManyWithoutAuthorNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutAuthorInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput> | Prisma.KanbanTaskCommentCreateWithoutAuthorInput[] | Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput[]
|
|
connectOrCreate?: Prisma.KanbanTaskCommentCreateOrConnectWithoutAuthorInput | Prisma.KanbanTaskCommentCreateOrConnectWithoutAuthorInput[]
|
|
upsert?: Prisma.KanbanTaskCommentUpsertWithWhereUniqueWithoutAuthorInput | Prisma.KanbanTaskCommentUpsertWithWhereUniqueWithoutAuthorInput[]
|
|
createMany?: Prisma.KanbanTaskCommentCreateManyAuthorInputEnvelope
|
|
set?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
disconnect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
delete?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
connect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
update?: Prisma.KanbanTaskCommentUpdateWithWhereUniqueWithoutAuthorInput | Prisma.KanbanTaskCommentUpdateWithWhereUniqueWithoutAuthorInput[]
|
|
updateMany?: Prisma.KanbanTaskCommentUpdateManyWithWhereWithoutAuthorInput | Prisma.KanbanTaskCommentUpdateManyWithWhereWithoutAuthorInput[]
|
|
deleteMany?: Prisma.KanbanTaskCommentScalarWhereInput | Prisma.KanbanTaskCommentScalarWhereInput[]
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedUpdateManyWithoutAuthorNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutAuthorInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput> | Prisma.KanbanTaskCommentCreateWithoutAuthorInput[] | Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput[]
|
|
connectOrCreate?: Prisma.KanbanTaskCommentCreateOrConnectWithoutAuthorInput | Prisma.KanbanTaskCommentCreateOrConnectWithoutAuthorInput[]
|
|
upsert?: Prisma.KanbanTaskCommentUpsertWithWhereUniqueWithoutAuthorInput | Prisma.KanbanTaskCommentUpsertWithWhereUniqueWithoutAuthorInput[]
|
|
createMany?: Prisma.KanbanTaskCommentCreateManyAuthorInputEnvelope
|
|
set?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
disconnect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
delete?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
connect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
update?: Prisma.KanbanTaskCommentUpdateWithWhereUniqueWithoutAuthorInput | Prisma.KanbanTaskCommentUpdateWithWhereUniqueWithoutAuthorInput[]
|
|
updateMany?: Prisma.KanbanTaskCommentUpdateManyWithWhereWithoutAuthorInput | Prisma.KanbanTaskCommentUpdateManyWithWhereWithoutAuthorInput[]
|
|
deleteMany?: Prisma.KanbanTaskCommentScalarWhereInput | Prisma.KanbanTaskCommentScalarWhereInput[]
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateNestedManyWithoutTaskInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutTaskInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput> | Prisma.KanbanTaskCommentCreateWithoutTaskInput[] | Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput[]
|
|
connectOrCreate?: Prisma.KanbanTaskCommentCreateOrConnectWithoutTaskInput | Prisma.KanbanTaskCommentCreateOrConnectWithoutTaskInput[]
|
|
createMany?: Prisma.KanbanTaskCommentCreateManyTaskInputEnvelope
|
|
connect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedCreateNestedManyWithoutTaskInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutTaskInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput> | Prisma.KanbanTaskCommentCreateWithoutTaskInput[] | Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput[]
|
|
connectOrCreate?: Prisma.KanbanTaskCommentCreateOrConnectWithoutTaskInput | Prisma.KanbanTaskCommentCreateOrConnectWithoutTaskInput[]
|
|
createMany?: Prisma.KanbanTaskCommentCreateManyTaskInputEnvelope
|
|
connect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateManyWithoutTaskNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutTaskInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput> | Prisma.KanbanTaskCommentCreateWithoutTaskInput[] | Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput[]
|
|
connectOrCreate?: Prisma.KanbanTaskCommentCreateOrConnectWithoutTaskInput | Prisma.KanbanTaskCommentCreateOrConnectWithoutTaskInput[]
|
|
upsert?: Prisma.KanbanTaskCommentUpsertWithWhereUniqueWithoutTaskInput | Prisma.KanbanTaskCommentUpsertWithWhereUniqueWithoutTaskInput[]
|
|
createMany?: Prisma.KanbanTaskCommentCreateManyTaskInputEnvelope
|
|
set?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
disconnect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
delete?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
connect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
update?: Prisma.KanbanTaskCommentUpdateWithWhereUniqueWithoutTaskInput | Prisma.KanbanTaskCommentUpdateWithWhereUniqueWithoutTaskInput[]
|
|
updateMany?: Prisma.KanbanTaskCommentUpdateManyWithWhereWithoutTaskInput | Prisma.KanbanTaskCommentUpdateManyWithWhereWithoutTaskInput[]
|
|
deleteMany?: Prisma.KanbanTaskCommentScalarWhereInput | Prisma.KanbanTaskCommentScalarWhereInput[]
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedUpdateManyWithoutTaskNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutTaskInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput> | Prisma.KanbanTaskCommentCreateWithoutTaskInput[] | Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput[]
|
|
connectOrCreate?: Prisma.KanbanTaskCommentCreateOrConnectWithoutTaskInput | Prisma.KanbanTaskCommentCreateOrConnectWithoutTaskInput[]
|
|
upsert?: Prisma.KanbanTaskCommentUpsertWithWhereUniqueWithoutTaskInput | Prisma.KanbanTaskCommentUpsertWithWhereUniqueWithoutTaskInput[]
|
|
createMany?: Prisma.KanbanTaskCommentCreateManyTaskInputEnvelope
|
|
set?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
disconnect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
delete?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
connect?: Prisma.KanbanTaskCommentWhereUniqueInput | Prisma.KanbanTaskCommentWhereUniqueInput[]
|
|
update?: Prisma.KanbanTaskCommentUpdateWithWhereUniqueWithoutTaskInput | Prisma.KanbanTaskCommentUpdateWithWhereUniqueWithoutTaskInput[]
|
|
updateMany?: Prisma.KanbanTaskCommentUpdateManyWithWhereWithoutTaskInput | Prisma.KanbanTaskCommentUpdateManyWithWhereWithoutTaskInput[]
|
|
deleteMany?: Prisma.KanbanTaskCommentScalarWhereInput | Prisma.KanbanTaskCommentScalarWhereInput[]
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateWithoutAuthorInput = {
|
|
id?: string
|
|
body: string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
task: Prisma.KanbanTaskCreateNestedOneWithoutCommentsInput
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedCreateWithoutAuthorInput = {
|
|
id?: string
|
|
taskId: string
|
|
body: string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateOrConnectWithoutAuthorInput = {
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutAuthorInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput>
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateManyAuthorInputEnvelope = {
|
|
data: Prisma.KanbanTaskCommentCreateManyAuthorInput | Prisma.KanbanTaskCommentCreateManyAuthorInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type KanbanTaskCommentUpsertWithWhereUniqueWithoutAuthorInput = {
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.KanbanTaskCommentUpdateWithoutAuthorInput, Prisma.KanbanTaskCommentUncheckedUpdateWithoutAuthorInput>
|
|
create: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutAuthorInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutAuthorInput>
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateWithWhereUniqueWithoutAuthorInput = {
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.KanbanTaskCommentUpdateWithoutAuthorInput, Prisma.KanbanTaskCommentUncheckedUpdateWithoutAuthorInput>
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateManyWithWhereWithoutAuthorInput = {
|
|
where: Prisma.KanbanTaskCommentScalarWhereInput
|
|
data: Prisma.XOR<Prisma.KanbanTaskCommentUpdateManyMutationInput, Prisma.KanbanTaskCommentUncheckedUpdateManyWithoutAuthorInput>
|
|
}
|
|
|
|
export type KanbanTaskCommentScalarWhereInput = {
|
|
AND?: Prisma.KanbanTaskCommentScalarWhereInput | Prisma.KanbanTaskCommentScalarWhereInput[]
|
|
OR?: Prisma.KanbanTaskCommentScalarWhereInput[]
|
|
NOT?: Prisma.KanbanTaskCommentScalarWhereInput | Prisma.KanbanTaskCommentScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
taskId?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
authorId?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
body?: Prisma.StringFilter<"KanbanTaskComment"> | string
|
|
attachments?: Prisma.JsonNullableFilter<"KanbanTaskComment">
|
|
createdAt?: Prisma.DateTimeFilter<"KanbanTaskComment"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KanbanTaskComment"> | Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateWithoutTaskInput = {
|
|
id?: string
|
|
body: string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
author: Prisma.UserCreateNestedOneWithoutKanbanTaskCommentsInput
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedCreateWithoutTaskInput = {
|
|
id?: string
|
|
authorId: string
|
|
body: string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateOrConnectWithoutTaskInput = {
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutTaskInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput>
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateManyTaskInputEnvelope = {
|
|
data: Prisma.KanbanTaskCommentCreateManyTaskInput | Prisma.KanbanTaskCommentCreateManyTaskInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type KanbanTaskCommentUpsertWithWhereUniqueWithoutTaskInput = {
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.KanbanTaskCommentUpdateWithoutTaskInput, Prisma.KanbanTaskCommentUncheckedUpdateWithoutTaskInput>
|
|
create: Prisma.XOR<Prisma.KanbanTaskCommentCreateWithoutTaskInput, Prisma.KanbanTaskCommentUncheckedCreateWithoutTaskInput>
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateWithWhereUniqueWithoutTaskInput = {
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.KanbanTaskCommentUpdateWithoutTaskInput, Prisma.KanbanTaskCommentUncheckedUpdateWithoutTaskInput>
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateManyWithWhereWithoutTaskInput = {
|
|
where: Prisma.KanbanTaskCommentScalarWhereInput
|
|
data: Prisma.XOR<Prisma.KanbanTaskCommentUpdateManyMutationInput, Prisma.KanbanTaskCommentUncheckedUpdateManyWithoutTaskInput>
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateManyAuthorInput = {
|
|
id?: string
|
|
taskId: string
|
|
body: string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateWithoutAuthorInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
task?: Prisma.KanbanTaskUpdateOneRequiredWithoutCommentsNestedInput
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedUpdateWithoutAuthorInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
taskId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedUpdateManyWithoutAuthorInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
taskId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentCreateManyTaskInput = {
|
|
id?: string
|
|
authorId: string
|
|
body: string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentUpdateWithoutTaskInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
author?: Prisma.UserUpdateOneRequiredWithoutKanbanTaskCommentsNestedInput
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedUpdateWithoutTaskInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanTaskCommentUncheckedUpdateManyWithoutTaskInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
body?: Prisma.StringFieldUpdateOperationsInput | string
|
|
attachments?:PrismaJson.KanbanCommentAttachmentList | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
|
|
|
|
export type KanbanTaskCommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
taskId?: boolean
|
|
authorId?: boolean
|
|
body?: boolean
|
|
attachments?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
|
|
author?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kanbanTaskComment"]>
|
|
|
|
export type KanbanTaskCommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
taskId?: boolean
|
|
authorId?: boolean
|
|
body?: boolean
|
|
attachments?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
|
|
author?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kanbanTaskComment"]>
|
|
|
|
export type KanbanTaskCommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
taskId?: boolean
|
|
authorId?: boolean
|
|
body?: boolean
|
|
attachments?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
|
|
author?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kanbanTaskComment"]>
|
|
|
|
export type KanbanTaskCommentSelectScalar = {
|
|
id?: boolean
|
|
taskId?: boolean
|
|
authorId?: boolean
|
|
body?: boolean
|
|
attachments?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type KanbanTaskCommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "taskId" | "authorId" | "body" | "attachments" | "createdAt" | "updatedAt", ExtArgs["result"]["kanbanTaskComment"]>
|
|
export type KanbanTaskCommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
|
|
author?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}
|
|
export type KanbanTaskCommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
|
|
author?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}
|
|
export type KanbanTaskCommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
|
|
author?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $KanbanTaskCommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "KanbanTaskComment"
|
|
objects: {
|
|
task: Prisma.$KanbanTaskPayload<ExtArgs>
|
|
author: Prisma.$UserPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
taskId: string
|
|
authorId: string
|
|
body: string
|
|
/**
|
|
* [KanbanCommentAttachmentList]
|
|
*/
|
|
attachments:PrismaJson.KanbanCommentAttachmentList | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["kanbanTaskComment"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type KanbanTaskCommentGetPayload<S extends boolean | null | undefined | KanbanTaskCommentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload, S>
|
|
|
|
export type KanbanTaskCommentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<KanbanTaskCommentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: KanbanTaskCommentCountAggregateInputType | true
|
|
}
|
|
|
|
export interface KanbanTaskCommentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KanbanTaskComment'], meta: { name: 'KanbanTaskComment' } }
|
|
/**
|
|
* Find zero or one KanbanTaskComment that matches the filter.
|
|
* @param {KanbanTaskCommentFindUniqueArgs} args - Arguments to find a KanbanTaskComment
|
|
* @example
|
|
* // Get one KanbanTaskComment
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends KanbanTaskCommentFindUniqueArgs>(args: Prisma.SelectSubset<T, KanbanTaskCommentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskCommentClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one KanbanTaskComment that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {KanbanTaskCommentFindUniqueOrThrowArgs} args - Arguments to find a KanbanTaskComment
|
|
* @example
|
|
* // Get one KanbanTaskComment
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends KanbanTaskCommentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KanbanTaskCommentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskCommentClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KanbanTaskComment 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 {KanbanTaskCommentFindFirstArgs} args - Arguments to find a KanbanTaskComment
|
|
* @example
|
|
* // Get one KanbanTaskComment
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends KanbanTaskCommentFindFirstArgs>(args?: Prisma.SelectSubset<T, KanbanTaskCommentFindFirstArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskCommentClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KanbanTaskComment 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 {KanbanTaskCommentFindFirstOrThrowArgs} args - Arguments to find a KanbanTaskComment
|
|
* @example
|
|
* // Get one KanbanTaskComment
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends KanbanTaskCommentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KanbanTaskCommentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskCommentClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more KanbanTaskComments 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 {KanbanTaskCommentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all KanbanTaskComments
|
|
* const kanbanTaskComments = await prisma.kanbanTaskComment.findMany()
|
|
*
|
|
* // Get first 10 KanbanTaskComments
|
|
* const kanbanTaskComments = await prisma.kanbanTaskComment.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const kanbanTaskCommentWithIdOnly = await prisma.kanbanTaskComment.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends KanbanTaskCommentFindManyArgs>(args?: Prisma.SelectSubset<T, KanbanTaskCommentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a KanbanTaskComment.
|
|
* @param {KanbanTaskCommentCreateArgs} args - Arguments to create a KanbanTaskComment.
|
|
* @example
|
|
* // Create one KanbanTaskComment
|
|
* const KanbanTaskComment = await prisma.kanbanTaskComment.create({
|
|
* data: {
|
|
* // ... data to create a KanbanTaskComment
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends KanbanTaskCommentCreateArgs>(args: Prisma.SelectSubset<T, KanbanTaskCommentCreateArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskCommentClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many KanbanTaskComments.
|
|
* @param {KanbanTaskCommentCreateManyArgs} args - Arguments to create many KanbanTaskComments.
|
|
* @example
|
|
* // Create many KanbanTaskComments
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends KanbanTaskCommentCreateManyArgs>(args?: Prisma.SelectSubset<T, KanbanTaskCommentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many KanbanTaskComments and returns the data saved in the database.
|
|
* @param {KanbanTaskCommentCreateManyAndReturnArgs} args - Arguments to create many KanbanTaskComments.
|
|
* @example
|
|
* // Create many KanbanTaskComments
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many KanbanTaskComments and only return the `id`
|
|
* const kanbanTaskCommentWithIdOnly = await prisma.kanbanTaskComment.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 KanbanTaskCommentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KanbanTaskCommentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a KanbanTaskComment.
|
|
* @param {KanbanTaskCommentDeleteArgs} args - Arguments to delete one KanbanTaskComment.
|
|
* @example
|
|
* // Delete one KanbanTaskComment
|
|
* const KanbanTaskComment = await prisma.kanbanTaskComment.delete({
|
|
* where: {
|
|
* // ... filter to delete one KanbanTaskComment
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends KanbanTaskCommentDeleteArgs>(args: Prisma.SelectSubset<T, KanbanTaskCommentDeleteArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskCommentClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one KanbanTaskComment.
|
|
* @param {KanbanTaskCommentUpdateArgs} args - Arguments to update one KanbanTaskComment.
|
|
* @example
|
|
* // Update one KanbanTaskComment
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends KanbanTaskCommentUpdateArgs>(args: Prisma.SelectSubset<T, KanbanTaskCommentUpdateArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskCommentClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more KanbanTaskComments.
|
|
* @param {KanbanTaskCommentDeleteManyArgs} args - Arguments to filter KanbanTaskComments to delete.
|
|
* @example
|
|
* // Delete a few KanbanTaskComments
|
|
* const { count } = await prisma.kanbanTaskComment.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends KanbanTaskCommentDeleteManyArgs>(args?: Prisma.SelectSubset<T, KanbanTaskCommentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KanbanTaskComments.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KanbanTaskCommentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many KanbanTaskComments
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends KanbanTaskCommentUpdateManyArgs>(args: Prisma.SelectSubset<T, KanbanTaskCommentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KanbanTaskComments and returns the data updated in the database.
|
|
* @param {KanbanTaskCommentUpdateManyAndReturnArgs} args - Arguments to update many KanbanTaskComments.
|
|
* @example
|
|
* // Update many KanbanTaskComments
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more KanbanTaskComments and only return the `id`
|
|
* const kanbanTaskCommentWithIdOnly = await prisma.kanbanTaskComment.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 KanbanTaskCommentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KanbanTaskCommentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one KanbanTaskComment.
|
|
* @param {KanbanTaskCommentUpsertArgs} args - Arguments to update or create a KanbanTaskComment.
|
|
* @example
|
|
* // Update or create a KanbanTaskComment
|
|
* const kanbanTaskComment = await prisma.kanbanTaskComment.upsert({
|
|
* create: {
|
|
* // ... data to create a KanbanTaskComment
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the KanbanTaskComment we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends KanbanTaskCommentUpsertArgs>(args: Prisma.SelectSubset<T, KanbanTaskCommentUpsertArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskCommentClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskCommentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of KanbanTaskComments.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KanbanTaskCommentCountArgs} args - Arguments to filter KanbanTaskComments to count.
|
|
* @example
|
|
* // Count the number of KanbanTaskComments
|
|
* const count = await prisma.kanbanTaskComment.count({
|
|
* where: {
|
|
* // ... the filter for the KanbanTaskComments we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends KanbanTaskCommentCountArgs>(
|
|
args?: Prisma.Subset<T, KanbanTaskCommentCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], KanbanTaskCommentCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a KanbanTaskComment.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KanbanTaskCommentAggregateArgs} 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 KanbanTaskCommentAggregateArgs>(args: Prisma.Subset<T, KanbanTaskCommentAggregateArgs>): Prisma.PrismaPromise<GetKanbanTaskCommentAggregateType<T>>
|
|
|
|
/**
|
|
* Group by KanbanTaskComment.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KanbanTaskCommentGroupByArgs} 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 KanbanTaskCommentGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: KanbanTaskCommentGroupByArgs['orderBy'] }
|
|
: { orderBy?: KanbanTaskCommentGroupByArgs['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, KanbanTaskCommentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKanbanTaskCommentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the KanbanTaskComment model
|
|
*/
|
|
readonly fields: KanbanTaskCommentFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for KanbanTaskComment.
|
|
* 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__KanbanTaskCommentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
task<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>
|
|
author<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>
|
|
/**
|
|
* 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 KanbanTaskComment model
|
|
*/
|
|
export interface KanbanTaskCommentFieldRefs {
|
|
readonly id: Prisma.FieldRef<"KanbanTaskComment", 'String'>
|
|
readonly taskId: Prisma.FieldRef<"KanbanTaskComment", 'String'>
|
|
readonly authorId: Prisma.FieldRef<"KanbanTaskComment", 'String'>
|
|
readonly body: Prisma.FieldRef<"KanbanTaskComment", 'String'>
|
|
readonly attachments: Prisma.FieldRef<"KanbanTaskComment", 'Json'>
|
|
readonly createdAt: Prisma.FieldRef<"KanbanTaskComment", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"KanbanTaskComment", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* KanbanTaskComment findUnique
|
|
*/
|
|
export type KanbanTaskCommentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanTaskComment to fetch.
|
|
*/
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment findUniqueOrThrow
|
|
*/
|
|
export type KanbanTaskCommentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanTaskComment to fetch.
|
|
*/
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment findFirst
|
|
*/
|
|
export type KanbanTaskCommentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanTaskComment to fetch.
|
|
*/
|
|
where?: Prisma.KanbanTaskCommentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KanbanTaskComments to fetch.
|
|
*/
|
|
orderBy?: Prisma.KanbanTaskCommentOrderByWithRelationInput | Prisma.KanbanTaskCommentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KanbanTaskComments.
|
|
*/
|
|
cursor?: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KanbanTaskComments 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` KanbanTaskComments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KanbanTaskComments.
|
|
*/
|
|
distinct?: Prisma.KanbanTaskCommentScalarFieldEnum | Prisma.KanbanTaskCommentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment findFirstOrThrow
|
|
*/
|
|
export type KanbanTaskCommentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanTaskComment to fetch.
|
|
*/
|
|
where?: Prisma.KanbanTaskCommentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KanbanTaskComments to fetch.
|
|
*/
|
|
orderBy?: Prisma.KanbanTaskCommentOrderByWithRelationInput | Prisma.KanbanTaskCommentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KanbanTaskComments.
|
|
*/
|
|
cursor?: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KanbanTaskComments 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` KanbanTaskComments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KanbanTaskComments.
|
|
*/
|
|
distinct?: Prisma.KanbanTaskCommentScalarFieldEnum | Prisma.KanbanTaskCommentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment findMany
|
|
*/
|
|
export type KanbanTaskCommentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanTaskComments to fetch.
|
|
*/
|
|
where?: Prisma.KanbanTaskCommentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KanbanTaskComments to fetch.
|
|
*/
|
|
orderBy?: Prisma.KanbanTaskCommentOrderByWithRelationInput | Prisma.KanbanTaskCommentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing KanbanTaskComments.
|
|
*/
|
|
cursor?: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KanbanTaskComments 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` KanbanTaskComments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KanbanTaskComments.
|
|
*/
|
|
distinct?: Prisma.KanbanTaskCommentScalarFieldEnum | Prisma.KanbanTaskCommentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment create
|
|
*/
|
|
export type KanbanTaskCommentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a KanbanTaskComment.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KanbanTaskCommentCreateInput, Prisma.KanbanTaskCommentUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment createMany
|
|
*/
|
|
export type KanbanTaskCommentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many KanbanTaskComments.
|
|
*/
|
|
data: Prisma.KanbanTaskCommentCreateManyInput | Prisma.KanbanTaskCommentCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment createManyAndReturn
|
|
*/
|
|
export type KanbanTaskCommentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many KanbanTaskComments.
|
|
*/
|
|
data: Prisma.KanbanTaskCommentCreateManyInput | Prisma.KanbanTaskCommentCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment update
|
|
*/
|
|
export type KanbanTaskCommentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a KanbanTaskComment.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KanbanTaskCommentUpdateInput, Prisma.KanbanTaskCommentUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which KanbanTaskComment to update.
|
|
*/
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment updateMany
|
|
*/
|
|
export type KanbanTaskCommentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update KanbanTaskComments.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KanbanTaskCommentUpdateManyMutationInput, Prisma.KanbanTaskCommentUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KanbanTaskComments to update
|
|
*/
|
|
where?: Prisma.KanbanTaskCommentWhereInput
|
|
/**
|
|
* Limit how many KanbanTaskComments to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment updateManyAndReturn
|
|
*/
|
|
export type KanbanTaskCommentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update KanbanTaskComments.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KanbanTaskCommentUpdateManyMutationInput, Prisma.KanbanTaskCommentUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KanbanTaskComments to update
|
|
*/
|
|
where?: Prisma.KanbanTaskCommentWhereInput
|
|
/**
|
|
* Limit how many KanbanTaskComments to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment upsert
|
|
*/
|
|
export type KanbanTaskCommentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the KanbanTaskComment to update in case it exists.
|
|
*/
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
/**
|
|
* In case the KanbanTaskComment found by the `where` argument doesn't exist, create a new KanbanTaskComment with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.KanbanTaskCommentCreateInput, Prisma.KanbanTaskCommentUncheckedCreateInput>
|
|
/**
|
|
* In case the KanbanTaskComment was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.KanbanTaskCommentUpdateInput, Prisma.KanbanTaskCommentUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment delete
|
|
*/
|
|
export type KanbanTaskCommentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which KanbanTaskComment to delete.
|
|
*/
|
|
where: Prisma.KanbanTaskCommentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment deleteMany
|
|
*/
|
|
export type KanbanTaskCommentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KanbanTaskComments to delete
|
|
*/
|
|
where?: Prisma.KanbanTaskCommentWhereInput
|
|
/**
|
|
* Limit how many KanbanTaskComments to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KanbanTaskComment without action
|
|
*/
|
|
export type KanbanTaskCommentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTaskComment
|
|
*/
|
|
select?: Prisma.KanbanTaskCommentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTaskComment
|
|
*/
|
|
omit?: Prisma.KanbanTaskCommentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskCommentInclude<ExtArgs> | null
|
|
}
|