@usine/config/trigger
Classes
Section titled “Classes”IssueTrigger
Section titled “IssueTrigger”Watches issues and selects matching payloads with the Loop’s if expression.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new IssueTrigger(…
args):IssueTrigger
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyif:string&Brand<"ExpressionSource">
readonlyon:"issue"
PullRequestTrigger
Section titled “PullRequestTrigger”Watches pull requests and selects matching payloads with the Loop’s if expression.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PullRequestTrigger(…
args):PullRequestTrigger
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyif:string&Brand<"ExpressionSource">
readonlyon:"pr"
ScheduleTrigger
Section titled “ScheduleTrigger”Fires per selected repository on a schedule, catching up only the latest missed Tick after downtime.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ScheduleTrigger(…
args):ScheduleTrigger
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlycron:string&Brand<"Cron">
readonlyif:string&Brand<"ExpressionSource">
readonlyon:"schedule"
readonlytz:string&Brand<"TimeZone">
Type Aliases
Section titled “Type Aliases”Cron = typeof
Cron.Type
A five-field schedule evaluated in the trigger’s time zone.
Stream
Section titled “Stream”Stream =
Trigger["on"]
The class of state a Loop watches: issues, pull requests, or scheduled Ticks.
TimeZone
Section titled “TimeZone”TimeZone = typeof
TimeZone.Type
The IANA time zone whose local clock defines a schedule’s firing times.
Trigger
Section titled “Trigger”Trigger = typeof
Trigger.Type
The standing Item condition or schedule that produces Events for a Loop.
Variables
Section titled “Variables”
constCron:Schema.brand<Schema.String,"Cron">
A five-field schedule evaluated in the trigger’s time zone.
TimeZone
Section titled “TimeZone”
constTimeZone:Schema.brand<Schema.String,"TimeZone">
The IANA time zone whose local clock defines a schedule’s firing times.
Trigger
Section titled “Trigger”
constTrigger:Schema.Union<readonly [typeofIssueTrigger, typeofPullRequestTrigger, typeofScheduleTrigger]>
The standing Item condition or schedule that produces Events for a Loop.