1379 lines
54 KiB
TypeScript
1379 lines
54 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `TeamChatReaction` 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.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model TeamChatReaction
|
|
* One user's Unicode emoji reaction to a message.
|
|
*/
|
|
export type TeamChatReactionModel = runtime.Types.Result.DefaultSelection<Prisma.$TeamChatReactionPayload>
|
|
|
|
export type AggregateTeamChatReaction = {
|
|
_count: TeamChatReactionCountAggregateOutputType | null
|
|
_min: TeamChatReactionMinAggregateOutputType | null
|
|
_max: TeamChatReactionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type TeamChatReactionMinAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
messageId: string | null
|
|
userId: string | null
|
|
emoji: string | null
|
|
reactedAt: Date | null
|
|
}
|
|
|
|
export type TeamChatReactionMaxAggregateOutputType = {
|
|
id: string | null
|
|
tenantId: string | null
|
|
messageId: string | null
|
|
userId: string | null
|
|
emoji: string | null
|
|
reactedAt: Date | null
|
|
}
|
|
|
|
export type TeamChatReactionCountAggregateOutputType = {
|
|
id: number
|
|
tenantId: number
|
|
messageId: number
|
|
userId: number
|
|
emoji: number
|
|
reactedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type TeamChatReactionMinAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
messageId?: true
|
|
userId?: true
|
|
emoji?: true
|
|
reactedAt?: true
|
|
}
|
|
|
|
export type TeamChatReactionMaxAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
messageId?: true
|
|
userId?: true
|
|
emoji?: true
|
|
reactedAt?: true
|
|
}
|
|
|
|
export type TeamChatReactionCountAggregateInputType = {
|
|
id?: true
|
|
tenantId?: true
|
|
messageId?: true
|
|
userId?: true
|
|
emoji?: true
|
|
reactedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type TeamChatReactionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which TeamChatReaction to aggregate.
|
|
*/
|
|
where?: Prisma.TeamChatReactionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TeamChatReactions to fetch.
|
|
*/
|
|
orderBy?: Prisma.TeamChatReactionOrderByWithRelationInput | Prisma.TeamChatReactionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.TeamChatReactionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TeamChatReactions 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` TeamChatReactions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned TeamChatReactions
|
|
**/
|
|
_count?: true | TeamChatReactionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: TeamChatReactionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: TeamChatReactionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetTeamChatReactionAggregateType<T extends TeamChatReactionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTeamChatReaction]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateTeamChatReaction[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateTeamChatReaction[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type TeamChatReactionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.TeamChatReactionWhereInput
|
|
orderBy?: Prisma.TeamChatReactionOrderByWithAggregationInput | Prisma.TeamChatReactionOrderByWithAggregationInput[]
|
|
by: Prisma.TeamChatReactionScalarFieldEnum[] | Prisma.TeamChatReactionScalarFieldEnum
|
|
having?: Prisma.TeamChatReactionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: TeamChatReactionCountAggregateInputType | true
|
|
_min?: TeamChatReactionMinAggregateInputType
|
|
_max?: TeamChatReactionMaxAggregateInputType
|
|
}
|
|
|
|
export type TeamChatReactionGroupByOutputType = {
|
|
id: string
|
|
tenantId: string
|
|
messageId: string
|
|
userId: string
|
|
emoji: string
|
|
reactedAt: Date
|
|
_count: TeamChatReactionCountAggregateOutputType | null
|
|
_min: TeamChatReactionMinAggregateOutputType | null
|
|
_max: TeamChatReactionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetTeamChatReactionGroupByPayload<T extends TeamChatReactionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<TeamChatReactionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof TeamChatReactionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], TeamChatReactionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], TeamChatReactionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type TeamChatReactionWhereInput = {
|
|
AND?: Prisma.TeamChatReactionWhereInput | Prisma.TeamChatReactionWhereInput[]
|
|
OR?: Prisma.TeamChatReactionWhereInput[]
|
|
NOT?: Prisma.TeamChatReactionWhereInput | Prisma.TeamChatReactionWhereInput[]
|
|
id?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
tenantId?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
messageId?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
userId?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
emoji?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
reactedAt?: Prisma.DateTimeFilter<"TeamChatReaction"> | Date | string
|
|
message?: Prisma.XOR<Prisma.TeamChatMessageScalarRelationFilter, Prisma.TeamChatMessageWhereInput>
|
|
}
|
|
|
|
export type TeamChatReactionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
emoji?: Prisma.SortOrder
|
|
reactedAt?: Prisma.SortOrder
|
|
message?: Prisma.TeamChatMessageOrderByWithRelationInput
|
|
}
|
|
|
|
export type TeamChatReactionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
messageId_userId_emoji?: Prisma.TeamChatReactionMessageIdUserIdEmojiCompoundUniqueInput
|
|
AND?: Prisma.TeamChatReactionWhereInput | Prisma.TeamChatReactionWhereInput[]
|
|
OR?: Prisma.TeamChatReactionWhereInput[]
|
|
NOT?: Prisma.TeamChatReactionWhereInput | Prisma.TeamChatReactionWhereInput[]
|
|
tenantId?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
messageId?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
userId?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
emoji?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
reactedAt?: Prisma.DateTimeFilter<"TeamChatReaction"> | Date | string
|
|
message?: Prisma.XOR<Prisma.TeamChatMessageScalarRelationFilter, Prisma.TeamChatMessageWhereInput>
|
|
}, "id" | "messageId_userId_emoji">
|
|
|
|
export type TeamChatReactionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
emoji?: Prisma.SortOrder
|
|
reactedAt?: Prisma.SortOrder
|
|
_count?: Prisma.TeamChatReactionCountOrderByAggregateInput
|
|
_max?: Prisma.TeamChatReactionMaxOrderByAggregateInput
|
|
_min?: Prisma.TeamChatReactionMinOrderByAggregateInput
|
|
}
|
|
|
|
export type TeamChatReactionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.TeamChatReactionScalarWhereWithAggregatesInput | Prisma.TeamChatReactionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.TeamChatReactionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.TeamChatReactionScalarWhereWithAggregatesInput | Prisma.TeamChatReactionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"TeamChatReaction"> | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"TeamChatReaction"> | string
|
|
messageId?: Prisma.StringWithAggregatesFilter<"TeamChatReaction"> | string
|
|
userId?: Prisma.StringWithAggregatesFilter<"TeamChatReaction"> | string
|
|
emoji?: Prisma.StringWithAggregatesFilter<"TeamChatReaction"> | string
|
|
reactedAt?: Prisma.DateTimeWithAggregatesFilter<"TeamChatReaction"> | Date | string
|
|
}
|
|
|
|
export type TeamChatReactionCreateInput = {
|
|
id?: string
|
|
userId: string
|
|
emoji: string
|
|
reactedAt?: Date | string
|
|
message: Prisma.TeamChatMessageCreateNestedOneWithoutReactionsInput
|
|
}
|
|
|
|
export type TeamChatReactionUncheckedCreateInput = {
|
|
id?: string
|
|
tenantId: string
|
|
messageId: string
|
|
userId: string
|
|
emoji: string
|
|
reactedAt?: Date | string
|
|
}
|
|
|
|
export type TeamChatReactionUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
reactedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
message?: Prisma.TeamChatMessageUpdateOneRequiredWithoutReactionsNestedInput
|
|
}
|
|
|
|
export type TeamChatReactionUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
reactedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type TeamChatReactionCreateManyInput = {
|
|
id?: string
|
|
tenantId: string
|
|
messageId: string
|
|
userId: string
|
|
emoji: string
|
|
reactedAt?: Date | string
|
|
}
|
|
|
|
export type TeamChatReactionUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
reactedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type TeamChatReactionUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
reactedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type TeamChatReactionListRelationFilter = {
|
|
every?: Prisma.TeamChatReactionWhereInput
|
|
some?: Prisma.TeamChatReactionWhereInput
|
|
none?: Prisma.TeamChatReactionWhereInput
|
|
}
|
|
|
|
export type TeamChatReactionOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TeamChatReactionMessageIdUserIdEmojiCompoundUniqueInput = {
|
|
messageId: string
|
|
userId: string
|
|
emoji: string
|
|
}
|
|
|
|
export type TeamChatReactionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
emoji?: Prisma.SortOrder
|
|
reactedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TeamChatReactionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
emoji?: Prisma.SortOrder
|
|
reactedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TeamChatReactionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
emoji?: Prisma.SortOrder
|
|
reactedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TeamChatReactionCreateNestedManyWithoutMessageInput = {
|
|
create?: Prisma.XOR<Prisma.TeamChatReactionCreateWithoutMessageInput, Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput> | Prisma.TeamChatReactionCreateWithoutMessageInput[] | Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput[]
|
|
connectOrCreate?: Prisma.TeamChatReactionCreateOrConnectWithoutMessageInput | Prisma.TeamChatReactionCreateOrConnectWithoutMessageInput[]
|
|
createMany?: Prisma.TeamChatReactionCreateManyMessageInputEnvelope
|
|
connect?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
}
|
|
|
|
export type TeamChatReactionUncheckedCreateNestedManyWithoutMessageInput = {
|
|
create?: Prisma.XOR<Prisma.TeamChatReactionCreateWithoutMessageInput, Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput> | Prisma.TeamChatReactionCreateWithoutMessageInput[] | Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput[]
|
|
connectOrCreate?: Prisma.TeamChatReactionCreateOrConnectWithoutMessageInput | Prisma.TeamChatReactionCreateOrConnectWithoutMessageInput[]
|
|
createMany?: Prisma.TeamChatReactionCreateManyMessageInputEnvelope
|
|
connect?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
}
|
|
|
|
export type TeamChatReactionUpdateManyWithoutMessageNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TeamChatReactionCreateWithoutMessageInput, Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput> | Prisma.TeamChatReactionCreateWithoutMessageInput[] | Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput[]
|
|
connectOrCreate?: Prisma.TeamChatReactionCreateOrConnectWithoutMessageInput | Prisma.TeamChatReactionCreateOrConnectWithoutMessageInput[]
|
|
upsert?: Prisma.TeamChatReactionUpsertWithWhereUniqueWithoutMessageInput | Prisma.TeamChatReactionUpsertWithWhereUniqueWithoutMessageInput[]
|
|
createMany?: Prisma.TeamChatReactionCreateManyMessageInputEnvelope
|
|
set?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
disconnect?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
delete?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
connect?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
update?: Prisma.TeamChatReactionUpdateWithWhereUniqueWithoutMessageInput | Prisma.TeamChatReactionUpdateWithWhereUniqueWithoutMessageInput[]
|
|
updateMany?: Prisma.TeamChatReactionUpdateManyWithWhereWithoutMessageInput | Prisma.TeamChatReactionUpdateManyWithWhereWithoutMessageInput[]
|
|
deleteMany?: Prisma.TeamChatReactionScalarWhereInput | Prisma.TeamChatReactionScalarWhereInput[]
|
|
}
|
|
|
|
export type TeamChatReactionUncheckedUpdateManyWithoutMessageNestedInput = {
|
|
create?: Prisma.XOR<Prisma.TeamChatReactionCreateWithoutMessageInput, Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput> | Prisma.TeamChatReactionCreateWithoutMessageInput[] | Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput[]
|
|
connectOrCreate?: Prisma.TeamChatReactionCreateOrConnectWithoutMessageInput | Prisma.TeamChatReactionCreateOrConnectWithoutMessageInput[]
|
|
upsert?: Prisma.TeamChatReactionUpsertWithWhereUniqueWithoutMessageInput | Prisma.TeamChatReactionUpsertWithWhereUniqueWithoutMessageInput[]
|
|
createMany?: Prisma.TeamChatReactionCreateManyMessageInputEnvelope
|
|
set?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
disconnect?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
delete?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
connect?: Prisma.TeamChatReactionWhereUniqueInput | Prisma.TeamChatReactionWhereUniqueInput[]
|
|
update?: Prisma.TeamChatReactionUpdateWithWhereUniqueWithoutMessageInput | Prisma.TeamChatReactionUpdateWithWhereUniqueWithoutMessageInput[]
|
|
updateMany?: Prisma.TeamChatReactionUpdateManyWithWhereWithoutMessageInput | Prisma.TeamChatReactionUpdateManyWithWhereWithoutMessageInput[]
|
|
deleteMany?: Prisma.TeamChatReactionScalarWhereInput | Prisma.TeamChatReactionScalarWhereInput[]
|
|
}
|
|
|
|
export type TeamChatReactionCreateWithoutMessageInput = {
|
|
id?: string
|
|
userId: string
|
|
emoji: string
|
|
reactedAt?: Date | string
|
|
}
|
|
|
|
export type TeamChatReactionUncheckedCreateWithoutMessageInput = {
|
|
id?: string
|
|
userId: string
|
|
emoji: string
|
|
reactedAt?: Date | string
|
|
}
|
|
|
|
export type TeamChatReactionCreateOrConnectWithoutMessageInput = {
|
|
where: Prisma.TeamChatReactionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.TeamChatReactionCreateWithoutMessageInput, Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput>
|
|
}
|
|
|
|
export type TeamChatReactionCreateManyMessageInputEnvelope = {
|
|
data: Prisma.TeamChatReactionCreateManyMessageInput | Prisma.TeamChatReactionCreateManyMessageInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type TeamChatReactionUpsertWithWhereUniqueWithoutMessageInput = {
|
|
where: Prisma.TeamChatReactionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.TeamChatReactionUpdateWithoutMessageInput, Prisma.TeamChatReactionUncheckedUpdateWithoutMessageInput>
|
|
create: Prisma.XOR<Prisma.TeamChatReactionCreateWithoutMessageInput, Prisma.TeamChatReactionUncheckedCreateWithoutMessageInput>
|
|
}
|
|
|
|
export type TeamChatReactionUpdateWithWhereUniqueWithoutMessageInput = {
|
|
where: Prisma.TeamChatReactionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.TeamChatReactionUpdateWithoutMessageInput, Prisma.TeamChatReactionUncheckedUpdateWithoutMessageInput>
|
|
}
|
|
|
|
export type TeamChatReactionUpdateManyWithWhereWithoutMessageInput = {
|
|
where: Prisma.TeamChatReactionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.TeamChatReactionUpdateManyMutationInput, Prisma.TeamChatReactionUncheckedUpdateManyWithoutMessageInput>
|
|
}
|
|
|
|
export type TeamChatReactionScalarWhereInput = {
|
|
AND?: Prisma.TeamChatReactionScalarWhereInput | Prisma.TeamChatReactionScalarWhereInput[]
|
|
OR?: Prisma.TeamChatReactionScalarWhereInput[]
|
|
NOT?: Prisma.TeamChatReactionScalarWhereInput | Prisma.TeamChatReactionScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
tenantId?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
messageId?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
userId?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
emoji?: Prisma.StringFilter<"TeamChatReaction"> | string
|
|
reactedAt?: Prisma.DateTimeFilter<"TeamChatReaction"> | Date | string
|
|
}
|
|
|
|
export type TeamChatReactionCreateManyMessageInput = {
|
|
id?: string
|
|
userId: string
|
|
emoji: string
|
|
reactedAt?: Date | string
|
|
}
|
|
|
|
export type TeamChatReactionUpdateWithoutMessageInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
reactedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type TeamChatReactionUncheckedUpdateWithoutMessageInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
reactedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type TeamChatReactionUncheckedUpdateManyWithoutMessageInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
reactedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
|
|
|
|
export type TeamChatReactionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
messageId?: boolean
|
|
userId?: boolean
|
|
emoji?: boolean
|
|
reactedAt?: boolean
|
|
message?: boolean | Prisma.TeamChatMessageDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["teamChatReaction"]>
|
|
|
|
export type TeamChatReactionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
messageId?: boolean
|
|
userId?: boolean
|
|
emoji?: boolean
|
|
reactedAt?: boolean
|
|
message?: boolean | Prisma.TeamChatMessageDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["teamChatReaction"]>
|
|
|
|
export type TeamChatReactionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
messageId?: boolean
|
|
userId?: boolean
|
|
emoji?: boolean
|
|
reactedAt?: boolean
|
|
message?: boolean | Prisma.TeamChatMessageDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["teamChatReaction"]>
|
|
|
|
export type TeamChatReactionSelectScalar = {
|
|
id?: boolean
|
|
tenantId?: boolean
|
|
messageId?: boolean
|
|
userId?: boolean
|
|
emoji?: boolean
|
|
reactedAt?: boolean
|
|
}
|
|
|
|
export type TeamChatReactionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "messageId" | "userId" | "emoji" | "reactedAt", ExtArgs["result"]["teamChatReaction"]>
|
|
export type TeamChatReactionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
message?: boolean | Prisma.TeamChatMessageDefaultArgs<ExtArgs>
|
|
}
|
|
export type TeamChatReactionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
message?: boolean | Prisma.TeamChatMessageDefaultArgs<ExtArgs>
|
|
}
|
|
export type TeamChatReactionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
message?: boolean | Prisma.TeamChatMessageDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $TeamChatReactionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "TeamChatReaction"
|
|
objects: {
|
|
message: Prisma.$TeamChatMessagePayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
tenantId: string
|
|
messageId: string
|
|
userId: string
|
|
emoji: string
|
|
reactedAt: Date
|
|
}, ExtArgs["result"]["teamChatReaction"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type TeamChatReactionGetPayload<S extends boolean | null | undefined | TeamChatReactionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload, S>
|
|
|
|
export type TeamChatReactionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<TeamChatReactionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: TeamChatReactionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface TeamChatReactionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TeamChatReaction'], meta: { name: 'TeamChatReaction' } }
|
|
/**
|
|
* Find zero or one TeamChatReaction that matches the filter.
|
|
* @param {TeamChatReactionFindUniqueArgs} args - Arguments to find a TeamChatReaction
|
|
* @example
|
|
* // Get one TeamChatReaction
|
|
* const teamChatReaction = await prisma.teamChatReaction.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends TeamChatReactionFindUniqueArgs>(args: Prisma.SelectSubset<T, TeamChatReactionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TeamChatReactionClient<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one TeamChatReaction that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {TeamChatReactionFindUniqueOrThrowArgs} args - Arguments to find a TeamChatReaction
|
|
* @example
|
|
* // Get one TeamChatReaction
|
|
* const teamChatReaction = await prisma.teamChatReaction.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends TeamChatReactionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TeamChatReactionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamChatReactionClient<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first TeamChatReaction 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 {TeamChatReactionFindFirstArgs} args - Arguments to find a TeamChatReaction
|
|
* @example
|
|
* // Get one TeamChatReaction
|
|
* const teamChatReaction = await prisma.teamChatReaction.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends TeamChatReactionFindFirstArgs>(args?: Prisma.SelectSubset<T, TeamChatReactionFindFirstArgs<ExtArgs>>): Prisma.Prisma__TeamChatReactionClient<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first TeamChatReaction 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 {TeamChatReactionFindFirstOrThrowArgs} args - Arguments to find a TeamChatReaction
|
|
* @example
|
|
* // Get one TeamChatReaction
|
|
* const teamChatReaction = await prisma.teamChatReaction.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends TeamChatReactionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TeamChatReactionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamChatReactionClient<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more TeamChatReactions 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 {TeamChatReactionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all TeamChatReactions
|
|
* const teamChatReactions = await prisma.teamChatReaction.findMany()
|
|
*
|
|
* // Get first 10 TeamChatReactions
|
|
* const teamChatReactions = await prisma.teamChatReaction.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const teamChatReactionWithIdOnly = await prisma.teamChatReaction.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends TeamChatReactionFindManyArgs>(args?: Prisma.SelectSubset<T, TeamChatReactionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a TeamChatReaction.
|
|
* @param {TeamChatReactionCreateArgs} args - Arguments to create a TeamChatReaction.
|
|
* @example
|
|
* // Create one TeamChatReaction
|
|
* const TeamChatReaction = await prisma.teamChatReaction.create({
|
|
* data: {
|
|
* // ... data to create a TeamChatReaction
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends TeamChatReactionCreateArgs>(args: Prisma.SelectSubset<T, TeamChatReactionCreateArgs<ExtArgs>>): Prisma.Prisma__TeamChatReactionClient<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many TeamChatReactions.
|
|
* @param {TeamChatReactionCreateManyArgs} args - Arguments to create many TeamChatReactions.
|
|
* @example
|
|
* // Create many TeamChatReactions
|
|
* const teamChatReaction = await prisma.teamChatReaction.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends TeamChatReactionCreateManyArgs>(args?: Prisma.SelectSubset<T, TeamChatReactionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many TeamChatReactions and returns the data saved in the database.
|
|
* @param {TeamChatReactionCreateManyAndReturnArgs} args - Arguments to create many TeamChatReactions.
|
|
* @example
|
|
* // Create many TeamChatReactions
|
|
* const teamChatReaction = await prisma.teamChatReaction.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many TeamChatReactions and only return the `id`
|
|
* const teamChatReactionWithIdOnly = await prisma.teamChatReaction.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends TeamChatReactionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TeamChatReactionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a TeamChatReaction.
|
|
* @param {TeamChatReactionDeleteArgs} args - Arguments to delete one TeamChatReaction.
|
|
* @example
|
|
* // Delete one TeamChatReaction
|
|
* const TeamChatReaction = await prisma.teamChatReaction.delete({
|
|
* where: {
|
|
* // ... filter to delete one TeamChatReaction
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends TeamChatReactionDeleteArgs>(args: Prisma.SelectSubset<T, TeamChatReactionDeleteArgs<ExtArgs>>): Prisma.Prisma__TeamChatReactionClient<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one TeamChatReaction.
|
|
* @param {TeamChatReactionUpdateArgs} args - Arguments to update one TeamChatReaction.
|
|
* @example
|
|
* // Update one TeamChatReaction
|
|
* const teamChatReaction = await prisma.teamChatReaction.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends TeamChatReactionUpdateArgs>(args: Prisma.SelectSubset<T, TeamChatReactionUpdateArgs<ExtArgs>>): Prisma.Prisma__TeamChatReactionClient<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more TeamChatReactions.
|
|
* @param {TeamChatReactionDeleteManyArgs} args - Arguments to filter TeamChatReactions to delete.
|
|
* @example
|
|
* // Delete a few TeamChatReactions
|
|
* const { count } = await prisma.teamChatReaction.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends TeamChatReactionDeleteManyArgs>(args?: Prisma.SelectSubset<T, TeamChatReactionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more TeamChatReactions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TeamChatReactionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many TeamChatReactions
|
|
* const teamChatReaction = await prisma.teamChatReaction.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends TeamChatReactionUpdateManyArgs>(args: Prisma.SelectSubset<T, TeamChatReactionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more TeamChatReactions and returns the data updated in the database.
|
|
* @param {TeamChatReactionUpdateManyAndReturnArgs} args - Arguments to update many TeamChatReactions.
|
|
* @example
|
|
* // Update many TeamChatReactions
|
|
* const teamChatReaction = await prisma.teamChatReaction.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more TeamChatReactions and only return the `id`
|
|
* const teamChatReactionWithIdOnly = await prisma.teamChatReaction.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends TeamChatReactionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TeamChatReactionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one TeamChatReaction.
|
|
* @param {TeamChatReactionUpsertArgs} args - Arguments to update or create a TeamChatReaction.
|
|
* @example
|
|
* // Update or create a TeamChatReaction
|
|
* const teamChatReaction = await prisma.teamChatReaction.upsert({
|
|
* create: {
|
|
* // ... data to create a TeamChatReaction
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the TeamChatReaction we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends TeamChatReactionUpsertArgs>(args: Prisma.SelectSubset<T, TeamChatReactionUpsertArgs<ExtArgs>>): Prisma.Prisma__TeamChatReactionClient<runtime.Types.Result.GetResult<Prisma.$TeamChatReactionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of TeamChatReactions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TeamChatReactionCountArgs} args - Arguments to filter TeamChatReactions to count.
|
|
* @example
|
|
* // Count the number of TeamChatReactions
|
|
* const count = await prisma.teamChatReaction.count({
|
|
* where: {
|
|
* // ... the filter for the TeamChatReactions we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends TeamChatReactionCountArgs>(
|
|
args?: Prisma.Subset<T, TeamChatReactionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], TeamChatReactionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a TeamChatReaction.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TeamChatReactionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends TeamChatReactionAggregateArgs>(args: Prisma.Subset<T, TeamChatReactionAggregateArgs>): Prisma.PrismaPromise<GetTeamChatReactionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by TeamChatReaction.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TeamChatReactionGroupByArgs} 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 TeamChatReactionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: TeamChatReactionGroupByArgs['orderBy'] }
|
|
: { orderBy?: TeamChatReactionGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, TeamChatReactionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTeamChatReactionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the TeamChatReaction model
|
|
*/
|
|
readonly fields: TeamChatReactionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for TeamChatReaction.
|
|
* 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__TeamChatReactionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
message<T extends Prisma.TeamChatMessageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TeamChatMessageDefaultArgs<ExtArgs>>): Prisma.Prisma__TeamChatMessageClient<runtime.Types.Result.GetResult<Prisma.$TeamChatMessagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the TeamChatReaction model
|
|
*/
|
|
export interface TeamChatReactionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"TeamChatReaction", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"TeamChatReaction", 'String'>
|
|
readonly messageId: Prisma.FieldRef<"TeamChatReaction", 'String'>
|
|
readonly userId: Prisma.FieldRef<"TeamChatReaction", 'String'>
|
|
readonly emoji: Prisma.FieldRef<"TeamChatReaction", 'String'>
|
|
readonly reactedAt: Prisma.FieldRef<"TeamChatReaction", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* TeamChatReaction findUnique
|
|
*/
|
|
export type TeamChatReactionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TeamChatReaction to fetch.
|
|
*/
|
|
where: Prisma.TeamChatReactionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction findUniqueOrThrow
|
|
*/
|
|
export type TeamChatReactionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TeamChatReaction to fetch.
|
|
*/
|
|
where: Prisma.TeamChatReactionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction findFirst
|
|
*/
|
|
export type TeamChatReactionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TeamChatReaction to fetch.
|
|
*/
|
|
where?: Prisma.TeamChatReactionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TeamChatReactions to fetch.
|
|
*/
|
|
orderBy?: Prisma.TeamChatReactionOrderByWithRelationInput | Prisma.TeamChatReactionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for TeamChatReactions.
|
|
*/
|
|
cursor?: Prisma.TeamChatReactionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TeamChatReactions 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` TeamChatReactions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TeamChatReactions.
|
|
*/
|
|
distinct?: Prisma.TeamChatReactionScalarFieldEnum | Prisma.TeamChatReactionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction findFirstOrThrow
|
|
*/
|
|
export type TeamChatReactionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TeamChatReaction to fetch.
|
|
*/
|
|
where?: Prisma.TeamChatReactionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TeamChatReactions to fetch.
|
|
*/
|
|
orderBy?: Prisma.TeamChatReactionOrderByWithRelationInput | Prisma.TeamChatReactionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for TeamChatReactions.
|
|
*/
|
|
cursor?: Prisma.TeamChatReactionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TeamChatReactions 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` TeamChatReactions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TeamChatReactions.
|
|
*/
|
|
distinct?: Prisma.TeamChatReactionScalarFieldEnum | Prisma.TeamChatReactionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction findMany
|
|
*/
|
|
export type TeamChatReactionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which TeamChatReactions to fetch.
|
|
*/
|
|
where?: Prisma.TeamChatReactionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of TeamChatReactions to fetch.
|
|
*/
|
|
orderBy?: Prisma.TeamChatReactionOrderByWithRelationInput | Prisma.TeamChatReactionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing TeamChatReactions.
|
|
*/
|
|
cursor?: Prisma.TeamChatReactionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` TeamChatReactions 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` TeamChatReactions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of TeamChatReactions.
|
|
*/
|
|
distinct?: Prisma.TeamChatReactionScalarFieldEnum | Prisma.TeamChatReactionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction create
|
|
*/
|
|
export type TeamChatReactionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a TeamChatReaction.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TeamChatReactionCreateInput, Prisma.TeamChatReactionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction createMany
|
|
*/
|
|
export type TeamChatReactionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many TeamChatReactions.
|
|
*/
|
|
data: Prisma.TeamChatReactionCreateManyInput | Prisma.TeamChatReactionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction createManyAndReturn
|
|
*/
|
|
export type TeamChatReactionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many TeamChatReactions.
|
|
*/
|
|
data: Prisma.TeamChatReactionCreateManyInput | Prisma.TeamChatReactionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction update
|
|
*/
|
|
export type TeamChatReactionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a TeamChatReaction.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TeamChatReactionUpdateInput, Prisma.TeamChatReactionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which TeamChatReaction to update.
|
|
*/
|
|
where: Prisma.TeamChatReactionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction updateMany
|
|
*/
|
|
export type TeamChatReactionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update TeamChatReactions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TeamChatReactionUpdateManyMutationInput, Prisma.TeamChatReactionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which TeamChatReactions to update
|
|
*/
|
|
where?: Prisma.TeamChatReactionWhereInput
|
|
/**
|
|
* Limit how many TeamChatReactions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction updateManyAndReturn
|
|
*/
|
|
export type TeamChatReactionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update TeamChatReactions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TeamChatReactionUpdateManyMutationInput, Prisma.TeamChatReactionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which TeamChatReactions to update
|
|
*/
|
|
where?: Prisma.TeamChatReactionWhereInput
|
|
/**
|
|
* Limit how many TeamChatReactions to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction upsert
|
|
*/
|
|
export type TeamChatReactionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the TeamChatReaction to update in case it exists.
|
|
*/
|
|
where: Prisma.TeamChatReactionWhereUniqueInput
|
|
/**
|
|
* In case the TeamChatReaction found by the `where` argument doesn't exist, create a new TeamChatReaction with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.TeamChatReactionCreateInput, Prisma.TeamChatReactionUncheckedCreateInput>
|
|
/**
|
|
* In case the TeamChatReaction was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.TeamChatReactionUpdateInput, Prisma.TeamChatReactionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction delete
|
|
*/
|
|
export type TeamChatReactionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which TeamChatReaction to delete.
|
|
*/
|
|
where: Prisma.TeamChatReactionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction deleteMany
|
|
*/
|
|
export type TeamChatReactionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which TeamChatReactions to delete
|
|
*/
|
|
where?: Prisma.TeamChatReactionWhereInput
|
|
/**
|
|
* Limit how many TeamChatReactions to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* TeamChatReaction without action
|
|
*/
|
|
export type TeamChatReactionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamChatReaction
|
|
*/
|
|
select?: Prisma.TeamChatReactionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamChatReaction
|
|
*/
|
|
omit?: Prisma.TeamChatReactionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamChatReactionInclude<ExtArgs> | null
|
|
}
|