Created
August 24, 2020 05:34
-
-
Save brianfoody/0c36ccb6bc82eb217aacb7f997af27f8 to your computer and use it in GitHub Desktop.
User Events Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type MembershipType = "Basic" | "Pro" | "Premium"; | |
type SignUp = { | |
userId: string; | |
phoneNumber: string; | |
membershipType: MembershipType; | |
}; | |
type MembershipUpdate = { | |
membershipType: MembershipType; | |
}; | |
type CloseAccount = { | |
userId: string; | |
phoneNumber: string; | |
membershipType: MembershipType; | |
}; | |
export type Events = { | |
SignUp: SignUp; | |
MembershipUpdate: MembershipUpdate; | |
CloseAccount: CloseAccount; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment