| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
178
|
50388
|
5796
-
5824
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this._enhanceRouteWithConcatenation(AdminModeratorApi.this.getModerator).~(AdminModeratorApi.this.getModerators)
|
|
178
|
43877
|
5796
-
5860
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this._enhanceRouteWithConcatenation(AdminModeratorApi.this._enhanceRouteWithConcatenation(AdminModeratorApi.this._enhanceRouteWithConcatenation(AdminModeratorApi.this.getModerator).~(AdminModeratorApi.this.getModerators)).~(AdminModeratorApi.this.createModerator)).~(AdminModeratorApi.this.updateModerator)
|
|
178
|
37327
|
5811
-
5824
|
Select
|
org.make.api.user.AdminModeratorApi.getModerators
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this.getModerators
|
|
178
|
48464
|
5845
-
5860
|
Select
|
org.make.api.user.AdminModeratorApi.updateModerator
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this.updateModerator
|
|
178
|
41161
|
5796
-
5808
|
Select
|
org.make.api.user.AdminModeratorApi.getModerator
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this.getModerator
|
|
178
|
34644
|
5796
-
5842
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this._enhanceRouteWithConcatenation(AdminModeratorApi.this._enhanceRouteWithConcatenation(AdminModeratorApi.this.getModerator).~(AdminModeratorApi.this.getModerators)).~(AdminModeratorApi.this.createModerator)
|
|
178
|
43547
|
5827
-
5842
|
Select
|
org.make.api.user.AdminModeratorApi.createModerator
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this.createModerator
|
|
201
|
41194
|
6484
-
6509
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.user.adminmoderatorapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminModeratorApi.this.Segment).map[org.make.core.user.UserId](((value: String) => org.make.core.user.UserId.apply(value)))
|
|
201
|
36008
|
6484
-
6491
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.Segment
|
|
201
|
50097
|
6496
-
6508
|
Apply
|
org.make.core.user.UserId.apply
|
org.make.api.user.adminmoderatorapitest
|
org.make.core.user.UserId.apply(value)
|
|
204
|
35713
|
6626
-
6642
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
user.roles.toSet[org.make.core.user.Role]
|
|
204
|
48497
|
6570
-
6652
|
Select
|
scala.collection.IterableOnceOps.nonEmpty
|
|
scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(user.roles.toSet[org.make.core.user.Role]).nonEmpty
|
|
204
|
37787
|
6574
-
6587
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
204
|
50422
|
6589
-
6598
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
204
|
43582
|
6600
-
6614
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
207
|
44332
|
6699
-
6702
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.get
|
|
207
|
33860
|
6699
-
7256
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((moderatorId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("GetModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminModeratorApi.this.isModerator(moderator).unary_!)
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))))))))))
|
|
208
|
36805
|
6716
-
6723
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"admin"
|
|
208
|
43345
|
6716
-
6752
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
208
|
41712
|
6724
-
6724
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
208
|
40976
|
6711
-
7250
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((moderatorId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("GetModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminModeratorApi.this.isModerator(moderator).unary_!)
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])))))))))))))
|
|
208
|
48261
|
6715
-
6715
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
208
|
34438
|
6711
-
6753
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
208
|
48820
|
6726
-
6738
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
208
|
51166
|
6739
-
6739
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
208
|
37825
|
6741
-
6752
|
Select
|
org.make.api.user.DefaultAdminModeratorApiComponent.DefaultAdminModeratorApi.moderatorId
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.moderatorId
|
|
209
|
44368
|
6793
-
6807
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"GetModerator"
|
|
209
|
41744
|
6779
-
6808
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation("GetModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3)
|
|
209
|
36250
|
6779
-
6779
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$2
|
|
209
|
33875
|
6792
-
6792
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
209
|
49883
|
6779
-
6779
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$3
|
|
209
|
49874
|
6779
-
7242
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("GetModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminModeratorApi.this.isModerator(moderator).unary_!)
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])))))))))))
|
|
210
|
42768
|
6826
-
6826
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
210
|
50381
|
6826
-
6836
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOAuth2
|
|
210
|
35783
|
6826
-
7232
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminModeratorApi.this.isModerator(moderator).unary_!)
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])))))))))
|
|
211
|
48292
|
6881
-
6908
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
211
|
39944
|
6881
-
7220
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminModeratorApi.this.isModerator(moderator).unary_!)
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])))))))
|
|
211
|
34951
|
6898
-
6907
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
212
|
48782
|
6925
-
7206
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminModeratorApi.this.isModerator(moderator).unary_!)
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
|
|
212
|
36000
|
6925
-
6979
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound
|
|
212
|
44409
|
6925
-
6957
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)
|
|
212
|
49304
|
6958
-
6958
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
213
|
41502
|
7015
-
7038
|
Select
|
scala.Boolean.unary_!
|
|
DefaultAdminModeratorApi.this.isModerator(moderator).unary_!
|
|
214
|
33907
|
7069
-
7089
|
Select
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
214
|
42523
|
7069
-
7089
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)
|
|
214
|
50416
|
7081
-
7081
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
214
|
35702
|
7060
-
7090
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
|
|
214
|
48053
|
7060
-
7090
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
|
|
216
|
49841
|
7160
-
7160
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]
|
|
216
|
35453
|
7134
-
7172
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))
|
|
216
|
42561
|
7134
-
7172
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))
|
|
216
|
36038
|
7160
-
7160
|
Select
|
org.make.api.user.ModeratorResponse.encoder
|
|
user.this.ModeratorResponse.encoder
|
|
216
|
43613
|
7143
-
7171
|
Apply
|
org.make.api.user.ModeratorResponse.apply
|
|
ModeratorResponse.apply(moderator)
|
|
216
|
33944
|
7160
-
7160
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))
|
|
216
|
42243
|
7160
-
7160
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])
|
|
216
|
50165
|
7143
-
7171
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.ModeratorResponse](DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])))
|
|
225
|
33976
|
7298
-
9330
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.path[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("GetModerators", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String])](DefaultAdminModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], ids: Option[Seq[org.make.core.user.UserId]], email: Option[String], firstName: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]))))
})))))))))))
|
|
225
|
50206
|
7298
-
7301
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.get
|
|
226
|
35489
|
7325
-
7337
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
226
|
47514
|
7323
-
7323
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
226
|
42325
|
7315
-
7322
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"admin"
|
|
226
|
41565
|
7310
-
9324
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.path[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("GetModerators", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String])](DefaultAdminModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], ids: Option[Seq[org.make.core.user.UserId]], email: Option[String], firstName: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]))))
}))))))))))
|
|
226
|
40395
|
7315
-
7337
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])
|
|
226
|
35824
|
7310
-
7338
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.path[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))
|
|
227
|
43124
|
7362
-
7362
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
227
|
46927
|
7349
-
7379
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation("GetModerators", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3)
|
|
227
|
42037
|
7349
-
7349
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$2
|
|
227
|
49624
|
7363
-
7378
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"GetModerators"
|
|
227
|
33899
|
7349
-
7349
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$3
|
|
227
|
44949
|
7349
-
9316
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("GetModerators", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String])](DefaultAdminModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], ids: Option[Seq[org.make.core.user.UserId]], email: Option[String], firstName: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]))))
})))))))))
|
|
228
|
43411
|
7407
-
7407
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac7
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String]]
|
|
228
|
46264
|
7397
-
7643
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])))
|
|
229
|
40432
|
7452
-
7452
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.startFromIntUnmarshaller
|
|
229
|
49660
|
7421
-
7453
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApiComponent.this.startFromIntUnmarshaller))
|
|
229
|
36294
|
7452
-
7452
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApiComponent.this.startFromIntUnmarshaller)
|
|
229
|
48041
|
7421
-
7453
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
|
|
229
|
35528
|
7421
-
7429
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"_start"
|
|
230
|
35280
|
7467
-
7494
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminModeratorApiComponent.this.endFromIntUnmarshaller))
|
|
230
|
43581
|
7493
-
7493
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminModeratorApiComponent.this.endFromIntUnmarshaller)
|
|
230
|
46962
|
7493
-
7493
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.endFromIntUnmarshaller
|
|
230
|
33648
|
7467
-
7494
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
|
|
230
|
42072
|
7467
-
7473
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"_end"
|
|
231
|
49102
|
7516
-
7516
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
231
|
35778
|
7516
-
7516
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
231
|
40186
|
7508
-
7517
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("_sort").?
|
|
231
|
48075
|
7508
-
7515
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"_sort"
|
|
231
|
41286
|
7508
-
7517
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
232
|
34717
|
7550
-
7550
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
232
|
33685
|
7531
-
7539
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"_order"
|
|
232
|
42319
|
7550
-
7550
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
232
|
46732
|
7531
-
7551
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
232
|
47835
|
7531
-
7551
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
233
|
42032
|
7565
-
7581
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
org.make.api.user.adminmoderatorapitest
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminModeratorApiComponent.this.userIdFromStringUnmarshaller)
|
|
233
|
48862
|
7573
-
7573
|
Select
|
org.make.core.ParameterExtractors.userIdFromStringUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.userIdFromStringUnmarshaller
|
|
233
|
40222
|
7565
-
7569
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"id"
|
|
233
|
32072
|
7565
-
7581
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
org.make.api.user.adminmoderatorapitest
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId]
|
|
234
|
48570
|
7595
-
7604
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
234
|
42358
|
7603
-
7603
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
234
|
33443
|
7595
-
7602
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"email"
|
|
234
|
35234
|
7603
-
7603
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
234
|
46224
|
7595
-
7604
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("email").?
|
|
235
|
34182
|
7618
-
7631
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
235
|
31825
|
7618
-
7631
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("firstName").?
|
|
235
|
41783
|
7630
-
7630
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
235
|
39985
|
7618
-
7629
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"firstName"
|
|
235
|
48897
|
7630
-
7630
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
236
|
32921
|
7397
-
9306
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String])](DefaultAdminModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac7[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], ids: Option[Seq[org.make.core.user.UserId]], email: Option[String], firstName: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]))))
})))))))
|
|
246
|
35271
|
7972
-
7982
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOAuth2
|
|
246
|
48332
|
7972
-
7972
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
246
|
39772
|
7972
-
9294
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]))))
})))))
|
|
247
|
48361
|
8031
-
9278
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]))))
})))
|
|
247
|
31865
|
8031
-
8058
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
247
|
40173
|
8048
-
8057
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
248
|
38886
|
8079
-
9009
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective)
|
|
250
|
38425
|
8101
-
8435
|
Apply
|
org.make.api.user.UserService.adminCountUsers
|
|
DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)
|
|
254
|
49960
|
8309
-
8313
|
Select
|
scala.None
|
|
scala.None
|
|
255
|
34223
|
8346
-
8370
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator)
|
|
255
|
41821
|
8351
-
8369
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
256
|
46717
|
8407
-
8411
|
Select
|
scala.None
|
|
scala.None
|
|
258
|
35025
|
8101
-
8470
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective
|
|
260
|
33431
|
8492
-
8954
|
Apply
|
org.make.api.user.UserService.adminFindUsers
|
|
DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)
|
|
261
|
48364
|
8567
-
8580
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
268
|
40214
|
8828
-
8832
|
Select
|
scala.None
|
|
scala.None
|
|
269
|
32319
|
8870
-
8888
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
269
|
49442
|
8865
-
8889
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator)
|
|
270
|
41574
|
8926
-
8930
|
Select
|
scala.None
|
|
scala.None
|
|
272
|
46751
|
8492
-
8989
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective
|
|
273
|
32358
|
9010
-
9010
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]
|
|
273
|
48402
|
9010
-
9010
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
273
|
39973
|
8079
-
9016
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
273
|
35568
|
8079
-
9260
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]))))
}))
|
|
273
|
35059
|
9010
-
9010
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
275
|
39437
|
9090
-
9239
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]))))
|
|
276
|
46512
|
9141
-
9178
|
Apply
|
scala.collection.IterableFactory.apply
|
|
scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString()))
|
|
276
|
41060
|
9124
-
9124
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]])
|
|
276
|
35527
|
9180
-
9214
|
Apply
|
scala.collection.IterableOps.map
|
|
users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))
|
|
276
|
47615
|
9124
-
9215
|
Apply
|
scala.Tuple3.apply
|
|
scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user))))
|
|
276
|
46191
|
9125
-
9139
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
276
|
33218
|
9124
-
9124
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]))
|
|
276
|
44914
|
9124
-
9124
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]
|
|
276
|
40009
|
9124
-
9124
|
Select
|
org.make.api.user.ModeratorResponse.encoder
|
|
user.this.ModeratorResponse.encoder
|
|
276
|
38379
|
9190
-
9213
|
Apply
|
org.make.api.user.ModeratorResponse.apply
|
|
ModeratorResponse.apply(user)
|
|
276
|
33465
|
9146
-
9177
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
276
|
46549
|
9124
-
9215
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.ModeratorResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.ModeratorResponse]](DefaultAdminModeratorApiComponent.this.marshaller[Seq[org.make.api.user.ModeratorResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder), DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]])))
|
|
276
|
41611
|
9162
-
9176
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
276
|
32119
|
9124
-
9124
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder)
|
|
286
|
44705
|
9374
-
11018
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.path[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("CreateModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CreateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.CreateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.CreateModeratorRequest]).apply(((request: org.make.api.user.CreateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))))))))))))
|
|
286
|
46313
|
9374
-
9378
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.post
|
|
287
|
32669
|
9387
-
9415
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.path[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))
|
|
287
|
39475
|
9392
-
9399
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"admin"
|
|
287
|
30542
|
9402
-
9414
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
287
|
40509
|
9392
-
9414
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])
|
|
287
|
48114
|
9400
-
9400
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
287
|
30576
|
9387
-
11012
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.path[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("CreateModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CreateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.CreateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.CreateModeratorRequest]).apply(((request: org.make.api.user.CreateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])))))))))))))))
|
|
288
|
41605
|
9426
-
9426
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$2
|
|
288
|
33727
|
9426
-
9426
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$3
|
|
288
|
39513
|
9439
-
9439
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
288
|
39512
|
9426
-
11004
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("CreateModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CreateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.CreateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.CreateModeratorRequest]).apply(((request: org.make.api.user.CreateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))))))))))
|
|
288
|
46504
|
9426
-
9458
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation("CreateModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3)
|
|
288
|
46025
|
9440
-
9457
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"CreateModerator"
|
|
289
|
31071
|
9489
-
9499
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminModeratorApiComponent.this.makeOAuth2
|
|
289
|
48153
|
9489
-
9489
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
289
|
47387
|
9489
-
10994
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CreateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.CreateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.CreateModeratorRequest]).apply(((request: org.make.api.user.CreateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))))))))
|
|
290
|
50528
|
9544
-
10982
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CreateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.CreateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.CreateModeratorRequest]).apply(((request: org.make.api.user.CreateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))))))
|
|
290
|
40257
|
9561
-
9570
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
290
|
32107
|
9544
-
9571
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
291
|
46064
|
9588
-
9601
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminModeratorApi.this.decodeRequest
|
|
291
|
38166
|
9588
-
10968
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CreateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.CreateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.CreateModeratorRequest]).apply(((request: org.make.api.user.CreateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])))))))))
|
|
292
|
31108
|
9620
-
9654
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminModeratorApi.this.entity[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.CreateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder))))
|
|
292
|
47909
|
9626
-
9626
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.CreateModeratorRequest]
|
|
292
|
46263
|
9629
-
9629
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder))
|
|
292
|
33768
|
9629
-
9629
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)
|
|
292
|
44983
|
9620
-
10952
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.CreateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.CreateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.CreateModeratorRequest]).apply(((request: org.make.api.user.CreateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))))
|
|
292
|
41364
|
9629
-
9629
|
Select
|
org.make.api.user.CreateModeratorRequest.decoder
|
|
user.this.CreateModeratorRequest.decoder
|
|
292
|
38666
|
9627
-
9653
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminModeratorApi.this.as[org.make.api.user.CreateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CreateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)))
|
|
294
|
38415
|
9710
-
10759
|
Apply
|
org.make.api.user.UserService.register
|
|
DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)
|
|
295
|
38210
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$24
|
|
UserRegisterData.apply$default$24
|
|
295
|
33503
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$25
|
|
UserRegisterData.apply$default$25
|
|
295
|
33006
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$22
|
|
UserRegisterData.apply$default$22
|
|
295
|
47397
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$9
|
|
UserRegisterData.apply$default$9
|
|
295
|
39265
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$10
|
|
UserRegisterData.apply$default$10
|
|
295
|
33765
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$8
|
|
UserRegisterData.apply$default$8
|
|
295
|
45808
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$23
|
|
UserRegisterData.apply$default$23
|
|
295
|
45775
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$6
|
|
UserRegisterData.apply$default$6
|
|
295
|
46825
|
9775
-
10699
|
Apply
|
org.make.api.user.UserRegisterData.apply
|
|
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
|
|
295
|
31369
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$15
|
|
UserRegisterData.apply$default$15
|
|
295
|
44184
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$20
|
|
UserRegisterData.apply$default$20
|
|
295
|
40292
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$21
|
|
UserRegisterData.apply$default$21
|
|
295
|
38175
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$7
|
|
UserRegisterData.apply$default$7
|
|
296
|
39763
|
9825
-
9838
|
Select
|
org.make.api.user.CreateModeratorRequest.email
|
|
request.email
|
|
297
|
32147
|
9876
-
9893
|
Select
|
org.make.api.user.CreateModeratorRequest.firstName
|
|
request.firstName
|
|
298
|
45201
|
9930
-
9946
|
Select
|
org.make.api.user.CreateModeratorRequest.lastName
|
|
request.lastName
|
|
299
|
37681
|
9983
-
9999
|
Select
|
org.make.api.user.CreateModeratorRequest.password
|
|
request.password
|
|
300
|
33514
|
10034
-
10038
|
Select
|
scala.None
|
|
scala.None
|
|
301
|
46299
|
10074
-
10089
|
Select
|
org.make.api.user.CreateModeratorRequest.country
|
|
request.country
|
|
302
|
38706
|
10126
-
10142
|
Select
|
org.make.api.user.CreateModeratorRequest.language
|
|
request.language
|
|
303
|
31580
|
10181
-
10196
|
Select
|
org.make.api.user.CreateModeratorRequest.country
|
|
request.country
|
|
304
|
47946
|
10236
-
10252
|
Select
|
org.make.api.user.CreateModeratorRequest.language
|
|
request.language
|
|
305
|
39799
|
10286
-
10297
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](false)
|
|
306
|
31897
|
10338
-
10349
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](false)
|
|
308
|
38141
|
10428
-
10445
|
Apply
|
scala.collection.IterableOps.map
|
|
x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
308
|
46016
|
10434
-
10444
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
309
|
34316
|
10488
-
10506
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
309
|
38457
|
10484
-
10525
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen)
|
|
309
|
46340
|
10508
-
10524
|
Select
|
org.make.core.user.Role.RoleCitizen
|
|
org.make.core.user.Role.RoleCitizen
|
|
309
|
31620
|
10383
-
10526
|
Apply
|
scala.Option.getOrElse
|
|
request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen))
|
|
310
|
44676
|
10573
-
10599
|
Select
|
org.make.api.user.CreateModeratorRequest.availableQuestions
|
|
request.availableQuestions
|
|
311
|
40869
|
10658
-
10674
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
311
|
31936
|
10653
-
10675
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
|
|
315
|
31407
|
9710
-
10792
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective
|
|
315
|
44221
|
10781
-
10781
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
316
|
32962
|
9710
-
10934
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.password;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$13, x$21, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
|
|
317
|
44948
|
10863
-
10911
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result))
|
|
317
|
40046
|
10863
-
10882
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
317
|
30826
|
10883
-
10883
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))
|
|
317
|
40085
|
10854
-
10912
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))
|
|
317
|
46586
|
10883
-
10883
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]
|
|
317
|
31893
|
10886
-
10911
|
Apply
|
org.make.api.user.ModeratorResponse.apply
|
|
ModeratorResponse.apply(result)
|
|
317
|
50769
|
10883
-
10883
|
Select
|
org.make.api.user.ModeratorResponse.encoder
|
|
user.this.ModeratorResponse.encoder
|
|
317
|
38451
|
10883
-
10883
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])
|
|
317
|
43977
|
10863
-
10911
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])))
|
|
317
|
37430
|
10883
-
10883
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
328
|
36215
|
11068
-
13729
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((moderatorId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("UpdateModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => {
val isAdmin: Boolean = scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty;
val isModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleModerator);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.UpdateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateModeratorRequest]).apply(((request: org.make.api.user.UpdateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
})
}))))))
})))))))
|
|
328
|
36148
|
11068
-
11071
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.put
|
|
329
|
31400
|
11082
-
11124
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
329
|
45022
|
11097
-
11109
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
329
|
37919
|
11095
-
11095
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
329
|
39552
|
11087
-
11123
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
329
|
47136
|
11110
-
11110
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
329
|
32996
|
11087
-
11094
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"admin"
|
|
329
|
44462
|
11086
-
11086
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
329
|
43789
|
11082
-
13721
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((moderatorId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("UpdateModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => {
val isAdmin: Boolean = scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty;
val isModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleModerator);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.UpdateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateModeratorRequest]).apply(((request: org.make.api.user.UpdateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
})
}))))))
}))))))
|
|
329
|
51262
|
11112
-
11123
|
Select
|
org.make.api.user.DefaultAdminModeratorApiComponent.DefaultAdminModeratorApi.moderatorId
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.moderatorId
|
|
330
|
48501
|
11152
-
13711
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminModeratorApiComponent.this.makeOperation("UpdateModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => {
val isAdmin: Boolean = scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty;
val isModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleModerator);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.UpdateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateModeratorRequest]).apply(((request: org.make.api.user.UpdateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
})
}))))))
}))))
|
|
330
|
46096
|
11152
-
11152
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$3
|
|
330
|
51015
|
11165
-
11165
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
330
|
33041
|
11152
-
11152
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$2
|
|
330
|
37960
|
11152
-
11184
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation("UpdateModerator", DefaultAdminModeratorApiComponent.this.makeOperation$default$2, DefaultAdminModeratorApiComponent.this.makeOperation$default$3)
|
|
330
|
36351
|
11166
-
11183
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"UpdateModerator"
|
|
331
|
46581
|
11217
-
11227
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminModeratorApiComponent.this.makeOAuth2
|
|
331
|
35162
|
11217
-
13699
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => {
val isAdmin: Boolean = scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty;
val isModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleModerator);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.UpdateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateModeratorRequest]).apply(((request: org.make.api.user.UpdateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
})
}))))))
}))
|
|
331
|
39591
|
11217
-
11217
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
332
|
31144
|
11296
-
11305
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
332
|
44502
|
11307
-
11321
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
332
|
32185
|
11292
-
11368
|
Select
|
scala.collection.IterableOnceOps.nonEmpty
|
|
scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty
|
|
332
|
36097
|
11333
-
11358
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
userAuth.user.roles.toSet[org.make.core.user.Role]
|
|
333
|
45594
|
11430
-
11443
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
333
|
37716
|
11401
-
11444
|
Apply
|
scala.collection.SeqOps.contains
|
|
userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleModerator)
|
|
334
|
50519
|
11469
-
11532
|
Apply
|
scala.Boolean.||
|
|
isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin)
|
|
334
|
42991
|
11459
-
13685
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.UpdateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateModeratorRequest]).apply(((request: org.make.api.user.UpdateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
})
}))))))
|
|
334
|
42904
|
11459
-
11533
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultAdminModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))
|
|
335
|
38748
|
11552
-
11565
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminModeratorApi.this.decodeRequest
|
|
335
|
50595
|
11552
-
13669
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.UpdateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateModeratorRequest]).apply(((request: org.make.api.user.UpdateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
})
})))))
|
|
336
|
31182
|
11595
-
11595
|
Select
|
org.make.api.user.UpdateModeratorRequest.decoder
|
|
user.this.UpdateModeratorRequest.decoder
|
|
336
|
37788
|
11586
-
13651
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateModeratorRequest,)](DefaultAdminModeratorApi.this.entity[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.UpdateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateModeratorRequest]).apply(((request: org.make.api.user.UpdateModeratorRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
})
}))))
|
|
336
|
46054
|
11586
-
11620
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminModeratorApi.this.entity[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApi.this.as[org.make.api.user.UpdateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder))))
|
|
336
|
44265
|
11595
-
11595
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)
|
|
336
|
32225
|
11593
-
11619
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminModeratorApi.this.as[org.make.api.user.UpdateModeratorRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)))
|
|
336
|
37751
|
11592
-
11592
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.UpdateModeratorRequest]
|
|
336
|
36136
|
11595
-
11595
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateModeratorRequest](DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder))
|
|
337
|
42666
|
11678
-
11732
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound
|
|
337
|
41957
|
11678
-
13631
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
})
}))
|
|
337
|
39549
|
11711
-
11711
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
337
|
50553
|
11678
-
11710
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)
|
|
339
|
31654
|
11825
-
11835
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
339
|
36176
|
11848
-
11858
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
339
|
31976
|
11801
-
11859
|
Apply
|
scala.Option.getOrElse
|
|
request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles)
|
|
339
|
43750
|
11819
-
11836
|
Apply
|
scala.collection.IterableOps.map
|
|
x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
340
|
39301
|
11882
-
11995
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))
|
|
341
|
42699
|
11918
-
11971
|
Apply
|
scala.Boolean.||
|
|
roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles))
|
|
341
|
50310
|
11952
-
11971
|
Apply
|
java.lang.Object.==
|
|
roles.==(user.roles)
|
|
341
|
38209
|
11961
-
11971
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
341
|
46092
|
11927
-
11937
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
342
|
50101
|
11882
-
13609
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
})
|
|
343
|
31688
|
12052
-
12101
|
Apply
|
java.lang.String.toLowerCase
|
|
request.email.getOrElse[String](user.email).toLowerCase()
|
|
344
|
36460
|
12126
-
13585
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
}))
|
|
344
|
50016
|
12170
-
12170
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
344
|
44495
|
12126
-
12169
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)
|
|
344
|
35929
|
12126
-
12181
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective
|
|
345
|
44253
|
12223
-
12729
|
Apply
|
scala.Option.foreach
|
|
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))))
|
|
346
|
31444
|
12286
-
12701
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))
|
|
347
|
39337
|
12337
-
12671
|
Apply
|
org.make.core.Validation.validateField
|
|
org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String))
|
|
348
|
45848
|
12403
-
12410
|
Literal
|
<nosymbol>
|
|
"email"
|
|
349
|
37707
|
12444
-
12464
|
Literal
|
<nosymbol>
|
|
"already_registered"
|
|
350
|
42460
|
12510
-
12555
|
Apply
|
java.lang.Object.==
|
|
userToCheck.userId.value.==(user.userId.value)
|
|
350
|
51048
|
12538
-
12555
|
Select
|
org.make.core.user.UserId.value
|
|
user.userId.value
|
|
357
|
51396
|
12757
-
13390
|
Apply
|
org.make.api.user.UserService.update
|
|
DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)
|
|
358
|
42448
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
358
|
45926
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
358
|
44290
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
358
|
48955
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$18
|
|
user.copy$default$18
|
|
358
|
50839
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
358
|
31436
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
358
|
44086
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$26
|
|
user.copy$default$26
|
|
358
|
49194
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
358
|
42411
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
358
|
37536
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
358
|
36980
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
358
|
35918
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$17
|
|
user.copy$default$17
|
|
358
|
37500
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$9
|
|
user.copy$default$9
|
|
358
|
37996
|
12836
-
13314
|
Apply
|
org.make.core.user.User.copy
|
|
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
|
|
358
|
36426
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
358
|
34847
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$23
|
|
user.copy$default$23
|
|
358
|
45066
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
358
|
34811
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
358
|
42162
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
358
|
44046
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
358
|
48998
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
358
|
50604
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
358
|
30965
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
358
|
31482
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
360
|
49767
|
12948
-
12988
|
Apply
|
scala.Option.orElse
|
|
request.firstName.orElse[String](user.firstName)
|
|
360
|
36671
|
12973
-
12987
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
361
|
45884
|
13057
-
13070
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
361
|
37744
|
13033
-
13071
|
Apply
|
scala.Option.orElse
|
|
request.lastName.orElse[String](user.lastName)
|
|
362
|
50800
|
13141
-
13153
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
362
|
42656
|
13115
-
13154
|
Apply
|
scala.Option.getOrElse
|
|
request.country.getOrElse[org.make.core.reference.Country](user.country)
|
|
364
|
35391
|
13256
-
13282
|
Select
|
org.make.api.user.UpdateModeratorRequest.availableQuestions
|
|
request.availableQuestions
|
|
368
|
34612
|
13420
-
13420
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
368
|
43515
|
12757
-
13431
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective
|
|
368
|
44041
|
12757
-
13559
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$4: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$10: Boolean = user.copy$default$7;
<artifact> val x$11: Boolean = user.copy$default$8;
<artifact> val x$12: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$17: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$18: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$7, x$1, x$2, x$3, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$5, x$4, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$6, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))))
|
|
369
|
38040
|
13502
-
13502
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]
|
|
369
|
49030
|
13502
-
13502
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
369
|
44538
|
13505
-
13528
|
Apply
|
org.make.api.user.ModeratorResponse.apply
|
|
ModeratorResponse.apply(user)
|
|
369
|
50552
|
13502
-
13502
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])
|
|
369
|
41924
|
13502
-
13502
|
Select
|
org.make.api.user.ModeratorResponse.encoder
|
|
user.this.ModeratorResponse.encoder
|
|
369
|
35412
|
13487
-
13528
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse])))
|
|
369
|
37012
|
13487
-
13528
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user))
|
|
369
|
31479
|
13487
-
13501
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
369
|
31219
|
13478
-
13529
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.ModeratorResponse](ModeratorResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))))
|
|
369
|
43549
|
13502
-
13502
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.ModeratorResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminModeratorApiComponent.this.marshaller[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder, DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]))
|
|
398
|
48989
|
14441
-
14471
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(CreateModeratorRequest.this.email).toEmail).throwIfInvalid()
|
|
400
|
35706
|
14475
-
14857
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.mandatoryField("firstName", CreateModeratorRequest.this.firstName, org.make.core.Validation.mandatoryField$default$3), org.make.core.Validation.validateOptionalUserInput("firstName", CreateModeratorRequest.this.firstName, scala.None), org.make.core.Validation.validateOptionalUserInput("lastName", CreateModeratorRequest.this.lastName, scala.None), org.make.core.Validation.mandatoryField("country", CreateModeratorRequest.this.country, org.make.core.Validation.mandatoryField$default$3), org.make.core.Validation.validateField("password", "invalid_password", CreateModeratorRequest.this.password.forall(((x$5: String) => x$5.length().>=(8))), "Password must be at least 8 characters"))
|
|
401
|
41718
|
14515
-
14526
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
401
|
50633
|
14500
-
14500
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
401
|
37826
|
14528
-
14537
|
Select
|
org.make.api.user.CreateModeratorRequest.firstName
|
|
CreateModeratorRequest.this.firstName
|
|
401
|
42727
|
14500
-
14538
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("firstName", CreateModeratorRequest.this.firstName, org.make.core.Validation.mandatoryField$default$3)
|
|
402
|
43830
|
14594
-
14598
|
Select
|
scala.None
|
|
scala.None
|
|
402
|
36251
|
14544
-
14599
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("firstName", CreateModeratorRequest.this.firstName, scala.None)
|
|
402
|
48267
|
14583
-
14592
|
Select
|
org.make.api.user.CreateModeratorRequest.firstName
|
|
CreateModeratorRequest.this.firstName
|
|
402
|
34602
|
14570
-
14581
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
403
|
50055
|
14631
-
14641
|
Literal
|
<nosymbol>
|
|
"lastName"
|
|
403
|
41155
|
14643
-
14651
|
Select
|
org.make.api.user.CreateModeratorRequest.lastName
|
|
CreateModeratorRequest.this.lastName
|
|
403
|
33609
|
14653
-
14657
|
Select
|
scala.None
|
|
scala.None
|
|
403
|
50383
|
14605
-
14658
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("lastName", CreateModeratorRequest.this.lastName, scala.None)
|
|
404
|
43542
|
14679
-
14688
|
Literal
|
<nosymbol>
|
|
"country"
|
|
404
|
47690
|
14664
-
14664
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
404
|
35669
|
14690
-
14697
|
Select
|
org.make.api.user.CreateModeratorRequest.country
|
|
CreateModeratorRequest.this.country
|
|
404
|
43872
|
14664
-
14698
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("country", CreateModeratorRequest.this.country, org.make.core.Validation.mandatoryField$default$3)
|
|
405
|
43301
|
14704
-
14853
|
Apply
|
org.make.core.Validation.validateField
|
|
org.make.core.Validation.validateField("password", "invalid_password", CreateModeratorRequest.this.password.forall(((x$5: String) => x$5.length().>=(8))), "Password must be at least 8 characters")
|
|
406
|
36003
|
14725
-
14735
|
Literal
|
<nosymbol>
|
|
"password"
|
|
407
|
50090
|
14743
-
14761
|
Literal
|
<nosymbol>
|
|
"invalid_password"
|
|
408
|
34077
|
14769
-
14799
|
Apply
|
scala.Option.forall
|
|
CreateModeratorRequest.this.password.forall(((x$5: String) => x$5.length().>=(8)))
|
|
408
|
42207
|
14785
-
14798
|
Apply
|
scala.Int.>=
|
|
x$5.length().>=(8)
|
|
409
|
50418
|
14807
-
14847
|
Literal
|
<nosymbol>
|
|
"Password must be at least 8 characters"
|
|
415
|
48491
|
14951
-
14988
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.CreateModeratorRequest]({
val inst$macro$36: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.CreateModeratorRequest] = {
final class anon$lazy$macro$35 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$35 = {
anon$lazy$macro$35.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.CreateModeratorRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.CreateModeratorRequest, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.CreateModeratorRequest, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.CreateModeratorRequest, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil](::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("roles")) :: (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("password"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("password").asInstanceOf[Symbol @@ String("password")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("availableQuestions"), shapeless.HNil.type](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")], HNil))))))))), Generic.instance[org.make.api.user.CreateModeratorRequest, String :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil](((x0$3: org.make.api.user.CreateModeratorRequest) => x0$3 match {
case (email: String, firstName: Option[String], lastName: Option[String], roles: Option[Seq[String]], password: Option[String], country: org.make.core.reference.Country, language: org.make.core.reference.Language, availableQuestions: Seq[org.make.core.question.QuestionId]): org.make.api.user.CreateModeratorRequest((email$macro$26 @ _), (firstName$macro$27 @ _), (lastName$macro$28 @ _), (roles$macro$29 @ _), (password$macro$30 @ _), (country$macro$31 @ _), (language$macro$32 @ _), (availableQuestions$macro$33 @ _)) => ::.apply[String, Option[String] :: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](email$macro$26, ::.apply[Option[String], Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](firstName$macro$27, ::.apply[Option[String], Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](lastName$macro$28, ::.apply[Option[Seq[String]], Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](roles$macro$29, ::.apply[Option[String], org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](password$macro$30, ::.apply[org.make.core.reference.Country, org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](country$macro$31, ::.apply[org.make.core.reference.Language, Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](language$macro$32, ::.apply[Seq[org.make.core.question.QuestionId], shapeless.HNil.type](availableQuestions$macro$33, HNil)))))))).asInstanceOf[String :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil]
}), ((x0$4: String :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil) => x0$4 match {
case (head: String, tail: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): String :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((email$macro$18 @ _), (head: Option[String], tail: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((firstName$macro$19 @ _), (head: Option[String], tail: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((lastName$macro$20 @ _), (head: Option[Seq[String]], tail: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((roles$macro$21 @ _), (head: Option[String], tail: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((password$macro$22 @ _), (head: org.make.core.reference.Country, tail: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((country$macro$23 @ _), (head: org.make.core.reference.Language, tail: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((language$macro$24 @ _), (head: Seq[org.make.core.question.QuestionId], tail: shapeless.HNil): Seq[org.make.core.question.QuestionId] :: shapeless.HNil((availableQuestions$macro$25 @ _), HNil)))))))) => user.this.CreateModeratorRequest.apply(email$macro$18, firstName$macro$19, lastName$macro$20, roles$macro$21, password$macro$22, country$macro$23, language$macro$24, availableQuestions$macro$25)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[Seq[String]] :: Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Option[Seq[String]], (Symbol @@ String("password")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("password"), Option[String], (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("language")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, org.make.core.reference.Language :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableQuestions")]](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableQuestions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("language")]](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("language")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("country")]](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("country")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("password")]](scala.Symbol.apply("password").asInstanceOf[Symbol @@ String("password")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("password")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("roles")]](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("roles")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("lastName")]](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("lastName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("firstName")]](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("firstName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("email")]](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("email")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$35.this.inst$macro$34)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.CreateModeratorRequest]];
<stable> <accessor> lazy val inst$macro$34: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForemail: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForroles: io.circe.Decoder[Option[Seq[String]]] = circe.this.Decoder.decodeOption[Seq[String]](circe.this.Decoder.decodeSeq[String](circe.this.Decoder.decodeString));
private[this] val circeGenericDecoderForpassword: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString);
private[this] val circeGenericDecoderForcountry: io.circe.Decoder[org.make.core.reference.Country] = reference.this.Country.countryDecoder;
private[this] val circeGenericDecoderForlanguage: io.circe.Decoder[org.make.core.reference.Language] = reference.this.Language.LanguageDecoder;
private[this] val circeGenericDecoderForavailableQuestions: io.circe.Decoder[Seq[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeSeq[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecode(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpassword.tryDecode(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("lastName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpassword.tryDecode(c.downField("lastName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("roles"), Option[Seq[String]], shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecode(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("password"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpassword.tryDecode(c.downField("password")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableQuestions.tryDecode(c.downField("availableQuestions")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecodeAccumulating(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpassword.tryDecodeAccumulating(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("lastName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpassword.tryDecodeAccumulating(c.downField("lastName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("roles"), Option[Seq[String]], shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecodeAccumulating(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("password"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpassword.tryDecodeAccumulating(c.downField("password")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableQuestions.tryDecodeAccumulating(c.downField("availableQuestions")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("password"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$35().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.CreateModeratorRequest]](inst$macro$36)
})
|
|
431
|
44328
|
15588
-
15589
|
Literal
|
<nosymbol>
|
|
3
|
|
434
|
43339
|
15630
-
15630
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
434
|
36798
|
15612
-
15613
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$6)
|
|
434
|
49846
|
15631
-
15638
|
Literal
|
<nosymbol>
|
|
"email"
|
|
434
|
42247
|
15614
-
15614
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$1.toSanitizedInput$default$2
|
|
434
|
48252
|
15602
-
15645
|
Apply
|
scala.Option.map
|
|
UpdateModeratorRequest.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$6: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$6);
<artifact> val x$1: String("email") = "email";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("email", x$2)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
434
|
50874
|
15630
-
15630
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
434
|
35457
|
15612
-
15644
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$6);
<artifact> val x$1: String("email") = "email";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("email", x$2)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
434
|
34111
|
15612
-
15639
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$1.toSanitizedInput("email", x$2)
|
|
435
|
49877
|
15663
-
15663
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
435
|
41741
|
15661
-
15675
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$7).toEmail)(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
435
|
40643
|
15661
-
15670
|
Select
|
org.make.core.Validation.StringWithParsers.toEmail
|
|
org.make.core.Validation.StringWithParsers(x$7).toEmail
|
|
435
|
33866
|
15651
-
15676
|
Apply
|
scala.Option.map
|
|
UpdateModeratorRequest.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$7: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$7).toEmail)(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
435
|
35953
|
15663
-
15663
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
436
|
42484
|
15709
-
15720
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
436
|
41497
|
15682
-
15727
|
Apply
|
scala.Option.map
|
|
UpdateModeratorRequest.this.firstName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$8: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.NonEmptyString]({
<artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$8);
<artifact> val x$3: String("firstName") = "firstName";
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.toNonEmpty$default$2;
qual$2.toNonEmpty("firstName", x$4)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
436
|
35492
|
15698
-
15698
|
Select
|
org.make.core.Validation.StringWithParsers.toNonEmpty$default$2
|
|
qual$2.toNonEmpty$default$2
|
|
436
|
49302
|
15696
-
15726
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.NonEmptyString]({
<artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$8);
<artifact> val x$3: String("firstName") = "firstName";
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.toNonEmpty$default$2;
qual$2.toNonEmpty("firstName", x$4)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
436
|
50378
|
15696
-
15697
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$8)
|
|
436
|
40401
|
15708
-
15708
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
436
|
48287
|
15696
-
15721
|
Apply
|
org.make.core.Validation.StringWithParsers.toNonEmpty
|
|
qual$2.toNonEmpty("firstName", x$4)
|
|
436
|
35998
|
15708
-
15708
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
437
|
51432
|
15766
-
15777
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
437
|
49066
|
15733
-
15784
|
Apply
|
scala.Option.map
|
|
UpdateModeratorRequest.this.firstName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$9: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$9);
<artifact> val x$5: String("firstName") = "firstName";
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2;
qual$3.toSanitizedInput("firstName", x$6)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
437
|
48046
|
15765
-
15765
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
437
|
37046
|
15747
-
15783
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$9);
<artifact> val x$5: String("firstName") = "firstName";
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2;
qual$3.toSanitizedInput("firstName", x$6)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
437
|
35697
|
15747
-
15778
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$3.toSanitizedInput("firstName", x$6)
|
|
437
|
42521
|
15749
-
15749
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$3.toSanitizedInput$default$2
|
|
437
|
33902
|
15747
-
15748
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$9)
|
|
437
|
40436
|
15765
-
15765
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
438
|
33656
|
15822
-
15832
|
Literal
|
<nosymbol>
|
|
"lastName"
|
|
438
|
42559
|
15803
-
15833
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$4.toSanitizedInput("lastName", x$8)
|
|
438
|
35779
|
15790
-
15839
|
Apply
|
scala.Option.map
|
|
UpdateModeratorRequest.this.lastName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$10: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$10);
<artifact> val x$7: String("lastName") = "lastName";
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.toSanitizedInput$default$2;
qual$4.toSanitizedInput("lastName", x$8)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
438
|
48775
|
15821
-
15821
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
438
|
42237
|
15803
-
15804
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$10)
|
|
438
|
35448
|
15821
-
15821
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
438
|
40965
|
15803
-
15838
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$10);
<artifact> val x$7: String("lastName") = "lastName";
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.toSanitizedInput$default$2;
qual$4.toSanitizedInput("lastName", x$8)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
438
|
46438
|
15805
-
15805
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$4.toSanitizedInput$default$2
|
|
439
|
48537
|
15857
-
15907
|
Apply
|
org.make.core.Validation.StringWithParsers.withMaxLength
|
|
qual$5.withMaxLength(x$9, "country", x$11, x$12)
|
|
439
|
41993
|
15857
-
15864
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$11.value)
|
|
439
|
49870
|
15857
-
15864
|
Select
|
org.make.core.reference.Country.value
|
|
x$11.value
|
|
439
|
49619
|
15857
-
15912
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength]({
<artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$11.value);
<artifact> val x$9: Int = UpdateModeratorRequest.this.maxCountryLength;
<artifact> val x$10: String("country") = "country";
<artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMaxLength$default$3;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMaxLength$default$4;
qual$5.withMaxLength(x$9, "country", x$11, x$12)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
439
|
35485
|
15865
-
15865
|
Select
|
org.make.core.Validation.StringWithParsers.withMaxLength$default$4
|
|
qual$5.withMaxLength$default$4
|
|
439
|
47501
|
15897
-
15906
|
Literal
|
<nosymbol>
|
|
"country"
|
|
439
|
40389
|
15878
-
15878
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
439
|
32078
|
15878
-
15878
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
439
|
34395
|
15879
-
15895
|
Select
|
org.make.api.user.UpdateModeratorRequest.maxCountryLength
|
|
UpdateModeratorRequest.this.maxCountryLength
|
|
439
|
42033
|
15845
-
15913
|
Apply
|
scala.Option.map
|
|
UpdateModeratorRequest.this.country.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$11: org.make.core.reference.Country) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength]({
<artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$11.value);
<artifact> val x$9: Int = UpdateModeratorRequest.this.maxCountryLength;
<artifact> val x$10: String("country") = "country";
<artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMaxLength$default$3;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMaxLength$default$4;
qual$5.withMaxLength(x$9, "country", x$11, x$12)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
439
|
42320
|
15865
-
15865
|
Select
|
org.make.core.Validation.StringWithParsers.withMaxLength$default$3
|
|
qual$5.withMaxLength$default$3
|
|
440
|
43118
|
15593
-
15953
|
Apply
|
scala.collection.IterableOnceOps.foreach
|
|
scala.`package`.Seq.apply[Option[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]]](UpdateModeratorRequest.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$6: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$6);
<artifact> val x$1: String("email") = "email";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("email", x$2)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), UpdateModeratorRequest.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$7: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$7).toEmail)(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), UpdateModeratorRequest.this.firstName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$8: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.NonEmptyString]({
<artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$8);
<artifact> val x$3: String("firstName") = "firstName";
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.toNonEmpty$default$2;
qual$2.toNonEmpty("firstName", x$4)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), UpdateModeratorRequest.this.firstName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$9: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$9);
<artifact> val x$5: String("firstName") = "firstName";
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2;
qual$3.toSanitizedInput("firstName", x$6)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), UpdateModeratorRequest.this.lastName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$10: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$10);
<artifact> val x$7: String("lastName") = "lastName";
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.toSanitizedInput$default$2;
qual$4.toSanitizedInput("lastName", x$8)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), UpdateModeratorRequest.this.country.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$11: org.make.core.reference.Country) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength]({
<artifact> val qual$5: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$11.value);
<artifact> val x$9: Int = UpdateModeratorRequest.this.maxCountryLength;
<artifact> val x$10: String("country") = "country";
<artifact> val x$11: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMaxLength$default$3;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$5.withMaxLength$default$4;
qual$5.withMaxLength(x$9, "country", x$11, x$12)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))).flatten[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](scala.Predef.$conforms[Option[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]]]).foreach[Unit](((x$12: cats.data.ValidatedNec[org.make.core.ValidationError,Unit]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](x$12).throwIfInvalid()))
|
|
440
|
46920
|
15934
-
15952
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](x$12).throwIfInvalid()
|
|
440
|
33608
|
15918
-
15918
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[Option[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]]]
|
|
444
|
35238
|
16047
-
16084
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.UpdateModeratorRequest]({
val inst$macro$28: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.UpdateModeratorRequest] = {
final class anon$lazy$macro$27 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$27 = {
anon$lazy$macro$27.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.UpdateModeratorRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.UpdateModeratorRequest, shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.UpdateModeratorRequest, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.UpdateModeratorRequest, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil](::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("availableQuestions"), shapeless.HNil.type](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")], HNil))))))), Generic.instance[org.make.api.user.UpdateModeratorRequest, Option[String] :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil](((x0$3: org.make.api.user.UpdateModeratorRequest) => x0$3 match {
case (email: Option[String], firstName: Option[String], lastName: Option[String], roles: Option[Seq[String]], country: Option[org.make.core.reference.Country], availableQuestions: Seq[org.make.core.question.QuestionId]): org.make.api.user.UpdateModeratorRequest((email$macro$20 @ _), (firstName$macro$21 @ _), (lastName$macro$22 @ _), (roles$macro$23 @ _), (country$macro$24 @ _), (availableQuestions$macro$25 @ _)) => ::.apply[Option[String], Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](email$macro$20, ::.apply[Option[String], Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](firstName$macro$21, ::.apply[Option[String], Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](lastName$macro$22, ::.apply[Option[Seq[String]], Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](roles$macro$23, ::.apply[Option[org.make.core.reference.Country], Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](country$macro$24, ::.apply[Seq[org.make.core.question.QuestionId], shapeless.HNil.type](availableQuestions$macro$25, HNil)))))).asInstanceOf[Option[String] :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil]
}), ((x0$4: Option[String] :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil) => x0$4 match {
case (head: Option[String], tail: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((email$macro$14 @ _), (head: Option[String], tail: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((firstName$macro$15 @ _), (head: Option[String], tail: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((lastName$macro$16 @ _), (head: Option[Seq[String]], tail: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((roles$macro$17 @ _), (head: Option[org.make.core.reference.Country], tail: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((country$macro$18 @ _), (head: Seq[org.make.core.question.QuestionId], tail: shapeless.HNil): Seq[org.make.core.question.QuestionId] :: shapeless.HNil((availableQuestions$macro$19 @ _), HNil)))))) => user.this.UpdateModeratorRequest.apply(email$macro$14, firstName$macro$15, lastName$macro$16, roles$macro$17, country$macro$18, availableQuestions$macro$19)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), Option[String], (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Option[Seq[String]], (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[org.make.core.reference.Country] :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), Option[org.make.core.reference.Country], (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableQuestions")]](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableQuestions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("country")]](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("country")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("roles")]](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("roles")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("lastName")]](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("lastName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("firstName")]](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("firstName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("email")]](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("email")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$27.this.inst$macro$26)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.UpdateModeratorRequest]];
<stable> <accessor> lazy val inst$macro$26: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForlastName: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString);
private[this] val circeGenericDecoderForroles: io.circe.Decoder[Option[Seq[String]]] = circe.this.Decoder.decodeOption[Seq[String]](circe.this.Decoder.decodeSeq[String](circe.this.Decoder.decodeString));
private[this] val circeGenericDecoderForcountry: io.circe.Decoder[Option[org.make.core.reference.Country]] = circe.this.Decoder.decodeOption[org.make.core.reference.Country](reference.this.Country.countryDecoder);
private[this] val circeGenericDecoderForavailableQuestions: io.circe.Decoder[Seq[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeSeq[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("email"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecode(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecode(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("lastName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecode(c.downField("lastName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("roles"), Option[Seq[String]], shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecode(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("country"), Option[org.make.core.reference.Country], shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableQuestions.tryDecode(c.downField("availableQuestions")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("email"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecodeAccumulating(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecodeAccumulating(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("lastName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecodeAccumulating(c.downField("lastName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("roles"), Option[Seq[String]], shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecodeAccumulating(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("country"), Option[org.make.core.reference.Country], shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableQuestions.tryDecodeAccumulating(c.downField("availableQuestions")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$27().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.UpdateModeratorRequest]](inst$macro$28)
})
|
|
449
|
48574
|
16252
-
16256
|
Select
|
scala.None
|
|
scala.None
|
|
467
|
41825
|
17002
-
17190
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.validateUserInput("email", ModeratorResponse.this.email, scala.None), org.make.core.Validation.validateOptionalUserInput("firstName", ModeratorResponse.this.firstName, scala.None), org.make.core.Validation.validateOptionalUserInput("lastName", ModeratorResponse.this.lastName, scala.None))
|
|
468
|
49655
|
17061
-
17065
|
Select
|
scala.None
|
|
scala.None
|
|
468
|
41786
|
17027
-
17066
|
Apply
|
org.make.core.Validation.validateUserInput
|
|
org.make.core.Validation.validateUserInput("email", ModeratorResponse.this.email, scala.None)
|
|
468
|
32532
|
17054
-
17059
|
Select
|
org.make.api.user.ModeratorResponse.email
|
|
ModeratorResponse.this.email
|
|
468
|
40427
|
17045
-
17052
|
Literal
|
<nosymbol>
|
|
"email"
|
|
469
|
33641
|
17098
-
17109
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
469
|
35273
|
17072
-
17127
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("firstName", ModeratorResponse.this.firstName, scala.None)
|
|
469
|
43577
|
17122
-
17126
|
Select
|
scala.None
|
|
scala.None
|
|
469
|
46956
|
17111
-
17120
|
Select
|
org.make.api.user.ModeratorResponse.firstName
|
|
ModeratorResponse.this.firstName
|
|
470
|
47792
|
17159
-
17169
|
Literal
|
<nosymbol>
|
|
"lastName"
|
|
470
|
40178
|
17171
-
17179
|
Select
|
org.make.api.user.ModeratorResponse.lastName
|
|
ModeratorResponse.this.lastName
|
|
470
|
50124
|
17133
-
17186
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("lastName", ModeratorResponse.this.lastName, scala.None)
|
|
470
|
32031
|
17181
-
17185
|
Select
|
scala.None
|
|
scala.None
|
|
475
|
33679
|
17298
-
17330
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.user.ModeratorResponse]({
val inst$macro$32: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.ModeratorResponse] = {
final class anon$lazy$macro$31 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$31 = {
anon$lazy$macro$31.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.ModeratorResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.user.ModeratorResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.ModeratorResponse, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.ModeratorResponse, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("availableQuestions"), shapeless.HNil.type](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")], HNil)))))))), Generic.instance[org.make.api.user.ModeratorResponse, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil](((x0$3: org.make.api.user.ModeratorResponse) => x0$3 match {
case (id: org.make.core.user.UserId, email: String, firstName: Option[String], lastName: Option[String], roles: Seq[org.make.core.user.Role], country: org.make.core.reference.Country, availableQuestions: Seq[org.make.core.question.QuestionId]): org.make.api.user.ModeratorResponse((id$macro$23 @ _), (email$macro$24 @ _), (firstName$macro$25 @ _), (lastName$macro$26 @ _), (roles$macro$27 @ _), (country$macro$28 @ _), (availableQuestions$macro$29 @ _)) => ::.apply[org.make.core.user.UserId, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](id$macro$23, ::.apply[String, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](email$macro$24, ::.apply[Option[String], Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](firstName$macro$25, ::.apply[Option[String], Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](lastName$macro$26, ::.apply[Seq[org.make.core.user.Role], org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](roles$macro$27, ::.apply[org.make.core.reference.Country, Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](country$macro$28, ::.apply[Seq[org.make.core.question.QuestionId], shapeless.HNil.type](availableQuestions$macro$29, HNil))))))).asInstanceOf[org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil]
}), ((x0$4: org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.user.UserId, tail: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((id$macro$16 @ _), (head: String, tail: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((email$macro$17 @ _), (head: Option[String], tail: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((firstName$macro$18 @ _), (head: Option[String], tail: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((lastName$macro$19 @ _), (head: Seq[org.make.core.user.Role], tail: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((roles$macro$20 @ _), (head: org.make.core.reference.Country, tail: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((country$macro$21 @ _), (head: Seq[org.make.core.question.QuestionId], tail: shapeless.HNil): Seq[org.make.core.question.QuestionId] :: shapeless.HNil((availableQuestions$macro$22 @ _), HNil))))))) => user.this.ModeratorResponse.apply(id$macro$16, email$macro$17, firstName$macro$18, lastName$macro$19, roles$macro$20, country$macro$21, availableQuestions$macro$22)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.user.UserId, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Seq[org.make.core.user.Role], (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableQuestions")]](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableQuestions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("country")]](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("country")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("roles")]](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("roles")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("lastName")]](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("lastName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("firstName")]](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("firstName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("email")]](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("email")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$31.this.inst$macro$30)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.ModeratorResponse]];
<stable> <accessor> lazy val inst$macro$30: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.user.UserId] = ModeratorResponse.this.stringValueEncoder[org.make.core.user.UserId];
private[this] val circeGenericEncoderForemail: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
private[this] val circeGenericEncoderForlastName: io.circe.Encoder[Option[String]] = circe.this.Encoder.encodeOption[String](circe.this.Encoder.encodeString);
private[this] val circeGenericEncoderForroles: io.circe.Encoder.AsArray[Seq[org.make.core.user.Role]] = circe.this.Encoder.encodeSeq[org.make.core.user.Role](user.this.Role.encoder(circe.this.Encoder.encodeString));
private[this] val circeGenericEncoderForcountry: io.circe.Encoder[org.make.core.reference.Country] = ModeratorResponse.this.stringValueEncoder[org.make.core.reference.Country];
private[this] val circeGenericEncoderForavailableQuestions: io.circe.Encoder.AsArray[Seq[org.make.core.question.QuestionId]] = circe.this.Encoder.encodeSeq[org.make.core.question.QuestionId](ModeratorResponse.this.stringValueEncoder[org.make.core.question.QuestionId]);
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId], tail: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("email"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForemail @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForfirstName @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlastName @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]], tail: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForroles @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country], tail: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcountry @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForavailableQuestions @ _), shapeless.HNil))))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("id", $anon.this.circeGenericEncoderForid.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("email", $anon.this.circeGenericEncoderForemail.apply(circeGenericHListBindingForemail)), scala.Tuple2.apply[String, io.circe.Json]("firstName", $anon.this.circeGenericEncoderForlastName.apply(circeGenericHListBindingForfirstName)), scala.Tuple2.apply[String, io.circe.Json]("lastName", $anon.this.circeGenericEncoderForlastName.apply(circeGenericHListBindingForlastName)), scala.Tuple2.apply[String, io.circe.Json]("roles", $anon.this.circeGenericEncoderForroles.apply(circeGenericHListBindingForroles)), scala.Tuple2.apply[String, io.circe.Json]("country", $anon.this.circeGenericEncoderForcountry.apply(circeGenericHListBindingForcountry)), scala.Tuple2.apply[String, io.circe.Json]("availableQuestions", $anon.this.circeGenericEncoderForavailableQuestions.apply(circeGenericHListBindingForavailableQuestions))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$31().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.ModeratorResponse]](inst$macro$32)
})
|
|
476
|
46723
|
17384
-
17416
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.ModeratorResponse]({
val inst$macro$64: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.ModeratorResponse] = {
final class anon$lazy$macro$63 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$63 = {
anon$lazy$macro$63.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$33: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.ModeratorResponse] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.ModeratorResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.ModeratorResponse, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.ModeratorResponse, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("availableQuestions")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("availableQuestions"), shapeless.HNil.type](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")], HNil)))))))), Generic.instance[org.make.api.user.ModeratorResponse, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil](((x0$7: org.make.api.user.ModeratorResponse) => x0$7 match {
case (id: org.make.core.user.UserId, email: String, firstName: Option[String], lastName: Option[String], roles: Seq[org.make.core.user.Role], country: org.make.core.reference.Country, availableQuestions: Seq[org.make.core.question.QuestionId]): org.make.api.user.ModeratorResponse((id$macro$55 @ _), (email$macro$56 @ _), (firstName$macro$57 @ _), (lastName$macro$58 @ _), (roles$macro$59 @ _), (country$macro$60 @ _), (availableQuestions$macro$61 @ _)) => ::.apply[org.make.core.user.UserId, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](id$macro$55, ::.apply[String, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](email$macro$56, ::.apply[Option[String], Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](firstName$macro$57, ::.apply[Option[String], Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](lastName$macro$58, ::.apply[Seq[org.make.core.user.Role], org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](roles$macro$59, ::.apply[org.make.core.reference.Country, Seq[org.make.core.question.QuestionId] :: shapeless.HNil.type](country$macro$60, ::.apply[Seq[org.make.core.question.QuestionId], shapeless.HNil.type](availableQuestions$macro$61, HNil))))))).asInstanceOf[org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil]
}), ((x0$8: org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil) => x0$8 match {
case (head: org.make.core.user.UserId, tail: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((id$macro$48 @ _), (head: String, tail: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((email$macro$49 @ _), (head: Option[String], tail: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((firstName$macro$50 @ _), (head: Option[String], tail: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((lastName$macro$51 @ _), (head: Seq[org.make.core.user.Role], tail: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((roles$macro$52 @ _), (head: org.make.core.reference.Country, tail: Seq[org.make.core.question.QuestionId] :: shapeless.HNil): org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil((country$macro$53 @ _), (head: Seq[org.make.core.question.QuestionId], tail: shapeless.HNil): Seq[org.make.core.question.QuestionId] :: shapeless.HNil((availableQuestions$macro$54 @ _), HNil))))))) => user.this.ModeratorResponse.apply(id$macro$48, email$macro$49, firstName$macro$50, lastName$macro$51, roles$macro$52, country$macro$53, availableQuestions$macro$54)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.user.UserId, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Seq[org.make.core.user.Role], (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: shapeless.HNil, org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("availableQuestions")) :: shapeless.HNil, Seq[org.make.core.question.QuestionId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableQuestions")]](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableQuestions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("country")]](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("country")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("roles")]](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("roles")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("lastName")]](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("lastName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("firstName")]](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("firstName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("email")]](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("email")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$63.this.inst$macro$62)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.ModeratorResponse]];
<stable> <accessor> lazy val inst$macro$62: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForid: io.circe.Decoder[org.make.core.user.UserId] = user.this.UserId.userIdDecoder;
private[this] val circeGenericDecoderForemail: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForlastName: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString);
private[this] val circeGenericDecoderForroles: io.circe.Decoder[Seq[org.make.core.user.Role]] = circe.this.Decoder.decodeSeq[org.make.core.user.Role](user.this.Role.decoder(circe.this.Decoder.decodeString));
private[this] val circeGenericDecoderForcountry: io.circe.Decoder[org.make.core.reference.Country] = reference.this.Country.countryDecoder;
private[this] val circeGenericDecoderForavailableQuestions: io.circe.Decoder[Seq[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeSeq[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecode(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecode(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("lastName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecode(c.downField("lastName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("roles"), Seq[org.make.core.user.Role], shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecode(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableQuestions.tryDecode(c.downField("availableQuestions")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecodeAccumulating(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecodeAccumulating(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("lastName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecodeAccumulating(c.downField("lastName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("roles"), Seq[org.make.core.user.Role], shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecodeAccumulating(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableQuestions.tryDecodeAccumulating(c.downField("availableQuestions")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$63().inst$macro$33
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.ModeratorResponse]](inst$macro$64)
})
|
|
478
|
33436
|
17463
-
17694
|
Apply
|
org.make.api.user.ModeratorResponse.apply
|
|
ModeratorResponse.apply(user.userId, user.email, user.firstName, user.lastName, user.roles, user.country, user.availableQuestions)
|
|
479
|
38590
|
17491
-
17502
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
480
|
34433
|
17516
-
17526
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
481
|
47827
|
17544
-
17558
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
482
|
40217
|
17575
-
17588
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
483
|
33101
|
17602
-
17612
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
484
|
48859
|
17628
-
17640
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
485
|
42030
|
17667
-
17690
|
Select
|
org.make.core.user.User.availableQuestions
|
|
user.availableQuestions
|