debian-mirror-gitlab/app/assets/javascripts/lib/utils/constants.js
2021-01-03 14:25:43 +05:30

13 lines
349 B
JavaScript

export const BYTES_IN_KIB = 1024;
export const BYTES_IN_KB = 1000;
export const HIDDEN_CLASS = 'hidden';
export const TRUNCATE_WIDTH_DEFAULT_WIDTH = 80;
export const TRUNCATE_WIDTH_DEFAULT_FONT_SIZE = 12;
export const DATETIME_RANGE_TYPES = {
fixed: 'fixed',
anchored: 'anchored',
rolling: 'rolling',
open: 'open',
invalid: 'invalid',
};