law-common 10.46.4 → 10.46.5

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.
@@ -19,8 +19,8 @@ export declare function parseEntitiesWithoutModels<T extends EnumEntityType<Enti
19
19
  };
20
20
  export declare function removeEntityById(entityIndexMap: EntityIndexMap, entity: EntityEnum, id: number): void;
21
21
  export declare class EntityModelRelationHelper {
22
- entityMap: EntityMap;
23
- entityModelMap: EntityMap;
22
+ private entityMap;
23
+ private entityModelMap;
24
24
  entityModelIndexMap: EntityIndexMap;
25
25
  constructor(entityMap: EntityMap, init?: boolean);
26
26
  static getClone(entity: EntityModelRelationHelper): EntityModelRelationHelper;
@@ -255,9 +255,9 @@ class EntityModelRelationHelper {
255
255
  }
256
256
  _addEntity(entityEnum, entity) {
257
257
  this.createFor(entityEnum, entity);
258
- this.entityMap[entityEnum].push(entity);
258
+ // this.entityMap[entityEnum].push(entity as any);
259
259
  const entityModel = this.fromEntityToEntityModel(entity, entityEnum);
260
- this.entityModelMap[entityEnum].push(entityModel);
260
+ // this.entityModelMap[entityEnum].push(entityModel as any);
261
261
  // @ts-ignore
262
262
  this.entityModelIndexMap[entityEnum][entityModel.id] =
263
263
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "law-common",
3
- "version": "10.46.4",
3
+ "version": "10.46.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [