package Ġcom . ray w ender lich . ing red ise arch . data Ċ Ċ import Ġcom . ray w ender lich . ing red ise arch . Recipe Ċ Ċ interface ĠRecipe Repository Ġ{ ĊĠĠĠ Ġfun Ġadd Favorite ( item : ĠRecipe ) ĊĠĠĠ Ġfun Ġremove Favorite ( item : ĠRecipe ) ĊĠĠĠ Ġfun Ġget Favorite Recipes (): ĠList < Recipe > ĊĠĠĠ Ġfun Ġget Recipes ( query : ĠString , Ġcallback : ĠRepository Callback < List < Recipe >>) Ċ } Ċ Ċ interface ĠRepository Callback < in ĠT > Ġ{ ĊĠĠĠ Ġfun ĠonSuccess ( data : ĠT ?) ĊĠĠĠ Ġfun ĠonError () Ċ }