BeforeCreateSaveFunction()
BeforeCreateSaveFunction: (
params
) =>Promise
<object
>
Parameters
Parameter | Type |
---|---|
params | object |
params.adminUser | AdminUser |
params.adminforth | IAdminForth |
params.extra ? | HttpExtra |
params.record | any |
params.recordId | any |
params.resource | AdminForthResource |
Returns
Promise
<object
>
error?
optional
error:string
ok
ok:
boolean