Use extractEntityPreview from @graviola/edb-core-utils for view previews.