HITLTask
interface HITLTask<TArgs extends object | void = void> extends Operator<TArgs, HITLResult> {
assignedUsers: readonly HITLUser[];
body: HITLText<TArgs, string | null> | undefined;
defaults: readonly string[] | undefined;
failOnReject: boolean;
ignoreDownstreamTriggerRules: boolean;
kind: 'choice' | 'approval';
multiple: boolean;
options: readonly string[];
params: Readonly<Record<string, HITLParam>>;
responseTimeout: number | undefined;
subject: HITLText<TArgs>;
}Source: spec.ts:133
What hitl(...) and approval(...) return, to pass to dag.task(...): the options, checked and with their defaults applied.
Type Parameters
TArgsextendsobject | void=void
Hierarchy
Operator<TArgs, HITLResult>HITLTask
Properties
assignedUsers: readonly HITLUser[]
readonly
spec.ts:142body: HITLText<TArgs, string | null> | undefined
readonly
spec.ts:136defaults: readonly string[] | undefined
readonly
spec.ts:140failOnReject: boolean
readonly
spec.ts:148Only an approval acts on this.
ignoreDownstreamTriggerRules: boolean
readonly
spec.ts:146Only an approval acts on this.
kind: 'choice' | 'approval'
readonly
spec.ts:134multiple: boolean
readonly
spec.ts:141options: readonly string[]
readonly
spec.ts:139params: Readonly<Record<string, HITLParam>>
readonly
spec.ts:143responseTimeout: number | undefined
readonly
spec.ts:144subject: HITLText<TArgs>
readonly
spec.ts:135