Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PagedList has a missing prop #9

Open
opgbaudouin opened this issue Sep 2, 2022 · 1 comment
Open

PagedList has a missing prop #9

opgbaudouin opened this issue Sep 2, 2022 · 1 comment

Comments

@opgbaudouin
Copy link

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;
}

@tbreeze-zengenti
Copy link
Contributor

Hi @opgbaudouin, this should have been resolved with a recent PR: 5ef912d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants