Fix for group activity pagination
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
7e1409100f
commit
fa6df2ccd0
|
@ -15,6 +15,7 @@ import introspectionQueryResultData from "../../fragmentTypes.json";
|
||||||
import { IMember } from "@/types/actor/member.model";
|
import { IMember } from "@/types/actor/member.model";
|
||||||
import { IComment } from "@/types/comment.model";
|
import { IComment } from "@/types/comment.model";
|
||||||
import { IEvent } from "@/types/event.model";
|
import { IEvent } from "@/types/event.model";
|
||||||
|
import { IActivity } from "@/types/activity.model";
|
||||||
|
|
||||||
type possibleTypes = { name: string };
|
type possibleTypes = { name: string };
|
||||||
type schemaType = {
|
type schemaType = {
|
||||||
|
@ -44,6 +45,7 @@ export const typePolicies: TypePolicies = {
|
||||||
"afterDatetime",
|
"afterDatetime",
|
||||||
"beforeDatetime",
|
"beforeDatetime",
|
||||||
]),
|
]),
|
||||||
|
activity: paginatedLimitPagination<IActivity>(["type", "author"]),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Person: {
|
Person: {
|
||||||
|
|
Loading…
Reference in a new issue