diff options
Diffstat (limited to 'client/src/utils/constants.js')
-rw-r--r-- | client/src/utils/constants.js | 91 |
1 files changed, 67 insertions, 24 deletions
diff --git a/client/src/utils/constants.js b/client/src/utils/constants.js index 07e50c6..2583f6c 100644 --- a/client/src/utils/constants.js +++ b/client/src/utils/constants.js @@ -1,25 +1,68 @@ export const SERVER_BASE_URL = import.meta.env.VITE_SERVER_BASE_URL; -export const SUPPORTED_LANGUAGES = { - none: "Plain Text", - c: "C", - cpp: "C++", - css: "CSS", - git: "Git", - go: "Golang", - html: "HTML", - java: "Java", - js: "JavaScript", - json: "JSON", - jsx: "JSX", - kotlin: "Kotlin", - lua: "Lua", - md: "Markdown", - py: "Python", - rust: "Rust", - sh: "Shell", - sql: "SQL", - ts: "TypeScript", - tsx: "TSX", - url: "URL", - xml: "XML", -}; +export const SUPPORTED_LANGUAGES = [{ + value: "none", + label: "Plain Text", +}, { + value: "c", + label: "C", +}, { + value: "cpp", + label: "C++", +}, { + value: "css", + label: "CSS", +}, { + value: "git", + label: "Git", +}, { + value: "go", + label: "Golang", +}, { + value: "html", + label: "HTML", +}, { + value: "java", + label: "Java", +}, { + value: "js", + label: "JavaScript", +}, { + value: "json", + label: "JSON", +}, { + value: "jsx", + label: "JSX", +}, { + value: "kotlin", + label: "Kotlin", +}, { + value: "lua", + label: "Lua", +}, { + value: "md", + label: "Markdown", +}, { + value: "py", + label: "Python", +}, { + value: "rust", + label: "Rust", +}, { + value: "sh", + label: "Shell", +}, { + value: "sql", + label: "SQL", +}, { + value: "ts", + label: "TypeScript", +}, { + value: "tsx", + label: "TSX", +}, { + value: "url", + label: "URL", +}, { + value: "xml", + label: "XML", +}];
\ No newline at end of file |