feat: 图片广场优化
This commit is contained in:
@@ -14,12 +14,23 @@ export interface TaskStatusResponse {
|
||||
publishStatus: string;
|
||||
categories: string[];
|
||||
creationTime: string;
|
||||
errorInfo?: string;
|
||||
}
|
||||
|
||||
export interface TaskListRequest {
|
||||
PageIndex: number;
|
||||
PageSize: number;
|
||||
SkipCount: number;
|
||||
MaxResultCount: number;
|
||||
TaskStatus?: 'Processing' | 'Success' | 'Fail';
|
||||
Prompt?: string;
|
||||
PublishStatus?: 'Unpublished' | 'Published';
|
||||
StartTime?: string;
|
||||
EndTime?: string;
|
||||
OrderByColumn?: string;
|
||||
IsAsc?: string;
|
||||
IsAscending?: boolean;
|
||||
Sorting?: string;
|
||||
Categories?: string;
|
||||
UserName?: string;
|
||||
}
|
||||
|
||||
export interface TaskItem {
|
||||
@@ -31,6 +42,10 @@ export interface TaskItem {
|
||||
publishStatus: string;
|
||||
categories: string[];
|
||||
creationTime: string;
|
||||
errorInfo?: string;
|
||||
isAnonymous?: boolean;
|
||||
userName?: string | null;
|
||||
userId?: string | null;
|
||||
}
|
||||
|
||||
export interface TaskListResponse {
|
||||
@@ -41,6 +56,7 @@ export interface TaskListResponse {
|
||||
export interface PublishImageRequest {
|
||||
taskId: string;
|
||||
categories: string[];
|
||||
isAnonymous?: boolean;
|
||||
}
|
||||
|
||||
export interface ImageModel {
|
||||
|
||||
Reference in New Issue
Block a user