UNPKG

gaf-mobile

Version:

GAF mobile Web site

148 lines (146 loc) 3.81 kB
'use strict'; /* exported TemplateMock */ function TemplateMock() { return { project_title: 'Web Development Project', templates: { 1: { active: true, id: 1, description: 'Web development' } }, answers: [ { answer_range: null, order_num: 1, jobs: [{ id: 1 }, { id: 2 }], answer_text: 'an online store', deletes_question: false, answer: 'Online store', id: 1, question_id: 1 }, { answer_range: null, order_num: 1, answer_text: ' designed and coded.', jobs: [{ id: 1 }, { id: 2 }], deletes_question: false, answer: 'Designed and coded', id: 6, question_id: 2 } ], questions: { 1: { antecedent_answer_id: null, previous_question_id: null, template_id: 1, active: true, project_template_question_text: { help_text: 'There are many different kinds of websites. ' + 'If you are not sure, select "Other"', answer_template: 'I need {}', style: 'radio', question_text: 'What type of website do you need?', id: 1 }, id: 1 }, 2: { antecedent_answer_id: null, previous_question_id: 50, template_id: 1, active: true, project_template_question_text: { answer_template: 'I need {}', style: 'radio', question_text: 'What type of website do you need?', id: 2 }, id: 2 }, 3: { antecedent_answer_id: null, previous_question_id: 1, template_id: 1, active: true, project_template_question_text: { help_text: '', answer_template: '{}', style: 'radio', question_text: 'Would you like it designed and coded?', id: 3 }, id: 3 }, 4: { antecedent_answer_id: null, previous_question_id: 2, template_id: 1, active: true, project_template_question_text: { help_text: 'A CMS is used to manage the content of the website.', answer_template: '{}.', style: 'radio', question_text: 'Is there a specific CMS you would like to use?', id: 4 }, id: 4 }, 5: { antecedent_answer_id: null, previous_question_id: 4, template_id: 2, active: true, project_template_question_text: { help_text: 'The device you target', answer_template: 'It should target {}.', style: 'radio', question_text: 'Which devices are you targeting?', id: 5 }, id: 5 } }, dynamic_questions: [ { antecedent_answer_id: null, previous_question_id: null, template_id: 1, active: true, project_template_question_text: { help_text: 'There are many different kinds of websites. ' + 'If you are not sure, select "Other"', answer_template: 'I need {}', style: 'radio', question_text: 'What type of website do you need?', id: 1 }, id: 1 }, { antecedent_answer_id: null, previous_question_id: 50, template_id: 1, active: true, project_template_question_text: { answer_template: 'I need {}', style: 'radio', question_text: 'What type of website do you need?', id: 2 }, id: 2 } ] }; }