AfterCreateSaveFunction
AfterCreateSaveFunction = (params) => Promise<{ error?: string; ok: boolean; }>
Parameters
| Parameter | Type | Description |
|---|
params | { adminforth: IAdminForth; adminUser: AdminUser; extra?: HttpExtra; record: any; recordId: any; recordWithVirtualColumns?: any; resource: AdminForthResource; } | - |
params.adminforth | IAdminForth | Adminforth instance. |
params.adminUser | AdminUser | Admin user performing the action. |
params.extra? | HttpExtra | Extra HTTP information. |
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. |
Returns
Promise<{ error?: string; ok: boolean; }>