started calendar api integration

This commit was merged in pull request #19.
This commit is contained in:
victorAnumudu
2025-01-21 21:14:03 +01:00
parent 7ec139c5ad
commit 1708cb893f
8 changed files with 131 additions and 66 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ const queryKeys = {
recentAction: ['recent-action'],
product: ['product-data'],
product_url: ['product_url'],
myproduct_provision: ['myproduct_provision']
myproduct_provision: ['myproduct_provision'],
calendar_events: ['calendar_events']
}
export default queryKeys
+5
View File
@@ -101,6 +101,11 @@ export const topBar = () => {
return getAuxEnd(`/panel/account/bar`)
}
// FUNCTION TO GET CALENDAR EVENTS
export const getCalendarEvents = () => {
return getAuxEnd(`/panel/account/calendar`)
}
// FUNCTION TO GET DASHBOARD RECENT ACTIONS SECTION
export const recentActions = () => {
return getAuxEnd(`/panel/account/actions`)