2023-03-24 02:00:33 +09:00
|
|
|
export const OWNER = "Yidadaa";
|
|
|
|
export const REPO = "ChatGPT-Next-Web";
|
|
|
|
export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
|
2023-04-03 14:29:37 +09:00
|
|
|
export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;
|
2023-04-06 01:41:44 +09:00
|
|
|
export const UPDATE_URL = `${REPO_URL}#keep-updated`;
|
2023-03-24 02:00:33 +09:00
|
|
|
export const FETCH_COMMIT_URL = `https://api.github.com/repos/${OWNER}/${REPO}/commits?per_page=1`;
|
2023-03-31 01:46:17 +09:00
|
|
|
export const FETCH_TAG_URL = `https://api.github.com/repos/${OWNER}/${REPO}/tags?per_page=1`;
|
2023-04-11 02:21:34 +09:00
|
|
|
export const RUNTIME_CONFIG_DOM = "danger-runtime-config";
|
2023-04-21 02:12:39 +09:00
|
|
|
|
|
|
|
export enum Path {
|
|
|
|
Home = "/",
|
|
|
|
Chat = "/chat",
|
|
|
|
Settings = "/settings",
|
2023-04-24 02:15:44 +09:00
|
|
|
NewChat = "/new-chat",
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum SlotID {
|
|
|
|
AppBody = "app-body",
|
2023-04-21 02:12:39 +09:00
|
|
|
}
|
2023-04-21 03:52:53 +09:00
|
|
|
|
|
|
|
export const MAX_SIDEBAR_WIDTH = 500;
|
|
|
|
export const MIN_SIDEBAR_WIDTH = 230;
|
|
|
|
export const NARROW_SIDEBAR_WIDTH = 100;
|