MCPcopy Create free account
hub / github.com/bytebase/bytebase / planTitleKey

Function planTitleKey

frontend/src/react/components/BannersWrapper.tsx:39–41  ·  view source on GitHub ↗
(plan: PlanType)

Source from the content-addressed store, hash-verified

37};
38
39function planTitleKey(plan: PlanType) {
40 return `subscription.plan.${planLabelKey[plan] ?? "enterprise"}.title`;
41}
42
43function planFeatureFromKey(key: string): PlanFeature {
44 const feature = PlanFeature[key as keyof typeof PlanFeature];

Callers 2

BannerSubscriptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected