(action: 'update' | 'state' = 'update')
| 436 | } |
| 437 | |
| 438 | public emitUpdate(action: 'update' | 'state' = 'update') { |
| 439 | globalEmit(`${action}.${this.getCacheKey()}`, { |
| 440 | id: this.getPageId(), |
| 441 | type: this.getType(), |
| 442 | cacheKey: this.getCacheKey(), |
| 443 | state: this.getStateEl(), |
| 444 | meta: { |
| 445 | title: this.getTitle(), |
| 446 | image: this.getImage(), |
| 447 | malId: this.getMalId(), |
| 448 | totalEp: this.getTotalEpisodes(), |
| 449 | url: this.getUrl(), |
| 450 | }, |
| 451 | }); |
| 452 | } |
| 453 | |
| 454 | abstract _delete(): Promise<void>; |
| 455 |
nothing calls this directly
no test coverage detected