@sumaris-net/ngx-components 2.4.106 → 2.4.107

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.4.106",
4
+ "version": "2.4.107",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -84,6 +84,7 @@ export declare abstract class EntityUtils {
84
84
  static isLocalId(id: number): boolean;
85
85
  static isRemoteId(id: number): boolean;
86
86
  static getId<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(entity: T): ID;
87
+ static hasId<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(entity: T): boolean;
87
88
  static collectById<T extends IEntity<T, ID>, ID = any>(entities: T[]): ID[];
88
89
  static arrayDistinctFilterFn<E extends IEntity<any, any>>(item: E, index: number, values: E[]): boolean;
89
90
  }