preload: expose the birthday test to the renderer
This commit is contained in:
@@ -14,6 +14,7 @@ contextBridge.exposeInMainWorld('lineup', {
|
|||||||
pcoServiceTypes: () => ipcRenderer.invoke('pco-service-types'),
|
pcoServiceTypes: () => ipcRenderer.invoke('pco-service-types'),
|
||||||
pcoPositionOptions: (serviceTypeId) => ipcRenderer.invoke('pco-position-options', serviceTypeId),
|
pcoPositionOptions: (serviceTypeId) => ipcRenderer.invoke('pco-position-options', serviceTypeId),
|
||||||
pcoSyncUpcomingPlan: (payload) => ipcRenderer.invoke('pco-sync-upcoming-plan', payload),
|
pcoSyncUpcomingPlan: (payload) => ipcRenderer.invoke('pco-sync-upcoming-plan', payload),
|
||||||
|
pcoTestBirthdays: () => ipcRenderer.invoke('pco-test-birthdays'),
|
||||||
onMenuAddPhotos: (cb) => {
|
onMenuAddPhotos: (cb) => {
|
||||||
ipcRenderer.on('menu-add-photos', () => cb());
|
ipcRenderer.on('menu-add-photos', () => cb());
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user