@squidcloud/client 1.0.16 → 1.0.18
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,7 +1,7 @@
|
|
|
1
1
|
import { IntegrationId } from '../communication.types';
|
|
2
2
|
import { CollectionName, FieldName } from '../document.types';
|
|
3
3
|
import { AllOperators, ContextCondition, ContextConditions, FieldSort, GeneralCondition, GeneralConditions, GenericValue, Query } from '../query.types';
|
|
4
|
-
import { Paths } from '../types';
|
|
4
|
+
import { PartialBy, Paths } from '../types';
|
|
5
5
|
export declare class QueryContext<T = any> {
|
|
6
6
|
readonly query: Query<T>;
|
|
7
7
|
private readonly parsedConditions;
|
|
@@ -9,8 +9,8 @@ export declare class QueryContext<T = any> {
|
|
|
9
9
|
get integrationId(): IntegrationId;
|
|
10
10
|
get collectionName(): CollectionName;
|
|
11
11
|
get limit(): number;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
sortedBy(sorts: Array<PartialBy<FieldSort<T>, 'asc'>>): boolean;
|
|
13
|
+
sortedByExact(sorts: Array<PartialBy<FieldSort<T>, 'asc'>>): boolean;
|
|
14
14
|
includes<F extends FieldName<T>, O extends AllOperators>(fieldName: F, operator: O, value: GenericValue<T, F, O>): boolean;
|
|
15
15
|
includesCondition(condition: ContextCondition<T>): boolean;
|
|
16
16
|
includesConditions(conditions: GeneralConditions<T>): boolean;
|