init
This commit is contained in:
@@ -17,4 +17,5 @@ export interface IPassportSession extends IUser {
|
||||
socket_id?: string;
|
||||
is_expired?: boolean;
|
||||
owner_id?: string;
|
||||
subscription_status?: string;
|
||||
}
|
||||
|
||||
38
worklenz-backend/src/interfaces/recurring-tasks.ts
Normal file
38
worklenz-backend/src/interfaces/recurring-tasks.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
export interface IRecurringSchedule {
|
||||
id: string;
|
||||
schedule_type: "daily" | "weekly" | "monthly" | "yearly" | "every_x_days" | "every_x_weeks" | "every_x_months";
|
||||
days_of_week: number[] | null;
|
||||
day_of_month: number | null;
|
||||
date_of_month: number | null;
|
||||
week_of_month: number | null;
|
||||
interval_days: number | null;
|
||||
interval_weeks: number | null;
|
||||
interval_months: number | null;
|
||||
last_created_task_end_date: Date | null;
|
||||
last_checked_at: Date | null;
|
||||
last_task_end_date: Date | null;
|
||||
created_at: Date;
|
||||
}
|
||||
|
||||
interface ITaskTemplateAssignee {
|
||||
team_member_id: string;
|
||||
assigned_by: string
|
||||
}
|
||||
|
||||
interface ITaskTemplateLabel {
|
||||
label_id: string;
|
||||
}
|
||||
|
||||
|
||||
export interface ITaskTemplate {
|
||||
task_id: string;
|
||||
schedule_id: string;
|
||||
created_at: Date;
|
||||
name: string;
|
||||
priority_id: string;
|
||||
project_id: string;
|
||||
reporter_id: string;
|
||||
status_id: string;
|
||||
assignees: ITaskTemplateAssignee[];
|
||||
labels: ITaskTemplateLabel[]
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
export interface ISerializeCallback {
|
||||
(error: string | null, id: string | null): void;
|
||||
(error: string | null, user: { id: string | null } | null): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user