X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/5e8a5a1c42226e0dd3aceaf4825d870a3786c5d1..aafa91ce918b23cff556f73e337ad8fe76ed578a:/src/services/api/api-actions.ts diff --git a/src/services/api/api-actions.ts b/src/services/api/api-actions.ts new file mode 100644 index 00000000..d47eeaa8 --- /dev/null +++ b/src/services/api/api-actions.ts @@ -0,0 +1,11 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + +export type ProgressFn = (id: string, working: boolean) => void; +export type ErrorFn = (id: string, message: string) => void; + +export interface ApiActions { + progressFn: ProgressFn; + errorFn: ErrorFn; +}