UNPKG

legal-markdown-js

Version:

Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version

40 lines 1.16 kB
/** * Pipeline Management Types for Legal Markdown Processing * * This module defines the type system for the advanced pipeline management features * in Legal Markdown processing. It provides interfaces for pipeline orchestration, * step management, result tracking, and error handling. * * Features: * - Pipeline step configuration and ordering * - Processing result tracking with detailed metrics * - Error handling and reporting interfaces * - Pipeline execution state management * - Integration with field tracking systems * - Support for async and sync processing modes * * @example * ```typescript * import { PipelineStep, PipelineResult, PipelineConfig } from './types.js'; * import { BaseProcessor } from '../../core/index.js'; * * // Define a pipeline step * const mixinStep: PipelineStep = { * name: 'mixins', * processor: new MixinProcessor(), * order: 7, * enabled: true * }; * * // Configure pipeline * const config: PipelineConfig = { * steps: [mixinStep], * fieldTrackingMode: 'centralized', * enableDebugLogging: true * }; * ``` * * @module */ export {}; //# sourceMappingURL=types.js.map