Optionalexpire?: numberthe number of seconds that the completed job should be left in the store before it is deleted
Optionalhooks?: HookRulesthe reentrant hook rules that define how to reenter a running graph
Optionalinput?: { the schema for the input of the graph
Optionaloutput?: { the schema for the output of the graph
Optionalpersistent?: booleanif the graph is reentrant and has open activities, the
persistent flag will emit the job completed  event.
This allows the 'main' thread/trigger that started the job to
signal to subscribers (or the parent) that the job
is 'done', while still leaving the job in a
state that allows for reentry (such as cyclical hooks).
Optionalpublishes?: stringthe unique topic that the graph publishes/emits to when the job completes
the unique topic that the graph subscribes to, creating one job for each idempotent message that is received
Optionaltransitions?: Record<string, any>the transitions that define how activities are connected
the activities that define the graph