This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/types/IRelationKind.ts

16 lines
448 B
TypeScript

export enum RELATION_KIND {
'SUBTASK' = 'subtask',
'PARENTTASK' = 'parenttask',
'RELATED' = 'related',
'DUPLICATES' = 'duplicates',
'BLOCKING' = 'blocking',
'BLOCKED' = 'blocked',
'PROCEDES' = 'precedes',
'FOLLOWS' = 'follows',
'COPIEDFROM' = 'copiedfrom',
'COPIEDTO' = 'copiedto',
}
export type IRelationKind = typeof RELATION_KIND[keyof typeof RELATION_KIND]
export const RELATION_KINDS = [...Object.values(RELATION_KIND)] as const