@sockethub/platform-caldav 1.0.0-beta.4 → 1.0.0-beta.6
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 +95 -13
- package/dist/dav.d.ts +12 -2
- package/dist/ical.d.ts +8 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.js +479 -69
- package/dist/index.js.map +9 -8
- package/dist/patch.d.ts +13 -0
- package/dist/schema.d.ts +672 -0
- package/dist/types.d.ts +14 -0
- package/package.json +6 -6
package/dist/patch.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CalendarObjectInput } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Apply an item to the stored iCalendar resource it was read from. Only the
|
|
4
|
+
* properties of fields that changed are replaced with `generated` (the
|
|
5
|
+
* item's own `buildICalendar` output); every other property, parameter,
|
|
6
|
+
* component, and `VTIMEZONE` stays as stored. A field the item omits removes
|
|
7
|
+
* its property. When the component type changes, `generated` replaces the
|
|
8
|
+
* whole resource.
|
|
9
|
+
*/
|
|
10
|
+
export declare function patchICalendar(stored: string, item: CalendarObjectInput, generated: string): {
|
|
11
|
+
uid: string;
|
|
12
|
+
body: string;
|
|
13
|
+
};
|