refs #14310 Merge branch 'origin/14310-upload-crash-on-chrome'
[arvados-workbench2.git] / src / services / services.ts
index 738b69de28584a5afdf0416eb428e20cf21e8c61..5adf10b387891b0fecd1efddcfbdade21badb4e5 100644 (file)
@@ -21,7 +21,9 @@ import { ContainerRequestService } from './container-request-service/container-r
 import { ContainerService } from './container-service/container-service';
 import { LogService } from './log-service/log-service';
 import { ApiActions } from "~/services/api/api-actions";
-import { WorkflowService } from './workflow-service/workflow-service';
+import { WorkflowService } from "~/services/workflow-service/workflow-service";
+import { SearchService } from '~/services/search-service/search-service';
+import { PermissionService } from "~/services/permission-service/permission-service";
 
 export type ServiceRepository = ReturnType<typeof createServices>;
 
@@ -38,6 +40,7 @@ export const createServices = (config: Config, actions: ApiActions) => {
     const keepService = new KeepService(apiClient, actions);
     const linkService = new LinkService(apiClient, actions);
     const logService = new LogService(apiClient, actions);
+    const permissionService = new PermissionService(apiClient, actions);
     const projectService = new ProjectService(apiClient, actions);
     const userService = new UserService(apiClient, actions);
     const workflowService = new WorkflowService(apiClient, actions);
@@ -48,6 +51,7 @@ export const createServices = (config: Config, actions: ApiActions) => {
     const collectionFilesService = new CollectionFilesService(collectionService);
     const favoriteService = new FavoriteService(linkService, groupsService);
     const tagService = new TagService(linkService);
+    const searchService = new SearchService();
 
     return {
         ancestorsService,
@@ -62,11 +66,13 @@ export const createServices = (config: Config, actions: ApiActions) => {
         keepService,
         linkService,
         logService,
+        permissionService,
         projectService,
+        searchService,
         tagService,
         userService,
         webdavClient,
-        workflowService
+        workflowService,
     };
 };