Skip to content

Commit

Permalink
fix(storybook): due to records model refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
fgravin committed Jun 21, 2022
1 parent 9056c4c commit a0cc599
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { TranslateModule } from '@ngx-translate/core'
import { Meta, moduleMetadata, Story } from '@storybook/angular'
import { MetadataInfoComponent } from './metadata-info.component'
import { UiElementsModule } from '../ui-elements.module'
import { RECORDS_FULL_FIXTURE } from '@geonetwork-ui/ui/search'
import { RECORDS_FULL_FIXTURE } from '@geonetwork-ui/util/shared'

export default {
title: 'Elements/MetadataInfoComponent',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { moduleMetadata, Story, Meta } from '@storybook/angular'
import { RecordPreviewCardComponent } from './record-preview-card.component'
import { RECORDS_SUMMARY_FIXTURE } from '../facets/fixtures'
import { RecordThumbnailComponent } from '../record-thumbnail/record-thumbnail.component'
import { UtilSharedModule } from '@geonetwork-ui/util/shared'
import {
RECORDS_SUMMARY_FIXTURE,
UtilSharedModule,
} from '@geonetwork-ui/util/shared'

export default {
title: 'Search/RecordPreviewCardComponent',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { moduleMetadata, Story, Meta } from '@storybook/angular'
import { RecordPreviewListComponent } from './record-preview-list.component'
import { RECORDS_SUMMARY_FIXTURE } from '../facets/fixtures'
import { RecordThumbnailComponent } from '../record-thumbnail/record-thumbnail.component'
import { UtilSharedModule } from '@geonetwork-ui/util/shared'
import {
RECORDS_SUMMARY_FIXTURE,
UtilSharedModule,
} from '@geonetwork-ui/util/shared'

export default {
title: 'Search/RecordPreviewListComponent',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { moduleMetadata, Story, Meta } from '@storybook/angular'
import { RecordPreviewTextComponent } from './record-preview-text.component'
import { RECORDS_SUMMARY_FIXTURE } from '../facets/fixtures'
import { RecordThumbnailComponent } from '../record-thumbnail/record-thumbnail.component'
import { UtilSharedModule } from '@geonetwork-ui/util/shared'
import {
RECORDS_SUMMARY_FIXTURE,
UtilSharedModule,
} from '@geonetwork-ui/util/shared'

export default {
title: 'Search/RecordPreviewTextComponent',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { moduleMetadata, Story, Meta } from '@storybook/angular'
import { RecordPreviewTitleComponent } from './record-preview-title.component'
import { RECORDS_SUMMARY_FIXTURE } from '../facets/fixtures'
import { RecordThumbnailComponent } from '../record-thumbnail/record-thumbnail.component'
import { UtilSharedModule } from '@geonetwork-ui/util/shared'
import {
RECORDS_SUMMARY_FIXTURE,
UtilSharedModule,
} from '@geonetwork-ui/util/shared'

export default {
title: 'Search/RecordPreviewTitleComponent',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { moduleMetadata, Story, Meta } from '@storybook/angular'
import { DEFAULT_RESULTS_LAYOUT_CONFIG } from './results-layout.config'
import { ResultsListComponent } from './results-list.component'
import { UtilSharedModule } from '@geonetwork-ui/util/shared'
import { RECORDS_SUMMARY_FIXTURE } from '../facets/fixtures'
import {
RECORDS_SUMMARY_FIXTURE,
UtilSharedModule,
} from '@geonetwork-ui/util/shared'
import { RecordPreviewListComponent } from '../record-preview-list/record-preview-list.component'
import { RecordPreviewCardComponent } from '../record-preview-card/record-preview-card.component'
import { RecordPreviewTextComponent } from '../record-preview-text/record-preview-text.component'
Expand Down

0 comments on commit a0cc599

Please sign in to comment.