MCPcopy Index your code
hub / github.com/OpenSIST/OpenSIST.github.io / collectProgramIds

Function collectProgramIds

src/Data/CoreCacheSync.js:15–19  ·  view source on GitHub ↗
(programs)

Source from the content-addressed store, hash-verified

13const PROFILE_BATCH_SIZE = 32;
14
15function collectProgramIds(programs) {
16 return Object.values(programs ?? {}).flat()
17 .map((program) => program.ProgramID)
18 .filter(Boolean);
19}
20
21function addApplicantDisplayName(displayNames, applicantId) {
22 const displayName = applicantId?.split("@")[0];

Callers 1

syncCoreCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected