Getting joined data for widget scope

I’d like to follow this topic… In mentioned poster-name widget you have explained how to access User custom_fields.

From the same widget I’d like to access columns in user_stats table instead.

I know that any of user_stats variables needs to be passed to widget as attrs so I’d like to extend underlying functions.

I believe that the data source is post_serializer.rb and then also transform-post.js.es6 creates attrs in transformBasicPost(post).

This doesn’t work, I must be missing something… Thx in advance.