@sidekick-coder/db
Version:
Cli Tool to manipulate data from diferent sources
13 lines (10 loc) • 447 B
text/typescript
import * as valibot from 'valibot';
import { W as WhereCondition } from '../../create-CvQA0V_2.cjs';
import '../filesystem/types.cjs';
declare function parseCondition(condition: WhereCondition): {
and: WhereCondition[];
or: any[];
};
declare function transformWhere(where: any): any;
declare const schema: valibot.SchemaWithPipe<[valibot.AnySchema, valibot.TransformAction<any, any>]>;
export { parseCondition, schema, transformWhere };