efficient-easel 7.0.1 → 7.0.2
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.
|
@@ -219,8 +219,16 @@ interface EaselDocumentAdapter {
|
|
|
219
219
|
title: string;
|
|
220
220
|
layout: Record<string, unknown>;
|
|
221
221
|
}): Promise<EaselPageRow>;
|
|
222
|
-
/**
|
|
223
|
-
|
|
222
|
+
/**
|
|
223
|
+
* Inline page deletion. `keepalive` (7.0.2) is asked for when the delete is
|
|
224
|
+
* sent as the page goes away — a deleted page's delete, held while its Undo
|
|
225
|
+
* can take it back, flushed on `pagehide` — so send it with
|
|
226
|
+
* `fetch(…, { keepalive: true })`, or the browser may cancel it with the tab.
|
|
227
|
+
* An adapter that ignores it still deletes while the tab stays open.
|
|
228
|
+
*/
|
|
229
|
+
deletePage?(id: string, options?: {
|
|
230
|
+
keepalive?: boolean;
|
|
231
|
+
}): Promise<void>;
|
|
224
232
|
/** The website's record (`capabilities.hasSiteRecord`). */
|
|
225
233
|
site?(): Promise<SiteRecord>;
|
|
226
234
|
/** Save the website's Maps key (`capabilities.canEditSiteRecord`). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "efficient-easel",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Efficient Easel: the EFFICIENT editors' shared engine and chrome: the saved document as pure functions, the published renderer, and the editor frame, panels, Layers tree, text grammar and type-in-place box. Published as editor-shell up to 0.66.0 and as efficient-editor up to 0.95.0.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Efficient Pty Ltd",
|