| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
80
|
44875
|
3035
-
3047
|
Apply
|
org.make.core.user.UserId.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
org.make.core.user.UserId.apply(value)
|
|
80
|
40461
|
3023
-
3048
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultEventScopedModeratorApi.this.Segment).map[org.make.core.user.UserId](((value: String) => org.make.core.user.UserId.apply(value)))
|
|
80
|
31536
|
3023
-
3030
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.Segment
|
|
83
|
38099
|
3130
-
3144
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
83
|
31857
|
3113
-
3117
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.role
|
|
DefaultEventScopedModeratorApi.this.role
|
|
83
|
46989
|
3109
-
3182
|
Select
|
scala.collection.IterableOnceOps.nonEmpty
|
|
scala.Predef.Set.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(user.roles.toSet[org.make.core.user.Role]).nonEmpty
|
|
83
|
45972
|
3119
-
3128
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
83
|
50894
|
3156
-
3172
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
user.roles.toSet[org.make.core.user.Role]
|
|
86
|
39182
|
3229
-
3232
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.get
|
|
86
|
37874
|
3229
-
3824
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.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,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Get".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(moderator))
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
else
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))))))))))))
|
|
87
|
38133
|
3268
-
3268
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
87
|
45735
|
3270
-
3282
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
87
|
46745
|
3283
-
3283
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
87
|
44140
|
3245
-
3245
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminconsultationmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
87
|
44101
|
3256
-
3267
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.pathSegment
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.pathSegment
|
|
87
|
38619
|
3246
-
3296
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
87
|
40210
|
3256
-
3267
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment)
|
|
87
|
31573
|
3246
-
3253
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"admin"
|
|
87
|
31327
|
3241
-
3297
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
87
|
32598
|
3254
-
3254
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
87
|
45762
|
3241
-
3818
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.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,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Get".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(moderator))
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
else
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)))))))))))
|
|
87
|
50933
|
3285
-
3296
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.moderatorId
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.moderatorId
|
|
88
|
32952
|
3323
-
3810
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Get".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(moderator))
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
else
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)))))))))
|
|
88
|
36558
|
3323
-
3323
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2
|
|
88
|
31809
|
3323
-
3323
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation$default$3
|
|
88
|
37628
|
3336
-
3336
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminconsultationmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
88
|
45152
|
3323
-
3360
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation(("Get".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.this.makeOperation$default$3)
|
|
89
|
50693
|
3378
-
3388
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOAuth2
|
|
89
|
46786
|
3378
-
3378
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminconsultationmoderatorapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
89
|
36267
|
3378
-
3800
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(moderator))
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
else
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)))))))
|
|
90
|
44661
|
3433
-
3788
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(moderator))
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
else
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)))))
|
|
90
|
30741
|
3433
-
3460
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultEventScopedModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
90
|
38373
|
3450
-
3459
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
91
|
36317
|
3477
-
3531
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound
|
|
91
|
31316
|
3477
-
3774
|
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](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(moderator))
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
else
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))))
|
|
91
|
31847
|
3510
-
3510
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
91
|
44177
|
3477
-
3509
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)
|
|
92
|
44905
|
3567
-
3589
|
Apply
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.isModerator
|
|
DefaultEventScopedModeratorApi.this.isModerator(moderator)
|
|
93
|
50729
|
3654
-
3654
|
Select
|
org.make.api.user.EventScopedModerator.Response.encoder
|
|
EventScopedModerator.this.Response.encoder
|
|
93
|
36355
|
3611
-
3666
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
|
|
93
|
31567
|
3654
-
3654
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))
|
|
93
|
32915
|
3611
-
3666
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
|
|
93
|
47306
|
3654
-
3654
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]
|
|
93
|
44623
|
3620
-
3665
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.EventScopedModerator.Response](DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])))
|
|
93
|
38085
|
3620
-
3665
|
Apply
|
org.make.api.user.EventScopedModerator.Response.from
|
|
EventScopedModerator.Response.from(moderator)
|
|
93
|
38408
|
3654
-
3654
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])
|
|
95
|
44942
|
3719
-
3739
|
Select
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
95
|
38126
|
3731
-
3731
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
95
|
51177
|
3719
-
3739
|
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)
|
|
95
|
39470
|
3710
-
3740
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
|
|
95
|
42338
|
3710
-
3740
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
|
|
104
|
51214
|
3866
-
3869
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.get
|
|
104
|
42901
|
3866
-
6008
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.path[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Get".+(DefaultEventScopedModeratorApi.this.operationPrefix).+("s"): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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])](DefaultEventScopedModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultEventScopedModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultEventScopedModeratorApiComponent.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])(DefaultEventScopedModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), 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 @ _)) => DefaultEventScopedModeratorApi.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.EventScopedModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]))))
})))))))))))
|
|
105
|
36308
|
3907
-
3919
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
105
|
45512
|
3883
-
3919
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])
|
|
105
|
37913
|
3878
-
3920
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.path[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))
|
|
105
|
39504
|
3893
-
3904
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.pathSegment
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.pathSegment
|
|
105
|
31351
|
3893
-
3904
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment)
|
|
105
|
49609
|
3905
-
3905
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
105
|
42784
|
3883
-
3890
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"admin"
|
|
105
|
44420
|
3891
-
3891
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
105
|
50511
|
3878
-
6002
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.path[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Get".+(DefaultEventScopedModeratorApi.this.operationPrefix).+("s"): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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])](DefaultEventScopedModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultEventScopedModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultEventScopedModeratorApiComponent.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])(DefaultEventScopedModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), 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 @ _)) => DefaultEventScopedModeratorApi.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.EventScopedModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]))))
}))))))))))
|
|
106
|
30494
|
3944
-
3944
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminconsultationmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
106
|
42824
|
3931
-
3931
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation$default$3
|
|
106
|
38956
|
3931
-
3971
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation(("Get".+(DefaultEventScopedModeratorApi.this.operationPrefix).+("s"): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.this.makeOperation$default$3)
|
|
106
|
50434
|
3931
-
3931
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2
|
|
106
|
34281
|
3931
-
5994
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Get".+(DefaultEventScopedModeratorApi.this.operationPrefix).+("s"): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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])](DefaultEventScopedModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultEventScopedModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultEventScopedModeratorApiComponent.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])(DefaultEventScopedModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), 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 @ _)) => DefaultEventScopedModeratorApi.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.EventScopedModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]))))
})))))))))
|
|
107
|
30841
|
3999
-
3999
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac7
|
org.make.api.user.adminconsultationmoderatorapitest
|
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]]
|
|
107
|
34976
|
3989
-
4235
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultEventScopedModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultEventScopedModeratorApiComponent.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])(DefaultEventScopedModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])))
|
|
108
|
36054
|
4013
-
4045
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
|
|
108
|
44939
|
4044
-
4044
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApiComponent.this.startFromIntUnmarshaller)
|
|
108
|
37070
|
4013
-
4045
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminconsultationmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApiComponent.this.startFromIntUnmarshaller))
|
|
108
|
44456
|
4013
-
4021
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"_start"
|
|
108
|
49360
|
4044
-
4044
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.startFromIntUnmarshaller
|
|
109
|
44377
|
4059
-
4086
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminconsultationmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApiComponent.this.endFromIntUnmarshaller))
|
|
109
|
50469
|
4059
-
4065
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"_end"
|
|
109
|
42861
|
4059
-
4086
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
|
|
109
|
39460
|
4085
-
4085
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.endFromIntUnmarshaller
|
|
109
|
30530
|
4085
-
4085
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApiComponent.this.endFromIntUnmarshaller)
|
|
110
|
37110
|
4108
-
4108
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
110
|
36090
|
4100
-
4107
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"_sort"
|
|
110
|
49404
|
4100
-
4109
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._string2NR("_sort").?
|
|
110
|
51207
|
4100
-
4109
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminconsultationmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
110
|
46009
|
4108
-
4108
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
111
|
34484
|
4123
-
4143
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
111
|
31612
|
4142
-
4142
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
111
|
44414
|
4142
-
4142
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultEventScopedModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
111
|
42620
|
4123
-
4131
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"_order"
|
|
111
|
36836
|
4123
-
4143
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminconsultationmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultEventScopedModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultEventScopedModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
112
|
37627
|
4165
-
4165
|
Select
|
org.make.core.ParameterExtractors.userIdFromStringUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.userIdFromStringUnmarshaller
|
|
112
|
46048
|
4157
-
4173
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
org.make.api.user.adminconsultationmoderatorapitest
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId]
|
|
112
|
49935
|
4157
-
4161
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"id"
|
|
112
|
50963
|
4157
-
4173
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
org.make.api.user.adminconsultationmoderatorapitest
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultEventScopedModeratorApiComponent.this.userIdFromStringUnmarshaller)
|
|
113
|
31649
|
4195
-
4195
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
113
|
36585
|
4187
-
4196
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminconsultationmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
113
|
44450
|
4195
-
4195
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
113
|
35553
|
4187
-
4196
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._string2NR("email").?
|
|
113
|
43367
|
4187
-
4194
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"email"
|
|
114
|
45804
|
4210
-
4223
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._string2NR("firstName").?
|
|
114
|
51001
|
4222
-
4222
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
114
|
37663
|
4222
-
4222
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminconsultationmoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
114
|
42568
|
4210
-
4223
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminconsultationmoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
114
|
49351
|
4210
-
4221
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"firstName"
|
|
115
|
41881
|
3989
-
5984
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
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])](DefaultEventScopedModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultEventScopedModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultEventScopedModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultEventScopedModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultEventScopedModeratorApiComponent.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])(DefaultEventScopedModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultEventScopedModeratorApi.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), 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 @ _)) => DefaultEventScopedModeratorApi.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.EventScopedModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]))))
})))))))
|
|
125
|
49688
|
4564
-
5972
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), 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 @ _)) => DefaultEventScopedModeratorApi.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.EventScopedModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]))))
})))))
|
|
125
|
36626
|
4564
-
4564
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminconsultationmoderatorapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
125
|
44213
|
4564
-
4574
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOAuth2
|
|
126
|
41524
|
4623
-
4650
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultEventScopedModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
126
|
49114
|
4640
-
4649
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
126
|
36382
|
4623
-
5956
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), 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 @ _)) => DefaultEventScopedModeratorApi.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.EventScopedModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]))))
})))
|
|
127
|
47563
|
4671
-
5573
|
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](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective)
|
|
129
|
31606
|
4693
-
5013
|
Apply
|
org.make.api.user.UserService.adminCountUsers
|
|
DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)
|
|
133
|
37702
|
4901
-
4905
|
Select
|
scala.None
|
|
scala.None
|
|
134
|
42612
|
4938
-
4948
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role)
|
|
134
|
50760
|
4943
-
4947
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.role
|
|
DefaultEventScopedModeratorApi.this.role
|
|
135
|
34732
|
4985
-
4989
|
Select
|
scala.None
|
|
scala.None
|
|
137
|
44250
|
4693
-
5048
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective
|
|
139
|
42373
|
5070
-
5518
|
Apply
|
org.make.api.user.UserService.adminFindUsers
|
|
DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), scala.None)
|
|
140
|
35835
|
5145
-
5158
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
147
|
49151
|
5406
-
5410
|
Select
|
scala.None
|
|
scala.None
|
|
148
|
38162
|
5443
-
5453
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role)
|
|
148
|
41028
|
5448
-
5452
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.role
|
|
DefaultEventScopedModeratorApi.this.role
|
|
149
|
50797
|
5490
-
5494
|
Select
|
scala.None
|
|
scala.None
|
|
151
|
34770
|
5070
-
5553
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective
|
|
152
|
44700
|
5574
-
5574
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
152
|
35875
|
5574
-
5574
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
152
|
43961
|
4671
-
5938
|
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](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), 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 @ _)) => DefaultEventScopedModeratorApi.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.EventScopedModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]))))
}))
|
|
152
|
48913
|
4671
-
5580
|
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](DefaultEventScopedModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApi.this.role), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
152
|
42090
|
5574
-
5574
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]
|
|
154
|
48663
|
5654
-
5918
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultEventScopedModeratorApi.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.EventScopedModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]))))
|
|
155
|
50756
|
5688
-
5688
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]])
|
|
155
|
36344
|
5688
-
5894
|
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.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user))))
|
|
155
|
42124
|
5688
-
5688
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder)
|
|
155
|
37952
|
5688
-
5688
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]
|
|
155
|
42860
|
5688
-
5688
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]]))
|
|
155
|
35329
|
5688
-
5894
|
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.EventScopedModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.EventScopedModerator.Response]](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.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.EventScopedModerator.Response]](DefaultEventScopedModeratorApiComponent.this.marshaller[Seq[org.make.api.user.EventScopedModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder), DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.EventScopedModerator.Response]])))
|
|
155
|
48948
|
5688
-
5688
|
Select
|
org.make.api.user.EventScopedModerator.Response.encoder
|
|
EventScopedModerator.this.Response.encoder
|
|
156
|
38202
|
5716
-
5730
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
157
|
50719
|
5779
-
5793
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
157
|
42405
|
5763
-
5794
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
157
|
34802
|
5758
-
5795
|
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()))
|
|
158
|
48626
|
5833
-
5867
|
Apply
|
org.make.api.user.EventScopedModerator.Response.from
|
|
EventScopedModerator.Response.from(user)
|
|
158
|
44744
|
5823
-
5868
|
Apply
|
scala.collection.IterableOps.map
|
|
users.map[org.make.api.user.EventScopedModerator.Response](((user: org.make.core.user.User) => EventScopedModerator.Response.from(user)))
|
|
169
|
48494
|
6052
-
7989
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.path[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Create".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Create,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Create]).apply(((request: org.make.api.user.EventScopedModerator.Request.Create) => server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, 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) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])))))))))))))))))
|
|
169
|
34763
|
6052
-
6056
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.post
|
|
170
|
41309
|
6094
-
6106
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
170
|
33488
|
6092
-
6092
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
170
|
43997
|
6080
-
6091
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.pathSegment
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.pathSegment
|
|
170
|
42941
|
6065
-
6107
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.path[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))
|
|
170
|
36418
|
6080
-
6091
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment)
|
|
170
|
35443
|
6065
-
7983
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.path[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Create".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Create,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Create]).apply(((request: org.make.api.user.EventScopedModerator.Request.Create) => server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, 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) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))))))))))))
|
|
170
|
48425
|
6070
-
6077
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"admin"
|
|
170
|
48903
|
6078
-
6078
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
170
|
50545
|
6070
-
6106
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])
|
|
171
|
38718
|
6118
-
7975
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Create".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Create,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Create]).apply(((request: org.make.api.user.EventScopedModerator.Request.Create) => server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, 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) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])))))))))))))))
|
|
171
|
43745
|
6118
-
6158
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation(("Create".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.this.makeOperation$default$3)
|
|
171
|
47857
|
6118
-
6118
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation$default$3
|
|
171
|
36167
|
6131
-
6131
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminconsultationmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
171
|
34518
|
6118
-
6118
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2
|
|
172
|
41072
|
6189
-
6189
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
172
|
46840
|
6189
-
7965
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultEventScopedModeratorApiComponent.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(DefaultEventScopedModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Create,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Create]).apply(((request: org.make.api.user.EventScopedModerator.Request.Create) => server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, 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) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])))))))))))))
|
|
172
|
48941
|
6189
-
6199
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultEventScopedModeratorApiComponent.this.makeOAuth2
|
|
173
|
50591
|
6244
-
6271
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultEventScopedModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
173
|
33813
|
6244
-
7953
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Create,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Create]).apply(((request: org.make.api.user.EventScopedModerator.Request.Create) => server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, 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) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])))))))))))
|
|
173
|
34236
|
6261
-
6270
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
174
|
43462
|
6288
-
6301
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultEventScopedModeratorApi.this.decodeRequest
|
|
174
|
41950
|
6288
-
7939
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Create,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Create]).apply(((request: org.make.api.user.EventScopedModerator.Request.Create) => server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, 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) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))))))
|
|
175
|
41111
|
6326
-
6326
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Create]
|
|
175
|
49828
|
6320
-
7923
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Create,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Create]).apply(((request: org.make.api.user.EventScopedModerator.Request.Create) => server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, 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) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])))))))))
|
|
175
|
34561
|
6329
-
6329
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.decoder
|
|
Request.this.Create.decoder
|
|
175
|
36211
|
6327
-
6366
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder)))
|
|
175
|
48377
|
6329
-
6329
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder)
|
|
175
|
40777
|
6329
-
6329
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder))
|
|
175
|
50009
|
6320
-
6367
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Create](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Create](Request.this.Create.decoder))))
|
|
177
|
43498
|
6549
-
6614
|
Apply
|
scala.Boolean.||
|
|
request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin))
|
|
177
|
32692
|
6539
-
7905
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, 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) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])))))))
|
|
177
|
35625
|
6539
-
6615
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultEventScopedModeratorApi.this.authorize(request.roles.isEmpty.||(auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)))
|
|
177
|
51041
|
6574
-
6614
|
Apply
|
scala.collection.SeqOps.contains
|
|
auth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)
|
|
177
|
34272
|
6599
-
6613
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
179
|
46364
|
6638
-
7685
|
Apply
|
org.make.api.user.UserService.register
|
|
DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)
|
|
180
|
49222
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$7
|
|
UserRegisterData.apply$default$7
|
|
180
|
46599
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$10
|
|
UserRegisterData.apply$default$10
|
|
180
|
33823
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$9
|
|
UserRegisterData.apply$default$9
|
|
180
|
42439
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$15
|
|
UserRegisterData.apply$default$15
|
|
180
|
32202
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$23
|
|
UserRegisterData.apply$default$23
|
|
180
|
47639
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$21
|
|
UserRegisterData.apply$default$21
|
|
180
|
42157
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$25
|
|
UserRegisterData.apply$default$25
|
|
180
|
39821
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$22
|
|
UserRegisterData.apply$default$22
|
|
180
|
35909
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$6
|
|
UserRegisterData.apply$default$6
|
|
180
|
33244
|
6707
-
7621
|
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$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
|
|
180
|
41103
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$8
|
|
UserRegisterData.apply$default$8
|
|
180
|
49261
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$24
|
|
UserRegisterData.apply$default$24
|
|
180
|
35618
|
6707
-
6707
|
Select
|
org.make.api.user.UserRegisterData.apply$default$19
|
|
UserRegisterData.apply$default$19
|
|
181
|
48414
|
6759
-
6772
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.email
|
|
request.email
|
|
182
|
40816
|
6812
-
6829
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.firstName
|
|
request.firstName
|
|
183
|
36118
|
6868
-
6872
|
Select
|
scala.None
|
|
scala.None
|
|
184
|
50049
|
6911
-
6915
|
Select
|
scala.None
|
|
scala.None
|
|
185
|
42166
|
6952
-
6956
|
Select
|
scala.None
|
|
scala.None
|
|
186
|
34032
|
6994
-
7009
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.country
|
|
request.country
|
|
187
|
47346
|
7048
-
7064
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.language
|
|
request.language
|
|
188
|
42648
|
7105
-
7120
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.country
|
|
request.country
|
|
189
|
35663
|
7162
-
7178
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.language
|
|
request.language
|
|
190
|
48452
|
7214
-
7225
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](false)
|
|
191
|
40568
|
7268
-
7279
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](false)
|
|
193
|
49186
|
7362
-
7379
|
Apply
|
scala.collection.IterableOps.map
|
|
x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
193
|
36163
|
7368
-
7378
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
194
|
42690
|
7315
-
7448
|
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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen))
|
|
194
|
34068
|
7430
-
7446
|
Select
|
org.make.core.user.Role.RoleCitizen
|
|
org.make.core.user.Role.RoleCitizen
|
|
194
|
46565
|
7420
-
7447
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen)
|
|
194
|
41660
|
7424
-
7428
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.role
|
|
DefaultEventScopedModeratorApi.this.role
|
|
195
|
34804
|
7494
-
7517
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.availableEvents
|
|
request.availableEvents
|
|
196
|
40602
|
7573
-
7595
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
|
|
196
|
48212
|
7578
-
7594
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
200
|
42479
|
6638
-
7720
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective
|
|
200
|
35657
|
7709
-
7709
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
201
|
40305
|
6638
-
7885
|
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](DefaultEventScopedModeratorApiComponent.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: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<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](DefaultEventScopedModeratorApi.this.role, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<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$21, x$13, 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) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
|
|
202
|
42193
|
7815
-
7815
|
Select
|
org.make.api.user.EventScopedModerator.Response.encoder
|
|
EventScopedModerator.this.Response.encoder
|
|
202
|
35404
|
7795
-
7860
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])))
|
|
202
|
49789
|
7815
-
7815
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
202
|
40557
|
7818
-
7860
|
Apply
|
org.make.api.user.EventScopedModerator.Response.from
|
|
EventScopedModerator.Response.from(result)
|
|
202
|
33780
|
7815
-
7815
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]
|
|
202
|
47085
|
7815
-
7815
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])
|
|
202
|
48694
|
7795
-
7814
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
202
|
31964
|
7795
-
7860
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result))
|
|
202
|
42518
|
7815
-
7815
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))
|
|
202
|
48732
|
7786
-
7861
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
|
|
214
|
46704
|
8039
-
11182
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.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,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Update".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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],)](DefaultEventScopedModeratorApiComponent.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 isSuperAdmin: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin);
val isScopedModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role);
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(isScopedModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Update,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Update]).apply(((request: org.make.api.user.EventScopedModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(user).unary_!)
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
{
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(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
}))))))
})))))))
|
|
214
|
40342
|
8039
-
8042
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.put
|
|
215
|
32732
|
8058
-
8065
|
Literal
|
<nosymbol>
|
org.make.api.user.adminconsultationmoderatorapitest
|
"admin"
|
|
215
|
31948
|
8053
-
8109
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
215
|
50890
|
8053
-
11174
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.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,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Update".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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],)](DefaultEventScopedModeratorApiComponent.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 isSuperAdmin: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin);
val isScopedModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role);
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(isScopedModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Update,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Update]).apply(((request: org.make.api.user.EventScopedModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(user).unary_!)
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
{
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(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
}))))))
}))))))
|
|
215
|
40381
|
8058
-
8108
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultEventScopedModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
215
|
33562
|
8066
-
8066
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
215
|
41987
|
8068
-
8079
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher(DefaultEventScopedModeratorApi.this.pathSegment)
|
|
215
|
34594
|
8097
-
8108
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.moderatorId
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.moderatorId
|
|
215
|
46876
|
8082
-
8094
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
215
|
45288
|
8057
-
8057
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminconsultationmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
215
|
48981
|
8068
-
8079
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.pathSegment
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApi.this.pathSegment
|
|
215
|
38756
|
8080
-
8080
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
215
|
47996
|
8095
-
8095
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminconsultationmoderatorapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
216
|
46913
|
8137
-
8177
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation(("Update".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.this.makeOperation$default$3)
|
|
216
|
38506
|
8150
-
8150
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminconsultationmoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
216
|
38090
|
8137
-
11164
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminconsultationmoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultEventScopedModeratorApiComponent.this.makeOperation(("Update".+(DefaultEventScopedModeratorApi.this.operationPrefix): String), DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2, DefaultEventScopedModeratorApiComponent.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],)](DefaultEventScopedModeratorApiComponent.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 isSuperAdmin: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin);
val isScopedModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role);
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(isScopedModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Update,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Update]).apply(((request: org.make.api.user.EventScopedModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(user).unary_!)
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
{
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(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
}))))))
}))))
|
|
216
|
33600
|
8137
-
8137
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation$default$3
|
|
216
|
41148
|
8137
-
8137
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminconsultationmoderatorapitest
|
DefaultEventScopedModeratorApiComponent.this.makeOperation$default$2
|
|
217
|
45967
|
8210
-
11152
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultEventScopedModeratorApiComponent.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 isSuperAdmin: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin);
val isScopedModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role);
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(isScopedModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Update,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Update]).apply(((request: org.make.api.user.EventScopedModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(user).unary_!)
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
{
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(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
}))))))
}))
|
|
217
|
48451
|
8210
-
8210
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
217
|
34637
|
8210
-
8220
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultEventScopedModeratorApiComponent.this.makeOAuth2
|
|
218
|
31986
|
8300
-
8314
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
218
|
41945
|
8285
-
8361
|
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
|
|
218
|
45045
|
8326
-
8351
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
userAuth.user.roles.toSet[org.make.core.user.Role]
|
|
218
|
40137
|
8289
-
8298
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
219
|
47446
|
8395
-
8439
|
Apply
|
scala.collection.SeqOps.contains
|
|
userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleSuperAdmin)
|
|
219
|
34344
|
8424
-
8438
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
220
|
35698
|
8478
-
8512
|
Apply
|
scala.collection.SeqOps.contains
|
|
userAuth.user.roles.contains[org.make.core.user.Role](DefaultEventScopedModeratorApi.this.role)
|
|
220
|
38545
|
8507
-
8511
|
Select
|
org.make.api.user.DefaultEventScopedModeratorApiComponent.DefaultEventScopedModeratorApi.role
|
|
DefaultEventScopedModeratorApi.this.role
|
|
221
|
48488
|
8537
-
8606
|
Apply
|
scala.Boolean.||
|
|
isScopedModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin)
|
|
221
|
32556
|
8527
-
11138
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(isScopedModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Update,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Update]).apply(((request: org.make.api.user.EventScopedModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(user).unary_!)
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
{
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(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
}))))))
|
|
221
|
40894
|
8527
-
8607
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultEventScopedModeratorApi.this.authorize(isScopedModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))
|
|
222
|
33059
|
8626
-
8639
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultEventScopedModeratorApi.this.decodeRequest
|
|
222
|
36479
|
8626
-
11122
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Update,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Update]).apply(((request: org.make.api.user.EventScopedModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(user).unary_!)
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
{
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(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
})))))
|
|
223
|
39613
|
8660
-
8707
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder))))
|
|
223
|
31458
|
8666
-
8666
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Update]
|
|
223
|
41981
|
8669
-
8669
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder)
|
|
223
|
46867
|
8667
-
8706
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder)))
|
|
223
|
34105
|
8669
-
8669
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder))
|
|
223
|
44871
|
8660
-
11104
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.EventScopedModerator.Request.Update,)](DefaultEventScopedModeratorApi.this.entity[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApi.this.as[org.make.api.user.EventScopedModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.EventScopedModerator.Request.Update](DefaultEventScopedModeratorApiComponent.this.unmarshaller[org.make.api.user.EventScopedModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.EventScopedModerator.Request.Update]).apply(((request: org.make.api.user.EventScopedModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(user).unary_!)
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
{
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(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
}))))
|
|
223
|
45083
|
8669
-
8669
|
Select
|
org.make.api.user.EventScopedModerator.Request.Update.decoder
|
|
Request.this.Update.decoder
|
|
224
|
48528
|
8778
-
8810
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)
|
|
224
|
31529
|
8778
-
11084
|
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](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (DefaultEventScopedModeratorApi.this.isModerator(user).unary_!)
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
else
{
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(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
}))
|
|
224
|
40094
|
8778
-
8832
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound
|
|
224
|
32479
|
8811
-
8811
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
225
|
46154
|
8869
-
8887
|
Select
|
scala.Boolean.unary_!
|
|
DefaultEventScopedModeratorApi.this.isModerator(user).unary_!
|
|
226
|
31496
|
8915
-
8945
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
|
|
226
|
34142
|
8936
-
8936
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
226
|
46633
|
8924
-
8944
|
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)
|
|
226
|
41734
|
8924
-
8944
|
Select
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
226
|
39045
|
8915
-
8945
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
|
|
227
|
38377
|
8975
-
11062
|
Block
|
<nosymbol>
|
|
{
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(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
}
|
|
228
|
45032
|
9013
-
9071
|
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)
|
|
228
|
40130
|
9031
-
9048
|
Apply
|
scala.collection.IterableOps.map
|
|
x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
228
|
48281
|
9037
-
9047
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
228
|
32236
|
9060
-
9070
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
229
|
30627
|
9096
-
9218
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(roles.==(user.roles)))
|
|
230
|
41772
|
9143
-
9153
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
230
|
33344
|
9182
-
9192
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
230
|
46669
|
9173
-
9192
|
Apply
|
java.lang.Object.==
|
|
roles.==(user.roles)
|
|
230
|
38800
|
9134
-
9192
|
Apply
|
scala.Boolean.||
|
|
roles.!=(user.roles).&&(isSuperAdmin).||(roles.==(user.roles))
|
|
231
|
46947
|
9096
-
11038
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultEventScopedModeratorApi.this.authorize(roles.!=(user.roles).&&(isSuperAdmin).||(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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
})
|
|
232
|
48322
|
9269
-
9318
|
Apply
|
java.lang.String.toLowerCase
|
|
request.email.getOrElse[String](user.email).toLowerCase()
|
|
233
|
51392
|
9345
-
11012
|
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]](DefaultEventScopedModeratorApiComponent.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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
}))
|
|
233
|
32272
|
9345
-
9400
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultEventScopedModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective
|
|
233
|
45075
|
9389
-
9389
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
233
|
39898
|
9345
-
9388
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultEventScopedModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)
|
|
234
|
39929
|
9444
-
9968
|
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)))))
|
|
235
|
48769
|
9509
-
9938
|
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)))
|
|
236
|
30661
|
9562
-
9906
|
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))
|
|
237
|
37204
|
9630
-
9637
|
Literal
|
<nosymbol>
|
|
"email"
|
|
238
|
33381
|
9673
-
9693
|
Literal
|
<nosymbol>
|
|
"already_registered"
|
|
239
|
46433
|
9769
-
9786
|
Select
|
org.make.core.user.UserId.value
|
|
user.userId.value
|
|
239
|
39599
|
9741
-
9786
|
Apply
|
java.lang.Object.==
|
|
userToCheck.userId.value.==(user.userId.value)
|
|
246
|
43779
|
9998
-
10792
|
Apply
|
org.make.api.user.UserService.update
|
|
DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)
|
|
247
|
38261
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$25
|
|
user.copy$default$25
|
|
247
|
45367
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
247
|
47206
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
247
|
44311
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$9
|
|
user.copy$default$9
|
|
247
|
38309
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$4
|
|
user.copy$default$4
|
|
247
|
31732
|
10081
-
10712
|
Apply
|
org.make.core.user.User.copy
|
|
user.copy(x$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
|
|
247
|
39394
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
247
|
33930
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
247
|
32267
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
247
|
33891
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
247
|
31546
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
247
|
50898
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
247
|
31779
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
247
|
40422
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
247
|
32024
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$23
|
|
user.copy$default$23
|
|
247
|
46424
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$18
|
|
user.copy$default$18
|
|
247
|
37802
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
247
|
45942
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
247
|
40463
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
247
|
44348
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
247
|
38582
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
247
|
46462
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
247
|
46178
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
247
|
38830
|
10086
-
10086
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
249
|
46138
|
10197
-
10237
|
Apply
|
scala.Option.orElse
|
|
request.firstName.orElse[String](user.firstName)
|
|
249
|
32306
|
10222
-
10236
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
250
|
37240
|
10309
-
10321
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
250
|
33848
|
10283
-
10322
|
Apply
|
scala.Option.getOrElse
|
|
request.country.getOrElse[org.make.core.reference.Country](user.country)
|
|
251
|
39637
|
10369
-
10410
|
Apply
|
scala.Option.getOrElse
|
|
request.language.getOrElse[org.make.core.reference.Language](user.language)
|
|
251
|
46467
|
10396
-
10409
|
Select
|
org.make.core.user.User.language
|
|
user.language
|
|
254
|
40383
|
10658
-
10678
|
Select
|
org.make.core.user.User.availableEvents
|
|
user.availableEvents
|
|
254
|
32838
|
10658
-
10678
|
Block
|
org.make.core.user.User.availableEvents
|
|
user.availableEvents
|
|
254
|
31743
|
10629
-
10652
|
Select
|
org.make.api.user.EventScopedModerator.Request.Update.availableEvents
|
|
request.availableEvents
|
|
254
|
44554
|
10629
-
10652
|
Block
|
org.make.api.user.EventScopedModerator.Request.Update.availableEvents
|
|
request.availableEvents
|
|
258
|
39678
|
9998
-
10835
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective
|
|
258
|
38337
|
9998
-
10984
|
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](DefaultEventScopedModeratorApiComponent.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: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = if (isAdmin)
request.availableEvents
else
user.availableEvents;
<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$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<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.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))))
|
|
258
|
32062
|
10824
-
10824
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
259
|
44835
|
10908
-
10908
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])
|
|
259
|
38620
|
10908
-
10908
|
Select
|
org.make.api.user.EventScopedModerator.Response.encoder
|
|
EventScopedModerator.this.Response.encoder
|
|
259
|
50331
|
10893
-
10951
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user))
|
|
259
|
31813
|
10893
-
10951
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response])))
|
|
259
|
46212
|
10908
-
10908
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
259
|
45120
|
10893
-
10907
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
259
|
31495
|
10908
-
10908
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]
|
|
259
|
45933
|
10884
-
10952
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultEventScopedModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))))
|
|
259
|
38295
|
10911
-
10951
|
Apply
|
org.make.api.user.EventScopedModerator.Response.from
|
|
EventScopedModerator.Response.from(user)
|
|
259
|
40418
|
10908
-
10908
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.EventScopedModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultEventScopedModeratorApiComponent.this.marshaller[org.make.api.user.EventScopedModerator.Response](EventScopedModerator.this.Response.encoder, DefaultEventScopedModeratorApiComponent.this.marshaller$default$2[org.make.api.user.EventScopedModerator.Response]))
|
|
292
|
38576
|
11936
-
11966
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(Create.this.email).toEmail).throwIfInvalid()
|
|
294
|
42793
|
11974
-
12223
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.mandatoryField("firstName", Create.this.firstName, org.make.core.Validation.mandatoryField$default$3), org.make.core.Validation.validateOptionalUserInput("firstName", Create.this.firstName, scala.None), org.make.core.Validation.mandatoryField("country", Create.this.country, org.make.core.Validation.mandatoryField$default$3), org.make.core.Validation.mandatoryField("language", Create.this.language, org.make.core.Validation.mandatoryField$default$3))
|
|
295
|
36520
|
12003
-
12003
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
295
|
44630
|
12031
-
12040
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.firstName
|
|
Create.this.firstName
|
|
295
|
32305
|
12003
-
12041
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("firstName", Create.this.firstName, org.make.core.Validation.mandatoryField$default$3)
|
|
295
|
31569
|
12018
-
12029
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
296
|
45113
|
12077
-
12088
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
296
|
43043
|
12051
-
12106
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("firstName", Create.this.firstName, scala.None)
|
|
296
|
38128
|
12090
-
12099
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.firstName
|
|
Create.this.firstName
|
|
296
|
50652
|
12101
-
12105
|
Select
|
scala.None
|
|
scala.None
|
|
297
|
44135
|
12135
-
12135
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
297
|
38617
|
12150
-
12159
|
Literal
|
<nosymbol>
|
|
"country"
|
|
297
|
30700
|
12161
-
12168
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.country
|
|
Create.this.country
|
|
297
|
36273
|
12135
-
12169
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("country", Create.this.country, org.make.core.Validation.mandatoryField$default$3)
|
|
298
|
50686
|
12179
-
12215
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("language", Create.this.language, org.make.core.Validation.mandatoryField$default$3)
|
|
298
|
45150
|
12206
-
12214
|
Select
|
org.make.api.user.EventScopedModerator.Request.Create.language
|
|
Create.this.language
|
|
298
|
37281
|
12179
-
12179
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
298
|
31805
|
12194
-
12204
|
Literal
|
<nosymbol>
|
|
"language"
|
|
302
|
38366
|
12296
-
12317
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.EventScopedModerator.Request.Create]({
val inst$macro$28: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.EventScopedModerator.Request.Create] = {
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.EventScopedModerator.Request.Create] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.EventScopedModerator.Request.Create, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.EventScopedModerator.Request.Create, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.EventScopedModerator.Request.Create, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil](::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("availableEvents"), shapeless.HNil.type](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")], HNil))))))), Generic.instance[org.make.api.user.EventScopedModerator.Request.Create, String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil](((x0$3: org.make.api.user.EventScopedModerator.Request.Create) => x0$3 match {
case (email: String, firstName: Option[String], roles: Option[Seq[String]], country: org.make.core.reference.Country, language: org.make.core.reference.Language, availableEvents: Seq[org.make.core.EventId]): org.make.api.user.EventScopedModerator.Request.Create((email$macro$20 @ _), (firstName$macro$21 @ _), (roles$macro$22 @ _), (country$macro$23 @ _), (language$macro$24 @ _), (availableEvents$macro$25 @ _)) => ::.apply[String, Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](email$macro$20, ::.apply[Option[String], Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](firstName$macro$21, ::.apply[Option[Seq[String]], org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](roles$macro$22, ::.apply[org.make.core.reference.Country, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](country$macro$23, ::.apply[org.make.core.reference.Language, Seq[org.make.core.EventId] :: shapeless.HNil.type](language$macro$24, ::.apply[Seq[org.make.core.EventId], shapeless.HNil.type](availableEvents$macro$25, HNil)))))).asInstanceOf[String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil]
}), ((x0$4: String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil) => x0$4 match {
case (head: String, tail: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((email$macro$14 @ _), (head: Option[String], tail: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((firstName$macro$15 @ _), (head: Option[Seq[String]], tail: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((roles$macro$16 @ _), (head: org.make.core.reference.Country, tail: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((country$macro$17 @ _), (head: org.make.core.reference.Language, tail: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((language$macro$18 @ _), (head: Seq[org.make.core.EventId], tail: shapeless.HNil): Seq[org.make.core.EventId] :: shapeless.HNil((availableEvents$macro$19 @ _), HNil)))))) => Request.this.Create.apply(email$macro$14, firstName$macro$15, roles$macro$16, country$macro$17, language$macro$18, availableEvents$macro$19)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Option[Seq[String]], (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableEvents")]](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableEvents")]])), 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("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("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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$27.this.inst$macro$26)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.EventScopedModerator.Request.Create]];
<stable> <accessor> lazy val inst$macro$26: 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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForemail: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForfirstName: 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[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 circeGenericDecoderForavailableEvents: io.circe.Decoder[Seq[org.make.core.EventId]] = circe.this.Decoder.decodeSeq[org.make.core.EventId](core.this.EventId.eventIdDecoder);
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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecode(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("roles"), Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecode(c.downField("availableEvents")), 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"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecodeAccumulating(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("roles"), Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecodeAccumulating(c.downField("availableEvents")), 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"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[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("availableEvents"),Seq[org.make.core.EventId]] :: 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.EventScopedModerator.Request.Create]](inst$macro$28)
})
|
|
323
|
30738
|
13046
-
13047
|
Literal
|
<nosymbol>
|
|
3
|
|
326
|
36311
|
13097
-
13104
|
Literal
|
<nosymbol>
|
|
"email"
|
|
326
|
42295
|
13078
-
13110
|
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$5);
<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
|
|
326
|
44586
|
13078
-
13079
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$5)
|
|
326
|
31845
|
13080
-
13080
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$1.toSanitizedInput$default$2
|
|
326
|
38083
|
13096
-
13096
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
326
|
38406
|
13068
-
13111
|
Apply
|
scala.Option.map
|
|
Update.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$5: 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$5);
<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))
|
|
326
|
44901
|
13078
-
13105
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$1.toSanitizedInput("email", x$2)
|
|
326
|
51139
|
13096
-
13096
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
327
|
48845
|
13131
-
13145
|
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$6).toEmail)(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
327
|
37038
|
13133
-
13133
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
327
|
44940
|
13121
-
13146
|
Apply
|
scala.Option.map
|
|
Update.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], org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$6).toEmail)(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
327
|
44620
|
13133
-
13133
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
327
|
30495
|
13131
-
13140
|
Select
|
org.make.core.Validation.StringWithParsers.toEmail
|
|
org.make.core.Validation.StringWithParsers(x$6).toEmail
|
|
328
|
37837
|
13170
-
13171
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$7)
|
|
328
|
43037
|
13172
-
13172
|
Select
|
org.make.core.Validation.StringWithParsers.toNonEmpty$default$2
|
|
qual$2.toNonEmpty$default$2
|
|
328
|
49565
|
13156
-
13201
|
Apply
|
scala.Option.map
|
|
Update.this.firstName.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.NonEmptyString]({
<artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$7);
<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))
|
|
328
|
51174
|
13183
-
13194
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
328
|
31313
|
13182
-
13182
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
328
|
36259
|
13170
-
13200
|
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$7);
<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
|
|
328
|
44381
|
13182
-
13182
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
328
|
39464
|
13170
-
13195
|
Apply
|
org.make.core.Validation.StringWithParsers.toNonEmpty
|
|
qual$2.toNonEmpty("firstName", x$4)
|
|
329
|
31057
|
13243
-
13243
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
329
|
37869
|
13244
-
13255
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
329
|
36302
|
13211
-
13262
|
Apply
|
scala.Option.map
|
|
Update.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], 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$8);
<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))
|
|
329
|
42779
|
13225
-
13256
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$3.toSanitizedInput("firstName", x$6)
|
|
329
|
44415
|
13225
-
13261
|
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$8);
<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
|
|
329
|
51209
|
13227
-
13227
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$3.toSanitizedInput$default$2
|
|
329
|
46014
|
13225
-
13226
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$8)
|
|
329
|
35185
|
13243
-
13243
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
330
|
42819
|
13292
-
13292
|
Select
|
org.make.core.Validation.StringWithParsers.withMaxLength$default$3
|
|
qual$4.withMaxLength$default$3
|
|
330
|
44452
|
13305
-
13305
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
330
|
44897
|
13284
-
13291
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$9.value)
|
|
330
|
37910
|
13306
-
13322
|
Select
|
org.make.api.user.EventScopedModerator.Request.Update.maxCountryLength
|
|
Update.this.maxCountryLength
|
|
330
|
50967
|
13324
-
13333
|
Literal
|
<nosymbol>
|
|
"country"
|
|
330
|
36047
|
13305
-
13305
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
330
|
49319
|
13284
-
13291
|
Select
|
org.make.core.reference.Country.value
|
|
x$9.value
|
|
330
|
34937
|
13292
-
13292
|
Select
|
org.make.core.Validation.StringWithParsers.withMaxLength$default$4
|
|
qual$4.withMaxLength$default$4
|
|
330
|
49355
|
13284
-
13339
|
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$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$9.value);
<artifact> val x$7: Int = Update.this.maxCountryLength;
<artifact> val x$8: String("country") = "country";
<artifact> val x$9: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4;
qual$4.withMaxLength(x$7, "country", x$9, x$10)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
330
|
30490
|
13284
-
13334
|
Apply
|
org.make.core.Validation.StringWithParsers.withMaxLength
|
|
qual$4.withMaxLength(x$7, "country", x$9, x$10)
|
|
330
|
45969
|
13272
-
13340
|
Apply
|
scala.Option.map
|
|
Update.this.country.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$9: 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$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$9.value);
<artifact> val x$7: Int = Update.this.maxCountryLength;
<artifact> val x$8: String("country") = "country";
<artifact> val x$9: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4;
qual$4.withMaxLength(x$7, "country", x$9, x$10)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
331
|
37067
|
13349
-
13349
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[Option[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]]]
|
|
331
|
42572
|
13055
-
13384
|
Apply
|
scala.collection.IterableOnceOps.foreach
|
|
scala.`package`.Seq.apply[Option[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]]](Update.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$5: 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$5);
<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)), Update.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], org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$6).toEmail)(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), Update.this.firstName.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.NonEmptyString]({
<artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$7);
<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)), Update.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], 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$8);
<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)), Update.this.country.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$9: 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$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$9.value);
<artifact> val x$7: Int = Update.this.maxCountryLength;
<artifact> val x$8: String("country") = "country";
<artifact> val x$9: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4;
qual$4.withMaxLength(x$7, "country", x$9, x$10)
})(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$10: cats.data.ValidatedNec[org.make.core.ValidationError,Unit]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](x$10).throwIfInvalid()))
|
|
331
|
50464
|
13365
-
13383
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](x$10).throwIfInvalid()
|
|
335
|
34449
|
13458
-
13479
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.EventScopedModerator.Request.Update]({
val inst$macro$28: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.EventScopedModerator.Request.Update] = {
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.EventScopedModerator.Request.Update] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.EventScopedModerator.Request.Update, shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.EventScopedModerator.Request.Update, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.EventScopedModerator.Request.Update, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil](::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("availableEvents"), shapeless.HNil.type](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")], HNil))))))), Generic.instance[org.make.api.user.EventScopedModerator.Request.Update, Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil](((x0$3: org.make.api.user.EventScopedModerator.Request.Update) => x0$3 match {
case (email: Option[String], firstName: Option[String], roles: Option[Seq[String]], country: Option[org.make.core.reference.Country], language: Option[org.make.core.reference.Language], availableEvents: Seq[org.make.core.EventId]): org.make.api.user.EventScopedModerator.Request.Update((email$macro$20 @ _), (firstName$macro$21 @ _), (roles$macro$22 @ _), (country$macro$23 @ _), (language$macro$24 @ _), (availableEvents$macro$25 @ _)) => ::.apply[Option[String], Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil.type](email$macro$20, ::.apply[Option[String], Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil.type](firstName$macro$21, ::.apply[Option[Seq[String]], Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil.type](roles$macro$22, ::.apply[Option[org.make.core.reference.Country], Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil.type](country$macro$23, ::.apply[Option[org.make.core.reference.Language], Seq[org.make.core.EventId] :: shapeless.HNil.type](language$macro$24, ::.apply[Seq[org.make.core.EventId], shapeless.HNil.type](availableEvents$macro$25, HNil)))))).asInstanceOf[Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil]
}), ((x0$4: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil) => x0$4 match {
case (head: Option[String], tail: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((email$macro$14 @ _), (head: Option[String], tail: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((firstName$macro$15 @ _), (head: Option[Seq[String]], tail: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((roles$macro$16 @ _), (head: Option[org.make.core.reference.Country], tail: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((country$macro$17 @ _), (head: Option[org.make.core.reference.Language], tail: Seq[org.make.core.EventId] :: shapeless.HNil): Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((language$macro$18 @ _), (head: Seq[org.make.core.EventId], tail: shapeless.HNil): Seq[org.make.core.EventId] :: shapeless.HNil((availableEvents$macro$19 @ _), HNil)))))) => Request.this.Update.apply(email$macro$14, firstName$macro$15, roles$macro$16, country$macro$17, language$macro$18, availableEvents$macro$19)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), Option[String], (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: 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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Option[Seq[String]], (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), Option[org.make.core.reference.Country], (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), Option[org.make.core.reference.Language], (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableEvents")]](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableEvents")]])), 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("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("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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$27.this.inst$macro$26)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.EventScopedModerator.Request.Update]];
<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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForfirstName: 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 circeGenericDecoderForlanguage: io.circe.Decoder[Option[org.make.core.reference.Language]] = circe.this.Decoder.decodeOption[org.make.core.reference.Language](reference.this.Language.LanguageDecoder);
private[this] val circeGenericDecoderForavailableEvents: io.circe.Decoder[Seq[org.make.core.EventId]] = circe.this.Decoder.decodeSeq[org.make.core.EventId](core.this.EventId.eventIdDecoder);
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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecode(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("firstName"), 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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecode(c.downField("firstName")), 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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("language"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecode(c.downField("availableEvents")), 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecodeAccumulating(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("firstName"), 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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecodeAccumulating(c.downField("firstName")), 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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("language"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecodeAccumulating(c.downField("availableEvents")), 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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.EventScopedModerator.Request.Update]](inst$macro$28)
})
|
|
358
|
49927
|
14254
-
14450
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.validateUserInput("email", Response.this.email, scala.None), org.make.core.Validation.validateOptionalUserInput("firstName", Response.this.firstName, scala.None), org.make.core.Validation.validateOptionalUserInput("lastName", Response.this.lastName, scala.None))
|
|
359
|
36086
|
14315
-
14319
|
Select
|
scala.None
|
|
scala.None
|
|
359
|
49122
|
14281
-
14320
|
Apply
|
org.make.core.Validation.validateUserInput
|
|
org.make.core.Validation.validateUserInput("email", Response.this.email, scala.None)
|
|
359
|
43607
|
14308
-
14313
|
Select
|
org.make.api.user.EventScopedModerator.Response.email
|
|
Response.this.email
|
|
359
|
30528
|
14299
-
14306
|
Literal
|
<nosymbol>
|
|
"email"
|
|
360
|
42615
|
14328
-
14383
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("firstName", Response.this.firstName, scala.None)
|
|
360
|
40993
|
14354
-
14365
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
360
|
37108
|
14367
-
14376
|
Select
|
org.make.api.user.EventScopedModerator.Response.firstName
|
|
Response.this.firstName
|
|
360
|
50927
|
14378
-
14382
|
Select
|
scala.None
|
|
scala.None
|
|
361
|
35507
|
14417
-
14427
|
Literal
|
<nosymbol>
|
|
"lastName"
|
|
361
|
44412
|
14439
-
14443
|
Select
|
scala.None
|
|
scala.None
|
|
361
|
31609
|
14429
-
14437
|
Select
|
org.make.api.user.EventScopedModerator.Response.lastName
|
|
Response.this.lastName
|
|
361
|
36551
|
14391
-
14444
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("lastName", Response.this.lastName, scala.None)
|
|
365
|
41033
|
14545
-
14568
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.user.EventScopedModerator.Response]({
val inst$macro$36: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.EventScopedModerator.Response] = {
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.encoding.DerivedAsObjectEncoder[org.make.api.user.EventScopedModerator.Response] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.user.EventScopedModerator.Response, 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.EventScopedModerator.Response, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.EventScopedModerator.Response, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: 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("language")) :: (Symbol @@ String("availableEvents")) :: 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("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("availableEvents"), shapeless.HNil.type](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")], HNil))))))))), Generic.instance[org.make.api.user.EventScopedModerator.Response, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil](((x0$3: org.make.api.user.EventScopedModerator.Response) => 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, language: org.make.core.reference.Language, availableEvents: Seq[org.make.core.EventId]): org.make.api.user.EventScopedModerator.Response((id$macro$26 @ _), (email$macro$27 @ _), (firstName$macro$28 @ _), (lastName$macro$29 @ _), (roles$macro$30 @ _), (country$macro$31 @ _), (language$macro$32 @ _), (availableEvents$macro$33 @ _)) => ::.apply[org.make.core.user.UserId, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](id$macro$26, ::.apply[String, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](email$macro$27, ::.apply[Option[String], Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](firstName$macro$28, ::.apply[Option[String], Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](lastName$macro$29, ::.apply[Seq[org.make.core.user.Role], org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](roles$macro$30, ::.apply[org.make.core.reference.Country, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](country$macro$31, ::.apply[org.make.core.reference.Language, Seq[org.make.core.EventId] :: shapeless.HNil.type](language$macro$32, ::.apply[Seq[org.make.core.EventId], shapeless.HNil.type](availableEvents$macro$33, HNil)))))))).asInstanceOf[org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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 :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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 :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((id$macro$18 @ _), (head: String, tail: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((email$macro$19 @ _), (head: Option[String], tail: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((firstName$macro$20 @ _), (head: Option[String], tail: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((lastName$macro$21 @ _), (head: Seq[org.make.core.user.Role], tail: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((roles$macro$22 @ _), (head: org.make.core.reference.Country, tail: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((country$macro$23 @ _), (head: org.make.core.reference.Language, tail: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((language$macro$24 @ _), (head: Seq[org.make.core.EventId], tail: shapeless.HNil): Seq[org.make.core.EventId] :: shapeless.HNil((availableEvents$macro$25 @ _), HNil)))))))) => EventScopedModerator.this.Response.apply(id$macro$18, email$macro$19, firstName$macro$20, lastName$macro$21, roles$macro$22, country$macro$23, language$macro$24, availableEvents$macro$25)
})), 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("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Seq[org.make.core.user.Role], (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableEvents")]](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableEvents")]])), 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("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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$35.this.inst$macro$34)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.EventScopedModerator.Response]];
<stable> <accessor> lazy val inst$macro$34: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.user.UserId] = Response.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] = Response.this.stringValueEncoder[org.make.core.reference.Country];
private[this] val circeGenericEncoderForlanguage: io.circe.Encoder[org.make.core.reference.Language] = Response.this.stringValueEncoder[org.make.core.reference.Language];
private[this] val circeGenericEncoderForavailableEvents: io.circe.Encoder.AsArray[Seq[org.make.core.EventId]] = circe.this.Encoder.encodeSeq[org.make.core.EventId](Response.this.stringValueEncoder[org.make.core.EventId]);
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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): 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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcountry @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language], tail: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlanguage @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForavailableEvents @ _), 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]("language", $anon.this.circeGenericEncoderForlanguage.apply(circeGenericHListBindingForlanguage)), scala.Tuple2.apply[String, io.circe.Json]("availableEvents", $anon.this.circeGenericEncoderForavailableEvents.apply(circeGenericHListBindingForavailableEvents))))
}
};
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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$35().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.EventScopedModerator.Response]](inst$macro$36)
})
|
|
366
|
38163
|
14615
-
14638
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.EventScopedModerator.Response]({
val inst$macro$72: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.EventScopedModerator.Response] = {
final class anon$lazy$macro$71 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$71 = {
anon$lazy$macro$71.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$37: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.EventScopedModerator.Response] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.EventScopedModerator.Response, 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.EventScopedModerator.Response, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.EventScopedModerator.Response, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: 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("language")) :: (Symbol @@ String("availableEvents")) :: 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("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("availableEvents"), shapeless.HNil.type](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")], HNil))))))))), Generic.instance[org.make.api.user.EventScopedModerator.Response, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil](((x0$7: org.make.api.user.EventScopedModerator.Response) => 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, language: org.make.core.reference.Language, availableEvents: Seq[org.make.core.EventId]): org.make.api.user.EventScopedModerator.Response((id$macro$62 @ _), (email$macro$63 @ _), (firstName$macro$64 @ _), (lastName$macro$65 @ _), (roles$macro$66 @ _), (country$macro$67 @ _), (language$macro$68 @ _), (availableEvents$macro$69 @ _)) => ::.apply[org.make.core.user.UserId, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](id$macro$62, ::.apply[String, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](email$macro$63, ::.apply[Option[String], Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](firstName$macro$64, ::.apply[Option[String], Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](lastName$macro$65, ::.apply[Seq[org.make.core.user.Role], org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](roles$macro$66, ::.apply[org.make.core.reference.Country, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](country$macro$67, ::.apply[org.make.core.reference.Language, Seq[org.make.core.EventId] :: shapeless.HNil.type](language$macro$68, ::.apply[Seq[org.make.core.EventId], shapeless.HNil.type](availableEvents$macro$69, HNil)))))))).asInstanceOf[org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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 :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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 :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((id$macro$54 @ _), (head: String, tail: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((email$macro$55 @ _), (head: Option[String], tail: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((firstName$macro$56 @ _), (head: Option[String], tail: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((lastName$macro$57 @ _), (head: Seq[org.make.core.user.Role], tail: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((roles$macro$58 @ _), (head: org.make.core.reference.Country, tail: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((country$macro$59 @ _), (head: org.make.core.reference.Language, tail: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((language$macro$60 @ _), (head: Seq[org.make.core.EventId], tail: shapeless.HNil): Seq[org.make.core.EventId] :: shapeless.HNil((availableEvents$macro$61 @ _), HNil)))))))) => EventScopedModerator.this.Response.apply(id$macro$54, email$macro$55, firstName$macro$56, lastName$macro$57, roles$macro$58, country$macro$59, language$macro$60, availableEvents$macro$61)
})), 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("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Seq[org.make.core.user.Role], (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableEvents")]](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableEvents")]])), 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("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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$71.this.inst$macro$70)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.EventScopedModerator.Response]];
<stable> <accessor> lazy val inst$macro$70: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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 circeGenericDecoderForlanguage: io.circe.Decoder[org.make.core.reference.Language] = reference.this.Language.LanguageDecoder;
private[this] val circeGenericDecoderForavailableEvents: io.circe.Decoder[Seq[org.make.core.EventId]] = circe.this.Decoder.decodeSeq[org.make.core.EventId](core.this.EventId.eventIdDecoder);
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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecode(c.downField("availableEvents")), 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("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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecodeAccumulating(c.downField("availableEvents")), 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("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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$71().inst$macro$37
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.EventScopedModerator.Response]](inst$macro$72)
})
|
|
368
|
37661
|
14677
-
14941
|
Apply
|
org.make.api.user.EventScopedModerator.Response.apply
|
|
EventScopedModerator.this.Response.apply(user.userId, user.email, user.firstName, user.lastName, user.roles, user.country, user.language, user.availableEvents)
|
|
369
|
50961
|
14698
-
14709
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
370
|
43077
|
14725
-
14735
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
371
|
35547
|
14755
-
14769
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
372
|
31646
|
14788
-
14801
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
373
|
44170
|
14817
-
14827
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
374
|
36583
|
14845
-
14857
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
375
|
49348
|
14876
-
14889
|
Select
|
org.make.core.user.User.language
|
|
user.language
|
|
376
|
42094
|
14915
-
14935
|
Select
|
org.make.core.user.User.availableEvents
|
|
user.availableEvents
|