|
@@ -139,7 +139,7 @@ export interface IProjectData {
|
|
|
|
|
|
|
|
export interface IProjectUpdateRequest {
|
|
export interface IProjectUpdateRequest {
|
|
|
id?: string;
|
|
id?: string;
|
|
|
- studio_name: string;
|
|
|
|
|
|
|
+ studio_name?: string;
|
|
|
title: string;
|
|
title: string;
|
|
|
type: TProjectType;
|
|
type: TProjectType;
|
|
|
description?: string | null;
|
|
description?: string | null;
|
|
@@ -185,8 +185,11 @@ export interface ITaskStatusInProject {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface ITaskGroupInsertRequest {
|
|
export interface ITaskGroupInsertRequest {
|
|
|
|
|
+ data: ITaskGroupInsertData[];
|
|
|
|
|
+}
|
|
|
|
|
+export interface ITaskGroupInsertData {
|
|
|
project_id: string;
|
|
project_id: string;
|
|
|
- data: ITaskData[];
|
|
|
|
|
|
|
+ tasks: ITaskData[];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface ITaskGroupResponse {
|
|
export interface ITaskGroupResponse {
|
|
@@ -194,3 +197,13 @@ export interface ITaskGroupResponse {
|
|
|
message: string;
|
|
message: string;
|
|
|
data: string;
|
|
data: string;
|
|
|
}
|
|
}
|
|
|
|
|
+export interface IProjectTreeInsertRequest {
|
|
|
|
|
+ studio_name: string;
|
|
|
|
|
+ data: IProjectUpdateRequest[];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export interface IProjectTreeResponse {
|
|
|
|
|
+ ok: boolean;
|
|
|
|
|
+ message: string;
|
|
|
|
|
+ data: { leafs: string[] };
|
|
|
|
|
+}
|