mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-21 06:11:45 +00:00
1518 lines
68 KiB
TypeScript
1518 lines
68 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 `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<Prisma.$collab_message_reactionsPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends Collab_message_reactionsAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCollab_message_reactions]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateCollab_message_reactions[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateCollab_message_reactions[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type collab_message_reactionsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends collab_message_reactionsGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Collab_message_reactionsGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Collab_message_reactionsGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Collab_message_reactionsGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Collab_message_reactionsGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>
|
|
collab_messages?: Prisma.XOR<Prisma.Collab_messagesScalarRelationFilter, Prisma.collab_messagesWhereInput>
|
|
}
|
|
|
|
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<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>
|
|
collab_messages?: Prisma.XOR<Prisma.Collab_messagesScalarRelationFilter, Prisma.collab_messagesWhereInput>
|
|
}, "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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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<Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput, Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput>
|
|
}
|
|
|
|
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<Prisma.collab_message_reactionsUpdateWithoutCollab_messagesInput, Prisma.collab_message_reactionsUncheckedUpdateWithoutCollab_messagesInput>
|
|
create: Prisma.XOR<Prisma.collab_message_reactionsCreateWithoutCollab_messagesInput, Prisma.collab_message_reactionsUncheckedCreateWithoutCollab_messagesInput>
|
|
}
|
|
|
|
export type collab_message_reactionsUpdateWithWhereUniqueWithoutCollab_messagesInput = {
|
|
where: Prisma.collab_message_reactionsWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.collab_message_reactionsUpdateWithoutCollab_messagesInput, Prisma.collab_message_reactionsUncheckedUpdateWithoutCollab_messagesInput>
|
|
}
|
|
|
|
export type collab_message_reactionsUpdateManyWithWhereWithoutCollab_messagesInput = {
|
|
where: Prisma.collab_message_reactionsScalarWhereInput
|
|
data: Prisma.XOR<Prisma.collab_message_reactionsUpdateManyMutationInput, Prisma.collab_message_reactionsUncheckedUpdateManyWithoutCollab_messagesInput>
|
|
}
|
|
|
|
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<Prisma.collab_message_reactionsCreateWithoutUsersInput, Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput>
|
|
}
|
|
|
|
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<Prisma.collab_message_reactionsUpdateWithoutUsersInput, Prisma.collab_message_reactionsUncheckedUpdateWithoutUsersInput>
|
|
create: Prisma.XOR<Prisma.collab_message_reactionsCreateWithoutUsersInput, Prisma.collab_message_reactionsUncheckedCreateWithoutUsersInput>
|
|
}
|
|
|
|
export type collab_message_reactionsUpdateWithWhereUniqueWithoutUsersInput = {
|
|
where: Prisma.collab_message_reactionsWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.collab_message_reactionsUpdateWithoutUsersInput, Prisma.collab_message_reactionsUncheckedUpdateWithoutUsersInput>
|
|
}
|
|
|
|
export type collab_message_reactionsUpdateManyWithWhereWithoutUsersInput = {
|
|
where: Prisma.collab_message_reactionsScalarWhereInput
|
|
data: Prisma.XOR<Prisma.collab_message_reactionsUpdateManyMutationInput, Prisma.collab_message_reactionsUncheckedUpdateManyWithoutUsersInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
message_id?: boolean
|
|
user_id?: boolean
|
|
emoji?: boolean
|
|
created_at?: boolean
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
collab_messages?: boolean | Prisma.collab_messagesDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["collab_message_reactions"]>
|
|
|
|
export type collab_message_reactionsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
message_id?: boolean
|
|
user_id?: boolean
|
|
emoji?: boolean
|
|
created_at?: boolean
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
collab_messages?: boolean | Prisma.collab_messagesDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["collab_message_reactions"]>
|
|
|
|
export type collab_message_reactionsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
message_id?: boolean
|
|
user_id?: boolean
|
|
emoji?: boolean
|
|
created_at?: boolean
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
collab_messages?: boolean | Prisma.collab_messagesDefaultArgs<ExtArgs>
|
|
}, 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "message_id" | "user_id" | "emoji" | "created_at", ExtArgs["result"]["collab_message_reactions"]>
|
|
export type collab_message_reactionsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
collab_messages?: boolean | Prisma.collab_messagesDefaultArgs<ExtArgs>
|
|
}
|
|
export type collab_message_reactionsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
collab_messages?: boolean | Prisma.collab_messagesDefaultArgs<ExtArgs>
|
|
}
|
|
export type collab_message_reactionsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
collab_messages?: boolean | Prisma.collab_messagesDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $collab_message_reactionsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "collab_message_reactions"
|
|
objects: {
|
|
users: Prisma.$usersPayload<ExtArgs>
|
|
collab_messages: Prisma.$collab_messagesPayload<ExtArgs>
|
|
}
|
|
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<S extends boolean | null | undefined | collab_message_reactionsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload, S>
|
|
|
|
export type collab_message_reactionsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<collab_message_reactionsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Collab_message_reactionsCountAggregateInputType | true
|
|
}
|
|
|
|
export interface collab_message_reactionsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends collab_message_reactionsFindUniqueArgs>(args: Prisma.SelectSubset<T, collab_message_reactionsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__collab_message_reactionsClient<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, collab_message_reactionsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__collab_message_reactionsClient<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsFindFirstArgs>(args?: Prisma.SelectSubset<T, collab_message_reactionsFindFirstArgs<ExtArgs>>): Prisma.Prisma__collab_message_reactionsClient<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, collab_message_reactionsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__collab_message_reactionsClient<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsFindManyArgs>(args?: Prisma.SelectSubset<T, collab_message_reactionsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsCreateArgs>(args: Prisma.SelectSubset<T, collab_message_reactionsCreateArgs<ExtArgs>>): Prisma.Prisma__collab_message_reactionsClient<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsCreateManyArgs>(args?: Prisma.SelectSubset<T, collab_message_reactionsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends collab_message_reactionsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, collab_message_reactionsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsDeleteArgs>(args: Prisma.SelectSubset<T, collab_message_reactionsDeleteArgs<ExtArgs>>): Prisma.Prisma__collab_message_reactionsClient<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsUpdateArgs>(args: Prisma.SelectSubset<T, collab_message_reactionsUpdateArgs<ExtArgs>>): Prisma.Prisma__collab_message_reactionsClient<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsDeleteManyArgs>(args?: Prisma.SelectSubset<T, collab_message_reactionsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends collab_message_reactionsUpdateManyArgs>(args: Prisma.SelectSubset<T, collab_message_reactionsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends collab_message_reactionsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, collab_message_reactionsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsUpsertArgs>(args: Prisma.SelectSubset<T, collab_message_reactionsUpsertArgs<ExtArgs>>): Prisma.Prisma__collab_message_reactionsClient<runtime.Types.Result.GetResult<Prisma.$collab_message_reactionsPayload<ExtArgs>, 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<T extends collab_message_reactionsCountArgs>(
|
|
args?: Prisma.Subset<T, collab_message_reactionsCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Collab_message_reactionsCountAggregateOutputType>
|
|
: 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<T extends Collab_message_reactionsAggregateArgs>(args: Prisma.Subset<T, Collab_message_reactionsAggregateArgs>): Prisma.PrismaPromise<GetCollab_message_reactionsAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: collab_message_reactionsGroupByArgs['orderBy'] }
|
|
: { orderBy?: collab_message_reactionsGroupByArgs['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, collab_message_reactionsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCollab_message_reactionsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
users<T extends Prisma.usersDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.usersDefaultArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
collab_messages<T extends Prisma.collab_messagesDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.collab_messagesDefaultArgs<ExtArgs>>): Prisma.Prisma__collab_messagesClient<runtime.Types.Result.GetResult<Prisma.$collab_messagesPayload<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 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which collab_message_reactions to fetch.
|
|
*/
|
|
where: Prisma.collab_message_reactionsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* collab_message_reactions findUniqueOrThrow
|
|
*/
|
|
export type collab_message_reactionsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which collab_message_reactions to fetch.
|
|
*/
|
|
where: Prisma.collab_message_reactionsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* collab_message_reactions findFirst
|
|
*/
|
|
export type collab_message_reactionsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a collab_message_reactions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.collab_message_reactionsCreateInput, Prisma.collab_message_reactionsUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* collab_message_reactions createMany
|
|
*/
|
|
export type collab_message_reactionsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* collab_message_reactions update
|
|
*/
|
|
export type collab_message_reactionsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a collab_message_reactions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.collab_message_reactionsUpdateInput, Prisma.collab_message_reactionsUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which collab_message_reactions to update.
|
|
*/
|
|
where: Prisma.collab_message_reactionsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* collab_message_reactions updateMany
|
|
*/
|
|
export type collab_message_reactionsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update collab_message_reactions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.collab_message_reactionsUpdateManyMutationInput, Prisma.collab_message_reactionsUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update collab_message_reactions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.collab_message_reactionsUpdateManyMutationInput, Prisma.collab_message_reactionsUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* collab_message_reactions upsert
|
|
*/
|
|
export type collab_message_reactionsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | 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<Prisma.collab_message_reactionsCreateInput, Prisma.collab_message_reactionsUncheckedCreateInput>
|
|
/**
|
|
* In case the collab_message_reactions was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.collab_message_reactionsUpdateInput, Prisma.collab_message_reactionsUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* collab_message_reactions delete
|
|
*/
|
|
export type collab_message_reactionsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which collab_message_reactions to delete.
|
|
*/
|
|
where: Prisma.collab_message_reactionsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* collab_message_reactions deleteMany
|
|
*/
|
|
export type collab_message_reactionsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the collab_message_reactions
|
|
*/
|
|
select?: Prisma.collab_message_reactionsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the collab_message_reactions
|
|
*/
|
|
omit?: Prisma.collab_message_reactionsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.collab_message_reactionsInclude<ExtArgs> | null
|
|
}
|