|
@@ -148,6 +148,7 @@ export interface IProjectUpdateRequest {
|
|
|
type: TProjectType;
|
|
type: TProjectType;
|
|
|
description?: string | null;
|
|
description?: string | null;
|
|
|
parent_id?: string | null;
|
|
parent_id?: string | null;
|
|
|
|
|
+ res_id?: string;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface IProjectListResponse {
|
|
export interface IProjectListResponse {
|
|
@@ -199,7 +200,7 @@ export interface ITaskGroupInsertData {
|
|
|
export interface ITaskGroupResponse {
|
|
export interface ITaskGroupResponse {
|
|
|
ok: boolean;
|
|
ok: boolean;
|
|
|
message: string;
|
|
message: string;
|
|
|
- data: string;
|
|
|
|
|
|
|
+ data: { taskCount: number; taskRelationCount: number };
|
|
|
}
|
|
}
|
|
|
export interface IProjectTreeInsertRequest {
|
|
export interface IProjectTreeInsertRequest {
|
|
|
studio_name: string;
|
|
studio_name: string;
|
|
@@ -207,8 +208,13 @@ export interface IProjectTreeInsertRequest {
|
|
|
data: IProjectUpdateRequest[];
|
|
data: IProjectUpdateRequest[];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+interface IProjectTreeData {
|
|
|
|
|
+ id: string;
|
|
|
|
|
+ resId?: string;
|
|
|
|
|
+ isLeaf: boolean;
|
|
|
|
|
+}
|
|
|
export interface IProjectTreeResponse {
|
|
export interface IProjectTreeResponse {
|
|
|
ok: boolean;
|
|
ok: boolean;
|
|
|
message: string;
|
|
message: string;
|
|
|
- data: { leafs: string[] };
|
|
|
|
|
|
|
+ data: { rows: IProjectTreeData[]; count: number };
|
|
|
}
|
|
}
|