1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

[deps] Autofill: Update prettier to v3 (#7014)

* [deps] Autofill: Update prettier to v3

* prettier formatting updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
renovate[bot]
2023-11-29 16:15:20 -05:00
committed by GitHub
parent 4ff5f38e89
commit 28de9439be
1145 changed files with 5898 additions and 5612 deletions

View File

@@ -56,7 +56,7 @@ export class OrganizationData {
options: {
isMember: boolean;
isProviderUser: boolean;
}
},
) {
this.id = response.id;
this.name = response.name;

View File

@@ -37,7 +37,10 @@ export class EncryptedOrganizationKey implements BaseEncryptedOrganizationKey {
}
export class ProviderEncryptedOrganizationKey implements BaseEncryptedOrganizationKey {
constructor(private key: string, private providerId: string) {}
constructor(
private key: string,
private providerId: string,
) {}
async decrypt(cryptoService: CryptoService) {
const providerKey = await cryptoService.getProviderKey(this.providerId);

View File

@@ -11,6 +11,6 @@ export class OrganizationConnectionRequest {
public organizationId: string,
public type: OrganizationConnectionType,
public enabled: boolean,
public config: OrganizationConnectionRequestConfigs
public config: OrganizationConnectionRequestConfigs,
) {}
}

View File

@@ -3,6 +3,6 @@ import { OrganizationCreateRequest } from "../../../models/request/organization-
export class ProviderOrganizationCreateRequest {
constructor(
public clientOwnerEmail: string,
public organizationCreateRequest: OrganizationCreateRequest
public organizationCreateRequest: OrganizationCreateRequest,
) {}
}

View File

@@ -1,5 +1,8 @@
import { ScimProviderType } from "../../enums";
export class ScimConfigRequest {
constructor(private enabled: boolean, private scimProvider: ScimProviderType = null) {}
constructor(
private enabled: boolean,
private scimProvider: ScimProviderType = null,
) {}
}

View File

@@ -7,7 +7,7 @@ import { ScimConfigApi } from "../api/scim-config.api";
export type OrganizationConnectionConfigApis = BillingSyncConfigApi | ScimConfigApi;
export class OrganizationConnectionResponse<
TConfig extends OrganizationConnectionConfigApis
TConfig extends OrganizationConnectionConfigApis,
> extends BaseResponse {
id: string;
type: OrganizationConnectionType;

View File

@@ -70,10 +70,10 @@ export class OrganizationResponse extends BaseResponse {
this.maxAutoscaleSmSeats = this.getResponseProperty("MaxAutoscaleSmSeats");
this.maxAutoscaleSmServiceAccounts = this.getResponseProperty("MaxAutoscaleSmServiceAccounts");
this.limitCollectionCreationDeletion = this.getResponseProperty(
"LimitCollectionCreationDeletion"
"LimitCollectionCreationDeletion",
);
this.allowAdminAccessToAllCollectionItems = this.getResponseProperty(
"AllowAdminAccessToAllCollectionItems"
"AllowAdminAccessToAllCollectionItems",
);
}
}

View File

@@ -94,13 +94,13 @@ export class ProfileOrganizationResponse extends BaseResponse {
this.keyConnectorEnabled = this.getResponseProperty("KeyConnectorEnabled") ?? false;
this.keyConnectorUrl = this.getResponseProperty("KeyConnectorUrl");
const familySponsorshipLastSyncDateString = this.getResponseProperty(
"FamilySponsorshipLastSyncDate"
"FamilySponsorshipLastSyncDate",
);
if (familySponsorshipLastSyncDateString) {
this.familySponsorshipLastSyncDate = new Date(familySponsorshipLastSyncDateString);
}
const familySponsorshipValidUntilString = this.getResponseProperty(
"FamilySponsorshipValidUntil"
"FamilySponsorshipValidUntil",
);
if (familySponsorshipValidUntilString) {
this.familySponsorshipValidUntil = new Date(familySponsorshipValidUntilString);
@@ -108,10 +108,10 @@ export class ProfileOrganizationResponse extends BaseResponse {
this.familySponsorshipToDelete = this.getResponseProperty("FamilySponsorshipToDelete");
this.accessSecretsManager = this.getResponseProperty("AccessSecretsManager");
this.limitCollectionCreationDeletion = this.getResponseProperty(
"LimitCollectionCreationDeletion"
"LimitCollectionCreationDeletion",
);
this.allowAdminAccessToAllCollectionItems = this.getResponseProperty(
"AllowAdminAccessToAllCollectionItems"
"AllowAdminAccessToAllCollectionItems",
);
}
}