@cheetah.js/orm 0.1.23 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bun/index.js +6 -1
- package/dist/bun/index.js.map +3 -3
- package/dist/orm.service.js +5 -0
- package/dist/orm.service.js.map +1 -1
- package/package.json +1 -1
- package/test/domain/base-entity.spec.ts +421 -421
package/dist/bun/index.js
CHANGED
|
@@ -224814,6 +224814,11 @@ class OrmService {
|
|
|
224814
224814
|
const properties = classDeclaration.getProperties();
|
|
224815
224815
|
const nullables = [];
|
|
224816
224816
|
const defaults = {};
|
|
224817
|
+
const extendsClass = classDeclaration.getBaseClass();
|
|
224818
|
+
if (extendsClass) {
|
|
224819
|
+
const extendsProperties = extendsClass.getProperties();
|
|
224820
|
+
properties.push(...extendsProperties);
|
|
224821
|
+
}
|
|
224817
224822
|
properties.forEach((property2) => {
|
|
224818
224823
|
const propertyName = property2.getName();
|
|
224819
224824
|
const isNullable = property2.hasQuestionToken();
|
|
@@ -225255,4 +225260,4 @@ export {
|
|
|
225255
225260
|
AfterCreate
|
|
225256
225261
|
};
|
|
225257
225262
|
|
|
225258
|
-
//# debugId=
|
|
225263
|
+
//# debugId=32B1D238BF15D12064756e2164756e21
|