mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
23 lines
596 B
TypeScript
23 lines
596 B
TypeScript
// UNKNOWN_ID is the symbol for unknown id
|
|
export const UNKNOWN_ID = -1;
|
|
|
|
// 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" },
|
|
];
|
|
|
|
// space width for tab action in editor
|
|
export const TAB_SPACE_WIDTH = 2;
|
|
|
|
// default fetch memo amount
|
|
export const DEFAULT_MEMO_LIMIT = 30;
|
|
|
|
export const MEMOS_LOGO_URL = "https://usememos.com/logo.png";
|