MCPcopy Create free account
hub / github.com/api-platform/website / getAllContributors

Function getAllContributors

pwa/api/contributors.ts:9–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7import allContributors from "data/contributors.json";
8
9export const getAllContributors = () => {
10 const contributors: Contributor[] = [];
11
12 try {
13 return allContributors as Contributor[];
14 } catch (e) {
15 console.error(e);
16 return contributors;
17 }
18};
19
20export function getContributorBySlug(slug: string): Contributor {
21 const allContributors = getAllContributors();

Callers 5

getAllStandardRoutesFunction · 0.90
PageFunction · 0.90
getSpeakerLinkFunction · 0.90
getContributorBySlugFunction · 0.70
getContributorsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected