Browse Source
Merge branch 'main' into task/upgrade-envalid-to-version-8.2.0
pull/7222/head
Thomas Kaul
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with
33 additions and
1 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/admin-overview/admin-overview.component.ts
-
libs/common/src/lib/interfaces/index.ts
-
libs/common/src/lib/interfaces/product.interface.ts
-
libs/common/src/lib/types/index.ts
-
libs/common/src/lib/types/product-category.type.ts
-
libs/common/src/lib/types/product-platform.type.ts
|
|
@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
- Set the change detection strategy to `OnPush` in the alert dialog component |
|
|
- Set the change detection strategy to `OnPush` in the alert dialog component |
|
|
- Set the change detection strategy to `OnPush` in the confirmation dialog component |
|
|
- Set the change detection strategy to `OnPush` in the confirmation dialog component |
|
|
- Set the change detection strategy to `OnPush` in the prompt dialog component |
|
|
- Set the change detection strategy to `OnPush` in the prompt dialog component |
|
|
|
|
|
- Set the change detection strategy to `OnPush` in the overview of the admin control panel |
|
|
- Upgraded `envalid` from version `8.1.1` to `8.2.0` |
|
|
- Upgraded `envalid` from version `8.1.1` to `8.2.0` |
|
|
- Upgraded `stripe` from version `21.0.1` to `22.2.3` |
|
|
- Upgraded `stripe` from version `21.0.1` to `22.2.3` |
|
|
|
|
|
|
|
|
|
|
|
@ -27,6 +27,7 @@ import { GfValueComponent } from '@ghostfolio/ui/value'; |
|
|
import { Clipboard, ClipboardModule } from '@angular/cdk/clipboard'; |
|
|
import { Clipboard, ClipboardModule } from '@angular/cdk/clipboard'; |
|
|
import { CommonModule } from '@angular/common'; |
|
|
import { CommonModule } from '@angular/common'; |
|
|
import { |
|
|
import { |
|
|
|
|
|
ChangeDetectionStrategy, |
|
|
ChangeDetectorRef, |
|
|
ChangeDetectorRef, |
|
|
Component, |
|
|
Component, |
|
|
DestroyRef, |
|
|
DestroyRef, |
|
|
@ -64,6 +65,7 @@ import { |
|
|
import ms, { StringValue } from 'ms'; |
|
|
import ms, { StringValue } from 'ms'; |
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
|
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
imports: [ |
|
|
imports: [ |
|
|
ClipboardModule, |
|
|
ClipboardModule, |
|
|
CommonModule, |
|
|
CommonModule, |
|
|
@ -140,6 +142,8 @@ export class GfAdminOverviewComponent implements OnInit { |
|
|
permissions.toggleReadOnlyMode |
|
|
permissions.toggleReadOnlyMode |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
addIcons({ |
|
|
addIcons({ |
|
|
|
|
|
@ -35,7 +35,7 @@ import type { PortfolioPerformance } from './portfolio-performance.interface'; |
|
|
import type { PortfolioPosition } from './portfolio-position.interface'; |
|
|
import type { PortfolioPosition } from './portfolio-position.interface'; |
|
|
import type { PortfolioReportRule } from './portfolio-report-rule.interface'; |
|
|
import type { PortfolioReportRule } from './portfolio-report-rule.interface'; |
|
|
import type { PortfolioSummary } from './portfolio-summary.interface'; |
|
|
import type { PortfolioSummary } from './portfolio-summary.interface'; |
|
|
import type { Product } from './product'; |
|
|
import type { Product } from './product.interface'; |
|
|
import type { ReferralPartner } from './referral-partner.interface'; |
|
|
import type { ReferralPartner } from './referral-partner.interface'; |
|
|
import type { AccessTokenResponse } from './responses/access-token-response.interface'; |
|
|
import type { AccessTokenResponse } from './responses/access-token-response.interface'; |
|
|
import type { AccountBalancesResponse } from './responses/account-balances-response.interface'; |
|
|
import type { AccountBalancesResponse } from './responses/account-balances-response.interface'; |
|
|
|
|
|
@ -1,5 +1,8 @@ |
|
|
|
|
|
import { ProductCategory, ProductPlatform } from '@ghostfolio/common/types'; |
|
|
|
|
|
|
|
|
export interface Product { |
|
|
export interface Product { |
|
|
alias?: string; |
|
|
alias?: string; |
|
|
|
|
|
categories?: ProductCategory[]; |
|
|
founded?: number; |
|
|
founded?: number; |
|
|
hasFreePlan?: boolean; |
|
|
hasFreePlan?: boolean; |
|
|
hasSelfHostingAbility?: boolean; |
|
|
hasSelfHostingAbility?: boolean; |
|
|
@ -10,6 +13,7 @@ export interface Product { |
|
|
name: string; |
|
|
name: string; |
|
|
note?: string; |
|
|
note?: string; |
|
|
origin?: string; |
|
|
origin?: string; |
|
|
|
|
|
platforms?: ProductPlatform[]; |
|
|
pricingPerYear?: string; |
|
|
pricingPerYear?: string; |
|
|
regions?: string[]; |
|
|
regions?: string[]; |
|
|
slogan?: string; |
|
|
slogan?: string; |
|
|
@ -16,6 +16,8 @@ import type { MarketDataPreset } from './market-data-preset.type'; |
|
|
import type { MarketState } from './market-state.type'; |
|
|
import type { MarketState } from './market-state.type'; |
|
|
import type { Market } from './market.type'; |
|
|
import type { Market } from './market.type'; |
|
|
import type { OrderWithAccount } from './order-with-account.type'; |
|
|
import type { OrderWithAccount } from './order-with-account.type'; |
|
|
|
|
|
import type { ProductCategory } from './product-category.type'; |
|
|
|
|
|
import type { ProductPlatform } from './product-platform.type'; |
|
|
import type { RequestWithUser } from './request-with-user.type'; |
|
|
import type { RequestWithUser } from './request-with-user.type'; |
|
|
import type { SectorName } from './sector-name.type'; |
|
|
import type { SectorName } from './sector-name.type'; |
|
|
import type { SubscriptionOfferKey } from './subscription-offer-key.type'; |
|
|
import type { SubscriptionOfferKey } from './subscription-offer-key.type'; |
|
|
@ -41,6 +43,8 @@ export type { |
|
|
MarketDataPreset, |
|
|
MarketDataPreset, |
|
|
MarketState, |
|
|
MarketState, |
|
|
OrderWithAccount, |
|
|
OrderWithAccount, |
|
|
|
|
|
ProductCategory, |
|
|
|
|
|
ProductPlatform, |
|
|
RequestWithUser, |
|
|
RequestWithUser, |
|
|
SectorName, |
|
|
SectorName, |
|
|
SubscriptionOfferKey, |
|
|
SubscriptionOfferKey, |
|
|
|
|
|
@ -0,0 +1,12 @@ |
|
|
|
|
|
export type ProductCategory = |
|
|
|
|
|
| 'BUDGETING' |
|
|
|
|
|
| 'CRYPTOCURRENCY' |
|
|
|
|
|
| 'DIVIDEND_TRACKING' |
|
|
|
|
|
| 'ETF_TRACKING' |
|
|
|
|
|
| 'FAMILY_OFFICE' |
|
|
|
|
|
| 'FINANCIAL_PLANNING' |
|
|
|
|
|
| 'INVESTMENT_RESEARCH' |
|
|
|
|
|
| 'NET_WORTH_TRACKING' |
|
|
|
|
|
| 'STOCK_TRACKING' |
|
|
|
|
|
| 'TAX_REPORTING' |
|
|
|
|
|
| 'WEALTH_MANAGEMENT'; |
|
|
@ -0,0 +1,7 @@ |
|
|
|
|
|
export type ProductPlatform = |
|
|
|
|
|
| 'ANDROID' |
|
|
|
|
|
| 'IOS' |
|
|
|
|
|
| 'LINUX' |
|
|
|
|
|
| 'MACOS' |
|
|
|
|
|
| 'WEB' |
|
|
|
|
|
| 'WINDOWS'; |