Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
TWilson023 committed Dec 27, 2024
1 parent c4e6d5d commit 54cf7db
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions packages/utils/src/constants/pricing.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
type Feature = {
id?: string;
text: string;
footnote?: {
title: string;
cta: string;
href: string;
};
};

const BUSINESS_PLAN_MODIFIER = ({
name = "Business",
monthly = 59,
Expand Down Expand Up @@ -102,7 +112,7 @@ const BUSINESS_PLAN_MODIFIER = ({
href: "https://d.to/webhooks",
},
},
],
] as Feature[],
});

export const PLANS = [
Expand Down Expand Up @@ -162,7 +172,7 @@ export const PLANS = [
href: "https://dub.co/docs/api-reference/introduction",
},
},
],
] as Feature[],
},
{
name: "Pro",
Expand Down Expand Up @@ -242,7 +252,7 @@ export const PLANS = [
href: "https://dub.co/help/article/free-dot-link-domain",
},
},
],
] as Feature[],
},
BUSINESS_PLAN_MODIFIER({
name: "Business",
Expand Down Expand Up @@ -346,7 +356,7 @@ export const PLANS = [
{ id: "sla", text: "Custom SLA" },
{ id: "logs", text: "Audit logs" },
{ id: "success", text: "Dedicated success manager" },
],
] as Feature[],
},
];

Expand Down

0 comments on commit 54cf7db

Please sign in to comment.