Files
gridpilot.gg/packages/infrastructure/adapters/automation/index.ts
2025-11-30 02:07:08 +01:00

29 lines
1.1 KiB
TypeScript

/**
* Automation adapters for browser automation.
*
* Exports:
* - MockBrowserAutomationAdapter: Mock adapter for testing
* - PlaywrightAutomationAdapter: Browser automation via Playwright
* - FixtureServer: HTTP server for serving fixture HTML files
* - IRacingTemplateMap: Template map for iRacing UI elements
*/
// Adapters
export { MockBrowserAutomationAdapter } from './engine/MockBrowserAutomationAdapter';
export { PlaywrightAutomationAdapter } from './core/PlaywrightAutomationAdapter';
export type { PlaywrightConfig, AutomationAdapterMode } from './core/PlaywrightAutomationAdapter';
// Services
export { FixtureServer, getFixtureForStep, getAllStepFixtureMappings } from './engine/FixtureServer';
export type { IFixtureServer } from './engine/FixtureServer';
// Template map and utilities
export {
IRacingTemplateMap,
getStepTemplates,
getStepName,
isModalStep,
getLoginIndicators,
getLogoutIndicators,
} from './engine/templates/IRacingTemplateMap';
export type { IRacingTemplateMapType, StepTemplates } from './engine/templates/IRacingTemplateMap';