Skip to content

Commit a233b9b

Browse files
committed
refactor(shared): import usageLimitIdentity from its model
1 parent 24103b0 commit a233b9b

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

shared/utils/fullSubjectUtils/mergeCustomerBillingControlsForCheck.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ import { getCurrentUsageWindowUsage } from "../usageWindowUtils/getCurrentUsageW
1717
import { fullSubjectToUsageWindowLimits } from "./fullSubjectToUsageWindowLimits.js";
1818
import { resolveBillingControl } from "./planBillingControlUtils.js";
1919

20-
export { usageLimitIdentity };
21-
2220
export const mergeControlsByFeature = <
2321
TControl extends { feature_id?: string },
2422
TKey extends BillingControlKey,

shared/utils/fullSubjectUtils/mergePlanBillingControlsForResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import type { ApiOverageAllowed } from "../../api/billingControls/overageAllowed
55
import type { ApiSpendLimit } from "../../api/billingControls/spendLimit.js";
66
import type { ApiUsageAlert } from "../../api/billingControls/usageAlert.js";
77
import type { ApiUsageLimit } from "../../api/billingControls/usageLimit.js";
8+
import { usageLimitIdentity } from "../../models/cusModels/billingControls/usageLimit.js";
89
import type { FullSubject } from "../../models/cusModels/fullSubject/fullSubjectModel.js";
910
import type { FullCusProduct } from "../../models/cusProductModels/cusProductModels.js";
1011
import type { Feature } from "../../models/featureModels/featureModels.js";
1112
import { buildNormalizeSpendLimitForCompare } from "./buildNormalizeSpendLimitForCompare.js";
1213
import {
1314
decorateInheritedPlanUsageLimits,
1415
mergeControlsByFeature,
15-
usageLimitIdentity,
1616
} from "./mergeCustomerBillingControlsForCheck.js";
1717
import { getPlanBillingControlProducts } from "./planBillingControlUtils.js";
1818

0 commit comments

Comments
 (0)