PublishReviewChangesSection
Unofficial
The review step of the Publish changes dialog, listing the changes to publish.
Import:
import type { PublishReviewChangesSection } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface PublishReviewChangesSectionProperties
| Property | Type | Description | |
|---|---|---|---|
| app | App | Reference to the app. | |
| el | HTMLElement | The section's root element. | |
| parentModal | PublishModal | The dialog the section belongs to. | |
| pathToDiffMap | Record<string, PublishFileDiff> | Every listed change, keyed by vault path. | |
| sectionChanged | PublishFileListSection | The list of changed and deleted files. | |
| sectionNew | PublishFileListSection | The list of new files. | |
| sectionUnchanged | PublishFileListSection | The list of files already published unchanged. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| hide() | void | Hide the section. | |
| show() | Promise<void> | Scan for changes, refill the file lists and show the section. |
Links to this page: