@ebarooni/capacitor-calendar 0.6.0 → 0.7.0
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 +28 -62
- package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendar.kt +12 -10
- package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendarPlugin.kt +13 -2
- package/dist/docs.json +61 -783
- package/dist/esm/definitions.d.ts +20 -6
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/schemas/enums/calendar-chooser-display-style.d.ts +2 -1
- package/dist/esm/schemas/enums/calendar-chooser-display-style.js +2 -1
- package/dist/esm/schemas/enums/calendar-chooser-display-style.js.map +1 -1
- package/dist/esm/schemas/enums/calendar-chooser-selection-style.d.ts +2 -1
- package/dist/esm/schemas/enums/calendar-chooser-selection-style.js +2 -1
- package/dist/esm/schemas/enums/calendar-chooser-selection-style.js.map +1 -1
- package/dist/esm/schemas/enums/plugin-permission.d.ts +36 -0
- package/dist/esm/schemas/enums/plugin-permission.js +36 -0
- package/dist/esm/schemas/enums/plugin-permission.js.map +1 -1
- package/dist/esm/schemas/enums/reminder-recurrence-frequency.d.ts +18 -0
- package/dist/esm/schemas/enums/reminder-recurrence-frequency.js +18 -0
- package/dist/esm/schemas/enums/reminder-recurrence-frequency.js.map +1 -1
- package/dist/esm/schemas/interfaces/calendar.d.ts +1 -1
- package/dist/esm/schemas/interfaces/calendar.js.map +1 -1
- package/dist/esm/web.d.ts +5 -2
- package/dist/esm/web.js +3 -0
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +61 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +61 -2
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/CapacitorCalendar.swift +31 -2
- package/ios/Plugin/CapacitorCalendarPlugin.m +1 -0
- package/ios/Plugin/CapacitorCalendarPlugin.swift +20 -2
- package/ios/Plugin/CapacitorCalendarPluginError.swift +1 -0
- package/ios/Plugin/EventCreationParameters.swift +2 -2
- package/package.json +1 -1
package/dist/docs.json
CHANGED
|
@@ -272,12 +272,12 @@
|
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
"name": "createEvent",
|
|
275
|
-
"signature": "(options: { title: string; calendarId?: string; location?: string; startDate?:
|
|
275
|
+
"signature": "(options: { title: string; calendarId?: string; location?: string; startDate?: number; endDate?: number; isAllDay?: boolean; }) => Promise<{ eventCreated: boolean; }>",
|
|
276
276
|
"parameters": [
|
|
277
277
|
{
|
|
278
278
|
"name": "options",
|
|
279
279
|
"docs": "- Options for creating the event.",
|
|
280
|
-
"type": "{ title: string; calendarId?: string | undefined; location?: string | undefined; startDate?:
|
|
280
|
+
"type": "{ title: string; calendarId?: string | undefined; location?: string | undefined; startDate?: number | undefined; endDate?: number | undefined; isAllDay?: boolean | undefined; }"
|
|
281
281
|
}
|
|
282
282
|
],
|
|
283
283
|
"returns": "Promise<{ eventCreated: boolean; }>",
|
|
@@ -300,13 +300,11 @@
|
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
302
|
"name": "example",
|
|
303
|
-
"text": "const now = Date.now();\nconst eventOptions = {\n title: 'Team Meeting',\n location: 'Conference Room A',\n startDate:
|
|
303
|
+
"text": "const now = Date.now();\nconst eventOptions = {\n title: 'Team Meeting',\n location: 'Conference Room A',\n startDate: now,\n endDate: now + 2 * 60 * 60 * 1000,\n isAllDay: false\n};\nconst { eventCreated } = await createEvent(eventOptions);\nconsole.log(eventCreated); // true"
|
|
304
304
|
}
|
|
305
305
|
],
|
|
306
306
|
"docs": "Creates an event with the provided options.",
|
|
307
|
-
"complexTypes": [
|
|
308
|
-
"Date"
|
|
309
|
-
],
|
|
307
|
+
"complexTypes": [],
|
|
310
308
|
"slug": "createevent"
|
|
311
309
|
},
|
|
312
310
|
{
|
|
@@ -408,6 +406,42 @@
|
|
|
408
406
|
"ReminderRecurrenceRule"
|
|
409
407
|
],
|
|
410
408
|
"slug": "createreminder"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "openCalendar",
|
|
412
|
+
"signature": "(options: { date?: number; }) => Promise<void>",
|
|
413
|
+
"parameters": [
|
|
414
|
+
{
|
|
415
|
+
"name": "options",
|
|
416
|
+
"docs": "- Options for opening the calendar.",
|
|
417
|
+
"type": "{ date?: number | undefined; }"
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
"returns": "Promise<void>",
|
|
421
|
+
"tags": [
|
|
422
|
+
{
|
|
423
|
+
"name": "method",
|
|
424
|
+
"text": "openCalendar"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"name": "platform",
|
|
428
|
+
"text": "iOS, Android"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "param",
|
|
432
|
+
"text": "options - Options for opening the calendar."
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"name": "returns"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "example",
|
|
439
|
+
"text": "void CapacitorCalendar.openCalendar({ date: Date.now() })"
|
|
440
|
+
}
|
|
441
|
+
],
|
|
442
|
+
"docs": "Opens the calendar app. Since the user leaves your app, use this method with caution.",
|
|
443
|
+
"complexTypes": [],
|
|
444
|
+
"slug": "opencalendar"
|
|
411
445
|
}
|
|
412
446
|
],
|
|
413
447
|
"properties": []
|
|
@@ -424,7 +458,7 @@
|
|
|
424
458
|
{
|
|
425
459
|
"name": "Calendar",
|
|
426
460
|
"slug": "calendar",
|
|
427
|
-
"docs": "Represents a calendar object
|
|
461
|
+
"docs": "Represents a calendar object.",
|
|
428
462
|
"tags": [
|
|
429
463
|
{
|
|
430
464
|
"text": "Calendar",
|
|
@@ -461,778 +495,6 @@
|
|
|
461
495
|
}
|
|
462
496
|
]
|
|
463
497
|
},
|
|
464
|
-
{
|
|
465
|
-
"name": "Date",
|
|
466
|
-
"slug": "date",
|
|
467
|
-
"docs": "Enables basic storage and retrieval of dates and times.",
|
|
468
|
-
"tags": [],
|
|
469
|
-
"methods": [
|
|
470
|
-
{
|
|
471
|
-
"name": "toString",
|
|
472
|
-
"signature": "() => string",
|
|
473
|
-
"parameters": [],
|
|
474
|
-
"returns": "string",
|
|
475
|
-
"tags": [],
|
|
476
|
-
"docs": "Returns a string representation of a date. The format of the string depends on the locale.",
|
|
477
|
-
"complexTypes": [],
|
|
478
|
-
"slug": "tostring"
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"name": "toDateString",
|
|
482
|
-
"signature": "() => string",
|
|
483
|
-
"parameters": [],
|
|
484
|
-
"returns": "string",
|
|
485
|
-
"tags": [],
|
|
486
|
-
"docs": "Returns a date as a string value.",
|
|
487
|
-
"complexTypes": [],
|
|
488
|
-
"slug": "todatestring"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"name": "toTimeString",
|
|
492
|
-
"signature": "() => string",
|
|
493
|
-
"parameters": [],
|
|
494
|
-
"returns": "string",
|
|
495
|
-
"tags": [],
|
|
496
|
-
"docs": "Returns a time as a string value.",
|
|
497
|
-
"complexTypes": [],
|
|
498
|
-
"slug": "totimestring"
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
"name": "toLocaleString",
|
|
502
|
-
"signature": "() => string",
|
|
503
|
-
"parameters": [],
|
|
504
|
-
"returns": "string",
|
|
505
|
-
"tags": [],
|
|
506
|
-
"docs": "Returns a value as a string value appropriate to the host environment's current locale.",
|
|
507
|
-
"complexTypes": [],
|
|
508
|
-
"slug": "tolocalestring"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "toLocaleDateString",
|
|
512
|
-
"signature": "() => string",
|
|
513
|
-
"parameters": [],
|
|
514
|
-
"returns": "string",
|
|
515
|
-
"tags": [],
|
|
516
|
-
"docs": "Returns a date as a string value appropriate to the host environment's current locale.",
|
|
517
|
-
"complexTypes": [],
|
|
518
|
-
"slug": "tolocaledatestring"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"name": "toLocaleTimeString",
|
|
522
|
-
"signature": "() => string",
|
|
523
|
-
"parameters": [],
|
|
524
|
-
"returns": "string",
|
|
525
|
-
"tags": [],
|
|
526
|
-
"docs": "Returns a time as a string value appropriate to the host environment's current locale.",
|
|
527
|
-
"complexTypes": [],
|
|
528
|
-
"slug": "tolocaletimestring"
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"name": "valueOf",
|
|
532
|
-
"signature": "() => number",
|
|
533
|
-
"parameters": [],
|
|
534
|
-
"returns": "number",
|
|
535
|
-
"tags": [],
|
|
536
|
-
"docs": "Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC.",
|
|
537
|
-
"complexTypes": [],
|
|
538
|
-
"slug": "valueof"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"name": "getTime",
|
|
542
|
-
"signature": "() => number",
|
|
543
|
-
"parameters": [],
|
|
544
|
-
"returns": "number",
|
|
545
|
-
"tags": [],
|
|
546
|
-
"docs": "Gets the time value in milliseconds.",
|
|
547
|
-
"complexTypes": [],
|
|
548
|
-
"slug": "gettime"
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"name": "getFullYear",
|
|
552
|
-
"signature": "() => number",
|
|
553
|
-
"parameters": [],
|
|
554
|
-
"returns": "number",
|
|
555
|
-
"tags": [],
|
|
556
|
-
"docs": "Gets the year, using local time.",
|
|
557
|
-
"complexTypes": [],
|
|
558
|
-
"slug": "getfullyear"
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
"name": "getUTCFullYear",
|
|
562
|
-
"signature": "() => number",
|
|
563
|
-
"parameters": [],
|
|
564
|
-
"returns": "number",
|
|
565
|
-
"tags": [],
|
|
566
|
-
"docs": "Gets the year using Universal Coordinated Time (UTC).",
|
|
567
|
-
"complexTypes": [],
|
|
568
|
-
"slug": "getutcfullyear"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"name": "getMonth",
|
|
572
|
-
"signature": "() => number",
|
|
573
|
-
"parameters": [],
|
|
574
|
-
"returns": "number",
|
|
575
|
-
"tags": [],
|
|
576
|
-
"docs": "Gets the month, using local time.",
|
|
577
|
-
"complexTypes": [],
|
|
578
|
-
"slug": "getmonth"
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"name": "getUTCMonth",
|
|
582
|
-
"signature": "() => number",
|
|
583
|
-
"parameters": [],
|
|
584
|
-
"returns": "number",
|
|
585
|
-
"tags": [],
|
|
586
|
-
"docs": "Gets the month of a Date object using Universal Coordinated Time (UTC).",
|
|
587
|
-
"complexTypes": [],
|
|
588
|
-
"slug": "getutcmonth"
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"name": "getDate",
|
|
592
|
-
"signature": "() => number",
|
|
593
|
-
"parameters": [],
|
|
594
|
-
"returns": "number",
|
|
595
|
-
"tags": [],
|
|
596
|
-
"docs": "Gets the day-of-the-month, using local time.",
|
|
597
|
-
"complexTypes": [],
|
|
598
|
-
"slug": "getdate"
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
"name": "getUTCDate",
|
|
602
|
-
"signature": "() => number",
|
|
603
|
-
"parameters": [],
|
|
604
|
-
"returns": "number",
|
|
605
|
-
"tags": [],
|
|
606
|
-
"docs": "Gets the day-of-the-month, using Universal Coordinated Time (UTC).",
|
|
607
|
-
"complexTypes": [],
|
|
608
|
-
"slug": "getutcdate"
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
"name": "getDay",
|
|
612
|
-
"signature": "() => number",
|
|
613
|
-
"parameters": [],
|
|
614
|
-
"returns": "number",
|
|
615
|
-
"tags": [],
|
|
616
|
-
"docs": "Gets the day of the week, using local time.",
|
|
617
|
-
"complexTypes": [],
|
|
618
|
-
"slug": "getday"
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
"name": "getUTCDay",
|
|
622
|
-
"signature": "() => number",
|
|
623
|
-
"parameters": [],
|
|
624
|
-
"returns": "number",
|
|
625
|
-
"tags": [],
|
|
626
|
-
"docs": "Gets the day of the week using Universal Coordinated Time (UTC).",
|
|
627
|
-
"complexTypes": [],
|
|
628
|
-
"slug": "getutcday"
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
"name": "getHours",
|
|
632
|
-
"signature": "() => number",
|
|
633
|
-
"parameters": [],
|
|
634
|
-
"returns": "number",
|
|
635
|
-
"tags": [],
|
|
636
|
-
"docs": "Gets the hours in a date, using local time.",
|
|
637
|
-
"complexTypes": [],
|
|
638
|
-
"slug": "gethours"
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
"name": "getUTCHours",
|
|
642
|
-
"signature": "() => number",
|
|
643
|
-
"parameters": [],
|
|
644
|
-
"returns": "number",
|
|
645
|
-
"tags": [],
|
|
646
|
-
"docs": "Gets the hours value in a Date object using Universal Coordinated Time (UTC).",
|
|
647
|
-
"complexTypes": [],
|
|
648
|
-
"slug": "getutchours"
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
"name": "getMinutes",
|
|
652
|
-
"signature": "() => number",
|
|
653
|
-
"parameters": [],
|
|
654
|
-
"returns": "number",
|
|
655
|
-
"tags": [],
|
|
656
|
-
"docs": "Gets the minutes of a Date object, using local time.",
|
|
657
|
-
"complexTypes": [],
|
|
658
|
-
"slug": "getminutes"
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
"name": "getUTCMinutes",
|
|
662
|
-
"signature": "() => number",
|
|
663
|
-
"parameters": [],
|
|
664
|
-
"returns": "number",
|
|
665
|
-
"tags": [],
|
|
666
|
-
"docs": "Gets the minutes of a Date object using Universal Coordinated Time (UTC).",
|
|
667
|
-
"complexTypes": [],
|
|
668
|
-
"slug": "getutcminutes"
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
"name": "getSeconds",
|
|
672
|
-
"signature": "() => number",
|
|
673
|
-
"parameters": [],
|
|
674
|
-
"returns": "number",
|
|
675
|
-
"tags": [],
|
|
676
|
-
"docs": "Gets the seconds of a Date object, using local time.",
|
|
677
|
-
"complexTypes": [],
|
|
678
|
-
"slug": "getseconds"
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
"name": "getUTCSeconds",
|
|
682
|
-
"signature": "() => number",
|
|
683
|
-
"parameters": [],
|
|
684
|
-
"returns": "number",
|
|
685
|
-
"tags": [],
|
|
686
|
-
"docs": "Gets the seconds of a Date object using Universal Coordinated Time (UTC).",
|
|
687
|
-
"complexTypes": [],
|
|
688
|
-
"slug": "getutcseconds"
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
"name": "getMilliseconds",
|
|
692
|
-
"signature": "() => number",
|
|
693
|
-
"parameters": [],
|
|
694
|
-
"returns": "number",
|
|
695
|
-
"tags": [],
|
|
696
|
-
"docs": "Gets the milliseconds of a Date, using local time.",
|
|
697
|
-
"complexTypes": [],
|
|
698
|
-
"slug": "getmilliseconds"
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
"name": "getUTCMilliseconds",
|
|
702
|
-
"signature": "() => number",
|
|
703
|
-
"parameters": [],
|
|
704
|
-
"returns": "number",
|
|
705
|
-
"tags": [],
|
|
706
|
-
"docs": "Gets the milliseconds of a Date object using Universal Coordinated Time (UTC).",
|
|
707
|
-
"complexTypes": [],
|
|
708
|
-
"slug": "getutcmilliseconds"
|
|
709
|
-
},
|
|
710
|
-
{
|
|
711
|
-
"name": "getTimezoneOffset",
|
|
712
|
-
"signature": "() => number",
|
|
713
|
-
"parameters": [],
|
|
714
|
-
"returns": "number",
|
|
715
|
-
"tags": [],
|
|
716
|
-
"docs": "Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC).",
|
|
717
|
-
"complexTypes": [],
|
|
718
|
-
"slug": "gettimezoneoffset"
|
|
719
|
-
},
|
|
720
|
-
{
|
|
721
|
-
"name": "setTime",
|
|
722
|
-
"signature": "(time: number) => number",
|
|
723
|
-
"parameters": [
|
|
724
|
-
{
|
|
725
|
-
"name": "time",
|
|
726
|
-
"docs": "A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.",
|
|
727
|
-
"type": "number"
|
|
728
|
-
}
|
|
729
|
-
],
|
|
730
|
-
"returns": "number",
|
|
731
|
-
"tags": [
|
|
732
|
-
{
|
|
733
|
-
"name": "param",
|
|
734
|
-
"text": "time A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT."
|
|
735
|
-
}
|
|
736
|
-
],
|
|
737
|
-
"docs": "Sets the date and time value in the Date object.",
|
|
738
|
-
"complexTypes": [],
|
|
739
|
-
"slug": "settime"
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"name": "setMilliseconds",
|
|
743
|
-
"signature": "(ms: number) => number",
|
|
744
|
-
"parameters": [
|
|
745
|
-
{
|
|
746
|
-
"name": "ms",
|
|
747
|
-
"docs": "A numeric value equal to the millisecond value.",
|
|
748
|
-
"type": "number"
|
|
749
|
-
}
|
|
750
|
-
],
|
|
751
|
-
"returns": "number",
|
|
752
|
-
"tags": [
|
|
753
|
-
{
|
|
754
|
-
"name": "param",
|
|
755
|
-
"text": "ms A numeric value equal to the millisecond value."
|
|
756
|
-
}
|
|
757
|
-
],
|
|
758
|
-
"docs": "Sets the milliseconds value in the Date object using local time.",
|
|
759
|
-
"complexTypes": [],
|
|
760
|
-
"slug": "setmilliseconds"
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
"name": "setUTCMilliseconds",
|
|
764
|
-
"signature": "(ms: number) => number",
|
|
765
|
-
"parameters": [
|
|
766
|
-
{
|
|
767
|
-
"name": "ms",
|
|
768
|
-
"docs": "A numeric value equal to the millisecond value.",
|
|
769
|
-
"type": "number"
|
|
770
|
-
}
|
|
771
|
-
],
|
|
772
|
-
"returns": "number",
|
|
773
|
-
"tags": [
|
|
774
|
-
{
|
|
775
|
-
"name": "param",
|
|
776
|
-
"text": "ms A numeric value equal to the millisecond value."
|
|
777
|
-
}
|
|
778
|
-
],
|
|
779
|
-
"docs": "Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).",
|
|
780
|
-
"complexTypes": [],
|
|
781
|
-
"slug": "setutcmilliseconds"
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
"name": "setSeconds",
|
|
785
|
-
"signature": "(sec: number, ms?: number | undefined) => number",
|
|
786
|
-
"parameters": [
|
|
787
|
-
{
|
|
788
|
-
"name": "sec",
|
|
789
|
-
"docs": "A numeric value equal to the seconds value.",
|
|
790
|
-
"type": "number"
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"name": "ms",
|
|
794
|
-
"docs": "A numeric value equal to the milliseconds value.",
|
|
795
|
-
"type": "number | undefined"
|
|
796
|
-
}
|
|
797
|
-
],
|
|
798
|
-
"returns": "number",
|
|
799
|
-
"tags": [
|
|
800
|
-
{
|
|
801
|
-
"name": "param",
|
|
802
|
-
"text": "sec A numeric value equal to the seconds value."
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
"name": "param",
|
|
806
|
-
"text": "ms A numeric value equal to the milliseconds value."
|
|
807
|
-
}
|
|
808
|
-
],
|
|
809
|
-
"docs": "Sets the seconds value in the Date object using local time.",
|
|
810
|
-
"complexTypes": [],
|
|
811
|
-
"slug": "setseconds"
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
"name": "setUTCSeconds",
|
|
815
|
-
"signature": "(sec: number, ms?: number | undefined) => number",
|
|
816
|
-
"parameters": [
|
|
817
|
-
{
|
|
818
|
-
"name": "sec",
|
|
819
|
-
"docs": "A numeric value equal to the seconds value.",
|
|
820
|
-
"type": "number"
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
"name": "ms",
|
|
824
|
-
"docs": "A numeric value equal to the milliseconds value.",
|
|
825
|
-
"type": "number | undefined"
|
|
826
|
-
}
|
|
827
|
-
],
|
|
828
|
-
"returns": "number",
|
|
829
|
-
"tags": [
|
|
830
|
-
{
|
|
831
|
-
"name": "param",
|
|
832
|
-
"text": "sec A numeric value equal to the seconds value."
|
|
833
|
-
},
|
|
834
|
-
{
|
|
835
|
-
"name": "param",
|
|
836
|
-
"text": "ms A numeric value equal to the milliseconds value."
|
|
837
|
-
}
|
|
838
|
-
],
|
|
839
|
-
"docs": "Sets the seconds value in the Date object using Universal Coordinated Time (UTC).",
|
|
840
|
-
"complexTypes": [],
|
|
841
|
-
"slug": "setutcseconds"
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
"name": "setMinutes",
|
|
845
|
-
"signature": "(min: number, sec?: number | undefined, ms?: number | undefined) => number",
|
|
846
|
-
"parameters": [
|
|
847
|
-
{
|
|
848
|
-
"name": "min",
|
|
849
|
-
"docs": "A numeric value equal to the minutes value.",
|
|
850
|
-
"type": "number"
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
"name": "sec",
|
|
854
|
-
"docs": "A numeric value equal to the seconds value.",
|
|
855
|
-
"type": "number | undefined"
|
|
856
|
-
},
|
|
857
|
-
{
|
|
858
|
-
"name": "ms",
|
|
859
|
-
"docs": "A numeric value equal to the milliseconds value.",
|
|
860
|
-
"type": "number | undefined"
|
|
861
|
-
}
|
|
862
|
-
],
|
|
863
|
-
"returns": "number",
|
|
864
|
-
"tags": [
|
|
865
|
-
{
|
|
866
|
-
"name": "param",
|
|
867
|
-
"text": "min A numeric value equal to the minutes value."
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
"name": "param",
|
|
871
|
-
"text": "sec A numeric value equal to the seconds value."
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
"name": "param",
|
|
875
|
-
"text": "ms A numeric value equal to the milliseconds value."
|
|
876
|
-
}
|
|
877
|
-
],
|
|
878
|
-
"docs": "Sets the minutes value in the Date object using local time.",
|
|
879
|
-
"complexTypes": [],
|
|
880
|
-
"slug": "setminutes"
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"name": "setUTCMinutes",
|
|
884
|
-
"signature": "(min: number, sec?: number | undefined, ms?: number | undefined) => number",
|
|
885
|
-
"parameters": [
|
|
886
|
-
{
|
|
887
|
-
"name": "min",
|
|
888
|
-
"docs": "A numeric value equal to the minutes value.",
|
|
889
|
-
"type": "number"
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
"name": "sec",
|
|
893
|
-
"docs": "A numeric value equal to the seconds value.",
|
|
894
|
-
"type": "number | undefined"
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
"name": "ms",
|
|
898
|
-
"docs": "A numeric value equal to the milliseconds value.",
|
|
899
|
-
"type": "number | undefined"
|
|
900
|
-
}
|
|
901
|
-
],
|
|
902
|
-
"returns": "number",
|
|
903
|
-
"tags": [
|
|
904
|
-
{
|
|
905
|
-
"name": "param",
|
|
906
|
-
"text": "min A numeric value equal to the minutes value."
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
"name": "param",
|
|
910
|
-
"text": "sec A numeric value equal to the seconds value."
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"name": "param",
|
|
914
|
-
"text": "ms A numeric value equal to the milliseconds value."
|
|
915
|
-
}
|
|
916
|
-
],
|
|
917
|
-
"docs": "Sets the minutes value in the Date object using Universal Coordinated Time (UTC).",
|
|
918
|
-
"complexTypes": [],
|
|
919
|
-
"slug": "setutcminutes"
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
"name": "setHours",
|
|
923
|
-
"signature": "(hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number",
|
|
924
|
-
"parameters": [
|
|
925
|
-
{
|
|
926
|
-
"name": "hours",
|
|
927
|
-
"docs": "A numeric value equal to the hours value.",
|
|
928
|
-
"type": "number"
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
"name": "min",
|
|
932
|
-
"docs": "A numeric value equal to the minutes value.",
|
|
933
|
-
"type": "number | undefined"
|
|
934
|
-
},
|
|
935
|
-
{
|
|
936
|
-
"name": "sec",
|
|
937
|
-
"docs": "A numeric value equal to the seconds value.",
|
|
938
|
-
"type": "number | undefined"
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"name": "ms",
|
|
942
|
-
"docs": "A numeric value equal to the milliseconds value.",
|
|
943
|
-
"type": "number | undefined"
|
|
944
|
-
}
|
|
945
|
-
],
|
|
946
|
-
"returns": "number",
|
|
947
|
-
"tags": [
|
|
948
|
-
{
|
|
949
|
-
"name": "param",
|
|
950
|
-
"text": "hours A numeric value equal to the hours value."
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
"name": "param",
|
|
954
|
-
"text": "min A numeric value equal to the minutes value."
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
"name": "param",
|
|
958
|
-
"text": "sec A numeric value equal to the seconds value."
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
"name": "param",
|
|
962
|
-
"text": "ms A numeric value equal to the milliseconds value."
|
|
963
|
-
}
|
|
964
|
-
],
|
|
965
|
-
"docs": "Sets the hour value in the Date object using local time.",
|
|
966
|
-
"complexTypes": [],
|
|
967
|
-
"slug": "sethours"
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
"name": "setUTCHours",
|
|
971
|
-
"signature": "(hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number",
|
|
972
|
-
"parameters": [
|
|
973
|
-
{
|
|
974
|
-
"name": "hours",
|
|
975
|
-
"docs": "A numeric value equal to the hours value.",
|
|
976
|
-
"type": "number"
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
"name": "min",
|
|
980
|
-
"docs": "A numeric value equal to the minutes value.",
|
|
981
|
-
"type": "number | undefined"
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
"name": "sec",
|
|
985
|
-
"docs": "A numeric value equal to the seconds value.",
|
|
986
|
-
"type": "number | undefined"
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
"name": "ms",
|
|
990
|
-
"docs": "A numeric value equal to the milliseconds value.",
|
|
991
|
-
"type": "number | undefined"
|
|
992
|
-
}
|
|
993
|
-
],
|
|
994
|
-
"returns": "number",
|
|
995
|
-
"tags": [
|
|
996
|
-
{
|
|
997
|
-
"name": "param",
|
|
998
|
-
"text": "hours A numeric value equal to the hours value."
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
"name": "param",
|
|
1002
|
-
"text": "min A numeric value equal to the minutes value."
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
"name": "param",
|
|
1006
|
-
"text": "sec A numeric value equal to the seconds value."
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
"name": "param",
|
|
1010
|
-
"text": "ms A numeric value equal to the milliseconds value."
|
|
1011
|
-
}
|
|
1012
|
-
],
|
|
1013
|
-
"docs": "Sets the hours value in the Date object using Universal Coordinated Time (UTC).",
|
|
1014
|
-
"complexTypes": [],
|
|
1015
|
-
"slug": "setutchours"
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
"name": "setDate",
|
|
1019
|
-
"signature": "(date: number) => number",
|
|
1020
|
-
"parameters": [
|
|
1021
|
-
{
|
|
1022
|
-
"name": "date",
|
|
1023
|
-
"docs": "A numeric value equal to the day of the month.",
|
|
1024
|
-
"type": "number"
|
|
1025
|
-
}
|
|
1026
|
-
],
|
|
1027
|
-
"returns": "number",
|
|
1028
|
-
"tags": [
|
|
1029
|
-
{
|
|
1030
|
-
"name": "param",
|
|
1031
|
-
"text": "date A numeric value equal to the day of the month."
|
|
1032
|
-
}
|
|
1033
|
-
],
|
|
1034
|
-
"docs": "Sets the numeric day-of-the-month value of the Date object using local time.",
|
|
1035
|
-
"complexTypes": [],
|
|
1036
|
-
"slug": "setdate"
|
|
1037
|
-
},
|
|
1038
|
-
{
|
|
1039
|
-
"name": "setUTCDate",
|
|
1040
|
-
"signature": "(date: number) => number",
|
|
1041
|
-
"parameters": [
|
|
1042
|
-
{
|
|
1043
|
-
"name": "date",
|
|
1044
|
-
"docs": "A numeric value equal to the day of the month.",
|
|
1045
|
-
"type": "number"
|
|
1046
|
-
}
|
|
1047
|
-
],
|
|
1048
|
-
"returns": "number",
|
|
1049
|
-
"tags": [
|
|
1050
|
-
{
|
|
1051
|
-
"name": "param",
|
|
1052
|
-
"text": "date A numeric value equal to the day of the month."
|
|
1053
|
-
}
|
|
1054
|
-
],
|
|
1055
|
-
"docs": "Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).",
|
|
1056
|
-
"complexTypes": [],
|
|
1057
|
-
"slug": "setutcdate"
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
|
-
"name": "setMonth",
|
|
1061
|
-
"signature": "(month: number, date?: number | undefined) => number",
|
|
1062
|
-
"parameters": [
|
|
1063
|
-
{
|
|
1064
|
-
"name": "month",
|
|
1065
|
-
"docs": "A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.",
|
|
1066
|
-
"type": "number"
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"name": "date",
|
|
1070
|
-
"docs": "A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.",
|
|
1071
|
-
"type": "number | undefined"
|
|
1072
|
-
}
|
|
1073
|
-
],
|
|
1074
|
-
"returns": "number",
|
|
1075
|
-
"tags": [
|
|
1076
|
-
{
|
|
1077
|
-
"name": "param",
|
|
1078
|
-
"text": "month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively."
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"name": "param",
|
|
1082
|
-
"text": "date A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used."
|
|
1083
|
-
}
|
|
1084
|
-
],
|
|
1085
|
-
"docs": "Sets the month value in the Date object using local time.",
|
|
1086
|
-
"complexTypes": [],
|
|
1087
|
-
"slug": "setmonth"
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
"name": "setUTCMonth",
|
|
1091
|
-
"signature": "(month: number, date?: number | undefined) => number",
|
|
1092
|
-
"parameters": [
|
|
1093
|
-
{
|
|
1094
|
-
"name": "month",
|
|
1095
|
-
"docs": "A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.",
|
|
1096
|
-
"type": "number"
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
"name": "date",
|
|
1100
|
-
"docs": "A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.",
|
|
1101
|
-
"type": "number | undefined"
|
|
1102
|
-
}
|
|
1103
|
-
],
|
|
1104
|
-
"returns": "number",
|
|
1105
|
-
"tags": [
|
|
1106
|
-
{
|
|
1107
|
-
"name": "param",
|
|
1108
|
-
"text": "month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively."
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"name": "param",
|
|
1112
|
-
"text": "date A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used."
|
|
1113
|
-
}
|
|
1114
|
-
],
|
|
1115
|
-
"docs": "Sets the month value in the Date object using Universal Coordinated Time (UTC).",
|
|
1116
|
-
"complexTypes": [],
|
|
1117
|
-
"slug": "setutcmonth"
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
"name": "setFullYear",
|
|
1121
|
-
"signature": "(year: number, month?: number | undefined, date?: number | undefined) => number",
|
|
1122
|
-
"parameters": [
|
|
1123
|
-
{
|
|
1124
|
-
"name": "year",
|
|
1125
|
-
"docs": "A numeric value for the year.",
|
|
1126
|
-
"type": "number"
|
|
1127
|
-
},
|
|
1128
|
-
{
|
|
1129
|
-
"name": "month",
|
|
1130
|
-
"docs": "A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.",
|
|
1131
|
-
"type": "number | undefined"
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
"name": "date",
|
|
1135
|
-
"docs": "A numeric value equal for the day of the month.",
|
|
1136
|
-
"type": "number | undefined"
|
|
1137
|
-
}
|
|
1138
|
-
],
|
|
1139
|
-
"returns": "number",
|
|
1140
|
-
"tags": [
|
|
1141
|
-
{
|
|
1142
|
-
"name": "param",
|
|
1143
|
-
"text": "year A numeric value for the year."
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
"name": "param",
|
|
1147
|
-
"text": "month A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified."
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"name": "param",
|
|
1151
|
-
"text": "date A numeric value equal for the day of the month."
|
|
1152
|
-
}
|
|
1153
|
-
],
|
|
1154
|
-
"docs": "Sets the year of the Date object using local time.",
|
|
1155
|
-
"complexTypes": [],
|
|
1156
|
-
"slug": "setfullyear"
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
"name": "setUTCFullYear",
|
|
1160
|
-
"signature": "(year: number, month?: number | undefined, date?: number | undefined) => number",
|
|
1161
|
-
"parameters": [
|
|
1162
|
-
{
|
|
1163
|
-
"name": "year",
|
|
1164
|
-
"docs": "A numeric value equal to the year.",
|
|
1165
|
-
"type": "number"
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
"name": "month",
|
|
1169
|
-
"docs": "A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.",
|
|
1170
|
-
"type": "number | undefined"
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
"name": "date",
|
|
1174
|
-
"docs": "A numeric value equal to the day of the month.",
|
|
1175
|
-
"type": "number | undefined"
|
|
1176
|
-
}
|
|
1177
|
-
],
|
|
1178
|
-
"returns": "number",
|
|
1179
|
-
"tags": [
|
|
1180
|
-
{
|
|
1181
|
-
"name": "param",
|
|
1182
|
-
"text": "year A numeric value equal to the year."
|
|
1183
|
-
},
|
|
1184
|
-
{
|
|
1185
|
-
"name": "param",
|
|
1186
|
-
"text": "month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied."
|
|
1187
|
-
},
|
|
1188
|
-
{
|
|
1189
|
-
"name": "param",
|
|
1190
|
-
"text": "date A numeric value equal to the day of the month."
|
|
1191
|
-
}
|
|
1192
|
-
],
|
|
1193
|
-
"docs": "Sets the year value in the Date object using Universal Coordinated Time (UTC).",
|
|
1194
|
-
"complexTypes": [],
|
|
1195
|
-
"slug": "setutcfullyear"
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"name": "toUTCString",
|
|
1199
|
-
"signature": "() => string",
|
|
1200
|
-
"parameters": [],
|
|
1201
|
-
"returns": "string",
|
|
1202
|
-
"tags": [],
|
|
1203
|
-
"docs": "Returns a date converted to a string using Universal Coordinated Time (UTC).",
|
|
1204
|
-
"complexTypes": [],
|
|
1205
|
-
"slug": "toutcstring"
|
|
1206
|
-
},
|
|
1207
|
-
{
|
|
1208
|
-
"name": "toISOString",
|
|
1209
|
-
"signature": "() => string",
|
|
1210
|
-
"parameters": [],
|
|
1211
|
-
"returns": "string",
|
|
1212
|
-
"tags": [],
|
|
1213
|
-
"docs": "Returns a date as a string value in ISO format.",
|
|
1214
|
-
"complexTypes": [],
|
|
1215
|
-
"slug": "toisostring"
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
"name": "toJSON",
|
|
1219
|
-
"signature": "(key?: any) => string",
|
|
1220
|
-
"parameters": [
|
|
1221
|
-
{
|
|
1222
|
-
"name": "key",
|
|
1223
|
-
"docs": "",
|
|
1224
|
-
"type": "any"
|
|
1225
|
-
}
|
|
1226
|
-
],
|
|
1227
|
-
"returns": "string",
|
|
1228
|
-
"tags": [],
|
|
1229
|
-
"docs": "Used by the JSON.stringify method to enable the transformation of an object's data for JavaScript Object Notation (JSON) serialization.",
|
|
1230
|
-
"complexTypes": [],
|
|
1231
|
-
"slug": "tojson"
|
|
1232
|
-
}
|
|
1233
|
-
],
|
|
1234
|
-
"properties": []
|
|
1235
|
-
},
|
|
1236
498
|
{
|
|
1237
499
|
"name": "RemindersList",
|
|
1238
500
|
"slug": "reminderslist",
|
|
@@ -1301,6 +563,10 @@
|
|
|
1301
563
|
{
|
|
1302
564
|
"text": "iOS, Android",
|
|
1303
565
|
"name": "platform"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"text": "<h3>Manifest Permissions:</h3>\n<ul>\n <li><strong>iOS 17 ≤:</strong> NSCalendarsFullAccessUsageDescription</li>\n <li><strong>iOS 10 ≤ x ≤ iOS 16:</strong> NSCalendarsUsageDescription</li>\n <li><strong>Android:</strong> android.permission.READ_CALENDAR</li>\n</ul>",
|
|
569
|
+
"name": "permissions"
|
|
1304
570
|
}
|
|
1305
571
|
],
|
|
1306
572
|
"docs": "Represents the permission state for reading calendar."
|
|
@@ -1312,6 +578,10 @@
|
|
|
1312
578
|
{
|
|
1313
579
|
"text": "iOS, Android",
|
|
1314
580
|
"name": "platform"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"text": "<h3>Manifest Permissions:</h3>\n<ul>\n <li><strong>iOS 17 ≤:</strong> NSCalendarsWriteOnlyAccessUsageDescription</li>\n <li><strong>iOS 10 ≤ x ≤ iOS 16:</strong> NSCalendarsUsageDescription</li>\n <li><strong>Android:</strong> android.permission.WRITE_CALENDAR</li>\n</ul>",
|
|
584
|
+
"name": "permissions"
|
|
1315
585
|
}
|
|
1316
586
|
],
|
|
1317
587
|
"docs": "Represents the permission state for writing calendar."
|
|
@@ -1323,6 +593,10 @@
|
|
|
1323
593
|
{
|
|
1324
594
|
"text": "iOS",
|
|
1325
595
|
"name": "platform"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"text": "<h3>Manifest Permissions:</h3>\n<ul>\n <li><strong>iOS 17 ≤:</strong> NSRemindersFullAccessUsageDescription</li>\n <li><strong>iOS 10 ≤ x ≤ iOS 16:</strong> NSRemindersUsageDescription</li>\n</ul>",
|
|
599
|
+
"name": "permissions"
|
|
1326
600
|
}
|
|
1327
601
|
],
|
|
1328
602
|
"docs": "Represents the permission state for reading reminders."
|
|
@@ -1334,6 +608,10 @@
|
|
|
1334
608
|
{
|
|
1335
609
|
"text": "iOS",
|
|
1336
610
|
"name": "platform"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"text": "<h3>Manifest Permissions:</h3>\n<ul>\n <li><strong>iOS 17 ≤:</strong> NSRemindersFullAccessUsageDescription</li>\n <li><strong>iOS 10 ≤ x ≤ iOS 16:</strong> NSRemindersUsageDescription</li>\n</ul>",
|
|
614
|
+
"name": "permissions"
|
|
1337
615
|
}
|
|
1338
616
|
],
|
|
1339
617
|
"docs": "Represents the permission state for writing reminders."
|
|
@@ -1379,22 +657,22 @@
|
|
|
1379
657
|
{
|
|
1380
658
|
"name": "DAILY",
|
|
1381
659
|
"tags": [],
|
|
1382
|
-
"docs": ""
|
|
660
|
+
"docs": "The reminder repeats on a daily basis"
|
|
1383
661
|
},
|
|
1384
662
|
{
|
|
1385
663
|
"name": "WEEKLY",
|
|
1386
664
|
"tags": [],
|
|
1387
|
-
"docs": ""
|
|
665
|
+
"docs": "The reminder repeats on a weekly basis"
|
|
1388
666
|
},
|
|
1389
667
|
{
|
|
1390
668
|
"name": "MONTHLY",
|
|
1391
669
|
"tags": [],
|
|
1392
|
-
"docs": ""
|
|
670
|
+
"docs": "The reminder repeats on a monthly basis"
|
|
1393
671
|
},
|
|
1394
672
|
{
|
|
1395
673
|
"name": "YEARLY",
|
|
1396
674
|
"tags": [],
|
|
1397
|
-
"docs": ""
|
|
675
|
+
"docs": "The reminder repeats on a yearly basis"
|
|
1398
676
|
}
|
|
1399
677
|
]
|
|
1400
678
|
}
|