package Ġcom . z iz oh . ule sson . domain . repository Ċ Ċ import Ġcom . z iz oh . ule sson . domain . models .* Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġz iz oh Ġon Ġ 1 5 / January / 2 0 2 1 . Ċ Ġ*/ Ċ Ċ interface ĠSubject Repository Ġ{ ĊĊĠĠĠ Ġfun Ġget Subject s (): ĠFlow < Subject Result > ĊĊĠĠĠ Ġfun Ġget Chapter sWith Subject Id ( subject Id : ĠInt ): ĠFlow < List < Chapter >> ĊĊĠĠĠ Ġsuspend Ġfun Ġsave W atched Topic ( lesson : ĠLess on ) ĊĊĠĠĠ Ġfun Ġget Lesson ( lesson Id : ĠInt ): ĠFlow < Lesson > ĊĊĠĠĠ Ġfun Ġget Most Recent W atched Topics (): ĠFlow < List < W atched Topic >> ĊĊĠĠĠ Ġfun ĠgetAll W atched Topics (): ĠFlow < List < W atched Topic >> Ċ }