Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
refactor(license): update imports and enhance usage counters
Victor Hugo dos Santose4256a2635ba
diff --git a/backend/src/ee/services/license-v2/license-v2-service.ts b/backend/src/ee/services/license-v2/license-v2-service.tsindex 2ff2b2788a..e611e885fb 100644--- a/backend/src/ee/services/license-v2/license-v2-service.ts+++ b/backend/src/ee/services/license-v2/license-v2-service.ts@@ -34,8 +34,8 @@ import {BillingV2Plan,BillingV2Preview,BillingV2SubState,- BillingV2UsageBreakdown,BillingV2Trial,+ BillingV2UsageBreakdown,TAddBillingV2PaymentMethodDTO,TBillingV2SubscriptionLifecycleDTO,TBuyBillingV2ProductDTO,diff --git a/backend/src/services/license-client/usage/usage-counters.ts b/backend/src/services/license-client/usage/usage-counters.tsindex 94e6bc0be3..2065c1a63a 100644--- a/backend/src/services/license-client/usage/usage-counters.ts+++ b/backend/src/services/license-client/usage/usage-counters.ts@@ -46,6 +46,7 @@ type TBuildMeteredFeaturesDep = {| "countActiveCertificateQuotaKeysByOrg"| "countSecretManagementIdentities"| "countPamIdentities"+ | "countAgentVaultIdentities">;// Cloud meters per org; self-hosted meters the whole instance (a single license covers the DB).isCloud: boolean;diff --git a/frontend/src/components/v3/generic/Combobox/Combobox.tsx b/frontend/src/components/v3/generic/Combobox/Combobox.tsxindex cee74587ac..e3a842da45 100644--- a/frontend/src/components/v3/generic/Combobox/Combobox.tsx+++ b/frontend/src/components/v3/generic/Combobox/Combobox.tsx@@ -221,7 +221,7 @@ const ComboboxList = <TOption,>({className={() =>cn("thin-scrollbar scroll-py-1 overflow-y-auto overscroll-contain p-1 outline-none",- (isLoading || isEmpty) && "hidden"+ isEmpty && "hidden")}style={{ maxHeight }}@@ -237,20 +237,19 @@ const ComboboxList = <TOption,>({): renderItem}</ComboboxPrimitive.List>- {isLoading ? (- <div- role="status"- className="flex min-h-16 items-center justify-center px-3 py-4 text-sm text-muted"- >- <span>{loadingMessage}</span>- </div>- ) : (- isEmpty && (+ {isEmpty &&+ (isLoading ? (+ <div+ role="status"+ className="flex min-h-16 items-center justify-center px-3 py-4 text-sm text-muted"+ >+ <span>{loadingMessage}</span>+ </div>+ ) : (<div role="status" className="py-6 text-center text-sm text-muted">{emptyMessage}</div>- )- )}+ ))}</>);};