Add typed pagination for discussion comments

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-11 15:05:01 +02:00
parent 13763ba7f9
commit 9537221124
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -37,7 +37,7 @@ export const possibleTypes = types.reduce((acc, type) => {
export const typePolicies: TypePolicies = {
Discussion: {
fields: {
comments: paginatedLimitPagination(),
comments: paginatedLimitPagination<IComment>(),
},
},
Group: {