datasquirel/dist/package-shared/api/crud/put.d.ts
Benjamin Toby 3730e4722e Updates
2025-07-05 15:16:31 +01:00

16 lines
447 B
TypeScript

import { APICrudPostParams } from "./post";
type Params<T extends {
[key: string]: any;
} = {
[key: string]: any;
}> = Omit<APICrudPostParams<T>, "update"> & {
targetID: string | number;
apiKey?: string;
};
export default function apiCrudPUT<T extends {
[key: string]: any;
} = {
[key: string]: any;
}>({ dbName, tableName, body, targetID, apiKey }: Params<T>): Promise<import("../../types").APIResponseObject>;
export {};