{"expireTime":9007200821600216000,"key":"gatsby-plugin-mdx-entire-payload-a3cc4a470bfb804c2468fd62ae8ba2dc-","val":{"mdast":{"type":"root","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"type:","position":{"start":{"line":1,"column":3,"offset":2},"end":{"line":1,"column":8,"offset":7},"indent":[]}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":1,"column":10,"offset":9},"indent":[]}},{"type":"text","value":" ","position":{"start":{"line":1,"column":10,"offset":9},"end":{"line":1,"column":11,"offset":10},"indent":[]}},{"type":"inlineCode","value":"(entity: A) => B","position":{"start":{"line":1,"column":11,"offset":10},"end":{"line":1,"column":29,"offset":28},"indent":[]}},{"type":"break","position":{"start":{"line":1,"column":29,"offset":28},"end":{"line":2,"column":1,"offset":31},"indent":[1]}},{"type":"strong","children":[{"type":"text","value":"default:","position":{"start":{"line":2,"column":3,"offset":33},"end":{"line":2,"column":11,"offset":41},"indent":[]}}],"position":{"start":{"line":2,"column":1,"offset":31},"end":{"line":2,"column":13,"offset":43},"indent":[]}},{"type":"text","value":" ","position":{"start":{"line":2,"column":13,"offset":43},"end":{"line":2,"column":14,"offset":44},"indent":[]}},{"type":"inlineCode","value":"(entity) => entity","position":{"start":{"line":2,"column":14,"offset":44},"end":{"line":2,"column":34,"offset":64},"indent":[]}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":2,"column":34,"offset":64},"indent":[1]}},{"type":"paragraph","children":[{"type":"text","value":"When an EntitySchema finds a new entity it will call the create function on its shape before\nstoring the data in state. ","position":{"start":{"line":4,"column":1,"offset":66},"end":{"line":5,"column":28,"offset":186},"indent":[1]}},{"type":"emphasis","children":[{"type":"text","value":"You can use this to construct custom classes for your entities.","position":{"start":{"line":5,"column":29,"offset":187},"end":{"line":5,"column":92,"offset":250},"indent":[]}}],"position":{"start":{"line":5,"column":28,"offset":186},"end":{"line":5,"column":93,"offset":251},"indent":[]}}],"position":{"start":{"line":4,"column":1,"offset":66},"end":{"line":5,"column":93,"offset":251},"indent":[1]}},{"type":"export","value":"export const _frontmatter = {}","position":{"start":{"line":9,"column":1,"offset":255},"end":{"line":9,"column":31,"offset":285},"indent":[]}}],"position":{"start":{"line":1,"column":1,"offset":0},"end":{"line":9,"column":31,"offset":285}}},"scopeImports":[],"scopeIdentifiers":[],"rawMDXOutput":"/* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsx mdx */\n\nexport const _frontmatter = {};\nconst makeShortcode = name => function MDXDefaultShortcode(props) {\n  console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\")\n  return <div {...props}/>\n};\n\nconst layoutProps = {\n  _frontmatter\n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n  components,\n  ...props\n}) {\n  return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n    <p><strong parentName=\"p\">{`type:`}</strong>{` `}<inlineCode parentName=\"p\">{`(entity: A) => B`}</inlineCode><br parentName=\"p\"></br>{`\n`}<strong parentName=\"p\">{`default:`}</strong>{` `}<inlineCode parentName=\"p\">{`(entity) => entity`}</inlineCode></p>\n    <p>{`When an EntitySchema finds a new entity it will call the create function on its shape before\nstoring the data in state. `}<em parentName=\"p\">{`You can use this to construct custom classes for your entities.`}</em></p>\n\n    </MDXLayout>;\n}\n\n;\nMDXContent.isMDXComponent = true;"}}