@burdenoff/microfe-calendar 2026.525.2 → 2026.527.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CalendarRoutes.js +1 -1
- package/dist/CalendarRoutes.js.map +1 -1
- package/dist/components/AgendaView.js +47 -42
- package/dist/components/AgendaView.js.map +1 -1
- package/dist/components/ConfirmDialog.js +3 -0
- package/dist/components/ConfirmDialog.js.map +1 -1
- package/dist/components/EventBlock.js.map +1 -1
- package/dist/components/EventFormModal.js +292 -261
- package/dist/components/EventFormModal.js.map +1 -1
- package/dist/components/MiniCalendar.js +3 -0
- package/dist/components/MiniCalendar.js.map +1 -1
- package/dist/components/TimelineView.js +38 -33
- package/dist/components/TimelineView.js.map +1 -1
- package/dist/components/ViewSwitcher.js +1 -0
- package/dist/components/ViewSwitcher.js.map +1 -1
- package/dist/components/WeekView.js +37 -32
- package/dist/components/WeekView.js.map +1 -1
- package/dist/hooks/useEvents.js +1 -1
- package/dist/hooks/useEvents.js.map +1 -1
- package/dist/hooks/useSafePermissions.js +1 -9
- package/dist/hooks/useSafePermissions.js.map +1 -1
- package/dist/pages/CalendarPage.js +8 -1
- package/dist/pages/CalendarPage.js.map +1 -1
- package/dist/pages/EventDetailsPage.js +12 -3
- package/dist/pages/EventDetailsPage.js.map +1 -1
- package/dist/pages/ResourcesPage.js +192 -182
- package/dist/pages/ResourcesPage.js.map +1 -1
- package/dist/pages/SettingsPage.js +26 -10
- package/dist/pages/SettingsPage.js.map +1 -1
- package/dist/pages/SubscriptionsPage.js +2 -0
- package/dist/pages/SubscriptionsPage.js.map +1 -1
- package/dist/providers/CalendarProvider.js +1 -1
- package/dist/providers/CalendarProvider.js.map +1 -1
- package/dist/utils/dateHelpers.js +2 -5
- package/dist/utils/dateHelpers.js.map +1 -1
- package/package.json +1 -3
- package/dist/CalendarRoot.d.ts +0 -33
- package/dist/CalendarRoot.d.ts.map +0 -1
- package/dist/CalendarRoutes.d.ts +0 -21
- package/dist/CalendarRoutes.d.ts.map +0 -1
- package/dist/components/AgendaView.d.ts +0 -6
- package/dist/components/AgendaView.d.ts.map +0 -1
- package/dist/components/ConfirmDialog.d.ts +0 -16
- package/dist/components/ConfirmDialog.d.ts.map +0 -1
- package/dist/components/DayView.d.ts +0 -6
- package/dist/components/DayView.d.ts.map +0 -1
- package/dist/components/EventBlock.d.ts +0 -8
- package/dist/components/EventBlock.d.ts.map +0 -1
- package/dist/components/EventFormModal.d.ts +0 -14
- package/dist/components/EventFormModal.d.ts.map +0 -1
- package/dist/components/MiniCalendar.d.ts +0 -6
- package/dist/components/MiniCalendar.d.ts.map +0 -1
- package/dist/components/MonthView.d.ts +0 -6
- package/dist/components/MonthView.d.ts.map +0 -1
- package/dist/components/TimelineView.d.ts +0 -6
- package/dist/components/TimelineView.d.ts.map +0 -1
- package/dist/components/ViewSwitcher.d.ts +0 -6
- package/dist/components/ViewSwitcher.d.ts.map +0 -1
- package/dist/components/WeekView.d.ts +0 -6
- package/dist/components/WeekView.d.ts.map +0 -1
- package/dist/components/YearView.d.ts +0 -6
- package/dist/components/YearView.d.ts.map +0 -1
- package/dist/constants/permissions.d.ts +0 -90
- package/dist/constants/permissions.d.ts.map +0 -1
- package/dist/dev/main.d.ts +0 -2
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -2
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -23527
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -906
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -57851
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/graphql/calendarDocuments.d.ts +0 -25
- package/dist/graphql/calendarDocuments.d.ts.map +0 -1
- package/dist/hooks/index.d.ts +0 -11
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/useCalendarPermissions.d.ts +0 -14
- package/dist/hooks/useCalendarPermissions.d.ts.map +0 -1
- package/dist/hooks/useEventPermissions.d.ts +0 -15
- package/dist/hooks/useEventPermissions.d.ts.map +0 -1
- package/dist/hooks/useEvents.d.ts +0 -15
- package/dist/hooks/useEvents.d.ts.map +0 -1
- package/dist/hooks/useSafePermissions.d.ts +0 -6
- package/dist/hooks/useSafePermissions.d.ts.map +0 -1
- package/dist/index.d.ts +0 -16
- package/dist/index.d.ts.map +0 -1
- package/dist/pages/CalendarPage.d.ts +0 -5
- package/dist/pages/CalendarPage.d.ts.map +0 -1
- package/dist/pages/EventDetailsPage.d.ts +0 -6
- package/dist/pages/EventDetailsPage.d.ts.map +0 -1
- package/dist/pages/ResourcesPage.d.ts +0 -6
- package/dist/pages/ResourcesPage.d.ts.map +0 -1
- package/dist/pages/SettingsPage.d.ts +0 -2
- package/dist/pages/SettingsPage.d.ts.map +0 -1
- package/dist/pages/SubscriptionsPage.d.ts +0 -6
- package/dist/pages/SubscriptionsPage.d.ts.map +0 -1
- package/dist/providers/CalendarProvider.d.ts +0 -31
- package/dist/providers/CalendarProvider.d.ts.map +0 -1
- package/dist/store/calendarStore.d.ts +0 -69
- package/dist/store/calendarStore.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -341
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/dateHelpers.d.ts +0 -115
- package/dist/utils/dateHelpers.d.ts.map +0 -1
- package/dist/utils/icalHelpers.d.ts +0 -19
- package/dist/utils/icalHelpers.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
- package/dist/utils/recurrenceHelpers.d.ts +0 -15
- package/dist/utils/recurrenceHelpers.d.ts.map +0 -1
- package/dist/utils/timezoneHelpers.d.ts +0 -39
- package/dist/utils/timezoneHelpers.d.ts.map +0 -1
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const EVENTS_IN_RANGE_QUERY: import('graphql').DocumentNode;
|
|
2
|
-
export declare const SCHEDULED_JOBS_QUERY: import('graphql').DocumentNode;
|
|
3
|
-
export declare const CALENDAR_DETAILS_QUERY: import('graphql').DocumentNode;
|
|
4
|
-
export declare const AVAILABILITY_RULES_QUERY: import('graphql').DocumentNode;
|
|
5
|
-
export declare const BLACKOUT_DATES_QUERY: import('graphql').DocumentNode;
|
|
6
|
-
export declare const EXTERNAL_SYNCS_QUERY: import('graphql').DocumentNode;
|
|
7
|
-
export declare const SHARE_CALENDAR_MUTATION: import('graphql').DocumentNode;
|
|
8
|
-
export declare const REVOKE_CALENDAR_SHARE_MUTATION: import('graphql').DocumentNode;
|
|
9
|
-
export declare const CREATE_AVAILABILITY_RULE_MUTATION: import('graphql').DocumentNode;
|
|
10
|
-
export declare const DELETE_AVAILABILITY_RULE_MUTATION: import('graphql').DocumentNode;
|
|
11
|
-
export declare const CREATE_BLACKOUT_DATE_MUTATION: import('graphql').DocumentNode;
|
|
12
|
-
export declare const DELETE_BLACKOUT_DATE_MUTATION: import('graphql').DocumentNode;
|
|
13
|
-
export declare const CREATE_BOOKING_PAGE_MUTATION: import('graphql').DocumentNode;
|
|
14
|
-
export declare const DELETE_BOOKING_PAGE_MUTATION: import('graphql').DocumentNode;
|
|
15
|
-
export declare const CONNECT_EXTERNAL_CALENDAR_MUTATION: import('graphql').DocumentNode;
|
|
16
|
-
export declare const TRIGGER_SYNC_MUTATION: import('graphql').DocumentNode;
|
|
17
|
-
export declare const PAUSE_SYNC_MUTATION: import('graphql').DocumentNode;
|
|
18
|
-
export declare const RESUME_SYNC_MUTATION: import('graphql').DocumentNode;
|
|
19
|
-
export declare const DISCONNECT_EXTERNAL_CALENDAR_MUTATION: import('graphql').DocumentNode;
|
|
20
|
-
export declare const ADD_ATTENDEE_MUTATION: import('graphql').DocumentNode;
|
|
21
|
-
export declare const REMOVE_ATTENDEE_MUTATION: import('graphql').DocumentNode;
|
|
22
|
-
export declare const RESPOND_TO_EVENT_MUTATION: import('graphql').DocumentNode;
|
|
23
|
-
export declare const CREATE_REMINDER_MUTATION: import('graphql').DocumentNode;
|
|
24
|
-
export declare const DELETE_REMINDER_MUTATION: import('graphql').DocumentNode;
|
|
25
|
-
//# sourceMappingURL=calendarDocuments.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendarDocuments.d.ts","sourceRoot":"","sources":["../../src/graphql/calendarDocuments.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,gCAmEjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCA8BhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,gCAiClC,CAAC;AAEF,eAAO,MAAM,wBAAwB,gCAkBpC,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCAYhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCAqBhC,CAAC;AAEF,eAAO,MAAM,uBAAuB,gCA0BnC,CAAC;AAEF,eAAO,MAAM,8BAA8B,gCAI1C,CAAC;AAEF,eAAO,MAAM,iCAAiC,gCAiB7C,CAAC;AAEF,eAAO,MAAM,iCAAiC,gCAI7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,gCAYzC,CAAC;AAEF,eAAO,MAAM,6BAA6B,gCAIzC,CAAC;AAEF,eAAO,MAAM,4BAA4B,gCAexC,CAAC;AAEF,eAAO,MAAM,4BAA4B,gCAIxC,CAAC;AAEF,eAAO,MAAM,kCAAkC,gCAiB9C,CAAC;AAEF,eAAO,MAAM,qBAAqB,gCAWjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,gCAQ/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCAQhC,CAAC;AAEF,eAAO,MAAM,qCAAqC,gCAIjD,CAAC;AAEF,eAAO,MAAM,qBAAqB,gCAWjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,gCAIpC,CAAC;AAEF,eAAO,MAAM,yBAAyB,gCAWrC,CAAC;AAEF,eAAO,MAAM,wBAAwB,gCAQpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,gCAIpC,CAAC"}
|
package/dist/hooks/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Calendar hooks
|
|
3
|
-
*/
|
|
4
|
-
export { useCalendarStore } from '../store/calendarStore';
|
|
5
|
-
export { useCalendar } from '../providers/CalendarProvider';
|
|
6
|
-
export { useCalendarPermissions } from './useCalendarPermissions';
|
|
7
|
-
export { useEventPermissions } from './useEventPermissions';
|
|
8
|
-
export { useEvents } from './useEvents';
|
|
9
|
-
export type { CalendarPermissions } from './useCalendarPermissions';
|
|
10
|
-
export type { EventPermissions } from './useEventPermissions';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,YAAY,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,YAAY,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Calendar } from '../types';
|
|
2
|
-
|
|
3
|
-
export interface CalendarPermissions {
|
|
4
|
-
canRead: boolean;
|
|
5
|
-
canWrite: boolean;
|
|
6
|
-
canShare: boolean;
|
|
7
|
-
canDelete: boolean;
|
|
8
|
-
permissionLevel: 'owner' | 'admin' | 'edit' | 'view' | 'none';
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Hook to check permissions for a calendar
|
|
12
|
-
*/
|
|
13
|
-
export declare function useCalendarPermissions(calendar: Calendar | null | undefined): CalendarPermissions;
|
|
14
|
-
//# sourceMappingURL=useCalendarPermissions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCalendarPermissions.d.ts","sourceRoot":"","sources":["../../src/hooks/useCalendarPermissions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGzC,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAC/D;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,GAAG,mBAAmB,CA0DjG"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CalendarEvent, Calendar } from '../types';
|
|
2
|
-
|
|
3
|
-
export interface EventPermissions {
|
|
4
|
-
canEdit: boolean;
|
|
5
|
-
canDelete: boolean;
|
|
6
|
-
canManageAttendees: boolean;
|
|
7
|
-
canRSVP: boolean;
|
|
8
|
-
canViewAttendees: boolean;
|
|
9
|
-
canSetReminders: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Hook to check permissions for a calendar event
|
|
13
|
-
*/
|
|
14
|
-
export declare function useEventPermissions(event: CalendarEvent | null | undefined, calendar?: Calendar | null): EventPermissions;
|
|
15
|
-
//# sourceMappingURL=useEventPermissions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEventPermissions.d.ts","sourceRoot":"","sources":["../../src/hooks/useEventPermissions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIxD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,EACvC,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,GACzB,gBAAgB,CA4BlB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CalendarEvent } from '../types';
|
|
2
|
-
|
|
3
|
-
interface UseEventsOptions {
|
|
4
|
-
startDate: Date;
|
|
5
|
-
endDate: Date;
|
|
6
|
-
skip?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function useEvents({ startDate, endDate, skip }: UseEventsOptions): {
|
|
9
|
-
events: CalendarEvent[];
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
error: string | null;
|
|
12
|
-
refetch: () => Promise<void>;
|
|
13
|
-
};
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=useEvents.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useEvents.d.ts","sourceRoot":"","sources":["../../src/hooks/useEvents.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,aAAa,EAKd,MAAM,UAAU,CAAC;AAGlB,UAAU,gBAAgB;IACxB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AA6QD,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAY,EAAE,EAAE,gBAAgB;;;;;EAoI/E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSafePermissions.d.ts","sourceRoot":"","sources":["../../src/hooks/useSafePermissions.ts"],"names":[],"mappings":"AAEA,wBAAgB,kBAAkB;;;;EAUjC"}
|
package/dist/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Calendar microfrontend public API
|
|
3
|
-
*
|
|
4
|
-
* This module exports the root component and types for the calendar microfrontend.
|
|
5
|
-
* It follows the Layer 2 microfrontend pattern with minimal surface area.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
*/
|
|
9
|
-
export { CalendarRoot } from './CalendarRoot';
|
|
10
|
-
export type { CalendarRootProps, CalendarEventSummary, ResourceBookingSummary } from './types';
|
|
11
|
-
export { useCalendar } from './providers/CalendarProvider';
|
|
12
|
-
export { useCalendarStore } from './store/calendarStore';
|
|
13
|
-
export { useCalendarPermissions } from './hooks/useCalendarPermissions';
|
|
14
|
-
export { useEventPermissions } from './hooks/useEventPermissions';
|
|
15
|
-
export type { CalendarViewType, CalendarPermission, EventPrivacy, RSVPStatus, RecurrencePattern, ReminderMethod, ResourceType, Reminder, } from './types';
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,YAAY,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAG/F,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAGlE,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,QAAQ,GACT,MAAM,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarPage.d.ts","sourceRoot":"","sources":["../../src/pages/CalendarPage.tsx"],"names":[],"mappings":"AAsBA;;GAEG;AACH,wBAAgB,YAAY,4CAuR3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EventDetailsPage.d.ts","sourceRoot":"","sources":["../../src/pages/EventDetailsPage.tsx"],"names":[],"mappings":"AAqJA;;;GAGG;AACH,wBAAgB,gBAAgB,4CA8pB/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourcesPage.d.ts","sourceRoot":"","sources":["../../src/pages/ResourcesPage.tsx"],"names":[],"mappings":"AA8CA;;;GAGG;AACH,wBAAgB,aAAa,4CAke5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsPage.d.ts","sourceRoot":"","sources":["../../src/pages/SettingsPage.tsx"],"names":[],"mappings":"AA6HA,wBAAgB,YAAY,4CAq8B3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SubscriptionsPage.d.ts","sourceRoot":"","sources":["../../src/pages/SubscriptionsPage.tsx"],"names":[],"mappings":"AA+EA;;;GAGG;AACH,wBAAgB,iBAAiB,4CAkMhC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import { CalendarRootProps, CalendarEventSummary, ResourceBookingSummary, CalendarViewType } from '../types';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Context value for Calendar microfrontend
|
|
6
|
-
*/
|
|
7
|
-
interface CalendarContextValue {
|
|
8
|
-
basePath: string;
|
|
9
|
-
navigate: (path: string) => void;
|
|
10
|
-
currentUser?: CalendarRootProps['currentUser'];
|
|
11
|
-
workspaceId?: string;
|
|
12
|
-
tenantId?: string;
|
|
13
|
-
apiGatewayUrl?: string;
|
|
14
|
-
authToken?: string;
|
|
15
|
-
onEventSelect?: (event: CalendarEventSummary) => void;
|
|
16
|
-
onEventCreate?: (event: CalendarEventSummary) => void;
|
|
17
|
-
onResourceBook?: (booking: ResourceBookingSummary) => void;
|
|
18
|
-
defaultView?: CalendarViewType;
|
|
19
|
-
defaultTimeZone?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Hook to access Calendar context
|
|
23
|
-
*/
|
|
24
|
-
export declare const useCalendar: () => CalendarContextValue;
|
|
25
|
-
/**
|
|
26
|
-
* Provider component for Calendar microfrontend
|
|
27
|
-
* Sets up routing and context
|
|
28
|
-
*/
|
|
29
|
-
export declare const CalendarProvider: FC<PropsWithChildren<CalendarRootProps>>;
|
|
30
|
-
export {};
|
|
31
|
-
//# sourceMappingURL=CalendarProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarProvider.d.ts","sourceRoot":"","sources":["../../src/providers/CalendarProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,WAAW,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACtD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACtD,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC3D,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAID;;GAEG;AACH,eAAO,MAAM,WAAW,4BAMvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAwErE,CAAC"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { CalendarViewType, CalendarFilter, CalendarEvent, TimeSlot } from '../types';
|
|
2
|
-
|
|
3
|
-
interface CalendarState {
|
|
4
|
-
currentView: CalendarViewType;
|
|
5
|
-
currentDate: Date;
|
|
6
|
-
selectedTimeZone: string;
|
|
7
|
-
visibleCalendars: Set<string>;
|
|
8
|
-
eventFilter: CalendarFilter;
|
|
9
|
-
selectedEvent: CalendarEvent | null;
|
|
10
|
-
selectedSlot: TimeSlot | null;
|
|
11
|
-
draggedEvent: CalendarEvent | null;
|
|
12
|
-
miniCalendarVisible: boolean;
|
|
13
|
-
setView: (view: CalendarViewType) => void;
|
|
14
|
-
setCurrentDate: (date: Date) => void;
|
|
15
|
-
navigateDate: (direction: 'prev' | 'next' | 'today') => void;
|
|
16
|
-
setTimeZone: (timezone: string) => void;
|
|
17
|
-
toggleCalendarVisibility: (calendarId: string) => void;
|
|
18
|
-
setVisibleCalendars: (calendarIds: string[]) => void;
|
|
19
|
-
updateEventFilter: (filter: Partial<CalendarFilter>) => void;
|
|
20
|
-
clearFilters: () => void;
|
|
21
|
-
selectEvent: (event: CalendarEvent | null) => void;
|
|
22
|
-
selectSlot: (slot: TimeSlot | null) => void;
|
|
23
|
-
startDragEvent: (event: CalendarEvent) => void;
|
|
24
|
-
endDragEvent: () => void;
|
|
25
|
-
toggleMiniCalendar: () => void;
|
|
26
|
-
setMiniCalendarVisible: (visible: boolean) => void;
|
|
27
|
-
reset: () => void;
|
|
28
|
-
}
|
|
29
|
-
export declare const useCalendarStore: import('zustand').UseBoundStore<Omit<Omit<import('zustand').StoreApi<CalendarState>, "setState" | "devtools"> & {
|
|
30
|
-
setState(partial: CalendarState | Partial<CalendarState> | ((state: CalendarState) => CalendarState | Partial<CalendarState>), replace?: false | undefined, action?: (string | {
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
[x: number]: unknown;
|
|
33
|
-
[x: symbol]: unknown;
|
|
34
|
-
type: string;
|
|
35
|
-
}) | undefined): void;
|
|
36
|
-
setState(state: CalendarState | ((state: CalendarState) => CalendarState), replace: true, action?: (string | {
|
|
37
|
-
[x: string]: unknown;
|
|
38
|
-
[x: number]: unknown;
|
|
39
|
-
[x: symbol]: unknown;
|
|
40
|
-
type: string;
|
|
41
|
-
}) | undefined): void;
|
|
42
|
-
devtools: {
|
|
43
|
-
cleanup: () => void;
|
|
44
|
-
};
|
|
45
|
-
}, "setState" | "persist"> & {
|
|
46
|
-
setState(partial: CalendarState | Partial<CalendarState> | ((state: CalendarState) => CalendarState | Partial<CalendarState>), replace?: false | undefined, action?: (string | {
|
|
47
|
-
[x: string]: unknown;
|
|
48
|
-
[x: number]: unknown;
|
|
49
|
-
[x: symbol]: unknown;
|
|
50
|
-
type: string;
|
|
51
|
-
}) | undefined): unknown;
|
|
52
|
-
setState(state: CalendarState | ((state: CalendarState) => CalendarState), replace: true, action?: (string | {
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
[x: number]: unknown;
|
|
55
|
-
[x: symbol]: unknown;
|
|
56
|
-
type: string;
|
|
57
|
-
}) | undefined): unknown;
|
|
58
|
-
persist: {
|
|
59
|
-
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<CalendarState, unknown, unknown>>) => void;
|
|
60
|
-
clearStorage: () => void;
|
|
61
|
-
rehydrate: () => Promise<void> | void;
|
|
62
|
-
hasHydrated: () => boolean;
|
|
63
|
-
onHydrate: (fn: (state: CalendarState) => void) => () => void;
|
|
64
|
-
onFinishHydration: (fn: (state: CalendarState) => void) => () => void;
|
|
65
|
-
getOptions: () => Partial<import('zustand/middleware').PersistOptions<CalendarState, unknown, unknown>>;
|
|
66
|
-
};
|
|
67
|
-
}>;
|
|
68
|
-
export {};
|
|
69
|
-
//# sourceMappingURL=calendarStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"calendarStore.d.ts","sourceRoot":"","sources":["../../src/store/calendarStore.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE1F,UAAU,aAAa;IAErB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,WAAW,EAAE,IAAI,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,WAAW,EAAE,cAAc,CAAC;IAG5B,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,QAAQ,GAAG,IAAI,CAAC;IAG9B,YAAY,EAAE,aAAa,GAAG,IAAI,CAAC;IAGnC,mBAAmB,EAAE,OAAO,CAAC;IAG7B,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC1C,cAAc,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;IAC7D,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAExC,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,mBAAmB,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrD,iBAAiB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC7D,YAAY,EAAE,MAAM,IAAI,CAAC;IAEzB,WAAW,EAAE,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,UAAU,EAAE,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,KAAK,IAAI,CAAC;IAE5C,cAAc,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C,YAAY,EAAE,MAAM,IAAI,CAAC;IAEzB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,sBAAsB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAEnD,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAeD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmG5B,CAAC"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
import { MicrofrontendRootProps } from '@burdenoff/fe-libs/shared/types';
|
|
2
|
-
import { NavItem, FooterItem } from '@burdenoff/fe-libs/shared/hooks/shell';
|
|
3
|
-
|
|
4
|
-
export type { NavItem, FooterItem };
|
|
5
|
-
/**
|
|
6
|
-
* Props for the CalendarRoot component
|
|
7
|
-
*/
|
|
8
|
-
export interface CalendarRootProps extends MicrofrontendRootProps {
|
|
9
|
-
/**
|
|
10
|
-
* Optional callback when an event is selected
|
|
11
|
-
*/
|
|
12
|
-
onEventSelect?: (event: CalendarEventSummary) => void;
|
|
13
|
-
/**
|
|
14
|
-
* Optional callback when an event is created
|
|
15
|
-
*/
|
|
16
|
-
onEventCreate?: (event: CalendarEventSummary) => void;
|
|
17
|
-
/**
|
|
18
|
-
* Optional callback when a resource is booked
|
|
19
|
-
*/
|
|
20
|
-
onResourceBook?: (booking: ResourceBookingSummary) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Default calendar view to show
|
|
23
|
-
*/
|
|
24
|
-
defaultView?: CalendarViewType;
|
|
25
|
-
/**
|
|
26
|
-
* Default time zone
|
|
27
|
-
*/
|
|
28
|
-
defaultTimeZone?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Optional function to register navigation items with the shell
|
|
31
|
-
*/
|
|
32
|
-
registerNavItems?: (items: NavItem | NavItem[]) => () => void;
|
|
33
|
-
/**
|
|
34
|
-
* Optional function to register footer items with the shell
|
|
35
|
-
*/
|
|
36
|
-
registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Calendar view types
|
|
40
|
-
*/
|
|
41
|
-
export type CalendarViewType = 'day' | 'week' | 'month' | 'year' | 'agenda' | 'timeline';
|
|
42
|
-
/**
|
|
43
|
-
* Event privacy levels
|
|
44
|
-
*/
|
|
45
|
-
export type EventPrivacy = 'PUBLIC' | 'PRIVATE' | 'CONFIDENTIAL';
|
|
46
|
-
/**
|
|
47
|
-
* Event status
|
|
48
|
-
*/
|
|
49
|
-
export type EventStatus = 'CONFIRMED' | 'TENTATIVE' | 'CANCELLED';
|
|
50
|
-
/**
|
|
51
|
-
* RSVP status for attendees
|
|
52
|
-
*/
|
|
53
|
-
export type RSVPStatus = 'ACCEPTED' | 'DECLINED' | 'TENTATIVE' | 'PENDING';
|
|
54
|
-
/**
|
|
55
|
-
* Recurrence pattern types
|
|
56
|
-
*/
|
|
57
|
-
export type RecurrencePattern = 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'YEARLY' | 'CUSTOM';
|
|
58
|
-
/**
|
|
59
|
-
* Resource types
|
|
60
|
-
*/
|
|
61
|
-
export type ResourceType = 'CONFERENCE_ROOM' | 'EQUIPMENT' | 'DESK' | 'VEHICLE' | 'CUSTOM';
|
|
62
|
-
/**
|
|
63
|
-
* Resource booking status
|
|
64
|
-
*/
|
|
65
|
-
export type BookingStatus = 'PENDING' | 'APPROVED' | 'REJECTED';
|
|
66
|
-
/**
|
|
67
|
-
* Permission levels for calendar sharing
|
|
68
|
-
*/
|
|
69
|
-
export type CalendarPermission = 'VIEW' | 'EDIT' | 'ADMIN';
|
|
70
|
-
/**
|
|
71
|
-
* Calendar visibility options
|
|
72
|
-
*/
|
|
73
|
-
export type CalendarVisibility = 'PRIVATE' | 'WORKSPACE' | 'PUBLIC' | 'CUSTOM';
|
|
74
|
-
/**
|
|
75
|
-
* Reminder method
|
|
76
|
-
*/
|
|
77
|
-
export type ReminderMethod = 'EMAIL' | 'NOTIFICATION' | 'SMS';
|
|
78
|
-
/**
|
|
79
|
-
* Summary of a calendar event for callbacks
|
|
80
|
-
*/
|
|
81
|
-
export interface CalendarEventSummary {
|
|
82
|
-
id: string;
|
|
83
|
-
title: string;
|
|
84
|
-
startTime: Date;
|
|
85
|
-
endTime: Date;
|
|
86
|
-
isAllDay: boolean;
|
|
87
|
-
calendarId: string;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Summary of a resource booking for callbacks
|
|
91
|
-
*/
|
|
92
|
-
export interface ResourceBookingSummary {
|
|
93
|
-
id: string;
|
|
94
|
-
resourceId: string;
|
|
95
|
-
resourceName: string;
|
|
96
|
-
eventId: string;
|
|
97
|
-
startTime: Date;
|
|
98
|
-
endTime: Date;
|
|
99
|
-
status: BookingStatus;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Calendar entity
|
|
103
|
-
*/
|
|
104
|
-
export interface Calendar {
|
|
105
|
-
id: string;
|
|
106
|
-
name: string;
|
|
107
|
-
description?: string;
|
|
108
|
-
color: string;
|
|
109
|
-
ownerId: string;
|
|
110
|
-
visibility: CalendarVisibility;
|
|
111
|
-
shares?: CalendarShare[];
|
|
112
|
-
settings?: CalendarSettings;
|
|
113
|
-
createdAt: Date;
|
|
114
|
-
updatedAt: Date;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Calendar sharing configuration
|
|
118
|
-
*/
|
|
119
|
-
export interface CalendarShare {
|
|
120
|
-
id: string;
|
|
121
|
-
calendarId: string;
|
|
122
|
-
userId: string;
|
|
123
|
-
userEmail: string;
|
|
124
|
-
userName: string;
|
|
125
|
-
permission: CalendarPermission;
|
|
126
|
-
createdAt: Date;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Calendar settings
|
|
130
|
-
*/
|
|
131
|
-
export interface CalendarSettings {
|
|
132
|
-
timeZone?: string;
|
|
133
|
-
workingHours?: WorkingHours;
|
|
134
|
-
defaultEventDuration?: number;
|
|
135
|
-
defaultReminders?: Reminder[];
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Working hours configuration
|
|
139
|
-
*/
|
|
140
|
-
export interface WorkingHours {
|
|
141
|
-
enabled: boolean;
|
|
142
|
-
days: number[];
|
|
143
|
-
startTime: string;
|
|
144
|
-
endTime: string;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Calendar event
|
|
148
|
-
*/
|
|
149
|
-
export interface CalendarEvent {
|
|
150
|
-
id: string;
|
|
151
|
-
calendarId: string;
|
|
152
|
-
calendarName?: string;
|
|
153
|
-
calendarColor?: string;
|
|
154
|
-
title: string;
|
|
155
|
-
description?: string;
|
|
156
|
-
location?: string;
|
|
157
|
-
locationAddress?: string;
|
|
158
|
-
locationUrl?: string;
|
|
159
|
-
locationType?: 'PHYSICAL' | 'ONLINE' | 'HYBRID' | 'TBD';
|
|
160
|
-
startTime: Date;
|
|
161
|
-
endTime: Date;
|
|
162
|
-
isAllDay: boolean;
|
|
163
|
-
privacy: EventPrivacy;
|
|
164
|
-
status: EventStatus;
|
|
165
|
-
eventType?: 'MEETING' | 'TASK' | 'MILESTONE' | 'PROMPT';
|
|
166
|
-
isRecurring?: boolean;
|
|
167
|
-
rrule?: string;
|
|
168
|
-
organizerId: string;
|
|
169
|
-
organizer?: User;
|
|
170
|
-
attendees?: Attendee[];
|
|
171
|
-
recurrence?: RecurrenceRule;
|
|
172
|
-
reminders?: Reminder[];
|
|
173
|
-
category?: EventCategory;
|
|
174
|
-
resourceBookings?: ResourceBooking[];
|
|
175
|
-
attachments?: EventAttachment[];
|
|
176
|
-
videoCallLink?: string;
|
|
177
|
-
onlineMeetingProvider?: string;
|
|
178
|
-
maxAttendees?: number;
|
|
179
|
-
currentAttendeeCount?: number;
|
|
180
|
-
checkInEnabled?: boolean;
|
|
181
|
-
tags?: string[];
|
|
182
|
-
metadata?: Record<string, unknown>;
|
|
183
|
-
sourceKind?: 'calendar' | 'scheduler';
|
|
184
|
-
deepLink?: string;
|
|
185
|
-
createdAt: Date;
|
|
186
|
-
updatedAt: Date;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Event attendee
|
|
190
|
-
*/
|
|
191
|
-
export interface Attendee {
|
|
192
|
-
userId: string;
|
|
193
|
-
email: string;
|
|
194
|
-
name: string;
|
|
195
|
-
status: RSVPStatus;
|
|
196
|
-
isRequired: boolean;
|
|
197
|
-
responseTime?: Date;
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* Recurrence rule
|
|
201
|
-
*/
|
|
202
|
-
export interface RecurrenceRule {
|
|
203
|
-
pattern: RecurrencePattern;
|
|
204
|
-
interval: number;
|
|
205
|
-
daysOfWeek?: number[];
|
|
206
|
-
dayOfMonth?: number;
|
|
207
|
-
monthOfYear?: number;
|
|
208
|
-
weekOfMonth?: number;
|
|
209
|
-
endDate?: Date;
|
|
210
|
-
count?: number;
|
|
211
|
-
exceptions?: Date[];
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* Event reminder
|
|
215
|
-
*/
|
|
216
|
-
export interface Reminder {
|
|
217
|
-
id?: string;
|
|
218
|
-
minutesBefore: number;
|
|
219
|
-
method: ReminderMethod;
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Event category
|
|
223
|
-
*/
|
|
224
|
-
export interface EventCategory {
|
|
225
|
-
id: string;
|
|
226
|
-
name: string;
|
|
227
|
-
color: string;
|
|
228
|
-
icon?: string;
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* Resource entity
|
|
232
|
-
*/
|
|
233
|
-
export interface Resource {
|
|
234
|
-
id: string;
|
|
235
|
-
name: string;
|
|
236
|
-
type: ResourceType;
|
|
237
|
-
description?: string;
|
|
238
|
-
capacity?: number;
|
|
239
|
-
location?: string;
|
|
240
|
-
amenities?: string[];
|
|
241
|
-
metadata?: Record<string, unknown>;
|
|
242
|
-
availability?: TimeSlot[];
|
|
243
|
-
bookings?: ResourceBooking[];
|
|
244
|
-
requiresApproval: boolean;
|
|
245
|
-
createdAt: Date;
|
|
246
|
-
updatedAt: Date;
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* Resource booking
|
|
250
|
-
*/
|
|
251
|
-
export interface ResourceBooking {
|
|
252
|
-
id: string;
|
|
253
|
-
resourceId: string;
|
|
254
|
-
resourceName: string;
|
|
255
|
-
resourceType?: string;
|
|
256
|
-
resourceLocation?: string;
|
|
257
|
-
notes?: string;
|
|
258
|
-
eventId: string;
|
|
259
|
-
startTime: Date;
|
|
260
|
-
endTime: Date;
|
|
261
|
-
status: BookingStatus;
|
|
262
|
-
approvedBy?: User;
|
|
263
|
-
approvedAt?: Date;
|
|
264
|
-
createdAt: Date;
|
|
265
|
-
}
|
|
266
|
-
/**
|
|
267
|
-
* Time slot for availability
|
|
268
|
-
*/
|
|
269
|
-
export interface TimeSlot {
|
|
270
|
-
start: Date;
|
|
271
|
-
end: Date;
|
|
272
|
-
eventTitle?: string;
|
|
273
|
-
}
|
|
274
|
-
/**
|
|
275
|
-
* User availability
|
|
276
|
-
*/
|
|
277
|
-
export interface UserAvailability {
|
|
278
|
-
userId: string;
|
|
279
|
-
freeSlots: TimeSlot[];
|
|
280
|
-
busySlots: TimeSlot[];
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* Event attachment
|
|
284
|
-
*/
|
|
285
|
-
export interface EventAttachment {
|
|
286
|
-
id: string;
|
|
287
|
-
name: string;
|
|
288
|
-
url: string;
|
|
289
|
-
size: number;
|
|
290
|
-
mimeType: string;
|
|
291
|
-
fileId?: string;
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* User reference
|
|
295
|
-
*/
|
|
296
|
-
export interface User {
|
|
297
|
-
id: string;
|
|
298
|
-
email: string;
|
|
299
|
-
name: string;
|
|
300
|
-
avatar?: string;
|
|
301
|
-
}
|
|
302
|
-
/**
|
|
303
|
-
* Calendar filter
|
|
304
|
-
*/
|
|
305
|
-
export interface CalendarFilter {
|
|
306
|
-
calendarIds?: string[];
|
|
307
|
-
categoryIds?: string[];
|
|
308
|
-
attendeeIds?: string[];
|
|
309
|
-
search?: string;
|
|
310
|
-
privacy?: EventPrivacy[];
|
|
311
|
-
status?: EventStatus[];
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* Suggested meeting time
|
|
315
|
-
*/
|
|
316
|
-
export interface SuggestedTime {
|
|
317
|
-
start: Date;
|
|
318
|
-
end: Date;
|
|
319
|
-
availableCount: number;
|
|
320
|
-
totalCount: number;
|
|
321
|
-
unavailableAttendees: string[];
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* Calendar subscription URL
|
|
325
|
-
*/
|
|
326
|
-
export interface CalendarSubscription {
|
|
327
|
-
id: string;
|
|
328
|
-
calendarId: string;
|
|
329
|
-
url: string;
|
|
330
|
-
type: 'ICAL' | 'CALDAV';
|
|
331
|
-
isPublic: boolean;
|
|
332
|
-
createdAt: Date;
|
|
333
|
-
}
|
|
334
|
-
/**
|
|
335
|
-
* Date range
|
|
336
|
-
*/
|
|
337
|
-
export interface DateRange {
|
|
338
|
-
start: Date;
|
|
339
|
-
end: Date;
|
|
340
|
-
}
|
|
341
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","s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