Userクラスをインポートして、Userを使用する代わりにする

私も同じです。Discourse.Site.currentProp('user_fields')こちらを参照)を他の何かと置き換える必要がありますか?