feat: 素材处理管线——自动处理、审核流程、6状态机
This commit is contained in:
@@ -31,6 +31,7 @@ export interface CreateConversationRequest {
|
||||
export interface CreateMaterialRequest {
|
||||
associatedDate: string;
|
||||
description: string;
|
||||
materialType?: MaterialType;
|
||||
}
|
||||
|
||||
export interface CreateModelRequest {
|
||||
@@ -69,6 +70,8 @@ export interface Material {
|
||||
createdAt: string;
|
||||
description: string;
|
||||
id: string;
|
||||
materialType: MaterialType;
|
||||
processedContent: null | string;
|
||||
projectId: string;
|
||||
status: MaterialStatus;
|
||||
updatedAt: string;
|
||||
@@ -85,7 +88,9 @@ export interface MaterialResponse {
|
||||
material: Material;
|
||||
}
|
||||
|
||||
export type MaterialStatus = "approved" | "discarded" | "pending";
|
||||
export type MaterialStatus = "approved" | "discarded" | "failed" | "pending" | "processing" | "review";
|
||||
|
||||
export type MaterialType = "general" | "meeting";
|
||||
|
||||
export interface Message {
|
||||
content: string;
|
||||
|
||||
Reference in New Issue
Block a user