From 28fd473e41e29ac5c5554ecbd3bd3656cf383396 Mon Sep 17 00:00:00 2001 From: griest024 Date: Sun, 12 Jan 2025 10:05:36 -0500 Subject: [PATCH] refactor(daffio): fix dynamic content provider naming (#3424) --- apps/daffio/src/app/docs/api/api.module.ts | 4 ++-- .../docs/api/components/api-content/api-content.provider.ts | 2 +- .../components/guides-content/guides-content.provider.ts | 2 +- apps/daffio/src/app/docs/guides/guides.module.ts | 4 ++-- .../components/packages-content/packages-content.provider.ts | 2 +- apps/daffio/src/app/docs/packages/packages.module.ts | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/daffio/src/app/docs/api/api.module.ts b/apps/daffio/src/app/docs/api/api.module.ts index 2c5c1e6d0f..e067107ef0 100644 --- a/apps/daffio/src/app/docs/api/api.module.ts +++ b/apps/daffio/src/app/docs/api/api.module.ts @@ -5,7 +5,7 @@ import { DaffArticleModule } from '@daffodil/design/article'; import { DaffContainerModule } from '@daffodil/design/container'; import { DaffioDocsApiRoutingModule } from './api-routing.module'; -import { daffioDocsApiContentComponentProvider } from './components/api-content/api-content.provider'; +import { provideDaffioDocsApiContentComponent } from './components/api-content/api-content.provider'; import { DaffioApiListModule } from './components/api-list/api-list.module'; import { DaffioApiListPageComponent } from './pages/api-list-page/api-list-page.component'; @@ -25,7 +25,7 @@ import { DaffioApiListPageComponent } from './pages/api-list-page/api-list-page. DaffioApiListPageComponent, ], providers: [ - daffioDocsApiContentComponentProvider(), + provideDaffioDocsApiContentComponent(), ], }) export class DaffioApiModule {} diff --git a/apps/daffio/src/app/docs/api/components/api-content/api-content.provider.ts b/apps/daffio/src/app/docs/api/components/api-content/api-content.provider.ts index 7638714f0d..25d1bdac4e 100644 --- a/apps/daffio/src/app/docs/api/components/api-content/api-content.provider.ts +++ b/apps/daffio/src/app/docs/api/components/api-content/api-content.provider.ts @@ -1,4 +1,4 @@ import { DaffioDocsApiContentComponent } from './api-content.component'; import { provideDaffioDocsDynamicContentComponents } from '../../../dynamic-content/dynamic-content-components.token'; -export const daffioDocsApiContentComponentProvider = () => provideDaffioDocsDynamicContentComponents(DaffioDocsApiContentComponent); +export const provideDaffioDocsApiContentComponent = () => provideDaffioDocsDynamicContentComponents(DaffioDocsApiContentComponent); diff --git a/apps/daffio/src/app/docs/guides/components/guides-content/guides-content.provider.ts b/apps/daffio/src/app/docs/guides/components/guides-content/guides-content.provider.ts index f64392b092..a935d672ba 100644 --- a/apps/daffio/src/app/docs/guides/components/guides-content/guides-content.provider.ts +++ b/apps/daffio/src/app/docs/guides/components/guides-content/guides-content.provider.ts @@ -1,4 +1,4 @@ import { DaffioDocsGuidesContentComponent } from './guides-content.component'; import { provideDaffioDocsDynamicContentComponents } from '../../../dynamic-content/dynamic-content-components.token'; -export const daffioDocsGuidesContentComponentProvider = () => provideDaffioDocsDynamicContentComponents(DaffioDocsGuidesContentComponent); +export const provideDaffioDocsGuidesContentComponent = () => provideDaffioDocsDynamicContentComponents(DaffioDocsGuidesContentComponent); diff --git a/apps/daffio/src/app/docs/guides/guides.module.ts b/apps/daffio/src/app/docs/guides/guides.module.ts index 6e2ecd9e2b..5e17bdacac 100644 --- a/apps/daffio/src/app/docs/guides/guides.module.ts +++ b/apps/daffio/src/app/docs/guides/guides.module.ts @@ -1,6 +1,6 @@ import { NgModule } from '@angular/core'; -import { daffioDocsGuidesContentComponentProvider } from './components/guides-content/guides-content.provider'; +import { provideDaffioDocsGuidesContentComponent } from './components/guides-content/guides-content.provider'; import { DaffioGuidesRoutingModule } from './guides-routing.module'; @NgModule({ @@ -8,7 +8,7 @@ import { DaffioGuidesRoutingModule } from './guides-routing.module'; DaffioGuidesRoutingModule, ], providers: [ - daffioDocsGuidesContentComponentProvider(), + provideDaffioDocsGuidesContentComponent(), ], }) export class DaffioGuidesModule {} diff --git a/apps/daffio/src/app/docs/packages/components/packages-content/packages-content.provider.ts b/apps/daffio/src/app/docs/packages/components/packages-content/packages-content.provider.ts index 72ca6157cc..53ecf8f572 100644 --- a/apps/daffio/src/app/docs/packages/components/packages-content/packages-content.provider.ts +++ b/apps/daffio/src/app/docs/packages/components/packages-content/packages-content.provider.ts @@ -1,4 +1,4 @@ import { DaffioDocsPackagesContentComponent } from './packages-content.component'; import { provideDaffioDocsDynamicContentComponents } from '../../../dynamic-content/dynamic-content-components.token'; -export const daffioDocsPackagesContentComponentProvider = () => provideDaffioDocsDynamicContentComponents(DaffioDocsPackagesContentComponent); +export const provideDaffioDocsPackagesContentComponent = () => provideDaffioDocsDynamicContentComponents(DaffioDocsPackagesContentComponent); diff --git a/apps/daffio/src/app/docs/packages/packages.module.ts b/apps/daffio/src/app/docs/packages/packages.module.ts index 883cbc3606..3a5a091d8f 100644 --- a/apps/daffio/src/app/docs/packages/packages.module.ts +++ b/apps/daffio/src/app/docs/packages/packages.module.ts @@ -5,7 +5,7 @@ import { RouterModule } from '@angular/router'; import { DaffContainerModule } from '@daffodil/design/container'; import { DaffHeroModule } from '@daffodil/design/hero'; -import { daffioDocsPackagesContentComponentProvider } from './components/packages-content/packages-content.provider'; +import { provideDaffioDocsPackagesContentComponent } from './components/packages-content/packages-content.provider'; import { DaffioDocsPackageCardsContainerModule } from './containers/package-cards/package-cards.module'; import { DaffioPackagesRoutingModule } from './packages-routing.module'; import { DaffioPackagesOverviewPageComponent } from './pages/packages-overview/packages-overview.component'; @@ -27,7 +27,7 @@ import { DaffioPackagesOverviewPageComponent } from './pages/packages-overview/p DaffioPackagesOverviewPageComponent, ], providers: [ - daffioDocsPackagesContentComponentProvider(), + provideDaffioDocsPackagesContentComponent(), ], }) export class DaffioPackagesModule {}