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 { TrashResource } from "~/models/resource";
8 export interface TrashPanelItem {
19 export function resourceToDataItem(r: GroupContentsResource): TrashPanelItem {
25 trashAt: (r as TrashResource).trashAt,
26 deleteAt: (r as TrashResource).deleteAt,
27 isTrashed: (r as TrashResource).isTrashed