mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 01:24:05 -08:00
35 lines
666 B
TypeScript
35 lines
666 B
TypeScript
import { ITimeIntervalDto } from './CommonDtos';
|
|
|
|
interface ITimeEntriesDurationRequest {
|
|
start: string;
|
|
end: string;
|
|
}
|
|
|
|
export interface ITimeEntryRequest {
|
|
id: string;
|
|
start: string;
|
|
billable: boolean;
|
|
description: string;
|
|
projectId: string;
|
|
userId: string;
|
|
taskId?: string | null;
|
|
end: string;
|
|
tagIds?: string[] | undefined;
|
|
timeInterval: ITimeEntriesDurationRequest;
|
|
workspaceId: string;
|
|
isLocked: boolean;
|
|
}
|
|
|
|
export interface ITimeEntryDto {
|
|
billable: boolean;
|
|
description: string;
|
|
id: string;
|
|
isLocked: boolean;
|
|
projectId: string;
|
|
tagIds: string[];
|
|
taskId: string;
|
|
timeInterval: ITimeIntervalDto;
|
|
userId: string;
|
|
workspaceId: string;
|
|
}
|