您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

mock.js 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. module.exports = {
  2. users: [],
  3. profiles: [],
  4. tags: [
  5. {
  6. tag_id: 1,
  7. tag_category: 'verification',
  8. tag_description: 'verified',
  9. is_active: true,
  10. },
  11. {
  12. tag_id: 2,
  13. tag_category: 'reveal',
  14. tag_description: 'verified',
  15. is_active: true,
  16. },
  17. {
  18. tag_id: 3,
  19. tag_category: 'reveal',
  20. tag_description: 'pronoun',
  21. is_active: true,
  22. },
  23. {
  24. tag_id: 4,
  25. tag_category: 'reveal',
  26. tag_description: 'image',
  27. is_active: true,
  28. },
  29. {
  30. tag_id: 5,
  31. tag_category: 'reveal',
  32. tag_description: 'blurb',
  33. is_active: true,
  34. },
  35. {
  36. tag_id: 6,
  37. tag_category: 'reveal',
  38. tag_description: 'urgency',
  39. is_active: true,
  40. },
  41. {
  42. tag_id: 7,
  43. tag_category: 'reveal',
  44. tag_description: 'user_name',
  45. is_active: true,
  46. },
  47. {
  48. tag_id: 8,
  49. tag_category: 'reveal',
  50. tag_description: 'user_email',
  51. is_active: true,
  52. },
  53. ],
  54. tag_associations: [
  55. {
  56. tag_association_id: 1,
  57. profile_id: 1,
  58. grouping_id: null,
  59. tag_id: 1,
  60. is_deleted: false,
  61. },
  62. {
  63. tag_association_id: 2,
  64. profile_id: 2,
  65. grouping_id: null,
  66. tag_id: 1,
  67. is_deleted: false,
  68. },
  69. {
  70. tag_association_id: 3,
  71. profile_id: 3,
  72. grouping_id: null,
  73. tag_id: 1,
  74. is_deleted: false,
  75. },
  76. {
  77. tag_association_id: 4,
  78. profile_id: 45,
  79. grouping_id: null,
  80. tag_id: 1,
  81. is_deleted: false,
  82. },
  83. {
  84. tag_association_id: 5,
  85. profile_id: 45,
  86. grouping_id: 2,
  87. tag_id: 4,
  88. is_deleted: false,
  89. },
  90. {
  91. tag_association_id: 6,
  92. profile_id: 45,
  93. grouping_id: 2,
  94. tag_id: 5,
  95. is_deleted: false,
  96. },
  97. {
  98. tag_association_id: 7,
  99. profile_id: 2,
  100. grouping_id: 2,
  101. tag_id: 5,
  102. is_deleted: false,
  103. },
  104. {
  105. tag_association_id: 8,
  106. profile_id: 41,
  107. grouping_id: 1,
  108. tag_id: 4,
  109. is_deleted: false,
  110. },
  111. {
  112. tag_association_id: 9,
  113. profile_id: 41,
  114. grouping_id: 1,
  115. tag_id: 5,
  116. is_deleted: false,
  117. },
  118. {
  119. tag_association_id: 10,
  120. profile_id: 4,
  121. grouping_id: null,
  122. tag_id: 1,
  123. is_deleted: false,
  124. },
  125. {
  126. tag_association_id: 11,
  127. profile_id: 5,
  128. grouping_id: null,
  129. tag_id: 1,
  130. is_deleted: false,
  131. },
  132. {
  133. tag_association_id: 12,
  134. profile_id: 6,
  135. grouping_id: null,
  136. tag_id: 3,
  137. is_deleted: false,
  138. },
  139. {
  140. tag_association_id: 13,
  141. profile_id: 7,
  142. grouping_id: null,
  143. tag_id: 8,
  144. is_deleted: false,
  145. },
  146. {
  147. tag_association_id: 14,
  148. profile_id: 8,
  149. grouping_id: null,
  150. tag_id: 7,
  151. is_deleted: false,
  152. },
  153. {
  154. tag_association_id: 15,
  155. profile_id: 9,
  156. grouping_id: 1,
  157. tag_id: 2,
  158. is_deleted: false,
  159. },
  160. {
  161. tag_association_id: 16,
  162. profile_id: 10,
  163. grouping_id: 2,
  164. tag_id: 2,
  165. is_deleted: false,
  166. },
  167. {
  168. tag_association_id: 17,
  169. profile_id: 11,
  170. grouping_id: 2,
  171. tag_id: 3,
  172. is_deleted: false,
  173. },
  174. {
  175. tag_association_id: 18,
  176. profile_id: 12,
  177. grouping_id: 3,
  178. tag_id: 4,
  179. is_deleted: false,
  180. },
  181. {
  182. tag_association_id: 19,
  183. profile_id: 13,
  184. grouping_id: 3,
  185. tag_id: 7,
  186. is_deleted: false,
  187. },
  188. {
  189. tag_association_id: 20,
  190. profile_id: 14,
  191. grouping_id: 4,
  192. tag_id: 6,
  193. is_deleted: false,
  194. },
  195. {
  196. tag_association_id: 21,
  197. profile_id: 15,
  198. grouping_id: 1,
  199. tag_id: 1,
  200. is_deleted: false,
  201. },
  202. {
  203. tag_association_id: 22,
  204. profile_id: 16,
  205. grouping_id: 1,
  206. tag_id: 2,
  207. is_deleted: false,
  208. },
  209. {
  210. tag_association_id: 23,
  211. profile_id: 17,
  212. grouping_id: null,
  213. tag_id: 6,
  214. is_deleted: false,
  215. },
  216. {
  217. tag_association_id: 24,
  218. profile_id: 18,
  219. grouping_id: null,
  220. tag_id: 8,
  221. is_deleted: false,
  222. },
  223. {
  224. tag_association_id: 25,
  225. profile_id: 19,
  226. grouping_id: null,
  227. tag_id: 3,
  228. is_deleted: false,
  229. },
  230. {
  231. tag_association_id: 26,
  232. profile_id: 20,
  233. grouping_id: null,
  234. tag_id: 3,
  235. is_deleted: false,
  236. },
  237. {
  238. tag_association_id: 27,
  239. profile_id: 21,
  240. grouping_id: 2,
  241. tag_id: 1,
  242. is_deleted: false,
  243. },
  244. {
  245. tag_association_id: 28,
  246. profile_id: 22,
  247. grouping_id: 2,
  248. tag_id: 1,
  249. is_deleted: false,
  250. },
  251. {
  252. tag_association_id: 29,
  253. profile_id: 23,
  254. grouping_id: 3,
  255. tag_id: 2,
  256. is_deleted: false,
  257. },
  258. {
  259. tag_association_id: 30,
  260. profile_id: 24,
  261. grouping_id: 4,
  262. tag_id: 4,
  263. is_deleted: false,
  264. },
  265. {
  266. tag_association_id: 31,
  267. profile_id: 25,
  268. grouping_id: 5,
  269. tag_id: 3,
  270. is_deleted: false,
  271. },
  272. {
  273. tag_association_id: 32,
  274. profile_id: 26,
  275. grouping_id: 1,
  276. tag_id: 4,
  277. is_deleted: false,
  278. },
  279. {
  280. tag_association_id: 33,
  281. profile_id: 27,
  282. grouping_id: null,
  283. tag_id: 3,
  284. is_deleted: false,
  285. },
  286. {
  287. tag_association_id: 34,
  288. profile_id: 28,
  289. grouping_id: null,
  290. tag_id: 3,
  291. is_deleted: false,
  292. },
  293. {
  294. tag_association_id: 35,
  295. profile_id: 29,
  296. grouping_id: null,
  297. tag_id: 7,
  298. is_deleted: false,
  299. },
  300. {
  301. tag_association_id: 36,
  302. profile_id: 30,
  303. grouping_id: null,
  304. tag_id: 6,
  305. is_deleted: false,
  306. },
  307. {
  308. tag_association_id: 37,
  309. profile_id: 31,
  310. grouping_id: 3,
  311. tag_id: 4,
  312. is_deleted: false,
  313. },
  314. {
  315. tag_association_id: 38,
  316. profile_id: 32,
  317. grouping_id: 3,
  318. tag_id: 5,
  319. is_deleted: false,
  320. },
  321. {
  322. tag_association_id: 39,
  323. profile_id: 33,
  324. grouping_id: 3,
  325. tag_id: 5,
  326. is_deleted: false,
  327. },
  328. {
  329. tag_association_id: 40,
  330. profile_id: 34,
  331. grouping_id: 4,
  332. tag_id: 7,
  333. is_deleted: false,
  334. },
  335. {
  336. tag_association_id: 41,
  337. profile_id: 35,
  338. grouping_id: 4,
  339. tag_id: 8,
  340. is_deleted: false,
  341. },
  342. {
  343. tag_association_id: 42,
  344. profile_id: 36,
  345. grouping_id: 1,
  346. tag_id: 1,
  347. is_deleted: false,
  348. },
  349. {
  350. tag_association_id: 43,
  351. profile_id: 37,
  352. grouping_id: 1,
  353. tag_id: 2,
  354. is_deleted: false,
  355. },
  356. {
  357. tag_association_id: 44,
  358. profile_id: 38,
  359. grouping_id: null,
  360. tag_id: 2,
  361. is_deleted: false,
  362. },
  363. {
  364. tag_association_id: 45,
  365. profile_id: 39,
  366. grouping_id: null,
  367. tag_id: 6,
  368. is_deleted: false,
  369. },
  370. {
  371. tag_association_id: 46,
  372. profile_id: 40,
  373. grouping_id: null,
  374. tag_id: 5,
  375. is_deleted: false,
  376. },
  377. {
  378. tag_association_id: 47,
  379. profile_id: 41,
  380. grouping_id: null,
  381. tag_id: 6,
  382. is_deleted: false,
  383. },
  384. {
  385. tag_association_id: 48,
  386. profile_id: 42,
  387. grouping_id: 1,
  388. tag_id: 8,
  389. is_deleted: false,
  390. },
  391. {
  392. tag_association_id: 49,
  393. profile_id: 43,
  394. grouping_id: 1,
  395. tag_id: 7,
  396. is_deleted: false,
  397. },
  398. ],
  399. response_keys: [
  400. {
  401. response_key_id: 1,
  402. response_key_category: 'visionary_vs_implementer',
  403. response_key_prompt:
  404. 'While managing your team, do you find success in your employees being more Visionary or Implementer?',
  405. response_key_description: 'first round draft scoring question',
  406. },
  407. {
  408. response_key_id: 2,
  409. response_key_category: 'creative_vs_methodical',
  410. response_key_prompt:
  411. 'In your department, do you find more success in your employees being Creative or Methodical in their job duties?',
  412. response_key_description: 'first round draft scoring question',
  413. },
  414. {
  415. response_key_id: 3,
  416. response_key_category: 'collaborative_vs_independent',
  417. response_key_prompt:
  418. 'Do you structure and encourage your team to be a Collaborative or Independent environment?',
  419. response_key_description: 'first round draft scoring question',
  420. },
  421. {
  422. response_key_id: 4,
  423. response_key_category: 'innovative_vs_conventional',
  424. response_key_prompt:
  425. 'Do you find higher success in employees on your team that are Innovative or Conventional?',
  426. response_key_description: 'first round draft scoring question',
  427. },
  428. {
  429. response_key_id: 5,
  430. response_key_category: 'big_Picture_vs_focused',
  431. response_key_prompt:
  432. 'As a hiring leader, are you a Big Picture or Focused thinker when it comes to how you operate in your job duties?',
  433. response_key_description: 'first round draft scoring question',
  434. },
  435. {
  436. response_key_id: 6,
  437. response_key_category: 'guided_vs_self-managed',
  438. response_key_prompt:
  439. 'Do you prefer your employees to be Guided or Self-managed in achieving completion of their responsibilities?',
  440. response_key_description: 'first round draft scoring question',
  441. },
  442. {
  443. response_key_id: 7,
  444. response_key_category: 'profile',
  445. response_key_prompt: 'zipcode',
  446. response_key_description: 'required for distance calculations',
  447. },
  448. {
  449. response_key_id: 8,
  450. response_key_category: 'profile',
  451. response_key_prompt: 'image',
  452. response_key_description: 'required for profile pictures',
  453. },
  454. {
  455. response_key_id: 9,
  456. response_key_category: 'profile',
  457. response_key_prompt: 'language',
  458. response_key_description:
  459. 'programming and spoken language preference',
  460. },
  461. {
  462. response_key_id: 10,
  463. response_key_category: 'profile',
  464. response_key_prompt: 'duration',
  465. response_key_description:
  466. 'duration preference for hours able to dedicate to work',
  467. },
  468. {
  469. response_key_id: 11,
  470. response_key_category: 'profile',
  471. response_key_prompt: 'presence',
  472. response_key_description:
  473. 'location preference for where work happens',
  474. },
  475. {
  476. response_key_id: 12,
  477. response_key_category: 'profile',
  478. response_key_prompt: 'blurb',
  479. response_key_description: 'required for profile description',
  480. },
  481. {
  482. response_key_id: 13,
  483. response_key_category: 'profile',
  484. response_key_prompt: 'urgency',
  485. response_key_description: 'urgency for when work is required',
  486. },
  487. {
  488. response_key_id: 14,
  489. response_key_category: 'profile',
  490. response_key_prompt: 'role',
  491. response_key_description: 'current and desired role',
  492. },
  493. {
  494. response_key_id: 15,
  495. response_key_category: 'profile',
  496. response_key_prompt: 'pronouns',
  497. response_key_description: 'required for profile pronouns',
  498. },
  499. {
  500. response_key_id: 16,
  501. response_key_category: 'profile',
  502. response_key_prompt: 'distance',
  503. response_key_description:
  504. 'preference for commuting distance cutoff',
  505. },
  506. ],
  507. responses: [],
  508. memberships: [
  509. {
  510. membership_id: 1,
  511. profile_id: 41,
  512. grouping_id: 1,
  513. membership_type: 'participant',
  514. can_edit: false,
  515. is_active: true,
  516. },
  517. {
  518. membership_id: 2,
  519. profile_id: 46,
  520. grouping_id: 1,
  521. membership_type: 'participant',
  522. can_edit: false,
  523. is_active: true,
  524. },
  525. ],
  526. groupings: [
  527. {
  528. grouping_id: 1,
  529. grouping_name: '1663285820.067_41_46',
  530. grouping_type: 'match',
  531. },
  532. ],
  533. messages: [],
  534. match_queues: [
  535. { match_queue_id: 1, profile_id: 47, target_id: 62, is_deleted: false },
  536. { match_queue_id: 2, profile_id: 62, target_id: 47, is_deleted: false },
  537. { match_queue_id: 3, profile_id: 62, target_id: 46, is_deleted: false },
  538. { match_queue_id: 4, profile_id: 46, target_id: 62, is_deleted: false },
  539. { match_queue_id: 5, profile_id: 47, target_id: 46, is_deleted: false },
  540. { match_queue_id: 6, profile_id: 46, target_id: 48, is_deleted: false },
  541. { match_queue_id: 7, profile_id: 46, target_id: 44, is_deleted: false },
  542. { match_queue_id: 8, profile_id: 46, target_id: 43, is_deleted: false },
  543. { match_queue_id: 9, profile_id: 46, target_id: 42, is_deleted: false },
  544. {
  545. match_queue_id: 10,
  546. profile_id: 46,
  547. target_id: 41,
  548. is_deleted: false,
  549. },
  550. {
  551. match_queue_id: 11,
  552. profile_id: 46,
  553. target_id: 40,
  554. is_deleted: false,
  555. },
  556. {
  557. match_queue_id: 12,
  558. profile_id: 40,
  559. target_id: 46,
  560. is_deleted: false,
  561. },
  562. {
  563. match_queue_id: 13,
  564. profile_id: 41,
  565. target_id: 46,
  566. is_deleted: false,
  567. },
  568. {
  569. match_queue_id: 14,
  570. profile_id: 42,
  571. target_id: 46,
  572. is_deleted: false,
  573. },
  574. {
  575. match_queue_id: 15,
  576. profile_id: 43,
  577. target_id: 46,
  578. is_deleted: false,
  579. },
  580. {
  581. match_queue_id: 16,
  582. profile_id: 44,
  583. target_id: 46,
  584. is_deleted: false,
  585. },
  586. ],
  587. }