MCPcopy Index your code
hub / github.com/MALSync/MALSync / _init

Method _init

src/_provider/Simkl/metaOverview.ts:36–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 private readonly malId: number;
35
36 async _init() {
37 this.logger.log(
38 'Retrieve',
39 this.type,
40 this.simklId ? `Simkl: ${this.simklId}` : `MAL: ${this.malId}`,
41 );
42
43 const data = await this.getData();
44 this.logger.log('Data', data);
45
46 this.title(data);
47 this.description(data);
48 this.image(data);
49 this.alternativeTitle(data);
50 // this.characters(data);
51 this.statistics(data);
52 this.info(data);
53 this.related(data);
54
55 this.logger.log('Res', this.meta);
56 }
57
58 private async getData() {
59 let de;

Callers

nothing calls this directly

Calls 8

getDataMethod · 0.95
titleMethod · 0.95
descriptionMethod · 0.95
imageMethod · 0.95
alternativeTitleMethod · 0.95
statisticsMethod · 0.95
infoMethod · 0.95
relatedMethod · 0.95

Tested by

no test coverage detected