Browse Source

Clean up modules (#1063)

pull/1064/head
Thomas Kaul 3 years ago
committed by GitHub
parent
commit
8897f32bc5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      apps/client/src/app/components/access-table/access-table.module.ts
  2. 2
      apps/client/src/app/components/account-detail-dialog/account-detail-dialog.module.ts
  3. 1
      apps/client/src/app/components/accounts-table/accounts-table.module.ts
  4. 1
      apps/client/src/app/components/admin-market-data-detail/admin-market-data-detail.module.ts
  5. 2
      apps/client/src/app/components/admin-market-data-detail/market-data-detail-dialog/market-data-detail-dialog.module.ts
  6. 1
      apps/client/src/app/components/dialog-footer/dialog-footer.module.ts
  7. 1
      apps/client/src/app/components/dialog-header/dialog-header.module.ts
  8. 1
      apps/client/src/app/components/header/header.module.ts
  9. 2
      apps/client/src/app/components/home-holdings/home-holdings.module.ts
  10. 2
      apps/client/src/app/components/home-overview/home-overview.module.ts
  11. 2
      apps/client/src/app/components/home-summary/home-summary.module.ts
  12. 2
      apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.module.ts
  13. 3
      apps/client/src/app/components/portfolio-performance/portfolio-performance.module.ts
  14. 2
      apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.module.ts
  15. 1
      apps/client/src/app/components/position/position.module.ts
  16. 1
      apps/client/src/app/components/positions/positions.module.ts
  17. 1
      apps/client/src/app/components/rule/rule.module.ts
  18. 1
      apps/client/src/app/components/rules/rules.module.ts
  19. 1
      apps/client/src/app/components/symbol-icon/symbol-icon.module.ts
  20. 3
      apps/client/src/app/components/toggle/toggle.module.ts
  21. 3
      apps/client/src/app/components/world-map-chart/world-map-chart.module.ts
  22. 2
      apps/client/src/app/pages/about/about-page.module.ts
  23. 4
      apps/client/src/app/pages/account/account-page.module.ts
  24. 4
      apps/client/src/app/pages/account/create-or-update-access-dialog/create-or-update-access-dialog.module.ts
  25. 4
      apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.module.ts
  26. 4
      apps/client/src/app/pages/auth/auth-page.module.ts
  27. 2
      apps/client/src/app/pages/home/home-page.module.ts
  28. 2
      apps/client/src/app/pages/landing/landing-page.module.ts
  29. 2
      apps/client/src/app/pages/portfolio/analysis/analysis-page.module.ts
  30. 2
      apps/client/src/app/pages/portfolio/portfolio-page.module.ts
  31. 2
      apps/client/src/app/pages/portfolio/report/report-page.module.ts
  32. 2
      apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.module.ts
  33. 2
      apps/client/src/app/pages/portfolio/transactions/import-transaction-dialog/import-transaction-dialog.module.ts
  34. 2
      apps/client/src/app/pages/pricing/pricing-page.module.ts
  35. 2
      apps/client/src/app/pages/public/public-page.module.ts
  36. 2
      apps/client/src/app/pages/register/register-page.module.ts
  37. 2
      apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.module.ts
  38. 2
      apps/client/src/app/pages/resources/resources-page.module.ts
  39. 4
      apps/client/src/app/pages/webauthn/webauthn-page.module.ts
  40. 2
      apps/client/src/app/pages/zen/zen-page.module.ts
  41. 4
      apps/client/src/app/pipes/symbol/symbol.module.ts

1
apps/client/src/app/components/access-table/access-table.module.ts

@ -10,7 +10,6 @@ import { AccessTableComponent } from './access-table.component';
declarations: [AccessTableComponent],
exports: [AccessTableComponent],
imports: [CommonModule, MatButtonModule, MatMenuModule, MatTableModule],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfPortfolioAccessTableModule {}

2
apps/client/src/app/components/account-detail-dialog/account-detail-dialog.module.ts

@ -12,7 +12,6 @@ import { AccountDetailDialog } from './account-detail-dialog.component';
@NgModule({
declarations: [AccountDetailDialog],
exports: [],
imports: [
CommonModule,
GfActivitiesTableModule,
@ -23,7 +22,6 @@ import { AccountDetailDialog } from './account-detail-dialog.component';
MatDialogModule,
NgxSkeletonLoaderModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfAccountDetailDialogModule {}

1
apps/client/src/app/components/accounts-table/accounts-table.module.ts

@ -25,7 +25,6 @@ import { AccountsTableComponent } from './accounts-table.component';
NgxSkeletonLoaderModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfAccountsTableModule {}

1
apps/client/src/app/components/admin-market-data-detail/admin-market-data-detail.module.ts

@ -9,7 +9,6 @@ import { GfMarketDataDetailDialogModule } from './market-data-detail-dialog/mark
declarations: [AdminMarketDataDetailComponent],
exports: [AdminMarketDataDetailComponent],
imports: [CommonModule, GfLineChartModule, GfMarketDataDetailDialogModule],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfAdminMarketDataDetailModule {}

2
apps/client/src/app/components/admin-market-data-detail/market-data-detail-dialog/market-data-detail-dialog.module.ts

@ -11,7 +11,6 @@ import { MarketDataDetailDialog } from './market-data-detail-dialog.component';
@NgModule({
declarations: [MarketDataDetailDialog],
exports: [],
imports: [
CommonModule,
FormsModule,
@ -22,7 +21,6 @@ import { MarketDataDetailDialog } from './market-data-detail-dialog.component';
MatInputModule,
ReactiveFormsModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfMarketDataDetailDialogModule {}

1
apps/client/src/app/components/dialog-footer/dialog-footer.module.ts

@ -8,7 +8,6 @@ import { DialogFooterComponent } from './dialog-footer.component';
declarations: [DialogFooterComponent],
exports: [DialogFooterComponent],
imports: [CommonModule, MatButtonModule],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfDialogFooterModule {}

1
apps/client/src/app/components/dialog-header/dialog-header.module.ts

@ -8,7 +8,6 @@ import { DialogHeaderComponent } from './dialog-header.component';
declarations: [DialogHeaderComponent],
exports: [DialogHeaderComponent],
imports: [CommonModule, MatButtonModule],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfDialogHeaderModule {}

1
apps/client/src/app/components/header/header.module.ts

@ -21,7 +21,6 @@ import { HeaderComponent } from './header.component';
MatToolbarModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfHeaderModule {}

2
apps/client/src/app/components/home-holdings/home-holdings.module.ts

@ -11,7 +11,6 @@ import { HomeHoldingsComponent } from './home-holdings.component';
@NgModule({
declarations: [HomeHoldingsComponent],
exports: [],
imports: [
CommonModule,
GfPositionDetailDialogModule,
@ -21,7 +20,6 @@ import { HomeHoldingsComponent } from './home-holdings.component';
MatCardModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfHomeHoldingsModule {}

2
apps/client/src/app/components/home-overview/home-overview.module.ts

@ -10,7 +10,6 @@ import { HomeOverviewComponent } from './home-overview.component';
@NgModule({
declarations: [HomeOverviewComponent],
exports: [],
imports: [
CommonModule,
GfLineChartModule,
@ -19,7 +18,6 @@ import { HomeOverviewComponent } from './home-overview.component';
GfToggleModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfHomeOverviewModule {}

2
apps/client/src/app/components/home-summary/home-summary.module.ts

@ -8,14 +8,12 @@ import { HomeSummaryComponent } from './home-summary.component';
@NgModule({
declarations: [HomeSummaryComponent],
exports: [],
imports: [
CommonModule,
GfPortfolioSummaryModule,
MatCardModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfHomeSummaryModule {}

2
apps/client/src/app/components/login-with-access-token-dialog/login-with-access-token-dialog.module.ts

@ -13,7 +13,6 @@ import { LoginWithAccessTokenDialog } from './login-with-access-token-dialog.com
@NgModule({
declarations: [LoginWithAccessTokenDialog],
exports: [],
imports: [
CommonModule,
FormsModule,
@ -26,7 +25,6 @@ import { LoginWithAccessTokenDialog } from './login-with-access-token-dialog.com
ReactiveFormsModule,
TextFieldModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class LoginWithAccessTokenDialogModule {}

3
apps/client/src/app/components/portfolio-performance/portfolio-performance.module.ts

@ -8,7 +8,6 @@ import { PortfolioPerformanceComponent } from './portfolio-performance.component
@NgModule({
declarations: [PortfolioPerformanceComponent],
exports: [PortfolioPerformanceComponent],
imports: [CommonModule, GfValueModule, NgxSkeletonLoaderModule],
providers: []
imports: [CommonModule, GfValueModule, NgxSkeletonLoaderModule]
})
export class GfPortfolioPerformanceModule {}

2
apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.module.ts

@ -15,7 +15,6 @@ import { PositionDetailDialog } from './position-detail-dialog.component';
@NgModule({
declarations: [PositionDetailDialog],
exports: [],
imports: [
CommonModule,
GfActivitiesTableModule,
@ -29,7 +28,6 @@ import { PositionDetailDialog } from './position-detail-dialog.component';
MatDialogModule,
NgxSkeletonLoaderModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfPositionDetailDialogModule {}

1
apps/client/src/app/components/position/position.module.ts

@ -23,7 +23,6 @@ import { PositionComponent } from './position.component';
NgxSkeletonLoaderModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfPositionModule {}

1
apps/client/src/app/components/positions/positions.module.ts

@ -15,7 +15,6 @@ import { PositionsComponent } from './positions.component';
GfPositionModule,
MatButtonModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfPositionsModule {}

1
apps/client/src/app/components/rule/rule.module.ts

@ -8,7 +8,6 @@ import { RuleComponent } from './rule.component';
declarations: [RuleComponent],
exports: [RuleComponent],
imports: [CommonModule, NgxSkeletonLoaderModule],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfRuleModule {}

1
apps/client/src/app/components/rules/rules.module.ts

@ -19,7 +19,6 @@ import { RulesComponent } from './rules.component';
MatButtonModule,
MatCardModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class RulesModule {}

1
apps/client/src/app/components/symbol-icon/symbol-icon.module.ts

@ -7,7 +7,6 @@ import { SymbolIconComponent } from './symbol-icon.component';
declarations: [SymbolIconComponent],
exports: [SymbolIconComponent],
imports: [CommonModule],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfSymbolIconModule {}

3
apps/client/src/app/components/toggle/toggle.module.ts

@ -8,7 +8,6 @@ import { ToggleComponent } from './toggle.component';
@NgModule({
declarations: [ToggleComponent],
exports: [ToggleComponent],
imports: [CommonModule, MatRadioModule, ReactiveFormsModule],
providers: []
imports: [CommonModule, MatRadioModule, ReactiveFormsModule]
})
export class GfToggleModule {}

3
apps/client/src/app/components/world-map-chart/world-map-chart.module.ts

@ -7,7 +7,6 @@ import { WorldMapChartComponent } from './world-map-chart.component';
@NgModule({
declarations: [WorldMapChartComponent],
exports: [WorldMapChartComponent],
imports: [CommonModule, NgxSkeletonLoaderModule],
providers: []
imports: [CommonModule, NgxSkeletonLoaderModule]
})
export class GfWorldMapChartModule {}

2
apps/client/src/app/pages/about/about-page.module.ts

@ -9,7 +9,6 @@ import { AboutPageComponent } from './about-page.component';
@NgModule({
declarations: [AboutPageComponent],
exports: [],
imports: [
AboutPageRoutingModule,
CommonModule,
@ -17,7 +16,6 @@ import { AboutPageComponent } from './about-page.component';
MatButtonModule,
MatCardModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AboutPageModule {}

4
apps/client/src/app/pages/account/account-page.module.ts

@ -19,7 +19,6 @@ import { GfCreateOrUpdateAccessDialogModule } from './create-or-update-access-di
@NgModule({
declarations: [AccountPageComponent],
exports: [],
imports: [
AccountPageRoutingModule,
CommonModule,
@ -37,7 +36,6 @@ import { GfCreateOrUpdateAccessDialogModule } from './create-or-update-access-di
MatSlideToggleModule,
ReactiveFormsModule,
RouterModule
],
providers: []
]
})
export class AccountPageModule {}

4
apps/client/src/app/pages/account/create-or-update-access-dialog/create-or-update-access-dialog.module.ts

@ -10,7 +10,6 @@ import { CreateOrUpdateAccessDialog } from './create-or-update-access-dialog.com
@NgModule({
declarations: [CreateOrUpdateAccessDialog],
exports: [],
imports: [
CommonModule,
FormsModule,
@ -19,7 +18,6 @@ import { CreateOrUpdateAccessDialog } from './create-or-update-access-dialog.com
MatFormFieldModule,
MatSelectModule,
ReactiveFormsModule
],
providers: []
]
})
export class GfCreateOrUpdateAccessDialogModule {}

4
apps/client/src/app/pages/accounts/create-or-update-account-dialog/create-or-update-account-dialog.module.ts

@ -11,7 +11,6 @@ import { CreateOrUpdateAccountDialog } from './create-or-update-account-dialog.c
@NgModule({
declarations: [CreateOrUpdateAccountDialog],
exports: [],
imports: [
CommonModule,
FormsModule,
@ -21,7 +20,6 @@ import { CreateOrUpdateAccountDialog } from './create-or-update-account-dialog.c
MatInputModule,
MatSelectModule,
ReactiveFormsModule
],
providers: []
]
})
export class GfCreateOrUpdateAccountDialogModule {}

4
apps/client/src/app/pages/auth/auth-page.module.ts

@ -6,8 +6,6 @@ import { AuthPageComponent } from './auth-page.component';
@NgModule({
declarations: [AuthPageComponent],
exports: [],
imports: [AuthPageRoutingModule, CommonModule],
providers: []
imports: [AuthPageRoutingModule, CommonModule]
})
export class AuthPageModule {}

2
apps/client/src/app/pages/home/home-page.module.ts

@ -12,7 +12,6 @@ import { HomePageComponent } from './home-page.component';
@NgModule({
declarations: [HomePageComponent],
exports: [],
imports: [
CommonModule,
GfHomeHoldingsModule,
@ -23,7 +22,6 @@ import { HomePageComponent } from './home-page.component';
MatTabsModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class HomePageModule {}

2
apps/client/src/app/pages/landing/landing-page.module.ts

@ -9,7 +9,6 @@ import { LandingPageComponent } from './landing-page.component';
@NgModule({
declarations: [LandingPageComponent],
exports: [],
imports: [
CommonModule,
GfLogoModule,
@ -17,7 +16,6 @@ import { LandingPageComponent } from './landing-page.component';
MatButtonModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class LandingPageModule {}

2
apps/client/src/app/pages/portfolio/analysis/analysis-page.module.ts

@ -10,7 +10,6 @@ import { AnalysisPageComponent } from './analysis-page.component';
@NgModule({
declarations: [AnalysisPageComponent],
exports: [],
imports: [
AnalysisPageRoutingModule,
CommonModule,
@ -19,7 +18,6 @@ import { AnalysisPageComponent } from './analysis-page.component';
MatCardModule,
NgxSkeletonLoaderModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class AnalysisPageModule {}

2
apps/client/src/app/pages/portfolio/portfolio-page.module.ts

@ -10,7 +10,6 @@ import { PortfolioPageComponent } from './portfolio-page.component';
@NgModule({
declarations: [PortfolioPageComponent],
exports: [],
imports: [
CommonModule,
GfPremiumIndicatorModule,
@ -19,7 +18,6 @@ import { PortfolioPageComponent } from './portfolio-page.component';
PortfolioPageRoutingModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class PortfolioPageModule {}

2
apps/client/src/app/pages/portfolio/report/report-page.module.ts

@ -7,9 +7,7 @@ import { ReportPageComponent } from './report-page.component';
@NgModule({
declarations: [ReportPageComponent],
exports: [],
imports: [CommonModule, ReportPageRoutingModule, RulesModule],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class ReportPageModule {}

2
apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.module.ts

@ -17,7 +17,6 @@ import { CreateOrUpdateTransactionDialog } from './create-or-update-transaction-
@NgModule({
declarations: [CreateOrUpdateTransactionDialog],
exports: [],
imports: [
CommonModule,
GfSymbolModule,
@ -34,7 +33,6 @@ import { CreateOrUpdateTransactionDialog } from './create-or-update-transaction-
MatSelectModule,
ReactiveFormsModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfCreateOrUpdateTransactionDialogModule {}

2
apps/client/src/app/pages/portfolio/transactions/import-transaction-dialog/import-transaction-dialog.module.ts

@ -10,7 +10,6 @@ import { ImportTransactionDialog } from './import-transaction-dialog.component';
@NgModule({
declarations: [ImportTransactionDialog],
exports: [],
imports: [
CommonModule,
GfDialogFooterModule,
@ -19,7 +18,6 @@ import { ImportTransactionDialog } from './import-transaction-dialog.component';
MatDialogModule,
MatExpansionModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GfImportTransactionDialogModule {}

2
apps/client/src/app/pages/pricing/pricing-page.module.ts

@ -10,7 +10,6 @@ import { PricingPageComponent } from './pricing-page.component';
@NgModule({
declarations: [PricingPageComponent],
exports: [],
imports: [
CommonModule,
GfPremiumIndicatorModule,
@ -19,7 +18,6 @@ import { PricingPageComponent } from './pricing-page.component';
PricingPageRoutingModule,
RouterModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class PricingPageModule {}

2
apps/client/src/app/pages/public/public-page.module.ts

@ -12,7 +12,6 @@ import { PublicPageComponent } from './public-page.component';
@NgModule({
declarations: [PublicPageComponent],
exports: [],
imports: [
CommonModule,
GfPortfolioProportionChartModule,
@ -23,7 +22,6 @@ import { PublicPageComponent } from './public-page.component';
MatCardModule,
PublicPageRoutingModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class PublicPageModule {}

2
apps/client/src/app/pages/register/register-page.module.ts

@ -11,7 +11,6 @@ import { ShowAccessTokenDialogModule } from './show-access-token-dialog/show-acc
@NgModule({
declarations: [RegisterPageComponent],
exports: [],
imports: [
CommonModule,
GfLogoModule,
@ -21,7 +20,6 @@ import { ShowAccessTokenDialogModule } from './show-access-token-dialog/show-acc
RouterModule,
ShowAccessTokenDialogModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class RegisterPageModule {}

2
apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.module.ts

@ -12,7 +12,6 @@ import { ShowAccessTokenDialog } from './show-access-token-dialog.component';
@NgModule({
declarations: [ShowAccessTokenDialog],
exports: [],
imports: [
ClipboardModule,
CommonModule,
@ -24,7 +23,6 @@ import { ShowAccessTokenDialog } from './show-access-token-dialog.component';
ReactiveFormsModule,
TextFieldModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class ShowAccessTokenDialogModule {}

2
apps/client/src/app/pages/resources/resources-page.module.ts

@ -7,9 +7,7 @@ import { ResourcesPageComponent } from './resources-page.component';
@NgModule({
declarations: [ResourcesPageComponent],
exports: [],
imports: [CommonModule, MatCardModule, ResourcesPageRoutingModule],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class ResourcesPageModule {}

4
apps/client/src/app/pages/webauthn/webauthn-page.module.ts

@ -9,14 +9,12 @@ import { WebauthnPageRoutingModule } from './webauthn-page-routing.module';
@NgModule({
declarations: [WebauthnPageComponent],
exports: [],
imports: [
CommonModule,
GfLogoModule,
MatButtonModule,
MatProgressSpinnerModule,
WebauthnPageRoutingModule
],
providers: []
]
})
export class WebauthnPageModule {}

2
apps/client/src/app/pages/zen/zen-page.module.ts

@ -10,7 +10,6 @@ import { ZenPageComponent } from './zen-page.component';
@NgModule({
declarations: [ZenPageComponent],
exports: [],
imports: [
CommonModule,
GfHomeHoldingsModule,
@ -19,7 +18,6 @@ import { ZenPageComponent } from './zen-page.component';
RouterModule,
ZenPageRoutingModule
],
providers: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class ZenPageModule {}

4
apps/client/src/app/pipes/symbol/symbol.module.ts

@ -3,9 +3,7 @@ import { NgModule } from '@angular/core';
import { SymbolPipe } from './symbol.pipe';
@NgModule({
imports: [],
declarations: [SymbolPipe],
exports: [SymbolPipe],
providers: []
exports: [SymbolPipe]
})
export class GfSymbolModule {}

Loading…
Cancel
Save