Added API for Login

This commit is contained in:
toledo 2023-03-06 21:31:32 +08:00
parent 8aa266ccc6
commit f8af9daabc
4 changed files with 4166 additions and 4 deletions

4154
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -9,21 +9,26 @@
"web": "expo start --web"
},
"dependencies": {
"@expo/webpack-config": "^18.0.1",
"@react-navigation/drawer": "^6.6.2",
"@react-navigation/native": "^6.1.6",
"axios": "^1.3.4",
"expo": "~48.0.5",
"expo-status-bar": "~1.4.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.71.3",
"react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.20.0",
"react-native-gesture-handler": "~2.9.0",
"react-native-reanimated": "~2.14.4",
"react-native-svg": "13.4.0"
"react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.20.0",
"react-native-svg": "13.4.0",
"react-native-web": "~0.18.10"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/react": "~18.0.14",
"@types/react-native": "^0.71.3",
"typescript": "^4.9.4"
},
"private": true

View file

View file

@ -6,3 +6,8 @@ export interface IconProps {
export interface RootDrawerParamList {
navigate: any;
}
export interface LoginParams {
username: string;
password: string;
}