@sprucelabs/spruce-calendar-components 27.0.0 → 27.0.2
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/build/.spruce/errors/errors.types.d.ts +19 -0
- package/build/.spruce/errors/options.types.d.ts +4 -1
- package/build/.spruce/schemas/schemas.types.d.ts +575 -575
- package/build/errors/SpruceError.js +3 -0
- package/build/esm/.spruce/errors/errors.types.d.ts +19 -0
- package/build/esm/.spruce/errors/options.types.d.ts +4 -1
- package/build/esm/.spruce/schemas/schemas.types.d.ts +575 -575
- package/build/esm/errors/SpruceError.js +3 -0
- package/build/esm/toolBelt/states/AbstractCalendarEventToolBeltState.js +25 -6
- package/build/esm/types/calendar.types.d.ts +2 -1
- package/build/toolBelt/states/AbstractCalendarEventToolBeltState.js +25 -6
- package/build/types/calendar.types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -101,6 +101,25 @@ export declare namespace SpruceErrors.Calendar {
|
|
|
101
101
|
}
|
|
102
102
|
type DuplicateCalendarEntity = SchemaEntity<SpruceErrors.Calendar.DuplicateCalendarSchema>;
|
|
103
103
|
}
|
|
104
|
+
export declare namespace SpruceErrors.Calendar {
|
|
105
|
+
interface CalendarToolInterface {
|
|
106
|
+
'vcId': string;
|
|
107
|
+
}
|
|
108
|
+
interface CalendarToolInterfaceSchema extends SpruceSchema.Schema {
|
|
109
|
+
id: 'calendarToolInterface';
|
|
110
|
+
namespace: 'Calendar';
|
|
111
|
+
name: 'Calendar tool interface';
|
|
112
|
+
fields: {
|
|
113
|
+
/** . */
|
|
114
|
+
'vcId': {
|
|
115
|
+
type: 'id';
|
|
116
|
+
isRequired: true;
|
|
117
|
+
options: undefined;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
type CalendarToolInterfaceEntity = SchemaEntity<SpruceErrors.Calendar.CalendarToolInterfaceSchema>;
|
|
122
|
+
}
|
|
104
123
|
export declare namespace SpruceErrors.Calendar {
|
|
105
124
|
interface CalendarNotFound {
|
|
106
125
|
'calendarIds'?: string[] | undefined | null;
|
|
@@ -21,8 +21,11 @@ export interface DuplicateEventTypeErrorOptions extends SpruceErrors.Calendar.Du
|
|
|
21
21
|
export interface DuplicateCalendarErrorOptions extends SpruceErrors.Calendar.DuplicateCalendar, ISpruceErrorOptions {
|
|
22
22
|
code: 'DUPLICATE_CALENDAR';
|
|
23
23
|
}
|
|
24
|
+
export interface CalendarToolInterfaceErrorOptions extends SpruceErrors.Calendar.CalendarToolInterface, ISpruceErrorOptions {
|
|
25
|
+
code: 'CALENDAR_TOOL_INTERFACE';
|
|
26
|
+
}
|
|
24
27
|
export interface CalendarNotFoundErrorOptions extends SpruceErrors.Calendar.CalendarNotFound, ISpruceErrorOptions {
|
|
25
28
|
code: 'CALENDAR_NOT_FOUND';
|
|
26
29
|
}
|
|
27
|
-
type ErrorOptions = ValidatorNotInitializedErrorOptions | UnauthorizedAccessErrorOptions | RecordNotFoundErrorOptions | PersonNotFoundErrorOptions | EventNotFoundErrorOptions | DuplicateEventTypeErrorOptions | DuplicateCalendarErrorOptions | CalendarNotFoundErrorOptions;
|
|
30
|
+
type ErrorOptions = ValidatorNotInitializedErrorOptions | UnauthorizedAccessErrorOptions | RecordNotFoundErrorOptions | PersonNotFoundErrorOptions | EventNotFoundErrorOptions | DuplicateEventTypeErrorOptions | DuplicateCalendarErrorOptions | CalendarToolInterfaceErrorOptions | CalendarNotFoundErrorOptions;
|
|
28
31
|
export default ErrorOptions;
|