Add typed pagination for discussion comments
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
13763ba7f9
commit
9537221124
@ -37,7 +37,7 @@ export const possibleTypes = types.reduce((acc, type) => {
|
|||||||
export const typePolicies: TypePolicies = {
|
export const typePolicies: TypePolicies = {
|
||||||
Discussion: {
|
Discussion: {
|
||||||
fields: {
|
fields: {
|
||||||
comments: paginatedLimitPagination(),
|
comments: paginatedLimitPagination<IComment>(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Group: {
|
Group: {
|
||||||
|
Loading…
Reference in New Issue
Block a user