mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
add storage gb info to org
This commit is contained in:
parent
4d702f4de3
commit
aa811e51c3
@ -18,6 +18,7 @@ export class OrganizationData {
|
|||||||
usersGetPremium: boolean;
|
usersGetPremium: boolean;
|
||||||
seats: number;
|
seats: number;
|
||||||
maxCollections: number;
|
maxCollections: number;
|
||||||
|
maxStorageGb?: number;
|
||||||
|
|
||||||
constructor(response: ProfileOrganizationResponse) {
|
constructor(response: ProfileOrganizationResponse) {
|
||||||
this.id = response.id;
|
this.id = response.id;
|
||||||
@ -34,5 +35,6 @@ export class OrganizationData {
|
|||||||
this.usersGetPremium = response.usersGetPremium;
|
this.usersGetPremium = response.usersGetPremium;
|
||||||
this.seats = response.seats;
|
this.seats = response.seats;
|
||||||
this.maxCollections = response.maxCollections;
|
this.maxCollections = response.maxCollections;
|
||||||
|
this.maxStorageGb = response.maxStorageGb;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,7 @@ export class Organization {
|
|||||||
usersGetPremium: boolean;
|
usersGetPremium: boolean;
|
||||||
seats: number;
|
seats: number;
|
||||||
maxCollections: number;
|
maxCollections: number;
|
||||||
|
maxStorageGb?: number;
|
||||||
|
|
||||||
constructor(obj?: OrganizationData) {
|
constructor(obj?: OrganizationData) {
|
||||||
if (obj == null) {
|
if (obj == null) {
|
||||||
@ -38,6 +39,7 @@ export class Organization {
|
|||||||
this.usersGetPremium = obj.usersGetPremium;
|
this.usersGetPremium = obj.usersGetPremium;
|
||||||
this.seats = obj.seats;
|
this.seats = obj.seats;
|
||||||
this.maxCollections = obj.maxCollections;
|
this.maxCollections = obj.maxCollections;
|
||||||
|
this.maxStorageGb = obj.maxStorageGb;
|
||||||
}
|
}
|
||||||
|
|
||||||
get canAccess() {
|
get canAccess() {
|
||||||
|
Loading…
Reference in New Issue
Block a user