@ebarooni/capacitor-calendar 6.5.0 → 6.6.1
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/README.md +61 -12
- package/android/build.gradle +2 -2
- package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendar.kt +178 -119
- package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendarPlugin.kt +73 -0
- package/assets/images/text-logo.png +0 -0
- package/dist/docs.json +461 -60
- package/dist/esm/definitions.d.ts +174 -34
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/index.d.ts +18 -14
- package/dist/esm/index.js +12 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/schemas/enums/calendar-source-type.d.ts +38 -0
- package/dist/esm/schemas/enums/calendar-source-type.js +40 -0
- package/dist/esm/schemas/enums/calendar-source-type.js.map +1 -0
- package/dist/esm/schemas/enums/calendar-type.d.ts +28 -0
- package/dist/esm/schemas/enums/calendar-type.js +30 -0
- package/dist/esm/schemas/enums/calendar-type.js.map +1 -0
- package/dist/esm/schemas/enums/event-span.d.ts +16 -0
- package/dist/esm/schemas/enums/event-span.js +18 -0
- package/dist/esm/schemas/enums/event-span.js.map +1 -0
- package/dist/esm/schemas/interfaces/calendar-event.d.ts +14 -3
- package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
- package/dist/esm/schemas/interfaces/calendar-source.d.ts +15 -0
- package/dist/esm/schemas/interfaces/calendar-source.js +2 -0
- package/dist/esm/schemas/interfaces/calendar-source.js.map +1 -0
- package/dist/esm/schemas/interfaces/calendar.d.ts +43 -2
- package/dist/esm/schemas/interfaces/calendar.js.map +1 -1
- package/dist/esm/web.d.ts +49 -9
- package/dist/esm/web.js +13 -2
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +101 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +101 -2
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/CapacitorCalendar.swift +210 -17
- package/ios/Plugin/CapacitorCalendarPlugin.m +4 -0
- package/ios/Plugin/CapacitorCalendarPlugin.swift +111 -1
- package/ios/Plugin/CapacitorReminders.swift +63 -9
- package/ios/Plugin/EventCreationParameters.swift +1 -1
- package/package.json +32 -20
package/dist/docs.json
CHANGED
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
"returns": "Promise<{ result: PermissionState; }>",
|
|
19
19
|
"tags": [
|
|
20
20
|
{
|
|
21
|
-
"name": "
|
|
22
|
-
"text": "checkPermission"
|
|
21
|
+
"name": "async"
|
|
23
22
|
},
|
|
24
23
|
{
|
|
25
24
|
"name": "since",
|
|
@@ -56,8 +55,7 @@
|
|
|
56
55
|
"returns": "Promise<PluginPermissionsMap>",
|
|
57
56
|
"tags": [
|
|
58
57
|
{
|
|
59
|
-
"name": "
|
|
60
|
-
"text": "checkAllPermissions"
|
|
58
|
+
"name": "async"
|
|
61
59
|
},
|
|
62
60
|
{
|
|
63
61
|
"name": "since",
|
|
@@ -95,8 +93,7 @@
|
|
|
95
93
|
"returns": "Promise<{ result: PermissionState; }>",
|
|
96
94
|
"tags": [
|
|
97
95
|
{
|
|
98
|
-
"name": "
|
|
99
|
-
"text": "requestPermission"
|
|
96
|
+
"name": "async"
|
|
100
97
|
},
|
|
101
98
|
{
|
|
102
99
|
"name": "since",
|
|
@@ -133,8 +130,7 @@
|
|
|
133
130
|
"returns": "Promise<PluginPermissionsMap>",
|
|
134
131
|
"tags": [
|
|
135
132
|
{
|
|
136
|
-
"name": "
|
|
137
|
-
"text": "requestAllPermissions"
|
|
133
|
+
"name": "async"
|
|
138
134
|
},
|
|
139
135
|
{
|
|
140
136
|
"name": "since",
|
|
@@ -172,8 +168,7 @@
|
|
|
172
168
|
"returns": "Promise<{ result: string[]; }>",
|
|
173
169
|
"tags": [
|
|
174
170
|
{
|
|
175
|
-
"name": "
|
|
176
|
-
"text": "createEventWithPrompt"
|
|
171
|
+
"name": "async"
|
|
177
172
|
},
|
|
178
173
|
{
|
|
179
174
|
"name": "since",
|
|
@@ -217,8 +212,7 @@
|
|
|
217
212
|
"returns": "Promise<{ result: Calendar[]; }>",
|
|
218
213
|
"tags": [
|
|
219
214
|
{
|
|
220
|
-
"name": "
|
|
221
|
-
"text": "selectCalendarsWithPrompt"
|
|
215
|
+
"name": "async"
|
|
222
216
|
},
|
|
223
217
|
{
|
|
224
218
|
"name": "since",
|
|
@@ -262,10 +256,6 @@
|
|
|
262
256
|
{
|
|
263
257
|
"name": "async"
|
|
264
258
|
},
|
|
265
|
-
{
|
|
266
|
-
"name": "method",
|
|
267
|
-
"text": "listCalendars"
|
|
268
|
-
},
|
|
269
259
|
{
|
|
270
260
|
"name": "platform",
|
|
271
261
|
"text": "iOS, Android"
|
|
@@ -292,8 +282,7 @@
|
|
|
292
282
|
"returns": "Promise<{ result: Calendar | null; }>",
|
|
293
283
|
"tags": [
|
|
294
284
|
{
|
|
295
|
-
"name": "
|
|
296
|
-
"text": "getDefaultCalendar"
|
|
285
|
+
"name": "async"
|
|
297
286
|
},
|
|
298
287
|
{
|
|
299
288
|
"name": "since",
|
|
@@ -335,8 +324,7 @@
|
|
|
335
324
|
"returns": "Promise<{ result: string; }>",
|
|
336
325
|
"tags": [
|
|
337
326
|
{
|
|
338
|
-
"name": "
|
|
339
|
-
"text": "createEvent"
|
|
327
|
+
"name": "async"
|
|
340
328
|
},
|
|
341
329
|
{
|
|
342
330
|
"name": "since",
|
|
@@ -374,8 +362,7 @@
|
|
|
374
362
|
"returns": "Promise<{ result: RemindersList; }>",
|
|
375
363
|
"tags": [
|
|
376
364
|
{
|
|
377
|
-
"name": "
|
|
378
|
-
"text": "getDefaultRemindersList"
|
|
365
|
+
"name": "async"
|
|
379
366
|
},
|
|
380
367
|
{
|
|
381
368
|
"name": "platform",
|
|
@@ -405,10 +392,6 @@
|
|
|
405
392
|
{
|
|
406
393
|
"name": "async"
|
|
407
394
|
},
|
|
408
|
-
{
|
|
409
|
-
"name": "method",
|
|
410
|
-
"text": "getRemindersLists"
|
|
411
|
-
},
|
|
412
395
|
{
|
|
413
396
|
"name": "platform",
|
|
414
397
|
"text": "iOS"
|
|
@@ -441,8 +424,7 @@
|
|
|
441
424
|
"returns": "Promise<{ result: string; }>",
|
|
442
425
|
"tags": [
|
|
443
426
|
{
|
|
444
|
-
"name": "
|
|
445
|
-
"text": "createReminder"
|
|
427
|
+
"name": "async"
|
|
446
428
|
},
|
|
447
429
|
{
|
|
448
430
|
"name": "since",
|
|
@@ -488,8 +470,7 @@
|
|
|
488
470
|
"returns": "Promise<void>",
|
|
489
471
|
"tags": [
|
|
490
472
|
{
|
|
491
|
-
"name": "
|
|
492
|
-
"text": "openCalendar"
|
|
473
|
+
"name": "async"
|
|
493
474
|
},
|
|
494
475
|
{
|
|
495
476
|
"name": "platform",
|
|
@@ -518,8 +499,7 @@
|
|
|
518
499
|
"returns": "Promise<void>",
|
|
519
500
|
"tags": [
|
|
520
501
|
{
|
|
521
|
-
"name": "
|
|
522
|
-
"text": "openReminders"
|
|
502
|
+
"name": "async"
|
|
523
503
|
},
|
|
524
504
|
{
|
|
525
505
|
"name": "platform",
|
|
@@ -550,8 +530,7 @@
|
|
|
550
530
|
"returns": "Promise<{ result: CalendarEvent[]; }>",
|
|
551
531
|
"tags": [
|
|
552
532
|
{
|
|
553
|
-
"name": "
|
|
554
|
-
"text": "listEventsInRange"
|
|
533
|
+
"name": "async"
|
|
555
534
|
},
|
|
556
535
|
{
|
|
557
536
|
"name": "since",
|
|
@@ -597,8 +576,7 @@
|
|
|
597
576
|
"returns": "Promise<{ result: { deleted: string[]; failed: string[]; }; }>",
|
|
598
577
|
"tags": [
|
|
599
578
|
{
|
|
600
|
-
"name": "
|
|
601
|
-
"text": "deleteEventsById"
|
|
579
|
+
"name": "async"
|
|
602
580
|
},
|
|
603
581
|
{
|
|
604
582
|
"name": "since",
|
|
@@ -631,19 +609,18 @@
|
|
|
631
609
|
},
|
|
632
610
|
{
|
|
633
611
|
"name": "createCalendar",
|
|
634
|
-
"signature": "(options: { title: string; color?: string; }) => Promise<{ result: string; }>",
|
|
612
|
+
"signature": "(options: { title: string; color?: string; sourceId?: string; }) => Promise<{ result: string; }>",
|
|
635
613
|
"parameters": [
|
|
636
614
|
{
|
|
637
615
|
"name": "options",
|
|
638
616
|
"docs": "Options for creating a calendar.",
|
|
639
|
-
"type": "{ title: string; color?: string | undefined; }"
|
|
617
|
+
"type": "{ title: string; color?: string | undefined; sourceId?: string | undefined; }"
|
|
640
618
|
}
|
|
641
619
|
],
|
|
642
620
|
"returns": "Promise<{ result: string; }>",
|
|
643
621
|
"tags": [
|
|
644
622
|
{
|
|
645
|
-
"name": "
|
|
646
|
-
"text": "createCalendar"
|
|
623
|
+
"name": "async"
|
|
647
624
|
},
|
|
648
625
|
{
|
|
649
626
|
"name": "since",
|
|
@@ -667,7 +644,7 @@
|
|
|
667
644
|
},
|
|
668
645
|
{
|
|
669
646
|
"name": "example",
|
|
670
|
-
"text": "{ result } = await CapacitorCalendar.createCalendar({\n title: 'New Calendar',\n color: '#1d00fc',\n });\n console.log(result); // 'CALENDAR_ID'"
|
|
647
|
+
"text": "{ result } = await CapacitorCalendar.createCalendar({\n title: 'New Calendar',\n color: '#1d00fc',\n sourceId: 'local-source-id',\n });\n console.log(result); // 'CALENDAR_ID'"
|
|
671
648
|
}
|
|
672
649
|
],
|
|
673
650
|
"docs": "Creates a calendar",
|
|
@@ -687,8 +664,7 @@
|
|
|
687
664
|
"returns": "Promise<void>",
|
|
688
665
|
"tags": [
|
|
689
666
|
{
|
|
690
|
-
"name": "
|
|
691
|
-
"text": "deleteCalendar"
|
|
667
|
+
"name": "async"
|
|
692
668
|
},
|
|
693
669
|
{
|
|
694
670
|
"name": "since",
|
|
@@ -728,8 +704,7 @@
|
|
|
728
704
|
"returns": "Promise<{ result: Reminder[]; }>",
|
|
729
705
|
"tags": [
|
|
730
706
|
{
|
|
731
|
-
"name": "
|
|
732
|
-
"text": "getRemindersFromLists"
|
|
707
|
+
"name": "async"
|
|
733
708
|
},
|
|
734
709
|
{
|
|
735
710
|
"name": "since",
|
|
@@ -775,8 +750,7 @@
|
|
|
775
750
|
"returns": "Promise<{ result: { deleted: string[]; failed: string[]; }; }>",
|
|
776
751
|
"tags": [
|
|
777
752
|
{
|
|
778
|
-
"name": "
|
|
779
|
-
"text": "deleteRemindersById"
|
|
753
|
+
"name": "async"
|
|
780
754
|
},
|
|
781
755
|
{
|
|
782
756
|
"name": "since",
|
|
@@ -814,8 +788,7 @@
|
|
|
814
788
|
"returns": "Promise<{ result: PermissionState; }>",
|
|
815
789
|
"tags": [
|
|
816
790
|
{
|
|
817
|
-
"name": "
|
|
818
|
-
"text": "requestWriteOnlyCalendarAccess"
|
|
791
|
+
"name": "async"
|
|
819
792
|
},
|
|
820
793
|
{
|
|
821
794
|
"name": "since",
|
|
@@ -847,8 +820,7 @@
|
|
|
847
820
|
"returns": "Promise<{ result: PermissionState; }>",
|
|
848
821
|
"tags": [
|
|
849
822
|
{
|
|
850
|
-
"name": "
|
|
851
|
-
"text": "requestReadOnlyCalendarAccess"
|
|
823
|
+
"name": "async"
|
|
852
824
|
},
|
|
853
825
|
{
|
|
854
826
|
"name": "since",
|
|
@@ -880,8 +852,7 @@
|
|
|
880
852
|
"returns": "Promise<{ result: PermissionState; }>",
|
|
881
853
|
"tags": [
|
|
882
854
|
{
|
|
883
|
-
"name": "
|
|
884
|
-
"text": "requestFullCalendarAccess"
|
|
855
|
+
"name": "async"
|
|
885
856
|
},
|
|
886
857
|
{
|
|
887
858
|
"name": "since",
|
|
@@ -913,8 +884,7 @@
|
|
|
913
884
|
"returns": "Promise<{ result: PermissionState; }>",
|
|
914
885
|
"tags": [
|
|
915
886
|
{
|
|
916
|
-
"name": "
|
|
917
|
-
"text": "requestFullRemindersAccess"
|
|
887
|
+
"name": "async"
|
|
918
888
|
},
|
|
919
889
|
{
|
|
920
890
|
"name": "since",
|
|
@@ -938,6 +908,176 @@
|
|
|
938
908
|
"PermissionState"
|
|
939
909
|
],
|
|
940
910
|
"slug": "requestfullremindersaccess"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "modifyEventWithPrompt",
|
|
914
|
+
"signature": "(options: { id: string; update?: { title?: string; calendarId?: string; location?: string; startDate?: number; endDate?: number; isAllDay?: boolean; alertOffsetInMinutes?: number | number[]; url?: string; notes?: string; }; }) => Promise<{ result: string[]; }>",
|
|
915
|
+
"parameters": [
|
|
916
|
+
{
|
|
917
|
+
"name": "options",
|
|
918
|
+
"docs": "The options for modifying an event.",
|
|
919
|
+
"type": "{ id: string; update?: { title?: string | undefined; calendarId?: string | undefined; location?: string | undefined; startDate?: number | undefined; endDate?: number | undefined; isAllDay?: boolean | undefined; alertOffsetInMinutes?: number | number[] | undefined; url?: string | undefined; notes?: string | undefined; } | undefined; }"
|
|
920
|
+
}
|
|
921
|
+
],
|
|
922
|
+
"returns": "Promise<{ result: string[]; }>",
|
|
923
|
+
"tags": [
|
|
924
|
+
{
|
|
925
|
+
"name": "async"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "since",
|
|
929
|
+
"text": "6.6.0"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "platform",
|
|
933
|
+
"text": "iOS, Android"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"name": "permissions",
|
|
937
|
+
"text": "<h3>Runtime Permissions:</h3>\n<ul>\n <li><strong>iOS:</strong> writeCalendar, readCalendar</li>\n <li><strong>Android:</strong> writeCalendar, readCalendar</li>\n</ul>"
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"name": "param",
|
|
941
|
+
"text": "options The options for modifying an event."
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"name": "returns",
|
|
945
|
+
"text": "On iOS, the promise resolves with an array containing\nthe initial event id if the modifications were saved and empty if it was cancelled. However, on\nAndroid the array will be empty either way."
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"name": "throws",
|
|
949
|
+
"text": "{Error} throws an error if an event for the given id is not found."
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"name": "example",
|
|
953
|
+
"text": "const { result } = await CapacitorCalendar.modifyEventWithPrompt({\n id: 'EVENT_ID_ONE',\n update: {\n title: 'newTitle',\n startDate: Date.now(),\n },\n});\n\nconsole.log(result); // ['EVENT_ID_ONE'] or [] if on Android"
|
|
954
|
+
}
|
|
955
|
+
],
|
|
956
|
+
"docs": "Opens a native prompt to modify an event given its id.",
|
|
957
|
+
"complexTypes": [],
|
|
958
|
+
"slug": "modifyeventwithprompt"
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "modifyEvent",
|
|
962
|
+
"signature": "(options: { id: string; span?: EventSpan; update: { title?: string; calendarId?: string; location?: string; startDate?: number; endDate?: number; isAllDay?: boolean; alertOffsetInMinutes?: number | number[]; url?: string; notes?: string; }; }) => Promise<void>",
|
|
963
|
+
"parameters": [
|
|
964
|
+
{
|
|
965
|
+
"name": "options",
|
|
966
|
+
"docs": "The options for updating an event.",
|
|
967
|
+
"type": "{ id: string; span?: EventSpan | undefined; update: { title?: string | undefined; calendarId?: string | undefined; location?: string | undefined; startDate?: number | undefined; endDate?: number | undefined; isAllDay?: boolean | undefined; alertOffsetInMinutes?: number | number[] | undefined; url?: string | undefined; notes?: string | undefined; }; }"
|
|
968
|
+
}
|
|
969
|
+
],
|
|
970
|
+
"returns": "Promise<void>",
|
|
971
|
+
"tags": [
|
|
972
|
+
{
|
|
973
|
+
"name": "async"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"name": "since",
|
|
977
|
+
"text": "6.6.0"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"name": "platform",
|
|
981
|
+
"text": "iOS, Android"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "permissions",
|
|
985
|
+
"text": "<h3>Runtime Permissions:</h3>\n<ul>\n <li><strong>iOS:</strong> writeCalendar, readCalendar</li>\n <li><strong>Android:</strong> writeCalendar, readCalendar</li>\n</ul>"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "param",
|
|
989
|
+
"text": "options The options for updating an event."
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"name": "returns",
|
|
993
|
+
"text": "A promise that resolves when the update operation is complete."
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "throws",
|
|
997
|
+
"text": "{Error} throws an error if an event for the given id is not found."
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
"name": "example",
|
|
1001
|
+
"text": "const { result } = await CapacitorCalendar.modifyEvent({\n id: 'EVENT_ID_ONE',\n span: EventSpan.THIS_SPAN,\n update: {\n title: 'newTitle',\n startDate: Date.now(),\n },\n});"
|
|
1002
|
+
}
|
|
1003
|
+
],
|
|
1004
|
+
"docs": "Modifies an event given its id and update details.",
|
|
1005
|
+
"complexTypes": [
|
|
1006
|
+
"EventSpan"
|
|
1007
|
+
],
|
|
1008
|
+
"slug": "modifyevent"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "fetchAllCalendarSources",
|
|
1012
|
+
"signature": "() => Promise<{ result: CalendarSource[]; }>",
|
|
1013
|
+
"parameters": [],
|
|
1014
|
+
"returns": "Promise<{ result: CalendarSource[]; }>",
|
|
1015
|
+
"tags": [
|
|
1016
|
+
{
|
|
1017
|
+
"name": "async"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "since",
|
|
1021
|
+
"text": "6.6.0"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"name": "platform",
|
|
1025
|
+
"text": "iOS"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"name": "permissions",
|
|
1029
|
+
"text": "<h3>Runtime Permissions:</h3>\n<ul>\n <li><strong>iOS:</strong> writeCalendar, readCalendar</li>\n</ul>"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "returns",
|
|
1033
|
+
"text": "A promise that resolves with an array of\ncalendar sources."
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"name": "example",
|
|
1037
|
+
"text": "const { result } = await fetchAllCalendarSources();\nconsole.log(result); // [{ id: '1', type: '0', title: 'calDav' }, { id: '2', type: '2', title: '3' }]"
|
|
1038
|
+
}
|
|
1039
|
+
],
|
|
1040
|
+
"docs": "Retrieves a list of calendar sources.",
|
|
1041
|
+
"complexTypes": [
|
|
1042
|
+
"CalendarSource"
|
|
1043
|
+
],
|
|
1044
|
+
"slug": "fetchallcalendarsources"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"name": "fetchAllRemindersSources",
|
|
1048
|
+
"signature": "() => Promise<{ result: CalendarSource[]; }>",
|
|
1049
|
+
"parameters": [],
|
|
1050
|
+
"returns": "Promise<{ result: CalendarSource[]; }>",
|
|
1051
|
+
"tags": [
|
|
1052
|
+
{
|
|
1053
|
+
"name": "async"
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"name": "since",
|
|
1057
|
+
"text": "6.6.0"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"name": "platform",
|
|
1061
|
+
"text": "iOS"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"name": "permissions",
|
|
1065
|
+
"text": "<h3>Runtime Permissions:</h3>\n<ul>\n <li><strong>iOS:</strong> writeCalendar, readCalendar</li>\n</ul>"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "returns",
|
|
1069
|
+
"text": "A promise that resolves with an array of\nreminders sources."
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"name": "example",
|
|
1073
|
+
"text": "const { result } = await fetchAllRemindersSources();\nconsole.log(result); // [{ id: '1', type: '0', title: 'calDav' }, { id: '2', type: '2', title: '3' }]"
|
|
1074
|
+
}
|
|
1075
|
+
],
|
|
1076
|
+
"docs": "Retrieves a list of reminders sources.",
|
|
1077
|
+
"complexTypes": [
|
|
1078
|
+
"CalendarSource"
|
|
1079
|
+
],
|
|
1080
|
+
"slug": "fetchallreminderssources"
|
|
941
1081
|
}
|
|
942
1082
|
],
|
|
943
1083
|
"properties": []
|
|
@@ -965,16 +1105,178 @@
|
|
|
965
1105
|
"name": "platform"
|
|
966
1106
|
},
|
|
967
1107
|
{
|
|
968
|
-
"text": "{string} id
|
|
1108
|
+
"text": "{string} id The unique identifier of the calendar.",
|
|
1109
|
+
"name": "property"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"text": "{string} title The title or name of the calendar.",
|
|
1113
|
+
"name": "property"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"text": "{string} color The color of the calendar.",
|
|
1117
|
+
"name": "property"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"text": "{boolean} isImmutable Indicating whether the calendar's properties\ncan be modified.",
|
|
1121
|
+
"name": "property"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"text": "{boolean} allowsContentModifications Indicating whether the calendar's\nitems (events or reminders) can be modified.",
|
|
1125
|
+
"name": "property"
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"text": "{CalendarType} type The type of the calendar. On iOS the type is of type\nCalendarSourceType.",
|
|
1129
|
+
"name": "property"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"text": "{boolean} isSubscribed Indicating whether the calendar is a subscribed calendar.",
|
|
1133
|
+
"name": "property"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"text": "{CalendarSource} source The source of the calendar.",
|
|
1137
|
+
"name": "property"
|
|
1138
|
+
}
|
|
1139
|
+
],
|
|
1140
|
+
"methods": [],
|
|
1141
|
+
"properties": [
|
|
1142
|
+
{
|
|
1143
|
+
"name": "id",
|
|
1144
|
+
"tags": [
|
|
1145
|
+
{
|
|
1146
|
+
"text": "iOS, Android",
|
|
1147
|
+
"name": "platform"
|
|
1148
|
+
}
|
|
1149
|
+
],
|
|
1150
|
+
"docs": "",
|
|
1151
|
+
"complexTypes": [],
|
|
1152
|
+
"type": "string"
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"name": "title",
|
|
1156
|
+
"tags": [
|
|
1157
|
+
{
|
|
1158
|
+
"text": "iOS, Android",
|
|
1159
|
+
"name": "platform"
|
|
1160
|
+
}
|
|
1161
|
+
],
|
|
1162
|
+
"docs": "",
|
|
1163
|
+
"complexTypes": [],
|
|
1164
|
+
"type": "string"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"name": "color",
|
|
1168
|
+
"tags": [
|
|
1169
|
+
{
|
|
1170
|
+
"text": "iOS, Android",
|
|
1171
|
+
"name": "platform"
|
|
1172
|
+
}
|
|
1173
|
+
],
|
|
1174
|
+
"docs": "",
|
|
1175
|
+
"complexTypes": [],
|
|
1176
|
+
"type": "string"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"name": "isImmutable",
|
|
1180
|
+
"tags": [
|
|
1181
|
+
{
|
|
1182
|
+
"text": "iOS",
|
|
1183
|
+
"name": "platform"
|
|
1184
|
+
}
|
|
1185
|
+
],
|
|
1186
|
+
"docs": "",
|
|
1187
|
+
"complexTypes": [],
|
|
1188
|
+
"type": "boolean | undefined"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
"name": "allowsContentModifications",
|
|
1192
|
+
"tags": [
|
|
1193
|
+
{
|
|
1194
|
+
"text": "iOS",
|
|
1195
|
+
"name": "platform"
|
|
1196
|
+
}
|
|
1197
|
+
],
|
|
1198
|
+
"docs": "",
|
|
1199
|
+
"complexTypes": [],
|
|
1200
|
+
"type": "boolean | undefined"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"name": "type",
|
|
1204
|
+
"tags": [
|
|
1205
|
+
{
|
|
1206
|
+
"text": "iOS, Android",
|
|
1207
|
+
"name": "platform"
|
|
1208
|
+
}
|
|
1209
|
+
],
|
|
1210
|
+
"docs": "",
|
|
1211
|
+
"complexTypes": [
|
|
1212
|
+
"CalendarType"
|
|
1213
|
+
],
|
|
1214
|
+
"type": "CalendarType"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"name": "isSubscribed",
|
|
1218
|
+
"tags": [
|
|
1219
|
+
{
|
|
1220
|
+
"text": "iOS",
|
|
1221
|
+
"name": "platform"
|
|
1222
|
+
}
|
|
1223
|
+
],
|
|
1224
|
+
"docs": "",
|
|
1225
|
+
"complexTypes": [],
|
|
1226
|
+
"type": "boolean | undefined"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"name": "source",
|
|
1230
|
+
"tags": [
|
|
1231
|
+
{
|
|
1232
|
+
"text": "iOS",
|
|
1233
|
+
"name": "platform"
|
|
1234
|
+
}
|
|
1235
|
+
],
|
|
1236
|
+
"docs": "",
|
|
1237
|
+
"complexTypes": [
|
|
1238
|
+
"CalendarSource"
|
|
1239
|
+
],
|
|
1240
|
+
"type": "CalendarSource"
|
|
1241
|
+
}
|
|
1242
|
+
]
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "CalendarSource",
|
|
1246
|
+
"slug": "calendarsource",
|
|
1247
|
+
"docs": "Represents the account a calendar belongs to",
|
|
1248
|
+
"tags": [
|
|
1249
|
+
{
|
|
1250
|
+
"name": "enum"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"text": "iOS",
|
|
1254
|
+
"name": "platform"
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"text": "{CalendarSourceType} type The type of the source object.",
|
|
1258
|
+
"name": "property"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"text": "{string} id A unique identifier for the source object.",
|
|
969
1262
|
"name": "property"
|
|
970
1263
|
},
|
|
971
1264
|
{
|
|
972
|
-
"text": "{string} title
|
|
1265
|
+
"text": "{string} title The name of the source object.",
|
|
973
1266
|
"name": "property"
|
|
974
1267
|
}
|
|
975
1268
|
],
|
|
976
1269
|
"methods": [],
|
|
977
1270
|
"properties": [
|
|
1271
|
+
{
|
|
1272
|
+
"name": "type",
|
|
1273
|
+
"tags": [],
|
|
1274
|
+
"docs": "",
|
|
1275
|
+
"complexTypes": [
|
|
1276
|
+
"CalendarSourceType"
|
|
1277
|
+
],
|
|
1278
|
+
"type": "CalendarSourceType"
|
|
1279
|
+
},
|
|
978
1280
|
{
|
|
979
1281
|
"name": "id",
|
|
980
1282
|
"tags": [],
|
|
@@ -1106,6 +1408,10 @@
|
|
|
1106
1408
|
{
|
|
1107
1409
|
"text": "{string} calendarId The calendar that the event belongs to. (Optional)",
|
|
1108
1410
|
"name": "property"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"text": "{string} url The URL of the event. (Optional)",
|
|
1414
|
+
"name": "property"
|
|
1109
1415
|
}
|
|
1110
1416
|
],
|
|
1111
1417
|
"methods": [],
|
|
@@ -1150,7 +1456,7 @@
|
|
|
1150
1456
|
"name": "eventColor",
|
|
1151
1457
|
"tags": [
|
|
1152
1458
|
{
|
|
1153
|
-
"text": "Android",
|
|
1459
|
+
"text": "iOS, Android",
|
|
1154
1460
|
"name": "platform"
|
|
1155
1461
|
}
|
|
1156
1462
|
],
|
|
@@ -1216,7 +1522,7 @@
|
|
|
1216
1522
|
],
|
|
1217
1523
|
"docs": "",
|
|
1218
1524
|
"complexTypes": [],
|
|
1219
|
-
"type": "string | undefined"
|
|
1525
|
+
"type": "{ region: string; abbreviation: string; } | undefined"
|
|
1220
1526
|
},
|
|
1221
1527
|
{
|
|
1222
1528
|
"name": "eventEndTimezone",
|
|
@@ -1228,7 +1534,7 @@
|
|
|
1228
1534
|
],
|
|
1229
1535
|
"docs": "",
|
|
1230
1536
|
"complexTypes": [],
|
|
1231
|
-
"type": "string | undefined"
|
|
1537
|
+
"type": "{ region: string; abbreviation: string; } | undefined"
|
|
1232
1538
|
},
|
|
1233
1539
|
{
|
|
1234
1540
|
"name": "duration",
|
|
@@ -1265,6 +1571,18 @@
|
|
|
1265
1571
|
"docs": "",
|
|
1266
1572
|
"complexTypes": [],
|
|
1267
1573
|
"type": "string"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"name": "url",
|
|
1577
|
+
"tags": [
|
|
1578
|
+
{
|
|
1579
|
+
"text": "iOS",
|
|
1580
|
+
"name": "platform"
|
|
1581
|
+
}
|
|
1582
|
+
],
|
|
1583
|
+
"docs": "",
|
|
1584
|
+
"complexTypes": [],
|
|
1585
|
+
"type": "string"
|
|
1268
1586
|
}
|
|
1269
1587
|
]
|
|
1270
1588
|
},
|
|
@@ -1540,6 +1858,73 @@
|
|
|
1540
1858
|
}
|
|
1541
1859
|
]
|
|
1542
1860
|
},
|
|
1861
|
+
{
|
|
1862
|
+
"name": "CalendarType",
|
|
1863
|
+
"slug": "calendartype",
|
|
1864
|
+
"members": [
|
|
1865
|
+
{
|
|
1866
|
+
"name": "LOCAL",
|
|
1867
|
+
"tags": [],
|
|
1868
|
+
"docs": "This calendar is sync'd from either Mobile Me or tethered."
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"name": "CAL_DAV",
|
|
1872
|
+
"tags": [],
|
|
1873
|
+
"docs": "This calendar is from a CalDAV server."
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"name": "EXCHANGE",
|
|
1877
|
+
"tags": [],
|
|
1878
|
+
"docs": "This calendar comes from an Exchange server."
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"name": "SUBSCRIPTION",
|
|
1882
|
+
"tags": [],
|
|
1883
|
+
"docs": "This is a locally subscribed calendar."
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"name": "BIRTHDAY",
|
|
1887
|
+
"tags": [],
|
|
1888
|
+
"docs": "This is the built-in birthday calendar."
|
|
1889
|
+
}
|
|
1890
|
+
]
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"name": "CalendarSourceType",
|
|
1894
|
+
"slug": "calendarsourcetype",
|
|
1895
|
+
"members": [
|
|
1896
|
+
{
|
|
1897
|
+
"name": "LOCAL",
|
|
1898
|
+
"tags": [],
|
|
1899
|
+
"docs": "Calendars that are stored locally on the device. These calendars are not\nsynced with any external service."
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
"name": "EXCHANGE",
|
|
1903
|
+
"tags": [],
|
|
1904
|
+
"docs": "Calendars that are associated with an Exchange server. Exchange is a\npopular calendar and email service used by many enterprises."
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"name": "CAL_DAV",
|
|
1908
|
+
"tags": [],
|
|
1909
|
+
"docs": "Calendars that use the CalDAV protocol for synchronization.\nThis includes calendars from services like Google Calendar and Yahoo Calendar."
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"name": "MOBILE_ME",
|
|
1913
|
+
"tags": [],
|
|
1914
|
+
"docs": "Calendars that were previously associated with MobileMe, Apple's cloud\nservice before iCloud. This source type is largely obsolete now."
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"name": "SUBSCRIBED",
|
|
1918
|
+
"tags": [],
|
|
1919
|
+
"docs": "Calendars that the user has subscribed to. These are read-only calendars\nthat can be added by subscribing to a calendar URL."
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"name": "BIRTHDAYS",
|
|
1923
|
+
"tags": [],
|
|
1924
|
+
"docs": "The built-in Birthdays calendar, which shows birthdays of contacts from the user's address book.\nThis calendar is typically read-only and is managed by the system."
|
|
1925
|
+
}
|
|
1926
|
+
]
|
|
1927
|
+
},
|
|
1543
1928
|
{
|
|
1544
1929
|
"name": "CalendarChooserDisplayStyle",
|
|
1545
1930
|
"slug": "calendarchooserdisplaystyle",
|
|
@@ -1597,6 +1982,22 @@
|
|
|
1597
1982
|
"docs": "The reminder repeats on a yearly basis"
|
|
1598
1983
|
}
|
|
1599
1984
|
]
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"name": "EventSpan",
|
|
1988
|
+
"slug": "eventspan",
|
|
1989
|
+
"members": [
|
|
1990
|
+
{
|
|
1991
|
+
"name": "THIS_EVENT",
|
|
1992
|
+
"tags": [],
|
|
1993
|
+
"docs": "The modifications should only be applied to this event."
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
"name": "THIS_AND_FUTURE_EVENTS",
|
|
1997
|
+
"tags": [],
|
|
1998
|
+
"docs": "The modifications to this event should also be applied to the future instances of this event."
|
|
1999
|
+
}
|
|
2000
|
+
]
|
|
1600
2001
|
}
|
|
1601
2002
|
],
|
|
1602
2003
|
"typeAliases": [
|