ref: Little refactoring

This commit is contained in:
Maksim Eltyshev
2025-07-14 14:54:06 +02:00
parent 70cadcd974
commit 3aba4d4a56
14 changed files with 123 additions and 52 deletions
+5
View File
@@ -71,6 +71,11 @@ export const ListTypes = {
TRASH: 'trash',
};
export const ListTypeStates = {
OPENED: 'opened',
CLOSED: 'closed',
};
export const ListSortFieldNames = {
NAME: 'name',
DUE_DATE: 'dueDate',
@@ -0,0 +1,11 @@
/*!
* Copyright (c) 2024 PLANKA Software GmbH
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
import { ListTypes, ListTypeStates } from './Enums';
export default {
[ListTypes.ACTIVE]: ListTypeStates.OPENED,
[ListTypes.CLOSED]: ListTypeStates.CLOSED,
};