Open source personal finance application
chore: remove dead exports flagged by fallow
Ilya Komicheve08a5ad0e7ad
diff --git a/app/app/components/stat/chart/useCategorySeriesBuilder.ts b/app/app/components/stat/chart/useCategorySeriesBuilder.tsindex 77af25c4..4c477eae 100644--- a/app/app/components/stat/chart/useCategorySeriesBuilder.ts+++ b/app/app/components/stat/chart/useCategorySeriesBuilder.ts@@ -6,11 +6,11 @@ import type { TrnId, TrnItem } from '~/components/trns/types'import { getParentCategoryIdOrUndefined } from '~/components/categories/utils'/** Neutral grey used for the aggregated "Other" slice/series. */-export const OTHER_SLICE_COLOR = 'var(--ui-text-dimmed)'+const OTHER_SLICE_COLOR = 'var(--ui-text-dimmed)'/** Synthetic id for the aggregated "Other" pie slice. Not a real category. */export const OTHER_SLICE_ID = '__other__'/** Default number of top categories shown before the rest roll up into "Other". */-export const DEFAULT_PIE_TOP_N = 8+const DEFAULT_PIE_TOP_N = 8type AggregateParams = {categoriesItems: Categoriesdiff --git a/app/app/composables/useStoreSync.ts b/app/app/composables/useStoreSync.tsindex 701b1a4e..d55dafdc 100644--- a/app/app/composables/useStoreSync.ts+++ b/app/app/composables/useStoreSync.ts@@ -53,7 +53,7 @@ const emoByType = {type ToastType = keyof typeof emoByType-export function showToast(type: ToastType, key: string, params?: Record<string, unknown>) {+function showToast(type: ToastType, key: string, params?: Record<string, unknown>) {const toast = getToast()const t = getT()return toast.add({ color: type, description: t ? t(key, params ?? {}) : key, title: random(emoByType[type]) })@@ -87,7 +87,3 @@ export function showErrorToast(key: string, params?: Record<string, unknown>) {export function showSuccessToast(key: string, params?: Record<string, unknown>) {return showToast('success', key, params)}--export function showWarningToast(key: string, params?: Record<string, unknown>) {- return showToast('warning', key, params)-}diff --git a/app/services/powersync/AppSchema.ts b/app/services/powersync/AppSchema.tsindex 0a45c77c..0f323003 100644--- a/app/services/powersync/AppSchema.ts+++ b/app/services/powersync/AppSchema.ts@@ -74,5 +74,3 @@ export const AppSchema = new Schema({user_settings,wallets,})--export type AppDatabase = (typeof AppSchema)['types']