-
Notifications
You must be signed in to change notification settings - Fork 0
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 waitlist notifications #48
Conversation
upacyxou
commented
Oct 25, 2023
- add waitlist notifications
@@ -12,7 +12,7 @@ interface FirebaseNotificationProps { | |||
body?: string | |||
postId?: number | |||
feedId?: number | |||
type?: 'entanglement' | 'newpost' | |||
type?: 'entanglement' | 'newpost' | 'waitlist' |
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.
I assume it's better to create enum for that, imo.
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.
I think it's alright because it's strong-typed anyway and we're using it in just one place
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.
enum is pretty the same in case we use those, no need for it