// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

/// Implements Document Migration behavior for the Scheduler Core package.
library;

// Legacy document migration helpers for the V1 persistence contract.
//
// The migration layer is intentionally plain Dart and side-effect free. Future
// adapters can use these results for dry-runs before deciding whether to write
// the migrated document back to storage.

import 'document_mapping.dart';
import 'persistence_contract.dart';
import '../domain/time_contracts.dart';
import '../logging/focus_flow_logger.dart';
part 'document_migration/codes/document_migration_entity.dart';
part 'document_migration/codes/document_migration_status.dart';
part 'document_migration/codes/document_migration_failure_code.dart';
part 'document_migration/codes/document_migration_note_code.dart';
part 'document_migration/reports/document_migration_provenance.dart';
part 'document_migration/reports/document_migration_note.dart';
part 'document_migration/reports/document_migration_report.dart';
part 'document_migration/reports/document_migration_result.dart';
part 'document_migration/service/v1_document_migration_service.dart';
part 'document_migration/service/v0_migrator.dart';
part 'document_migration/service/schema_version_read.dart';
part 'document_migration/legacy/legacy_document_exception.dart';
part 'document_migration/legacy/legacy_metadata_instants.dart';
