@deskcreate/agentcraft
Preparing search index...
index
ApprovalStepConfig
Interface ApprovalStepConfig
Configuration for ApprovalStep.
interface
ApprovalStepConfig
{
approve
?:
(
ctx
:
WorkflowContext
)
=>
boolean
|
Promise
<
boolean
>
;
description
:
string
;
id
?:
string
;
onApproved
?:
(
ctx
:
WorkflowContext
)
=>
void
|
Promise
<
void
>
;
onRejected
?:
(
ctx
:
WorkflowContext
,
reason
?:
string
,
)
=>
void
|
Promise
<
void
>
;
timeoutMs
?:
number
;
}
Index
Properties
approve?
description
id?
on
Approved?
on
Rejected?
timeout
Ms?
Properties
Optional
Readonly
approve
approve
?:
(
ctx
:
WorkflowContext
)
=>
boolean
|
Promise
<
boolean
>
Readonly
description
description
:
string
Optional
Readonly
id
id
?:
string
Optional
Readonly
on
Approved
onApproved
?:
(
ctx
:
WorkflowContext
)
=>
void
|
Promise
<
void
>
Optional
Readonly
on
Rejected
onRejected
?:
(
ctx
:
WorkflowContext
,
reason
?:
string
)
=>
void
|
Promise
<
void
>
Optional
Readonly
timeout
Ms
timeoutMs
?:
number
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
approve
description
id
on
Approved
on
Rejected
timeout
Ms
@deskcreate/agentcraft
Loading...
Configuration for ApprovalStep.