export type LocalizedEntity = { [K in keyof Entity]: K extends LocalizedFields ? { [Locale in Locales]: Entity[K]; } : Entity[K]; };