Added Records screen; added follow up status.

This commit is contained in:
2026-08-26 10:44:30 -04:00
parent e8c69d6558
commit 7085a478fb
13 changed files with 1430 additions and 58 deletions
+9
View File
@@ -20,6 +20,9 @@ const ALLOWED_SEND_CHANNELS = [
'pb:update-entry',
'pb:delete-entry',
'pb:fetch-vaccines',
'pb:fetch-vaccine-records',
'pb:save-vaccine-record',
'pb:update-vaccine-record',
]
const ALLOWED_RECEIVE_CHANNELS = [
@@ -32,6 +35,9 @@ const ALLOWED_RECEIVE_CHANNELS = [
'pb:update-entry',
'pb:delete-entry',
'pb:fetch-vaccines',
'pb:fetch-vaccine-records',
'pb:save-vaccine-record',
'pb:update-vaccine-record',
]
// ─── Exposed API ──────────────────────────────────────────────────────────
@@ -45,6 +51,9 @@ contextBridge.exposeInMainWorld('api', {
updateEntry: (id, trip) => ipcRenderer.invoke('pb:update-entry', id, trip),
deleteEntry: (id) => ipcRenderer.invoke('pb:delete-entry', id),
fetchVaccines: () => ipcRenderer.invoke('pb:fetch-vaccines'),
fetchVaccineRecords: () => ipcRenderer.invoke('pb:fetch-vaccine-records'),
saveVaccineRecord: (data) => ipcRenderer.invoke('pb:save-vaccine-record', data),
updateVaccineRecord: (id, data) => ipcRenderer.invoke('pb:update-vaccine-record', id, data),
},
/**