test-entity-library-asm 3.9.40 → 3.9.41
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/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -128,6 +128,7 @@ const getRepositoryByEntity = async (entity) => {
|
|
|
128
128
|
if (!connection) {
|
|
129
129
|
connection = createDataBaseSource();
|
|
130
130
|
await connection.initialize();
|
|
131
|
+
console.log(connection.entityMetadatas.map((e) => e.name));
|
|
131
132
|
}
|
|
132
133
|
return new _1.CustomRepository(entity, connection);
|
|
133
134
|
};
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -133,6 +133,8 @@ export const getRepositoryByEntity = async <T extends ObjectLiteral>(
|
|
|
133
133
|
if (!connection) {
|
|
134
134
|
connection = createDataBaseSource();
|
|
135
135
|
await connection.initialize();
|
|
136
|
+
|
|
137
|
+
console.log(connection.entityMetadatas.map((e) => e.name));
|
|
136
138
|
}
|
|
137
139
|
|
|
138
140
|
return new CustomRepository<T>(entity, connection);
|