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 {
24 description: r.description,
28 lastModified: r.modifiedAt,
29 status: r.kind === ResourceKind.PROCESS ? r.state : undefined