@berish/orm
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -9,5 +9,5 @@ "use strict"; | ||
const cls = class_1.getClassOfInstance(entity); | ||
return cls.className || entity.get('className'); | ||
return cls.className || entity.getSystem('className'); | ||
} | ||
exports.getClassName = getClassName; | ||
//# sourceMappingURL=getClassName.js.map |
@@ -17,2 +17,3 @@ export * from './fetch'; | ||
export * from './isEquals'; | ||
export * from './setClassName'; | ||
export * from './setFileName'; | ||
@@ -19,0 +20,0 @@ export * from './setIsFetched'; |
@@ -29,2 +29,3 @@ "use strict"; | ||
__exportStar(require("./isEquals"), exports); | ||
__exportStar(require("./setClassName"), exports); | ||
__exportStar(require("./setFileName"), exports); | ||
@@ -31,0 +32,0 @@ __exportStar(require("./setIsFetched"), exports); |
@@ -8,2 +8,3 @@ "use strict"; | ||
const entity_1 = require("./entity"); | ||
const methods_1 = require("./entity/methods"); | ||
const registrator = new class_1.Registrator(); | ||
@@ -63,2 +64,3 @@ /** | ||
const entity = new cls(); | ||
methods_1.setClassName(entity, className); | ||
if (cls.fields) { | ||
@@ -65,0 +67,0 @@ for (const key of cls.fields) { |
{ | ||
"name": "@berish/orm", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "ORM", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
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
230154
239
3197