workloads / main / AfterRollout
Class: AfterRollout
Workload for defining an npm script to run after rolling out a new application version.
Example
ts
import { AfterRollout } from "@monolayer/sdk";
const rollout = new AfterRollout("after-rollout-1",{
script: "notify",
});
export rollout;
Extends
Constructors
new AfterRollout()
ts
new AfterRollout(id, options): AfterRollout
Parameters
Parameter | Type | Description |
---|---|---|
|
| Unique ID |
|
| ‐ |
Returns
Overrides
Properties
Property | Modifier | Type | Description |
---|---|---|---|
id | readonly | string | Unique ID |
script | public | string | - |