feat(agent): add nested agents.md support across backend and webui (#309)

* feat(agent): add nested agents.md support across backend and webui

* fix(webui): update agentsmd route paths and unnest folder agentsmd route

* fix(agent): flush agents.md autosave on close and address review feedback

- Flush pending debounced AGENTS.md autosave on close/unmount so edits
  made within 750ms of navigating away are no longer silently lost
- Serialize autosaves through a promise chain so an older in-flight
  request can never overwrite newer content on the server
- Internationalize the hardcoded "Failed to save" and
  "Loading AGENTS.md..." strings (en + zh)
- Validate that AGENTS.md is only stored on folder/root assets in
  AssetService, preventing bogus virtual paths for file assets
- Cap updateAgentsMd content at 100k chars via Zod validation
- Remove unused getAgentsMd/updateAgentsMd response DTO schemas
- Drop unused teamId prop from AgentsMdEditor
- Add tests: non-folder asset rejection, oversized content 400,
  and agent-chat workflow assetId passthrough

* refactor(db): isolate AGENTS.md content in dedicated 1:1 AssetAgentMd table

* style(webui): unify top bar button hover styles and add wand icon to agentsmd button

* style(webui): update agentsmd button state colors and remove presence dot

* fix(webui): fix close button overflow and stabilize debounced autosave in agentsmd editor

* fix(webui): update debounce to 1s and await pending save before closing agentsmd editor

* feat(webui): add terminal AGENTS.md breadcrumb on agentsmd editor page

* fix(webui): use ScrollArea for markdown editor scrolling
This commit is contained in:
Yiling-J
2026-08-15 10:25:46 +08:00
committed by GitHub
parent 3c3b6880e4
commit 1cee103b1c
56 changed files with 3529 additions and 242 deletions
+5
View File
@@ -107,6 +107,11 @@ export type StorageKey = Prisma.StorageKeyModel
*
*/
export type AssetMetadataValue = Prisma.AssetMetadataValueModel
/**
* Model AssetAgentMd
*
*/
export type AssetAgentMd = Prisma.AssetAgentMdModel
/**
* Model AssetComment
*
+5
View File
@@ -131,6 +131,11 @@ export type StorageKey = Prisma.StorageKeyModel
*
*/
export type AssetMetadataValue = Prisma.AssetMetadataValueModel
/**
* Model AssetAgentMd
*
*/
export type AssetAgentMd = Prisma.AssetAgentMdModel
/**
* Model AssetComment
*
File diff suppressed because one or more lines are too long
+87 -1
View File
@@ -402,6 +402,7 @@ export const ModelName = {
Asset: 'Asset',
StorageKey: 'StorageKey',
AssetMetadataValue: 'AssetMetadataValue',
AssetAgentMd: 'AssetAgentMd',
AssetComment: 'AssetComment',
AssetCommentAttachment: 'AssetCommentAttachment',
AssetEmbedding: 'AssetEmbedding',
@@ -440,7 +441,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
omit: GlobalOmitOptions
}
meta: {
modelProps: "user" | "session" | "account" | "verification" | "authToken" | "team" | "sandbox" | "skill" | "teamMember" | "project" | "projectMember" | "shareLink" | "watermarkConfig" | "watermarkTemplate" | "watermarkFile" | "asset" | "storageKey" | "assetMetadataValue" | "assetComment" | "assetCommentAttachment" | "assetEmbedding" | "invite" | "metadataField" | "notification" | "systemSettings" | "task" | "workflowTask" | "agent" | "agentSkill" | "mcpServer" | "agentMcpServer" | "mcpServerCredential" | "agentSession" | "agentSessionEntry" | "userMetadata" | "model" | "provider" | "collection" | "apiToken" | "aiUsage" | "auditLog"
modelProps: "user" | "session" | "account" | "verification" | "authToken" | "team" | "sandbox" | "skill" | "teamMember" | "project" | "projectMember" | "shareLink" | "watermarkConfig" | "watermarkTemplate" | "watermarkFile" | "asset" | "storageKey" | "assetMetadataValue" | "assetAgentMd" | "assetComment" | "assetCommentAttachment" | "assetEmbedding" | "invite" | "metadataField" | "notification" | "systemSettings" | "task" | "workflowTask" | "agent" | "agentSkill" | "mcpServer" | "agentMcpServer" | "mcpServerCredential" | "agentSession" | "agentSessionEntry" | "userMetadata" | "model" | "provider" | "collection" | "apiToken" | "aiUsage" | "auditLog"
txIsolationLevel: TransactionIsolationLevel
}
model: {
@@ -1776,6 +1777,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
}
}
}
AssetAgentMd: {
payload: Prisma.$AssetAgentMdPayload<ExtArgs>
fields: Prisma.AssetAgentMdFieldRefs
operations: {
findUnique: {
args: Prisma.AssetAgentMdFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload> | null
}
findUniqueOrThrow: {
args: Prisma.AssetAgentMdFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload>
}
findFirst: {
args: Prisma.AssetAgentMdFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload> | null
}
findFirstOrThrow: {
args: Prisma.AssetAgentMdFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload>
}
findMany: {
args: Prisma.AssetAgentMdFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload>[]
}
create: {
args: Prisma.AssetAgentMdCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload>
}
createMany: {
args: Prisma.AssetAgentMdCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.AssetAgentMdCreateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload>[]
}
delete: {
args: Prisma.AssetAgentMdDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload>
}
update: {
args: Prisma.AssetAgentMdUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload>
}
deleteMany: {
args: Prisma.AssetAgentMdDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.AssetAgentMdUpdateManyArgs<ExtArgs>
result: BatchPayload
}
updateManyAndReturn: {
args: Prisma.AssetAgentMdUpdateManyAndReturnArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload>[]
}
upsert: {
args: Prisma.AssetAgentMdUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AssetAgentMdPayload>
}
aggregate: {
args: Prisma.AssetAgentMdAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateAssetAgentMd>
}
groupBy: {
args: Prisma.AssetAgentMdGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AssetAgentMdGroupByOutputType>[]
}
count: {
args: Prisma.AssetAgentMdCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AssetAgentMdCountAggregateOutputType> | number
}
}
}
AssetComment: {
payload: Prisma.$AssetCommentPayload<ExtArgs>
fields: Prisma.AssetCommentFieldRefs
@@ -3780,6 +3855,16 @@ export const AssetMetadataValueScalarFieldEnum = {
export type AssetMetadataValueScalarFieldEnum = (typeof AssetMetadataValueScalarFieldEnum)[keyof typeof AssetMetadataValueScalarFieldEnum]
export const AssetAgentMdScalarFieldEnum = {
assetId: 'assetId',
content: 'content',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type AssetAgentMdScalarFieldEnum = (typeof AssetAgentMdScalarFieldEnum)[keyof typeof AssetAgentMdScalarFieldEnum]
export const AssetCommentScalarFieldEnum = {
id: 'id',
message: 'message',
@@ -4652,6 +4737,7 @@ export type GlobalOmitConfig = {
asset?: Prisma.AssetOmit
storageKey?: Prisma.StorageKeyOmit
assetMetadataValue?: Prisma.AssetMetadataValueOmit
assetAgentMd?: Prisma.AssetAgentMdOmit
assetComment?: Prisma.AssetCommentOmit
assetCommentAttachment?: Prisma.AssetCommentAttachmentOmit
assetEmbedding?: Prisma.AssetEmbeddingOmit
@@ -69,6 +69,7 @@ export const ModelName = {
Asset: 'Asset',
StorageKey: 'StorageKey',
AssetMetadataValue: 'AssetMetadataValue',
AssetAgentMd: 'AssetAgentMd',
AssetComment: 'AssetComment',
AssetCommentAttachment: 'AssetCommentAttachment',
AssetEmbedding: 'AssetEmbedding',
@@ -373,6 +374,16 @@ export const AssetMetadataValueScalarFieldEnum = {
export type AssetMetadataValueScalarFieldEnum = (typeof AssetMetadataValueScalarFieldEnum)[keyof typeof AssetMetadataValueScalarFieldEnum]
export const AssetAgentMdScalarFieldEnum = {
assetId: 'assetId',
content: 'content',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
} as const
export type AssetAgentMdScalarFieldEnum = (typeof AssetAgentMdScalarFieldEnum)[keyof typeof AssetAgentMdScalarFieldEnum]
export const AssetCommentScalarFieldEnum = {
id: 'id',
message: 'message',
+1
View File
@@ -26,6 +26,7 @@ export type * from './models/WatermarkFile.ts'
export type * from './models/Asset.ts'
export type * from './models/StorageKey.ts'
export type * from './models/AssetMetadataValue.ts'
export type * from './models/AssetAgentMd.ts'
export type * from './models/AssetComment.ts'
export type * from './models/AssetCommentAttachment.ts'
export type * from './models/AssetEmbedding.ts'
+284
View File
@@ -361,6 +361,7 @@ export type AssetWhereInput = {
shareLinkRootFolder?: Prisma.XOR<Prisma.ShareLinkNullableScalarRelationFilter, Prisma.ShareLinkWhereInput> | null
agentSessions?: Prisma.AgentSessionListRelationFilter
watermarkFiles?: Prisma.WatermarkFileListRelationFilter
agentMd?: Prisma.XOR<Prisma.AssetAgentMdNullableScalarRelationFilter, Prisma.AssetAgentMdWhereInput> | null
}
export type AssetOrderByWithRelationInput = {
@@ -404,6 +405,7 @@ export type AssetOrderByWithRelationInput = {
shareLinkRootFolder?: Prisma.ShareLinkOrderByWithRelationInput
agentSessions?: Prisma.AgentSessionOrderByRelationAggregateInput
watermarkFiles?: Prisma.WatermarkFileOrderByRelationAggregateInput
agentMd?: Prisma.AssetAgentMdOrderByWithRelationInput
}
export type AssetWhereUniqueInput = Prisma.AtLeast<{
@@ -451,6 +453,7 @@ export type AssetWhereUniqueInput = Prisma.AtLeast<{
shareLinkRootFolder?: Prisma.XOR<Prisma.ShareLinkNullableScalarRelationFilter, Prisma.ShareLinkWhereInput> | null
agentSessions?: Prisma.AgentSessionListRelationFilter
watermarkFiles?: Prisma.WatermarkFileListRelationFilter
agentMd?: Prisma.XOR<Prisma.AssetAgentMdNullableScalarRelationFilter, Prisma.AssetAgentMdWhereInput> | null
}, "id" | "parentIdTargetId">
export type AssetOrderByWithAggregationInput = {
@@ -544,6 +547,7 @@ export type AssetCreateInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateInput = {
@@ -581,6 +585,7 @@ export type AssetUncheckedCreateInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetUpdateInput = {
@@ -618,6 +623,7 @@ export type AssetUpdateInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateInput = {
@@ -655,6 +661,7 @@ export type AssetUncheckedUpdateInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateManyInput = {
@@ -1191,6 +1198,20 @@ export type AssetUpdateOneRequiredWithoutMetadataValuesNestedInput = {
update?: Prisma.XOR<Prisma.XOR<Prisma.AssetUpdateToOneWithWhereWithoutMetadataValuesInput, Prisma.AssetUpdateWithoutMetadataValuesInput>, Prisma.AssetUncheckedUpdateWithoutMetadataValuesInput>
}
export type AssetCreateNestedOneWithoutAgentMdInput = {
create?: Prisma.XOR<Prisma.AssetCreateWithoutAgentMdInput, Prisma.AssetUncheckedCreateWithoutAgentMdInput>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutAgentMdInput
connect?: Prisma.AssetWhereUniqueInput
}
export type AssetUpdateOneRequiredWithoutAgentMdNestedInput = {
create?: Prisma.XOR<Prisma.AssetCreateWithoutAgentMdInput, Prisma.AssetUncheckedCreateWithoutAgentMdInput>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutAgentMdInput
upsert?: Prisma.AssetUpsertWithoutAgentMdInput
connect?: Prisma.AssetWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.AssetUpdateToOneWithWhereWithoutAgentMdInput, Prisma.AssetUpdateWithoutAgentMdInput>, Prisma.AssetUncheckedUpdateWithoutAgentMdInput>
}
export type AssetCreateNestedOneWithoutCommentsInput = {
create?: Prisma.XOR<Prisma.AssetCreateWithoutCommentsInput, Prisma.AssetUncheckedCreateWithoutCommentsInput>
connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCommentsInput
@@ -1341,6 +1362,7 @@ export type AssetCreateWithoutCreatorInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutCreatorInput = {
@@ -1377,6 +1399,7 @@ export type AssetUncheckedCreateWithoutCreatorInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutCreatorInput = {
@@ -1466,6 +1489,7 @@ export type AssetCreateWithoutTeamRootFolderInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutTeamRootFolderInput = {
@@ -1502,6 +1526,7 @@ export type AssetUncheckedCreateWithoutTeamRootFolderInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutTeamRootFolderInput = {
@@ -1554,6 +1579,7 @@ export type AssetUpdateWithoutTeamRootFolderInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutTeamRootFolderInput = {
@@ -1590,6 +1616,7 @@ export type AssetUncheckedUpdateWithoutTeamRootFolderInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateWithoutProjectRootFolderInput = {
@@ -1626,6 +1653,7 @@ export type AssetCreateWithoutProjectRootFolderInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutProjectRootFolderInput = {
@@ -1662,6 +1690,7 @@ export type AssetUncheckedCreateWithoutProjectRootFolderInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutProjectRootFolderInput = {
@@ -1703,6 +1732,7 @@ export type AssetCreateWithoutProjectShareRootInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutProjectShareRootInput = {
@@ -1739,6 +1769,7 @@ export type AssetUncheckedCreateWithoutProjectShareRootInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutProjectShareRootInput = {
@@ -1780,6 +1811,7 @@ export type AssetCreateWithoutProjectInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutProjectInput = {
@@ -1816,6 +1848,7 @@ export type AssetUncheckedCreateWithoutProjectInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutProjectInput = {
@@ -1873,6 +1906,7 @@ export type AssetUpdateWithoutProjectRootFolderInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutProjectRootFolderInput = {
@@ -1909,6 +1943,7 @@ export type AssetUncheckedUpdateWithoutProjectRootFolderInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUpsertWithoutProjectShareRootInput = {
@@ -1956,6 +1991,7 @@ export type AssetUpdateWithoutProjectShareRootInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutProjectShareRootInput = {
@@ -1992,6 +2028,7 @@ export type AssetUncheckedUpdateWithoutProjectShareRootInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUpsertWithWhereUniqueWithoutProjectInput = {
@@ -2044,6 +2081,7 @@ export type AssetCreateWithoutShareLinkRootFolderInput = {
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutShareLinkRootFolderInput = {
@@ -2080,6 +2118,7 @@ export type AssetUncheckedCreateWithoutShareLinkRootFolderInput = {
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutShareLinkRootFolderInput = {
@@ -2132,6 +2171,7 @@ export type AssetUpdateWithoutShareLinkRootFolderInput = {
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutShareLinkRootFolderInput = {
@@ -2168,6 +2208,7 @@ export type AssetUncheckedUpdateWithoutShareLinkRootFolderInput = {
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateWithoutWatermarkFilesInput = {
@@ -2204,6 +2245,7 @@ export type AssetCreateWithoutWatermarkFilesInput = {
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutWatermarkFilesInput = {
@@ -2240,6 +2282,7 @@ export type AssetUncheckedCreateWithoutWatermarkFilesInput = {
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutWatermarkFilesInput = {
@@ -2292,6 +2335,7 @@ export type AssetUpdateWithoutWatermarkFilesInput = {
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutWatermarkFilesInput = {
@@ -2328,6 +2372,7 @@ export type AssetUncheckedUpdateWithoutWatermarkFilesInput = {
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateWithoutChildrenInput = {
@@ -2364,6 +2409,7 @@ export type AssetCreateWithoutChildrenInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutChildrenInput = {
@@ -2400,6 +2446,7 @@ export type AssetUncheckedCreateWithoutChildrenInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutChildrenInput = {
@@ -2441,6 +2488,7 @@ export type AssetCreateWithoutParentInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutParentInput = {
@@ -2477,6 +2525,7 @@ export type AssetUncheckedCreateWithoutParentInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutParentInput = {
@@ -2523,6 +2572,7 @@ export type AssetCreateWithoutSymlinksInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutSymlinksInput = {
@@ -2559,6 +2609,7 @@ export type AssetUncheckedCreateWithoutSymlinksInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutSymlinksInput = {
@@ -2600,6 +2651,7 @@ export type AssetCreateWithoutTargetInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutTargetInput = {
@@ -2636,6 +2688,7 @@ export type AssetUncheckedCreateWithoutTargetInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutTargetInput = {
@@ -2693,6 +2746,7 @@ export type AssetUpdateWithoutChildrenInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutChildrenInput = {
@@ -2729,6 +2783,7 @@ export type AssetUncheckedUpdateWithoutChildrenInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUpsertWithWhereUniqueWithoutParentInput = {
@@ -2792,6 +2847,7 @@ export type AssetUpdateWithoutSymlinksInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutSymlinksInput = {
@@ -2828,6 +2884,7 @@ export type AssetUncheckedUpdateWithoutSymlinksInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUpsertWithWhereUniqueWithoutTargetInput = {
@@ -2880,6 +2937,7 @@ export type AssetCreateWithoutStorageKeyInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutStorageKeyInput = {
@@ -2916,6 +2974,7 @@ export type AssetUncheckedCreateWithoutStorageKeyInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutStorageKeyInput = {
@@ -2978,6 +3037,7 @@ export type AssetCreateWithoutMetadataValuesInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutMetadataValuesInput = {
@@ -3014,6 +3074,7 @@ export type AssetUncheckedCreateWithoutMetadataValuesInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutMetadataValuesInput = {
@@ -3066,6 +3127,7 @@ export type AssetUpdateWithoutMetadataValuesInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutMetadataValuesInput = {
@@ -3102,6 +3164,171 @@ export type AssetUncheckedUpdateWithoutMetadataValuesInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateWithoutAgentMdInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: bigint | 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
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutAgentMdInput = {
id?: string
name?: string
nameNgram?: Prisma.AssetCreatenameNgramInput | string[]
type: $Enums.AssetType
mediaType?: string | null
fileCount?: number
sizeByte?: bigint | 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
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutAgentMdInput = {
where: Prisma.AssetWhereUniqueInput
create: Prisma.XOR<Prisma.AssetCreateWithoutAgentMdInput, Prisma.AssetUncheckedCreateWithoutAgentMdInput>
}
export type AssetUpsertWithoutAgentMdInput = {
update: Prisma.XOR<Prisma.AssetUpdateWithoutAgentMdInput, Prisma.AssetUncheckedUpdateWithoutAgentMdInput>
create: Prisma.XOR<Prisma.AssetCreateWithoutAgentMdInput, Prisma.AssetUncheckedCreateWithoutAgentMdInput>
where?: Prisma.AssetWhereInput
}
export type AssetUpdateToOneWithWhereWithoutAgentMdInput = {
where?: Prisma.AssetWhereInput
data: Prisma.XOR<Prisma.AssetUpdateWithoutAgentMdInput, Prisma.AssetUncheckedUpdateWithoutAgentMdInput>
}
export type AssetUpdateWithoutAgentMdInput = {
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.BigIntFieldUpdateOperationsInput | bigint | 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
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutAgentMdInput = {
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.BigIntFieldUpdateOperationsInput | bigint | 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
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutCommentsInput = {
@@ -3138,6 +3365,7 @@ export type AssetCreateWithoutCommentsInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutCommentsInput = {
@@ -3174,6 +3402,7 @@ export type AssetUncheckedCreateWithoutCommentsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutCommentsInput = {
@@ -3226,6 +3455,7 @@ export type AssetUpdateWithoutCommentsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutCommentsInput = {
@@ -3262,6 +3492,7 @@ export type AssetUncheckedUpdateWithoutCommentsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateWithoutCommentAttachmentsInput = {
@@ -3298,6 +3529,7 @@ export type AssetCreateWithoutCommentAttachmentsInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutCommentAttachmentsInput = {
@@ -3334,6 +3566,7 @@ export type AssetUncheckedCreateWithoutCommentAttachmentsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutCommentAttachmentsInput = {
@@ -3386,6 +3619,7 @@ export type AssetUpdateWithoutCommentAttachmentsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutCommentAttachmentsInput = {
@@ -3422,6 +3656,7 @@ export type AssetUncheckedUpdateWithoutCommentAttachmentsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateWithoutEmbeddingsInput = {
@@ -3458,6 +3693,7 @@ export type AssetCreateWithoutEmbeddingsInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutEmbeddingsInput = {
@@ -3494,6 +3730,7 @@ export type AssetUncheckedCreateWithoutEmbeddingsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutEmbeddingsInput = {
@@ -3546,6 +3783,7 @@ export type AssetUpdateWithoutEmbeddingsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutEmbeddingsInput = {
@@ -3582,6 +3820,7 @@ export type AssetUncheckedUpdateWithoutEmbeddingsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateWithoutNotificationsInput = {
@@ -3618,6 +3857,7 @@ export type AssetCreateWithoutNotificationsInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutNotificationsInput = {
@@ -3654,6 +3894,7 @@ export type AssetUncheckedCreateWithoutNotificationsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutNotificationsInput = {
@@ -3706,6 +3947,7 @@ export type AssetUpdateWithoutNotificationsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutNotificationsInput = {
@@ -3742,6 +3984,7 @@ export type AssetUncheckedUpdateWithoutNotificationsInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateWithoutTaskInput = {
@@ -3778,6 +4021,7 @@ export type AssetCreateWithoutTaskInput = {
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutTaskInput = {
@@ -3814,6 +4058,7 @@ export type AssetUncheckedCreateWithoutTaskInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutTaskInput = {
@@ -3876,6 +4121,7 @@ export type AssetCreateWithoutAgentSessionsInput = {
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
watermarkFiles?: Prisma.WatermarkFileCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdCreateNestedOneWithoutAssetInput
}
export type AssetUncheckedCreateWithoutAgentSessionsInput = {
@@ -3912,6 +4158,7 @@ export type AssetUncheckedCreateWithoutAgentSessionsInput = {
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
watermarkFiles?: Prisma.WatermarkFileUncheckedCreateNestedManyWithoutAssetInput
agentMd?: Prisma.AssetAgentMdUncheckedCreateNestedOneWithoutAssetInput
}
export type AssetCreateOrConnectWithoutAgentSessionsInput = {
@@ -3964,6 +4211,7 @@ export type AssetUpdateWithoutAgentSessionsInput = {
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutAgentSessionsInput = {
@@ -4000,6 +4248,7 @@ export type AssetUncheckedUpdateWithoutAgentSessionsInput = {
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetCreateManyCreatorInput = {
@@ -4059,6 +4308,7 @@ export type AssetUpdateWithoutCreatorInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutCreatorInput = {
@@ -4095,6 +4345,7 @@ export type AssetUncheckedUpdateWithoutCreatorInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutCreatorInput = {
@@ -4177,6 +4428,7 @@ export type AssetUpdateWithoutProjectInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutProjectInput = {
@@ -4213,6 +4465,7 @@ export type AssetUncheckedUpdateWithoutProjectInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutProjectInput = {
@@ -4318,6 +4571,7 @@ export type AssetUpdateWithoutParentInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutParentInput = {
@@ -4354,6 +4608,7 @@ export type AssetUncheckedUpdateWithoutParentInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutParentInput = {
@@ -4413,6 +4668,7 @@ export type AssetUpdateWithoutTargetInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutTargetInput = {
@@ -4449,6 +4705,7 @@ export type AssetUncheckedUpdateWithoutTargetInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutTargetInput = {
@@ -4531,6 +4788,7 @@ export type AssetUpdateWithoutStorageKeyInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutStorageKeyInput = {
@@ -4567,6 +4825,7 @@ export type AssetUncheckedUpdateWithoutStorageKeyInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutStorageKeyInput = {
@@ -4649,6 +4908,7 @@ export type AssetUpdateWithoutTaskInput = {
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutTaskInput = {
@@ -4685,6 +4945,7 @@ export type AssetUncheckedUpdateWithoutTaskInput = {
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
watermarkFiles?: Prisma.WatermarkFileUncheckedUpdateManyWithoutAssetNestedInput
agentMd?: Prisma.AssetAgentMdUncheckedUpdateOneWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutTaskInput = {
@@ -4854,6 +5115,7 @@ export type AssetSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
shareLinkRootFolder?: boolean | Prisma.Asset$shareLinkRootFolderArgs<ExtArgs>
agentSessions?: boolean | Prisma.Asset$agentSessionsArgs<ExtArgs>
watermarkFiles?: boolean | Prisma.Asset$watermarkFilesArgs<ExtArgs>
agentMd?: boolean | Prisma.Asset$agentMdArgs<ExtArgs>
_count?: boolean | Prisma.AssetCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["asset"]>
@@ -4962,6 +5224,7 @@ export type AssetInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs =
shareLinkRootFolder?: boolean | Prisma.Asset$shareLinkRootFolderArgs<ExtArgs>
agentSessions?: boolean | Prisma.Asset$agentSessionsArgs<ExtArgs>
watermarkFiles?: boolean | Prisma.Asset$watermarkFilesArgs<ExtArgs>
agentMd?: boolean | Prisma.Asset$agentMdArgs<ExtArgs>
_count?: boolean | Prisma.AssetCountOutputTypeDefaultArgs<ExtArgs>
}
export type AssetIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -5003,6 +5266,7 @@ export type $AssetPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
shareLinkRootFolder: Prisma.$ShareLinkPayload<ExtArgs> | null
agentSessions: Prisma.$AgentSessionPayload<ExtArgs>[]
watermarkFiles: Prisma.$WatermarkFilePayload<ExtArgs>[]
agentMd: Prisma.$AssetAgentMdPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
@@ -5442,6 +5706,7 @@ export interface Prisma__AssetClient<T, Null = never, ExtArgs extends runtime.Ty
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>
watermarkFiles<T extends Prisma.Asset$watermarkFilesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Asset$watermarkFilesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WatermarkFilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
agentMd<T extends Prisma.Asset$agentMdArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Asset$agentMdArgs<ExtArgs>>): Prisma.Prisma__AssetAgentMdClient<runtime.Types.Result.GetResult<Prisma.$AssetAgentMdPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
@@ -6298,6 +6563,25 @@ export type Asset$watermarkFilesArgs<ExtArgs extends runtime.Types.Extensions.In
distinct?: Prisma.WatermarkFileScalarFieldEnum | Prisma.WatermarkFileScalarFieldEnum[]
}
/**
* Asset.agentMd
*/
export type Asset$agentMdArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AssetAgentMd
*/
select?: Prisma.AssetAgentMdSelect<ExtArgs> | null
/**
* Omit specific fields from the AssetAgentMd
*/
omit?: Prisma.AssetAgentMdOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetAgentMdInclude<ExtArgs> | null
where?: Prisma.AssetAgentMdWhereInput
}
/**
* Asset without action
*/
File diff suppressed because it is too large Load Diff