| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- export const mockState = {
- technologies: {
- technologies: [
- {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- isChecked:false
- },
- {
- technologyId: 2,
- technologyType: "Other",
- name: "Git",
- isChecked:false
- },
- {
- technologyId: 3,
- technologyType: "Frontend",
- name: "HTML/CSS",
- isChecked:false
- },
- ],
- fetchTecnologiesErrorMessage: "Server error",
- },
- candidates: {
- total: 2,
- items: [
- {
- applicantId: 1,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- position: ".NET Developer",
- dateOfApplication: "2022-02-11T00:00:00",
- cv: "link",
- email: "dzenis@gmail.com",
- phoneNumber: "774567",
- linkedlnLink: "link1",
- githubLink: "link2",
- bitBucketLink: null,
- experience: 1,
- applicationChannel: null,
- typeOfEmployment: "Posao",
- technologyApplicants: [
- {
- technology: {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- },
- },
- ],
- comments: [],
- ads: [
- {
- id: 10,
- title: ".NET Intern",
- minimumExperience: 2,
- createdAt: "2022-11-14T08:23:00.772",
- expiredAt: "2024-12-06T09:53:42.439572",
- keyResponsibilities: "KR|KR|KR|KR",
- requirements: "RQ|RQ|RQ|RQ",
- offer: "OF|OF|OF|OF",
- technologies: [],
- workHour: "FullTime",
- employmentType: "Intership",
- },
- ],
- selectionProcesses: [],
- },
- {
- applicantId: 2,
- firstName: "Ermin",
- lastName: "Bronja",
- position: ".NET Developer",
- dateOfApplication: "2022-02-11T00:00:00",
- cv: "link",
- email: "ermin@gmail.com",
- phoneNumber: "342424",
- linkedlnLink: "link1",
- githubLink: "link2",
- bitBucketLink: null,
- experience: 3,
- applicationChannel: null,
- typeOfEmployment: "Posao",
- technologyApplicants: [
- {
- technology: {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- },
- },
- ],
- comments: [],
- ads: [],
- selectionProcesses: [],
- },
- ],
- },
- users: {
- users: [
- {
- id: 1,
- firstName: "First",
- lastName: "User",
- email: "first@gmail.com",
- isEnabled: false,
- },
- {
- id: 2,
- firstName: "Second",
- lastName: "User",
- email: "second@gmail.com",
- isEnabled: true,
- },
- {
- id: 3,
- firstName: "Third",
- lastName: "User",
- email: "third@gmail.com",
- isEnabled: false,
- },
- ],
- selected: {},
- fetchUsersErrorMessage: "Server error",
- toggleEnableErrorMessage: "",
- },
- selections: {
- process: { doneProcess: false },
- processes: [
- {
- id: 1,
- name: "HR intervju",
- selectionProcesses: [
- {
- id: 1,
- name: "sel1",
- status: "Odrađen",
- date: new Date(2023, 1, 1, 12, 0),
- link: "http://google.com",
- selectionLevelId: 1,
- applicant: {
- applicantId: 1,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- },
- },
- {
- id: 2,
- name: "sel2",
- status: "Odrađen",
- date: new Date(2023, 1, 1, 13, 0),
- link: "http://google.com",
- selectionLevelId: 1,
- applicant: {
- applicantId: 2,
- firstName: "Meris",
- lastName: "Ahmatovic",
- },
- },
- {
- id: 3,
- name: "sel3",
- status: "Zakazan",
- date: new Date(2023, 1, 10, 12, 0),
- link: "http://google.com",
- selectionLevelId: 1,
- applicant: {
- applicantId: 3,
- firstName: "Ermin",
- lastName: "Bronja",
- },
- },
- ],
- },
- {
- id: 2,
- name: "Screening test",
- selectionProcesses: [
- {
- id: 4,
- name: "sel4",
- status: "Čeka na zakazivanje",
- date: new Date(2023, 1, 10, 12, 0),
- selectionLevelId: 2,
- applicant: {
- applicantId: 1,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- },
- },
- {
- id: 5,
- name: "sel5",
- status: "Odrađen",
- date: new Date(2023, 1, 3, 12, 0),
- link: "http://google.com",
- selectionLevelId: 1,
- applicant: {
- applicantId: 2,
- firstName: "Meris",
- lastName: "Ahmatovic",
- },
- },
- ],
- },
- {
- id: 3,
- name: "Tehnicki intervju",
- selectionProcesses: [
- {
- id: 6,
- name: "sel6",
- status: "Zakazan",
- date: new Date(2023, 1, 11, 10, 0),
- link: "http://google.com",
- selectionLevelId: 3,
- applicant: {
- applicantId: 2,
- firstName: "Meris",
- lastName: "Ahmatovic",
- },
- },
- ],
- },
- {
- id: 4,
- name: "Konacna odluka",
- selectionProcesses: [
- {
- id: 6,
- name: "sel6",
- status: "Zakazan",
- date: new Date(2023, 1, 11, 10, 0),
- link: "http://google.com",
- selectionLevelId: 3,
- applicant: {
- applicantId: 2,
- firstName: "Meris",
- lastName: "Ahmatovic",
- },
- },
- ],
- },
- ],
- selected: {},
- fetchSelectionsErrorMessage: "Server error",
- statuses: [
- { isChecked: false, name: "Zakazan" },
- { isChecked: false, name: "Odrađen" },
- { isChecked: false, name: "Čeka na zakazivanje" },
- { isChecked: false, name: "Čeka se odgovor" },
- ],
- },
- };
|