@rushdb/javascript-sdk 0.7.0 → 0.7.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/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/types/types/query.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @rushdb/javascript-sdk
|
|
2
2
|
|
|
3
|
+
## 0.7.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c32b9bf: Aggregations minor fixes
|
|
8
|
+
|
|
9
|
+
## 0.7.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 0551051: Restore original skip & limit behaviour for nested search
|
|
14
|
+
|
|
3
15
|
## 0.7.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/package.json
CHANGED
package/types/types/query.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export type AggregateCollectFn = {
|
|
|
44
44
|
limit?: number;
|
|
45
45
|
orderBy?: Order;
|
|
46
46
|
skip?: number;
|
|
47
|
-
uniq?:
|
|
47
|
+
uniq?: boolean;
|
|
48
48
|
};
|
|
49
49
|
export type AggregateCollectNestedFn = Omit<AggregateCollectFn, 'field'> & {
|
|
50
50
|
aggregate?: {
|
|
@@ -72,7 +72,7 @@ export type AggregateFn<S extends Schema = Schema> = {
|
|
|
72
72
|
alias: string;
|
|
73
73
|
field?: string;
|
|
74
74
|
fn: 'count';
|
|
75
|
-
uniq?:
|
|
75
|
+
uniq?: boolean;
|
|
76
76
|
} | AggregateCollectFn;
|
|
77
77
|
export type Aggregate = {
|
|
78
78
|
[field: string]: AggregateCollectNestedFn;
|