MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / Body

Interface Body

client/src/utils/challenge-request-helpers.ts:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24interface Body {
25 id: string;
26 files?: File[];
27 challengeType: number;
28}
29
30const encodeBase64 = (str: string) => {
31 const bytes = new TextEncoder().encode(str);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected