@sumaris-net/ngx-components 18.2.1 → 18.2.2
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/esm2022/src/app/core/services/base-entity-service.class.mjs +6 -6
- package/fesm2022/sumaris-net.ngx-components.mjs +5 -5
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/services/base-entity-service.class.d.ts +2 -2
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -101,7 +101,7 @@ export declare abstract class BaseEntityService<T extends Entity<T, ID>, F exten
|
|
|
101
101
|
delete(entity: T, opts?: EntitySaveOptions | any): Promise<any>;
|
|
102
102
|
listenChanges(id: ID, opts?: EntityServiceListenChangesOptions<T>): Observable<T>;
|
|
103
103
|
copyIdAndUpdateDate(source: T, target: T): void;
|
|
104
|
-
fromObject(source: any, toEntity?: boolean | ((source: any) => T)): T;
|
|
104
|
+
fromObject(source: any, toEntity?: boolean | ((source: any, opts?: any) => T), opts?: any): T;
|
|
105
105
|
asFilter(source: any): F;
|
|
106
106
|
equals(d1: T, d2: T): boolean;
|
|
107
107
|
isNew(data: T): boolean;
|
|
@@ -116,7 +116,7 @@ export declare abstract class BaseEntityService<T extends Entity<T, ID>, F exten
|
|
|
116
116
|
isNewFn(data: T): boolean;
|
|
117
117
|
protected ngOnStart(): Promise<void>;
|
|
118
118
|
protected fillDefaultProperties(source: T): void;
|
|
119
|
-
protected fromObjects(sources: any[], toEntity?: boolean | ((source: any) => T)): T[];
|
|
119
|
+
protected fromObjects(sources: any[], toEntity?: boolean | ((source: any, opts?: any) => T), opts?: any): T[];
|
|
120
120
|
protected asObject(source: T, opts?: EntityAsObjectOptions): any;
|
|
121
121
|
protected getRefetchQueriesForMutation(opts?: EntitySaveOptions): ((result: FetchResult<{
|
|
122
122
|
data: any;
|
package/src/assets/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ngx-sumaris-components",
|
|
3
3
|
"short_name": "ngx-sumaris-components",
|
|
4
4
|
"manifest_version": 1,
|
|
5
|
-
"version": "18.2.
|
|
5
|
+
"version": "18.2.2",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|