interface QuestionLogic {
  value?: string;
  location?: number;
  date?: string;
  time?: string;
  type?: number;
  row_type?: number;
  cell_type?: number;
  logic?: string;
  operator?: string;
  is_answer?: number;
  is_select?: number;
  row_index?: number;
  cell_index?: number;
  question_type?: number;
  question_index?: number;
  relation_question_index?: number;
  relation_question_row_index?: number;
  relation_question_cell_index?: number;
  is_option_group?: number;
  option_index?: number;
  skip_type?: null | number;
  question_id?: null | string;
}

interface Logic {
  logic?: QuestionLogic[];
  skip_question_index?: number;
  skip_type?: number;
  id?: number | string;
  question_index?: number;
  question_id?: string;
}

interface LocalPage {
  pages?: number[];
  is_short_time?: number;
  short_time?: string;
  is_show?: number;
  use_type?: number;
}

interface Survey {
  id?: number;
  introduction?: string;
  pages?: number[][];
  sn?: string;
  status?: number;
  title?: string;
  detail_pages?: number[][];
  group_pages?: number[][];
  is_one_page_one_question?: number;
  last_question_index?: number;
  is_three_d_permissions?: number;
  is_dept?: number;
  last_title?: string;
  project_name?: string;
  quota_end_content?: string;
  quota_end_url?: string;
  quota_end_url_select?: number;
  quota_standing_time?: number;
  screening_end_content?: string;
  screening_end_url?: string;
  screening_end_url_select?: number;
  screening_standing_time?: number;
  end_jump_url?: string;
  end_jump_status?: number;
  end_jump_standing_time?: number;
  success_end_content?: string;
  success_end_url?: string;
  success_end_url_select?: number;
  success_standing_time?: number;
  template_type?: number;
  local_pages?: LocalPage[];
}

interface QuestionsInfo {
  survey?: Survey;
  logics?: Logic[];
  questions?: any[];
  cycle_pages?: null | any;
}
