mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
0ecbb4a19d
* 🔨 prettier formated nodes - A * 🔨 prettier formated nodes - B * ⚡ prettier formated nodes - C * ⚡ prettier formated nodes - D * ⚡ prettier formated nodes - E-F * 🎨 Adjust nodes-base formatting command (#3805) * Format additional files in nodes A-F (#3811) * ⚡ fixes * 🎨 Add Mindee to ignored dirs Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
57 lines
1 KiB
TypeScript
57 lines
1 KiB
TypeScript
import { IHourlyRateDto, IMembershipDto } from './CommonDtos';
|
|
|
|
enum EstimateEnum {
|
|
AUTO = 'AUTO',
|
|
MANUAL = 'MANUAL',
|
|
}
|
|
|
|
interface IEstimateDto {
|
|
estimate: string;
|
|
type: EstimateEnum;
|
|
}
|
|
|
|
export interface IProjectDto {
|
|
archived: boolean;
|
|
billable: boolean;
|
|
clientId: string;
|
|
clientName: string | undefined;
|
|
color: string;
|
|
duration: string | undefined;
|
|
estimate: IEstimateDto | undefined;
|
|
hourlyRate: IHourlyRateDto | undefined;
|
|
id: string;
|
|
memberships: IMembershipDto[] | undefined;
|
|
name: string;
|
|
isPublic: boolean;
|
|
workspaceId: string;
|
|
note: string | undefined;
|
|
}
|
|
|
|
export interface IProjectRequest {
|
|
name: string;
|
|
clientId: string;
|
|
isPublic: boolean;
|
|
estimate: IEstimateDto;
|
|
color: string;
|
|
note: string;
|
|
billable: boolean;
|
|
hourlyRate: IHourlyRateDto;
|
|
memberships: IMembershipDto;
|
|
tasks: ITaskDto;
|
|
}
|
|
|
|
enum TaskStatusEnum {
|
|
ACTIVE = 'ACTIVE',
|
|
DONE = 'DONE',
|
|
}
|
|
|
|
export interface ITaskDto {
|
|
assigneeIds: object;
|
|
estimate: string;
|
|
id: string;
|
|
name: string;
|
|
projectId: string;
|
|
status: TaskStatusEnum;
|
|
'is-active': boolean;
|
|
}
|