Cloud API Overview > @adpt/cloud > action
action namespace
Action library for implementing simple primitive components.
Classes
| Class | Description |
|---|---|
| Action | Component that can be inherited to perform actions during deploy |
| Command | Primitive component that can be used to interact with commands via the OS shell to implement actions in Adapt. |
Functions
| Function | Description |
|---|---|
| isShouldActDetail(val) | Type guard for action.ShouldActDetail. |
Interfaces
| Interface | Description |
|---|---|
| ActionContext | Helper information for an action.Action component. |
| CommandProps | Properties for the Command component. |
| ShouldActDetail | Detailed information on why an action should be taken. |
Type Aliases
| Type Alias | Description |
|---|---|
| ShouldAct | Return type for action.Action.shouldAct() that describes whether an action should be taken and why. |