defaultObjectDelete
Overview
The VUEDA specific implementation for reactive-helper's object delete crud function.
Signature
defaultObjectDelete(args)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| args | object | yes | The arguments object. |
args Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| acknowledgeWarnings | string | Warning digest from a prior 409, sent as Acknowledge-Warnings. | ||
| deleteArgs | any | The arguments to be passed to the delete function. | ||
| dryRun | boolean | Dry-run requests treat a server 200 as success; real deletes still require 204. | ||
| formData | any | Extra fields submitted alongside the delete, sent as the request body. | ||
| pk | string | The primary key of the object to delete. | ||
| target | object | VUEDA specific arguments for the CRUD operation. |
Returns
Promise & object
- A cancellable promise.
Source
client/lib/utils/objectCrud.js:290