changed a few field names
parent
67bb8b0488
commit
1fb84348c1
|
@ -10,19 +10,19 @@ const accountUrl = '/api/account';
|
|||
|
||||
export interface Agreement {
|
||||
type: string;
|
||||
signature_date: string;
|
||||
acceptDate: string;
|
||||
}
|
||||
|
||||
export interface Membership {
|
||||
type: string;
|
||||
startDate: string;
|
||||
duration: string;
|
||||
stripeCustomerId: string;
|
||||
}
|
||||
|
||||
export interface Account {
|
||||
id: string;
|
||||
emailAddress: string;
|
||||
displayName: string;
|
||||
username: string;
|
||||
subscription: Membership;
|
||||
agreements: Agreement[];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue