This commit is contained in:
2026-03-02 10:44:30 +01:00
parent e293205e66
commit 634be9b01d
52 changed files with 3033 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
import type { APIResponseObject, ServerQueryParam } from "../../types";
type Params<T extends {
[k: string]: any;
} = {
[k: string]: any;
}> = {
table: string;
data: T;
query?: ServerQueryParam<T>;
targetId?: number | string;
};
export default function DbUpdate<T extends {
[k: string]: any;
} = {
[k: string]: any;
}>({ table, data, query, targetId }: Params<T>): Promise<APIResponseObject>;
export {};