UNPKG

@decaf-ts/for-nano

Version:

decaf-ts persistence adapter for CouchDB via nano

62 lines 2.82 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.PACKAGE_NAME = exports.FULL_VERSION = exports.COMMIT = exports.VERSION = void 0; const adapter_js_1 = require("./adapter.cjs"); const decoration_1 = require("@decaf-ts/decoration"); // Forces override for Nano Decoration adapter_js_1.NanoAdapter.decoration(); __exportStar(require("./constants.cjs"), exports); __exportStar(require("./NanoRepository.cjs"), exports); __exportStar(require("./types.cjs"), exports); // Left to the end on purpose __exportStar(require("./adapter.cjs"), exports); /** * @description A TypeScript module for interacting with Nano databases * @summary This module provides a set of utilities, classes, and types for working with Nano databases. It includes repository patterns, adapters, and type definitions to simplify database operations. Key exports include {@link NanoAdapter}, {@link NanoRepository}, {@link NanoFlags}, and {@link NanoFlavour}. * @module for-nano */ /** * @description Package version identifier * @summary Stores the current package version string for the for-nano module * @const VERSION * @memberOf module:for-nano */ exports.VERSION = "0.12.3"; /** * @description Represents the current commit hash of the module build. * @summary Stores the current git commit hash for the package. The build replaces * the placeholder with the actual commit hash at publish time. * @const COMMIT */ exports.COMMIT = "8ff7ff9"; /** * @description Represents the full version string of the module. * @summary Stores the semver version and commit hash for the package. * The build replaces the placeholder with the actual `<version>-<commit>` value at publish time. * @const FULL_VERSION */ exports.FULL_VERSION = "0.12.3-8ff7ff9"; /** * @description Package version identifier * @summary Stores the current package version string for the for-nano module * @const PACKAGE_NAME * @memberOf module:for-nano */ exports.PACKAGE_NAME = "@decaf-ts/for-nano"; decoration_1.Metadata.registerLibrary(exports.PACKAGE_NAME, exports.VERSION); //# sourceMappingURL=index.js.map //# sourceMappingURL=index.cjs.map