Skip to content

PublishReviewChangesSection

Unofficial

The review step of the Publish changes dialog, listing the changes to publish.

Import:

import type { PublishReviewChangesSection } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface PublishReviewChangesSection

Properties

PropertyTypeDescription
appAppReference to the app.
elHTMLElementThe section's root element.
parentModalPublishModalThe dialog the section belongs to.
pathToDiffMapRecord<string, PublishFileDiff>Every listed change, keyed by vault path.
sectionChangedPublishFileListSectionThe list of changed and deleted files.
sectionNewPublishFileListSectionThe list of new files.
sectionUnchangedPublishFileListSectionThe list of files already published unchanged.

Methods

MethodReturnsDescription
hide()voidHide the section.
show()Promise<void>Scan for changes, refill the file lists and show the section.

Links to this page: