Skip to content

Commit 04ba333

Browse files
committed
adding components and utilites and api and types
1 parent 25f2b08 commit 04ba333

File tree

9 files changed

+314
-0
lines changed

9 files changed

+314
-0
lines changed

client/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
},
1010
"dependencies": {
1111
"@mdi/font": "7.4.47",
12+
"@types/axios": "^0.14.0",
13+
"axios": "^1.7.2",
1214
"core-js": "^3.37.1",
1315
"roboto-fontface": "*",
1416
"vue": "^3.4.31",

client/pnpm-lock.yaml

Lines changed: 86 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/src/api/axios.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// src/axiosInstance.ts
2+
import axios, { AxiosInstance } from 'axios';
3+
4+
const axiosInstance: AxiosInstance = axios.create({
5+
baseURL: '',
6+
timeout: 1000,
7+
headers: { 'Content-Type': 'application/json' },
8+
});
9+
10+
export default axiosInstance;

client/src/components/test.ts

Whitespace-only changes.

client/src/types/types.ts

Whitespace-only changes.

client/src/utilities/validators.ts

Whitespace-only changes.

package-lock.json

Lines changed: 137 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"dependencies": {
3+
"@types/axios": "^0.14.0",
4+
"axios": "^1.7.2",
5+
"yarn": "^1.22.22"
6+
}
7+
}

0 commit comments

Comments
 (0)