(url: string, ep: number, type, id)
| 242 | } |
| 243 | |
| 244 | export async function setContinueWaching(url: string, ep: number, type, id) { |
| 245 | return api.storage.set(`continue/${type}/${id}`, { url, ep }); |
| 246 | } |
| 247 | |
| 248 | export async function getContinueWaching(type, id): Promise<{ url?: string; ep?: number } | void> { |
| 249 | if (!api.settings.get('malContinue')) return; |