mirror of
https://github.com/plankanban/planka.git
synced 2025-12-29 17:25:05 +03:00
@@ -1,22 +1,104 @@
|
||||
/*!
|
||||
* Copyright (c) 2024 PLANKA Software GmbH
|
||||
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
|
||||
*/
|
||||
|
||||
export const SortOrders = {
|
||||
ASC: 'asc',
|
||||
DESC: 'desc',
|
||||
};
|
||||
|
||||
export const EditorModes = {
|
||||
WYSIWYG: 'wysiwyg',
|
||||
MARKUP: 'markup',
|
||||
};
|
||||
|
||||
export const HomeViews = {
|
||||
GRID_PROJECTS: 'gridProjects',
|
||||
GROUPED_PROJECTS: 'groupedProjects',
|
||||
};
|
||||
|
||||
export const UserRoles = {
|
||||
ADMIN: 'admin',
|
||||
PROJECT_OWNER: 'projectOwner',
|
||||
BOARD_USER: 'boardUser',
|
||||
};
|
||||
|
||||
export const ProjectOrders = {
|
||||
BY_DEFAULT: 'byDefault',
|
||||
ALPHABETICALLY: 'alphabetically',
|
||||
BY_CREATION_TIME: 'byCreationTime',
|
||||
};
|
||||
|
||||
export const ProjectGroups = {
|
||||
MY_OWN: 'myOwn',
|
||||
TEAM: 'team',
|
||||
SHARED_WITH_ME: 'sharedWithMe',
|
||||
OTHERS: 'others',
|
||||
};
|
||||
|
||||
export const ProjectTypes = {
|
||||
PRIVATE: 'private',
|
||||
SHARED: 'shared',
|
||||
};
|
||||
|
||||
export const ProjectBackgroundTypes = {
|
||||
GRADIENT: 'gradient',
|
||||
IMAGE: 'image',
|
||||
};
|
||||
|
||||
export const BoardViews = {
|
||||
KANBAN: 'kanban',
|
||||
GRID: 'grid',
|
||||
LIST: 'list',
|
||||
};
|
||||
|
||||
export const BoardContexts = {
|
||||
BOARD: 'board',
|
||||
ARCHIVE: 'archive',
|
||||
TRASH: 'trash',
|
||||
};
|
||||
|
||||
export const BoardMembershipRoles = {
|
||||
EDITOR: 'editor',
|
||||
VIEWER: 'viewer',
|
||||
};
|
||||
|
||||
export const ListSortTypes = {
|
||||
NAME_ASC: 'name_asc',
|
||||
DUE_DATE_ASC: 'dueDate_asc',
|
||||
CREATED_AT_ASC: 'createdAt_asc',
|
||||
CREATED_AT_DESC: 'createdAt_desc',
|
||||
export const ListTypes = {
|
||||
ACTIVE: 'active',
|
||||
CLOSED: 'closed',
|
||||
ARCHIVE: 'archive',
|
||||
TRASH: 'trash',
|
||||
};
|
||||
|
||||
export const ListSortFieldNames = {
|
||||
NAME: 'name',
|
||||
DUE_DATE: 'dueDate',
|
||||
CREATED_AT: 'createdAt',
|
||||
};
|
||||
|
||||
export const CardTypes = {
|
||||
PROJECT: 'project',
|
||||
STORY: 'story',
|
||||
};
|
||||
|
||||
export const AttachmentTypes = {
|
||||
FILE: 'file',
|
||||
LINK: 'link',
|
||||
};
|
||||
|
||||
export const ActivityTypes = {
|
||||
CREATE_CARD: 'createCard',
|
||||
MOVE_CARD: 'moveCard',
|
||||
};
|
||||
|
||||
export const NotificationTypes = {
|
||||
MOVE_CARD: 'moveCard',
|
||||
COMMENT_CARD: 'commentCard',
|
||||
};
|
||||
|
||||
export const NotificationServiceFormats = {
|
||||
TEXT: 'text',
|
||||
MARKDOWN: 'markdown',
|
||||
HTML: 'html',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user