mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 18:44:14 +00:00
change TransferState import
This commit is contained in:
@@ -9,7 +9,7 @@ import { select, Store } from '@ngrx/store';
|
|||||||
import { CheckAuthenticationTokenAction } from './core/auth/auth.actions';
|
import { CheckAuthenticationTokenAction } from './core/auth/auth.actions';
|
||||||
import { CorrelationIdService } from './correlation-id/correlation-id.service';
|
import { CorrelationIdService } from './correlation-id/correlation-id.service';
|
||||||
import { APP_INITIALIZER, Inject, Provider, Type } from '@angular/core';
|
import { APP_INITIALIZER, Inject, Provider, Type } from '@angular/core';
|
||||||
import { makeStateKey, TransferState } from '@angular/platform-browser';
|
import { makeStateKey, TransferState } from '@angular/core';
|
||||||
import {
|
import {
|
||||||
APP_CONFIG,
|
APP_CONFIG,
|
||||||
APP_DATA_SERVICES_MAP,
|
APP_DATA_SERVICES_MAP,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { InjectionToken, Type } from '@angular/core';
|
import { InjectionToken, Type } from '@angular/core';
|
||||||
import { makeStateKey } from '@angular/platform-browser';
|
import { makeStateKey } from '@angular/core';
|
||||||
import { Config } from './config.interface';
|
import { Config } from './config.interface';
|
||||||
import { ServerConfig } from './server-config.interface';
|
import { ServerConfig } from './server-config.interface';
|
||||||
import { CacheConfig } from './cache-config.interface';
|
import { CacheConfig } from './cache-config.interface';
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { HttpClient, HttpClientModule } from '@angular/common/http';
|
import { HttpClient, HttpClientModule } from '@angular/common/http';
|
||||||
import { APP_ID, NgModule } from '@angular/core';
|
import { APP_ID, NgModule } from '@angular/core';
|
||||||
import { makeStateKey, TransferState } from '@angular/platform-browser';
|
import { makeStateKey, TransferState } from '@angular/core';
|
||||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||||
import { REQUEST } from '@nguniversal/express-engine/tokens';
|
import { REQUEST } from '@nguniversal/express-engine/tokens';
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
import { InitService } from '../../app/init.service';
|
import { InitService } from '../../app/init.service';
|
||||||
import { Store } from '@ngrx/store';
|
import { Store } from '@ngrx/store';
|
||||||
import { AppState } from '../../app/app.reducer';
|
import { AppState } from '../../app/app.reducer';
|
||||||
import { TransferState } from '@angular/platform-browser';
|
import { TransferState } from '@angular/core';
|
||||||
import { APP_CONFIG, APP_CONFIG_STATE, AppConfig } from '../../config/app-config.interface';
|
import { APP_CONFIG, APP_CONFIG_STATE, AppConfig } from '../../config/app-config.interface';
|
||||||
import { DefaultAppConfig } from '../../config/default-app-config';
|
import { DefaultAppConfig } from '../../config/default-app-config';
|
||||||
import { extendEnvironmentWithAppConfig } from '../../config/config.util';
|
import { extendEnvironmentWithAppConfig } from '../../config/config.util';
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
||||||
import { APP_ID, NgModule } from '@angular/core';
|
import { APP_ID, NgModule } from '@angular/core';
|
||||||
import { TransferState } from '@angular/platform-browser';
|
import { TransferState } from '@angular/core';
|
||||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||||
import { ServerModule, ServerTransferStateModule } from '@angular/platform-server';
|
import { ServerModule, ServerTransferStateModule } from '@angular/platform-server';
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
import { InitService } from '../../app/init.service';
|
import { InitService } from '../../app/init.service';
|
||||||
import { Store } from '@ngrx/store';
|
import { Store } from '@ngrx/store';
|
||||||
import { AppState } from '../../app/app.reducer';
|
import { AppState } from '../../app/app.reducer';
|
||||||
import { TransferState } from '@angular/platform-browser';
|
import { TransferState } from '@angular/core';
|
||||||
import { CorrelationIdService } from '../../app/correlation-id/correlation-id.service';
|
import { CorrelationIdService } from '../../app/correlation-id/correlation-id.service';
|
||||||
import { APP_CONFIG, APP_CONFIG_STATE, AppConfig } from '../../config/app-config.interface';
|
import { APP_CONFIG, APP_CONFIG_STATE, AppConfig } from '../../config/app-config.interface';
|
||||||
import { environment } from '../../environments/environment';
|
import { environment } from '../../environments/environment';
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { makeStateKey } from '@angular/platform-browser';
|
import { makeStateKey } from '@angular/core';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents ngx-translate messages in different languages in the TransferState
|
* Represents ngx-translate messages in different languages in the TransferState
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { TranslateLoader } from '@ngx-translate/core';
|
import { TranslateLoader } from '@ngx-translate/core';
|
||||||
import { HttpClient } from '@angular/common/http';
|
import { HttpClient } from '@angular/common/http';
|
||||||
import { TransferState } from '@angular/platform-browser';
|
import { TransferState } from '@angular/core';
|
||||||
import { NGX_TRANSLATE_STATE, NgxTranslateState } from './ngx-translate-state';
|
import { NGX_TRANSLATE_STATE, NgxTranslateState } from './ngx-translate-state';
|
||||||
import { hasValue } from '../app/shared/empty.util';
|
import { hasValue } from '../app/shared/empty.util';
|
||||||
import { map } from 'rxjs/operators';
|
import { map } from 'rxjs/operators';
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { TranslateLoader } from '@ngx-translate/core';
|
import { TranslateLoader } from '@ngx-translate/core';
|
||||||
import { Observable, of as observableOf } from 'rxjs';
|
import { Observable, of as observableOf } from 'rxjs';
|
||||||
import { readFileSync } from 'fs';
|
import { readFileSync } from 'fs';
|
||||||
import { TransferState } from '@angular/platform-browser';
|
import { TransferState } from '@angular/core';
|
||||||
import { NGX_TRANSLATE_STATE, NgxTranslateState } from './ngx-translate-state';
|
import { NGX_TRANSLATE_STATE, NgxTranslateState } from './ngx-translate-state';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user