/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateKanbanGoal]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type KanbanGoalGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof KanbanGoalGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 creator?: Prisma.XOR | 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 creator?: Prisma.XOR | 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[] connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput | Prisma.KanbanGoalCreateOrConnectWithoutCreatorInput[] createMany?: Prisma.KanbanGoalCreateManyCreatorInputEnvelope connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[] } export type KanbanGoalUncheckedCreateNestedManyWithoutCreatorInput = { create?: Prisma.XOR | 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[] 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[] 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[] connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutTeamInput | Prisma.KanbanGoalCreateOrConnectWithoutTeamInput[] createMany?: Prisma.KanbanGoalCreateManyTeamInputEnvelope connect?: Prisma.KanbanGoalWhereUniqueInput | Prisma.KanbanGoalWhereUniqueInput[] } export type KanbanGoalUncheckedCreateNestedManyWithoutTeamInput = { create?: Prisma.XOR | 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[] 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[] 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 connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutTasksInput connect?: Prisma.KanbanGoalWhereUniqueInput } export type KanbanGoalUpdateOneWithoutTasksNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.KanbanGoalCreateOrConnectWithoutTasksInput upsert?: Prisma.KanbanGoalUpsertWithoutTasksInput disconnect?: Prisma.KanbanGoalWhereInput | boolean delete?: Prisma.KanbanGoalWhereInput | boolean connect?: Prisma.KanbanGoalWhereUniqueInput update?: Prisma.XOR, 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 } export type KanbanGoalCreateManyCreatorInputEnvelope = { data: Prisma.KanbanGoalCreateManyCreatorInput | Prisma.KanbanGoalCreateManyCreatorInput[] skipDuplicates?: boolean } export type KanbanGoalUpsertWithWhereUniqueWithoutCreatorInput = { where: Prisma.KanbanGoalWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type KanbanGoalUpdateWithWhereUniqueWithoutCreatorInput = { where: Prisma.KanbanGoalWhereUniqueInput data: Prisma.XOR } export type KanbanGoalUpdateManyWithWhereWithoutCreatorInput = { where: Prisma.KanbanGoalScalarWhereInput data: Prisma.XOR } 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 } export type KanbanGoalCreateManyTeamInputEnvelope = { data: Prisma.KanbanGoalCreateManyTeamInput | Prisma.KanbanGoalCreateManyTeamInput[] skipDuplicates?: boolean } export type KanbanGoalUpsertWithWhereUniqueWithoutTeamInput = { where: Prisma.KanbanGoalWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type KanbanGoalUpdateWithWhereUniqueWithoutTeamInput = { where: Prisma.KanbanGoalWhereUniqueInput data: Prisma.XOR } export type KanbanGoalUpdateManyWithWhereWithoutTeamInput = { where: Prisma.KanbanGoalScalarWhereInput data: Prisma.XOR } 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 } export type KanbanGoalUpsertWithoutTasksInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.KanbanGoalWhereInput } export type KanbanGoalUpdateToOneWithWhereWithoutTasksInput = { where?: Prisma.KanbanGoalWhereInput data: Prisma.XOR } 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 = { tasks?: boolean | KanbanGoalCountOutputTypeCountTasksArgs } /** * KanbanGoalCountOutputType without action */ export type KanbanGoalCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the KanbanGoalCountOutputType */ select?: Prisma.KanbanGoalCountOutputTypeSelect | null } /** * KanbanGoalCountOutputType without action */ export type KanbanGoalCountOutputTypeCountTasksArgs = { where?: Prisma.KanbanTaskWhereInput } export type KanbanGoalSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean title?: boolean description?: boolean teamId?: boolean creatorId?: boolean createdAt?: boolean updatedAt?: boolean team?: boolean | Prisma.TeamDefaultArgs creator?: boolean | Prisma.KanbanGoal$creatorArgs tasks?: boolean | Prisma.KanbanGoal$tasksArgs _count?: boolean | Prisma.KanbanGoalCountOutputTypeDefaultArgs }, ExtArgs["result"]["kanbanGoal"]> export type KanbanGoalSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean title?: boolean description?: boolean teamId?: boolean creatorId?: boolean createdAt?: boolean updatedAt?: boolean team?: boolean | Prisma.TeamDefaultArgs creator?: boolean | Prisma.KanbanGoal$creatorArgs }, ExtArgs["result"]["kanbanGoal"]> export type KanbanGoalSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean title?: boolean description?: boolean teamId?: boolean creatorId?: boolean createdAt?: boolean updatedAt?: boolean team?: boolean | Prisma.TeamDefaultArgs creator?: boolean | Prisma.KanbanGoal$creatorArgs }, ExtArgs["result"]["kanbanGoal"]> export type KanbanGoalSelectScalar = { id?: boolean title?: boolean description?: boolean teamId?: boolean creatorId?: boolean createdAt?: boolean updatedAt?: boolean } export type KanbanGoalOmit = runtime.Types.Extensions.GetOmit<"id" | "title" | "description" | "teamId" | "creatorId" | "createdAt" | "updatedAt", ExtArgs["result"]["kanbanGoal"]> export type KanbanGoalInclude = { team?: boolean | Prisma.TeamDefaultArgs creator?: boolean | Prisma.KanbanGoal$creatorArgs tasks?: boolean | Prisma.KanbanGoal$tasksArgs _count?: boolean | Prisma.KanbanGoalCountOutputTypeDefaultArgs } export type KanbanGoalIncludeCreateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs creator?: boolean | Prisma.KanbanGoal$creatorArgs } export type KanbanGoalIncludeUpdateManyAndReturn = { team?: boolean | Prisma.TeamDefaultArgs creator?: boolean | Prisma.KanbanGoal$creatorArgs } export type $KanbanGoalPayload = { name: "KanbanGoal" objects: { team: Prisma.$TeamPayload creator: Prisma.$UserPayload | null tasks: Prisma.$KanbanTaskPayload[] } 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 = runtime.Types.Result.GetResult export type KanbanGoalCountArgs = Omit & { select?: KanbanGoalCountAggregateInputType | true } export interface KanbanGoalDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__KanbanGoalClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KanbanGoalClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__KanbanGoalClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__KanbanGoalClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KanbanGoalClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KanbanGoalClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KanbanGoalClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__KanbanGoalClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: KanbanGoalGroupByArgs['orderBy'] } : { orderBy?: KanbanGoalGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetKanbanGoalGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> creator = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> tasks = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | null /** * Filter, which KanbanGoal to fetch. */ where: Prisma.KanbanGoalWhereUniqueInput } /** * KanbanGoal findUniqueOrThrow */ export type KanbanGoalFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | null /** * Filter, which KanbanGoal to fetch. */ where: Prisma.KanbanGoalWhereUniqueInput } /** * KanbanGoal findFirst */ export type KanbanGoalFindFirstArgs = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | 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 = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | 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 = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | 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 = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | null /** * The data needed to create a KanbanGoal. */ data: Prisma.XOR } /** * KanbanGoal createMany */ export type KanbanGoalCreateManyArgs = { /** * The data used to create many KanbanGoals. */ data: Prisma.KanbanGoalCreateManyInput | Prisma.KanbanGoalCreateManyInput[] skipDuplicates?: boolean } /** * KanbanGoal createManyAndReturn */ export type KanbanGoalCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelectCreateManyAndReturn | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | 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 | null } /** * KanbanGoal update */ export type KanbanGoalUpdateArgs = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | null /** * The data needed to update a KanbanGoal. */ data: Prisma.XOR /** * Choose, which KanbanGoal to update. */ where: Prisma.KanbanGoalWhereUniqueInput } /** * KanbanGoal updateMany */ export type KanbanGoalUpdateManyArgs = { /** * The data used to update KanbanGoals. */ data: Prisma.XOR /** * Filter which KanbanGoals to update */ where?: Prisma.KanbanGoalWhereInput /** * Limit how many KanbanGoals to update. */ limit?: number } /** * KanbanGoal updateManyAndReturn */ export type KanbanGoalUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelectUpdateManyAndReturn | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * The data used to update KanbanGoals. */ data: Prisma.XOR /** * 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 | null } /** * KanbanGoal upsert */ export type KanbanGoalUpsertArgs = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | 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 /** * In case the KanbanGoal was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * KanbanGoal delete */ export type KanbanGoalDeleteArgs = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | null /** * Filter which KanbanGoal to delete. */ where: Prisma.KanbanGoalWhereUniqueInput } /** * KanbanGoal deleteMany */ export type KanbanGoalDeleteManyArgs = { /** * Filter which KanbanGoals to delete */ where?: Prisma.KanbanGoalWhereInput /** * Limit how many KanbanGoals to delete. */ limit?: number } /** * KanbanGoal.creator */ export type KanbanGoal$creatorArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null where?: Prisma.UserWhereInput } /** * KanbanGoal.tasks */ export type KanbanGoal$tasksArgs = { /** * Select specific fields to fetch from the KanbanTask */ select?: Prisma.KanbanTaskSelect | null /** * Omit specific fields from the KanbanTask */ omit?: Prisma.KanbanTaskOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanTaskInclude | 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 = { /** * Select specific fields to fetch from the KanbanGoal */ select?: Prisma.KanbanGoalSelect | null /** * Omit specific fields from the KanbanGoal */ omit?: Prisma.KanbanGoalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KanbanGoalInclude | null }