()
| 34 | } |
| 35 | |
| 36 | func (s *imlTeamService) OnComplete() { |
| 37 | s.IServiceGet = universally.NewGetSoftDelete[Team, team.Team](s.teamStore, FromEntity) |
| 38 | |
| 39 | s.IServiceDelete = universally.NewSoftDelete[team.Team](s.teamStore) |
| 40 | |
| 41 | s.IServiceCreate = universally.NewCreatorSoftDelete[CreateTeam, team.Team](s.teamStore, "team", createEntityHandler, uniquestHandler, labelHandler) |
| 42 | |
| 43 | s.IServiceEdit = universally.NewEdit[EditTeam, team.Team](s.teamStore, updateHandler, labelHandler) |
| 44 | auto.RegisterService("team", s) |
| 45 | |
| 46 | } |
| 47 | |
| 48 | func (s *imlTeamService) GetLabels(ctx context.Context, ids ...string) map[string]string { |
| 49 | if len(ids) == 0 { |
nothing calls this directly
no test coverage detected