the-algorithm/follow-recommendations-service/server/src/main/scala/com/twitter/follow_recommendations/assembler/models/Layout.scala
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
2023-03-31 17:36:31 -05:00

17 lines
427 B
Scala

package com.twitter.follow_recommendations.assembler.models
sealed trait Layout
case class UserListLayout(
header: Option[HeaderConfig],
userListOptions: UserListOptions,
socialProofs: Option[Seq[SocialProof]],
footer: Option[FooterConfig])
extends Layout
case class CarouselLayout(
header: Option[HeaderConfig],
carouselOptions: CarouselOptions,
socialProofs: Option[Seq[SocialProof]])
extends Layout