{"componentChunkName":"component---src-components-tutorial-layout-js","path":"/tutorial/glossary/","webpackCompilationHash":"","result":{"data":{"allFile":{"group":[{"fieldValue":"Resources","nodes":[{"childMdx":{"fields":{"slug":"tutorial/entity-flow/"},"frontmatter":{"title":"Entity Flow"},"headings":[]}},{"childMdx":{"fields":{"slug":"tutorial/faq/"},"frontmatter":{"title":"FAQ"},"headings":[{"value":"How do I handle endpoints that return arrays?","depth":3}]}}]},{"fieldValue":"Tutorials","nodes":[{"childMdx":{"fields":{"slug":"tutorial/api/"},"frontmatter":{"title":"Entity Api"},"headings":[{"value":"Declaring an API","depth":2},{"value":"Sharing","depth":2},{"value":"Non prescriptive","depth":2},{"value":"Api shimming","depth":2}]}},{"childMdx":{"fields":{"slug":"tutorial/examples/"},"frontmatter":{"title":"Examples"},"headings":[{"value":"Request on Load","depth":2},{"value":"Callbacks","depth":2},{"value":"Loading Hoc","depth":2},{"value":"Parallel Requests","depth":2},{"value":"Sequential Requests","depth":2},{"value":"Caching","depth":2},{"value":"Streaming Requests","depth":2},{"value":"Take Last Request","depth":2},{"value":"Hoc Chaining","depth":2},{"value":"Composite Entities","depth":2},{"value":"Normalizing To Filter","depth":2}]}},{"childMdx":{"fields":{"slug":"tutorial/getting-started/"},"frontmatter":{"title":"Getting Started"},"headings":[{"value":"Installation","depth":2},{"value":"Setup","depth":2},{"value":"1. Schema","depth":3},{"value":"2. API","depth":3},{"value":"3. Connect to react","depth":3},{"value":"4. Make a Request","depth":3}]}},{"childMdx":{"fields":{"slug":"tutorial/introduction/"},"frontmatter":{"title":"Introduction"},"headings":[{"value":"Purpose","depth":2}]}},{"childMdx":{"fields":{"slug":"tutorial/schemas/"},"frontmatter":{"title":"Schemas"},"headings":[{"value":"Structure","depth":2},{"value":"Relationships","depth":3},{"value":"Constructing","depth":3},{"value":"Merging","depth":3},{"value":"Entities","depth":2},{"value":"Changing the idAttribute","depth":3},{"value":"Why does an entity require a structure?","depth":3}]}}]}]},"mdx":{"id":"fe368779-660b-553b-9174-b47590e10265","body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Glossary\"\n};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h2\", null, \"Api\"), mdx(\"p\", null, \"An EntityApi is a collection of promise returning functions that get bound to \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/docs/data/RequestHoc\"\n  }), \"RequestHoc\"), \"'s.\\nIt's called an Api becuase it most often is the binding between an API and a client.\"), mdx(\"h2\", null, \"Denormalize\"), mdx(\"p\", null, \"The process of taking a normalized result structure and replacing all the id strings with their\\ncurrent entity.\"), mdx(\"h2\", null, \"Normalize\"), mdx(\"p\", null, \"The process of traversing a data structure to find entities. These entities are then stored by\\na unique type and id.\"), mdx(\"h2\", null, \"Schema\"), mdx(\"p\", null, \"A stand alone class that can normalize and denormalize a single layer of data.\"), mdx(\"h2\", null, \"Shape\"), mdx(\"p\", null, \"Shapes are the key peice of information required by a schema. For an \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/docs/schemas/EntitySchema\"\n  }), \"EntitySchema\"), \" it is\\n\", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"#structural-schema\"\n  }), \"Structural Schema\"), \", for an \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/docs/schemas/ObjectSchema\"\n  }), \"ObjectSchema\"), \" it is an object literal describing its relationships.\"), mdx(\"h2\", null, \"Structural Schema\"), mdx(\"p\", null, \"A schema that describes how to traverse a specific shape of data.\\nSee: \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/docs/schemas/ObjectSchema\"\n  }), \"ObjectSchema\"), \", \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/docs/schemas/MapSchema\"\n  }), \"MapSchema\"), \", \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/docs/schemas/ArraySchema\"\n  }), \"ArraySchema\"), \", \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/docs/schemas/ListSchema\"\n  }), \"ListSchema\")), mdx(\"h2\", null, \"Tainted Entity\"), mdx(\"p\", null, \"An entity that can't be normalized becuase it has been mixed with specific data from another entity.\\nSee: \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"/docs/schemas/composite-entity-schema\"\n  }), \"CompositeEntitySchema\")));\n}\n;\nMDXContent.isMDXComponent = true;","fields":{"slug":"tutorial/glossary/"},"headings":[{"depth":2,"value":"Api"},{"depth":2,"value":"Denormalize"},{"depth":2,"value":"Normalize"},{"depth":2,"value":"Schema"},{"depth":2,"value":"Shape"},{"depth":2,"value":"Structural Schema"},{"depth":2,"value":"Tainted Entity"}],"frontmatter":{"title":"Glossary"}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"id":"fe368779-660b-553b-9174-b47590e10265"}}}