_sampleData.js 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. const projects = [{
  2. _id: '18a0d6883d34293254afae42',
  3. __v: 0,
  4. name: 'Jungfrau',
  5. tag: 'JU_CSD',
  6. description: '9th generation GNDD receiver',
  7. meta: [{
  8. type: 'reference',
  9. key: 'users',
  10. value: '18b0d6883d34293254afae42',
  11. description: 'Project manager'
  12. }, {
  13. type: 'reference',
  14. key: 'files',
  15. value: '38b0d6883d34293254afae42',
  16. description: 'Specification'
  17. }],
  18. history: {
  19. author_id: '18b0d6883d34293254afae42',
  20. created: 1490426185914,
  21. tag: 'gate1',
  22. references_id: [],
  23. head: false,
  24. comment: 'intial version'
  25. }
  26. }, {
  27. _id: '28a0d6883d34293254afae42',
  28. __v: 0,
  29. name: 'Jungfrau',
  30. tag: 'JU_CSD',
  31. description: '9th generation GNSS receiver',
  32. meta: [{
  33. type: 'reference',
  34. key: 'users',
  35. value: '18b0d6883d34293254afae42',
  36. description: 'Project manager'
  37. }, {
  38. type: 'reference',
  39. key: 'files',
  40. value: '38b0d6883d34293254afae42',
  41. description: 'Specification'
  42. }, {
  43. type: 'reference',
  44. key: 'files',
  45. value: '18c0d6883d34293254afae42',
  46. description: 'Chip image'
  47. }],
  48. history: {
  49. author_id: '38b0d6883d34293254afae42',
  50. created: 1490427330074,
  51. tag: '',
  52. references_id: ['18a0d6883d34293254afae42'],
  53. head: true,
  54. comment: 'Added chip image, corrected typo.'
  55. }
  56. }, {
  57. _id: '38a0d6883d34293254afae42',
  58. __v: 0,
  59. name: 'Dom',
  60. tag: 'DO_CSD',
  61. description: '8th generation GNSS receiver',
  62. meta: [{
  63. type: 'reference',
  64. key: 'users',
  65. value: '18b0d6883d34293254afae42',
  66. description: 'Project manager'
  67. }],
  68. history: {
  69. author_id: '18b0d6883d34293254afae42',
  70. created: 1490421185914,
  71. tag: 'gate6',
  72. references_id: [],
  73. head: true,
  74. comment: 'intial version'
  75. }
  76. }, {
  77. _id: '48a0d6883d34293254afae42',
  78. __v: 0,
  79. name: 'Titlis',
  80. tag: 'TI_CSD',
  81. description: '7th generation GNSS receiver',
  82. meta: [{
  83. type: 'reference',
  84. key: 'users',
  85. value: '28b0d6883d34293254afae42',
  86. description: 'Project manager'
  87. }],
  88. history: {
  89. author_id: '28b0d6883d34293254afae42',
  90. created: 1490227330074,
  91. tag: 'gat7',
  92. references_id: [],
  93. head: true
  94. }
  95. }]
  96. export const users = [{
  97. _id: '18b0d6883d34293254afae42',
  98. __v: 0,
  99. name: 'Thomas Brauner',
  100. tag: 'tbra'
  101. }, {
  102. _id: '28b0d6883d34293254afae42',
  103. __v: 0,
  104. name: 'Luca Plutino',
  105. tag: 'lplu'
  106. }, {
  107. _id: '38b0d6883d34293254afae42',
  108. __v: 0,
  109. name: 'Benjamin Martin',
  110. tag: 'bmar'
  111. }, {
  112. _id: '48b0d6883d34293254afae42',
  113. __v: 0,
  114. name: 'Tomislav Cvetic',
  115. tag: 'tcve'
  116. }]
  117. export const files = [{
  118. _id: '18c0d6883d34293254afae42',
  119. __v: 0,
  120. type: 'image',
  121. path: '/my/path/jungfrau_chip.png',
  122. description: 'Microscope image of the Jungfau chip',
  123. author: '48b0d6883d34293254afae42'
  124. }, {
  125. _id: '28c0d6883d34293254afae42',
  126. __v: 0,
  127. type: 'document',
  128. path: '/my/path/jungfrau_spec.pdf',
  129. description: 'Specification for Jungfrau',
  130. author: '38b0d6883d34293254afae42'
  131. }, {
  132. _id: '38c0d6883d34293254afae42',
  133. __v: 0,
  134. type: 'document',
  135. path: '/my/path/jungfrau_pinlist.xls',
  136. description: 'Pinlist for Jungfrau',
  137. author: '18b0d6883d34293254afae42'
  138. }]
  139. export default projects