mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 04:14:30 +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)
1720 lines
67 KiB
TypeScript
Generated
1720 lines
67 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 `KanbanGoal` 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 KanbanGoal
|
|
*
|
|
*/
|
|
export type KanbanGoalModel = runtime.Types.Result.DefaultSelection<Prisma.$KanbanGoalPayload>
|
|
|
|
export type AggregateKanbanGoal = {
|
|
_count: KanbanGoalCountAggregateOutputType | null
|
|
_min: KanbanGoalMinAggregateOutputType | null
|
|
_max: KanbanGoalMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type KanbanGoalMinAggregateOutputType = {
|
|
id: string | null
|
|
title: string | null
|
|
description: string | null
|
|
teamId: string | null
|
|
creatorId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type KanbanGoalMaxAggregateOutputType = {
|
|
id: string | null
|
|
title: string | null
|
|
description: string | null
|
|
teamId: string | null
|
|
creatorId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type KanbanGoalCountAggregateOutputType = {
|
|
id: number
|
|
title: number
|
|
description: number
|
|
teamId: number
|
|
creatorId: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type KanbanGoalMinAggregateInputType = {
|
|
id?: true
|
|
title?: true
|
|
description?: true
|
|
teamId?: true
|
|
creatorId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type KanbanGoalMaxAggregateInputType = {
|
|
id?: true
|
|
title?: true
|
|
description?: true
|
|
teamId?: true
|
|
creatorId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type KanbanGoalCountAggregateInputType = {
|
|
id?: true
|
|
title?: true
|
|
description?: true
|
|
teamId?: true
|
|
creatorId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type KanbanGoalAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KanbanGoal to aggregate.
|
|
*/
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KanbanGoals to fetch.
|
|
*/
|
|
orderBy?: Prisma.KanbanGoalOrderByWithRelationInput | Prisma.KanbanGoalOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.KanbanGoalWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KanbanGoals 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` KanbanGoals.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned KanbanGoals
|
|
**/
|
|
_count?: true | KanbanGoalCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: KanbanGoalMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: KanbanGoalMaxAggregateInputType
|
|
}
|
|
|
|
export type GetKanbanGoalAggregateType<T extends KanbanGoalAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateKanbanGoal]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateKanbanGoal[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateKanbanGoal[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type KanbanGoalGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
orderBy?: Prisma.KanbanGoalOrderByWithAggregationInput | Prisma.KanbanGoalOrderByWithAggregationInput[]
|
|
by: Prisma.KanbanGoalScalarFieldEnum[] | Prisma.KanbanGoalScalarFieldEnum
|
|
having?: Prisma.KanbanGoalScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: KanbanGoalCountAggregateInputType | true
|
|
_min?: KanbanGoalMinAggregateInputType
|
|
_max?: KanbanGoalMaxAggregateInputType
|
|
}
|
|
|
|
export type KanbanGoalGroupByOutputType = {
|
|
id: string
|
|
title: string
|
|
description: string | null
|
|
teamId: string
|
|
creatorId: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: KanbanGoalCountAggregateOutputType | null
|
|
_min: KanbanGoalMinAggregateOutputType | null
|
|
_max: KanbanGoalMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetKanbanGoalGroupByPayload<T extends KanbanGoalGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<KanbanGoalGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof KanbanGoalGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], KanbanGoalGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], KanbanGoalGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type KanbanGoalWhereInput = {
|
|
AND?: Prisma.KanbanGoalWhereInput | Prisma.KanbanGoalWhereInput[]
|
|
OR?: Prisma.KanbanGoalWhereInput[]
|
|
NOT?: Prisma.KanbanGoalWhereInput | Prisma.KanbanGoalWhereInput[]
|
|
id?: Prisma.StringFilter<"KanbanGoal"> | string
|
|
title?: Prisma.StringFilter<"KanbanGoal"> | string
|
|
description?: Prisma.StringNullableFilter<"KanbanGoal"> | string | null
|
|
teamId?: Prisma.StringFilter<"KanbanGoal"> | string
|
|
creatorId?: Prisma.StringNullableFilter<"KanbanGoal"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"KanbanGoal"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KanbanGoal"> | Date | string
|
|
team?: Prisma.XOR<Prisma.TeamScalarRelationFilter, Prisma.TeamWhereInput>
|
|
creator?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
tasks?: Prisma.KanbanTaskListRelationFilter
|
|
}
|
|
|
|
export type KanbanGoalOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
teamId?: Prisma.SortOrder
|
|
creatorId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
team?: Prisma.TeamOrderByWithRelationInput
|
|
creator?: Prisma.UserOrderByWithRelationInput
|
|
tasks?: Prisma.KanbanTaskOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type KanbanGoalWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.KanbanGoalWhereInput | Prisma.KanbanGoalWhereInput[]
|
|
OR?: Prisma.KanbanGoalWhereInput[]
|
|
NOT?: Prisma.KanbanGoalWhereInput | Prisma.KanbanGoalWhereInput[]
|
|
title?: Prisma.StringFilter<"KanbanGoal"> | string
|
|
description?: Prisma.StringNullableFilter<"KanbanGoal"> | string | null
|
|
teamId?: Prisma.StringFilter<"KanbanGoal"> | string
|
|
creatorId?: Prisma.StringNullableFilter<"KanbanGoal"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"KanbanGoal"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KanbanGoal"> | Date | string
|
|
team?: Prisma.XOR<Prisma.TeamScalarRelationFilter, Prisma.TeamWhereInput>
|
|
creator?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
tasks?: Prisma.KanbanTaskListRelationFilter
|
|
}, "id">
|
|
|
|
export type KanbanGoalOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
teamId?: Prisma.SortOrder
|
|
creatorId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.KanbanGoalCountOrderByAggregateInput
|
|
_max?: Prisma.KanbanGoalMaxOrderByAggregateInput
|
|
_min?: Prisma.KanbanGoalMinOrderByAggregateInput
|
|
}
|
|
|
|
export type KanbanGoalScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.KanbanGoalScalarWhereWithAggregatesInput | Prisma.KanbanGoalScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.KanbanGoalScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.KanbanGoalScalarWhereWithAggregatesInput | Prisma.KanbanGoalScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"KanbanGoal"> | string
|
|
title?: Prisma.StringWithAggregatesFilter<"KanbanGoal"> | string
|
|
description?: Prisma.StringNullableWithAggregatesFilter<"KanbanGoal"> | string | null
|
|
teamId?: Prisma.StringWithAggregatesFilter<"KanbanGoal"> | string
|
|
creatorId?: Prisma.StringNullableWithAggregatesFilter<"KanbanGoal"> | string | null
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"KanbanGoal"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"KanbanGoal"> | Date | string
|
|
}
|
|
|
|
export type KanbanGoalCreateInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
team: Prisma.TeamCreateNestedOneWithoutKanbanGoalsInput
|
|
creator?: Prisma.UserCreateNestedOneWithoutKanbanGoalsCreatedInput
|
|
tasks?: Prisma.KanbanTaskCreateNestedManyWithoutGoalInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedCreateInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
teamId: string
|
|
creatorId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tasks?: Prisma.KanbanTaskUncheckedCreateNestedManyWithoutGoalInput
|
|
}
|
|
|
|
export type KanbanGoalUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
team?: Prisma.TeamUpdateOneRequiredWithoutKanbanGoalsNestedInput
|
|
creator?: Prisma.UserUpdateOneWithoutKanbanGoalsCreatedNestedInput
|
|
tasks?: Prisma.KanbanTaskUpdateManyWithoutGoalNestedInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tasks?: Prisma.KanbanTaskUncheckedUpdateManyWithoutGoalNestedInput
|
|
}
|
|
|
|
export type KanbanGoalCreateManyInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
teamId: string
|
|
creatorId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanGoalUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanGoalUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanGoalListRelationFilter = {
|
|
every?: Prisma.KanbanGoalWhereInput
|
|
some?: Prisma.KanbanGoalWhereInput
|
|
none?: Prisma.KanbanGoalWhereInput
|
|
}
|
|
|
|
export type KanbanGoalOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KanbanGoalCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
teamId?: Prisma.SortOrder
|
|
creatorId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KanbanGoalMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
teamId?: Prisma.SortOrder
|
|
creatorId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KanbanGoalMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
teamId?: Prisma.SortOrder
|
|
creatorId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type KanbanGoalNullableScalarRelationFilter = {
|
|
is?: Prisma.KanbanGoalWhereInput | null
|
|
isNot?: Prisma.KanbanGoalWhereInput | null
|
|
}
|
|
|
|
export type KanbanGoalCreateNestedManyWithoutCreatorInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutCreatorInput, Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput> | Prisma.KanbanGoalCreateWithoutCreatorInput[] | Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput[]
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput | Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput[]
|
|
createMany?: Prisma.KanbanGoalCreateManyCreatorInputEnvelope
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
}
|
|
|
|
export type KanbanGoalUncheckedCreateNestedManyWithoutCreatorInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutCreatorInput, Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput> | Prisma.KanbanGoalCreateWithoutCreatorInput[] | Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput[]
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput | Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput[]
|
|
createMany?: Prisma.KanbanGoalCreateManyCreatorInputEnvelope
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
}
|
|
|
|
export type KanbanGoalUpdateManyWithoutCreatorNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutCreatorInput, Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput> | Prisma.KanbanGoalCreateWithoutCreatorInput[] | Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput[]
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput | Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput[]
|
|
upsert?: Prisma.KanbanGoalUpsertWithWhereUniqueWithoutCreatorInput | Prisma.KanbanGoalUpsertWithWhereUniqueWithoutCreatorInput[]
|
|
createMany?: Prisma.KanbanGoalCreateManyCreatorInputEnvelope
|
|
set?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
disconnect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
delete?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
update?: Prisma.KanbanGoalUpdateWithWhereUniqueWithoutCreatorInput | Prisma.KanbanGoalUpdateWithWhereUniqueWithoutCreatorInput[]
|
|
updateMany?: Prisma.KanbanGoalUpdateManyWithWhereWithoutCreatorInput | Prisma.KanbanGoalUpdateManyWithWhereWithoutCreatorInput[]
|
|
deleteMany?: Prisma.KanbanGoalScalarWhereInput | Prisma.KanbanGoalScalarWhereInput[]
|
|
}
|
|
|
|
export type KanbanGoalUncheckedUpdateManyWithoutCreatorNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutCreatorInput, Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput> | Prisma.KanbanGoalCreateWithoutCreatorInput[] | Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput[]
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput | Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput[]
|
|
upsert?: Prisma.KanbanGoalUpsertWithWhereUniqueWithoutCreatorInput | Prisma.KanbanGoalUpsertWithWhereUniqueWithoutCreatorInput[]
|
|
createMany?: Prisma.KanbanGoalCreateManyCreatorInputEnvelope
|
|
set?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
disconnect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
delete?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
update?: Prisma.KanbanGoalUpdateWithWhereUniqueWithoutCreatorInput | Prisma.KanbanGoalUpdateWithWhereUniqueWithoutCreatorInput[]
|
|
updateMany?: Prisma.KanbanGoalUpdateManyWithWhereWithoutCreatorInput | Prisma.KanbanGoalUpdateManyWithWhereWithoutCreatorInput[]
|
|
deleteMany?: Prisma.KanbanGoalScalarWhereInput | Prisma.KanbanGoalScalarWhereInput[]
|
|
}
|
|
|
|
export type KanbanGoalCreateNestedManyWithoutTeamInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTeamInput, Prisma.KanbanGoalUncheckedCreateWithoutTeamInput> | Prisma.KanbanGoalCreateWithoutTeamInput[] | Prisma.KanbanGoalUncheckedCreateWithoutTeamInput[]
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutTeamInput | Prisma.KanbanGoalCreateOrConnectWithoutTeamInput[]
|
|
createMany?: Prisma.KanbanGoalCreateManyTeamInputEnvelope
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
}
|
|
|
|
export type KanbanGoalUncheckedCreateNestedManyWithoutTeamInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTeamInput, Prisma.KanbanGoalUncheckedCreateWithoutTeamInput> | Prisma.KanbanGoalCreateWithoutTeamInput[] | Prisma.KanbanGoalUncheckedCreateWithoutTeamInput[]
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutTeamInput | Prisma.KanbanGoalCreateOrConnectWithoutTeamInput[]
|
|
createMany?: Prisma.KanbanGoalCreateManyTeamInputEnvelope
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
}
|
|
|
|
export type KanbanGoalUpdateManyWithoutTeamNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTeamInput, Prisma.KanbanGoalUncheckedCreateWithoutTeamInput> | Prisma.KanbanGoalCreateWithoutTeamInput[] | Prisma.KanbanGoalUncheckedCreateWithoutTeamInput[]
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutTeamInput | Prisma.KanbanGoalCreateOrConnectWithoutTeamInput[]
|
|
upsert?: Prisma.KanbanGoalUpsertWithWhereUniqueWithoutTeamInput | Prisma.KanbanGoalUpsertWithWhereUniqueWithoutTeamInput[]
|
|
createMany?: Prisma.KanbanGoalCreateManyTeamInputEnvelope
|
|
set?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
disconnect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
delete?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
update?: Prisma.KanbanGoalUpdateWithWhereUniqueWithoutTeamInput | Prisma.KanbanGoalUpdateWithWhereUniqueWithoutTeamInput[]
|
|
updateMany?: Prisma.KanbanGoalUpdateManyWithWhereWithoutTeamInput | Prisma.KanbanGoalUpdateManyWithWhereWithoutTeamInput[]
|
|
deleteMany?: Prisma.KanbanGoalScalarWhereInput | Prisma.KanbanGoalScalarWhereInput[]
|
|
}
|
|
|
|
export type KanbanGoalUncheckedUpdateManyWithoutTeamNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTeamInput, Prisma.KanbanGoalUncheckedCreateWithoutTeamInput> | Prisma.KanbanGoalCreateWithoutTeamInput[] | Prisma.KanbanGoalUncheckedCreateWithoutTeamInput[]
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutTeamInput | Prisma.KanbanGoalCreateOrConnectWithoutTeamInput[]
|
|
upsert?: Prisma.KanbanGoalUpsertWithWhereUniqueWithoutTeamInput | Prisma.KanbanGoalUpsertWithWhereUniqueWithoutTeamInput[]
|
|
createMany?: Prisma.KanbanGoalCreateManyTeamInputEnvelope
|
|
set?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
disconnect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
delete?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[]
|
|
update?: Prisma.KanbanGoalUpdateWithWhereUniqueWithoutTeamInput | Prisma.KanbanGoalUpdateWithWhereUniqueWithoutTeamInput[]
|
|
updateMany?: Prisma.KanbanGoalUpdateManyWithWhereWithoutTeamInput | Prisma.KanbanGoalUpdateManyWithWhereWithoutTeamInput[]
|
|
deleteMany?: Prisma.KanbanGoalScalarWhereInput | Prisma.KanbanGoalScalarWhereInput[]
|
|
}
|
|
|
|
export type KanbanGoalCreateNestedOneWithoutTasksInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTasksInput, Prisma.KanbanGoalUncheckedCreateWithoutTasksInput>
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutTasksInput
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput
|
|
}
|
|
|
|
export type KanbanGoalUpdateOneWithoutTasksNestedInput = {
|
|
create?: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTasksInput, Prisma.KanbanGoalUncheckedCreateWithoutTasksInput>
|
|
connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutTasksInput
|
|
upsert?: Prisma.KanbanGoalUpsertWithoutTasksInput
|
|
disconnect?: Prisma.KanbanGoalWhereInput | boolean
|
|
delete?: Prisma.KanbanGoalWhereInput | boolean
|
|
connect?: Prisma.KanbanGoalWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.KanbanGoalUpdateToOneWithWhereWithoutTasksInput, Prisma.KanbanGoalUpdateWithoutTasksInput>, Prisma.KanbanGoalUncheckedUpdateWithoutTasksInput>
|
|
}
|
|
|
|
export type KanbanGoalCreateWithoutCreatorInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
team: Prisma.TeamCreateNestedOneWithoutKanbanGoalsInput
|
|
tasks?: Prisma.KanbanTaskCreateNestedManyWithoutGoalInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedCreateWithoutCreatorInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
teamId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tasks?: Prisma.KanbanTaskUncheckedCreateNestedManyWithoutGoalInput
|
|
}
|
|
|
|
export type KanbanGoalCreateOrConnectWithoutCreatorInput = {
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.KanbanGoalCreateWithoutCreatorInput, Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput>
|
|
}
|
|
|
|
export type KanbanGoalCreateManyCreatorInputEnvelope = {
|
|
data: Prisma.KanbanGoalCreateManyCreatorInput | Prisma.KanbanGoalCreateManyCreatorInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type KanbanGoalUpsertWithWhereUniqueWithoutCreatorInput = {
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.KanbanGoalUpdateWithoutCreatorInput, Prisma.KanbanGoalUncheckedUpdateWithoutCreatorInput>
|
|
create: Prisma.XOR<Prisma.KanbanGoalCreateWithoutCreatorInput, Prisma.KanbanGoalUncheckedCreateWithoutCreatorInput>
|
|
}
|
|
|
|
export type KanbanGoalUpdateWithWhereUniqueWithoutCreatorInput = {
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.KanbanGoalUpdateWithoutCreatorInput, Prisma.KanbanGoalUncheckedUpdateWithoutCreatorInput>
|
|
}
|
|
|
|
export type KanbanGoalUpdateManyWithWhereWithoutCreatorInput = {
|
|
where: Prisma.KanbanGoalScalarWhereInput
|
|
data: Prisma.XOR<Prisma.KanbanGoalUpdateManyMutationInput, Prisma.KanbanGoalUncheckedUpdateManyWithoutCreatorInput>
|
|
}
|
|
|
|
export type KanbanGoalScalarWhereInput = {
|
|
AND?: Prisma.KanbanGoalScalarWhereInput | Prisma.KanbanGoalScalarWhereInput[]
|
|
OR?: Prisma.KanbanGoalScalarWhereInput[]
|
|
NOT?: Prisma.KanbanGoalScalarWhereInput | Prisma.KanbanGoalScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"KanbanGoal"> | string
|
|
title?: Prisma.StringFilter<"KanbanGoal"> | string
|
|
description?: Prisma.StringNullableFilter<"KanbanGoal"> | string | null
|
|
teamId?: Prisma.StringFilter<"KanbanGoal"> | string
|
|
creatorId?: Prisma.StringNullableFilter<"KanbanGoal"> | string | null
|
|
createdAt?: Prisma.DateTimeFilter<"KanbanGoal"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"KanbanGoal"> | Date | string
|
|
}
|
|
|
|
export type KanbanGoalCreateWithoutTeamInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
creator?: Prisma.UserCreateNestedOneWithoutKanbanGoalsCreatedInput
|
|
tasks?: Prisma.KanbanTaskCreateNestedManyWithoutGoalInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedCreateWithoutTeamInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
creatorId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tasks?: Prisma.KanbanTaskUncheckedCreateNestedManyWithoutGoalInput
|
|
}
|
|
|
|
export type KanbanGoalCreateOrConnectWithoutTeamInput = {
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTeamInput, Prisma.KanbanGoalUncheckedCreateWithoutTeamInput>
|
|
}
|
|
|
|
export type KanbanGoalCreateManyTeamInputEnvelope = {
|
|
data: Prisma.KanbanGoalCreateManyTeamInput | Prisma.KanbanGoalCreateManyTeamInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type KanbanGoalUpsertWithWhereUniqueWithoutTeamInput = {
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.KanbanGoalUpdateWithoutTeamInput, Prisma.KanbanGoalUncheckedUpdateWithoutTeamInput>
|
|
create: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTeamInput, Prisma.KanbanGoalUncheckedCreateWithoutTeamInput>
|
|
}
|
|
|
|
export type KanbanGoalUpdateWithWhereUniqueWithoutTeamInput = {
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.KanbanGoalUpdateWithoutTeamInput, Prisma.KanbanGoalUncheckedUpdateWithoutTeamInput>
|
|
}
|
|
|
|
export type KanbanGoalUpdateManyWithWhereWithoutTeamInput = {
|
|
where: Prisma.KanbanGoalScalarWhereInput
|
|
data: Prisma.XOR<Prisma.KanbanGoalUpdateManyMutationInput, Prisma.KanbanGoalUncheckedUpdateManyWithoutTeamInput>
|
|
}
|
|
|
|
export type KanbanGoalCreateWithoutTasksInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
team: Prisma.TeamCreateNestedOneWithoutKanbanGoalsInput
|
|
creator?: Prisma.UserCreateNestedOneWithoutKanbanGoalsCreatedInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedCreateWithoutTasksInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
teamId: string
|
|
creatorId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanGoalCreateOrConnectWithoutTasksInput = {
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTasksInput, Prisma.KanbanGoalUncheckedCreateWithoutTasksInput>
|
|
}
|
|
|
|
export type KanbanGoalUpsertWithoutTasksInput = {
|
|
update: Prisma.XOR<Prisma.KanbanGoalUpdateWithoutTasksInput, Prisma.KanbanGoalUncheckedUpdateWithoutTasksInput>
|
|
create: Prisma.XOR<Prisma.KanbanGoalCreateWithoutTasksInput, Prisma.KanbanGoalUncheckedCreateWithoutTasksInput>
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
}
|
|
|
|
export type KanbanGoalUpdateToOneWithWhereWithoutTasksInput = {
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
data: Prisma.XOR<Prisma.KanbanGoalUpdateWithoutTasksInput, Prisma.KanbanGoalUncheckedUpdateWithoutTasksInput>
|
|
}
|
|
|
|
export type KanbanGoalUpdateWithoutTasksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
team?: Prisma.TeamUpdateOneRequiredWithoutKanbanGoalsNestedInput
|
|
creator?: Prisma.UserUpdateOneWithoutKanbanGoalsCreatedNestedInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedUpdateWithoutTasksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanGoalCreateManyCreatorInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
teamId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanGoalUpdateWithoutCreatorInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
team?: Prisma.TeamUpdateOneRequiredWithoutKanbanGoalsNestedInput
|
|
tasks?: Prisma.KanbanTaskUpdateManyWithoutGoalNestedInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedUpdateWithoutCreatorInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tasks?: Prisma.KanbanTaskUncheckedUpdateManyWithoutGoalNestedInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedUpdateManyWithoutCreatorInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type KanbanGoalCreateManyTeamInput = {
|
|
id?: string
|
|
title: string
|
|
description?: string | null
|
|
creatorId?: string | null
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type KanbanGoalUpdateWithoutTeamInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
creator?: Prisma.UserUpdateOneWithoutKanbanGoalsCreatedNestedInput
|
|
tasks?: Prisma.KanbanTaskUpdateManyWithoutGoalNestedInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedUpdateWithoutTeamInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tasks?: Prisma.KanbanTaskUncheckedUpdateManyWithoutGoalNestedInput
|
|
}
|
|
|
|
export type KanbanGoalUncheckedUpdateManyWithoutTeamInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type KanbanGoalCountOutputType
|
|
*/
|
|
|
|
export type KanbanGoalCountOutputType = {
|
|
tasks: number
|
|
}
|
|
|
|
export type KanbanGoalCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tasks?: boolean | KanbanGoalCountOutputTypeCountTasksArgs
|
|
}
|
|
|
|
/**
|
|
* KanbanGoalCountOutputType without action
|
|
*/
|
|
export type KanbanGoalCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoalCountOutputType
|
|
*/
|
|
select?: Prisma.KanbanGoalCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* KanbanGoalCountOutputType without action
|
|
*/
|
|
export type KanbanGoalCountOutputTypeCountTasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.KanbanTaskWhereInput
|
|
}
|
|
|
|
|
|
export type KanbanGoalSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
teamId?: boolean
|
|
creatorId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
team?: boolean | Prisma.TeamDefaultArgs<ExtArgs>
|
|
creator?: boolean | Prisma.KanbanGoal$creatorArgs<ExtArgs>
|
|
tasks?: boolean | Prisma.KanbanGoal$tasksArgs<ExtArgs>
|
|
_count?: boolean | Prisma.KanbanGoalCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kanbanGoal"]>
|
|
|
|
export type KanbanGoalSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
teamId?: boolean
|
|
creatorId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
team?: boolean | Prisma.TeamDefaultArgs<ExtArgs>
|
|
creator?: boolean | Prisma.KanbanGoal$creatorArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kanbanGoal"]>
|
|
|
|
export type KanbanGoalSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
teamId?: boolean
|
|
creatorId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
team?: boolean | Prisma.TeamDefaultArgs<ExtArgs>
|
|
creator?: boolean | Prisma.KanbanGoal$creatorArgs<ExtArgs>
|
|
}, ExtArgs["result"]["kanbanGoal"]>
|
|
|
|
export type KanbanGoalSelectScalar = {
|
|
id?: boolean
|
|
title?: boolean
|
|
description?: boolean
|
|
teamId?: boolean
|
|
creatorId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type KanbanGoalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "title" | "description" | "teamId" | "creatorId" | "createdAt" | "updatedAt", ExtArgs["result"]["kanbanGoal"]>
|
|
export type KanbanGoalInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
team?: boolean | Prisma.TeamDefaultArgs<ExtArgs>
|
|
creator?: boolean | Prisma.KanbanGoal$creatorArgs<ExtArgs>
|
|
tasks?: boolean | Prisma.KanbanGoal$tasksArgs<ExtArgs>
|
|
_count?: boolean | Prisma.KanbanGoalCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type KanbanGoalIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
team?: boolean | Prisma.TeamDefaultArgs<ExtArgs>
|
|
creator?: boolean | Prisma.KanbanGoal$creatorArgs<ExtArgs>
|
|
}
|
|
export type KanbanGoalIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
team?: boolean | Prisma.TeamDefaultArgs<ExtArgs>
|
|
creator?: boolean | Prisma.KanbanGoal$creatorArgs<ExtArgs>
|
|
}
|
|
|
|
export type $KanbanGoalPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "KanbanGoal"
|
|
objects: {
|
|
team: Prisma.$TeamPayload<ExtArgs>
|
|
creator: Prisma.$UserPayload<ExtArgs> | null
|
|
tasks: Prisma.$KanbanTaskPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
title: string
|
|
description: string | null
|
|
teamId: string
|
|
creatorId: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["kanbanGoal"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type KanbanGoalGetPayload<S extends boolean | null | undefined | KanbanGoalDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload, S>
|
|
|
|
export type KanbanGoalCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<KanbanGoalFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: KanbanGoalCountAggregateInputType | true
|
|
}
|
|
|
|
export interface KanbanGoalDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['KanbanGoal'], meta: { name: 'KanbanGoal' } }
|
|
/**
|
|
* Find zero or one KanbanGoal that matches the filter.
|
|
* @param {KanbanGoalFindUniqueArgs} args - Arguments to find a KanbanGoal
|
|
* @example
|
|
* // Get one KanbanGoal
|
|
* const kanbanGoal = await prisma.kanbanGoal.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends KanbanGoalFindUniqueArgs>(args: Prisma.SelectSubset<T, KanbanGoalFindUniqueArgs<ExtArgs>>): Prisma.Prisma__KanbanGoalClient<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one KanbanGoal that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {KanbanGoalFindUniqueOrThrowArgs} args - Arguments to find a KanbanGoal
|
|
* @example
|
|
* // Get one KanbanGoal
|
|
* const kanbanGoal = await prisma.kanbanGoal.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends KanbanGoalFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, KanbanGoalFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__KanbanGoalClient<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KanbanGoal 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 {KanbanGoalFindFirstArgs} args - Arguments to find a KanbanGoal
|
|
* @example
|
|
* // Get one KanbanGoal
|
|
* const kanbanGoal = await prisma.kanbanGoal.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends KanbanGoalFindFirstArgs>(args?: Prisma.SelectSubset<T, KanbanGoalFindFirstArgs<ExtArgs>>): Prisma.Prisma__KanbanGoalClient<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first KanbanGoal 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 {KanbanGoalFindFirstOrThrowArgs} args - Arguments to find a KanbanGoal
|
|
* @example
|
|
* // Get one KanbanGoal
|
|
* const kanbanGoal = await prisma.kanbanGoal.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends KanbanGoalFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, KanbanGoalFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__KanbanGoalClient<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more KanbanGoals 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 {KanbanGoalFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all KanbanGoals
|
|
* const kanbanGoals = await prisma.kanbanGoal.findMany()
|
|
*
|
|
* // Get first 10 KanbanGoals
|
|
* const kanbanGoals = await prisma.kanbanGoal.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const kanbanGoalWithIdOnly = await prisma.kanbanGoal.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends KanbanGoalFindManyArgs>(args?: Prisma.SelectSubset<T, KanbanGoalFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a KanbanGoal.
|
|
* @param {KanbanGoalCreateArgs} args - Arguments to create a KanbanGoal.
|
|
* @example
|
|
* // Create one KanbanGoal
|
|
* const KanbanGoal = await prisma.kanbanGoal.create({
|
|
* data: {
|
|
* // ... data to create a KanbanGoal
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends KanbanGoalCreateArgs>(args: Prisma.SelectSubset<T, KanbanGoalCreateArgs<ExtArgs>>): Prisma.Prisma__KanbanGoalClient<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many KanbanGoals.
|
|
* @param {KanbanGoalCreateManyArgs} args - Arguments to create many KanbanGoals.
|
|
* @example
|
|
* // Create many KanbanGoals
|
|
* const kanbanGoal = await prisma.kanbanGoal.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends KanbanGoalCreateManyArgs>(args?: Prisma.SelectSubset<T, KanbanGoalCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many KanbanGoals and returns the data saved in the database.
|
|
* @param {KanbanGoalCreateManyAndReturnArgs} args - Arguments to create many KanbanGoals.
|
|
* @example
|
|
* // Create many KanbanGoals
|
|
* const kanbanGoal = await prisma.kanbanGoal.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many KanbanGoals and only return the `id`
|
|
* const kanbanGoalWithIdOnly = await prisma.kanbanGoal.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 KanbanGoalCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, KanbanGoalCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a KanbanGoal.
|
|
* @param {KanbanGoalDeleteArgs} args - Arguments to delete one KanbanGoal.
|
|
* @example
|
|
* // Delete one KanbanGoal
|
|
* const KanbanGoal = await prisma.kanbanGoal.delete({
|
|
* where: {
|
|
* // ... filter to delete one KanbanGoal
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends KanbanGoalDeleteArgs>(args: Prisma.SelectSubset<T, KanbanGoalDeleteArgs<ExtArgs>>): Prisma.Prisma__KanbanGoalClient<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one KanbanGoal.
|
|
* @param {KanbanGoalUpdateArgs} args - Arguments to update one KanbanGoal.
|
|
* @example
|
|
* // Update one KanbanGoal
|
|
* const kanbanGoal = await prisma.kanbanGoal.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends KanbanGoalUpdateArgs>(args: Prisma.SelectSubset<T, KanbanGoalUpdateArgs<ExtArgs>>): Prisma.Prisma__KanbanGoalClient<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more KanbanGoals.
|
|
* @param {KanbanGoalDeleteManyArgs} args - Arguments to filter KanbanGoals to delete.
|
|
* @example
|
|
* // Delete a few KanbanGoals
|
|
* const { count } = await prisma.kanbanGoal.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends KanbanGoalDeleteManyArgs>(args?: Prisma.SelectSubset<T, KanbanGoalDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KanbanGoals.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KanbanGoalUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many KanbanGoals
|
|
* const kanbanGoal = await prisma.kanbanGoal.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends KanbanGoalUpdateManyArgs>(args: Prisma.SelectSubset<T, KanbanGoalUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more KanbanGoals and returns the data updated in the database.
|
|
* @param {KanbanGoalUpdateManyAndReturnArgs} args - Arguments to update many KanbanGoals.
|
|
* @example
|
|
* // Update many KanbanGoals
|
|
* const kanbanGoal = await prisma.kanbanGoal.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more KanbanGoals and only return the `id`
|
|
* const kanbanGoalWithIdOnly = await prisma.kanbanGoal.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 KanbanGoalUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, KanbanGoalUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one KanbanGoal.
|
|
* @param {KanbanGoalUpsertArgs} args - Arguments to update or create a KanbanGoal.
|
|
* @example
|
|
* // Update or create a KanbanGoal
|
|
* const kanbanGoal = await prisma.kanbanGoal.upsert({
|
|
* create: {
|
|
* // ... data to create a KanbanGoal
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the KanbanGoal we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends KanbanGoalUpsertArgs>(args: Prisma.SelectSubset<T, KanbanGoalUpsertArgs<ExtArgs>>): Prisma.Prisma__KanbanGoalClient<runtime.Types.Result.GetResult<Prisma.$KanbanGoalPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of KanbanGoals.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KanbanGoalCountArgs} args - Arguments to filter KanbanGoals to count.
|
|
* @example
|
|
* // Count the number of KanbanGoals
|
|
* const count = await prisma.kanbanGoal.count({
|
|
* where: {
|
|
* // ... the filter for the KanbanGoals we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends KanbanGoalCountArgs>(
|
|
args?: Prisma.Subset<T, KanbanGoalCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], KanbanGoalCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a KanbanGoal.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KanbanGoalAggregateArgs} 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 KanbanGoalAggregateArgs>(args: Prisma.Subset<T, KanbanGoalAggregateArgs>): Prisma.PrismaPromise<GetKanbanGoalAggregateType<T>>
|
|
|
|
/**
|
|
* Group by KanbanGoal.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {KanbanGoalGroupByArgs} 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 KanbanGoalGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: KanbanGoalGroupByArgs['orderBy'] }
|
|
: { orderBy?: KanbanGoalGroupByArgs['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, KanbanGoalGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetKanbanGoalGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the KanbanGoal model
|
|
*/
|
|
readonly fields: KanbanGoalFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for KanbanGoal.
|
|
* 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__KanbanGoalClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
team<T extends Prisma.TeamDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TeamDefaultArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
creator<T extends Prisma.KanbanGoal$creatorArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KanbanGoal$creatorArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
tasks<T extends Prisma.KanbanGoal$tasksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KanbanGoal$tasksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KanbanTaskPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* 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 KanbanGoal model
|
|
*/
|
|
export interface KanbanGoalFieldRefs {
|
|
readonly id: Prisma.FieldRef<"KanbanGoal", 'String'>
|
|
readonly title: Prisma.FieldRef<"KanbanGoal", 'String'>
|
|
readonly description: Prisma.FieldRef<"KanbanGoal", 'String'>
|
|
readonly teamId: Prisma.FieldRef<"KanbanGoal", 'String'>
|
|
readonly creatorId: Prisma.FieldRef<"KanbanGoal", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"KanbanGoal", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"KanbanGoal", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* KanbanGoal findUnique
|
|
*/
|
|
export type KanbanGoalFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanGoal to fetch.
|
|
*/
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal findUniqueOrThrow
|
|
*/
|
|
export type KanbanGoalFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanGoal to fetch.
|
|
*/
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal findFirst
|
|
*/
|
|
export type KanbanGoalFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanGoal to fetch.
|
|
*/
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KanbanGoals to fetch.
|
|
*/
|
|
orderBy?: Prisma.KanbanGoalOrderByWithRelationInput | Prisma.KanbanGoalOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KanbanGoals.
|
|
*/
|
|
cursor?: Prisma.KanbanGoalWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KanbanGoals 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` KanbanGoals.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KanbanGoals.
|
|
*/
|
|
distinct?: Prisma.KanbanGoalScalarFieldEnum | Prisma.KanbanGoalScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal findFirstOrThrow
|
|
*/
|
|
export type KanbanGoalFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanGoal to fetch.
|
|
*/
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KanbanGoals to fetch.
|
|
*/
|
|
orderBy?: Prisma.KanbanGoalOrderByWithRelationInput | Prisma.KanbanGoalOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for KanbanGoals.
|
|
*/
|
|
cursor?: Prisma.KanbanGoalWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KanbanGoals 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` KanbanGoals.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KanbanGoals.
|
|
*/
|
|
distinct?: Prisma.KanbanGoalScalarFieldEnum | Prisma.KanbanGoalScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal findMany
|
|
*/
|
|
export type KanbanGoalFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which KanbanGoals to fetch.
|
|
*/
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of KanbanGoals to fetch.
|
|
*/
|
|
orderBy?: Prisma.KanbanGoalOrderByWithRelationInput | Prisma.KanbanGoalOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing KanbanGoals.
|
|
*/
|
|
cursor?: Prisma.KanbanGoalWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` KanbanGoals 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` KanbanGoals.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of KanbanGoals.
|
|
*/
|
|
distinct?: Prisma.KanbanGoalScalarFieldEnum | Prisma.KanbanGoalScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal create
|
|
*/
|
|
export type KanbanGoalCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a KanbanGoal.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KanbanGoalCreateInput, Prisma.KanbanGoalUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal createMany
|
|
*/
|
|
export type KanbanGoalCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many KanbanGoals.
|
|
*/
|
|
data: Prisma.KanbanGoalCreateManyInput | Prisma.KanbanGoalCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal createManyAndReturn
|
|
*/
|
|
export type KanbanGoalCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many KanbanGoals.
|
|
*/
|
|
data: Prisma.KanbanGoalCreateManyInput | Prisma.KanbanGoalCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal update
|
|
*/
|
|
export type KanbanGoalUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a KanbanGoal.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KanbanGoalUpdateInput, Prisma.KanbanGoalUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which KanbanGoal to update.
|
|
*/
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal updateMany
|
|
*/
|
|
export type KanbanGoalUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update KanbanGoals.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KanbanGoalUpdateManyMutationInput, Prisma.KanbanGoalUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KanbanGoals to update
|
|
*/
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
/**
|
|
* Limit how many KanbanGoals to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal updateManyAndReturn
|
|
*/
|
|
export type KanbanGoalUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update KanbanGoals.
|
|
*/
|
|
data: Prisma.XOR<Prisma.KanbanGoalUpdateManyMutationInput, Prisma.KanbanGoalUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which KanbanGoals to update
|
|
*/
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
/**
|
|
* Limit how many KanbanGoals to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal upsert
|
|
*/
|
|
export type KanbanGoalUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the KanbanGoal to update in case it exists.
|
|
*/
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
/**
|
|
* In case the KanbanGoal found by the `where` argument doesn't exist, create a new KanbanGoal with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.KanbanGoalCreateInput, Prisma.KanbanGoalUncheckedCreateInput>
|
|
/**
|
|
* In case the KanbanGoal was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.KanbanGoalUpdateInput, Prisma.KanbanGoalUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal delete
|
|
*/
|
|
export type KanbanGoalDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which KanbanGoal to delete.
|
|
*/
|
|
where: Prisma.KanbanGoalWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal deleteMany
|
|
*/
|
|
export type KanbanGoalDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which KanbanGoals to delete
|
|
*/
|
|
where?: Prisma.KanbanGoalWhereInput
|
|
/**
|
|
* Limit how many KanbanGoals to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal.creator
|
|
*/
|
|
export type KanbanGoal$creatorArgs<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
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal.tasks
|
|
*/
|
|
export type KanbanGoal$tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanTask
|
|
*/
|
|
select?: Prisma.KanbanTaskSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanTask
|
|
*/
|
|
omit?: Prisma.KanbanTaskOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanTaskInclude<ExtArgs> | null
|
|
where?: Prisma.KanbanTaskWhereInput
|
|
orderBy?: Prisma.KanbanTaskOrderByWithRelationInput | Prisma.KanbanTaskOrderByWithRelationInput[]
|
|
cursor?: Prisma.KanbanTaskWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.KanbanTaskScalarFieldEnum | Prisma.KanbanTaskScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* KanbanGoal without action
|
|
*/
|
|
export type KanbanGoalDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the KanbanGoal
|
|
*/
|
|
select?: Prisma.KanbanGoalSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the KanbanGoal
|
|
*/
|
|
omit?: Prisma.KanbanGoalOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.KanbanGoalInclude<ExtArgs> | null
|
|
}
|