@punks/backend-entity-manager 0.0.190 → 0.0.191
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/cjs/index.js +3 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/abstractions/cache.d.ts +1 -0
- package/dist/cjs/types/integrations/cache/typeorm/instance.d.ts +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/abstractions/cache.d.ts +1 -0
- package/dist/esm/types/integrations/cache/typeorm/instance.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2338,6 +2338,9 @@ class TypeormCacheInstance {
|
|
|
2338
2338
|
this.instanceName = instanceName;
|
|
2339
2339
|
this.logger = backendCore.Log.getLogger(`TypeOrm Cache Instance ${instanceName}`);
|
|
2340
2340
|
}
|
|
2341
|
+
getInstanceName() {
|
|
2342
|
+
return this.instanceName;
|
|
2343
|
+
}
|
|
2341
2344
|
async retrieve(key, input) {
|
|
2342
2345
|
const item = await this.getRepository().findOne({
|
|
2343
2346
|
where: {
|