15 lines
631 B
TypeScript
15 lines
631 B
TypeScript
import { CrudBinding, CrudExpose, UseCrudProps, UseCrudRet, UseFsProps, UseFsRet } from "../d";
|
|
import { Ref } from "vue";
|
|
export declare function useCrud<T = any, R = any>(ctx: UseCrudProps<T, R>): UseCrudRet<R>;
|
|
export declare function useFs<R = any, C = any>(props: UseFsProps<R, C>): UseFsRet<R, C>;
|
|
export declare function useFsAsync<R = any, C = any>(props: UseFsProps<R, C>): Promise<UseFsRet<R, C>>;
|
|
export type UseFsRefOptions = {
|
|
deep?: boolean;
|
|
};
|
|
export declare function useFsRef(): {
|
|
crudRef: Ref<any, any>;
|
|
crudBinding: Ref<CrudBinding, CrudBinding>;
|
|
context: any;
|
|
crudExpose: CrudExpose<any>;
|
|
};
|