1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { GroupContentsResource } from "../../services/groups-service/groups-service";
6 import { ResourceKind } from "../../models/resource";
8 export interface ProjectPanelItem {
20 export function resourceToDataItem(r: GroupContentsResource): ProjectPanelItem {
27 lastModified: r.modifiedAt,
28 status: r.kind === ResourceKind.Process ? r.state : undefined