<commit_before>import { GoAnnotation } from "dicty-graphql-schema"
import mockOntologyData from "./mockOntologyData"
import mockPhenotypesData, { IMockPhenotypesData } from "./mockPhenotypesData"

interface IMockGeneData {
  id: string
  name: string
  goas: GoAnnotation[]
  phenotypes: IMockPhenotypesData[]
}

const mockGene: { gene: IMockGeneData } = {
  gene: {
    id: "DDB_G0288511",
    name: "sadA",
    goas: [...mockOntologyData.goas],
    phenotypes: [...mockPhenotypesData.phenotypes],
  },
}

export default mockGene
<commit_msg>feat: make goas, phenotypes optional types + add __typename field to match gql type<commit_after>import { GoAnnotation } from "dicty-graphql-schema"
import mockOntologyData from "./mockOntologyData"
import mockPhenotypesData, { IMockPhenotypesData } from "./mockPhenotypesData"

interface IMockGeneData {
  __typename?: string
  id: string
  name: string
  goas?: GoAnnotation[]
  phenotypes?: IMockPhenotypesData[]
}

const mockGene: { gene: IMockGeneData } = {
  gene: {
    __typename: "Gene",
    id: "DDB_G0288511",
    name: "sadA",
    goas: [...mockOntologyData.goas],
    phenotypes: [...mockPhenotypesData.phenotypes],
  },
}

export type { IMockGeneData }
export default mockGene

{'fraction_non_alphanumeric': 0.11588330632090761, 'fraction_numerical': 0.011345218800648298, 'mean_word_length': 4.538116591928251, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7111364', 'n_tokens_mistral': 454, 'n_tokens_neox': 421, 'n_words': 97}