Merge branch '21128-toolbar-context-menu'
[arvados-workbench2.git] / src / services / link-service / link-service.ts
index 4c12cd0ba9911f916b772ffcc3e9da925b6f9302..db198e0034816e68bcfff10418f333bfc3a78def 100644 (file)
@@ -2,12 +2,13 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { CommonResourceService } from "../../common/api/common-resource-service";
-import { LinkResource } from "../../models/link";
+import { CommonResourceService } from "services/common-service/common-resource-service";
+import { LinkResource } from "models/link";
 import { AxiosInstance } from "axios";
+import { ApiActions } from "services/api/api-actions";
 
-export class LinkService extends CommonResourceService<LinkResource> {
-    constructor(serverApi: AxiosInstance) {
-        super(serverApi, "links");
+export class LinkService<Resource extends LinkResource = LinkResource> extends CommonResourceService<Resource> {
+    constructor(serverApi: AxiosInstance, actions: ApiActions) {
+        super(serverApi, "links", actions);
     }
-}
\ No newline at end of file
+}