Workflow action elements — part 5
Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.
action/unpublishSite
Section titled “action/unpublishSite”Unpublishes a site from a page manager e.g. page-depot.
Input ports: default (any; Input).
Output ports: default (any; Output), event (any; Event).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
deployer | select | page-depot | not declared | Deployer Values: page-depot. |
identifier | text | null | not declared | Site identifier |
destroy | bool | false | not declared | Destroy completely |
action/update
Section titled “action/update”Update entities with new data.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
module | module | null | yes (requireOption) | Module |
listItems | field | null | not declared | Update list items (corresponding entity props accessible under “$entity.xyz”) |
values | recipes | [] | not declared | The values to update the entities with. |
filters | filters | [] | not declared | Filters |
scopes | event | null | not declared | Apply scopes and policies to this query. Either trigger existing policies or pass custom created scopes. |
permissions | bool | false | not declared | Apply role-based permissions and dynamic policies to this query. |
withTrashed | bool | false | not declared | Include deleted entries in the result. |
global | bool | false | not declared | Retrieve all entries without considering the client |
logUpdates | bool | true | not declared | Log the updates in the entity log table. |
logComment | text | null | not declared | Comment to be logged in the entity log table. |
action/validate
Section titled “action/validate”Verifies a given input entity according to rules defined in the module or in recipes.
Input ports: default (any; Input).
Output ports: valid (any; Valid), invalid (any; Invalid), validator (any; Validator).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
recipes | recipes | [] | not declared | Recipes |
runModuleValidations | bool | null | not declared | runModuleValidations |
markFailedFields | bool | null | not declared | markFailedFields |
action/verifyEmail
Section titled “action/verifyEmail”Send a verification email to the user.
Input ports: default (any; Input).
Output ports: default (any; Output).
Options: none.
action/viewFile
Section titled “action/viewFile”Causes the file to be displayed in the browser.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
content_type | text | “ | not declared | Content-Type |