Fix for group activity pagination

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-05-25 18:37:16 +02:00
parent 7e1409100f
commit fa6df2ccd0
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -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: {