Skip to main content
Glama
ViewHierarchyResult.ts488 B
import { ElementBounds } from "./ElementBounds"; /** * Represents the ViewHierarchy dump result from a device. */ export interface ViewHierarchyResult { hierarchy: Hierarchy; } export interface Hierarchy { error?: string; node?: ViewHierarchyNode; } // Define types for the view hierarchy structure export interface NodeAttributes { [key: string]: string; } export interface ViewHierarchyNode { $: NodeAttributes; node?: ViewHierarchyNode[]; bounds?: ElementBounds; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zillow/auto-mobile'

If you have feedback or need assistance with the MCP directory API, please join our Discord server