feat: configure embedding servers and transcript agents

This commit is contained in:
yiling
2026-12-04 18:54:29 +08:00
parent 72a7f68c92
commit 553269012c
57 changed files with 1686 additions and 271 deletions
@@ -0,0 +1,17 @@
/*
Warnings:
- A unique constraint covering the columns `[transcription_task_id]` on the table `asset_comments` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterEnum
ALTER TYPE "AgentType" ADD VALUE 'transcription';
-- AlterTable
ALTER TABLE "asset_comments" ADD COLUMN "transcription_task_id" TEXT;
-- CreateIndex
CREATE UNIQUE INDEX "asset_comments_transcription_task_id_key" ON "asset_comments"("transcription_task_id");
-- AddForeignKey
ALTER TABLE "asset_comments" ADD CONSTRAINT "asset_comments_transcription_task_id_fkey" FOREIGN KEY ("transcription_task_id") REFERENCES "workflow_tasks"("id") ON DELETE SET NULL ON UPDATE CASCADE;
+4
View File
@@ -701,6 +701,8 @@ model AssetComment {
second Float?
sessionId String? @map("session_id")
session AgentSession? @relation(fields: [sessionId], references: [id], onDelete: SetNull)
transcriptionTaskId String? @unique @map("transcription_task_id")
transcriptionTask WorkflowTask? @relation(fields: [transcriptionTaskId], references: [id], onDelete: SetNull)
createdAt DateTime @default(now()) @map("created_at")
updatedAt DateTime @updatedAt @map("updated_at")
@@ -929,6 +931,7 @@ model WorkflowTask {
sessionId String? @map("session_id")
createdAt DateTime @default(now()) @map("created_at")
updatedAt DateTime @updatedAt @map("updated_at")
transcriptionFailureComment AssetComment?
@@map("workflow_tasks")
@@index([status, heartbeat])
@@ -942,6 +945,7 @@ enum AgentType {
chat
autofill
embedding
transcription
}
enum AgentSessionType {
+2 -1
View File
@@ -282,7 +282,8 @@ export type ShareActivityKind = (typeof ShareActivityKind)[keyof typeof ShareAct
export const AgentType = {
chat: 'chat',
autofill: 'autofill',
embedding: 'embedding'
embedding: 'embedding',
transcription: 'transcription'
} as const
export type AgentType = (typeof AgentType)[keyof typeof AgentType]
File diff suppressed because one or more lines are too long
@@ -5557,6 +5557,7 @@ export const AssetCommentScalarFieldEnum = {
annotation: 'annotation',
second: 'second',
sessionId: 'sessionId',
transcriptionTaskId: 'transcriptionTaskId',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
assetId: 'assetId',
@@ -435,6 +435,7 @@ export const AssetCommentScalarFieldEnum = {
annotation: 'annotation',
second: 'second',
sessionId: 'sessionId',
transcriptionTaskId: 'transcriptionTaskId',
createdAt: 'createdAt',
updatedAt: 'updatedAt',
assetId: 'assetId',
+226 -2
View File
@@ -41,6 +41,7 @@ export type AssetCommentMinAggregateOutputType = {
message: string | null
second: number | null
sessionId: string | null
transcriptionTaskId: string | null
createdAt: Date | null
updatedAt: Date | null
assetId: string | null
@@ -56,6 +57,7 @@ export type AssetCommentMaxAggregateOutputType = {
message: string | null
second: number | null
sessionId: string | null
transcriptionTaskId: string | null
createdAt: Date | null
updatedAt: Date | null
assetId: string | null
@@ -72,6 +74,7 @@ export type AssetCommentCountAggregateOutputType = {
annotation: number
second: number
sessionId: number
transcriptionTaskId: number
createdAt: number
updatedAt: number
assetId: number
@@ -97,6 +100,7 @@ export type AssetCommentMinAggregateInputType = {
message?: true
second?: true
sessionId?: true
transcriptionTaskId?: true
createdAt?: true
updatedAt?: true
assetId?: true
@@ -112,6 +116,7 @@ export type AssetCommentMaxAggregateInputType = {
message?: true
second?: true
sessionId?: true
transcriptionTaskId?: true
createdAt?: true
updatedAt?: true
assetId?: true
@@ -128,6 +133,7 @@ export type AssetCommentCountAggregateInputType = {
annotation?: true
second?: true
sessionId?: true
transcriptionTaskId?: true
createdAt?: true
updatedAt?: true
assetId?: true
@@ -231,6 +237,7 @@ export type AssetCommentGroupByOutputType = {
annotation:PrismaJson.AnnotationList | null
second: number | null
sessionId: string | null
transcriptionTaskId: string | null
createdAt: Date
updatedAt: Date
assetId: string
@@ -270,6 +277,7 @@ export type AssetCommentWhereInput = {
annotation?: Prisma.JsonNullableFilter<"AssetComment">
second?: Prisma.FloatNullableFilter<"AssetComment"> | number | null
sessionId?: Prisma.StringNullableFilter<"AssetComment"> | string | null
transcriptionTaskId?: Prisma.StringNullableFilter<"AssetComment"> | string | null
createdAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string
assetId?: Prisma.StringFilter<"AssetComment"> | string
@@ -279,6 +287,7 @@ export type AssetCommentWhereInput = {
completionLastChangedById?: Prisma.StringNullableFilter<"AssetComment"> | string | null
replyToId?: Prisma.StringNullableFilter<"AssetComment"> | string | null
session?: Prisma.XOR<Prisma.AgentSessionNullableScalarRelationFilter, Prisma.AgentSessionWhereInput> | null
transcriptionTask?: Prisma.XOR<Prisma.WorkflowTaskNullableScalarRelationFilter, Prisma.WorkflowTaskWhereInput> | null
asset?: Prisma.XOR<Prisma.AssetScalarRelationFilter, Prisma.AssetWhereInput>
creator?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
completionLastChangedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
@@ -294,6 +303,7 @@ export type AssetCommentOrderByWithRelationInput = {
annotation?: Prisma.SortOrderInput | Prisma.SortOrder
second?: Prisma.SortOrderInput | Prisma.SortOrder
sessionId?: Prisma.SortOrderInput | Prisma.SortOrder
transcriptionTaskId?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
assetId?: Prisma.SortOrder
@@ -303,6 +313,7 @@ export type AssetCommentOrderByWithRelationInput = {
completionLastChangedById?: Prisma.SortOrderInput | Prisma.SortOrder
replyToId?: Prisma.SortOrderInput | Prisma.SortOrder
session?: Prisma.AgentSessionOrderByWithRelationInput
transcriptionTask?: Prisma.WorkflowTaskOrderByWithRelationInput
asset?: Prisma.AssetOrderByWithRelationInput
creator?: Prisma.UserOrderByWithRelationInput
completionLastChangedBy?: Prisma.UserOrderByWithRelationInput
@@ -314,6 +325,7 @@ export type AssetCommentOrderByWithRelationInput = {
export type AssetCommentWhereUniqueInput = Prisma.AtLeast<{
id?: string
transcriptionTaskId?: string
AND?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[]
OR?: Prisma.AssetCommentWhereInput[]
NOT?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[]
@@ -330,6 +342,7 @@ export type AssetCommentWhereUniqueInput = Prisma.AtLeast<{
completionLastChangedById?: Prisma.StringNullableFilter<"AssetComment"> | string | null
replyToId?: Prisma.StringNullableFilter<"AssetComment"> | string | null
session?: Prisma.XOR<Prisma.AgentSessionNullableScalarRelationFilter, Prisma.AgentSessionWhereInput> | null
transcriptionTask?: Prisma.XOR<Prisma.WorkflowTaskNullableScalarRelationFilter, Prisma.WorkflowTaskWhereInput> | null
asset?: Prisma.XOR<Prisma.AssetScalarRelationFilter, Prisma.AssetWhereInput>
creator?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
completionLastChangedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
@@ -337,7 +350,7 @@ export type AssetCommentWhereUniqueInput = Prisma.AtLeast<{
replies?: Prisma.AssetCommentListRelationFilter
attachments?: Prisma.AssetCommentAttachmentListRelationFilter
reactions?: Prisma.AssetCommentReactionListRelationFilter
}, "id">
}, "id" | "transcriptionTaskId">
export type AssetCommentOrderByWithAggregationInput = {
id?: Prisma.SortOrder
@@ -345,6 +358,7 @@ export type AssetCommentOrderByWithAggregationInput = {
annotation?: Prisma.SortOrderInput | Prisma.SortOrder
second?: Prisma.SortOrderInput | Prisma.SortOrder
sessionId?: Prisma.SortOrderInput | Prisma.SortOrder
transcriptionTaskId?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
assetId?: Prisma.SortOrder
@@ -369,6 +383,7 @@ export type AssetCommentScalarWhereWithAggregatesInput = {
annotation?: Prisma.JsonNullableWithAggregatesFilter<"AssetComment">
second?: Prisma.FloatNullableWithAggregatesFilter<"AssetComment"> | number | null
sessionId?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null
transcriptionTaskId?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AssetComment"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AssetComment"> | Date | string
assetId?: Prisma.StringWithAggregatesFilter<"AssetComment"> | string
@@ -389,6 +404,7 @@ export type AssetCommentCreateInput = {
isCompleted?: boolean
isInternal?: boolean
session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput
transcriptionTask?: Prisma.WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput
asset: Prisma.AssetCreateNestedOneWithoutCommentsInput
creator?: Prisma.UserCreateNestedOneWithoutCommentsInput
completionLastChangedBy?: Prisma.UserCreateNestedOneWithoutCompletionChangedCommentsInput
@@ -404,6 +420,7 @@ export type AssetCommentUncheckedCreateInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -427,6 +444,7 @@ export type AssetCommentUpdateInput = {
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput
transcriptionTask?: Prisma.WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput
creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput
completionLastChangedBy?: Prisma.UserUpdateOneWithoutCompletionChangedCommentsNestedInput
@@ -442,6 +460,7 @@ export type AssetCommentUncheckedUpdateInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -461,6 +480,7 @@ export type AssetCommentCreateManyInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -488,6 +508,7 @@ export type AssetCommentUncheckedUpdateManyInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -519,6 +540,7 @@ export type AssetCommentCountOrderByAggregateInput = {
annotation?: Prisma.SortOrder
second?: Prisma.SortOrder
sessionId?: Prisma.SortOrder
transcriptionTaskId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
assetId?: Prisma.SortOrder
@@ -538,6 +560,7 @@ export type AssetCommentMaxOrderByAggregateInput = {
message?: Prisma.SortOrder
second?: Prisma.SortOrder
sessionId?: Prisma.SortOrder
transcriptionTaskId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
assetId?: Prisma.SortOrder
@@ -553,6 +576,7 @@ export type AssetCommentMinOrderByAggregateInput = {
message?: Prisma.SortOrder
second?: Prisma.SortOrder
sessionId?: Prisma.SortOrder
transcriptionTaskId?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
assetId?: Prisma.SortOrder
@@ -784,6 +808,38 @@ export type AssetCommentUpdateOneRequiredWithoutReactionsNestedInput = {
update?: Prisma.XOR<Prisma.XOR<Prisma.AssetCommentUpdateToOneWithWhereWithoutReactionsInput, Prisma.AssetCommentUpdateWithoutReactionsInput>, Prisma.AssetCommentUncheckedUpdateWithoutReactionsInput>
}
export type AssetCommentCreateNestedOneWithoutTranscriptionTaskInput = {
create?: Prisma.XOR<Prisma.AssetCommentCreateWithoutTranscriptionTaskInput, Prisma.AssetCommentUncheckedCreateWithoutTranscriptionTaskInput>
connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutTranscriptionTaskInput
connect?: Prisma.AssetCommentWhereUniqueInput
}
export type AssetCommentUncheckedCreateNestedOneWithoutTranscriptionTaskInput = {
create?: Prisma.XOR<Prisma.AssetCommentCreateWithoutTranscriptionTaskInput, Prisma.AssetCommentUncheckedCreateWithoutTranscriptionTaskInput>
connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutTranscriptionTaskInput
connect?: Prisma.AssetCommentWhereUniqueInput
}
export type AssetCommentUpdateOneWithoutTranscriptionTaskNestedInput = {
create?: Prisma.XOR<Prisma.AssetCommentCreateWithoutTranscriptionTaskInput, Prisma.AssetCommentUncheckedCreateWithoutTranscriptionTaskInput>
connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutTranscriptionTaskInput
upsert?: Prisma.AssetCommentUpsertWithoutTranscriptionTaskInput
disconnect?: Prisma.AssetCommentWhereInput | boolean
delete?: Prisma.AssetCommentWhereInput | boolean
connect?: Prisma.AssetCommentWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.AssetCommentUpdateToOneWithWhereWithoutTranscriptionTaskInput, Prisma.AssetCommentUpdateWithoutTranscriptionTaskInput>, Prisma.AssetCommentUncheckedUpdateWithoutTranscriptionTaskInput>
}
export type AssetCommentUncheckedUpdateOneWithoutTranscriptionTaskNestedInput = {
create?: Prisma.XOR<Prisma.AssetCommentCreateWithoutTranscriptionTaskInput, Prisma.AssetCommentUncheckedCreateWithoutTranscriptionTaskInput>
connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutTranscriptionTaskInput
upsert?: Prisma.AssetCommentUpsertWithoutTranscriptionTaskInput
disconnect?: Prisma.AssetCommentWhereInput | boolean
delete?: Prisma.AssetCommentWhereInput | boolean
connect?: Prisma.AssetCommentWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.AssetCommentUpdateToOneWithWhereWithoutTranscriptionTaskInput, Prisma.AssetCommentUpdateWithoutTranscriptionTaskInput>, Prisma.AssetCommentUncheckedUpdateWithoutTranscriptionTaskInput>
}
export type AssetCommentCreateNestedManyWithoutSessionInput = {
create?: Prisma.XOR<Prisma.AssetCommentCreateWithoutSessionInput, Prisma.AssetCommentUncheckedCreateWithoutSessionInput> | Prisma.AssetCommentCreateWithoutSessionInput[] | Prisma.AssetCommentUncheckedCreateWithoutSessionInput[]
connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutSessionInput | Prisma.AssetCommentCreateOrConnectWithoutSessionInput[]
@@ -836,6 +892,7 @@ export type AssetCommentCreateWithoutCreatorInput = {
isCompleted?: boolean
isInternal?: boolean
session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput
transcriptionTask?: Prisma.WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput
asset: Prisma.AssetCreateNestedOneWithoutCommentsInput
completionLastChangedBy?: Prisma.UserCreateNestedOneWithoutCompletionChangedCommentsInput
replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput
@@ -850,6 +907,7 @@ export type AssetCommentUncheckedCreateWithoutCreatorInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -882,6 +940,7 @@ export type AssetCommentCreateWithoutCompletionLastChangedByInput = {
isCompleted?: boolean
isInternal?: boolean
session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput
transcriptionTask?: Prisma.WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput
asset: Prisma.AssetCreateNestedOneWithoutCommentsInput
creator?: Prisma.UserCreateNestedOneWithoutCommentsInput
replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput
@@ -896,6 +955,7 @@ export type AssetCommentUncheckedCreateWithoutCompletionLastChangedByInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -943,6 +1003,7 @@ export type AssetCommentScalarWhereInput = {
annotation?: Prisma.JsonNullableFilter<"AssetComment">
second?: Prisma.FloatNullableFilter<"AssetComment"> | number | null
sessionId?: Prisma.StringNullableFilter<"AssetComment"> | string | null
transcriptionTaskId?: Prisma.StringNullableFilter<"AssetComment"> | string | null
createdAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string
assetId?: Prisma.StringFilter<"AssetComment"> | string
@@ -979,6 +1040,7 @@ export type AssetCommentCreateWithoutAssetInput = {
isCompleted?: boolean
isInternal?: boolean
session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput
transcriptionTask?: Prisma.WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput
creator?: Prisma.UserCreateNestedOneWithoutCommentsInput
completionLastChangedBy?: Prisma.UserCreateNestedOneWithoutCompletionChangedCommentsInput
replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput
@@ -993,6 +1055,7 @@ export type AssetCommentUncheckedCreateWithoutAssetInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
creatorId?: string | null
@@ -1041,6 +1104,7 @@ export type AssetCommentCreateWithoutRepliesInput = {
isCompleted?: boolean
isInternal?: boolean
session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput
transcriptionTask?: Prisma.WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput
asset: Prisma.AssetCreateNestedOneWithoutCommentsInput
creator?: Prisma.UserCreateNestedOneWithoutCommentsInput
completionLastChangedBy?: Prisma.UserCreateNestedOneWithoutCompletionChangedCommentsInput
@@ -1055,6 +1119,7 @@ export type AssetCommentUncheckedCreateWithoutRepliesInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -1082,6 +1147,7 @@ export type AssetCommentCreateWithoutReplyToInput = {
isCompleted?: boolean
isInternal?: boolean
session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput
transcriptionTask?: Prisma.WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput
asset: Prisma.AssetCreateNestedOneWithoutCommentsInput
creator?: Prisma.UserCreateNestedOneWithoutCommentsInput
completionLastChangedBy?: Prisma.UserCreateNestedOneWithoutCompletionChangedCommentsInput
@@ -1096,6 +1162,7 @@ export type AssetCommentUncheckedCreateWithoutReplyToInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -1139,6 +1206,7 @@ export type AssetCommentUpdateWithoutRepliesInput = {
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput
transcriptionTask?: Prisma.WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput
creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput
completionLastChangedBy?: Prisma.UserUpdateOneWithoutCompletionChangedCommentsNestedInput
@@ -1153,6 +1221,7 @@ export type AssetCommentUncheckedUpdateWithoutRepliesInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1191,6 +1260,7 @@ export type AssetCommentCreateWithoutAttachmentsInput = {
isCompleted?: boolean
isInternal?: boolean
session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput
transcriptionTask?: Prisma.WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput
asset: Prisma.AssetCreateNestedOneWithoutCommentsInput
creator?: Prisma.UserCreateNestedOneWithoutCommentsInput
completionLastChangedBy?: Prisma.UserCreateNestedOneWithoutCompletionChangedCommentsInput
@@ -1205,6 +1275,7 @@ export type AssetCommentUncheckedCreateWithoutAttachmentsInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -1243,6 +1314,7 @@ export type AssetCommentUpdateWithoutAttachmentsInput = {
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput
transcriptionTask?: Prisma.WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput
creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput
completionLastChangedBy?: Prisma.UserUpdateOneWithoutCompletionChangedCommentsNestedInput
@@ -1257,6 +1329,7 @@ export type AssetCommentUncheckedUpdateWithoutAttachmentsInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1279,6 +1352,7 @@ export type AssetCommentCreateWithoutReactionsInput = {
isCompleted?: boolean
isInternal?: boolean
session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput
transcriptionTask?: Prisma.WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput
asset: Prisma.AssetCreateNestedOneWithoutCommentsInput
creator?: Prisma.UserCreateNestedOneWithoutCommentsInput
completionLastChangedBy?: Prisma.UserCreateNestedOneWithoutCompletionChangedCommentsInput
@@ -1293,6 +1367,7 @@ export type AssetCommentUncheckedCreateWithoutReactionsInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -1331,6 +1406,7 @@ export type AssetCommentUpdateWithoutReactionsInput = {
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput
transcriptionTask?: Prisma.WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput
creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput
completionLastChangedBy?: Prisma.UserUpdateOneWithoutCompletionChangedCommentsNestedInput
@@ -1340,6 +1416,98 @@ export type AssetCommentUpdateWithoutReactionsInput = {
}
export type AssetCommentUncheckedUpdateWithoutReactionsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
completionLastChangedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput
attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput
}
export type AssetCommentCreateWithoutTranscriptionTaskInput = {
id?: string
message?: string | null
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
createdAt?: Date | string
updatedAt?: Date | string
isCompleted?: boolean
isInternal?: boolean
session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput
asset: Prisma.AssetCreateNestedOneWithoutCommentsInput
creator?: Prisma.UserCreateNestedOneWithoutCommentsInput
completionLastChangedBy?: Prisma.UserCreateNestedOneWithoutCompletionChangedCommentsInput
replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput
replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput
attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput
reactions?: Prisma.AssetCommentReactionCreateNestedManyWithoutCommentInput
}
export type AssetCommentUncheckedCreateWithoutTranscriptionTaskInput = {
id?: string
message?: string | null
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
creatorId?: string | null
isCompleted?: boolean
isInternal?: boolean
completionLastChangedById?: string | null
replyToId?: string | null
replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput
attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput
reactions?: Prisma.AssetCommentReactionUncheckedCreateNestedManyWithoutCommentInput
}
export type AssetCommentCreateOrConnectWithoutTranscriptionTaskInput = {
where: Prisma.AssetCommentWhereUniqueInput
create: Prisma.XOR<Prisma.AssetCommentCreateWithoutTranscriptionTaskInput, Prisma.AssetCommentUncheckedCreateWithoutTranscriptionTaskInput>
}
export type AssetCommentUpsertWithoutTranscriptionTaskInput = {
update: Prisma.XOR<Prisma.AssetCommentUpdateWithoutTranscriptionTaskInput, Prisma.AssetCommentUncheckedUpdateWithoutTranscriptionTaskInput>
create: Prisma.XOR<Prisma.AssetCommentCreateWithoutTranscriptionTaskInput, Prisma.AssetCommentUncheckedCreateWithoutTranscriptionTaskInput>
where?: Prisma.AssetCommentWhereInput
}
export type AssetCommentUpdateToOneWithWhereWithoutTranscriptionTaskInput = {
where?: Prisma.AssetCommentWhereInput
data: Prisma.XOR<Prisma.AssetCommentUpdateWithoutTranscriptionTaskInput, Prisma.AssetCommentUncheckedUpdateWithoutTranscriptionTaskInput>
}
export type AssetCommentUpdateWithoutTranscriptionTaskInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput
creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput
completionLastChangedBy?: Prisma.UserUpdateOneWithoutCompletionChangedCommentsNestedInput
replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput
replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput
attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput
reactions?: Prisma.AssetCommentReactionUpdateManyWithoutCommentNestedInput
}
export type AssetCommentUncheckedUpdateWithoutTranscriptionTaskInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
@@ -1355,6 +1523,7 @@ export type AssetCommentUncheckedUpdateWithoutReactionsInput = {
replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput
attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput
reactions?: Prisma.AssetCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
}
export type AssetCommentCreateWithoutSessionInput = {
@@ -1366,6 +1535,7 @@ export type AssetCommentCreateWithoutSessionInput = {
updatedAt?: Date | string
isCompleted?: boolean
isInternal?: boolean
transcriptionTask?: Prisma.WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput
asset: Prisma.AssetCreateNestedOneWithoutCommentsInput
creator?: Prisma.UserCreateNestedOneWithoutCommentsInput
completionLastChangedBy?: Prisma.UserCreateNestedOneWithoutCompletionChangedCommentsInput
@@ -1380,6 +1550,7 @@ export type AssetCommentUncheckedCreateWithoutSessionInput = {
message?: string | null
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -1425,6 +1596,7 @@ export type AssetCommentCreateManyCreatorInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -1440,6 +1612,7 @@ export type AssetCommentCreateManyCompletionLastChangedByInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -1459,6 +1632,7 @@ export type AssetCommentUpdateWithoutCreatorInput = {
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput
transcriptionTask?: Prisma.WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput
completionLastChangedBy?: Prisma.UserUpdateOneWithoutCompletionChangedCommentsNestedInput
replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput
@@ -1473,6 +1647,7 @@ export type AssetCommentUncheckedUpdateWithoutCreatorInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1491,6 +1666,7 @@ export type AssetCommentUncheckedUpdateManyWithoutCreatorInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1510,6 +1686,7 @@ export type AssetCommentUpdateWithoutCompletionLastChangedByInput = {
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput
transcriptionTask?: Prisma.WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput
creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput
replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput
@@ -1524,6 +1701,7 @@ export type AssetCommentUncheckedUpdateWithoutCompletionLastChangedByInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1542,6 +1720,7 @@ export type AssetCommentUncheckedUpdateManyWithoutCompletionLastChangedByInput =
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1557,6 +1736,7 @@ export type AssetCommentCreateManyAssetInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
creatorId?: string | null
@@ -1576,6 +1756,7 @@ export type AssetCommentUpdateWithoutAssetInput = {
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput
transcriptionTask?: Prisma.WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput
creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput
completionLastChangedBy?: Prisma.UserUpdateOneWithoutCompletionChangedCommentsNestedInput
replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput
@@ -1590,6 +1771,7 @@ export type AssetCommentUncheckedUpdateWithoutAssetInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1608,6 +1790,7 @@ export type AssetCommentUncheckedUpdateManyWithoutAssetInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1623,6 +1806,7 @@ export type AssetCommentCreateManyReplyToInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
sessionId?: string | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -1642,6 +1826,7 @@ export type AssetCommentUpdateWithoutReplyToInput = {
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput
transcriptionTask?: Prisma.WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput
creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput
completionLastChangedBy?: Prisma.UserUpdateOneWithoutCompletionChangedCommentsNestedInput
@@ -1656,6 +1841,7 @@ export type AssetCommentUncheckedUpdateWithoutReplyToInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1674,6 +1860,7 @@ export type AssetCommentUncheckedUpdateManyWithoutReplyToInput = {
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1688,6 +1875,7 @@ export type AssetCommentCreateManySessionInput = {
message?: string | null
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: number | null
transcriptionTaskId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
assetId: string
@@ -1707,6 +1895,7 @@ export type AssetCommentUpdateWithoutSessionInput = {
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
isCompleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
isInternal?: Prisma.BoolFieldUpdateOperationsInput | boolean
transcriptionTask?: Prisma.WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput
asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput
creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput
completionLastChangedBy?: Prisma.UserUpdateOneWithoutCompletionChangedCommentsNestedInput
@@ -1721,6 +1910,7 @@ export type AssetCommentUncheckedUpdateWithoutSessionInput = {
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1739,6 +1929,7 @@ export type AssetCommentUncheckedUpdateManyWithoutSessionInput = {
message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput
second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
transcriptionTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
assetId?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1804,6 +1995,7 @@ export type AssetCommentSelect<ExtArgs extends runtime.Types.Extensions.Internal
annotation?: boolean
second?: boolean
sessionId?: boolean
transcriptionTaskId?: boolean
createdAt?: boolean
updatedAt?: boolean
assetId?: boolean
@@ -1813,6 +2005,7 @@ export type AssetCommentSelect<ExtArgs extends runtime.Types.Extensions.Internal
completionLastChangedById?: boolean
replyToId?: boolean
session?: boolean | Prisma.AssetComment$sessionArgs<ExtArgs>
transcriptionTask?: boolean | Prisma.AssetComment$transcriptionTaskArgs<ExtArgs>
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
creator?: boolean | Prisma.AssetComment$creatorArgs<ExtArgs>
completionLastChangedBy?: boolean | Prisma.AssetComment$completionLastChangedByArgs<ExtArgs>
@@ -1829,6 +2022,7 @@ export type AssetCommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.
annotation?: boolean
second?: boolean
sessionId?: boolean
transcriptionTaskId?: boolean
createdAt?: boolean
updatedAt?: boolean
assetId?: boolean
@@ -1838,6 +2032,7 @@ export type AssetCommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.
completionLastChangedById?: boolean
replyToId?: boolean
session?: boolean | Prisma.AssetComment$sessionArgs<ExtArgs>
transcriptionTask?: boolean | Prisma.AssetComment$transcriptionTaskArgs<ExtArgs>
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
creator?: boolean | Prisma.AssetComment$creatorArgs<ExtArgs>
completionLastChangedBy?: boolean | Prisma.AssetComment$completionLastChangedByArgs<ExtArgs>
@@ -1850,6 +2045,7 @@ export type AssetCommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.
annotation?: boolean
second?: boolean
sessionId?: boolean
transcriptionTaskId?: boolean
createdAt?: boolean
updatedAt?: boolean
assetId?: boolean
@@ -1859,6 +2055,7 @@ export type AssetCommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.
completionLastChangedById?: boolean
replyToId?: boolean
session?: boolean | Prisma.AssetComment$sessionArgs<ExtArgs>
transcriptionTask?: boolean | Prisma.AssetComment$transcriptionTaskArgs<ExtArgs>
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
creator?: boolean | Prisma.AssetComment$creatorArgs<ExtArgs>
completionLastChangedBy?: boolean | Prisma.AssetComment$completionLastChangedByArgs<ExtArgs>
@@ -1871,6 +2068,7 @@ export type AssetCommentSelectScalar = {
annotation?: boolean
second?: boolean
sessionId?: boolean
transcriptionTaskId?: boolean
createdAt?: boolean
updatedAt?: boolean
assetId?: boolean
@@ -1881,9 +2079,10 @@ export type AssetCommentSelectScalar = {
replyToId?: boolean
}
export type AssetCommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "message" | "annotation" | "second" | "sessionId" | "createdAt" | "updatedAt" | "assetId" | "creatorId" | "isCompleted" | "isInternal" | "completionLastChangedById" | "replyToId", ExtArgs["result"]["assetComment"]>
export type AssetCommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "message" | "annotation" | "second" | "sessionId" | "transcriptionTaskId" | "createdAt" | "updatedAt" | "assetId" | "creatorId" | "isCompleted" | "isInternal" | "completionLastChangedById" | "replyToId", ExtArgs["result"]["assetComment"]>
export type AssetCommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
session?: boolean | Prisma.AssetComment$sessionArgs<ExtArgs>
transcriptionTask?: boolean | Prisma.AssetComment$transcriptionTaskArgs<ExtArgs>
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
creator?: boolean | Prisma.AssetComment$creatorArgs<ExtArgs>
completionLastChangedBy?: boolean | Prisma.AssetComment$completionLastChangedByArgs<ExtArgs>
@@ -1895,6 +2094,7 @@ export type AssetCommentInclude<ExtArgs extends runtime.Types.Extensions.Interna
}
export type AssetCommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
session?: boolean | Prisma.AssetComment$sessionArgs<ExtArgs>
transcriptionTask?: boolean | Prisma.AssetComment$transcriptionTaskArgs<ExtArgs>
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
creator?: boolean | Prisma.AssetComment$creatorArgs<ExtArgs>
completionLastChangedBy?: boolean | Prisma.AssetComment$completionLastChangedByArgs<ExtArgs>
@@ -1902,6 +2102,7 @@ export type AssetCommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types
}
export type AssetCommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
session?: boolean | Prisma.AssetComment$sessionArgs<ExtArgs>
transcriptionTask?: boolean | Prisma.AssetComment$transcriptionTaskArgs<ExtArgs>
asset?: boolean | Prisma.AssetDefaultArgs<ExtArgs>
creator?: boolean | Prisma.AssetComment$creatorArgs<ExtArgs>
completionLastChangedBy?: boolean | Prisma.AssetComment$completionLastChangedByArgs<ExtArgs>
@@ -1912,6 +2113,7 @@ export type $AssetCommentPayload<ExtArgs extends runtime.Types.Extensions.Intern
name: "AssetComment"
objects: {
session: Prisma.$AgentSessionPayload<ExtArgs> | null
transcriptionTask: Prisma.$WorkflowTaskPayload<ExtArgs> | null
asset: Prisma.$AssetPayload<ExtArgs>
creator: Prisma.$UserPayload<ExtArgs> | null
completionLastChangedBy: Prisma.$UserPayload<ExtArgs> | null
@@ -1929,6 +2131,7 @@ export type $AssetCommentPayload<ExtArgs extends runtime.Types.Extensions.Intern
annotation:PrismaJson.AnnotationList | null
second: number | null
sessionId: string | null
transcriptionTaskId: string | null
createdAt: Date
updatedAt: Date
assetId: string
@@ -2332,6 +2535,7 @@ readonly fields: AssetCommentFieldRefs;
export interface Prisma__AssetCommentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
session<T extends Prisma.AssetComment$sessionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AssetComment$sessionArgs<ExtArgs>>): Prisma.Prisma__AgentSessionClient<runtime.Types.Result.GetResult<Prisma.$AgentSessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
transcriptionTask<T extends Prisma.AssetComment$transcriptionTaskArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AssetComment$transcriptionTaskArgs<ExtArgs>>): Prisma.Prisma__WorkflowTaskClient<runtime.Types.Result.GetResult<Prisma.$WorkflowTaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
asset<T extends Prisma.AssetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AssetDefaultArgs<ExtArgs>>): Prisma.Prisma__AssetClient<runtime.Types.Result.GetResult<Prisma.$AssetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
creator<T extends Prisma.AssetComment$creatorArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AssetComment$creatorArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
completionLastChangedBy<T extends Prisma.AssetComment$completionLastChangedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AssetComment$completionLastChangedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
@@ -2373,6 +2577,7 @@ export interface AssetCommentFieldRefs {
readonly annotation: Prisma.FieldRef<"AssetComment", 'Json'>
readonly second: Prisma.FieldRef<"AssetComment", 'Float'>
readonly sessionId: Prisma.FieldRef<"AssetComment", 'String'>
readonly transcriptionTaskId: Prisma.FieldRef<"AssetComment", 'String'>
readonly createdAt: Prisma.FieldRef<"AssetComment", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"AssetComment", 'DateTime'>
readonly assetId: Prisma.FieldRef<"AssetComment", 'String'>
@@ -2800,6 +3005,25 @@ export type AssetComment$sessionArgs<ExtArgs extends runtime.Types.Extensions.In
where?: Prisma.AgentSessionWhereInput
}
/**
* AssetComment.transcriptionTask
*/
export type AssetComment$transcriptionTaskArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowTask
*/
select?: Prisma.WorkflowTaskSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
where?: Prisma.WorkflowTaskWhereInput
}
/**
* AssetComment.creator
*/
+189 -1
View File
@@ -302,6 +302,7 @@ export type WorkflowTaskWhereInput = {
sessionId?: Prisma.StringNullableFilter<"WorkflowTask"> | string | null
createdAt?: Prisma.DateTimeFilter<"WorkflowTask"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"WorkflowTask"> | Date | string
transcriptionFailureComment?: Prisma.XOR<Prisma.AssetCommentNullableScalarRelationFilter, Prisma.AssetCommentWhereInput> | null
}
export type WorkflowTaskOrderByWithRelationInput = {
@@ -321,6 +322,7 @@ export type WorkflowTaskOrderByWithRelationInput = {
sessionId?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
transcriptionFailureComment?: Prisma.AssetCommentOrderByWithRelationInput
}
export type WorkflowTaskWhereUniqueInput = Prisma.AtLeast<{
@@ -343,6 +345,7 @@ export type WorkflowTaskWhereUniqueInput = Prisma.AtLeast<{
sessionId?: Prisma.StringNullableFilter<"WorkflowTask"> | string | null
createdAt?: Prisma.DateTimeFilter<"WorkflowTask"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"WorkflowTask"> | Date | string
transcriptionFailureComment?: Prisma.XOR<Prisma.AssetCommentNullableScalarRelationFilter, Prisma.AssetCommentWhereInput> | null
}, "id">
export type WorkflowTaskOrderByWithAggregationInput = {
@@ -408,6 +411,7 @@ export type WorkflowTaskCreateInput = {
sessionId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
transcriptionFailureComment?: Prisma.AssetCommentCreateNestedOneWithoutTranscriptionTaskInput
}
export type WorkflowTaskUncheckedCreateInput = {
@@ -427,6 +431,7 @@ export type WorkflowTaskUncheckedCreateInput = {
sessionId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
transcriptionFailureComment?: Prisma.AssetCommentUncheckedCreateNestedOneWithoutTranscriptionTaskInput
}
export type WorkflowTaskUpdateInput = {
@@ -446,6 +451,7 @@ export type WorkflowTaskUpdateInput = {
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
transcriptionFailureComment?: Prisma.AssetCommentUpdateOneWithoutTranscriptionTaskNestedInput
}
export type WorkflowTaskUncheckedUpdateInput = {
@@ -465,6 +471,7 @@ export type WorkflowTaskUncheckedUpdateInput = {
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
transcriptionFailureComment?: Prisma.AssetCommentUncheckedUpdateOneWithoutTranscriptionTaskNestedInput
}
export type WorkflowTaskCreateManyInput = {
@@ -524,6 +531,11 @@ export type WorkflowTaskUncheckedUpdateManyInput = {
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type WorkflowTaskNullableScalarRelationFilter = {
is?: Prisma.WorkflowTaskWhereInput | null
isNot?: Prisma.WorkflowTaskWhereInput | null
}
export type WorkflowTaskCountOrderByAggregateInput = {
id?: Prisma.SortOrder
uid?: Prisma.SortOrder
@@ -587,6 +599,22 @@ export type WorkflowTaskSumOrderByAggregateInput = {
outputTokens?: Prisma.SortOrder
}
export type WorkflowTaskCreateNestedOneWithoutTranscriptionFailureCommentInput = {
create?: Prisma.XOR<Prisma.WorkflowTaskCreateWithoutTranscriptionFailureCommentInput, Prisma.WorkflowTaskUncheckedCreateWithoutTranscriptionFailureCommentInput>
connectOrCreate?: Prisma.WorkflowTaskCreateOrConnectWithoutTranscriptionFailureCommentInput
connect?: Prisma.WorkflowTaskWhereUniqueInput
}
export type WorkflowTaskUpdateOneWithoutTranscriptionFailureCommentNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowTaskCreateWithoutTranscriptionFailureCommentInput, Prisma.WorkflowTaskUncheckedCreateWithoutTranscriptionFailureCommentInput>
connectOrCreate?: Prisma.WorkflowTaskCreateOrConnectWithoutTranscriptionFailureCommentInput
upsert?: Prisma.WorkflowTaskUpsertWithoutTranscriptionFailureCommentInput
disconnect?: Prisma.WorkflowTaskWhereInput | boolean
delete?: Prisma.WorkflowTaskWhereInput | boolean
connect?: Prisma.WorkflowTaskWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowTaskUpdateToOneWithWhereWithoutTranscriptionFailureCommentInput, Prisma.WorkflowTaskUpdateWithoutTranscriptionFailureCommentInput>, Prisma.WorkflowTaskUncheckedUpdateWithoutTranscriptionFailureCommentInput>
}
export type NullableEnumWorkflowTaskTypeFieldUpdateOperationsInput = {
set?: $Enums.WorkflowTaskType | null
}
@@ -595,6 +623,98 @@ export type NullableEnumWorkflowTaskStatusFieldUpdateOperationsInput = {
set?: $Enums.WorkflowTaskStatus | null
}
export type WorkflowTaskCreateWithoutTranscriptionFailureCommentInput = {
id?: string
uid?: string
teamId?: string | null
projectId?: string | null
assetId: string
type?: $Enums.WorkflowTaskType | null
status?: $Enums.WorkflowTaskStatus | null
payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput
output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput
heartbeat?: Date | string | null
inputTokens?: number
outputTokens?: number
model?: string | null
sessionId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
}
export type WorkflowTaskUncheckedCreateWithoutTranscriptionFailureCommentInput = {
id?: string
uid?: string
teamId?: string | null
projectId?: string | null
assetId: string
type?: $Enums.WorkflowTaskType | null
status?: $Enums.WorkflowTaskStatus | null
payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput
output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput
heartbeat?: Date | string | null
inputTokens?: number
outputTokens?: number
model?: string | null
sessionId?: string | null
createdAt?: Date | string
updatedAt?: Date | string
}
export type WorkflowTaskCreateOrConnectWithoutTranscriptionFailureCommentInput = {
where: Prisma.WorkflowTaskWhereUniqueInput
create: Prisma.XOR<Prisma.WorkflowTaskCreateWithoutTranscriptionFailureCommentInput, Prisma.WorkflowTaskUncheckedCreateWithoutTranscriptionFailureCommentInput>
}
export type WorkflowTaskUpsertWithoutTranscriptionFailureCommentInput = {
update: Prisma.XOR<Prisma.WorkflowTaskUpdateWithoutTranscriptionFailureCommentInput, Prisma.WorkflowTaskUncheckedUpdateWithoutTranscriptionFailureCommentInput>
create: Prisma.XOR<Prisma.WorkflowTaskCreateWithoutTranscriptionFailureCommentInput, Prisma.WorkflowTaskUncheckedCreateWithoutTranscriptionFailureCommentInput>
where?: Prisma.WorkflowTaskWhereInput
}
export type WorkflowTaskUpdateToOneWithWhereWithoutTranscriptionFailureCommentInput = {
where?: Prisma.WorkflowTaskWhereInput
data: Prisma.XOR<Prisma.WorkflowTaskUpdateWithoutTranscriptionFailureCommentInput, Prisma.WorkflowTaskUncheckedUpdateWithoutTranscriptionFailureCommentInput>
}
export type WorkflowTaskUpdateWithoutTranscriptionFailureCommentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
uid?: Prisma.StringFieldUpdateOperationsInput | string
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.NullableEnumWorkflowTaskTypeFieldUpdateOperationsInput | $Enums.WorkflowTaskType | null
status?: Prisma.NullableEnumWorkflowTaskStatusFieldUpdateOperationsInput | $Enums.WorkflowTaskStatus | null
payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput
output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput
heartbeat?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
inputTokens?: Prisma.IntFieldUpdateOperationsInput | number
outputTokens?: Prisma.IntFieldUpdateOperationsInput | number
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type WorkflowTaskUncheckedUpdateWithoutTranscriptionFailureCommentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
uid?: Prisma.StringFieldUpdateOperationsInput | string
teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
assetId?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.NullableEnumWorkflowTaskTypeFieldUpdateOperationsInput | $Enums.WorkflowTaskType | null
status?: Prisma.NullableEnumWorkflowTaskStatusFieldUpdateOperationsInput | $Enums.WorkflowTaskStatus | null
payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput
output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput
heartbeat?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
inputTokens?: Prisma.IntFieldUpdateOperationsInput | number
outputTokens?: Prisma.IntFieldUpdateOperationsInput | number
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type WorkflowTaskSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
@@ -614,6 +734,7 @@ export type WorkflowTaskSelect<ExtArgs extends runtime.Types.Extensions.Internal
sessionId?: boolean
createdAt?: boolean
updatedAt?: boolean
transcriptionFailureComment?: boolean | Prisma.WorkflowTask$transcriptionFailureCommentArgs<ExtArgs>
}, ExtArgs["result"]["workflowTask"]>
export type WorkflowTaskSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
@@ -674,10 +795,17 @@ export type WorkflowTaskSelectScalar = {
}
export type WorkflowTaskOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uid" | "teamId" | "projectId" | "assetId" | "type" | "status" | "payload" | "output" | "heartbeat" | "inputTokens" | "outputTokens" | "model" | "sessionId" | "createdAt" | "updatedAt", ExtArgs["result"]["workflowTask"]>
export type WorkflowTaskInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
transcriptionFailureComment?: boolean | Prisma.WorkflowTask$transcriptionFailureCommentArgs<ExtArgs>
}
export type WorkflowTaskIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type WorkflowTaskIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type $WorkflowTaskPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "WorkflowTask"
objects: {}
objects: {
transcriptionFailureComment: Prisma.$AssetCommentPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
uid: string
@@ -1095,6 +1223,7 @@ readonly fields: WorkflowTaskFieldRefs;
*/
export interface Prisma__WorkflowTaskClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
transcriptionFailureComment<T extends Prisma.WorkflowTask$transcriptionFailureCommentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowTask$transcriptionFailureCommentArgs<ExtArgs>>): Prisma.Prisma__AssetCommentClient<runtime.Types.Result.GetResult<Prisma.$AssetCommentPayload<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.
@@ -1156,6 +1285,10 @@ export type WorkflowTaskFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
/**
* Filter, which WorkflowTask to fetch.
*/
@@ -1174,6 +1307,10 @@ export type WorkflowTaskFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Exte
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
/**
* Filter, which WorkflowTask to fetch.
*/
@@ -1192,6 +1329,10 @@ export type WorkflowTaskFindFirstArgs<ExtArgs extends runtime.Types.Extensions.I
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
/**
* Filter, which WorkflowTask to fetch.
*/
@@ -1240,6 +1381,10 @@ export type WorkflowTaskFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Exten
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
/**
* Filter, which WorkflowTask to fetch.
*/
@@ -1288,6 +1433,10 @@ export type WorkflowTaskFindManyArgs<ExtArgs extends runtime.Types.Extensions.In
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
/**
* Filter, which WorkflowTasks to fetch.
*/
@@ -1336,6 +1485,10 @@ export type WorkflowTaskCreateArgs<ExtArgs extends runtime.Types.Extensions.Inte
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
/**
* The data needed to create a WorkflowTask.
*/
@@ -1384,6 +1537,10 @@ export type WorkflowTaskUpdateArgs<ExtArgs extends runtime.Types.Extensions.Inte
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
/**
* The data needed to update a WorkflowTask.
*/
@@ -1450,6 +1607,10 @@ export type WorkflowTaskUpsertArgs<ExtArgs extends runtime.Types.Extensions.Inte
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
/**
* The filter to search for the WorkflowTask to update in case it exists.
*/
@@ -1476,6 +1637,10 @@ export type WorkflowTaskDeleteArgs<ExtArgs extends runtime.Types.Extensions.Inte
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
/**
* Filter which WorkflowTask to delete.
*/
@@ -1496,6 +1661,25 @@ export type WorkflowTaskDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.
limit?: number
}
/**
* WorkflowTask.transcriptionFailureComment
*/
export type WorkflowTask$transcriptionFailureCommentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AssetComment
*/
select?: Prisma.AssetCommentSelect<ExtArgs> | null
/**
* Omit specific fields from the AssetComment
*/
omit?: Prisma.AssetCommentOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AssetCommentInclude<ExtArgs> | null
where?: Prisma.AssetCommentWhereInput
}
/**
* WorkflowTask without action
*/
@@ -1508,4 +1692,8 @@ export type WorkflowTaskDefaultArgs<ExtArgs extends runtime.Types.Extensions.Int
* Omit specific fields from the WorkflowTask
*/
omit?: Prisma.WorkflowTaskOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowTaskInclude<ExtArgs> | null
}
+1
View File
@@ -123,6 +123,7 @@ declare global {
transcode?: TranscodeSettings
turntable?: TurntableSettings
gotenberg?: GotenbergSettings
embeddingServer?: { url?: string }
mediaGeneration?: MediaGenerationSettings
appearance?: AppearanceSettings
emailNotification?: EmailNotificationSettings