type RecordId<R extends UnknownRecord> = string & {
  __type__: R
}
RecordFromIdRecordScope