mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 09:06:54 +00:00
1468 lines
64 KiB
TypeScript
Generated
1468 lines
64 KiB
TypeScript
Generated
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `AssetCommentAttachment` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
import type * as PJTG from '../pjtg';
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
import type * as $Enums from "../enums.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model AssetCommentAttachment
|
|
*
|
|
*/
|
|
export type AssetCommentAttachmentModel = runtime.Types.Result.DefaultSelection<Prisma.$AssetCommentAttachmentPayload>
|
|
|
|
export type AggregateAssetCommentAttachment = {
|
|
_count: AssetCommentAttachmentCountAggregateOutputType | null
|
|
_min: AssetCommentAttachmentMinAggregateOutputType | null
|
|
_max: AssetCommentAttachmentMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AssetCommentAttachmentMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
commentId: string | null
|
|
assetId: string | null
|
|
}
|
|
|
|
export type AssetCommentAttachmentMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
commentId: string | null
|
|
assetId: string | null
|
|
}
|
|
|
|
export type AssetCommentAttachmentCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
commentId: number
|
|
assetId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AssetCommentAttachmentMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
commentId?: true
|
|
assetId?: true
|
|
}
|
|
|
|
export type AssetCommentAttachmentMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
commentId?: true
|
|
assetId?: true
|
|
}
|
|
|
|
export type AssetCommentAttachmentCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
commentId?: true
|
|
assetId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AssetCommentAttachmentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AssetCommentAttachment to aggregate.
|
|
*/
|
|
where?: Prisma.AssetCommentAttachmentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetCommentAttachments to fetch.
|
|
*/
|
|
orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetCommentAttachments 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` AssetCommentAttachments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AssetCommentAttachments
|
|
**/
|
|
_count?: true | AssetCommentAttachmentCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AssetCommentAttachmentMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AssetCommentAttachmentMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAssetCommentAttachmentAggregateType<T extends AssetCommentAttachmentAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAssetCommentAttachment]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAssetCommentAttachment[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAssetCommentAttachment[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AssetCommentAttachmentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AssetCommentAttachmentWhereInput
|
|
orderBy?: Prisma.AssetCommentAttachmentOrderByWithAggregationInput | Prisma.AssetCommentAttachmentOrderByWithAggregationInput[]
|
|
by: Prisma.AssetCommentAttachmentScalarFieldEnum[] | Prisma.AssetCommentAttachmentScalarFieldEnum
|
|
having?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AssetCommentAttachmentCountAggregateInputType | true
|
|
_min?: AssetCommentAttachmentMinAggregateInputType
|
|
_max?: AssetCommentAttachmentMaxAggregateInputType
|
|
}
|
|
|
|
export type AssetCommentAttachmentGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
commentId: string
|
|
assetId: string
|
|
_count: AssetCommentAttachmentCountAggregateOutputType | null
|
|
_min: AssetCommentAttachmentMinAggregateOutputType | null
|
|
_max: AssetCommentAttachmentMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAssetCommentAttachmentGroupByPayload<T extends AssetCommentAttachmentGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AssetCommentAttachmentGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AssetCommentAttachmentGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AssetCommentAttachmentGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AssetCommentAttachmentGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AssetCommentAttachmentWhereInput = {
|
|
AND?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[]
|
|
OR?: Prisma.AssetCommentAttachmentWhereInput[]
|
|
NOT?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[]
|
|
id?: Prisma.StringFilter<"AssetCommentAttachment"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string
|
|
commentId?: Prisma.StringFilter<"AssetCommentAttachment"> | string
|
|
assetId?: Prisma.StringFilter<"AssetCommentAttachment"> | string
|
|
comment?: Prisma.XOR<Prisma.AssetCommentScalarRelationFilter, Prisma.AssetCommentWhereInput>
|
|
asset?: Prisma.XOR<Prisma.AssetScalarRelationFilter, Prisma.AssetWhereInput>
|
|
}
|
|
|
|
export type AssetCommentAttachmentOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
commentId?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
comment?: Prisma.AssetCommentOrderByWithRelationInput
|
|
asset?: Prisma.AssetOrderByWithRelationInput
|
|
}
|
|
|
|
export type AssetCommentAttachmentWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[]
|
|
OR?: Prisma.AssetCommentAttachmentWhereInput[]
|
|
NOT?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string
|
|
commentId?: Prisma.StringFilter<"AssetCommentAttachment"> | string
|
|
assetId?: Prisma.StringFilter<"AssetCommentAttachment"> | string
|
|
comment?: Prisma.XOR<Prisma.AssetCommentScalarRelationFilter, Prisma.AssetCommentWhereInput>
|
|
asset?: Prisma.XOR<Prisma.AssetScalarRelationFilter, Prisma.AssetWhereInput>
|
|
}, "id">
|
|
|
|
export type AssetCommentAttachmentOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
commentId?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
_count?: Prisma.AssetCommentAttachmentCountOrderByAggregateInput
|
|
_max?: Prisma.AssetCommentAttachmentMaxOrderByAggregateInput
|
|
_min?: Prisma.AssetCommentAttachmentMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AssetCommentAttachmentScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput | Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput | Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AssetCommentAttachment"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AssetCommentAttachment"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AssetCommentAttachment"> | Date | string
|
|
commentId?: Prisma.StringWithAggregatesFilter<"AssetCommentAttachment"> | string
|
|
assetId?: Prisma.StringWithAggregatesFilter<"AssetCommentAttachment"> | string
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
comment: Prisma.AssetCommentCreateNestedOneWithoutAttachmentsInput
|
|
asset: Prisma.AssetCreateNestedOneWithoutCommentAttachmentsInput
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
commentId: string
|
|
assetId: string
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
comment?: Prisma.AssetCommentUpdateOneRequiredWithoutAttachmentsNestedInput
|
|
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentAttachmentsNestedInput
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
commentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
assetId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
commentId: string
|
|
assetId: string
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
commentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
assetId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AssetCommentAttachmentListRelationFilter = {
|
|
every?: Prisma.AssetCommentAttachmentWhereInput
|
|
some?: Prisma.AssetCommentAttachmentWhereInput
|
|
none?: Prisma.AssetCommentAttachmentWhereInput
|
|
}
|
|
|
|
export type AssetCommentAttachmentOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetCommentAttachmentCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
commentId?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetCommentAttachmentMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
commentId?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetCommentAttachmentMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
commentId?: Prisma.SortOrder
|
|
assetId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateNestedManyWithoutAssetInput = {
|
|
create?: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutAssetInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput> | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[]
|
|
createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope
|
|
connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput = {
|
|
create?: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutAssetInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput> | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[]
|
|
createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope
|
|
connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateManyWithoutAssetNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutAssetInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput> | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[]
|
|
upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput[]
|
|
createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope
|
|
set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput[]
|
|
updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput[]
|
|
deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[]
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutAssetInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput> | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[]
|
|
connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[]
|
|
upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput[]
|
|
createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope
|
|
set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput[]
|
|
updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput[]
|
|
deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[]
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateNestedManyWithoutCommentInput = {
|
|
create?: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutCommentInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput> | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[]
|
|
connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[]
|
|
createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope
|
|
connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput = {
|
|
create?: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutCommentInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput> | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[]
|
|
connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[]
|
|
createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope
|
|
connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateManyWithoutCommentNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutCommentInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput> | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[]
|
|
connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[]
|
|
upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput[]
|
|
createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope
|
|
set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput[]
|
|
updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput[]
|
|
deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[]
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutCommentInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput> | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[]
|
|
connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[]
|
|
upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput[]
|
|
createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope
|
|
set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[]
|
|
update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput[]
|
|
updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput[]
|
|
deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[]
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateWithoutAssetInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
comment: Prisma.AssetCommentCreateNestedOneWithoutAttachmentsInput
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedCreateWithoutAssetInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
commentId: string
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateOrConnectWithoutAssetInput = {
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutAssetInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput>
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateManyAssetInputEnvelope = {
|
|
data: Prisma.AssetCommentAttachmentCreateManyAssetInput | Prisma.AssetCommentAttachmentCreateManyAssetInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput = {
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateWithoutAssetInput, Prisma.AssetCommentAttachmentUncheckedUpdateWithoutAssetInput>
|
|
create: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutAssetInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput>
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput = {
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateWithoutAssetInput, Prisma.AssetCommentAttachmentUncheckedUpdateWithoutAssetInput>
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput = {
|
|
where: Prisma.AssetCommentAttachmentScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateManyMutationInput, Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetInput>
|
|
}
|
|
|
|
export type AssetCommentAttachmentScalarWhereInput = {
|
|
AND?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[]
|
|
OR?: Prisma.AssetCommentAttachmentScalarWhereInput[]
|
|
NOT?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AssetCommentAttachment"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string
|
|
commentId?: Prisma.StringFilter<"AssetCommentAttachment"> | string
|
|
assetId?: Prisma.StringFilter<"AssetCommentAttachment"> | string
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateWithoutCommentInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
asset: Prisma.AssetCreateNestedOneWithoutCommentAttachmentsInput
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedCreateWithoutCommentInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assetId: string
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateOrConnectWithoutCommentInput = {
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutCommentInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput>
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateManyCommentInputEnvelope = {
|
|
data: Prisma.AssetCommentAttachmentCreateManyCommentInput | Prisma.AssetCommentAttachmentCreateManyCommentInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput = {
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateWithoutCommentInput, Prisma.AssetCommentAttachmentUncheckedUpdateWithoutCommentInput>
|
|
create: Prisma.XOR<Prisma.AssetCommentAttachmentCreateWithoutCommentInput, Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput>
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput = {
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateWithoutCommentInput, Prisma.AssetCommentAttachmentUncheckedUpdateWithoutCommentInput>
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput = {
|
|
where: Prisma.AssetCommentAttachmentScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateManyMutationInput, Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentInput>
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateManyAssetInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
commentId: string
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateWithoutAssetInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
comment?: Prisma.AssetCommentUpdateOneRequiredWithoutAttachmentsNestedInput
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedUpdateWithoutAssetInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
commentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedUpdateManyWithoutAssetInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
commentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AssetCommentAttachmentCreateManyCommentInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
assetId: string
|
|
}
|
|
|
|
export type AssetCommentAttachmentUpdateWithoutCommentInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentAttachmentsNestedInput
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedUpdateWithoutCommentInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assetId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AssetCommentAttachmentUncheckedUpdateManyWithoutCommentInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
assetId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
|
|
export type AssetCommentAttachmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
commentId?: boolean
|
|
assetId?: boolean
|
|
comment?: boolean | Prisma.AssetCommentDefaultArgs<ExtArgs>
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["assetCommentAttachment"]>
|
|
|
|
export type AssetCommentAttachmentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
commentId?: boolean
|
|
assetId?: boolean
|
|
comment?: boolean | Prisma.AssetCommentDefaultArgs<ExtArgs>
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["assetCommentAttachment"]>
|
|
|
|
export type AssetCommentAttachmentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
commentId?: boolean
|
|
assetId?: boolean
|
|
comment?: boolean | Prisma.AssetCommentDefaultArgs<ExtArgs>
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["assetCommentAttachment"]>
|
|
|
|
export type AssetCommentAttachmentSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
commentId?: boolean
|
|
assetId?: boolean
|
|
}
|
|
|
|
export type AssetCommentAttachmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "commentId" | "assetId", ExtArgs["result"]["assetCommentAttachment"]>
|
|
export type AssetCommentAttachmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
comment?: boolean | Prisma.AssetCommentDefaultArgs<ExtArgs>
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}
|
|
export type AssetCommentAttachmentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
comment?: boolean | Prisma.AssetCommentDefaultArgs<ExtArgs>
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}
|
|
export type AssetCommentAttachmentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
comment?: boolean | Prisma.AssetCommentDefaultArgs<ExtArgs>
|
|
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AssetCommentAttachmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AssetCommentAttachment"
|
|
objects: {
|
|
comment: Prisma.$AssetCommentPayload<ExtArgs>
|
|
asset: Prisma.$AssetPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
commentId: string
|
|
assetId: string
|
|
}, ExtArgs["result"]["assetCommentAttachment"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AssetCommentAttachmentGetPayload<S extends boolean | null | undefined | AssetCommentAttachmentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload, S>
|
|
|
|
export type AssetCommentAttachmentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AssetCommentAttachmentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AssetCommentAttachmentCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AssetCommentAttachmentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AssetCommentAttachment'], meta: { name: 'AssetCommentAttachment' } }
|
|
/**
|
|
* Find zero or one AssetCommentAttachment that matches the filter.
|
|
* @param {AssetCommentAttachmentFindUniqueArgs} args - Arguments to find a AssetCommentAttachment
|
|
* @example
|
|
* // Get one AssetCommentAttachment
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AssetCommentAttachmentFindUniqueArgs>(args: Prisma.SelectSubset<T, AssetCommentAttachmentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AssetCommentAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AssetCommentAttachment that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AssetCommentAttachmentFindUniqueOrThrowArgs} args - Arguments to find a AssetCommentAttachment
|
|
* @example
|
|
* // Get one AssetCommentAttachment
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AssetCommentAttachmentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AssetCommentAttachmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AssetCommentAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AssetCommentAttachment 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 {AssetCommentAttachmentFindFirstArgs} args - Arguments to find a AssetCommentAttachment
|
|
* @example
|
|
* // Get one AssetCommentAttachment
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AssetCommentAttachmentFindFirstArgs>(args?: Prisma.SelectSubset<T, AssetCommentAttachmentFindFirstArgs<ExtArgs>>): Prisma.Prisma__AssetCommentAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AssetCommentAttachment 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 {AssetCommentAttachmentFindFirstOrThrowArgs} args - Arguments to find a AssetCommentAttachment
|
|
* @example
|
|
* // Get one AssetCommentAttachment
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AssetCommentAttachmentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AssetCommentAttachmentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AssetCommentAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AssetCommentAttachments 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 {AssetCommentAttachmentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AssetCommentAttachments
|
|
* const assetCommentAttachments = await prisma.assetCommentAttachment.findMany()
|
|
*
|
|
* // Get first 10 AssetCommentAttachments
|
|
* const assetCommentAttachments = await prisma.assetCommentAttachment.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const assetCommentAttachmentWithIdOnly = await prisma.assetCommentAttachment.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AssetCommentAttachmentFindManyArgs>(args?: Prisma.SelectSubset<T, AssetCommentAttachmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AssetCommentAttachment.
|
|
* @param {AssetCommentAttachmentCreateArgs} args - Arguments to create a AssetCommentAttachment.
|
|
* @example
|
|
* // Create one AssetCommentAttachment
|
|
* const AssetCommentAttachment = await prisma.assetCommentAttachment.create({
|
|
* data: {
|
|
* // ... data to create a AssetCommentAttachment
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AssetCommentAttachmentCreateArgs>(args: Prisma.SelectSubset<T, AssetCommentAttachmentCreateArgs<ExtArgs>>): Prisma.Prisma__AssetCommentAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AssetCommentAttachments.
|
|
* @param {AssetCommentAttachmentCreateManyArgs} args - Arguments to create many AssetCommentAttachments.
|
|
* @example
|
|
* // Create many AssetCommentAttachments
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AssetCommentAttachmentCreateManyArgs>(args?: Prisma.SelectSubset<T, AssetCommentAttachmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AssetCommentAttachments and returns the data saved in the database.
|
|
* @param {AssetCommentAttachmentCreateManyAndReturnArgs} args - Arguments to create many AssetCommentAttachments.
|
|
* @example
|
|
* // Create many AssetCommentAttachments
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AssetCommentAttachments and only return the `id`
|
|
* const assetCommentAttachmentWithIdOnly = await prisma.assetCommentAttachment.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 AssetCommentAttachmentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AssetCommentAttachmentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AssetCommentAttachment.
|
|
* @param {AssetCommentAttachmentDeleteArgs} args - Arguments to delete one AssetCommentAttachment.
|
|
* @example
|
|
* // Delete one AssetCommentAttachment
|
|
* const AssetCommentAttachment = await prisma.assetCommentAttachment.delete({
|
|
* where: {
|
|
* // ... filter to delete one AssetCommentAttachment
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AssetCommentAttachmentDeleteArgs>(args: Prisma.SelectSubset<T, AssetCommentAttachmentDeleteArgs<ExtArgs>>): Prisma.Prisma__AssetCommentAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AssetCommentAttachment.
|
|
* @param {AssetCommentAttachmentUpdateArgs} args - Arguments to update one AssetCommentAttachment.
|
|
* @example
|
|
* // Update one AssetCommentAttachment
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AssetCommentAttachmentUpdateArgs>(args: Prisma.SelectSubset<T, AssetCommentAttachmentUpdateArgs<ExtArgs>>): Prisma.Prisma__AssetCommentAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AssetCommentAttachments.
|
|
* @param {AssetCommentAttachmentDeleteManyArgs} args - Arguments to filter AssetCommentAttachments to delete.
|
|
* @example
|
|
* // Delete a few AssetCommentAttachments
|
|
* const { count } = await prisma.assetCommentAttachment.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AssetCommentAttachmentDeleteManyArgs>(args?: Prisma.SelectSubset<T, AssetCommentAttachmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AssetCommentAttachments.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetCommentAttachmentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AssetCommentAttachments
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AssetCommentAttachmentUpdateManyArgs>(args: Prisma.SelectSubset<T, AssetCommentAttachmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AssetCommentAttachments and returns the data updated in the database.
|
|
* @param {AssetCommentAttachmentUpdateManyAndReturnArgs} args - Arguments to update many AssetCommentAttachments.
|
|
* @example
|
|
* // Update many AssetCommentAttachments
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AssetCommentAttachments and only return the `id`
|
|
* const assetCommentAttachmentWithIdOnly = await prisma.assetCommentAttachment.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 AssetCommentAttachmentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AssetCommentAttachmentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AssetCommentAttachment.
|
|
* @param {AssetCommentAttachmentUpsertArgs} args - Arguments to update or create a AssetCommentAttachment.
|
|
* @example
|
|
* // Update or create a AssetCommentAttachment
|
|
* const assetCommentAttachment = await prisma.assetCommentAttachment.upsert({
|
|
* create: {
|
|
* // ... data to create a AssetCommentAttachment
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AssetCommentAttachment we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AssetCommentAttachmentUpsertArgs>(args: Prisma.SelectSubset<T, AssetCommentAttachmentUpsertArgs<ExtArgs>>): Prisma.Prisma__AssetCommentAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentAttachmentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AssetCommentAttachments.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetCommentAttachmentCountArgs} args - Arguments to filter AssetCommentAttachments to count.
|
|
* @example
|
|
* // Count the number of AssetCommentAttachments
|
|
* const count = await prisma.assetCommentAttachment.count({
|
|
* where: {
|
|
* // ... the filter for the AssetCommentAttachments we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AssetCommentAttachmentCountArgs>(
|
|
args?: Prisma.Subset<T, AssetCommentAttachmentCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AssetCommentAttachmentCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AssetCommentAttachment.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetCommentAttachmentAggregateArgs} 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 AssetCommentAttachmentAggregateArgs>(args: Prisma.Subset<T, AssetCommentAttachmentAggregateArgs>): Prisma.PrismaPromise<GetAssetCommentAttachmentAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AssetCommentAttachment.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AssetCommentAttachmentGroupByArgs} 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 AssetCommentAttachmentGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AssetCommentAttachmentGroupByArgs['orderBy'] }
|
|
: { orderBy?: AssetCommentAttachmentGroupByArgs['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, AssetCommentAttachmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAssetCommentAttachmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AssetCommentAttachment model
|
|
*/
|
|
readonly fields: AssetCommentAttachmentFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AssetCommentAttachment.
|
|
* 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__AssetCommentAttachmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
comment<T extends Prisma.AssetCommentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AssetCommentDefaultArgs<ExtArgs>>): Prisma.Prisma__AssetCommentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
asset<T extends Prisma.AssetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AssetDefaultArgs<ExtArgs>>): Prisma.Prisma__AssetClient<runtime.Types.Result.GetResult<Prisma.$AssetPayload<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 AssetCommentAttachment model
|
|
*/
|
|
export interface AssetCommentAttachmentFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AssetCommentAttachment", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AssetCommentAttachment", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AssetCommentAttachment", 'DateTime'>
|
|
readonly commentId: Prisma.FieldRef<"AssetCommentAttachment", 'String'>
|
|
readonly assetId: Prisma.FieldRef<"AssetCommentAttachment", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AssetCommentAttachment findUnique
|
|
*/
|
|
export type AssetCommentAttachmentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetCommentAttachment to fetch.
|
|
*/
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment findUniqueOrThrow
|
|
*/
|
|
export type AssetCommentAttachmentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetCommentAttachment to fetch.
|
|
*/
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment findFirst
|
|
*/
|
|
export type AssetCommentAttachmentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetCommentAttachment to fetch.
|
|
*/
|
|
where?: Prisma.AssetCommentAttachmentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetCommentAttachments to fetch.
|
|
*/
|
|
orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AssetCommentAttachments.
|
|
*/
|
|
cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetCommentAttachments 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` AssetCommentAttachments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AssetCommentAttachments.
|
|
*/
|
|
distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment findFirstOrThrow
|
|
*/
|
|
export type AssetCommentAttachmentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetCommentAttachment to fetch.
|
|
*/
|
|
where?: Prisma.AssetCommentAttachmentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetCommentAttachments to fetch.
|
|
*/
|
|
orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AssetCommentAttachments.
|
|
*/
|
|
cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetCommentAttachments 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` AssetCommentAttachments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AssetCommentAttachments.
|
|
*/
|
|
distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment findMany
|
|
*/
|
|
export type AssetCommentAttachmentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AssetCommentAttachments to fetch.
|
|
*/
|
|
where?: Prisma.AssetCommentAttachmentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AssetCommentAttachments to fetch.
|
|
*/
|
|
orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AssetCommentAttachments.
|
|
*/
|
|
cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AssetCommentAttachments 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` AssetCommentAttachments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AssetCommentAttachments.
|
|
*/
|
|
distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment create
|
|
*/
|
|
export type AssetCommentAttachmentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AssetCommentAttachment.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetCommentAttachmentCreateInput, Prisma.AssetCommentAttachmentUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment createMany
|
|
*/
|
|
export type AssetCommentAttachmentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AssetCommentAttachments.
|
|
*/
|
|
data: Prisma.AssetCommentAttachmentCreateManyInput | Prisma.AssetCommentAttachmentCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment createManyAndReturn
|
|
*/
|
|
export type AssetCommentAttachmentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AssetCommentAttachments.
|
|
*/
|
|
data: Prisma.AssetCommentAttachmentCreateManyInput | Prisma.AssetCommentAttachmentCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment update
|
|
*/
|
|
export type AssetCommentAttachmentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AssetCommentAttachment.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateInput, Prisma.AssetCommentAttachmentUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AssetCommentAttachment to update.
|
|
*/
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment updateMany
|
|
*/
|
|
export type AssetCommentAttachmentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AssetCommentAttachments.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateManyMutationInput, Prisma.AssetCommentAttachmentUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AssetCommentAttachments to update
|
|
*/
|
|
where?: Prisma.AssetCommentAttachmentWhereInput
|
|
/**
|
|
* Limit how many AssetCommentAttachments to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment updateManyAndReturn
|
|
*/
|
|
export type AssetCommentAttachmentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AssetCommentAttachments.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateManyMutationInput, Prisma.AssetCommentAttachmentUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AssetCommentAttachments to update
|
|
*/
|
|
where?: Prisma.AssetCommentAttachmentWhereInput
|
|
/**
|
|
* Limit how many AssetCommentAttachments to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment upsert
|
|
*/
|
|
export type AssetCommentAttachmentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AssetCommentAttachment to update in case it exists.
|
|
*/
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
/**
|
|
* In case the AssetCommentAttachment found by the `where` argument doesn't exist, create a new AssetCommentAttachment with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AssetCommentAttachmentCreateInput, Prisma.AssetCommentAttachmentUncheckedCreateInput>
|
|
/**
|
|
* In case the AssetCommentAttachment was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AssetCommentAttachmentUpdateInput, Prisma.AssetCommentAttachmentUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment delete
|
|
*/
|
|
export type AssetCommentAttachmentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AssetCommentAttachment to delete.
|
|
*/
|
|
where: Prisma.AssetCommentAttachmentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment deleteMany
|
|
*/
|
|
export type AssetCommentAttachmentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AssetCommentAttachments to delete
|
|
*/
|
|
where?: Prisma.AssetCommentAttachmentWhereInput
|
|
/**
|
|
* Limit how many AssetCommentAttachments to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AssetCommentAttachment without action
|
|
*/
|
|
export type AssetCommentAttachmentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AssetCommentAttachment
|
|
*/
|
|
select?: Prisma.AssetCommentAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AssetCommentAttachment
|
|
*/
|
|
omit?: Prisma.AssetCommentAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetCommentAttachmentInclude<ExtArgs> | null
|
|
}
|