Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. Skill {
  2. id
  3. name
  4. about
  5. stars
  6. }
  7.  
  8. SkillDetail(id: String) {
  9. skillName
  10. Project {
  11. id
  12. name
  13. url
  14. }
  15. Course {
  16. id
  17. name
  18. url
  19. }
  20. }
  21.  
  22. Modules
  23. --/Components
  24. app.js (main container)
  25. ----/Skills
  26. Skill.js (list of Cards)
  27. SkillDetail.js (modal popup)
  28. ----/Projects (list of Cards)
  29. ProjectDetail.js (modal popup)
  30. ----/Courses
  31. Courses.js (list of Cards)
  32. CourseDetail.js (modal popup)
  33.  
  34. export default compose(
  35. graphql(queries.getSkillList(), {
  36. name: "skills"
  37. }),
  38. graphql(queries.getProjectList(), {
  39. name: "projects"
  40. }),
  41. graphql(queries.getCourseList(), {
  42. name: "courses"
  43. }),
  44. )(App);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement