PageInfoResolvers
talawa-api • Docs
talawa-api / types/generatedGraphQLTypes / PageInfoResolvers
Type Alias: PageInfoResolvers<ContextType, ParentType>
> PageInfoResolvers<ContextType
, ParentType
>: object
Type Parameters
• ContextType = any
• ParentType extends ResolversParentTypes
["PageInfo"
] = ResolversParentTypes
["PageInfo"
]
Type declaration
__isTypeOf?
> optional
__isTypeOf: IsTypeOfResolverFn
<ParentType
, ContextType
>
currPageNo?
> optional
currPageNo: Resolver
<Maybe
<ResolversTypes
["Int"
]>, ParentType
, ContextType
>
hasNextPage?
> optional
hasNextPage: Resolver
<ResolversTypes
["Boolean"
], ParentType
, ContextType
>
hasPreviousPage?
> optional
hasPreviousPage: Resolver
<ResolversTypes
["Boolean"
], ParentType
, ContextType
>
nextPageNo?
> optional
nextPageNo: Resolver
<Maybe
<ResolversTypes
["Int"
]>, ParentType
, ContextType
>
prevPageNo?
> optional
prevPageNo: Resolver
<Maybe
<ResolversTypes
["Int"
]>, ParentType
, ContextType
>
totalPages?
> optional
totalPages: Resolver
<Maybe
<ResolversTypes
["Int"
]>, ParentType
, ContextType
>