/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `collab_message_reactions` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums" import type * as Prisma from "../internal/prismaNamespace" /** * Model collab_message_reactions * */ export type collab_message_reactionsModel = runtime.Types.Result.DefaultSelection export type AggregateCollab_message_reactions = { _count: Collab_message_reactionsCountAggregateOutputType | null _avg: Collab_message_reactionsAvgAggregateOutputType | null _sum: Collab_message_reactionsSumAggregateOutputType | null _min: Collab_message_reactionsMinAggregateOutputType | null _max: Collab_message_reactionsMaxAggregateOutputType | null } export type Collab_message_reactionsAvgAggregateOutputType = { id: number | null message_id: number | null user_id: number | null } export type Collab_message_reactionsSumAggregateOutputType = { id: number | null message_id: number | null user_id: number | null } export type Collab_message_reactionsMinAggregateOutputType = { id: number | null message_id: number | null user_id: number | null emoji: string | null created_at: Date | null } export type Collab_message_reactionsMaxAggregateOutputType = { id: number | null message_id: number | null user_id: number | null emoji: string | null created_at: Date | null } export type Collab_message_reactionsCountAggregateOutputType = { id: number message_id: number user_id: number emoji: number created_at: number _all: number } export type Collab_message_reactionsAvgAggregateInputType = { id?: true message_id?: true user_id?: true } export type Collab_message_reactionsSumAggregateInputType = { id?: true message_id?: true user_id?: true } export type Collab_message_reactionsMinAggregateInputType = { id?: true message_id?: true user_id?: true emoji?: true created_at?: true } export type Collab_message_reactionsMaxAggregateInputType = { id?: true message_id?: true user_id?: true emoji?: true created_at?: true } export type Collab_message_reactionsCountAggregateInputType = { id?: true message_id?: true user_id?: true emoji?: true created_at?: true _all?: true } export type Collab_message_reactionsAggregateArgs = { /** * Filter which collab_message_reactions to aggregate. */ where?: Prisma.collab_message_reactionsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of collab_message_reactions to fetch. */ orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.collab_message_reactionsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` collab_message_reactions 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` collab_message_reactions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned collab_message_reactions **/ _count?: true | Collab_message_reactionsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: Collab_message_reactionsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: Collab_message_reactionsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: Collab_message_reactionsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: Collab_message_reactionsMaxAggregateInputType } export type GetCollab_message_reactionsAggregateType = { [P in keyof T & keyof AggregateCollab_message_reactions]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type collab_message_reactionsGroupByArgs = { where?: Prisma.collab_message_reactionsWhereInput orderBy?: Prisma.collab_message_reactionsOrderByWithAggregationInput | Prisma.collab_message_reactionsOrderByWithAggregationInput[] by: Prisma.Collab_message_reactionsScalarFieldEnum[] | Prisma.Collab_message_reactionsScalarFieldEnum having?: Prisma.collab_message_reactionsScalarWhereWithAggregatesInput take?: number skip?: number _count?: Collab_message_reactionsCountAggregateInputType | true _avg?: Collab_message_reactionsAvgAggregateInputType _sum?: Collab_message_reactionsSumAggregateInputType _min?: Collab_message_reactionsMinAggregateInputType _max?: Collab_message_reactionsMaxAggregateInputType } export type Collab_message_reactionsGroupByOutputType = { id: number message_id: number user_id: number emoji: string created_at: Date | null _count: Collab_message_reactionsCountAggregateOutputType | null _avg: Collab_message_reactionsAvgAggregateOutputType | null _sum: Collab_message_reactionsSumAggregateOutputType | null _min: Collab_message_reactionsMinAggregateOutputType | null _max: Collab_message_reactionsMaxAggregateOutputType | null } export type GetCollab_message_reactionsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof Collab_message_reactionsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type collab_message_reactionsWhereInput = { AND?: Prisma.collab_message_reactionsWhereInput | Prisma.collab_message_reactionsWhereInput[] OR?: Prisma.collab_message_reactionsWhereInput[] NOT?: Prisma.collab_message_reactionsWhereInput | Prisma.collab_message_reactionsWhereInput[] id?: Prisma.IntFilter<"collab_message_reactions"> | number message_id?: Prisma.IntFilter<"collab_message_reactions"> | number user_id?: Prisma.IntFilter<"collab_message_reactions"> | number emoji?: Prisma.StringFilter<"collab_message_reactions"> | string created_at?: Prisma.DateTimeNullableFilter<"collab_message_reactions"> | Date | string | null users?: Prisma.XOR collab_messages?: Prisma.XOR } export type collab_message_reactionsOrderByWithRelationInput = { id?: Prisma.SortOrder message_id?: Prisma.SortOrder user_id?: Prisma.SortOrder emoji?: Prisma.SortOrder created_at?: Prisma.SortOrderInput | Prisma.SortOrder users?: Prisma.usersOrderByWithRelationInput collab_messages?: Prisma.collab_messagesOrderByWithRelationInput } export type collab_message_reactionsWhereUniqueInput = Prisma.AtLeast<{ id?: number message_id_user_id_emoji?: Prisma.collab_message_reactionsMessage_idUser_idEmojiCompoundUniqueInput AND?: Prisma.collab_message_reactionsWhereInput | Prisma.collab_message_reactionsWhereInput[] OR?: Prisma.collab_message_reactionsWhereInput[] NOT?: Prisma.collab_message_reactionsWhereInput | Prisma.collab_message_reactionsWhereInput[] message_id?: Prisma.IntFilter<"collab_message_reactions"> | number user_id?: Prisma.IntFilter<"collab_message_reactions"> | number emoji?: Prisma.StringFilter<"collab_message_reactions"> | string created_at?: Prisma.DateTimeNullableFilter<"collab_message_reactions"> | Date | string | null users?: Prisma.XOR collab_messages?: Prisma.XOR }, "id" | "message_id_user_id_emoji"> export type collab_message_reactionsOrderByWithAggregationInput = { id?: Prisma.SortOrder message_id?: Prisma.SortOrder user_id?: Prisma.SortOrder emoji?: Prisma.SortOrder created_at?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.collab_message_reactionsCountOrderByAggregateInput _avg?: Prisma.collab_message_reactionsAvgOrderByAggregateInput _max?: Prisma.collab_message_reactionsMaxOrderByAggregateInput _min?: Prisma.collab_message_reactionsMinOrderByAggregateInput _sum?: Prisma.collab_message_reactionsSumOrderByAggregateInput } export type collab_message_reactionsScalarWhereWithAggregatesInput = { AND?: Prisma.collab_message_reactionsScalarWhereWithAggregatesInput | Prisma.collab_message_reactionsScalarWhereWithAggregatesInput[] OR?: Prisma.collab_message_reactionsScalarWhereWithAggregatesInput[] NOT?: Prisma.collab_message_reactionsScalarWhereWithAggregatesInput | Prisma.collab_message_reactionsScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"collab_message_reactions"> | number message_id?: Prisma.IntWithAggregatesFilter<"collab_message_reactions"> | number user_id?: Prisma.IntWithAggregatesFilter<"collab_message_reactions"> | number emoji?: Prisma.StringWithAggregatesFilter<"collab_message_reactions"> | string created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"collab_message_reactions"> | Date | string | null } export type collab_message_reactionsCreateInput = { emoji: string created_at?: Date | string | null users: Prisma.usersCreateNestedOneWithoutCollab_message_reactionsInput collab_messages: Prisma.collab_messagesCreateNestedOneWithoutCollab_message_reactionsInput } export type collab_message_reactionsUncheckedCreateInput = { id?: number message_id: number user_id: number emoji: string created_at?: Date | string | null } export type collab_message_reactionsUpdateInput = { emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null users?: Prisma.usersUpdateOneRequiredWithoutCollab_message_reactionsNestedInput collab_messages?: Prisma.collab_messagesUpdateOneRequiredWithoutCollab_message_reactionsNestedInput } export type collab_message_reactionsUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number message_id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type collab_message_reactionsCreateManyInput = { id?: number message_id: number user_id: number emoji: string created_at?: Date | string | null } export type collab_message_reactionsUpdateManyMutationInput = { emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type collab_message_reactionsUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number message_id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type collab_message_reactionsMessage_idUser_idEmojiCompoundUniqueInput = { message_id: number user_id: number emoji: string } export type collab_message_reactionsCountOrderByAggregateInput = { id?: Prisma.SortOrder message_id?: Prisma.SortOrder user_id?: Prisma.SortOrder emoji?: Prisma.SortOrder created_at?: Prisma.SortOrder } export type collab_message_reactionsAvgOrderByAggregateInput = { id?: Prisma.SortOrder message_id?: Prisma.SortOrder user_id?: Prisma.SortOrder } export type collab_message_reactionsMaxOrderByAggregateInput = { id?: Prisma.SortOrder message_id?: Prisma.SortOrder user_id?: Prisma.SortOrder emoji?: Prisma.SortOrder created_at?: Prisma.SortOrder } export type collab_message_reactionsMinOrderByAggregateInput = { id?: Prisma.SortOrder message_id?: Prisma.SortOrder user_id?: Prisma.SortOrder emoji?: Prisma.SortOrder created_at?: Prisma.SortOrder } export type collab_message_reactionsSumOrderByAggregateInput = { id?: Prisma.SortOrder message_id?: Prisma.SortOrder user_id?: Prisma.SortOrder } export type Collab_message_reactionsListRelationFilter = { every?: Prisma.collab_message_reactionsWhereInput some?: Prisma.collab_message_reactionsWhereInput none?: Prisma.collab_message_reactionsWhereInput } export type collab_message_reactionsOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type collab_message_reactionsCreateNestedManyWithoutCollab_messagesInput = { create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput[] connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput[] createMany?: Prisma.collab_message_reactionsCreateManyCollab_messagesInputEnvelope connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] } export type collab_message_reactionsUncheckedCreateNestedManyWithoutCollab_messagesInput = { create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput[] connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput[] createMany?: Prisma.collab_message_reactionsCreateManyCollab_messagesInputEnvelope connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] } export type collab_message_reactionsUpdateManyWithoutCollab_messagesNestedInput = { create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput[] connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput[] upsert?: Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput[] createMany?: Prisma.collab_message_reactionsCreateManyCollab_messagesInputEnvelope set?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] disconnect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] delete?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] update?: Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput[] updateMany?: Prisma.collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput[] deleteMany?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] } export type collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesNestedInput = { create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput[] connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput | Prisma.collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput[] upsert?: Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput[] createMany?: Prisma.collab_message_reactionsCreateManyCollab_messagesInputEnvelope set?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] disconnect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] delete?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] update?: Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput[] updateMany?: Prisma.collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput | Prisma.collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput[] deleteMany?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] } export type collab_message_reactionsCreateNestedManyWithoutUsersInput = { create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutUsersInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput[] connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput | Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput[] createMany?: Prisma.collab_message_reactionsCreateManyUsersInputEnvelope connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] } export type collab_message_reactionsUncheckedCreateNestedManyWithoutUsersInput = { create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutUsersInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput[] connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput | Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput[] createMany?: Prisma.collab_message_reactionsCreateManyUsersInputEnvelope connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] } export type collab_message_reactionsUpdateManyWithoutUsersNestedInput = { create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutUsersInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput[] connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput | Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput[] upsert?: Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput[] createMany?: Prisma.collab_message_reactionsCreateManyUsersInputEnvelope set?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] disconnect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] delete?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] update?: Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput[] updateMany?: Prisma.collab_message_reactionsUpdateManyWithWhereWithoutUsersInput | Prisma.collab_message_reactionsUpdateManyWithWhereWithoutUsersInput[] deleteMany?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] } export type collab_message_reactionsUncheckedUpdateManyWithoutUsersNestedInput = { create?: Prisma.XOR | Prisma.collab_message_reactionsCreateWithoutUsersInput[] | Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput[] connectOrCreate?: Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput | Prisma.collab_message_reactionsCreateOrConnectWithoutUsersInput[] upsert?: Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput | Prisma.collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput[] createMany?: Prisma.collab_message_reactionsCreateManyUsersInputEnvelope set?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] disconnect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] delete?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] connect?: Prisma.collab_message_reactionsWhereUniqueInput | Prisma.collab_message_reactionsWhereUniqueInput[] update?: Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput | Prisma.collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput[] updateMany?: Prisma.collab_message_reactionsUpdateManyWithWhereWithoutUsersInput | Prisma.collab_message_reactionsUpdateManyWithWhereWithoutUsersInput[] deleteMany?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] } export type collab_message_reactionsCreateWithoutCollab_messagesInput = { emoji: string created_at?: Date | string | null users: Prisma.usersCreateNestedOneWithoutCollab_message_reactionsInput } export type collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput = { id?: number user_id: number emoji: string created_at?: Date | string | null } export type collab_message_reactionsCreateOrConnectWithoutCollab_messagesInput = { where: Prisma.collab_message_reactionsWhereUniqueInput create: Prisma.XOR } export type collab_message_reactionsCreateManyCollab_messagesInputEnvelope = { data: Prisma.collab_message_reactionsCreateManyCollab_messagesInput | Prisma.collab_message_reactionsCreateManyCollab_messagesInput[] } export type collab_message_reactionsUpsertWithWhereUniqueWithoutCollab_messagesInput = { where: Prisma.collab_message_reactionsWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput = { where: Prisma.collab_message_reactionsWhereUniqueInput data: Prisma.XOR } export type collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput = { where: Prisma.collab_message_reactionsScalarWhereInput data: Prisma.XOR } export type collab_message_reactionsScalarWhereInput = { AND?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] OR?: Prisma.collab_message_reactionsScalarWhereInput[] NOT?: Prisma.collab_message_reactionsScalarWhereInput | Prisma.collab_message_reactionsScalarWhereInput[] id?: Prisma.IntFilter<"collab_message_reactions"> | number message_id?: Prisma.IntFilter<"collab_message_reactions"> | number user_id?: Prisma.IntFilter<"collab_message_reactions"> | number emoji?: Prisma.StringFilter<"collab_message_reactions"> | string created_at?: Prisma.DateTimeNullableFilter<"collab_message_reactions"> | Date | string | null } export type collab_message_reactionsCreateWithoutUsersInput = { emoji: string created_at?: Date | string | null collab_messages: Prisma.collab_messagesCreateNestedOneWithoutCollab_message_reactionsInput } export type collab_message_reactionsUncheckedCreateWithoutUsersInput = { id?: number message_id: number emoji: string created_at?: Date | string | null } export type collab_message_reactionsCreateOrConnectWithoutUsersInput = { where: Prisma.collab_message_reactionsWhereUniqueInput create: Prisma.XOR } export type collab_message_reactionsCreateManyUsersInputEnvelope = { data: Prisma.collab_message_reactionsCreateManyUsersInput | Prisma.collab_message_reactionsCreateManyUsersInput[] } export type collab_message_reactionsUpsertWithWhereUniqueWithoutUsersInput = { where: Prisma.collab_message_reactionsWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput = { where: Prisma.collab_message_reactionsWhereUniqueInput data: Prisma.XOR } export type collab_message_reactionsUpdateManyWithWhereWithoutUsersInput = { where: Prisma.collab_message_reactionsScalarWhereInput data: Prisma.XOR } export type collab_message_reactionsCreateManyCollab_messagesInput = { id?: number user_id: number emoji: string created_at?: Date | string | null } export type collab_message_reactionsUpdateWithoutCollab_messagesInput = { emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null users?: Prisma.usersUpdateOneRequiredWithoutCollab_message_reactionsNestedInput } export type collab_message_reactionsUncheckedUpdateWithoutCollab_messagesInput = { id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesInput = { id?: Prisma.IntFieldUpdateOperationsInput | number user_id?: Prisma.IntFieldUpdateOperationsInput | number emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type collab_message_reactionsCreateManyUsersInput = { id?: number message_id: number emoji: string created_at?: Date | string | null } export type collab_message_reactionsUpdateWithoutUsersInput = { emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null collab_messages?: Prisma.collab_messagesUpdateOneRequiredWithoutCollab_message_reactionsNestedInput } export type collab_message_reactionsUncheckedUpdateWithoutUsersInput = { id?: Prisma.IntFieldUpdateOperationsInput | number message_id?: Prisma.IntFieldUpdateOperationsInput | number emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type collab_message_reactionsUncheckedUpdateManyWithoutUsersInput = { id?: Prisma.IntFieldUpdateOperationsInput | number message_id?: Prisma.IntFieldUpdateOperationsInput | number emoji?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type collab_message_reactionsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean message_id?: boolean user_id?: boolean emoji?: boolean created_at?: boolean users?: boolean | Prisma.usersDefaultArgs collab_messages?: boolean | Prisma.collab_messagesDefaultArgs }, ExtArgs["result"]["collab_message_reactions"]> export type collab_message_reactionsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean message_id?: boolean user_id?: boolean emoji?: boolean created_at?: boolean users?: boolean | Prisma.usersDefaultArgs collab_messages?: boolean | Prisma.collab_messagesDefaultArgs }, ExtArgs["result"]["collab_message_reactions"]> export type collab_message_reactionsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean message_id?: boolean user_id?: boolean emoji?: boolean created_at?: boolean users?: boolean | Prisma.usersDefaultArgs collab_messages?: boolean | Prisma.collab_messagesDefaultArgs }, ExtArgs["result"]["collab_message_reactions"]> export type collab_message_reactionsSelectScalar = { id?: boolean message_id?: boolean user_id?: boolean emoji?: boolean created_at?: boolean } export type collab_message_reactionsOmit = runtime.Types.Extensions.GetOmit<"id" | "message_id" | "user_id" | "emoji" | "created_at", ExtArgs["result"]["collab_message_reactions"]> export type collab_message_reactionsInclude = { users?: boolean | Prisma.usersDefaultArgs collab_messages?: boolean | Prisma.collab_messagesDefaultArgs } export type collab_message_reactionsIncludeCreateManyAndReturn = { users?: boolean | Prisma.usersDefaultArgs collab_messages?: boolean | Prisma.collab_messagesDefaultArgs } export type collab_message_reactionsIncludeUpdateManyAndReturn = { users?: boolean | Prisma.usersDefaultArgs collab_messages?: boolean | Prisma.collab_messagesDefaultArgs } export type $collab_message_reactionsPayload = { name: "collab_message_reactions" objects: { users: Prisma.$usersPayload collab_messages: Prisma.$collab_messagesPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number message_id: number user_id: number emoji: string created_at: Date | null }, ExtArgs["result"]["collab_message_reactions"]> composites: {} } export type collab_message_reactionsGetPayload = runtime.Types.Result.GetResult export type collab_message_reactionsCountArgs = Omit & { select?: Collab_message_reactionsCountAggregateInputType | true } export interface collab_message_reactionsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['collab_message_reactions'], meta: { name: 'collab_message_reactions' } } /** * Find zero or one Collab_message_reactions that matches the filter. * @param {collab_message_reactionsFindUniqueArgs} args - Arguments to find a Collab_message_reactions * @example * // Get one Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Collab_message_reactions that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {collab_message_reactionsFindUniqueOrThrowArgs} args - Arguments to find a Collab_message_reactions * @example * // Get one Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Collab_message_reactions 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 {collab_message_reactionsFindFirstArgs} args - Arguments to find a Collab_message_reactions * @example * // Get one Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Collab_message_reactions 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 {collab_message_reactionsFindFirstOrThrowArgs} args - Arguments to find a Collab_message_reactions * @example * // Get one Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Collab_message_reactions 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 {collab_message_reactionsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.findMany() * * // Get first 10 Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.findMany({ take: 10 }) * * // Only select the `id` * const collab_message_reactionsWithIdOnly = await prisma.collab_message_reactions.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Collab_message_reactions. * @param {collab_message_reactionsCreateArgs} args - Arguments to create a Collab_message_reactions. * @example * // Create one Collab_message_reactions * const Collab_message_reactions = await prisma.collab_message_reactions.create({ * data: { * // ... data to create a Collab_message_reactions * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Collab_message_reactions. * @param {collab_message_reactionsCreateManyArgs} args - Arguments to create many Collab_message_reactions. * @example * // Create many Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Collab_message_reactions and returns the data saved in the database. * @param {collab_message_reactionsCreateManyAndReturnArgs} args - Arguments to create many Collab_message_reactions. * @example * // Create many Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Collab_message_reactions and only return the `id` * const collab_message_reactionsWithIdOnly = await prisma.collab_message_reactions.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 Collab_message_reactions. * @param {collab_message_reactionsDeleteArgs} args - Arguments to delete one Collab_message_reactions. * @example * // Delete one Collab_message_reactions * const Collab_message_reactions = await prisma.collab_message_reactions.delete({ * where: { * // ... filter to delete one Collab_message_reactions * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Collab_message_reactions. * @param {collab_message_reactionsUpdateArgs} args - Arguments to update one Collab_message_reactions. * @example * // Update one Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Collab_message_reactions. * @param {collab_message_reactionsDeleteManyArgs} args - Arguments to filter Collab_message_reactions to delete. * @example * // Delete a few Collab_message_reactions * const { count } = await prisma.collab_message_reactions.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Collab_message_reactions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {collab_message_reactionsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Collab_message_reactions and returns the data updated in the database. * @param {collab_message_reactionsUpdateManyAndReturnArgs} args - Arguments to update many Collab_message_reactions. * @example * // Update many Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Collab_message_reactions and only return the `id` * const collab_message_reactionsWithIdOnly = await prisma.collab_message_reactions.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 Collab_message_reactions. * @param {collab_message_reactionsUpsertArgs} args - Arguments to update or create a Collab_message_reactions. * @example * // Update or create a Collab_message_reactions * const collab_message_reactions = await prisma.collab_message_reactions.upsert({ * create: { * // ... data to create a Collab_message_reactions * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Collab_message_reactions we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__collab_message_reactionsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Collab_message_reactions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {collab_message_reactionsCountArgs} args - Arguments to filter Collab_message_reactions to count. * @example * // Count the number of Collab_message_reactions * const count = await prisma.collab_message_reactions.count({ * where: { * // ... the filter for the Collab_message_reactions 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 Collab_message_reactions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {Collab_message_reactionsAggregateArgs} 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 Collab_message_reactions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {collab_message_reactionsGroupByArgs} 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 collab_message_reactionsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: collab_message_reactionsGroupByArgs['orderBy'] } : { orderBy?: collab_message_reactionsGroupByArgs['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 ? GetCollab_message_reactionsGroupByPayload : Prisma.PrismaPromise /** * Fields of the collab_message_reactions model */ readonly fields: collab_message_reactionsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for collab_message_reactions. * 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__collab_message_reactionsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> collab_messages = {}>(args?: Prisma.Subset>): Prisma.Prisma__collab_messagesClient, 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 collab_message_reactions model */ export interface collab_message_reactionsFieldRefs { readonly id: Prisma.FieldRef<"collab_message_reactions", 'Int'> readonly message_id: Prisma.FieldRef<"collab_message_reactions", 'Int'> readonly user_id: Prisma.FieldRef<"collab_message_reactions", 'Int'> readonly emoji: Prisma.FieldRef<"collab_message_reactions", 'String'> readonly created_at: Prisma.FieldRef<"collab_message_reactions", 'DateTime'> } // Custom InputTypes /** * collab_message_reactions findUnique */ export type collab_message_reactionsFindUniqueArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null /** * Filter, which collab_message_reactions to fetch. */ where: Prisma.collab_message_reactionsWhereUniqueInput } /** * collab_message_reactions findUniqueOrThrow */ export type collab_message_reactionsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null /** * Filter, which collab_message_reactions to fetch. */ where: Prisma.collab_message_reactionsWhereUniqueInput } /** * collab_message_reactions findFirst */ export type collab_message_reactionsFindFirstArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null /** * Filter, which collab_message_reactions to fetch. */ where?: Prisma.collab_message_reactionsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of collab_message_reactions to fetch. */ orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for collab_message_reactions. */ cursor?: Prisma.collab_message_reactionsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` collab_message_reactions 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` collab_message_reactions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of collab_message_reactions. */ distinct?: Prisma.Collab_message_reactionsScalarFieldEnum | Prisma.Collab_message_reactionsScalarFieldEnum[] } /** * collab_message_reactions findFirstOrThrow */ export type collab_message_reactionsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null /** * Filter, which collab_message_reactions to fetch. */ where?: Prisma.collab_message_reactionsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of collab_message_reactions to fetch. */ orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for collab_message_reactions. */ cursor?: Prisma.collab_message_reactionsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` collab_message_reactions 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` collab_message_reactions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of collab_message_reactions. */ distinct?: Prisma.Collab_message_reactionsScalarFieldEnum | Prisma.Collab_message_reactionsScalarFieldEnum[] } /** * collab_message_reactions findMany */ export type collab_message_reactionsFindManyArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null /** * Filter, which collab_message_reactions to fetch. */ where?: Prisma.collab_message_reactionsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of collab_message_reactions to fetch. */ orderBy?: Prisma.collab_message_reactionsOrderByWithRelationInput | Prisma.collab_message_reactionsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing collab_message_reactions. */ cursor?: Prisma.collab_message_reactionsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` collab_message_reactions 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` collab_message_reactions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of collab_message_reactions. */ distinct?: Prisma.Collab_message_reactionsScalarFieldEnum | Prisma.Collab_message_reactionsScalarFieldEnum[] } /** * collab_message_reactions create */ export type collab_message_reactionsCreateArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null /** * The data needed to create a collab_message_reactions. */ data: Prisma.XOR } /** * collab_message_reactions createMany */ export type collab_message_reactionsCreateManyArgs = { /** * The data used to create many collab_message_reactions. */ data: Prisma.collab_message_reactionsCreateManyInput | Prisma.collab_message_reactionsCreateManyInput[] } /** * collab_message_reactions createManyAndReturn */ export type collab_message_reactionsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelectCreateManyAndReturn | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * The data used to create many collab_message_reactions. */ data: Prisma.collab_message_reactionsCreateManyInput | Prisma.collab_message_reactionsCreateManyInput[] /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsIncludeCreateManyAndReturn | null } /** * collab_message_reactions update */ export type collab_message_reactionsUpdateArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null /** * The data needed to update a collab_message_reactions. */ data: Prisma.XOR /** * Choose, which collab_message_reactions to update. */ where: Prisma.collab_message_reactionsWhereUniqueInput } /** * collab_message_reactions updateMany */ export type collab_message_reactionsUpdateManyArgs = { /** * The data used to update collab_message_reactions. */ data: Prisma.XOR /** * Filter which collab_message_reactions to update */ where?: Prisma.collab_message_reactionsWhereInput /** * Limit how many collab_message_reactions to update. */ limit?: number } /** * collab_message_reactions updateManyAndReturn */ export type collab_message_reactionsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelectUpdateManyAndReturn | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * The data used to update collab_message_reactions. */ data: Prisma.XOR /** * Filter which collab_message_reactions to update */ where?: Prisma.collab_message_reactionsWhereInput /** * Limit how many collab_message_reactions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsIncludeUpdateManyAndReturn | null } /** * collab_message_reactions upsert */ export type collab_message_reactionsUpsertArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null /** * The filter to search for the collab_message_reactions to update in case it exists. */ where: Prisma.collab_message_reactionsWhereUniqueInput /** * In case the collab_message_reactions found by the `where` argument doesn't exist, create a new collab_message_reactions with this data. */ create: Prisma.XOR /** * In case the collab_message_reactions was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * collab_message_reactions delete */ export type collab_message_reactionsDeleteArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null /** * Filter which collab_message_reactions to delete. */ where: Prisma.collab_message_reactionsWhereUniqueInput } /** * collab_message_reactions deleteMany */ export type collab_message_reactionsDeleteManyArgs = { /** * Filter which collab_message_reactions to delete */ where?: Prisma.collab_message_reactionsWhereInput /** * Limit how many collab_message_reactions to delete. */ limit?: number } /** * collab_message_reactions without action */ export type collab_message_reactionsDefaultArgs = { /** * Select specific fields to fetch from the collab_message_reactions */ select?: Prisma.collab_message_reactionsSelect | null /** * Omit specific fields from the collab_message_reactions */ omit?: Prisma.collab_message_reactionsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.collab_message_reactionsInclude | null }