@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.
- 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
|
@@ -5,9 +5,9 @@ import '@sprucelabs/spruce-event-utils';
|
|
|
5
5
|
declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
|
|
6
6
|
namespace SpruceSchemas.CalendarUtils.v2021_05_19 {
|
|
7
7
|
interface EventExclusionDate {
|
|
8
|
-
year: number;
|
|
9
|
-
month: number;
|
|
10
|
-
day: number;
|
|
8
|
+
'year': number;
|
|
9
|
+
'month': number;
|
|
10
|
+
'day': number;
|
|
11
11
|
}
|
|
12
12
|
interface EventExclusionDateSchema extends SpruceSchema.Schema {
|
|
13
13
|
id: 'eventExclusionDate';
|
|
@@ -17,19 +17,19 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
17
17
|
moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils';
|
|
18
18
|
fields: {
|
|
19
19
|
/** . */
|
|
20
|
-
year: {
|
|
20
|
+
'year': {
|
|
21
21
|
type: 'number';
|
|
22
22
|
isRequired: true;
|
|
23
23
|
options: undefined;
|
|
24
24
|
};
|
|
25
25
|
/** . */
|
|
26
|
-
month: {
|
|
26
|
+
'month': {
|
|
27
27
|
type: 'number';
|
|
28
28
|
isRequired: true;
|
|
29
29
|
options: undefined;
|
|
30
30
|
};
|
|
31
31
|
/** . */
|
|
32
|
-
day: {
|
|
32
|
+
'day': {
|
|
33
33
|
type: 'number';
|
|
34
34
|
isRequired: true;
|
|
35
35
|
options: undefined;
|
|
@@ -41,8 +41,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
41
41
|
}
|
|
42
42
|
namespace SpruceSchemas.CalendarUtils.v2021_05_19 {
|
|
43
43
|
interface CalendarEventLineIcon {
|
|
44
|
-
icon:
|
|
45
|
-
hint?: string | undefined | null;
|
|
44
|
+
'icon': ("sprucebot" | "add-circle" | "chevron-left" | "document-text" | "link-angle" | "play-circle" | "star" | "add-square" | "chevron-right" | "download-cloud" | "link-flat" | "present" | "sun" | "add" | "chevron-up" | "download" | "loader" | "refresh-circle" | "tag" | "alarm" | "clipboard" | "edit-box" | "location-pin" | "refresh" | "time" | "arrow-back" | "clock" | "edit-line" | "lock" | "repeat" | "tool" | "arrow-down-circle" | "close-circle" | "email" | "map" | "restricted" | "trending-down" | "arrow-down" | "close-square" | "emoji-happy" | "message-circle" | "rotate" | "trending-up" | "arrow-next" | "close" | "emoji-sad" | "message-square" | "search-no" | "triangle" | "arrow-up-circle" | "code" | "external-link" | "mic-off" | "search" | "unlock" | "arrow-up" | "coffee" | "fav-heart" | "mic-on" | "selector-checked" | "upload-cloud" | "attachment" | "command" | "flag" | "minus-circle" | "selector-circle-filled" | "upload" | "award-badge" | "corner-down-left" | "flip-01" | "minus-square" | "selector-circle" | "user-add" | "binoculars" | "corner-down-right" | "flip-02" | "money-sign" | "send" | "user-delete" | "bolt" | "corner-left-down" | "folder" | "more-horizontal" | "settings-filled" | "user" | "book-open" | "corner-left-up" | "globe" | "more-vertical" | "settings" | "users" | "book" | "corner-right-down" | "hash-tag" | "notification-off" | "share" | "video-off" | "bookmark" | "corner-right-up" | "headphones" | "notification-on" | "shopping-bag" | "video" | "calendar-add" | "corner-up-left" | "help-buoy" | "object" | "shopping-cart" | "warning" | "calendar" | "corner-up-right" | "help-circle" | "pause-circle" | "sort-filter-down" | "wifi" | "camera" | "crop" | "home" | "phone-unavailable" | "sort-filter-up" | "zoom-in" | "cellphone" | "delete" | "info" | "phone" | "sound-off" | "zoom-out" | "checkmark" | "document-blank" | "jump" | "photo" | "sound-on" | "chevron-down" | "document-new" | "layers" | "picked" | "star-filled");
|
|
45
|
+
'hint'?: string | undefined | null;
|
|
46
46
|
}
|
|
47
47
|
interface CalendarEventLineIconSchema extends SpruceSchema.Schema {
|
|
48
48
|
id: 'calendarEventLineIcon';
|
|
@@ -52,564 +52,426 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
52
52
|
moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils';
|
|
53
53
|
fields: {
|
|
54
54
|
/** . */
|
|
55
|
-
icon: {
|
|
55
|
+
'icon': {
|
|
56
56
|
type: 'select';
|
|
57
57
|
isRequired: true;
|
|
58
58
|
options: {
|
|
59
|
-
choices: [
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
value: 'calendar-add';
|
|
474
|
-
label: 'calendar-add';
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
value: 'corner-up-left';
|
|
478
|
-
label: 'corner-up-left';
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
value: 'help-buoy';
|
|
482
|
-
label: 'help-buoy';
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
value: 'object';
|
|
486
|
-
label: 'object';
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
value: 'shopping-cart';
|
|
490
|
-
label: 'shopping-cart';
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
value: 'warning';
|
|
494
|
-
label: 'warning';
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
value: 'calendar';
|
|
498
|
-
label: 'calendar';
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
value: 'corner-up-right';
|
|
502
|
-
label: 'corner-up-right';
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
value: 'help-circle';
|
|
506
|
-
label: 'help-circle';
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
value: 'pause-circle';
|
|
510
|
-
label: 'pause-circle';
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
value: 'sort-filter-down';
|
|
514
|
-
label: 'sort-filter-down';
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
value: 'wifi';
|
|
518
|
-
label: 'wifi';
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
value: 'camera';
|
|
522
|
-
label: 'camera';
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
value: 'crop';
|
|
526
|
-
label: 'crop';
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
value: 'home';
|
|
530
|
-
label: 'home';
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
value: 'phone-unavailable';
|
|
534
|
-
label: 'phone-unavailable';
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
value: 'sort-filter-up';
|
|
538
|
-
label: 'sort-filter-up';
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
value: 'zoom-in';
|
|
542
|
-
label: 'zoom-in';
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
value: 'cellphone';
|
|
546
|
-
label: 'cellphone';
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
value: 'delete';
|
|
550
|
-
label: 'delete';
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
value: 'info';
|
|
554
|
-
label: 'info';
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
value: 'phone';
|
|
558
|
-
label: 'phone';
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
value: 'sound-off';
|
|
562
|
-
label: 'sound-off';
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
value: 'zoom-out';
|
|
566
|
-
label: 'zoom-out';
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
value: 'checkmark';
|
|
570
|
-
label: 'checkmark';
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
value: 'document-blank';
|
|
574
|
-
label: 'document-blank';
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
value: 'jump';
|
|
578
|
-
label: 'jump';
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
value: 'photo';
|
|
582
|
-
label: 'photo';
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
value: 'sound-on';
|
|
586
|
-
label: 'sound-on';
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
value: 'chevron-down';
|
|
590
|
-
label: 'chevron-down';
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
value: 'document-new';
|
|
594
|
-
label: 'document-new';
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
value: 'layers';
|
|
598
|
-
label: 'layers';
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
value: 'picked';
|
|
602
|
-
label: 'picked';
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
value: 'star-filled';
|
|
606
|
-
label: 'star-filled';
|
|
607
|
-
}
|
|
608
|
-
];
|
|
59
|
+
choices: [{
|
|
60
|
+
"value": "sprucebot";
|
|
61
|
+
"label": "sprucebot";
|
|
62
|
+
}, {
|
|
63
|
+
"value": "add-circle";
|
|
64
|
+
"label": "add-circle";
|
|
65
|
+
}, {
|
|
66
|
+
"value": "chevron-left";
|
|
67
|
+
"label": "chevron-left";
|
|
68
|
+
}, {
|
|
69
|
+
"value": "document-text";
|
|
70
|
+
"label": "document-text";
|
|
71
|
+
}, {
|
|
72
|
+
"value": "link-angle";
|
|
73
|
+
"label": "link-angle";
|
|
74
|
+
}, {
|
|
75
|
+
"value": "play-circle";
|
|
76
|
+
"label": "play-circle";
|
|
77
|
+
}, {
|
|
78
|
+
"value": "star";
|
|
79
|
+
"label": "star";
|
|
80
|
+
}, {
|
|
81
|
+
"value": "add-square";
|
|
82
|
+
"label": "add-square";
|
|
83
|
+
}, {
|
|
84
|
+
"value": "chevron-right";
|
|
85
|
+
"label": "chevron-right";
|
|
86
|
+
}, {
|
|
87
|
+
"value": "download-cloud";
|
|
88
|
+
"label": "download-cloud";
|
|
89
|
+
}, {
|
|
90
|
+
"value": "link-flat";
|
|
91
|
+
"label": "link-flat";
|
|
92
|
+
}, {
|
|
93
|
+
"value": "present";
|
|
94
|
+
"label": "present";
|
|
95
|
+
}, {
|
|
96
|
+
"value": "sun";
|
|
97
|
+
"label": "sun";
|
|
98
|
+
}, {
|
|
99
|
+
"value": "add";
|
|
100
|
+
"label": "add";
|
|
101
|
+
}, {
|
|
102
|
+
"value": "chevron-up";
|
|
103
|
+
"label": "chevron-up";
|
|
104
|
+
}, {
|
|
105
|
+
"value": "download";
|
|
106
|
+
"label": "download";
|
|
107
|
+
}, {
|
|
108
|
+
"value": "loader";
|
|
109
|
+
"label": "loader";
|
|
110
|
+
}, {
|
|
111
|
+
"value": "refresh-circle";
|
|
112
|
+
"label": "refresh-circle";
|
|
113
|
+
}, {
|
|
114
|
+
"value": "tag";
|
|
115
|
+
"label": "tag";
|
|
116
|
+
}, {
|
|
117
|
+
"value": "alarm";
|
|
118
|
+
"label": "alarm";
|
|
119
|
+
}, {
|
|
120
|
+
"value": "clipboard";
|
|
121
|
+
"label": "clipboard";
|
|
122
|
+
}, {
|
|
123
|
+
"value": "edit-box";
|
|
124
|
+
"label": "edit-box";
|
|
125
|
+
}, {
|
|
126
|
+
"value": "location-pin";
|
|
127
|
+
"label": "location-pin";
|
|
128
|
+
}, {
|
|
129
|
+
"value": "refresh";
|
|
130
|
+
"label": "refresh";
|
|
131
|
+
}, {
|
|
132
|
+
"value": "time";
|
|
133
|
+
"label": "time";
|
|
134
|
+
}, {
|
|
135
|
+
"value": "arrow-back";
|
|
136
|
+
"label": "arrow-back";
|
|
137
|
+
}, {
|
|
138
|
+
"value": "clock";
|
|
139
|
+
"label": "clock";
|
|
140
|
+
}, {
|
|
141
|
+
"value": "edit-line";
|
|
142
|
+
"label": "edit-line";
|
|
143
|
+
}, {
|
|
144
|
+
"value": "lock";
|
|
145
|
+
"label": "lock";
|
|
146
|
+
}, {
|
|
147
|
+
"value": "repeat";
|
|
148
|
+
"label": "repeat";
|
|
149
|
+
}, {
|
|
150
|
+
"value": "tool";
|
|
151
|
+
"label": "tool";
|
|
152
|
+
}, {
|
|
153
|
+
"value": "arrow-down-circle";
|
|
154
|
+
"label": "arrow-down-circle";
|
|
155
|
+
}, {
|
|
156
|
+
"value": "close-circle";
|
|
157
|
+
"label": "close-circle";
|
|
158
|
+
}, {
|
|
159
|
+
"value": "email";
|
|
160
|
+
"label": "email";
|
|
161
|
+
}, {
|
|
162
|
+
"value": "map";
|
|
163
|
+
"label": "map";
|
|
164
|
+
}, {
|
|
165
|
+
"value": "restricted";
|
|
166
|
+
"label": "restricted";
|
|
167
|
+
}, {
|
|
168
|
+
"value": "trending-down";
|
|
169
|
+
"label": "trending-down";
|
|
170
|
+
}, {
|
|
171
|
+
"value": "arrow-down";
|
|
172
|
+
"label": "arrow-down";
|
|
173
|
+
}, {
|
|
174
|
+
"value": "close-square";
|
|
175
|
+
"label": "close-square";
|
|
176
|
+
}, {
|
|
177
|
+
"value": "emoji-happy";
|
|
178
|
+
"label": "emoji-happy";
|
|
179
|
+
}, {
|
|
180
|
+
"value": "message-circle";
|
|
181
|
+
"label": "message-circle";
|
|
182
|
+
}, {
|
|
183
|
+
"value": "rotate";
|
|
184
|
+
"label": "rotate";
|
|
185
|
+
}, {
|
|
186
|
+
"value": "trending-up";
|
|
187
|
+
"label": "trending-up";
|
|
188
|
+
}, {
|
|
189
|
+
"value": "arrow-next";
|
|
190
|
+
"label": "arrow-next";
|
|
191
|
+
}, {
|
|
192
|
+
"value": "close";
|
|
193
|
+
"label": "close";
|
|
194
|
+
}, {
|
|
195
|
+
"value": "emoji-sad";
|
|
196
|
+
"label": "emoji-sad";
|
|
197
|
+
}, {
|
|
198
|
+
"value": "message-square";
|
|
199
|
+
"label": "message-square";
|
|
200
|
+
}, {
|
|
201
|
+
"value": "search-no";
|
|
202
|
+
"label": "search-no";
|
|
203
|
+
}, {
|
|
204
|
+
"value": "triangle";
|
|
205
|
+
"label": "triangle";
|
|
206
|
+
}, {
|
|
207
|
+
"value": "arrow-up-circle";
|
|
208
|
+
"label": "arrow-up-circle";
|
|
209
|
+
}, {
|
|
210
|
+
"value": "code";
|
|
211
|
+
"label": "code";
|
|
212
|
+
}, {
|
|
213
|
+
"value": "external-link";
|
|
214
|
+
"label": "external-link";
|
|
215
|
+
}, {
|
|
216
|
+
"value": "mic-off";
|
|
217
|
+
"label": "mic-off";
|
|
218
|
+
}, {
|
|
219
|
+
"value": "search";
|
|
220
|
+
"label": "search";
|
|
221
|
+
}, {
|
|
222
|
+
"value": "unlock";
|
|
223
|
+
"label": "unlock";
|
|
224
|
+
}, {
|
|
225
|
+
"value": "arrow-up";
|
|
226
|
+
"label": "arrow-up";
|
|
227
|
+
}, {
|
|
228
|
+
"value": "coffee";
|
|
229
|
+
"label": "coffee";
|
|
230
|
+
}, {
|
|
231
|
+
"value": "fav-heart";
|
|
232
|
+
"label": "fav-heart";
|
|
233
|
+
}, {
|
|
234
|
+
"value": "mic-on";
|
|
235
|
+
"label": "mic-on";
|
|
236
|
+
}, {
|
|
237
|
+
"value": "selector-checked";
|
|
238
|
+
"label": "selector-checked";
|
|
239
|
+
}, {
|
|
240
|
+
"value": "upload-cloud";
|
|
241
|
+
"label": "upload-cloud";
|
|
242
|
+
}, {
|
|
243
|
+
"value": "attachment";
|
|
244
|
+
"label": "attachment";
|
|
245
|
+
}, {
|
|
246
|
+
"value": "command";
|
|
247
|
+
"label": "command";
|
|
248
|
+
}, {
|
|
249
|
+
"value": "flag";
|
|
250
|
+
"label": "flag";
|
|
251
|
+
}, {
|
|
252
|
+
"value": "minus-circle";
|
|
253
|
+
"label": "minus-circle";
|
|
254
|
+
}, {
|
|
255
|
+
"value": "selector-circle-filled";
|
|
256
|
+
"label": "selector-circle-filled";
|
|
257
|
+
}, {
|
|
258
|
+
"value": "upload";
|
|
259
|
+
"label": "upload";
|
|
260
|
+
}, {
|
|
261
|
+
"value": "award-badge";
|
|
262
|
+
"label": "award-badge";
|
|
263
|
+
}, {
|
|
264
|
+
"value": "corner-down-left";
|
|
265
|
+
"label": "corner-down-left";
|
|
266
|
+
}, {
|
|
267
|
+
"value": "flip-01";
|
|
268
|
+
"label": "flip-01";
|
|
269
|
+
}, {
|
|
270
|
+
"value": "minus-square";
|
|
271
|
+
"label": "minus-square";
|
|
272
|
+
}, {
|
|
273
|
+
"value": "selector-circle";
|
|
274
|
+
"label": "selector-circle";
|
|
275
|
+
}, {
|
|
276
|
+
"value": "user-add";
|
|
277
|
+
"label": "user-add";
|
|
278
|
+
}, {
|
|
279
|
+
"value": "binoculars";
|
|
280
|
+
"label": "binoculars";
|
|
281
|
+
}, {
|
|
282
|
+
"value": "corner-down-right";
|
|
283
|
+
"label": "corner-down-right";
|
|
284
|
+
}, {
|
|
285
|
+
"value": "flip-02";
|
|
286
|
+
"label": "flip-02";
|
|
287
|
+
}, {
|
|
288
|
+
"value": "money-sign";
|
|
289
|
+
"label": "money-sign";
|
|
290
|
+
}, {
|
|
291
|
+
"value": "send";
|
|
292
|
+
"label": "send";
|
|
293
|
+
}, {
|
|
294
|
+
"value": "user-delete";
|
|
295
|
+
"label": "user-delete";
|
|
296
|
+
}, {
|
|
297
|
+
"value": "bolt";
|
|
298
|
+
"label": "bolt";
|
|
299
|
+
}, {
|
|
300
|
+
"value": "corner-left-down";
|
|
301
|
+
"label": "corner-left-down";
|
|
302
|
+
}, {
|
|
303
|
+
"value": "folder";
|
|
304
|
+
"label": "folder";
|
|
305
|
+
}, {
|
|
306
|
+
"value": "more-horizontal";
|
|
307
|
+
"label": "more-horizontal";
|
|
308
|
+
}, {
|
|
309
|
+
"value": "settings-filled";
|
|
310
|
+
"label": "settings-filled";
|
|
311
|
+
}, {
|
|
312
|
+
"value": "user";
|
|
313
|
+
"label": "user";
|
|
314
|
+
}, {
|
|
315
|
+
"value": "book-open";
|
|
316
|
+
"label": "book-open";
|
|
317
|
+
}, {
|
|
318
|
+
"value": "corner-left-up";
|
|
319
|
+
"label": "corner-left-up";
|
|
320
|
+
}, {
|
|
321
|
+
"value": "globe";
|
|
322
|
+
"label": "globe";
|
|
323
|
+
}, {
|
|
324
|
+
"value": "more-vertical";
|
|
325
|
+
"label": "more-vertical";
|
|
326
|
+
}, {
|
|
327
|
+
"value": "settings";
|
|
328
|
+
"label": "settings";
|
|
329
|
+
}, {
|
|
330
|
+
"value": "users";
|
|
331
|
+
"label": "users";
|
|
332
|
+
}, {
|
|
333
|
+
"value": "book";
|
|
334
|
+
"label": "book";
|
|
335
|
+
}, {
|
|
336
|
+
"value": "corner-right-down";
|
|
337
|
+
"label": "corner-right-down";
|
|
338
|
+
}, {
|
|
339
|
+
"value": "hash-tag";
|
|
340
|
+
"label": "hash-tag";
|
|
341
|
+
}, {
|
|
342
|
+
"value": "notification-off";
|
|
343
|
+
"label": "notification-off";
|
|
344
|
+
}, {
|
|
345
|
+
"value": "share";
|
|
346
|
+
"label": "share";
|
|
347
|
+
}, {
|
|
348
|
+
"value": "video-off";
|
|
349
|
+
"label": "video-off";
|
|
350
|
+
}, {
|
|
351
|
+
"value": "bookmark";
|
|
352
|
+
"label": "bookmark";
|
|
353
|
+
}, {
|
|
354
|
+
"value": "corner-right-up";
|
|
355
|
+
"label": "corner-right-up";
|
|
356
|
+
}, {
|
|
357
|
+
"value": "headphones";
|
|
358
|
+
"label": "headphones";
|
|
359
|
+
}, {
|
|
360
|
+
"value": "notification-on";
|
|
361
|
+
"label": "notification-on";
|
|
362
|
+
}, {
|
|
363
|
+
"value": "shopping-bag";
|
|
364
|
+
"label": "shopping-bag";
|
|
365
|
+
}, {
|
|
366
|
+
"value": "video";
|
|
367
|
+
"label": "video";
|
|
368
|
+
}, {
|
|
369
|
+
"value": "calendar-add";
|
|
370
|
+
"label": "calendar-add";
|
|
371
|
+
}, {
|
|
372
|
+
"value": "corner-up-left";
|
|
373
|
+
"label": "corner-up-left";
|
|
374
|
+
}, {
|
|
375
|
+
"value": "help-buoy";
|
|
376
|
+
"label": "help-buoy";
|
|
377
|
+
}, {
|
|
378
|
+
"value": "object";
|
|
379
|
+
"label": "object";
|
|
380
|
+
}, {
|
|
381
|
+
"value": "shopping-cart";
|
|
382
|
+
"label": "shopping-cart";
|
|
383
|
+
}, {
|
|
384
|
+
"value": "warning";
|
|
385
|
+
"label": "warning";
|
|
386
|
+
}, {
|
|
387
|
+
"value": "calendar";
|
|
388
|
+
"label": "calendar";
|
|
389
|
+
}, {
|
|
390
|
+
"value": "corner-up-right";
|
|
391
|
+
"label": "corner-up-right";
|
|
392
|
+
}, {
|
|
393
|
+
"value": "help-circle";
|
|
394
|
+
"label": "help-circle";
|
|
395
|
+
}, {
|
|
396
|
+
"value": "pause-circle";
|
|
397
|
+
"label": "pause-circle";
|
|
398
|
+
}, {
|
|
399
|
+
"value": "sort-filter-down";
|
|
400
|
+
"label": "sort-filter-down";
|
|
401
|
+
}, {
|
|
402
|
+
"value": "wifi";
|
|
403
|
+
"label": "wifi";
|
|
404
|
+
}, {
|
|
405
|
+
"value": "camera";
|
|
406
|
+
"label": "camera";
|
|
407
|
+
}, {
|
|
408
|
+
"value": "crop";
|
|
409
|
+
"label": "crop";
|
|
410
|
+
}, {
|
|
411
|
+
"value": "home";
|
|
412
|
+
"label": "home";
|
|
413
|
+
}, {
|
|
414
|
+
"value": "phone-unavailable";
|
|
415
|
+
"label": "phone-unavailable";
|
|
416
|
+
}, {
|
|
417
|
+
"value": "sort-filter-up";
|
|
418
|
+
"label": "sort-filter-up";
|
|
419
|
+
}, {
|
|
420
|
+
"value": "zoom-in";
|
|
421
|
+
"label": "zoom-in";
|
|
422
|
+
}, {
|
|
423
|
+
"value": "cellphone";
|
|
424
|
+
"label": "cellphone";
|
|
425
|
+
}, {
|
|
426
|
+
"value": "delete";
|
|
427
|
+
"label": "delete";
|
|
428
|
+
}, {
|
|
429
|
+
"value": "info";
|
|
430
|
+
"label": "info";
|
|
431
|
+
}, {
|
|
432
|
+
"value": "phone";
|
|
433
|
+
"label": "phone";
|
|
434
|
+
}, {
|
|
435
|
+
"value": "sound-off";
|
|
436
|
+
"label": "sound-off";
|
|
437
|
+
}, {
|
|
438
|
+
"value": "zoom-out";
|
|
439
|
+
"label": "zoom-out";
|
|
440
|
+
}, {
|
|
441
|
+
"value": "checkmark";
|
|
442
|
+
"label": "checkmark";
|
|
443
|
+
}, {
|
|
444
|
+
"value": "document-blank";
|
|
445
|
+
"label": "document-blank";
|
|
446
|
+
}, {
|
|
447
|
+
"value": "jump";
|
|
448
|
+
"label": "jump";
|
|
449
|
+
}, {
|
|
450
|
+
"value": "photo";
|
|
451
|
+
"label": "photo";
|
|
452
|
+
}, {
|
|
453
|
+
"value": "sound-on";
|
|
454
|
+
"label": "sound-on";
|
|
455
|
+
}, {
|
|
456
|
+
"value": "chevron-down";
|
|
457
|
+
"label": "chevron-down";
|
|
458
|
+
}, {
|
|
459
|
+
"value": "document-new";
|
|
460
|
+
"label": "document-new";
|
|
461
|
+
}, {
|
|
462
|
+
"value": "layers";
|
|
463
|
+
"label": "layers";
|
|
464
|
+
}, {
|
|
465
|
+
"value": "picked";
|
|
466
|
+
"label": "picked";
|
|
467
|
+
}, {
|
|
468
|
+
"value": "star-filled";
|
|
469
|
+
"label": "star-filled";
|
|
470
|
+
}];
|
|
609
471
|
};
|
|
610
472
|
};
|
|
611
473
|
/** . */
|
|
612
|
-
hint: {
|
|
474
|
+
'hint': {
|
|
613
475
|
type: 'text';
|
|
614
476
|
options: undefined;
|
|
615
477
|
};
|
|
@@ -620,12 +482,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
620
482
|
}
|
|
621
483
|
namespace SpruceSchemas.CalendarUtils.v2021_05_19 {
|
|
622
484
|
interface EventTimeBlock {
|
|
623
|
-
title?: string | undefined | null;
|
|
624
|
-
subtitle?: string | undefined | null;
|
|
625
|
-
isBusy: boolean;
|
|
626
|
-
durationMinutes: number;
|
|
627
|
-
rightIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
628
|
-
leftIcons?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
485
|
+
'title'?: string | undefined | null;
|
|
486
|
+
'subtitle'?: string | undefined | null;
|
|
487
|
+
'isBusy': boolean;
|
|
488
|
+
'durationMinutes': number;
|
|
489
|
+
'rightIcons'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
490
|
+
'leftIcons'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventLineIcon[] | undefined | null;
|
|
629
491
|
}
|
|
630
492
|
interface EventTimeBlockSchema extends SpruceSchema.Schema {
|
|
631
493
|
id: 'eventTimeBlock';
|
|
@@ -635,29 +497,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
635
497
|
moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils';
|
|
636
498
|
fields: {
|
|
637
499
|
/** . */
|
|
638
|
-
title: {
|
|
500
|
+
'title': {
|
|
639
501
|
type: 'text';
|
|
640
502
|
options: undefined;
|
|
641
503
|
};
|
|
642
504
|
/** . */
|
|
643
|
-
subtitle: {
|
|
505
|
+
'subtitle': {
|
|
644
506
|
type: 'text';
|
|
645
507
|
options: undefined;
|
|
646
508
|
};
|
|
647
509
|
/** . */
|
|
648
|
-
isBusy: {
|
|
510
|
+
'isBusy': {
|
|
649
511
|
type: 'boolean';
|
|
650
512
|
isRequired: true;
|
|
651
513
|
options: undefined;
|
|
652
514
|
};
|
|
653
515
|
/** . */
|
|
654
|
-
durationMinutes: {
|
|
516
|
+
'durationMinutes': {
|
|
655
517
|
type: 'number';
|
|
656
518
|
isRequired: true;
|
|
657
519
|
options: undefined;
|
|
658
520
|
};
|
|
659
521
|
/** . */
|
|
660
|
-
rightIcons: {
|
|
522
|
+
'rightIcons': {
|
|
661
523
|
type: 'schema';
|
|
662
524
|
isArray: true;
|
|
663
525
|
options: {
|
|
@@ -665,7 +527,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
665
527
|
};
|
|
666
528
|
};
|
|
667
529
|
/** . */
|
|
668
|
-
leftIcons: {
|
|
530
|
+
'leftIcons': {
|
|
669
531
|
type: 'schema';
|
|
670
532
|
isArray: true;
|
|
671
533
|
options: {
|
|
@@ -679,11 +541,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
679
541
|
}
|
|
680
542
|
namespace SpruceSchemas.CalendarUtils.v2021_05_19 {
|
|
681
543
|
interface CalendarEventTarget {
|
|
682
|
-
locationId?: string | undefined | null;
|
|
683
|
-
personId: string;
|
|
684
|
-
organizationId?: string | undefined | null;
|
|
685
|
-
skillId?: string | undefined | null;
|
|
686
|
-
roleId?: string | undefined | null;
|
|
544
|
+
'locationId'?: string | undefined | null;
|
|
545
|
+
'personId': string;
|
|
546
|
+
'organizationId'?: string | undefined | null;
|
|
547
|
+
'skillId'?: string | undefined | null;
|
|
548
|
+
'roleId'?: string | undefined | null;
|
|
687
549
|
}
|
|
688
550
|
interface CalendarEventTargetSchema extends SpruceSchema.Schema {
|
|
689
551
|
id: 'calendarEventTarget';
|
|
@@ -693,28 +555,28 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
693
555
|
moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils';
|
|
694
556
|
fields: {
|
|
695
557
|
/** . */
|
|
696
|
-
locationId: {
|
|
558
|
+
'locationId': {
|
|
697
559
|
type: 'id';
|
|
698
560
|
options: undefined;
|
|
699
561
|
};
|
|
700
562
|
/** . */
|
|
701
|
-
personId: {
|
|
563
|
+
'personId': {
|
|
702
564
|
type: 'id';
|
|
703
565
|
isRequired: true;
|
|
704
566
|
options: undefined;
|
|
705
567
|
};
|
|
706
568
|
/** . */
|
|
707
|
-
organizationId: {
|
|
569
|
+
'organizationId': {
|
|
708
570
|
type: 'id';
|
|
709
571
|
options: undefined;
|
|
710
572
|
};
|
|
711
573
|
/** . */
|
|
712
|
-
skillId: {
|
|
574
|
+
'skillId': {
|
|
713
575
|
type: 'id';
|
|
714
576
|
options: undefined;
|
|
715
577
|
};
|
|
716
578
|
/** . */
|
|
717
|
-
roleId: {
|
|
579
|
+
'roleId': {
|
|
718
580
|
type: 'id';
|
|
719
581
|
options: undefined;
|
|
720
582
|
};
|
|
@@ -725,31 +587,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
725
587
|
}
|
|
726
588
|
namespace SpruceSchemas.CalendarUtils.v2021_05_19 {
|
|
727
589
|
interface CalendarEvent {
|
|
728
|
-
id: string;
|
|
729
|
-
source: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource;
|
|
730
|
-
target: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget;
|
|
731
|
-
calendarId: string;
|
|
732
|
-
eventTypeSlug?: string | undefined | null;
|
|
733
|
-
startDateTimeMs: SpruceSchema.DateTimeFieldValue;
|
|
734
|
-
isBusy?: boolean | undefined | null;
|
|
735
|
-
isResizeable?: boolean | undefined | null;
|
|
736
|
-
style?: (
|
|
737
|
-
groupId?: string | undefined | null;
|
|
738
|
-
timeBlocks: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[];
|
|
739
|
-
repeats?: (
|
|
740
|
-
daysOfWeek?: (
|
|
741
|
-
daysOfMonth?: (
|
|
742
|
-
repeatsUntil?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
743
|
-
occurrences?: number | undefined | null;
|
|
744
|
-
interval?: number | undefined | null;
|
|
745
|
-
nthOccurrences?: number[] | undefined | null;
|
|
746
|
-
activeUntilDate?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
747
|
-
exclusionDates?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
|
|
748
|
-
dateDeleted?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
749
|
-
dateCreated: SpruceSchema.DateTimeFieldValue;
|
|
750
|
-
nthInRepeating?: number | undefined | null;
|
|
751
|
-
totalInRepeating?: number | undefined | null;
|
|
752
|
-
meta?: Record<string, any> | undefined | null;
|
|
590
|
+
'id': string;
|
|
591
|
+
'source': SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource;
|
|
592
|
+
'target': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget;
|
|
593
|
+
'calendarId': string;
|
|
594
|
+
'eventTypeSlug'?: string | undefined | null;
|
|
595
|
+
'startDateTimeMs': SpruceSchema.DateTimeFieldValue;
|
|
596
|
+
'isBusy'?: boolean | undefined | null;
|
|
597
|
+
'isResizeable'?: boolean | undefined | null;
|
|
598
|
+
'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
|
|
599
|
+
'groupId'?: string | undefined | null;
|
|
600
|
+
'timeBlocks': SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[];
|
|
601
|
+
'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
|
|
602
|
+
'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
|
|
603
|
+
'daysOfMonth'?: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31")[] | undefined | null;
|
|
604
|
+
'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
605
|
+
'occurrences'?: number | undefined | null;
|
|
606
|
+
'interval'?: number | undefined | null;
|
|
607
|
+
'nthOccurrences'?: number[] | undefined | null;
|
|
608
|
+
'activeUntilDate'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
609
|
+
'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
|
|
610
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
611
|
+
'dateCreated': SpruceSchema.DateTimeFieldValue;
|
|
612
|
+
'nthInRepeating'?: number | undefined | null;
|
|
613
|
+
'totalInRepeating'?: number | undefined | null;
|
|
614
|
+
'meta'?: (Record<string, any>) | undefined | null;
|
|
753
615
|
}
|
|
754
616
|
interface CalendarEventSchema extends SpruceSchema.Schema {
|
|
755
617
|
id: 'calendarEvent';
|
|
@@ -759,13 +621,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
759
621
|
moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils';
|
|
760
622
|
fields: {
|
|
761
623
|
/** . */
|
|
762
|
-
id: {
|
|
624
|
+
'id': {
|
|
763
625
|
type: 'id';
|
|
764
626
|
isRequired: true;
|
|
765
627
|
options: undefined;
|
|
766
628
|
};
|
|
767
629
|
/** . */
|
|
768
|
-
source: {
|
|
630
|
+
'source': {
|
|
769
631
|
type: 'schema';
|
|
770
632
|
isRequired: true;
|
|
771
633
|
options: {
|
|
@@ -773,7 +635,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
773
635
|
};
|
|
774
636
|
};
|
|
775
637
|
/** . */
|
|
776
|
-
target: {
|
|
638
|
+
'target': {
|
|
777
639
|
type: 'schema';
|
|
778
640
|
isRequired: true;
|
|
779
641
|
options: {
|
|
@@ -781,83 +643,73 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
781
643
|
};
|
|
782
644
|
};
|
|
783
645
|
/** . */
|
|
784
|
-
calendarId: {
|
|
646
|
+
'calendarId': {
|
|
785
647
|
type: 'id';
|
|
786
648
|
isRequired: true;
|
|
787
649
|
options: undefined;
|
|
788
650
|
};
|
|
789
651
|
/** . */
|
|
790
|
-
eventTypeSlug: {
|
|
652
|
+
'eventTypeSlug': {
|
|
791
653
|
type: 'text';
|
|
792
654
|
options: undefined;
|
|
793
655
|
};
|
|
794
656
|
/** . */
|
|
795
|
-
startDateTimeMs: {
|
|
657
|
+
'startDateTimeMs': {
|
|
796
658
|
type: 'dateTime';
|
|
797
659
|
isRequired: true;
|
|
798
660
|
options: undefined;
|
|
799
661
|
};
|
|
800
662
|
/** . */
|
|
801
|
-
isBusy: {
|
|
663
|
+
'isBusy': {
|
|
802
664
|
type: 'boolean';
|
|
803
665
|
options: undefined;
|
|
804
666
|
};
|
|
805
667
|
/** . */
|
|
806
|
-
isResizeable: {
|
|
668
|
+
'isResizeable': {
|
|
807
669
|
type: 'boolean';
|
|
808
670
|
options: undefined;
|
|
809
671
|
};
|
|
810
672
|
/** . */
|
|
811
|
-
style: {
|
|
673
|
+
'style': {
|
|
812
674
|
type: 'select';
|
|
813
675
|
options: {
|
|
814
|
-
choices: [
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
value: 'warn';
|
|
845
|
-
label: 'Warning';
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
value: 'critical';
|
|
849
|
-
label: 'Critical';
|
|
850
|
-
}
|
|
851
|
-
];
|
|
676
|
+
choices: [{
|
|
677
|
+
"value": "draft";
|
|
678
|
+
"label": "Draft";
|
|
679
|
+
}, {
|
|
680
|
+
"value": "tentative";
|
|
681
|
+
"label": "Tentative";
|
|
682
|
+
}, {
|
|
683
|
+
"value": "upcoming";
|
|
684
|
+
"label": "Upcoming";
|
|
685
|
+
}, {
|
|
686
|
+
"value": "unavailable";
|
|
687
|
+
"label": "Unavailable";
|
|
688
|
+
}, {
|
|
689
|
+
"value": "blocked";
|
|
690
|
+
"label": "Blocked";
|
|
691
|
+
}, {
|
|
692
|
+
"value": "active";
|
|
693
|
+
"label": "Active";
|
|
694
|
+
}, {
|
|
695
|
+
"value": "past";
|
|
696
|
+
"label": "Past";
|
|
697
|
+
}, {
|
|
698
|
+
"value": "warn";
|
|
699
|
+
"label": "Warning";
|
|
700
|
+
}, {
|
|
701
|
+
"value": "critical";
|
|
702
|
+
"label": "Critical";
|
|
703
|
+
}];
|
|
852
704
|
};
|
|
853
705
|
};
|
|
854
706
|
/** . */
|
|
855
|
-
groupId: {
|
|
707
|
+
'groupId': {
|
|
856
708
|
type: 'id';
|
|
857
709
|
options: undefined;
|
|
858
710
|
};
|
|
859
711
|
/** . */
|
|
860
|
-
timeBlocks: {
|
|
712
|
+
'timeBlocks': {
|
|
861
713
|
type: 'schema';
|
|
862
714
|
isRequired: true;
|
|
863
715
|
isArray: true;
|
|
@@ -867,223 +719,179 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
867
719
|
};
|
|
868
720
|
};
|
|
869
721
|
/** . */
|
|
870
|
-
repeats: {
|
|
722
|
+
'repeats': {
|
|
871
723
|
type: 'select';
|
|
872
724
|
options: {
|
|
873
|
-
choices: [
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
value: 'daily';
|
|
884
|
-
label: 'Daily';
|
|
885
|
-
}
|
|
886
|
-
];
|
|
725
|
+
choices: [{
|
|
726
|
+
"value": "weekly";
|
|
727
|
+
"label": "Weekly";
|
|
728
|
+
}, {
|
|
729
|
+
"value": "monthly";
|
|
730
|
+
"label": "Monthly";
|
|
731
|
+
}, {
|
|
732
|
+
"value": "daily";
|
|
733
|
+
"label": "Daily";
|
|
734
|
+
}];
|
|
887
735
|
};
|
|
888
736
|
};
|
|
889
737
|
/** . */
|
|
890
|
-
daysOfWeek: {
|
|
738
|
+
'daysOfWeek': {
|
|
891
739
|
type: 'select';
|
|
892
740
|
isArray: true;
|
|
893
741
|
options: {
|
|
894
|
-
choices: [
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
value: 'fri';
|
|
917
|
-
label: 'Friday';
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
value: 'sat';
|
|
921
|
-
label: 'Saturday';
|
|
922
|
-
}
|
|
923
|
-
];
|
|
742
|
+
choices: [{
|
|
743
|
+
"value": "sun";
|
|
744
|
+
"label": "Sunday";
|
|
745
|
+
}, {
|
|
746
|
+
"value": "mon";
|
|
747
|
+
"label": "Monday";
|
|
748
|
+
}, {
|
|
749
|
+
"value": "tue";
|
|
750
|
+
"label": "Tuesday";
|
|
751
|
+
}, {
|
|
752
|
+
"value": "wed";
|
|
753
|
+
"label": "Wednesday";
|
|
754
|
+
}, {
|
|
755
|
+
"value": "thur";
|
|
756
|
+
"label": "Thursday";
|
|
757
|
+
}, {
|
|
758
|
+
"value": "fri";
|
|
759
|
+
"label": "Friday";
|
|
760
|
+
}, {
|
|
761
|
+
"value": "sat";
|
|
762
|
+
"label": "Saturday";
|
|
763
|
+
}];
|
|
924
764
|
};
|
|
925
765
|
};
|
|
926
766
|
/** . */
|
|
927
|
-
daysOfMonth: {
|
|
767
|
+
'daysOfMonth': {
|
|
928
768
|
type: 'select';
|
|
929
769
|
isArray: true;
|
|
930
770
|
options: {
|
|
931
|
-
choices: [
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
value: '24';
|
|
1026
|
-
label: '24';
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
value: '25';
|
|
1030
|
-
label: '25';
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
value: '26';
|
|
1034
|
-
label: '26';
|
|
1035
|
-
},
|
|
1036
|
-
{
|
|
1037
|
-
value: '27';
|
|
1038
|
-
label: '27';
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
value: '28';
|
|
1042
|
-
label: '28';
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
value: '29';
|
|
1046
|
-
label: '29';
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
value: '30';
|
|
1050
|
-
label: '30';
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
value: '31';
|
|
1054
|
-
label: '31';
|
|
1055
|
-
}
|
|
1056
|
-
];
|
|
771
|
+
choices: [{
|
|
772
|
+
"value": "1";
|
|
773
|
+
"label": "1";
|
|
774
|
+
}, {
|
|
775
|
+
"value": "2";
|
|
776
|
+
"label": "2";
|
|
777
|
+
}, {
|
|
778
|
+
"value": "3";
|
|
779
|
+
"label": "3";
|
|
780
|
+
}, {
|
|
781
|
+
"value": "4";
|
|
782
|
+
"label": "4";
|
|
783
|
+
}, {
|
|
784
|
+
"value": "5";
|
|
785
|
+
"label": "5";
|
|
786
|
+
}, {
|
|
787
|
+
"value": "6";
|
|
788
|
+
"label": "6";
|
|
789
|
+
}, {
|
|
790
|
+
"value": "7";
|
|
791
|
+
"label": "7";
|
|
792
|
+
}, {
|
|
793
|
+
"value": "8";
|
|
794
|
+
"label": "8";
|
|
795
|
+
}, {
|
|
796
|
+
"value": "9";
|
|
797
|
+
"label": "9";
|
|
798
|
+
}, {
|
|
799
|
+
"value": "10";
|
|
800
|
+
"label": "10";
|
|
801
|
+
}, {
|
|
802
|
+
"value": "11";
|
|
803
|
+
"label": "11";
|
|
804
|
+
}, {
|
|
805
|
+
"value": "12";
|
|
806
|
+
"label": "12";
|
|
807
|
+
}, {
|
|
808
|
+
"value": "13";
|
|
809
|
+
"label": "13";
|
|
810
|
+
}, {
|
|
811
|
+
"value": "14";
|
|
812
|
+
"label": "14";
|
|
813
|
+
}, {
|
|
814
|
+
"value": "15";
|
|
815
|
+
"label": "15";
|
|
816
|
+
}, {
|
|
817
|
+
"value": "16";
|
|
818
|
+
"label": "16";
|
|
819
|
+
}, {
|
|
820
|
+
"value": "17";
|
|
821
|
+
"label": "17";
|
|
822
|
+
}, {
|
|
823
|
+
"value": "18";
|
|
824
|
+
"label": "18";
|
|
825
|
+
}, {
|
|
826
|
+
"value": "19";
|
|
827
|
+
"label": "19";
|
|
828
|
+
}, {
|
|
829
|
+
"value": "20";
|
|
830
|
+
"label": "20";
|
|
831
|
+
}, {
|
|
832
|
+
"value": "21";
|
|
833
|
+
"label": "21";
|
|
834
|
+
}, {
|
|
835
|
+
"value": "22";
|
|
836
|
+
"label": "22";
|
|
837
|
+
}, {
|
|
838
|
+
"value": "23";
|
|
839
|
+
"label": "23";
|
|
840
|
+
}, {
|
|
841
|
+
"value": "24";
|
|
842
|
+
"label": "24";
|
|
843
|
+
}, {
|
|
844
|
+
"value": "25";
|
|
845
|
+
"label": "25";
|
|
846
|
+
}, {
|
|
847
|
+
"value": "26";
|
|
848
|
+
"label": "26";
|
|
849
|
+
}, {
|
|
850
|
+
"value": "27";
|
|
851
|
+
"label": "27";
|
|
852
|
+
}, {
|
|
853
|
+
"value": "28";
|
|
854
|
+
"label": "28";
|
|
855
|
+
}, {
|
|
856
|
+
"value": "29";
|
|
857
|
+
"label": "29";
|
|
858
|
+
}, {
|
|
859
|
+
"value": "30";
|
|
860
|
+
"label": "30";
|
|
861
|
+
}, {
|
|
862
|
+
"value": "31";
|
|
863
|
+
"label": "31";
|
|
864
|
+
}];
|
|
1057
865
|
};
|
|
1058
866
|
};
|
|
1059
867
|
/** . */
|
|
1060
|
-
repeatsUntil: {
|
|
868
|
+
'repeatsUntil': {
|
|
1061
869
|
type: 'dateTime';
|
|
1062
870
|
options: undefined;
|
|
1063
871
|
};
|
|
1064
872
|
/** . */
|
|
1065
|
-
occurrences: {
|
|
873
|
+
'occurrences': {
|
|
1066
874
|
type: 'number';
|
|
1067
875
|
options: undefined;
|
|
1068
876
|
};
|
|
1069
877
|
/** . */
|
|
1070
|
-
interval: {
|
|
878
|
+
'interval': {
|
|
1071
879
|
type: 'number';
|
|
1072
880
|
options: undefined;
|
|
1073
881
|
};
|
|
1074
882
|
/** . */
|
|
1075
|
-
nthOccurrences: {
|
|
883
|
+
'nthOccurrences': {
|
|
1076
884
|
type: 'number';
|
|
1077
885
|
isArray: true;
|
|
1078
886
|
options: undefined;
|
|
1079
887
|
};
|
|
1080
888
|
/** . */
|
|
1081
|
-
activeUntilDate: {
|
|
889
|
+
'activeUntilDate': {
|
|
1082
890
|
type: 'dateTime';
|
|
1083
891
|
options: undefined;
|
|
1084
892
|
};
|
|
1085
893
|
/** . */
|
|
1086
|
-
exclusionDates: {
|
|
894
|
+
'exclusionDates': {
|
|
1087
895
|
type: 'schema';
|
|
1088
896
|
isArray: true;
|
|
1089
897
|
options: {
|
|
@@ -1091,28 +899,28 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1091
899
|
};
|
|
1092
900
|
};
|
|
1093
901
|
/** . */
|
|
1094
|
-
dateDeleted: {
|
|
902
|
+
'dateDeleted': {
|
|
1095
903
|
type: 'dateTime';
|
|
1096
904
|
options: undefined;
|
|
1097
905
|
};
|
|
1098
906
|
/** . */
|
|
1099
|
-
dateCreated: {
|
|
907
|
+
'dateCreated': {
|
|
1100
908
|
type: 'dateTime';
|
|
1101
909
|
isRequired: true;
|
|
1102
910
|
options: undefined;
|
|
1103
911
|
};
|
|
1104
912
|
/** . */
|
|
1105
|
-
nthInRepeating: {
|
|
913
|
+
'nthInRepeating': {
|
|
1106
914
|
type: 'number';
|
|
1107
915
|
options: undefined;
|
|
1108
916
|
};
|
|
1109
917
|
/** . */
|
|
1110
|
-
totalInRepeating: {
|
|
918
|
+
'totalInRepeating': {
|
|
1111
919
|
type: 'number';
|
|
1112
920
|
options: undefined;
|
|
1113
921
|
};
|
|
1114
922
|
/** . */
|
|
1115
|
-
meta: {
|
|
923
|
+
'meta': {
|
|
1116
924
|
type: 'raw';
|
|
1117
925
|
options: {
|
|
1118
926
|
valueType: `Record<string, any>`;
|