mirror of https://github.com/usememos/memos.git
22 lines
577 B
TypeScript
22 lines
577 B
TypeScript
// UNKNOWN_ID is the symbol for unknown id
|
|
export const UNKNOWN_ID = -1;
|
|
export const UNKNOWN_USERNAME = "";
|
|
|
|
// default animation duration
|
|
export const ANIMATION_DURATION = 200;
|
|
|
|
// millisecond in a day
|
|
export const DAILY_TIMESTAMP = 3600 * 24 * 1000;
|
|
|
|
export const VISIBILITY_SELECTOR_ITEMS = [
|
|
{ text: "PRIVATE", value: "PRIVATE" },
|
|
{ text: "PROTECTED", value: "PROTECTED" },
|
|
{ text: "PUBLIC", value: "PUBLIC" },
|
|
] as const;
|
|
|
|
// space width for tab action in editor
|
|
export const TAB_SPACE_WIDTH = 2;
|
|
|
|
// default fetch memo amount
|
|
export const DEFAULT_MEMO_LIMIT = 20;
|