/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui/prophet */ export interface CreateControllerProps { resource: string; basePath: string; loading: boolean; loaded: boolean; save: (data: any, option: any) => void; saving: any; record?: object; redirect: any; version: number; } export interface CreateProps { resource: string; basePath: string; hasCreate?: boolean; hasEdit?: boolean; hasShow?: boolean; record?: object; successMessage?: string; } /** * import { useCreateController } from '@stbui/prophet-core'; * * const CreateView = () =>