@ebarooni/capacitor-calendar 7.2.0 → 7.3.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/EbarooniCapacitorCalendar.podspec +1 -1
- package/Package.swift +2 -2
- package/README.md +901 -466
- package/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendarPlugin.kt +57 -7
- package/android/src/main/java/dev/barooni/capacitor/calendar/PluginError.kt +35 -19
- package/android/src/main/java/dev/barooni/capacitor/calendar/implementation/CapacitorCalendar.kt +312 -85
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/CalendarEvent.kt +4 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/EventDeleteInfo.kt +8 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/data/EventRecurrenceRule.kt +135 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/enums/EventSpan.kt +13 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CheckPermissionInput.kt +0 -4
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateCalendarInput.kt +3 -1
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventInput.kt +1 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/CreateEventWithPromptInput.kt +5 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteCalendarInput.kt +4 -1
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteEventInput.kt +4 -1
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteEventWithPromptInput.kt +4 -1
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/DeleteEventsByIdInput.kt +2 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/GetDefaultCalendarInput.kt +9 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyCalendarInput.kt +10 -1
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEvent.kt +3 -1
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEventWithPromptInput.kt +3 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/RequestPermissionInput.kt +3 -5
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CheckAllPermissionsResult.kt +3 -2
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CreateEventResult.kt +1 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/CreateEventWithPromptResult.kt +1 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/GetDefaultCalendarResult.kt +1 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/ListCalendarsResult.kt +1 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/ListEventsInRangeResult.kt +4 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/RequestAllPermissionsResult.kt +1 -1
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/templates/PluginCompletion.kt +8 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/utils/ImplementationHelper.kt +468 -39
- package/dist/docs.json +3046 -1048
- package/dist/esm/definitions.d.ts +5 -5
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/index.d.ts +71 -48
- package/dist/esm/index.js +17 -17
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/schemas/enums/attendee-role.js.map +1 -1
- package/dist/esm/schemas/enums/attendee-status.js.map +1 -1
- package/dist/esm/schemas/enums/attendee-type.js.map +1 -1
- package/dist/esm/schemas/enums/calendar-permission-scope.d.ts +9 -1
- package/dist/esm/schemas/enums/calendar-permission-scope.js +9 -1
- package/dist/esm/schemas/enums/calendar-permission-scope.js.map +1 -1
- package/dist/esm/schemas/enums/event-span.d.ts +4 -0
- package/dist/esm/schemas/enums/event-span.js +4 -0
- package/dist/esm/schemas/enums/event-span.js.map +1 -1
- package/dist/esm/schemas/enums/event-status.js.map +1 -1
- package/dist/esm/schemas/enums/reminder-recurrence-frequency.d.ts +5 -5
- package/dist/esm/schemas/enums/reminder-recurrence-frequency.js +5 -5
- package/dist/esm/schemas/enums/reminder-recurrence-frequency.js.map +1 -1
- package/dist/esm/schemas/interfaces/calendar-event.d.ts +145 -70
- package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
- package/dist/esm/schemas/interfaces/calendar-source.d.ts +4 -1
- package/dist/esm/schemas/interfaces/calendar-source.js.map +1 -1
- package/dist/esm/schemas/interfaces/calendar.d.ts +22 -4
- package/dist/esm/schemas/interfaces/calendar.js.map +1 -1
- package/dist/esm/schemas/interfaces/check-permission-options.d.ts +19 -0
- package/dist/esm/schemas/interfaces/check-permission-options.js +2 -0
- package/dist/esm/schemas/interfaces/check-permission-options.js.map +1 -0
- package/dist/esm/schemas/interfaces/create-calendar-options.d.ts +19 -6
- package/dist/esm/schemas/interfaces/create-calendar-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/create-calendar-result.d.ts +12 -0
- package/dist/esm/schemas/interfaces/create-calendar-result.js +2 -0
- package/dist/esm/schemas/interfaces/create-calendar-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/create-event-options.d.ts +86 -51
- package/dist/esm/schemas/interfaces/create-event-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/create-event-result.d.ts +22 -0
- package/dist/esm/schemas/interfaces/create-event-result.js +2 -0
- package/dist/esm/schemas/interfaces/create-event-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/create-event-with-prompt-options.d.ts +73 -36
- package/dist/esm/schemas/interfaces/create-event-with-prompt-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/create-event-with-prompt-result.d.ts +23 -0
- package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js +2 -0
- package/dist/esm/schemas/interfaces/create-event-with-prompt-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/create-reminder-options.d.ts +42 -12
- package/dist/esm/schemas/interfaces/create-reminder-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/create-reminder-result.d.ts +12 -0
- package/dist/esm/schemas/interfaces/create-reminder-result.js +2 -0
- package/dist/esm/schemas/interfaces/create-reminder-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/create-reminders-list-options.d.ts +46 -0
- package/dist/esm/schemas/interfaces/create-reminders-list-options.js +2 -0
- package/dist/esm/schemas/interfaces/create-reminders-list-options.js.map +1 -0
- package/dist/esm/schemas/interfaces/create-reminders-list-result.d.ts +12 -0
- package/dist/esm/schemas/interfaces/create-reminders-list-result.js +2 -0
- package/dist/esm/schemas/interfaces/create-reminders-list-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/delete-calendar-options.d.ts +1 -0
- package/dist/esm/schemas/interfaces/delete-calendar-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/delete-event-options.d.ts +29 -4
- package/dist/esm/schemas/interfaces/delete-event-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.d.ts +39 -14
- package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/delete-events-by-id-options.d.ts +16 -4
- package/dist/esm/schemas/interfaces/delete-events-by-id-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/delete-reminder-options.d.ts +10 -0
- package/dist/esm/schemas/interfaces/delete-reminder-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.d.ts +12 -0
- package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js +2 -0
- package/dist/esm/schemas/interfaces/delete-reminder-with-prompt-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.d.ts +13 -0
- package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js +2 -0
- package/dist/esm/schemas/interfaces/delete-reminders-by-id-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/delete-reminders-list-options.d.ts +23 -0
- package/dist/esm/schemas/interfaces/delete-reminders-list-options.js +2 -0
- package/dist/esm/schemas/interfaces/delete-reminders-list-options.js.map +1 -0
- package/dist/esm/schemas/interfaces/event-recurrence-rule.d.ts +96 -0
- package/dist/esm/schemas/interfaces/event-recurrence-rule.js +2 -0
- package/dist/esm/schemas/interfaces/event-recurrence-rule.js.map +1 -0
- package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.d.ts +13 -0
- package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js +2 -0
- package/dist/esm/schemas/interfaces/fetch-all-calendar-sources-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/get-default-calendar-options.d.ts +13 -0
- package/dist/esm/schemas/interfaces/get-default-calendar-options.js +2 -0
- package/dist/esm/schemas/interfaces/get-default-calendar-options.js.map +1 -0
- package/dist/esm/schemas/interfaces/get-default-reminders-list-result.d.ts +13 -0
- package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js +2 -0
- package/dist/esm/schemas/interfaces/get-default-reminders-list-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/get-reminder-by-id-result.d.ts +13 -0
- package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js +2 -0
- package/dist/esm/schemas/interfaces/get-reminder-by-id-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.d.ts +13 -0
- package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js +2 -0
- package/dist/esm/schemas/interfaces/get-reminders-from-lists-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/get-reminders-lists-result.d.ts +13 -0
- package/dist/esm/schemas/interfaces/get-reminders-lists-result.js +2 -0
- package/dist/esm/schemas/interfaces/get-reminders-lists-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/list-calendars-result.d.ts +13 -0
- package/dist/esm/schemas/interfaces/list-calendars-result.js +2 -0
- package/dist/esm/schemas/interfaces/list-calendars-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/list-events-in-range-options.d.ts +7 -2
- package/dist/esm/schemas/interfaces/list-events-in-range-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/list-events-in-range-result.d.ts +13 -0
- package/dist/esm/schemas/interfaces/list-events-in-range-result.js +2 -0
- package/dist/esm/schemas/interfaces/list-events-in-range-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/modify-calendar-options.d.ts +13 -2
- package/dist/esm/schemas/interfaces/modify-calendar-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/modify-event-options.d.ts +61 -44
- package/dist/esm/schemas/interfaces/modify-event-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.d.ts +77 -2
- package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/modify-reminder-options.d.ts +77 -13
- package/dist/esm/schemas/interfaces/modify-reminder-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/open-calendar-options.d.ts +5 -1
- package/dist/esm/schemas/interfaces/open-calendar-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/recurrence-rule.d.ts +8 -2
- package/dist/esm/schemas/interfaces/recurrence-rule.js.map +1 -1
- package/dist/esm/schemas/interfaces/reminder-recurrence-rule.d.ts +1 -1
- package/dist/esm/schemas/interfaces/reminder-recurrence-rule.js.map +1 -1
- package/dist/esm/schemas/interfaces/reminder.d.ts +4 -1
- package/dist/esm/schemas/interfaces/reminder.js.map +1 -1
- package/dist/esm/schemas/interfaces/reminders-list.d.ts +8 -2
- package/dist/esm/schemas/interfaces/reminders-list.js.map +1 -1
- package/dist/esm/schemas/interfaces/request-permission-options.d.ts +16 -0
- package/dist/esm/schemas/interfaces/request-permission-options.js +2 -0
- package/dist/esm/schemas/interfaces/request-permission-options.js.map +1 -0
- package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.d.ts +1 -1
- package/dist/esm/schemas/interfaces/select-calendars-with-prompt-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.d.ts +14 -0
- package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.js +2 -0
- package/dist/esm/schemas/interfaces/select-calendars-with-prompt-result.js.map +1 -0
- package/dist/esm/schemas/interfaces/update-reminders-list-options.d.ts +43 -0
- package/dist/esm/schemas/interfaces/update-reminders-list-options.js +2 -0
- package/dist/esm/schemas/interfaces/update-reminders-list-options.js.map +1 -0
- package/dist/esm/schemas/interfaces/update-reminders-list-result.d.ts +12 -0
- package/dist/esm/schemas/interfaces/update-reminders-list-result.js +2 -0
- package/dist/esm/schemas/interfaces/update-reminders-list-result.js.map +1 -0
- package/dist/esm/schemas/types/event-edit-action.d.ts +1 -1
- package/dist/esm/schemas/types/event-edit-action.js.map +1 -1
- package/dist/esm/schemas/types/recurrence-frequency.d.ts +4 -0
- package/dist/esm/schemas/types/recurrence-frequency.js +2 -0
- package/dist/esm/schemas/types/recurrence-frequency.js.map +1 -0
- package/dist/esm/schemas/types/system-color-name.d.ts +6 -0
- package/dist/esm/schemas/types/system-color-name.js +2 -0
- package/dist/esm/schemas/types/system-color-name.js.map +1 -0
- package/dist/esm/sub-definitions/calendar-access.d.ts +26 -14
- package/dist/esm/sub-definitions/calendar-access.js.map +1 -1
- package/dist/esm/sub-definitions/calendar-operations.d.ts +68 -21
- package/dist/esm/sub-definitions/calendar-operations.js.map +1 -1
- package/dist/esm/sub-definitions/event-operations.d.ts +46 -25
- package/dist/esm/sub-definitions/event-operations.js.map +1 -1
- package/dist/esm/sub-definitions/reminders-access.d.ts +6 -2
- package/dist/esm/sub-definitions/reminders-access.js.map +1 -1
- package/dist/esm/sub-definitions/reminders-operations.d.ts +78 -43
- package/dist/esm/sub-definitions/reminders-operations.js.map +1 -1
- package/dist/esm/web/download-ics-file.d.ts +18 -0
- package/dist/esm/web/download-ics-file.js +33 -0
- package/dist/esm/web/download-ics-file.js.map +1 -0
- package/dist/esm/web/ics.d.ts +27 -0
- package/dist/esm/web/ics.js +294 -0
- package/dist/esm/web/ics.js.map +1 -0
- package/dist/esm/web.d.ts +70 -82
- package/dist/esm/web.js +121 -6
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +464 -35
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +464 -35
- package/dist/plugin.js.map +1 -1
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/CapacitorCalendarPlugin.swift +148 -81
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Implementation/CapacitorCalendar.swift +203 -110
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Models/Enums/EventSpan.swift +8 -0
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateCalendarInput.swift +6 -4
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateEventInput.swift +25 -21
- package/ios/Plugin/Models/Inputs/CreateEventWithPromptInput.swift +171 -0
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CreateReminderInput.swift +14 -4
- package/ios/Plugin/Models/Inputs/CreateRemindersListInput.swift +43 -0
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteCalendarInput.swift +1 -1
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventInput.swift +9 -4
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventWithPromptInput.swift +9 -4
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventsByIdInput.swift +9 -4
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderInput.swift +7 -1
- package/ios/Plugin/Models/Inputs/DeleteRemindersListInput.swift +22 -0
- package/ios/Plugin/Models/Inputs/GetDefaultCalendarInput.swift +13 -0
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyCalendarInput.swift +6 -3
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventInput.swift +63 -41
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyReminderInput.swift +66 -5
- package/ios/Plugin/Models/Inputs/UpdateRemindersListInput.swift +41 -0
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventResult.swift +1 -0
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventWithPromptResult.swift +1 -0
- package/ios/Plugin/Models/Results/CreateRemindersListResult.swift +15 -0
- package/ios/Plugin/Models/Results/ListEventsInRangeResult.swift +29 -0
- package/ios/Plugin/Models/Results/UpdateRemindersListResult.swift +15 -0
- package/ios/Plugin/Models/Structs/RecurrenceInput.swift +41 -0
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginConfig.swift +30 -27
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginError.swift +74 -56
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/ImplementationHelper.swift +140 -24
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/UIColorFromHexExtension.swift +5 -0
- package/package.json +36 -43
- package/dist/esm/schemas/enums/recurrence-frequency.d.ts +0 -21
- package/dist/esm/schemas/enums/recurrence-frequency.js +0 -23
- package/dist/esm/schemas/enums/recurrence-frequency.js.map +0 -1
- package/ios/Sources/CapacitorCalendarPlugin/Models/Inputs/CreateEventWithPromptInput.swift +0 -89
- package/ios/Sources/CapacitorCalendarPlugin/Models/Results/ListEventsInRangeResult.swift +0 -16
- package/ios/Tests/CapacitorCalendarPluginTests/CapacitorCalendarPluginTests.swift +0 -15
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CAPPermissionState.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/CalendarPermissionScope.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Enums/EventEditAction.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/CheckPermissionInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderWithPromptInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteRemindersByIdInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetReminderByIdInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/GetRemindersFromListsInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ListEventsInRangeInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventWithPromptInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/OpenCalendarInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/RequestPermissionInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/SelectCalendarsWithPromptInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckAllPermissionsResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CheckPermissionResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateCalendarResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateReminderResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventWithPromptResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteEventsByIdResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/DeleteRemindersByIdResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/FetchAllCalendarSourcesResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetDefaultCalendarResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetReminderByIdResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/GetRemindersFromListsResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ListCalendarsResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/ModifyEventWithPromptResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestAllPermissionsResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/RequestPermissionResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/SelectCalendarsWithPromptResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Templates/JSResult.swift +0 -0
|
@@ -1,18 +1,43 @@
|
|
|
1
|
-
import { EventSpan } from
|
|
1
|
+
import type { EventSpan } from '../enums/event-span';
|
|
2
2
|
/**
|
|
3
3
|
* @since 7.1.0
|
|
4
4
|
*/
|
|
5
5
|
export interface DeleteEventOptions {
|
|
6
6
|
/**
|
|
7
|
+
* Whether to save the deletion to the event store immediately.
|
|
8
|
+
* Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
|
|
9
|
+
*
|
|
10
|
+
* @example false
|
|
11
|
+
* @default true
|
|
12
|
+
* @platform iOS
|
|
13
|
+
* @since 7.3.0
|
|
14
|
+
*/
|
|
15
|
+
commit?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The ID of the event to delete.
|
|
18
|
+
*
|
|
19
|
+
* @example '1234'
|
|
20
|
+
* @platform Android, iOS
|
|
7
21
|
* @since 7.1.0
|
|
8
22
|
*/
|
|
9
23
|
id: string;
|
|
10
24
|
/**
|
|
11
|
-
* The
|
|
25
|
+
* The start time of the occurrence to delete, in milliseconds since the epoch.
|
|
26
|
+
* Use `startDate` from `listEventsInRange`.
|
|
27
|
+
* On Android, required for `THIS_EVENT` on recurring events. If omitted with `THIS_AND_FUTURE_EVENTS`, the whole series is deleted.
|
|
12
28
|
*
|
|
29
|
+
* @example 1716153600000
|
|
30
|
+
* @platform Android
|
|
31
|
+
* @since 7.3.0
|
|
32
|
+
*/
|
|
33
|
+
instanceDate?: number;
|
|
34
|
+
/**
|
|
35
|
+
* How much of a recurring series to delete.
|
|
36
|
+
*
|
|
37
|
+
* @example EventSpan.THIS_EVENT
|
|
13
38
|
* @default EventSpan.THIS_EVENT
|
|
14
|
-
* @platform iOS
|
|
15
|
-
* @
|
|
39
|
+
* @platform Android, iOS
|
|
40
|
+
* @since 7.1.0
|
|
16
41
|
*/
|
|
17
42
|
span?: EventSpan;
|
|
18
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-event-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-event-options.ts"],"names":[],"mappings":"","sourcesContent":["import { EventSpan } from
|
|
1
|
+
{"version":3,"file":"delete-event-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-event-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventSpan } from '../enums/event-span';\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventOptions {\n /**\n * Whether to save the deletion to the event store immediately.\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @example false\n * @default true\n * @platform iOS\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * The ID of the event to delete.\n *\n * @example '1234'\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n /**\n * The start time of the occurrence to delete, in milliseconds since the epoch.\n * Use `startDate` from `listEventsInRange`.\n * On Android, required for `THIS_EVENT` on recurring events. If omitted with `THIS_AND_FUTURE_EVENTS`, the whole series is deleted.\n *\n * @example 1716153600000\n * @platform Android\n * @since 7.3.0\n */\n instanceDate?: number;\n /**\n * How much of a recurring series to delete.\n *\n * @example EventSpan.THIS_EVENT\n * @default EventSpan.THIS_EVENT\n * @platform Android, iOS\n * @since 7.1.0\n */\n span?: EventSpan;\n}\n"]}
|
|
@@ -1,27 +1,52 @@
|
|
|
1
|
-
import { EventSpan } from
|
|
1
|
+
import type { EventSpan } from '../enums/event-span';
|
|
2
2
|
/**
|
|
3
3
|
* @since 7.1.0
|
|
4
4
|
*/
|
|
5
5
|
export interface DeleteEventWithPromptOptions {
|
|
6
6
|
/**
|
|
7
|
+
* Text to show on the cancel button.
|
|
8
|
+
*
|
|
9
|
+
* @default 'Cancel'
|
|
10
|
+
* @platform Android, iOS
|
|
7
11
|
* @since 7.1.0
|
|
8
12
|
*/
|
|
9
|
-
|
|
13
|
+
cancelButtonText?: string;
|
|
10
14
|
/**
|
|
11
|
-
*
|
|
15
|
+
* Whether to save the deletion to the event store immediately.
|
|
16
|
+
* Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
|
|
12
17
|
*
|
|
13
|
-
* @
|
|
18
|
+
* @example false
|
|
19
|
+
* @default true
|
|
14
20
|
* @platform iOS
|
|
15
|
-
* @
|
|
21
|
+
* @since 7.3.0
|
|
16
22
|
*/
|
|
17
|
-
|
|
23
|
+
commit?: boolean;
|
|
18
24
|
/**
|
|
19
|
-
*
|
|
25
|
+
* Text to show on the confirm button.
|
|
20
26
|
*
|
|
27
|
+
* @default 'Delete'
|
|
21
28
|
* @platform Android, iOS
|
|
22
29
|
* @since 7.1.0
|
|
23
30
|
*/
|
|
24
|
-
|
|
31
|
+
confirmButtonText?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The ID of the event to delete.
|
|
34
|
+
*
|
|
35
|
+
* @example '1234'
|
|
36
|
+
* @platform Android, iOS
|
|
37
|
+
* @since 7.1.0
|
|
38
|
+
*/
|
|
39
|
+
id: string;
|
|
40
|
+
/**
|
|
41
|
+
* The start time of the occurrence to delete, in milliseconds since the epoch.
|
|
42
|
+
* Use `startDate` from `listEventsInRange`.
|
|
43
|
+
* On Android, required for `THIS_EVENT` on recurring events. If omitted with `THIS_AND_FUTURE_EVENTS`, the whole series is deleted.
|
|
44
|
+
*
|
|
45
|
+
* @example 1716153600000
|
|
46
|
+
* @platform Android
|
|
47
|
+
* @since 7.3.0
|
|
48
|
+
*/
|
|
49
|
+
instanceDate?: number;
|
|
25
50
|
/**
|
|
26
51
|
* Message of the dialog.
|
|
27
52
|
*
|
|
@@ -30,19 +55,19 @@ export interface DeleteEventWithPromptOptions {
|
|
|
30
55
|
*/
|
|
31
56
|
message: string;
|
|
32
57
|
/**
|
|
33
|
-
*
|
|
58
|
+
* How much of a recurring series to delete.
|
|
34
59
|
*
|
|
35
|
-
* @
|
|
60
|
+
* @example EventSpan.THIS_EVENT
|
|
61
|
+
* @default EventSpan.THIS_EVENT
|
|
36
62
|
* @platform Android, iOS
|
|
37
63
|
* @since 7.1.0
|
|
38
64
|
*/
|
|
39
|
-
|
|
65
|
+
span?: EventSpan;
|
|
40
66
|
/**
|
|
41
|
-
*
|
|
67
|
+
* Title of the dialog.
|
|
42
68
|
*
|
|
43
|
-
* @default 'Cancel'
|
|
44
69
|
* @platform Android, iOS
|
|
45
70
|
* @since 7.1.0
|
|
46
71
|
*/
|
|
47
|
-
|
|
72
|
+
title: string;
|
|
48
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-event-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-event-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import { EventSpan } from
|
|
1
|
+
{"version":3,"file":"delete-event-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-event-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventSpan } from '../enums/event-span';\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventWithPromptOptions {\n /**\n * Text to show on the cancel button.\n *\n * @default 'Cancel'\n * @platform Android, iOS\n * @since 7.1.0\n */\n cancelButtonText?: string;\n /**\n * Whether to save the deletion to the event store immediately.\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @example false\n * @default true\n * @platform iOS\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * Text to show on the confirm button.\n *\n * @default 'Delete'\n * @platform Android, iOS\n * @since 7.1.0\n */\n confirmButtonText?: string;\n /**\n * The ID of the event to delete.\n *\n * @example '1234'\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n /**\n * The start time of the occurrence to delete, in milliseconds since the epoch.\n * Use `startDate` from `listEventsInRange`.\n * On Android, required for `THIS_EVENT` on recurring events. If omitted with `THIS_AND_FUTURE_EVENTS`, the whole series is deleted.\n *\n * @example 1716153600000\n * @platform Android\n * @since 7.3.0\n */\n instanceDate?: number;\n /**\n * Message of the dialog.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n message: string;\n /**\n * How much of a recurring series to delete.\n *\n * @example EventSpan.THIS_EVENT\n * @default EventSpan.THIS_EVENT\n * @platform Android, iOS\n * @since 7.1.0\n */\n span?: EventSpan;\n /**\n * Title of the dialog.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n title: string;\n}\n"]}
|
|
@@ -1,18 +1,30 @@
|
|
|
1
|
-
import { EventSpan } from
|
|
1
|
+
import type { EventSpan } from '../enums/event-span';
|
|
2
2
|
/**
|
|
3
3
|
* @since 7.1.0
|
|
4
4
|
*/
|
|
5
5
|
export interface DeleteEventsByIdOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Whether to save the deletion to the event store immediately.
|
|
8
|
+
* Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
|
|
9
|
+
*
|
|
10
|
+
* @example false
|
|
11
|
+
* @default true
|
|
12
|
+
* @platform iOS
|
|
13
|
+
* @since 7.3.0
|
|
14
|
+
*/
|
|
15
|
+
commit?: boolean;
|
|
6
16
|
/**
|
|
7
17
|
* @since 7.1.0
|
|
8
18
|
*/
|
|
9
19
|
ids: string[];
|
|
10
20
|
/**
|
|
11
|
-
*
|
|
21
|
+
* How much of a recurring series to delete.
|
|
22
|
+
* On Android, `THIS_EVENT` cannot target a single recurring occurrence here — use `deleteEvent` with `instanceDate`. Those ids are reported in `failed`.
|
|
12
23
|
*
|
|
24
|
+
* @example EventSpan.THIS_EVENT
|
|
13
25
|
* @default EventSpan.THIS_EVENT
|
|
14
|
-
* @platform iOS
|
|
15
|
-
* @
|
|
26
|
+
* @platform Android, iOS
|
|
27
|
+
* @since 7.1.0
|
|
16
28
|
*/
|
|
17
29
|
span?: EventSpan;
|
|
18
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-events-by-id-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-events-by-id-options.ts"],"names":[],"mappings":"","sourcesContent":["import { EventSpan } from
|
|
1
|
+
{"version":3,"file":"delete-events-by-id-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-events-by-id-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventSpan } from '../enums/event-span';\n\n/**\n * @since 7.1.0\n */\nexport interface DeleteEventsByIdOptions {\n /**\n * Whether to save the deletion to the event store immediately.\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @example false\n * @default true\n * @platform iOS\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * @since 7.1.0\n */\n ids: string[];\n /**\n * How much of a recurring series to delete.\n * On Android, `THIS_EVENT` cannot target a single recurring occurrence here — use `deleteEvent` with `instanceDate`. Those ids are reported in `failed`.\n *\n * @example EventSpan.THIS_EVENT\n * @default EventSpan.THIS_EVENT\n * @platform Android, iOS\n * @since 7.1.0\n */\n span?: EventSpan;\n}\n"]}
|
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
* @since 7.1.0
|
|
3
3
|
*/
|
|
4
4
|
export interface DeleteReminderOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Whether to save immediately (`true`) or batch changes for later (`false`).
|
|
7
|
+
* Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
|
|
8
|
+
*
|
|
9
|
+
* @default true
|
|
10
|
+
* @platform iOS
|
|
11
|
+
* @see {@link CalendarOperations#commit}
|
|
12
|
+
* @since 7.3.0
|
|
13
|
+
*/
|
|
14
|
+
commit?: boolean;
|
|
5
15
|
/**
|
|
6
16
|
* @since 7.1.0
|
|
7
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-reminder-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminder-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface DeleteReminderOptions {\n /**\n * @since 7.1.0\n */\n id: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"delete-reminder-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminder-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface DeleteReminderOptions {\n /**\n * Whether to save immediately (`true`) or batch changes for later (`false`).\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @default true\n * @platform iOS\n * @see {@link CalendarOperations#commit}\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * @since 7.1.0\n */\n id: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-reminder-with-prompt-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminder-with-prompt-result.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.2.0\n */\nexport interface DeleteReminderWithPromptResult {\n /**\n * Whether the user confirmed deletion.\n *\n * @platform iOS\n * @since 7.2.0\n */\n deleted: boolean;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-reminders-by-id-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminders-by-id-result.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface DeleteRemindersByIdResult {\n /**\n * @since 7.1.0\n */\n deleted: string[];\n /**\n * @since 7.1.0\n */\n failed: string[];\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 7.3.0
|
|
3
|
+
*/
|
|
4
|
+
export interface DeleteRemindersListOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Whether to save the deletion to the event store immediately.
|
|
7
|
+
* Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.
|
|
8
|
+
*
|
|
9
|
+
* @example false
|
|
10
|
+
* @default true
|
|
11
|
+
* @platform iOS
|
|
12
|
+
* @since 7.3.0
|
|
13
|
+
*/
|
|
14
|
+
commit?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Identifier of the reminders list to delete.
|
|
17
|
+
*
|
|
18
|
+
* @example 'A1234567-ABCD-EFGH-IJKL-MNOPQRSTUVWX'
|
|
19
|
+
* @platform iOS
|
|
20
|
+
* @since 7.3.0
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-reminders-list-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/delete-reminders-list-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.3.0\n */\nexport interface DeleteRemindersListOptions {\n /**\n * Whether to save the deletion to the event store immediately.\n * Pass `false` to batch multiple changes and commit them together using `CapacitorCalendar.commit()`, which is more efficient than committing each save individually.\n *\n * @example false\n * @default true\n * @platform iOS\n * @since 7.3.0\n */\n commit?: boolean;\n /**\n * Identifier of the reminders list to delete.\n *\n * @example 'A1234567-ABCD-EFGH-IJKL-MNOPQRSTUVWX'\n * @platform iOS\n * @since 7.3.0\n */\n id: string;\n}\n"]}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { RecurrenceFrequency } from '../types/recurrence-frequency';
|
|
2
|
+
export interface EventRecurrenceRule {
|
|
3
|
+
/**
|
|
4
|
+
* Limits a yearly recurrence to specific months of the year.
|
|
5
|
+
* The values should be between 1 and 12.
|
|
6
|
+
*
|
|
7
|
+
* @example [1, 7] // Means in January and July.
|
|
8
|
+
*
|
|
9
|
+
* @platform Android, iOS, Web
|
|
10
|
+
* @since 7.1.0
|
|
11
|
+
*/
|
|
12
|
+
byMonth?: number[];
|
|
13
|
+
/**
|
|
14
|
+
* Limits a monthly recurrence to specific days of the month.
|
|
15
|
+
* The values should be between 1 and 31.
|
|
16
|
+
*
|
|
17
|
+
* @example [1, 15] // The 1st and 15th of each month.
|
|
18
|
+
*
|
|
19
|
+
* @platform Android, iOS, Web
|
|
20
|
+
* @since 7.1.0
|
|
21
|
+
*/
|
|
22
|
+
byMonthDay?: number[];
|
|
23
|
+
/**
|
|
24
|
+
* Limits a weekly recurrence to specific weekdays.
|
|
25
|
+
* The values should be between 1 and 7.
|
|
26
|
+
* 1 means Monday and 7 means Sunday.
|
|
27
|
+
*
|
|
28
|
+
* @example [1, 3, 5] // Every Monday, Wednesday and Friday
|
|
29
|
+
*
|
|
30
|
+
* @platform Android, iOS, Web
|
|
31
|
+
* @since 7.3.0
|
|
32
|
+
*/
|
|
33
|
+
byWeekDay?: number[];
|
|
34
|
+
/**
|
|
35
|
+
* The total number of occurrences.
|
|
36
|
+
* If set, the recurrence ends after this many occurrences.
|
|
37
|
+
* If `count` is provided, `end` is ignored.
|
|
38
|
+
*
|
|
39
|
+
* @example 10
|
|
40
|
+
*
|
|
41
|
+
* @platform Android, iOS, Web
|
|
42
|
+
* @since 7.3.0
|
|
43
|
+
*/
|
|
44
|
+
count?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Limits a yearly recurrence to specific days of the year (1 to 366).
|
|
47
|
+
*
|
|
48
|
+
* @example [1, 100, 364]
|
|
49
|
+
*
|
|
50
|
+
* @platform iOS, Web
|
|
51
|
+
* @since 7.3.0
|
|
52
|
+
*/
|
|
53
|
+
daysOfTheYear?: number[];
|
|
54
|
+
/**
|
|
55
|
+
* End date of the recurrence series as a Unix timestamp in milliseconds.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* const date = new Date();
|
|
59
|
+
* date.setMonth(date.getMonth() + 1);
|
|
60
|
+
* const end = date.getTime();
|
|
61
|
+
*
|
|
62
|
+
* @platform Android, iOS, Web
|
|
63
|
+
* @since 7.1.0
|
|
64
|
+
*/
|
|
65
|
+
end?: number;
|
|
66
|
+
/**
|
|
67
|
+
* How often the event repeats.
|
|
68
|
+
*
|
|
69
|
+
* @example 'weekly'
|
|
70
|
+
*
|
|
71
|
+
* @platform Android, iOS, Web
|
|
72
|
+
* @since 7.3.0
|
|
73
|
+
*/
|
|
74
|
+
frequency: RecurrenceFrequency;
|
|
75
|
+
/**
|
|
76
|
+
* The interval between recurrences. Use in combination with `frequency`.
|
|
77
|
+
* For example, a weekly event with an interval of 2, results in the event
|
|
78
|
+
* occurring every 2 weeks.
|
|
79
|
+
*
|
|
80
|
+
* @example 2
|
|
81
|
+
*
|
|
82
|
+
* @default 1
|
|
83
|
+
* @platform Android, iOS, Web
|
|
84
|
+
* @since 7.3.0
|
|
85
|
+
*/
|
|
86
|
+
interval?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Limits a yearly recurrence to specific ISO week numbers (1 to 53).
|
|
89
|
+
*
|
|
90
|
+
* @example [1, 53]
|
|
91
|
+
*
|
|
92
|
+
* @platform iOS, Web
|
|
93
|
+
* @since 7.3.0
|
|
94
|
+
*/
|
|
95
|
+
weeksOfTheYear?: number[];
|
|
96
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-recurrence-rule.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/event-recurrence-rule.ts"],"names":[],"mappings":"","sourcesContent":["import type { RecurrenceFrequency } from '../types/recurrence-frequency';\n\nexport interface EventRecurrenceRule {\n /**\n * Limits a yearly recurrence to specific months of the year.\n * The values should be between 1 and 12.\n *\n * @example [1, 7] // Means in January and July.\n *\n * @platform Android, iOS, Web\n * @since 7.1.0\n */\n byMonth?: number[];\n /**\n * Limits a monthly recurrence to specific days of the month.\n * The values should be between 1 and 31.\n *\n * @example [1, 15] // The 1st and 15th of each month.\n *\n * @platform Android, iOS, Web\n * @since 7.1.0\n */\n byMonthDay?: number[];\n /**\n * Limits a weekly recurrence to specific weekdays.\n * The values should be between 1 and 7.\n * 1 means Monday and 7 means Sunday.\n *\n * @example [1, 3, 5] // Every Monday, Wednesday and Friday\n *\n * @platform Android, iOS, Web\n * @since 7.3.0\n */\n byWeekDay?: number[];\n /**\n * The total number of occurrences.\n * If set, the recurrence ends after this many occurrences.\n * If `count` is provided, `end` is ignored.\n *\n * @example 10\n *\n * @platform Android, iOS, Web\n * @since 7.3.0\n */\n count?: number;\n /**\n * Limits a yearly recurrence to specific days of the year (1 to 366).\n *\n * @example [1, 100, 364]\n *\n * @platform iOS, Web\n * @since 7.3.0\n */\n daysOfTheYear?: number[];\n /**\n * End date of the recurrence series as a Unix timestamp in milliseconds.\n *\n * @example\n * const date = new Date();\n * date.setMonth(date.getMonth() + 1);\n * const end = date.getTime();\n *\n * @platform Android, iOS, Web\n * @since 7.1.0\n */\n end?: number;\n /**\n * How often the event repeats.\n *\n * @example 'weekly'\n *\n * @platform Android, iOS, Web\n * @since 7.3.0\n */\n frequency: RecurrenceFrequency;\n /**\n * The interval between recurrences. Use in combination with `frequency`.\n * For example, a weekly event with an interval of 2, results in the event\n * occurring every 2 weeks.\n *\n * @example 2\n *\n * @default 1\n * @platform Android, iOS, Web\n * @since 7.3.0\n */\n interval?: number;\n /**\n * Limits a yearly recurrence to specific ISO week numbers (1 to 53).\n *\n * @example [1, 53]\n *\n * @platform iOS, Web\n * @since 7.3.0\n */\n weeksOfTheYear?: number[];\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CalendarSource } from './calendar-source';
|
|
2
|
+
/**
|
|
3
|
+
* @since 7.3.0
|
|
4
|
+
*/
|
|
5
|
+
export interface FetchAllCalendarSourcesResult {
|
|
6
|
+
/**
|
|
7
|
+
* All calendar sources (accounts) known to EventKit.
|
|
8
|
+
*
|
|
9
|
+
* @platform iOS
|
|
10
|
+
* @since 7.3.0
|
|
11
|
+
*/
|
|
12
|
+
result: CalendarSource[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-all-calendar-sources-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/fetch-all-calendar-sources-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarSource } from './calendar-source';\n\n/**\n * @since 7.3.0\n */\nexport interface FetchAllCalendarSourcesResult {\n /**\n * All calendar sources (accounts) known to EventKit.\n *\n * @platform iOS\n * @since 7.3.0\n */\n result: CalendarSource[];\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 7.3.0
|
|
3
|
+
*/
|
|
4
|
+
export interface GetDefaultCalendarOptions {
|
|
5
|
+
/**
|
|
6
|
+
* When there is no system default calendar, use the first available calendar.
|
|
7
|
+
*
|
|
8
|
+
* @default false
|
|
9
|
+
* @platform Android, iOS
|
|
10
|
+
* @since 7.3.0
|
|
11
|
+
*/
|
|
12
|
+
useFallbackCalendar?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-default-calendar-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-default-calendar-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.3.0\n */\nexport interface GetDefaultCalendarOptions {\n /**\n * When there is no system default calendar, use the first available calendar.\n *\n * @default false\n * @platform Android, iOS\n * @since 7.3.0\n */\n useFallbackCalendar?: boolean;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { RemindersList } from './reminders-list';
|
|
2
|
+
/**
|
|
3
|
+
* @since 7.1.0
|
|
4
|
+
*/
|
|
5
|
+
export interface GetDefaultRemindersListResult {
|
|
6
|
+
/**
|
|
7
|
+
* The default reminders list, or `null` when none exists.
|
|
8
|
+
*
|
|
9
|
+
* @platform iOS
|
|
10
|
+
* @since 7.1.0
|
|
11
|
+
*/
|
|
12
|
+
result: RemindersList | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-default-reminders-list-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-default-reminders-list-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { RemindersList } from './reminders-list';\n\n/**\n * @since 7.1.0\n */\nexport interface GetDefaultRemindersListResult {\n /**\n * The default reminders list, or `null` when none exists.\n *\n * @platform iOS\n * @since 7.1.0\n */\n result: RemindersList | null;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Reminder } from './reminder';
|
|
2
|
+
/**
|
|
3
|
+
* @since 7.1.0
|
|
4
|
+
*/
|
|
5
|
+
export interface GetReminderByIdResult {
|
|
6
|
+
/**
|
|
7
|
+
* The reminder for the given id, or `null` when none exists.
|
|
8
|
+
*
|
|
9
|
+
* @platform iOS
|
|
10
|
+
* @since 7.1.0
|
|
11
|
+
*/
|
|
12
|
+
result: Reminder | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reminder-by-id-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-reminder-by-id-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { Reminder } from './reminder';\n\n/**\n * @since 7.1.0\n */\nexport interface GetReminderByIdResult {\n /**\n * The reminder for the given id, or `null` when none exists.\n *\n * @platform iOS\n * @since 7.1.0\n */\n result: Reminder | null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reminders-from-lists-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-reminders-from-lists-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { Reminder } from './reminder';\n\n/**\n * @since 5.3.0\n */\nexport interface GetRemindersFromListsResult {\n /**\n * Reminders from the requested lists.\n *\n * @platform iOS\n * @since 5.3.0\n */\n result: Reminder[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reminders-lists-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/get-reminders-lists-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { RemindersList } from './reminders-list';\n\n/**\n * @since 7.1.0\n */\nexport interface GetRemindersListsResult {\n /**\n * All available reminders lists.\n *\n * @platform iOS\n * @since 7.1.0\n */\n result: RemindersList[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-calendars-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/list-calendars-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { Calendar } from './calendar';\n\n/**\n * @since 7.3.0\n */\nexport interface ListCalendarsResult {\n /**\n * All available calendars.\n *\n * @platform Android, iOS\n * @since 7.3.0\n */\n result: Calendar[];\n}\n"]}
|
|
@@ -3,14 +3,19 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ListEventsInRangeOptions {
|
|
5
5
|
/**
|
|
6
|
-
* The
|
|
6
|
+
* The start of the range, in milliseconds since the epoch.
|
|
7
|
+
* Events still in progress at this time are included.
|
|
7
8
|
*
|
|
9
|
+
* @example 1719792000000
|
|
8
10
|
* @since 7.1.0
|
|
9
11
|
*/
|
|
10
12
|
from: number;
|
|
11
13
|
/**
|
|
12
|
-
* The
|
|
14
|
+
* The end of the range, in milliseconds since the epoch.
|
|
15
|
+
* Events that begin at or after this time are typically excluded; prefer the
|
|
16
|
+
* next day's start when querying a single calendar day.
|
|
13
17
|
*
|
|
18
|
+
* @example 1719878400000
|
|
14
19
|
* @since 7.1.0
|
|
15
20
|
*/
|
|
16
21
|
to: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-events-in-range-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/list-events-in-range-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface ListEventsInRangeOptions {\n /**\n * The
|
|
1
|
+
{"version":3,"file":"list-events-in-range-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/list-events-in-range-options.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport interface ListEventsInRangeOptions {\n /**\n * The start of the range, in milliseconds since the epoch.\n * Events still in progress at this time are included.\n *\n * @example 1719792000000\n * @since 7.1.0\n */\n from: number;\n /**\n * The end of the range, in milliseconds since the epoch.\n * Events that begin at or after this time are typically excluded; prefer the\n * next day's start when querying a single calendar day.\n *\n * @example 1719878400000\n * @since 7.1.0\n */\n to: number;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CalendarEvent } from './calendar-event';
|
|
2
|
+
/**
|
|
3
|
+
* @since 7.3.0
|
|
4
|
+
*/
|
|
5
|
+
export interface ListEventsInRangeResult {
|
|
6
|
+
/**
|
|
7
|
+
* Events that overlap the requested range.
|
|
8
|
+
*
|
|
9
|
+
* @platform Android, iOS
|
|
10
|
+
* @since 7.3.0
|
|
11
|
+
*/
|
|
12
|
+
result: CalendarEvent[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-events-in-range-result.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/list-events-in-range-result.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarEvent } from './calendar-event';\n\n/**\n * @since 7.3.0\n */\nexport interface ListEventsInRangeResult {\n /**\n * Events that overlap the requested range.\n *\n * @platform Android, iOS\n * @since 7.3.0\n */\n result: CalendarEvent[];\n}\n"]}
|