fix: build

Deskripsi:
- update build

No Issues'
This commit is contained in:
amel
2025-06-16 17:16:34 +08:00
parent 9728e2ea23
commit c71292d966
5 changed files with 36 additions and 1 deletions

View File

@@ -40,6 +40,12 @@
],
"experiments": {
"typedRoutes": true
},
"extra": {
"router": {},
"eas": {
"projectId": "cfe34fb8-da8c-4004-b5c6-29d07df75cf2"
}
}
}
}

BIN
bun.lockb

Binary file not shown.

21
eas.json Normal file
View File

@@ -0,0 +1,21 @@
{
"cli": {
"version": ">= 16.10.0",
"appVersionSource": "remote"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {
"autoIncrement": true
}
},
"submit": {
"production": {}
}
}

View File

@@ -21,6 +21,15 @@ export const apiGetProfile = async ({ id }: { id: string }) => {
return response.data;
};
export const apiEditProfile = async (data: FormData) => {
const response = await api.put(`/mobile/user/profile`, data, {
headers: {
'Content-Type': 'multipart/form-data',
},
})
return response.data;
};
export const apiGetSearch = async ({ text, user }: { text: string, user: string }) => {
const response = await api.get(`mobile/home/search?search=${text}&user=${user}`);
return response.data;

View File

@@ -39,7 +39,6 @@
"expo-linear-gradient": "~14.1.4",
"expo-linking": "~7.1.5",
"expo-media-library": "~17.1.6",
"expo-permissions": "^14.4.0",
"expo-router": "~5.0.7",
"expo-sharing": "^13.1.5",
"expo-splash-screen": "~0.30.8",