Blame view
src/schoolApi/apiCollection.js
309 Bytes
29ac0dbb2
|
1 2 3 4 5 6 7 8 9 10 11 12 |
// import schoolApi from "./schoolApi"; // // import GitHubRepository from "./gitHubRepository"; // const repositories = { // posts: schoolApi // // gitHub: GitHubRepository // // other repositories ... // }; // export const apiCollection = { // get: name => repositories[name] // }; |