@ebarooni/capacitor-calendar 7.2.0 → 8.0.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 +2 -2
- package/Package.swift +4 -4
- package/README.md +176 -162
- package/android/build.gradle +20 -18
- package/android/src/main/java/dev/barooni/capacitor/calendar/implementation/CapacitorCalendar.kt +90 -61
- 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/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/ModifyEvent.kt +2 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/inputs/ModifyEventWithPromptInput.kt +3 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/utils/ImplementationHelper.kt +48 -4
- package/dist/docs.json +584 -324
- package/dist/esm/definitions.d.ts +5 -5
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/index.d.ts +46 -46
- package/dist/esm/index.js +16 -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.js.map +1 -1
- package/dist/esm/schemas/enums/event-status.js.map +1 -1
- package/dist/esm/schemas/interfaces/calendar-event.d.ts +7 -5
- package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
- package/dist/esm/schemas/interfaces/calendar-source.d.ts +1 -1
- package/dist/esm/schemas/interfaces/calendar-source.js.map +1 -1
- package/dist/esm/schemas/interfaces/calendar.d.ts +2 -2
- package/dist/esm/schemas/interfaces/calendar.js.map +1 -1
- package/dist/esm/schemas/interfaces/create-event-options.d.ts +63 -46
- package/dist/esm/schemas/interfaces/create-event-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/create-event-with-prompt-options.d.ts +42 -31
- package/dist/esm/schemas/interfaces/create-event-with-prompt-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/create-reminder-options.d.ts +10 -1
- package/dist/esm/schemas/interfaces/create-reminder-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/delete-event-options.d.ts +1 -1
- package/dist/esm/schemas/interfaces/delete-event-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/delete-event-with-prompt-options.d.ts +1 -1
- 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 +1 -1
- package/dist/esm/schemas/interfaces/delete-events-by-id-options.js.map +1 -1
- 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/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 +1 -1
- package/dist/esm/schemas/interfaces/modify-event-with-prompt-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/modify-reminder-options.d.ts +12 -1
- package/dist/esm/schemas/interfaces/modify-reminder-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/recurrence-rule.d.ts +1 -1
- 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 +1 -1
- package/dist/esm/schemas/interfaces/reminder.js.map +1 -1
- package/dist/esm/schemas/interfaces/reminders-list.d.ts +2 -2
- package/dist/esm/schemas/interfaces/reminders-list.js.map +1 -1
- 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/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/sub-definitions/calendar-access.d.ts +4 -4
- package/dist/esm/sub-definitions/calendar-access.js.map +1 -1
- package/dist/esm/sub-definitions/calendar-operations.d.ts +7 -7
- package/dist/esm/sub-definitions/calendar-operations.js.map +1 -1
- package/dist/esm/sub-definitions/event-operations.d.ts +10 -10
- package/dist/esm/sub-definitions/event-operations.js.map +1 -1
- package/dist/esm/sub-definitions/reminders-access.d.ts +1 -1
- package/dist/esm/sub-definitions/reminders-access.js.map +1 -1
- package/dist/esm/sub-definitions/reminders-operations.d.ts +10 -10
- package/dist/esm/sub-definitions/reminders-operations.js.map +1 -1
- package/dist/esm/web.d.ts +33 -32
- package/dist/esm/web.js +1 -1
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +1 -24
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +1 -24
- package/dist/plugin.js.map +1 -1
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/CapacitorCalendarPlugin.swift +90 -71
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Implementation/CapacitorCalendar.swift +45 -63
- package/ios/Plugin/Info.plist +24 -0
- 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 +2 -2
- package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventInput.swift +63 -41
- package/ios/Plugin/Models/Structs/RecurrenceInput.swift +31 -0
- package/package.json +37 -45
- 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/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/CreateCalendarInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteCalendarInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventWithPromptInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteEventsByIdInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/DeleteReminderInput.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/ModifyCalendarInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyEventWithPromptInput.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Inputs/ModifyReminderInput.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/CreateEventResult.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Models/Results/CreateEventWithPromptResult.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/ListEventsInRangeResult.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
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginConfig.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/PluginError.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/ImplementationHelper.swift +0 -0
- /package/ios/{Sources/CapacitorCalendarPlugin → Plugin}/Utils/UIColorFromHexExtension.swift +0 -0
|
@@ -1,13 +1,29 @@
|
|
|
1
|
-
import { EventAvailability } from
|
|
1
|
+
import type { EventAvailability } from '../enums/event-availability';
|
|
2
|
+
import type { EventRecurrenceRule } from './event-recurrence-rule';
|
|
2
3
|
/**
|
|
3
4
|
* @since 7.1.0
|
|
4
5
|
*/
|
|
5
6
|
export interface CreateEventWithPromptOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Alert times in minutes relative to the event start.
|
|
9
|
+
* Use negative numbers for reminders before the start, and positive numbers for reminders after the start.
|
|
10
|
+
* On iOS only 2 alerts are supported.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* // -1440 -> 1 day before
|
|
14
|
+
* // -60 -> 1 hour before
|
|
15
|
+
* // 30 -> 30 minutes after
|
|
16
|
+
* [-1440, -60, 30]
|
|
17
|
+
*
|
|
18
|
+
* @platform iOS
|
|
19
|
+
* @since 7.1.0
|
|
20
|
+
*/
|
|
21
|
+
alerts?: number[];
|
|
6
22
|
/**
|
|
7
23
|
* @platform Android, iOS
|
|
8
|
-
* @since
|
|
24
|
+
* @since 7.1.0
|
|
9
25
|
*/
|
|
10
|
-
|
|
26
|
+
availability?: EventAvailability;
|
|
11
27
|
/**
|
|
12
28
|
* @platform iOS
|
|
13
29
|
* @since 0.1.0
|
|
@@ -15,56 +31,51 @@ export interface CreateEventWithPromptOptions {
|
|
|
15
31
|
calendarId?: string;
|
|
16
32
|
/**
|
|
17
33
|
* @platform Android, iOS
|
|
18
|
-
* @since
|
|
34
|
+
* @since 7.1.0
|
|
19
35
|
*/
|
|
20
|
-
|
|
36
|
+
description?: string;
|
|
21
37
|
/**
|
|
22
38
|
* @platform Android, iOS
|
|
23
39
|
* @since 0.1.0
|
|
24
40
|
*/
|
|
25
|
-
|
|
41
|
+
endDate?: number;
|
|
26
42
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
43
|
+
* An array of emails to invite.
|
|
44
|
+
*
|
|
45
|
+
* @platform Android
|
|
46
|
+
* @since 7.1.0
|
|
29
47
|
*/
|
|
30
|
-
|
|
48
|
+
invitees?: string[];
|
|
31
49
|
/**
|
|
32
50
|
* @platform Android, iOS
|
|
33
51
|
* @since 0.1.0
|
|
34
52
|
*/
|
|
35
53
|
isAllDay?: boolean;
|
|
36
54
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* // 10mins before and 30mins after the event
|
|
42
|
-
* const alerts: [-10, 30]
|
|
43
|
-
*
|
|
44
|
-
* @platform iOS
|
|
45
|
-
* @since 7.1.0
|
|
55
|
+
* @platform Android, iOS
|
|
56
|
+
* @since 0.1.0
|
|
46
57
|
*/
|
|
47
|
-
|
|
58
|
+
location?: string;
|
|
48
59
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
60
|
+
* Rules for creating a recurring event.
|
|
61
|
+
*
|
|
62
|
+
* @platform Android, iOS
|
|
63
|
+
* @since 7.3.0
|
|
51
64
|
*/
|
|
52
|
-
|
|
65
|
+
recurrence?: EventRecurrenceRule;
|
|
53
66
|
/**
|
|
54
67
|
* @platform Android, iOS
|
|
55
|
-
* @since
|
|
68
|
+
* @since 0.1.0
|
|
56
69
|
*/
|
|
57
|
-
|
|
70
|
+
startDate?: number;
|
|
58
71
|
/**
|
|
59
72
|
* @platform Android, iOS
|
|
60
|
-
* @since
|
|
73
|
+
* @since 0.1.0
|
|
61
74
|
*/
|
|
62
|
-
|
|
75
|
+
title?: string;
|
|
63
76
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* @platform Android
|
|
67
|
-
* @since 7.1.0
|
|
77
|
+
* @platform iOS
|
|
78
|
+
* @since 0.1.0
|
|
68
79
|
*/
|
|
69
|
-
|
|
80
|
+
url?: string;
|
|
70
81
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-event-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/create-event-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import { EventAvailability } from
|
|
1
|
+
{"version":3,"file":"create-event-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/create-event-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventAvailability } from '../enums/event-availability';\n\nimport type { EventRecurrenceRule } from './event-recurrence-rule';\n\n/**\n * @since 7.1.0\n */\nexport interface CreateEventWithPromptOptions {\n /**\n * Alert times in minutes relative to the event start.\n * Use negative numbers for reminders before the start, and positive numbers for reminders after the start.\n * On iOS only 2 alerts are supported.\n *\n * @example\n * // -1440 -> 1 day before\n * // -60 -> 1 hour before\n * // 30 -> 30 minutes after\n * [-1440, -60, 30]\n *\n * @platform iOS\n * @since 7.1.0\n */\n alerts?: number[];\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n availability?: EventAvailability;\n /**\n * @platform iOS\n * @since 0.1.0\n */\n calendarId?: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n description?: string;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n endDate?: number;\n /**\n * An array of emails to invite.\n *\n * @platform Android\n * @since 7.1.0\n */\n invitees?: string[];\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n isAllDay?: boolean;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n location?: string;\n /**\n * Rules for creating a recurring event.\n *\n * @platform Android, iOS\n * @since 7.3.0\n */\n recurrence?: EventRecurrenceRule;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n startDate?: number;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n title?: string;\n /**\n * @platform iOS\n * @since 0.1.0\n */\n url?: string;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RecurrenceRule } from
|
|
1
|
+
import type { RecurrenceRule } from './recurrence-rule';
|
|
2
2
|
/**
|
|
3
3
|
* @since 7.1.0
|
|
4
4
|
*/
|
|
@@ -48,6 +48,15 @@ export interface CreateReminderOptions {
|
|
|
48
48
|
*/
|
|
49
49
|
recurrence?: RecurrenceRule;
|
|
50
50
|
/**
|
|
51
|
+
* Alert times in minutes relative to the reminder start.
|
|
52
|
+
* Use negative numbers for alerts before the start, and positive numbers for alerts after the start.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* // -1440 -> 1 day before
|
|
56
|
+
* // -60 -> 1 hour before
|
|
57
|
+
* // 30 -> 30 minutes after
|
|
58
|
+
* [-1440, -60, 30]
|
|
59
|
+
*
|
|
51
60
|
* @since 7.1.0
|
|
52
61
|
*/
|
|
53
62
|
alerts?: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-reminder-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/create-reminder-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { RecurrenceRule } from
|
|
1
|
+
{"version":3,"file":"create-reminder-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/create-reminder-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { RecurrenceRule } from './recurrence-rule';\n\n/**\n * @since 7.1.0\n */\nexport interface CreateReminderOptions {\n /**\n * @since 7.1.0\n */\n title: string;\n /**\n * @since 7.1.0\n */\n listId?: string;\n /**\n * @since 7.1.0\n */\n priority?: number;\n /**\n * @since 7.1.0\n */\n isCompleted?: boolean;\n /**\n * @since 7.1.0\n */\n startDate?: number;\n /**\n * @since 7.1.0\n */\n dueDate?: number;\n /**\n * @since 7.1.0\n */\n completionDate?: number;\n /**\n * @since 7.1.0\n */\n notes?: string;\n /**\n * @since 7.1.0\n */\n url?: string;\n /**\n * @since 7.1.0\n */\n location?: string;\n /**\n * @since 7.1.0\n */\n recurrence?: RecurrenceRule;\n /**\n * Alert times in minutes relative to the reminder start.\n * Use negative numbers for alerts before the start, and positive numbers for alerts after the start.\n *\n * @example\n * // -1440 -> 1 day before\n * // -60 -> 1 hour before\n * // 30 -> 30 minutes after\n * [-1440, -60, 30]\n *\n * @since 7.1.0\n */\n alerts?: number[];\n}\n"]}
|
|
@@ -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 * @since 7.1.0\n */\n id: string;\n /**\n * The span of deletion.\n *\n * @default EventSpan.THIS_EVENT\n * @platform iOS\n * @see 7.1.0\n */\n span?: EventSpan;\n}\n"]}
|
|
@@ -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 * @since 7.1.0\n */\n id: string;\n /**\n * The span of deletion.\n *\n * @default EventSpan.THIS_EVENT\n * @platform iOS\n * @see 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 * Message of the dialog.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n message: string;\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 * 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"]}
|
|
@@ -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 * @since 7.1.0\n */\n ids: string[];\n /**\n * The span of deletion.\n *\n * @default EventSpan.THIS_EVENT\n * @platform iOS\n * @see 7.1.0\n */\n span?: EventSpan;\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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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\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\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\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\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\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\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\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\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\n * @since 7.3.0\n */\n weeksOfTheYear?: number[];\n}\n"]}
|
|
@@ -1,68 +1,91 @@
|
|
|
1
|
-
import { EventAvailability } from
|
|
2
|
-
import type {
|
|
3
|
-
import {
|
|
1
|
+
import type { EventAvailability } from '../enums/event-availability';
|
|
2
|
+
import type { EventSpan } from '../enums/event-span';
|
|
3
|
+
import type { EventGuest } from './event-guest';
|
|
4
|
+
import type { EventRecurrenceRule } from './event-recurrence-rule';
|
|
4
5
|
/**
|
|
5
6
|
* @since 7.1.0
|
|
6
7
|
*/
|
|
7
8
|
export interface ModifyEventOptions {
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
+
* Alert times in minutes relative to the event start.
|
|
11
|
+
* Use negative numbers for alerts before the start, and positive numbers for alerts after the start.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* // -1440 -> 1 day before
|
|
15
|
+
* // -60 -> 1 hour before
|
|
16
|
+
* // 30 -> 30 minutes after
|
|
17
|
+
* [-1440, -60, 30]
|
|
10
18
|
*
|
|
11
19
|
* @platform Android, iOS
|
|
12
20
|
* @since 7.1.0
|
|
13
21
|
*/
|
|
14
|
-
|
|
22
|
+
alerts?: number[];
|
|
23
|
+
/**
|
|
24
|
+
* The event guests.
|
|
25
|
+
*
|
|
26
|
+
* @platform Android
|
|
27
|
+
* @since 7.1.0
|
|
28
|
+
*/
|
|
29
|
+
attendees?: EventGuest[];
|
|
15
30
|
/**
|
|
16
31
|
* @platform Android, iOS
|
|
17
|
-
* @since
|
|
32
|
+
* @since 7.1.0
|
|
18
33
|
*/
|
|
19
|
-
|
|
34
|
+
availability?: EventAvailability;
|
|
20
35
|
/**
|
|
21
36
|
* @platform Android, iOS
|
|
22
37
|
* @since 0.1.0
|
|
23
38
|
*/
|
|
24
39
|
calendarId?: string;
|
|
25
40
|
/**
|
|
26
|
-
* @
|
|
27
|
-
* @
|
|
41
|
+
* @example #6750A4
|
|
42
|
+
* @platform Android
|
|
43
|
+
* @since 7.1.0
|
|
28
44
|
*/
|
|
29
|
-
|
|
45
|
+
color?: string;
|
|
30
46
|
/**
|
|
31
|
-
*
|
|
32
47
|
* @platform Android, iOS
|
|
33
|
-
* @since
|
|
48
|
+
* @since 7.1.0
|
|
34
49
|
*/
|
|
35
|
-
|
|
50
|
+
description?: string;
|
|
36
51
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
52
|
+
* Duration of the event in RFC2445 format.
|
|
53
|
+
*
|
|
54
|
+
* @example P1D (1 day), P3W (3 weeks), P2DT4H30M (2 days, 4 hours, and 30 minutes).
|
|
55
|
+
* @platform Android
|
|
56
|
+
* @see {@link https://datatracker.ietf.org/doc/html/rfc2445}
|
|
57
|
+
* @since 7.1.0
|
|
39
58
|
*/
|
|
40
|
-
|
|
59
|
+
duration?: string;
|
|
41
60
|
/**
|
|
42
61
|
* @platform Android, iOS
|
|
43
62
|
* @since 0.1.0
|
|
44
63
|
*/
|
|
45
|
-
|
|
64
|
+
endDate?: number;
|
|
46
65
|
/**
|
|
66
|
+
* The ID of the event to be modified.
|
|
67
|
+
*
|
|
47
68
|
* @platform Android, iOS
|
|
48
69
|
* @since 7.1.0
|
|
49
70
|
*/
|
|
50
|
-
|
|
71
|
+
id: string;
|
|
51
72
|
/**
|
|
52
|
-
* @platform iOS
|
|
73
|
+
* @platform Android, iOS
|
|
53
74
|
* @since 0.1.0
|
|
54
75
|
*/
|
|
55
|
-
|
|
76
|
+
isAllDay?: boolean;
|
|
56
77
|
/**
|
|
57
78
|
* @platform Android, iOS
|
|
58
|
-
* @since
|
|
79
|
+
* @since 0.1.0
|
|
59
80
|
*/
|
|
60
|
-
|
|
81
|
+
location?: string;
|
|
61
82
|
/**
|
|
83
|
+
* Rules for creating a recurring event.
|
|
84
|
+
*
|
|
62
85
|
* @platform Android, iOS
|
|
63
|
-
* @since 7.
|
|
86
|
+
* @since 7.3.0
|
|
64
87
|
*/
|
|
65
|
-
|
|
88
|
+
recurrence?: EventRecurrenceRule;
|
|
66
89
|
/**
|
|
67
90
|
* Email of the event organizer.
|
|
68
91
|
*
|
|
@@ -71,33 +94,27 @@ export interface ModifyEventOptions {
|
|
|
71
94
|
*/
|
|
72
95
|
organizer?: string;
|
|
73
96
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* @
|
|
97
|
+
* The span of modifications.
|
|
98
|
+
*
|
|
99
|
+
* @default EventSpan.THIS_EVENT
|
|
100
|
+
* @platform iOS
|
|
101
|
+
* @see 7.1.0
|
|
77
102
|
*/
|
|
78
|
-
|
|
103
|
+
span?: EventSpan;
|
|
79
104
|
/**
|
|
80
|
-
* Duration of the event in RFC2445 format.
|
|
81
105
|
*
|
|
82
|
-
* @
|
|
83
|
-
* @
|
|
84
|
-
* @see {@link https://datatracker.ietf.org/doc/html/rfc2445}
|
|
85
|
-
* @since 7.1.0
|
|
106
|
+
* @platform Android, iOS
|
|
107
|
+
* @since 0.1.0
|
|
86
108
|
*/
|
|
87
|
-
|
|
109
|
+
startDate?: number;
|
|
88
110
|
/**
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* @platform Android
|
|
92
|
-
* @since 7.1.0
|
|
111
|
+
* @platform Android, iOS
|
|
112
|
+
* @since 0.4.0
|
|
93
113
|
*/
|
|
94
|
-
|
|
114
|
+
title?: string;
|
|
95
115
|
/**
|
|
96
|
-
* The span of modifications.
|
|
97
|
-
*
|
|
98
|
-
* @default EventSpan.THIS_EVENT
|
|
99
116
|
* @platform iOS
|
|
100
|
-
* @
|
|
117
|
+
* @since 0.1.0
|
|
101
118
|
*/
|
|
102
|
-
|
|
119
|
+
url?: string;
|
|
103
120
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-event-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/modify-event-options.ts"],"names":[],"mappings":"","sourcesContent":["import { EventAvailability } from
|
|
1
|
+
{"version":3,"file":"modify-event-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/modify-event-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventAvailability } from '../enums/event-availability';\nimport type { EventSpan } from '../enums/event-span';\n\nimport type { EventGuest } from './event-guest';\nimport type { EventRecurrenceRule } from './event-recurrence-rule';\n\n/**\n * @since 7.1.0\n */\nexport interface ModifyEventOptions {\n /**\n * Alert times in minutes relative to the event start.\n * Use negative numbers for alerts before the start, and positive numbers for alerts after the start.\n *\n * @example\n * // -1440 -> 1 day before\n * // -60 -> 1 hour before\n * // 30 -> 30 minutes after\n * [-1440, -60, 30]\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n alerts?: number[];\n /**\n * The event guests.\n *\n * @platform Android\n * @since 7.1.0\n */\n attendees?: EventGuest[];\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n availability?: EventAvailability;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n calendarId?: string;\n /**\n * @example #6750A4\n * @platform Android\n * @since 7.1.0\n */\n color?: string;\n /**\n * @platform Android, iOS\n * @since 7.1.0\n */\n description?: string;\n /**\n * Duration of the event in RFC2445 format.\n *\n * @example P1D (1 day), P3W (3 weeks), P2DT4H30M (2 days, 4 hours, and 30 minutes).\n * @platform Android\n * @see {@link https://datatracker.ietf.org/doc/html/rfc2445}\n * @since 7.1.0\n */\n duration?: string;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n endDate?: number;\n /**\n * The ID of the event to be modified.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n isAllDay?: boolean;\n /**\n * @platform Android, iOS\n * @since 0.1.0\n */\n location?: string;\n /**\n * Rules for creating a recurring event.\n *\n * @platform Android, iOS\n * @since 7.3.0\n */\n recurrence?: EventRecurrenceRule;\n /**\n * Email of the event organizer.\n *\n * @platform Android\n * @since 7.1.0\n */\n organizer?: string;\n /**\n * The span of modifications.\n *\n * @default EventSpan.THIS_EVENT\n * @platform iOS\n * @see 7.1.0\n */\n span?: EventSpan;\n /**\n *\n * @platform Android, iOS\n * @since 0.1.0\n */\n startDate?: number;\n /**\n * @platform Android, iOS\n * @since 0.4.0\n */\n title?: string;\n /**\n * @platform iOS\n * @since 0.1.0\n */\n url?: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-event-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/modify-event-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { CreateEventWithPromptOptions } from
|
|
1
|
+
{"version":3,"file":"modify-event-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/modify-event-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { CreateEventWithPromptOptions } from './create-event-with-prompt-options';\n\n/**\n * @since 7.1.0\n */\nexport interface ModifyEventWithPromptOptions extends CreateEventWithPromptOptions {\n /**\n * The ID of the event to be modified.\n *\n * @platform Android, iOS\n * @since 7.1.0\n */\n id: string;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RecurrenceRule } from
|
|
1
|
+
import type { RecurrenceRule } from './recurrence-rule';
|
|
2
2
|
/**
|
|
3
3
|
* @since 7.1.0
|
|
4
4
|
*/
|
|
@@ -52,6 +52,17 @@ export interface ModifyReminderOptions {
|
|
|
52
52
|
*/
|
|
53
53
|
recurrence?: RecurrenceRule;
|
|
54
54
|
/**
|
|
55
|
+
* Alert times in minutes relative to the reminder start.
|
|
56
|
+
* Use negative numbers for alerts before the start, and positive numbers for alerts after the start.
|
|
57
|
+
*
|
|
58
|
+
* On iOS only 2 alerts are supported.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* // -1440 -> 1 day before
|
|
62
|
+
* // -60 -> 1 hour before
|
|
63
|
+
* // 30 -> 30 minutes after
|
|
64
|
+
* [-1440, -60, 30]
|
|
65
|
+
*
|
|
55
66
|
* @since 7.1.0
|
|
56
67
|
*/
|
|
57
68
|
alerts?: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify-reminder-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/modify-reminder-options.ts"],"names":[],"mappings":"","sourcesContent":["import { RecurrenceRule } from
|
|
1
|
+
{"version":3,"file":"modify-reminder-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/modify-reminder-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { RecurrenceRule } from './recurrence-rule';\n\n/**\n * @since 7.1.0\n */\nexport interface ModifyReminderOptions {\n /**\n * @since 7.1.0\n */\n id: string;\n /**\n * @since 7.1.0\n */\n title?: string;\n /**\n * @since 7.1.0\n */\n listId?: string;\n /**\n * @since 7.1.0\n */\n priority?: number;\n /**\n * @since 7.1.0\n */\n isCompleted?: boolean;\n /**\n * @since 7.1.0\n */\n startDate?: number;\n /**\n * @since 7.1.0\n */\n dueDate?: number;\n /**\n * @since 7.1.0\n */\n completionDate?: number;\n /**\n * @since 7.1.0\n */\n notes?: string;\n /**\n * @since 7.1.0\n */\n url?: string;\n /**\n * @since 7.1.0\n */\n location?: string;\n /**\n * @since 7.1.0\n */\n recurrence?: RecurrenceRule;\n /**\n * Alert times in minutes relative to the reminder start.\n * Use negative numbers for alerts before the start, and positive numbers for alerts after the start.\n *\n * On iOS only 2 alerts are supported.\n *\n * @example\n * // -1440 -> 1 day before\n * // -60 -> 1 hour before\n * // 30 -> 30 minutes after\n * [-1440, -60, 30]\n *\n * @since 7.1.0\n */\n alerts?: number[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recurrence-rule.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/recurrence-rule.ts"],"names":[],"mappings":"","sourcesContent":["import { RecurrenceFrequency } from
|
|
1
|
+
{"version":3,"file":"recurrence-rule.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/recurrence-rule.ts"],"names":[],"mappings":"","sourcesContent":["import type { RecurrenceFrequency } from '../types/recurrence-frequency';\n\n/**\n * @since 7.1.0\n */\nexport interface RecurrenceRule {\n /**\n * @since 7.1.0\n */\n frequency: RecurrenceFrequency;\n /**\n * How often it repeats (e.g. 1 for every occurrence, 2 for every second occurrence).\n *\n * @since 7.1.0\n */\n interval: number;\n /**\n * Timestamp of when the recurrence ends.\n *\n * @since 7.1.0\n */\n end?: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reminder-recurrence-rule.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/reminder-recurrence-rule.ts"],"names":[],"mappings":"","sourcesContent":["import { ReminderRecurrenceFrequency } from
|
|
1
|
+
{"version":3,"file":"reminder-recurrence-rule.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/reminder-recurrence-rule.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReminderRecurrenceFrequency } from '../enums/reminder-recurrence-frequency';\n\n/**\n * @deprecated Use `RecurrenceRule`.\n */\nexport interface ReminderRecurrenceRule {\n /**\n * @deprecated Use `RecurrenceRule.frequency`.\n */\n frequency: ReminderRecurrenceFrequency;\n /**\n * @deprecated Use `RecurrenceRule.interval`.\n */\n interval: number;\n /**\n * @deprecated Use `RecurrenceRule.end`.\n */\n end?: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reminder.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/reminder.ts"],"names":[],"mappings":"","sourcesContent":["import type { RecurrenceRule } from
|
|
1
|
+
{"version":3,"file":"reminder.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/reminder.ts"],"names":[],"mappings":"","sourcesContent":["import type { RecurrenceRule } from './recurrence-rule';\n\n/**\n * @since 7.1.0\n */\nexport interface Reminder {\n /**\n * @since 7.1.0\n */\n id: string;\n /**\n * @since 7.1.0\n */\n title: string | null;\n /**\n * @since 7.1.0\n */\n listId: string | null;\n /**\n * @since 7.1.0\n */\n isCompleted: boolean;\n /**\n * @since 7.1.0\n */\n priority: number | null;\n /**\n * @since 7.1.0\n */\n notes: string | null;\n /**\n * @since 7.1.0\n */\n location: string | null;\n /**\n * @since 7.1.0\n */\n url: string | null;\n /**\n * @since 7.1.0\n */\n startDate: number | null;\n /**\n * @since 7.1.0\n */\n dueDate: number | null;\n /**\n * @since 7.1.0\n */\n completionDate: number | null;\n /**\n * @since 7.1.0\n */\n recurrence: RecurrenceRule[];\n /**\n * @since 7.1.0\n */\n alerts: number[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reminders-list.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/reminders-list.ts"],"names":[],"mappings":"","sourcesContent":["import { Calendar } from
|
|
1
|
+
{"version":3,"file":"reminders-list.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/reminders-list.ts"],"names":[],"mappings":"","sourcesContent":["import type { Calendar } from './calendar';\n\n/**\n * @since 7.1.0\n */\nexport type RemindersList = Calendar;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-calendars-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/select-calendars-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import { CalendarChooserDisplayStyle } from
|
|
1
|
+
{"version":3,"file":"select-calendars-with-prompt-options.js","sourceRoot":"","sources":["../../../../src/schemas/interfaces/select-calendars-with-prompt-options.ts"],"names":[],"mappings":"","sourcesContent":["import type { CalendarChooserDisplayStyle } from '../enums/calendar-chooser-display-style';\n\n/**\n * @since 7.1.0\n */\nexport interface SelectCalendarsWithPromptOptions {\n /**\n * @default CalendarChooserDisplayStyle.ALL_CALENDARS\n * @since 7.1.0\n */\n displayStyle?: CalendarChooserDisplayStyle;\n /**\n * Allow multiple selections.\n *\n * @default false\n * @since 7.1.0\n */\n multiple?: boolean;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-edit-action.js","sourceRoot":"","sources":["../../../../src/schemas/types/event-edit-action.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport type EventEditAction =
|
|
1
|
+
{"version":3,"file":"event-edit-action.js","sourceRoot":"","sources":["../../../../src/schemas/types/event-edit-action.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * @since 7.1.0\n */\nexport type EventEditAction = 'canceled' | 'saved' | 'deleted';\n"]}
|