From e6955be92fcdbe6e29c1443eeaa1e4e22bb5ff06 Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Fri, 22 Sep 2023 18:45:39 +0200 Subject: [PATCH] Refactoring --- .../product-page-template.html | 8 ++--- .../personal-finance-tools/products.ts | 29 +------------------ libs/common/src/lib/interfaces/product.ts | 2 +- 3 files changed, 6 insertions(+), 33 deletions(-) diff --git a/apps/client/src/app/pages/resources/personal-finance-tools/product-page-template.html b/apps/client/src/app/pages/resources/personal-finance-tools/product-page-template.html index 4677a8db0..b58bb79d4 100644 --- a/apps/client/src/app/pages/resources/personal-finance-tools/product-page-template.html +++ b/apps/client/src/app/pages/resources/personal-finance-tools/product-page-template.html @@ -96,16 +96,16 @@ Open Source Software - ✅ Yes❌ No - ✅ Yes❌ No diff --git a/apps/client/src/app/pages/resources/personal-finance-tools/products.ts b/apps/client/src/app/pages/resources/personal-finance-tools/products.ts index 111a287f6..8387e7891 100644 --- a/apps/client/src/app/pages/resources/personal-finance-tools/products.ts +++ b/apps/client/src/app/pages/resources/personal-finance-tools/products.ts @@ -47,7 +47,7 @@ export const products: Product[] = [ ], name: 'Ghostfolio', origin: $localize`Switzerland`, - pricingPerYear: '$19', + pricingPerYear: '$24', region: $localize`Global`, slogan: 'Open Source Wealth Management', useAnonymously: true @@ -56,7 +56,6 @@ export const products: Product[] = [ component: AltooPageComponent, founded: 2017, hasSelfHostingAbility: false, - isOpenSource: false, key: 'altoo', name: 'Altoo Wealth Platform', origin: $localize`Switzerland`, @@ -65,7 +64,6 @@ export const products: Product[] = [ { component: CapMonPageComponent, founded: 2022, - isOpenSource: false, key: 'capmon', name: 'CapMon.org', origin: $localize`Germany`, @@ -77,7 +75,6 @@ export const products: Product[] = [ founded: 2019, hasFreePlan: false, hasSelfHostingAbility: false, - isOpenSource: false, key: 'copilot-money', name: 'Copilot Money', origin: $localize`United States`, @@ -89,7 +86,6 @@ export const products: Product[] = [ founded: 2017, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'delta', name: 'Delta Investment Tracker', note: 'Acquired by eToro', @@ -101,7 +97,6 @@ export const products: Product[] = [ founded: 2019, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'divvydiary', languages: ['Deutsch', 'English'], name: 'DivvyDiary', @@ -114,7 +109,6 @@ export const products: Product[] = [ founded: 2020, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'exirio', name: 'Exirio', origin: $localize`United States`, @@ -125,7 +119,6 @@ export const products: Product[] = [ component: FolisharePageComponent, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'folishare', languages: ['Deutsch', 'English'], name: 'folishare', @@ -138,7 +131,6 @@ export const products: Product[] = [ founded: 2020, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'getquin', languages: ['Deutsch', 'English'], name: 'getquin', @@ -150,7 +142,6 @@ export const products: Product[] = [ component: GoSpatzPageComponent, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'gospatz', name: 'goSPATZ', origin: $localize`Germany`, @@ -161,7 +152,6 @@ export const products: Product[] = [ founded: 2011, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'justetf', name: 'justETF', origin: $localize`Germany`, @@ -173,7 +163,6 @@ export const products: Product[] = [ founded: 2019, hasFreePlan: false, hasSelfHostingAbility: false, - isOpenSource: false, key: 'kubera', name: 'Kubera®', origin: $localize`United States`, @@ -185,7 +174,6 @@ export const products: Product[] = [ founded: 2022, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'markets.sh', languages: ['English'], name: 'markets.sh', @@ -198,7 +186,6 @@ export const products: Product[] = [ component: MaybeFinancePageComponent, founded: 2021, hasSelfHostingAbility: false, - isOpenSource: false, key: 'maybe-finance', languages: ['English'], name: 'Maybe Finance', @@ -212,7 +199,6 @@ export const products: Product[] = [ component: MonsePageComponent, hasFreePlan: false, hasSelfHostingAbility: false, - isOpenSource: false, key: 'monse', name: 'Monse', pricingPerYear: '$60', @@ -223,7 +209,6 @@ export const products: Product[] = [ founded: 2020, hasSelfHostingAbility: false, hasFreePlan: true, - isOpenSource: false, key: 'parqet', name: 'Parqet', note: 'Originally named as Tresor One', @@ -236,7 +221,6 @@ export const products: Product[] = [ component: PlannixPageComponent, founded: 2023, hasSelfHostingAbility: false, - isOpenSource: false, key: 'plannix', name: 'Plannix', origin: $localize`Italy`, @@ -246,7 +230,6 @@ export const products: Product[] = [ component: PortfolioDividendTrackerPageComponent, hasFreePlan: false, hasSelfHostingAbility: false, - isOpenSource: false, key: 'portfolio-dividend-tracker', languages: ['English', 'Nederlands'], name: 'Portfolio Dividend Tracker', @@ -259,7 +242,6 @@ export const products: Product[] = [ founded: 2021, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'portseido', languages: ['Deutsch', 'English', 'Français', 'Nederlands'], name: 'Portseido', @@ -272,7 +254,6 @@ export const products: Product[] = [ founded: 2021, hasFreePlan: true, hasSelfHostingAbility: true, - isOpenSource: false, key: 'projectionlab', name: 'ProjectionLab', origin: $localize`United States`, @@ -284,7 +265,6 @@ export const products: Product[] = [ founded: 2004, hasFreePlan: false, hasSelfHostingAbility: false, - isOpenSource: false, key: 'seeking-alpha', name: 'Seeking Alpha', origin: $localize`United States`, @@ -296,7 +276,6 @@ export const products: Product[] = [ founded: 2007, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'sharesight', name: 'Sharesight', origin: $localize`New Zealand`, @@ -308,7 +287,6 @@ export const products: Product[] = [ component: SimplePortfolioPageComponent, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'simple-portfolio', name: 'Simple Portfolio', origin: $localize`Czech Republic`, @@ -320,7 +298,6 @@ export const products: Product[] = [ founded: 2021, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'snowball-analytics', name: 'Snowball Analytics', origin: $localize`France`, @@ -330,7 +307,6 @@ export const products: Product[] = [ { component: StockMarketEyePageComponent, founded: 2008, - isOpenSource: false, key: 'stockmarketeye', name: 'StockMarketEye', origin: $localize`France`, @@ -341,7 +317,6 @@ export const products: Product[] = [ component: SumioPageComponent, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'sumio', name: 'Sumio', origin: $localize`Czech Republic`, @@ -352,7 +327,6 @@ export const products: Product[] = [ component: UtlunaPageComponent, hasFreePlan: true, hasSelfHostingAbility: false, - isOpenSource: false, key: 'utluna', languages: ['Deutsch', 'English', 'Français'], name: 'Utluna', @@ -365,7 +339,6 @@ export const products: Product[] = [ component: YeekateePageComponent, founded: 2021, hasSelfHostingAbility: false, - isOpenSource: false, key: 'yeekatee', name: 'yeekatee', origin: $localize`Switzerland`, diff --git a/libs/common/src/lib/interfaces/product.ts b/libs/common/src/lib/interfaces/product.ts index d488f9f0b..c5465898d 100644 --- a/libs/common/src/lib/interfaces/product.ts +++ b/libs/common/src/lib/interfaces/product.ts @@ -3,7 +3,7 @@ export interface Product { founded?: number; hasFreePlan?: boolean; hasSelfHostingAbility?: boolean; - isOpenSource: boolean; + isOpenSource?: boolean; key: string; languages?: string[]; name: string;