-
-
Save JWLangford/b55684c6b1a12b17908635a446acc3a6 to your computer and use it in GitHub Desktop.
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
interface IUser { | |
id: string | |
username: string; | |
email: string; | |
emailVerified: string; | |
created: string; | |
trialEnds: string; | |
billingInfo?: IBillingInfo; | |
posts?: IPost[]; | |
} | |
interface IUserState { | |
id: string | |
username: string; | |
email: string; | |
emailVerified: string; | |
created: string; | |
trialEnds: string; | |
posts?: IPost[]; | |
} | |
interface IBillingInfo { | |
lastFour: string | |
expiration: string | |
type: string | |
address1: string | |
address2: string | |
city: string | |
state: string | |
zip: string | |
} | |
interface IBillingState extends IBillingInfo { | |
//...can add any helpers here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment