MCPcopy Create free account
hub / github.com/MathMan05/Fermi / generateHTML

Method generateHTML

src/webpage/embed.ts:56–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 };
55 return "invite";
56 }
57 }
58 }
59 }
60 return json.type || "rich";
61 }
62 generateHTML() {
63 switch (this.type) {
64 case "rich":
65 return this.generateRich();
66 case "image":
67 return this.generateImage();
68 case "invite":
69 return this.generateInvite();
70 case "link":
71 return this.generateLink();
72 case "video":
73 return this.generateVideo();
74 case "article":
75 return this.generateArticle();
76 default:

Callers

nothing calls this directly

Calls 5

generateRichMethod · 0.95
generateImageMethod · 0.95
generateInviteMethod · 0.95
generateLinkMethod · 0.95
generateArticleMethod · 0.95

Tested by

no test coverage detected