Core API Overview > @adpt/core > UseDeployedWhenOptions
UseDeployedWhenOptions interface
Options for the useDeployedWhen() hook.
Signature:
export interface UseDeployedWhenOptions
Properties
Property | Type | Description |
---|---|---|
trivial | boolean | This flag is a hint for user interfaces, such as the Adapt CLI. It tells the user interface that this component's deployedWhen function is "trivial" and therefore its status should not typically be shown in user interfaces unless the user has requested more detailed status information on all components, or if there's an active action for the component.trivial should typically be set to true if the deployedWhen function **only** depends on the status of other components and does not have any additional conditions of its own. |