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
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import introspectionQueryResultData from "../../fragmentTypes.json";
import { IMember } from "@/types/actor/member.model";
import { IComment } from "@/types/comment.model";
import { IEvent } from "@/types/event.model";
import { IActivity } from "@/types/activity.model";
type possibleTypes = { name: string };
type schemaType = {
@ -44,6 +45,7 @@ export const typePolicies: TypePolicies = {
"afterDatetime",
"beforeDatetime",
]),
activity: paginatedLimitPagination<IActivity>(["type", "author"]),
},
},
Person: {