We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 380083a + fbdbe03 commit 4c60a65Copy full SHA for 4c60a65
packages/notion-client/src/notion-api.ts
@@ -568,11 +568,18 @@ export class NotionAPI {
568
reducers: {
569
[reducerLabel]: {
570
type: 'groups',
571
+ version: 'v2',
572
groupBy,
573
...(collectionView?.query2?.filter && {
574
filter: collectionView?.query2?.filter
575
}),
- groupSortPreference: groups.map((group: any) => group?.value),
576
+ groupSortPreference: groups.map((group: any) => ({
577
+ property: group?.property,
578
+ value: {
579
+ type: group?.value?.type,
580
+ value: group?.value?.value
581
+ }
582
+ })),
583
limit
584
},
585
...reducersQuery
0 commit comments