vectie/moonfish/migration does not have a README file
pub(all) struct ImportedMoonBookRecord {
trace_id : String
source_path : String
target_path : String
schema_version : String
schema_id : String
kind : ImportedRecordKind
title : String
inspectable_summary : String
replay_anchor_path : String
} derive(Eq, ToJson, Debug, FromJson)pub(all) struct LegacyImportPlan {
batch_id : String
source_root : String
ready_count : Int
review_count : Int
skipped_count : Int
items : Array[LegacyImportPlanItem]
write_plan : BookWritePlan
} derive(Eq, ToJson, Debug, FromJson)pub(all) struct LegacyImportPlanItem {
source : LegacySourceRef
target_path : String
target_schema_id : String
artifact_kind : BookArtifactKind
disposition : ImportDisposition
review_message : String?
} derive(Eq, ToJson, Debug, FromJson)pub(all) struct LegacyImportProjection {
batch_id : String
record_count : Int
review_count : Int
records : Array[ImportedMoonBookRecord]
review_paths : Array[String]
write_plan : BookWritePlan
summary : String
} derive(Eq, ToJson, Debug, FromJson)pub(all) struct LegacySourceRef {
source_path : String
kind : LegacySourceKind
schema_version : String
target_run_id : String?
trace_id : String
} derive(Eq, ToJson, Debug, FromJson)fn legacy_import_batch_input(batch_id : String, source_root : String, sources : Array[LegacySourceRef]) -> LegacyImportBatchInputfn legacy_source_ref(source_path : String, kind : LegacySourceKind, trace_id : String, schema_version? : String, target_run_id? : String) -> LegacySourceRefDependencies