@ebarooni/capacitor-calendar 8.4.0 → 8.6.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 +179 -241
- package/android/src/main/java/dev/barooni/capacitor/calendar/implementation/CapacitorCalendar.kt +82 -0
- 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/results/CreateEventResult.kt +1 -0
- package/android/src/main/java/dev/barooni/capacitor/calendar/models/results/ListEventsInRangeResult.kt +4 -0
- package/dist/docs.json +380 -156
- package/dist/esm/index.d.ts +6 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/schemas/interfaces/calendar-event.d.ts +140 -67
- package/dist/esm/schemas/interfaces/calendar-event.js.map +1 -1
- package/dist/esm/schemas/interfaces/create-event-options.d.ts +22 -13
- package/dist/esm/schemas/interfaces/create-event-options.js.map +1 -1
- package/dist/esm/schemas/interfaces/create-event-result.d.ts +24 -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-result.d.ts +14 -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/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/sub-definitions/event-operations.d.ts +22 -12
- package/dist/esm/sub-definitions/event-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 +21 -0
- package/dist/esm/web/ics.js +252 -0
- package/dist/esm/web/ics.js.map +1 -0
- package/dist/esm/web.d.ts +6 -10
- package/dist/esm/web.js +13 -2
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +297 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +297 -2
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/Implementation/CapacitorCalendar.swift +1 -1
- package/ios/Plugin/Models/Results/CreateEventResult.swift +1 -0
- package/ios/Plugin/Models/Results/ListEventsInRangeResult.swift +15 -2
- package/ios/Plugin/Utils/ImplementationHelper.swift +47 -3
- package/package.json +3 -3
package/dist/docs.json
CHANGED
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
},
|
|
258
258
|
{
|
|
259
259
|
"name": "createEventWithPrompt",
|
|
260
|
-
"signature": "(options?: CreateEventWithPromptOptions | undefined) => Promise<
|
|
260
|
+
"signature": "(options?: CreateEventWithPromptOptions | undefined) => Promise<CreateEventWithPromptResult>",
|
|
261
261
|
"parameters": [
|
|
262
262
|
{
|
|
263
263
|
"name": "options",
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
"type": "CreateEventWithPromptOptions | undefined"
|
|
266
266
|
}
|
|
267
267
|
],
|
|
268
|
-
"returns": "Promise<
|
|
268
|
+
"returns": "Promise<CreateEventWithPromptResult>",
|
|
269
269
|
"tags": [
|
|
270
270
|
{
|
|
271
271
|
"name": "example",
|
|
@@ -280,8 +280,9 @@
|
|
|
280
280
|
"text": "0.1.0"
|
|
281
281
|
}
|
|
282
282
|
],
|
|
283
|
-
"docs": "Opens the system calendar interface to create a new event.\nOn Android always returns `null`.\nFetch the events to find the ID of the newly created event.",
|
|
283
|
+
"docs": "Opens the system calendar interface to create a new event.\nOn Android always returns `null` for `id`.\nFetch the events to find the ID of the newly created event.",
|
|
284
284
|
"complexTypes": [
|
|
285
|
+
"CreateEventWithPromptResult",
|
|
285
286
|
"CreateEventWithPromptOptions"
|
|
286
287
|
],
|
|
287
288
|
"slug": "createeventwithprompt"
|
|
@@ -320,7 +321,7 @@
|
|
|
320
321
|
},
|
|
321
322
|
{
|
|
322
323
|
"name": "createEvent",
|
|
323
|
-
"signature": "(options: CreateEventOptions) => Promise<
|
|
324
|
+
"signature": "(options: CreateEventOptions) => Promise<CreateEventResult>",
|
|
324
325
|
"parameters": [
|
|
325
326
|
{
|
|
326
327
|
"name": "options",
|
|
@@ -328,19 +329,24 @@
|
|
|
328
329
|
"type": "CreateEventOptions"
|
|
329
330
|
}
|
|
330
331
|
],
|
|
331
|
-
"returns": "Promise<
|
|
332
|
+
"returns": "Promise<CreateEventResult>",
|
|
332
333
|
"tags": [
|
|
334
|
+
{
|
|
335
|
+
"name": "example",
|
|
336
|
+
"text": "const { id, ics } = await CapacitorCalendar.createEvent({\n title: 'Team standup',\n startDate: Date.now(),\n icsFileName: 'team-standup.ics',\n});\nif (ics) {\n await downloadIcsFile(ics);\n}"
|
|
337
|
+
},
|
|
333
338
|
{
|
|
334
339
|
"name": "platform",
|
|
335
|
-
"text": "iOS,
|
|
340
|
+
"text": "Android, iOS, Web"
|
|
336
341
|
},
|
|
337
342
|
{
|
|
338
343
|
"name": "since",
|
|
339
344
|
"text": "0.4.0"
|
|
340
345
|
}
|
|
341
346
|
],
|
|
342
|
-
"docs": "Creates an event in the calendar.",
|
|
347
|
+
"docs": "Creates an event in the calendar.\nOn Android and iOS, inserts into the system calendar and returns its `id`.\nOn Web, there is no system calendar store: builds an `.ics` `File` as `ics`.\nThe app must download or open that file (for example with `downloadIcsFile(...)`);\nthis method does not trigger a download.",
|
|
343
348
|
"complexTypes": [
|
|
349
|
+
"CreateEventResult",
|
|
344
350
|
"CreateEventOptions"
|
|
345
351
|
],
|
|
346
352
|
"slug": "createevent"
|
|
@@ -460,7 +466,7 @@
|
|
|
460
466
|
},
|
|
461
467
|
{
|
|
462
468
|
"name": "listEventsInRange",
|
|
463
|
-
"signature": "(options: ListEventsInRangeOptions) => Promise<
|
|
469
|
+
"signature": "(options: ListEventsInRangeOptions) => Promise<ListEventsInRangeResult>",
|
|
464
470
|
"parameters": [
|
|
465
471
|
{
|
|
466
472
|
"name": "options",
|
|
@@ -468,7 +474,7 @@
|
|
|
468
474
|
"type": "ListEventsInRangeOptions"
|
|
469
475
|
}
|
|
470
476
|
],
|
|
471
|
-
"returns": "Promise<
|
|
477
|
+
"returns": "Promise<ListEventsInRangeResult>",
|
|
472
478
|
"tags": [
|
|
473
479
|
{
|
|
474
480
|
"name": "example",
|
|
@@ -485,7 +491,7 @@
|
|
|
485
491
|
],
|
|
486
492
|
"docs": "Retrieves events that overlap a date range.\n\nAn event is included when its time interval intersects `[from, to]`, including\nmulti-day events that span the range without starting or ending inside it.",
|
|
487
493
|
"complexTypes": [
|
|
488
|
-
"
|
|
494
|
+
"ListEventsInRangeResult",
|
|
489
495
|
"ListEventsInRangeOptions"
|
|
490
496
|
],
|
|
491
497
|
"slug": "listeventsinrange"
|
|
@@ -1225,6 +1231,36 @@
|
|
|
1225
1231
|
}
|
|
1226
1232
|
]
|
|
1227
1233
|
},
|
|
1234
|
+
{
|
|
1235
|
+
"name": "CreateEventWithPromptResult",
|
|
1236
|
+
"slug": "createeventwithpromptresult",
|
|
1237
|
+
"docs": "",
|
|
1238
|
+
"tags": [
|
|
1239
|
+
{
|
|
1240
|
+
"text": "8.5.0",
|
|
1241
|
+
"name": "since"
|
|
1242
|
+
}
|
|
1243
|
+
],
|
|
1244
|
+
"methods": [],
|
|
1245
|
+
"properties": [
|
|
1246
|
+
{
|
|
1247
|
+
"name": "id",
|
|
1248
|
+
"tags": [
|
|
1249
|
+
{
|
|
1250
|
+
"text": "Android, iOS",
|
|
1251
|
+
"name": "platform"
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"text": "0.1.0",
|
|
1255
|
+
"name": "since"
|
|
1256
|
+
}
|
|
1257
|
+
],
|
|
1258
|
+
"docs": "The identifier of the created event.\nAlways `null` on Android.\nPresent on iOS when the user saves.",
|
|
1259
|
+
"complexTypes": [],
|
|
1260
|
+
"type": "string | null"
|
|
1261
|
+
}
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1228
1264
|
{
|
|
1229
1265
|
"name": "CreateEventWithPromptOptions",
|
|
1230
1266
|
"slug": "createeventwithpromptoptions",
|
|
@@ -1864,6 +1900,54 @@
|
|
|
1864
1900
|
}
|
|
1865
1901
|
]
|
|
1866
1902
|
},
|
|
1903
|
+
{
|
|
1904
|
+
"name": "CreateEventResult",
|
|
1905
|
+
"slug": "createeventresult",
|
|
1906
|
+
"docs": "",
|
|
1907
|
+
"tags": [
|
|
1908
|
+
{
|
|
1909
|
+
"text": "8.5.0",
|
|
1910
|
+
"name": "since"
|
|
1911
|
+
}
|
|
1912
|
+
],
|
|
1913
|
+
"methods": [],
|
|
1914
|
+
"properties": [
|
|
1915
|
+
{
|
|
1916
|
+
"name": "ics",
|
|
1917
|
+
"tags": [
|
|
1918
|
+
{
|
|
1919
|
+
"text": "Web",
|
|
1920
|
+
"name": "platform"
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
"text": "8.5.0",
|
|
1924
|
+
"name": "since"
|
|
1925
|
+
}
|
|
1926
|
+
],
|
|
1927
|
+
"docs": "An `.ics` file (`text/calendar`) with one `VEVENT`.\nAlways `null` on Android and iOS.\nOn Web, the plugin does not write to a calendar store or start a download;\nuse `downloadIcsFile(...)` or pass the `File` to another API.",
|
|
1928
|
+
"complexTypes": [
|
|
1929
|
+
"File"
|
|
1930
|
+
],
|
|
1931
|
+
"type": "File | null"
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
"name": "id",
|
|
1935
|
+
"tags": [
|
|
1936
|
+
{
|
|
1937
|
+
"text": "Android, iOS",
|
|
1938
|
+
"name": "platform"
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"text": "0.4.0",
|
|
1942
|
+
"name": "since"
|
|
1943
|
+
}
|
|
1944
|
+
],
|
|
1945
|
+
"docs": "The identifier of the created event.\nAlways `null` on Web.\nPresent on Android and iOS after a successful create.",
|
|
1946
|
+
"complexTypes": [],
|
|
1947
|
+
"type": "string | null"
|
|
1948
|
+
}
|
|
1949
|
+
]
|
|
1950
|
+
},
|
|
1867
1951
|
{
|
|
1868
1952
|
"name": "CreateEventOptions",
|
|
1869
1953
|
"slug": "createeventoptions",
|
|
@@ -1884,7 +1968,7 @@
|
|
|
1884
1968
|
"name": "example"
|
|
1885
1969
|
},
|
|
1886
1970
|
{
|
|
1887
|
-
"text": "Android, iOS",
|
|
1971
|
+
"text": "Android, iOS, Web",
|
|
1888
1972
|
"name": "platform"
|
|
1889
1973
|
},
|
|
1890
1974
|
{
|
|
@@ -1900,7 +1984,7 @@
|
|
|
1900
1984
|
"name": "attendees",
|
|
1901
1985
|
"tags": [
|
|
1902
1986
|
{
|
|
1903
|
-
"text": "Android",
|
|
1987
|
+
"text": "Android, Web",
|
|
1904
1988
|
"name": "platform"
|
|
1905
1989
|
},
|
|
1906
1990
|
{
|
|
@@ -1918,7 +2002,7 @@
|
|
|
1918
2002
|
"name": "availability",
|
|
1919
2003
|
"tags": [
|
|
1920
2004
|
{
|
|
1921
|
-
"text": "Android, iOS",
|
|
2005
|
+
"text": "Android, iOS, Web",
|
|
1922
2006
|
"name": "platform"
|
|
1923
2007
|
},
|
|
1924
2008
|
{
|
|
@@ -2000,7 +2084,7 @@
|
|
|
2000
2084
|
"name": "description",
|
|
2001
2085
|
"tags": [
|
|
2002
2086
|
{
|
|
2003
|
-
"text": "Android, iOS",
|
|
2087
|
+
"text": "Android, iOS, Web",
|
|
2004
2088
|
"name": "platform"
|
|
2005
2089
|
},
|
|
2006
2090
|
{
|
|
@@ -2044,7 +2128,7 @@
|
|
|
2044
2128
|
"name": "endDate",
|
|
2045
2129
|
"tags": [
|
|
2046
2130
|
{
|
|
2047
|
-
"text": "Android, iOS",
|
|
2131
|
+
"text": "Android, iOS, Web",
|
|
2048
2132
|
"name": "platform"
|
|
2049
2133
|
},
|
|
2050
2134
|
{
|
|
@@ -2056,11 +2140,31 @@
|
|
|
2056
2140
|
"complexTypes": [],
|
|
2057
2141
|
"type": "number | undefined"
|
|
2058
2142
|
},
|
|
2143
|
+
{
|
|
2144
|
+
"name": "icsFileName",
|
|
2145
|
+
"tags": [
|
|
2146
|
+
{
|
|
2147
|
+
"text": "'team-standup.ics'",
|
|
2148
|
+
"name": "example"
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
"text": "Web",
|
|
2152
|
+
"name": "platform"
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
"text": "8.5.0",
|
|
2156
|
+
"name": "since"
|
|
2157
|
+
}
|
|
2158
|
+
],
|
|
2159
|
+
"docs": "Download filename for the `.ics` file.\nWhen omitted, a name is derived from `title` (fallback `event.ics`).\nIf the value has no `.ics` extension, `.ics` is appended.",
|
|
2160
|
+
"complexTypes": [],
|
|
2161
|
+
"type": "string | undefined"
|
|
2162
|
+
},
|
|
2059
2163
|
{
|
|
2060
2164
|
"name": "isAllDay",
|
|
2061
2165
|
"tags": [
|
|
2062
2166
|
{
|
|
2063
|
-
"text": "Android, iOS",
|
|
2167
|
+
"text": "Android, iOS, Web",
|
|
2064
2168
|
"name": "platform"
|
|
2065
2169
|
},
|
|
2066
2170
|
{
|
|
@@ -2076,7 +2180,7 @@
|
|
|
2076
2180
|
"name": "location",
|
|
2077
2181
|
"tags": [
|
|
2078
2182
|
{
|
|
2079
|
-
"text": "Android, iOS",
|
|
2183
|
+
"text": "Android, iOS, Web",
|
|
2080
2184
|
"name": "platform"
|
|
2081
2185
|
},
|
|
2082
2186
|
{
|
|
@@ -2092,7 +2196,7 @@
|
|
|
2092
2196
|
"name": "organizer",
|
|
2093
2197
|
"tags": [
|
|
2094
2198
|
{
|
|
2095
|
-
"text": "Android",
|
|
2199
|
+
"text": "Android, Web",
|
|
2096
2200
|
"name": "platform"
|
|
2097
2201
|
},
|
|
2098
2202
|
{
|
|
@@ -2108,7 +2212,7 @@
|
|
|
2108
2212
|
"name": "recurrence",
|
|
2109
2213
|
"tags": [
|
|
2110
2214
|
{
|
|
2111
|
-
"text": "Android, iOS",
|
|
2215
|
+
"text": "Android, iOS, Web",
|
|
2112
2216
|
"name": "platform"
|
|
2113
2217
|
},
|
|
2114
2218
|
{
|
|
@@ -2126,7 +2230,7 @@
|
|
|
2126
2230
|
"name": "startDate",
|
|
2127
2231
|
"tags": [
|
|
2128
2232
|
{
|
|
2129
|
-
"text": "Android, iOS",
|
|
2233
|
+
"text": "Android, iOS, Web",
|
|
2130
2234
|
"name": "platform"
|
|
2131
2235
|
},
|
|
2132
2236
|
{
|
|
@@ -2142,7 +2246,7 @@
|
|
|
2142
2246
|
"name": "title",
|
|
2143
2247
|
"tags": [
|
|
2144
2248
|
{
|
|
2145
|
-
"text": "Android, iOS",
|
|
2249
|
+
"text": "Android, iOS, Web",
|
|
2146
2250
|
"name": "platform"
|
|
2147
2251
|
},
|
|
2148
2252
|
{
|
|
@@ -2158,7 +2262,7 @@
|
|
|
2158
2262
|
"name": "url",
|
|
2159
2263
|
"tags": [
|
|
2160
2264
|
{
|
|
2161
|
-
"text": "iOS",
|
|
2265
|
+
"text": "iOS, Web",
|
|
2162
2266
|
"name": "platform"
|
|
2163
2267
|
},
|
|
2164
2268
|
{
|
|
@@ -2922,6 +3026,38 @@
|
|
|
2922
3026
|
}
|
|
2923
3027
|
]
|
|
2924
3028
|
},
|
|
3029
|
+
{
|
|
3030
|
+
"name": "ListEventsInRangeResult",
|
|
3031
|
+
"slug": "listeventsinrangeresult",
|
|
3032
|
+
"docs": "",
|
|
3033
|
+
"tags": [
|
|
3034
|
+
{
|
|
3035
|
+
"text": "8.6.0",
|
|
3036
|
+
"name": "since"
|
|
3037
|
+
}
|
|
3038
|
+
],
|
|
3039
|
+
"methods": [],
|
|
3040
|
+
"properties": [
|
|
3041
|
+
{
|
|
3042
|
+
"name": "result",
|
|
3043
|
+
"tags": [
|
|
3044
|
+
{
|
|
3045
|
+
"text": "Android, iOS",
|
|
3046
|
+
"name": "platform"
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
"text": "8.6.0",
|
|
3050
|
+
"name": "since"
|
|
3051
|
+
}
|
|
3052
|
+
],
|
|
3053
|
+
"docs": "Events that overlap the requested range.",
|
|
3054
|
+
"complexTypes": [
|
|
3055
|
+
"CalendarEvent"
|
|
3056
|
+
],
|
|
3057
|
+
"type": "CalendarEvent[]"
|
|
3058
|
+
}
|
|
3059
|
+
]
|
|
3060
|
+
},
|
|
2925
3061
|
{
|
|
2926
3062
|
"name": "CalendarEvent",
|
|
2927
3063
|
"slug": "calendarevent",
|
|
@@ -2935,7 +3071,7 @@
|
|
|
2935
3071
|
"methods": [],
|
|
2936
3072
|
"properties": [
|
|
2937
3073
|
{
|
|
2938
|
-
"name": "
|
|
3074
|
+
"name": "alerts",
|
|
2939
3075
|
"tags": [
|
|
2940
3076
|
{
|
|
2941
3077
|
"text": "Android, iOS",
|
|
@@ -2946,12 +3082,12 @@
|
|
|
2946
3082
|
"name": "since"
|
|
2947
3083
|
}
|
|
2948
3084
|
],
|
|
2949
|
-
"docs": "",
|
|
3085
|
+
"docs": "Alert times in minutes relative to the event start.",
|
|
2950
3086
|
"complexTypes": [],
|
|
2951
|
-
"type": "
|
|
3087
|
+
"type": "number[]"
|
|
2952
3088
|
},
|
|
2953
3089
|
{
|
|
2954
|
-
"name": "
|
|
3090
|
+
"name": "attendees",
|
|
2955
3091
|
"tags": [
|
|
2956
3092
|
{
|
|
2957
3093
|
"text": "Android, iOS",
|
|
@@ -2963,11 +3099,15 @@
|
|
|
2963
3099
|
}
|
|
2964
3100
|
],
|
|
2965
3101
|
"docs": "",
|
|
2966
|
-
"complexTypes": [
|
|
2967
|
-
|
|
3102
|
+
"complexTypes": [
|
|
3103
|
+
"AttendeeRole",
|
|
3104
|
+
"AttendeeStatus",
|
|
3105
|
+
"AttendeeType"
|
|
3106
|
+
],
|
|
3107
|
+
"type": "{ email: string | null; name: string | null; role: AttendeeRole | null; status: AttendeeStatus | null; type: AttendeeType | null; }[]"
|
|
2968
3108
|
},
|
|
2969
3109
|
{
|
|
2970
|
-
"name": "
|
|
3110
|
+
"name": "availability",
|
|
2971
3111
|
"tags": [
|
|
2972
3112
|
{
|
|
2973
3113
|
"text": "Android, iOS",
|
|
@@ -2979,16 +3119,26 @@
|
|
|
2979
3119
|
}
|
|
2980
3120
|
],
|
|
2981
3121
|
"docs": "",
|
|
2982
|
-
"complexTypes": [
|
|
2983
|
-
|
|
3122
|
+
"complexTypes": [
|
|
3123
|
+
"EventAvailability"
|
|
3124
|
+
],
|
|
3125
|
+
"type": "EventAvailability | null"
|
|
2984
3126
|
},
|
|
2985
3127
|
{
|
|
2986
|
-
"name": "
|
|
3128
|
+
"name": "birthdayContactIdentifier",
|
|
2987
3129
|
"tags": [
|
|
2988
3130
|
{
|
|
2989
|
-
"text": "
|
|
3131
|
+
"text": "iOS",
|
|
2990
3132
|
"name": "platform"
|
|
2991
3133
|
},
|
|
3134
|
+
{
|
|
3135
|
+
"text": "{",
|
|
3136
|
+
"name": "see"
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
"text": "https://developer.apple.com/documentation/eventkit/ekevent/birthdaycontactidentifier}",
|
|
3140
|
+
"name": "link"
|
|
3141
|
+
},
|
|
2992
3142
|
{
|
|
2993
3143
|
"text": "7.1.0",
|
|
2994
3144
|
"name": "since"
|
|
@@ -2999,7 +3149,7 @@
|
|
|
2999
3149
|
"type": "string | null"
|
|
3000
3150
|
},
|
|
3001
3151
|
{
|
|
3002
|
-
"name": "
|
|
3152
|
+
"name": "calendarId",
|
|
3003
3153
|
"tags": [
|
|
3004
3154
|
{
|
|
3005
3155
|
"text": "Android, iOS",
|
|
@@ -3012,26 +3162,38 @@
|
|
|
3012
3162
|
],
|
|
3013
3163
|
"docs": "",
|
|
3014
3164
|
"complexTypes": [],
|
|
3015
|
-
"type": "
|
|
3165
|
+
"type": "string | null"
|
|
3016
3166
|
},
|
|
3017
3167
|
{
|
|
3018
|
-
"name": "
|
|
3168
|
+
"name": "calendarItemExternalIdentifier",
|
|
3019
3169
|
"tags": [
|
|
3020
3170
|
{
|
|
3021
|
-
"text": "
|
|
3171
|
+
"text": "\"1A2B3C4D-....\"",
|
|
3172
|
+
"name": "example"
|
|
3173
|
+
},
|
|
3174
|
+
{
|
|
3175
|
+
"text": "iOS",
|
|
3022
3176
|
"name": "platform"
|
|
3023
3177
|
},
|
|
3024
3178
|
{
|
|
3025
|
-
"text": "
|
|
3179
|
+
"text": "{",
|
|
3180
|
+
"name": "see"
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
"text": "https://developer.apple.com/documentation/eventkit/ekcalendaritem/calendaritemexternalidentifier}",
|
|
3184
|
+
"name": "link"
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
"text": "8.6.0",
|
|
3026
3188
|
"name": "since"
|
|
3027
3189
|
}
|
|
3028
3190
|
],
|
|
3029
|
-
"docs": "",
|
|
3191
|
+
"docs": "A stable external id for this calendar item.\n\nOn iOS this is set when the system provides it. On Android and web it is\nalways `null`. Use `masterId` on Android for the series master id.\n\nDo not treat this field as the same as `masterId`.\nThey identify different things on different platforms.\n\nFor non-detached occurrences of a series, this value is shared across\nthose occurrences. On one device, `id` is often already shared for them.\nThis field is mainly useful as a stable id across devices.\n\nDetached exceptions usually get a new identifier.\nYou cannot find the original series from this value.\nUse `isDetached` and `isPartOfSeries` instead.\nDo not pass this value where the plugin expects an event `id`.",
|
|
3030
3192
|
"complexTypes": [],
|
|
3031
|
-
"type": "
|
|
3193
|
+
"type": "string | null"
|
|
3032
3194
|
},
|
|
3033
3195
|
{
|
|
3034
|
-
"name": "
|
|
3196
|
+
"name": "color",
|
|
3035
3197
|
"tags": [
|
|
3036
3198
|
{
|
|
3037
3199
|
"text": "Android, iOS",
|
|
@@ -3044,13 +3206,13 @@
|
|
|
3044
3206
|
],
|
|
3045
3207
|
"docs": "",
|
|
3046
3208
|
"complexTypes": [],
|
|
3047
|
-
"type": "
|
|
3209
|
+
"type": "string | null"
|
|
3048
3210
|
},
|
|
3049
3211
|
{
|
|
3050
|
-
"name": "
|
|
3212
|
+
"name": "creationDate",
|
|
3051
3213
|
"tags": [
|
|
3052
3214
|
{
|
|
3053
|
-
"text": "
|
|
3215
|
+
"text": "iOS",
|
|
3054
3216
|
"name": "platform"
|
|
3055
3217
|
},
|
|
3056
3218
|
{
|
|
@@ -3058,15 +3220,15 @@
|
|
|
3058
3220
|
"name": "since"
|
|
3059
3221
|
}
|
|
3060
3222
|
],
|
|
3061
|
-
"docs": "
|
|
3223
|
+
"docs": "",
|
|
3062
3224
|
"complexTypes": [],
|
|
3063
|
-
"type": "number
|
|
3225
|
+
"type": "number | null"
|
|
3064
3226
|
},
|
|
3065
3227
|
{
|
|
3066
|
-
"name": "
|
|
3228
|
+
"name": "description",
|
|
3067
3229
|
"tags": [
|
|
3068
3230
|
{
|
|
3069
|
-
"text": "iOS",
|
|
3231
|
+
"text": "Android, iOS",
|
|
3070
3232
|
"name": "platform"
|
|
3071
3233
|
},
|
|
3072
3234
|
{
|
|
@@ -3079,10 +3241,10 @@
|
|
|
3079
3241
|
"type": "string | null"
|
|
3080
3242
|
},
|
|
3081
3243
|
{
|
|
3082
|
-
"name": "
|
|
3244
|
+
"name": "duration",
|
|
3083
3245
|
"tags": [
|
|
3084
3246
|
{
|
|
3085
|
-
"text": "Android
|
|
3247
|
+
"text": "Android",
|
|
3086
3248
|
"name": "platform"
|
|
3087
3249
|
},
|
|
3088
3250
|
{
|
|
@@ -3095,7 +3257,7 @@
|
|
|
3095
3257
|
"type": "string | null"
|
|
3096
3258
|
},
|
|
3097
3259
|
{
|
|
3098
|
-
"name": "
|
|
3260
|
+
"name": "endDate",
|
|
3099
3261
|
"tags": [
|
|
3100
3262
|
{
|
|
3101
3263
|
"text": "Android, iOS",
|
|
@@ -3107,13 +3269,11 @@
|
|
|
3107
3269
|
}
|
|
3108
3270
|
],
|
|
3109
3271
|
"docs": "",
|
|
3110
|
-
"complexTypes": [
|
|
3111
|
-
|
|
3112
|
-
],
|
|
3113
|
-
"type": "EventAvailability | null"
|
|
3272
|
+
"complexTypes": [],
|
|
3273
|
+
"type": "number"
|
|
3114
3274
|
},
|
|
3115
3275
|
{
|
|
3116
|
-
"name": "
|
|
3276
|
+
"name": "id",
|
|
3117
3277
|
"tags": [
|
|
3118
3278
|
{
|
|
3119
3279
|
"text": "Android, iOS",
|
|
@@ -3126,10 +3286,10 @@
|
|
|
3126
3286
|
],
|
|
3127
3287
|
"docs": "",
|
|
3128
3288
|
"complexTypes": [],
|
|
3129
|
-
"type": "string
|
|
3289
|
+
"type": "string"
|
|
3130
3290
|
},
|
|
3131
3291
|
{
|
|
3132
|
-
"name": "
|
|
3292
|
+
"name": "isAllDay",
|
|
3133
3293
|
"tags": [
|
|
3134
3294
|
{
|
|
3135
3295
|
"text": "Android, iOS",
|
|
@@ -3142,13 +3302,13 @@
|
|
|
3142
3302
|
],
|
|
3143
3303
|
"docs": "",
|
|
3144
3304
|
"complexTypes": [],
|
|
3145
|
-
"type": "
|
|
3305
|
+
"type": "boolean"
|
|
3146
3306
|
},
|
|
3147
3307
|
{
|
|
3148
|
-
"name": "
|
|
3308
|
+
"name": "isDetached",
|
|
3149
3309
|
"tags": [
|
|
3150
3310
|
{
|
|
3151
|
-
"text": "
|
|
3311
|
+
"text": "iOS",
|
|
3152
3312
|
"name": "platform"
|
|
3153
3313
|
},
|
|
3154
3314
|
{
|
|
@@ -3158,10 +3318,30 @@
|
|
|
3158
3318
|
],
|
|
3159
3319
|
"docs": "",
|
|
3160
3320
|
"complexTypes": [],
|
|
3161
|
-
"type": "
|
|
3321
|
+
"type": "boolean | null"
|
|
3162
3322
|
},
|
|
3163
3323
|
{
|
|
3164
|
-
"name": "
|
|
3324
|
+
"name": "isPartOfSeries",
|
|
3325
|
+
"tags": [
|
|
3326
|
+
{
|
|
3327
|
+
"text": "true",
|
|
3328
|
+
"name": "example"
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
"text": "Android, iOS",
|
|
3332
|
+
"name": "platform"
|
|
3333
|
+
},
|
|
3334
|
+
{
|
|
3335
|
+
"text": "8.6.0",
|
|
3336
|
+
"name": "since"
|
|
3337
|
+
}
|
|
3338
|
+
],
|
|
3339
|
+
"docs": "Whether this event belongs to a recurring series.\n\n`true` for series occurrences and detached exceptions.\n`false` for one-off events.\n\nDetached exceptions also set `isDetached` (iOS only).",
|
|
3340
|
+
"complexTypes": [],
|
|
3341
|
+
"type": "boolean"
|
|
3342
|
+
},
|
|
3343
|
+
{
|
|
3344
|
+
"name": "lastModifiedDate",
|
|
3165
3345
|
"tags": [
|
|
3166
3346
|
{
|
|
3167
3347
|
"text": "iOS",
|
|
@@ -3174,34 +3354,46 @@
|
|
|
3174
3354
|
],
|
|
3175
3355
|
"docs": "",
|
|
3176
3356
|
"complexTypes": [],
|
|
3177
|
-
"type": "
|
|
3357
|
+
"type": "number | null"
|
|
3178
3358
|
},
|
|
3179
3359
|
{
|
|
3180
|
-
"name": "
|
|
3360
|
+
"name": "location",
|
|
3181
3361
|
"tags": [
|
|
3182
3362
|
{
|
|
3183
|
-
"text": "iOS",
|
|
3363
|
+
"text": "Android, iOS",
|
|
3184
3364
|
"name": "platform"
|
|
3185
3365
|
},
|
|
3186
3366
|
{
|
|
3187
|
-
"text": "
|
|
3188
|
-
"name": "
|
|
3367
|
+
"text": "7.1.0",
|
|
3368
|
+
"name": "since"
|
|
3369
|
+
}
|
|
3370
|
+
],
|
|
3371
|
+
"docs": "",
|
|
3372
|
+
"complexTypes": [],
|
|
3373
|
+
"type": "string | null"
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
"name": "masterId",
|
|
3377
|
+
"tags": [
|
|
3378
|
+
{
|
|
3379
|
+
"text": "\"42\"",
|
|
3380
|
+
"name": "example"
|
|
3189
3381
|
},
|
|
3190
3382
|
{
|
|
3191
|
-
"text": "
|
|
3192
|
-
"name": "
|
|
3383
|
+
"text": "Android",
|
|
3384
|
+
"name": "platform"
|
|
3193
3385
|
},
|
|
3194
3386
|
{
|
|
3195
|
-
"text": "
|
|
3387
|
+
"text": "8.6.0",
|
|
3196
3388
|
"name": "since"
|
|
3197
3389
|
}
|
|
3198
3390
|
],
|
|
3199
|
-
"docs": "",
|
|
3391
|
+
"docs": "The id of the series master for this listed occurrence.\n\nOn Android this is always a string. On iOS and web it is always `null`.\niOS has no public master event id. Use `calendarItemExternalIdentifier`\non iOS instead.\n\nDo not treat this field as the same as `calendarItemExternalIdentifier`.\nThey identify different things on different platforms.\n\nIf this row is the master or a one-shot event, `masterId` equals `id`.\nIf this row is an exception, `id` is the exception and `masterId` is the\nseries master.\n\nTo modify or delete the whole series, pass `masterId` as the `id` option.\nYou still need `span` and `instanceDate` when those APIs require them.\n\nIn rare sync cases, an exception may temporarily report `masterId` equal\nto `id` until the platform links it to the series master.",
|
|
3200
3392
|
"complexTypes": [],
|
|
3201
3393
|
"type": "string | null"
|
|
3202
3394
|
},
|
|
3203
3395
|
{
|
|
3204
|
-
"name": "
|
|
3396
|
+
"name": "organizer",
|
|
3205
3397
|
"tags": [
|
|
3206
3398
|
{
|
|
3207
3399
|
"text": "Android, iOS",
|
|
@@ -3213,32 +3405,34 @@
|
|
|
3213
3405
|
}
|
|
3214
3406
|
],
|
|
3215
3407
|
"docs": "",
|
|
3216
|
-
"complexTypes": [
|
|
3217
|
-
|
|
3218
|
-
],
|
|
3219
|
-
"type": "EventStatus | null"
|
|
3408
|
+
"complexTypes": [],
|
|
3409
|
+
"type": "string | null"
|
|
3220
3410
|
},
|
|
3221
3411
|
{
|
|
3222
|
-
"name": "
|
|
3412
|
+
"name": "seriesStartDate",
|
|
3223
3413
|
"tags": [
|
|
3224
3414
|
{
|
|
3225
|
-
"text": "
|
|
3415
|
+
"text": "1719792000000",
|
|
3416
|
+
"name": "example"
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"text": "Android, iOS",
|
|
3226
3420
|
"name": "platform"
|
|
3227
3421
|
},
|
|
3228
3422
|
{
|
|
3229
|
-
"text": "
|
|
3423
|
+
"text": "8.6.0",
|
|
3230
3424
|
"name": "since"
|
|
3231
3425
|
}
|
|
3232
3426
|
],
|
|
3233
|
-
"docs": "",
|
|
3427
|
+
"docs": "Start time of the recurring series, in milliseconds since the epoch.\n\nEquals `startDate` for one-off events. On iOS, equals `startDate` when\nthe series start is not available for a detached exception.",
|
|
3234
3428
|
"complexTypes": [],
|
|
3235
|
-
"type": "number
|
|
3429
|
+
"type": "number"
|
|
3236
3430
|
},
|
|
3237
3431
|
{
|
|
3238
|
-
"name": "
|
|
3432
|
+
"name": "startDate",
|
|
3239
3433
|
"tags": [
|
|
3240
3434
|
{
|
|
3241
|
-
"text": "iOS",
|
|
3435
|
+
"text": "Android, iOS",
|
|
3242
3436
|
"name": "platform"
|
|
3243
3437
|
},
|
|
3244
3438
|
{
|
|
@@ -3248,10 +3442,10 @@
|
|
|
3248
3442
|
],
|
|
3249
3443
|
"docs": "",
|
|
3250
3444
|
"complexTypes": [],
|
|
3251
|
-
"type": "number
|
|
3445
|
+
"type": "number"
|
|
3252
3446
|
},
|
|
3253
3447
|
{
|
|
3254
|
-
"name": "
|
|
3448
|
+
"name": "status",
|
|
3255
3449
|
"tags": [
|
|
3256
3450
|
{
|
|
3257
3451
|
"text": "Android, iOS",
|
|
@@ -3264,11 +3458,9 @@
|
|
|
3264
3458
|
],
|
|
3265
3459
|
"docs": "",
|
|
3266
3460
|
"complexTypes": [
|
|
3267
|
-
"
|
|
3268
|
-
"AttendeeStatus",
|
|
3269
|
-
"AttendeeType"
|
|
3461
|
+
"EventStatus"
|
|
3270
3462
|
],
|
|
3271
|
-
"type": "
|
|
3463
|
+
"type": "EventStatus | null"
|
|
3272
3464
|
},
|
|
3273
3465
|
{
|
|
3274
3466
|
"name": "timezone",
|
|
@@ -3285,6 +3477,38 @@
|
|
|
3285
3477
|
"docs": "",
|
|
3286
3478
|
"complexTypes": [],
|
|
3287
3479
|
"type": "string | null"
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
"name": "title",
|
|
3483
|
+
"tags": [
|
|
3484
|
+
{
|
|
3485
|
+
"text": "Android, iOS",
|
|
3486
|
+
"name": "platform"
|
|
3487
|
+
},
|
|
3488
|
+
{
|
|
3489
|
+
"text": "7.1.0",
|
|
3490
|
+
"name": "since"
|
|
3491
|
+
}
|
|
3492
|
+
],
|
|
3493
|
+
"docs": "",
|
|
3494
|
+
"complexTypes": [],
|
|
3495
|
+
"type": "string"
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"name": "url",
|
|
3499
|
+
"tags": [
|
|
3500
|
+
{
|
|
3501
|
+
"text": "iOS",
|
|
3502
|
+
"name": "platform"
|
|
3503
|
+
},
|
|
3504
|
+
{
|
|
3505
|
+
"text": "7.1.0",
|
|
3506
|
+
"name": "since"
|
|
3507
|
+
}
|
|
3508
|
+
],
|
|
3509
|
+
"docs": "",
|
|
3510
|
+
"complexTypes": [],
|
|
3511
|
+
"type": "string | null"
|
|
3288
3512
|
}
|
|
3289
3513
|
]
|
|
3290
3514
|
},
|
|
@@ -5384,72 +5608,6 @@
|
|
|
5384
5608
|
}
|
|
5385
5609
|
]
|
|
5386
5610
|
},
|
|
5387
|
-
{
|
|
5388
|
-
"name": "EventStatus",
|
|
5389
|
-
"slug": "eventstatus",
|
|
5390
|
-
"members": [
|
|
5391
|
-
{
|
|
5392
|
-
"name": "NONE",
|
|
5393
|
-
"value": "'none'",
|
|
5394
|
-
"tags": [
|
|
5395
|
-
{
|
|
5396
|
-
"text": "iOS",
|
|
5397
|
-
"name": "platform"
|
|
5398
|
-
},
|
|
5399
|
-
{
|
|
5400
|
-
"text": "7.1.0",
|
|
5401
|
-
"name": "since"
|
|
5402
|
-
}
|
|
5403
|
-
],
|
|
5404
|
-
"docs": ""
|
|
5405
|
-
},
|
|
5406
|
-
{
|
|
5407
|
-
"name": "CONFIRMED",
|
|
5408
|
-
"value": "'confirmed'",
|
|
5409
|
-
"tags": [
|
|
5410
|
-
{
|
|
5411
|
-
"text": "Android, iOS",
|
|
5412
|
-
"name": "platform"
|
|
5413
|
-
},
|
|
5414
|
-
{
|
|
5415
|
-
"text": "7.1.0",
|
|
5416
|
-
"name": "since"
|
|
5417
|
-
}
|
|
5418
|
-
],
|
|
5419
|
-
"docs": ""
|
|
5420
|
-
},
|
|
5421
|
-
{
|
|
5422
|
-
"name": "TENTATIVE",
|
|
5423
|
-
"value": "'tentative'",
|
|
5424
|
-
"tags": [
|
|
5425
|
-
{
|
|
5426
|
-
"text": "Android, iOS",
|
|
5427
|
-
"name": "platform"
|
|
5428
|
-
},
|
|
5429
|
-
{
|
|
5430
|
-
"text": "7.1.0",
|
|
5431
|
-
"name": "since"
|
|
5432
|
-
}
|
|
5433
|
-
],
|
|
5434
|
-
"docs": ""
|
|
5435
|
-
},
|
|
5436
|
-
{
|
|
5437
|
-
"name": "CANCELED",
|
|
5438
|
-
"value": "'canceled'",
|
|
5439
|
-
"tags": [
|
|
5440
|
-
{
|
|
5441
|
-
"text": "Android, iOS",
|
|
5442
|
-
"name": "platform"
|
|
5443
|
-
},
|
|
5444
|
-
{
|
|
5445
|
-
"text": "7.1.0",
|
|
5446
|
-
"name": "since"
|
|
5447
|
-
}
|
|
5448
|
-
],
|
|
5449
|
-
"docs": ""
|
|
5450
|
-
}
|
|
5451
|
-
]
|
|
5452
|
-
},
|
|
5453
5611
|
{
|
|
5454
5612
|
"name": "AttendeeRole",
|
|
5455
5613
|
"slug": "attendeerole",
|
|
@@ -5873,6 +6031,72 @@
|
|
|
5873
6031
|
}
|
|
5874
6032
|
]
|
|
5875
6033
|
},
|
|
6034
|
+
{
|
|
6035
|
+
"name": "EventStatus",
|
|
6036
|
+
"slug": "eventstatus",
|
|
6037
|
+
"members": [
|
|
6038
|
+
{
|
|
6039
|
+
"name": "NONE",
|
|
6040
|
+
"value": "'none'",
|
|
6041
|
+
"tags": [
|
|
6042
|
+
{
|
|
6043
|
+
"text": "iOS",
|
|
6044
|
+
"name": "platform"
|
|
6045
|
+
},
|
|
6046
|
+
{
|
|
6047
|
+
"text": "7.1.0",
|
|
6048
|
+
"name": "since"
|
|
6049
|
+
}
|
|
6050
|
+
],
|
|
6051
|
+
"docs": ""
|
|
6052
|
+
},
|
|
6053
|
+
{
|
|
6054
|
+
"name": "CONFIRMED",
|
|
6055
|
+
"value": "'confirmed'",
|
|
6056
|
+
"tags": [
|
|
6057
|
+
{
|
|
6058
|
+
"text": "Android, iOS",
|
|
6059
|
+
"name": "platform"
|
|
6060
|
+
},
|
|
6061
|
+
{
|
|
6062
|
+
"text": "7.1.0",
|
|
6063
|
+
"name": "since"
|
|
6064
|
+
}
|
|
6065
|
+
],
|
|
6066
|
+
"docs": ""
|
|
6067
|
+
},
|
|
6068
|
+
{
|
|
6069
|
+
"name": "TENTATIVE",
|
|
6070
|
+
"value": "'tentative'",
|
|
6071
|
+
"tags": [
|
|
6072
|
+
{
|
|
6073
|
+
"text": "Android, iOS",
|
|
6074
|
+
"name": "platform"
|
|
6075
|
+
},
|
|
6076
|
+
{
|
|
6077
|
+
"text": "7.1.0",
|
|
6078
|
+
"name": "since"
|
|
6079
|
+
}
|
|
6080
|
+
],
|
|
6081
|
+
"docs": ""
|
|
6082
|
+
},
|
|
6083
|
+
{
|
|
6084
|
+
"name": "CANCELED",
|
|
6085
|
+
"value": "'canceled'",
|
|
6086
|
+
"tags": [
|
|
6087
|
+
{
|
|
6088
|
+
"text": "Android, iOS",
|
|
6089
|
+
"name": "platform"
|
|
6090
|
+
},
|
|
6091
|
+
{
|
|
6092
|
+
"text": "7.1.0",
|
|
6093
|
+
"name": "since"
|
|
6094
|
+
}
|
|
6095
|
+
],
|
|
6096
|
+
"docs": ""
|
|
6097
|
+
}
|
|
6098
|
+
]
|
|
6099
|
+
},
|
|
5876
6100
|
{
|
|
5877
6101
|
"name": "CalendarType",
|
|
5878
6102
|
"slug": "calendartype",
|