Skip to content

Commit 285b2df

Browse files
Remove BillingPlan imports
1 parent b3d447a commit 285b2df

23 files changed

Lines changed: 9 additions & 23 deletions

File tree

src/lib/components/backupDatabaseAlert.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts">
22
import { page } from '$app/state';
3-
import { BillingPlan } from '$lib/constants';
43
import { Button } from '$lib/elements/forms';
54
import { organization } from '$lib/stores/organization';
65
import { HeaderAlert } from '$lib/layout';

src/lib/components/backupRestoreBox.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { onMount } from 'svelte';
55
import { isCloud, isSelfHosted } from '$lib/system';
66
import { organization } from '$lib/stores/organization';
7-
import { BillingPlan, Dependencies } from '$lib/constants';
7+
import { Dependencies } from '$lib/constants';
88
import type { BackupArchive, BackupRestoration } from '$lib/sdk/backups';
99
import { goto, invalidate } from '$app/navigation';
1010
import { page } from '$app/state';

src/lib/components/billing/alerts/limitReached.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { base } from '$app/paths';
33
import { page } from '$app/state';
44
import { Click, trackEvent } from '$lib/actions/analytics';
5-
import { BillingPlan } from '$lib/constants';
65
import { Button } from '$lib/elements/forms';
76
import { isFreePlan } from '$lib/helpers/billing';
87
import { HeaderAlert } from '$lib/layout';

src/lib/components/billing/alerts/newDevUpgradePro.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { base } from '$app/paths';
33
import { page } from '$app/state';
44
import { Click, trackEvent } from '$lib/actions/analytics';
5-
import { BillingPlan, NEW_DEV_PRO_UPGRADE_COUPON } from '$lib/constants';
5+
import { NEW_DEV_PRO_UPGRADE_COUPON } from '$lib/constants';
66
import { Button } from '$lib/elements/forms';
77
import { organization } from '$lib/stores/organization';
88
import { activeHeaderAlert } from '$routes/(console)/store';

src/lib/components/roles/upgrade.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import { upgradeURL } from '$lib/stores/billing';
44
import { isCloud } from '$lib/system';
55
import { organization } from '$lib/stores/organization';
6-
import { BillingPlan } from '$lib/constants';
76
import Button from '$lib/elements/forms/button.svelte';
87
import { Badge, Layout, Link, Typography } from '@appwrite.io/pink-svelte';
98
import { isFreePlan } from '$lib/helpers/billing';

src/lib/layout/containerButton.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script lang="ts">
2-
import { BillingPlan } from '$lib/constants';
32
import { Button } from '$lib/elements/forms';
43
import { isFreePlan } from '$lib/helpers/billing';
54
import { tierToPlan } from '$lib/stores/billing';

src/lib/layout/shell.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import SideNavigation from '$lib/layout/navigation.svelte';
1515
import { hasOnboardingDismissed } from '$lib/helpers/onboarding';
1616
import { isSidebarOpen, noWidthTransition } from '$lib/stores/sidebar';
17-
import { BillingPlan } from '$lib/constants';
1817
import { page } from '$app/stores';
1918
import type { Models } from '@appwrite.io/console';
2019
import { getSidebarState, isInDatabasesRoute, updateSidebarState } from '$lib/helpers/sidebar';

src/routes/(console)/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { page } from '$app/state';
3-
import { BillingPlan, INTERVAL } from '$lib/constants';
3+
import { INTERVAL } from '$lib/constants';
44
import Footer from '$lib/layout/footer.svelte';
55
import Shell from '$lib/layout/shell.svelte';
66

src/routes/(console)/organization-[organization]/billing/availableCredit.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import { Button } from '$lib/elements/forms';
1111
import AddCreditModal from './addCreditModal.svelte';
1212
import { formatCurrency } from '$lib/helpers/numbers';
13-
import { BillingPlan } from '$lib/constants';
1413
import { Click, trackEvent } from '$lib/actions/analytics';
1514
import { upgradeURL } from '$lib/stores/billing';
1615

src/routes/(console)/organization-[organization]/billing/budgetCap.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { invalidate } from '$app/navigation';
33
import { Click, Submit, trackError, trackEvent } from '$lib/actions/analytics';
44
import { CardGrid } from '$lib/components';
5-
import { BillingPlan, Dependencies } from '$lib/constants';
5+
import { Dependencies } from '$lib/constants';
66
import { Button, Form, InputNumber, InputSwitch } from '$lib/elements/forms';
77
import { showUsageRatesModal, upgradeURL } from '$lib/stores/billing';
88
import { addNotification } from '$lib/stores/notifications';

0 commit comments

Comments
 (0)