@naturalcycles/db-lib
Version:
Lowest Common Denominator API to supported Databases
10 lines (9 loc) • 677 B
TypeScript
import type { ObjectWithId } from '@naturalcycles/js-lib/types';
import { type JsonSchemaObjectBuilder } from '@naturalcycles/nodejs-lib/ajv';
import type { CommonDBOptions } from '../db.model.js';
export declare const commonDBOptionsSchema: () => JsonSchemaObjectBuilder<CommonDBOptions, CommonDBOptions>;
export declare const commonDBSaveOptionsSchema: <ROW extends ObjectWithId>() => any;
export declare const dbQueryFilterOperatorSchema: any;
export declare const dbQueryFilterSchema: <ROW extends ObjectWithId>() => any;
export declare const dbQueryOrderSchema: <ROW extends ObjectWithId>() => any;
export declare const dbQuerySchema: <ROW extends ObjectWithId>() => any;