rxdb
Version:
A local-first realtime NoSQL Database for JavaScript applications - https://rxdb.info/
8 lines (7 loc) • 347 B
TypeScript
import type { KeyFunctionMap, RxJsonSchema } from '../../types/index.d.ts';
/**
* checks if the given static methods are allowed
* @throws if not allowed
*/
export declare function checkOrmMethods(statics?: KeyFunctionMap): void;
export declare function checkOrmDocumentMethods<RxDocType>(schema: RxJsonSchema<RxDocType>, methods?: any): void;