Skip to content

SettingsMigrationComponentConstructorParams.getProposedSettings

SettingsMigrationComponentConstructorParams › getProposedSettings

Type: () => null | TMigratableSettings

Reads the values currently waiting to be handed over.

Called afresh on every edge rather than once, so an implementation simply reads its plugin's settings. Return null when there is nothing pending — after a migration has been applied, or on a vault that never had these settings configured.