Files
shumai/packages/db/src/generated/prisma/models/Asset.ts
T

7140 lines
295 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 `Asset` 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 Asset
*
*/
export type AssetModel = runtime.Types.Result.DefaultSelection<Prisma.$AssetPayload>
export type AggregateAsset = {
_count: AssetCountAggregateOutputType | null
_avg: AssetAvgAggregateOutputType | null
_sum: AssetSumAggregateOutputType | null
_min: AssetMinAggregateOutputType | null
_max: AssetMaxAggregateOutputType | null
}
export type AssetAvgAggregateOutputType = {
fileCount: number | null
sizeByte: number | null
}
export type AssetSumAggregateOutputType = {
fileCount: number | null
sizeByte: number | null
}
export type AssetMinAggregateOutputType = {
id: string | null
name: string | null
type: $Enums.AssetType | null
mediaType: string | null
fileCount: number | null
sizeByte: number | null
status: $Enums.AssetStatus | null
transcodeTaskId: string | null
isDeleted: boolean | null
deletedAt: Date | null
sortIndex: string | null
createdAt: Date | null
updatedAt: Date | null
parentId: string | null
targetId: string | null
storageKeyId: string | null
creatorId: string | null
taskId: string | null
projectId: string | null
}
export type AssetMaxAggregateOutputType = {
id: string | null
name: string | null
type: $Enums.AssetType | null
mediaType: string | null
fileCount: number | null
sizeByte: number | null
status: $Enums.AssetStatus | null
transcodeTaskId: string | null
isDeleted: boolean | null
deletedAt: Date | null
sortIndex: string | null
createdAt: Date | null
updatedAt: Date | null
parentId: string | null
targetId: string | null
storageKeyId: string | null
creatorId: string | null
taskId: string | null
projectId: string | null
}
export type AssetCountAggregateOutputType = {
id: number
name: number
nameNgram: number
type: number
mediaType: number
fileCount: number
sizeByte: number
status: number
transcodeTaskId: number
media: PrismaJson.MediaInfo
isDeleted: number
deletedAt: number
sortIndex: number
createdAt: number
updatedAt: number
parentId: number
targetId: number
storageKeyId: number
creatorId: number
taskId: number
projectId: number
_all: number
}
export type AssetAvgAggregateInputType = {
fileCount?: true
sizeByte?: true
}
export type AssetSumAggregateInputType = {
fileCount?: true
sizeByte?: true
}
export type AssetMinAggregateInputType = {
id?: true
name?: true
type?: true
mediaType?: true
fileCount?: true
sizeByte?: true
status?: true
transcodeTaskId?: true
isDeleted?: true
deletedAt?: true
sortIndex?: true
createdAt?: true
updatedAt?: true
parentId?: true
targetId?: true
storageKeyId?: true
creatorId?: true
taskId?: true
projectId?: true
}
export type AssetMaxAggregateInputType = {
id?: true
name?: true
type?: true
mediaType?: true
fileCount?: true
sizeByte?: true
status?: true
transcodeTaskId?: true
isDeleted?: true
deletedAt?: true
sortIndex?: true
createdAt?: true
updatedAt?: true
parentId?: true
targetId?: true
storageKeyId?: true
creatorId?: true
taskId?: true
projectId?: true
}
export type AssetCountAggregateInputType = {
id?: true
name?: true
nameNgram?: true
type?: true
mediaType?: true
fileCount?: true
sizeByte?: true
status?: true
transcodeTaskId?: true
media?: true
isDeleted?: true
deletedAt?: true
sortIndex?: true
createdAt?: true
updatedAt?: true
parentId?: true
targetId?: true
storageKeyId?: true
creatorId?: true
taskId?: true
projectId?: true
_all?: true
}
export type AssetAggregateArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Filter which Asset to aggregate.
*/
where?: Prisma.AssetWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Assets to fetch.
*/
orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AssetWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Assets 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` Assets.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned Assets
**/
_count?: true | AssetCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: AssetAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: AssetSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AssetMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AssetMaxAggregateInputType
}
export type GetAssetAggregateType<T extends AssetAggregateArgs> = {
[P in keyof T & keyof AggregateAsset]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAsset[P]>
: Prisma.GetScalarType<T[P], AggregateAsset[P]>
}
export type AssetGroupByArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
where?: Prisma.AssetWhereInput
orderBy?: Prisma.AssetOrderByWithAggregationInput | Prisma.AssetOrderByWithAggregationInput[]
by: Prisma.AssetScalarFieldEnum[] | Prisma.AssetScalarFieldEnum
having?: Prisma.AssetScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AssetCountAggregateInputType | true
_avg?: AssetAvgAggregateInputType
_sum?: AssetSumAggregateInputType
_min?: AssetMinAggregateInputType
_max?: AssetMaxAggregateInputType
}
export type AssetGroupByOutputType = {
id: string
name: string
nameNgram: string[]
type: $Enums.AssetType
mediaType: string | null
fileCount: number
sizeByte: number
status: $Enums.AssetStatus
transcodeTaskId: string | null
media: PrismaJson.MediaInfo | null
isDeleted: boolean
deletedAt: Date | null
sortIndex: string | null
createdAt: Date
updatedAt: Date
parentId: string | null
targetId: string | null
storageKeyId: string | null
creatorId: string | null
taskId: string | null
projectId: string | null
_count: AssetCountAggregateOutputType | null
_avg: AssetAvgAggregateOutputType | null
_sum: AssetSumAggregateOutputType | null
_min: AssetMinAggregateOutputType | null
_max: AssetMaxAggregateOutputType | null
}
export type GetAssetGroupByPayload<T extends AssetGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AssetGroupByOutputType, T['by']> & {
[P in keyof T & keyof AssetGroupByOutputType]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AssetGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AssetGroupByOutputType[P]>
}
>
>
export type AssetWhereInput = {
AND?: Prisma.AssetWhereInput | Prisma.AssetWhereInput[]
OR?: Prisma.AssetWhereInput[]
NOT?: Prisma.AssetWhereInput | Prisma.AssetWhereInput[]
id?: Prisma.StringFilter<'Asset'> | string
name?: Prisma.StringFilter<'Asset'> | string
nameNgram?: Prisma.StringNullableListFilter<'Asset'>
type?: Prisma.EnumAssetTypeFilter<'Asset'> | $Enums.AssetType
mediaType?: Prisma.StringNullableFilter<'Asset'> | string | null
fileCount?: Prisma.IntFilter<'Asset'> | number
sizeByte?: Prisma.IntFilter<'Asset'> | number
status?: Prisma.EnumAssetStatusFilter<'Asset'> | $Enums.AssetStatus
transcodeTaskId?: Prisma.StringNullableFilter<'Asset'> | string | null
media?: Prisma.JsonNullableFilter<'Asset'>
isDeleted?: Prisma.BoolFilter<'Asset'> | boolean
deletedAt?: Prisma.DateTimeNullableFilter<'Asset'> | Date | string | null
sortIndex?: Prisma.StringNullableFilter<'Asset'> | string | null
createdAt?: Prisma.DateTimeFilter<'Asset'> | Date | string
updatedAt?: Prisma.DateTimeFilter<'Asset'> | Date | string
parentId?: Prisma.StringNullableFilter<'Asset'> | string | null
targetId?: Prisma.StringNullableFilter<'Asset'> | string | null
storageKeyId?: Prisma.StringNullableFilter<'Asset'> | string | null
creatorId?: Prisma.StringNullableFilter<'Asset'> | string | null
taskId?: Prisma.StringNullableFilter<'Asset'> | string | null
projectId?: Prisma.StringNullableFilter<'Asset'> | string | null
parent?: Prisma.XOR<Prisma.AssetNullableScalarRelationFilter, Prisma.AssetWhereInput> | null
children?: Prisma.AssetListRelationFilter
target?: Prisma.XOR<Prisma.AssetNullableScalarRelationFilter, Prisma.AssetWhereInput> | null
symlinks?: Prisma.AssetListRelationFilter
storageKey?: Prisma.XOR<
Prisma.StorageKeyNullableScalarRelationFilter,
Prisma.StorageKeyWhereInput
> | null
metadataValues?: Prisma.AssetMetadataValueListRelationFilter
creator?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
task?: Prisma.XOR<Prisma.TaskNullableScalarRelationFilter, Prisma.TaskWhereInput> | null
project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
comments?: Prisma.AssetCommentListRelationFilter
commentAttachments?: Prisma.AssetCommentAttachmentListRelationFilter
notifications?: Prisma.NotificationListRelationFilter
embeddings?: Prisma.AssetEmbeddingListRelationFilter
teamRootFolder?: Prisma.XOR<Prisma.TeamNullableScalarRelationFilter, Prisma.TeamWhereInput> | null
projectRootFolder?: Prisma.XOR<
Prisma.ProjectNullableScalarRelationFilter,
Prisma.ProjectWhereInput
> | null
projectShareRoot?: Prisma.XOR<
Prisma.ProjectNullableScalarRelationFilter,
Prisma.ProjectWhereInput
> | null
shareLinkRootFolder?: Prisma.XOR<
Prisma.ShareLinkNullableScalarRelationFilter,
Prisma.ShareLinkWhereInput
> | null
agentSessions?: Prisma.AgentSessionListRelationFilter
}
export type AssetOrderByWithRelationInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
nameNgram?: Prisma.SortOrder
type?: Prisma.SortOrder
mediaType?: Prisma.SortOrderInput | Prisma.SortOrder
fileCount?: Prisma.SortOrder
sizeByte?: Prisma.SortOrder
status?: Prisma.SortOrder
transcodeTaskId?: Prisma.SortOrderInput | Prisma.SortOrder
media?: Prisma.SortOrderInput | Prisma.SortOrder
isDeleted?: Prisma.SortOrder
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
sortIndex?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
targetId?: Prisma.SortOrderInput | Prisma.SortOrder
storageKeyId?: Prisma.SortOrderInput | Prisma.SortOrder
creatorId?: Prisma.SortOrderInput | Prisma.SortOrder
taskId?: Prisma.SortOrderInput | Prisma.SortOrder
projectId?: Prisma.SortOrderInput | Prisma.SortOrder
parent?: Prisma.AssetOrderByWithRelationInput
children?: Prisma.AssetOrderByRelationAggregateInput
target?: Prisma.AssetOrderByWithRelationInput
symlinks?: Prisma.AssetOrderByRelationAggregateInput
storageKey?: Prisma.StorageKeyOrderByWithRelationInput
metadataValues?: Prisma.AssetMetadataValueOrderByRelationAggregateInput
creator?: Prisma.UserOrderByWithRelationInput
task?: Prisma.TaskOrderByWithRelationInput
project?: Prisma.ProjectOrderByWithRelationInput
comments?: Prisma.AssetCommentOrderByRelationAggregateInput
commentAttachments?: Prisma.AssetCommentAttachmentOrderByRelationAggregateInput
notifications?: Prisma.NotificationOrderByRelationAggregateInput
embeddings?: Prisma.AssetEmbeddingOrderByRelationAggregateInput
teamRootFolder?: Prisma.TeamOrderByWithRelationInput
projectRootFolder?: Prisma.ProjectOrderByWithRelationInput
projectShareRoot?: Prisma.ProjectOrderByWithRelationInput
shareLinkRootFolder?: Prisma.ShareLinkOrderByWithRelationInput
agentSessions?: Prisma.AgentSessionOrderByRelationAggregateInput
}
export type AssetWhereUniqueInput = Prisma.AtLeast<
{
id?: string
parentIdTargetId?: Prisma.AssetParentIdTargetIdCompoundUniqueInput
AND?: Prisma.AssetWhereInput | Prisma.AssetWhereInput[]
OR?: Prisma.AssetWhereInput[]
NOT?: Prisma.AssetWhereInput | Prisma.AssetWhereInput[]
name?: Prisma.StringFilter<'Asset'> | string
nameNgram?: Prisma.StringNullableListFilter<'Asset'>
type?: Prisma.EnumAssetTypeFilter<'Asset'> | $Enums.AssetType
mediaType?: Prisma.StringNullableFilter<'Asset'> | string | null
fileCount?: Prisma.IntFilter<'Asset'> | number
sizeByte?: Prisma.IntFilter<'Asset'> | number
status?: Prisma.EnumAssetStatusFilter<'Asset'> | $Enums.AssetStatus
transcodeTaskId?: Prisma.StringNullableFilter<'Asset'> | string | null
media?: Prisma.JsonNullableFilter<'Asset'>
isDeleted?: Prisma.BoolFilter<'Asset'> | boolean
deletedAt?: Prisma.DateTimeNullableFilter<'Asset'> | Date | string | null
sortIndex?: Prisma.StringNullableFilter<'Asset'> | string | null
createdAt?: Prisma.DateTimeFilter<'Asset'> | Date | string
updatedAt?: Prisma.DateTimeFilter<'Asset'> | Date | string
parentId?: Prisma.StringNullableFilter<'Asset'> | string | null
targetId?: Prisma.StringNullableFilter<'Asset'> | string | null
storageKeyId?: Prisma.StringNullableFilter<'Asset'> | string | null
creatorId?: Prisma.StringNullableFilter<'Asset'> | string | null
taskId?: Prisma.StringNullableFilter<'Asset'> | string | null
projectId?: Prisma.StringNullableFilter<'Asset'> | string | null
parent?: Prisma.XOR<Prisma.AssetNullableScalarRelationFilter, Prisma.AssetWhereInput> | null
children?: Prisma.AssetListRelationFilter
target?: Prisma.XOR<Prisma.AssetNullableScalarRelationFilter, Prisma.AssetWhereInput> | null
symlinks?: Prisma.AssetListRelationFilter
storageKey?: Prisma.XOR<
Prisma.StorageKeyNullableScalarRelationFilter,
Prisma.StorageKeyWhereInput
> | null
metadataValues?: Prisma.AssetMetadataValueListRelationFilter
creator?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
task?: Prisma.XOR<Prisma.TaskNullableScalarRelationFilter, Prisma.TaskWhereInput> | null
project?: Prisma.XOR<
Prisma.ProjectNullableScalarRelationFilter,
Prisma.ProjectWhereInput
> | null
comments?: Prisma.AssetCommentListRelationFilter
commentAttachments?: Prisma.AssetCommentAttachmentListRelationFilter
notifications?: Prisma.NotificationListRelationFilter
embeddings?: Prisma.AssetEmbeddingListRelationFilter
teamRootFolder?: Prisma.XOR<
Prisma.TeamNullableScalarRelationFilter,
Prisma.TeamWhereInput
> | null
projectRootFolder?: Prisma.XOR<
Prisma.ProjectNullableScalarRelationFilter,
Prisma.ProjectWhereInput
> | null
projectShareRoot?: Prisma.XOR<
Prisma.ProjectNullableScalarRelationFilter,
Prisma.ProjectWhereInput
> | null
shareLinkRootFolder?: Prisma.XOR<
Prisma.ShareLinkNullableScalarRelationFilter,
Prisma.ShareLinkWhereInput
> | null
agentSessions?: Prisma.AgentSessionListRelationFilter
},
'id' | 'parentIdTargetId'
>
export type AssetOrderByWithAggregationInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
nameNgram?: Prisma.SortOrder
type?: Prisma.SortOrder
mediaType?: Prisma.SortOrderInput | Prisma.SortOrder
fileCount?: Prisma.SortOrder
sizeByte?: Prisma.SortOrder
status?: Prisma.SortOrder
transcodeTaskId?: Prisma.SortOrderInput | Prisma.SortOrder
media?: Prisma.SortOrderInput | Prisma.SortOrder
isDeleted?: Prisma.SortOrder
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
sortIndex?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
targetId?: Prisma.SortOrderInput | Prisma.SortOrder
storageKeyId?: Prisma.SortOrderInput | Prisma.SortOrder
creatorId?: Prisma.SortOrderInput | Prisma.SortOrder
taskId?: Prisma.SortOrderInput | Prisma.SortOrder
projectId?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.AssetCountOrderByAggregateInput
_avg?: Prisma.AssetAvgOrderByAggregateInput
_max?: Prisma.AssetMaxOrderByAggregateInput
_min?: Prisma.AssetMinOrderByAggregateInput
_sum?: Prisma.AssetSumOrderByAggregateInput
}
export type AssetScalarWhereWithAggregatesInput = {
AND?: Prisma.AssetScalarWhereWithAggregatesInput | Prisma.AssetScalarWhereWithAggregatesInput[]
OR?: Prisma.AssetScalarWhereWithAggregatesInput[]
NOT?: Prisma.AssetScalarWhereWithAggregatesInput | Prisma.AssetScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<'Asset'> | string
name?: Prisma.StringWithAggregatesFilter<'Asset'> | string
nameNgram?: Prisma.StringNullableListFilter<'Asset'>
type?: Prisma.EnumAssetTypeWithAggregatesFilter<'Asset'> | $Enums.AssetType
mediaType?: Prisma.StringNullableWithAggregatesFilter<'Asset'> | string | null
fileCount?: Prisma.IntWithAggregatesFilter<'Asset'> | number
sizeByte?: Prisma.IntWithAggregatesFilter<'Asset'> | number
status?: Prisma.EnumAssetStatusWithAggregatesFilter<'Asset'> | $Enums.AssetStatus
transcodeTaskId?: Prisma.StringNullableWithAggregatesFilter<'Asset'> | string | null
media?: Prisma.JsonNullableWithAggregatesFilter<'Asset'>
isDeleted?: Prisma.BoolWithAggregatesFilter<'Asset'> | boolean
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<'Asset'> | Date | string | null
sortIndex?: Prisma.StringNullableWithAggregatesFilter<'Asset'> | string | null
createdAt?: Prisma.DateTimeWithAggregatesFilter<'Asset'> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<'Asset'> | Date | string
parentId?: Prisma.StringNullableWithAggregatesFilter<'Asset'> | string | null
targetId?: Prisma.StringNullableWithAggregatesFilter<'Asset'> | string | null
storageKeyId?: Prisma.StringNullableWithAggregatesFilter<'Asset'> | string | null
creatorId?: Prisma.StringNullableWithAggregatesFilter<'Asset'> | string | null
taskId?: Prisma.StringNullableWithAggregatesFilter<'Asset'> | string | null
projectId?: Prisma.StringNullableWithAggregatesFilter<'Asset'> | string | null
}
export type AssetCreateInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateManyInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
}
export type AssetUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AssetUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AssetListRelationFilter = {
every?: Prisma.AssetWhereInput
some?: Prisma.AssetWhereInput
none?: Prisma.AssetWhereInput
}
export type AssetOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AssetNullableScalarRelationFilter = {
is?: Prisma.AssetWhereInput | null
isNot?: Prisma.AssetWhereInput | null
}
export type AssetScalarRelationFilter = {
is?: Prisma.AssetWhereInput
isNot?: Prisma.AssetWhereInput
}
export type AssetParentIdTargetIdCompoundUniqueInput = {
parentId: string
targetId: string
}
export type AssetCountOrderByAggregateInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
nameNgram?: Prisma.SortOrder
type?: Prisma.SortOrder
mediaType?: Prisma.SortOrder
fileCount?: Prisma.SortOrder
sizeByte?: Prisma.SortOrder
status?: Prisma.SortOrder
transcodeTaskId?: Prisma.SortOrder
media?: Prisma.SortOrder
isDeleted?: Prisma.SortOrder
deletedAt?: Prisma.SortOrder
sortIndex?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
parentId?: Prisma.SortOrder
targetId?: Prisma.SortOrder
storageKeyId?: Prisma.SortOrder
creatorId?: Prisma.SortOrder
taskId?: Prisma.SortOrder
projectId?: Prisma.SortOrder
}
export type AssetAvgOrderByAggregateInput = {
fileCount?: Prisma.SortOrder
sizeByte?: Prisma.SortOrder
}
export type AssetMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
type?: Prisma.SortOrder
mediaType?: Prisma.SortOrder
fileCount?: Prisma.SortOrder
sizeByte?: Prisma.SortOrder
status?: Prisma.SortOrder
transcodeTaskId?: Prisma.SortOrder
isDeleted?: Prisma.SortOrder
deletedAt?: Prisma.SortOrder
sortIndex?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
parentId?: Prisma.SortOrder
targetId?: Prisma.SortOrder
storageKeyId?: Prisma.SortOrder
creatorId?: Prisma.SortOrder
taskId?: Prisma.SortOrder
projectId?: Prisma.SortOrder
}
export type AssetMinOrderByAggregateInput = {
id?: Prisma.SortOrder
name?: Prisma.SortOrder
type?: Prisma.SortOrder
mediaType?: Prisma.SortOrder
fileCount?: Prisma.SortOrder
sizeByte?: Prisma.SortOrder
status?: Prisma.SortOrder
transcodeTaskId?: Prisma.SortOrder
isDeleted?: Prisma.SortOrder
deletedAt?: Prisma.SortOrder
sortIndex?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
parentId?: Prisma.SortOrder
targetId?: Prisma.SortOrder
storageKeyId?: Prisma.SortOrder
creatorId?: Prisma.SortOrder
taskId?: Prisma.SortOrder
projectId?: Prisma.SortOrder
}
export type AssetSumOrderByAggregateInput = {
fileCount?: Prisma.SortOrder
sizeByte?: Prisma.SortOrder
}
export type AssetCreateNestedManyWithoutCreatorInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutCreatorInput,
Prisma.AssetUncheckedCreateWithoutCreatorInput
>
| Prisma.AssetCreateWithoutCreatorInput[]
| Prisma.AssetUncheckedCreateWithoutCreatorInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutCreatorInput
| Prisma.AssetCreateOrConnectWithoutCreatorInput[]
createMany?: Prisma.AssetCreateManyCreatorInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUncheckedCreateNestedManyWithoutCreatorInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutCreatorInput,
Prisma.AssetUncheckedCreateWithoutCreatorInput
>
| Prisma.AssetCreateWithoutCreatorInput[]
| Prisma.AssetUncheckedCreateWithoutCreatorInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutCreatorInput
| Prisma.AssetCreateOrConnectWithoutCreatorInput[]
createMany?: Prisma.AssetCreateManyCreatorInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUpdateManyWithoutCreatorNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutCreatorInput,
Prisma.AssetUncheckedCreateWithoutCreatorInput
>
| Prisma.AssetCreateWithoutCreatorInput[]
| Prisma.AssetUncheckedCreateWithoutCreatorInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutCreatorInput
| Prisma.AssetCreateOrConnectWithoutCreatorInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutCreatorInput
| Prisma.AssetUpsertWithWhereUniqueWithoutCreatorInput[]
createMany?: Prisma.AssetCreateManyCreatorInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutCreatorInput
| Prisma.AssetUpdateWithWhereUniqueWithoutCreatorInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutCreatorInput
| Prisma.AssetUpdateManyWithWhereWithoutCreatorInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetUncheckedUpdateManyWithoutCreatorNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutCreatorInput,
Prisma.AssetUncheckedCreateWithoutCreatorInput
>
| Prisma.AssetCreateWithoutCreatorInput[]
| Prisma.AssetUncheckedCreateWithoutCreatorInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutCreatorInput
| Prisma.AssetCreateOrConnectWithoutCreatorInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutCreatorInput
| Prisma.AssetUpsertWithWhereUniqueWithoutCreatorInput[]
createMany?: Prisma.AssetCreateManyCreatorInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutCreatorInput
| Prisma.AssetUpdateWithWhereUniqueWithoutCreatorInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutCreatorInput
| Prisma.AssetUpdateManyWithWhereWithoutCreatorInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetCreateNestedOneWithoutTeamRootFolderInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutTeamRootFolderInput,
Prisma.AssetUncheckedCreateWithoutTeamRootFolderInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTeamRootFolderInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetUpdateOneWithoutTeamRootFolderNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutTeamRootFolderInput,
Prisma.AssetUncheckedCreateWithoutTeamRootFolderInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTeamRootFolderInput
upsert?: Prisma.AssetUpsertWithoutTeamRootFolderInput
disconnect?: Prisma.AssetWhereInput | boolean
delete?: Prisma.AssetWhereInput | boolean
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutTeamRootFolderInput,
Prisma.AssetUpdateWithoutTeamRootFolderInput
>,
Prisma.AssetUncheckedUpdateWithoutTeamRootFolderInput
>
}
export type AssetCreateNestedOneWithoutProjectRootFolderInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutProjectRootFolderInput,
Prisma.AssetUncheckedCreateWithoutProjectRootFolderInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectRootFolderInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetCreateNestedOneWithoutProjectShareRootInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutProjectShareRootInput,
Prisma.AssetUncheckedCreateWithoutProjectShareRootInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectShareRootInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetCreateNestedManyWithoutProjectInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutProjectInput,
Prisma.AssetUncheckedCreateWithoutProjectInput
>
| Prisma.AssetCreateWithoutProjectInput[]
| Prisma.AssetUncheckedCreateWithoutProjectInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutProjectInput
| Prisma.AssetCreateOrConnectWithoutProjectInput[]
createMany?: Prisma.AssetCreateManyProjectInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUncheckedCreateNestedManyWithoutProjectInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutProjectInput,
Prisma.AssetUncheckedCreateWithoutProjectInput
>
| Prisma.AssetCreateWithoutProjectInput[]
| Prisma.AssetUncheckedCreateWithoutProjectInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutProjectInput
| Prisma.AssetCreateOrConnectWithoutProjectInput[]
createMany?: Prisma.AssetCreateManyProjectInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUpdateOneWithoutProjectRootFolderNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutProjectRootFolderInput,
Prisma.AssetUncheckedCreateWithoutProjectRootFolderInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectRootFolderInput
upsert?: Prisma.AssetUpsertWithoutProjectRootFolderInput
disconnect?: Prisma.AssetWhereInput | boolean
delete?: Prisma.AssetWhereInput | boolean
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutProjectRootFolderInput,
Prisma.AssetUpdateWithoutProjectRootFolderInput
>,
Prisma.AssetUncheckedUpdateWithoutProjectRootFolderInput
>
}
export type AssetUpdateOneWithoutProjectShareRootNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutProjectShareRootInput,
Prisma.AssetUncheckedCreateWithoutProjectShareRootInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectShareRootInput
upsert?: Prisma.AssetUpsertWithoutProjectShareRootInput
disconnect?: Prisma.AssetWhereInput | boolean
delete?: Prisma.AssetWhereInput | boolean
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutProjectShareRootInput,
Prisma.AssetUpdateWithoutProjectShareRootInput
>,
Prisma.AssetUncheckedUpdateWithoutProjectShareRootInput
>
}
export type AssetUpdateManyWithoutProjectNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutProjectInput,
Prisma.AssetUncheckedCreateWithoutProjectInput
>
| Prisma.AssetCreateWithoutProjectInput[]
| Prisma.AssetUncheckedCreateWithoutProjectInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutProjectInput
| Prisma.AssetCreateOrConnectWithoutProjectInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutProjectInput
| Prisma.AssetUpsertWithWhereUniqueWithoutProjectInput[]
createMany?: Prisma.AssetCreateManyProjectInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutProjectInput
| Prisma.AssetUpdateWithWhereUniqueWithoutProjectInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutProjectInput
| Prisma.AssetUpdateManyWithWhereWithoutProjectInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetUncheckedUpdateManyWithoutProjectNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutProjectInput,
Prisma.AssetUncheckedCreateWithoutProjectInput
>
| Prisma.AssetCreateWithoutProjectInput[]
| Prisma.AssetUncheckedCreateWithoutProjectInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutProjectInput
| Prisma.AssetCreateOrConnectWithoutProjectInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutProjectInput
| Prisma.AssetUpsertWithWhereUniqueWithoutProjectInput[]
createMany?: Prisma.AssetCreateManyProjectInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutProjectInput
| Prisma.AssetUpdateWithWhereUniqueWithoutProjectInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutProjectInput
| Prisma.AssetUpdateManyWithWhereWithoutProjectInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetCreateNestedOneWithoutShareLinkRootFolderInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutShareLinkRootFolderInput,
Prisma.AssetUncheckedCreateWithoutShareLinkRootFolderInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutShareLinkRootFolderInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetUpdateOneRequiredWithoutShareLinkRootFolderNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutShareLinkRootFolderInput,
Prisma.AssetUncheckedCreateWithoutShareLinkRootFolderInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutShareLinkRootFolderInput
upsert?: Prisma.AssetUpsertWithoutShareLinkRootFolderInput
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutShareLinkRootFolderInput,
Prisma.AssetUpdateWithoutShareLinkRootFolderInput
>,
Prisma.AssetUncheckedUpdateWithoutShareLinkRootFolderInput
>
}
export type AssetCreatenameNgramInput = {
set: string[]
}
export type AssetCreateNestedOneWithoutChildrenInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutChildrenInput,
Prisma.AssetUncheckedCreateWithoutChildrenInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutChildrenInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetCreateNestedManyWithoutParentInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutParentInput,
Prisma.AssetUncheckedCreateWithoutParentInput
>
| Prisma.AssetCreateWithoutParentInput[]
| Prisma.AssetUncheckedCreateWithoutParentInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutParentInput
| Prisma.AssetCreateOrConnectWithoutParentInput[]
createMany?: Prisma.AssetCreateManyParentInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetCreateNestedOneWithoutSymlinksInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutSymlinksInput,
Prisma.AssetUncheckedCreateWithoutSymlinksInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutSymlinksInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetCreateNestedManyWithoutTargetInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutTargetInput,
Prisma.AssetUncheckedCreateWithoutTargetInput
>
| Prisma.AssetCreateWithoutTargetInput[]
| Prisma.AssetUncheckedCreateWithoutTargetInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutTargetInput
| Prisma.AssetCreateOrConnectWithoutTargetInput[]
createMany?: Prisma.AssetCreateManyTargetInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUncheckedCreateNestedManyWithoutParentInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutParentInput,
Prisma.AssetUncheckedCreateWithoutParentInput
>
| Prisma.AssetCreateWithoutParentInput[]
| Prisma.AssetUncheckedCreateWithoutParentInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutParentInput
| Prisma.AssetCreateOrConnectWithoutParentInput[]
createMany?: Prisma.AssetCreateManyParentInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUncheckedCreateNestedManyWithoutTargetInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutTargetInput,
Prisma.AssetUncheckedCreateWithoutTargetInput
>
| Prisma.AssetCreateWithoutTargetInput[]
| Prisma.AssetUncheckedCreateWithoutTargetInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutTargetInput
| Prisma.AssetCreateOrConnectWithoutTargetInput[]
createMany?: Prisma.AssetCreateManyTargetInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUpdatenameNgramInput = {
set?: string[]
push?: string | string[]
}
export type EnumAssetTypeFieldUpdateOperationsInput = {
set?: $Enums.AssetType
}
export type IntFieldUpdateOperationsInput = {
set?: number
increment?: number
decrement?: number
multiply?: number
divide?: number
}
export type EnumAssetStatusFieldUpdateOperationsInput = {
set?: $Enums.AssetStatus
}
export type AssetUpdateOneWithoutChildrenNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutChildrenInput,
Prisma.AssetUncheckedCreateWithoutChildrenInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutChildrenInput
upsert?: Prisma.AssetUpsertWithoutChildrenInput
disconnect?: Prisma.AssetWhereInput | boolean
delete?: Prisma.AssetWhereInput | boolean
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutChildrenInput,
Prisma.AssetUpdateWithoutChildrenInput
>,
Prisma.AssetUncheckedUpdateWithoutChildrenInput
>
}
export type AssetUpdateManyWithoutParentNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutParentInput,
Prisma.AssetUncheckedCreateWithoutParentInput
>
| Prisma.AssetCreateWithoutParentInput[]
| Prisma.AssetUncheckedCreateWithoutParentInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutParentInput
| Prisma.AssetCreateOrConnectWithoutParentInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutParentInput
| Prisma.AssetUpsertWithWhereUniqueWithoutParentInput[]
createMany?: Prisma.AssetCreateManyParentInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutParentInput
| Prisma.AssetUpdateWithWhereUniqueWithoutParentInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutParentInput
| Prisma.AssetUpdateManyWithWhereWithoutParentInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetUpdateOneWithoutSymlinksNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutSymlinksInput,
Prisma.AssetUncheckedCreateWithoutSymlinksInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutSymlinksInput
upsert?: Prisma.AssetUpsertWithoutSymlinksInput
disconnect?: Prisma.AssetWhereInput | boolean
delete?: Prisma.AssetWhereInput | boolean
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutSymlinksInput,
Prisma.AssetUpdateWithoutSymlinksInput
>,
Prisma.AssetUncheckedUpdateWithoutSymlinksInput
>
}
export type AssetUpdateManyWithoutTargetNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutTargetInput,
Prisma.AssetUncheckedCreateWithoutTargetInput
>
| Prisma.AssetCreateWithoutTargetInput[]
| Prisma.AssetUncheckedCreateWithoutTargetInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutTargetInput
| Prisma.AssetCreateOrConnectWithoutTargetInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutTargetInput
| Prisma.AssetUpsertWithWhereUniqueWithoutTargetInput[]
createMany?: Prisma.AssetCreateManyTargetInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutTargetInput
| Prisma.AssetUpdateWithWhereUniqueWithoutTargetInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutTargetInput
| Prisma.AssetUpdateManyWithWhereWithoutTargetInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetUncheckedUpdateManyWithoutParentNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutParentInput,
Prisma.AssetUncheckedCreateWithoutParentInput
>
| Prisma.AssetCreateWithoutParentInput[]
| Prisma.AssetUncheckedCreateWithoutParentInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutParentInput
| Prisma.AssetCreateOrConnectWithoutParentInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutParentInput
| Prisma.AssetUpsertWithWhereUniqueWithoutParentInput[]
createMany?: Prisma.AssetCreateManyParentInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutParentInput
| Prisma.AssetUpdateWithWhereUniqueWithoutParentInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutParentInput
| Prisma.AssetUpdateManyWithWhereWithoutParentInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetUncheckedUpdateManyWithoutTargetNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutTargetInput,
Prisma.AssetUncheckedCreateWithoutTargetInput
>
| Prisma.AssetCreateWithoutTargetInput[]
| Prisma.AssetUncheckedCreateWithoutTargetInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutTargetInput
| Prisma.AssetCreateOrConnectWithoutTargetInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutTargetInput
| Prisma.AssetUpsertWithWhereUniqueWithoutTargetInput[]
createMany?: Prisma.AssetCreateManyTargetInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutTargetInput
| Prisma.AssetUpdateWithWhereUniqueWithoutTargetInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutTargetInput
| Prisma.AssetUpdateManyWithWhereWithoutTargetInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetCreateNestedManyWithoutStorageKeyInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutStorageKeyInput,
Prisma.AssetUncheckedCreateWithoutStorageKeyInput
>
| Prisma.AssetCreateWithoutStorageKeyInput[]
| Prisma.AssetUncheckedCreateWithoutStorageKeyInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutStorageKeyInput
| Prisma.AssetCreateOrConnectWithoutStorageKeyInput[]
createMany?: Prisma.AssetCreateManyStorageKeyInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUncheckedCreateNestedManyWithoutStorageKeyInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutStorageKeyInput,
Prisma.AssetUncheckedCreateWithoutStorageKeyInput
>
| Prisma.AssetCreateWithoutStorageKeyInput[]
| Prisma.AssetUncheckedCreateWithoutStorageKeyInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutStorageKeyInput
| Prisma.AssetCreateOrConnectWithoutStorageKeyInput[]
createMany?: Prisma.AssetCreateManyStorageKeyInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUpdateManyWithoutStorageKeyNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutStorageKeyInput,
Prisma.AssetUncheckedCreateWithoutStorageKeyInput
>
| Prisma.AssetCreateWithoutStorageKeyInput[]
| Prisma.AssetUncheckedCreateWithoutStorageKeyInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutStorageKeyInput
| Prisma.AssetCreateOrConnectWithoutStorageKeyInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutStorageKeyInput
| Prisma.AssetUpsertWithWhereUniqueWithoutStorageKeyInput[]
createMany?: Prisma.AssetCreateManyStorageKeyInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutStorageKeyInput
| Prisma.AssetUpdateWithWhereUniqueWithoutStorageKeyInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutStorageKeyInput
| Prisma.AssetUpdateManyWithWhereWithoutStorageKeyInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetUncheckedUpdateManyWithoutStorageKeyNestedInput = {
create?:
| Prisma.XOR<
Prisma.AssetCreateWithoutStorageKeyInput,
Prisma.AssetUncheckedCreateWithoutStorageKeyInput
>
| Prisma.AssetCreateWithoutStorageKeyInput[]
| Prisma.AssetUncheckedCreateWithoutStorageKeyInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutStorageKeyInput
| Prisma.AssetCreateOrConnectWithoutStorageKeyInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutStorageKeyInput
| Prisma.AssetUpsertWithWhereUniqueWithoutStorageKeyInput[]
createMany?: Prisma.AssetCreateManyStorageKeyInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutStorageKeyInput
| Prisma.AssetUpdateWithWhereUniqueWithoutStorageKeyInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutStorageKeyInput
| Prisma.AssetUpdateManyWithWhereWithoutStorageKeyInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetCreateNestedOneWithoutMetadataValuesInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutMetadataValuesInput,
Prisma.AssetUncheckedCreateWithoutMetadataValuesInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutMetadataValuesInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetUpdateOneRequiredWithoutMetadataValuesNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutMetadataValuesInput,
Prisma.AssetUncheckedCreateWithoutMetadataValuesInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutMetadataValuesInput
upsert?: Prisma.AssetUpsertWithoutMetadataValuesInput
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutMetadataValuesInput,
Prisma.AssetUpdateWithoutMetadataValuesInput
>,
Prisma.AssetUncheckedUpdateWithoutMetadataValuesInput
>
}
export type AssetCreateNestedOneWithoutCommentsInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutCommentsInput,
Prisma.AssetUncheckedCreateWithoutCommentsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCommentsInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetUpdateOneRequiredWithoutCommentsNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutCommentsInput,
Prisma.AssetUncheckedCreateWithoutCommentsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCommentsInput
upsert?: Prisma.AssetUpsertWithoutCommentsInput
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutCommentsInput,
Prisma.AssetUpdateWithoutCommentsInput
>,
Prisma.AssetUncheckedUpdateWithoutCommentsInput
>
}
export type AssetCreateNestedOneWithoutCommentAttachmentsInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutCommentAttachmentsInput,
Prisma.AssetUncheckedCreateWithoutCommentAttachmentsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCommentAttachmentsInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetUpdateOneRequiredWithoutCommentAttachmentsNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutCommentAttachmentsInput,
Prisma.AssetUncheckedCreateWithoutCommentAttachmentsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCommentAttachmentsInput
upsert?: Prisma.AssetUpsertWithoutCommentAttachmentsInput
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutCommentAttachmentsInput,
Prisma.AssetUpdateWithoutCommentAttachmentsInput
>,
Prisma.AssetUncheckedUpdateWithoutCommentAttachmentsInput
>
}
export type AssetCreateNestedOneWithoutEmbeddingsInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutEmbeddingsInput,
Prisma.AssetUncheckedCreateWithoutEmbeddingsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutEmbeddingsInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetUpdateOneRequiredWithoutEmbeddingsNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutEmbeddingsInput,
Prisma.AssetUncheckedCreateWithoutEmbeddingsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutEmbeddingsInput
upsert?: Prisma.AssetUpsertWithoutEmbeddingsInput
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutEmbeddingsInput,
Prisma.AssetUpdateWithoutEmbeddingsInput
>,
Prisma.AssetUncheckedUpdateWithoutEmbeddingsInput
>
}
export type AssetCreateNestedOneWithoutNotificationsInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutNotificationsInput,
Prisma.AssetUncheckedCreateWithoutNotificationsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutNotificationsInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetUpdateOneWithoutNotificationsNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutNotificationsInput,
Prisma.AssetUncheckedCreateWithoutNotificationsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutNotificationsInput
upsert?: Prisma.AssetUpsertWithoutNotificationsInput
disconnect?: Prisma.AssetWhereInput | boolean
delete?: Prisma.AssetWhereInput | boolean
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutNotificationsInput,
Prisma.AssetUpdateWithoutNotificationsInput
>,
Prisma.AssetUncheckedUpdateWithoutNotificationsInput
>
}
export type AssetCreateNestedManyWithoutTaskInput = {
create?:
| Prisma.XOR<Prisma.AssetCreateWithoutTaskInput, Prisma.AssetUncheckedCreateWithoutTaskInput>
| Prisma.AssetCreateWithoutTaskInput[]
| Prisma.AssetUncheckedCreateWithoutTaskInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutTaskInput
| Prisma.AssetCreateOrConnectWithoutTaskInput[]
createMany?: Prisma.AssetCreateManyTaskInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUncheckedCreateNestedManyWithoutTaskInput = {
create?:
| Prisma.XOR<Prisma.AssetCreateWithoutTaskInput, Prisma.AssetUncheckedCreateWithoutTaskInput>
| Prisma.AssetCreateWithoutTaskInput[]
| Prisma.AssetUncheckedCreateWithoutTaskInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutTaskInput
| Prisma.AssetCreateOrConnectWithoutTaskInput[]
createMany?: Prisma.AssetCreateManyTaskInputEnvelope
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
}
export type AssetUpdateManyWithoutTaskNestedInput = {
create?:
| Prisma.XOR<Prisma.AssetCreateWithoutTaskInput, Prisma.AssetUncheckedCreateWithoutTaskInput>
| Prisma.AssetCreateWithoutTaskInput[]
| Prisma.AssetUncheckedCreateWithoutTaskInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutTaskInput
| Prisma.AssetCreateOrConnectWithoutTaskInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutTaskInput
| Prisma.AssetUpsertWithWhereUniqueWithoutTaskInput[]
createMany?: Prisma.AssetCreateManyTaskInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutTaskInput
| Prisma.AssetUpdateWithWhereUniqueWithoutTaskInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutTaskInput
| Prisma.AssetUpdateManyWithWhereWithoutTaskInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetUncheckedUpdateManyWithoutTaskNestedInput = {
create?:
| Prisma.XOR<Prisma.AssetCreateWithoutTaskInput, Prisma.AssetUncheckedCreateWithoutTaskInput>
| Prisma.AssetCreateWithoutTaskInput[]
| Prisma.AssetUncheckedCreateWithoutTaskInput[]
connectOrCreate?:
| Prisma.AssetCreateOrConnectWithoutTaskInput
| Prisma.AssetCreateOrConnectWithoutTaskInput[]
upsert?:
| Prisma.AssetUpsertWithWhereUniqueWithoutTaskInput
| Prisma.AssetUpsertWithWhereUniqueWithoutTaskInput[]
createMany?: Prisma.AssetCreateManyTaskInputEnvelope
set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[]
update?:
| Prisma.AssetUpdateWithWhereUniqueWithoutTaskInput
| Prisma.AssetUpdateWithWhereUniqueWithoutTaskInput[]
updateMany?:
| Prisma.AssetUpdateManyWithWhereWithoutTaskInput
| Prisma.AssetUpdateManyWithWhereWithoutTaskInput[]
deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
}
export type AssetCreateNestedOneWithoutAgentSessionsInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutAgentSessionsInput,
Prisma.AssetUncheckedCreateWithoutAgentSessionsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutAgentSessionsInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetUpdateOneWithoutAgentSessionsNestedInput = {
create?: Prisma.XOR<
Prisma.AssetCreateWithoutAgentSessionsInput,
Prisma.AssetUncheckedCreateWithoutAgentSessionsInput
>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutAgentSessionsInput
upsert?: Prisma.AssetUpsertWithoutAgentSessionsInput
disconnect?: Prisma.AssetWhereInput | boolean
delete?: Prisma.AssetWhereInput | boolean
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<
Prisma.XOR<
Prisma.AssetUpdateToOneWithWhereWithoutAgentSessionsInput,
Prisma.AssetUpdateWithoutAgentSessionsInput
>,
Prisma.AssetUncheckedUpdateWithoutAgentSessionsInput
>
}
export type AssetCreateWithoutCreatorInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutCreatorInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutCreatorInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutCreatorInput,
Prisma.AssetUncheckedCreateWithoutCreatorInput
>
}
export type AssetCreateManyCreatorInputEnvelope = {
data: Prisma.AssetCreateManyCreatorInput | Prisma.AssetCreateManyCreatorInput[]
skipDuplicates?: boolean
}
export type AssetUpsertWithWhereUniqueWithoutCreatorInput = {
where: Prisma.AssetWhereUniqueInput
update: Prisma.XOR<
Prisma.AssetUpdateWithoutCreatorInput,
Prisma.AssetUncheckedUpdateWithoutCreatorInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutCreatorInput,
Prisma.AssetUncheckedCreateWithoutCreatorInput
>
}
export type AssetUpdateWithWhereUniqueWithoutCreatorInput = {
where: Prisma.AssetWhereUniqueInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutCreatorInput,
Prisma.AssetUncheckedUpdateWithoutCreatorInput
>
}
export type AssetUpdateManyWithWhereWithoutCreatorInput = {
where: Prisma.AssetScalarWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateManyMutationInput,
Prisma.AssetUncheckedUpdateManyWithoutCreatorInput
>
}
export type AssetScalarWhereInput = {
AND?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
OR?: Prisma.AssetScalarWhereInput[]
NOT?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[]
id?: Prisma.StringFilter<'Asset'> | string
name?: Prisma.StringFilter<'Asset'> | string
nameNgram?: Prisma.StringNullableListFilter<'Asset'>
type?: Prisma.EnumAssetTypeFilter<'Asset'> | $Enums.AssetType
mediaType?: Prisma.StringNullableFilter<'Asset'> | string | null
fileCount?: Prisma.IntFilter<'Asset'> | number
sizeByte?: Prisma.IntFilter<'Asset'> | number
status?: Prisma.EnumAssetStatusFilter<'Asset'> | $Enums.AssetStatus
transcodeTaskId?: Prisma.StringNullableFilter<'Asset'> | string | null
media?: Prisma.JsonNullableFilter<'Asset'>
isDeleted?: Prisma.BoolFilter<'Asset'> | boolean
deletedAt?: Prisma.DateTimeNullableFilter<'Asset'> | Date | string | null
sortIndex?: Prisma.StringNullableFilter<'Asset'> | string | null
createdAt?: Prisma.DateTimeFilter<'Asset'> | Date | string
updatedAt?: Prisma.DateTimeFilter<'Asset'> | Date | string
parentId?: Prisma.StringNullableFilter<'Asset'> | string | null
targetId?: Prisma.StringNullableFilter<'Asset'> | string | null
storageKeyId?: Prisma.StringNullableFilter<'Asset'> | string | null
creatorId?: Prisma.StringNullableFilter<'Asset'> | string | null
taskId?: Prisma.StringNullableFilter<'Asset'> | string | null
projectId?: Prisma.StringNullableFilter<'Asset'> | string | null
}
export type AssetCreateWithoutTeamRootFolderInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutTeamRootFolderInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutTeamRootFolderInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutTeamRootFolderInput,
Prisma.AssetUncheckedCreateWithoutTeamRootFolderInput
>
}
export type AssetUpsertWithoutTeamRootFolderInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutTeamRootFolderInput,
Prisma.AssetUncheckedUpdateWithoutTeamRootFolderInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutTeamRootFolderInput,
Prisma.AssetUncheckedCreateWithoutTeamRootFolderInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutTeamRootFolderInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutTeamRootFolderInput,
Prisma.AssetUncheckedUpdateWithoutTeamRootFolderInput
>
}
export type AssetUpdateWithoutTeamRootFolderInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutTeamRootFolderInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutProjectRootFolderInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutProjectRootFolderInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutProjectRootFolderInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutProjectRootFolderInput,
Prisma.AssetUncheckedCreateWithoutProjectRootFolderInput
>
}
export type AssetCreateWithoutProjectShareRootInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutProjectShareRootInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutProjectShareRootInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutProjectShareRootInput,
Prisma.AssetUncheckedCreateWithoutProjectShareRootInput
>
}
export type AssetCreateWithoutProjectInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutProjectInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutProjectInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutProjectInput,
Prisma.AssetUncheckedCreateWithoutProjectInput
>
}
export type AssetCreateManyProjectInputEnvelope = {
data: Prisma.AssetCreateManyProjectInput | Prisma.AssetCreateManyProjectInput[]
skipDuplicates?: boolean
}
export type AssetUpsertWithoutProjectRootFolderInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutProjectRootFolderInput,
Prisma.AssetUncheckedUpdateWithoutProjectRootFolderInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutProjectRootFolderInput,
Prisma.AssetUncheckedCreateWithoutProjectRootFolderInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutProjectRootFolderInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutProjectRootFolderInput,
Prisma.AssetUncheckedUpdateWithoutProjectRootFolderInput
>
}
export type AssetUpdateWithoutProjectRootFolderInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutProjectRootFolderInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUpsertWithoutProjectShareRootInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutProjectShareRootInput,
Prisma.AssetUncheckedUpdateWithoutProjectShareRootInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutProjectShareRootInput,
Prisma.AssetUncheckedCreateWithoutProjectShareRootInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutProjectShareRootInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutProjectShareRootInput,
Prisma.AssetUncheckedUpdateWithoutProjectShareRootInput
>
}
export type AssetUpdateWithoutProjectShareRootInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutProjectShareRootInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUpsertWithWhereUniqueWithoutProjectInput = {
where: Prisma.AssetWhereUniqueInput
update: Prisma.XOR<
Prisma.AssetUpdateWithoutProjectInput,
Prisma.AssetUncheckedUpdateWithoutProjectInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutProjectInput,
Prisma.AssetUncheckedCreateWithoutProjectInput
>
}
export type AssetUpdateWithWhereUniqueWithoutProjectInput = {
where: Prisma.AssetWhereUniqueInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutProjectInput,
Prisma.AssetUncheckedUpdateWithoutProjectInput
>
}
export type AssetUpdateManyWithWhereWithoutProjectInput = {
where: Prisma.AssetScalarWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateManyMutationInput,
Prisma.AssetUncheckedUpdateManyWithoutProjectInput
>
}
export type AssetCreateWithoutShareLinkRootFolderInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutShareLinkRootFolderInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutShareLinkRootFolderInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutShareLinkRootFolderInput,
Prisma.AssetUncheckedCreateWithoutShareLinkRootFolderInput
>
}
export type AssetUpsertWithoutShareLinkRootFolderInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutShareLinkRootFolderInput,
Prisma.AssetUncheckedUpdateWithoutShareLinkRootFolderInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutShareLinkRootFolderInput,
Prisma.AssetUncheckedCreateWithoutShareLinkRootFolderInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutShareLinkRootFolderInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutShareLinkRootFolderInput,
Prisma.AssetUncheckedUpdateWithoutShareLinkRootFolderInput
>
}
export type AssetUpdateWithoutShareLinkRootFolderInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutShareLinkRootFolderInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutChildrenInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutChildrenInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutChildrenInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutChildrenInput,
Prisma.AssetUncheckedCreateWithoutChildrenInput
>
}
export type AssetCreateWithoutParentInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutParentInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutParentInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutParentInput,
Prisma.AssetUncheckedCreateWithoutParentInput
>
}
export type AssetCreateManyParentInputEnvelope = {
data: Prisma.AssetCreateManyParentInput | Prisma.AssetCreateManyParentInput[]
skipDuplicates?: boolean
}
export type AssetCreateWithoutSymlinksInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutSymlinksInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutSymlinksInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutSymlinksInput,
Prisma.AssetUncheckedCreateWithoutSymlinksInput
>
}
export type AssetCreateWithoutTargetInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutTargetInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutTargetInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutTargetInput,
Prisma.AssetUncheckedCreateWithoutTargetInput
>
}
export type AssetCreateManyTargetInputEnvelope = {
data: Prisma.AssetCreateManyTargetInput | Prisma.AssetCreateManyTargetInput[]
skipDuplicates?: boolean
}
export type AssetUpsertWithoutChildrenInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutChildrenInput,
Prisma.AssetUncheckedUpdateWithoutChildrenInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutChildrenInput,
Prisma.AssetUncheckedCreateWithoutChildrenInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutChildrenInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutChildrenInput,
Prisma.AssetUncheckedUpdateWithoutChildrenInput
>
}
export type AssetUpdateWithoutChildrenInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutChildrenInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUpsertWithWhereUniqueWithoutParentInput = {
where: Prisma.AssetWhereUniqueInput
update: Prisma.XOR<
Prisma.AssetUpdateWithoutParentInput,
Prisma.AssetUncheckedUpdateWithoutParentInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutParentInput,
Prisma.AssetUncheckedCreateWithoutParentInput
>
}
export type AssetUpdateWithWhereUniqueWithoutParentInput = {
where: Prisma.AssetWhereUniqueInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutParentInput,
Prisma.AssetUncheckedUpdateWithoutParentInput
>
}
export type AssetUpdateManyWithWhereWithoutParentInput = {
where: Prisma.AssetScalarWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateManyMutationInput,
Prisma.AssetUncheckedUpdateManyWithoutParentInput
>
}
export type AssetUpsertWithoutSymlinksInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutSymlinksInput,
Prisma.AssetUncheckedUpdateWithoutSymlinksInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutSymlinksInput,
Prisma.AssetUncheckedCreateWithoutSymlinksInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutSymlinksInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutSymlinksInput,
Prisma.AssetUncheckedUpdateWithoutSymlinksInput
>
}
export type AssetUpdateWithoutSymlinksInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutSymlinksInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUpsertWithWhereUniqueWithoutTargetInput = {
where: Prisma.AssetWhereUniqueInput
update: Prisma.XOR<
Prisma.AssetUpdateWithoutTargetInput,
Prisma.AssetUncheckedUpdateWithoutTargetInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutTargetInput,
Prisma.AssetUncheckedCreateWithoutTargetInput
>
}
export type AssetUpdateWithWhereUniqueWithoutTargetInput = {
where: Prisma.AssetWhereUniqueInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutTargetInput,
Prisma.AssetUncheckedUpdateWithoutTargetInput
>
}
export type AssetUpdateManyWithWhereWithoutTargetInput = {
where: Prisma.AssetScalarWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateManyMutationInput,
Prisma.AssetUncheckedUpdateManyWithoutTargetInput
>
}
export type AssetCreateWithoutStorageKeyInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutStorageKeyInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutStorageKeyInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutStorageKeyInput,
Prisma.AssetUncheckedCreateWithoutStorageKeyInput
>
}
export type AssetCreateManyStorageKeyInputEnvelope = {
data: Prisma.AssetCreateManyStorageKeyInput | Prisma.AssetCreateManyStorageKeyInput[]
skipDuplicates?: boolean
}
export type AssetUpsertWithWhereUniqueWithoutStorageKeyInput = {
where: Prisma.AssetWhereUniqueInput
update: Prisma.XOR<
Prisma.AssetUpdateWithoutStorageKeyInput,
Prisma.AssetUncheckedUpdateWithoutStorageKeyInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutStorageKeyInput,
Prisma.AssetUncheckedCreateWithoutStorageKeyInput
>
}
export type AssetUpdateWithWhereUniqueWithoutStorageKeyInput = {
where: Prisma.AssetWhereUniqueInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutStorageKeyInput,
Prisma.AssetUncheckedUpdateWithoutStorageKeyInput
>
}
export type AssetUpdateManyWithWhereWithoutStorageKeyInput = {
where: Prisma.AssetScalarWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateManyMutationInput,
Prisma.AssetUncheckedUpdateManyWithoutStorageKeyInput
>
}
export type AssetCreateWithoutMetadataValuesInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutMetadataValuesInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutMetadataValuesInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutMetadataValuesInput,
Prisma.AssetUncheckedCreateWithoutMetadataValuesInput
>
}
export type AssetUpsertWithoutMetadataValuesInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutMetadataValuesInput,
Prisma.AssetUncheckedUpdateWithoutMetadataValuesInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutMetadataValuesInput,
Prisma.AssetUncheckedCreateWithoutMetadataValuesInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutMetadataValuesInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutMetadataValuesInput,
Prisma.AssetUncheckedUpdateWithoutMetadataValuesInput
>
}
export type AssetUpdateWithoutMetadataValuesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutMetadataValuesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutCommentsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutCommentsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutCommentsInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutCommentsInput,
Prisma.AssetUncheckedCreateWithoutCommentsInput
>
}
export type AssetUpsertWithoutCommentsInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutCommentsInput,
Prisma.AssetUncheckedUpdateWithoutCommentsInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutCommentsInput,
Prisma.AssetUncheckedCreateWithoutCommentsInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutCommentsInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutCommentsInput,
Prisma.AssetUncheckedUpdateWithoutCommentsInput
>
}
export type AssetUpdateWithoutCommentsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutCommentsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutCommentAttachmentsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutCommentAttachmentsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutCommentAttachmentsInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutCommentAttachmentsInput,
Prisma.AssetUncheckedCreateWithoutCommentAttachmentsInput
>
}
export type AssetUpsertWithoutCommentAttachmentsInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutCommentAttachmentsInput,
Prisma.AssetUncheckedUpdateWithoutCommentAttachmentsInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutCommentAttachmentsInput,
Prisma.AssetUncheckedCreateWithoutCommentAttachmentsInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutCommentAttachmentsInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutCommentAttachmentsInput,
Prisma.AssetUncheckedUpdateWithoutCommentAttachmentsInput
>
}
export type AssetUpdateWithoutCommentAttachmentsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutCommentAttachmentsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutEmbeddingsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutEmbeddingsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutEmbeddingsInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutEmbeddingsInput,
Prisma.AssetUncheckedCreateWithoutEmbeddingsInput
>
}
export type AssetUpsertWithoutEmbeddingsInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutEmbeddingsInput,
Prisma.AssetUncheckedUpdateWithoutEmbeddingsInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutEmbeddingsInput,
Prisma.AssetUncheckedCreateWithoutEmbeddingsInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutEmbeddingsInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutEmbeddingsInput,
Prisma.AssetUncheckedUpdateWithoutEmbeddingsInput
>
}
export type AssetUpdateWithoutEmbeddingsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutEmbeddingsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutNotificationsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutNotificationsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutNotificationsInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutNotificationsInput,
Prisma.AssetUncheckedCreateWithoutNotificationsInput
>
}
export type AssetUpsertWithoutNotificationsInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutNotificationsInput,
Prisma.AssetUncheckedUpdateWithoutNotificationsInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutNotificationsInput,
Prisma.AssetUncheckedCreateWithoutNotificationsInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutNotificationsInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutNotificationsInput,
Prisma.AssetUncheckedUpdateWithoutNotificationsInput
>
}
export type AssetUpdateWithoutNotificationsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutNotificationsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutTaskInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutTaskInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutTaskInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutTaskInput,
Prisma.AssetUncheckedCreateWithoutTaskInput
>
}
export type AssetCreateManyTaskInputEnvelope = {
data: Prisma.AssetCreateManyTaskInput | Prisma.AssetCreateManyTaskInput[]
skipDuplicates?: boolean
}
export type AssetUpsertWithWhereUniqueWithoutTaskInput = {
where: Prisma.AssetWhereUniqueInput
update: Prisma.XOR<
Prisma.AssetUpdateWithoutTaskInput,
Prisma.AssetUncheckedUpdateWithoutTaskInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutTaskInput,
Prisma.AssetUncheckedCreateWithoutTaskInput
>
}
export type AssetUpdateWithWhereUniqueWithoutTaskInput = {
where: Prisma.AssetWhereUniqueInput
data: Prisma.XOR<Prisma.AssetUpdateWithoutTaskInput, Prisma.AssetUncheckedUpdateWithoutTaskInput>
}
export type AssetUpdateManyWithWhereWithoutTaskInput = {
where: Prisma.AssetScalarWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateManyMutationInput,
Prisma.AssetUncheckedUpdateManyWithoutTaskInput
>
}
export type AssetCreateWithoutAgentSessionsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput
children?: Prisma.AssetCreateNestedManyWithoutParentInput
target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput
symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput
storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput
metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput
creator?: Prisma.UserCreateNestedOneWithoutAssetsInput
task?: Prisma.TaskCreateNestedOneWithoutAssetsInput
project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
}
export type AssetUncheckedCreateWithoutAgentSessionsInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput
symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput
metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput
embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
}
export type AssetCreateOrConnectWithoutAgentSessionsInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<
Prisma.AssetCreateWithoutAgentSessionsInput,
Prisma.AssetUncheckedCreateWithoutAgentSessionsInput
>
}
export type AssetUpsertWithoutAgentSessionsInput = {
update: Prisma.XOR<
Prisma.AssetUpdateWithoutAgentSessionsInput,
Prisma.AssetUncheckedUpdateWithoutAgentSessionsInput
>
create: Prisma.XOR<
Prisma.AssetCreateWithoutAgentSessionsInput,
Prisma.AssetUncheckedCreateWithoutAgentSessionsInput
>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutAgentSessionsInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<
Prisma.AssetUpdateWithoutAgentSessionsInput,
Prisma.AssetUncheckedUpdateWithoutAgentSessionsInput
>
}
export type AssetUpdateWithoutAgentSessionsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
}
export type AssetUncheckedUpdateWithoutAgentSessionsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
}
export type AssetCreateManyCreatorInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
taskId?: string | null
projectId?: string | null
}
export type AssetUpdateWithoutCreatorInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutCreatorInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutCreatorInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AssetCreateManyProjectInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
}
export type AssetUpdateWithoutProjectInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutProjectInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutProjectInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AssetCreateManyParentInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
}
export type AssetCreateManyTargetInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
storageKeyId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
}
export type AssetUpdateWithoutParentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutParentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutParentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AssetUpdateWithoutTargetInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutTargetInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutTargetInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AssetCreateManyStorageKeyInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
creatorId?: string | null
taskId?: string | null
projectId?: string | null
}
export type AssetUpdateWithoutStorageKeyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutStorageKeyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutStorageKeyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AssetCreateManyTaskInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: number
status: $Enums.AssetStatus
transcodeTaskId?: string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: boolean
deletedAt?: Date | string | null
sortIndex?: string | null
createdAt?: Date | string
updatedAt?: Date | string
parentId?: string | null
targetId?: string | null
storageKeyId?: string | null
creatorId?: string | null
projectId?: string | null
}
export type AssetUpdateWithoutTaskInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput
children?: Prisma.AssetUpdateManyWithoutParentNestedInput
target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput
symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput
storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput
metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput
creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput
project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutTaskInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput
symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput
metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput
commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput
embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutTaskInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
nameNgram?: Prisma.AssetUpdatenameNgramInput | string[]
type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType
mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fileCount?: Prisma.IntFieldUpdateOperationsInput | number
sizeByte?: Prisma.IntFieldUpdateOperationsInput | number
status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus
transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
media?: PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
/**
* Count Type AssetCountOutputType
*/
export type AssetCountOutputType = {
children: number
symlinks: number
metadataValues: number
comments: number
commentAttachments: number
notifications: number
embeddings: number
agentSessions: number
}
export type AssetCountOutputTypeSelect<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
children?: boolean | AssetCountOutputTypeCountChildrenArgs
symlinks?: boolean | AssetCountOutputTypeCountSymlinksArgs
metadataValues?: boolean | AssetCountOutputTypeCountMetadataValuesArgs
comments?: boolean | AssetCountOutputTypeCountCommentsArgs
commentAttachments?: boolean | AssetCountOutputTypeCountCommentAttachmentsArgs
notifications?: boolean | AssetCountOutputTypeCountNotificationsArgs
embeddings?: boolean | AssetCountOutputTypeCountEmbeddingsArgs
agentSessions?: boolean | AssetCountOutputTypeCountAgentSessionsArgs
}
/**
* AssetCountOutputType without action
*/
export type AssetCountOutputTypeDefaultArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the AssetCountOutputType
*/
select?: Prisma.AssetCountOutputTypeSelect<ExtArgs> | null
}
/**
* AssetCountOutputType without action
*/
export type AssetCountOutputTypeCountChildrenArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
where?: Prisma.AssetWhereInput
}
/**
* AssetCountOutputType without action
*/
export type AssetCountOutputTypeCountSymlinksArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
where?: Prisma.AssetWhereInput
}
/**
* AssetCountOutputType without action
*/
export type AssetCountOutputTypeCountMetadataValuesArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
where?: Prisma.AssetMetadataValueWhereInput
}
/**
* AssetCountOutputType without action
*/
export type AssetCountOutputTypeCountCommentsArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
where?: Prisma.AssetCommentWhereInput
}
/**
* AssetCountOutputType without action
*/
export type AssetCountOutputTypeCountCommentAttachmentsArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
where?: Prisma.AssetCommentAttachmentWhereInput
}
/**
* AssetCountOutputType without action
*/
export type AssetCountOutputTypeCountNotificationsArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
where?: Prisma.NotificationWhereInput
}
/**
* AssetCountOutputType without action
*/
export type AssetCountOutputTypeCountEmbeddingsArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
where?: Prisma.AssetEmbeddingWhereInput
}
/**
* AssetCountOutputType without action
*/
export type AssetCountOutputTypeCountAgentSessionsArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
where?: Prisma.AgentSessionWhereInput
}
export type AssetSelect<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = runtime.Types.Extensions.GetSelect<
{
id?: boolean
name?: boolean
nameNgram?: boolean
type?: boolean
mediaType?: boolean
fileCount?: boolean
sizeByte?: boolean
status?: boolean
transcodeTaskId?: boolean
media?: boolean
isDeleted?: boolean
deletedAt?: boolean
sortIndex?: boolean
createdAt?: boolean
updatedAt?: boolean
parentId?: boolean
targetId?: boolean
storageKeyId?: boolean
creatorId?: boolean
taskId?: boolean
projectId?: boolean
parent?: boolean | Prisma.Asset$parentArgs<ExtArgs>
children?: boolean | Prisma.Asset$childrenArgs<ExtArgs>
target?: boolean | Prisma.Asset$targetArgs<ExtArgs>
symlinks?: boolean | Prisma.Asset$symlinksArgs<ExtArgs>
storageKey?: boolean | Prisma.Asset$storageKeyArgs<ExtArgs>
metadataValues?: boolean | Prisma.Asset$metadataValuesArgs<ExtArgs>
creator?: boolean | Prisma.Asset$creatorArgs<ExtArgs>
task?: boolean | Prisma.Asset$taskArgs<ExtArgs>
project?: boolean | Prisma.Asset$projectArgs<ExtArgs>
comments?: boolean | Prisma.Asset$commentsArgs<ExtArgs>
commentAttachments?: boolean | Prisma.Asset$commentAttachmentsArgs<ExtArgs>
notifications?: boolean | Prisma.Asset$notificationsArgs<ExtArgs>
embeddings?: boolean | Prisma.Asset$embeddingsArgs<ExtArgs>
teamRootFolder?: boolean | Prisma.Asset$teamRootFolderArgs<ExtArgs>
projectRootFolder?: boolean | Prisma.Asset$projectRootFolderArgs<ExtArgs>
projectShareRoot?: boolean | Prisma.Asset$projectShareRootArgs<ExtArgs>
shareLinkRootFolder?: boolean | Prisma.Asset$shareLinkRootFolderArgs<ExtArgs>
agentSessions?: boolean | Prisma.Asset$agentSessionsArgs<ExtArgs>
_count?: boolean | Prisma.AssetCountOutputTypeDefaultArgs<ExtArgs>
},
ExtArgs['result']['asset']
>
export type AssetSelectCreateManyAndReturn<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = runtime.Types.Extensions.GetSelect<
{
id?: boolean
name?: boolean
nameNgram?: boolean
type?: boolean
mediaType?: boolean
fileCount?: boolean
sizeByte?: boolean
status?: boolean
transcodeTaskId?: boolean
media?: boolean
isDeleted?: boolean
deletedAt?: boolean
sortIndex?: boolean
createdAt?: boolean
updatedAt?: boolean
parentId?: boolean
targetId?: boolean
storageKeyId?: boolean
creatorId?: boolean
taskId?: boolean
projectId?: boolean
parent?: boolean | Prisma.Asset$parentArgs<ExtArgs>
target?: boolean | Prisma.Asset$targetArgs<ExtArgs>
storageKey?: boolean | Prisma.Asset$storageKeyArgs<ExtArgs>
creator?: boolean | Prisma.Asset$creatorArgs<ExtArgs>
task?: boolean | Prisma.Asset$taskArgs<ExtArgs>
project?: boolean | Prisma.Asset$projectArgs<ExtArgs>
},
ExtArgs['result']['asset']
>
export type AssetSelectUpdateManyAndReturn<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = runtime.Types.Extensions.GetSelect<
{
id?: boolean
name?: boolean
nameNgram?: boolean
type?: boolean
mediaType?: boolean
fileCount?: boolean
sizeByte?: boolean
status?: boolean
transcodeTaskId?: boolean
media?: boolean
isDeleted?: boolean
deletedAt?: boolean
sortIndex?: boolean
createdAt?: boolean
updatedAt?: boolean
parentId?: boolean
targetId?: boolean
storageKeyId?: boolean
creatorId?: boolean
taskId?: boolean
projectId?: boolean
parent?: boolean | Prisma.Asset$parentArgs<ExtArgs>
target?: boolean | Prisma.Asset$targetArgs<ExtArgs>
storageKey?: boolean | Prisma.Asset$storageKeyArgs<ExtArgs>
creator?: boolean | Prisma.Asset$creatorArgs<ExtArgs>
task?: boolean | Prisma.Asset$taskArgs<ExtArgs>
project?: boolean | Prisma.Asset$projectArgs<ExtArgs>
},
ExtArgs['result']['asset']
>
export type AssetSelectScalar = {
id?: boolean
name?: boolean
nameNgram?: boolean
type?: boolean
mediaType?: boolean
fileCount?: boolean
sizeByte?: boolean
status?: boolean
transcodeTaskId?: boolean
media?: boolean
isDeleted?: boolean
deletedAt?: boolean
sortIndex?: boolean
createdAt?: boolean
updatedAt?: boolean
parentId?: boolean
targetId?: boolean
storageKeyId?: boolean
creatorId?: boolean
taskId?: boolean
projectId?: boolean
}
export type AssetOmit<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = runtime.Types.Extensions.GetOmit<
| 'id'
| 'name'
| 'nameNgram'
| 'type'
| 'mediaType'
| 'fileCount'
| 'sizeByte'
| 'status'
| 'transcodeTaskId'
| 'media'
| 'isDeleted'
| 'deletedAt'
| 'sortIndex'
| 'createdAt'
| 'updatedAt'
| 'parentId'
| 'targetId'
| 'storageKeyId'
| 'creatorId'
| 'taskId'
| 'projectId',
ExtArgs['result']['asset']
>
export type AssetInclude<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
parent?: boolean | Prisma.Asset$parentArgs<ExtArgs>
children?: boolean | Prisma.Asset$childrenArgs<ExtArgs>
target?: boolean | Prisma.Asset$targetArgs<ExtArgs>
symlinks?: boolean | Prisma.Asset$symlinksArgs<ExtArgs>
storageKey?: boolean | Prisma.Asset$storageKeyArgs<ExtArgs>
metadataValues?: boolean | Prisma.Asset$metadataValuesArgs<ExtArgs>
creator?: boolean | Prisma.Asset$creatorArgs<ExtArgs>
task?: boolean | Prisma.Asset$taskArgs<ExtArgs>
project?: boolean | Prisma.Asset$projectArgs<ExtArgs>
comments?: boolean | Prisma.Asset$commentsArgs<ExtArgs>
commentAttachments?: boolean | Prisma.Asset$commentAttachmentsArgs<ExtArgs>
notifications?: boolean | Prisma.Asset$notificationsArgs<ExtArgs>
embeddings?: boolean | Prisma.Asset$embeddingsArgs<ExtArgs>
teamRootFolder?: boolean | Prisma.Asset$teamRootFolderArgs<ExtArgs>
projectRootFolder?: boolean | Prisma.Asset$projectRootFolderArgs<ExtArgs>
projectShareRoot?: boolean | Prisma.Asset$projectShareRootArgs<ExtArgs>
shareLinkRootFolder?: boolean | Prisma.Asset$shareLinkRootFolderArgs<ExtArgs>
agentSessions?: boolean | Prisma.Asset$agentSessionsArgs<ExtArgs>
_count?: boolean | Prisma.AssetCountOutputTypeDefaultArgs<ExtArgs>
}
export type AssetIncludeCreateManyAndReturn<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
parent?: boolean | Prisma.Asset$parentArgs<ExtArgs>
target?: boolean | Prisma.Asset$targetArgs<ExtArgs>
storageKey?: boolean | Prisma.Asset$storageKeyArgs<ExtArgs>
creator?: boolean | Prisma.Asset$creatorArgs<ExtArgs>
task?: boolean | Prisma.Asset$taskArgs<ExtArgs>
project?: boolean | Prisma.Asset$projectArgs<ExtArgs>
}
export type AssetIncludeUpdateManyAndReturn<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
parent?: boolean | Prisma.Asset$parentArgs<ExtArgs>
target?: boolean | Prisma.Asset$targetArgs<ExtArgs>
storageKey?: boolean | Prisma.Asset$storageKeyArgs<ExtArgs>
creator?: boolean | Prisma.Asset$creatorArgs<ExtArgs>
task?: boolean | Prisma.Asset$taskArgs<ExtArgs>
project?: boolean | Prisma.Asset$projectArgs<ExtArgs>
}
export type $AssetPayload<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
name: 'Asset'
objects: {
parent: Prisma.$AssetPayload<ExtArgs> | null
children: Prisma.$AssetPayload<ExtArgs>[]
target: Prisma.$AssetPayload<ExtArgs> | null
symlinks: Prisma.$AssetPayload<ExtArgs>[]
storageKey: Prisma.$StorageKeyPayload<ExtArgs> | null
metadataValues: Prisma.$AssetMetadataValuePayload<ExtArgs>[]
creator: Prisma.$UserPayload<ExtArgs> | null
task: Prisma.$TaskPayload<ExtArgs> | null
project: Prisma.$ProjectPayload<ExtArgs> | null
comments: Prisma.$AssetCommentPayload<ExtArgs>[]
commentAttachments: Prisma.$AssetCommentAttachmentPayload<ExtArgs>[]
notifications: Prisma.$NotificationPayload<ExtArgs>[]
embeddings: Prisma.$AssetEmbeddingPayload<ExtArgs>[]
teamRootFolder: Prisma.$TeamPayload<ExtArgs> | null
projectRootFolder: Prisma.$ProjectPayload<ExtArgs> | null
projectShareRoot: Prisma.$ProjectPayload<ExtArgs> | null
shareLinkRootFolder: Prisma.$ShareLinkPayload<ExtArgs> | null
agentSessions: Prisma.$AgentSessionPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<
{
id: string
name: string
nameNgram: string[]
type: $Enums.AssetType
mediaType: string | null
fileCount: number
sizeByte: number
status: $Enums.AssetStatus
transcodeTaskId: string | null
/**
* [MediaInfo]
*/
media: PrismaJson.MediaInfo | null
isDeleted: boolean
deletedAt: Date | null
sortIndex: string | null
createdAt: Date
updatedAt: Date
parentId: string | null
targetId: string | null
storageKeyId: string | null
creatorId: string | null
taskId: string | null
projectId: string | null
},
ExtArgs['result']['asset']
>
composites: {}
}
export type AssetGetPayload<S extends boolean | null | undefined | AssetDefaultArgs> =
runtime.Types.Result.GetResult<Prisma.$AssetPayload, S>
export type AssetCountArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = Omit<AssetFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AssetCountAggregateInputType | true
}
export interface AssetDelegate<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
GlobalOmitOptions = {},
> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Asset']; meta: { name: 'Asset' } }
/**
* Find zero or one Asset that matches the filter.
* @param {AssetFindUniqueArgs} args - Arguments to find a Asset
* @example
* // Get one Asset
* const asset = await prisma.asset.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AssetFindUniqueArgs>(
args: Prisma.SelectSubset<T, AssetFindUniqueArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'findUnique',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
/**
* Find one Asset that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AssetFindUniqueOrThrowArgs} args - Arguments to find a Asset
* @example
* // Get one Asset
* const asset = await prisma.asset.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AssetFindUniqueOrThrowArgs>(
args: Prisma.SelectSubset<T, AssetFindUniqueOrThrowArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
>,
never,
ExtArgs,
GlobalOmitOptions
>
/**
* Find the first Asset 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 {AssetFindFirstArgs} args - Arguments to find a Asset
* @example
* // Get one Asset
* const asset = await prisma.asset.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AssetFindFirstArgs>(
args?: Prisma.SelectSubset<T, AssetFindFirstArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'findFirst',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
/**
* Find the first Asset 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 {AssetFindFirstOrThrowArgs} args - Arguments to find a Asset
* @example
* // Get one Asset
* const asset = await prisma.asset.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AssetFindFirstOrThrowArgs>(
args?: Prisma.SelectSubset<T, AssetFindFirstOrThrowArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'findFirstOrThrow',
GlobalOmitOptions
>,
never,
ExtArgs,
GlobalOmitOptions
>
/**
* Find zero or more Assets 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 {AssetFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Assets
* const assets = await prisma.asset.findMany()
*
* // Get first 10 Assets
* const assets = await prisma.asset.findMany({ take: 10 })
*
* // Only select the `id`
* const assetWithIdOnly = await prisma.asset.findMany({ select: { id: true } })
*
*/
findMany<T extends AssetFindManyArgs>(
args?: Prisma.SelectSubset<T, AssetFindManyArgs<ExtArgs>>,
): Prisma.PrismaPromise<
runtime.Types.Result.GetResult<Prisma.$AssetPayload<ExtArgs>, T, 'findMany', GlobalOmitOptions>
>
/**
* Create a Asset.
* @param {AssetCreateArgs} args - Arguments to create a Asset.
* @example
* // Create one Asset
* const Asset = await prisma.asset.create({
* data: {
* // ... data to create a Asset
* }
* })
*
*/
create<T extends AssetCreateArgs>(
args: Prisma.SelectSubset<T, AssetCreateArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<Prisma.$AssetPayload<ExtArgs>, T, 'create', GlobalOmitOptions>,
never,
ExtArgs,
GlobalOmitOptions
>
/**
* Create many Assets.
* @param {AssetCreateManyArgs} args - Arguments to create many Assets.
* @example
* // Create many Assets
* const asset = await prisma.asset.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AssetCreateManyArgs>(
args?: Prisma.SelectSubset<T, AssetCreateManyArgs<ExtArgs>>,
): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Assets and returns the data saved in the database.
* @param {AssetCreateManyAndReturnArgs} args - Arguments to create many Assets.
* @example
* // Create many Assets
* const asset = await prisma.asset.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Assets and only return the `id`
* const assetWithIdOnly = await prisma.asset.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 AssetCreateManyAndReturnArgs>(
args?: Prisma.SelectSubset<T, AssetCreateManyAndReturnArgs<ExtArgs>>,
): Prisma.PrismaPromise<
runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'createManyAndReturn',
GlobalOmitOptions
>
>
/**
* Delete a Asset.
* @param {AssetDeleteArgs} args - Arguments to delete one Asset.
* @example
* // Delete one Asset
* const Asset = await prisma.asset.delete({
* where: {
* // ... filter to delete one Asset
* }
* })
*
*/
delete<T extends AssetDeleteArgs>(
args: Prisma.SelectSubset<T, AssetDeleteArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<Prisma.$AssetPayload<ExtArgs>, T, 'delete', GlobalOmitOptions>,
never,
ExtArgs,
GlobalOmitOptions
>
/**
* Update one Asset.
* @param {AssetUpdateArgs} args - Arguments to update one Asset.
* @example
* // Update one Asset
* const asset = await prisma.asset.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AssetUpdateArgs>(
args: Prisma.SelectSubset<T, AssetUpdateArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<Prisma.$AssetPayload<ExtArgs>, T, 'update', GlobalOmitOptions>,
never,
ExtArgs,
GlobalOmitOptions
>
/**
* Delete zero or more Assets.
* @param {AssetDeleteManyArgs} args - Arguments to filter Assets to delete.
* @example
* // Delete a few Assets
* const { count } = await prisma.asset.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AssetDeleteManyArgs>(
args?: Prisma.SelectSubset<T, AssetDeleteManyArgs<ExtArgs>>,
): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Assets.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AssetUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Assets
* const asset = await prisma.asset.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AssetUpdateManyArgs>(
args: Prisma.SelectSubset<T, AssetUpdateManyArgs<ExtArgs>>,
): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Assets and returns the data updated in the database.
* @param {AssetUpdateManyAndReturnArgs} args - Arguments to update many Assets.
* @example
* // Update many Assets
* const asset = await prisma.asset.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Assets and only return the `id`
* const assetWithIdOnly = await prisma.asset.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 AssetUpdateManyAndReturnArgs>(
args: Prisma.SelectSubset<T, AssetUpdateManyAndReturnArgs<ExtArgs>>,
): Prisma.PrismaPromise<
runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'updateManyAndReturn',
GlobalOmitOptions
>
>
/**
* Create or update one Asset.
* @param {AssetUpsertArgs} args - Arguments to update or create a Asset.
* @example
* // Update or create a Asset
* const asset = await prisma.asset.upsert({
* create: {
* // ... data to create a Asset
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Asset we want to update
* }
* })
*/
upsert<T extends AssetUpsertArgs>(
args: Prisma.SelectSubset<T, AssetUpsertArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<Prisma.$AssetPayload<ExtArgs>, T, 'upsert', GlobalOmitOptions>,
never,
ExtArgs,
GlobalOmitOptions
>
/**
* Count the number of Assets.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AssetCountArgs} args - Arguments to filter Assets to count.
* @example
* // Count the number of Assets
* const count = await prisma.asset.count({
* where: {
* // ... the filter for the Assets we want to count
* }
* })
**/
count<T extends AssetCountArgs>(
args?: Prisma.Subset<T, AssetCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AssetCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Asset.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AssetAggregateArgs} 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 AssetAggregateArgs>(
args: Prisma.Subset<T, AssetAggregateArgs>,
): Prisma.PrismaPromise<GetAssetAggregateType<T>>
/**
* Group by Asset.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AssetGroupByArgs} 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 AssetGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AssetGroupByArgs['orderBy'] }
: { orderBy?: AssetGroupByArgs['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, AssetGroupByArgs, OrderByArg> & InputErrors,
): {} extends InputErrors ? GetAssetGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the Asset model
*/
readonly fields: AssetFieldRefs
}
/**
* The delegate class that acts as a "Promise-like" for Asset.
* 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__AssetClient<
T,
Null = never,
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
GlobalOmitOptions = {},
> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: 'PrismaPromise'
parent<T extends Prisma.Asset$parentArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$parentArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
children<T extends Prisma.Asset$childrenArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$childrenArgs<ExtArgs>>,
): Prisma.PrismaPromise<
| runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'findMany',
GlobalOmitOptions
>
| Null
>
target<T extends Prisma.Asset$targetArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$targetArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
symlinks<T extends Prisma.Asset$symlinksArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$symlinksArgs<ExtArgs>>,
): Prisma.PrismaPromise<
| runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'findMany',
GlobalOmitOptions
>
| Null
>
storageKey<T extends Prisma.Asset$storageKeyArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$storageKeyArgs<ExtArgs>>,
): Prisma.Prisma__StorageKeyClient<
runtime.Types.Result.GetResult<
Prisma.$StorageKeyPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
metadataValues<T extends Prisma.Asset$metadataValuesArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$metadataValuesArgs<ExtArgs>>,
): Prisma.PrismaPromise<
| runtime.Types.Result.GetResult<
Prisma.$AssetMetadataValuePayload<ExtArgs>,
T,
'findMany',
GlobalOmitOptions
>
| Null
>
creator<T extends Prisma.Asset$creatorArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$creatorArgs<ExtArgs>>,
): Prisma.Prisma__UserClient<
runtime.Types.Result.GetResult<
Prisma.$UserPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
task<T extends Prisma.Asset$taskArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$taskArgs<ExtArgs>>,
): Prisma.Prisma__TaskClient<
runtime.Types.Result.GetResult<
Prisma.$TaskPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
project<T extends Prisma.Asset$projectArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$projectArgs<ExtArgs>>,
): Prisma.Prisma__ProjectClient<
runtime.Types.Result.GetResult<
Prisma.$ProjectPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
comments<T extends Prisma.Asset$commentsArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$commentsArgs<ExtArgs>>,
): Prisma.PrismaPromise<
| runtime.Types.Result.GetResult<
Prisma.$AssetCommentPayload<ExtArgs>,
T,
'findMany',
GlobalOmitOptions
>
| Null
>
commentAttachments<T extends Prisma.Asset$commentAttachmentsArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$commentAttachmentsArgs<ExtArgs>>,
): Prisma.PrismaPromise<
| runtime.Types.Result.GetResult<
Prisma.$AssetCommentAttachmentPayload<ExtArgs>,
T,
'findMany',
GlobalOmitOptions
>
| Null
>
notifications<T extends Prisma.Asset$notificationsArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$notificationsArgs<ExtArgs>>,
): Prisma.PrismaPromise<
| runtime.Types.Result.GetResult<
Prisma.$NotificationPayload<ExtArgs>,
T,
'findMany',
GlobalOmitOptions
>
| Null
>
embeddings<T extends Prisma.Asset$embeddingsArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$embeddingsArgs<ExtArgs>>,
): Prisma.PrismaPromise<
| runtime.Types.Result.GetResult<
Prisma.$AssetEmbeddingPayload<ExtArgs>,
T,
'findMany',
GlobalOmitOptions
>
| Null
>
teamRootFolder<T extends Prisma.Asset$teamRootFolderArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$teamRootFolderArgs<ExtArgs>>,
): Prisma.Prisma__TeamClient<
runtime.Types.Result.GetResult<
Prisma.$TeamPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
projectRootFolder<T extends Prisma.Asset$projectRootFolderArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$projectRootFolderArgs<ExtArgs>>,
): Prisma.Prisma__ProjectClient<
runtime.Types.Result.GetResult<
Prisma.$ProjectPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
projectShareRoot<T extends Prisma.Asset$projectShareRootArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$projectShareRootArgs<ExtArgs>>,
): Prisma.Prisma__ProjectClient<
runtime.Types.Result.GetResult<
Prisma.$ProjectPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
shareLinkRootFolder<T extends Prisma.Asset$shareLinkRootFolderArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$shareLinkRootFolderArgs<ExtArgs>>,
): Prisma.Prisma__ShareLinkClient<
runtime.Types.Result.GetResult<
Prisma.$ShareLinkPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
agentSessions<T extends Prisma.Asset$agentSessionsArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.Asset$agentSessionsArgs<ExtArgs>>,
): Prisma.PrismaPromise<
| runtime.Types.Result.GetResult<
Prisma.$AgentSessionPayload<ExtArgs>,
T,
'findMany',
GlobalOmitOptions
>
| Null
>
/**
* 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 Asset model
*/
export interface AssetFieldRefs {
readonly id: Prisma.FieldRef<'Asset', 'String'>
readonly name: Prisma.FieldRef<'Asset', 'String'>
readonly nameNgram: Prisma.FieldRef<'Asset', 'String[]'>
readonly type: Prisma.FieldRef<'Asset', 'AssetType'>
readonly mediaType: Prisma.FieldRef<'Asset', 'String'>
readonly fileCount: Prisma.FieldRef<'Asset', 'Int'>
readonly sizeByte: Prisma.FieldRef<'Asset', 'Int'>
readonly status: Prisma.FieldRef<'Asset', 'AssetStatus'>
readonly transcodeTaskId: Prisma.FieldRef<'Asset', 'String'>
readonly media: Prisma.FieldRef<'Asset', 'Json'>
readonly isDeleted: Prisma.FieldRef<'Asset', 'Boolean'>
readonly deletedAt: Prisma.FieldRef<'Asset', 'DateTime'>
readonly sortIndex: Prisma.FieldRef<'Asset', 'String'>
readonly createdAt: Prisma.FieldRef<'Asset', 'DateTime'>
readonly updatedAt: Prisma.FieldRef<'Asset', 'DateTime'>
readonly parentId: Prisma.FieldRef<'Asset', 'String'>
readonly targetId: Prisma.FieldRef<'Asset', 'String'>
readonly storageKeyId: Prisma.FieldRef<'Asset', 'String'>
readonly creatorId: Prisma.FieldRef<'Asset', 'String'>
readonly taskId: Prisma.FieldRef<'Asset', 'String'>
readonly projectId: Prisma.FieldRef<'Asset', 'String'>
}
// Custom InputTypes
/**
* Asset findUnique
*/
export type AssetFindUniqueArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
/**
* Filter, which Asset to fetch.
*/
where: Prisma.AssetWhereUniqueInput
}
/**
* Asset findUniqueOrThrow
*/
export type AssetFindUniqueOrThrowArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
/**
* Filter, which Asset to fetch.
*/
where: Prisma.AssetWhereUniqueInput
}
/**
* Asset findFirst
*/
export type AssetFindFirstArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
/**
* Filter, which Asset to fetch.
*/
where?: Prisma.AssetWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Assets to fetch.
*/
orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Assets.
*/
cursor?: Prisma.AssetWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Assets 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` Assets.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Assets.
*/
distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[]
}
/**
* Asset findFirstOrThrow
*/
export type AssetFindFirstOrThrowArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
/**
* Filter, which Asset to fetch.
*/
where?: Prisma.AssetWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Assets to fetch.
*/
orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Assets.
*/
cursor?: Prisma.AssetWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Assets 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` Assets.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Assets.
*/
distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[]
}
/**
* Asset findMany
*/
export type AssetFindManyArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
/**
* Filter, which Assets to fetch.
*/
where?: Prisma.AssetWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Assets to fetch.
*/
orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing Assets.
*/
cursor?: Prisma.AssetWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Assets 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` Assets.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Assets.
*/
distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[]
}
/**
* Asset create
*/
export type AssetCreateArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
/**
* The data needed to create a Asset.
*/
data: Prisma.XOR<Prisma.AssetCreateInput, Prisma.AssetUncheckedCreateInput>
}
/**
* Asset createMany
*/
export type AssetCreateManyArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* The data used to create many Assets.
*/
data: Prisma.AssetCreateManyInput | Prisma.AssetCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Asset createManyAndReturn
*/
export type AssetCreateManyAndReturnArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* The data used to create many Assets.
*/
data: Prisma.AssetCreateManyInput | Prisma.AssetCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* Asset update
*/
export type AssetUpdateArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
/**
* The data needed to update a Asset.
*/
data: Prisma.XOR<Prisma.AssetUpdateInput, Prisma.AssetUncheckedUpdateInput>
/**
* Choose, which Asset to update.
*/
where: Prisma.AssetWhereUniqueInput
}
/**
* Asset updateMany
*/
export type AssetUpdateManyArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* The data used to update Assets.
*/
data: Prisma.XOR<Prisma.AssetUpdateManyMutationInput, Prisma.AssetUncheckedUpdateManyInput>
/**
* Filter which Assets to update
*/
where?: Prisma.AssetWhereInput
/**
* Limit how many Assets to update.
*/
limit?: number
}
/**
* Asset updateManyAndReturn
*/
export type AssetUpdateManyAndReturnArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* The data used to update Assets.
*/
data: Prisma.XOR<Prisma.AssetUpdateManyMutationInput, Prisma.AssetUncheckedUpdateManyInput>
/**
* Filter which Assets to update
*/
where?: Prisma.AssetWhereInput
/**
* Limit how many Assets to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* Asset upsert
*/
export type AssetUpsertArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
/**
* The filter to search for the Asset to update in case it exists.
*/
where: Prisma.AssetWhereUniqueInput
/**
* In case the Asset found by the `where` argument doesn't exist, create a new Asset with this data.
*/
create: Prisma.XOR<Prisma.AssetCreateInput, Prisma.AssetUncheckedCreateInput>
/**
* In case the Asset was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AssetUpdateInput, Prisma.AssetUncheckedUpdateInput>
}
/**
* Asset delete
*/
export type AssetDeleteArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
/**
* Filter which Asset to delete.
*/
where: Prisma.AssetWhereUniqueInput
}
/**
* Asset deleteMany
*/
export type AssetDeleteManyArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Filter which Assets to delete
*/
where?: Prisma.AssetWhereInput
/**
* Limit how many Assets to delete.
*/
limit?: number
}
/**
* Asset.parent
*/
export type Asset$parentArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
where?: Prisma.AssetWhereInput
}
/**
* Asset.children
*/
export type Asset$childrenArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
where?: Prisma.AssetWhereInput
orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[]
cursor?: Prisma.AssetWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[]
}
/**
* Asset.target
*/
export type Asset$targetArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
where?: Prisma.AssetWhereInput
}
/**
* Asset.symlinks
*/
export type Asset$symlinksArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
where?: Prisma.AssetWhereInput
orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[]
cursor?: Prisma.AssetWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[]
}
/**
* Asset.storageKey
*/
export type Asset$storageKeyArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the StorageKey
*/
select?: Prisma.StorageKeySelect<ExtArgs> | null
/**
* Omit specific fields from the StorageKey
*/
omit?: Prisma.StorageKeyOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.StorageKeyInclude<ExtArgs> | null
where?: Prisma.StorageKeyWhereInput
}
/**
* Asset.metadataValues
*/
export type Asset$metadataValuesArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the AssetMetadataValue
*/
select?: Prisma.AssetMetadataValueSelect<ExtArgs> | null
/**
* Omit specific fields from the AssetMetadataValue
*/
omit?: Prisma.AssetMetadataValueOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetMetadataValueInclude<ExtArgs> | null
where?: Prisma.AssetMetadataValueWhereInput
orderBy?:
| Prisma.AssetMetadataValueOrderByWithRelationInput
| Prisma.AssetMetadataValueOrderByWithRelationInput[]
cursor?: Prisma.AssetMetadataValueWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AssetMetadataValueScalarFieldEnum | Prisma.AssetMetadataValueScalarFieldEnum[]
}
/**
* Asset.creator
*/
export type Asset$creatorArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the User
*/
select?: Prisma.UserSelect<ExtArgs> | null
/**
* Omit specific fields from the User
*/
omit?: Prisma.UserOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.UserInclude<ExtArgs> | null
where?: Prisma.UserWhereInput
}
/**
* Asset.task
*/
export type Asset$taskArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Task
*/
select?: Prisma.TaskSelect<ExtArgs> | null
/**
* Omit specific fields from the Task
*/
omit?: Prisma.TaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TaskInclude<ExtArgs> | null
where?: Prisma.TaskWhereInput
}
/**
* Asset.project
*/
export type Asset$projectArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Project
*/
select?: Prisma.ProjectSelect<ExtArgs> | null
/**
* Omit specific fields from the Project
*/
omit?: Prisma.ProjectOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjectInclude<ExtArgs> | null
where?: Prisma.ProjectWhereInput
}
/**
* Asset.comments
*/
export type Asset$commentsArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the AssetComment
*/
select?: Prisma.AssetCommentSelect<ExtArgs> | null
/**
* Omit specific fields from the AssetComment
*/
omit?: Prisma.AssetCommentOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetCommentInclude<ExtArgs> | null
where?: Prisma.AssetCommentWhereInput
orderBy?:
| Prisma.AssetCommentOrderByWithRelationInput
| Prisma.AssetCommentOrderByWithRelationInput[]
cursor?: Prisma.AssetCommentWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[]
}
/**
* Asset.commentAttachments
*/
export type Asset$commentAttachmentsArgs<
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
where?: Prisma.AssetCommentAttachmentWhereInput
orderBy?:
| Prisma.AssetCommentAttachmentOrderByWithRelationInput
| Prisma.AssetCommentAttachmentOrderByWithRelationInput[]
cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput
take?: number
skip?: number
distinct?:
| Prisma.AssetCommentAttachmentScalarFieldEnum
| Prisma.AssetCommentAttachmentScalarFieldEnum[]
}
/**
* Asset.notifications
*/
export type Asset$notificationsArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Notification
*/
select?: Prisma.NotificationSelect<ExtArgs> | null
/**
* Omit specific fields from the Notification
*/
omit?: Prisma.NotificationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.NotificationInclude<ExtArgs> | null
where?: Prisma.NotificationWhereInput
orderBy?:
| Prisma.NotificationOrderByWithRelationInput
| Prisma.NotificationOrderByWithRelationInput[]
cursor?: Prisma.NotificationWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[]
}
/**
* Asset.embeddings
*/
export type Asset$embeddingsArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the AssetEmbedding
*/
select?: Prisma.AssetEmbeddingSelect<ExtArgs> | null
/**
* Omit specific fields from the AssetEmbedding
*/
omit?: Prisma.AssetEmbeddingOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetEmbeddingInclude<ExtArgs> | null
where?: Prisma.AssetEmbeddingWhereInput
orderBy?:
| Prisma.AssetEmbeddingOrderByWithRelationInput
| Prisma.AssetEmbeddingOrderByWithRelationInput[]
cursor?: Prisma.AssetEmbeddingWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AssetEmbeddingScalarFieldEnum | Prisma.AssetEmbeddingScalarFieldEnum[]
}
/**
* Asset.teamRootFolder
*/
export type Asset$teamRootFolderArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Team
*/
select?: Prisma.TeamSelect<ExtArgs> | null
/**
* Omit specific fields from the Team
*/
omit?: Prisma.TeamOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TeamInclude<ExtArgs> | null
where?: Prisma.TeamWhereInput
}
/**
* Asset.projectRootFolder
*/
export type Asset$projectRootFolderArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Project
*/
select?: Prisma.ProjectSelect<ExtArgs> | null
/**
* Omit specific fields from the Project
*/
omit?: Prisma.ProjectOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjectInclude<ExtArgs> | null
where?: Prisma.ProjectWhereInput
}
/**
* Asset.projectShareRoot
*/
export type Asset$projectShareRootArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Project
*/
select?: Prisma.ProjectSelect<ExtArgs> | null
/**
* Omit specific fields from the Project
*/
omit?: Prisma.ProjectOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ProjectInclude<ExtArgs> | null
where?: Prisma.ProjectWhereInput
}
/**
* Asset.shareLinkRootFolder
*/
export type Asset$shareLinkRootFolderArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the ShareLink
*/
select?: Prisma.ShareLinkSelect<ExtArgs> | null
/**
* Omit specific fields from the ShareLink
*/
omit?: Prisma.ShareLinkOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ShareLinkInclude<ExtArgs> | null
where?: Prisma.ShareLinkWhereInput
}
/**
* Asset.agentSessions
*/
export type Asset$agentSessionsArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the AgentSession
*/
select?: Prisma.AgentSessionSelect<ExtArgs> | null
/**
* Omit specific fields from the AgentSession
*/
omit?: Prisma.AgentSessionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AgentSessionInclude<ExtArgs> | null
where?: Prisma.AgentSessionWhereInput
orderBy?:
| Prisma.AgentSessionOrderByWithRelationInput
| Prisma.AgentSessionOrderByWithRelationInput[]
cursor?: Prisma.AgentSessionWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AgentSessionScalarFieldEnum | Prisma.AgentSessionScalarFieldEnum[]
}
/**
* Asset without action
*/
export type AssetDefaultArgs<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
/**
* Select specific fields to fetch from the Asset
*/
select?: Prisma.AssetSelect<ExtArgs> | null
/**
* Omit specific fields from the Asset
*/
omit?: Prisma.AssetOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetInclude<ExtArgs> | null
}