UNPKG

bnaya_fork_ra-data-nest-crud

Version:

a data provider for react admin that handles request from nestjsx-crud server

16 lines (15 loc) 771 B
export default function createNestjsxCrudClient(apiUrl: string, httpClient?: any): (type: import("./interfaces").POSSIBLE_ACTIONS, resource: string, params: any) => Promise<{ data: any; }>; /** * Not documented yet. Experimental. */ export declare function createNestjsxCrudClientWithConfig(apiUrl: string, httpClient?: any, /** * Not documented yet. Experimental. * Will give us a hook to customize requets/responses */ configuration?: import("./interfaces").ConfigurationEntry): (type: import("./interfaces").POSSIBLE_ACTIONS, resource: string, params: any) => Promise<{ data: any; }>; export declare function encodeParamsInResource(resource: string, paramsToIntegrate: Pick<import("@nestjsx/crud-request").CreateQueryParams, "join" | "fields">): string;