feat: allows forcing/skipping calendar cache serving (#18224)
* feat: allows forcing/skipping calendar cache serving Signed-off-by: Omar López <[email protected]> * Update features.repository.ts * Added to HNB * type fixes * Update packages/prisma/migrations/20241216000000_add_calendar_cache_serve/migration.sql Co-authored-by: Keith Williams <[email protected]> * Update packages/prisma/zod-utils.ts Co-authored-by: Keith Williams <[email protected]> * Update selectedCalendar.ts --------- Signed-off-by: Omar López <[email protected]> Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
1 parent
a0f986f949
commit
2eb385af48
24 files changed
+217
-125
No files matched your search
Vendored
+2
-1
@@ -262,7 +262,8 @@ export interface Calendar {
|
||||
getAvailability(
|
||||
dateFrom: string,
|
||||
dateTo: string,
|
||||
selectedCalendars: IntegrationCalendar[]
|
||||
selectedCalendars: IntegrationCalendar[],
|
||||
shouldServeCache?: boolean
|
||||
): Promise<EventBusyDate[]>;
|
||||
|
||||
fetchAvailabilityAndSetCache?(selectedCalendars: IntegrationCalendar[]): Promise<unknown>;
|
||||
|
||||
Reference in new issue
Block a user