@typegoose/typegoose
Advanced tools
Comparing version 6.1.3 to 6.1.4
@@ -24,2 +24,3 @@ "use strict"; | ||
} | ||
utils_1.assignGlobalModelOptions(cl); // to ensure global options are applied to the current class | ||
// Options sanity check | ||
@@ -80,2 +81,2 @@ opt = utils_1.mergeSchemaOptions((utils_1.isNullOrUndefined(opt) || typeof opt !== 'object') ? {} : opt, cl); | ||
exports._buildSchema = _buildSchema; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ludGVybmFsL3NjaGVtYS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHFDQUFxQztBQUVyQyxnREFBd0M7QUFDeEMsa0NBQTZDO0FBRTdDLDJDQUE0QztBQUM1QyxpQ0FBMkQ7QUFDM0QscUNBQXdDO0FBQ3hDLG1DQUF5RTtBQUV6RTs7Ozs7Ozs7R0FRRztBQUNILFNBQWdCLFlBQVksQ0FDMUIsRUFBSyxFQUNMLEdBQXFCLEVBQ3JCLEdBQTRCOztJQUU1QixJQUFJLE9BQU8sRUFBRSxLQUFLLFVBQVUsRUFBRTtRQUM1QixNQUFNLElBQUkscUJBQVksQ0FBQyxFQUFFLENBQUMsQ0FBQztLQUM1QjtJQUVELHVCQUF1QjtJQUN2QixHQUFHLEdBQUcsMEJBQWtCLENBQUMsQ0FBQyx5QkFBaUIsQ0FBQyxHQUFHLENBQUMsSUFBSSxPQUFPLEdBQUcsS0FBSyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFFN0YsTUFBTSxJQUFJLEdBQUcsZUFBTyxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBRXpCLG9CQUFNLENBQUMsS0FBSyxDQUFDLDBDQUEwQyxFQUFFLElBQU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MsQ0FBQztJQUNqRixJQUFJLEtBQUssQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLEVBQUU7UUFDMUIsS0FBSyxNQUFNLEtBQUssSUFBSSxPQUFPLEVBQUU7WUFDM0Isb0JBQU0sQ0FBQyxLQUFLLENBQUMsaUJBQWlCLEVBQUUsS0FBSyxDQUFDLENBQUM7WUFDdkMsR0FBRyxDQUFDLEtBQUssQ0FBQyxLQUFLLENBQUMsTUFBTSxFQUFFLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztTQUN4QztLQUNGO0lBRUQsT0FBTyxHQUFHLENBQUM7QUFDYixDQUFDO0FBN0VELG9DQTZFQyJ9 |
@@ -129,1 +129,6 @@ import * as mongoose from 'mongoose'; | ||
export declare function isNullOrUndefined(val: unknown): val is null | undefined; | ||
/** | ||
* Assign Global ModelOptions if not already existing | ||
* @param target Target Class | ||
*/ | ||
export declare function assignGlobalModelOptions(target: any): void; |
@@ -214,12 +214,12 @@ "use strict"; | ||
function getName(cl) { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j; | ||
const options = (_a = Reflect.getMetadata(constants_1.DecoratorKeys.ModelOptions, cl), (_a !== null && _a !== void 0 ? _a : {})); | ||
const baseName = (_b = cl.name, (_b !== null && _b !== void 0 ? _b : cl.constructor.name)); | ||
if (options.options && options.options.automaticName) { | ||
const suffix = (_e = (_d = (_c = options) === null || _c === void 0 ? void 0 : _c.options) === null || _d === void 0 ? void 0 : _d.customName, (_e !== null && _e !== void 0 ? _e : (_g = (_f = options) === null || _f === void 0 ? void 0 : _f.schemaOptions) === null || _g === void 0 ? void 0 : _g.collection)); | ||
var _a, _b, _c, _d, _e, _f, _g, _h; | ||
const options = (_b = (_a = Reflect.getMetadata(constants_1.DecoratorKeys.ModelOptions, cl), (_a !== null && _a !== void 0 ? _a : Reflect.getMetadata(constants_1.DecoratorKeys.ModelOptions, cl.constructor))), (_b !== null && _b !== void 0 ? _b : {})); | ||
const baseName = (_c = cl.name, (_c !== null && _c !== void 0 ? _c : cl.constructor.name)); | ||
if ((_d = options.options) === null || _d === void 0 ? void 0 : _d.automaticName) { | ||
const suffix = (_f = (_e = options.options) === null || _e === void 0 ? void 0 : _e.customName, (_f !== null && _f !== void 0 ? _f : (_g = options.schemaOptions) === null || _g === void 0 ? void 0 : _g.collection)); | ||
return !isNullOrUndefined(suffix) ? `${baseName}_${suffix}` : baseName; | ||
} | ||
if (typeof ((_j = (_h = options) === null || _h === void 0 ? void 0 : _h.options) === null || _j === void 0 ? void 0 : _j.customName) === 'string') { | ||
if (typeof ((_h = options.options) === null || _h === void 0 ? void 0 : _h.customName) === 'string') { | ||
if (options.options.customName.length <= 0) { | ||
throw new TypeError(`"customName" must be a string AND at least one character ("${cl.name}")`); | ||
throw new TypeError(`"customName" must be a string AND at least one character ("${baseName}")`); | ||
} | ||
@@ -344,2 +344,13 @@ return options.options.customName; | ||
exports.isNullOrUndefined = isNullOrUndefined; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJuYWwvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxtQ0FBa0Q7QUFDbEQscUNBQXFDO0FBQ3JDLCtCQUE4QjtBQUU5QixnREFBd0M7QUFDeEMsb0NBUWtCO0FBQ2xCLDJDQUE0QztBQUM1QyxpQ0FBK0M7QUFDL0MscUNBQXdDO0FBRXhDOzs7O0dBSUc7QUFDSCxTQUFnQixXQUFXLENBQUMsSUFBUztJQUNuQyxJQUFJLElBQUksSUFBSSxPQUFPLElBQUksQ0FBQyxJQUFJLEtBQUssUUFBUSxFQUFFO1FBQ3pDLGtGQUFrRjtRQUNsRixzREFBc0Q7UUFDdEQsT0FBTyxNQUFNLENBQUMsbUJBQW1CLENBQUMsUUFBUSxDQUFDLE1BQU0sQ0FBQyxLQUFLL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Qyx1Q0FBSSxFQUFFLEVBQUEsQ0FBQztJQUVuRixvQkFBUSxZQUFZLDBDQUFFLE9BQU8sMENBQUUsVUFBVSxFQUFFO1FBQ3pDLFFBQVE7UUFDUixLQUFLLGdCQUFRLENBQUMsSUFBSTtZQUNoQixvQkFBTSxDQUFDLElBQUksQ0FBQyxxREFBcUQsRUFBRSxJQUFJLEVBQUUsR0FBRyxDQUFDLENBQUM7WUFFOUUsTUFBTTtRQUNSLEtBQUssZ0JBQVEsQ0FBQyxLQUFLO1lBQ2pCLE1BQU07UUFDUixLQUFLLGdCQUFRLENBQUMsS0FBSztZQUNqQixNQUFNLElBQUksU0FBUyxDQUFDLGFBQU0sQ0FBQyxxREFBcUQsRUFBRSxJQUFJLEVBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQztLQUNqRztJQUVELE9BQU8sQ0FBQyxnREFBZ0Q7QUFDMUQsQ0FBQztBQWpCRCw4QkFpQkM7QUFFRDs7O0dBR0c7QUFDSCxTQUFnQixpQkFBaUIsQ0FBQyxHQUFZO0lBQzVDLE9BQU8sR0FBRyxLQUFLLElBQUksSUFBSSxHQUFHLEtBQUssU0FBUyxDQUFDO0FBQzNDLENBQUM7QUFGRCw4Q0FFQyJ9 | ||
/** | ||
* Assign Global ModelOptions if not already existing | ||
* @param target Target Class | ||
*/ | ||
function assignGlobalModelOptions(target) { | ||
if (isNullOrUndefined(Reflect.getMetadata(constants_1.DecoratorKeys.ModelOptions, target))) { | ||
logSettings_1.logger.info('Assigning global Schema Options to "%s"', getName(target)); | ||
assignMetadata(constants_1.DecoratorKeys.ModelOptions, { options: data_1.globalOptions.options, schemaOptions: data_1.globalOptions.schemaOptions }, target); | ||
} | ||
} | ||
exports.assignGlobalModelOptions = assignGlobalModelOptions; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJu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R0FBRyxLQUFLLElBQUksSUFBSSxHQUFHLEtBQUssU0FBUyxDQUFDO0FBQzNDLENBQUM7QUFGRCw4Q0FFQztBQUVEOzs7R0FHRztBQUNILFNBQWdCLHdCQUF3QixDQUFDLE1BQVc7SUFDbEQsSUFBSSxpQkFBaUIsQ0FBQyxPQUFPLENBQUMsV0FBVyxDQUFDLHlCQUFhLENBQUMsWUFBWSxFQUFFLE1BQU0sQ0FBQyxDQUFDLEVBQUU7UUFDOUUsb0JBQU0sQ0FBQyxJQUFJLENBQUMseUNBQXlDLEVBQUUsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7UUFDeEUsY0FBYyxDQUFDLHlCQUFhLENBQUMsWUFBWSxFQUFFLEVBQUUsT0FBTyxFQUFFLG9CQUFhLENBQUMsT0FBTyxFQUFFLGFBQWEsRUFBRSxvQkFBYSxDQUFDLGFBQWEsRUFBRSxFQUFFLE1BQU0sQ0FBQyxDQUFDO0tBQ3BJO0FBQ0gsQ0FBQztBQUxELDREQUtDIn0= |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const constants_1 = require("./internal/constants"); | ||
const data_1 = require("./internal/data"); | ||
const utils_1 = require("./internal/utils"); | ||
const logSettings_1 = require("./logSettings"); | ||
/** | ||
@@ -20,8 +18,3 @@ * Define Options for the Class | ||
return (target) => { | ||
if (utils_1.isNullOrUndefined(Reflect.getMetadata(constants_1.DecoratorKeys.ModelOptions, target))) { | ||
logSettings_1.logger.info('Assigning global Schema Options to "%s"', utils_1.getName(target)); | ||
for (const key of Object.keys(data_1.globalOptions)) { | ||
options[key] = Object.assign({}, data_1.globalOptions[key], options[key]); | ||
} | ||
} | ||
utils_1.assignGlobalModelOptions(target); | ||
utils_1.assignMetadata(constants_1.DecoratorKeys.ModelOptions, options, target); | ||
@@ -31,2 +24,2 @@ }; | ||
exports.modelOptions = modelOptions; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxl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LCJtYXBwaW5ncyI6Ijs7QUFBQSxvREFBcUQ7QUFDckQsNENBQTRFO0FBRzVFOzs7Ozs7Ozs7O0dBVUc7QUFDSCxTQUFnQixZQUFZLENBQUMsT0FBc0I7SUFDakQsT0FBTyxDQUFDLE1BQVcsRUFBRSxFQUFFO1FBQ3JCLGdDQUF3QixDQUFDLE1BQU0sQ0FBQyxDQUFDO1FBQ2pDLHNCQUFjLENBQUMseUJBQWEsQ0FBQyxZQUFZLEVBQUUsT0FBTyxFQUFFLE1BQU0sQ0FBQyxDQUFDO0lBQzlELENBQUMsQ0FBQztBQUNKLENBQUM7QUFMRCxvQ0FLQyJ9 |
@@ -42,3 +42,3 @@ "use strict"; | ||
const rawOptions = Object.assign({}, origOptions); | ||
logSettings_1.logger.debug('Starting to process "%s.%s"', target.constructor.name, key); | ||
logSettings_1.logger.debug('Starting to process "%s.%s"', utils.getName(target), key); | ||
if (!utils.isNullOrUndefined(rawOptions.type)) { | ||
@@ -52,3 +52,3 @@ logSettings_1.logger.info('Prop Option "type" is set to', rawOptions.type); | ||
} | ||
const name = utils.getName(target.constructor); | ||
const name = utils.getName(target); | ||
if (!data_1.virtuals.has(name)) { | ||
@@ -129,3 +129,3 @@ data_1.virtuals.set(name, new Map()); | ||
throw new TypeError(util_1.format('All Enums supplied to @prop must have strings associated with them!\n' | ||
+ 'Encountered at "%s.%s", with property: %s.%s', utils.getName(target.constructor), key, enumKey, typeof enumValue)); | ||
+ 'Encountered at "%s.%s", with property: %s.%s', utils.getName(target), key, enumKey, typeof enumValue)); | ||
} | ||
@@ -150,3 +150,3 @@ return enumValue; | ||
if (utils.isNullOrUndefined(Type) || typeof Type !== 'function') { | ||
throw new errors_1.InvalidTypeError(target.constructor.name, key, Type); | ||
throw new errors_1.InvalidTypeError(utils.getName(target), key, Type); | ||
} | ||
@@ -304,2 +304,2 @@ // check for validation inconsistencies | ||
exports.arrayProp = arrayProp; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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QsSUFBSSxVQUFVLElBQUksT0FBTyxFQUFFO1lBQ3pCLE9BQU8sQ0FBQyxHQUFHLEdBQUcsT0FBTyxDQUFDLFFBQVEsQ0FBQztZQUMvQixPQUFPLE9BQU8sQ0FBQyxRQUFRLENBQUM7U0FDekI7UUFDRCxJQUFJLGNBQWMsSUFBSSxPQUFPLEVBQUU7WUFDN0IsT0FBTyxDQUFDLE9BQU8sR0FBRyxPQUFPLENBQUMsWUFBWSxDQUFDO1lBQ3ZDLE9BQU8sT0FBTyxDQUFDLFlBQVksQ0FBQztTQUM3QjtRQUNELElBQUksY0FBYyxJQUFJLE9BQU8sRUFBRTtZQUM3QixPQUFPLENBQUMsT0FBTyxHQUFHLE9BQU8sQ0FBQyxZQUFZLENBQUM7WUFDdkMsT0FBTyxPQUFPLENBQUMsWUFBWSxDQUFDO1NBQzdCO1FBRUQsUUFBUSxDQUFDO1lBQ1AsSUFBSTtZQUNKLEdBQUc7WUFDSCxXQUFXLEVBQUUsT0FBTztZQUNwQixNQUFNO1lBQ04sTUFBTSxFQUFFLGdCQUFRLENBQUMsS0FBSztTQUN2QixDQUFDLENBQUM7SUFDTCxDQUFDLENBQUM7QUFDSixDQUFDO0FBaENELDhCQWdDQyJ9 |
{ | ||
"name": "@typegoose/typegoose", | ||
"version": "6.1.3", | ||
"version": "6.1.4", | ||
"description": "Define Mongoose models using TypeScript classes", | ||
@@ -5,0 +5,0 @@ "main": "lib/typegoose.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
136469
2150