oasis-editor 0.0.307 → 0.0.308

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.
@@ -55,6 +55,13 @@ export declare function markupOptionsSnapshot(state: EditorState): MarkupOptions
55
55
  export declare function applyShowMarkup(state: EditorState, payload: ShowMarkupPayload): EditorState;
56
56
  /** Whether an author's markup paints; `undefined` means all authors. */
57
57
  export declare function isMarkupAuthorShown(state: EditorState, author: string): boolean;
58
+ /**
59
+ * Whether one revision is shown by the current Show Markup filters. Used by
60
+ * both the painted overlay and the Reviewing Pane list so the two surfaces
61
+ * never disagree. Non-insert/delete revision types are not category-filtered
62
+ * (Word's menu only has insertion/deletion/comment categories).
63
+ */
64
+ export declare function isRevisionMarkupShown(state: EditorState, type: string, author: string): boolean;
58
65
  /** The explicit author allow-list, or null when all authors are shown. */
59
66
  export declare function visibleMarkupAuthors(state: EditorState): string[] | null;
60
67
  /** Flip one markup section; returns the same state when nothing changes. */