Skip to content

activateStates

activateStates(options): Promise<ActivateStatesResult>

Defined in: packages/simply-settings-core/src/address/activateStates.ts:48

Sets the given states active and visible: retrieves the org’s AddressSettings, flips <active>/<visible> on exactly those states, and deploys the result back.

ActivateStatesOptions

Connection, states, wait, and dry-run.

Promise<ActivateStatesResult>

How each state was handled, and the deploy result if one ran. A failed deploy is reported in deploy.success/deploy.failures, not thrown.