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