@sprucelabs/calendar-utils 40.0.8 → 40.0.10

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.
Files changed (38) hide show
  1. package/build/.spruce/errors/calendarUtils/invalidTimezoneName.schema.js +3 -3
  2. package/build/.spruce/errors/errors.types.d.ts +2 -2
  3. package/build/.spruce/errors/options.types.d.ts +2 -2
  4. package/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEvent.schema.js +59 -121
  5. package/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventLineIcon.schema.js +5 -175
  6. package/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventTarget.schema.js +11 -11
  7. package/build/.spruce/schemas/calendarUtils/v2021_05_19/eventExclusionDate.schema.js +7 -7
  8. package/build/.spruce/schemas/calendarUtils/v2021_05_19/eventTimeBlock.schema.js +13 -13
  9. package/build/.spruce/schemas/fields/fields.types.d.ts +1 -1
  10. package/build/.spruce/schemas/schemas.types.d.ts +648 -840
  11. package/build/.spruce/schemas/schemas.types.js +4 -0
  12. package/build/errors/SpruceError.js +1 -1
  13. package/build/esm/.spruce/errors/errors.types.d.ts +2 -2
  14. package/build/esm/.spruce/errors/options.types.d.ts +2 -2
  15. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEvent.schema.js +59 -121
  16. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventLineIcon.schema.js +5 -175
  17. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventTarget.schema.js +11 -11
  18. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/eventExclusionDate.schema.js +7 -7
  19. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/eventTimeBlock.schema.js +13 -13
  20. package/build/esm/.spruce/schemas/schemas.types.d.ts +648 -840
  21. package/build/esm/.spruce/schemas/schemas.types.js +4 -0
  22. package/build/locales/DateUtilDecorator.js +1 -2
  23. package/build/locales/Locale.js +4 -6
  24. package/build/locales/TimezoneChoiceSorter.js +0 -1
  25. package/build/parsing/AbstractParser.js +0 -2
  26. package/build/parsing/DateParser.js +1 -3
  27. package/build/parsing/ParserFactory.js +7 -9
  28. package/build/parsing/strategies/DowParser.js +2 -1
  29. package/build/parsing/strategies/TimeParser.js +4 -3
  30. package/build/parsing/strategies/WeekParser.js +2 -1
  31. package/build/utilities/PeopleSorter.js +8 -6
  32. package/build/utilities/RepeatingRuleTextGenerator.js +16 -17
  33. package/build/utilities/calendar.utility.js +5 -4
  34. package/build/utilities/date.utility.js +2 -1
  35. package/build/utilities/duration.utility.js +1 -1
  36. package/build/utilities/sortTimezoneChoices.js +2 -1
  37. package/package.json +13 -15
  38. package/tsconfig.json +1 -1
@@ -8,12 +8,12 @@ const invalidTimezoneNameSchema = {
8
8
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
9
9
  fields: {
10
10
  /** . */
11
- name: {
11
+ 'name': {
12
12
  type: 'text',
13
13
  isRequired: true,
14
- options: undefined,
14
+ options: undefined
15
15
  },
16
- },
16
+ }
17
17
  };
18
18
  schema_1.SchemaRegistry.getInstance().trackSchema(invalidTimezoneNameSchema);
19
19
  exports.default = invalidTimezoneNameSchema;
@@ -2,7 +2,7 @@ import { default as SchemaEntity } from '@sprucelabs/schema';
2
2
  import * as SpruceSchema from '@sprucelabs/schema';
3
3
  export declare namespace SpruceErrors.CalendarUtils {
4
4
  interface InvalidTimezoneName {
5
- name: string;
5
+ 'name': string;
6
6
  }
7
7
  interface InvalidTimezoneNameSchema extends SpruceSchema.Schema {
8
8
  id: 'invalidTimezoneName';
@@ -11,7 +11,7 @@ export declare namespace SpruceErrors.CalendarUtils {
11
11
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils';
12
12
  fields: {
13
13
  /** . */
14
- name: {
14
+ 'name': {
15
15
  type: 'text';
16
16
  isRequired: true;
17
17
  options: undefined;
@@ -1,5 +1,5 @@
1
- import { ErrorOptions as ISpruceErrorOptions } from '@sprucelabs/error';
2
- import { SpruceErrors } from './errors.types';
1
+ import { SpruceErrors } from "./errors.types";
2
+ import { ErrorOptions as ISpruceErrorOptions } from "@sprucelabs/error";
3
3
  export interface InvalidTimezoneNameErrorOptions extends SpruceErrors.CalendarUtils.InvalidTimezoneName, ISpruceErrorOptions {
4
4
  code: 'INVALID_TIMEZONE_NAME';
5
5
  }
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const schema_1 = require("@sprucelabs/schema");
7
+ const eventSource_schema_1 = __importDefault(require("./../../spruceEventUtils/v2021_09_13/eventSource.schema"));
7
8
  const calendarEventTarget_schema_1 = __importDefault(require("./calendarEventTarget.schema"));
8
- const eventExclusionDate_schema_1 = __importDefault(require("./eventExclusionDate.schema"));
9
9
  const eventTimeBlock_schema_1 = __importDefault(require("./eventTimeBlock.schema"));
10
- const eventSource_schema_1 = __importDefault(require("./../../spruceEventUtils/v2021_09_13/eventSource.schema"));
10
+ const eventExclusionDate_schema_1 = __importDefault(require("./eventExclusionDate.schema"));
11
11
  const calendarEventSchema = {
12
12
  id: 'calendarEvent',
13
13
  version: 'v2021_05_19',
@@ -16,206 +16,144 @@ const calendarEventSchema = {
16
16
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
17
17
  fields: {
18
18
  /** . */
19
- id: {
19
+ 'id': {
20
20
  type: 'id',
21
21
  isRequired: true,
22
- options: undefined,
22
+ options: undefined
23
23
  },
24
24
  /** . */
25
- source: {
25
+ 'source': {
26
26
  type: 'schema',
27
27
  isRequired: true,
28
- options: { schema: eventSource_schema_1.default },
28
+ options: { schema: eventSource_schema_1.default, }
29
29
  },
30
30
  /** . */
31
- target: {
31
+ 'target': {
32
32
  type: 'schema',
33
33
  isRequired: true,
34
- options: { schema: calendarEventTarget_schema_1.default },
34
+ options: { schema: calendarEventTarget_schema_1.default, }
35
35
  },
36
36
  /** . */
37
- calendarId: {
37
+ 'calendarId': {
38
38
  type: 'id',
39
39
  isRequired: true,
40
- options: undefined,
40
+ options: undefined
41
41
  },
42
42
  /** . */
43
- eventTypeSlug: {
43
+ 'eventTypeSlug': {
44
44
  type: 'text',
45
- options: undefined,
45
+ options: undefined
46
46
  },
47
47
  /** . */
48
- startDateTimeMs: {
48
+ 'startDateTimeMs': {
49
49
  type: 'dateTime',
50
50
  isRequired: true,
51
- options: undefined,
51
+ options: undefined
52
52
  },
53
53
  /** . */
54
- isBusy: {
54
+ 'isBusy': {
55
55
  type: 'boolean',
56
- options: undefined,
56
+ options: undefined
57
57
  },
58
58
  /** . */
59
- isResizeable: {
59
+ 'isResizeable': {
60
60
  type: 'boolean',
61
- options: undefined,
61
+ options: undefined
62
62
  },
63
63
  /** . */
64
- style: {
64
+ 'style': {
65
65
  type: 'select',
66
- options: {
67
- choices: [
68
- { value: 'draft', label: 'Draft' },
69
- { value: 'tentative', label: 'Tentative' },
70
- { value: 'upcoming', label: 'Upcoming' },
71
- { value: 'unavailable', label: 'Unavailable' },
72
- { value: 'blocked', label: 'Blocked' },
73
- { value: 'active', label: 'Active' },
74
- { value: 'past', label: 'Past' },
75
- { value: 'warn', label: 'Warning' },
76
- { value: 'critical', label: 'Critical' },
77
- ],
78
- },
79
- },
80
- /** . */
81
- groupId: {
66
+ options: { choices: [{ "value": "draft", "label": "Draft" }, { "value": "tentative", "label": "Tentative" }, { "value": "upcoming", "label": "Upcoming" }, { "value": "unavailable", "label": "Unavailable" }, { "value": "blocked", "label": "Blocked" }, { "value": "active", "label": "Active" }, { "value": "past", "label": "Past" }, { "value": "warn", "label": "Warning" }, { "value": "critical", "label": "Critical" }], }
67
+ },
68
+ /** . */
69
+ 'groupId': {
82
70
  type: 'id',
83
- options: undefined,
71
+ options: undefined
84
72
  },
85
73
  /** . */
86
- timeBlocks: {
74
+ 'timeBlocks': {
87
75
  type: 'schema',
88
76
  isRequired: true,
89
77
  isArray: true,
90
78
  minArrayLength: 1,
91
- options: { schema: eventTimeBlock_schema_1.default },
79
+ options: { schema: eventTimeBlock_schema_1.default, }
92
80
  },
93
81
  /** . */
94
- repeats: {
82
+ 'repeats': {
95
83
  type: 'select',
96
- options: {
97
- choices: [
98
- { value: 'weekly', label: 'Weekly' },
99
- { value: 'monthly', label: 'Monthly' },
100
- { value: 'daily', label: 'Daily' },
101
- ],
102
- },
84
+ options: { choices: [{ "value": "weekly", "label": "Weekly" }, { "value": "monthly", "label": "Monthly" }, { "value": "daily", "label": "Daily" }], }
103
85
  },
104
86
  /** . */
105
- daysOfWeek: {
87
+ 'daysOfWeek': {
106
88
  type: 'select',
107
89
  isArray: true,
108
- options: {
109
- choices: [
110
- { value: 'sun', label: 'Sunday' },
111
- { value: 'mon', label: 'Monday' },
112
- { value: 'tue', label: 'Tuesday' },
113
- { value: 'wed', label: 'Wednesday' },
114
- { value: 'thur', label: 'Thursday' },
115
- { value: 'fri', label: 'Friday' },
116
- { value: 'sat', label: 'Saturday' },
117
- ],
118
- },
119
- },
120
- /** . */
121
- daysOfMonth: {
90
+ options: { choices: [{ "value": "sun", "label": "Sunday" }, { "value": "mon", "label": "Monday" }, { "value": "tue", "label": "Tuesday" }, { "value": "wed", "label": "Wednesday" }, { "value": "thur", "label": "Thursday" }, { "value": "fri", "label": "Friday" }, { "value": "sat", "label": "Saturday" }], }
91
+ },
92
+ /** . */
93
+ 'daysOfMonth': {
122
94
  type: 'select',
123
95
  isArray: true,
124
- options: {
125
- choices: [
126
- { value: '1', label: '1' },
127
- { value: '2', label: '2' },
128
- { value: '3', label: '3' },
129
- { value: '4', label: '4' },
130
- { value: '5', label: '5' },
131
- { value: '6', label: '6' },
132
- { value: '7', label: '7' },
133
- { value: '8', label: '8' },
134
- { value: '9', label: '9' },
135
- { value: '10', label: '10' },
136
- { value: '11', label: '11' },
137
- { value: '12', label: '12' },
138
- { value: '13', label: '13' },
139
- { value: '14', label: '14' },
140
- { value: '15', label: '15' },
141
- { value: '16', label: '16' },
142
- { value: '17', label: '17' },
143
- { value: '18', label: '18' },
144
- { value: '19', label: '19' },
145
- { value: '20', label: '20' },
146
- { value: '21', label: '21' },
147
- { value: '22', label: '22' },
148
- { value: '23', label: '23' },
149
- { value: '24', label: '24' },
150
- { value: '25', label: '25' },
151
- { value: '26', label: '26' },
152
- { value: '27', label: '27' },
153
- { value: '28', label: '28' },
154
- { value: '29', label: '29' },
155
- { value: '30', label: '30' },
156
- { value: '31', label: '31' },
157
- ],
158
- },
159
- },
160
- /** . */
161
- repeatsUntil: {
96
+ options: { choices: [{ "value": "1", "label": "1" }, { "value": "2", "label": "2" }, { "value": "3", "label": "3" }, { "value": "4", "label": "4" }, { "value": "5", "label": "5" }, { "value": "6", "label": "6" }, { "value": "7", "label": "7" }, { "value": "8", "label": "8" }, { "value": "9", "label": "9" }, { "value": "10", "label": "10" }, { "value": "11", "label": "11" }, { "value": "12", "label": "12" }, { "value": "13", "label": "13" }, { "value": "14", "label": "14" }, { "value": "15", "label": "15" }, { "value": "16", "label": "16" }, { "value": "17", "label": "17" }, { "value": "18", "label": "18" }, { "value": "19", "label": "19" }, { "value": "20", "label": "20" }, { "value": "21", "label": "21" }, { "value": "22", "label": "22" }, { "value": "23", "label": "23" }, { "value": "24", "label": "24" }, { "value": "25", "label": "25" }, { "value": "26", "label": "26" }, { "value": "27", "label": "27" }, { "value": "28", "label": "28" }, { "value": "29", "label": "29" }, { "value": "30", "label": "30" }, { "value": "31", "label": "31" }], }
97
+ },
98
+ /** . */
99
+ 'repeatsUntil': {
162
100
  type: 'dateTime',
163
- options: undefined,
101
+ options: undefined
164
102
  },
165
103
  /** . */
166
- occurrences: {
104
+ 'occurrences': {
167
105
  type: 'number',
168
- options: undefined,
106
+ options: undefined
169
107
  },
170
108
  /** . */
171
- interval: {
109
+ 'interval': {
172
110
  type: 'number',
173
- options: undefined,
111
+ options: undefined
174
112
  },
175
113
  /** . */
176
- nthOccurrences: {
114
+ 'nthOccurrences': {
177
115
  type: 'number',
178
116
  isArray: true,
179
- options: undefined,
117
+ options: undefined
180
118
  },
181
119
  /** . */
182
- activeUntilDate: {
120
+ 'activeUntilDate': {
183
121
  type: 'dateTime',
184
- options: undefined,
122
+ options: undefined
185
123
  },
186
124
  /** . */
187
- exclusionDates: {
125
+ 'exclusionDates': {
188
126
  type: 'schema',
189
127
  isArray: true,
190
- options: { schema: eventExclusionDate_schema_1.default },
128
+ options: { schema: eventExclusionDate_schema_1.default, }
191
129
  },
192
130
  /** . */
193
- dateDeleted: {
131
+ 'dateDeleted': {
194
132
  type: 'dateTime',
195
- options: undefined,
133
+ options: undefined
196
134
  },
197
135
  /** . */
198
- dateCreated: {
136
+ 'dateCreated': {
199
137
  type: 'dateTime',
200
138
  isRequired: true,
201
- options: undefined,
139
+ options: undefined
202
140
  },
203
141
  /** . */
204
- nthInRepeating: {
142
+ 'nthInRepeating': {
205
143
  type: 'number',
206
- options: undefined,
144
+ options: undefined
207
145
  },
208
146
  /** . */
209
- totalInRepeating: {
147
+ 'totalInRepeating': {
210
148
  type: 'number',
211
- options: undefined,
149
+ options: undefined
212
150
  },
213
151
  /** . */
214
- meta: {
152
+ 'meta': {
215
153
  type: 'raw',
216
- options: { valueType: `Record<string, any>` },
154
+ options: { valueType: `Record<string, any>`, }
217
155
  },
218
- },
156
+ }
219
157
  };
220
158
  schema_1.SchemaRegistry.getInstance().trackSchema(calendarEventSchema);
221
159
  exports.default = calendarEventSchema;
@@ -9,187 +9,17 @@ const calendarEventLineIconSchema = {
9
9
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
10
10
  fields: {
11
11
  /** . */
12
- icon: {
12
+ 'icon': {
13
13
  type: 'select',
14
14
  isRequired: true,
15
- options: {
16
- choices: [
17
- { value: 'sprucebot', label: 'sprucebot' },
18
- { value: 'add-circle', label: 'add-circle' },
19
- { value: 'chevron-left', label: 'chevron-left' },
20
- { value: 'document-text', label: 'document-text' },
21
- { value: 'link-angle', label: 'link-angle' },
22
- { value: 'play-circle', label: 'play-circle' },
23
- { value: 'star', label: 'star' },
24
- { value: 'add-square', label: 'add-square' },
25
- { value: 'chevron-right', label: 'chevron-right' },
26
- { value: 'download-cloud', label: 'download-cloud' },
27
- { value: 'link-flat', label: 'link-flat' },
28
- { value: 'present', label: 'present' },
29
- { value: 'sun', label: 'sun' },
30
- { value: 'add', label: 'add' },
31
- { value: 'chevron-up', label: 'chevron-up' },
32
- { value: 'download', label: 'download' },
33
- { value: 'loader', label: 'loader' },
34
- { value: 'refresh-circle', label: 'refresh-circle' },
35
- { value: 'tag', label: 'tag' },
36
- { value: 'alarm', label: 'alarm' },
37
- { value: 'clipboard', label: 'clipboard' },
38
- { value: 'edit-box', label: 'edit-box' },
39
- { value: 'location-pin', label: 'location-pin' },
40
- { value: 'refresh', label: 'refresh' },
41
- { value: 'time', label: 'time' },
42
- { value: 'arrow-back', label: 'arrow-back' },
43
- { value: 'clock', label: 'clock' },
44
- { value: 'edit-line', label: 'edit-line' },
45
- { value: 'lock', label: 'lock' },
46
- { value: 'repeat', label: 'repeat' },
47
- { value: 'tool', label: 'tool' },
48
- {
49
- value: 'arrow-down-circle',
50
- label: 'arrow-down-circle',
51
- },
52
- { value: 'close-circle', label: 'close-circle' },
53
- { value: 'email', label: 'email' },
54
- { value: 'map', label: 'map' },
55
- { value: 'restricted', label: 'restricted' },
56
- { value: 'trending-down', label: 'trending-down' },
57
- { value: 'arrow-down', label: 'arrow-down' },
58
- { value: 'close-square', label: 'close-square' },
59
- { value: 'emoji-happy', label: 'emoji-happy' },
60
- { value: 'message-circle', label: 'message-circle' },
61
- { value: 'rotate', label: 'rotate' },
62
- { value: 'trending-up', label: 'trending-up' },
63
- { value: 'arrow-next', label: 'arrow-next' },
64
- { value: 'close', label: 'close' },
65
- { value: 'emoji-sad', label: 'emoji-sad' },
66
- { value: 'message-square', label: 'message-square' },
67
- { value: 'search-no', label: 'search-no' },
68
- { value: 'triangle', label: 'triangle' },
69
- { value: 'arrow-up-circle', label: 'arrow-up-circle' },
70
- { value: 'code', label: 'code' },
71
- { value: 'external-link', label: 'external-link' },
72
- { value: 'mic-off', label: 'mic-off' },
73
- { value: 'search', label: 'search' },
74
- { value: 'unlock', label: 'unlock' },
75
- { value: 'arrow-up', label: 'arrow-up' },
76
- { value: 'coffee', label: 'coffee' },
77
- { value: 'fav-heart', label: 'fav-heart' },
78
- { value: 'mic-on', label: 'mic-on' },
79
- {
80
- value: 'selector-checked',
81
- label: 'selector-checked',
82
- },
83
- { value: 'upload-cloud', label: 'upload-cloud' },
84
- { value: 'attachment', label: 'attachment' },
85
- { value: 'command', label: 'command' },
86
- { value: 'flag', label: 'flag' },
87
- { value: 'minus-circle', label: 'minus-circle' },
88
- {
89
- value: 'selector-circle-filled',
90
- label: 'selector-circle-filled',
91
- },
92
- { value: 'upload', label: 'upload' },
93
- { value: 'award-badge', label: 'award-badge' },
94
- {
95
- value: 'corner-down-left',
96
- label: 'corner-down-left',
97
- },
98
- { value: 'flip-01', label: 'flip-01' },
99
- { value: 'minus-square', label: 'minus-square' },
100
- { value: 'selector-circle', label: 'selector-circle' },
101
- { value: 'user-add', label: 'user-add' },
102
- { value: 'binoculars', label: 'binoculars' },
103
- {
104
- value: 'corner-down-right',
105
- label: 'corner-down-right',
106
- },
107
- { value: 'flip-02', label: 'flip-02' },
108
- { value: 'money-sign', label: 'money-sign' },
109
- { value: 'send', label: 'send' },
110
- { value: 'user-delete', label: 'user-delete' },
111
- { value: 'bolt', label: 'bolt' },
112
- {
113
- value: 'corner-left-down',
114
- label: 'corner-left-down',
115
- },
116
- { value: 'folder', label: 'folder' },
117
- { value: 'more-horizontal', label: 'more-horizontal' },
118
- { value: 'settings-filled', label: 'settings-filled' },
119
- { value: 'user', label: 'user' },
120
- { value: 'book-open', label: 'book-open' },
121
- { value: 'corner-left-up', label: 'corner-left-up' },
122
- { value: 'globe', label: 'globe' },
123
- { value: 'more-vertical', label: 'more-vertical' },
124
- { value: 'settings', label: 'settings' },
125
- { value: 'users', label: 'users' },
126
- { value: 'book', label: 'book' },
127
- {
128
- value: 'corner-right-down',
129
- label: 'corner-right-down',
130
- },
131
- { value: 'hash-tag', label: 'hash-tag' },
132
- {
133
- value: 'notification-off',
134
- label: 'notification-off',
135
- },
136
- { value: 'share', label: 'share' },
137
- { value: 'video-off', label: 'video-off' },
138
- { value: 'bookmark', label: 'bookmark' },
139
- { value: 'corner-right-up', label: 'corner-right-up' },
140
- { value: 'headphones', label: 'headphones' },
141
- { value: 'notification-on', label: 'notification-on' },
142
- { value: 'shopping-bag', label: 'shopping-bag' },
143
- { value: 'video', label: 'video' },
144
- { value: 'calendar-add', label: 'calendar-add' },
145
- { value: 'corner-up-left', label: 'corner-up-left' },
146
- { value: 'help-buoy', label: 'help-buoy' },
147
- { value: 'object', label: 'object' },
148
- { value: 'shopping-cart', label: 'shopping-cart' },
149
- { value: 'warning', label: 'warning' },
150
- { value: 'calendar', label: 'calendar' },
151
- { value: 'corner-up-right', label: 'corner-up-right' },
152
- { value: 'help-circle', label: 'help-circle' },
153
- { value: 'pause-circle', label: 'pause-circle' },
154
- {
155
- value: 'sort-filter-down',
156
- label: 'sort-filter-down',
157
- },
158
- { value: 'wifi', label: 'wifi' },
159
- { value: 'camera', label: 'camera' },
160
- { value: 'crop', label: 'crop' },
161
- { value: 'home', label: 'home' },
162
- {
163
- value: 'phone-unavailable',
164
- label: 'phone-unavailable',
165
- },
166
- { value: 'sort-filter-up', label: 'sort-filter-up' },
167
- { value: 'zoom-in', label: 'zoom-in' },
168
- { value: 'cellphone', label: 'cellphone' },
169
- { value: 'delete', label: 'delete' },
170
- { value: 'info', label: 'info' },
171
- { value: 'phone', label: 'phone' },
172
- { value: 'sound-off', label: 'sound-off' },
173
- { value: 'zoom-out', label: 'zoom-out' },
174
- { value: 'checkmark', label: 'checkmark' },
175
- { value: 'document-blank', label: 'document-blank' },
176
- { value: 'jump', label: 'jump' },
177
- { value: 'photo', label: 'photo' },
178
- { value: 'sound-on', label: 'sound-on' },
179
- { value: 'chevron-down', label: 'chevron-down' },
180
- { value: 'document-new', label: 'document-new' },
181
- { value: 'layers', label: 'layers' },
182
- { value: 'picked', label: 'picked' },
183
- { value: 'star-filled', label: 'star-filled' },
184
- ],
185
- },
15
+ options: { choices: [{ "value": "sprucebot", "label": "sprucebot" }, { "value": "add-circle", "label": "add-circle" }, { "value": "chevron-left", "label": "chevron-left" }, { "value": "document-text", "label": "document-text" }, { "value": "link-angle", "label": "link-angle" }, { "value": "play-circle", "label": "play-circle" }, { "value": "star", "label": "star" }, { "value": "add-square", "label": "add-square" }, { "value": "chevron-right", "label": "chevron-right" }, { "value": "download-cloud", "label": "download-cloud" }, { "value": "link-flat", "label": "link-flat" }, { "value": "present", "label": "present" }, { "value": "sun", "label": "sun" }, { "value": "add", "label": "add" }, { "value": "chevron-up", "label": "chevron-up" }, { "value": "download", "label": "download" }, { "value": "loader", "label": "loader" }, { "value": "refresh-circle", "label": "refresh-circle" }, { "value": "tag", "label": "tag" }, { "value": "alarm", "label": "alarm" }, { "value": "clipboard", "label": "clipboard" }, { "value": "edit-box", "label": "edit-box" }, { "value": "location-pin", "label": "location-pin" }, { "value": "refresh", "label": "refresh" }, { "value": "time", "label": "time" }, { "value": "arrow-back", "label": "arrow-back" }, { "value": "clock", "label": "clock" }, { "value": "edit-line", "label": "edit-line" }, { "value": "lock", "label": "lock" }, { "value": "repeat", "label": "repeat" }, { "value": "tool", "label": "tool" }, { "value": "arrow-down-circle", "label": "arrow-down-circle" }, { "value": "close-circle", "label": "close-circle" }, { "value": "email", "label": "email" }, { "value": "map", "label": "map" }, { "value": "restricted", "label": "restricted" }, { "value": "trending-down", "label": "trending-down" }, { "value": "arrow-down", "label": "arrow-down" }, { "value": "close-square", "label": "close-square" }, { "value": "emoji-happy", "label": "emoji-happy" }, { "value": "message-circle", "label": "message-circle" }, { "value": "rotate", "label": "rotate" }, { "value": "trending-up", "label": "trending-up" }, { "value": "arrow-next", "label": "arrow-next" }, { "value": "close", "label": "close" }, { "value": "emoji-sad", "label": "emoji-sad" }, { "value": "message-square", "label": "message-square" }, { "value": "search-no", "label": "search-no" }, { "value": "triangle", "label": "triangle" }, { "value": "arrow-up-circle", "label": "arrow-up-circle" }, { "value": "code", "label": "code" }, { "value": "external-link", "label": "external-link" }, { "value": "mic-off", "label": "mic-off" }, { "value": "search", "label": "search" }, { "value": "unlock", "label": "unlock" }, { "value": "arrow-up", "label": "arrow-up" }, { "value": "coffee", "label": "coffee" }, { "value": "fav-heart", "label": "fav-heart" }, { "value": "mic-on", "label": "mic-on" }, { "value": "selector-checked", "label": "selector-checked" }, { "value": "upload-cloud", "label": "upload-cloud" }, { "value": "attachment", "label": "attachment" }, { "value": "command", "label": "command" }, { "value": "flag", "label": "flag" }, { "value": "minus-circle", "label": "minus-circle" }, { "value": "selector-circle-filled", "label": "selector-circle-filled" }, { "value": "upload", "label": "upload" }, { "value": "award-badge", "label": "award-badge" }, { "value": "corner-down-left", "label": "corner-down-left" }, { "value": "flip-01", "label": "flip-01" }, { "value": "minus-square", "label": "minus-square" }, { "value": "selector-circle", "label": "selector-circle" }, { "value": "user-add", "label": "user-add" }, { "value": "binoculars", "label": "binoculars" }, { "value": "corner-down-right", "label": "corner-down-right" }, { "value": "flip-02", "label": "flip-02" }, { "value": "money-sign", "label": "money-sign" }, { "value": "send", "label": "send" }, { "value": "user-delete", "label": "user-delete" }, { "value": "bolt", "label": "bolt" }, { "value": "corner-left-down", "label": "corner-left-down" }, { "value": "folder", "label": "folder" }, { "value": "more-horizontal", "label": "more-horizontal" }, { "value": "settings-filled", "label": "settings-filled" }, { "value": "user", "label": "user" }, { "value": "book-open", "label": "book-open" }, { "value": "corner-left-up", "label": "corner-left-up" }, { "value": "globe", "label": "globe" }, { "value": "more-vertical", "label": "more-vertical" }, { "value": "settings", "label": "settings" }, { "value": "users", "label": "users" }, { "value": "book", "label": "book" }, { "value": "corner-right-down", "label": "corner-right-down" }, { "value": "hash-tag", "label": "hash-tag" }, { "value": "notification-off", "label": "notification-off" }, { "value": "share", "label": "share" }, { "value": "video-off", "label": "video-off" }, { "value": "bookmark", "label": "bookmark" }, { "value": "corner-right-up", "label": "corner-right-up" }, { "value": "headphones", "label": "headphones" }, { "value": "notification-on", "label": "notification-on" }, { "value": "shopping-bag", "label": "shopping-bag" }, { "value": "video", "label": "video" }, { "value": "calendar-add", "label": "calendar-add" }, { "value": "corner-up-left", "label": "corner-up-left" }, { "value": "help-buoy", "label": "help-buoy" }, { "value": "object", "label": "object" }, { "value": "shopping-cart", "label": "shopping-cart" }, { "value": "warning", "label": "warning" }, { "value": "calendar", "label": "calendar" }, { "value": "corner-up-right", "label": "corner-up-right" }, { "value": "help-circle", "label": "help-circle" }, { "value": "pause-circle", "label": "pause-circle" }, { "value": "sort-filter-down", "label": "sort-filter-down" }, { "value": "wifi", "label": "wifi" }, { "value": "camera", "label": "camera" }, { "value": "crop", "label": "crop" }, { "value": "home", "label": "home" }, { "value": "phone-unavailable", "label": "phone-unavailable" }, { "value": "sort-filter-up", "label": "sort-filter-up" }, { "value": "zoom-in", "label": "zoom-in" }, { "value": "cellphone", "label": "cellphone" }, { "value": "delete", "label": "delete" }, { "value": "info", "label": "info" }, { "value": "phone", "label": "phone" }, { "value": "sound-off", "label": "sound-off" }, { "value": "zoom-out", "label": "zoom-out" }, { "value": "checkmark", "label": "checkmark" }, { "value": "document-blank", "label": "document-blank" }, { "value": "jump", "label": "jump" }, { "value": "photo", "label": "photo" }, { "value": "sound-on", "label": "sound-on" }, { "value": "chevron-down", "label": "chevron-down" }, { "value": "document-new", "label": "document-new" }, { "value": "layers", "label": "layers" }, { "value": "picked", "label": "picked" }, { "value": "star-filled", "label": "star-filled" }], }
186
16
  },
187
17
  /** . */
188
- hint: {
18
+ 'hint': {
189
19
  type: 'text',
190
- options: undefined,
20
+ options: undefined
191
21
  },
192
- },
22
+ }
193
23
  };
194
24
  schema_1.SchemaRegistry.getInstance().trackSchema(calendarEventLineIconSchema);
195
25
  exports.default = calendarEventLineIconSchema;
@@ -9,32 +9,32 @@ const calendarEventTargetSchema = {
9
9
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
10
10
  fields: {
11
11
  /** . */
12
- locationId: {
12
+ 'locationId': {
13
13
  type: 'id',
14
- options: undefined,
14
+ options: undefined
15
15
  },
16
16
  /** . */
17
- personId: {
17
+ 'personId': {
18
18
  type: 'id',
19
19
  isRequired: true,
20
- options: undefined,
20
+ options: undefined
21
21
  },
22
22
  /** . */
23
- organizationId: {
23
+ 'organizationId': {
24
24
  type: 'id',
25
- options: undefined,
25
+ options: undefined
26
26
  },
27
27
  /** . */
28
- skillId: {
28
+ 'skillId': {
29
29
  type: 'id',
30
- options: undefined,
30
+ options: undefined
31
31
  },
32
32
  /** . */
33
- roleId: {
33
+ 'roleId': {
34
34
  type: 'id',
35
- options: undefined,
35
+ options: undefined
36
36
  },
37
- },
37
+ }
38
38
  };
39
39
  schema_1.SchemaRegistry.getInstance().trackSchema(calendarEventTargetSchema);
40
40
  exports.default = calendarEventTargetSchema;
@@ -9,24 +9,24 @@ const eventExclusionDateSchema = {
9
9
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
10
10
  fields: {
11
11
  /** . */
12
- year: {
12
+ 'year': {
13
13
  type: 'number',
14
14
  isRequired: true,
15
- options: undefined,
15
+ options: undefined
16
16
  },
17
17
  /** . */
18
- month: {
18
+ 'month': {
19
19
  type: 'number',
20
20
  isRequired: true,
21
- options: undefined,
21
+ options: undefined
22
22
  },
23
23
  /** . */
24
- day: {
24
+ 'day': {
25
25
  type: 'number',
26
26
  isRequired: true,
27
- options: undefined,
27
+ options: undefined
28
28
  },
29
- },
29
+ }
30
30
  };
31
31
  schema_1.SchemaRegistry.getInstance().trackSchema(eventExclusionDateSchema);
32
32
  exports.default = eventExclusionDateSchema;