Module

DeleteAction

Removes given record from the database. Since it doesn't have a component - it redirects right away after clicking its ActionButton

Implements:

View Source adminjs/src/backend/actions/delete/delete-action.ts, line 4

Methods

# static handler() → {Promise.<RecordActionResponse>}

Responsible for deleting existing record.

To invoke this action use ApiClient#recordAction

Implements:

View Source adminjs/src/backend/actions/delete/delete-action.ts, line 30

Promise.<RecordActionResponse>