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

Implemented ListUsers (paginate, sort, filter), GetUserById, CreateUser, UpdateById #14

Merged
merged 18 commits into from
Dec 4, 2021

Conversation

TheOnlyBeardedBeast
Copy link
Contributor

Hi as I wrote yesterday that I found some missing API calls

So today I implemented

  • ListUsers (paginate, sort, filter)
  • GetUserById
  • CreateUser
  • UpdateById

All of these API calls require aServiceRoleKey.

These API call are useful for example in an admin application.

Also the Readme and Tests were extended.

Let me know if you miss anything.

@acupofjose
Copy link
Contributor

Got that done quick! SORT_ORDER needs to renamed to SortOrder to match the enums on the other libraries, but I can do that after the merge. Thanks so much @TheOnlyBeardedBeast!

Fixes #13

@acupofjose acupofjose merged commit f49c23b into supabase-community:master Dec 4, 2021
@TheOnlyBeardedBeast
Copy link
Contributor Author

@acupofjose sorry for the naming issue, I am glad to help.

@acupofjose
Copy link
Contributor

No worries! Just maintaining consistency. Everything looks great man! Happy Saturday.

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

Successfully merging this pull request may close these issues.

3 participants