package Ġapp . swap artists . data . repository Ċ Ċ import Ġandroidx . paging . Paging Data Ċ import Ġapp . swap artists . data . model . Artist Details Ċ import Ġapp . swap artists . data . model . Artist Node Ċ import Ġapp . swap artists . data . model . Favorite Artist Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ interface ĠArtist Repository Ġ{ ĊĊĠĠĠ Ġfun Ġget Art ists Paged ( ĊĠĠĠĠĠĠĠ Ġquery : ĠString ĊĠĠĠ Ġ): ĠFlow < Paging Data < Artist Node >> ĊĊĠĠĠ Ġsuspend Ġfun Ġget Artist ( ĊĠĠĠĠĠĠĠ Ġid : ĠString ĊĠĠĠ Ġ): ĠArtist Details ĊĊĠĠĠ Ġfun Ġget Favorite Art ists (): ĠFlow < List < Favorite Artist >> ĊĠĠĠ Ġsuspend Ġfun Ġexists Favorite Artist ByID ( id : ĠString ): ĠBoolean ĊĠĠĠ Ġfun Ġget Flow ByID ( id : ĠString ): ĠFlow < Favorite Artist ?> ĊĠĠĠ Ġsuspend Ġfun Ġinsert Favorite Artist ( item : ĠF avorite Artist ) ĊĠĠĠ Ġsuspend Ġfun Ġdelete Favorite Artist ByID ( ids : ĠCollection < String >) Ċ }