web-base/react/shared/constants.js

9 lines
277 B
JavaScript

export const API_DATE_FORMAT = "yyyy-MM-dd";
export const API_TIME_FORMAT = "HH:mm:ss";
export const API_DATETIME_FORMAT = API_DATE_FORMAT + " " + API_TIME_FORMAT;
export const USER_GROUP_ADMIN = 1;
export const USER_GROUP_SUPPORT = 2;
export const USER_GROUP_MODERATOR = 3;