MCPcopy
hub / github.com/svecosystem/runed / Contributor

Interface Contributor

sites/docs/src/lib/utils/docs.ts:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17export type DocResolver = () => Promise<{ default: Component; metadata: Doc }>;
18
19interface Contributor {
20 login: string;
21 name?: string;
22 avatar_url: string;
23 contributions: number;
24}
25
26export async function getDoc(slug: string = "index", fetch: typeof globalThis.fetch) {
27 const modules = import.meta.glob("/src/content/**/*.md");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected