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