AfterCreateSaveFunction()
AfterCreateSaveFunction: (
params) =>Promise<object>
Parameters
| Parameter | Type | Description |
|---|---|---|
params | object | - |
params.adminUser | AdminUser | Admin user performing the action. |
params.adminforth | IAdminForth | Adminforth instance. |
params.extra? | HttpExtra | Extra HTTP information. Prefer using extra.response over the top-level response field. |
params.record | any | Record data after creation. |
params.recordId | any | Primary key value of the record to delete. |
params.recordWithVirtualColumns? | any | Record with virtual columns after creation. |
params.resource | AdminForthResource | Resource info. |
params.response | IAdminForthHttpResponse | HTTP response object. Deprecated Since 1.2.9. Will be removed in 2.0.0. Use extra.response instead. |
Returns
Promise<object>
error?
optionalerror:string
ok
ok:
boolean