Merge branch '21128-toolbar-context-menu'
[arvados-workbench2.git] / src / services / api / api-actions.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 export type ProgressFn = (id: string, working: boolean) => void;
6 export type ErrorFn = (id: string, error: any, showSnackBar?: boolean) => void;
7
8 export interface ApiActions {
9     progressFn: ProgressFn;
10     errorFn: ErrorFn;
11 }