mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
[AC-1202] Update enums filenames for admin-console/billing teams (#5169)
* refactor: add barrel file for admin-console enums, update references, refs AC-1202 * fix: lint/prettier updates, refs AC-1202 * refactor: add enum suffix, refs AC-1202 * refactor: add barrel file for billing enums, update imports to use it, refs AC-1202 * fix: prettier, refs AC-1202 * refactor: add enum suffix for billing enums, refs AC-1202
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { BaseResponse } from "../../../models/response/base.response";
|
||||
import { OrganizationApiKeyType } from "../../enums/organization-api-key-type";
|
||||
import { OrganizationApiKeyType } from "../../enums";
|
||||
|
||||
export class OrganizationApiKeyInformationResponse extends BaseResponse {
|
||||
keyType: OrganizationApiKeyType;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { BillingSyncConfigApi } from "../../../billing/models/api/billing-sync-config.api";
|
||||
import { BaseResponse } from "../../../models/response/base.response";
|
||||
import { OrganizationConnectionType } from "../../enums/organization-connection-type";
|
||||
import { OrganizationConnectionType } from "../../enums";
|
||||
import { ScimConfigApi } from "../api/scim-config.api";
|
||||
|
||||
/**API response config types for OrganizationConnectionResponse */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PlanType } from "../../../billing/enums/plan-type";
|
||||
import { PlanType } from "../../../billing/enums";
|
||||
import { PlanResponse } from "../../../billing/models/response/plan.response";
|
||||
import { BaseResponse } from "../../../models/response/base.response";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { BaseResponse } from "../../../models/response/base.response";
|
||||
import { PolicyType } from "../../enums/policy-type";
|
||||
import { PolicyType } from "../../enums";
|
||||
|
||||
export class PolicyResponse extends BaseResponse {
|
||||
id: string;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { ProductType } from "../../../enums";
|
||||
import { BaseResponse } from "../../../models/response/base.response";
|
||||
import { OrganizationUserStatusType } from "../../enums/organization-user-status-type";
|
||||
import { OrganizationUserType } from "../../enums/organization-user-type";
|
||||
import { OrganizationUserStatusType, OrganizationUserType } from "../../enums";
|
||||
import { PermissionsApi } from "../api/permissions.api";
|
||||
|
||||
export class ProfileOrganizationResponse extends BaseResponse {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { BaseResponse } from "../../../models/response/base.response";
|
||||
import { ProviderUserStatusType } from "../../enums/provider-user-status-type";
|
||||
import { ProviderUserType } from "../../enums/provider-user-type";
|
||||
import { ProviderUserStatusType, ProviderUserType } from "../../enums";
|
||||
import { PermissionsApi } from "../api/permissions.api";
|
||||
|
||||
export class ProfileProviderResponse extends BaseResponse {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { BaseResponse } from "../../../../models/response/base.response";
|
||||
import { ProviderUserStatusType } from "../../../enums/provider-user-status-type";
|
||||
import { ProviderUserType } from "../../../enums/provider-user-type";
|
||||
import { ProviderUserStatusType, ProviderUserType } from "../../../enums";
|
||||
import { PermissionsApi } from "../../api/permissions.api";
|
||||
|
||||
export class ProviderUserResponse extends BaseResponse {
|
||||
|
||||
Reference in New Issue
Block a user