// UNKNOWN_ID is the symbol for unknown id
export const UNKNOWN_ID = -1;

// default animation duration
export const ANIMATION_DURATION = 200;

// toast animation duration
export const TOAST_ANIMATION_DURATION = 400;

// millisecond in a day
export const DAILY_TIMESTAMP = 3600 * 24 * 1000;

// tag regex
export const TAG_REG = /#(.+?)\s/g;

// URL regex
export const LINK_REG = /(https?:\/\/[^\s<\\*>']+)/g;

// image regex
export const IMAGE_URL_REG = /([^\s<\\*>']+\.(jpeg|jpg|gif|png|svg))/g;

// linked memo regex
export const MEMO_LINK_REG = /\[@(.+?)\]\((.+?)\)/g;
