@sidekick-coder/db
Version:
Cli Tool to manipulate data from diferent sources
19 lines (16 loc) • 688 B
TypeScript
import { L as ListOptions, a as ListResponse, F as FindOptions, b as DataItem, C as CreateOptions, U as UpdateOptions, D as DestroyOptions } from '../../create-BARQbeYV.js';
import 'valibot';
import '../../core/filesystem/types.js';
declare const provider: (config: any) => {
list: (options?: ListOptions) => Promise<ListResponse>;
find: (options?: FindOptions) => Promise<DataItem | null>;
create: (options: CreateOptions) => Promise<DataItem>;
update: (options: UpdateOptions) => Promise<{
count: number;
}>;
destroy: (options: DestroyOptions) => Promise<{
count: number;
}>;
findProperties: () => Promise<any>;
};
export { provider };