2019-11-12 11:55:22 +00:00
|
|
|
export const AUTH_KEY = 'asc_auth_key';
|
2020-01-20 13:20:19 +00:00
|
|
|
export const LANGUAGE = 'language';
|
2020-01-24 11:59:55 +00:00
|
|
|
export const ARTICLE_PINNED_KEY = 'asc_article_pinned_key';
|
2019-11-12 11:55:22 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
|
});
|
2019-11-19 11:10:56 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum for employee type.
|
|
|
|
* @readonly
|
|
|
|
*/
|
|
|
|
export const EmployeeType = Object.freeze({
|
|
|
|
User: 1,
|
|
|
|
Guest: 2
|
2020-03-03 06:30:27 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
2019-11-19 11:10:56 +00:00
|
|
|
});
|