@sprucelabs/spruce-calendar-components 20.9.10 → 20.9.11
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.
|
@@ -15,11 +15,13 @@ export declare type EventType = SpruceSchemas.Calendar.v2021_05_19.CalendarEvent
|
|
|
15
15
|
export declare type Calendar = SpruceSchemas.Calendar.v2021_05_19.Calendar;
|
|
16
16
|
export declare type SimpleCalendar = Pick<Calendar, 'id' | 'availableTimeSlotBehavior'>;
|
|
17
17
|
declare type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
|
|
18
|
-
|
|
18
|
+
declare type ICalendarToolBeltContext = SkillViewControllerLoadOptions & {
|
|
19
19
|
event: CalendarEvent;
|
|
20
20
|
calendarVc: CalendarViewController;
|
|
21
21
|
cancelEvent: CancelEventHandler;
|
|
22
22
|
};
|
|
23
|
+
export interface CalendarToolBeltContext extends ICalendarToolBeltContext {
|
|
24
|
+
}
|
|
23
25
|
export declare type CalendarToolBeltStateMachine = ToolBeltStateMachine<CalendarToolBeltContext>;
|
|
24
26
|
export interface RemoteCalendarTool extends CalendarTool {
|
|
25
27
|
getLineIcon(): LineIcon;
|
|
@@ -15,11 +15,13 @@ export declare type EventType = SpruceSchemas.Calendar.v2021_05_19.CalendarEvent
|
|
|
15
15
|
export declare type Calendar = SpruceSchemas.Calendar.v2021_05_19.Calendar;
|
|
16
16
|
export declare type SimpleCalendar = Pick<Calendar, 'id' | 'availableTimeSlotBehavior'>;
|
|
17
17
|
declare type Card = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card;
|
|
18
|
-
|
|
18
|
+
declare type ICalendarToolBeltContext = SkillViewControllerLoadOptions & {
|
|
19
19
|
event: CalendarEvent;
|
|
20
20
|
calendarVc: CalendarViewController;
|
|
21
21
|
cancelEvent: CancelEventHandler;
|
|
22
22
|
};
|
|
23
|
+
export interface CalendarToolBeltContext extends ICalendarToolBeltContext {
|
|
24
|
+
}
|
|
23
25
|
export declare type CalendarToolBeltStateMachine = ToolBeltStateMachine<CalendarToolBeltContext>;
|
|
24
26
|
export interface RemoteCalendarTool extends CalendarTool {
|
|
25
27
|
getLineIcon(): LineIcon;
|