UNPKG

nosqlax

Version:

NoSQLax is a lightweight JavaScript library designed to simplify and streamline CRUD operations with CouchDB. NoSQLax provides a unified and intuitive repository pattern to handle your data effortlessly.

17 lines (16 loc) 442 B
declare abstract class BaseEntity { private _id?; private _rev?; static type: string; static schemaOrSchemaId: string | object; static fieldMap: Record<string, string>; constructor(data: { _id?: string; _rev?: string; [key: string]: any; }); get id(): string | undefined; get rev(): string | undefined; static getFieldMap(): Record<string, string>; } export default BaseEntity;