7 lines
292 B
TypeScript
7 lines
292 B
TypeScript
import { APIResponseObject, DsqlCrudParam } from "../../types";
|
|
export default function <T extends {
|
|
[key: string]: any;
|
|
} = {
|
|
[key: string]: any;
|
|
}>({ table, query, count, countOnly, dbFullName, }: Omit<DsqlCrudParam<T>, "action" | "data" | "sanitize">): Promise<APIResponseObject>;
|