Last active
August 9, 2020 23:00
-
-
Save beyondxscratch/bf5ea2f415b2e4aaebce196bbdf9e95d to your computer and use it in GitHub Desktop.
CreateProfile.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.craftsrecords.talkadvisor.recommendation.api | |
import org.craftsrecords.talkadvisor.recommendation.preferences.Preferences | |
import org.craftsrecords.talkadvisor.recommendation.profile.Profile | |
@FunctionalInterface | |
interface CreateProfile { | |
fun forUserWithPreferences(userId: String, preferences: Preferences): Profile | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.craftsrecords.talkadvisor.recommendation.api | |
import org.craftsrecords.talkadvisor.recommendation.Recommendation | |
import org.craftsrecords.talkadvisor.recommendation.criteria.GuestCriteria | |
interface RecommendTalks { | |
infix fun satisfying(guestCriteria: GuestCriteria): Recommendation | |
infix fun to(userId: String): Recommendation | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment