@rentman/rm-core 9.0.4 → 9.1.0

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.
@@ -11,6 +11,7 @@ export declare class CollectionEntryService {
11
11
  processOptions<ItemTypeType extends ApiEnumItemType>(options: CollectionOptionsInterface<ItemTypeType>): CollectionOptions;
12
12
  createQuery(query: ApiQuery): CollectionQuery;
13
13
  createQueryFromOptions(options: CollectionOptions): CollectionQuery;
14
+ createBatchedLinkToQuery(parentType: ApiEnumItemType, parentIdArray: ItemId[], options: CollectionOptions): CollectionQuery;
14
15
  getIdArray(itemEntries: Array<ItemEntry<any>>, accumulator?: ItemId[]): ItemId[];
15
16
  /**
16
17
  * @description
@@ -7,6 +7,7 @@ export declare type RequestColumnMergeResult<T extends ApiRequestColumns = ApiRe
7
7
  export declare class ColumnUtil {
8
8
  private linkTreeService;
9
9
  constructor(linkTreeService: LinkTreeServiceInterface);
10
+ getColumnIdsWithRelations(itemType: ApiEnumItemType): ApiRequestColumn[];
10
11
  /**
11
12
  * @description
12
13
  * Checks the {@link ApiLinkTree LinkTree} and returns the link columnIds for the given ItemType
@@ -311,5 +311,7 @@ export declare class TransactionCache extends AbstractCache {
311
311
  private clearGlobalError;
312
312
  clearItemError(itemEntryId?: ItemEntry['id'], columnId?: string, errorKey?: string): void;
313
313
  private handleRemovedItemEntry;
314
+ private handleCascadingDeletes;
315
+ private cascadeDeleteByItemType;
314
316
  }
315
317
  export {};
@@ -29,6 +29,6 @@ export declare class TransactionCachedQueryHandler extends CachedQueryHandlerBas
29
29
  private expandLocalItemEntries;
30
30
  private syncCachedQueryWithLocalItems;
31
31
  __fetchLinkedCachedQueryItems<ItemTypeType extends ApiEnumItemType>(parentType: ApiEnumItemType, parentIdArray: ItemId[] | (() => ItemId[]), itemType: ItemTypeType, options: CollectionOptions): PromiseInterface<ParentIdMap<CachedQueryItem<ItemTypeType>>>;
32
- __fetchParentCachedQueryItem<ItemTypeType extends ApiEnumItemType>(itemType: ItemTypeType, options: CollectionOptions): PromiseInterface<CachedQueryItemTree<ItemTypeType>>;
32
+ __fetchParentCachedQueryItem<ItemTypeType extends ApiEnumItemType>(itemType: ItemTypeType, options: CollectionOptions, batchedLinkToQuery?: CollectionQuery): PromiseInterface<CachedQueryItemTree<ItemTypeType>>;
33
33
  __fetchChildCachedQueryItems(parentType: ApiEnumItemType, parentIds: ItemId[], childCollectionOptions: ChildCollectionOptions): PromiseInterface<ParentItemMap<CachedQueryItemTree>>;
34
34
  }
@@ -1,5 +1,5 @@
1
1
  import { PromiseInterface } from '../internal';
2
2
  export interface ErrorHandlerInterface {
3
3
  reject(error?: object): PromiseInterface<any>;
4
- notifyError(error?: any): PromiseInterface<any>;
4
+ notifyError(error?: any): void;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rentman/rm-core",
3
- "version": "9.0.4",
3
+ "version": "9.1.0",
4
4
  "description": "Rentman core functionalities",
5
5
  "main": "./dist/rm-core.js",
6
6
  "types": "./dist/types/index.d.ts",