Element details
type: meya.front.component.shifts.get
class: FrontShiftGetComponent
path: /meya/front/component/shifts/get.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
integration | A string identifier for the Front integration (e.g. integration.front) | ◉ | ○ | FrontIntegrationRef | |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | ○ | ○ | true | bool | |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
shift_id | The Front ID of the shift to retrieve. Shift IDs have the format shf_xxx | ○ | ○ | str | |
Usage reference
Basic
triggers:
- keyword: meya.front.component.shifts.get
steps:
- type: meya.front.component.shifts.get
integration: integration.front
shift_id: STRING
Full
triggers:
- keyword: meya.front.component.shifts.get
steps:
- type: meya.front.component.shifts.get
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
integration: integration.front
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
shift_id: STRING