ckst commited on
Commit
a68ab39
·
verified ·
1 Parent(s): faae925

Delete web-user

Browse files
web-user/.eslintrc DELETED
@@ -1,89 +0,0 @@
1
- {
2
- "root": true,
3
- "env": {
4
- "browser": true,
5
- "es2021": true
6
- },
7
- "extends": [
8
- "prettier",
9
- "plugin:react/jsx-runtime",
10
- "plugin:jsx-a11y/recommended",
11
- "plugin:react-hooks/recommended",
12
- "eslint:recommended",
13
- "plugin:react/recommended"
14
- ],
15
- "settings": {
16
- "react": {
17
- "createClass": "createReactClass", // Regex for Component Factory to use,
18
- // default to "createReactClass"
19
- "pragma": "React", // Pragma to use, default to "React"
20
- "fragment": "Fragment", // Fragment to use (may be a property of <pragma>), default to "Fragment"
21
- "version": "detect", // React version. "detect" automatically picks the version you have installed.
22
- // You can also use `16.0`, `16.3`, etc, if you want to override the detected value.
23
- // It will default to "latest" and warn if missing, and to "detect" in the future
24
- "flowVersion": "0.53" // Flow version
25
- },
26
- "import/resolver": {
27
- "node": {
28
- "moduleDirectory": ["node_modules", "src/"]
29
- }
30
- }
31
- },
32
- "parser": "@babel/eslint-parser",
33
- "parserOptions": {
34
- "ecmaFeatures": {
35
- "experimentalObjectRestSpread": true,
36
- "impliedStrict": true,
37
- "jsx": true
38
- },
39
- "ecmaVersion": 12
40
- },
41
- "plugins": ["prettier", "react", "react-hooks"],
42
- "rules": {
43
- "react/jsx-uses-react": "error",
44
- "react/jsx-uses-vars": "error",
45
- "react/react-in-jsx-scope": "off",
46
- "no-undef": "off",
47
- "react/display-name": "off",
48
- "react/jsx-filename-extension": "off",
49
- "no-param-reassign": "off",
50
- "react/prop-types": 1,
51
- "react/require-default-props": "off",
52
- "react/no-array-index-key": "off",
53
- "react/jsx-props-no-spreading": "off",
54
- "react/forbid-prop-types": "off",
55
- "import/order": "off",
56
- "import/no-cycle": "off",
57
- "no-console": "off",
58
- "jsx-a11y/anchor-is-valid": "off",
59
- "prefer-destructuring": "off",
60
- "no-shadow": "off",
61
- "import/no-named-as-default": "off",
62
- "import/no-extraneous-dependencies": "off",
63
- "jsx-a11y/no-autofocus": "off",
64
- "no-restricted-imports": [
65
- "error",
66
- {
67
- "patterns": ["@mui/*/*/*", "!@mui/material/test-utils/*"]
68
- }
69
- ],
70
- "no-unused-vars": [
71
- "error",
72
- {
73
- "ignoreRestSiblings": false
74
- }
75
- ],
76
- "prettier/prettier": [
77
- "warn",
78
- {
79
- "bracketSpacing": true,
80
- "printWidth": 140,
81
- "singleQuote": true,
82
- "trailingComma": "none",
83
- "tabWidth": 2,
84
- "useTabs": false,
85
- "endOfLine": "auto"
86
- }
87
- ]
88
- }
89
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
web-user/.gitignore DELETED
@@ -1,25 +0,0 @@
1
- # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
-
3
- # dependencies
4
- /node_modules
5
- /.pnp
6
- .pnp.js
7
-
8
- # testing
9
- /coverage
10
-
11
- # production
12
- /build
13
-
14
- # misc
15
- .DS_Store
16
- .env.local
17
- .env.development.local
18
- .env.test.local
19
- .env.production.local
20
-
21
- npm-debug.log*
22
- yarn-debug.log*
23
- yarn-error.log*
24
- .idea
25
- yarn.lock
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
web-user/.prettierrc DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "bracketSpacing": true,
3
- "printWidth": 140,
4
- "singleQuote": true,
5
- "trailingComma": "none",
6
- "tabWidth": 2,
7
- "useTabs": false
8
- }
 
 
 
 
 
 
 
 
 
web-user/README.md DELETED
@@ -1,14 +0,0 @@
1
- # One API 前端界面
2
-
3
- 这个项目是 One API 的前端界面,它基于 [Berry Free React Admin Template](https://github.com/codedthemes/berry-free-react-admin-template) 进行开发。
4
-
5
- ## 使用的开源项目
6
-
7
- 使用了以下开源项目作为我们项目的一部分:
8
-
9
- - [Berry Free React Admin Template](https://github.com/codedthemes/berry-free-react-admin-template)
10
- - [minimal-ui-kit](minimal-ui-kit)
11
-
12
- ## 许可证
13
-
14
- 本项目中使用的代码遵循 MIT 许可证。
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
web-user/jsconfig.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "esnext",
4
- "module": "commonjs",
5
- "baseUrl": "src"
6
- },
7
- "include": ["src/**/*"],
8
- "exclude": ["node_modules"]
9
- }
 
 
 
 
 
 
 
 
 
 
web-user/package-lock.json DELETED
The diff for this file is too large to render. See raw diff
 
web-user/package.json DELETED
@@ -1,94 +0,0 @@
1
- {
2
- "name": "chat_api",
3
- "version": "1.0.0",
4
- "homepage": "http://127.0.0.1:3000/panel",
5
- "private": true,
6
- "dependencies": {
7
- "@douyinfe/semi-ui": "^2.51.3",
8
- "@emotion/cache": "^11.11.0",
9
- "@emotion/react": "^11.11.3",
10
- "@emotion/styled": "^11.11.0",
11
- "@mui/icons-material": "^5.15.7",
12
- "@mui/lab": "^5.0.0-alpha.163",
13
- "@mui/material": "^5.15.7",
14
- "@mui/system": "^5.15.7",
15
- "@mui/utils": "^5.15.7",
16
- "@mui/x-data-grid": "^6.19.4",
17
- "@mui/x-date-pickers": "^6.18.5",
18
- "@tabler/icons-react": "^2.46.0",
19
- "apexcharts": "^3.45.2",
20
- "axios": "^0.28.0",
21
- "dayjs": "^1.11.10",
22
- "formik": "^2.4.5",
23
- "framer-motion": "^11.0.3",
24
- "history": "^5.3.0",
25
- "marked": "^4.1.1",
26
- "material-ui-popup-state": "^5.0.10",
27
- "notistack": "^3.0.1",
28
- "prop-types": "^15.8.1",
29
- "react": "^18.2.0",
30
- "react-apexcharts": "^1.4.1",
31
- "react-device-detect": "^2.2.3",
32
- "react-dom": "^18.2.0",
33
- "react-perfect-scrollbar": "^1.5.8",
34
- "react-redux": "^9.1.0",
35
- "react-router": "6.21.3",
36
- "react-router-dom": "6.21.3",
37
- "react-scripts": "^5.0.1",
38
- "react-turnstile": "^1.1.2",
39
- "redux": "^5.0.1",
40
- "yup": "^0.32.11"
41
- },
42
- "scripts": {
43
- "start": "react-scripts start",
44
- "build": "react-scripts build",
45
- "test": "react-scripts test",
46
- "eject": "react-scripts eject"
47
- },
48
- "eslintConfig": {
49
- "extends": [
50
- "react-app",
51
- "react-app/jest"
52
- ]
53
- },
54
- "babel": {
55
- "presets": [
56
- "@babel/preset-react"
57
- ]
58
- },
59
- "browserslist": {
60
- "production": [
61
- "defaults",
62
- "not IE 11",
63
- ">0.2%",
64
- "not dead",
65
- "not op_mini all"
66
- ],
67
- "development": [
68
- "last 1 chrome version",
69
- "last 1 firefox version",
70
- "last 1 safari version"
71
- ]
72
- },
73
- "devDependencies": {
74
- "@babel/core": "^7.21.4",
75
- "@babel/eslint-parser": "^7.21.3",
76
- "eslint": "^8.38.0",
77
- "eslint-config-prettier": "^8.8.0",
78
- "eslint-config-react-app": "^7.0.1",
79
- "eslint-plugin-flowtype": "^8.0.3",
80
- "eslint-plugin-import": "^2.27.5",
81
- "eslint-plugin-jsx-a11y": "^6.7.1",
82
- "eslint-plugin-prettier": "^4.2.1",
83
- "eslint-plugin-react": "^7.32.2",
84
- "eslint-plugin-react-hooks": "^4.6.0",
85
- "immutable": "^4.3.0",
86
- "prettier": "^2.8.7",
87
- "sass": "^1.53.0",
88
- "typescript": "4.4.2"
89
- },
90
- "prettier": {
91
- "singleQuote": true,
92
- "jsxSingleQuote": true
93
- }
94
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
web-user/public/index.html DELETED
@@ -1,21 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <title>Chat API</title>
5
- <link rel="icon" href="panel/favicon.ico" />
6
- <!-- Meta Tags-->
7
- <meta charset="utf-8" />
8
- <meta name="viewport" content="width=device-width, initial-scale=1" />
9
- <meta name="theme-color" content="#2296f3" />
10
- <meta
11
- name="description"
12
- content="OpenAI 接口聚合管理,我们致力于提供优质的API接入服务,让您可以轻松集成先进的AI模型至您的产品和服务。"
13
- />
14
- </head>
15
-
16
- <body>
17
- <noscript>You need to enable JavaScript to run this app.</noscript>
18
- <div id="root"></div>
19
-
20
- </body>
21
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
web-user/src.zip DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:769aac23cb1fd9d5dea4ee121187c94c2d1f489eaba94626ca00544203435be5
3
- size 705685