export type researchTerms = {
  id: number;
  created_at: number;
  updated_at: number;
  type: number;
  title: string;
  color: number;
  meta: string;
  guid: string;
  owner: number;
  comment: string;
  ispublic: number;
  stt: number;
  project_version: number;
  organ_code: number;
  project_relations: null;
  item_state: number;
  table_columns: string;
  tags: string;
  repo_index: number;
};
export type options = [{ value: string; title: string }];

export type table_columns = [
  {
    key: string;
    title: string;
    width: number | string;
    textAlign: string;
    isLink: boolean;
    link_route: { id: string; name: string; key: string };
    trancate_word: 50;
  }
];
export type meta = [
  {
    title: string;
    items: [
      {
        key: string;
        label: string;
        type: string;
        placeholder: string;
        required: number | string;
        validation_regex: string;
        validation_error: string;
        multi_select: string;
        options: [];
      }
    ];
  }
];

export type selectedProject = {
  id: number;
  created_at: number;
  updated_at: number;
  type: number;
  title: string;
  color: number;
  meta: meta[];
  guid: string;
  owner: number;
  comment: string;
  ispublic: number;
  stt: number;
  project_version: number;
  organ_code: number;
  project_relations: string;
  item_state: number;
  table_columns: table_columns[];
  tags: string;
  repo_index: string;
  listType: number;
  isowner: number;
  sharedmsg: string;
};

export type isReturnFromItemshowPage = boolean;
export type list = {
  id: number;
  created_at: number;
  updated_at: number;
  title: string;
  project_id: number;
  owner: number;
  parent: number;
  child_order: number;
  listType: number;
  ispublic: number;
  project_version: number;
  sample: string;
  organ_code: number;
  other_id: number;
  meta: string;
  tags: string;
  children: number;
  active: boolean;
};
export type listId = number;
export type listComponentName = string;
export type projects = [
  {
    id: number;
    created_at: number;
    updated_at: number;
    type: number;
    title: string;
    color: number;
    meta: string;
    guid: string;
    owner: number;
    comment: string;
    ispublic: number;
    stt: number;
    project_version: number;
    organ_code: number;
    project_relations: null;
    item_state: number;
    table_columns: string;
    tags: string;
    repo_index: string;
    listType: number;
    isowner: number;
    sharedmsg: string;
    typeString: string;
  }
];
export type selectedItem = {
  id: number;
  created_at: number;
  updated_at: number;
  type: number;
  title: string;
  color: number;
  meta: string;
  guid: string;
  owner: number;
  comment: string;
  ispublic: number;
  stt: number;
  project_version: number;
  organ_code: number;
  project_relations: string;
  item_state: number;
  table_columns: string;
  tags: string;
  repo_index: string;
  listType: number;
  isowner: number;
  sharedmsg: string;
  typeString: string;
  active: boolean;
};
