UNPKG

flexiblepersistence

Version:
44 lines 1.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /* eslint-disable @typescript-eslint/ban-ts-comment */ const default_initializer_1 = require("@flexiblepersistence/default-initializer"); /* eslint-disable @typescript-eslint/no-explicit-any */ class BaseSchemaDefault extends default_initializer_1.Default { getAttributes() { return this.attributes; } getOptions() { return this.options; } getIndex() { return this.index; } getIndexOptions() { return this.indexOptions; } getPipelineOptions() { return this.pipelineOptions; } getVirtual() { return this.virtual; } getPopulate() { return this.populate; } getToCast() { return this.toCast; } getPipeline() { return this.pipeline; } constructor(initDefault) { super(initDefault); this.attributes = {}; this.options = {}; } init(initDefault) { super.init(initDefault); } } exports.default = BaseSchemaDefault; //# sourceMappingURL=baseSchemaDefault.js.map