Skip to content

Commit

Permalink
Merge pull request #15 from TaleLin/model
Browse files Browse the repository at this point in the history
Model
  • Loading branch information
pedro authored Jun 3, 2019
2 parents 9284876 + c1de5b1 commit 8859fa8
Show file tree
Hide file tree
Showing 124 changed files with 15,206 additions and 844 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ dist
learn
tokens.json
abandon
lin/
lin/
log
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ learn
abandon
bin
example
docs
docs
log
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

23 changes: 16 additions & 7 deletions docs/classes/_config_.config.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> store</h3>
<div class="tsd-signature tsd-kind-icon">store<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/config.ts#L28">config.ts:28</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/config.ts#L28">config.ts:28</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -145,7 +145,7 @@ <h3>get<wbr>Config<wbr>From<wbr>File</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/config.ts#L97">config.ts:97</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/config.ts#L97">config.ts:97</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -177,7 +177,7 @@ <h3>get<wbr>Config<wbr>From<wbr>Obj</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/config.ts#L112">config.ts:112</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/config.ts#L112">config.ts:112</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -209,7 +209,7 @@ <h3>get<wbr>Item</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/config.ts#L56">config.ts:56</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/config.ts#L56">config.ts:56</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -251,7 +251,7 @@ <h3>has<wbr>Item</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/config.ts#L70">config.ts:70</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/config.ts#L70">config.ts:70</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -285,7 +285,7 @@ <h3>init<wbr>App</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/config.ts#L35">config.ts:35</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/config.ts#L35">config.ts:35</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -316,7 +316,7 @@ <h3>set<wbr>Item</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/config.ts#L85">config.ts:85</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/config.ts#L85">config.ts:85</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -378,6 +378,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class=" tsd-kind-external-module">
<a href="../modules/_factory_.html">"factory"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_file_.html">"file"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_index_.html">"index"</a>
</li>
Expand All @@ -387,6 +390,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class=" tsd-kind-external-module">
<a href="../modules/_jwt_.html">"jwt"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_limit_limiter_.html">"limit/limiter"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_lin_router_.html">"lin-<wbr>router"</a>
</li>
Expand All @@ -399,6 +405,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class=" tsd-kind-external-module">
<a href="../modules/_log_.html">"log"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_logger_file_.html">"logger/file"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_middleware_.html">"middleware"</a>
</li>
Expand Down
25 changes: 20 additions & 5 deletions docs/classes/_core_.auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ <h3>auth</h3>
<div class="tsd-signature tsd-kind-icon">auth<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/core.ts#L331">core.ts:331</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/core.ts#L336">core.ts:336</a></li>
</ul>
</aside>
</section>
Expand All @@ -278,7 +278,7 @@ <h3>group_<wbr>id</h3>
<div class="tsd-signature tsd-kind-icon">group_<wbr>id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/core.ts#L330">core.ts:330</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/core.ts#L335">core.ts:335</a></li>
</ul>
</aside>
</section>
Expand All @@ -288,7 +288,7 @@ <h3>id</h3>
<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/core.ts#L328">core.ts:328</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/core.ts#L333">core.ts:333</a></li>
</ul>
</aside>
</section>
Expand All @@ -314,7 +314,7 @@ <h3>module</h3>
<div class="tsd-signature tsd-kind-icon">module<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/core.ts#L332">core.ts:332</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/core.ts#L337">core.ts:337</a></li>
</ul>
</aside>
</section>
Expand Down Expand Up @@ -1305,7 +1305,7 @@ <h3>toJSON</h3>
<aside class="tsd-sources">
<p>Overrides Model.toJSON</p>
<ul>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/0cc7811/lib/core.ts#L334">core.ts:334</a></li>
<li>Defined in <a href="https://github.com/TaleLin/lin-cms-koa-core/blob/81b4993/lib/core.ts#L339">core.ts:339</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">object</span></h4>
Expand Down Expand Up @@ -5715,6 +5715,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-external-module">
<a href="../modules/_factory_.html">"factory"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_file_.html">"file"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_index_.html">"index"</a>
</li>
Expand All @@ -5724,6 +5727,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-external-module">
<a href="../modules/_jwt_.html">"jwt"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_limit_limiter_.html">"limit/limiter"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_lin_router_.html">"lin-<wbr>router"</a>
</li>
Expand All @@ -5736,6 +5742,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-external-module">
<a href="../modules/_log_.html">"log"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_logger_file_.html">"logger/file"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_middleware_.html">"middleware"</a>
</li>
Expand Down Expand Up @@ -6061,6 +6070,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="_core_.file.html" class="tsd-kind-icon">File</a>
</li>
<li class=" tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="_core_.group.html" class="tsd-kind-icon">Group</a>
</li>
Expand All @@ -6076,6 +6088,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="_core_.user.html" class="tsd-kind-icon">User</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/_core_.fileargs.html" class="tsd-kind-icon">File<wbr>Args</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/_core_.logargs.html" class="tsd-kind-icon">Log<wbr>Args</a>
</li>
Expand Down
Loading

0 comments on commit 8859fa8

Please sign in to comment.