Skip to content

ViewDestroyState

Properties

handleDelete

Attempts to delete the instance(s) through the list's registered bulkDelete handler. Throws on failure, including a ConfirmationRequiredError when the server gates the delete behind warning acknowledgement (HTTP 409); pass the error's digest back via acknowledgeWarnings to proceed. A dryRun validates only: the request carries the Dry-Run header and the list keeps its rows, so the selection survives the pre-flight.

Type: (options: object) => Promise

Source: client/lib/use/useViewDestroy.js:20

instanceList

The list context of instances to destroy.

Type: any

Source: client/lib/use/useViewDestroy.js:19

modelConfig

The model config for the current app/model.

Type: any

Source: client/lib/use/useViewDestroy.js:18

validAndActive

Whether the current context has a valid app/model/pk and is active.

Type: boolean

Source: client/lib/use/useViewDestroy.js:17

Source

client/lib/use/useViewDestroy.js:15

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2