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

Properly set pagination type for paginated requests #27

Closed
mowaleed96 opened this issue Sep 24, 2023 · 0 comments · Fixed by impargo/lexoffice-client-js#1 · May be fixed by #28
Closed

Properly set pagination type for paginated requests #27

mowaleed96 opened this issue Sep 24, 2023 · 0 comments · Fixed by impargo/lexoffice-client-js#1 · May be fixed by #28

Comments

@mowaleed96
Copy link

mowaleed96 commented Sep 24, 2023

Properly set PagingOfRessources for paginated requests:

  1. retrieveAllRecurringTemplates
  2. filterContact

The types look like this:

export type ExampleType = {
  content: Partial<SomeType[]> & Partial<PagingOfRessources>;
};

while is should be like this:

export type ExampleType = Partial<PagingOfRessources> & {
  content: Partial<SomeType[]>;
};

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