1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { Tree } from "~/models/tree";
6 import { TreeItemStatus } from "~/components/tree/tree";
8 export type TreePicker = Tree<TreePickerNode>;
10 export interface TreePickerNode {
15 status: TreeItemStatus;
18 export const createTreePickerNode = (data: {id: string, value: any}) => ({
22 status: TreeItemStatus.INITIAL