@rentman/rm-core 6.3.0 → 6.3.1

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.
@@ -0,0 +1,17 @@
1
+ import { ApiQuery, ItemType } from '../types';
2
+ import { KeyService } from './KeyService';
3
+ import { COMPARATORS_TYPE } from './QueryParser';
4
+ import { OPERATORS_TYPE, QueryParserBase } from './QueryParserBase';
5
+ export declare class QueryContainsLocalIdParser extends QueryParserBase<boolean> {
6
+ private keyService;
7
+ constructor(keyService: KeyService, query: any);
8
+ protected parseEmptyQuery(): boolean;
9
+ protected parseSubQuery(_key: string, subQuery: object, _not?: boolean): boolean;
10
+ protected parseSubFieldQuery(_key: string, _itemType: ItemType, field: string, query: ApiQuery, _not: boolean): boolean;
11
+ protected parseSearchQuery(_value: any, _not: boolean): boolean;
12
+ protected parseCustomQuery(_custom: string, _parameters: any, _not?: boolean): boolean;
13
+ protected parseSimpleQuery(_key: string, value: any, _comparator?: COMPARATORS_TYPE, _not?: boolean): boolean;
14
+ protected parseLinkedToQuery(_linkedTo: ItemType, query?: ApiQuery, _reverse?: boolean, _not?: boolean): boolean;
15
+ protected parseComplexQuery(conditions: any[], _operator?: OPERATORS_TYPE, _not?: boolean): boolean;
16
+ private parseConditions;
17
+ }
@@ -5,7 +5,7 @@ export declare class QueryService {
5
5
  private keyService;
6
6
  constructor(keyService: KeyService);
7
7
  containsLinkedTo(query: ApiQuery, matchItemType: ItemType, matchItemId: ItemId): boolean;
8
- containsLocalLinkedTo(query: ApiQuery): boolean;
8
+ containsLocalId(query: ApiQuery): boolean;
9
9
  addAndCondition(query: ApiQuery, condition: ApiQuery): ApiQuery;
10
10
  addOrCondition(query: ApiQuery, condition: ApiQuery): ApiQuery;
11
11
  addParentCondition(query: ApiQuery, parent: EntryParentNull): ApiQuery;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rentman/rm-core",
3
- "version": "6.3.0",
3
+ "version": "6.3.1",
4
4
  "description": "Rentman core functionalities",
5
5
  "main": "./dist/rm-core.js",
6
6
  "types": "./dist/types/index.d.ts",