X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/28f13ae4d15f4f80ff3834d6a7422b4259672a20..c3cfdfd215a3c6dd547e1358f3e8d24b55665e9d:/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts diff --git a/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts b/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts index 6997f088..90fcf3ee 100644 --- a/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts +++ b/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts @@ -3,12 +3,14 @@ // SPDX-License-Identifier: AGPL-3.0 import { default as unionize, ofType, UnionOf } from "unionize"; -import { CollectionPanelFilesState, CollectionPanelFile } from "./collection-panel-files-state"; +import { KeepManifest } from "../../../models/keep-manifest"; export const collectionPanelFilesAction = unionize({ - SET_COLLECTION_FILES: ofType<{ files: CollectionPanelFilesState }>(), + SET_COLLECTION_FILES: ofType<{ manifest: KeepManifest }>(), TOGGLE_COLLECTION_FILE_COLLAPSE: ofType<{ id: string }>(), - TOGGLE_COLLECTION_FILE_SELECTION: ofType<{ id: string }>() + TOGGLE_COLLECTION_FILE_SELECTION: ofType<{ id: string }>(), + SELECT_ALL_COLLECTION_FILES: ofType<{}>(), + UNSELECT_ALL_COLLECTION_FILES: ofType<{}>(), }, { tag: 'type', value: 'payload' }); export type CollectionPanelFilesAction = UnionOf; \ No newline at end of file