[ Web Proxy ]
URL:
Viewing: https://adminforth.dev/docs/api/Back/type-aliases/AfterCreateSaveFunction/ [Back]  [Original]

AfterCreateSaveFunction | Agent-first open-source admin panel framework
Skip to main content
On this page

AfterCreateSaveFunction

AfterCreateSaveFunction = (params) => Promise<{ error?: string; ok: boolean; }>

Parameters

ParameterTypeDescription
params{ adminforth: IAdminForth; adminUser: AdminUser; extra?: HttpExtra; record: any; recordId: any; recordWithVirtualColumns?: any; resource: AdminForthResource; }-
params.adminforthIAdminForthAdminforth instance.
params.adminUserAdminUserAdmin user performing the action.
params.extra?HttpExtraExtra HTTP information.
params.recordanyRecord data after creation.
params.recordIdanyPrimary key value of the record to delete.
params.recordWithVirtualColumns?anyRecord with virtual columns after creation.
params.resourceAdminForthResourceResource info.

Returns

Promise<{ error?: string; ok: boolean; }>

Previous
AdminUserAuthorizeFunction
Next
AfterDataSourceResponseFunction

Web Proxy Viewer  |  New URL  |  Original Page