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

Function getRecordByApplicant

src/Data/RecordData.js:33–39  ·  view source on GitHub ↗
(applicantId, isRefresh = false, options = {})

Source from the content-addressed store, hash-verified

31}
32
33export async function getRecordByApplicant(applicantId, isRefresh = false, options = {}) {
34 const applicant = await getApplicant(applicantId, isRefresh, options);
35 const recordIDs = Object.keys(applicant.Programs).map(programID => {
36 return applicantId + '|' + programID;
37 });
38 return getRecordByRecordIDs(recordIDs, isRefresh, options);
39}
40
41export async function getRecordByProgram(programId, isRefresh = false, options = {}) {
42 const program = await getProgram(programId, isRefresh, options);

Callers 4

loadApplicantProfileFunction · 0.90
refreshApplicantProfileFunction · 0.90
removeApplicantFunction · 0.90
toggleAnonymousFunction · 0.90

Calls 2

getApplicantFunction · 0.90
getRecordByRecordIDsFunction · 0.85

Tested by

no test coverage detected