update
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-10-12 15:57:59 +08:00
parent 4335ffb1e1
commit 87d2b828a1
9 changed files with 63 additions and 21 deletions

View File

@@ -154,6 +154,7 @@ export const SOURCES = {
Python2: "",
JavaScript: "",
Golang: "",
Flowchart: "",
} as const
export const LANGUAGE_ID = {
@@ -164,6 +165,7 @@ export const LANGUAGE_ID = {
Python2: 0,
JavaScript: 0,
Golang: 0,
Flowchart: 0,
} as const
export const LANGUAGE_FORMAT_VALUE = {
@@ -174,9 +176,11 @@ export const LANGUAGE_FORMAT_VALUE = {
Python3: "python",
JavaScript: "javascript",
Golang: "go",
Flowchart: "flowchart",
} as const
export const LANGUAGE_SHOW_VALUE = {
Flowchart: "流程图",
C: "C语言",
"C++": "C++",
Java: "Java",
@@ -187,7 +191,7 @@ export const LANGUAGE_SHOW_VALUE = {
} as const
export const ICON_SET = {
Flowchart: "material-symbols:flowchart",
Flowchart: "streamline-freehand-color:programming-flowchart",
Python2: "devicon:python",
Python3: "devicon:python",
C: "devicon:c",

View File

@@ -59,6 +59,7 @@ export type LANGUAGE =
| "Java"
| "JavaScript"
| "Golang"
| "Flowchart"
export type LANGUAGE_SHOW_LABEL =
(typeof LANGUAGE_SHOW_VALUE)[keyof typeof LANGUAGE_SHOW_VALUE]