mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-13 14:48:54 +02:00
![twitter-team](/assets/img/avatar_default.png)
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.
12 lines
450 B
Scala
12 lines
450 B
Scala
package com.twitter.product_mixer.core.pipeline.state
|
|
|
|
import com.twitter.product_mixer.core.functional_component.decorator.Decoration
|
|
import com.twitter.product_mixer.core.model.common.presentation.CandidateWithDetails
|
|
|
|
trait HasCandidatesWithDetails[T] {
|
|
def candidatesWithDetails: Seq[CandidateWithDetails]
|
|
def updateCandidatesWithDetails(newCandidates: Seq[CandidateWithDetails]): T
|
|
|
|
def updateDecorations(decoration: Seq[Decoration]): T
|
|
}
|