UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

19 lines (17 loc) 627 B
/** * Copyright IBM Corp. 2024, 2025 */ import { APICFileInfo } from "../../apic-mode/models/apic-file-info.model.js"; import { APIChandle, VCShandle } from "../interfaces/file-explorer-handler.interface.js"; import { TreeEntry } from "./tree-entry.model.js"; export interface FileExplorerNode { id: string; label: string; value: string; isDirectory: boolean; parentDirectory: FileSystemDirectoryHandle | VCShandle | APIChandle; entity: FileSystemFileHandle | FileSystemDirectoryHandle | TreeEntry | APICFileInfo; entityType: 'local' | 'vcs' | 'apic'; children?: FileExplorerNode[]; isRootDir?: boolean; }