Added pre-travel screen; added country polygons for maps
This commit is contained in:
1 parent
08b753f89e
commit
e8c69d6558
16 files changed
+7842
-4109
No files matched your search
@@ -11,3 +11,21 @@ export async function fetchEntries() {
|
||||
const data = await getPbApi().fetchEntries()
|
||||
return processPatientRecords(data)
|
||||
}
|
||||
|
||||
export async function createEntry(tripData) {
|
||||
const payload = tripData?.trip ? tripData.trip : tripData
|
||||
return getPbApi().createEntry(payload)
|
||||
}
|
||||
|
||||
export async function updateEntry(id, data) {
|
||||
return getPbApi().updateEntry(id, data)
|
||||
}
|
||||
|
||||
export async function deleteEntry(id) {
|
||||
return getPbApi().deleteEntry(id)
|
||||
}
|
||||
|
||||
export async function fetchVaccines() {
|
||||
return getPbApi().fetchVaccines()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user