@spinajs/intl-orm
Advanced tools
Comparing version 2.0.293 to 2.0.294
@@ -6,3 +6,3 @@ "use strict"; | ||
function Translate() { | ||
return (0, orm_1.extractDecoratorDescriptor)((model, _target, propertyKey) => { | ||
return (0, orm_1.extractDecoratorPropertyDescriptor)((model, _target, propertyKey) => { | ||
const columnDesc = model.Columns.find((c) => c.Name === propertyKey); | ||
@@ -17,5 +17,5 @@ if (!columnDesc) { | ||
model.Translatable = true; | ||
}, true); | ||
}); | ||
} | ||
exports.Translate = Translate; | ||
//# sourceMappingURL=decorators.js.map |
@@ -1,4 +0,4 @@ | ||
import { extractDecoratorDescriptor } from '@spinajs/orm'; | ||
import { extractDecoratorPropertyDescriptor } from '@spinajs/orm'; | ||
export function Translate() { | ||
return extractDecoratorDescriptor((model, _target, propertyKey) => { | ||
return extractDecoratorPropertyDescriptor((model, _target, propertyKey) => { | ||
const columnDesc = model.Columns.find((c) => c.Name === propertyKey); | ||
@@ -13,4 +13,4 @@ if (!columnDesc) { | ||
model.Translatable = true; | ||
}, true); | ||
}); | ||
} | ||
//# sourceMappingURL=decorators.js.map |
{ | ||
"name": "@spinajs/intl-orm", | ||
"version": "2.0.293", | ||
"version": "2.0.294", | ||
"description": "Internationalization support for ORM module", | ||
@@ -53,9 +53,9 @@ | ||
"dependencies": { | ||
"@spinajs/configuration": "^2.0.293", | ||
"@spinajs/di": "^2.0.293", | ||
"@spinajs/exceptions": "^2.0.293", | ||
"@spinajs/intl": "^2.0.293", | ||
"@spinajs/log-common": "^2.0.293", | ||
"@spinajs/orm": "^2.0.293", | ||
"@spinajs/reflection": "^2.0.293", | ||
"@spinajs/configuration": "^2.0.294", | ||
"@spinajs/di": "^2.0.294", | ||
"@spinajs/exceptions": "^2.0.294", | ||
"@spinajs/intl": "^2.0.294", | ||
"@spinajs/log-common": "^2.0.294", | ||
"@spinajs/orm": "^2.0.294", | ||
"@spinajs/reflection": "^2.0.294", | ||
"luxon": "^3.2.1", | ||
@@ -65,5 +65,5 @@ "typescript-mix": "^3.1.3" | ||
"devDependencies": { | ||
"@spinajs/orm-sqlite": "^2.0.293" | ||
"@spinajs/orm-sqlite": "^2.0.294" | ||
}, | ||
"gitHead": "002dc553b0ffffd72193d0121ac425a4083bc9ee" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
213473
Updated@spinajs/di@^2.0.294
Updated@spinajs/exceptions@^2.0.294
Updated@spinajs/intl@^2.0.294
Updated@spinajs/log-common@^2.0.294
Updated@spinajs/orm@^2.0.294
Updated@spinajs/reflection@^2.0.294