mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +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:
4
libs/common/src/billing/enums/index.ts
Normal file
4
libs/common/src/billing/enums/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export * from "./payment-method-type.enum";
|
||||
export * from "./plan-sponsorship-type.enum";
|
||||
export * from "./plan-type.enum";
|
||||
export * from "./transaction-type.enum";
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PaymentMethodType } from "../../enums/payment-method-type";
|
||||
import { PaymentMethodType } from "../../enums";
|
||||
|
||||
import { OrganizationTaxInfoUpdateRequest } from "./organization-tax-info-update.request";
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { BaseResponse } from "../../../models/response/base.response";
|
||||
import { PaymentMethodType } from "../../enums/payment-method-type";
|
||||
import { TransactionType } from "../../enums/transaction-type";
|
||||
import { PaymentMethodType, TransactionType } from "../../enums";
|
||||
|
||||
export class BillingResponse extends BaseResponse {
|
||||
balance: number;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ProductType } from "../../../enums";
|
||||
import { BaseResponse } from "../../../models/response/base.response";
|
||||
import { PlanType } from "../../enums/plan-type";
|
||||
import { PlanType } from "../../enums";
|
||||
|
||||
export class PlanResponse extends BaseResponse {
|
||||
type: PlanType;
|
||||
|
||||
Reference in New Issue
Block a user