Source

index.ts

import { PouchAdapter } from "./adapter";

PouchAdapter.decoration();

export * from "./constants";
export * from "./PouchRepository";
export * from "./types";
// left to the end on purpose
export * from "./adapter";

/**
 * @description A TypeScript adapter for PouchDB integration
 * @summary Provides a repository-pattern implementation backed by PouchDB, exposing the {@link PouchAdapter} to interface with databases, the {@link PouchRepository} for typed data access, configuration {@link module:for-pouch|constants} like {@link PouchFlavour} and {@link DefaultLocalStoragePath}, and related {@link module:for-pouch|types}. This module wires up decorators on load to support created/updated-by fields.
 * @module for-pouch
 */

/**
 * @description Package version identifier
 * @summary Stores the current version of the for-pouch package
 * @const VERSION
 * @memberOf module:for-pouch
 */
export const VERSION = "##VERSION##";