(url: string, ep: number, type, id)
| 231 | } |
| 232 | |
| 233 | export async function setResumeWaching(url: string, ep: number, type, id) { |
| 234 | return api.storage.set(`resume/${type}/${id}`, { url, ep }); |
| 235 | } |
| 236 | |
| 237 | export async function getResumeWaching(type, id): Promise<{ url?: string; ep?: number } | void> { |
| 238 | if (!api.settings.get('malResume')) return; |