Chore: Add orguser methods to org service interface (#55668)

* Move role types to a separate package

* Make role type singular and remove _ from directory name

* Add orguser methods to org service

* Fix fake method
This commit is contained in:
idafurjes
2022-09-23 13:19:34 +02:00
committed by GitHub
parent 7f98f4b411
commit fb66439c3e
4 changed files with 119 additions and 8 deletions

View File

@@ -21,4 +21,6 @@ type Service interface {
AddOrgUser(context.Context, *AddOrgUserCommand) error
UpdateOrgUser(context.Context, *UpdateOrgUserCommand) error
RemoveOrgUser(context.Context, *RemoveOrgUserCommand) error
GetOrgUsers(context.Context, *GetOrgUsersQuery) ([]*OrgUserDTO, error)
SearchOrgUsers(context.Context, *SearchOrgUsersQuery) (*SearchOrgUsersQueryResult, error)
}