7 lines
249 B
TypeScript
7 lines
249 B
TypeScript
import { APIPathsCrudParams, APIResponseObject } from "../../types";
|
|
export default function <T extends {
|
|
[k: string]: any;
|
|
} = {
|
|
[k: string]: any;
|
|
}>({ table, query, allowedTable, url, }: APIPathsCrudParams<T>): Promise<APIResponseObject>;
|