| 225 | // ==================== Export State ==================== |
| 226 | |
| 227 | export interface ExportState { |
| 228 | // Source configuration |
| 229 | sourceType: SourceType | null |
| 230 | sourceData: SourceData | null |
| 231 | |
| 232 | // Export configuration |
| 233 | formatType: FormatType |
| 234 | exportOptions: ExportOptions |
| 235 | |
| 236 | // Preview state |
| 237 | previewOptions: PreviewOptions |
| 238 | previewResult: ConvertResult | null |
| 239 | previewContainerElement: HTMLDivElement | null |
| 240 | |
| 241 | // Edit state |
| 242 | editedContent: string | Blob | null |
| 243 | isDirty: boolean |
| 244 | isEditing: boolean |
| 245 | |
| 246 | // Loading state |
| 247 | isGenerating: boolean |
| 248 | isPreviewStale: boolean // Whether preview needs regeneration due to option changes |
| 249 | error: string | null |
| 250 | } |
| 251 | |
| 252 | export interface ExportActions { |
| 253 | // Source actions |
nothing calls this directly
no outgoing calls
no test coverage detected