aboutsummaryrefslogtreecommitdiff
path: root/client/src/utils/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/utils/constants.js')
-rw-r--r--client/src/utils/constants.js158
1 files changed, 91 insertions, 67 deletions
diff --git a/client/src/utils/constants.js b/client/src/utils/constants.js
index 8d409f6..adb01a3 100644
--- a/client/src/utils/constants.js
+++ b/client/src/utils/constants.js
@@ -1,70 +1,94 @@
export const CLIENT_BASE_URL = import.meta.env.VITE_CLIENT_BASE_URL;
export const SERVER_BASE_URL = import.meta.env.VITE_SERVER_BASE_URL;
export const URL_REGEX = /^(https?:\/\/)?([\w.-]+\.[a-z]{2,})(\/?[^\s]*)?$/;
-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
+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",
+ },
+];
+