Skip to main content

Interface: UpdateOptions

Defined in: src/interfaces.ts:724

Options for configuring update methods via

Update Method​

decorator.

Example​

@UpdateMethod('approveOrder')
async handleApproval(approval: OrderApproval): Promise<OrderStatus> {
this.approvals.push(approval);
return this.currentStatus;
}

Properties​

name?​

optional name?: string

Defined in: src/interfaces.ts:725