-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add organizations api #54
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny comment which is only relevant if you wanna try to use the typedoc thing I mentioned in my other PR.
* API for working with Organizations | ||
*/ | ||
export class OrganizationsApi extends BaseApi<PaginatedResponse<Organization>> { | ||
getByUser(userId: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems silly, but maybe add some docs to each method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc update pushed
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Adds helper methods for making calls to the organizations api.
Currently this only adds the get organizations by user id call.
How Has This Been Tested?
Tests have been added to cover the new API call.
Screenshots (if appropriate):
Checklist:
yarn validate
to ensure that tests, typescript and linting are all in order.