chore: workspace issues types and constants

This commit is contained in:
Anmol Singh Bhatia 2023-09-25 19:28:55 +05:30
parent 1283d7597d
commit 5153744a35
3 changed files with 4 additions and 2 deletions

View File

@ -21,6 +21,8 @@ export const GROUP_CHOICES = {
cancelled: "Cancelled", cancelled: "Cancelled",
}; };
export const STATE_GROUP = ["Backlog", "Unstarted", "Started", "Completed", "Cancelled"];
export const PRIORITIES: TIssuePriorities[] = ["urgent", "high", "medium", "low", "none"]; export const PRIORITIES: TIssuePriorities[] = ["urgent", "high", "medium", "low", "none"];
export const MONTHS = [ export const MONTHS = [

View File

@ -39,7 +39,7 @@ export interface IIssueFilterOptions {
subscriber?: string[] | null; subscriber?: string[] | null;
target_date?: string[] | null; target_date?: string[] | null;
estimate_point?: string[] | null; estimate_point?: string[] | null;
projects?: string[] | null; project?: string[] | null;
} }
export interface IIssueDisplayFilterOptions { export interface IIssueDisplayFilterOptions {

View File

@ -30,5 +30,5 @@ export interface IQuery {
start_date: string[] | null; start_date: string[] | null;
target_date: string[] | null; target_date: string[] | null;
type: "active" | "backlog" | null; type: "active" | "backlog" | null;
projects: string[] | null; project: string[] | null;
} }