django-vue3-admin-web/node_modules/@fast-crud/fast-crud/dist/d/utils/util.store.d.ts
2025-10-20 21:21:14 +08:00

24 lines
697 B
TypeScript

import { FsRemoteStorage } from "../d";
export default class TableStore {
remoteStorage?: FsRemoteStorage;
$router: any;
tableName: string;
keyType: string | boolean;
id?: string;
constructor(opts: {
$router: any;
tableName: string;
keyType: string | boolean;
remoteStorage?: FsRemoteStorage;
id?: string;
});
getTableId(): string;
getTable(): Promise<any>;
saveTable(table: any): Promise<void>;
clearTable(): Promise<void>;
updateTableValue(value: any, key?: string): Promise<void>;
getItemKey(): string;
getTableValue(key?: string): Promise<any>;
clearTableValue(key?: string): Promise<void>;
}