Skip to content

Commit

Permalink
feat(demo): migrate to new in-memory module (#3197)
Browse files Browse the repository at this point in the history
  • Loading branch information
griest024 authored Oct 10, 2024
1 parent 93f1ab6 commit e4c3725
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 395 deletions.
4 changes: 2 additions & 2 deletions apps/demo/src/app/drivers/in-memory.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { DaffAuthorizeNetInMemoryDriverModule } from '@daffodil/authorizenet/dri
import { DaffCartInMemoryDriverModule } from '@daffodil/cart/driver/in-memory';
import { DaffCategoryInMemoryDriverModule } from '@daffodil/category/driver/in-memory';
import { DaffInMemoryBackendCategoryService } from '@daffodil/category/driver/in-memory';
import { DaffInMemoryDriverModule } from '@daffodil/driver/in-memory';
import { DaffExternalRouterDriverInMemoryModule } from '@daffodil/external-router/driver/in-memory';
import { DaffGeographyInMemoryDriverModule } from '@daffodil/geography/driver/in-memory';
import {
Expand All @@ -20,12 +21,11 @@ import { DaffProductInMemoryDriverModule } from '@daffodil/product/driver/in-mem
import { DaffCompositeProductInMemoryDriverModule } from '@daffodil/product-composite/driver/in-memory';
import { DaffConfigurableProductInMemoryDriverModule } from '@daffodil/product-configurable/driver/in-memory';

import { DemoInMemoryBackendService } from './in-memory/backend/backend.service';
import { DEMO_EXTERNAL_ROUTER_DRIVER_IN_MEMORY_CONFIG } from './in-memory/external-router.config.token';

@NgModule({
imports: [
HttpClientInMemoryWebApiModule.forRoot(DemoInMemoryBackendService),
DaffInMemoryDriverModule.forRoot(),
DaffAuthorizeNetInMemoryDriverModule.forRoot(),
DaffAuthInMemoryDriverModule.forRoot(),
DaffProductInMemoryDriverModule.forRoot(),
Expand Down
302 changes: 0 additions & 302 deletions apps/demo/src/app/drivers/in-memory/backend/backend.service.spec.ts

This file was deleted.

Loading

0 comments on commit e4c3725

Please sign in to comment.