diff --git a/src/app/core/models/basket/basket.model.ts b/src/app/core/models/basket/basket.model.ts index 68ad50c864..8fa6225523 100644 --- a/src/app/core/models/basket/basket.model.ts +++ b/src/app/core/models/basket/basket.model.ts @@ -29,9 +29,9 @@ export interface AbstractBasket { attributes?: Attribute[]; } -export interface Basket extends AbstractBasket {} +export type Basket = AbstractBasket; -export interface BasketView extends AbstractBasket {} +export type BasketView = AbstractBasket; export const createBasketView = ( basket: Basket, diff --git a/src/app/core/store/content/includes/includes.reducer.ts b/src/app/core/store/content/includes/includes.reducer.ts index 25c756cfb0..db26bace25 100644 --- a/src/app/core/store/content/includes/includes.reducer.ts +++ b/src/app/core/store/content/includes/includes.reducer.ts @@ -9,7 +9,7 @@ export const includesAdapter = createEntityAdapter({ selectId: contentInclude => contentInclude.id, }); -export interface IncludesState extends EntityState {} +export type IncludesState = EntityState; const initialState: IncludesState = includesAdapter.getInitialState({}); diff --git a/src/app/core/store/content/pagelets/pagelets.reducer.ts b/src/app/core/store/content/pagelets/pagelets.reducer.ts index 7bae9a8b74..3427a73a9b 100644 --- a/src/app/core/store/content/pagelets/pagelets.reducer.ts +++ b/src/app/core/store/content/pagelets/pagelets.reducer.ts @@ -6,7 +6,7 @@ import { loadContentIncludeSuccess } from 'ish-core/store/content/includes/inclu import { loadContentPageSuccess } from 'ish-core/store/content/pages/pages.actions'; import { loadViewContextEntrypointSuccess } from 'ish-core/store/content/viewcontexts/viewcontexts.actions'; -export interface PageletsState extends EntityState {} +export type PageletsState = EntityState; export const pageletsAdapter = createEntityAdapter(); diff --git a/src/app/core/store/content/viewcontexts/viewcontexts.reducer.ts b/src/app/core/store/content/viewcontexts/viewcontexts.reducer.ts index 5564398edd..cc1be353a9 100644 --- a/src/app/core/store/content/viewcontexts/viewcontexts.reducer.ts +++ b/src/app/core/store/content/viewcontexts/viewcontexts.reducer.ts @@ -25,7 +25,7 @@ export const viewcontextsAdapter = createEntityAdapter serializeContextSpecificViewContextId(viewcontext.viewContextId, viewcontext.callParameters), }); -export interface ViewcontextsState extends EntityState {} +export type ViewcontextsState = EntityState; const initialState: ViewcontextsState = viewcontextsAdapter.getInitialState({}); diff --git a/src/app/core/store/general/countries/countries.reducer.ts b/src/app/core/store/general/countries/countries.reducer.ts index 06e196c9d8..81c1b735d3 100644 --- a/src/app/core/store/general/countries/countries.reducer.ts +++ b/src/app/core/store/general/countries/countries.reducer.ts @@ -9,7 +9,7 @@ export const countryAdapter = createEntityAdapter({ selectId: country => country.countryCode, }); -export interface CountriesState extends EntityState {} +export type CountriesState = EntityState; const initialState: CountriesState = countryAdapter.getInitialState({}); diff --git a/src/app/core/store/shopping/promotions/promotions.reducer.ts b/src/app/core/store/shopping/promotions/promotions.reducer.ts index 1ed0f3c12a..f3b46f8bd0 100644 --- a/src/app/core/store/shopping/promotions/promotions.reducer.ts +++ b/src/app/core/store/shopping/promotions/promotions.reducer.ts @@ -9,7 +9,7 @@ export const promotionAdapter = createEntityAdapter({ selectId: promotion => promotion.id, }); -export interface PromotionsState extends EntityState {} +export type PromotionsState = EntityState; const initialState: PromotionsState = promotionAdapter.getInitialState({}); diff --git a/src/app/core/store/shopping/search/search.reducer.ts b/src/app/core/store/shopping/search/search.reducer.ts index 2db952d92c..a8842b8ca0 100644 --- a/src/app/core/store/shopping/search/search.reducer.ts +++ b/src/app/core/store/shopping/search/search.reducer.ts @@ -14,7 +14,7 @@ export const searchAdapter = createEntityAdapter({ selectId: search => search.searchTerm, }); -export interface SearchState extends EntityState {} +export type SearchState = EntityState; const initialState: SearchState = searchAdapter.getInitialState({}); diff --git a/src/app/extensions/tacton/store/saved-tacton-configuration/saved-tacton-configuration.reducer.ts b/src/app/extensions/tacton/store/saved-tacton-configuration/saved-tacton-configuration.reducer.ts index 2593908f75..518d64922c 100644 --- a/src/app/extensions/tacton/store/saved-tacton-configuration/saved-tacton-configuration.reducer.ts +++ b/src/app/extensions/tacton/store/saved-tacton-configuration/saved-tacton-configuration.reducer.ts @@ -8,7 +8,7 @@ import { submitTactonConfigurationFail, submitTactonConfigurationSuccess } from import { saveTactonConfigurationReference } from './saved-tacton-configuration.actions'; -export interface SavedTactonConfigurationState extends EntityState {} +export type SavedTactonConfigurationState = EntityState; export function makeTactonSavedConfigurationReference(user: string, productId: string): string { return `${user || 'anonymous'}:${productId}`;