refs #master Merge branch 'origin/master' into 13901-services-repo
[arvados-workbench2.git] / src / store / data-explorer / data-explorer-middleware-service.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { Dispatch, MiddlewareAPI } from "redux";
6 import { RootState } from "../store";
7
8 export abstract class DataExplorerMiddlewareService {
9     protected readonly id: string;
10
11     protected constructor(id: string) {
12         this.id = id;
13     }
14
15     public getId() {
16         return this.id;
17     }
18
19     abstract requestItems(api: MiddlewareAPI<Dispatch, RootState>): void;
20 }