datasquirel/dist/package-shared/api/crud/put.d.ts
Benjamin Toby 7e8bb37c09 Updates
2025-07-05 14:59:30 +01:00

15 lines
418 B
TypeScript

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