| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
178
|
35770
|
5796
-
5824
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this._enhanceRouteWithConcatenation(AdminModeratorApi.this.getModerator).~(AdminModeratorApi.this.getModerators)
|
|
178
|
47465
|
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
|
48739
|
5796
-
5808
|
Select
|
org.make.api.user.AdminModeratorApi.getModerator
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this.getModerator
|
|
178
|
34390
|
5845
-
5860
|
Select
|
org.make.api.user.AdminModeratorApi.updateModerator
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this.updateModerator
|
|
178
|
41971
|
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
|
40945
|
5811
-
5824
|
Select
|
org.make.api.user.AdminModeratorApi.getModerators
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this.getModerators
|
|
178
|
49830
|
5827
-
5842
|
Select
|
org.make.api.user.AdminModeratorApi.createModerator
|
org.make.api.user.adminmoderatorapitest
|
AdminModeratorApi.this.createModerator
|
|
201
|
35477
|
6496
-
6508
|
Apply
|
org.make.core.user.UserId.apply
|
org.make.api.user.adminmoderatorapitest
|
org.make.core.user.UserId.apply(value)
|
|
201
|
48501
|
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
|
42298
|
6484
-
6491
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.Segment
|
|
204
|
42011
|
6626
-
6642
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
user.roles.toSet[org.make.core.user.Role]
|
|
204
|
40369
|
6574
-
6587
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
204
|
32073
|
6589
-
6598
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
204
|
49580
|
6600
-
6614
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
204
|
33603
|
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
|
|
207
|
46884
|
6699
-
6702
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.get
|
|
207
|
40705
|
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
|
49616
|
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
|
48291
|
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
|
35231
|
6726
-
6738
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
208
|
32527
|
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
|
40407
|
6741
-
6752
|
Select
|
org.make.api.user.DefaultAdminModeratorApiComponent.DefaultAdminModeratorApi.moderatorId
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.moderatorId
|
|
208
|
33636
|
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
|
41764
|
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
|
48538
|
6724
-
6724
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
208
|
43095
|
6716
-
6723
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"admin"
|
|
209
|
47756
|
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
|
43550
|
6779
-
6779
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$2
|
|
209
|
35260
|
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])))))))))))
|
|
209
|
46920
|
6793
-
6807
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"GetModerator"
|
|
209
|
35266
|
6779
-
6779
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$3
|
|
209
|
40158
|
6792
-
6792
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
210
|
32026
|
6826
-
6836
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOAuth2
|
|
210
|
38363
|
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])))))))))
|
|
210
|
50083
|
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]]
|
|
211
|
33674
|
6881
-
6908
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
211
|
47241
|
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
|
41803
|
6898
-
6907
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
212
|
34175
|
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
|
38571
|
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
|
46687
|
6925
-
6957
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)
|
|
212
|
34428
|
6958
-
6958
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
213
|
47791
|
7015
-
7038
|
Select
|
scala.Boolean.unary_!
|
|
DefaultAdminModeratorApi.this.isModerator(moderator).unary_!
|
|
214
|
33096
|
7081
-
7081
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
214
|
33431
|
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))
|
|
214
|
42008
|
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
|
48823
|
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
|
40197
|
7069
-
7089
|
Select
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
216
|
48531
|
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
|
49871
|
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
|
39634
|
7160
-
7160
|
Select
|
org.make.api.user.ModeratorResponse.encoder
|
|
user.this.ModeratorResponse.encoder
|
|
216
|
46183
|
7143
-
7171
|
Apply
|
org.make.api.user.ModeratorResponse.apply
|
|
ModeratorResponse.apply(moderator)
|
|
216
|
31813
|
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])))
|
|
216
|
39958
|
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
|
34467
|
7160
-
7160
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]
|
|
216
|
41755
|
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]))))
|
|
225
|
39984
|
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
|
32887
|
7298
-
7301
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.get
|
|
226
|
46674
|
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
|
39425
|
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]))
|
|
226
|
44676
|
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
|
41796
|
7325
-
7337
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
226
|
33933
|
7323
-
7323
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
226
|
44884
|
7315
-
7322
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"admin"
|
|
227
|
39918
|
7349
-
7349
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$3
|
|
227
|
31356
|
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]]))))
})))))))))
|
|
227
|
45085
|
7362
-
7362
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
227
|
32309
|
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
|
48326
|
7349
-
7349
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$2
|
|
227
|
35014
|
7363
-
7378
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"GetModerators"
|
|
228
|
45984
|
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
|
32062
|
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
|
41548
|
7421
-
7429
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"_start"
|
|
229
|
46440
|
7452
-
7452
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.startFromIntUnmarshaller
|
|
229
|
38862
|
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
|
33972
|
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
|
30703
|
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))
|
|
230
|
32348
|
7493
-
7493
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.endFromIntUnmarshaller
|
|
230
|
46147
|
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
|
39950
|
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
|
48081
|
7467
-
7473
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"_end"
|
|
230
|
40998
|
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))
|
|
231
|
33171
|
7508
-
7515
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"_sort"
|
|
231
|
31780
|
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
|
38355
|
7516
-
7516
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
231
|
47518
|
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]))
|
|
231
|
46471
|
7508
-
7517
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("_sort").?
|
|
232
|
44876
|
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
|
39711
|
7531
-
7539
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"_order"
|
|
232
|
42046
|
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
|
33929
|
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]))))
|
|
232
|
32107
|
7531
-
7551
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
233
|
30500
|
7573
-
7573
|
Select
|
org.make.core.ParameterExtractors.userIdFromStringUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.userIdFromStringUnmarshaller
|
|
233
|
48034
|
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
|
39412
|
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]
|
|
233
|
46508
|
7565
-
7569
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"id"
|
|
234
|
37065
|
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
|
45947
|
7603
-
7603
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
234
|
33969
|
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
|
40449
|
7595
-
7602
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"email"
|
|
234
|
32912
|
7595
-
7604
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("email").?
|
|
235
|
48073
|
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
|
39451
|
7618
-
7631
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._string2NR("firstName").?
|
|
235
|
31582
|
7630
-
7630
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminmoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
235
|
40488
|
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
|
46959
|
7618
-
7629
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"firstName"
|
|
236
|
39241
|
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
|
33718
|
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
|
46751
|
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]]))))
})))))
|
|
246
|
37581
|
7972
-
7982
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOAuth2
|
|
247
|
46999
|
8048
-
8057
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
247
|
38607
|
8031
-
8058
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
247
|
50650
|
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]]))))
})))
|
|
248
|
45162
|
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
|
45126
|
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
|
31619
|
8309
-
8313
|
Select
|
scala.None
|
|
scala.None
|
|
255
|
40235
|
8346
-
8370
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator)
|
|
255
|
48114
|
8351
-
8369
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
256
|
32100
|
8407
-
8411
|
Select
|
scala.None
|
|
scala.None
|
|
258
|
37622
|
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
|
40273
|
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
|
33761
|
8567
-
8580
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
268
|
46221
|
8828
-
8832
|
Select
|
scala.None
|
|
scala.None
|
|
269
|
38643
|
8870
-
8888
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
269
|
31534
|
8865
-
8889
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.Role.RoleModerator.type](org.make.core.user.Role.RoleModerator)
|
|
270
|
44158
|
8926
-
8930
|
Select
|
scala.None
|
|
scala.None
|
|
272
|
31854
|
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
|
38151
|
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
|
38401
|
9010
-
9010
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]
|
|
273
|
33502
|
9010
-
9010
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
273
|
46260
|
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
|
37057
|
9010
-
9010
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
275
|
45733
|
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
|
47320
|
9124
-
9124
|
Select
|
org.make.api.user.ModeratorResponse.encoder
|
|
user.this.ModeratorResponse.encoder
|
|
276
|
40229
|
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
|
43583
|
9162
-
9176
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
276
|
31570
|
9125
-
9139
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
276
|
38116
|
9180
-
9214
|
Apply
|
scala.collection.IterableOps.map
|
|
users.map[org.make.api.user.ModeratorResponse](((user: org.make.core.user.User) => ModeratorResponse.apply(user)))
|
|
276
|
32960
|
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
|
38433
|
9124
-
9124
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.user.ModeratorResponse](user.this.ModeratorResponse.encoder)
|
|
276
|
40804
|
9146
-
9177
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
276
|
50120
|
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
|
31611
|
9124
-
9124
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.ModeratorResponse]]
|
|
276
|
45975
|
9190
-
9213
|
Apply
|
org.make.api.user.ModeratorResponse.apply
|
|
ModeratorResponse.apply(user)
|
|
276
|
44638
|
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
|
31889
|
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()))
|
|
286
|
32387
|
9374
-
9378
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.post
|
|
286
|
50718
|
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]))))))))))))))))
|
|
287
|
37905
|
9402
-
9414
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
287
|
45770
|
9392
-
9399
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"admin"
|
|
287
|
38391
|
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
|
38229
|
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])))))))))))))))
|
|
287
|
46507
|
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
|
50688
|
9400
-
9400
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
288
|
31398
|
9440
-
9457
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"CreateModerator"
|
|
288
|
31885
|
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
|
44912
|
9439
-
9439
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
288
|
36347
|
9426
-
9426
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$3
|
|
288
|
45805
|
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
|
43905
|
9426
-
9426
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$2
|
|
289
|
50438
|
9489
-
9489
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
289
|
49193
|
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]))))))))))))
|
|
289
|
37945
|
9489
-
9499
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminModeratorApiComponent.this.makeOAuth2
|
|
290
|
35913
|
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
|
46547
|
9561
-
9570
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
290
|
38430
|
9544
-
9571
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
291
|
44184
|
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])))))))))
|
|
291
|
30534
|
9588
-
9601
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminModeratorApi.this.decodeRequest
|
|
292
|
36377
|
9629
-
9629
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.CreateModeratorRequest](user.this.CreateModeratorRequest.decoder)
|
|
292
|
43940
|
9629
-
9629
|
Select
|
org.make.api.user.CreateModeratorRequest.decoder
|
|
user.this.CreateModeratorRequest.decoder
|
|
292
|
32949
|
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
|
44947
|
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)))
|
|
292
|
50479
|
9626
-
9626
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.CreateModeratorRequest]
|
|
292
|
31683
|
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
|
37858
|
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))))
|
|
294
|
46013
|
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
|
37693
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$15
|
|
UserRegisterData.apply$default$15
|
|
295
|
49126
|
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
|
42600
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$21
|
|
UserRegisterData.apply$default$21
|
|
295
|
51007
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$20
|
|
UserRegisterData.apply$default$20
|
|
295
|
36119
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$25
|
|
UserRegisterData.apply$default$25
|
|
295
|
44466
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$7
|
|
UserRegisterData.apply$default$7
|
|
295
|
49370
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$9
|
|
UserRegisterData.apply$default$9
|
|
295
|
45264
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$10
|
|
UserRegisterData.apply$default$10
|
|
295
|
38726
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$22
|
|
UserRegisterData.apply$default$22
|
|
295
|
31136
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$6
|
|
UserRegisterData.apply$default$6
|
|
295
|
36082
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$8
|
|
UserRegisterData.apply$default$8
|
|
295
|
44225
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$24
|
|
UserRegisterData.apply$default$24
|
|
295
|
31174
|
9775
-
9775
|
Select
|
org.make.api.user.UserRegisterData.apply$default$23
|
|
UserRegisterData.apply$default$23
|
|
296
|
46584
|
9825
-
9838
|
Select
|
org.make.api.user.CreateModeratorRequest.email
|
|
request.email
|
|
297
|
39487
|
9876
-
9893
|
Select
|
org.make.api.user.CreateModeratorRequest.firstName
|
|
request.firstName
|
|
298
|
30571
|
9930
-
9946
|
Select
|
org.make.api.user.CreateModeratorRequest.lastName
|
|
request.lastName
|
|
299
|
44391
|
9983
-
9999
|
Select
|
org.make.api.user.CreateModeratorRequest.password
|
|
request.password
|
|
300
|
36131
|
10034
-
10038
|
Select
|
scala.None
|
|
scala.None
|
|
301
|
32988
|
10074
-
10089
|
Select
|
org.make.api.user.CreateModeratorRequest.country
|
|
request.country
|
|
302
|
46021
|
10126
-
10142
|
Select
|
org.make.api.user.CreateModeratorRequest.language
|
|
request.language
|
|
303
|
37897
|
10181
-
10196
|
Select
|
org.make.api.user.CreateModeratorRequest.country
|
|
request.country
|
|
304
|
51213
|
10236
-
10252
|
Select
|
org.make.api.user.CreateModeratorRequest.language
|
|
request.language
|
|
305
|
43413
|
10286
-
10297
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](false)
|
|
306
|
39530
|
10338
-
10349
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](false)
|
|
308
|
31099
|
10434
-
10444
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
308
|
44426
|
10428
-
10445
|
Apply
|
scala.collection.IterableOps.map
|
|
x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
309
|
36867
|
10488
-
10506
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
309
|
37935
|
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))
|
|
309
|
46057
|
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
|
32736
|
10508
-
10524
|
Select
|
org.make.core.user.Role.RoleCitizen
|
|
org.make.core.user.Role.RoleCitizen
|
|
310
|
50963
|
10573
-
10599
|
Select
|
org.make.api.user.CreateModeratorRequest.availableQuestions
|
|
request.availableQuestions
|
|
311
|
39283
|
10653
-
10675
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
|
|
311
|
42840
|
10658
-
10674
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
315
|
37728
|
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
|
50225
|
10781
-
10781
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
316
|
35580
|
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
|
31646
|
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
|
44260
|
10883
-
10883
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
317
|
50262
|
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
|
42639
|
10863
-
10882
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
317
|
46054
|
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
|
35876
|
10883
-
10883
|
Select
|
org.make.api.user.ModeratorResponse.encoder
|
|
user.this.ModeratorResponse.encoder
|
|
317
|
49163
|
10883
-
10883
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]
|
|
317
|
42395
|
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
|
38187
|
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
|
39240
|
10886
-
10911
|
Apply
|
org.make.api.user.ModeratorResponse.apply
|
|
ModeratorResponse.apply(result)
|
|
328
|
42430
|
11068
-
11071
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.put
|
|
328
|
42498
|
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]))))))
}))
})
}))))))
})))))))
|
|
329
|
46365
|
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
|
44220
|
11095
-
11095
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
329
|
35619
|
11087
-
11094
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"admin"
|
|
329
|
36378
|
11112
-
11123
|
Select
|
org.make.api.user.DefaultAdminModeratorApiComponent.DefaultAdminModeratorApi.moderatorId
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this.moderatorId
|
|
329
|
50754
|
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
|
37440
|
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
|
49722
|
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
|
31434
|
11097
-
11109
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
329
|
45846
|
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,)])
|
|
330
|
43175
|
11166
-
11183
|
Literal
|
<nosymbol>
|
org.make.api.user.adminmoderatorapitest
|
"UpdateModerator"
|
|
330
|
33892
|
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
|
35375
|
11152
-
11152
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$2
|
|
330
|
36412
|
11165
-
11165
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
330
|
31476
|
11152
-
11152
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminmoderatorapitest
|
DefaultAdminModeratorApiComponent.this.makeOperation$default$3
|
|
330
|
43977
|
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)
|
|
331
|
42173
|
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
|
49152
|
11217
-
11227
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminModeratorApiComponent.this.makeOAuth2
|
|
331
|
41907
|
11217
-
11217
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
332
|
37478
|
11296
-
11305
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
332
|
50791
|
11307
-
11321
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
332
|
34800
|
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
|
42384
|
11333
-
11358
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
userAuth.user.roles.toSet[org.make.core.user.Role]
|
|
333
|
30668
|
11430
-
11443
|
Select
|
org.make.core.user.Role.RoleModerator
|
|
org.make.core.user.Role.RoleModerator
|
|
333
|
44012
|
11401
-
11444
|
Apply
|
scala.collection.SeqOps.contains
|
|
userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleModerator)
|
|
334
|
48989
|
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
|
36452
|
11469
-
11532
|
Apply
|
scala.Boolean.||
|
|
isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin)
|
|
334
|
48913
|
11459
-
11533
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultAdminModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))
|
|
335
|
41340
|
11552
-
11565
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminModeratorApi.this.decodeRequest
|
|
335
|
35986
|
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
|
34565
|
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
|
44051
|
11592
-
11592
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.UpdateModeratorRequest]
|
|
336
|
42420
|
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))
|
|
336
|
48629
|
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
|
37231
|
11595
-
11595
|
Select
|
org.make.api.user.UpdateModeratorRequest.decoder
|
|
user.this.UpdateModeratorRequest.decoder
|
|
336
|
50553
|
11595
-
11595
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminModeratorApiComponent.this.unmarshaller[org.make.api.user.UpdateModeratorRequest](user.this.UpdateModeratorRequest.decoder)
|
|
336
|
40373
|
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]))))))
}))
})
}))))
|
|
337
|
41861
|
11711
-
11711
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
337
|
36962
|
11678
-
11710
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminModeratorApiComponent.this.userService.getUser(moderatorId)
|
|
337
|
47973
|
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
|
48956
|
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
|
|
339
|
34601
|
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
|
43483
|
11848
-
11858
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
339
|
37975
|
11825
-
11835
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
339
|
50592
|
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
|
41894
|
11882
-
11995
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultAdminModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))
|
|
341
|
48390
|
11927
-
11937
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
341
|
36992
|
11952
-
11971
|
Apply
|
java.lang.Object.==
|
|
roles.==(user.roles)
|
|
341
|
50019
|
11918
-
11971
|
Apply
|
scala.Boolean.||
|
|
roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles))
|
|
341
|
44504
|
11961
-
11971
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
342
|
34875
|
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
|
38020
|
12052
-
12101
|
Apply
|
java.lang.String.toLowerCase
|
|
request.email.getOrElse[String](user.email).toLowerCase()
|
|
344
|
50504
|
12126
-
12169
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)
|
|
344
|
35114
|
12170
-
12170
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
344
|
43517
|
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
|
|
344
|
42458
|
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]))))))
}))
|
|
345
|
50548
|
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
|
34077
|
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
|
41931
|
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
|
48426
|
12403
-
12410
|
Literal
|
<nosymbol>
|
|
"email"
|
|
349
|
44545
|
12444
-
12464
|
Literal
|
<nosymbol>
|
|
"already_registered"
|
|
350
|
36160
|
12538
-
12555
|
Select
|
org.make.core.user.UserId.value
|
|
user.userId.value
|
|
350
|
50054
|
12510
-
12555
|
Apply
|
java.lang.Object.==
|
|
userToCheck.userId.value.==(user.userId.value)
|
|
357
|
36028
|
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
|
42466
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$17
|
|
user.copy$default$17
|
|
358
|
42179
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$23
|
|
user.copy$default$23
|
|
358
|
34065
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
358
|
48223
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
358
|
51390
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$26
|
|
user.copy$default$26
|
|
358
|
50337
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
358
|
34591
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
358
|
43270
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
358
|
40584
|
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
|
35990
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
358
|
34109
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
358
|
48177
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
358
|
50046
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
358
|
35655
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$18
|
|
user.copy$default$18
|
|
358
|
35691
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
358
|
43795
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$9
|
|
user.copy$default$9
|
|
358
|
41130
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
358
|
42703
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
358
|
39850
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
358
|
35947
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
358
|
50009
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
358
|
50296
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
358
|
47649
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
358
|
33312
|
12841
-
12841
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
360
|
42672
|
12973
-
12987
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
360
|
35146
|
12948
-
12988
|
Apply
|
scala.Option.orElse
|
|
request.firstName.orElse[String](user.firstName)
|
|
361
|
48459
|
13057
-
13070
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
361
|
43754
|
13033
-
13071
|
Apply
|
scala.Option.orElse
|
|
request.lastName.orElse[String](user.lastName)
|
|
362
|
49192
|
13115
-
13154
|
Apply
|
scala.Option.getOrElse
|
|
request.country.getOrElse[org.make.core.reference.Country](user.country)
|
|
362
|
36202
|
13141
-
13153
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
364
|
41688
|
13256
-
13282
|
Select
|
org.make.api.user.UpdateModeratorRequest.availableQuestions
|
|
request.availableQuestions
|
|
368
|
49799
|
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
|
42218
|
13420
-
13420
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
368
|
47132
|
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
|
49832
|
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]))
|
|
369
|
43306
|
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
|
40336
|
13502
-
13502
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminModeratorApiComponent.this.marshaller$default$2[org.make.api.user.ModeratorResponse]
|
|
369
|
35443
|
13502
-
13502
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
369
|
33819
|
13487
-
13501
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
369
|
48210
|
13502
-
13502
|
Select
|
org.make.api.user.ModeratorResponse.encoder
|
|
user.this.ModeratorResponse.encoder
|
|
369
|
41441
|
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
|
47096
|
13505
-
13528
|
Apply
|
org.make.api.user.ModeratorResponse.apply
|
|
ModeratorResponse.apply(user)
|
|
369
|
33854
|
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
|
35941
|
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])
|
|
398
|
34637
|
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
|
42009
|
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
|
31992
|
14500
-
14500
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
401
|
49029
|
14500
-
14538
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("firstName", CreateModeratorRequest.this.firstName, org.make.core.Validation.mandatoryField$default$3)
|
|
401
|
40410
|
14528
-
14537
|
Select
|
org.make.api.user.CreateModeratorRequest.firstName
|
|
CreateModeratorRequest.this.firstName
|
|
401
|
48699
|
14515
-
14526
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
402
|
43552
|
14544
-
14599
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("firstName", CreateModeratorRequest.this.firstName, scala.None)
|
|
402
|
46398
|
14594
-
14598
|
Select
|
scala.None
|
|
scala.None
|
|
402
|
41930
|
14570
-
14581
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
402
|
34347
|
14583
-
14592
|
Select
|
org.make.api.user.CreateModeratorRequest.firstName
|
|
CreateModeratorRequest.this.firstName
|
|
403
|
40324
|
14653
-
14657
|
Select
|
scala.None
|
|
scala.None
|
|
403
|
35437
|
14631
-
14641
|
Literal
|
<nosymbol>
|
|
"lastName"
|
|
403
|
48735
|
14643
-
14651
|
Select
|
org.make.api.user.CreateModeratorRequest.lastName
|
|
CreateModeratorRequest.this.lastName
|
|
403
|
32029
|
14605
-
14658
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("lastName", CreateModeratorRequest.this.lastName, scala.None)
|
|
404
|
34384
|
14664
-
14664
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
404
|
46842
|
14664
-
14698
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("country", CreateModeratorRequest.this.country, org.make.core.Validation.mandatoryField$default$3)
|
|
404
|
48783
|
14679
-
14688
|
Literal
|
<nosymbol>
|
|
"country"
|
|
404
|
41967
|
14690
-
14697
|
Select
|
org.make.api.user.CreateModeratorRequest.country
|
|
CreateModeratorRequest.this.country
|
|
405
|
49574
|
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
|
42296
|
14725
-
14735
|
Literal
|
<nosymbol>
|
|
"password"
|
|
407
|
35185
|
14743
-
14761
|
Literal
|
<nosymbol>
|
|
"invalid_password"
|
|
408
|
48498
|
14785
-
14798
|
Apply
|
scala.Int.>=
|
|
x$5.length().>=(8)
|
|
408
|
40364
|
14769
-
14799
|
Apply
|
scala.Option.forall
|
|
CreateModeratorRequest.this.password.forall(((x$5: String) => x$5.length().>=(8)))
|
|
409
|
32488
|
14807
-
14847
|
Literal
|
<nosymbol>
|
|
"Password must be at least 8 characters"
|
|
415
|
33596
|
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
|
46879
|
15588
-
15589
|
Literal
|
<nosymbol>
|
|
3
|
|
434
|
35226
|
15631
-
15638
|
Literal
|
<nosymbol>
|
|
"email"
|
|
434
|
33632
|
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
|
32522
|
15630
-
15630
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
434
|
41759
|
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
|
39037
|
15612
-
15613
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$6)
|
|
434
|
48532
|
15614
-
15614
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$1.toSanitizedInput$default$2
|
|
434
|
49025
|
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
|
40119
|
15612
-
15639
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$1.toSanitizedInput("email", x$2)
|
|
435
|
47750
|
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
|
38527
|
15663
-
15663
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
435
|
46643
|
15661
-
15670
|
Select
|
org.make.core.Validation.StringWithParsers.toEmail
|
|
org.make.core.Validation.StringWithParsers(x$7).toEmail
|
|
435
|
34671
|
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
|
40152
|
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))
|
|
436
|
38566
|
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])
|
|
436
|
41204
|
15698
-
15698
|
Select
|
org.make.core.Validation.StringWithParsers.toNonEmpty$default$2
|
|
qual$2.toNonEmpty$default$2
|
|
436
|
35731
|
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
|
32280
|
15696
-
15697
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$8)
|
|
436
|
33389
|
15696
-
15721
|
Apply
|
org.make.core.Validation.StringWithParsers.toNonEmpty
|
|
qual$2.toNonEmpty("firstName", x$4)
|
|
436
|
46679
|
15708
-
15708
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
436
|
45052
|
15709
-
15720
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
436
|
48493
|
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))
|
|
437
|
45089
|
15749
-
15749
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$3.toSanitizedInput$default$2
|
|
437
|
33090
|
15766
-
15777
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
437
|
34465
|
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
|
41714
|
15747
-
15778
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$3.toSanitizedInput("firstName", x$6)
|
|
437
|
39626
|
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
|
39922
|
15747
-
15748
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$9)
|
|
437
|
34138
|
15765
-
15765
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
437
|
46444
|
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
|
46153
|
15803
-
15833
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$4.toSanitizedInput("lastName", x$8)
|
|
438
|
31810
|
15805
-
15805
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$4.toSanitizedInput$default$2
|
|
438
|
46634
|
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
|
40659
|
15822
-
15832
|
Literal
|
<nosymbol>
|
|
"lastName"
|
|
438
|
38359
|
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
|
33891
|
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
|
48246
|
15803
-
15804
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$10)
|
|
438
|
41752
|
15821
-
15821
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
439
|
48038
|
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
|
44879
|
15865
-
15865
|
Select
|
org.make.core.Validation.StringWithParsers.withMaxLength$default$3
|
|
qual$5.withMaxLength$default$3
|
|
439
|
40701
|
15879
-
15895
|
Select
|
org.make.api.user.UpdateModeratorRequest.maxCountryLength
|
|
UpdateModeratorRequest.this.maxCountryLength
|
|
439
|
46670
|
15878
-
15878
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
439
|
31786
|
15857
-
15864
|
Select
|
org.make.core.reference.Country.value
|
|
x$11.value
|
|
439
|
33930
|
15857
-
15907
|
Apply
|
org.make.core.Validation.StringWithParsers.withMaxLength
|
|
qual$5.withMaxLength(x$9, "country", x$11, x$12)
|
|
439
|
48288
|
15857
-
15864
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$11.value)
|
|
439
|
41505
|
15865
-
15865
|
Select
|
org.make.core.Validation.StringWithParsers.withMaxLength$default$4
|
|
qual$5.withMaxLength$default$4
|
|
439
|
31280
|
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
|
38819
|
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
|
32270
|
15897
-
15906
|
Literal
|
<nosymbol>
|
|
"country"
|
|
440
|
39911
|
15918
-
15918
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[Option[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]]]
|
|
440
|
32303
|
15934
-
15952
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](x$12).throwIfInvalid()
|
|
440
|
45344
|
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()))
|
|
444
|
41543
|
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
|
33970
|
16252
-
16256
|
Select
|
scala.None
|
|
scala.None
|
|
467
|
47515
|
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
|
38856
|
17054
-
17059
|
Select
|
org.make.api.user.ModeratorResponse.email
|
|
ModeratorResponse.this.email
|
|
468
|
48076
|
17027
-
17066
|
Apply
|
org.make.core.Validation.validateUserInput
|
|
org.make.core.Validation.validateUserInput("email", ModeratorResponse.this.email, scala.None)
|
|
468
|
31741
|
17061
-
17065
|
Select
|
scala.None
|
|
scala.None
|
|
468
|
46433
|
17045
-
17052
|
Literal
|
<nosymbol>
|
|
"email"
|
|
469
|
32064
|
17111
-
17120
|
Select
|
org.make.api.user.ModeratorResponse.firstName
|
|
ModeratorResponse.this.firstName
|
|
469
|
39947
|
17098
-
17109
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
469
|
46143
|
17122
-
17126
|
Select
|
scala.None
|
|
scala.None
|
|
469
|
37266
|
17072
-
17127
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("firstName", ModeratorResponse.this.firstName, scala.None)
|
|
470
|
46467
|
17171
-
17179
|
Select
|
org.make.api.user.ModeratorResponse.lastName
|
|
ModeratorResponse.this.lastName
|
|
470
|
31776
|
17133
-
17186
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("lastName", ModeratorResponse.this.lastName, scala.None)
|
|
470
|
38612
|
17181
-
17185
|
Select
|
scala.None
|
|
scala.None
|
|
470
|
33163
|
17159
-
17169
|
Literal
|
<nosymbol>
|
|
"lastName"
|
|
475
|
39705
|
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
|
32101
|
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
|
40444
|
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
|
45907
|
17491
-
17502
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
480
|
38328
|
17516
-
17526
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
481
|
33926
|
17544
-
17558
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
482
|
46225
|
17575
-
17588
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
483
|
39407
|
17602
-
17612
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
484
|
30496
|
17628
-
17640
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
485
|
44318
|
17667
-
17690
|
Select
|
org.make.core.user.User.availableQuestions
|
|
user.availableQuestions
|