feat(agent): improve agent chat workflow and add media tools

This commit is contained in:
yiling
2026-06-05 21:25:08 +08:00
parent 87c82a38da
commit 25d12d1574
28 changed files with 1904 additions and 253 deletions
File diff suppressed because one or more lines are too long
@@ -77,12 +77,12 @@ export type PrismaVersion = {
}
/**
* Prisma Client JS version: 7.7.0
* Query Engine version: 75cbdc1eb7150937890ad5465d861175c6624711
* Prisma Client JS version: 7.8.0
* Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a
*/
export const prismaVersion: PrismaVersion = {
client: '7.7.0',
engine: '75cbdc1eb7150937890ad5465d861175c6624711',
client: '7.8.0',
engine: '3c6e192761c0362d496ed980de936e2f3cebcd3a',
}
/**
@@ -3261,6 +3261,8 @@ export const AgentSessionScalarFieldEnum = {
userId: 'userId',
cwd: 'cwd',
leafId: 'leafId',
assetId: 'assetId',
userCommentId: 'userCommentId',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
} as const
@@ -3758,6 +3760,21 @@ export type PrismaClientOptions = (
* ```
*/
comments?: runtime.SqlCommenterPlugin[]
/**
* Optional maximum size for the query plan cache. If not provided, a default size will be used.
* A value of `0` can be used to disable the cache entirely. A higher cache size can improve
* performance for applications that execute a large number of unique queries, while a smaller
* cache size can reduce memory usage.
*
* @example
* ```
* const prisma = new PrismaClient({
* adapter,
* queryPlanCacheMaxSize: 100,
* })
* ```
*/
queryPlanCacheMaxSize?: number
}
export type GlobalOmitConfig = {
user?: Prisma.UserOmit
@@ -476,6 +476,8 @@ export const AgentSessionScalarFieldEnum = {
userId: 'userId',
cwd: 'cwd',
leafId: 'leafId',
assetId: 'assetId',
userCommentId: 'userCommentId',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
} as const
@@ -31,6 +31,8 @@ export type AgentSessionMinAggregateOutputType = {
userId: string | null
cwd: string | null
leafId: string | null
assetId: string | null
userCommentId: string | null
createdAt: Date | null
updatedAt: Date | null
}
@@ -41,6 +43,8 @@ export type AgentSessionMaxAggregateOutputType = {
userId: string | null
cwd: string | null
leafId: string | null
assetId: string | null
userCommentId: string | null
createdAt: Date | null
updatedAt: Date | null
}
@@ -51,6 +55,8 @@ export type AgentSessionCountAggregateOutputType = {
userId: number
cwd: number
leafId: number
assetId: number
userCommentId: number
createdAt: number
updatedAt: number
_all: number
@@ -62,6 +68,8 @@ export type AgentSessionMinAggregateInputType = {
userId?: true
cwd?: true
leafId?: true
assetId?: true
userCommentId?: true
createdAt?: true
updatedAt?: true
}
@@ -72,6 +80,8 @@ export type AgentSessionMaxAggregateInputType = {
userId?: true
cwd?: true
leafId?: true
assetId?: true
userCommentId?: true
createdAt?: true
updatedAt?: true
}
@@ -82,6 +92,8 @@ export type AgentSessionCountAggregateInputType = {
userId?: true
cwd?: true
leafId?: true
assetId?: true
userCommentId?: true
createdAt?: true
updatedAt?: true
_all?: true
@@ -170,6 +182,8 @@ export type AgentSessionGroupByOutputType = {
userId: string | null
cwd: string
leafId: string | null
assetId: string | null
userCommentId: string | null
createdAt: Date
updatedAt: Date
_count: AgentSessionCountAggregateOutputType | null
@@ -198,10 +212,13 @@ export type AgentSessionWhereInput = {
userId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
cwd?: Prisma.StringFilter<'AgentSession'> | string
leafId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
assetId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
userCommentId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
createdAt?: Prisma.DateTimeFilter<'AgentSession'> | Date | string
updatedAt?: Prisma.DateTimeFilter<'AgentSession'> | Date | string
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
asset?: Prisma.XOR<Prisma.AssetNullableScalarRelationFilter, Prisma.AssetWhereInput> | null
entries?: Prisma.AgentSessionEntryListRelationFilter
comments?: Prisma.AssetCommentListRelationFilter
}
@@ -212,10 +229,13 @@ export type AgentSessionOrderByWithRelationInput = {
userId?: Prisma.SortOrderInput | Prisma.SortOrder
cwd?: Prisma.SortOrder
leafId?: Prisma.SortOrderInput | Prisma.SortOrder
assetId?: Prisma.SortOrderInput | Prisma.SortOrder
userCommentId?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
agent?: Prisma.AgentOrderByWithRelationInput
user?: Prisma.UserOrderByWithRelationInput
asset?: Prisma.AssetOrderByWithRelationInput
entries?: Prisma.AgentSessionEntryOrderByRelationAggregateInput
comments?: Prisma.AssetCommentOrderByRelationAggregateInput
}
@@ -230,10 +250,13 @@ export type AgentSessionWhereUniqueInput = Prisma.AtLeast<
userId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
cwd?: Prisma.StringFilter<'AgentSession'> | string
leafId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
assetId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
userCommentId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
createdAt?: Prisma.DateTimeFilter<'AgentSession'> | Date | string
updatedAt?: Prisma.DateTimeFilter<'AgentSession'> | Date | string
agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
asset?: Prisma.XOR<Prisma.AssetNullableScalarRelationFilter, Prisma.AssetWhereInput> | null
entries?: Prisma.AgentSessionEntryListRelationFilter
comments?: Prisma.AssetCommentListRelationFilter
},
@@ -246,6 +269,8 @@ export type AgentSessionOrderByWithAggregationInput = {
userId?: Prisma.SortOrderInput | Prisma.SortOrder
cwd?: Prisma.SortOrder
leafId?: Prisma.SortOrderInput | Prisma.SortOrder
assetId?: Prisma.SortOrderInput | Prisma.SortOrder
userCommentId?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
_count?: Prisma.AgentSessionCountOrderByAggregateInput
@@ -266,6 +291,8 @@ export type AgentSessionScalarWhereWithAggregatesInput = {
userId?: Prisma.StringNullableWithAggregatesFilter<'AgentSession'> | string | null
cwd?: Prisma.StringWithAggregatesFilter<'AgentSession'> | string
leafId?: Prisma.StringNullableWithAggregatesFilter<'AgentSession'> | string | null
assetId?: Prisma.StringNullableWithAggregatesFilter<'AgentSession'> | string | null
userCommentId?: Prisma.StringNullableWithAggregatesFilter<'AgentSession'> | string | null
createdAt?: Prisma.DateTimeWithAggregatesFilter<'AgentSession'> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<'AgentSession'> | Date | string
}
@@ -274,10 +301,12 @@ export type AgentSessionCreateInput = {
id?: string
cwd: string
leafId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
agent: Prisma.AgentCreateNestedOneWithoutAgentSessionsInput
user?: Prisma.UserCreateNestedOneWithoutAgentSessionsInput
asset?: Prisma.AssetCreateNestedOneWithoutAgentSessionsInput
entries?: Prisma.AgentSessionEntryCreateNestedManyWithoutSessionInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutSessionInput
}
@@ -288,6 +317,8 @@ export type AgentSessionUncheckedCreateInput = {
userId?: string | null
cwd: string
leafId?: string | null
assetId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
entries?: Prisma.AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput
@@ -298,10 +329,12 @@ export type AgentSessionUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
agent?: Prisma.AgentUpdateOneRequiredWithoutAgentSessionsNestedInput
user?: Prisma.UserUpdateOneWithoutAgentSessionsNestedInput
asset?: Prisma.AssetUpdateOneWithoutAgentSessionsNestedInput
entries?: Prisma.AgentSessionEntryUpdateManyWithoutSessionNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutSessionNestedInput
}
@@ -312,6 +345,8 @@ export type AgentSessionUncheckedUpdateInput = {
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
entries?: Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput
@@ -324,6 +359,8 @@ export type AgentSessionCreateManyInput = {
userId?: string | null
cwd: string
leafId?: string | null
assetId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
}
@@ -332,6 +369,7 @@ export type AgentSessionUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
@@ -342,6 +380,8 @@ export type AgentSessionUncheckedUpdateManyInput = {
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
@@ -367,6 +407,8 @@ export type AgentSessionCountOrderByAggregateInput = {
userId?: Prisma.SortOrder
cwd?: Prisma.SortOrder
leafId?: Prisma.SortOrder
assetId?: Prisma.SortOrder
userCommentId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
@@ -377,6 +419,8 @@ export type AgentSessionMaxOrderByAggregateInput = {
userId?: Prisma.SortOrder
cwd?: Prisma.SortOrder
leafId?: Prisma.SortOrder
assetId?: Prisma.SortOrder
userCommentId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
@@ -387,6 +431,8 @@ export type AgentSessionMinOrderByAggregateInput = {
userId?: Prisma.SortOrder
cwd?: Prisma.SortOrder
leafId?: Prisma.SortOrder
assetId?: Prisma.SortOrder
userCommentId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
}
@@ -482,6 +528,92 @@ export type AgentSessionUncheckedUpdateManyWithoutUserNestedInput = {
deleteMany?: Prisma.AgentSessionScalarWhereInput | Prisma.AgentSessionScalarWhereInput[]
}
export type AgentSessionCreateNestedManyWithoutAssetInput = {
create?:
| Prisma.XOR<
Prisma.AgentSessionCreateWithoutAssetInput,
Prisma.AgentSessionUncheckedCreateWithoutAssetInput
>
| Prisma.AgentSessionCreateWithoutAssetInput[]
| Prisma.AgentSessionUncheckedCreateWithoutAssetInput[]
connectOrCreate?:
| Prisma.AgentSessionCreateOrConnectWithoutAssetInput
| Prisma.AgentSessionCreateOrConnectWithoutAssetInput[]
createMany?: Prisma.AgentSessionCreateManyAssetInputEnvelope
connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
}
export type AgentSessionUncheckedCreateNestedManyWithoutAssetInput = {
create?:
| Prisma.XOR<
Prisma.AgentSessionCreateWithoutAssetInput,
Prisma.AgentSessionUncheckedCreateWithoutAssetInput
>
| Prisma.AgentSessionCreateWithoutAssetInput[]
| Prisma.AgentSessionUncheckedCreateWithoutAssetInput[]
connectOrCreate?:
| Prisma.AgentSessionCreateOrConnectWithoutAssetInput
| Prisma.AgentSessionCreateOrConnectWithoutAssetInput[]
createMany?: Prisma.AgentSessionCreateManyAssetInputEnvelope
connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
}
export type AgentSessionUpdateManyWithoutAssetNestedInput = {
create?:
| Prisma.XOR<
Prisma.AgentSessionCreateWithoutAssetInput,
Prisma.AgentSessionUncheckedCreateWithoutAssetInput
>
| Prisma.AgentSessionCreateWithoutAssetInput[]
| Prisma.AgentSessionUncheckedCreateWithoutAssetInput[]
connectOrCreate?:
| Prisma.AgentSessionCreateOrConnectWithoutAssetInput
| Prisma.AgentSessionCreateOrConnectWithoutAssetInput[]
upsert?:
| Prisma.AgentSessionUpsertWithWhereUniqueWithoutAssetInput
| Prisma.AgentSessionUpsertWithWhereUniqueWithoutAssetInput[]
createMany?: Prisma.AgentSessionCreateManyAssetInputEnvelope
set?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
disconnect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
delete?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
update?:
| Prisma.AgentSessionUpdateWithWhereUniqueWithoutAssetInput
| Prisma.AgentSessionUpdateWithWhereUniqueWithoutAssetInput[]
updateMany?:
| Prisma.AgentSessionUpdateManyWithWhereWithoutAssetInput
| Prisma.AgentSessionUpdateManyWithWhereWithoutAssetInput[]
deleteMany?: Prisma.AgentSessionScalarWhereInput | Prisma.AgentSessionScalarWhereInput[]
}
export type AgentSessionUncheckedUpdateManyWithoutAssetNestedInput = {
create?:
| Prisma.XOR<
Prisma.AgentSessionCreateWithoutAssetInput,
Prisma.AgentSessionUncheckedCreateWithoutAssetInput
>
| Prisma.AgentSessionCreateWithoutAssetInput[]
| Prisma.AgentSessionUncheckedCreateWithoutAssetInput[]
connectOrCreate?:
| Prisma.AgentSessionCreateOrConnectWithoutAssetInput
| Prisma.AgentSessionCreateOrConnectWithoutAssetInput[]
upsert?:
| Prisma.AgentSessionUpsertWithWhereUniqueWithoutAssetInput
| Prisma.AgentSessionUpsertWithWhereUniqueWithoutAssetInput[]
createMany?: Prisma.AgentSessionCreateManyAssetInputEnvelope
set?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
disconnect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
delete?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[]
update?:
| Prisma.AgentSessionUpdateWithWhereUniqueWithoutAssetInput
| Prisma.AgentSessionUpdateWithWhereUniqueWithoutAssetInput[]
updateMany?:
| Prisma.AgentSessionUpdateManyWithWhereWithoutAssetInput
| Prisma.AgentSessionUpdateManyWithWhereWithoutAssetInput[]
deleteMany?: Prisma.AgentSessionScalarWhereInput | Prisma.AgentSessionScalarWhereInput[]
}
export type AgentSessionCreateNestedOneWithoutCommentsInput = {
create?: Prisma.XOR<
Prisma.AgentSessionCreateWithoutCommentsInput,
@@ -626,9 +758,11 @@ export type AgentSessionCreateWithoutUserInput = {
id?: string
cwd: string
leafId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
agent: Prisma.AgentCreateNestedOneWithoutAgentSessionsInput
asset?: Prisma.AssetCreateNestedOneWithoutAgentSessionsInput
entries?: Prisma.AgentSessionEntryCreateNestedManyWithoutSessionInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutSessionInput
}
@@ -638,6 +772,8 @@ export type AgentSessionUncheckedCreateWithoutUserInput = {
agentId: string
cwd: string
leafId?: string | null
assetId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
entries?: Prisma.AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput
@@ -694,18 +830,89 @@ export type AgentSessionScalarWhereInput = {
userId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
cwd?: Prisma.StringFilter<'AgentSession'> | string
leafId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
assetId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
userCommentId?: Prisma.StringNullableFilter<'AgentSession'> | string | null
createdAt?: Prisma.DateTimeFilter<'AgentSession'> | Date | string
updatedAt?: Prisma.DateTimeFilter<'AgentSession'> | Date | string
}
export type AgentSessionCreateWithoutAssetInput = {
id?: string
cwd: string
leafId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
agent: Prisma.AgentCreateNestedOneWithoutAgentSessionsInput
user?: Prisma.UserCreateNestedOneWithoutAgentSessionsInput
entries?: Prisma.AgentSessionEntryCreateNestedManyWithoutSessionInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutSessionInput
}
export type AgentSessionUncheckedCreateWithoutAssetInput = {
id?: string
agentId: string
userId?: string | null
cwd: string
leafId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
entries?: Prisma.AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutSessionInput
}
export type AgentSessionCreateOrConnectWithoutAssetInput = {
where: Prisma.AgentSessionWhereUniqueInput
create: Prisma.XOR<
Prisma.AgentSessionCreateWithoutAssetInput,
Prisma.AgentSessionUncheckedCreateWithoutAssetInput
>
}
export type AgentSessionCreateManyAssetInputEnvelope = {
data: Prisma.AgentSessionCreateManyAssetInput | Prisma.AgentSessionCreateManyAssetInput[]
skipDuplicates?: boolean
}
export type AgentSessionUpsertWithWhereUniqueWithoutAssetInput = {
where: Prisma.AgentSessionWhereUniqueInput
update: Prisma.XOR<
Prisma.AgentSessionUpdateWithoutAssetInput,
Prisma.AgentSessionUncheckedUpdateWithoutAssetInput
>
create: Prisma.XOR<
Prisma.AgentSessionCreateWithoutAssetInput,
Prisma.AgentSessionUncheckedCreateWithoutAssetInput
>
}
export type AgentSessionUpdateWithWhereUniqueWithoutAssetInput = {
where: Prisma.AgentSessionWhereUniqueInput
data: Prisma.XOR<
Prisma.AgentSessionUpdateWithoutAssetInput,
Prisma.AgentSessionUncheckedUpdateWithoutAssetInput
>
}
export type AgentSessionUpdateManyWithWhereWithoutAssetInput = {
where: Prisma.AgentSessionScalarWhereInput
data: Prisma.XOR<
Prisma.AgentSessionUpdateManyMutationInput,
Prisma.AgentSessionUncheckedUpdateManyWithoutAssetInput
>
}
export type AgentSessionCreateWithoutCommentsInput = {
id?: string
cwd: string
leafId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
agent: Prisma.AgentCreateNestedOneWithoutAgentSessionsInput
user?: Prisma.UserCreateNestedOneWithoutAgentSessionsInput
asset?: Prisma.AssetCreateNestedOneWithoutAgentSessionsInput
entries?: Prisma.AgentSessionEntryCreateNestedManyWithoutSessionInput
}
@@ -715,6 +922,8 @@ export type AgentSessionUncheckedCreateWithoutCommentsInput = {
userId?: string | null
cwd: string
leafId?: string | null
assetId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
entries?: Prisma.AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput
@@ -752,10 +961,12 @@ export type AgentSessionUpdateWithoutCommentsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
agent?: Prisma.AgentUpdateOneRequiredWithoutAgentSessionsNestedInput
user?: Prisma.UserUpdateOneWithoutAgentSessionsNestedInput
asset?: Prisma.AssetUpdateOneWithoutAgentSessionsNestedInput
entries?: Prisma.AgentSessionEntryUpdateManyWithoutSessionNestedInput
}
@@ -765,6 +976,8 @@ export type AgentSessionUncheckedUpdateWithoutCommentsInput = {
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
entries?: Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput
@@ -774,9 +987,11 @@ export type AgentSessionCreateWithoutAgentInput = {
id?: string
cwd: string
leafId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
user?: Prisma.UserCreateNestedOneWithoutAgentSessionsInput
asset?: Prisma.AssetCreateNestedOneWithoutAgentSessionsInput
entries?: Prisma.AgentSessionEntryCreateNestedManyWithoutSessionInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutSessionInput
}
@@ -786,6 +1001,8 @@ export type AgentSessionUncheckedCreateWithoutAgentInput = {
userId?: string | null
cwd: string
leafId?: string | null
assetId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
entries?: Prisma.AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput
@@ -837,10 +1054,12 @@ export type AgentSessionCreateWithoutEntriesInput = {
id?: string
cwd: string
leafId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
agent: Prisma.AgentCreateNestedOneWithoutAgentSessionsInput
user?: Prisma.UserCreateNestedOneWithoutAgentSessionsInput
asset?: Prisma.AssetCreateNestedOneWithoutAgentSessionsInput
comments?: Prisma.AssetCommentCreateNestedManyWithoutSessionInput
}
@@ -850,6 +1069,8 @@ export type AgentSessionUncheckedCreateWithoutEntriesInput = {
userId?: string | null
cwd: string
leafId?: string | null
assetId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutSessionInput
@@ -887,10 +1108,12 @@ export type AgentSessionUpdateWithoutEntriesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
agent?: Prisma.AgentUpdateOneRequiredWithoutAgentSessionsNestedInput
user?: Prisma.UserUpdateOneWithoutAgentSessionsNestedInput
asset?: Prisma.AssetUpdateOneWithoutAgentSessionsNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutSessionNestedInput
}
@@ -900,6 +1123,8 @@ export type AgentSessionUncheckedUpdateWithoutEntriesInput = {
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutSessionNestedInput
@@ -910,6 +1135,8 @@ export type AgentSessionCreateManyUserInput = {
agentId: string
cwd: string
leafId?: string | null
assetId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
}
@@ -918,9 +1145,11 @@ export type AgentSessionUpdateWithoutUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
agent?: Prisma.AgentUpdateOneRequiredWithoutAgentSessionsNestedInput
asset?: Prisma.AssetUpdateOneWithoutAgentSessionsNestedInput
entries?: Prisma.AgentSessionEntryUpdateManyWithoutSessionNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutSessionNestedInput
}
@@ -930,6 +1159,8 @@ export type AgentSessionUncheckedUpdateWithoutUserInput = {
agentId?: Prisma.StringFieldUpdateOperationsInput | string
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
entries?: Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput
@@ -941,6 +1172,56 @@ export type AgentSessionUncheckedUpdateManyWithoutUserInput = {
agentId?: Prisma.StringFieldUpdateOperationsInput | string
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type AgentSessionCreateManyAssetInput = {
id?: string
agentId: string
userId?: string | null
cwd: string
leafId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
}
export type AgentSessionUpdateWithoutAssetInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
agent?: Prisma.AgentUpdateOneRequiredWithoutAgentSessionsNestedInput
user?: Prisma.UserUpdateOneWithoutAgentSessionsNestedInput
entries?: Prisma.AgentSessionEntryUpdateManyWithoutSessionNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutSessionNestedInput
}
export type AgentSessionUncheckedUpdateWithoutAssetInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
agentId?: Prisma.StringFieldUpdateOperationsInput | string
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
entries?: Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput
comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutSessionNestedInput
}
export type AgentSessionUncheckedUpdateManyWithoutAssetInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
agentId?: Prisma.StringFieldUpdateOperationsInput | string
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
@@ -950,6 +1231,8 @@ export type AgentSessionCreateManyAgentInput = {
userId?: string | null
cwd: string
leafId?: string | null
assetId?: string | null
userCommentId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
}
@@ -958,9 +1241,11 @@ export type AgentSessionUpdateWithoutAgentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
user?: Prisma.UserUpdateOneWithoutAgentSessionsNestedInput
asset?: Prisma.AssetUpdateOneWithoutAgentSessionsNestedInput
entries?: Prisma.AgentSessionEntryUpdateManyWithoutSessionNestedInput
comments?: Prisma.AssetCommentUpdateManyWithoutSessionNestedInput
}
@@ -970,6 +1255,8 @@ export type AgentSessionUncheckedUpdateWithoutAgentInput = {
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
entries?: Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput
@@ -981,6 +1268,8 @@ export type AgentSessionUncheckedUpdateManyWithoutAgentInput = {
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
cwd?: Prisma.StringFieldUpdateOperationsInput | string
leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userCommentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
@@ -1040,10 +1329,13 @@ export type AgentSessionSelect<
userId?: boolean
cwd?: boolean
leafId?: boolean
assetId?: boolean
userCommentId?: boolean
createdAt?: boolean
updatedAt?: boolean
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
user?: boolean | Prisma.AgentSession$userArgs<ExtArgs>
asset?: boolean | Prisma.AgentSession$assetArgs<ExtArgs>
entries?: boolean | Prisma.AgentSession$entriesArgs<ExtArgs>
comments?: boolean | Prisma.AgentSession$commentsArgs<ExtArgs>
_count?: boolean | Prisma.AgentSessionCountOutputTypeDefaultArgs<ExtArgs>
@@ -1060,10 +1352,13 @@ export type AgentSessionSelectCreateManyAndReturn<
userId?: boolean
cwd?: boolean
leafId?: boolean
assetId?: boolean
userCommentId?: boolean
createdAt?: boolean
updatedAt?: boolean
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
user?: boolean | Prisma.AgentSession$userArgs<ExtArgs>
asset?: boolean | Prisma.AgentSession$assetArgs<ExtArgs>
},
ExtArgs['result']['agentSession']
>
@@ -1077,10 +1372,13 @@ export type AgentSessionSelectUpdateManyAndReturn<
userId?: boolean
cwd?: boolean
leafId?: boolean
assetId?: boolean
userCommentId?: boolean
createdAt?: boolean
updatedAt?: boolean
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
user?: boolean | Prisma.AgentSession$userArgs<ExtArgs>
asset?: boolean | Prisma.AgentSession$assetArgs<ExtArgs>
},
ExtArgs['result']['agentSession']
>
@@ -1091,6 +1389,8 @@ export type AgentSessionSelectScalar = {
userId?: boolean
cwd?: boolean
leafId?: boolean
assetId?: boolean
userCommentId?: boolean
createdAt?: boolean
updatedAt?: boolean
}
@@ -1098,7 +1398,15 @@ export type AgentSessionSelectScalar = {
export type AgentSessionOmit<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = runtime.Types.Extensions.GetOmit<
'id' | 'agentId' | 'userId' | 'cwd' | 'leafId' | 'createdAt' | 'updatedAt',
| 'id'
| 'agentId'
| 'userId'
| 'cwd'
| 'leafId'
| 'assetId'
| 'userCommentId'
| 'createdAt'
| 'updatedAt',
ExtArgs['result']['agentSession']
>
export type AgentSessionInclude<
@@ -1106,6 +1414,7 @@ export type AgentSessionInclude<
> = {
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
user?: boolean | Prisma.AgentSession$userArgs<ExtArgs>
asset?: boolean | Prisma.AgentSession$assetArgs<ExtArgs>
entries?: boolean | Prisma.AgentSession$entriesArgs<ExtArgs>
comments?: boolean | Prisma.AgentSession$commentsArgs<ExtArgs>
_count?: boolean | Prisma.AgentSessionCountOutputTypeDefaultArgs<ExtArgs>
@@ -1115,12 +1424,14 @@ export type AgentSessionIncludeCreateManyAndReturn<
> = {
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
user?: boolean | Prisma.AgentSession$userArgs<ExtArgs>
asset?: boolean | Prisma.AgentSession$assetArgs<ExtArgs>
}
export type AgentSessionIncludeUpdateManyAndReturn<
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
> = {
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
user?: boolean | Prisma.AgentSession$userArgs<ExtArgs>
asset?: boolean | Prisma.AgentSession$assetArgs<ExtArgs>
}
export type $AgentSessionPayload<
@@ -1130,6 +1441,7 @@ export type $AgentSessionPayload<
objects: {
agent: Prisma.$AgentPayload<ExtArgs>
user: Prisma.$UserPayload<ExtArgs> | null
asset: Prisma.$AssetPayload<ExtArgs> | null
entries: Prisma.$AgentSessionEntryPayload<ExtArgs>[]
comments: Prisma.$AssetCommentPayload<ExtArgs>[]
}
@@ -1140,6 +1452,8 @@ export type $AgentSessionPayload<
userId: string | null
cwd: string
leafId: string | null
assetId: string | null
userCommentId: string | null
createdAt: Date
updatedAt: Date
},
@@ -1707,6 +2021,19 @@ export interface Prisma__AgentSessionClient<
ExtArgs,
GlobalOmitOptions
>
asset<T extends Prisma.AgentSession$assetArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.AgentSession$assetArgs<ExtArgs>>,
): Prisma.Prisma__AssetClient<
runtime.Types.Result.GetResult<
Prisma.$AssetPayload<ExtArgs>,
T,
'findUniqueOrThrow',
GlobalOmitOptions
> | null,
null,
ExtArgs,
GlobalOmitOptions
>
entries<T extends Prisma.AgentSession$entriesArgs<ExtArgs> = {}>(
args?: Prisma.Subset<T, Prisma.AgentSession$entriesArgs<ExtArgs>>,
): Prisma.PrismaPromise<
@@ -1765,6 +2092,8 @@ export interface AgentSessionFieldRefs {
readonly userId: Prisma.FieldRef<'AgentSession', 'String'>
readonly cwd: Prisma.FieldRef<'AgentSession', 'String'>
readonly leafId: Prisma.FieldRef<'AgentSession', 'String'>
readonly assetId: Prisma.FieldRef<'AgentSession', 'String'>
readonly userCommentId: Prisma.FieldRef<'AgentSession', 'String'>
readonly createdAt: Prisma.FieldRef<'AgentSession', 'DateTime'>
readonly updatedAt: Prisma.FieldRef<'AgentSession', 'DateTime'>
}
@@ -2227,6 +2556,27 @@ export type AgentSession$userArgs<
where?: Prisma.UserWhereInput
}
/**
* AgentSession.asset
*/
export type AgentSession$assetArgs<
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
}
/**
* AgentSession.entries
*/
@@ -367,6 +367,7 @@ export type AssetWhereInput = {
Prisma.ShareLinkNullableScalarRelationFilter,
Prisma.ShareLinkWhereInput
> | null
agentSessions?: Prisma.AgentSessionListRelationFilter
}
export type AssetOrderByWithRelationInput = {
@@ -408,6 +409,7 @@ export type AssetOrderByWithRelationInput = {
projectRootFolder?: Prisma.ProjectOrderByWithRelationInput
projectShareRoot?: Prisma.ProjectOrderByWithRelationInput
shareLinkRootFolder?: Prisma.ShareLinkOrderByWithRelationInput
agentSessions?: Prisma.AgentSessionOrderByRelationAggregateInput
}
export type AssetWhereUniqueInput = Prisma.AtLeast<
@@ -472,6 +474,7 @@ export type AssetWhereUniqueInput = Prisma.AtLeast<
Prisma.ShareLinkNullableScalarRelationFilter,
Prisma.ShareLinkWhereInput
> | null
agentSessions?: Prisma.AgentSessionListRelationFilter
},
'id' | 'parentIdTargetId'
>
@@ -565,6 +568,7 @@ export type AssetCreateInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateInput = {
@@ -600,6 +604,7 @@ export type AssetUncheckedCreateInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetUpdateInput = {
@@ -635,6 +640,7 @@ export type AssetUpdateInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateInput = {
@@ -670,6 +676,7 @@ export type AssetUncheckedUpdateInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateManyInput = {
@@ -1668,6 +1675,34 @@ export type AssetUncheckedUpdateManyWithoutTaskNestedInput = {
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
@@ -1700,6 +1735,7 @@ export type AssetCreateWithoutCreatorInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutCreatorInput = {
@@ -1734,6 +1770,7 @@ export type AssetUncheckedCreateWithoutCreatorInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutCreatorInput = {
@@ -1836,6 +1873,7 @@ export type AssetCreateWithoutTeamRootFolderInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutTeamRootFolderInput = {
@@ -1870,6 +1908,7 @@ export type AssetUncheckedCreateWithoutTeamRootFolderInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutTeamRootFolderInput = {
@@ -1932,6 +1971,7 @@ export type AssetUpdateWithoutTeamRootFolderInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutTeamRootFolderInput = {
@@ -1966,6 +2006,7 @@ export type AssetUncheckedUpdateWithoutTeamRootFolderInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutProjectRootFolderInput = {
@@ -2000,6 +2041,7 @@ export type AssetCreateWithoutProjectRootFolderInput = {
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutProjectRootFolderInput = {
@@ -2034,6 +2076,7 @@ export type AssetUncheckedCreateWithoutProjectRootFolderInput = {
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutProjectRootFolderInput = {
@@ -2076,6 +2119,7 @@ export type AssetCreateWithoutProjectShareRootInput = {
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutProjectShareRootInput = {
@@ -2110,6 +2154,7 @@ export type AssetUncheckedCreateWithoutProjectShareRootInput = {
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutProjectShareRootInput = {
@@ -2152,6 +2197,7 @@ export type AssetCreateWithoutProjectInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutProjectInput = {
@@ -2186,6 +2232,7 @@ export type AssetUncheckedCreateWithoutProjectInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutProjectInput = {
@@ -2253,6 +2300,7 @@ export type AssetUpdateWithoutProjectRootFolderInput = {
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutProjectRootFolderInput = {
@@ -2287,6 +2335,7 @@ export type AssetUncheckedUpdateWithoutProjectRootFolderInput = {
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUpsertWithoutProjectShareRootInput = {
@@ -2341,6 +2390,7 @@ export type AssetUpdateWithoutProjectShareRootInput = {
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutProjectShareRootInput = {
@@ -2375,6 +2425,7 @@ export type AssetUncheckedUpdateWithoutProjectShareRootInput = {
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUpsertWithWhereUniqueWithoutProjectInput = {
@@ -2437,6 +2488,7 @@ export type AssetCreateWithoutShareLinkRootFolderInput = {
teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutShareLinkRootFolderInput = {
@@ -2471,6 +2523,7 @@ export type AssetUncheckedCreateWithoutShareLinkRootFolderInput = {
teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutShareLinkRootFolderInput = {
@@ -2533,6 +2586,7 @@ export type AssetUpdateWithoutShareLinkRootFolderInput = {
teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutShareLinkRootFolderInput = {
@@ -2567,6 +2621,7 @@ export type AssetUncheckedUpdateWithoutShareLinkRootFolderInput = {
teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutChildrenInput = {
@@ -2601,6 +2656,7 @@ export type AssetCreateWithoutChildrenInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutChildrenInput = {
@@ -2635,6 +2691,7 @@ export type AssetUncheckedCreateWithoutChildrenInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutChildrenInput = {
@@ -2677,6 +2734,7 @@ export type AssetCreateWithoutParentInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutParentInput = {
@@ -2711,6 +2769,7 @@ export type AssetUncheckedCreateWithoutParentInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutParentInput = {
@@ -2758,6 +2817,7 @@ export type AssetCreateWithoutSymlinksInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutSymlinksInput = {
@@ -2792,6 +2852,7 @@ export type AssetUncheckedCreateWithoutSymlinksInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutSymlinksInput = {
@@ -2834,6 +2895,7 @@ export type AssetCreateWithoutTargetInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutTargetInput = {
@@ -2868,6 +2930,7 @@ export type AssetUncheckedCreateWithoutTargetInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutTargetInput = {
@@ -2935,6 +2998,7 @@ export type AssetUpdateWithoutChildrenInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutChildrenInput = {
@@ -2969,6 +3033,7 @@ export type AssetUncheckedUpdateWithoutChildrenInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUpsertWithWhereUniqueWithoutParentInput = {
@@ -3051,6 +3116,7 @@ export type AssetUpdateWithoutSymlinksInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutSymlinksInput = {
@@ -3085,6 +3151,7 @@ export type AssetUncheckedUpdateWithoutSymlinksInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUpsertWithWhereUniqueWithoutTargetInput = {
@@ -3147,6 +3214,7 @@ export type AssetCreateWithoutStorageKeyInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutStorageKeyInput = {
@@ -3181,6 +3249,7 @@ export type AssetUncheckedCreateWithoutStorageKeyInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutStorageKeyInput = {
@@ -3256,6 +3325,7 @@ export type AssetCreateWithoutMetadataValuesInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutMetadataValuesInput = {
@@ -3290,6 +3360,7 @@ export type AssetUncheckedCreateWithoutMetadataValuesInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutMetadataValuesInput = {
@@ -3352,6 +3423,7 @@ export type AssetUpdateWithoutMetadataValuesInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutMetadataValuesInput = {
@@ -3386,6 +3458,7 @@ export type AssetUncheckedUpdateWithoutMetadataValuesInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutCommentsInput = {
@@ -3420,6 +3493,7 @@ export type AssetCreateWithoutCommentsInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutCommentsInput = {
@@ -3454,6 +3528,7 @@ export type AssetUncheckedCreateWithoutCommentsInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutCommentsInput = {
@@ -3516,6 +3591,7 @@ export type AssetUpdateWithoutCommentsInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutCommentsInput = {
@@ -3550,6 +3626,7 @@ export type AssetUncheckedUpdateWithoutCommentsInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutCommentAttachmentsInput = {
@@ -3584,6 +3661,7 @@ export type AssetCreateWithoutCommentAttachmentsInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutCommentAttachmentsInput = {
@@ -3618,6 +3696,7 @@ export type AssetUncheckedCreateWithoutCommentAttachmentsInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutCommentAttachmentsInput = {
@@ -3680,6 +3759,7 @@ export type AssetUpdateWithoutCommentAttachmentsInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutCommentAttachmentsInput = {
@@ -3714,6 +3794,7 @@ export type AssetUncheckedUpdateWithoutCommentAttachmentsInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutEmbeddingsInput = {
@@ -3748,6 +3829,7 @@ export type AssetCreateWithoutEmbeddingsInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutEmbeddingsInput = {
@@ -3782,6 +3864,7 @@ export type AssetUncheckedCreateWithoutEmbeddingsInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutEmbeddingsInput = {
@@ -3844,6 +3927,7 @@ export type AssetUpdateWithoutEmbeddingsInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutEmbeddingsInput = {
@@ -3878,6 +3962,7 @@ export type AssetUncheckedUpdateWithoutEmbeddingsInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutNotificationsInput = {
@@ -3912,6 +3997,7 @@ export type AssetCreateWithoutNotificationsInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutNotificationsInput = {
@@ -3946,6 +4032,7 @@ export type AssetUncheckedCreateWithoutNotificationsInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutNotificationsInput = {
@@ -4008,6 +4095,7 @@ export type AssetUpdateWithoutNotificationsInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutNotificationsInput = {
@@ -4042,6 +4130,7 @@ export type AssetUncheckedUpdateWithoutNotificationsInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetCreateWithoutTaskInput = {
@@ -4076,6 +4165,7 @@ export type AssetCreateWithoutTaskInput = {
projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAssetInput
}
export type AssetUncheckedCreateWithoutTaskInput = {
@@ -4110,6 +4200,7 @@ export type AssetUncheckedCreateWithoutTaskInput = {
projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput
projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput
agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAssetInput
}
export type AssetCreateOrConnectWithoutTaskInput = {
@@ -4150,6 +4241,174 @@ export type AssetUpdateManyWithWhereWithoutTaskInput = {
>
}
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
@@ -4205,6 +4464,7 @@ export type AssetUpdateWithoutCreatorInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutCreatorInput = {
@@ -4239,6 +4499,7 @@ export type AssetUncheckedUpdateWithoutCreatorInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutCreatorInput = {
@@ -4319,6 +4580,7 @@ export type AssetUpdateWithoutProjectInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutProjectInput = {
@@ -4353,6 +4615,7 @@ export type AssetUncheckedUpdateWithoutProjectInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutProjectInput = {
@@ -4456,6 +4719,7 @@ export type AssetUpdateWithoutParentInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutParentInput = {
@@ -4490,6 +4754,7 @@ export type AssetUncheckedUpdateWithoutParentInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutParentInput = {
@@ -4547,6 +4812,7 @@ export type AssetUpdateWithoutTargetInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutTargetInput = {
@@ -4581,6 +4847,7 @@ export type AssetUncheckedUpdateWithoutTargetInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutTargetInput = {
@@ -4661,6 +4928,7 @@ export type AssetUpdateWithoutStorageKeyInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutStorageKeyInput = {
@@ -4695,6 +4963,7 @@ export type AssetUncheckedUpdateWithoutStorageKeyInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutStorageKeyInput = {
@@ -4775,6 +5044,7 @@ export type AssetUpdateWithoutTaskInput = {
projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateWithoutTaskInput = {
@@ -4809,6 +5079,7 @@ export type AssetUncheckedUpdateWithoutTaskInput = {
projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput
projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput
shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput
agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAssetNestedInput
}
export type AssetUncheckedUpdateManyWithoutTaskInput = {
@@ -4846,6 +5117,7 @@ export type AssetCountOutputType = {
commentAttachments: number
notifications: number
embeddings: number
agentSessions: number
}
export type AssetCountOutputTypeSelect<
@@ -4858,6 +5130,7 @@ export type AssetCountOutputTypeSelect<
commentAttachments?: boolean | AssetCountOutputTypeCountCommentAttachmentsArgs
notifications?: boolean | AssetCountOutputTypeCountNotificationsArgs
embeddings?: boolean | AssetCountOutputTypeCountEmbeddingsArgs
agentSessions?: boolean | AssetCountOutputTypeCountAgentSessionsArgs
}
/**
@@ -4935,6 +5208,15 @@ export type AssetCountOutputTypeCountEmbeddingsArgs<
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<
@@ -4977,6 +5259,7 @@ export type AssetSelect<
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']
@@ -5122,6 +5405,7 @@ export type AssetInclude<
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<
@@ -5167,6 +5451,7 @@ export type $AssetPayload<
projectRootFolder: Prisma.$ProjectPayload<ExtArgs> | null
projectShareRoot: Prisma.$ProjectPayload<ExtArgs> | null
shareLinkRootFolder: Prisma.$ShareLinkPayload<ExtArgs> | null
agentSessions: Prisma.$AgentSessionPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<
{
@@ -5911,6 +6196,17 @@ export interface Prisma__AssetClient<
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.
@@ -6794,6 +7090,34 @@ export type Asset$shareLinkRootFolderArgs<
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
*/