@livetiles/reach-plugin-types 0.5.0-preview.10 → 0.5.0-preview.13
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/lib/index.d.ts +14 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -11223,6 +11223,19 @@ declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
|
11223
11223
|
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
|
|
11224
11224
|
};
|
|
11225
11225
|
}
|
|
11226
|
+
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
11227
|
+
import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
|
|
11228
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
11229
|
+
export function useEventsEditorApi(): {
|
|
11230
|
+
getEvent: (eventId: string) => Promise<EventItem>;
|
|
11231
|
+
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11232
|
+
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11233
|
+
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11234
|
+
deleteEventPermanently: (eventId: string) => any;
|
|
11235
|
+
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11236
|
+
deleteModifiedRecurrence: (eventId: string) => any;
|
|
11237
|
+
};
|
|
11238
|
+
}
|
|
11226
11239
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
11227
11240
|
export * from "libs/reach/feature/content/src/editor/EditorListItem";
|
|
11228
11241
|
export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
|
|
@@ -11232,6 +11245,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
11232
11245
|
export * from "libs/reach/feature/content/src/editor/useEditorApi";
|
|
11233
11246
|
export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
|
|
11234
11247
|
export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
|
|
11248
|
+
export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
|
|
11235
11249
|
}
|
|
11236
11250
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
11237
11251
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|