Memo::SourceRegistry
Instance methods
Create a source with no external ID (memo-managed)
Delete a source record
Get external ID and source_type from internal ID
Get internal ID for an external source (doesn't create)
Get internal ID without source_type filter
list(db : DB::Database, source_type : String, limit : Int32 = 100, offset : Int32 = 0) : Array(Tuple(Int64, ExternalId | Nil))
List all sources for a given type
Resolve external ID to internal ID, creating source record if needed