Module
migration/payload
github.com/riducms/ridu/migration/payload — Optional public import boundary for normalized Payload CMS exports; source-specific database extraction is deliberately out of scope.
Workflow 5
type payload.AssessmentPreflight counts and sorted blockers.
payload.Assess()Count records and report deterministic import blockers without writing.
interface payload.TargetThe narrow destination contract used by Import.
payload.Import()Import each chosen record through Ridu operations.
type payload.ResultCompleted import count and source-to-target ID mapping.
Import model 4
type payload.ExportA normalized, source-independent Payload export.
type payload.CollectionOne source collection slug and its normalized documents.
type payload.RecordOne source document and its available retained versions.
type payload.VersionOne available source revision.
Types 1
type payload.IDID is a normalized Payload document ID. JSON strings are preserved exactly; integer JSON numbers are converted to their exact base-10 spelling so Payload's numeric, UUID, and custom IDs share Ridu's canonical string wire representation without passing through float64.