| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
160
|
32602
|
5809
-
5899
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this.adminGetQuestionPersonality).~(AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities)).~(AdminQuestionPersonalityApi.this.adminPostQuestionPersonality)
|
|
160
|
38138
|
5809
-
5935
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this.adminGetQuestionPersonality).~(AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities)).~(AdminQuestionPersonalityApi.this.adminPostQuestionPersonality)).~(AdminQuestionPersonalityApi.this.adminPutQuestionPersonality)
|
|
160
|
39118
|
5809
-
5836
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminGetQuestionPersonality
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminGetQuestionPersonality
|
|
160
|
30804
|
5839
-
5868
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminGetQuestionPersonalities
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities
|
|
160
|
35753
|
5871
-
5899
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminPostQuestionPersonality
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminPostQuestionPersonality
|
|
160
|
44623
|
5809
-
5868
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this.adminGetQuestionPersonality).~(AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities)
|
|
161
|
45648
|
5908
-
5935
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminPutQuestionPersonality
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminPutQuestionPersonality
|
|
161
|
43044
|
5809
-
5968
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this._enhanceRouteWithConcatenation(AdminQuestionPersonalityApi.this.adminGetQuestionPersonality).~(AdminQuestionPersonalityApi.this.adminGetQuestionPersonalities)).~(AdminQuestionPersonalityApi.this.adminPostQuestionPersonality)).~(AdminQuestionPersonalityApi.this.adminPutQuestionPersonality)).~(AdminQuestionPersonalityApi.this.adminDeleteQuestionPersonality)
|
|
161
|
51157
|
5938
-
5968
|
Select
|
org.make.api.personality.AdminQuestionPersonalityApi.adminDeleteQuestionPersonality
|
org.make.api.personality.adminquestionpersonalityapitest
|
AdminQuestionPersonalityApi.this.adminDeleteQuestionPersonality
|
|
182
|
44659
|
6707
-
6743
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminQuestionPersonalityApi.this.Segment).map[org.make.core.personality.PersonalityId](((id: String) => org.make.core.personality.PersonalityId.apply(id)))
|
|
182
|
30720
|
6725
-
6742
|
Apply
|
org.make.core.personality.PersonalityId.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
org.make.core.personality.PersonalityId.apply(id)
|
|
182
|
39153
|
6707
-
6714
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.Segment
|
|
185
|
36564
|
6808
-
6812
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.post
|
|
185
|
36600
|
6808
-
8520
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPostQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.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],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))))))))))
|
|
186
|
49562
|
6828
-
6835
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"admin"
|
|
186
|
45688
|
6838
-
6862
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
186
|
51197
|
6828
-
6862
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])
|
|
186
|
43080
|
6823
-
6863
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))
|
|
186
|
37287
|
6836
-
6836
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
186
|
44692
|
6823
-
8512
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPostQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.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],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
})))))))))))
|
|
187
|
30758
|
6876
-
6876
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
187
|
47556
|
6876
-
8502
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPostQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.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],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))))))))
|
|
187
|
38916
|
6890
-
6925
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"ModerationPostQuestionPersonality"
|
|
187
|
49597
|
6889
-
6889
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
187
|
43816
|
6876
-
6876
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
187
|
36324
|
6876
-
6926
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPostQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
188
|
34789
|
6946
-
8490
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))))))
|
|
188
|
44893
|
6946
-
6956
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
188
|
37323
|
6946
-
6946
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
189
|
43354
|
7003
-
8476
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))))
|
|
189
|
42826
|
7003
-
7030
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
189
|
50087
|
7020
-
7029
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
190
|
50176
|
7049
-
8460
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
})))))
|
|
190
|
38951
|
7049
-
7062
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminQuestionPersonalityApi.this.decodeRequest
|
|
191
|
43857
|
7092
-
7092
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)
|
|
191
|
49353
|
7090
-
7126
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))
|
|
191
|
38168
|
7083
-
8442
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.personality.CreateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.CreateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))))
|
|
191
|
30515
|
7092
-
7092
|
Select
|
org.make.api.personality.CreateQuestionPersonalityRequest.decoder
|
|
personality.this.CreateQuestionPersonalityRequest.decoder
|
|
191
|
44927
|
7083
-
7127
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.CreateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder))))
|
|
191
|
35741
|
7092
-
7092
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.CreateQuestionPersonalityRequest](personality.this.CreateQuestionPersonalityRequest.decoder))
|
|
191
|
37362
|
7089
-
7089
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.personality.CreateQuestionPersonalityRequest]
|
|
193
|
51188
|
7161
-
7575
|
Apply
|
org.make.api.personality.QuestionPersonalityService.find
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)
|
|
194
|
51153
|
7250
-
7272
|
Select
|
org.make.core.technical.Pagination.Offset.zero
|
|
org.make.core.technical.Pagination.Offset.zero
|
|
195
|
42270
|
7304
-
7308
|
Select
|
scala.None
|
|
scala.None
|
|
196
|
34466
|
7341
-
7345
|
Select
|
scala.None
|
|
scala.None
|
|
197
|
30554
|
7379
-
7383
|
Select
|
scala.None
|
|
scala.None
|
|
198
|
44648
|
7423
-
7437
|
Select
|
org.make.api.personality.CreateQuestionPersonalityRequest.userId
|
|
request.userId
|
|
198
|
36809
|
7418
-
7438
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserId](request.userId)
|
|
199
|
48803
|
7482
-
7500
|
Select
|
org.make.api.personality.CreateQuestionPersonalityRequest.questionId
|
|
request.questionId
|
|
199
|
46003
|
7477
-
7501
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](request.questionId)
|
|
200
|
37117
|
7547
-
7551
|
Select
|
scala.None
|
|
scala.None
|
|
202
|
35204
|
7599
-
7599
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]
|
|
202
|
41567
|
7161
-
8422
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.Personality],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.Personality]]).apply(((x0$1: Seq[org.make.core.personality.Personality]) => x0$1 match {
case (duplicates @ _) if duplicates.nonEmpty => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
case _ => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
}))
|
|
202
|
43331
|
7161
-
7610
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[org.make.core.user.UserId](request.userId), scala.Some.apply[org.make.core.question.QuestionId](request.questionId), scala.None)).asDirective
|
|
203
|
30588
|
7656
-
7675
|
Select
|
scala.collection.IterableOnceOps.nonEmpty
|
|
duplicates.nonEmpty
|
|
204
|
41774
|
7705
-
8128
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))))
|
|
205
|
43366
|
7766
-
7766
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
205
|
50950
|
7743
-
8100
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String))))
|
|
205
|
44410
|
7743
-
7765
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
205
|
36607
|
7766
-
7766
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]))
|
|
205
|
31050
|
7766
-
7766
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError]
|
|
205
|
37160
|
7769
-
8100
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))
|
|
205
|
44448
|
7766
-
7766
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError])
|
|
205
|
34958
|
7766
-
7766
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
205
|
49345
|
7743
-
8100
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "already_defined", scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String)))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.ValidationError](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.core.ValidationError](core.this.ValidationError.codec, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.core.ValidationError])))
|
|
206
|
36846
|
7816
-
7824
|
Literal
|
<nosymbol>
|
|
"userId"
|
|
207
|
49304
|
7856
-
7873
|
Literal
|
<nosymbol>
|
|
"already_defined"
|
|
208
|
41738
|
7905
-
8070
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("User with id : ".+(request.userId.value).+(" is already defined as a personality for this question"): String))
|
|
214
|
49141
|
8189
-
8398
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])))(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
|
|
214
|
37073
|
8199
-
8252
|
Apply
|
org.make.api.personality.QuestionPersonalityService.createPersonality
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request)
|
|
214
|
50988
|
8243
-
8243
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.personality.Personality]
|
|
214
|
31088
|
8198
-
8198
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.Personality]
|
|
214
|
34996
|
8189
-
8253
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultAdminQuestionPersonalityApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality]))
|
|
214
|
42580
|
8199
-
8252
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.createPersonality(request))(util.this.Tupler.forAnyRef[org.make.core.personality.Personality])
|
|
215
|
50137
|
8323
-
8323
|
Select
|
org.make.api.personality.PersonalityIdResponse.encoder
|
|
personality.this.PersonalityIdResponse.encoder
|
|
215
|
42618
|
8323
-
8323
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]
|
|
215
|
36646
|
8348
-
8368
|
Select
|
org.make.core.personality.Personality.personalityId
|
|
result.personalityId
|
|
215
|
47516
|
8323
-
8323
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))
|
|
215
|
37109
|
8323
-
8323
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
215
|
41535
|
8303
-
8369
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId))
|
|
215
|
49385
|
8326
-
8369
|
Apply
|
org.make.api.personality.PersonalityIdResponse.apply
|
|
PersonalityIdResponse.apply(result.personalityId)
|
|
215
|
43634
|
8303
-
8369
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])))
|
|
215
|
35033
|
8323
-
8323
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])
|
|
215
|
36567
|
8294
-
8370
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))
|
|
215
|
43597
|
8303
-
8322
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
228
|
41120
|
8590
-
9314
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPutQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])))))))))))))))))
|
|
228
|
49883
|
8590
-
8593
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.put
|
|
229
|
44730
|
8604
-
8660
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]))
|
|
229
|
36636
|
8608
-
8608
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]
|
|
229
|
50973
|
8617
-
8617
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
229
|
48613
|
8609
-
8659
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])
|
|
229
|
35535
|
8644
-
8644
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]
|
|
229
|
43119
|
8646
-
8659
|
Select
|
org.make.api.personality.DefaultAdminQuestionPersonalityApiComponent.DefaultAdminQuestionPersonalityApi.personalityId
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.personalityId
|
|
229
|
42090
|
8609
-
8616
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"admin"
|
|
229
|
49384
|
8604
-
9306
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPutQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))))))))))
|
|
229
|
38205
|
8619
-
8643
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
230
|
34262
|
8690
-
8690
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
230
|
41523
|
8690
-
8690
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
230
|
36914
|
8690
-
9296
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPutQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))))))))
|
|
230
|
43152
|
8703
-
8703
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
230
|
50736
|
8690
-
8739
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationPutQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
230
|
49635
|
8704
-
8738
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"ModerationPutQuestionPersonality"
|
|
231
|
48055
|
8759
-
8759
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
231
|
34751
|
8759
-
8769
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
231
|
40783
|
8759
-
9284
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))))))
|
|
232
|
36396
|
8816
-
8843
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
232
|
47886
|
8816
-
9270
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))))
|
|
232
|
44769
|
8833
-
8842
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
233
|
34583
|
8862
-
9254
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])))))))))
|
|
233
|
49672
|
8862
-
8875
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminQuestionPersonalityApi.this.decodeRequest
|
|
234
|
42906
|
8903
-
8939
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))
|
|
234
|
50771
|
8905
-
8905
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder))
|
|
234
|
41278
|
8905
-
8905
|
Select
|
org.make.api.personality.UpdateQuestionPersonalityRequest.decoder
|
|
personality.this.UpdateQuestionPersonalityRequest.decoder
|
|
234
|
42857
|
8896
-
9236
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.personality.UpdateQuestionPersonalityRequest,)](DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]).apply(((request: org.make.api.personality.UpdateQuestionPersonalityRequest) => server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))))
|
|
234
|
33699
|
8905
-
8905
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder)
|
|
234
|
34781
|
8896
-
8940
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminQuestionPersonalityApi.this.entity[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApi.this.as[org.make.api.personality.UpdateQuestionPersonalityRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](DefaultAdminQuestionPersonalityApiComponent.this.unmarshaller[org.make.api.personality.UpdateQuestionPersonalityRequest](personality.this.UpdateQuestionPersonalityRequest.decoder))))
|
|
234
|
47811
|
8902
-
8902
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.personality.UpdateQuestionPersonalityRequest]
|
|
235
|
39685
|
8974
-
9042
|
Apply
|
org.make.api.personality.QuestionPersonalityService.updatePersonality
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)
|
|
235
|
48899
|
9043
-
9043
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.Personality]
|
|
235
|
51264
|
8974
-
9216
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((result: org.make.core.personality.Personality) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))))
|
|
235
|
36433
|
8974
-
9064
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.updatePersonality(personalityId, request)).asDirectiveOrNotFound
|
|
237
|
48935
|
9147
-
9147
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))
|
|
237
|
39721
|
9147
-
9147
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]
|
|
237
|
34547
|
9147
-
9147
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
237
|
41317
|
9132
-
9146
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
237
|
33736
|
9172
-
9192
|
Select
|
org.make.core.personality.Personality.personalityId
|
|
result.personalityId
|
|
237
|
42950
|
9132
-
9193
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId))
|
|
237
|
41356
|
9132
-
9193
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])))
|
|
237
|
36879
|
9147
-
9147
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse])
|
|
237
|
51225
|
9150
-
9193
|
Apply
|
org.make.api.personality.PersonalityIdResponse.apply
|
|
PersonalityIdResponse.apply(result.personalityId)
|
|
237
|
34256
|
9123
-
9194
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.personality.PersonalityIdResponse](PersonalityIdResponse.apply(result.personalityId)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.personality.PersonalityIdResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.PersonalityIdResponse](personality.this.PersonalityIdResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.PersonalityIdResponse]))))
|
|
237
|
47850
|
9147
-
9147
|
Select
|
org.make.api.personality.PersonalityIdResponse.encoder
|
|
personality.this.PersonalityIdResponse.encoder
|
|
249
|
34293
|
9386
-
9389
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.get
|
|
249
|
37427
|
9386
-
12332
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonalities", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: 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[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId])](DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))))(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[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]).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], userId: Option[org.make.core.user.UserId], questionId: Option[org.make.core.question.QuestionId], personalityRoleId: Option[org.make.core.personality.PersonalityRoleId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))))))))))
|
|
250
|
35312
|
9413
-
9413
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
250
|
45827
|
9400
-
12324
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonalities", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: 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[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId])](DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))))(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[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]).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], userId: Option[org.make.core.user.UserId], questionId: Option[org.make.core.question.QuestionId], personalityRoleId: Option[org.make.core.personality.PersonalityRoleId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
}))))))))))
|
|
250
|
40823
|
9400
-
9440
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.path[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit]))
|
|
250
|
42898
|
9415
-
9439
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
250
|
47300
|
9405
-
9412
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"admin"
|
|
250
|
48406
|
9405
-
9439
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])
|
|
251
|
47338
|
9466
-
9466
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
251
|
36141
|
9467
-
9503
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"ModerationGetQuestionPersonalities"
|
|
251
|
32504
|
9453
-
12314
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonalities", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: 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[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId])](DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))))(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[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]).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], userId: Option[org.make.core.user.UserId], questionId: Option[org.make.core.question.QuestionId], personalityRoleId: Option[org.make.core.personality.PersonalityRoleId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))))))))
|
|
251
|
41846
|
9453
-
9453
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
251
|
49424
|
9453
-
9453
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
251
|
34051
|
9453
-
9504
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonalities", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
252
|
39507
|
9534
-
9534
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac7
|
org.make.api.personality.adminquestionpersonalityapitest
|
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[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]
|
|
252
|
47076
|
9524
-
9841
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller)))
|
|
253
|
36180
|
9550
-
9582
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller))
|
|
253
|
40572
|
9581
-
9581
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)
|
|
253
|
35069
|
9550
-
9582
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
|
|
253
|
42656
|
9550
-
9558
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"_start"
|
|
253
|
47838
|
9581
-
9581
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller
|
|
254
|
49457
|
9598
-
9604
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"_end"
|
|
254
|
33472
|
9624
-
9624
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller
|
|
254
|
41074
|
9598
-
9625
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
|
|
254
|
46546
|
9624
-
9624
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)
|
|
254
|
42688
|
9598
-
9625
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller))
|
|
255
|
35103
|
9641
-
9648
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"_sort"
|
|
255
|
32468
|
9649
-
9649
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
255
|
40004
|
9649
-
9649
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
255
|
47597
|
9641
-
9650
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?
|
|
255
|
49211
|
9641
-
9650
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
256
|
35638
|
9666
-
9686
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
256
|
33227
|
9666
-
9686
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
256
|
47291
|
9685
-
9685
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
256
|
41112
|
9666
-
9674
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"_order"
|
|
256
|
42721
|
9685
-
9685
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
257
|
47628
|
9702
-
9710
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"userId"
|
|
257
|
32932
|
9722
-
9722
|
Select
|
org.make.core.ParameterExtractors.userIdFromStringUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller
|
|
257
|
49248
|
9722
-
9722
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)
|
|
257
|
42163
|
9702
-
9723
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller))
|
|
257
|
39763
|
9702
-
9723
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?
|
|
258
|
47329
|
9739
-
9768
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?
|
|
258
|
33263
|
9739
-
9751
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"questionId"
|
|
258
|
39471
|
9767
-
9767
|
Select
|
org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller
|
|
258
|
35672
|
9767
-
9767
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)
|
|
258
|
48690
|
9739
-
9768
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller))
|
|
259
|
49168
|
9826
-
9826
|
Select
|
org.make.core.ParameterExtractors.personalityRoleIdFromStringUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller
|
|
259
|
33299
|
9784
-
9827
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.personality.adminquestionpersonalityapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))
|
|
259
|
42199
|
9826
-
9826
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.personality.adminquestionpersonalityapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller)
|
|
259
|
32969
|
9784
-
9827
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?
|
|
259
|
40568
|
9784
-
9803
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"personalityRoleId"
|
|
260
|
40650
|
9524
-
12302
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
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[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId])](DefaultAdminQuestionPersonalityApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminQuestionPersonalityApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminQuestionPersonalityApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminQuestionPersonalityApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminQuestionPersonalityApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminQuestionPersonalityApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserId](DefaultAdminQuestionPersonalityApi.this._string2NR("userId").as[org.make.core.user.UserId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserId](DefaultAdminQuestionPersonalityApiComponent.this.userIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApi.this._string2NR("questionId").as[org.make.core.question.QuestionId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.question.QuestionId](DefaultAdminQuestionPersonalityApiComponent.this.questionIdFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApi.this._string2NR("personalityRoleId").as[org.make.core.personality.PersonalityRoleId].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.personality.PersonalityRoleId](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleIdFromStringUnmarshaller))))(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[org.make.core.user.UserId], Option[org.make.core.question.QuestionId], Option[org.make.core.personality.PersonalityRoleId]]).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], userId: Option[org.make.core.user.UserId], questionId: Option[org.make.core.question.QuestionId], personalityRoleId: Option[org.make.core.personality.PersonalityRoleId]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))))))
|
|
270
|
48724
|
10216
-
10216
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
270
|
34817
|
10216
-
10226
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
270
|
47916
|
10216
-
12288
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))))
|
|
271
|
32716
|
10277
-
10304
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
271
|
40602
|
10294
-
10303
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
271
|
30860
|
10277
-
12270
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
})))
|
|
272
|
34853
|
10327
-
10695
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)
|
|
274
|
41355
|
10351
-
10479
|
Apply
|
org.make.api.personality.QuestionPersonalityService.find
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)
|
|
274
|
49202
|
10408
-
10421
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
275
|
33837
|
10351
-
10516
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective
|
|
277
|
47114
|
10540
-
10636
|
Apply
|
org.make.api.personality.QuestionPersonalityService.count
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)
|
|
278
|
38724
|
10540
-
10673
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective
|
|
279
|
39293
|
10327
-
12250
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[((Seq[org.make.core.personality.Personality], Int),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]).apply(((x0$1: (Seq[org.make.core.personality.Personality], Int)) => x0$1 match {
case (_1: Seq[org.make.core.personality.Personality], _2: Int): (Seq[org.make.core.personality.Personality], Int)((personalities @ _), (count @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
}))
|
|
279
|
48166
|
10696
-
10696
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
279
|
45241
|
10696
-
10696
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(Seq[org.make.core.personality.Personality], Int)]
|
|
279
|
40354
|
10696
-
10696
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
279
|
32756
|
10327
-
10702
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Seq[org.make.core.personality.Personality], Int](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Seq[org.make.core.personality.Personality]], akka.http.scaladsl.server.Directive1[Int]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.Personality]](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.find(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, userId, questionId, personalityRoleId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.count(userId, questionId, personalityRoleId)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
282
|
45285
|
10788
-
11179
|
Apply
|
org.make.api.personality.PersonalityRoleService.find
|
|
DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)
|
|
283
|
41393
|
10881
-
10903
|
Select
|
org.make.core.technical.Pagination.Offset.zero
|
|
org.make.core.technical.Pagination.Offset.zero
|
|
284
|
33254
|
10939
-
10943
|
Select
|
scala.None
|
|
scala.None
|
|
285
|
46867
|
10980
-
10984
|
Select
|
scala.None
|
|
scala.None
|
|
286
|
38766
|
11022
-
11026
|
Select
|
scala.None
|
|
scala.None
|
|
287
|
39789
|
11066
-
11110
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId)))
|
|
287
|
48679
|
11071
-
11109
|
Apply
|
scala.collection.IterableOps.map
|
|
personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))
|
|
287
|
34620
|
11089
-
11108
|
Select
|
org.make.core.personality.Personality.personalityRoleId
|
|
x$4.personalityRoleId
|
|
288
|
31969
|
11147
-
11151
|
Select
|
scala.None
|
|
scala.None
|
|
290
|
46862
|
10788
-
12227
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.personality.PersonalityRole],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]).apply(((personalityRoles: Seq[org.make.core.personality.PersonalityRole]) => {
@SuppressWarnings(value = ["org.wartremover.warts.Throw"]) val result: Seq[org.make.api.personality.AdminQuestionPersonalityResponse] = personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}));
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
}))
|
|
290
|
34327
|
11207
-
11207
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.personality.PersonalityRole]]
|
|
290
|
41426
|
10788
-
11218
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.personality.PersonalityRole]](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.find(org.make.core.technical.Pagination.Offset.zero, scala.None, scala.None, scala.None, scala.Some.apply[Seq[org.make.core.personality.PersonalityRoleId]](personalities.map[org.make.core.personality.PersonalityRoleId](((x$4: org.make.core.personality.Personality) => x$4.personalityRoleId))), scala.None)).asDirective
|
|
293
|
32706
|
11398
-
12095
|
Apply
|
scala.collection.IterableOps.map
|
|
personalities.map[org.make.api.personality.AdminQuestionPersonalityResponse](((personality: org.make.core.personality.Personality) => personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId))) match {
case (value: org.make.core.personality.PersonalityRole): Some[org.make.core.personality.PersonalityRole]((personalityRole @ _)) => AdminQuestionPersonalityResponse.apply(personality, personalityRole)
case scala.None => throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
}))
|
|
295
|
34652
|
11465
-
11586
|
Apply
|
scala.collection.IterableOnceOps.find
|
|
personalityRoles.find(((role: org.make.core.personality.PersonalityRole) => role.personalityRoleId.==(personality.personalityRoleId)))
|
|
295
|
46314
|
11556
-
11585
|
Select
|
org.make.core.personality.Personality.personalityRoleId
|
|
personality.personalityRoleId
|
|
295
|
38511
|
11530
-
11585
|
Apply
|
java.lang.Object.==
|
|
role.personalityRoleId.==(personality.personalityRoleId)
|
|
297
|
48714
|
11695
-
11757
|
Apply
|
org.make.api.personality.AdminQuestionPersonalityResponse.apply
|
|
AdminQuestionPersonalityResponse.apply(personality, personalityRole)
|
|
299
|
40865
|
11841
-
12029
|
Throw
|
<nosymbol>
|
|
throw new java.lang.IllegalStateException(("Unable to find the personality role with id ".+(personality.personalityRoleId): String))
|
|
304
|
41946
|
12173
-
12187
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
304
|
34367
|
12157
-
12188
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
304
|
41383
|
12135
-
12198
|
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.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]])))
|
|
304
|
48479
|
12135
-
12135
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder)
|
|
304
|
30948
|
12135
-
12135
|
Select
|
org.make.api.personality.AdminQuestionPersonalityResponse.encoder
|
|
personality.this.AdminQuestionPersonalityResponse.encoder
|
|
304
|
32467
|
12135
-
12135
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]])
|
|
304
|
34127
|
12126
-
12199
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](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())), result))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))))
|
|
304
|
39259
|
12135
-
12198
|
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.personality.AdminQuestionPersonalityResponse]](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())), result)
|
|
304
|
40897
|
12135
-
12135
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]
|
|
304
|
45323
|
12136
-
12150
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
304
|
45789
|
12135
-
12135
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]](circe.this.Encoder.encodeSeq[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder), DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[Seq[org.make.api.personality.AdminQuestionPersonalityResponse]]))
|
|
304
|
47377
|
12152
-
12189
|
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()))
|
|
316
|
45325
|
12402
-
13447
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))))))))))))))))
|
|
316
|
33547
|
12402
-
12405
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.get
|
|
317
|
47663
|
12458
-
12471
|
Select
|
org.make.api.personality.DefaultAdminQuestionPersonalityApiComponent.DefaultAdminQuestionPersonalityApi.personalityId
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.personalityId
|
|
317
|
32291
|
12416
-
13439
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))))))))))))))
|
|
317
|
40853
|
12456
-
12456
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]
|
|
317
|
32539
|
12421
-
12471
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])
|
|
317
|
39055
|
12431
-
12455
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
317
|
37464
|
12420
-
12420
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]
|
|
317
|
46627
|
12421
-
12428
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"admin"
|
|
317
|
45030
|
12416
-
12472
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]))
|
|
317
|
30902
|
12429
-
12429
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.personality.adminquestionpersonalityapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
318
|
47366
|
12502
-
12502
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
318
|
47701
|
12515
-
12515
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
318
|
33301
|
12516
-
12550
|
Literal
|
<nosymbol>
|
org.make.api.personality.adminquestionpersonalityapitest
|
"ModerationGetQuestionPersonality"
|
|
318
|
39088
|
12502
-
12502
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
318
|
40430
|
12502
-
13429
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))))))))))))
|
|
318
|
30651
|
12502
-
12551
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationGetQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
319
|
40887
|
12571
-
12581
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
319
|
43988
|
12571
-
13417
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))))))))))
|
|
319
|
33006
|
12571
-
12571
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.personality.adminquestionpersonalityapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
320
|
45071
|
12645
-
12654
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
320
|
31193
|
12628
-
13403
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))))))))
|
|
320
|
37215
|
12628
-
12655
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
321
|
47400
|
12674
-
12752
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound
|
|
321
|
38804
|
12674
-
13387
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.Personality,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.personality.Personality](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.personality.Personality]).apply(((personality: org.make.core.personality.Personality) => server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))))))))
|
|
321
|
39010
|
12731
-
12731
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.Personality]
|
|
321
|
34117
|
12674
-
12730
|
Apply
|
org.make.api.personality.QuestionPersonalityService.getPersonality
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.getPersonality(personalityId)
|
|
323
|
30689
|
12851
-
12880
|
Select
|
org.make.core.personality.Personality.personalityRoleId
|
|
personality.personalityRoleId
|
|
324
|
34151
|
12788
-
13198
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
324
|
37254
|
12910
-
12910
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
326
|
40638
|
12966
-
13133
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String)))
|
|
327
|
43744
|
13024
-
13107
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))
|
|
329
|
45537
|
12934
-
13176
|
Apply
|
scala.Option.fold
|
|
x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))
|
|
329
|
33043
|
13158
-
13175
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)
|
|
331
|
47155
|
12788
-
13231
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective
|
|
331
|
47190
|
12788
-
13369
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityRole,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.personality.PersonalityRole](DefaultAdminQuestionPersonalityApiComponent.this.personalityRoleService.getPersonalityRole(personality.personalityRoleId).flatMap[org.make.core.personality.PersonalityRole](((x$6: Option[org.make.core.personality.PersonalityRole]) => x$6.fold[scala.concurrent.Future[org.make.core.personality.PersonalityRole]](scala.concurrent.Future.failed[org.make.core.personality.PersonalityRole](new java.lang.IllegalStateException(("Personality with the id ".+(personalityId).+(" does not exist"): String))))(((result: org.make.core.personality.PersonalityRole) => scala.concurrent.Future.successful[org.make.core.personality.PersonalityRole](result)))))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]).apply(((personalityRole: org.make.core.personality.PersonalityRole) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))))))
|
|
331
|
39046
|
13220
-
13220
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityRole]
|
|
332
|
37992
|
13284
-
13346
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])))
|
|
332
|
45570
|
13316
-
13316
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))
|
|
332
|
31155
|
13284
-
13346
|
Apply
|
org.make.api.personality.AdminQuestionPersonalityResponse.apply
|
|
AdminQuestionPersonalityResponse.apply(personality, personalityRole)
|
|
332
|
40674
|
13316
-
13316
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]
|
|
332
|
44544
|
13316
-
13316
|
Select
|
org.make.api.personality.AdminQuestionPersonalityResponse.encoder
|
|
personality.this.AdminQuestionPersonalityResponse.encoder
|
|
332
|
32251
|
13316
-
13316
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse])
|
|
332
|
33911
|
13275
-
13347
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.personality.AdminQuestionPersonalityResponse](AdminQuestionPersonalityResponse.apply(personality, personalityRole))(marshalling.this.Marshaller.liftMarshaller[org.make.api.personality.AdminQuestionPersonalityResponse](DefaultAdminQuestionPersonalityApiComponent.this.marshaller[org.make.api.personality.AdminQuestionPersonalityResponse](personality.this.AdminQuestionPersonalityResponse.encoder, DefaultAdminQuestionPersonalityApiComponent.this.marshaller$default$2[org.make.api.personality.AdminQuestionPersonalityResponse]))))
|
|
343
|
37209
|
13520
-
13526
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.delete
|
org.make.api.personality.adminquestionpersonalityapitest
|
DefaultAdminQuestionPersonalityApi.this.delete
|
|
343
|
39365
|
13520
-
14004
|
Apply
|
scala.Function1.apply
|
org.make.api.personality.adminquestionpersonalityapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApi.this.delete).apply(server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationDeleteQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))))
|
|
344
|
43737
|
13577
-
13577
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]
|
|
344
|
31230
|
13579
-
13592
|
Select
|
org.make.api.personality.DefaultAdminQuestionPersonalityApiComponent.DefaultAdminQuestionPersonalityApi.personalityId
|
|
DefaultAdminQuestionPersonalityApi.this.personalityId
|
|
344
|
32046
|
13537
-
13593
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
|
DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)]))
|
|
344
|
46942
|
13552
-
13576
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities")
|
|
344
|
38837
|
13550
-
13550
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
|
TupleOps.this.Join.join0P[Unit]
|
|
344
|
50524
|
13542
-
13549
|
Literal
|
<nosymbol>
|
|
"admin"
|
|
344
|
46932
|
13537
-
13996
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.path[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])))(util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]).apply(((personalityId: org.make.core.personality.PersonalityId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationDeleteQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))
|
|
344
|
45362
|
13541
-
13541
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.personality.PersonalityId]
|
|
344
|
39868
|
13542
-
13592
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
|
DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminQuestionPersonalityApi.this._segmentStringToPathMatcher("question-personalities"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.personality.PersonalityId,)](DefaultAdminQuestionPersonalityApi.this.personalityId)(TupleOps.this.Join.join0P[(org.make.core.personality.PersonalityId,)])
|
|
345
|
51372
|
13623
-
13986
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationDeleteQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$7: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))
|
|
345
|
31762
|
13636
-
13636
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
345
|
50283
|
13623
-
13623
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2
|
|
345
|
47142
|
13623
-
13623
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3
|
|
345
|
37243
|
13637
-
13674
|
Literal
|
<nosymbol>
|
|
"ModerationDeleteQuestionPersonality"
|
|
345
|
38594
|
13623
-
13675
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOperation("ModerationDeleteQuestionPersonality", DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$2, DefaultAdminQuestionPersonalityApiComponent.this.makeOperation$default$3)
|
|
346
|
35935
|
13695
-
13695
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
346
|
43777
|
13695
-
13705
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminQuestionPersonalityApiComponent.this.makeOAuth2
|
|
346
|
37042
|
13695
-
13974
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminQuestionPersonalityApiComponent.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(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))
|
|
347
|
45403
|
13752
-
13779
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)
|
|
347
|
45314
|
13752
-
13960
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminQuestionPersonalityApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))
|
|
347
|
32783
|
13769
-
13778
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
348
|
46897
|
13858
-
13858
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
348
|
32823
|
13798
-
13944
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$8: Unit) => DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
|
|
348
|
38310
|
13798
-
13857
|
Apply
|
org.make.api.personality.QuestionPersonalityService.deletePersonality
|
|
DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)
|
|
348
|
50320
|
13798
-
13869
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminQuestionPersonalityApiComponent.this.questionPersonalityService.deletePersonality(personalityId)).asDirective
|
|
349
|
30480
|
13916
-
13916
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
349
|
36732
|
13895
-
13926
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminQuestionPersonalityApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
349
|
39330
|
13904
-
13925
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
349
|
44829
|
13904
-
13925
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
371
|
32572
|
14655
-
14827
|
Apply
|
org.make.api.personality.AdminQuestionPersonalityResponse.apply
|
|
AdminQuestionPersonalityResponse.apply(personality.personalityId, personality.userId, personalityRole.personalityRoleId)
|
|
372
|
30937
|
14700
-
14725
|
Select
|
org.make.core.personality.Personality.personalityId
|
|
personality.personalityId
|
|
373
|
43568
|
14742
-
14760
|
Select
|
org.make.core.personality.Personality.userId
|
|
personality.userId
|
|
374
|
36493
|
14788
-
14821
|
Select
|
org.make.core.personality.PersonalityRole.personalityRoleId
|
|
personalityRole.personalityRoleId
|
|
377
|
45352
|
14897
-
14944
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.personality.AdminQuestionPersonalityResponse]({
val inst$macro$16: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.AdminQuestionPersonalityResponse] = {
final class anon$lazy$macro$15 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$15 = {
anon$lazy$macro$15.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.AdminQuestionPersonalityResponse] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.personality.AdminQuestionPersonalityResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.AdminQuestionPersonalityResponse, (Symbol @@ String("id")) :: (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.AdminQuestionPersonalityResponse, (Symbol @@ String("id")) :: (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("userId"), (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")], ::.apply[Symbol @@ String("personalityRoleId"), shapeless.HNil.type](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")], HNil)))), Generic.instance[org.make.api.personality.AdminQuestionPersonalityResponse, org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil](((x0$3: org.make.api.personality.AdminQuestionPersonalityResponse) => x0$3 match {
case (id: org.make.core.personality.PersonalityId, userId: org.make.core.user.UserId, personalityRoleId: org.make.core.personality.PersonalityRoleId): org.make.api.personality.AdminQuestionPersonalityResponse((id$macro$11 @ _), (userId$macro$12 @ _), (personalityRoleId$macro$13 @ _)) => ::.apply[org.make.core.personality.PersonalityId, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](id$macro$11, ::.apply[org.make.core.user.UserId, org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](userId$macro$12, ::.apply[org.make.core.personality.PersonalityRoleId, shapeless.HNil.type](personalityRoleId$macro$13, HNil))).asInstanceOf[org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil]
}), ((x0$4: org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.personality.PersonalityId, tail: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((id$macro$8 @ _), (head: org.make.core.user.UserId, tail: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((userId$macro$9 @ _), (head: org.make.core.personality.PersonalityRoleId, tail: shapeless.HNil): org.make.core.personality.PersonalityRoleId :: shapeless.HNil((personalityRoleId$macro$10 @ _), HNil))) => personality.this.AdminQuestionPersonalityResponse.apply(id$macro$8, userId$macro$9, personalityRoleId$macro$10)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.personality.PersonalityId, (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userId"), org.make.core.user.UserId, (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("userId")]](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("userId")]])), 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.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$15.this.inst$macro$14)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.AdminQuestionPersonalityResponse]];
<stable> <accessor> lazy val inst$macro$14: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForid: io.circe.Decoder[org.make.core.personality.PersonalityId] = personality.this.PersonalityId.personalityIdDecoder;
private[this] val circeGenericDecoderForuserId: io.circe.Decoder[org.make.core.user.UserId] = user.this.UserId.userIdDecoder;
private[this] val circeGenericDecoderForpersonalityRoleId: io.circe.Decoder[org.make.core.personality.PersonalityRoleId] = personality.this.PersonalityRoleId.personalityRoleIdDecoder;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.personality.PersonalityId, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("userId"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserId.tryDecode(c.downField("userId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpersonalityRoleId.tryDecode(c.downField("personalityRoleId")), ReprDecoder.hnilResult)(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.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.personality.PersonalityId, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("userId"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserId.tryDecodeAccumulating(c.downField("userId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForpersonalityRoleId.tryDecodeAccumulating(c.downField("personalityRoleId")), ReprDecoder.hnilResultAccumulating)(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.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$15().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.personality.AdminQuestionPersonalityResponse]](inst$macro$16)
})
|
|
378
|
37497
|
15013
-
15060
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.personality.AdminQuestionPersonalityResponse]({
val inst$macro$32: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.AdminQuestionPersonalityResponse] = {
final class anon$lazy$macro$31 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$31 = {
anon$lazy$macro$31.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$17: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.AdminQuestionPersonalityResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.personality.AdminQuestionPersonalityResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.AdminQuestionPersonalityResponse, (Symbol @@ String("id")) :: (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.AdminQuestionPersonalityResponse, (Symbol @@ String("id")) :: (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("userId"), (Symbol @@ String("personalityRoleId")) :: shapeless.HNil.type](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")], ::.apply[Symbol @@ String("personalityRoleId"), shapeless.HNil.type](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")], HNil)))), Generic.instance[org.make.api.personality.AdminQuestionPersonalityResponse, org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil](((x0$7: org.make.api.personality.AdminQuestionPersonalityResponse) => x0$7 match {
case (id: org.make.core.personality.PersonalityId, userId: org.make.core.user.UserId, personalityRoleId: org.make.core.personality.PersonalityRoleId): org.make.api.personality.AdminQuestionPersonalityResponse((id$macro$27 @ _), (userId$macro$28 @ _), (personalityRoleId$macro$29 @ _)) => ::.apply[org.make.core.personality.PersonalityId, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](id$macro$27, ::.apply[org.make.core.user.UserId, org.make.core.personality.PersonalityRoleId :: shapeless.HNil.type](userId$macro$28, ::.apply[org.make.core.personality.PersonalityRoleId, shapeless.HNil.type](personalityRoleId$macro$29, HNil))).asInstanceOf[org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil]
}), ((x0$8: org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil) => x0$8 match {
case (head: org.make.core.personality.PersonalityId, tail: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.personality.PersonalityId :: org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((id$macro$24 @ _), (head: org.make.core.user.UserId, tail: org.make.core.personality.PersonalityRoleId :: shapeless.HNil): org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil((userId$macro$25 @ _), (head: org.make.core.personality.PersonalityRoleId, tail: shapeless.HNil): org.make.core.personality.PersonalityRoleId :: shapeless.HNil((personalityRoleId$macro$26 @ _), HNil))) => personality.this.AdminQuestionPersonalityResponse.apply(id$macro$24, userId$macro$25, personalityRoleId$macro$26)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.personality.PersonalityId, (Symbol @@ String("userId")) :: (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.user.UserId :: org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userId"), org.make.core.user.UserId, (Symbol @@ String("personalityRoleId")) :: shapeless.HNil, org.make.core.personality.PersonalityRoleId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("personalityRoleId"), org.make.core.personality.PersonalityRoleId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]](scala.Symbol.apply("personalityRoleId").asInstanceOf[Symbol @@ String("personalityRoleId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("personalityRoleId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("userId")]](scala.Symbol.apply("userId").asInstanceOf[Symbol @@ String("userId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("userId")]])), 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.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$31.this.inst$macro$30)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.AdminQuestionPersonalityResponse]];
<stable> <accessor> lazy val inst$macro$30: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.personality.PersonalityId] = personality.this.PersonalityId.personalityIdEncoder;
private[this] val circeGenericEncoderForuserId: io.circe.Encoder[org.make.core.user.UserId] = user.this.UserId.userIdEncoder;
private[this] val circeGenericEncoderForpersonalityRoleId: io.circe.Encoder[org.make.core.personality.PersonalityRoleId] = personality.this.PersonalityRoleId.personalityRoleIdEncoder;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId], tail: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId], tail: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForuserId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForpersonalityRoleId @ _), 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]("userId", $anon.this.circeGenericEncoderForuserId.apply(circeGenericHListBindingForuserId)), scala.Tuple2.apply[String, io.circe.Json]("personalityRoleId", $anon.this.circeGenericEncoderForpersonalityRoleId.apply(circeGenericHListBindingForpersonalityRoleId))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("userId"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityRoleId"),org.make.core.personality.PersonalityRoleId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$31().inst$macro$17
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.AdminQuestionPersonalityResponse]](inst$macro$32)
})
|
|
389
|
50871
|
15481
-
15517
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.personality.PersonalityIdResponse]({
val inst$macro$12: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.PersonalityIdResponse] = {
final class anon$lazy$macro$11 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$11 = {
anon$lazy$macro$11.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.PersonalityIdResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.personality.PersonalityIdResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.personality.PersonalityIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("personalityId")) :: shapeless.HNil, org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.personality.PersonalityIdResponse, (Symbol @@ String("id")) :: (Symbol @@ String("personalityId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("personalityId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("personalityId"), shapeless.HNil.type](scala.Symbol.apply("personalityId").asInstanceOf[Symbol @@ String("personalityId")], HNil))), Generic.instance[org.make.api.personality.PersonalityIdResponse, org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil](((x0$3: org.make.api.personality.PersonalityIdResponse) => x0$3 match {
case (id: org.make.core.personality.PersonalityId, personalityId: org.make.core.personality.PersonalityId): org.make.api.personality.PersonalityIdResponse((id$macro$8 @ _), (personalityId$macro$9 @ _)) => ::.apply[org.make.core.personality.PersonalityId, org.make.core.personality.PersonalityId :: shapeless.HNil.type](id$macro$8, ::.apply[org.make.core.personality.PersonalityId, shapeless.HNil.type](personalityId$macro$9, HNil)).asInstanceOf[org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil]
}), ((x0$4: org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.personality.PersonalityId, tail: org.make.core.personality.PersonalityId :: shapeless.HNil): org.make.core.personality.PersonalityId :: org.make.core.personality.PersonalityId :: shapeless.HNil((id$macro$6 @ _), (head: org.make.core.personality.PersonalityId, tail: shapeless.HNil): org.make.core.personality.PersonalityId :: shapeless.HNil((personalityId$macro$7 @ _), HNil)) => personality.this.PersonalityIdResponse.apply(id$macro$6, personalityId$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.personality.PersonalityId, (Symbol @@ String("personalityId")) :: shapeless.HNil, org.make.core.personality.PersonalityId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("personalityId"), org.make.core.personality.PersonalityId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("personalityId")]](scala.Symbol.apply("personalityId").asInstanceOf[Symbol @@ String("personalityId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("personalityId")]])), 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.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.PersonalityIdResponse]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForpersonalityId: io.circe.Encoder[org.make.core.personality.PersonalityId] = personality.this.PersonalityId.personalityIdEncoder;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId], tail: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForpersonalityId @ _), 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.circeGenericEncoderForpersonalityId.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("personalityId", $anon.this.circeGenericEncoderForpersonalityId.apply(circeGenericHListBindingForpersonalityId))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.personality.PersonalityId] :: shapeless.labelled.FieldType[Symbol @@ String("personalityId"),org.make.core.personality.PersonalityId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$11().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.personality.PersonalityIdResponse]](inst$macro$12)
})
|
|
391
|
43288
|
15575
-
15604
|
Apply
|
org.make.api.personality.PersonalityIdResponse.apply
|
|
PersonalityIdResponse.apply(id, id)
|