Files
archipelago/guards/business-hours/package.yaml
T

28 lines
828 B
YAML

apiVersion: dev.archie.package.v1
displayName: Business hours
description: Hold actions that change something outside working hours at propose and wait.
version: 1.0.1
settings:
- key: timezone
label: Time zone
description: IANA time zone, such as Australia/Sydney. Defaults to UTC.
- key: start
label: Start hour
description: First working hour in local time. Defaults to 9.
type: number
- key: end
label: End hour
description: First hour after business hours in local time. Defaults to 17.
type: number
- key: days
label: Working days
description: Comma-separated weekday numbers, with Sunday as 0. Defaults to Monday through Friday.
type: list
contributes:
extensions:
- surface: guard
path: bin/business-hours
files:
- path: bin/business-hours
mode: 493