@sprucelabs/calendar-utils 40.0.9 → 40.0.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.
- package/build/.spruce/errors/calendarUtils/invalidTimezoneName.schema.js +3 -3
- package/build/.spruce/errors/errors.types.d.ts +2 -2
- package/build/.spruce/errors/options.types.d.ts +2 -2
- package/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEvent.schema.js +59 -121
- package/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventLineIcon.schema.js +5 -175
- package/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventTarget.schema.js +11 -11
- package/build/.spruce/schemas/calendarUtils/v2021_05_19/eventExclusionDate.schema.js +7 -7
- package/build/.spruce/schemas/calendarUtils/v2021_05_19/eventTimeBlock.schema.js +13 -13
- package/build/.spruce/schemas/fields/fields.types.d.ts +1 -1
- package/build/.spruce/schemas/schemas.types.d.ts +648 -840
- package/build/.spruce/schemas/schemas.types.js +4 -0
- package/build/errors/SpruceError.js +1 -1
- package/build/esm/.spruce/errors/errors.types.d.ts +2 -2
- package/build/esm/.spruce/errors/options.types.d.ts +2 -2
- package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEvent.schema.js +59 -121
- package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventLineIcon.schema.js +5 -175
- package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventTarget.schema.js +11 -11
- package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/eventExclusionDate.schema.js +7 -7
- package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/eventTimeBlock.schema.js +13 -13
- package/build/esm/.spruce/schemas/schemas.types.d.ts +648 -840
- package/build/esm/.spruce/schemas/schemas.types.js +4 -0
- package/build/locales/DateUtilDecorator.js +1 -2
- package/build/locales/Locale.js +4 -6
- package/build/locales/TimezoneChoiceSorter.js +0 -1
- package/build/parsing/AbstractParser.js +0 -2
- package/build/parsing/DateParser.js +1 -3
- package/build/parsing/ParserFactory.js +7 -9
- package/build/parsing/strategies/DowParser.js +2 -1
- package/build/parsing/strategies/TimeParser.js +4 -3
- package/build/parsing/strategies/WeekParser.js +2 -1
- package/build/utilities/PeopleSorter.js +8 -6
- package/build/utilities/RepeatingRuleTextGenerator.js +16 -17
- package/build/utilities/calendar.utility.js +5 -4
- package/build/utilities/date.utility.js +2 -1
- package/build/utilities/duration.utility.js +1 -1
- package/build/utilities/sortTimezoneChoices.js +2 -1
- package/package.json +13 -15
- package/tsconfig.json +1 -1
|
@@ -8,40 +8,40 @@ const eventTimeBlockSchema = {
|
|
|
8
8
|
moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
|
|
9
9
|
fields: {
|
|
10
10
|
/** . */
|
|
11
|
-
title: {
|
|
11
|
+
'title': {
|
|
12
12
|
type: 'text',
|
|
13
|
-
options: undefined
|
|
13
|
+
options: undefined
|
|
14
14
|
},
|
|
15
15
|
/** . */
|
|
16
|
-
subtitle: {
|
|
16
|
+
'subtitle': {
|
|
17
17
|
type: 'text',
|
|
18
|
-
options: undefined
|
|
18
|
+
options: undefined
|
|
19
19
|
},
|
|
20
20
|
/** . */
|
|
21
|
-
isBusy: {
|
|
21
|
+
'isBusy': {
|
|
22
22
|
type: 'boolean',
|
|
23
23
|
isRequired: true,
|
|
24
|
-
options: undefined
|
|
24
|
+
options: undefined
|
|
25
25
|
},
|
|
26
26
|
/** . */
|
|
27
|
-
durationMinutes: {
|
|
27
|
+
'durationMinutes': {
|
|
28
28
|
type: 'number',
|
|
29
29
|
isRequired: true,
|
|
30
|
-
options: undefined
|
|
30
|
+
options: undefined
|
|
31
31
|
},
|
|
32
32
|
/** . */
|
|
33
|
-
rightIcons: {
|
|
33
|
+
'rightIcons': {
|
|
34
34
|
type: 'schema',
|
|
35
35
|
isArray: true,
|
|
36
|
-
options: { schema: calendarEventLineIconSchema_v2021_05_19 }
|
|
36
|
+
options: { schema: calendarEventLineIconSchema_v2021_05_19, }
|
|
37
37
|
},
|
|
38
38
|
/** . */
|
|
39
|
-
leftIcons: {
|
|
39
|
+
'leftIcons': {
|
|
40
40
|
type: 'schema',
|
|
41
41
|
isArray: true,
|
|
42
|
-
options: { schema: calendarEventLineIconSchema_v2021_05_19 }
|
|
42
|
+
options: { schema: calendarEventLineIconSchema_v2021_05_19, }
|
|
43
43
|
},
|
|
44
|
-
}
|
|
44
|
+
}
|
|
45
45
|
};
|
|
46
46
|
SchemaRegistry.getInstance().trackSchema(eventTimeBlockSchema);
|
|
47
47
|
export default eventTimeBlockSchema;
|