@elderbyte/ngx-starter 19.13.1 → 19.13.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.
@@ -1,6 +1,6 @@
1
1
  import { LocalListDataSource, DataSourceChangeEvent, LocalDataSortFn, LocalDataFilterFn, IDataSource } from '../../public_api';
2
2
  import { Observable } from 'rxjs';
3
- export declare class CuratedDataSource<TEntity> implements IDataSource<TEntity> {
3
+ export declare class CuratedDataSource<TEntity, TId = any> implements IDataSource<TEntity> {
4
4
  readonly originalSource: IDataSource<TEntity>;
5
5
  /***************************************************************************
6
6
  * *
@@ -31,8 +31,8 @@ export declare class CuratedDataSource<TEntity> implements IDataSource<TEntity>
31
31
  **************************************************************************/
32
32
  get dataChanged(): Observable<DataSourceChangeEvent<TEntity, any>>;
33
33
  findById(id: any): Observable<TEntity>;
34
- findByIds(ids: any[]): Observable<TEntity[]>;
35
- getId(entity: TEntity): any;
34
+ findByIds(ids: TId[]): Observable<TEntity[]>;
35
+ getId(entity: TEntity): TId;
36
36
  /***************************************************************************
37
37
  * *
38
38
  * Private methods *
@@ -40,4 +40,6 @@ export declare class CuratedDataSource<TEntity> implements IDataSource<TEntity>
40
40
  **************************************************************************/
41
41
  protected get readyUseCurated$(): Observable<boolean>;
42
42
  private buildDataChanged;
43
+ private findByIdsFirstCuratedThenOriginal;
44
+ private findAvailableCuratedByIds;
43
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elderbyte/ngx-starter",
3
- "version": "19.13.1",
3
+ "version": "19.13.2",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^18.0.0 || ^19.0.0",
6
6
  "@angular/common": "^18.0.0 || ^19.0.0",