Astra-Interactive/AstraRating

Refactor as in AstraTemplate

Closed this issue · 0 comments

1. :modules:dto

Remove this module entirely.

  • Move dto's models into :modules:db-rating module.
  • Rename models named xxxDTO into more convenient. For example UserDTO -> UserModel
  • Move PluginTranslation,EmpireConfig, RatingPermission into :modules:core as in AstraTemplate
  • Other models in this module also need to be relocated. For example, UserModel -> db-rating. UserRatingSort -> shared
  • For :modules:core also need to be created DI Module as in AstraTemplate with Lifecycle

AstraTemplate

Create pull request into refactor branch