UNPKG

instantjob-recruiter-client

Version:

a set of tools for creating an instantjob recruiter react client

302 lines (297 loc) 5.6 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _moment = require('moment'); var _moment2 = _interopRequireDefault(_moment); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = { missions: { deals: { 1: { id: 1, template_mission_id: 7, custom_field_ids: {} }, 2: { id: 2, template_mission_id: 8, custom_field_ids: {} }, 3: { id: 3, template_mission_id: 9, custom_field_ids: {} }, 4: { id: 4, template_mission_id: 10, custom_field_ids: {} }, 5: { id: 5, template_mission_id: 11, custom_field_ids: {} }, 6: { id: 6, template_mission_id: 12, custom_field_ids: { 7: true } }, 7: { id: 7, template_mission_id: 13, custom_field_ids: {}, deleted_at: (0, _moment2.default)().subtract(1, 'day').toJSON() } }, missions: { 1: { id: 1, deal_id: 1, users_count: 1 }, 7: { id: 7, deal_id: 1 }, 2: { id: 2, deal_id: 2, users_count: 1 }, 8: { id: 8, deal_id: 2 }, 3: { id: 3, deal_id: 3, first_assigned_at: (0, _moment2.default)().toJSON(), users_count: 1, assigned_proposals: [{ id: 1, user_id: 1 }] }, 9: { id: 9, deal_id: 3, workplace_id: 1 }, 4: { id: 4, deal_id: 4, users_count: 1 }, 10: { id: 10, deal_id: 4 }, 5: { id: 5, deal_id: 5, users_count: 1 }, 11: { id: 11, deal_id: 5 }, 6: { id: 6, deal_id: 6 }, 12: { id: 12, deal_id: 6 }, 13: { id: 13, deal_id: 7 }, 14: { id: 14, deal_id: 7, users_count: 1, deleted_at: (0, _moment2.default)().subtract(1, 'day').toJSON() }, 15: { id: 15, deal_id: 6, deleted_at: (0, _moment2.default)().subtract(1, 'day').toJSON() } }, events: { 1: { id: 1, calenderable_type: 'Mission', calenderable_id: 2, start: (0, _moment2.default)().add(1, 'day').toJSON(), end: (0, _moment2.default)().add(2, 'days').toJSON() } }, users: { 1: {}, 2: { 1: 'new' }, 3: { 1: 'assigned' }, 4: { 1: 'accepted' }, 5: { 1: 'rejected' } }, workplaces: { 1: { id: 1, name: 'Tour Eiffel', address: 'Tour Eiffel, Paris, France', latitude: 48.8582602, longitude: 2.29449905431968 } } }, recruiters: { recruiters: { 1: { id: 1, first_name: 'John', last_name: 'Doe', default_deal_id: 6 } } }, users: { users: { 1: { id: 1, first_name: 'Amandine', last_name: 'Dénain', invitation_sent_at: (0, _moment2.default)().subtract(1, 'minute').toJSON() }, 2: { id: 2, first_name: 'Applied', last_name: 'User' }, 3: { id: 3, first_name: 'Eugénie', last_name: 'Rouble', invitation_accepted_at: (0, _moment2.default)().subtract(1, 'day').toJSON() } } }, fields: { fields: { 1: { id: 1, name: 'comment', category: 'comment', for_entity: 'Mission', comments: { 0: 'test' }, files: {}, value_id_for: {} }, 2: { id: 2, name: 'Hello', category: 'comment', for_entity: 'User', comments: { 1: 'Coucou' }, value_id_for: {} }, 3: { id: 3, name: 'World', category: 'non_exclusive', for_entity: 'User', value_id_for: {} }, 4: { id: 4, name: 'Skills', category: 'non_exclusive', for_entity: 'User', recycled: true, value_id_for: {} }, 5: { id: 5, name: 'Client', category: 'exclusive', for_entity: 'Mission', value_id_for: { 9: 3 } }, 6: { id: 6, name: 'Contacts', category: 'non_exclusive', for_entity: 'Mission', value_id_for: {} }, 7: { id: 7, name: 'Équipe', category: 'exclusive', for_entity: 'User', recycled: true, value_id_for: { 1: 2 } } }, values: { 1: { id: 1, field_id: 3, name: 'Earth', entity_ids: { 1: true }, mission_ids: {} }, 2: { id: 2, field_id: 7, name: 'Service', entity_ids: {}, mission_ids: { 6: true } }, 3: { id: 3, field_id: 5, name: 'Microsoft', entity_ids: { 9: true }, mission_ids: { 9: true } } } }, profile: { id: 1, agency: { workplace_shared_with_user: false } }, demands: { demands: { id: 1, user_id: 2 } } };