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

Create enum for User roles #6

Open
edalholt opened this issue Feb 2, 2023 · 0 comments
Open

Create enum for User roles #6

edalholt opened this issue Feb 2, 2023 · 0 comments

Comments

@edalholt
Copy link
Member

edalholt commented Feb 2, 2023

Change memberships.type in IUserProfileResponse from string to enum:

Something like this

export enum userRole { "leader" = "Leader", "deputy_leader" = "Deputy Leader", "cashier" = "Cashier", "board_member" = "Board Member", "deputy_board_member" = "Deputy Board Member", "volunteer" = "Volunteer", "member" = "Member", }

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

1 participant