StateDeclarationInput
interfaceFields accepted by state.
Import
import { StateDeclarationInput } from '@modular/sdk';Members7
- __@runtimeContractInput@15821optional
TValue- id
stringIdentifier, unique within the mod.
- initial
TValueValue used the first time this state is registered.
- scope
ModStateScopeWhether the value persists per workspace or per profile.
- sensitivity
DataSensitivityHow freely the host may share the value.
- stability
DataStabilityCompatibility promise you are making to readers of this state.
- titleoptional
stringHuman-readable label shown where the host lists mod state.