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