mirror of
https://github.com/a-mayb3/KanbanCloneAngular.git
synced 2026-03-21 18:05:38 +01:00
Added completion status in task item
This commit is contained in:
parent
a7f506b873
commit
f7f12356de
4 changed files with 139 additions and 16 deletions
|
|
@ -1,18 +1,19 @@
|
|||
import { User } from "./auth.models";
|
||||
import { Task } from "./tasks.models";
|
||||
import { User } from './auth.models';
|
||||
import { Task } from './tasks.models';
|
||||
|
||||
export interface Project {
|
||||
id: number;
|
||||
name: string;
|
||||
description?: string;
|
||||
tasks?: Task[];
|
||||
}
|
||||
|
||||
export interface ProjectFull {
|
||||
id: number;
|
||||
name: string;
|
||||
description?: string;
|
||||
tasks: Task[];
|
||||
users: User[];
|
||||
id: number;
|
||||
name: string;
|
||||
description?: string;
|
||||
tasks: Task[];
|
||||
users: User[];
|
||||
}
|
||||
|
||||
export interface CreateProjectRequest {
|
||||
|
|
@ -23,4 +24,13 @@ export interface CreateProjectRequest {
|
|||
export interface UpdateProjectRequest {
|
||||
name?: string;
|
||||
description?: string;
|
||||
}
|
||||
}
|
||||
|
||||
export interface AddCollaboratorRequest {
|
||||
user_email: string;
|
||||
}
|
||||
|
||||
export interface AddCollaboratorResponse {
|
||||
success?: boolean;
|
||||
message?: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue