mirror of
https://github.com/makeplane/plane.git
synced 2025-12-25 16:19:43 +01:00
* Add fallback when db initialization fails * add checks for instance.exec * chore: convert issue boolean fields to actual boolean value. * change instance exec code * sync issue to local db when inbox issue is accepted and draft issue is moved to project * chore: added project and workspace keys --------- Co-authored-by: rahulramesha <rahulramesham@gmail.com> Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com> Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
24 lines
492 B
TypeScript
24 lines
492 B
TypeScript
export const ARRAY_FIELDS = ["label_ids", "assignee_ids", "module_ids"];
|
|
|
|
export const BOOLEAN_FIELDS = ["is_draft"];
|
|
|
|
export const GROUP_BY_MAP = {
|
|
state_id: "state_id",
|
|
priority: "priority",
|
|
cycle_id: "cycle_id",
|
|
created_by: "created_by",
|
|
// Array Props
|
|
issue_module__module_id: "module_ids",
|
|
labels__id: "label_ids",
|
|
assignees__id: "assignee_ids",
|
|
target_date: "target_date",
|
|
};
|
|
|
|
export const PRIORITY_MAP = {
|
|
low: 1,
|
|
medium: 2,
|
|
high: 3,
|
|
urgent: 4,
|
|
none: 0,
|
|
};
|