import { Injectable } from "@angular/core"; import { DataService } from "./data.service"; import { Collection } from "../shared/collection.model"; import { ObjectCacheService } from "../cache/object-cache.service"; import { ResponseCacheService } from "../cache/response-cache.service"; import { Store } from "@ngrx/store"; import { NormalizedCollection } from "../cache/models/normalized-collection.model"; import { CoreState } from "../core.reducers"; import { RequestService } from "./request.service"; import { RemoteDataBuildService } from "../cache/builders/remote-data-build.service"; @Injectable() export class CollectionDataService extends DataService { protected endpoint = '/collections'; constructor( protected objectCache: ObjectCacheService, protected responseCache: ResponseCacheService, protected requestService: RequestService, protected rdbService: RemoteDataBuildService, protected store: Store ) { super(NormalizedCollection); } }