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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "3.9.40",
3
+ "version": "3.9.41",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
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);