| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890 |
- export const mockState = {
- user: {
- user: {
- id: 1,
- firstName: "User",
- lastName: "User",
- email: "user.user@dilig.net",
- isEnabled: true,
- phoneNumber: "123123",
- position: "ss",
- linkedIn: "ss",
- },
- errorMessage: "",
- },
- schedule: {
- schedule: [
- {
- date: "2022-12-01T11:00:00",
- link: "some link",
- selectionLevel: {
- id: 1,
- name: "HR intervju",
- },
- applicant: {
- applicantId: 1,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- },
- },
- {
- date: "2022-12-13T01:10:00",
- link: null,
- selectionLevel: {
- id: 1,
- name: "HR intervju",
- },
- applicant: {
- applicantId: 25,
- firstName: "Meris",
- lastName: "Ahmatovic",
- },
- },
- {
- date: "2022-12-28T03:21:00",
- link: null,
- selectionLevel: {
- id: 1,
- name: "HR intervju",
- },
- applicant: {
- applicantId: 11,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- },
- },
- {
- date: "2022-12-28T03:10:00",
- link: null,
- selectionLevel: {
- id: 1,
- name: "HR intervju",
- },
- applicant: {
- applicantId: 22,
- firstName: "Meris",
- lastName: "Ahmatovic",
- },
- },
- ],
- fetchScheduleErrorMessage: "Server error",
- },
- candidate: {
- candidate: {
- 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",
- },
- },
- {
- technology: {
- technologyId: 3,
- technologyType: "Frontend",
- name: "HTML/CSS",
- },
- },
- ],
- comments: [
- {
- content: "[Safet Purkovic]proba",
- dateOfSending: "2022-01-01T11:43:21.6545266",
- user: {
- id: 17,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- email: "dzenis.hadzifejzovic@dilig.net",
- isEnabled: true,
- },
- },
- {
- content: "[Ermin Bronja]",
- dateOfSending: "2022-12-05T12:49:14.9767749",
- user: {
- id: 17,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- email: "dzenis.hadzifejzovic@dilig.net",
- isEnabled: true,
- },
- },
- {
- content: "[Safet Purkovic]dsadad [Ermin Bronja]",
- dateOfSending: "2022-12-06T15:49:36.0651505",
- user: {
- id: 17,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- email: "dzenis.hadzifejzovic@dilig.net",
- isEnabled: true,
- },
- },
- ],
- 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: [
- {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- },
- {
- technologyId: 2,
- technologyType: "Other",
- name: "Git",
- },
- ],
- workHour: "FullTime",
- employmentType: "Intership",
- },
- {
- id: 12,
- title: ".NET Developer",
- minimumExperience: 4,
- createdAt: "2021-11-12T00:00:00",
- expiredAt: "2022-12-08T12:08:51.1360986",
- keyResponsibilities: "FS|SD|SD",
- requirements: "RE|RQ|RS",
- offer: "F|S|D",
- technologies: [
- {
- technologyId: 3,
- technologyType: "Frontend",
- name: "HTML/CSS",
- },
- ],
- workHour: "FullTime",
- employmentType: "Intership",
- },
- ],
- selectionProcesses: [],
- },
- 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,
- },
- ],
- user: {
- id: 2,
- firstName: "Second",
- lastName: "User",
- email: "second@gmail.com",
- isEnabled: true,
- },
- fetchCandidateErrorMessage: "Server error",
- },
- users: {
- users: [
- {
- id: 7,
- firstName: "Safet",
- lastName: "Purkovic",
- email: "safet.purkovic@dilig.net",
- isEnabled: true,
- position: "sd",
- },
- {
- id: 17,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- email: "dzenis.hadzifejzovic@dilig.net",
- isEnabled: true,
- position: "as",
- },
- {
- id: 18,
- firstName: "Ermin",
- lastName: "Bronja",
- email: "ermin.bronja@dilig.net",
- isEnabled: true,
- position: "sd",
- },
- {
- id: 19,
- firstName: "Nenad",
- lastName: "Stojanovic",
- email: "nenad.stojanovic@dilig.net",
- isEnabled: true,
- position: "sda",
- },
- {
- id: 28,
- firstName: "Vahid",
- lastName: "Visnjic",
- email: "vaha@dilig.net",
- isEnabled: true,
- position: "sd",
- },
- {
- id: 30,
- firstName: "Jovana",
- lastName: "Stankovic",
- email: "jovanahr@dilig.net",
- isEnabled: true,
- position: "ea",
- },
- {
- id: 31,
- firstName: "Djorjde",
- lastName: "Mitrovic",
- email: "djordje@dilig.net",
- isEnabled: true,
- position: "ed",
- },
- {
- id: 32,
- firstName: "Meris",
- lastName: "Ahmatovic",
- email: "meris.ahmatovic@dilig.net",
- isEnabled: true,
- position: "ge",
- },
- {
- id: 41,
- firstName: "M",
- lastName: "A",
- email: "ma@dilig.net",
- isEnabled: true,
- position: "hr",
- },
- {
- id: 42,
- firstName: "pull",
- lastName: "request",
- email: "pr@dilig.net",
- isEnabled: true,
- position: "23",
- },
- ],
- errorMessage: "Server Error",
- },
- stats: {
- levels: [
- {
- level: "HR intervju",
- countAll: 22,
- countDone: 4,
- },
- {
- level: "Screening test",
- countAll: 7,
- countDone: 1,
- },
- {
- level: "Tehnicki intervju",
- countAll: 3,
- countDone: 0,
- },
- {
- level: "Konacna odluka",
- countAll: 1,
- countDone: 0,
- },
- ],
- ads: [
- {
- id: 10,
- title: ".NET Intern",
- minimumExperience: 2,
- createdAt: "2022-11-14T08:23:00.772",
- expiredAt: "2024-12-06T09:53:42.439572",
- count: 5,
- },
- {
- id: 14,
- title: "React Developrer",
- minimumExperience: 1,
- createdAt: "2022-11-10T00:00:00",
- expiredAt: "2024-12-05T10:23:33.8972998",
- count: 1,
- },
- {
- id: 16,
- title: "Vue Developer",
- minimumExperience: 2,
- createdAt: "2022-10-10T00:00:00",
- expiredAt: "2023-10-10T00:00:00",
- count: 0,
- },
- {
- id: 19,
- title: "GO developer",
- minimumExperience: 3,
- createdAt: "2022-11-30T09:48:21.086",
- expiredAt: "2024-12-06T08:51:54.487659",
- count: 1,
- },
- {
- id: 22,
- title: "Angular",
- minimumExperience: 0,
- createdAt: "2022-11-30T19:05:20.187",
- expiredAt: "2024-11-07T00:00:00",
- count: 0,
- },
- {
- id: 25,
- title: "React",
- minimumExperience: 1,
- createdAt: "2022-12-01T11:00:23.237",
- expiredAt: "2022-12-30T00:00:00",
- count: 0,
- },
- ],
- },
- technologies: {
- technologies: [
- {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- isChecked: false,
- isChecked: false,
- },
- {
- technologyId: 2,
- technologyType: "Other",
- name: "Git",
- isChecked: false,
- isChecked: false,
- },
- {
- technologyId: 3,
- technologyType: "Frontend",
- name: "HTML/CSS",
- isChecked: false,
- isChecked: false,
- },
- ],
- fetchTecnologiesErrorMessage: "Server error",
- },
- candidates: {
- pagination: 2,
- candidates: [
- {
- 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: [],
- },
- ],
- fetchCandidatesErrorMessage: "Server error",
- adsCandidates: [
- {
- id: 1,
- title: ".NET Intern",
- applicants: [
- {
- applicantId: 1,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- dateOfApplication: "2022-02-11T00:00:00",
- cv: "link",
- experience: 1,
- technologyApplicants: [
- {
- technology: {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- },
- },
- ],
- },
- {
- applicantId: 24,
- firstName: "Proba",
- lastName: "Proba",
- dateOfApplication: "2022-02-11T00:00:00",
- cv: "link",
- experience: 2,
- technologyApplicants: [
- {
- technology: {
- technologyId: 2,
- technologyType: "Other",
- name: "Git",
- },
- },
- ],
- },
- {
- applicantId: 29,
- firstName: "Ermin",
- lastName: "Bronja",
- dateOfApplication: "2022-12-14T09:03:29.5150747",
- cv: "PDF",
- experience: 1,
- technologyApplicants: [
- {
- technology: {
- technologyId: 3,
- technologyType: "Frontend",
- name: "HTML/CSS",
- },
- },
- ],
- },
- {
- applicantId: 32,
- firstName: "AHS",
- lastName: "Jasj",
- dateOfApplication: "2022-12-14T11:30:36.3658961",
- cv: "PDF",
- experience: 1,
- technologyApplicants: [
- {
- technology: {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- },
- },
- ],
- },
- {
- applicantId: 42,
- firstName: "Safet",
- lastName: "Purkovic",
- dateOfApplication: "2022-12-14T11:30:36.3658961",
- cv: "PDF",
- experience: 3,
- technologyApplicants: [
- {
- technology: {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- },
- },
- ],
- },
- ],
- nubmerOfApplicants: 5,
- },
- {
- id: 2,
- title: "GO developer",
- applicants: [
- {
- applicantId: 1,
- firstName: "Dzenis",
- lastName: "Hadzifejzovic",
- dateOfApplication: "2022-02-11T00:00:00",
- cv: "link",
- experience: 1,
- technologyApplicants: [
- {
- technology: {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- },
- },
- {
- technology: {
- technologyId: 3,
- technologyType: "Frontend",
- name: "HTML/CSS",
- },
- },
- ],
- },
- ],
- nubmerOfApplicants: 1,
- },
- ],
- },
- 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,
- },
- ],
- user: {
- id: 2,
- firstName: "Second",
- lastName: "User",
- email: "second@gmail.com",
- isEnabled: true,
- },
- 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" },
- ],
- },
- ads: {
- ads: [
- {
- id: 1,
- title: "React Developer",
- minimumExperience: 0,
- createdAt: new Date(),
- expiredAt: new Date("9-9-2023"),
- keyResponsibilities: "K|K|K",
- requirements: "R|R|R",
- offer: "O|O|O",
- technologies: [
- {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- isChecked: false,
- },
- {
- technologyId: 2,
- technologyType: "Other",
- name: "Git",
- isChecked: false,
- },
- ],
- applicants: [],
- workHour: "FullTime",
- employmentType: "Work",
- },
- {
- id: 2,
- title: ".NET Developer",
- minimumExperience: 3,
- createdAt: new Date(),
- expiredAt: new Date("5-5-2021"),
- keyResponsibilities: "K|K|K",
- requirements: "R|R|R",
- offer: "O|O|O",
- technologies: [
- {
- technologyId: 1,
- technologyType: "Backend",
- name: ".NET",
- isChecked: false,
- },
- {
- technologyId: 3,
- technologyType: "Frontend",
- name: "HTML/CSS",
- isChecked: false,
- },
- ],
- applicants: [],
- workHour: "FullTime",
- employmentType: "Intership",
- },
- ],
- },
- patterns: {
- patterns: [
- {
- id: 1,
- title: "Uspesan korak",
- createdAt: new Date(),
- selectionLevelId: 1,
- selectionLevel: {
- id: 1,
- name: "Screening test",
- selectionProcesses: [
- {
- id: 1,
- name: "Some random name",
- status: "Čeka na zakazivanje",
- date: new Date(),
- link: "link",
- applicant: {
- applicantId: 1,
- firstName: "Ermin",
- lastName: "Bronja",
- email: "ermin.bronja@dilig.net",
- },
- selectionLevelId: 1,
- },
- ],
- },
- message: "Poruka",
- },
- {
- id: 2,
- title: "Neuspesan korak",
- createdAt: new Date(),
- selectionLevelId: 2,
- selectionLevel: {
- id: 2,
- name: "Konacna odluka",
- selectionProcesses: [],
- },
- message: "Poruka2",
- },
- {
- id: 3,
- title: "Zakazivanje termina",
- createdAt: new Date(),
- selectionLevelId: 3,
- selectionLevel: {
- id: 3,
- name: "HR intervju",
- selectionProcesses: [],
- },
- message: "Poruka3",
- },
- ],
- processes: [
- {
- id: 1,
- name: "Some random name",
- status: "Zakazan",
- date: new Date(),
- link: "link",
- applicant: {},
- selectionLevelId: 1,
- },
- ],
- },
- };
|