You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see in the actual return form the API a PagedList (src/models/PagedList.ts) should have a pageCount: number prop (or perhaps as optional) but it does get returned.
My workaround is as follows:
//small correction for PagedList not being completely correctly typed.
export interface CorrectPageList extends PagedList {
pageCount: number;
}
The text was updated successfully, but these errors were encountered:
Hiya
https://www.contensis.com/help-and-docs/apis/management-http/content/paging/paged-list
As you can see in the actual return form the API a PagedList (src/models/PagedList.ts) should have a pageCount: number prop (or perhaps as optional) but it does get returned.
My workaround is as follows:
//small correction for PagedList not being completely correctly typed.
export interface CorrectPageList extends PagedList {
pageCount: number;
}
The text was updated successfully, but these errors were encountered: