You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mockState.js 27KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089
  1. /* istanbul ignore file */
  2. export const mockState = {
  3. initProcess: {
  4. isSuccess: false,
  5. },
  6. screeningTests: {
  7. screeningTests: [],
  8. },
  9. options: {
  10. options: [
  11. {
  12. applicantId: 1,
  13. firstName: "Dzenis",
  14. lastName: "Hadzifejzovic",
  15. },
  16. ],
  17. },
  18. user: {
  19. user: {
  20. id: 1,
  21. firstName: "User",
  22. lastName: "User",
  23. email: "user.user@dilig.net",
  24. isEnabled: true,
  25. phoneNumber: "123123",
  26. position: "ss",
  27. linkedIn: "ss",
  28. },
  29. errorMessage: "",
  30. },
  31. schedule: {
  32. schedule: [
  33. {
  34. date: "2022-12-01T11:00:00",
  35. link: "some link",
  36. selectionLevel: {
  37. id: 1,
  38. name: "HR intervju",
  39. },
  40. applicant: {
  41. applicantId: 1,
  42. firstName: "Dzenis",
  43. lastName: "Hadzifejzovic",
  44. },
  45. },
  46. {
  47. date: "2022-12-13T01:10:00",
  48. link: null,
  49. selectionLevel: {
  50. id: 1,
  51. name: "HR intervju",
  52. },
  53. applicant: {
  54. applicantId: 25,
  55. firstName: "Meris",
  56. lastName: "Ahmatovic",
  57. },
  58. },
  59. {
  60. date: "2022-12-28T03:21:00",
  61. link: null,
  62. selectionLevel: {
  63. id: 1,
  64. name: "HR intervju",
  65. },
  66. applicant: {
  67. applicantId: 11,
  68. firstName: "Dzenis",
  69. lastName: "Hadzifejzovic",
  70. },
  71. },
  72. {
  73. date: "2022-12-28T03:10:00",
  74. link: null,
  75. selectionLevel: {
  76. id: 1,
  77. name: "HR intervju",
  78. },
  79. applicant: {
  80. applicantId: 22,
  81. firstName: "Meris",
  82. lastName: "Ahmatovic",
  83. },
  84. },
  85. ],
  86. fetchScheduleErrorMessage: "Server error",
  87. },
  88. candidate: {
  89. candidate: {
  90. applicantId: 1,
  91. firstName: "Dzenis",
  92. lastName: "Hadzifejzovic",
  93. position: ".NET Developer",
  94. dateOfApplication: "2022-02-11T00:00:00",
  95. cv: "link",
  96. email: "dzenis@gmail.com",
  97. phoneNumber: "774567",
  98. linkedlnLink: "link1",
  99. githubLink: "link2",
  100. bitBucketLink: null,
  101. experience: 1,
  102. gender: "M",
  103. applicationChannel: null,
  104. typeOfEmployment: "Posao",
  105. technologyApplicants: [
  106. {
  107. technology: {
  108. technologyId: 1,
  109. technologyType: "Backend",
  110. name: ".NET",
  111. },
  112. },
  113. {
  114. technology: {
  115. technologyId: 3,
  116. technologyType: "Frontend",
  117. name: "HTML/CSS",
  118. },
  119. },
  120. ],
  121. comments: [
  122. {
  123. content: "[Safet Purkovic]proba",
  124. dateOfSending: "2022-01-01T11:43:21.6545266",
  125. user: {
  126. id: 17,
  127. firstName: "Dzenis",
  128. lastName: "Hadzifejzovic",
  129. email: "dzenis.hadzifejzovic@dilig.net",
  130. isEnabled: true,
  131. },
  132. },
  133. {
  134. content: "[Ermin Bronja]",
  135. dateOfSending: "2022-12-05T12:49:14.9767749",
  136. user: {
  137. id: 17,
  138. firstName: "Dzenis",
  139. lastName: "Hadzifejzovic",
  140. email: "dzenis.hadzifejzovic@dilig.net",
  141. isEnabled: true,
  142. },
  143. },
  144. {
  145. content: "[Safet Purkovic]dsadad [Ermin Bronja]",
  146. dateOfSending: "2022-12-06T15:49:36.0651505",
  147. user: {
  148. id: 17,
  149. firstName: "Dzenis",
  150. lastName: "Hadzifejzovic",
  151. email: "dzenis.hadzifejzovic@dilig.net",
  152. isEnabled: true,
  153. },
  154. },
  155. ],
  156. ads: [
  157. {
  158. id: 10,
  159. title: ".NET Intern",
  160. minimumExperience: 2,
  161. createdAt: "2022-11-14T08:23:00.772",
  162. expiredAt: "2024-12-06T09:53:42.439572",
  163. keyResponsibilities: "KR|KR|KR|KR",
  164. requirements: "RQ|RQ|RQ|RQ",
  165. offer: "OF|OF|OF|OF",
  166. technologies: [
  167. {
  168. technologyId: 1,
  169. technologyType: "Backend",
  170. name: ".NET",
  171. },
  172. {
  173. technologyId: 2,
  174. technologyType: "Other",
  175. name: "Git",
  176. },
  177. ],
  178. workHour: "FullTime",
  179. employmentType: "Intership",
  180. },
  181. {
  182. id: 12,
  183. title: ".NET Developer",
  184. minimumExperience: 4,
  185. createdAt: "2021-11-12T00:00:00",
  186. expiredAt: "2022-12-08T12:08:51.1360986",
  187. keyResponsibilities: "FS|SD|SD",
  188. requirements: "RE|RQ|RS",
  189. offer: "F|S|D",
  190. technologies: [
  191. {
  192. technologyId: 3,
  193. technologyType: "Frontend",
  194. name: "HTML/CSS",
  195. },
  196. ],
  197. workHour: "FullTime",
  198. employmentType: "Intership",
  199. },
  200. ],
  201. selectionProcesses: [],
  202. },
  203. users: [
  204. {
  205. id: 1,
  206. firstName: "First",
  207. lastName: "User",
  208. email: "first@gmail.com",
  209. isEnabled: false,
  210. },
  211. {
  212. id: 2,
  213. firstName: "Second",
  214. lastName: "User",
  215. email: "second@gmail.com",
  216. isEnabled: true,
  217. },
  218. {
  219. id: 3,
  220. firstName: "Third",
  221. lastName: "User",
  222. email: "third@gmail.com",
  223. isEnabled: false,
  224. },
  225. ],
  226. user: {
  227. id: 2,
  228. firstName: "Second",
  229. lastName: "User",
  230. email: "second@gmail.com",
  231. isEnabled: true,
  232. },
  233. fetchCandidateErrorMessage: "Server error",
  234. },
  235. users: {
  236. users: [
  237. {
  238. id: 7,
  239. firstName: "Safet",
  240. lastName: "Purkovic",
  241. email: "safet.purkovic@dilig.net",
  242. isEnabled: true,
  243. position: "sd",
  244. },
  245. {
  246. id: 17,
  247. firstName: "Dzenis",
  248. lastName: "Hadzifejzovic",
  249. email: "dzenis.hadzifejzovic@dilig.net",
  250. isEnabled: true,
  251. position: "as",
  252. },
  253. {
  254. id: 18,
  255. firstName: "Ermin",
  256. lastName: "Bronja",
  257. email: "ermin.bronja@dilig.net",
  258. isEnabled: true,
  259. position: "sd",
  260. },
  261. {
  262. id: 19,
  263. firstName: "Nenad",
  264. lastName: "Stojanovic",
  265. email: "nenad.stojanovic@dilig.net",
  266. isEnabled: true,
  267. position: "sda",
  268. },
  269. {
  270. id: 28,
  271. firstName: "Vahid",
  272. lastName: "Visnjic",
  273. email: "vaha@dilig.net",
  274. isEnabled: true,
  275. position: "sd",
  276. },
  277. {
  278. id: 30,
  279. firstName: "Jovana",
  280. lastName: "Stankovic",
  281. email: "jovanahr@dilig.net",
  282. isEnabled: true,
  283. position: "ea",
  284. },
  285. {
  286. id: 31,
  287. firstName: "Djorjde",
  288. lastName: "Mitrovic",
  289. email: "djordje@dilig.net",
  290. isEnabled: true,
  291. position: "ed",
  292. },
  293. {
  294. id: 32,
  295. firstName: "Meris",
  296. lastName: "Ahmatovic",
  297. email: "meris.ahmatovic@dilig.net",
  298. isEnabled: true,
  299. position: "ge",
  300. },
  301. {
  302. id: 41,
  303. firstName: "M",
  304. lastName: "A",
  305. email: "ma@dilig.net",
  306. isEnabled: true,
  307. position: "hr",
  308. },
  309. {
  310. id: 42,
  311. firstName: "pull",
  312. lastName: "request",
  313. email: "pr@dilig.net",
  314. isEnabled: true,
  315. position: "23",
  316. },
  317. ],
  318. errorMessage: "Server Error",
  319. },
  320. stats: {
  321. levels: [
  322. {
  323. level: "HR intervju",
  324. countAll: 22,
  325. countDone: 4,
  326. },
  327. {
  328. level: "Screening test",
  329. countAll: 7,
  330. countDone: 1,
  331. },
  332. {
  333. level: "Tehnicki intervju",
  334. countAll: 3,
  335. countDone: 0,
  336. },
  337. {
  338. level: "Konacna odluka",
  339. countAll: 1,
  340. countDone: 0,
  341. },
  342. ],
  343. ads: [
  344. {
  345. id: 10,
  346. title: ".NET Intern",
  347. minimumExperience: 2,
  348. createdAt: "2022-11-14T08:23:00.772",
  349. expiredAt: "2024-12-06T09:53:42.439572",
  350. count: 5,
  351. },
  352. {
  353. id: 14,
  354. title: "React Developrer",
  355. minimumExperience: 1,
  356. createdAt: "2022-11-10T00:00:00",
  357. expiredAt: "2024-12-05T10:23:33.8972998",
  358. count: 1,
  359. },
  360. {
  361. id: 16,
  362. title: "Vue Developer",
  363. minimumExperience: 2,
  364. createdAt: "2022-10-10T00:00:00",
  365. expiredAt: "2023-10-10T00:00:00",
  366. count: 0,
  367. },
  368. {
  369. id: 19,
  370. title: "GO developer",
  371. minimumExperience: 3,
  372. createdAt: "2022-11-30T09:48:21.086",
  373. expiredAt: "2024-12-06T08:51:54.487659",
  374. count: 1,
  375. },
  376. {
  377. id: 22,
  378. title: "Angular",
  379. minimumExperience: 0,
  380. createdAt: "2022-11-30T19:05:20.187",
  381. expiredAt: "2024-11-07T00:00:00",
  382. count: 0,
  383. },
  384. {
  385. id: 25,
  386. title: "React",
  387. minimumExperience: 1,
  388. createdAt: "2022-12-01T11:00:23.237",
  389. expiredAt: "2022-12-30T00:00:00",
  390. count: 0,
  391. },
  392. ],
  393. fetchStatsErrorMessage: "Server Error",
  394. },
  395. technologies: {
  396. technologies: [
  397. {
  398. technologyId: 1,
  399. technologyType: "Backend",
  400. name: ".NET",
  401. isChecked: false,
  402. isChecked: false,
  403. },
  404. {
  405. technologyId: 2,
  406. technologyType: "Other",
  407. name: "Git",
  408. isChecked: false,
  409. isChecked: false,
  410. },
  411. {
  412. technologyId: 3,
  413. technologyType: "Frontend",
  414. name: "HTML/CSS",
  415. isChecked: false,
  416. isChecked: false,
  417. },
  418. ],
  419. fetchTecnologiesErrorMessage: "Server error",
  420. },
  421. candidates: {
  422. pagination: 2,
  423. candidates: [
  424. {
  425. applicantId: 1,
  426. firstName: "Dzenis",
  427. lastName: "Hadzifejzovic",
  428. position: ".NET Developer",
  429. dateOfApplication: "2022-02-11T00:00:00",
  430. cv: "link",
  431. email: "dzenis@gmail.com",
  432. phoneNumber: "774567",
  433. linkedlnLink: "link1",
  434. githubLink: "link2",
  435. bitBucketLink: null,
  436. experience: 1,
  437. applicationChannel: null,
  438. typeOfEmployment: "Posao",
  439. technologyApplicants: [
  440. {
  441. technology: {
  442. technologyId: 1,
  443. technologyType: "Backend",
  444. name: ".NET",
  445. },
  446. },
  447. ],
  448. comments: [],
  449. ads: [
  450. {
  451. id: 10,
  452. title: ".NET Intern",
  453. minimumExperience: 2,
  454. createdAt: "2022-11-14T08:23:00.772",
  455. expiredAt: "2024-12-06T09:53:42.439572",
  456. keyResponsibilities: "KR|KR|KR|KR",
  457. requirements: "RQ|RQ|RQ|RQ",
  458. offer: "OF|OF|OF|OF",
  459. technologies: [],
  460. workHour: "FullTime",
  461. employmentType: "Intership",
  462. },
  463. ],
  464. selectionProcesses: [],
  465. },
  466. {
  467. applicantId: 2,
  468. firstName: "Ermin",
  469. lastName: "Bronja",
  470. position: ".NET Developer",
  471. dateOfApplication: "2022-02-11T00:00:00",
  472. cv: "link",
  473. email: "ermin@gmail.com",
  474. phoneNumber: "342424",
  475. linkedlnLink: "link1",
  476. githubLink: "link2",
  477. bitBucketLink: null,
  478. experience: 3,
  479. applicationChannel: null,
  480. typeOfEmployment: "Posao",
  481. technologyApplicants: [
  482. {
  483. technology: {
  484. technologyId: 1,
  485. technologyType: "Backend",
  486. name: ".NET",
  487. },
  488. },
  489. ],
  490. comments: [],
  491. ads: [],
  492. selectionProcesses: [],
  493. },
  494. ],
  495. fetchCandidatesErrorMessage: "Server error",
  496. adsCandidates: [
  497. {
  498. id: 1,
  499. title: ".NET Intern",
  500. applicants: [
  501. {
  502. applicantId: 1,
  503. firstName: "Dzenis",
  504. lastName: "Hadzifejzovic",
  505. dateOfApplication: "2022-02-11T00:00:00",
  506. cv: "link",
  507. experience: 1,
  508. technologyApplicants: [
  509. {
  510. technology: {
  511. technologyId: 1,
  512. technologyType: "Backend",
  513. name: ".NET",
  514. },
  515. },
  516. ],
  517. },
  518. {
  519. applicantId: 24,
  520. firstName: "Proba",
  521. lastName: "Proba",
  522. dateOfApplication: "2022-02-11T00:00:00",
  523. cv: "link",
  524. experience: 2,
  525. technologyApplicants: [
  526. {
  527. technology: {
  528. technologyId: 2,
  529. technologyType: "Other",
  530. name: "Git",
  531. },
  532. },
  533. ],
  534. },
  535. {
  536. applicantId: 29,
  537. firstName: "Ermin",
  538. lastName: "Bronja",
  539. dateOfApplication: "2022-12-14T09:03:29.5150747",
  540. cv: "PDF",
  541. experience: 1,
  542. technologyApplicants: [
  543. {
  544. technology: {
  545. technologyId: 3,
  546. technologyType: "Frontend",
  547. name: "HTML/CSS",
  548. },
  549. },
  550. ],
  551. },
  552. {
  553. applicantId: 32,
  554. firstName: "AHS",
  555. lastName: "Jasj",
  556. dateOfApplication: "2022-12-14T11:30:36.3658961",
  557. cv: "PDF",
  558. experience: 1,
  559. technologyApplicants: [
  560. {
  561. technology: {
  562. technologyId: 1,
  563. technologyType: "Backend",
  564. name: ".NET",
  565. },
  566. },
  567. ],
  568. },
  569. {
  570. applicantId: 42,
  571. firstName: "Safet",
  572. lastName: "Purkovic",
  573. dateOfApplication: "2022-12-14T11:30:36.3658961",
  574. cv: "PDF",
  575. experience: 3,
  576. technologyApplicants: [
  577. {
  578. technology: {
  579. technologyId: 1,
  580. technologyType: "Backend",
  581. name: ".NET",
  582. },
  583. },
  584. ],
  585. },
  586. {
  587. applicantId: 66,
  588. firstName: "dasd",
  589. lastName: "dasdas",
  590. dateOfApplication: "2022-02-11T00:00:00",
  591. cv: "link",
  592. experience: 1,
  593. technologyApplicants: [
  594. {
  595. technology: {
  596. technologyId: 1,
  597. technologyType: "Backend",
  598. name: ".NET",
  599. },
  600. },
  601. ],
  602. },
  603. ],
  604. nubmerOfApplicants: 6,
  605. },
  606. {
  607. id: 2,
  608. title: "GO developer",
  609. applicants: [
  610. {
  611. applicantId: 1,
  612. firstName: "Dzenis",
  613. lastName: "Hadzifejzovic",
  614. dateOfApplication: "2022-02-11T00:00:00",
  615. cv: "link",
  616. experience: 1,
  617. technologyApplicants: [
  618. {
  619. technology: {
  620. technologyId: 1,
  621. technologyType: "Backend",
  622. name: ".NET",
  623. },
  624. },
  625. {
  626. technology: {
  627. technologyId: 3,
  628. technologyType: "Frontend",
  629. name: "HTML/CSS",
  630. },
  631. },
  632. ],
  633. },
  634. ],
  635. nubmerOfApplicants: 1,
  636. },
  637. ],
  638. },
  639. users: {
  640. users: [
  641. {
  642. id: 1,
  643. firstName: "First",
  644. lastName: "User",
  645. email: "first@gmail.com",
  646. isEnabled: false,
  647. },
  648. {
  649. id: 2,
  650. firstName: "Second",
  651. lastName: "User",
  652. email: "second@gmail.com",
  653. isEnabled: true,
  654. },
  655. {
  656. id: 3,
  657. firstName: "Third",
  658. lastName: "User",
  659. email: "third@gmail.com",
  660. isEnabled: false,
  661. },
  662. ],
  663. user: {
  664. id: 2,
  665. firstName: "Second",
  666. lastName: "User",
  667. email: "second@gmail.com",
  668. isEnabled: true,
  669. },
  670. selected: {},
  671. fetchUsersErrorMessage: "Server error",
  672. toggleEnableErrorMessage: "",
  673. },
  674. selections: {
  675. process: { doneProcess: false },
  676. processes: [
  677. {
  678. id: 1,
  679. name: "HR intervju",
  680. selectionProcesses: [
  681. {
  682. id: 1,
  683. name: "sel1",
  684. status: "Odrađen",
  685. date: new Date(2023, 1, 1, 12, 0),
  686. link: "http://google.com",
  687. selectionLevelId: 1,
  688. applicant: {
  689. applicantId: 1,
  690. firstName: "Dzenis",
  691. lastName: "Hadzifejzovic",
  692. },
  693. },
  694. {
  695. id: 2,
  696. name: "sel2",
  697. status: "Odrađen",
  698. date: new Date(2023, 1, 1, 13, 0),
  699. link: "http://google.com",
  700. selectionLevelId: 1,
  701. applicant: {
  702. applicantId: 2,
  703. firstName: "Meris",
  704. lastName: "Ahmatovic",
  705. },
  706. },
  707. {
  708. id: 3,
  709. name: "sel3",
  710. status: "Zakazan",
  711. date: new Date(2023, 1, 10, 12, 0),
  712. link: "http://google.com",
  713. selectionLevelId: 1,
  714. applicant: {
  715. applicantId: 3,
  716. firstName: "Ermin",
  717. lastName: "Bronja",
  718. },
  719. },
  720. {
  721. id: 306,
  722. name: "wC$_h53N",
  723. status: "Zakazan",
  724. date: "2023-01-19T03:15:00",
  725. link: null,
  726. applicant: {
  727. applicantId: 21363,
  728. firstName: "Nikola",
  729. lastName: "Stanković",
  730. position: "",
  731. dateOfApplication: "0001-01-01T00:00:00",
  732. cv: "",
  733. email: "stankovic.nikola1@gmail.com",
  734. phoneNumber: "",
  735. linkedlnLink: "",
  736. githubLink: "",
  737. bitBucketLink: "",
  738. experience: 0,
  739. applicationChannel: "",
  740. typeOfEmployment: "Intership",
  741. technologyApplicants: [],
  742. comments: [],
  743. ads: [],
  744. selectionProcesses: [
  745. {
  746. status: "Zakazan",
  747. date: "2023-01-19T03:15:00",
  748. link: null,
  749. comment: null,
  750. scheduler: {
  751. id: 17,
  752. firstName: "Dzenis",
  753. lastName: "Hadzifejzovic",
  754. email: "dzenis.hadzifejzovic@dilig.net",
  755. isEnabled: true,
  756. position: "as",
  757. },
  758. selectionLevel: { id: 1, name: "HR intervju" },
  759. },
  760. ],
  761. },
  762. scheduler: {
  763. id: 17,
  764. firstName: "Dzenis",
  765. lastName: "Hadzifejzovic",
  766. email: "dzenis.hadzifejzovic@dilig.net",
  767. isEnabled: true,
  768. position: "as",
  769. },
  770. selectionLevelId: 1,
  771. },
  772. {
  773. id: 307,
  774. name: "wE$_h53N",
  775. status: "Neuspešno",
  776. date: "2023-01-19T03:15:00",
  777. link: null,
  778. applicant: {
  779. applicantId: 21364,
  780. firstName: "Nikola",
  781. lastName: "Jovanovic",
  782. position: "",
  783. dateOfApplication: "0001-01-01T00:00:00",
  784. cv: "",
  785. email: "Jovanovic.nikola1@gmail.com",
  786. phoneNumber: "",
  787. linkedlnLink: "",
  788. githubLink: "",
  789. bitBucketLink: "",
  790. experience: 0,
  791. applicationChannel: "",
  792. typeOfEmployment: "Intership",
  793. technologyApplicants: [],
  794. comments: [],
  795. ads: [],
  796. selectionProcesses: [
  797. {
  798. status: "Zakazan",
  799. date: "2023-01-19T03:15:00",
  800. link: null,
  801. comment: null,
  802. scheduler: {
  803. id: 17,
  804. firstName: "Dzenis",
  805. lastName: "Hadzifejzovic",
  806. email: "dzenis.hadzifejzovic@dilig.net",
  807. isEnabled: true,
  808. position: "as",
  809. },
  810. selectionLevel: { id: 1, name: "HR intervju" },
  811. },
  812. ],
  813. },
  814. scheduler: {
  815. id: 17,
  816. firstName: "Dzenis",
  817. lastName: "Hadzifejzovic",
  818. email: "dzenis.hadzifejzovic@dilig.net",
  819. isEnabled: true,
  820. position: "as",
  821. },
  822. selectionLevelId: 1,
  823. },
  824. ],
  825. },
  826. {
  827. id: 2,
  828. name: "Screening test",
  829. selectionProcesses: [
  830. {
  831. id: 4,
  832. name: "sel4",
  833. status: "Čeka na zakazivanje",
  834. date: new Date(2023, 1, 10, 12, 0),
  835. selectionLevelId: 2,
  836. applicant: {
  837. applicantId: 1,
  838. firstName: "Dzenis",
  839. lastName: "Hadzifejzovic",
  840. },
  841. },
  842. {
  843. id: 5,
  844. name: "sel5",
  845. status: "Odrađen",
  846. date: new Date(2023, 1, 3, 12, 0),
  847. link: "http://google.com",
  848. selectionLevelId: 1,
  849. applicant: {
  850. applicantId: 2,
  851. firstName: "Meris",
  852. lastName: "Ahmatovic",
  853. },
  854. },
  855. ],
  856. },
  857. {
  858. id: 3,
  859. name: "Tehnicki intervju",
  860. selectionProcesses: [
  861. {
  862. id: 6,
  863. name: "sel6",
  864. status: "Zakazan",
  865. date: new Date(2023, 1, 11, 10, 0),
  866. link: "http://google.com",
  867. selectionLevelId: 3,
  868. applicant: {
  869. applicantId: 2,
  870. firstName: "Meris",
  871. lastName: "Ahmatovic",
  872. },
  873. },
  874. ],
  875. },
  876. {
  877. id: 4,
  878. name: "Konačna odluka",
  879. selectionProcesses: [
  880. {
  881. id: 7,
  882. name: "sel6",
  883. status: "Zakazan",
  884. date: new Date(2023, 1, 11, 10, 0),
  885. link: "http://google.com",
  886. selectionLevelId: 4,
  887. applicant: {
  888. applicantId: 2,
  889. firstName: "Meris",
  890. lastName: "Ahmatovic",
  891. },
  892. },
  893. ],
  894. },
  895. ],
  896. selected: {},
  897. fetchSelectionsErrorMessage: "Server error",
  898. statuses: [
  899. { isChecked: false, name: "Zakazan" },
  900. { isChecked: false, name: "Odrađen" },
  901. { isChecked: false, name: "Čeka na zakazivanje" },
  902. { isChecked: false, name: "Čeka se odgovor" },
  903. ],
  904. },
  905. ads: {
  906. ads: [
  907. {
  908. id: 1,
  909. title: "React Developer",
  910. minimumExperience: 0,
  911. createdAt: new Date(),
  912. expiredAt: new Date("9-9-2023"),
  913. keyResponsibilities: "K|K|K",
  914. requirements: "R|R|R",
  915. offer: "O|O|O",
  916. technologies: [
  917. {
  918. technologyId: 1,
  919. technologyType: "Backend",
  920. name: ".NET",
  921. isChecked: false,
  922. },
  923. {
  924. technologyId: 2,
  925. technologyType: "Other",
  926. name: "Git",
  927. isChecked: false,
  928. },
  929. ],
  930. applicants: [],
  931. workHour: "FullTime",
  932. employmentType: "Work",
  933. },
  934. {
  935. id: 2,
  936. title: ".NET Developer",
  937. minimumExperience: 3,
  938. createdAt: new Date(),
  939. expiredAt: new Date("5-5-2021"),
  940. keyResponsibilities: "K|K|K",
  941. requirements: "R|R|R",
  942. offer: "O|O|O",
  943. technologies: [
  944. {
  945. technologyId: 1,
  946. technologyType: "Backend",
  947. name: ".NET",
  948. isChecked: false,
  949. },
  950. {
  951. technologyId: 3,
  952. technologyType: "Frontend",
  953. name: "HTML/CSS",
  954. isChecked: false,
  955. },
  956. ],
  957. applicants: [],
  958. workHour: "FullTime",
  959. employmentType: "Intership",
  960. },
  961. ],
  962. },
  963. patterns: {
  964. patterns: [
  965. {
  966. id: 1,
  967. title: "Uspesan korak",
  968. createdAt: new Date(),
  969. selectionLevelId: 1,
  970. selectionLevel: {
  971. id: 1,
  972. name: "Screening test",
  973. selectionProcesses: [
  974. {
  975. id: 1,
  976. name: "Some random name",
  977. status: "Čeka na zakazivanje",
  978. date: new Date(),
  979. link: "link",
  980. applicant: {
  981. applicantId: 1,
  982. firstName: "Ermin",
  983. lastName: "Bronja",
  984. email: "ermin.bronja@dilig.net",
  985. },
  986. selectionLevelId: 1,
  987. },
  988. ],
  989. },
  990. message: "Poruka",
  991. },
  992. {
  993. id: 2,
  994. title: "Neuspesan korak",
  995. createdAt: new Date(),
  996. selectionLevelId: 2,
  997. selectionLevel: {
  998. id: 2,
  999. name: "Konacna odluka",
  1000. selectionProcesses: [],
  1001. },
  1002. message: "Poruka2",
  1003. },
  1004. {
  1005. id: 3,
  1006. title: "Zakazivanje termina",
  1007. createdAt: new Date(),
  1008. selectionLevelId: 3,
  1009. selectionLevel: {
  1010. id: 3,
  1011. name: "HR intervju",
  1012. selectionProcesses: [],
  1013. },
  1014. message: "Poruka3",
  1015. },
  1016. ],
  1017. processes: [
  1018. {
  1019. id: 1,
  1020. name: "Some random name",
  1021. status: "Zakazan",
  1022. date: new Date(),
  1023. link: "link",
  1024. applicant: {},
  1025. selectionLevelId: 1,
  1026. },
  1027. ],
  1028. },
  1029. applSelection: {
  1030. ads: [],
  1031. applicantId: 21359,
  1032. applicationChannel: "",
  1033. bitBucketLink: "",
  1034. comments: [],
  1035. cv: "",
  1036. dateOfApplication: "0001-01-01T00:00:00",
  1037. email: "jelena.d.zivkovic@gmail.com",
  1038. experience: 0,
  1039. firstName: "Jelena",
  1040. githubLink: "",
  1041. lastName: "Zivkovic",
  1042. linkedlnLink: "",
  1043. phoneNumber: "",
  1044. position: "",
  1045. selectionProcesses: [
  1046. {
  1047. selectionLevel: { id: 1, name: "HR intervju" },
  1048. status: "Odrađen",
  1049. scheduler: {
  1050. email: "dzenis.hadzifejzovic@dilig.net",
  1051. firstName: "Dzenis",
  1052. id: 17,
  1053. isEnabled: true,
  1054. lastName: "Hadzifejzovic",
  1055. position: "as",
  1056. },
  1057. comment: null,
  1058. date: "2023-01-21T01:05:00",
  1059. link: null,
  1060. },
  1061. {
  1062. selectionLevel: { id: 2, name: "Screening Test" },
  1063. status: "Odrađen",
  1064. comment: null,
  1065. date: "2023-01-21T01:05:00",
  1066. link: null,
  1067. scheduler: null,
  1068. },
  1069. {
  1070. selectionLevel: { id: 3, name: "Tehnički intervju" },
  1071. status: "Odrađen",
  1072. comment: null,
  1073. date: "2023-01-21T01:05:00",
  1074. link: null,
  1075. scheduler: null,
  1076. },
  1077. {
  1078. selectionLevel: { id: 4, name: "Konačna odluka" },
  1079. status: "Čeka na zakazivanje",
  1080. comment: null,
  1081. date: "2023-01-21T01:05:00",
  1082. link: null,
  1083. scheduler: null,
  1084. },
  1085. ],
  1086. technologyApplicants: [],
  1087. typeOfEmployment: "Intership",
  1088. },
  1089. };