RowActionCallback
RowActionCallback<
T> = (id,formData,ctx) =>Promise<T>
Defined in: packages/admin/src/types.ts:190
Async handler signature for a RowAction.
Called with the record’s primary key, the submitted form data, and a RowActionContext that exposes the authenticated admin, a permission-scoped Db, their grants, and the raw request.
Type Parameters
Section titled “Type Parameters”T = unknown
The resolved result type. Defaults to unknown.
Parameters
Section titled “Parameters”string
formData
Section titled “formData”FormData
Returns
Section titled “Returns”Promise<T>