DocSpace-client/web/ASC.Web.Common/src/constants/index.js

66 lines
1.1 KiB
JavaScript
Raw Normal View History

export const AUTH_KEY = 'asc_auth_key';
export const LANGUAGE = 'language';
export const ARTICLE_PINNED_KEY = 'asc_article_pinned_key';
/**
* Enum for employee activation status.
* @readonly
*/
export const EmployeeActivationStatus = Object.freeze({
NotActivated: 0,
Activated: 1,
Pending: 2,
AutoGenerated: 4
});
/**
* Enum for employee status.
* @readonly
*/
export const EmployeeStatus = Object.freeze({
Active: 1,
Disabled: 2
});
/**
* Enum for employee type.
* @readonly
*/
export const EmployeeType = Object.freeze({
User: 1,
Guest: 2
});
/**
* Enum for filter type.
* @readonly
*/
export const FilterType = Object.freeze({
None: 0,
FilesOnly: 1,
FoldersOnly: 2,
DocumentsOnly: 3,
PresentationsOnly: 4,
SpreadsheetsOnly: 5,
ImagesOnly: 7,
ByUser: 8,
ByDepartment: 9,
ArchiveOnly: 10,
ByExtension: 11,
MediaOnly: 12,
});
/**
* Enum for file type.
* @readonly
*/
export const FileType = Object.freeze({
Unknown: 0,
Archive: 1,
Video: 2,
Audio: 3,
Image: 4,
Spreadsheet: 5,
Presentation: 6,
Document: 7
});