X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/c15afcee286bb8ab694f488e2ccd490b56794e47..e5198f5d7a60e57a529cf49a96fbb82bc6d8877b:/src/common/plugintypes.ts diff --git a/src/common/plugintypes.ts b/src/common/plugintypes.ts index a87b0a86..da6e8059 100644 --- a/src/common/plugintypes.ts +++ b/src/common/plugintypes.ts @@ -2,12 +2,12 @@ // // SPDX-License-Identifier: AGPL-3.0 -import * as React from 'react'; +import React from 'react'; import { Dispatch, Middleware } from 'redux'; -import { RootStore, RootState } from '~/store/store'; -import { ResourcesState } from '~/store/resources/resources'; +import { RootStore, RootState } from 'store/store'; +import { ResourcesState } from 'store/resources/resources'; import { Location } from 'history'; -import { ServiceRepository } from "~/services/services"; +import { ServiceRepository } from "services/services"; export type ElementListReducer = (startingList: React.ReactElement[], itemClass?: string) => React.ReactElement[]; export type CategoriesListReducer = (startingList: string[]) => string[]; @@ -18,7 +18,7 @@ export type MiddlewareListReducer = (startingList: Middleware[], services: Servi /* Workbench Plugin API - Code to your plugin should go into a subdirectory of '~/plugins'. + Code to your plugin should go into a subdirectory of 'plugins/'. Your plugin should implement a "register" function, which will be called with an object with the PluginConfig interface described