Files
shumai/packages/db/src/generated/prisma/models/KanbanTaskEvent.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

1615 lines
68 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 `KanbanTaskEvent` 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 KanbanTaskEvent
*
*/
export type KanbanTaskEventModel = runtime.Types.Result.DefaultSelection<Prisma.$KanbanTaskEventPayload>
export type AggregateKanbanTaskEvent = {
_count: KanbanTaskEventCountAggregateOutputType | null
_min: KanbanTaskEventMinAggregateOutputType | null
_max: KanbanTaskEventMaxAggregateOutputType | null
}
export type KanbanTaskEventMinAggregateOutputType = {
id: string | null
taskId: string | null
actorId: string | null
type: $Enums.KanbanTaskEventType | null
fromStatus: $Enums.KanbanTaskStatus | null
toStatus: $Enums.KanbanTaskStatus | null
createdAt: Date | null
}
export type KanbanTaskEventMaxAggregateOutputType = {
id: string | null
taskId: string | null
actorId: string | null
type: $Enums.KanbanTaskEventType | null
fromStatus: $Enums.KanbanTaskStatus | null
toStatus: $Enums.KanbanTaskStatus | null
createdAt: Date | null
}
export type KanbanTaskEventCountAggregateOutputType = {
id: number
taskId: number
actorId: number
type: number
fromStatus: number
toStatus: number
data:PrismaJson.KanbanEventPayload
createdAt: number
_all: number
}
export type KanbanTaskEventMinAggregateInputType = {
id?: true
taskId?: true
actorId?: true
type?: true
fromStatus?: true
toStatus?: true
createdAt?: true
}
export type KanbanTaskEventMaxAggregateInputType = {
id?: true
taskId?: true
actorId?: true
type?: true
fromStatus?: true
toStatus?: true
createdAt?: true
}
export type KanbanTaskEventCountAggregateInputType = {
id?: true
taskId?: true
actorId?: true
type?: true
fromStatus?: true
toStatus?: true
data?: true
createdAt?: true
_all?: true
}
export type KanbanTaskEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which KanbanTaskEvent to aggregate.
*/
where?: Prisma.KanbanTaskEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KanbanTaskEvents to fetch.
*/
orderBy?: Prisma.KanbanTaskEventOrderByWithRelationInput | Prisma.KanbanTaskEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.KanbanTaskEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KanbanTaskEvents 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` KanbanTaskEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned KanbanTaskEvents
**/
_count?: true | KanbanTaskEventCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: KanbanTaskEventMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: KanbanTaskEventMaxAggregateInputType
}
export type GetKanbanTaskEventAggregateType<T extends KanbanTaskEventAggregateArgs> = {
[P in keyof T & keyof AggregateKanbanTaskEvent]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateKanbanTaskEvent[P]>
: Prisma.GetScalarType<T[P], AggregateKanbanTaskEvent[P]>
}
export type KanbanTaskEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.KanbanTaskEventWhereInput
orderBy?: Prisma.KanbanTaskEventOrderByWithAggregationInput | Prisma.KanbanTaskEventOrderByWithAggregationInput[]
by: Prisma.KanbanTaskEventScalarFieldEnum[] | Prisma.KanbanTaskEventScalarFieldEnum
having?: Prisma.KanbanTaskEventScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: KanbanTaskEventCountAggregateInputType | true
_min?: KanbanTaskEventMinAggregateInputType
_max?: KanbanTaskEventMaxAggregateInputType
}
export type KanbanTaskEventGroupByOutputType = {
id: string
taskId: string
actorId: string | null
type: $Enums.KanbanTaskEventType
fromStatus: $Enums.KanbanTaskStatus | null
toStatus: $Enums.KanbanTaskStatus | null
data:PrismaJson.KanbanEventPayload | null
createdAt: Date
_count: KanbanTaskEventCountAggregateOutputType | null
_min: KanbanTaskEventMinAggregateOutputType | null
_max: KanbanTaskEventMaxAggregateOutputType | null
}
export type GetKanbanTaskEventGroupByPayload<T extends KanbanTaskEventGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<KanbanTaskEventGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof KanbanTaskEventGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], KanbanTaskEventGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], KanbanTaskEventGroupByOutputType[P]>
}
>
>
export type KanbanTaskEventWhereInput = {
AND?: Prisma.KanbanTaskEventWhereInput | Prisma.KanbanTaskEventWhereInput[]
OR?: Prisma.KanbanTaskEventWhereInput[]
NOT?: Prisma.KanbanTaskEventWhereInput | Prisma.KanbanTaskEventWhereInput[]
id?: Prisma.StringFilter<"KanbanTaskEvent"> | string
taskId?: Prisma.StringFilter<"KanbanTaskEvent"> | string
actorId?: Prisma.StringNullableFilter<"KanbanTaskEvent"> | string | null
type?: Prisma.EnumKanbanTaskEventTypeFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskEventType
fromStatus?: Prisma.EnumKanbanTaskStatusNullableFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.EnumKanbanTaskStatusNullableFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskStatus | null
data?: Prisma.JsonNullableFilter<"KanbanTaskEvent">
createdAt?: Prisma.DateTimeFilter<"KanbanTaskEvent"> | Date | string
task?: Prisma.XOR<Prisma.KanbanTaskScalarRelationFilter, Prisma.KanbanTaskWhereInput>
actor?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
}
export type KanbanTaskEventOrderByWithRelationInput = {
id?: Prisma.SortOrder
taskId?: Prisma.SortOrder
actorId?: Prisma.SortOrderInput | Prisma.SortOrder
type?: Prisma.SortOrder
fromStatus?: Prisma.SortOrderInput | Prisma.SortOrder
toStatus?: Prisma.SortOrderInput | Prisma.SortOrder
data?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
task?: Prisma.KanbanTaskOrderByWithRelationInput
actor?: Prisma.UserOrderByWithRelationInput
}
export type KanbanTaskEventWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.KanbanTaskEventWhereInput | Prisma.KanbanTaskEventWhereInput[]
OR?: Prisma.KanbanTaskEventWhereInput[]
NOT?: Prisma.KanbanTaskEventWhereInput | Prisma.KanbanTaskEventWhereInput[]
taskId?: Prisma.StringFilter<"KanbanTaskEvent"> | string
actorId?: Prisma.StringNullableFilter<"KanbanTaskEvent"> | string | null
type?: Prisma.EnumKanbanTaskEventTypeFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskEventType
fromStatus?: Prisma.EnumKanbanTaskStatusNullableFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.EnumKanbanTaskStatusNullableFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskStatus | null
data?: Prisma.JsonNullableFilter<"KanbanTaskEvent">
createdAt?: Prisma.DateTimeFilter<"KanbanTaskEvent"> | Date | string
task?: Prisma.XOR<Prisma.KanbanTaskScalarRelationFilter, Prisma.KanbanTaskWhereInput>
actor?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
}, "id">
export type KanbanTaskEventOrderByWithAggregationInput = {
id?: Prisma.SortOrder
taskId?: Prisma.SortOrder
actorId?: Prisma.SortOrderInput | Prisma.SortOrder
type?: Prisma.SortOrder
fromStatus?: Prisma.SortOrderInput | Prisma.SortOrder
toStatus?: Prisma.SortOrderInput | Prisma.SortOrder
data?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
_count?: Prisma.KanbanTaskEventCountOrderByAggregateInput
_max?: Prisma.KanbanTaskEventMaxOrderByAggregateInput
_min?: Prisma.KanbanTaskEventMinOrderByAggregateInput
}
export type KanbanTaskEventScalarWhereWithAggregatesInput = {
AND?: Prisma.KanbanTaskEventScalarWhereWithAggregatesInput | Prisma.KanbanTaskEventScalarWhereWithAggregatesInput[]
OR?: Prisma.KanbanTaskEventScalarWhereWithAggregatesInput[]
NOT?: Prisma.KanbanTaskEventScalarWhereWithAggregatesInput | Prisma.KanbanTaskEventScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"KanbanTaskEvent"> | string
taskId?: Prisma.StringWithAggregatesFilter<"KanbanTaskEvent"> | string
actorId?: Prisma.StringNullableWithAggregatesFilter<"KanbanTaskEvent"> | string | null
type?: Prisma.EnumKanbanTaskEventTypeWithAggregatesFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskEventType
fromStatus?: Prisma.EnumKanbanTaskStatusNullableWithAggregatesFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.EnumKanbanTaskStatusNullableWithAggregatesFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskStatus | null
data?: Prisma.JsonNullableWithAggregatesFilter<"KanbanTaskEvent">
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KanbanTaskEvent"> | Date | string
}
export type KanbanTaskEventCreateInput = {
id?: string
type: $Enums.KanbanTaskEventType
fromStatus?: $Enums.KanbanTaskStatus | null
toStatus?: $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
task: Prisma.KanbanTaskCreateNestedOneWithoutEventsInput
actor?: Prisma.UserCreateNestedOneWithoutKanbanTaskEventsInput
}
export type KanbanTaskEventUncheckedCreateInput = {
id?: string
taskId: string
actorId?: string | null
type: $Enums.KanbanTaskEventType
fromStatus?: $Enums.KanbanTaskStatus | null
toStatus?: $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
}
export type KanbanTaskEventUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
task?: Prisma.KanbanTaskUpdateOneRequiredWithoutEventsNestedInput
actor?: Prisma.UserUpdateOneWithoutKanbanTaskEventsNestedInput
}
export type KanbanTaskEventUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
taskId?: Prisma.StringFieldUpdateOperationsInput | string
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskEventCreateManyInput = {
id?: string
taskId: string
actorId?: string | null
type: $Enums.KanbanTaskEventType
fromStatus?: $Enums.KanbanTaskStatus | null
toStatus?: $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
}
export type KanbanTaskEventUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskEventUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
taskId?: Prisma.StringFieldUpdateOperationsInput | string
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskEventListRelationFilter = {
every?: Prisma.KanbanTaskEventWhereInput
some?: Prisma.KanbanTaskEventWhereInput
none?: Prisma.KanbanTaskEventWhereInput
}
export type KanbanTaskEventOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type KanbanTaskEventCountOrderByAggregateInput = {
id?: Prisma.SortOrder
taskId?: Prisma.SortOrder
actorId?: Prisma.SortOrder
type?: Prisma.SortOrder
fromStatus?: Prisma.SortOrder
toStatus?: Prisma.SortOrder
data?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KanbanTaskEventMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
taskId?: Prisma.SortOrder
actorId?: Prisma.SortOrder
type?: Prisma.SortOrder
fromStatus?: Prisma.SortOrder
toStatus?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KanbanTaskEventMinOrderByAggregateInput = {
id?: Prisma.SortOrder
taskId?: Prisma.SortOrder
actorId?: Prisma.SortOrder
type?: Prisma.SortOrder
fromStatus?: Prisma.SortOrder
toStatus?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type KanbanTaskEventCreateNestedManyWithoutActorInput = {
create?: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutActorInput, Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput> | Prisma.KanbanTaskEventCreateWithoutActorInput[] | Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput[]
connectOrCreate?: Prisma.KanbanTaskEventCreateOrConnectWithoutActorInput | Prisma.KanbanTaskEventCreateOrConnectWithoutActorInput[]
createMany?: Prisma.KanbanTaskEventCreateManyActorInputEnvelope
connect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
}
export type KanbanTaskEventUncheckedCreateNestedManyWithoutActorInput = {
create?: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutActorInput, Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput> | Prisma.KanbanTaskEventCreateWithoutActorInput[] | Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput[]
connectOrCreate?: Prisma.KanbanTaskEventCreateOrConnectWithoutActorInput | Prisma.KanbanTaskEventCreateOrConnectWithoutActorInput[]
createMany?: Prisma.KanbanTaskEventCreateManyActorInputEnvelope
connect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
}
export type KanbanTaskEventUpdateManyWithoutActorNestedInput = {
create?: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutActorInput, Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput> | Prisma.KanbanTaskEventCreateWithoutActorInput[] | Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput[]
connectOrCreate?: Prisma.KanbanTaskEventCreateOrConnectWithoutActorInput | Prisma.KanbanTaskEventCreateOrConnectWithoutActorInput[]
upsert?: Prisma.KanbanTaskEventUpsertWithWhereUniqueWithoutActorInput | Prisma.KanbanTaskEventUpsertWithWhereUniqueWithoutActorInput[]
createMany?: Prisma.KanbanTaskEventCreateManyActorInputEnvelope
set?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
disconnect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
delete?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
connect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
update?: Prisma.KanbanTaskEventUpdateWithWhereUniqueWithoutActorInput | Prisma.KanbanTaskEventUpdateWithWhereUniqueWithoutActorInput[]
updateMany?: Prisma.KanbanTaskEventUpdateManyWithWhereWithoutActorInput | Prisma.KanbanTaskEventUpdateManyWithWhereWithoutActorInput[]
deleteMany?: Prisma.KanbanTaskEventScalarWhereInput | Prisma.KanbanTaskEventScalarWhereInput[]
}
export type KanbanTaskEventUncheckedUpdateManyWithoutActorNestedInput = {
create?: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutActorInput, Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput> | Prisma.KanbanTaskEventCreateWithoutActorInput[] | Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput[]
connectOrCreate?: Prisma.KanbanTaskEventCreateOrConnectWithoutActorInput | Prisma.KanbanTaskEventCreateOrConnectWithoutActorInput[]
upsert?: Prisma.KanbanTaskEventUpsertWithWhereUniqueWithoutActorInput | Prisma.KanbanTaskEventUpsertWithWhereUniqueWithoutActorInput[]
createMany?: Prisma.KanbanTaskEventCreateManyActorInputEnvelope
set?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
disconnect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
delete?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
connect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
update?: Prisma.KanbanTaskEventUpdateWithWhereUniqueWithoutActorInput | Prisma.KanbanTaskEventUpdateWithWhereUniqueWithoutActorInput[]
updateMany?: Prisma.KanbanTaskEventUpdateManyWithWhereWithoutActorInput | Prisma.KanbanTaskEventUpdateManyWithWhereWithoutActorInput[]
deleteMany?: Prisma.KanbanTaskEventScalarWhereInput | Prisma.KanbanTaskEventScalarWhereInput[]
}
export type KanbanTaskEventCreateNestedManyWithoutTaskInput = {
create?: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutTaskInput, Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput> | Prisma.KanbanTaskEventCreateWithoutTaskInput[] | Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput[]
connectOrCreate?: Prisma.KanbanTaskEventCreateOrConnectWithoutTaskInput | Prisma.KanbanTaskEventCreateOrConnectWithoutTaskInput[]
createMany?: Prisma.KanbanTaskEventCreateManyTaskInputEnvelope
connect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
}
export type KanbanTaskEventUncheckedCreateNestedManyWithoutTaskInput = {
create?: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutTaskInput, Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput> | Prisma.KanbanTaskEventCreateWithoutTaskInput[] | Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput[]
connectOrCreate?: Prisma.KanbanTaskEventCreateOrConnectWithoutTaskInput | Prisma.KanbanTaskEventCreateOrConnectWithoutTaskInput[]
createMany?: Prisma.KanbanTaskEventCreateManyTaskInputEnvelope
connect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
}
export type KanbanTaskEventUpdateManyWithoutTaskNestedInput = {
create?: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutTaskInput, Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput> | Prisma.KanbanTaskEventCreateWithoutTaskInput[] | Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput[]
connectOrCreate?: Prisma.KanbanTaskEventCreateOrConnectWithoutTaskInput | Prisma.KanbanTaskEventCreateOrConnectWithoutTaskInput[]
upsert?: Prisma.KanbanTaskEventUpsertWithWhereUniqueWithoutTaskInput | Prisma.KanbanTaskEventUpsertWithWhereUniqueWithoutTaskInput[]
createMany?: Prisma.KanbanTaskEventCreateManyTaskInputEnvelope
set?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
disconnect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
delete?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
connect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
update?: Prisma.KanbanTaskEventUpdateWithWhereUniqueWithoutTaskInput | Prisma.KanbanTaskEventUpdateWithWhereUniqueWithoutTaskInput[]
updateMany?: Prisma.KanbanTaskEventUpdateManyWithWhereWithoutTaskInput | Prisma.KanbanTaskEventUpdateManyWithWhereWithoutTaskInput[]
deleteMany?: Prisma.KanbanTaskEventScalarWhereInput | Prisma.KanbanTaskEventScalarWhereInput[]
}
export type KanbanTaskEventUncheckedUpdateManyWithoutTaskNestedInput = {
create?: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutTaskInput, Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput> | Prisma.KanbanTaskEventCreateWithoutTaskInput[] | Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput[]
connectOrCreate?: Prisma.KanbanTaskEventCreateOrConnectWithoutTaskInput | Prisma.KanbanTaskEventCreateOrConnectWithoutTaskInput[]
upsert?: Prisma.KanbanTaskEventUpsertWithWhereUniqueWithoutTaskInput | Prisma.KanbanTaskEventUpsertWithWhereUniqueWithoutTaskInput[]
createMany?: Prisma.KanbanTaskEventCreateManyTaskInputEnvelope
set?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
disconnect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
delete?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
connect?: Prisma.KanbanTaskEventWhereUniqueInput | Prisma.KanbanTaskEventWhereUniqueInput[]
update?: Prisma.KanbanTaskEventUpdateWithWhereUniqueWithoutTaskInput | Prisma.KanbanTaskEventUpdateWithWhereUniqueWithoutTaskInput[]
updateMany?: Prisma.KanbanTaskEventUpdateManyWithWhereWithoutTaskInput | Prisma.KanbanTaskEventUpdateManyWithWhereWithoutTaskInput[]
deleteMany?: Prisma.KanbanTaskEventScalarWhereInput | Prisma.KanbanTaskEventScalarWhereInput[]
}
export type EnumKanbanTaskEventTypeFieldUpdateOperationsInput = {
set?: $Enums.KanbanTaskEventType
}
export type NullableEnumKanbanTaskStatusFieldUpdateOperationsInput = {
set?: $Enums.KanbanTaskStatus | null
}
export type KanbanTaskEventCreateWithoutActorInput = {
id?: string
type: $Enums.KanbanTaskEventType
fromStatus?: $Enums.KanbanTaskStatus | null
toStatus?: $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
task: Prisma.KanbanTaskCreateNestedOneWithoutEventsInput
}
export type KanbanTaskEventUncheckedCreateWithoutActorInput = {
id?: string
taskId: string
type: $Enums.KanbanTaskEventType
fromStatus?: $Enums.KanbanTaskStatus | null
toStatus?: $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
}
export type KanbanTaskEventCreateOrConnectWithoutActorInput = {
where: Prisma.KanbanTaskEventWhereUniqueInput
create: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutActorInput, Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput>
}
export type KanbanTaskEventCreateManyActorInputEnvelope = {
data: Prisma.KanbanTaskEventCreateManyActorInput | Prisma.KanbanTaskEventCreateManyActorInput[]
skipDuplicates?: boolean
}
export type KanbanTaskEventUpsertWithWhereUniqueWithoutActorInput = {
where: Prisma.KanbanTaskEventWhereUniqueInput
update: Prisma.XOR<Prisma.KanbanTaskEventUpdateWithoutActorInput, Prisma.KanbanTaskEventUncheckedUpdateWithoutActorInput>
create: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutActorInput, Prisma.KanbanTaskEventUncheckedCreateWithoutActorInput>
}
export type KanbanTaskEventUpdateWithWhereUniqueWithoutActorInput = {
where: Prisma.KanbanTaskEventWhereUniqueInput
data: Prisma.XOR<Prisma.KanbanTaskEventUpdateWithoutActorInput, Prisma.KanbanTaskEventUncheckedUpdateWithoutActorInput>
}
export type KanbanTaskEventUpdateManyWithWhereWithoutActorInput = {
where: Prisma.KanbanTaskEventScalarWhereInput
data: Prisma.XOR<Prisma.KanbanTaskEventUpdateManyMutationInput, Prisma.KanbanTaskEventUncheckedUpdateManyWithoutActorInput>
}
export type KanbanTaskEventScalarWhereInput = {
AND?: Prisma.KanbanTaskEventScalarWhereInput | Prisma.KanbanTaskEventScalarWhereInput[]
OR?: Prisma.KanbanTaskEventScalarWhereInput[]
NOT?: Prisma.KanbanTaskEventScalarWhereInput | Prisma.KanbanTaskEventScalarWhereInput[]
id?: Prisma.StringFilter<"KanbanTaskEvent"> | string
taskId?: Prisma.StringFilter<"KanbanTaskEvent"> | string
actorId?: Prisma.StringNullableFilter<"KanbanTaskEvent"> | string | null
type?: Prisma.EnumKanbanTaskEventTypeFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskEventType
fromStatus?: Prisma.EnumKanbanTaskStatusNullableFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.EnumKanbanTaskStatusNullableFilter<"KanbanTaskEvent"> | $Enums.KanbanTaskStatus | null
data?: Prisma.JsonNullableFilter<"KanbanTaskEvent">
createdAt?: Prisma.DateTimeFilter<"KanbanTaskEvent"> | Date | string
}
export type KanbanTaskEventCreateWithoutTaskInput = {
id?: string
type: $Enums.KanbanTaskEventType
fromStatus?: $Enums.KanbanTaskStatus | null
toStatus?: $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
actor?: Prisma.UserCreateNestedOneWithoutKanbanTaskEventsInput
}
export type KanbanTaskEventUncheckedCreateWithoutTaskInput = {
id?: string
actorId?: string | null
type: $Enums.KanbanTaskEventType
fromStatus?: $Enums.KanbanTaskStatus | null
toStatus?: $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
}
export type KanbanTaskEventCreateOrConnectWithoutTaskInput = {
where: Prisma.KanbanTaskEventWhereUniqueInput
create: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutTaskInput, Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput>
}
export type KanbanTaskEventCreateManyTaskInputEnvelope = {
data: Prisma.KanbanTaskEventCreateManyTaskInput | Prisma.KanbanTaskEventCreateManyTaskInput[]
skipDuplicates?: boolean
}
export type KanbanTaskEventUpsertWithWhereUniqueWithoutTaskInput = {
where: Prisma.KanbanTaskEventWhereUniqueInput
update: Prisma.XOR<Prisma.KanbanTaskEventUpdateWithoutTaskInput, Prisma.KanbanTaskEventUncheckedUpdateWithoutTaskInput>
create: Prisma.XOR<Prisma.KanbanTaskEventCreateWithoutTaskInput, Prisma.KanbanTaskEventUncheckedCreateWithoutTaskInput>
}
export type KanbanTaskEventUpdateWithWhereUniqueWithoutTaskInput = {
where: Prisma.KanbanTaskEventWhereUniqueInput
data: Prisma.XOR<Prisma.KanbanTaskEventUpdateWithoutTaskInput, Prisma.KanbanTaskEventUncheckedUpdateWithoutTaskInput>
}
export type KanbanTaskEventUpdateManyWithWhereWithoutTaskInput = {
where: Prisma.KanbanTaskEventScalarWhereInput
data: Prisma.XOR<Prisma.KanbanTaskEventUpdateManyMutationInput, Prisma.KanbanTaskEventUncheckedUpdateManyWithoutTaskInput>
}
export type KanbanTaskEventCreateManyActorInput = {
id?: string
taskId: string
type: $Enums.KanbanTaskEventType
fromStatus?: $Enums.KanbanTaskStatus | null
toStatus?: $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
}
export type KanbanTaskEventUpdateWithoutActorInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
task?: Prisma.KanbanTaskUpdateOneRequiredWithoutEventsNestedInput
}
export type KanbanTaskEventUncheckedUpdateWithoutActorInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
taskId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskEventUncheckedUpdateManyWithoutActorInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
taskId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskEventCreateManyTaskInput = {
id?: string
actorId?: string | null
type: $Enums.KanbanTaskEventType
fromStatus?: $Enums.KanbanTaskStatus | null
toStatus?: $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Date | string
}
export type KanbanTaskEventUpdateWithoutTaskInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
actor?: Prisma.UserUpdateOneWithoutKanbanTaskEventsNestedInput
}
export type KanbanTaskEventUncheckedUpdateWithoutTaskInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskEventUncheckedUpdateManyWithoutTaskInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
type?: Prisma.EnumKanbanTaskEventTypeFieldUpdateOperationsInput | $Enums.KanbanTaskEventType
fromStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
toStatus?: Prisma.NullableEnumKanbanTaskStatusFieldUpdateOperationsInput | $Enums.KanbanTaskStatus | null
data?:PrismaJson.KanbanEventPayload | Prisma.NullableJsonNullValueInput
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type KanbanTaskEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
taskId?: boolean
actorId?: boolean
type?: boolean
fromStatus?: boolean
toStatus?: boolean
data?: boolean
createdAt?: boolean
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
actor?: boolean | Prisma.KanbanTaskEvent$actorArgs<ExtArgs>
}, ExtArgs["result"]["kanbanTaskEvent"]>
export type KanbanTaskEventSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
taskId?: boolean
actorId?: boolean
type?: boolean
fromStatus?: boolean
toStatus?: boolean
data?: boolean
createdAt?: boolean
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
actor?: boolean | Prisma.KanbanTaskEvent$actorArgs<ExtArgs>
}, ExtArgs["result"]["kanbanTaskEvent"]>
export type KanbanTaskEventSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
taskId?: boolean
actorId?: boolean
type?: boolean
fromStatus?: boolean
toStatus?: boolean
data?: boolean
createdAt?: boolean
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
actor?: boolean | Prisma.KanbanTaskEvent$actorArgs<ExtArgs>
}, ExtArgs["result"]["kanbanTaskEvent"]>
export type KanbanTaskEventSelectScalar = {
id?: boolean
taskId?: boolean
actorId?: boolean
type?: boolean
fromStatus?: boolean
toStatus?: boolean
data?: boolean
createdAt?: boolean
}
export type KanbanTaskEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "taskId" | "actorId" | "type" | "fromStatus" | "toStatus" | "data" | "createdAt", ExtArgs["result"]["kanbanTaskEvent"]>
export type KanbanTaskEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
actor?: boolean | Prisma.KanbanTaskEvent$actorArgs<ExtArgs>
}
export type KanbanTaskEventIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
actor?: boolean | Prisma.KanbanTaskEvent$actorArgs<ExtArgs>
}
export type KanbanTaskEventIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
task?: boolean | Prisma.KanbanTaskDefaultArgs<ExtArgs>
actor?: boolean | Prisma.KanbanTaskEvent$actorArgs<ExtArgs>
}
export type $KanbanTaskEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "KanbanTaskEvent"
objects: {
task: Prisma.$KanbanTaskPayload<ExtArgs>
actor: Prisma.$UserPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
taskId: string
actorId: string | null
type: $Enums.KanbanTaskEventType
fromStatus: $Enums.KanbanTaskStatus | null
toStatus: $Enums.KanbanTaskStatus | null
/**
* [KanbanEventPayload]
*/
data:PrismaJson.KanbanEventPayload | null
createdAt: Date
}, ExtArgs["result"]["kanbanTaskEvent"]>
composites: {}
}
export type KanbanTaskEventGetPayload<S extends boolean | null | undefined | KanbanTaskEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload, S>
export type KanbanTaskEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<KanbanTaskEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: KanbanTaskEventCountAggregateInputType | true
}
export interface KanbanTaskEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KanbanTaskEvent'], meta: { name: 'KanbanTaskEvent' } }
/**
* Find zero or one KanbanTaskEvent that matches the filter.
* @param {KanbanTaskEventFindUniqueArgs} args - Arguments to find a KanbanTaskEvent
* @example
* // Get one KanbanTaskEvent
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends KanbanTaskEventFindUniqueArgs>(args: Prisma.SelectSubset<T, KanbanTaskEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskEventClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one KanbanTaskEvent that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {KanbanTaskEventFindUniqueOrThrowArgs} args - Arguments to find a KanbanTaskEvent
* @example
* // Get one KanbanTaskEvent
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends KanbanTaskEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KanbanTaskEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskEventClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first KanbanTaskEvent 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 {KanbanTaskEventFindFirstArgs} args - Arguments to find a KanbanTaskEvent
* @example
* // Get one KanbanTaskEvent
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends KanbanTaskEventFindFirstArgs>(args?: Prisma.SelectSubset<T, KanbanTaskEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskEventClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first KanbanTaskEvent 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 {KanbanTaskEventFindFirstOrThrowArgs} args - Arguments to find a KanbanTaskEvent
* @example
* // Get one KanbanTaskEvent
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends KanbanTaskEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KanbanTaskEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskEventClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more KanbanTaskEvents 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 {KanbanTaskEventFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all KanbanTaskEvents
* const kanbanTaskEvents = await prisma.kanbanTaskEvent.findMany()
*
* // Get first 10 KanbanTaskEvents
* const kanbanTaskEvents = await prisma.kanbanTaskEvent.findMany({ take: 10 })
*
* // Only select the `id`
* const kanbanTaskEventWithIdOnly = await prisma.kanbanTaskEvent.findMany({ select: { id: true } })
*
*/
findMany<T extends KanbanTaskEventFindManyArgs>(args?: Prisma.SelectSubset<T, KanbanTaskEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a KanbanTaskEvent.
* @param {KanbanTaskEventCreateArgs} args - Arguments to create a KanbanTaskEvent.
* @example
* // Create one KanbanTaskEvent
* const KanbanTaskEvent = await prisma.kanbanTaskEvent.create({
* data: {
* // ... data to create a KanbanTaskEvent
* }
* })
*
*/
create<T extends KanbanTaskEventCreateArgs>(args: Prisma.SelectSubset<T, KanbanTaskEventCreateArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskEventClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many KanbanTaskEvents.
* @param {KanbanTaskEventCreateManyArgs} args - Arguments to create many KanbanTaskEvents.
* @example
* // Create many KanbanTaskEvents
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends KanbanTaskEventCreateManyArgs>(args?: Prisma.SelectSubset<T, KanbanTaskEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many KanbanTaskEvents and returns the data saved in the database.
* @param {KanbanTaskEventCreateManyAndReturnArgs} args - Arguments to create many KanbanTaskEvents.
* @example
* // Create many KanbanTaskEvents
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many KanbanTaskEvents and only return the `id`
* const kanbanTaskEventWithIdOnly = await prisma.kanbanTaskEvent.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 KanbanTaskEventCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KanbanTaskEventCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a KanbanTaskEvent.
* @param {KanbanTaskEventDeleteArgs} args - Arguments to delete one KanbanTaskEvent.
* @example
* // Delete one KanbanTaskEvent
* const KanbanTaskEvent = await prisma.kanbanTaskEvent.delete({
* where: {
* // ... filter to delete one KanbanTaskEvent
* }
* })
*
*/
delete<T extends KanbanTaskEventDeleteArgs>(args: Prisma.SelectSubset<T, KanbanTaskEventDeleteArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskEventClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one KanbanTaskEvent.
* @param {KanbanTaskEventUpdateArgs} args - Arguments to update one KanbanTaskEvent.
* @example
* // Update one KanbanTaskEvent
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends KanbanTaskEventUpdateArgs>(args: Prisma.SelectSubset<T, KanbanTaskEventUpdateArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskEventClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more KanbanTaskEvents.
* @param {KanbanTaskEventDeleteManyArgs} args - Arguments to filter KanbanTaskEvents to delete.
* @example
* // Delete a few KanbanTaskEvents
* const { count } = await prisma.kanbanTaskEvent.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends KanbanTaskEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, KanbanTaskEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more KanbanTaskEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KanbanTaskEventUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many KanbanTaskEvents
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends KanbanTaskEventUpdateManyArgs>(args: Prisma.SelectSubset<T, KanbanTaskEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more KanbanTaskEvents and returns the data updated in the database.
* @param {KanbanTaskEventUpdateManyAndReturnArgs} args - Arguments to update many KanbanTaskEvents.
* @example
* // Update many KanbanTaskEvents
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more KanbanTaskEvents and only return the `id`
* const kanbanTaskEventWithIdOnly = await prisma.kanbanTaskEvent.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 KanbanTaskEventUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KanbanTaskEventUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one KanbanTaskEvent.
* @param {KanbanTaskEventUpsertArgs} args - Arguments to update or create a KanbanTaskEvent.
* @example
* // Update or create a KanbanTaskEvent
* const kanbanTaskEvent = await prisma.kanbanTaskEvent.upsert({
* create: {
* // ... data to create a KanbanTaskEvent
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the KanbanTaskEvent we want to update
* }
* })
*/
upsert<T extends KanbanTaskEventUpsertArgs>(args: Prisma.SelectSubset<T, KanbanTaskEventUpsertArgs<ExtArgs>>): Prisma.Prisma__KanbanTaskEventClient<runtime.Types.Result.GetResult<Prisma.$KanbanTaskEventPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of KanbanTaskEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KanbanTaskEventCountArgs} args - Arguments to filter KanbanTaskEvents to count.
* @example
* // Count the number of KanbanTaskEvents
* const count = await prisma.kanbanTaskEvent.count({
* where: {
* // ... the filter for the KanbanTaskEvents we want to count
* }
* })
**/
count<T extends KanbanTaskEventCountArgs>(
args?: Prisma.Subset<T, KanbanTaskEventCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], KanbanTaskEventCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a KanbanTaskEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KanbanTaskEventAggregateArgs} 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 KanbanTaskEventAggregateArgs>(args: Prisma.Subset<T, KanbanTaskEventAggregateArgs>): Prisma.PrismaPromise<GetKanbanTaskEventAggregateType<T>>
/**
* Group by KanbanTaskEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {KanbanTaskEventGroupByArgs} 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 KanbanTaskEventGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: KanbanTaskEventGroupByArgs['orderBy'] }
: { orderBy?: KanbanTaskEventGroupByArgs['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, KanbanTaskEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKanbanTaskEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the KanbanTaskEvent model
*/
readonly fields: KanbanTaskEventFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for KanbanTaskEvent.
* 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__KanbanTaskEventClient<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>
actor<T extends Prisma.KanbanTaskEvent$actorArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KanbanTaskEvent$actorArgs<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 KanbanTaskEvent model
*/
export interface KanbanTaskEventFieldRefs {
readonly id: Prisma.FieldRef<"KanbanTaskEvent", 'String'>
readonly taskId: Prisma.FieldRef<"KanbanTaskEvent", 'String'>
readonly actorId: Prisma.FieldRef<"KanbanTaskEvent", 'String'>
readonly type: Prisma.FieldRef<"KanbanTaskEvent", 'KanbanTaskEventType'>
readonly fromStatus: Prisma.FieldRef<"KanbanTaskEvent", 'KanbanTaskStatus'>
readonly toStatus: Prisma.FieldRef<"KanbanTaskEvent", 'KanbanTaskStatus'>
readonly data: Prisma.FieldRef<"KanbanTaskEvent", 'Json'>
readonly createdAt: Prisma.FieldRef<"KanbanTaskEvent", 'DateTime'>
}
// Custom InputTypes
/**
* KanbanTaskEvent findUnique
*/
export type KanbanTaskEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskEvent to fetch.
*/
where: Prisma.KanbanTaskEventWhereUniqueInput
}
/**
* KanbanTaskEvent findUniqueOrThrow
*/
export type KanbanTaskEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskEvent to fetch.
*/
where: Prisma.KanbanTaskEventWhereUniqueInput
}
/**
* KanbanTaskEvent findFirst
*/
export type KanbanTaskEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskEvent to fetch.
*/
where?: Prisma.KanbanTaskEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KanbanTaskEvents to fetch.
*/
orderBy?: Prisma.KanbanTaskEventOrderByWithRelationInput | Prisma.KanbanTaskEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for KanbanTaskEvents.
*/
cursor?: Prisma.KanbanTaskEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KanbanTaskEvents 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` KanbanTaskEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KanbanTaskEvents.
*/
distinct?: Prisma.KanbanTaskEventScalarFieldEnum | Prisma.KanbanTaskEventScalarFieldEnum[]
}
/**
* KanbanTaskEvent findFirstOrThrow
*/
export type KanbanTaskEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskEvent to fetch.
*/
where?: Prisma.KanbanTaskEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KanbanTaskEvents to fetch.
*/
orderBy?: Prisma.KanbanTaskEventOrderByWithRelationInput | Prisma.KanbanTaskEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for KanbanTaskEvents.
*/
cursor?: Prisma.KanbanTaskEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KanbanTaskEvents 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` KanbanTaskEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KanbanTaskEvents.
*/
distinct?: Prisma.KanbanTaskEventScalarFieldEnum | Prisma.KanbanTaskEventScalarFieldEnum[]
}
/**
* KanbanTaskEvent findMany
*/
export type KanbanTaskEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
/**
* Filter, which KanbanTaskEvents to fetch.
*/
where?: Prisma.KanbanTaskEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of KanbanTaskEvents to fetch.
*/
orderBy?: Prisma.KanbanTaskEventOrderByWithRelationInput | Prisma.KanbanTaskEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing KanbanTaskEvents.
*/
cursor?: Prisma.KanbanTaskEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` KanbanTaskEvents 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` KanbanTaskEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of KanbanTaskEvents.
*/
distinct?: Prisma.KanbanTaskEventScalarFieldEnum | Prisma.KanbanTaskEventScalarFieldEnum[]
}
/**
* KanbanTaskEvent create
*/
export type KanbanTaskEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
/**
* The data needed to create a KanbanTaskEvent.
*/
data: Prisma.XOR<Prisma.KanbanTaskEventCreateInput, Prisma.KanbanTaskEventUncheckedCreateInput>
}
/**
* KanbanTaskEvent createMany
*/
export type KanbanTaskEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many KanbanTaskEvents.
*/
data: Prisma.KanbanTaskEventCreateManyInput | Prisma.KanbanTaskEventCreateManyInput[]
skipDuplicates?: boolean
}
/**
* KanbanTaskEvent createManyAndReturn
*/
export type KanbanTaskEventCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* The data used to create many KanbanTaskEvents.
*/
data: Prisma.KanbanTaskEventCreateManyInput | Prisma.KanbanTaskEventCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* KanbanTaskEvent update
*/
export type KanbanTaskEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
/**
* The data needed to update a KanbanTaskEvent.
*/
data: Prisma.XOR<Prisma.KanbanTaskEventUpdateInput, Prisma.KanbanTaskEventUncheckedUpdateInput>
/**
* Choose, which KanbanTaskEvent to update.
*/
where: Prisma.KanbanTaskEventWhereUniqueInput
}
/**
* KanbanTaskEvent updateMany
*/
export type KanbanTaskEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update KanbanTaskEvents.
*/
data: Prisma.XOR<Prisma.KanbanTaskEventUpdateManyMutationInput, Prisma.KanbanTaskEventUncheckedUpdateManyInput>
/**
* Filter which KanbanTaskEvents to update
*/
where?: Prisma.KanbanTaskEventWhereInput
/**
* Limit how many KanbanTaskEvents to update.
*/
limit?: number
}
/**
* KanbanTaskEvent updateManyAndReturn
*/
export type KanbanTaskEventUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* The data used to update KanbanTaskEvents.
*/
data: Prisma.XOR<Prisma.KanbanTaskEventUpdateManyMutationInput, Prisma.KanbanTaskEventUncheckedUpdateManyInput>
/**
* Filter which KanbanTaskEvents to update
*/
where?: Prisma.KanbanTaskEventWhereInput
/**
* Limit how many KanbanTaskEvents to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* KanbanTaskEvent upsert
*/
export type KanbanTaskEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
/**
* The filter to search for the KanbanTaskEvent to update in case it exists.
*/
where: Prisma.KanbanTaskEventWhereUniqueInput
/**
* In case the KanbanTaskEvent found by the `where` argument doesn't exist, create a new KanbanTaskEvent with this data.
*/
create: Prisma.XOR<Prisma.KanbanTaskEventCreateInput, Prisma.KanbanTaskEventUncheckedCreateInput>
/**
* In case the KanbanTaskEvent was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.KanbanTaskEventUpdateInput, Prisma.KanbanTaskEventUncheckedUpdateInput>
}
/**
* KanbanTaskEvent delete
*/
export type KanbanTaskEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
/**
* Filter which KanbanTaskEvent to delete.
*/
where: Prisma.KanbanTaskEventWhereUniqueInput
}
/**
* KanbanTaskEvent deleteMany
*/
export type KanbanTaskEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which KanbanTaskEvents to delete
*/
where?: Prisma.KanbanTaskEventWhereInput
/**
* Limit how many KanbanTaskEvents to delete.
*/
limit?: number
}
/**
* KanbanTaskEvent.actor
*/
export type KanbanTaskEvent$actorArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: Prisma.UserSelect<ExtArgs> | null
/**
* Omit specific fields from the User
*/
omit?: Prisma.UserOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.UserInclude<ExtArgs> | null
where?: Prisma.UserWhereInput
}
/**
* KanbanTaskEvent without action
*/
export type KanbanTaskEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the KanbanTaskEvent
*/
select?: Prisma.KanbanTaskEventSelect<ExtArgs> | null
/**
* Omit specific fields from the KanbanTaskEvent
*/
omit?: Prisma.KanbanTaskEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.KanbanTaskEventInclude<ExtArgs> | null
}