@eyeglass/types
v0.1.8
Published
Shared TypeScript types for Eyeglass
Maintainers
Readme
@eyeglass/types
Shared TypeScript definitions for the Eyeglass visual debugging tool.
Installation
npm install @eyeglass/typesUsage
import type { SemanticSnapshot, FocusPayload, InteractionStatus } from '@eyeglass/types';Types
SemanticSnapshot- Complete context for a selected UI element (framework info, accessibility, geometry, styles, DOM neighborhood)FocusPayload- Request payload sent from browser to bridgeInteractionStatus- Status of an interaction (idle|pending|fixing|success|failed)ActivityEvent- Real-time events sent to the browser (status updates, thoughts, actions, questions)
See the main repo for full documentation.
