Commits
Art Lowel authored a3540be7365
21 21 | isNotUndefined, |
22 22 | isUndefined, |
23 23 | } from '../../shared/empty.util'; |
24 24 | import { RemoteDataBuildService } from '../cache/builders/remote-data-build.service'; |
25 25 | import { CoreState } from '../core-state.model'; |
26 26 | import { RemoteData } from '../data/remote-data'; |
27 27 | import { PatchRequest } from '../data/request.models'; |
28 28 | import { RequestService } from '../data/request.service'; |
29 29 | import { HALEndpointService } from '../shared/hal-endpoint.service'; |
30 30 | import { getFirstCompletedRemoteData } from '../shared/operators'; |
31 + | import { URLCombiner } from '../url-combiner/url-combiner'; |
31 32 | import { JsonPatchOperationModel } from './json-patch.model'; |
32 33 | import { |
33 34 | CommitPatchOperationsAction, |
34 35 | DeletePendingJsonPatchOperationsAction, |
35 36 | RollbacktPatchOperationsAction, |
36 37 | StartTransactionPatchOperationsAction, |
37 38 | } from './json-patch-operations.actions'; |
38 39 | import { JsonPatchOperationsResourceEntry } from './json-patch-operations.reducer'; |
39 40 | import { jsonPatchOperationsByResourceType } from './selectors'; |
40 - | import { URLCombiner } from '../url-combiner/url-combiner'; |
41 41 | |
42 42 | /** |
43 43 | * An abstract class that provides methods to make JSON Patch requests. |
44 44 | */ |
45 45 | export abstract class JsonPatchOperationsService<ResponseDefinitionDomain, PatchRequestDefinition extends PatchRequest> { |
46 46 | |
47 47 | protected abstract requestService: RequestService; |
48 48 | protected abstract store: Store<CoreState>; |
49 49 | protected abstract linkPath: string; |
50 50 | protected abstract halService: HALEndpointService; |