Guest User

realm-2-level-cycle

a guest
Aug 5th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. const user = {
  2. id: '1',
  3. name: 'John',
  4. interests: [{
  5. id: '1',
  6. name: 'Interest1',
  7. interestedUsers: [{
  8. id: '1',
  9. name: 'John',
  10. interests: [{
  11. id: '1'
  12. }, {
  13. id: '2'
  14. }, {
  15. id: '3'
  16. }]
  17. }, {
  18. id: '3',
  19. name: 'Jane',
  20. interests: [{
  21. id: '1'
  22. }, {
  23. id: '3'
  24. }]
  25. }]
  26. }, {
  27. id: '2',
  28. name: 'Interest2',
  29. interestedUsers: [{
  30. id: '1',
  31. name: 'John',
  32. interests: [{
  33. id: '1'
  34. }, {
  35. id: '2'
  36. }, {
  37. id: '3'
  38. }]
  39. }]
  40. }, {
  41. id: '3',
  42. name: 'Interest3',
  43. interestedUsers: [{
  44. id: '2',
  45. name: 'Jimmy',
  46. interests: [{
  47. id: '3'
  48. }]
  49. }, {
  50. id: '3',
  51. name: 'Jane',
  52. interests: [{
  53. id: '1'
  54. }, {
  55. id: '3'
  56. }]
  57. }]
  58. }]
  59. };
Add Comment
Please, Sign In to add comment