Merge branch 'master'
[arvados-workbench2.git] / src / services / services.ts
index 47a24b344aaa7d43c0f257d3c47aabd526995368..f0afd76fc82f7158f3e85aa9ddcb95b0d1c2df65 100644 (file)
@@ -2,10 +2,15 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import AuthService from "./auth-service/auth-service";
-import ProjectService from "./project-service/project-service";
-import CollectionService from "./collection-service/collection-service";
+import { AuthService } from "./auth-service/auth-service";
+import { GroupsService } from "./groups-service/groups-service";
+import { serverApi } from "../common/api/server-api";
+import { ProjectService } from "./project-service/project-service";
+import { LinkService } from "./link-service/link-service";
+import { FavoriteService } from "./favorite-service/favorite-service";
 
-export const authService = new AuthService();
-export const projectService = new ProjectService();
-export const collectionService = new CollectionService();
+export const authService = new AuthService(serverApi);
+export const groupsService = new GroupsService(serverApi);
+export const projectService = new ProjectService(serverApi);
+export const linkService = new LinkService(serverApi);
+export const favoriteService = new FavoriteService(linkService, groupsService);