README

vectie/moonfish/migration does not have a README file

#
ImportDisposition

pub(all) enum ImportDisposition {
ImportReady
NeedsReview
SkippedUnsupported
} derive(Eq, ToJson,
Debug
,
FromJson
)

#
ImportedMoonBookRecord

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
)

#
ImportedRecordKind

pub(all) enum ImportedRecordKind {
ImportedAnalysis
ImportedPendingAnalysis
ImportedExperience
ImportedTrade
} derive(Eq, ToJson,
Debug
,
FromJson
)

#
LegacyImportBatchInput

pub(all) struct LegacyImportBatchInput {
batch_id : String
source_root : String
sources : Array[LegacySourceRef]
} derive(Eq, ToJson,
Debug
,
FromJson
)

#
LegacyImportPlan

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
)

#
LegacyImportPlanItem

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
)

#
LegacyImportProjection

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
)

#
LegacySourceKind

pub(all) enum LegacySourceKind {
LegacyAnalysisRecord
LegacyPendingRecord
LegacyExperienceEntry
LegacyTradeLog
} derive(Eq, ToJson,
Debug
,
FromJson
)

#
LegacySourceRef

pub(all) struct LegacySourceRef {
source_path : String
kind : LegacySourceKind
schema_version : String
target_run_id : String?
trace_id : String
} derive(Eq, ToJson,
Debug
,
FromJson
)

#
legacy_import_batch_input

fn legacy_import_batch_input(batch_id : String, source_root : String, sources : Array[LegacySourceRef]) -> LegacyImportBatchInput

#
legacy_source_ref

fn legacy_source_ref(source_path : String, kind : LegacySourceKind, trace_id : String, schema_version? : String, target_run_id? : String) -> LegacySourceRef

#
materialize_legacy_import_projection

fn materialize_legacy_import_projection(plan : LegacyImportPlan) -> LegacyImportProjection

#
prepare_legacy_import_plan

fn prepare_legacy_import_plan(input : LegacyImportBatchInput) -> LegacyImportPlan

Source Files