/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui/prophet */ export interface EditProps { resource: string; basePath: string; id: string | number; successMessage?: string; } export interface EditControllerProps { resource: string; basePath: string; record: any; id: string | number; loading: any; loaded: any; saving: any; save: any; version: number; } /** * * @example * * import { useEditController } from '@stbui/prophet-core'; * * const EditView = () =>