Skip to main content

Module ports

Module ports 

Source
Expand description

Port trait definitions: interfaces adapters must implement

The domain depends only on these traits, not on concrete implementations. Port trait definitions for stygian-plugin

Defines interfaces that adapters must implement following hexagonal architecture. The domain layer depends only on these traits, not on concrete implementations.

Traitsยง

IdempotencyKeyStore
Port for tracking idempotency keys and results
PluginExtractionPort
Port for executing data extraction on a page
PluginRecordingPort
Optional: Recording port for capturing user interactions and generating templates
PluginTemplateStore
Port for persisting and retrieving extraction templates