mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 20:13:07 +00:00
Revert "93803: Update DataService constructor signatures"
This reverts commit a6fb4a6303
.
This commit is contained in:
@@ -65,15 +65,15 @@ export interface PatchData<T extends CacheableObject> {
|
||||
export class PatchDataImpl<T extends CacheableObject> extends IdentifiableDataService<T> implements PatchData<T> {
|
||||
constructor(
|
||||
protected linkPath: string,
|
||||
protected responseMsToLive: number,
|
||||
protected constructIdEndpoint: ConstructIdEndpoint,
|
||||
protected requestService: RequestService,
|
||||
protected rdbService: RemoteDataBuildService,
|
||||
protected objectCache: ObjectCacheService,
|
||||
protected halService: HALEndpointService,
|
||||
protected comparator: ChangeAnalyzer<T>,
|
||||
protected responseMsToLive: number,
|
||||
protected constructIdEndpoint: ConstructIdEndpoint,
|
||||
) {
|
||||
super(requestService, rdbService, objectCache, halService);
|
||||
super(linkPath, requestService, rdbService, objectCache, halService, responseMsToLive, constructIdEndpoint);
|
||||
if (hasNoValue(constructIdEndpoint)) {
|
||||
throw new Error(`PatchDataImpl initialized without a constructIdEndpoint method (linkPath: ${linkPath})`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user