2020-02-03 14:11:35 -08:00
|
|
|
export interface IHourlyRateDto {
|
|
|
|
amount: number;
|
|
|
|
currency: string;
|
|
|
|
}
|
|
|
|
|
2023-04-21 04:23:15 -07:00
|
|
|
const enum MembershipStatusEnum {
|
2020-02-21 02:41:08 -08:00
|
|
|
PENDING = 'PENDING',
|
|
|
|
ACTIVE = 'ACTIVE',
|
|
|
|
DECLINED = 'DECLINED',
|
2020-10-22 06:46:03 -07:00
|
|
|
INACTIVE = 'INACTIVE',
|
2020-02-03 14:11:35 -08:00
|
|
|
}
|
|
|
|
|
2023-04-21 04:23:15 -07:00
|
|
|
const enum TaskStatusEnum {
|
2021-09-03 10:03:15 -07:00
|
|
|
ACTIVE = 'ACTIVE',
|
|
|
|
DONE = 'DONE',
|
|
|
|
}
|
|
|
|
|
2020-02-03 14:11:35 -08:00
|
|
|
export interface IMembershipDto {
|
|
|
|
hourlyRate: IHourlyRateDto;
|
|
|
|
membershipStatus: MembershipStatusEnum;
|
|
|
|
membershipType: string;
|
|
|
|
targetId: string;
|
|
|
|
userId: string;
|
|
|
|
}
|
2020-10-04 07:28:05 -07:00
|
|
|
|
|
|
|
export interface ITagDto {
|
|
|
|
id: string;
|
2022-12-02 06:25:21 -08:00
|
|
|
name: any;
|
2020-10-04 07:28:05 -07:00
|
|
|
workspaceId: string;
|
|
|
|
archived: boolean;
|
|
|
|
}
|
|
|
|
|
2021-09-03 10:03:15 -07:00
|
|
|
export interface ITaskDto {
|
|
|
|
assigneeIds: object;
|
|
|
|
estimate: string;
|
|
|
|
id: string;
|
2022-12-02 06:25:21 -08:00
|
|
|
name: any;
|
2021-09-03 10:03:15 -07:00
|
|
|
workspaceId: string;
|
|
|
|
projectId: string;
|
|
|
|
'is-active': boolean;
|
|
|
|
status: TaskStatusEnum;
|
|
|
|
}
|
|
|
|
|
2020-10-04 07:28:05 -07:00
|
|
|
export interface ITimeIntervalDto {
|
|
|
|
duration: string;
|
|
|
|
end: string;
|
|
|
|
start: string;
|
|
|
|
}
|