Updated the register to allow the difference between a individual and corporate
This commit is contained in:
@@ -14,13 +14,25 @@ export interface User {
|
||||
bio: string;
|
||||
isVerified: boolean;
|
||||
demographicInformation?: DemographicInformation;
|
||||
companyInformation?: CompanyInformation;
|
||||
corporateInformation?: CorporateInformation;
|
||||
subscriptionExpirationDate?: null | Date;
|
||||
isDisabled?: boolean;
|
||||
registrationDate?: Date;
|
||||
}
|
||||
|
||||
export interface CompanyInformation {}
|
||||
export interface CorporateInformation {
|
||||
companyInformation: CompanyInformation;
|
||||
payment?: {
|
||||
value: number;
|
||||
currency: string;
|
||||
};
|
||||
allowedUserAmount?: number;
|
||||
}
|
||||
|
||||
export interface CompanyInformation {
|
||||
name: string;
|
||||
userAmount: number;
|
||||
}
|
||||
|
||||
export interface DemographicInformation {
|
||||
country: string;
|
||||
|
||||
Reference in New Issue
Block a user