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