mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 06:53:03 +00:00
Small fix
This commit is contained in:
@@ -12,7 +12,7 @@ import { DSpaceRESTv2Service } from '../dspace-rest-v2/dspace-rest-v2.service';
|
||||
import { RouterStub } from '../../shared/testing/router-stub';
|
||||
import { TruncatablesState } from '../../shared/truncatable/truncatable.reducer';
|
||||
import { AuthServiceStub } from '../../shared/testing/auth-service-stub';
|
||||
import { RestRequestMethod } from '../data//rest-request-method';
|
||||
import { RestRequestMethod } from '../data/rest-request-method';
|
||||
|
||||
describe(`AuthInterceptor`, () => {
|
||||
let service: DSpaceRESTv2Service;
|
||||
|
2
src/app/core/cache/object-cache.service.ts
vendored
2
src/app/core/cache/object-cache.service.ts
vendored
@@ -20,7 +20,7 @@ import { NormalizedObjectFactory } from './models/normalized-object-factory';
|
||||
import { NormalizedObject } from './models/normalized-object.model';
|
||||
import { applyPatch, Operation } from 'fast-json-patch';
|
||||
import { AddToSSBAction } from './server-sync-buffer.actions';
|
||||
import { RestRequestMethod } from '../data//rest-request-method';
|
||||
import { RestRequestMethod } from '../data/rest-request-method';
|
||||
|
||||
function selfLinkFromUuidSelector(uuid: string): MemoizedSelector<CoreState, string> {
|
||||
return pathSelector<CoreState, string>(coreSelector, 'index', IndexName.OBJECT, uuid);
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { Action } from '@ngrx/store';
|
||||
|
||||
import { type } from '../../shared/ngrx/type';
|
||||
import { RestRequestMethod } from '../data//rest-request-method';
|
||||
import { RestRequestMethod } from '../data/rest-request-method';
|
||||
|
||||
/**
|
||||
* The list of ServerSyncBufferAction type definitions
|
||||
|
@@ -21,7 +21,7 @@ import { DSpaceRESTv2Serializer } from '../dspace-rest-v2/dspace-rest-v2.seriali
|
||||
import { GenericConstructor } from '../shared/generic-constructor';
|
||||
import { hasValue } from '../../shared/empty.util';
|
||||
import { Observable } from 'rxjs/internal/Observable';
|
||||
import { RestRequestMethod } from '../data//rest-request-method';
|
||||
import { RestRequestMethod } from '../data/rest-request-method';
|
||||
|
||||
@Injectable()
|
||||
export class ServerSyncBufferEffects {
|
||||
|
@@ -5,7 +5,7 @@ import {
|
||||
ServerSyncBufferAction,
|
||||
ServerSyncBufferActionTypes
|
||||
} from './server-sync-buffer.actions';
|
||||
import { RestRequestMethod } from '../data//rest-request-method';
|
||||
import { RestRequestMethod } from '../data/rest-request-method';
|
||||
|
||||
/**
|
||||
* An entry in the ServerSyncBufferState
|
||||
|
@@ -9,7 +9,7 @@ import { ConfigResponseParsingService } from './config-response-parsing.service'
|
||||
import { AuthResponseParsingService } from '../auth/auth-response-parsing.service';
|
||||
import { HttpOptions } from '../dspace-rest-v2/dspace-rest-v2.service';
|
||||
import { IntegrationResponseParsingService } from '../integration/integration-response-parsing.service';
|
||||
import { RestRequestMethod } from './/rest-request-method';
|
||||
import { RestRequestMethod } from './rest-request-method';
|
||||
|
||||
/* tslint:disable:max-classes-per-file */
|
||||
|
||||
|
@@ -18,7 +18,7 @@ import { GetRequest, RestRequest } from './request.models';
|
||||
|
||||
import { RequestEntry } from './request.reducer';
|
||||
import { CommitSSBAction } from '../cache/server-sync-buffer.actions';
|
||||
import { RestRequestMethod } from './/rest-request-method';
|
||||
import { RestRequestMethod } from './rest-request-method';
|
||||
|
||||
@Injectable()
|
||||
export class RequestService {
|
||||
|
@@ -1,12 +1,11 @@
|
||||
import {throwError as observableThrowError, Observable } from 'rxjs';
|
||||
import {catchError, map} from 'rxjs/operators';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Request } from '@angular/http';
|
||||
import { HttpClient, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http'
|
||||
|
||||
import { DSpaceRESTV2Response } from './dspace-rest-v2-response.model';
|
||||
import { HttpObserve } from '@angular/common/http/src/client';
|
||||
import { RestRequestMethod } from '../data//rest-request-method';
|
||||
import { RestRequestMethod } from '../data/rest-request-method';
|
||||
|
||||
export interface HttpOptions {
|
||||
body?: any;
|
||||
|
@@ -10,7 +10,7 @@ import { RequestActionTypes, RequestConfigureAction } from '../data/request.acti
|
||||
import { AddToIndexAction, RemoveFromIndexByValueAction } from './index.actions';
|
||||
import { hasValue } from '../../shared/empty.util';
|
||||
import { IndexName } from './index.reducer';
|
||||
import { RestRequestMethod } from '../data//rest-request-method';
|
||||
import { RestRequestMethod } from '../data/rest-request-method';
|
||||
|
||||
@Injectable()
|
||||
export class UUIDIndexEffects {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { RestRequestMethod } from '../app/core/data//rest-request-method';
|
||||
import { RestRequestMethod } from '../app/core/data/rest-request-method';
|
||||
|
||||
type TimePerMethod = {
|
||||
[method in RestRequestMethod]: number;
|
||||
|
Reference in New Issue
Block a user