<!doctype html>
<html lang='en'>
<head>
  <title>Tectonic - Model Internals</title>
  <!-- I understand that this could be made better, but I really wanna get the docs out. Plus HTTP2! :D -->
<link href="https://fonts.googleapis.com/css?family=Droid+Sans|Droid+Serif" rel="stylesheet">
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/4.1.0/sanitize.min.css' />
<link rel='stylesheet' href='styles.css' />

<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js"></script>

</head>
<body>
  <div class='wrapper'>
    <div class='sidebar'>
  <div class='sidebarHeader'>
    tectonic <span class='version'>v2.0.0</span>
  </div>
  <ol>
    <a href='guide-setup.html'><li>Installation</li></a>
    <li>
      Queries
      <ol>
        <a href='queries-basic.html'><li>Basic GET queries</li></a>
        <a href='queries-dependent.html'><li>Dependent data loading</li></a>
        <a href='queries-side-effects.html'><li>Queries with side effects</li></a>
        <a href='queries-polling.html'><li>Polling</li></a>
      </ol>
    </li>
    <li>
      API Documentation
      <ol>
        <a href='api-decorator.html'><li><code>@load</code> decorator API</li></a>
        <a href='api-manager.html'><li>Manager API</li></a>
        <a href='api-model.html'><li>Model API</li></a>
        <a href='api-source-definitions.html'><li>Source definition API</li></a>
        <a href='api-status.html'><li>Status API</li></a>
      </ol>
    </li>
    <!--
    <li>
      Internals (TODO)
      <ol>
        <a href='internals-cache.html'><li>Cache</li></a>
        <a href='internals-decorator.html'><li>Decorator</li></a>
        <a href='internals-driver.html'><li>Driver</li></a>
        <a href='internals-manager.html'><li>Manager</li></a>
        <a href='internals-model.html'><li>Model</li></a>
        <a href='internals-propinspector.html'><li>PropInspector</li></a>
        <a href='internals-query.html'><li>Query</li></a>
        <a href='internals-reducer.html'><li>Reducer</li></a>
        <a href='internals-resolver.html'><li>Resolver</li></a>
        <a href='internals-source-definition.html'><li>Source Definition</li></a>
    </li>
    -->
  </ol>
</div>

    <div class='content'>
      <div>
        <p>TODO:
- ID attribute
- modelName attribute
- fields
- gotchas (size field not allowed; conflicts with immutablejs)
- immutable
- class methods
- instance methods</p>

<ul>
<li>How queries are made</li>
</ul>

      </div>
    </div>
  </div>
  <script>hljs.initHighlightingOnLoad();</script>
</body>
</html>

