@ -0,0 +1,226 @@
@@ -0,0 +1,226 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content class"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Classes</li> |
||||
<li >User</li> |
||||
</ol> |
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active"> |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/domain/users/entities/user.entity.ts</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
<p class="comment"> |
||||
<h3>Extends</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>BaseEntity</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<h6><b>Properties</b></h6> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<a href="#id" >id</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
<section> |
||||
|
||||
<h3 id="inputs"> |
||||
Properties |
||||
</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="id"></a> |
||||
<span class="name"> |
||||
<span ><b>id</b></span> |
||||
<a href="#id"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<b>Decorators : </b> |
||||
<br /> |
||||
<code> |
||||
@PrimaryGeneratedColumn()<br /> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="6" class="link-to-prism">src/domain/users/entities/user.entity.ts:6</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { BaseEntity, Entity, PrimaryGeneratedColumn } from 'typeorm' |
||||
|
||||
@Entity('users') |
||||
export class User extends BaseEntity { |
||||
@PrimaryGeneratedColumn() |
||||
id: number |
||||
} |
||||
</code></pre> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'class'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'User.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,470 @@
@@ -0,0 +1,470 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content class"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Classes</li> |
||||
<li >UserCreator</li> |
||||
</ol> |
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active"> |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/domain/users/classes/user-creator.ts</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<h6><b>Properties</b></h6> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<span class="modifier">Private</span> |
||||
<a href="#payload" >payload</a> |
||||
</li> |
||||
<li> |
||||
<span class="modifier">Private</span> |
||||
<a href="#userRepository" >userRepository</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<h6><b>Methods</b></h6> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<span class="modifier">Public</span> |
||||
<span class="modifier">Async</span> |
||||
<a href="#save" >save</a> |
||||
</li> |
||||
<li> |
||||
<span class="modifier">Public</span> |
||||
<a href="#setData" >setData</a> |
||||
</li> |
||||
<li> |
||||
<span class="modifier">Public</span> |
||||
<a href="#setRepository" >setRepository</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
<section> |
||||
|
||||
<h3 id="inputs"> |
||||
Properties |
||||
</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="payload"></a> |
||||
<span class="name"> |
||||
<span class="modifier">Private</span> |
||||
<span ><b>payload</b></span> |
||||
<a href="#payload"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="../interfaces/UserPaylod.html" target="_self" >UserPaylod</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">src/domain/users/classes/user-creator.ts:10</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="userRepository"></a> |
||||
<span class="name"> |
||||
<span class="modifier">Private</span> |
||||
<span ><b>userRepository</b></span> |
||||
<a href="#userRepository"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="../interfaces/UserPaylod.html" target="_self" >Repository<UserPaylod></a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="9" class="link-to-prism">src/domain/users/classes/user-creator.ts:9</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
<section> |
||||
|
||||
<h3 id="methods"> |
||||
Methods |
||||
</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="save"></a> |
||||
<span class="name"> |
||||
<span class="modifier">Public</span> |
||||
<span class="modifier">Async</span> |
||||
<span ><b>save</b></span> |
||||
<a href="#save"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<span class="modifier-icon icon ion-ios-reset"></span> |
||||
<code>save()</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="21" |
||||
class="link-to-prism">src/domain/users/classes/user-creator.ts:21</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
|
||||
<div class="io-description"> |
||||
<b>Returns : </b> <code>unknown</code> |
||||
|
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="setData"></a> |
||||
<span class="name"> |
||||
<span class="modifier">Public</span> |
||||
<span ><b>setData</b></span> |
||||
<a href="#setData"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<span class="modifier-icon icon ion-ios-reset"></span> |
||||
<code>setData(paylod: <a href="../interfaces/UserPaylod.html" target="_self">UserPaylod</a>)</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="12" |
||||
class="link-to-prism">src/domain/users/classes/user-creator.ts:12</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
|
||||
<div class="io-description"> |
||||
<b>Parameters :</b> |
||||
<table class="params"> |
||||
<thead> |
||||
<tr> |
||||
<td>Name</td> |
||||
<td>Type</td> |
||||
<td>Optional</td> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr> |
||||
<td>paylod</td> |
||||
<td> |
||||
<code><a href="../interfaces/UserPaylod.html" target="_self" >UserPaylod</a></code> |
||||
</td> |
||||
|
||||
<td> |
||||
No |
||||
</td> |
||||
|
||||
|
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<div> |
||||
</div> |
||||
<div class="io-description"> |
||||
<b>Returns : </b> <code>this</code> |
||||
|
||||
</div> |
||||
<div class="io-description"> |
||||
|
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="setRepository"></a> |
||||
<span class="name"> |
||||
<span class="modifier">Public</span> |
||||
<span ><b>setRepository</b></span> |
||||
<a href="#setRepository"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<span class="modifier-icon icon ion-ios-reset"></span> |
||||
<code>setRepository(repository: <a href="../interfaces/UserPaylod.html" target="_self">Repository<UserPaylod></a>)</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="16" |
||||
class="link-to-prism">src/domain/users/classes/user-creator.ts:16</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
|
||||
<div class="io-description"> |
||||
<b>Parameters :</b> |
||||
<table class="params"> |
||||
<thead> |
||||
<tr> |
||||
<td>Name</td> |
||||
<td>Type</td> |
||||
<td>Optional</td> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr> |
||||
<td>repository</td> |
||||
<td> |
||||
<code><a href="../interfaces/UserPaylod.html" target="_self" >Repository<UserPaylod></a></code> |
||||
</td> |
||||
|
||||
<td> |
||||
No |
||||
</td> |
||||
|
||||
|
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<div> |
||||
</div> |
||||
<div class="io-description"> |
||||
<b>Returns : </b> <code>this</code> |
||||
|
||||
</div> |
||||
<div class="io-description"> |
||||
|
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Repository } from 'typeorm' |
||||
|
||||
interface UserPaylod { |
||||
name: string |
||||
email: string |
||||
} |
||||
|
||||
export class UserCreator { |
||||
private userRepository: Repository<UserPaylod> |
||||
private payload: UserPaylod |
||||
|
||||
public setData(paylod: UserPaylod) { |
||||
this.payload = paylod |
||||
return this |
||||
} |
||||
public setRepository(repository: Repository<UserPaylod>) { |
||||
this.userRepository = repository |
||||
return this |
||||
} |
||||
|
||||
public async save() { |
||||
return this.payload |
||||
} |
||||
} |
||||
</code></pre> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'class'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'UserCreator.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,282 @@
@@ -0,0 +1,282 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> |
||||
<link rel="stylesheet" href="./styles/style.css"> |
||||
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="./" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content coverage"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Documentation coverage</li> |
||||
</ol> |
||||
|
||||
<div> |
||||
<img src="./images/coverage-badge-documentation.svg"> |
||||
</div> |
||||
|
||||
<table class="table table-bordered coverage" id="coverage-table"> |
||||
<thead class="coverage-header"> |
||||
<tr> |
||||
<th>File</th> |
||||
<th>Type</th> |
||||
<th>Identifier</th> |
||||
<th style="text-align:right" class="statements" data-sort-default>Statements</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./miscellaneous/variables.html#imports">src/app.module.ts</a> |
||||
</td> |
||||
<td>variable</td> |
||||
<td>imports</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/1)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./miscellaneous/variables.html#$config">src/config/index.ts</a> |
||||
</td> |
||||
<td>variable</td> |
||||
<td>$config</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/1)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./miscellaneous/variables.html#getDatabaseConfig">src/config/index.ts</a> |
||||
</td> |
||||
<td>variable</td> |
||||
<td>getDatabaseConfig</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/1)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="very-good"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./interfaces/IUser.html">src/core/interfaces/entities/user.interface.ts</a> |
||||
</td> |
||||
<td>interface</td> |
||||
<td>IUser</td> |
||||
<td align="right" data-sort="85"> |
||||
<span class="coverage-percent">85 %</span> |
||||
<span class="coverage-count">(6/7)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="very-good"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./interfaces/TUser.html">src/core/namespaces/users.namespace.ts</a> |
||||
</td> |
||||
<td>interface</td> |
||||
<td>TUser</td> |
||||
<td align="right" data-sort="100"> |
||||
<span class="coverage-percent">100 %</span> |
||||
<span class="coverage-count">(7/7)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./classes/UserCreator.html">src/domain/users/classes/user-creator.ts</a> |
||||
</td> |
||||
<td>class</td> |
||||
<td>UserCreator</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/6)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./interfaces/UserPaylod.html">src/domain/users/classes/user-creator.ts</a> |
||||
</td> |
||||
<td>interface</td> |
||||
<td>UserPaylod</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/3)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./miscellaneous/variables.html#USERS_ENTITIES">src/domain/users/entities/index.ts</a> |
||||
</td> |
||||
<td>variable</td> |
||||
<td>USERS_ENTITIES</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/1)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./classes/User.html">src/domain/users/entities/user.entity.ts</a> |
||||
</td> |
||||
<td>class</td> |
||||
<td>User</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/2)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="medium"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./injectables/UsersService.html">src/domain/users/services/users.service.ts</a> |
||||
</td> |
||||
<td>injectable</td> |
||||
<td>UsersService</td> |
||||
<td align="right" data-sort="50"> |
||||
<span class="coverage-percent">50 %</span> |
||||
<span class="coverage-count">(1/2)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./miscellaneous/variables.html#getRepositoryHelper">src/libs/database/helpers/get-repository.helper.ts</a> |
||||
</td> |
||||
<td>variable</td> |
||||
<td>getRepositoryHelper</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/1)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./interfaces/IDatabaseAsyncModuleParams.html">src/libs/database/interfaces/database-module-params.interfaces.ts</a> |
||||
</td> |
||||
<td>interface</td> |
||||
<td>IDatabaseAsyncModuleParams</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/4)</span> |
||||
</td> |
||||
</tr> |
||||
<tr class="low"> |
||||
<td> |
||||
<!-- miscellaneous --> |
||||
<a href="./miscellaneous/functions.html#bootstrap">src/main.ts</a> |
||||
</td> |
||||
<td>function</td> |
||||
<td>bootstrap</td> |
||||
<td align="right" data-sort="0"> |
||||
<span class="coverage-percent">0 %</span> |
||||
<span class="coverage-count">(0/1)</span> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
|
||||
<script src="js/libs/tablesort.min.js"></script> |
||||
<script src="js/libs/tablesort.number.min.js"></script> |
||||
<script> |
||||
new Tablesort(document.getElementById('coverage-table')); |
||||
</script> |
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 0; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'coverage'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'coverage.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="./js/libs/custom-elements.min.js"></script> |
||||
<script src="./js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="./js/menu-wc.js" defer></script> |
||||
<script nomodule src="./js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="./js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="./js/libs/es6-shim.min.js"></script> |
||||
<script src="./js/libs/EventDispatcher.js"></script> |
||||
<script src="./js/libs/promise.min.js"></script> |
||||
<script src="./js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="./js/compodoc.js"></script> |
||||
|
||||
<script src="./js/tabs.js"></script> |
||||
<script src="./js/menu.js"></script> |
||||
<script src="./js/libs/clipboard.min.js"></script> |
||||
<script src="./js/libs/prism.js"></script> |
||||
<script src="./js/sourceCode.js"></script> |
||||
<script src="./js/search/search.js"></script> |
||||
<script src="./js/search/lunr.min.js"></script> |
||||
<script src="./js/search/search-lunr.js"></script> |
||||
<script src="./js/search/search_index.js"></script> |
||||
<script src="./js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,127 @@
@@ -0,0 +1,127 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> |
||||
<link rel="stylesheet" href="./styles/style.css"> |
||||
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="./" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content package-dependencies"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Dependencies</li> |
||||
</ol> |
||||
<ul class="dependencies-list"> |
||||
<li> |
||||
<b>@nestjs/common</b> : ^7.0.0</li> |
||||
<li> |
||||
<b>@nestjs/core</b> : ^7.0.0</li> |
||||
<li> |
||||
<b>@nestjs/platform-express</b> : ^7.0.0</li> |
||||
<li> |
||||
<b>@nestjs/typeorm</b> : ^8.0.1</li> |
||||
<li> |
||||
<b>dotenv</b> : ^10.0.0</li> |
||||
<li> |
||||
<b>postgres</b> : ^1.0.2</li> |
||||
<li> |
||||
<b>reflect-metadata</b> : ^0.1.13</li> |
||||
<li> |
||||
<b>rimraf</b> : ^3.0.2</li> |
||||
<li> |
||||
<b>rxjs</b> : ^6.5.4</li> |
||||
<li> |
||||
<b>typeorm</b> : ^0.2.36</li> |
||||
</ul> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 0; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'package-dependencies'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'dependencies.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="./js/libs/custom-elements.min.js"></script> |
||||
<script src="./js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="./js/menu-wc.js" defer></script> |
||||
<script nomodule src="./js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="./js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="./js/libs/es6-shim.min.js"></script> |
||||
<script src="./js/libs/EventDispatcher.js"></script> |
||||
<script src="./js/libs/promise.min.js"></script> |
||||
<script src="./js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="./js/compodoc.js"></script> |
||||
|
||||
<script src="./js/tabs.js"></script> |
||||
<script src="./js/menu.js"></script> |
||||
<script src="./js/libs/clipboard.min.js"></script> |
||||
<script src="./js/libs/prism.js"></script> |
||||
<script src="./js/sourceCode.js"></script> |
||||
<script src="./js/search/search.js"></script> |
||||
<script src="./js/search/lunr.min.js"></script> |
||||
<script src="./js/search/search-lunr.js"></script> |
||||
<script src="./js/search/search_index.js"></script> |
||||
<script src="./js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
After Width: | Height: | Size: 305 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 894 B |
After Width: | Height: | Size: 1.1 KiB |
@ -0,0 +1,152 @@
@@ -0,0 +1,152 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> |
||||
<link rel="stylesheet" href="./styles/style.css"> |
||||
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="./" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content getting-started"> |
||||
<div class="content-data"> |
||||
|
||||
<p align="center"> |
||||
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" /></a> |
||||
</p> |
||||
|
||||
<p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications, heavily inspired by <a href="https://angular.io" target="blank">Angular</a>.</p> |
||||
<p align="center"> |
||||
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a> |
||||
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a> |
||||
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/dm/@nestjs/core.svg" alt="NPM Downloads" /></a> |
||||
<a href="https://travis-ci.org/nestjs/nest"><img src="https://api.travis-ci.org/nestjs/nest.svg?branch=master" alt="Travis" /></a> |
||||
<a href="https://travis-ci.org/nestjs/nest"><img src="https://img.shields.io/travis/nestjs/nest/master.svg?label=linux" alt="Linux" /></a> |
||||
<a href="https://coveralls.io/github/nestjs/nest?branch=master"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#5" alt="Coverage" /></a> |
||||
<a href="https://gitter.im/nestjs/nestjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge"><img src="https://badges.gitter.im/nestjs/nestjs.svg" alt="Gitter" /></a> |
||||
<a href="https://opencollective.com/nest#backer"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a> |
||||
<a href="https://opencollective.com/nest#sponsor"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a> |
||||
<a href="https://paypal.me/kamilmysliwiec"><img src="https://img.shields.io/badge/Donate-PayPal-dc3d53.svg"/></a> |
||||
<a href="https://twitter.com/nestframework"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a> |
||||
</p> |
||||
<!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer) |
||||
[![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)--> |
||||
|
||||
<h2 id="description">Description</h2> |
||||
<p><a href="https://github.com/nestjs/nest">Nest</a> framework TypeScript starter repository.</p> |
||||
<h2 id="installation">Installation</h2> |
||||
<div><pre class="line-numbers"><code class="language-bash">$ npm install</code></pre></div><h2 id="running-the-app">Running the app</h2> |
||||
<div><pre class="line-numbers"><code class="language-bash"># development |
||||
$ npm run start |
||||
|
||||
# watch mode |
||||
$ npm run start:dev |
||||
|
||||
# production mode |
||||
$ npm run start:prod</code></pre></div><h2 id="test">Test</h2> |
||||
<div><pre class="line-numbers"><code class="language-bash"># unit tests |
||||
$ npm run test |
||||
|
||||
# e2e tests |
||||
$ npm run test:e2e |
||||
|
||||
# test coverage |
||||
$ npm run test:cov</code></pre></div><h2 id="support">Support</h2> |
||||
<p>Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please <a href="https://docs.nestjs.com/support">read more here</a>.</p> |
||||
<h2 id="stay-in-touch">Stay in touch</h2> |
||||
<ul> |
||||
<li>Author - <a href="https://kamilmysliwiec.com">Kamil Myśliwiec</a></li> |
||||
<li>Website - <a href="https://nestjs.com/">https://nestjs.com</a></li> |
||||
<li>Twitter - <a href="https://twitter.com/nestframework">@nestframework</a></li> |
||||
</ul> |
||||
<h2 id="license">License</h2> |
||||
<p> Nest is <a href="LICENSE">MIT licensed</a>.</p> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 0; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'getting-started'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'index.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="./js/libs/custom-elements.min.js"></script> |
||||
<script src="./js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="./js/menu-wc.js" defer></script> |
||||
<script nomodule src="./js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="./js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="./js/libs/es6-shim.min.js"></script> |
||||
<script src="./js/libs/EventDispatcher.js"></script> |
||||
<script src="./js/libs/promise.min.js"></script> |
||||
<script src="./js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="./js/compodoc.js"></script> |
||||
|
||||
<script src="./js/tabs.js"></script> |
||||
<script src="./js/menu.js"></script> |
||||
<script src="./js/libs/clipboard.min.js"></script> |
||||
<script src="./js/libs/prism.js"></script> |
||||
<script src="./js/sourceCode.js"></script> |
||||
<script src="./js/search/search.js"></script> |
||||
<script src="./js/search/lunr.min.js"></script> |
||||
<script src="./js/search/search-lunr.js"></script> |
||||
<script src="./js/search/search_index.js"></script> |
||||
<script src="./js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,271 @@
@@ -0,0 +1,271 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content injectable"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Injectables</li> |
||||
<li >UsersService</li> |
||||
</ol> |
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active"> |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/domain/users/services/users.service.ts</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<h6><b>Methods</b></h6> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<span class="modifier">Public</span> |
||||
<span class="modifier">Async</span> |
||||
<a href="#getUser" >getUser</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
<section> |
||||
|
||||
<h3 id="methods"> |
||||
Methods |
||||
</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="getUser"></a> |
||||
<span class="name"> |
||||
<span class="modifier">Public</span> |
||||
<span class="modifier">Async</span> |
||||
<span ><b>getUser</b></span> |
||||
<a href="#getUser"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<span class="modifier-icon icon ion-ios-reset"></span> |
||||
<code>getUser(id: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank">number</a>)</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="11" |
||||
class="link-to-prism">src/domain/users/services/users.service.ts:11</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Метод для отримання користувача по його ідентифікатору</p> |
||||
</div> |
||||
|
||||
<div class="io-description"> |
||||
<b>Parameters :</b> |
||||
<table class="params"> |
||||
<thead> |
||||
<tr> |
||||
<td>Name</td> |
||||
<td>Type</td> |
||||
<td>Optional</td> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr> |
||||
<td>id</td> |
||||
<td> |
||||
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code> |
||||
</td> |
||||
|
||||
<td> |
||||
No |
||||
</td> |
||||
|
||||
|
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<div> |
||||
</div> |
||||
<div class="io-description"> |
||||
<b>Returns : </b> <code>Promise<any></code> |
||||
|
||||
</div> |
||||
<div class="io-description"> |
||||
<p>Обект користувача</p> |
||||
|
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from '@nestjs/common' |
||||
import { UserCreator } from '../classes/user-creator' |
||||
|
||||
@Injectable() |
||||
export class UsersService { |
||||
/** |
||||
* Метод для отримання користувача по його ідентифікатору |
||||
* @id Ідентифікатор користувача |
||||
* @returns Обект користувача |
||||
*/ |
||||
public async getUser(id: number): Promise<any> { |
||||
const userCreator = new UserCreator() |
||||
|
||||
userCreator.setData({ |
||||
name: 'Vitalik', |
||||
email: 'ebas@mail.ru', |
||||
}) |
||||
|
||||
const user = await userCreator.save() |
||||
|
||||
return user |
||||
} |
||||
} |
||||
</code></pre> |
||||
</div> |
||||
|
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'injectable'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'UsersService.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,290 @@
@@ -0,0 +1,290 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content interface"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Interfaces</li> |
||||
<li |
||||
> |
||||
IDatabaseAsyncModuleParams</li> |
||||
</ol> |
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active"> |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/libs/database/interfaces/database-module-params.interfaces.ts</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<h6><b>Properties</b></h6> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<span class="modifier">Optional</span> |
||||
<a href="#imports" |
||||
> |
||||
imports |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#inject" |
||||
> |
||||
inject |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#useFactory" |
||||
> |
||||
useFactory |
||||
</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="inputs">Properties</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="imports"></a> |
||||
<span class="name "><b>imports</b> |
||||
<a href="#imports"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>imports: <code>any[]</code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code>any[]</code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Optional</i> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="inject"></a> |
||||
<span class="name "><b>inject</b> |
||||
<a href="#inject"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>inject: <code>any[]</code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code>any[]</code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="useFactory"></a> |
||||
<span class="name "><b>useFactory</b> |
||||
<a href="#useFactory"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>useFactory: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/function" target="_blank" >function</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ConnectionOptions } from 'typeorm'; |
||||
|
||||
export interface IDatabaseAsyncModuleParams { |
||||
imports?: any[]; |
||||
useFactory: (...args: any[]) => Promise<Partial<ConnectionOptions>>; |
||||
inject: any[]; |
||||
} |
||||
</code></pre> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'interface'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'IDatabaseAsyncModuleParams.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,468 @@
@@ -0,0 +1,468 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content interface"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Interfaces</li> |
||||
<li |
||||
> |
||||
IUser</li> |
||||
</ol> |
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active"> |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/core/interfaces/entities/user.interface.ts</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<h6><b>Properties</b></h6> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<a href="#email" |
||||
> |
||||
email |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#id" |
||||
> |
||||
id |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#password" |
||||
> |
||||
password |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#passwordSalt" |
||||
> |
||||
passwordSalt |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#phoneNumber" |
||||
> |
||||
phoneNumber |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#role" |
||||
> |
||||
role |
||||
</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="inputs">Properties</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="email"></a> |
||||
<span class="name "><b>email</b> |
||||
<a href="#email"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>email: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Почта користувача</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="id"></a> |
||||
<span class="name "><b>id</b> |
||||
<a href="#id"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>id: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Ідентифікатор користувача</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="password"></a> |
||||
<span class="name "><b>password</b> |
||||
<a href="#password"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>password: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Пароль в зашифрованому вигляді</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="passwordSalt"></a> |
||||
<span class="name "><b>passwordSalt</b> |
||||
<a href="#passwordSalt"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>passwordSalt: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Соль для шифрування паролю</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="phoneNumber"></a> |
||||
<span class="name "><b>phoneNumber</b> |
||||
<a href="#phoneNumber"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>phoneNumber: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Робочий номер телефону по якому відбуваеться авторизація</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="role"></a> |
||||
<span class="name "><b>role</b> |
||||
<a href="#role"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>role: <code><a href="../miscellaneous/enumerations.html#Role" target="_self" >Role</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="../miscellaneous/enumerations.html#Role" target="_self" >Role</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Роль користувача, можливі значення Role.Admin, Role.User</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Role } from 'src/core/enums' |
||||
|
||||
/** |
||||
* Базовий інтерфейс користувача |
||||
*/ |
||||
export namespace Users { |
||||
export interface IUser { |
||||
/** |
||||
* Ідентифікатор користувача |
||||
*/ |
||||
id: number |
||||
|
||||
/** |
||||
* Роль користувача, можливі значення Role.Admin, Role.User |
||||
*/ |
||||
role: Role |
||||
|
||||
/** |
||||
* Почта користувача |
||||
*/ |
||||
email: string |
||||
|
||||
/** |
||||
* Робочий номер телефону по якому відбуваеться авторизація |
||||
*/ |
||||
phoneNumber: string |
||||
|
||||
/** |
||||
* Пароль в зашифрованому вигляді |
||||
*/ |
||||
password: string |
||||
|
||||
/** |
||||
* Соль для шифрування паролю |
||||
*/ |
||||
passwordSalt: string |
||||
} |
||||
} |
||||
</code></pre> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'interface'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'IUser.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,488 @@
@@ -0,0 +1,488 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content interface"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Interfaces</li> |
||||
<li |
||||
> |
||||
TUser</li> |
||||
</ol> |
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active"> |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/core/namespaces/users.namespace.ts</code> |
||||
</p> |
||||
|
||||
|
||||
<p class="comment"> |
||||
<h3>Description</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<p> Базовий інтерфейс користувача</p> |
||||
|
||||
</p> |
||||
|
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<h6><b>Properties</b></h6> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<a href="#email" |
||||
> |
||||
email |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#id" |
||||
> |
||||
id |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#password" |
||||
> |
||||
password |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#passwordSalt" |
||||
> |
||||
passwordSalt |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#phoneNumber" |
||||
> |
||||
phoneNumber |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#role" |
||||
> |
||||
role |
||||
</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="inputs">Properties</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="email"></a> |
||||
<span class="name "><b>email</b> |
||||
<a href="#email"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>email: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Почта користувача</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="id"></a> |
||||
<span class="name "><b>id</b> |
||||
<a href="#id"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>id: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Ідентифікатор користувача</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="password"></a> |
||||
<span class="name "><b>password</b> |
||||
<a href="#password"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>password: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Пароль в зашифрованому вигляді</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="passwordSalt"></a> |
||||
<span class="name "><b>passwordSalt</b> |
||||
<a href="#passwordSalt"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>passwordSalt: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Соль для шифрування паролю</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="phoneNumber"></a> |
||||
<span class="name "><b>phoneNumber</b> |
||||
<a href="#phoneNumber"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>phoneNumber: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Робочий номер телефону по якому відбуваеться авторизація</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="role"></a> |
||||
<span class="name "><b>role</b> |
||||
<a href="#role"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>role: <code><a href="../miscellaneous/enumerations.html#TRole" target="_self" >TRole</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="../miscellaneous/enumerations.html#TRole" target="_self" >TRole</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Роль користувача, можливі значення Role.Admin, Role.User</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">export namespace Users { |
||||
/** |
||||
* Роль користувача |
||||
*/ |
||||
export enum TRole { |
||||
/** |
||||
* Адміністратор |
||||
*/ |
||||
Admin = 'a', |
||||
|
||||
/** |
||||
* Звичайни користувач |
||||
*/ |
||||
User = 'u', |
||||
} |
||||
|
||||
/** |
||||
* Базовий інтерфейс користувача |
||||
*/ |
||||
export interface TUser { |
||||
/** |
||||
* Ідентифікатор користувача |
||||
*/ |
||||
id: number |
||||
|
||||
/** |
||||
* Роль користувача, можливі значення Role.Admin, Role.User |
||||
*/ |
||||
role: TRole |
||||
|
||||
/** |
||||
* Почта користувача |
||||
*/ |
||||
email: string |
||||
|
||||
/** |
||||
* Робочий номер телефону по якому відбуваеться авторизація |
||||
*/ |
||||
phoneNumber: string |
||||
|
||||
/** |
||||
* Пароль в зашифрованому вигляді |
||||
*/ |
||||
password: string |
||||
|
||||
/** |
||||
* Соль для шифрування паролю |
||||
*/ |
||||
passwordSalt: string |
||||
} |
||||
} |
||||
</code></pre> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'interface'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'TUser.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,262 @@
@@ -0,0 +1,262 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content interface"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Interfaces</li> |
||||
<li |
||||
> |
||||
UserPaylod</li> |
||||
</ol> |
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active"> |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/domain/users/classes/user-creator.ts</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<h6><b>Properties</b></h6> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<a href="#email" |
||||
> |
||||
email |
||||
</a> |
||||
</li> |
||||
<li> |
||||
<a href="#name" |
||||
> |
||||
name |
||||
</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
|
||||
<section> |
||||
<h3 id="inputs">Properties</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="email"></a> |
||||
<span class="name "><b>email</b> |
||||
<a href="#email"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>email: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="name"></a> |
||||
<span class="name "><b>name</b> |
||||
<a href="#name"> |
||||
<span class="icon ion-ios-link"></span> |
||||
</a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>name: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Repository } from 'typeorm' |
||||
|
||||
interface UserPaylod { |
||||
name: string |
||||
email: string |
||||
} |
||||
|
||||
export class UserCreator { |
||||
private userRepository: Repository<UserPaylod> |
||||
private payload: UserPaylod |
||||
|
||||
public setData(paylod: UserPaylod) { |
||||
this.payload = paylod |
||||
return this |
||||
} |
||||
public setRepository(repository: Repository<UserPaylod>) { |
||||
this.userRepository = repository |
||||
return this |
||||
} |
||||
|
||||
public async save() { |
||||
return this.payload |
||||
} |
||||
} |
||||
</code></pre> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'interface'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'UserPaylod.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
var compodoc = { |
||||
EVENTS: { |
||||
READY: 'compodoc.ready', |
||||
SEARCH_READY: 'compodoc.search.ready' |
||||
} |
||||
}; |
||||
|
||||
Object.assign( compodoc, EventDispatcher.prototype ); |
||||
|
||||
document.addEventListener('DOMContentLoaded', function() { |
||||
compodoc.dispatchEvent({ |
||||
type: compodoc.EVENTS.READY |
||||
}); |
||||
}); |
@ -0,0 +1,44 @@
@@ -0,0 +1,44 @@
|
||||
document.addEventListener('DOMContentLoaded', function() { |
||||
var lazyGraphs = [].slice.call(document.querySelectorAll('[lazy]')); |
||||
var active = false; |
||||
|
||||
var lazyLoad = function() { |
||||
if (active === false) { |
||||
active = true; |
||||
|
||||
setTimeout(function() { |
||||
lazyGraphs.forEach(function(lazyGraph) { |
||||
if ( |
||||
lazyGraph.getBoundingClientRect().top <= window.innerHeight && |
||||
lazyGraph.getBoundingClientRect().bottom >= 0 && |
||||
getComputedStyle(lazyGraph).display !== 'none' |
||||
) { |
||||
lazyGraph.data = lazyGraph.getAttribute('lazy'); |
||||
lazyGraph.removeAttribute('lazy'); |
||||
|
||||
lazyGraphs = lazyGraphs.filter(function(image) { return image !== lazyGraph}); |
||||
|
||||
if (lazyGraphs.length === 0) { |
||||
document.removeEventListener('scroll', lazyLoad); |
||||
window.removeEventListener('resize', lazyLoad); |
||||
window.removeEventListener('orientationchange', lazyLoad); |
||||
} |
||||
} |
||||
}); |
||||
|
||||
active = false; |
||||
}, 200); |
||||
} |
||||
}; |
||||
|
||||
// initial load
|
||||
lazyLoad(); |
||||
|
||||
var container = document.querySelector('.container-fluid.modules'); |
||||
if (container) { |
||||
container.addEventListener('scroll', lazyLoad); |
||||
window.addEventListener('resize', lazyLoad); |
||||
window.addEventListener('orientationchange', lazyLoad); |
||||
} |
||||
|
||||
}); |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
/** |
||||
* @author mrdoob / http://mrdoob.com/
|
||||
*/ |
||||
|
||||
var EventDispatcher=function(){};Object.assign(EventDispatcher.prototype,{addEventListener:function(i,t){void 0===this._listeners&&(this._listeners={});var e=this._listeners;void 0===e[i]&&(e[i]=[]),-1===e[i].indexOf(t)&&e[i].push(t)},hasEventListener:function(i,t){if(void 0===this._listeners)return!1;var e=this._listeners;return void 0!==e[i]&&-1!==e[i].indexOf(t)},removeEventListener:function(i,t){if(void 0!==this._listeners){var e=this._listeners[i];if(void 0!==e){var s=e.indexOf(t);-1!==s&&e.splice(s,1)}}},dispatchEvent:function(i){if(void 0!==this._listeners){var t=this._listeners[i.type];if(void 0!==t){i.target=this;var e=[],s=0,n=t.length;for(s=0;s<n;s++)e[s]=t[s];for(s=0;s<n;s++)e[s].call(this,i)}}}}); |
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
/** |
||||
@license @nocompile |
||||
Copyright (c) 2018 The Polymer Project Authors. All rights reserved. |
||||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||||
Code distributed by Google as part of the polymer project is also |
||||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||
*/ |
||||
(function () { |
||||
'use strict'; |
||||
|
||||
(function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.hasOwnProperty('polyfillWrapFlushCallback'))return;const a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)},HTMLElement.prototype=a.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,a);})(); |
||||
|
||||
}()); |
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
(function(){ |
||||
'use strict';var h=new function(){};var aa=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function m(b){var a=aa.has(b);b=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(b);return!a&&b}function n(b){var a=b.isConnected;if(void 0!==a)return a;for(;b&&!(b.__CE_isImportDocument||b instanceof Document);)b=b.parentNode||(window.ShadowRoot&&b instanceof ShadowRoot?b.host:void 0);return!(!b||!(b.__CE_isImportDocument||b instanceof Document))} |
||||
function p(b,a){for(;a&&a!==b&&!a.nextSibling;)a=a.parentNode;return a&&a!==b?a.nextSibling:null} |
||||
function t(b,a,c){c=c?c:new Set;for(var d=b;d;){if(d.nodeType===Node.ELEMENT_NODE){var e=d;a(e);var f=e.localName;if("link"===f&&"import"===e.getAttribute("rel")){d=e.import;if(d instanceof Node&&!c.has(d))for(c.add(d),d=d.firstChild;d;d=d.nextSibling)t(d,a,c);d=p(b,e);continue}else if("template"===f){d=p(b,e);continue}if(e=e.__CE_shadowRoot)for(e=e.firstChild;e;e=e.nextSibling)t(e,a,c)}d=d.firstChild?d.firstChild:p(b,d)}}function u(b,a,c){b[a]=c};function v(){this.a=new Map;this.s=new Map;this.f=[];this.b=!1}function ba(b,a,c){b.a.set(a,c);b.s.set(c.constructor,c)}function w(b,a){b.b=!0;b.f.push(a)}function x(b,a){b.b&&t(a,function(a){return y(b,a)})}function y(b,a){if(b.b&&!a.__CE_patched){a.__CE_patched=!0;for(var c=0;c<b.f.length;c++)b.f[c](a)}}function z(b,a){var c=[];t(a,function(b){return c.push(b)});for(a=0;a<c.length;a++){var d=c[a];1===d.__CE_state?b.connectedCallback(d):A(b,d)}} |
||||
function B(b,a){var c=[];t(a,function(b){return c.push(b)});for(a=0;a<c.length;a++){var d=c[a];1===d.__CE_state&&b.disconnectedCallback(d)}} |
||||
function C(b,a,c){c=c?c:{};var d=c.w||new Set,e=c.i||function(a){return A(b,a)},f=[];t(a,function(a){if("link"===a.localName&&"import"===a.getAttribute("rel")){var c=a.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0);c&&"complete"===c.readyState?c.__CE_documentLoadHandled=!0:a.addEventListener("load",function(){var c=a.import;if(!c.__CE_documentLoadHandled){c.__CE_documentLoadHandled=!0;var f=new Set(d);f.delete(c);C(b,c,{w:f,i:e})}})}else f.push(a)},d);if(b.b)for(a=0;a< |
||||
f.length;a++)y(b,f[a]);for(a=0;a<f.length;a++)e(f[a])} |
||||
function A(b,a){if(void 0===a.__CE_state){var c=a.ownerDocument;if(c.defaultView||c.__CE_isImportDocument&&c.__CE_hasRegistry)if(c=b.a.get(a.localName)){c.constructionStack.push(a);var d=c.constructor;try{try{if(new d!==a)throw Error("The custom element constructor did not produce the element being upgraded.");}finally{c.constructionStack.pop()}}catch(r){throw a.__CE_state=2,r;}a.__CE_state=1;a.__CE_definition=c;if(c.attributeChangedCallback)for(c=c.observedAttributes,d=0;d<c.length;d++){var e=c[d], |
||||
f=a.getAttribute(e);null!==f&&b.attributeChangedCallback(a,e,null,f,null)}n(a)&&b.connectedCallback(a)}}}v.prototype.connectedCallback=function(b){var a=b.__CE_definition;a.connectedCallback&&a.connectedCallback.call(b)};v.prototype.disconnectedCallback=function(b){var a=b.__CE_definition;a.disconnectedCallback&&a.disconnectedCallback.call(b)}; |
||||
v.prototype.attributeChangedCallback=function(b,a,c,d,e){var f=b.__CE_definition;f.attributeChangedCallback&&-1<f.observedAttributes.indexOf(a)&&f.attributeChangedCallback.call(b,a,c,d,e)};function D(b,a){this.c=b;this.a=a;this.b=void 0;C(this.c,this.a);"loading"===this.a.readyState&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function E(b){b.b&&b.b.disconnect()}D.prototype.f=function(b){var a=this.a.readyState;"interactive"!==a&&"complete"!==a||E(this);for(a=0;a<b.length;a++)for(var c=b[a].addedNodes,d=0;d<c.length;d++)C(this.c,c[d])};function ca(){var b=this;this.b=this.a=void 0;this.f=new Promise(function(a){b.b=a;b.a&&a(b.a)})}function F(b){if(b.a)throw Error("Already resolved.");b.a=void 0;b.b&&b.b(void 0)};function G(b){this.j=!1;this.c=b;this.o=new Map;this.l=function(b){return b()};this.g=!1;this.m=[];this.u=new D(b,document)} |
||||
G.prototype.define=function(b,a){var c=this;if(!(a instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!m(b))throw new SyntaxError("The element name '"+b+"' is not valid.");if(this.c.a.get(b))throw Error("A custom element with name '"+b+"' has already been defined.");if(this.j)throw Error("A custom element is already being defined.");this.j=!0;var d,e,f,r,k;try{var g=function(b){var a=l[b];if(void 0!==a&&!(a instanceof Function))throw Error("The '"+b+"' callback must be a function."); |
||||
return a},l=a.prototype;if(!(l instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");d=g("connectedCallback");e=g("disconnectedCallback");f=g("adoptedCallback");r=g("attributeChangedCallback");k=a.observedAttributes||[]}catch(q){return}finally{this.j=!1}a={localName:b,constructor:a,connectedCallback:d,disconnectedCallback:e,adoptedCallback:f,attributeChangedCallback:r,observedAttributes:k,constructionStack:[]};ba(this.c,b,a);this.m.push(a);this.g|| |
||||
(this.g=!0,this.l(function(){return da(c)}))};G.prototype.i=function(b){C(this.c,b)};function da(b){if(!1!==b.g){b.g=!1;for(var a=b.m,c=[],d=new Map,e=0;e<a.length;e++)d.set(a[e].localName,[]);C(b.c,document,{i:function(a){if(void 0===a.__CE_state){var e=a.localName,f=d.get(e);f?f.push(a):b.c.a.get(e)&&c.push(a)}}});for(e=0;e<c.length;e++)A(b.c,c[e]);for(;0<a.length;){for(var f=a.shift(),e=f.localName,f=d.get(f.localName),r=0;r<f.length;r++)A(b.c,f[r]);(e=b.o.get(e))&&F(e)}}} |
||||
G.prototype.get=function(b){if(b=this.c.a.get(b))return b.constructor};G.prototype.whenDefined=function(b){if(!m(b))return Promise.reject(new SyntaxError("'"+b+"' is not a valid custom element name."));var a=this.o.get(b);if(a)return a.f;a=new ca;this.o.set(b,a);this.c.a.get(b)&&!this.m.some(function(a){return a.localName===b})&&F(a);return a.f};G.prototype.v=function(b){E(this.u);var a=this.l;this.l=function(c){return b(function(){return a(c)})}};window.CustomElementRegistry=G; |
||||
G.prototype.define=G.prototype.define;G.prototype.upgrade=G.prototype.i;G.prototype.get=G.prototype.get;G.prototype.whenDefined=G.prototype.whenDefined;G.prototype.polyfillWrapFlushCallback=G.prototype.v;var H=window.Document.prototype.createElement,I=window.Document.prototype.createElementNS,ea=window.Document.prototype.importNode,fa=window.Document.prototype.prepend,ga=window.Document.prototype.append,ha=window.DocumentFragment.prototype.prepend,ia=window.DocumentFragment.prototype.append,J=window.Node.prototype.cloneNode,K=window.Node.prototype.appendChild,L=window.Node.prototype.insertBefore,M=window.Node.prototype.removeChild,N=window.Node.prototype.replaceChild,O=Object.getOwnPropertyDescriptor(window.Node.prototype, |
||||
"textContent"),P=window.Element.prototype.attachShadow,Q=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),R=window.Element.prototype.getAttribute,S=window.Element.prototype.setAttribute,T=window.Element.prototype.removeAttribute,U=window.Element.prototype.getAttributeNS,ja=window.Element.prototype.setAttributeNS,ka=window.Element.prototype.removeAttributeNS,la=window.Element.prototype.insertAdjacentElement,ma=window.Element.prototype.insertAdjacentHTML,na=window.Element.prototype.prepend, |
||||
oa=window.Element.prototype.append,V=window.Element.prototype.before,pa=window.Element.prototype.after,qa=window.Element.prototype.replaceWith,ra=window.Element.prototype.remove,sa=window.HTMLElement,W=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),ta=window.HTMLElement.prototype.insertAdjacentElement,ua=window.HTMLElement.prototype.insertAdjacentHTML;function va(){var b=X;window.HTMLElement=function(){function a(){var a=this.constructor,d=b.s.get(a);if(!d)throw Error("The custom element being constructed was not registered with `customElements`.");var e=d.constructionStack;if(!e.length)return e=H.call(document,d.localName),Object.setPrototypeOf(e,a.prototype),e.__CE_state=1,e.__CE_definition=d,y(b,e),e;var d=e.length-1,f=e[d];if(f===h)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times."); |
||||
e[d]=h;Object.setPrototypeOf(f,a.prototype);y(b,f);return f}a.prototype=sa.prototype;return a}()};function Y(b,a,c){function d(a){return function(c){for(var e=[],d=0;d<arguments.length;++d)e[d-0]=arguments[d];for(var d=[],f=[],l=0;l<e.length;l++){var q=e[l];q instanceof Element&&n(q)&&f.push(q);if(q instanceof DocumentFragment)for(q=q.firstChild;q;q=q.nextSibling)d.push(q);else d.push(q)}a.apply(this,e);for(e=0;e<f.length;e++)B(b,f[e]);if(n(this))for(e=0;e<d.length;e++)f=d[e],f instanceof Element&&z(b,f)}}c.h&&(a.prepend=d(c.h));c.append&&(a.append=d(c.append))};function wa(){var b=X;u(Document.prototype,"createElement",function(a){if(this.__CE_hasRegistry){var c=b.a.get(a);if(c)return new c.constructor}a=H.call(this,a);y(b,a);return a});u(Document.prototype,"importNode",function(a,c){a=ea.call(this,a,c);this.__CE_hasRegistry?C(b,a):x(b,a);return a});u(Document.prototype,"createElementNS",function(a,c){if(this.__CE_hasRegistry&&(null===a||"http://www.w3.org/1999/xhtml"===a)){var d=b.a.get(c);if(d)return new d.constructor}a=I.call(this,a,c);y(b,a);return a}); |
||||
Y(b,Document.prototype,{h:fa,append:ga})};function xa(){var b=X;function a(a,d){Object.defineProperty(a,"textContent",{enumerable:d.enumerable,configurable:!0,get:d.get,set:function(a){if(this.nodeType===Node.TEXT_NODE)d.set.call(this,a);else{var e=void 0;if(this.firstChild){var c=this.childNodes,k=c.length;if(0<k&&n(this))for(var e=Array(k),g=0;g<k;g++)e[g]=c[g]}d.set.call(this,a);if(e)for(a=0;a<e.length;a++)B(b,e[a])}}})}u(Node.prototype,"insertBefore",function(a,d){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes); |
||||
a=L.call(this,a,d);if(n(this))for(d=0;d<e.length;d++)z(b,e[d]);return a}e=n(a);d=L.call(this,a,d);e&&B(b,a);n(this)&&z(b,a);return d});u(Node.prototype,"appendChild",function(a){if(a instanceof DocumentFragment){var c=Array.prototype.slice.apply(a.childNodes);a=K.call(this,a);if(n(this))for(var e=0;e<c.length;e++)z(b,c[e]);return a}c=n(a);e=K.call(this,a);c&&B(b,a);n(this)&&z(b,a);return e});u(Node.prototype,"cloneNode",function(a){a=J.call(this,a);this.ownerDocument.__CE_hasRegistry?C(b,a):x(b,a); |
||||
return a});u(Node.prototype,"removeChild",function(a){var c=n(a),e=M.call(this,a);c&&B(b,a);return e});u(Node.prototype,"replaceChild",function(a,d){if(a instanceof DocumentFragment){var e=Array.prototype.slice.apply(a.childNodes);a=N.call(this,a,d);if(n(this))for(B(b,d),d=0;d<e.length;d++)z(b,e[d]);return a}var e=n(a),f=N.call(this,a,d),c=n(this);c&&B(b,d);e&&B(b,a);c&&z(b,a);return f});O&&O.get?a(Node.prototype,O):w(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){for(var a=[],b= |
||||
0;b<this.childNodes.length;b++)a.push(this.childNodes[b].textContent);return a.join("")},set:function(a){for(;this.firstChild;)M.call(this,this.firstChild);K.call(this,document.createTextNode(a))}})})};function ya(b){var a=Element.prototype;function c(a){return function(e){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];for(var d=[],k=[],g=0;g<c.length;g++){var l=c[g];l instanceof Element&&n(l)&&k.push(l);if(l instanceof DocumentFragment)for(l=l.firstChild;l;l=l.nextSibling)d.push(l);else d.push(l)}a.apply(this,c);for(c=0;c<k.length;c++)B(b,k[c]);if(n(this))for(c=0;c<d.length;c++)k=d[c],k instanceof Element&&z(b,k)}}V&&(a.before=c(V));V&&(a.after=c(pa));qa&&u(a,"replaceWith",function(a){for(var e= |
||||
[],c=0;c<arguments.length;++c)e[c-0]=arguments[c];for(var c=[],d=[],k=0;k<e.length;k++){var g=e[k];g instanceof Element&&n(g)&&d.push(g);if(g instanceof DocumentFragment)for(g=g.firstChild;g;g=g.nextSibling)c.push(g);else c.push(g)}k=n(this);qa.apply(this,e);for(e=0;e<d.length;e++)B(b,d[e]);if(k)for(B(b,this),e=0;e<c.length;e++)d=c[e],d instanceof Element&&z(b,d)});ra&&u(a,"remove",function(){var a=n(this);ra.call(this);a&&B(b,this)})};function za(){var b=X;function a(a,c){Object.defineProperty(a,"innerHTML",{enumerable:c.enumerable,configurable:!0,get:c.get,set:function(a){var e=this,d=void 0;n(this)&&(d=[],t(this,function(a){a!==e&&d.push(a)}));c.set.call(this,a);if(d)for(var f=0;f<d.length;f++){var r=d[f];1===r.__CE_state&&b.disconnectedCallback(r)}this.ownerDocument.__CE_hasRegistry?C(b,this):x(b,this);return a}})}function c(a,c){u(a,"insertAdjacentElement",function(a,e){var d=n(e);a=c.call(this,a,e);d&&B(b,e);n(a)&&z(b,e); |
||||
return a})}function d(a,c){function e(a,e){for(var c=[];a!==e;a=a.nextSibling)c.push(a);for(e=0;e<c.length;e++)C(b,c[e])}u(a,"insertAdjacentHTML",function(a,b){a=a.toLowerCase();if("beforebegin"===a){var d=this.previousSibling;c.call(this,a,b);e(d||this.parentNode.firstChild,this)}else if("afterbegin"===a)d=this.firstChild,c.call(this,a,b),e(this.firstChild,d);else if("beforeend"===a)d=this.lastChild,c.call(this,a,b),e(d||this.firstChild,null);else if("afterend"===a)d=this.nextSibling,c.call(this, |
||||
a,b),e(this.nextSibling,d);else throw new SyntaxError("The value provided ("+String(a)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");})}P&&u(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=P.call(this,a)});Q&&Q.get?a(Element.prototype,Q):W&&W.get?a(HTMLElement.prototype,W):w(b,function(b){a(b,{enumerable:!0,configurable:!0,get:function(){return J.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,e=b?this.content:this, |
||||
c=I.call(document,this.namespaceURI,this.localName);for(c.innerHTML=a;0<e.childNodes.length;)M.call(e,e.childNodes[0]);for(a=b?c.content:c;0<a.childNodes.length;)K.call(e,a.childNodes[0])}})});u(Element.prototype,"setAttribute",function(a,c){if(1!==this.__CE_state)return S.call(this,a,c);var e=R.call(this,a);S.call(this,a,c);c=R.call(this,a);b.attributeChangedCallback(this,a,e,c,null)});u(Element.prototype,"setAttributeNS",function(a,c,d){if(1!==this.__CE_state)return ja.call(this,a,c,d);var e=U.call(this, |
||||
a,c);ja.call(this,a,c,d);d=U.call(this,a,c);b.attributeChangedCallback(this,c,e,d,a)});u(Element.prototype,"removeAttribute",function(a){if(1!==this.__CE_state)return T.call(this,a);var c=R.call(this,a);T.call(this,a);null!==c&&b.attributeChangedCallback(this,a,c,null,null)});u(Element.prototype,"removeAttributeNS",function(a,c){if(1!==this.__CE_state)return ka.call(this,a,c);var d=U.call(this,a,c);ka.call(this,a,c);var e=U.call(this,a,c);d!==e&&b.attributeChangedCallback(this,c,d,e,a)});ta?c(HTMLElement.prototype, |
||||
ta):la?c(Element.prototype,la):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched.");ua?d(HTMLElement.prototype,ua):ma?d(Element.prototype,ma):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched.");Y(b,Element.prototype,{h:na,append:oa});ya(b)};/* |
||||
|
||||
Copyright (c) 2016 The Polymer Project Authors. All rights reserved. |
||||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
|
||||
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
|
||||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
|
||||
Code distributed by Google as part of the polymer project is also |
||||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||
*/ |
||||
var Z=window.customElements;if(!Z||Z.forcePolyfill||"function"!=typeof Z.define||"function"!=typeof Z.get){var X=new v;va();wa();Y(X,DocumentFragment.prototype,{h:ha,append:ia});xa();za();document.__CE_hasRegistry=!0;var customElements=new G(X);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:customElements})}; |
||||
}).call(self); |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
/** |
||||
* innerHTML property for SVGElement |
||||
* Copyright(c) 2010, Jeff Schiller |
||||
* |
||||
* Licensed under the Apache License, Version 2 |
||||
* |
||||
* Minor modifications by Chris Price to only polyfill when required. |
||||
*/ |
||||
!function(e){if(e&&!("innerHTML"in e.prototype)){var t=function(e,r){var i=e.nodeType;if(3==i)r.push(e.textContent.replace(/&/,"&").replace(/</,"<").replace(">",">"));else if(1==i){if(r.push("<",e.tagName),e.hasAttributes())for(var n=e.attributes,s=0,o=n.length;s<o;++s){var a=n.item(s);r.push(" ",a.name,"='",a.value,"'")}if(e.hasChildNodes()){r.push(">");for(var h=e.childNodes,s=0,o=h.length;s<o;++s)t(h.item(s),r);r.push("</",e.tagName,">")}else r.push("/>")}else{if(8!=i)throw"Error serializing XML. Unhandled node of type: "+i;r.push("\x3c!--",e.nodeValue,"--\x3e")}};Object.defineProperty(e.prototype,"innerHTML",{get:function(){for(var e=[],r=this.firstChild;r;)t(r,e),r=r.nextSibling;return e.join("")},set:function(e){for(;this.firstChild;)this.removeChild(this.firstChild);try{var t=new DOMParser;t.async=!1,sXML="<svg xmlns='http://www.w3.org/2000/svg'>"+e+"</svg>";for(var r=t.parseFromString(sXML,"text/xml").documentElement.firstChild;r;)this.appendChild(this.ownerDocument.importNode(r,!0)),r=r.nextSibling}catch(e){throw new Error("Error parsing XML string")}}})}}((0,eval)("this").SVGElement); |
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
/* |
||||
* Copyright 2012-2013 (c) Pierre Duquesne <stackp@online.fr> |
||||
* Licensed under the New BSD License. |
||||
* https://github.com/stackp/promisejs
|
||||
*/ |
||||
(function(a){function b(){this._callbacks=[];}b.prototype.then=function(a,c){var d;if(this._isdone)d=a.apply(c,this.result);else{d=new b();this._callbacks.push(function(){var b=a.apply(c,arguments);if(b&&typeof b.then==='function')b.then(d.done,d);});}return d;};b.prototype.done=function(){this.result=arguments;this._isdone=true;for(var a=0;a<this._callbacks.length;a++)this._callbacks[a].apply(null,arguments);this._callbacks=[];};function c(a){var c=new b();var d=[];if(!a||!a.length){c.done(d);return c;}var e=0;var f=a.length;function g(a){return function(){e+=1;d[a]=Array.prototype.slice.call(arguments);if(e===f)c.done(d);};}for(var h=0;h<f;h++)a[h].then(g(h));return c;}function d(a,c){var e=new b();if(a.length===0)e.done.apply(e,c);else a[0].apply(null,c).then(function(){a.splice(0,1);d(a,arguments).then(function(){e.done.apply(e,arguments);});});return e;}function e(a){var b="";if(typeof a==="string")b=a;else{var c=encodeURIComponent;var d=[];for(var e in a)if(a.hasOwnProperty(e))d.push(c(e)+'='+c(a[e]));b=d.join('&');}return b;}function f(){var a;if(window.XMLHttpRequest)a=new XMLHttpRequest();else if(window.ActiveXObject)try{a=new ActiveXObject("Msxml2.XMLHTTP");}catch(b){a=new ActiveXObject("Microsoft.XMLHTTP");}return a;}function g(a,c,d,g){var h=new b();var j,k;d=d||{};g=g||{};try{j=f();}catch(l){h.done(i.ENOXHR,"");return h;}k=e(d);if(a==='GET'&&k){c+='?'+k;k=null;}j.open(a,c);var m='application/x-www-form-urlencoded';for(var n in g)if(g.hasOwnProperty(n))if(n.toLowerCase()==='content-type')m=g[n];else j.setRequestHeader(n,g[n]);j.setRequestHeader('Content-type',m);function o(){j.abort();h.done(i.ETIMEOUT,"",j);}var p=i.ajaxTimeout;if(p)var q=setTimeout(o,p);j.onreadystatechange=function(){if(p)clearTimeout(q);if(j.readyState===4){var a=(!j.status||(j.status<200||j.status>=300)&&j.status!==304);h.done(a,j.responseText,j);}};j.send(k);return h;}function h(a){return function(b,c,d){return g(a,b,c,d);};}var i={Promise:b,join:c,chain:d,ajax:g,get:h('GET'),post:h('POST'),put:h('PUT'),del:h('DELETE'),ENOXHR:1,ETIMEOUT:2,ajaxTimeout:0};if(typeof define==='function'&&define.amd)define(function(){return i;});else a.promise=i;})(this); |
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
/*! |
||||
* tablesort v5.1.0 (2018-09-14) |
||||
* http://tristen.ca/tablesort/demo/
|
||||
* Copyright (c) 2018 ; Licensed MIT |
||||
*/ |
||||
!function(){function a(b,c){if(!(this instanceof a))return new a(b,c);if(!b||"TABLE"!==b.tagName)throw new Error("Element must be a table");this.init(b,c||{})}var b=[],c=function(a){var b;return window.CustomEvent&&"function"==typeof window.CustomEvent?b=new CustomEvent(a):(b=document.createEvent("CustomEvent"),b.initCustomEvent(a,!1,!1,void 0)),b},d=function(a){return a.getAttribute("data-sort")||a.textContent||a.innerText||""},e=function(a,b){return a=a.trim().toLowerCase(),b=b.trim().toLowerCase(),a===b?0:a<b?1:-1},f=function(a,b){return function(c,d){var e=a(c.td,d.td);return 0===e?b?d.index-c.index:c.index-d.index:e}};a.extend=function(a,c,d){if("function"!=typeof c||"function"!=typeof d)throw new Error("Pattern and sort must be a function");b.push({name:a,pattern:c,sort:d})},a.prototype={init:function(a,b){var c,d,e,f,g=this;if(g.table=a,g.thead=!1,g.options=b,a.rows&&a.rows.length>0)if(a.tHead&&a.tHead.rows.length>0){for(e=0;e<a.tHead.rows.length;e++)if("thead"===a.tHead.rows[e].getAttribute("data-sort-method")){c=a.tHead.rows[e];break}c||(c=a.tHead.rows[a.tHead.rows.length-1]),g.thead=!0}else c=a.rows[0];if(c){var h=function(){g.current&&g.current!==this&&g.current.removeAttribute("aria-sort"),g.current=this,g.sortTable(this)};for(e=0;e<c.cells.length;e++)f=c.cells[e],f.setAttribute("role","columnheader"),"none"!==f.getAttribute("data-sort-method")&&(f.tabindex=0,f.addEventListener("click",h,!1),null!==f.getAttribute("data-sort-default")&&(d=f));d&&(g.current=d,g.sortTable(d))}},sortTable:function(a,g){var h=this,i=a.cellIndex,j=e,k="",l=[],m=h.thead?0:1,n=a.getAttribute("data-sort-method"),o=a.getAttribute("aria-sort");if(h.table.dispatchEvent(c("beforeSort")),g||(o="ascending"===o?"descending":"descending"===o?"ascending":h.options.descending?"descending":"ascending",a.setAttribute("aria-sort",o)),!(h.table.rows.length<2)){if(!n){for(;l.length<3&&m<h.table.tBodies[0].rows.length;)k=d(h.table.tBodies[0].rows[m].cells[i]),k=k.trim(),k.length>0&&l.push(k),m++;if(!l)return}for(m=0;m<b.length;m++)if(k=b[m],n){if(k.name===n){j=k.sort;break}}else if(l.every(k.pattern)){j=k.sort;break}for(h.col=i,m=0;m<h.table.tBodies.length;m++){var p,q=[],r={},s=0,t=0;if(!(h.table.tBodies[m].rows.length<2)){for(p=0;p<h.table.tBodies[m].rows.length;p++)k=h.table.tBodies[m].rows[p],"none"===k.getAttribute("data-sort-method")?r[s]=k:q.push({tr:k,td:d(k.cells[h.col]),index:s}),s++;for("descending"===o?q.sort(f(j,!0)):(q.sort(f(j,!1)),q.reverse()),p=0;p<s;p++)r[p]?(k=r[p],t++):k=q[p-t].tr,h.table.tBodies[m].appendChild(k)}}h.table.dispatchEvent(c("afterSort"))}},refresh:function(){void 0!==this.current&&this.sortTable(this.current,!0)}},"undefined"!=typeof module&&module.exports?module.exports=a:window.Tablesort=a}(); |
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
/*! |
||||
* tablesort v5.1.0 (2018-09-14) |
||||
* http://tristen.ca/tablesort/demo/
|
||||
* Copyright (c) 2018 ; Licensed MIT |
||||
*/ |
||||
!function(){var a=function(a){return a.replace(/[^\-?0-9.]/g,"")},b=function(a,b){return a=parseFloat(a),b=parseFloat(b),a=isNaN(a)?0:a,b=isNaN(b)?0:b,a-b};Tablesort.extend("number",function(a){return a.match(/^[-+]?[£\x24Û¢´€]?\d+\s*([,\.]\d{0,2})/)||a.match(/^[-+]?\d+\s*([,\.]\d{0,2})?[£\x24Û¢´€]/)||a.match(/^[-+]?(\d)*-?([,\.]){0,1}-?(\d)+([E,e][\-+][\d]+)?%?$/)},function(c,d){return c=a(c),d=a(d),b(d,c)})}(); |
@ -0,0 +1,149 @@
@@ -0,0 +1,149 @@
|
||||
'use strict'; |
||||
|
||||
|
||||
customElements.define('compodoc-menu', class extends HTMLElement { |
||||
constructor() { |
||||
super(); |
||||
this.isNormalMode = this.getAttribute('mode') === 'normal'; |
||||
} |
||||
|
||||
connectedCallback() { |
||||
this.render(this.isNormalMode); |
||||
} |
||||
|
||||
render(isNormalMode) { |
||||
let tp = lithtml.html(` |
||||
<nav> |
||||
<ul class="list"> |
||||
<li class="title"> |
||||
<a href="index.html" data-type="index-link">api-taskme documentation</a> |
||||
</li> |
||||
|
||||
<li class="divider"></li> |
||||
${ isNormalMode ? `<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div>` : '' } |
||||
<li class="chapter"> |
||||
<a data-type="chapter-link" href="index.html"><span class="icon ion-ios-home"></span>Getting started</a> |
||||
<ul class="links"> |
||||
<li class="link"> |
||||
<a href="overview.html" data-type="chapter-link"> |
||||
<span class="icon ion-ios-keypad"></span>Overview |
||||
</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="index.html" data-type="chapter-link"> |
||||
<span class="icon ion-ios-paper"></span>README |
||||
</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="dependencies.html" data-type="chapter-link"> |
||||
<span class="icon ion-ios-list"></span>Dependencies |
||||
</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
<li class="chapter modules"> |
||||
<a data-type="chapter-link" href="modules.html"> |
||||
<div class="menu-toggler linked" data-toggle="collapse" ${ isNormalMode ? |
||||
'data-target="#modules-links"' : 'data-target="#xs-modules-links"' }> |
||||
<span class="icon ion-ios-archive"></span> |
||||
<span class="link-name">Modules</span> |
||||
<span class="icon ion-ios-arrow-down"></span> |
||||
</div> |
||||
</a> |
||||
<ul class="links collapse " ${ isNormalMode ? 'id="modules-links"' : 'id="xs-modules-links"' }> |
||||
<li class="link"> |
||||
<a href="modules/AppModule.html" data-type="entity-link" >AppModule</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="modules/DatabaseModule.html" data-type="entity-link" >DatabaseModule</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="modules/UsersModule.html" data-type="entity-link" >UsersModule</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
<li class="chapter"> |
||||
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? 'data-target="#classes-links"' : |
||||
'data-target="#xs-classes-links"' }> |
||||
<span class="icon ion-ios-paper"></span> |
||||
<span>Classes</span> |
||||
<span class="icon ion-ios-arrow-down"></span> |
||||
</div> |
||||
<ul class="links collapse " ${ isNormalMode ? 'id="classes-links"' : 'id="xs-classes-links"' }> |
||||
<li class="link"> |
||||
<a href="classes/User.html" data-type="entity-link" >User</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="classes/UserCreator.html" data-type="entity-link" >UserCreator</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
<li class="chapter"> |
||||
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? 'data-target="#injectables-links"' : |
||||
'data-target="#xs-injectables-links"' }> |
||||
<span class="icon ion-md-arrow-round-down"></span> |
||||
<span>Injectables</span> |
||||
<span class="icon ion-ios-arrow-down"></span> |
||||
</div> |
||||
<ul class="links collapse " ${ isNormalMode ? 'id="injectables-links"' : 'id="xs-injectables-links"' }> |
||||
<li class="link"> |
||||
<a href="injectables/UsersService.html" data-type="entity-link" >UsersService</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
<li class="chapter"> |
||||
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? 'data-target="#interfaces-links"' : |
||||
'data-target="#xs-interfaces-links"' }> |
||||
<span class="icon ion-md-information-circle-outline"></span> |
||||
<span>Interfaces</span> |
||||
<span class="icon ion-ios-arrow-down"></span> |
||||
</div> |
||||
<ul class="links collapse " ${ isNormalMode ? ' id="interfaces-links"' : 'id="xs-interfaces-links"' }> |
||||
<li class="link"> |
||||
<a href="interfaces/IDatabaseAsyncModuleParams.html" data-type="entity-link" >IDatabaseAsyncModuleParams</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="interfaces/IUser.html" data-type="entity-link" >IUser</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="interfaces/TUser.html" data-type="entity-link" >TUser</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="interfaces/UserPaylod.html" data-type="entity-link" >UserPaylod</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
<li class="chapter"> |
||||
<div class="simple menu-toggler" data-toggle="collapse" ${ isNormalMode ? 'data-target="#miscellaneous-links"' |
||||
: 'data-target="#xs-miscellaneous-links"' }> |
||||
<span class="icon ion-ios-cube"></span> |
||||
<span>Miscellaneous</span> |
||||
<span class="icon ion-ios-arrow-down"></span> |
||||
</div> |
||||
<ul class="links collapse " ${ isNormalMode ? 'id="miscellaneous-links"' : 'id="xs-miscellaneous-links"' }> |
||||
<li class="link"> |
||||
<a href="miscellaneous/enumerations.html" data-type="entity-link">Enums</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="miscellaneous/functions.html" data-type="entity-link">Functions</a> |
||||
</li> |
||||
<li class="link"> |
||||
<a href="miscellaneous/variables.html" data-type="entity-link">Variables</a> |
||||
</li> |
||||
</ul> |
||||
</li> |
||||
<li class="chapter"> |
||||
<a data-type="chapter-link" href="coverage.html"><span class="icon ion-ios-stats"></span>Documentation coverage</a> |
||||
</li> |
||||
<li class="divider"></li> |
||||
<li class="copyright"> |
||||
Documentation generated using <a href="https://compodoc.app/" target="_blank"> |
||||
<img data-src="images/compodoc-vectorise.png" class="img-responsive" data-type="compodoc-logo"> |
||||
</a> |
||||
</li> |
||||
</ul> |
||||
</nav> |
||||
`);
|
||||
this.innerHTML = tp.strings; |
||||
} |
||||
}); |
@ -0,0 +1,265 @@
@@ -0,0 +1,265 @@
|
||||
document.addEventListener('DOMContentLoaded', function () { |
||||
var menuCollapsed = false, |
||||
mobileMenu = document.getElementById('mobile-menu'); |
||||
|
||||
var localContextInUrl = ''; |
||||
|
||||
if (COMPODOC_CURRENT_PAGE_CONTEXT !== '') { |
||||
localContextInUrl = localContextInUrl; |
||||
switch (COMPODOC_CURRENT_PAGE_CONTEXT) { |
||||
case 'additional-page': |
||||
localContextInUrl = 'additional-documentation'; |
||||
break; |
||||
case 'class': |
||||
localContextInUrl = 'classes'; |
||||
break; |
||||
case 'miscellaneous-functions': |
||||
case 'miscellaneous-variables': |
||||
case 'miscellaneous-typealiases': |
||||
case 'miscellaneous-enumerations': |
||||
localContextInUrl = 'miscellaneous'; |
||||
default: |
||||
break; |
||||
} |
||||
} |
||||
|
||||
function hasClass(el, cls) { |
||||
return el.className && new RegExp('(\\s|^)' + cls + '(\\s|$)').test(el.className); |
||||
} |
||||
|
||||
var processLink = function (link, url) { |
||||
if (url.charAt(0) !== '.') { |
||||
var prefix = ''; |
||||
switch (COMPODOC_CURRENT_PAGE_DEPTH) { |
||||
case 5: |
||||
prefix = '../../../../../'; |
||||
break; |
||||
case 4: |
||||
prefix = '../../../../'; |
||||
break; |
||||
case 3: |
||||
prefix = '../../../'; |
||||
break; |
||||
case 2: |
||||
prefix = '../../'; |
||||
break; |
||||
case 1: |
||||
prefix = '../'; |
||||
break; |
||||
case 0: |
||||
prefix = './'; |
||||
break; |
||||
} |
||||
link.setAttribute('href', prefix + url); |
||||
} |
||||
}; |
||||
|
||||
var processMenuLinks = function (links, dontAddClass) { |
||||
for (var i = 0; i < links.length; i++) { |
||||
var link = links[i]; |
||||
var linkHref = link.getAttribute('href'); |
||||
if (linkHref) { |
||||
var linkHrefFile = linkHref.substr(linkHref.lastIndexOf('/') + 1, linkHref.length); |
||||
if ( |
||||
linkHrefFile.toLowerCase() === COMPODOC_CURRENT_PAGE_URL.toLowerCase() && |
||||
link.innerHTML.indexOf('Getting started') == -1 && |
||||
!dontAddClass && |
||||
linkHref.toLowerCase().indexOf(localContextInUrl.toLowerCase()) !== -1 |
||||
) { |
||||
link.classList.add('active'); |
||||
} |
||||
processLink(link, linkHref); |
||||
} |
||||
} |
||||
}; |
||||
var chapterLinks = document.querySelectorAll('[data-type="chapter-link"]'); |
||||
processMenuLinks(chapterLinks); |
||||
var entityLinks = document.querySelectorAll('[data-type="entity-link"]'); |
||||
processMenuLinks(entityLinks); |
||||
var indexLinks = document.querySelectorAll('[data-type="index-link"]'); |
||||
processMenuLinks(indexLinks, true); |
||||
var entityLogos = document.querySelectorAll('[data-type="compodoc-logo"]'); |
||||
var processLogos = function (entityLogo) { |
||||
for (var i = 0; i < entityLogos.length; i++) { |
||||
var entityLogo = entityLogos[i]; |
||||
if (entityLogo) { |
||||
var url = entityLogo.getAttribute('data-src'); |
||||
// Dark mode + logo
|
||||
let isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches; |
||||
if (isDarkMode) { |
||||
url = 'images/compodoc-vectorise-inverted.png'; |
||||
} |
||||
if (url.charAt(0) !== '.') { |
||||
var prefix = ''; |
||||
switch (COMPODOC_CURRENT_PAGE_DEPTH) { |
||||
case 5: |
||||
prefix = '../../../../../'; |
||||
break; |
||||
case 4: |
||||
prefix = '../../../../'; |
||||
break; |
||||
case 3: |
||||
prefix = '../../../'; |
||||
break; |
||||
case 2: |
||||
prefix = '../../'; |
||||
break; |
||||
case 1: |
||||
prefix = '../'; |
||||
break; |
||||
case 0: |
||||
prefix = './'; |
||||
break; |
||||
} |
||||
entityLogo.src = prefix + url; |
||||
} |
||||
} |
||||
} |
||||
}; |
||||
processLogos(entityLogos); |
||||
|
||||
setTimeout(function () { |
||||
document.getElementById('btn-menu').addEventListener('click', function () { |
||||
if (menuCollapsed) { |
||||
mobileMenu.style.display = 'none'; |
||||
} else { |
||||
mobileMenu.style.display = 'block'; |
||||
document.getElementsByTagName('body')[0].style['overflow-y'] = 'hidden'; |
||||
} |
||||
menuCollapsed = !menuCollapsed; |
||||
}); |
||||
|
||||
/** |
||||
* Native bootstrap doesn't wait DOMContentLoaded event to start his job, re do it here |
||||
*/ |
||||
var Collapses = document.querySelectorAll('[data-toggle="collapse"]'); |
||||
for (var o = 0, cll = Collapses.length; o < cll; o++) { |
||||
var collapse = Collapses[o], |
||||
options = {}; |
||||
options.duration = collapse.getAttribute('data-duration'); |
||||
new Collapse(collapse, options); |
||||
} |
||||
|
||||
// collapse menu
|
||||
var classnameMenuToggler = document.getElementsByClassName('menu-toggler'), |
||||
faAngleUpClass = 'ion-ios-arrow-up', |
||||
faAngleDownClass = 'ion-ios-arrow-down', |
||||
toggleItemMenu = function (e) { |
||||
var element = $(e.target), |
||||
parent = element[0].parentNode, |
||||
parentLink, |
||||
elementIconChild; |
||||
if (parent) { |
||||
if (!$(parent).hasClass('linked')) { |
||||
e.preventDefault(); |
||||
} else { |
||||
parentLink = parent.parentNode; |
||||
if (parentLink && element.hasClass('link-name')) { |
||||
$(parentLink).trigger('click'); |
||||
} |
||||
} |
||||
elementIconChild = parent.getElementsByClassName(faAngleUpClass)[0]; |
||||
if (!elementIconChild) { |
||||
elementIconChild = parent.getElementsByClassName(faAngleDownClass)[0]; |
||||
} |
||||
if (elementIconChild) { |
||||
elementIconChild = $(elementIconChild); |
||||
if (elementIconChild.hasClass(faAngleUpClass)) { |
||||
elementIconChild.addClass(faAngleDownClass); |
||||
elementIconChild.removeClass(faAngleUpClass); |
||||
} else { |
||||
elementIconChild.addClass(faAngleUpClass); |
||||
elementIconChild.removeClass(faAngleDownClass); |
||||
} |
||||
} |
||||
} |
||||
}; |
||||
|
||||
for (var i = 0; i < classnameMenuToggler.length; i++) { |
||||
classnameMenuToggler[i].addEventListener('click', toggleItemMenu, false); |
||||
} |
||||
|
||||
// Scroll to active link
|
||||
var menus = document.querySelectorAll('.menu'), |
||||
i = 0, |
||||
len = menus.length, |
||||
activeMenu, |
||||
activeMenuClass, |
||||
activeLink; |
||||
|
||||
for (i; i < len; i++) { |
||||
if (getComputedStyle(menus[i]).display != 'none') { |
||||
activeMenu = menus[i]; |
||||
activeMenuClass = activeMenu.getAttribute('class').split(' ')[0]; |
||||
} |
||||
} |
||||
|
||||
if (activeMenu) { |
||||
activeLink = document.querySelector('.' + activeMenuClass + ' .active'); |
||||
if (activeLink) { |
||||
var linkType = activeLink.getAttribute('data-type'); |
||||
var linkContext = activeLink.getAttribute('data-context'); |
||||
if (linkType === 'entity-link') { |
||||
var parentLi = activeLink.parentNode, |
||||
parentUl, |
||||
parentChapterMenu; |
||||
if (parentLi) { |
||||
parentUl = parentLi.parentNode; |
||||
if (parentUl) { |
||||
parentChapterMenu = parentUl.parentNode; |
||||
if (parentChapterMenu) { |
||||
var toggler = parentChapterMenu.querySelector('.menu-toggler'), |
||||
elementIconChild = |
||||
toggler.getElementsByClassName(faAngleUpClass)[0]; |
||||
if (toggler && !elementIconChild) { |
||||
toggler.click(); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
if (linkContext && linkContext === 'sub-entity') { |
||||
// Toggle also the master parent menu
|
||||
var linkContextId = activeLink.getAttribute('data-context-id'); |
||||
var toggler = activeMenu.querySelector( |
||||
'.chapter.' + linkContextId + ' a .menu-toggler' |
||||
); |
||||
if (toggler) { |
||||
toggler.click(); |
||||
} |
||||
if (linkContextId === 'additional') { |
||||
var mainToggler = activeMenu.querySelector( |
||||
'.chapter.' + linkContextId + ' div.menu-toggler' |
||||
); |
||||
if (mainToggler) { |
||||
mainToggler.click(); |
||||
} |
||||
} |
||||
} |
||||
} else if (linkType === 'chapter-link') { |
||||
var linkContextId = activeLink.getAttribute('data-context-id'); |
||||
var toggler = activeLink.querySelector('.menu-toggler'); |
||||
if (toggler) { |
||||
toggler.click(); |
||||
} |
||||
if (linkContextId === 'additional') { |
||||
var mainToggler = activeMenu.querySelector( |
||||
'.chapter.' + linkContextId + ' div.menu-toggler' |
||||
); |
||||
if (mainToggler) { |
||||
mainToggler.click(); |
||||
} |
||||
} |
||||
} |
||||
setTimeout(function () { |
||||
activeMenu.scrollTop = activeLink.offsetTop; |
||||
if ( |
||||
activeLink.innerHTML.toLowerCase().indexOf('readme') != -1 || |
||||
activeLink.innerHTML.toLowerCase().indexOf('overview') != -1 |
||||
) { |
||||
activeMenu.scrollTop = 0; |
||||
} |
||||
}, 300); |
||||
} |
||||
} |
||||
}, 0); |
||||
}); |
@ -0,0 +1,280 @@
@@ -0,0 +1,280 @@
|
||||
document.addEventListener('DOMContentLoaded', function() { |
||||
|
||||
function htmlEntities(str) { |
||||
return String(str).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"'); |
||||
} |
||||
|
||||
function foundLazyModuleWithPath(path) { |
||||
//path is like app/customers/customers.module#CustomersModule
|
||||
var split = path.split('#'), |
||||
lazyModulePath = split[0], |
||||
lazyModuleName = split[1]; |
||||
return lazyModuleName; |
||||
} |
||||
|
||||
function getBB(selection) { |
||||
selection.each(function(d){d.bbox = this.getBBox();}) |
||||
} |
||||
|
||||
var test_cases, |
||||
test_case, |
||||
test_case_num, |
||||
engine; |
||||
|
||||
var tree = ROUTES_INDEX; |
||||
|
||||
function cleanStringChildren(obj) { |
||||
for (var property in obj) { |
||||
if (obj.hasOwnProperty(property)) { |
||||
if (property === 'children' && typeof obj[property] === 'object') { |
||||
for (var i = obj[property].length - 1; i >= 0 ; i--) { |
||||
if (typeof obj[property][i] === 'string') { |
||||
obj[property].splice(i, 1); |
||||
} |
||||
} |
||||
} |
||||
if (typeof obj[property] === 'object') { |
||||
cleanStringChildren(obj[property]); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
cleanStringChildren(tree); |
||||
|
||||
engine = d3.layout.tree().setNodeSizes(true); |
||||
|
||||
engine.spacing(function(a, b) { |
||||
return a.parent == b.parent ? |
||||
0 : engine.rootXSize(); |
||||
}) |
||||
|
||||
engine.nodeSize(function(d) { |
||||
return [document.getElementById(d.id).getBBox()["height"] + 70, document.getElementById(d.id).getBBox()["width"] + 30]; |
||||
}); |
||||
|
||||
var nodes = d3.layout.hierarchy()(tree), |
||||
|
||||
svg = d3.select("#body-routes").append('svg'), |
||||
svg_g = svg.append("g"), |
||||
svg_p = svg.append("g"), |
||||
last_id = 0, |
||||
|
||||
node = svg_g.selectAll(".node") |
||||
.data(nodes, function(d) { |
||||
return d.id || (d.id = ++last_id); |
||||
}) |
||||
.enter().append("g") |
||||
.attr("class", "node"); |
||||
|
||||
svg |
||||
.attr('id', 'main') |
||||
|
||||
svg_g |
||||
.attr("transform", "translate(20,0)") |
||||
.attr('id', 'main-group') |
||||
|
||||
svg_p |
||||
.attr("transform", "translate(20,0)") |
||||
.attr('id', 'paths') |
||||
|
||||
var infos_group = node.append("g") |
||||
.attr({ |
||||
"id": function(d) { |
||||
return d.id; |
||||
}, |
||||
dx: 0, |
||||
dy: 0, |
||||
}) |
||||
|
||||
//Node icon
|
||||
infos_group.append("text") |
||||
.attr('font-family', 'Ionicons') |
||||
.attr("y", 5) |
||||
.attr("x", 0) |
||||
.attr('class', function(d) { |
||||
return d.children || d._children |
||||
? "icon has-children" |
||||
: "icon"; |
||||
}) |
||||
.attr('font-size', function(d) { |
||||
return '15px' |
||||
}).text(function(d) { |
||||
return '\uf183' |
||||
}); |
||||
|
||||
//node infos
|
||||
infos_group.append("svg:text") |
||||
.attr("x", function(d) { |
||||
return 0; |
||||
}) |
||||
.attr("y", function(d) { |
||||
return 10; |
||||
}) |
||||
.attr("dy", ".35em") |
||||
.attr('class', 'text') |
||||
.attr("text-anchor", function(d) { |
||||
return "start"; |
||||
}).html(function(d) { |
||||
// if kind === module name + module
|
||||
// if kind === component component + path
|
||||
var _name = ''; |
||||
if (d.kind === 'module') { |
||||
if (d.module) { |
||||
_name += '<tspan x="0" dy="1.4em"><a href="./modules/' + d.module + '.html">' + d.module + '</a></tspan>'; |
||||
if (d.name) { |
||||
_name += '<tspan x="0" dy="1.4em">' + d.name + '</tspan>'; |
||||
} |
||||
} else { |
||||
_name += '<tspan x="0" dy="1.4em">' + htmlEntities(d.name) + '</tspan>'; |
||||
} |
||||
} else if (d.kind === 'component') { |
||||
_name += '<tspan x="0" dy="1.4em">' + d.path + '</tspan>' |
||||
_name += '<tspan x="0" dy="1.4em"><a href="./components/' + d.component + '.html">' + d.component + '</a></tspan>' |
||||
if (d.outlet) { |
||||
_name += '<tspan x="0" dy="1.4em"><outlet> : ' + d.outlet + '</tspan>' |
||||
} |
||||
} else { |
||||
_name += '<tspan x="0" dy="1.4em">/' + d.path + '</tspan>' |
||||
if (d.component) { |
||||
_name += '<tspan x="0" dy="1.4em"><a href="./components/' + d.component + '.html">' + d.component + '</a></tspan>' |
||||
} |
||||
if (d.loadChildren) { |
||||
var moduleName = foundLazyModuleWithPath(d.loadChildren); |
||||
_name += '<tspan x="0" dy="1.4em"><a href="./modules/' + moduleName + '.html">' + moduleName + '</a></tspan>' |
||||
} |
||||
if (d.canActivate) { |
||||
_name += '<tspan x="0" dy="1.4em">✓ canActivate</tspan>' |
||||
} |
||||
if (d.canDeactivate) { |
||||
_name += '<tspan x="0" dy="1.4em">× canDeactivate</tspan>' |
||||
} |
||||
if (d.canActivateChild) { |
||||
_name += '<tspan x="0" dy="1.4em">✓ canActivateChild</tspan>' |
||||
} |
||||
if (d.canLoad) { |
||||
_name += '<tspan x="0" dy="1.4em">→ canLoad</tspan>' |
||||
} |
||||
if (d.redirectTo) { |
||||
_name += '<tspan x="0" dy="1.4em">→ ' + d.redirectTo + '</tspan>' |
||||
} |
||||
if (d.pathMatch) { |
||||
_name += '<tspan x="0" dy="1.4em">> ' + d.pathMatch + '</tspan>' |
||||
} |
||||
if (d.outlet) { |
||||
_name += '<tspan x="0" dy="1.4em"><outlet> : ' + d.outlet + '</tspan>' |
||||
} |
||||
} |
||||
return _name; |
||||
}) |
||||
.call(getBB); |
||||
|
||||
//
|
||||
// Node lazy loaded ?
|
||||
//
|
||||
infos_group.append('svg:text') |
||||
.attr("y", function(d) { |
||||
return 45; |
||||
}) |
||||
.attr("x", function(d) { |
||||
return -18; |
||||
}) |
||||
.attr('font-family', 'Ionicons') |
||||
.attr('class', function(d) { |
||||
return "icon"; |
||||
}) |
||||
.attr('font-size', function(d) { |
||||
return '15px' |
||||
}).text(function(d) { |
||||
var _text = ''; |
||||
if (d.loadChildren) { |
||||
_text = '\uf4c1'; |
||||
} |
||||
if (d.guarded) { |
||||
_text = '\uf1b0'; |
||||
} |
||||
return _text; |
||||
}); |
||||
|
||||
//Node text background
|
||||
infos_group.insert("rect","text") |
||||
.attr("width", function(d){ |
||||
return d.bbox.width; |
||||
}) |
||||
.attr("height", function(d){ |
||||
return d.bbox.height; |
||||
}) |
||||
.attr("y", function(d) { |
||||
return 15; |
||||
}) |
||||
.style("fill", "white") |
||||
.style("fill-opacity", 0.75); |
||||
|
||||
nodes = engine.nodes(tree); |
||||
|
||||
function node_extents(n) { |
||||
return [n.x - n.x_size / 2, n.y, |
||||
n.x + n.x_size / 2, n.y + n.y_size |
||||
]; |
||||
} |
||||
var root_extents = node_extents(nodes[0]); |
||||
var xmin = root_extents[0], |
||||
ymin = root_extents[1], |
||||
xmax = root_extents[2], |
||||
ymax = root_extents[3], |
||||
area_sum = (xmax - xmin) * (ymax - ymin), |
||||
x_size_min = nodes[0].x_size, |
||||
y_size_min = nodes[0].y_size; |
||||
|
||||
nodes.slice(1).forEach(function(n) { |
||||
var ne = node_extents(n); |
||||
xmin = Math.min(xmin, ne[0]); |
||||
ymin = Math.min(ymin, ne[1]); |
||||
xmax = Math.max(xmax, ne[2]); |
||||
ymax = Math.max(ymax, ne[3]); |
||||
area_sum += (ne[2] - ne[0]) * (ne[3] - ne[1]); |
||||
x_size_min = Math.min(x_size_min, n.x_size); |
||||
y_size_min = Math.min(y_size_min, n.y_size); |
||||
}); |
||||
|
||||
var area_ave = area_sum / nodes.length; |
||||
var scale = 80 / Math.sqrt(area_ave); |
||||
|
||||
function svg_x(node_y) { |
||||
return (node_y - ymin); |
||||
} |
||||
|
||||
function svg_y(node_x) { |
||||
return (node_x - xmin) * scale; |
||||
} |
||||
|
||||
|
||||
var nodebox_right_margin = Math.min(x_size_min * scale, 10); |
||||
var nodebox_vertical_margin = Math.min(y_size_min * scale, 3); |
||||
|
||||
node.attr("transform", function(d) { |
||||
return "translate(" + svg_x(d.y) + "," + svg_y(d.x) + ")"; |
||||
}) |
||||
|
||||
var diagonal = d3.svg.diagonal() |
||||
.projection(function(d) { |
||||
return [svg_x(d.y), svg_y(d.x)]; |
||||
}); |
||||
|
||||
var links = engine.links(nodes); |
||||
var links = svg_p.selectAll(".link") |
||||
.data(links) |
||||
.enter().append("path") |
||||
.attr("class", "link") |
||||
.attr("d", diagonal); |
||||
|
||||
var _svg = document.getElementById('main'), |
||||
main_g = _svg.childNodes[0] |
||||
|
||||
_svg.removeChild(main_g); |
||||
_svg.appendChild(main_g); |
||||
|
||||
svg.attr({ |
||||
width: document.getElementById('main-group').getBBox()['width'] + 30, |
||||
height: document.getElementById('main-group').getBBox()['height'] + 50, |
||||
}); |
||||
}); |
@ -0,0 +1,67 @@
@@ -0,0 +1,67 @@
|
||||
(function(compodoc) { |
||||
|
||||
function LunrSearchEngine() { |
||||
this.index = undefined; |
||||
this.store = {}; |
||||
this.name = 'LunrSearchEngine'; |
||||
} |
||||
|
||||
LunrSearchEngine.prototype.init = function() { |
||||
var that = this, |
||||
d = new promise.Promise(); |
||||
|
||||
that.index = lunr.Index.load(COMPODOC_SEARCH_INDEX.index); |
||||
that.store = COMPODOC_SEARCH_INDEX.store; |
||||
d.done(); |
||||
|
||||
return d; |
||||
}; |
||||
|
||||
LunrSearchEngine.prototype.search = function(q, offset, length) { |
||||
var that = this, |
||||
results = [], |
||||
d = new promise.Promise(); |
||||
|
||||
if (this.index) { |
||||
results = $.map(this.index.search('*' + q + '*'), function(result) { |
||||
var doc = that.store[result.ref]; |
||||
|
||||
return { |
||||
title: doc.title, |
||||
url: doc.url, |
||||
body: doc.summary || doc.body |
||||
}; |
||||
}); |
||||
} |
||||
|
||||
d.done({ |
||||
query: q, |
||||
results: length === 0 ? results : results.slice(0, length), |
||||
count: results.length |
||||
}); |
||||
|
||||
return d; |
||||
}; |
||||
|
||||
compodoc.addEventListener(compodoc.EVENTS.READY, function(event) { |
||||
var engine = new LunrSearchEngine(), |
||||
initialized = false; |
||||
|
||||
function query(q, offset, length) { |
||||
if (!initialized) throw new Error('Search has not been initialized'); |
||||
return engine.search(q, offset, length); |
||||
} |
||||
|
||||
compodoc.search = { |
||||
query: query |
||||
}; |
||||
|
||||
engine.init() |
||||
.then(function() { |
||||
initialized = true; |
||||
compodoc.dispatchEvent({ |
||||
type: compodoc.EVENTS.SEARCH_READY |
||||
}); |
||||
}); |
||||
}); |
||||
})(compodoc); |
@ -0,0 +1,268 @@
@@ -0,0 +1,268 @@
|
||||
(function(compodoc) { |
||||
var usePushState = (typeof history.pushState !== 'undefined'), |
||||
|
||||
// DOM Elements
|
||||
$body = $('body'), |
||||
$searchResults, |
||||
$searchInput, |
||||
$searchList, |
||||
$searchTitle, |
||||
$searchResultsCount, |
||||
$searchQuery, |
||||
$mainContainer, |
||||
$xsMenu; |
||||
|
||||
// Throttle search
|
||||
function throttle(fn, wait) { |
||||
var timeout; |
||||
|
||||
return function() { |
||||
var ctx = this, args = arguments; |
||||
if (!timeout) { |
||||
timeout = setTimeout(function() { |
||||
timeout = undefined; |
||||
fn.apply(ctx, args); |
||||
}, wait); |
||||
} |
||||
}; |
||||
} |
||||
|
||||
function displayResults(res) { |
||||
var noResults = res.count == 0; |
||||
var groups = {}; |
||||
$searchResults.toggleClass('no-results', noResults); |
||||
|
||||
// Clear old results
|
||||
$searchList.empty(); |
||||
|
||||
// Display title for research
|
||||
$searchResultsCount.text(res.count); |
||||
$searchQuery.text(res.query); |
||||
|
||||
// Group result by context
|
||||
res.results.forEach(function(res) { |
||||
var context = res.title.split(' - ')[0]; |
||||
if (typeof groups[context] === 'undefined') { |
||||
groups[context] = { |
||||
results: [res] |
||||
} |
||||
} else { |
||||
groups[context].results.push(res) |
||||
} |
||||
}); |
||||
|
||||
var sortedGroups = Object.keys(groups).sort(); |
||||
|
||||
for (var i = 0; i < sortedGroups.length; i++) { |
||||
var property = sortedGroups[i]; |
||||
|
||||
var $li = $('<li>', { |
||||
'class': 'search-results-group' |
||||
}); |
||||
var finalPropertyLabel = ''; |
||||
var propertyLabels = property.split('-'); |
||||
|
||||
if (propertyLabels.length === 2 && propertyLabels[0] !== 'miscellaneous' && propertyLabels[0] !== 'additional') { |
||||
finalPropertyLabel = propertyLabels[0].charAt(0).toUpperCase() + propertyLabels[0].substring(1) + ' - ' + propertyLabels[1].charAt(0).toUpperCase() + propertyLabels[1].substring(1) + ' (' + groups[property].results.length + ')'; |
||||
} else if (propertyLabels[0] === 'additional') { |
||||
finalPropertyLabel = 'Additional pages' + ' (' + groups[property].results.length + ')' |
||||
} else { |
||||
finalPropertyLabel = propertyLabels[0].charAt(0).toUpperCase() + propertyLabels[0].substring(1) + ' (' + groups[property].results.length + ')' |
||||
} |
||||
var $groupTitle = $('<h3>', { |
||||
'text': finalPropertyLabel |
||||
}); |
||||
$groupTitle.appendTo($li); |
||||
|
||||
var $ulResults = $('<ul>', { |
||||
'class': 'search-results-list' |
||||
}) |
||||
|
||||
groups[property].results.forEach(function(res) { |
||||
var link = ''; |
||||
var $liResult = $('<li>', { |
||||
'class': 'search-results-item' |
||||
}); |
||||
switch (COMPODOC_CURRENT_PAGE_DEPTH) { |
||||
case 0: |
||||
link = './'; |
||||
break; |
||||
case 1: |
||||
case 2: |
||||
case 3: |
||||
case 4: |
||||
case 5: |
||||
link = '../'.repeat(COMPODOC_CURRENT_PAGE_DEPTH); |
||||
break; |
||||
}; |
||||
var finalResLabel = res.title.split(' - ')[1].charAt(0).toUpperCase() + res.title.split(' - ')[1].substring(1); |
||||
var $link = $('<a>', { |
||||
'href': link + res.url, |
||||
'text': finalResLabel |
||||
}); |
||||
$link.appendTo($liResult); |
||||
$liResult.appendTo($ulResults); |
||||
}); |
||||
$ulResults.appendTo($li); |
||||
|
||||
$li.appendTo($searchList); |
||||
} |
||||
} |
||||
|
||||
function launchSearch(q) { |
||||
$body.addClass('with-search'); |
||||
|
||||
if ($xsMenu.css('display') === 'block') { |
||||
$mainContainer.css('height', 'calc(100% - 100px)'); |
||||
$mainContainer.css('margin-top', '100px'); |
||||
} |
||||
|
||||
throttle(compodoc.search.query(q, 0, MAX_SEARCH_RESULTS) |
||||
.then(function(results) { |
||||
displayResults(results); |
||||
}), 1000); |
||||
} |
||||
|
||||
function closeSearch() { |
||||
$body.removeClass('with-search'); |
||||
if ($xsMenu.css('display') === 'block') { |
||||
$mainContainer.css('height', 'calc(100% - 50px)'); |
||||
$mainContainer.css('margin-top', '50px'); |
||||
} |
||||
} |
||||
|
||||
function bindMenuButton() { |
||||
document.getElementById('btn-menu').addEventListener('click', function() { |
||||
if ($xsMenu.css('display') === 'none') { |
||||
$body.removeClass('with-search'); |
||||
$mainContainer.css('height', 'calc(100% - 50px)'); |
||||
$mainContainer.css('margin-top', '50px'); |
||||
} |
||||
$.each($searchInputs, function(index, item){ |
||||
var item = $(item); |
||||
item.val(''); |
||||
}); |
||||
}); |
||||
} |
||||
|
||||
function bindSearch() { |
||||
// Bind DOM
|
||||
$searchInputs = $('#book-search-input input'); |
||||
|
||||
$searchResults = $('.search-results'); |
||||
$searchList = $searchResults.find('.search-results-list'); |
||||
$searchTitle = $searchResults.find('.search-results-title'); |
||||
$searchResultsCount = $searchTitle.find('.search-results-count'); |
||||
$searchQuery = $searchTitle.find('.search-query'); |
||||
$mainContainer = $('.container-fluid'); |
||||
$xsMenu = $('.xs-menu'); |
||||
|
||||
// Launch query based on input content
|
||||
function handleUpdate(item) { |
||||
var q = item.val(); |
||||
|
||||
if (q.length == 0) { |
||||
closeSearch(); |
||||
window.location.href = window.location.href.replace(window.location.search, ''); |
||||
} else { |
||||
launchSearch(q); |
||||
} |
||||
} |
||||
|
||||
// Detect true content change in search input
|
||||
var propertyChangeUnbound = false; |
||||
|
||||
$.each($searchInputs, function(index, item){ |
||||
var item = $(item); |
||||
// HTML5 (IE9 & others)
|
||||
item.on('input', function(e) { |
||||
// Unbind propertychange event for IE9+
|
||||
if (!propertyChangeUnbound) { |
||||
$(this).unbind('propertychange'); |
||||
propertyChangeUnbound = true; |
||||
} |
||||
|
||||
handleUpdate($(this)); |
||||
}); |
||||
// Workaround for IE < 9
|
||||
item.on('propertychange', function(e) { |
||||
if (e.originalEvent.propertyName == 'value') { |
||||
handleUpdate($(this)); |
||||
} |
||||
}); |
||||
// Push to history on blur
|
||||
item.on('blur', function(e) { |
||||
// Update history state
|
||||
if (usePushState) { |
||||
var uri = updateQueryString('q', $(this).val()); |
||||
if ($(this).val() !== '') { |
||||
history.pushState({ path: uri }, null, uri); |
||||
} |
||||
} |
||||
}); |
||||
}); |
||||
} |
||||
|
||||
function launchSearchFromQueryString() { |
||||
var q = getParameterByName('q'); |
||||
if (q && q.length > 0) { |
||||
// Update search inputs
|
||||
$.each($searchInputs, function(index, item){ |
||||
var item = $(item); |
||||
item.val(q) |
||||
}); |
||||
// Launch search
|
||||
launchSearch(q); |
||||
} |
||||
} |
||||
|
||||
compodoc.addEventListener(compodoc.EVENTS.SEARCH_READY, function(event) { |
||||
bindSearch(); |
||||
|
||||
bindMenuButton(); |
||||
|
||||
launchSearchFromQueryString(); |
||||
}); |
||||
|
||||
function getParameterByName(name) { |
||||
var url = window.location.href; |
||||
name = name.replace(/[\[\]]/g, '\\$&'); |
||||
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)', 'i'), |
||||
results = regex.exec(url); |
||||
if (!results) return null; |
||||
if (!results[2]) return ''; |
||||
return decodeURIComponent(results[2].replace(/\+/g, ' ')); |
||||
} |
||||
|
||||
function updateQueryString(key, value) { |
||||
value = encodeURIComponent(value); |
||||
|
||||
var url = window.location.href; |
||||
var re = new RegExp('([?&])' + key + '=.*?(&|#|$)(.*)', 'gi'), |
||||
hash; |
||||
|
||||
if (re.test(url)) { |
||||
if (typeof value !== 'undefined' && value !== null) |
||||
return url.replace(re, '$1' + key + '=' + value + '$2$3'); |
||||
else { |
||||
hash = url.split('#'); |
||||
url = hash[0].replace(re, '$1$3').replace(/(&|\?)$/, ''); |
||||
if (typeof hash[1] !== 'undefined' && hash[1] !== null) |
||||
url += '#' + hash[1]; |
||||
return url; |
||||
} |
||||
} |
||||
else { |
||||
if (typeof value !== 'undefined' && value !== null) { |
||||
var separator = url.indexOf('?') !== -1 ? '&' : '?'; |
||||
hash = url.split('#'); |
||||
url = hash[0] + separator + key + '=' + value; |
||||
if (typeof hash[1] !== 'undefined' && hash[1] !== null) |
||||
url += '#' + hash[1]; |
||||
return url; |
||||
} |
||||
else |
||||
return url; |
||||
} |
||||
} |
||||
})(compodoc); |
@ -0,0 +1,58 @@
@@ -0,0 +1,58 @@
|
||||
document.addEventListener('DOMContentLoaded', function() { |
||||
var $tabSource = document.querySelector('#source-tab'), |
||||
$tabInfo = document.querySelector('#info-tab'), |
||||
$tabReadme = document.querySelector('#readme-tab'), |
||||
$tabTemplate = document.querySelector('#templateData-tab'), |
||||
$tabTree = document.querySelector('#tree-tab'), |
||||
$tabExample = document.querySelector('#example-tab'), |
||||
$prismPre = document.querySelector('pre.compodoc-sourcecode'); |
||||
if ($tabSource && $prismPre) { |
||||
$prismCode = $prismPre.querySelector('code'), |
||||
$content = document.querySelector('.content'), |
||||
prismLinks = document.querySelectorAll('.link-to-prism') |
||||
|
||||
for (var i = 0; i < prismLinks.length; i++) { |
||||
prismLinks[i].addEventListener('click', linkToPrism, false); |
||||
} |
||||
|
||||
function linkToPrism(event) { |
||||
var targetLine = event.target.getAttribute('data-line'); |
||||
event.preventDefault(); |
||||
|
||||
$prismPre.setAttribute('data-line', targetLine); |
||||
Prism.highlightElement($prismCode, function() {}); |
||||
|
||||
$tabSource.click(); |
||||
|
||||
setTimeout(function() { |
||||
var $prismHighlightLine = document.querySelector('.line-highlight'), |
||||
top = parseInt(getComputedStyle($prismHighlightLine)['top']); |
||||
$content.scrollTop = top; |
||||
}, 500); |
||||
}; |
||||
|
||||
window.onhashchange = function(event) { |
||||
switch (window.location.hash) { |
||||
case '': |
||||
case '#info': |
||||
$tabInfo.click(); |
||||
break; |
||||
case '#readme': |
||||
$tabReadme.click(); |
||||
break; |
||||
case '#source': |
||||
$tabSource.click(); |
||||
break; |
||||
case '#template': |
||||
$tabTemplate.click(); |
||||
break; |
||||
case '#dom-tree': |
||||
$tabTree.click(); |
||||
break; |
||||
case '#example': |
||||
$tabExample.click(); |
||||
break; |
||||
} |
||||
} |
||||
} |
||||
}); |
@ -0,0 +1,53 @@
@@ -0,0 +1,53 @@
|
||||
document.addEventListener('DOMContentLoaded', function() { |
||||
if (document.getElementById('module-graph-svg')) { |
||||
panZoom = svgPanZoom(document.getElementById('module-graph-svg').querySelector('svg'), { |
||||
zoomEnabled: true, |
||||
minZoom: 1, |
||||
maxZoom: 5 |
||||
}); |
||||
|
||||
document.getElementById('zoom-in').addEventListener('click', function(ev) { |
||||
ev.preventDefault(); |
||||
panZoom.zoomIn(); |
||||
}); |
||||
|
||||
document.getElementById('zoom-out').addEventListener('click', function(ev) { |
||||
ev.preventDefault(); |
||||
panZoom.zoomOut(); |
||||
}); |
||||
|
||||
document.getElementById('reset').addEventListener('click', function(ev) { |
||||
ev.preventDefault(); |
||||
panZoom.resetZoom(); |
||||
panZoom.resetPan(); |
||||
}); |
||||
|
||||
var overviewFullscreen = false, |
||||
originalOverviewHeight; |
||||
|
||||
document.getElementById('fullscreen').addEventListener('click', function(ev) { |
||||
if (overviewFullscreen) { |
||||
document.getElementById('module-graph-svg').style.height = originalOverviewHeight; |
||||
overviewFullscreen = false; |
||||
if (ev.target) { |
||||
ev.target.classList.remove('ion-md-close'); |
||||
ev.target.classList.add('ion-ios-resize'); |
||||
} |
||||
} else { |
||||
originalOverviewHeight = document.getElementById('module-graph-svg').style.height; |
||||
document.getElementById('module-graph-svg').style.height = '85vh'; |
||||
overviewFullscreen = true; |
||||
if (ev.target) { |
||||
ev.target.classList.remove('ion-ios-resize'); |
||||
ev.target.classList.add('ion-md-close'); |
||||
} |
||||
} |
||||
document.getElementById('module-graph-svg').querySelector('svg').style.height = document.getElementById('module-graph-svg').clientHeight; |
||||
setTimeout(function() { |
||||
panZoom.resize(); |
||||
panZoom.fit(); |
||||
panZoom.center(); |
||||
}, 0) |
||||
}); |
||||
} |
||||
}); |
@ -0,0 +1,21 @@
@@ -0,0 +1,21 @@
|
||||
document.addEventListener('DOMContentLoaded', function() { |
||||
var tabs = document.getElementsByClassName('nav-tabs'), |
||||
updateAddress = function(e) { |
||||
if(history.pushState && e.target.dataset.link) { |
||||
history.pushState(null, null, '#' + e.target.dataset.link); |
||||
} |
||||
}; |
||||
if (tabs.length > 0) { |
||||
tabs = tabs[0].querySelectorAll('li'); |
||||
for (var i = 0; i < tabs.length; i++) { |
||||
tabs[i].addEventListener('click', updateAddress); |
||||
var linkTag = tabs[i].querySelector('a'); |
||||
if (location.hash !== '') { |
||||
var currentHash = location.hash.substr(1); |
||||
if (currentHash === linkTag.dataset.link) { |
||||
linkTag.click(); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
}); |
@ -0,0 +1,147 @@
@@ -0,0 +1,147 @@
|
||||
document.addEventListener('DOMContentLoaded', function() { |
||||
var tabs = document.getElementsByClassName('nav-tabs')[0], |
||||
tabsCollection = tabs.getElementsByTagName('A'), |
||||
treeTab; |
||||
var len = tabsCollection.length; |
||||
for(var i = 0; i < len; i++) { |
||||
if (tabsCollection[i].getAttribute('id') === 'tree-tab') { |
||||
treeTab = tabsCollection[i]; |
||||
} |
||||
} |
||||
|
||||
// short-circuit if no tree tab
|
||||
if (!treeTab) return; |
||||
|
||||
var handler = new Tautologistics.NodeHtmlParser.HtmlBuilder(function(error, dom) { |
||||
if (error) { |
||||
console.log('handler ko'); |
||||
} |
||||
}), |
||||
parser = new Tautologistics.NodeHtmlParser.Parser(handler), |
||||
currentLocation = window.location; |
||||
parser.parseComplete(COMPONENT_TEMPLATE); |
||||
|
||||
var newNodes = [], |
||||
newEdges = [], |
||||
parsedHtml = handler.dom[0], |
||||
nodeCount = 0, |
||||
nodeLevel = 0; |
||||
|
||||
newNodes.push({ |
||||
_id: 0, |
||||
label: parsedHtml.name, |
||||
type: parsedHtml.type |
||||
}) |
||||
//Add id for nodes
|
||||
var traverseIds = function(o) { |
||||
for (i in o) { |
||||
if (!!o[i] && typeof(o[i]) == "object") { |
||||
if (!o[i].length && o[i].type === 'tag') { |
||||
nodeCount += 1; |
||||
o[i]._id = nodeCount; |
||||
} |
||||
traverseIds(o[i]); |
||||
} |
||||
} |
||||
} |
||||
parsedHtml._id = 0; |
||||
traverseIds(parsedHtml); |
||||
|
||||
|
||||
var DeepIterator = deepIterator.default, |
||||
it = DeepIterator(parsedHtml); |
||||
for (let { |
||||
value, |
||||
parent, |
||||
parentNode, |
||||
key, |
||||
type |
||||
} of it) { |
||||
if (type === 'NonIterableObject' && typeof key !== 'undefined' && value.type === 'tag') { |
||||
var newNode = { |
||||
id: value._id, |
||||
label: value.name, |
||||
type: value.type |
||||
}; |
||||
for(var i = 0; i < COMPONENTS.length; i++) { |
||||
if (COMPONENTS[i].selector === value.name) { |
||||
newNode.font = { |
||||
multi: 'html' |
||||
}; |
||||
newNode.label = '<b>' + newNode.label + '</b>'; |
||||
newNode.color = '#FB7E81'; |
||||
newNode.name = COMPONENTS[i].name; |
||||
} |
||||
} |
||||
for(var i = 0; i < DIRECTIVES.length; i++) { |
||||
if (value.attributes) { |
||||
for(attr in value.attributes) { |
||||
if (DIRECTIVES[i].selector.indexOf(attr) !== -1) { |
||||
newNode.font = { |
||||
multi: 'html' |
||||
}; |
||||
newNode.label = '<b>' + newNode.label + '</b>'; |
||||
newNode.color = '#FF9800'; |
||||
newNode.name = DIRECTIVES[i].name; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
newNodes.push(newNode); |
||||
newEdges.push({ |
||||
from: parentNode._parent._id, |
||||
to: value._id, |
||||
arrows: 'to' |
||||
}); |
||||
} |
||||
} |
||||
|
||||
newNodes.shift(); |
||||
|
||||
var container = document.getElementById('tree-container'), |
||||
data = { |
||||
nodes: newNodes, |
||||
edges: newEdges |
||||
}, |
||||
options = { |
||||
layout: { |
||||
hierarchical: { |
||||
sortMethod: 'directed', |
||||
enabled: true |
||||
} |
||||
}, |
||||
nodes: { |
||||
shape: 'ellipse', |
||||
fixed: true |
||||
} |
||||
}, |
||||
|
||||
handleClickNode = function(params) { |
||||
var clickeNodeId; |
||||
if (params.nodes.length > 0) { |
||||
clickeNodeId = params.nodes[0]; |
||||
for(var i = 0; i < newNodes.length; i++) { |
||||
if (newNodes[i].id === clickeNodeId) { |
||||
for(var j = 0; j < COMPONENTS.length; j++) { |
||||
if (COMPONENTS[j].name === newNodes[i].name) { |
||||
document.location.href = currentLocation.origin + currentLocation.pathname.replace(ACTUAL_COMPONENT.name, newNodes[i].name); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
|
||||
loadTree = function () { |
||||
setTimeout(function() { |
||||
container.style.height = document.getElementsByClassName('content')[0].offsetHeight - 140 + 'px'; |
||||
var network = new vis.Network(container, data, options); |
||||
network.on('click', handleClickNode); |
||||
}, 200); // Fade is 0.150
|
||||
}; |
||||
|
||||
loadTree(); |
||||
treeTab.addEventListener('click', function() { |
||||
loadTree(); |
||||
}); |
||||
}); |
@ -0,0 +1,204 @@
@@ -0,0 +1,204 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content miscellaneous-enumerations"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Miscellaneous</li> |
||||
<li>Enumerations</li> |
||||
</ol> |
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<a href="#Role" title="src/core/enums/role.enum.ts" ><b>Role</b> (src/.../role.enum.ts)</a> |
||||
</li> |
||||
<li> |
||||
<a href="#TRole" title="src/core/namespaces/users.namespace.ts" ><b>TRole</b> (src/.../users.namespace.ts)</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
<h3>src/core/enums/role.enum.ts</h3> |
||||
<section> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="Role"></a> |
||||
<span class="name "><b>Role</b><a href="#Role"><span class="icon ion-ios-link"></span></a></span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Роль користувача</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
Admin |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Value : </i><code>a</code> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
User |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Value : </i><code>u</code> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
<h3>src/core/namespaces/users.namespace.ts</h3> |
||||
<section> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="TRole"></a> |
||||
<span class="name "><b>TRole</b><a href="#TRole"><span class="icon ion-ios-link"></span></a></span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-description"><p>Роль користувача</p> |
||||
</div> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
Admin |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Value : </i><code>a</code> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
User |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Value : </i><code>u</code> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'miscellaneous-enumerations'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'enumerations.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,147 @@
@@ -0,0 +1,147 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content miscellaneous-functions"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Miscellaneous</li> |
||||
<li>Functions</li> |
||||
</ol> |
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<a href="#bootstrap" title="src/main.ts" ><b>bootstrap</b> (src/.../main.ts)</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
<h3>src/main.ts</h3> |
||||
<section> |
||||
<h3></h3> <table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="bootstrap"></a> |
||||
<span class="name"> |
||||
<span ><b>bootstrap</b></span> |
||||
<a href="#bootstrap"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<code>bootstrap()</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'miscellaneous-functions'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'functions.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,289 @@
@@ -0,0 +1,289 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content miscellaneous-variables"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Miscellaneous</li> |
||||
<li>Variables</li> |
||||
</ol> |
||||
|
||||
<section> |
||||
<h3 id="index">Index</h3> |
||||
<table class="table table-sm table-bordered index-table"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<ul class="index-list"> |
||||
<li> |
||||
<a href="#$config" title="src/config/index.ts" ><b>$config</b> (src/.../index.ts)</a> |
||||
</li> |
||||
<li> |
||||
<a href="#getDatabaseConfig" title="src/config/index.ts" ><b>getDatabaseConfig</b> (src/.../index.ts)</a> |
||||
</li> |
||||
<li> |
||||
<a href="#getRepositoryHelper" title="src/libs/database/helpers/get-repository.helper.ts" ><b>getRepositoryHelper</b> (src/.../get-repository.helper.ts)</a> |
||||
</li> |
||||
<li> |
||||
<a href="#imports" title="src/app.module.ts" ><b>imports</b> (src/.../app.module.ts)</a> |
||||
</li> |
||||
<li> |
||||
<a href="#USERS_ENTITIES" title="src/domain/users/entities/index.ts" ><b>USERS_ENTITIES</b> (src/.../index.ts)</a> |
||||
</li> |
||||
</ul> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
<h3>src/config/index.ts</h3> |
||||
<section> |
||||
<h3></h3> <table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="$config"></a> |
||||
<span class="name"> |
||||
<span ><b>$config</b></span> |
||||
<a href="#$config"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Default value : </i><code>{ |
||||
getDatabaseConfig, |
||||
}</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="getDatabaseConfig"></a> |
||||
<span class="name"> |
||||
<span ><b>getDatabaseConfig</b></span> |
||||
<a href="#getDatabaseConfig"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Default value : </i><code>(): Parameters<typeof DatabaseModule['forRoot']> => { |
||||
return [ |
||||
{ |
||||
type: process.env.DATABASE_TYPE as 'postgres', |
||||
host: process.env.DATABASE_HOST, |
||||
port: Number(process.env.DATABASE_PORT), |
||||
username: process.env.DATABASE_USER, |
||||
password: process.env.DATABASE_PASS, |
||||
database: process.env.DATABASE_DB, |
||||
synchronize: true, |
||||
}, |
||||
[], |
||||
]; |
||||
}</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
<h3>src/libs/database/helpers/get-repository.helper.ts</h3> |
||||
<section> |
||||
<h3></h3> <table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="getRepositoryHelper"></a> |
||||
<span class="name"> |
||||
<span ><b>getRepositoryHelper</b></span> |
||||
<a href="#getRepositoryHelper"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Default value : </i><code>(name, entity) => { |
||||
return { |
||||
provide: name, |
||||
useFactory: (connection: Connection) => connection.getRepository(entity), |
||||
inject: ['DATABASE_CONNECTION'], |
||||
} |
||||
}</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
<h3>src/app.module.ts</h3> |
||||
<section> |
||||
<h3></h3> <table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="imports"></a> |
||||
<span class="name"> |
||||
<span ><b>imports</b></span> |
||||
<a href="#imports"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code>[]</code> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Default value : </i><code>[ |
||||
UsersModule.forRoot('some'), |
||||
DatabaseModule.forRoot(...$config.getDatabaseConfig()), |
||||
]</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
<h3>src/domain/users/entities/index.ts</h3> |
||||
<section> |
||||
<h3></h3> <table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="USERS_ENTITIES"></a> |
||||
<span class="name"> |
||||
<span ><b>USERS_ENTITIES</b></span> |
||||
<a href="#USERS_ENTITIES"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Type : </i> <code>[]</code> |
||||
|
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<i>Default value : </i><code>[User]</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'miscellaneous-variables'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'variables.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,155 @@
@@ -0,0 +1,155 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> |
||||
<link rel="stylesheet" href="./styles/style.css"> |
||||
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="./" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content modules"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Modules</li> |
||||
</ol> |
||||
<div class="container-fluid modules"> |
||||
<div class="row"> |
||||
<div class="col-sm-4"> |
||||
<div class="card card-module"> |
||||
<div class="card-header"> |
||||
<h4 class="card-title">AppModule</h4> |
||||
</div> |
||||
<div class="card-block"> |
||||
<p> |
||||
<object id="demo-svg" type="image/svg+xml" lazy="./modules/AppModule/dependencies.svg" style="width: 100%; height: 175px;"> |
||||
Your browser does not support SVG |
||||
</object> |
||||
</p> |
||||
<footer class="text-center"> |
||||
<a href="./modules/AppModule.html" class="btn btn-default">Browse</a> |
||||
</footer> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="col-sm-4"> |
||||
<div class="card card-module"> |
||||
<div class="card-header"> |
||||
<h4 class="card-title">DatabaseModule</h4> |
||||
</div> |
||||
<div class="card-block"> |
||||
<p class="no-graph"> |
||||
No graph available. |
||||
</p> |
||||
<footer class="text-center"> |
||||
<a href="./modules/DatabaseModule.html" class="btn btn-default">Browse</a> |
||||
</footer> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="col-sm-4"> |
||||
<div class="card card-module"> |
||||
<div class="card-header"> |
||||
<h4 class="card-title">UsersModule</h4> |
||||
</div> |
||||
<div class="card-block"> |
||||
<p class="no-graph"> |
||||
No graph available. |
||||
</p> |
||||
<footer class="text-center"> |
||||
<a href="./modules/UsersModule.html" class="btn btn-default">Browse</a> |
||||
</footer> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 0; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'modules'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'modules.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="./js/libs/custom-elements.min.js"></script> |
||||
<script src="./js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="./js/menu-wc.js" defer></script> |
||||
<script nomodule src="./js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="./js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="./js/libs/es6-shim.min.js"></script> |
||||
<script src="./js/libs/EventDispatcher.js"></script> |
||||
<script src="./js/libs/promise.min.js"></script> |
||||
<script src="./js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="./js/compodoc.js"></script> |
||||
|
||||
<script src="./js/tabs.js"></script> |
||||
<script src="./js/menu.js"></script> |
||||
<script src="./js/libs/clipboard.min.js"></script> |
||||
<script src="./js/libs/prism.js"></script> |
||||
<script src="./js/sourceCode.js"></script> |
||||
<script src="./js/search/search.js"></script> |
||||
<script src="./js/search/lunr.min.js"></script> |
||||
<script src="./js/search/search-lunr.js"></script> |
||||
<script src="./js/search/search_index.js"></script> |
||||
<script src="./js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,231 @@
@@ -0,0 +1,231 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content module"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Modules</li> |
||||
<li >AppModule</li> |
||||
</ol> |
||||
|
||||
<div class="text-center module-graph-container"> |
||||
<div id="module-graph-svg"> |
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" |
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
||||
<!-- Generated by graphviz version 2.47.3 (20210619.1520) |
||||
--> |
||||
<!-- Title: dependencies Pages: 1 --> |
||||
<svg width="276pt" height="174pt" |
||||
viewBox="0.00 0.00 276.00 173.80" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 169.8)"> |
||||
<title>dependencies</title> |
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-169.8 272,-169.8 272,4 -4,4"/> |
||||
<text text-anchor="middle" x="134" y="-8.2" font-family="sans-serif" font-size="14.00">dependencies</text> |
||||
<g id="clust1" class="cluster"> |
||||
<title>cluster_AppModule</title> |
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-32.8 8,-157.8 260,-157.8 260,-32.8 8,-32.8"/> |
||||
</g> |
||||
<g id="clust3" class="cluster"> |
||||
<title>cluster_AppModule_imports</title> |
||||
<polygon fill="none" stroke="black" points="16,-40.8 16,-92.8 252,-92.8 252,-40.8 16,-40.8"/> |
||||
</g> |
||||
<!-- DatabaseModule --> |
||||
<g id="node1" class="node"> |
||||
<title>DatabaseModule</title> |
||||
<polygon fill="#8dd3c7" stroke="black" points="244.35,-84.8 241.35,-88.8 220.35,-88.8 217.35,-84.8 133.65,-84.8 133.65,-48.8 244.35,-48.8 244.35,-84.8"/> |
||||
<text text-anchor="middle" x="189" y="-62.6" font-family="Times,serif" font-size="14.00">DatabaseModule</text> |
||||
</g> |
||||
<!-- AppModule --> |
||||
<g id="node3" class="node"> |
||||
<title>AppModule</title> |
||||
<polygon fill="#8dd3c7" stroke="black" points="170.66,-149.8 167.66,-153.8 146.66,-153.8 143.66,-149.8 87.34,-149.8 87.34,-113.8 170.66,-113.8 170.66,-149.8"/> |
||||
<text text-anchor="middle" x="129" y="-127.6" font-family="Times,serif" font-size="14.00">AppModule</text> |
||||
</g> |
||||
<!-- DatabaseModule->AppModule --> |
||||
<g id="edge1" class="edge"> |
||||
<title>DatabaseModule->AppModule</title> |
||||
<path fill="none" stroke="black" d="M152.2,-84.91C152.2,-84.91 152.2,-103.79 152.2,-103.79"/> |
||||
<polygon fill="black" stroke="black" points="148.7,-103.79 152.2,-113.79 155.7,-103.79 148.7,-103.79"/> |
||||
</g> |
||||
<!-- UsersModule --> |
||||
<g id="node2" class="node"> |
||||
<title>UsersModule</title> |
||||
<polygon fill="#8dd3c7" stroke="black" points="115.92,-84.8 112.92,-88.8 91.92,-88.8 88.92,-84.8 24.08,-84.8 24.08,-48.8 115.92,-48.8 115.92,-84.8"/> |
||||
<text text-anchor="middle" x="70" y="-62.6" font-family="Times,serif" font-size="14.00">UsersModule</text> |
||||
</g> |
||||
<!-- UsersModule->AppModule --> |
||||
<g id="edge2" class="edge"> |
||||
<title>UsersModule->AppModule</title> |
||||
<path fill="none" stroke="black" d="M101.44,-84.91C101.44,-84.91 101.44,-103.79 101.44,-103.79"/> |
||||
<polygon fill="black" stroke="black" points="97.94,-103.79 101.44,-113.79 104.94,-103.79 97.94,-103.79"/> |
||||
</g> |
||||
</g> |
||||
</svg> |
||||
|
||||
</div> |
||||
<i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i> |
||||
<div class="btn-group size-buttons"> |
||||
<button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button> |
||||
<button id="reset" class="btn btn-default btn-sm">Reset</button> |
||||
<button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button> |
||||
</div> |
||||
</div> |
||||
<script src="../js/libs/svg-pan-zoom.min.js"></script> |
||||
<script src="../js/svg-pan-zoom.controls.js"></script> |
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active" > |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
|
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/app.module.ts</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container-fluid module"> |
||||
<div class="row"> |
||||
<div class="col-sm-3"> |
||||
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" title="Official documentation about module imports"><span |
||||
class="icon ion-ios-information-circle-outline"></a></h3> |
||||
<ul class="list-group"> |
||||
<li class="list-group-item"> |
||||
<a href="../modules/DatabaseModule.html">DatabaseModule</a> |
||||
</li> |
||||
<li class="list-group-item"> |
||||
<a href="../modules/UsersModule.html">UsersModule</a> |
||||
</li> |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Module } from '@nestjs/common' |
||||
import { $config } from './config' |
||||
import { UsersModule } from './domain/users/users.module' |
||||
import { DatabaseModule } from './libs' |
||||
|
||||
const imports = [ |
||||
UsersModule.forRoot('some'), |
||||
DatabaseModule.forRoot(...$config.getDatabaseConfig()), |
||||
] |
||||
|
||||
@Module({ imports }) |
||||
export class AppModule {} |
||||
</code></pre> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'module'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'AppModule.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
After Width: | Height: | Size: 2.7 KiB |
@ -0,0 +1,257 @@
@@ -0,0 +1,257 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content module"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Modules</li> |
||||
<li >DatabaseModule</li> |
||||
</ol> |
||||
|
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active" > |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
|
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/libs/database/database.module.ts</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container-fluid module"> |
||||
<div class="row"> |
||||
</div> |
||||
</div> |
||||
|
||||
<section> |
||||
|
||||
<h3 id="methods"> |
||||
Methods |
||||
</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="forRoot"></a> |
||||
<span class="name"> |
||||
<span class="modifier">Static</span> |
||||
<span ><b>forRoot</b></span> |
||||
<a href="#forRoot"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<span class="modifier-icon icon ion-ios-reset"></span> |
||||
<code>forRoot(options: Partial<ConnectionOptions>, entities: EntitySchema[])</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="8" |
||||
class="link-to-prism">src/libs/database/database.module.ts:8</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
|
||||
<div class="io-description"> |
||||
<b>Parameters :</b> |
||||
<table class="params"> |
||||
<thead> |
||||
<tr> |
||||
<td>Name</td> |
||||
<td>Type</td> |
||||
<td>Optional</td> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr> |
||||
<td>options</td> |
||||
<td> |
||||
<code>Partial<ConnectionOptions></code> |
||||
</td> |
||||
|
||||
<td> |
||||
No |
||||
</td> |
||||
|
||||
|
||||
</tr> |
||||
<tr> |
||||
<td>entities</td> |
||||
<td> |
||||
<code>EntitySchema[]</code> |
||||
</td> |
||||
|
||||
<td> |
||||
No |
||||
</td> |
||||
|
||||
|
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<div> |
||||
</div> |
||||
<div class="io-description"> |
||||
<b>Returns : </b> <code>DynamicModule</code> |
||||
|
||||
</div> |
||||
<div class="io-description"> |
||||
|
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { DynamicModule, Global, Module } from '@nestjs/common'; |
||||
import { UsersModule } from 'src/domain/users/users.module'; |
||||
import { ConnectionOptions, createConnection, EntitySchema } from 'typeorm'; |
||||
|
||||
@Global() |
||||
@Module({}) |
||||
export class DatabaseModule { |
||||
static forRoot( |
||||
options: Partial<ConnectionOptions>, |
||||
entities: EntitySchema[], |
||||
): DynamicModule { |
||||
return { |
||||
module: DatabaseModule, |
||||
imports: [UsersModule.forFeature()], |
||||
providers: [ |
||||
{ |
||||
provide: 'DATABASE_CONNECTION', |
||||
useFactory: async () => { |
||||
return await createConnection({ |
||||
...options, |
||||
entities, |
||||
} as ConnectionOptions); |
||||
}, |
||||
}, |
||||
], |
||||
}; |
||||
} |
||||
} |
||||
</code></pre> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'module'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'DatabaseModule.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,280 @@
@@ -0,0 +1,280 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="../images/favicon.ico"> |
||||
<link rel="stylesheet" href="../styles/style.css"> |
||||
<link rel="stylesheet" href="../styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="../" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content module"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Modules</li> |
||||
<li >UsersModule</li> |
||||
</ol> |
||||
|
||||
|
||||
<ul class="nav nav-tabs" role="tablist"> |
||||
<li class="active" > |
||||
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a> |
||||
</li> |
||||
<li > |
||||
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a> |
||||
</li> |
||||
</ul> |
||||
|
||||
<div class="tab-content"> |
||||
<div class="tab-pane fade active in" id="c-info"> |
||||
|
||||
<p class="comment"> |
||||
<h3>File</h3> |
||||
</p> |
||||
<p class="comment"> |
||||
<code>src/domain/users/users.module.ts</code> |
||||
</p> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container-fluid module"> |
||||
<div class="row"> |
||||
</div> |
||||
</div> |
||||
|
||||
<section> |
||||
|
||||
<h3 id="methods"> |
||||
Methods |
||||
</h3> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="forFeature"></a> |
||||
<span class="name"> |
||||
<span class="modifier">Static</span> |
||||
<span ><b>forFeature</b></span> |
||||
<a href="#forFeature"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<span class="modifier-icon icon ion-ios-reset"></span> |
||||
<code>forFeature()</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="17" |
||||
class="link-to-prism">src/domain/users/users.module.ts:17</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
|
||||
<div class="io-description"> |
||||
<b>Returns : </b> <code>DynamicModule</code> |
||||
|
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
<table class="table table-sm table-bordered"> |
||||
<tbody> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<a name="forRoot"></a> |
||||
<span class="name"> |
||||
<span class="modifier">Static</span> |
||||
<span ><b>forRoot</b></span> |
||||
<a href="#forRoot"><span class="icon ion-ios-link"></span></a> |
||||
</span> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<span class="modifier-icon icon ion-ios-reset"></span> |
||||
<code>forRoot(options: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
<div class="io-line">Defined in <a href="" data-line="8" |
||||
class="link-to-prism">src/domain/users/users.module.ts:8</a></div> |
||||
</td> |
||||
</tr> |
||||
|
||||
|
||||
<tr> |
||||
<td class="col-md-4"> |
||||
|
||||
<div class="io-description"> |
||||
<b>Parameters :</b> |
||||
<table class="params"> |
||||
<thead> |
||||
<tr> |
||||
<td>Name</td> |
||||
<td>Type</td> |
||||
<td>Optional</td> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
<tr> |
||||
<td>options</td> |
||||
<td> |
||||
<code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code> |
||||
</td> |
||||
|
||||
<td> |
||||
No |
||||
</td> |
||||
|
||||
|
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
<div> |
||||
</div> |
||||
<div class="io-description"> |
||||
<b>Returns : </b> <code>DynamicModule</code> |
||||
|
||||
</div> |
||||
<div class="io-description"> |
||||
|
||||
</div> |
||||
</td> |
||||
</tr> |
||||
</tbody> |
||||
</table> |
||||
</section> |
||||
</div> |
||||
|
||||
|
||||
<div class="tab-pane fade tab-source-code" id="c-source"> |
||||
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { DynamicModule, Module } from '@nestjs/common' |
||||
import { UsersService } from './services/users.service' |
||||
|
||||
@Module({}) |
||||
export class UsersModule { |
||||
static options: any |
||||
|
||||
static forRoot(options: any): DynamicModule { |
||||
UsersModule.options = options |
||||
|
||||
return { |
||||
module: UsersModule, |
||||
providers: [UsersService], |
||||
} |
||||
} |
||||
|
||||
static forFeature(): DynamicModule { |
||||
console.log(UsersModule.options) |
||||
return { |
||||
module: UsersModule, |
||||
providers: [UsersService], |
||||
} |
||||
} |
||||
} |
||||
</code></pre> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 1; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'module'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'UsersModule.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="../js/libs/custom-elements.min.js"></script> |
||||
<script src="../js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="../js/menu-wc.js" defer></script> |
||||
<script nomodule src="../js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="../js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="../js/libs/es6-shim.min.js"></script> |
||||
<script src="../js/libs/EventDispatcher.js"></script> |
||||
<script src="../js/libs/promise.min.js"></script> |
||||
<script src="../js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="../js/compodoc.js"></script> |
||||
|
||||
<script src="../js/tabs.js"></script> |
||||
<script src="../js/menu.js"></script> |
||||
<script src="../js/libs/clipboard.min.js"></script> |
||||
<script src="../js/libs/prism.js"></script> |
||||
<script src="../js/sourceCode.js"></script> |
||||
<script src="../js/search/search.js"></script> |
||||
<script src="../js/search/lunr.min.js"></script> |
||||
<script src="../js/search/search-lunr.js"></script> |
||||
<script src="../js/search/search_index.js"></script> |
||||
<script src="../js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,208 @@
@@ -0,0 +1,208 @@
|
||||
<!doctype html> |
||||
<html class="no-js" lang=""> |
||||
<head> |
||||
<meta charset="utf-8"> |
||||
<meta http-equiv="x-ua-compatible" content="ie=edge"> |
||||
<title>api-taskme documentation</title> |
||||
<meta name="description" content=""> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
||||
|
||||
<link rel="icon" type="image/x-icon" href="./images/favicon.ico"> |
||||
<link rel="stylesheet" href="./styles/style.css"> |
||||
<link rel="stylesheet" href="./styles/dark.css" media="(prefers-color-scheme: dark)"> |
||||
</head> |
||||
<body> |
||||
|
||||
<div class="navbar navbar-default navbar-fixed-top visible-xs"> |
||||
<a href="./" class="navbar-brand">api-taskme documentation</a> |
||||
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> |
||||
</div> |
||||
|
||||
<div class="xs-menu menu" id="mobile-menu"> |
||||
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> |
||||
</div> |
||||
|
||||
<div class="container-fluid main"> |
||||
<div class="row main"> |
||||
<div class="hidden-xs menu"> |
||||
<compodoc-menu mode="normal"></compodoc-menu> |
||||
</div> |
||||
<!-- START CONTENT --> |
||||
<div class="content overview"> |
||||
<div class="content-data"> |
||||
|
||||
|
||||
<ol class="breadcrumb"> |
||||
<li>Overview</li> |
||||
</ol> |
||||
|
||||
<div class="text-center module-graph-container"> |
||||
<div id="module-graph-svg"> |
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" |
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
||||
<!-- Generated by graphviz version 2.47.3 (20210619.1520) |
||||
--> |
||||
<!-- Title: dependencies Pages: 1 --> |
||||
<svg width="276pt" height="174pt" |
||||
viewBox="0.00 0.00 276.00 173.80" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 169.8)"> |
||||
<title>dependencies</title> |
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-169.8 272,-169.8 272,4 -4,4"/> |
||||
<text text-anchor="middle" x="134" y="-8.2" font-family="sans-serif" font-size="14.00">dependencies</text> |
||||
<g id="clust1" class="cluster"> |
||||
<title>cluster_AppModule</title> |
||||
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-32.8 8,-157.8 260,-157.8 260,-32.8 8,-32.8"/> |
||||
</g> |
||||
<g id="clust3" class="cluster"> |
||||
<title>cluster_AppModule_imports</title> |
||||
<polygon fill="none" stroke="black" points="16,-40.8 16,-92.8 252,-92.8 252,-40.8 16,-40.8"/> |
||||
</g> |
||||
<!-- DatabaseModule --> |
||||
<g id="node1" class="node"> |
||||
<title>DatabaseModule</title> |
||||
<polygon fill="#8dd3c7" stroke="black" points="244.35,-84.8 241.35,-88.8 220.35,-88.8 217.35,-84.8 133.65,-84.8 133.65,-48.8 244.35,-48.8 244.35,-84.8"/> |
||||
<text text-anchor="middle" x="189" y="-62.6" font-family="Times,serif" font-size="14.00">DatabaseModule</text> |
||||
</g> |
||||
<!-- AppModule --> |
||||
<g id="node3" class="node"> |
||||
<title>AppModule</title> |
||||
<polygon fill="#8dd3c7" stroke="black" points="170.66,-149.8 167.66,-153.8 146.66,-153.8 143.66,-149.8 87.34,-149.8 87.34,-113.8 170.66,-113.8 170.66,-149.8"/> |
||||
<text text-anchor="middle" x="129" y="-127.6" font-family="Times,serif" font-size="14.00">AppModule</text> |
||||
</g> |
||||
<!-- DatabaseModule->AppModule --> |
||||
<g id="edge1" class="edge"> |
||||
<title>DatabaseModule->AppModule</title> |
||||
<path fill="none" stroke="black" d="M152.2,-84.91C152.2,-84.91 152.2,-103.79 152.2,-103.79"/> |
||||
<polygon fill="black" stroke="black" points="148.7,-103.79 152.2,-113.79 155.7,-103.79 148.7,-103.79"/> |
||||
</g> |
||||
<!-- UsersModule --> |
||||
<g id="node2" class="node"> |
||||
<title>UsersModule</title> |
||||
<polygon fill="#8dd3c7" stroke="black" points="115.92,-84.8 112.92,-88.8 91.92,-88.8 88.92,-84.8 24.08,-84.8 24.08,-48.8 115.92,-48.8 115.92,-84.8"/> |
||||
<text text-anchor="middle" x="70" y="-62.6" font-family="Times,serif" font-size="14.00">UsersModule</text> |
||||
</g> |
||||
<!-- UsersModule->AppModule --> |
||||
<g id="edge2" class="edge"> |
||||
<title>UsersModule->AppModule</title> |
||||
<path fill="none" stroke="black" d="M101.44,-84.91C101.44,-84.91 101.44,-103.79 101.44,-103.79"/> |
||||
<polygon fill="black" stroke="black" points="97.94,-103.79 101.44,-113.79 104.94,-103.79 97.94,-103.79"/> |
||||
</g> |
||||
</g> |
||||
</svg> |
||||
|
||||
</div> |
||||
<i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i> |
||||
<div class="btn-group size-buttons"> |
||||
<button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button> |
||||
<button id="reset" class="btn btn-default btn-sm">Reset</button> |
||||
<button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="tab-content overview"> |
||||
<div class="row"> |
||||
<div class="col-sm-3"> |
||||
<div class="card text-center"> |
||||
<div class="card-block"> |
||||
<h4 class="card-title"><span class="icon ion-ios-archive"></span></h4> |
||||
<p class="card-text"> |
||||
<a href="./modules.html">3 Modules</a> |
||||
</p> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="col-sm-3"> |
||||
<div class="card text-center"> |
||||
<div class="card-block"> |
||||
<h4 class="card-title"><span class="icon ion-md-arrow-round-down"></span></h4> |
||||
<p class="card-text">1 Injectable</p> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="col-sm-3"> |
||||
<div class="card text-center"> |
||||
<div class="card-block"> |
||||
<h4 class="card-title"><span class="icon ion-ios-paper"></span></h4> |
||||
<p class="card-text">2 Classes</p> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<div class="col-sm-3"> |
||||
<div class="card text-center"> |
||||
<div class="card-block"> |
||||
<h4 class="card-title"><span class="icon ion-md-information-circle-outline"></span></h4> |
||||
<p class="card-text">4 Interfaces</p> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<script src="js/libs/svg-pan-zoom.min.js"></script> |
||||
<script src="js/svg-pan-zoom.controls.js"></script> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div><div class="search-results"> |
||||
<div class="has-results"> |
||||
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1> |
||||
<ul class="search-results-list"></ul> |
||||
</div> |
||||
<div class="no-results"> |
||||
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> |
||||
</div> |
||||
</div> |
||||
</div> |
||||
<!-- END CONTENT --> |
||||
</div> |
||||
</div> |
||||
|
||||
<script> |
||||
var COMPODOC_CURRENT_PAGE_DEPTH = 0; |
||||
var COMPODOC_CURRENT_PAGE_CONTEXT = 'overview'; |
||||
var COMPODOC_CURRENT_PAGE_URL = 'overview.html'; |
||||
var MAX_SEARCH_RESULTS = 15; |
||||
</script> |
||||
|
||||
<script src="./js/libs/custom-elements.min.js"></script> |
||||
<script src="./js/libs/lit-html.js"></script> |
||||
|
||||
<script type="module" src="./js/menu-wc.js" defer></script> |
||||
<script nomodule src="./js/menu-wc_es5.js" defer></script> |
||||
|
||||
<script src="./js/libs/bootstrap-native.js"></script> |
||||
|
||||
<script src="./js/libs/es6-shim.min.js"></script> |
||||
<script src="./js/libs/EventDispatcher.js"></script> |
||||
<script src="./js/libs/promise.min.js"></script> |
||||
<script src="./js/libs/zepto.min.js"></script> |
||||
|
||||
<script src="./js/compodoc.js"></script> |
||||
|
||||
<script src="./js/tabs.js"></script> |
||||
<script src="./js/menu.js"></script> |
||||
<script src="./js/libs/clipboard.min.js"></script> |
||||
<script src="./js/libs/prism.js"></script> |
||||
<script src="./js/sourceCode.js"></script> |
||||
<script src="./js/search/search.js"></script> |
||||
<script src="./js/search/lunr.min.js"></script> |
||||
<script src="./js/search/search-lunr.js"></script> |
||||
<script src="./js/search/search_index.js"></script> |
||||
<script src="./js/lazy-load-graphs.js"></script> |
||||
|
||||
|
||||
</body> |
||||
</html> |
@ -0,0 +1,219 @@
@@ -0,0 +1,219 @@
|
||||
.card { |
||||
position: relative; |
||||
display: block; |
||||
margin-bottom: 20px; |
||||
background-color: #fff; |
||||
border: 1px solid #ddd; |
||||
border-radius: 4px; |
||||
} |
||||
|
||||
.card-block { |
||||
padding: 15px; |
||||
} |
||||
.card-block:before, .card-block:after { |
||||
content: " "; |
||||
display: table; |
||||
} |
||||
.card-block:after { |
||||
clear: both; |
||||
} |
||||
|
||||
.card-title { |
||||
margin: 5px; |
||||
margin-bottom: 2px; |
||||
text-align: center; |
||||
} |
||||
|
||||
.card-subtitle { |
||||
margin-top: -10px; |
||||
margin-bottom: 0; |
||||
} |
||||
|
||||
.card-text:last-child { |
||||
margin-bottom: 0; |
||||
margin-top: 10px; |
||||
} |
||||
|
||||
.card-link:hover { |
||||
text-decoration: none; |
||||
} |
||||
.card-link + .card-link { |
||||
margin-left: 15px; |
||||
} |
||||
|
||||
.card > .list-group:first-child .list-group-item:first-child { |
||||
border-top-right-radius: 4px; |
||||
border-top-left-radius: 4px; |
||||
} |
||||
.card > .list-group:last-child .list-group-item:last-child { |
||||
border-bottom-right-radius: 4px; |
||||
border-bottom-left-radius: 4px; |
||||
} |
||||
|
||||
.card-header { |
||||
padding: 10px 15px; |
||||
background-color: #f5f5f5; |
||||
border-bottom: 1px solid #ddd; |
||||
} |
||||
.card-header:before, .card-header:after { |
||||
content: " "; |
||||
display: table; |
||||
} |
||||
.card-header:after { |
||||
clear: both; |
||||
} |
||||
.card-header:first-child { |
||||
border-radius: 4px 4px 0 0; |
||||
} |
||||
|
||||
.card-footer { |
||||
padding: 10px 15px; |
||||
background-color: #f5f5f5; |
||||
border-top: 1px solid #ddd; |
||||
} |
||||
.card-footer:before, .card-footer:after { |
||||
content: " "; |
||||
display: table; |
||||
} |
||||
.card-footer:after { |
||||
clear: both; |
||||
} |
||||
.card-footer:last-child { |
||||
border-radius: 0 0 4px 4px; |
||||
} |
||||
|
||||
.card-header-tabs { |
||||
margin-right: -5px; |
||||
margin-bottom: -10px; |
||||
margin-left: -5px; |
||||
border-bottom: 0; |
||||
} |
||||
|
||||
.card-header-pills { |
||||
margin-right: -5px; |
||||
margin-left: -5px; |
||||
} |
||||
|
||||
.card-primary { |
||||
background-color: #337ab7; |
||||
border-color: #337ab7; |
||||
} |
||||
.card-primary .card-header, |
||||
.card-primary .card-footer { |
||||
background-color: transparent; |
||||
} |
||||
|
||||
.card-success { |
||||
background-color: #5cb85c; |
||||
border-color: #5cb85c; |
||||
} |
||||
.card-success .card-header, |
||||
.card-success .card-footer { |
||||
background-color: transparent; |
||||
} |
||||
|
||||
.card-info { |
||||
background-color: #5bc0de; |
||||
border-color: #5bc0de; |
||||
} |
||||
.card-info .card-header, |
||||
.card-info .card-footer { |
||||
background-color: transparent; |
||||
} |
||||
|
||||
.card-warning { |
||||
background-color: #f0ad4e; |
||||
border-color: #f0ad4e; |
||||
} |
||||
.card-warning .card-header, |
||||
.card-warning .card-footer { |
||||
background-color: transparent; |
||||
} |
||||
|
||||
.card-danger { |
||||
background-color: #d9534f; |
||||
border-color: #d9534f; |
||||
} |
||||
.card-danger .card-header, |
||||
.card-danger .card-footer { |
||||
background-color: transparent; |
||||
} |
||||
|
||||
.card-outline-primary { |
||||
background-color: transparent; |
||||
border-color: #337ab7; |
||||
} |
||||
|
||||
.card-outline-secondary { |
||||
background-color: transparent; |
||||
border-color: #ccc; |
||||
} |
||||
|
||||
.card-outline-info { |
||||
background-color: transparent; |
||||
border-color: #5bc0de; |
||||
} |
||||
|
||||
.card-outline-success { |
||||
background-color: transparent; |
||||
border-color: #5cb85c; |
||||
} |
||||
|
||||
.card-outline-warning { |
||||
background-color: transparent; |
||||
border-color: #f0ad4e; |
||||
} |
||||
|
||||
.card-outline-danger { |
||||
background-color: transparent; |
||||
border-color: #d9534f; |
||||
} |
||||
|
||||
.card-inverse .card-header, |
||||
.card-inverse .card-footer { |
||||
border-color: rgba(255, 255, 255, 0.2); |
||||
} |
||||
.card-inverse .card-header, |
||||
.card-inverse .card-footer, |
||||
.card-inverse .card-title, |
||||
.card-inverse .card-blockquote { |
||||
color: #fff; |
||||
} |
||||
.card-inverse .card-link, |
||||
.card-inverse .card-text, |
||||
.card-inverse .card-subtitle, |
||||
.card-inverse .card-blockquote .blockquote-footer { |
||||
color: rgba(255, 255, 255, 0.65); |
||||
} |
||||
.card-inverse .card-link:hover, .card-inverse .card-link:focus { |
||||
color: #fff; |
||||
} |
||||
|
||||
.card-blockquote { |
||||
padding: 0; |
||||
margin-bottom: 0; |
||||
border-left: 0; |
||||
} |
||||
|
||||
.card-img { |
||||
border-radius: .25em; |
||||
} |
||||
|
||||
.card-img-overlay { |
||||
position: absolute; |
||||
top: 0; |
||||
right: 0; |
||||
bottom: 0; |
||||
left: 0; |
||||
padding: 15px; |
||||
} |
||||
|
||||
.card-img-top { |
||||
border-top-right-radius: 4px; |
||||
border-top-left-radius: 4px; |
||||
} |
||||
|
||||
.card-img-bottom { |
||||
border-bottom-right-radius: 4px; |
||||
border-bottom-left-radius: 4px; |
||||
} |
@ -0,0 +1,113 @@
@@ -0,0 +1,113 @@
|
||||
body { |
||||
background: #212121; |
||||
color: #fafafa; |
||||
} |
||||
|
||||
code { |
||||
color: #e09393; |
||||
} |
||||
|
||||
a, |
||||
.menu ul.list li a.active { |
||||
color: #7fc9ff; |
||||
} |
||||
|
||||
.menu { |
||||
background: #212121; |
||||
border-right: 1px solid #444; |
||||
} |
||||
|
||||
.menu ul.list li a { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.menu ul.list li.divider { |
||||
background: #444; |
||||
} |
||||
|
||||
.xs-menu ul.list li:nth-child(2) { |
||||
margin: 0; |
||||
background: none; |
||||
} |
||||
|
||||
.menu ul.list li:nth-child(2) { |
||||
margin: 0; |
||||
background: none; |
||||
} |
||||
|
||||
#book-search-input { |
||||
background: #212121; |
||||
border-top: 1px solid #444; |
||||
border-bottom: 1px solid #444; |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.table-bordered { |
||||
border: 1px solid #444; |
||||
} |
||||
|
||||
.table-bordered > tbody > tr > td, |
||||
.table-bordered > tbody > tr > th, |
||||
.table-bordered > tfoot > tr > td, |
||||
.table-bordered > tfoot > tr > th, |
||||
.table-bordered > thead > tr > td, |
||||
.table-bordered > thead > tr > th { |
||||
border: 1px solid #444; |
||||
} |
||||
|
||||
.coverage a, |
||||
.coverage-count { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.coverage-header { |
||||
color: black; |
||||
} |
||||
|
||||
.routes svg text, |
||||
.routes svg a { |
||||
fill: white; |
||||
} |
||||
.routes svg rect { |
||||
fill: #212121 !important; |
||||
} |
||||
|
||||
.navbar-default, |
||||
.btn-default { |
||||
background-color: black; |
||||
border-color: #444; |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.navbar-default .navbar-brand { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.overview .card, |
||||
.modules .card { |
||||
background: #171717; |
||||
color: #fafafa; |
||||
border: 1px solid #444; |
||||
} |
||||
.overview .card a { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.modules .card-header { |
||||
background: none; |
||||
border-bottom: 1px solid #444; |
||||
} |
||||
|
||||
.module .list-group-item { |
||||
background: none; |
||||
border: 1px solid #444; |
||||
} |
||||
|
||||
.container-fluid.module h3 a { |
||||
color: #337ab7; |
||||
} |
||||
|
||||
table.params thead { |
||||
background: #484848; |
||||
color: #fafafa; |
||||
} |
@ -0,0 +1,115 @@
@@ -0,0 +1,115 @@
|
||||
.nav-tabs > li > a { |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.navbar-default .navbar-brand { |
||||
color: #f4645f; |
||||
text-decoration: none; |
||||
font-size: 16px; |
||||
} |
||||
|
||||
.menu ul.list li a[data-type='chapter-link'], |
||||
.menu ul.list li.chapter .simple { |
||||
color: #525252; |
||||
border-bottom: 1px dashed rgba(0, 0, 0, 0.1); |
||||
} |
||||
|
||||
.content h1, |
||||
.content h2, |
||||
.content h3, |
||||
.content h4, |
||||
.content h5 { |
||||
color: #292e31; |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.content { |
||||
color: #4c555a; |
||||
} |
||||
|
||||
a { |
||||
color: #f4645f; |
||||
text-decoration: underline; |
||||
} |
||||
a:hover { |
||||
color: #f1362f; |
||||
} |
||||
|
||||
.menu ul.list li:nth-child(2) { |
||||
margin-top: 0; |
||||
} |
||||
|
||||
.menu ul.list li.title a { |
||||
color: #f4645f; |
||||
text-decoration: none; |
||||
font-size: 16px; |
||||
} |
||||
|
||||
.menu ul.list li a { |
||||
color: #f4645f; |
||||
text-decoration: none; |
||||
} |
||||
.menu ul.list li a.active { |
||||
color: #f4645f; |
||||
font-weight: bold; |
||||
} |
||||
|
||||
code { |
||||
box-sizing: border-box; |
||||
display: inline-block; |
||||
padding: 0 5px; |
||||
background: #f0f2f1; |
||||
border-radius: 3px; |
||||
color: #b93d6a; |
||||
font-size: 13px; |
||||
line-height: 20px; |
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125); |
||||
} |
||||
|
||||
pre { |
||||
margin: 0; |
||||
padding: 12px 12px; |
||||
background: rgba(238, 238, 238, 0.35); |
||||
border-radius: 3px; |
||||
font-size: 13px; |
||||
line-height: 1.5em; |
||||
font-weight: 500; |
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125); |
||||
} |
||||
|
||||
@media (prefers-color-scheme: dark) { |
||||
body { |
||||
color: #fafafa; |
||||
} |
||||
.content h1, |
||||
.content h2, |
||||
.content h3, |
||||
.content h4, |
||||
.content h5 { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
code { |
||||
background: none; |
||||
} |
||||
|
||||
.content { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.menu ul.list li a[data-type='chapter-link'], |
||||
.menu ul.list li.chapter .simple { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.menu ul.list li.title a { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.menu ul.list li a { |
||||
color: #fafafa; |
||||
} |
||||
.menu ul.list li a.active { |
||||
color: #7fc9ff; |
||||
} |
||||
} |
@ -0,0 +1,133 @@
@@ -0,0 +1,133 @@
|
||||
.menu { |
||||
background: none; |
||||
} |
||||
|
||||
a:hover { |
||||
text-decoration: none; |
||||
} |
||||
|
||||
/** LINK **/ |
||||
|
||||
.menu ul.list li a { |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.menu ul.list li a:hover, |
||||
.menu ul.list li.chapter .simple:hover { |
||||
background-color: #f8f9fa; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
#book-search-input { |
||||
margin-bottom: 0; |
||||
} |
||||
|
||||
.menu ul.list li.divider { |
||||
margin-top: 0; |
||||
background: #e9ecef; |
||||
} |
||||
|
||||
.menu .title:hover { |
||||
background-color: #f8f9fa; |
||||
} |
||||
|
||||
/** CARD **/ |
||||
|
||||
.card { |
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), |
||||
0 1px 5px 0 rgba(0, 0, 0, 0.12); |
||||
border-radius: 0.125rem; |
||||
border: 0; |
||||
margin-top: 1px; |
||||
} |
||||
|
||||
.card-header { |
||||
background: none; |
||||
} |
||||
|
||||
/** BUTTON **/ |
||||
|
||||
.btn { |
||||
border-radius: 0.125rem; |
||||
} |
||||
|
||||
/** NAV BAR **/ |
||||
|
||||
.nav { |
||||
border: 0; |
||||
} |
||||
.nav-tabs > li > a { |
||||
border: 0; |
||||
border-bottom: 0.214rem solid transparent; |
||||
color: rgba(0, 0, 0, 0.54); |
||||
margin-right: 0; |
||||
} |
||||
.nav-tabs > li.active > a, |
||||
.nav-tabs > li.active > a:focus, |
||||
.nav-tabs > li.active > a:hover { |
||||
color: rgba(0, 0, 0, 0.87); |
||||
border-top: 0; |
||||
border-left: 0; |
||||
border-right: 0; |
||||
border-bottom: 0.214rem solid transparent; |
||||
border-color: #008cff; |
||||
font-weight: bold; |
||||
} |
||||
.nav > li > a:focus, |
||||
.nav > li > a:hover { |
||||
background: none; |
||||
} |
||||
|
||||
/** LIST **/ |
||||
|
||||
.list-group-item:first-child { |
||||
border-top-left-radius: 0.125rem; |
||||
border-top-right-radius: 0.125rem; |
||||
} |
||||
.list-group-item:last-child { |
||||
border-bottom-left-radius: 0.125rem; |
||||
border-bottom-right-radius: 0.125rem; |
||||
} |
||||
|
||||
/** MISC **/ |
||||
|
||||
.modifier { |
||||
border-radius: 0.125rem; |
||||
} |
||||
|
||||
pre[class*='language-'] { |
||||
border-radius: 0.125rem; |
||||
} |
||||
|
||||
/** TABLE **/ |
||||
|
||||
.table-hover > tbody > tr:hover { |
||||
background: rgba(0, 0, 0, 0.075); |
||||
} |
||||
|
||||
table.params thead { |
||||
background: none; |
||||
} |
||||
table.params thead td { |
||||
color: rgba(0, 0, 0, 0.54); |
||||
font-weight: bold; |
||||
} |
||||
|
||||
@media (prefers-color-scheme: dark) { |
||||
.menu .title:hover { |
||||
background-color: #2d2d2d; |
||||
} |
||||
.menu ul.list li a:hover, |
||||
.menu ul.list li.chapter .simple:hover { |
||||
background-color: #2d2d2d; |
||||
} |
||||
.nav-tabs > li > a { |
||||
color: #fafafa; |
||||
} |
||||
table.params thead { |
||||
background: #484848; |
||||
} |
||||
table.params thead td { |
||||
color: #fafafa; |
||||
} |
||||
} |
@ -0,0 +1,53 @@
@@ -0,0 +1,53 @@
|
||||
.navbar-default .navbar-brand, |
||||
.menu ul.list li.title { |
||||
font-weight: bold; |
||||
color: #3c3c3c; |
||||
padding-bottom: 5px; |
||||
} |
||||
|
||||
.menu ul.list li a[data-type='chapter-link'], |
||||
.menu ul.list li.chapter .simple { |
||||
font-weight: bold; |
||||
font-size: 14px; |
||||
} |
||||
|
||||
.menu ul.list li a[href='./routes.html'] { |
||||
border-bottom: none; |
||||
} |
||||
|
||||
.menu ul.list > li:nth-child(2) { |
||||
display: none; |
||||
} |
||||
|
||||
.menu ul.list li.chapter ul.links { |
||||
background: #fff; |
||||
padding-left: 0; |
||||
} |
||||
|
||||
.menu ul.list li.chapter ul.links li { |
||||
border-bottom: 1px solid #ddd; |
||||
padding-left: 20px; |
||||
} |
||||
|
||||
.menu ul.list li.chapter ul.links li:last-child { |
||||
border-bottom: none; |
||||
} |
||||
|
||||
.menu ul.list li a.active { |
||||
color: #337ab7; |
||||
font-weight: bold; |
||||
} |
||||
|
||||
#book-search-input { |
||||
margin-bottom: 0; |
||||
border-bottom: none; |
||||
} |
||||
.menu ul.list li.divider { |
||||
margin: 0; |
||||
} |
||||
|
||||
@media (prefers-color-scheme: dark) { |
||||
.menu ul.list li.chapter ul.links { |
||||
background: none; |
||||
} |
||||
} |
@ -0,0 +1,240 @@
@@ -0,0 +1,240 @@
|
||||
.navbar-default { |
||||
background: #ffde00; |
||||
border: none; |
||||
} |
||||
|
||||
.navbar-default .navbar-brand { |
||||
color: #333; |
||||
font-weight: bold; |
||||
} |
||||
|
||||
.menu { |
||||
background: #333; |
||||
color: #fcfcfc; |
||||
} |
||||
|
||||
.menu ul.list li a { |
||||
color: #333; |
||||
} |
||||
|
||||
.menu ul.list li.title { |
||||
background: #ffde00; |
||||
color: #333; |
||||
padding-bottom: 5px; |
||||
} |
||||
|
||||
.menu ul.list li:nth-child(2) { |
||||
margin-top: 0; |
||||
} |
||||
|
||||
.menu ul.list li.chapter a, |
||||
.menu ul.list li.chapter .simple { |
||||
color: white; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.menu ul.list li.chapter ul.links a { |
||||
color: #949494; |
||||
text-transform: none; |
||||
padding-left: 35px; |
||||
} |
||||
|
||||
.menu ul.list li.chapter ul.links a:hover, |
||||
.menu ul.list li.chapter ul.links a.active { |
||||
color: #ffde00; |
||||
} |
||||
|
||||
.menu ul.list li.chapter ul.links { |
||||
padding-left: 0; |
||||
} |
||||
|
||||
.menu ul.list li.divider { |
||||
background: rgba(255, 255, 255, 0.07); |
||||
} |
||||
|
||||
#book-search-input input, |
||||
#book-search-input input:focus, |
||||
#book-search-input input:hover { |
||||
color: #949494; |
||||
} |
||||
|
||||
.copyright { |
||||
color: #b3b3b3; |
||||
background: #272525; |
||||
} |
||||
|
||||
.content { |
||||
background: #fcfcfc; |
||||
} |
||||
|
||||
.content a { |
||||
color: #007dcc; |
||||
} |
||||
|
||||
.content a:visited { |
||||
color: #0165a5; |
||||
} |
||||
|
||||
.menu ul.list li:nth-last-child(2) { |
||||
background: none; |
||||
} |
||||
|
||||
.list-group-item:first-child, |
||||
.list-group-item:last-child { |
||||
border-radius: 0; |
||||
} |
||||
|
||||
.menu ul.list li.title a { |
||||
text-decoration: none; |
||||
font-weight: bold; |
||||
} |
||||
|
||||
.menu ul.list li.title a:hover { |
||||
background: rgba(255, 255, 255, 0.1); |
||||
} |
||||
|
||||
.breadcrumb > li + li:before { |
||||
content: '»\00a0'; |
||||
} |
||||
|
||||
.breadcrumb { |
||||
padding-bottom: 15px; |
||||
border-bottom: 1px solid #e1e4e5; |
||||
} |
||||
|
||||
code { |
||||
white-space: nowrap; |
||||
max-width: 100%; |
||||
background: #f5f5f5; |
||||
padding: 2px 5px; |
||||
color: #666666; |
||||
overflow-x: auto; |
||||
border-radius: 0; |
||||
} |
||||
|
||||
pre { |
||||
white-space: pre; |
||||
margin: 0; |
||||
padding: 12px 12px; |
||||
font-size: 12px; |
||||
line-height: 1.5; |
||||
display: block; |
||||
overflow: auto; |
||||
color: #404040; |
||||
background: #f3f3f3; |
||||
} |
||||
|
||||
pre code.hljs { |
||||
border: none; |
||||
background: inherit; |
||||
} |
||||
|
||||
/* |
||||
Atom One Light by Daniel Gamage |
||||
Original One Light Syntax theme from https://github.com/atom/one-light-syntax |
||||
base: #fafafa |
||||
mono-1: #383a42 |
||||
mono-2: #686b77 |
||||
mono-3: #a0a1a7 |
||||
hue-1: #0184bb |
||||
hue-2: #4078f2 |
||||
hue-3: #a626a4 |
||||
hue-4: #50a14f |
||||
hue-5: #e45649 |
||||
hue-5-2: #c91243 |
||||
hue-6: #986801 |
||||
hue-6-2: #c18401 |
||||
*/ |
||||
|
||||
.hljs { |
||||
display: block; |
||||
overflow-x: auto; |
||||
padding: 0.5em; |
||||
color: #383a42; |
||||
background: #fafafa; |
||||
} |
||||
|
||||
.hljs-comment, |
||||
.hljs-quote { |
||||
color: #a0a1a7; |
||||
font-style: italic; |
||||
} |
||||
|
||||
.hljs-doctag, |
||||
.hljs-keyword, |
||||
.hljs-formula { |
||||
color: #a626a4; |
||||
} |
||||
|
||||
.hljs-section, |
||||
.hljs-name, |
||||
.hljs-selector-tag, |
||||
.hljs-deletion, |
||||
.hljs-subst { |
||||
color: #e45649; |
||||
} |
||||
|
||||
.hljs-literal { |
||||
color: #0184bb; |
||||
} |
||||
|
||||
.hljs-string, |
||||
.hljs-regexp, |
||||
.hljs-addition, |
||||
.hljs-attribute, |
||||
.hljs-meta-string { |
||||
color: #50a14f; |
||||
} |
||||
|
||||
.hljs-built_in, |
||||
.hljs-class .hljs-title { |
||||
color: #c18401; |
||||
} |
||||
|
||||
.hljs-attr, |
||||
.hljs-variable, |
||||
.hljs-template-variable, |
||||
.hljs-type, |
||||
.hljs-selector-class, |
||||
.hljs-selector-attr, |
||||
.hljs-selector-pseudo, |
||||
.hljs-number { |
||||
color: #986801; |
||||
} |
||||
|
||||
.hljs-symbol, |
||||
.hljs-bullet, |
||||
.hljs-link, |
||||
.hljs-meta, |
||||
.hljs-selector-id, |
||||
.hljs-title { |
||||
color: #4078f2; |
||||
} |
||||
|
||||
.hljs-emphasis { |
||||
font-style: italic; |
||||
} |
||||
|
||||
.hljs-strong { |
||||
font-weight: bold; |
||||
} |
||||
|
||||
.hljs-link { |
||||
text-decoration: underline; |
||||
} |
||||
|
||||
@media (prefers-color-scheme: dark) { |
||||
.content { |
||||
background: none; |
||||
} |
||||
code { |
||||
background: none; |
||||
color: #e09393; |
||||
} |
||||
.menu ul.list li.chapter a.active { |
||||
color: #ffde00; |
||||
} |
||||
.menu { |
||||
background: #272525; |
||||
} |
||||
} |
@ -0,0 +1,301 @@
@@ -0,0 +1,301 @@
|
||||
/* PrismJS 1.24.0 |
||||
https://prismjs.com/download.html?#themes=prism-okaidia&languages=markup+css+clike+javascript+apacheconf+aspnet+bash+c+csharp+cpp+coffeescript+dart+docker+elm+git+go+graphql+handlebars+haskell+http+ignore+java+json+kotlin+less+markdown+markup-templating+nginx+php+powershell+ruby+rust+sass+scss+sql+swift+typescript+wasm+yaml&plugins=line-highlight+line-numbers+toolbar+copy-to-clipboard */ |
||||
/** |
||||
* okaidia theme for JavaScript, CSS and HTML |
||||
* Loosely based on Monokai textmate theme by http://www.monokai.nl/ |
||||
* @author ocodia |
||||
*/ |
||||
|
||||
code[class*='language-'], |
||||
pre[class*='language-'] { |
||||
color: #f8f8f2; |
||||
background: none; |
||||
text-shadow: 0 1px rgba(0, 0, 0, 0.3); |
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
||||
font-size: 1em; |
||||
text-align: left; |
||||
white-space: pre; |
||||
word-spacing: normal; |
||||
word-break: normal; |
||||
word-wrap: normal; |
||||
line-height: 1.5; |
||||
|
||||
-moz-tab-size: 4; |
||||
-o-tab-size: 4; |
||||
tab-size: 4; |
||||
|
||||
-webkit-hyphens: none; |
||||
-moz-hyphens: none; |
||||
-ms-hyphens: none; |
||||
hyphens: none; |
||||
} |
||||
|
||||
/* Code blocks */ |
||||
pre[class*='language-'] { |
||||
padding: 1em; |
||||
margin: 0.5em 0; |
||||
overflow: auto; |
||||
border-radius: 0.3em; |
||||
} |
||||
|
||||
:not(pre) > code[class*='language-'], |
||||
pre[class*='language-'] { |
||||
background: #272822; |
||||
} |
||||
|
||||
/* Inline code */ |
||||
:not(pre) > code[class*='language-'] { |
||||
padding: 0.1em; |
||||
border-radius: 0.3em; |
||||
white-space: normal; |
||||
} |
||||
|
||||
.token.comment, |
||||
.token.prolog, |
||||
.token.doctype, |
||||
.token.cdata { |
||||
color: #8292a2; |
||||
} |
||||
|
||||
.token.punctuation { |
||||
color: #f8f8f2; |
||||
} |
||||
|
||||
.token.namespace { |
||||
opacity: 0.7; |
||||
} |
||||
|
||||
.token.property, |
||||
.token.tag, |
||||
.token.constant, |
||||
.token.symbol, |
||||
.token.deleted { |
||||
color: #f92672; |
||||
} |
||||
|
||||
.token.boolean, |
||||
.token.number { |
||||
color: #ae81ff; |
||||
} |
||||
|
||||
.token.selector, |
||||
.token.attr-name, |
||||
.token.string, |
||||
.token.char, |
||||
.token.builtin, |
||||
.token.inserted { |
||||
color: #a6e22e; |
||||
} |
||||
|
||||
.token.operator, |
||||
.token.entity, |
||||
.token.url, |
||||
.language-css .token.string, |
||||
.style .token.string, |
||||
.token.variable { |
||||
color: #f8f8f2; |
||||
} |
||||
|
||||
.token.atrule, |
||||
.token.attr-value, |
||||
.token.function, |
||||
.token.class-name { |
||||
color: #e6db74; |
||||
} |
||||
|
||||
.token.keyword { |
||||
color: #66d9ef; |
||||
} |
||||
|
||||
.token.regex, |
||||
.token.important { |
||||
color: #fd971f; |
||||
} |
||||
|
||||
.token.important, |
||||
.token.bold { |
||||
font-weight: bold; |
||||
} |
||||
.token.italic { |
||||
font-style: italic; |
||||
} |
||||
|
||||
.token.entity { |
||||
cursor: help; |
||||
} |
||||
|
||||
pre[data-line] { |
||||
position: relative; |
||||
padding: 1em 0 1em 3em; |
||||
} |
||||
|
||||
.line-highlight { |
||||
position: absolute; |
||||
left: 0; |
||||
right: 0; |
||||
padding: inherit 0; |
||||
margin-top: 1em; /* Same as .prism’s padding-top */ |
||||
|
||||
background: hsla(24, 20%, 50%, 0.08); |
||||
background: linear-gradient(to right, hsla(24, 20%, 50%, 0.1) 70%, hsla(24, 20%, 50%, 0)); |
||||
|
||||
pointer-events: none; |
||||
|
||||
line-height: inherit; |
||||
white-space: pre; |
||||
} |
||||
|
||||
@media print { |
||||
.line-highlight { |
||||
/* |
||||
* This will prevent browsers from replacing the background color with white. |
||||
* It's necessary because the element is layered on top of the displayed code. |
||||
*/ |
||||
-webkit-print-color-adjust: exact; |
||||
color-adjust: exact; |
||||
} |
||||
} |
||||
|
||||
.line-highlight:before, |
||||
.line-highlight[data-end]:after { |
||||
content: attr(data-start); |
||||
position: absolute; |
||||
top: 0.4em; |
||||
left: 0.6em; |
||||
min-width: 1em; |
||||
padding: 0 0.5em; |
||||
background-color: hsla(24, 20%, 50%, 0.4); |
||||
color: hsl(24, 20%, 95%); |
||||
font: bold 65%/1.5 sans-serif; |
||||
text-align: center; |
||||
vertical-align: 0.3em; |
||||
border-radius: 999px; |
||||
text-shadow: none; |
||||
box-shadow: 0 1px white; |
||||
} |
||||
|
||||
.line-highlight[data-end]:after { |
||||
content: attr(data-end); |
||||
top: auto; |
||||
bottom: 0.4em; |
||||
} |
||||
|
||||
.line-numbers .line-highlight:before, |
||||
.line-numbers .line-highlight:after { |
||||
content: none; |
||||
} |
||||
|
||||
pre[id].linkable-line-numbers span.line-numbers-rows { |
||||
pointer-events: all; |
||||
} |
||||
pre[id].linkable-line-numbers span.line-numbers-rows > span:before { |
||||
cursor: pointer; |
||||
} |
||||
pre[id].linkable-line-numbers span.line-numbers-rows > span:hover:before { |
||||
background-color: rgba(128, 128, 128, 0.2); |
||||
} |
||||
|
||||
pre[class*='language-'].line-numbers { |
||||
position: relative; |
||||
padding-left: 3.8em; |
||||
counter-reset: linenumber; |
||||
} |
||||
|
||||
pre[class*='language-'].line-numbers > code { |
||||
position: relative; |
||||
white-space: inherit; |
||||
} |
||||
|
||||
.line-numbers .line-numbers-rows { |
||||
position: absolute; |
||||
pointer-events: none; |
||||
top: 0; |
||||
font-size: 100%; |
||||
left: -3.8em; |
||||
width: 3em; /* works for line-numbers below 1000 lines */ |
||||
letter-spacing: -1px; |
||||
border-right: 1px solid #999; |
||||
|
||||
-webkit-user-select: none; |
||||
-moz-user-select: none; |
||||
-ms-user-select: none; |
||||
user-select: none; |
||||
} |
||||
|
||||
.line-numbers-rows > span { |
||||
display: block; |
||||
counter-increment: linenumber; |
||||
} |
||||
|
||||
.line-numbers-rows > span:before { |
||||
content: counter(linenumber); |
||||
color: #999; |
||||
display: block; |
||||
padding-right: 0.8em; |
||||
text-align: right; |
||||
} |
||||
|
||||
div.code-toolbar { |
||||
position: relative; |
||||
} |
||||
|
||||
div.code-toolbar > .toolbar { |
||||
position: absolute; |
||||
top: 0.3em; |
||||
right: 0.2em; |
||||
transition: opacity 0.3s ease-in-out; |
||||
opacity: 0; |
||||
} |
||||
|
||||
div.code-toolbar:hover > .toolbar { |
||||
opacity: 1; |
||||
} |
||||
|
||||
/* Separate line b/c rules are thrown out if selector is invalid. |
||||
IE11 and old Edge versions don't support :focus-within. */ |
||||
div.code-toolbar:focus-within > .toolbar { |
||||
opacity: 1; |
||||
} |
||||
|
||||
div.code-toolbar > .toolbar .toolbar-item { |
||||
display: inline-block; |
||||
} |
||||
|
||||
div.code-toolbar > .toolbar a { |
||||
cursor: pointer; |
||||
} |
||||
|
||||
div.code-toolbar > .toolbar button { |
||||
background: none; |
||||
border: 0; |
||||
color: inherit; |
||||
font: inherit; |
||||
line-height: normal; |
||||
overflow: visible; |
||||
padding: 0; |
||||
-webkit-user-select: none; /* for button */ |
||||
-moz-user-select: none; |
||||
-ms-user-select: none; |
||||
} |
||||
|
||||
div.code-toolbar > .toolbar a, |
||||
div.code-toolbar > .toolbar button, |
||||
div.code-toolbar > .toolbar span { |
||||
color: #bbb; |
||||
font-size: 0.8em; |
||||
padding: 0 0.5em; |
||||
background: #f5f2f0; |
||||
background: rgba(224, 224, 224, 0.2); |
||||
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.2); |
||||
border-radius: 0.5em; |
||||
} |
||||
|
||||
div.code-toolbar > .toolbar a:hover, |
||||
div.code-toolbar > .toolbar a:focus, |
||||
div.code-toolbar > .toolbar button:hover, |
||||
div.code-toolbar > .toolbar button:focus, |
||||
div.code-toolbar > .toolbar span:hover, |
||||
div.code-toolbar > .toolbar span:focus { |
||||
color: inherit; |
||||
text-decoration: none; |
||||
} |
@ -0,0 +1,119 @@
@@ -0,0 +1,119 @@
|
||||
.navbar-default { |
||||
background: #2980b9; |
||||
border: none; |
||||
} |
||||
|
||||
.navbar-default .navbar-brand { |
||||
color: #fcfcfc; |
||||
} |
||||
|
||||
.menu { |
||||
background: #343131; |
||||
color: #fcfcfc; |
||||
} |
||||
|
||||
.menu ul.list li a { |
||||
color: #fcfcfc; |
||||
} |
||||
|
||||
.menu ul.list li.title { |
||||
background: #2980b9; |
||||
padding-bottom: 5px; |
||||
} |
||||
|
||||
.menu ul.list li:nth-child(2) { |
||||
margin-top: 0; |
||||
} |
||||
|
||||
.menu ul.list li.chapter a, |
||||
.menu ul.list li.chapter .simple { |
||||
color: #555; |
||||
text-transform: uppercase; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.menu ul.list li.chapter ul.links a { |
||||
color: #b3b3b3; |
||||
text-transform: none; |
||||
padding-left: 35px; |
||||
} |
||||
|
||||
.menu ul.list li.chapter ul.links a:hover { |
||||
background: #4e4a4a; |
||||
} |
||||
|
||||
.menu ul.list li.chapter a.active, |
||||
.menu ul.list li.chapter ul.links a.active { |
||||
color: #0099e5; |
||||
} |
||||
|
||||
.menu ul.list li.chapter ul.links { |
||||
padding-left: 0; |
||||
} |
||||
|
||||
.menu ul.list li.divider { |
||||
background: rgba(255, 255, 255, 0.07); |
||||
} |
||||
|
||||
#book-search-input input, |
||||
#book-search-input input:focus, |
||||
#book-search-input input:hover { |
||||
color: #949494; |
||||
} |
||||
|
||||
.copyright { |
||||
color: #b3b3b3; |
||||
background: #272525; |
||||
} |
||||
|
||||
.content { |
||||
background: #fcfcfc; |
||||
} |
||||
|
||||
.content a { |
||||
color: #2980b9; |
||||
} |
||||
|
||||
.content a:hover { |
||||
color: #3091d1; |
||||
} |
||||
|
||||
.content a:visited { |
||||
color: #9b59b6; |
||||
} |
||||
|
||||
.menu ul.list li:nth-last-child(2) { |
||||
background: none; |
||||
} |
||||
|
||||
code { |
||||
white-space: nowrap; |
||||
max-width: 100%; |
||||
background: #fff; |
||||
padding: 2px 5px; |
||||
color: #e74c3c; |
||||
overflow-x: auto; |
||||
border-radius: 0; |
||||
} |
||||
|
||||
pre { |
||||
white-space: pre; |
||||
margin: 0; |
||||
padding: 12px 12px; |
||||
font-size: 12px; |
||||
line-height: 1.5; |
||||
display: block; |
||||
overflow: auto; |
||||
color: #404040; |
||||
background: rgba(238, 238, 238, 0.35); |
||||
} |
||||
|
||||
@media (prefers-color-scheme: dark) { |
||||
.content { |
||||
background: none; |
||||
} |
||||
code { |
||||
background: none; |
||||
color: #e09393; |
||||
} |
||||
} |
@ -0,0 +1,48 @@
@@ -0,0 +1,48 @@
|
||||
/* http://meyerweb.com/eric/tools/css/reset/ |
||||
v2.0 | 20110126 |
||||
License: none (public domain) |
||||
*/ |
||||
|
||||
html, body, div, span, applet, object, iframe, |
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
||||
a, abbr, acronym, address, big, cite, code, |
||||
del, dfn, em, img, ins, kbd, q, s, samp, |
||||
small, strike, strong, sub, sup, tt, var, |
||||
b, u, i, center, |
||||
dl, dt, dd, ol, ul, li, |
||||
fieldset, form, label, legend, |
||||
table, caption, tbody, tfoot, thead, tr, th, td, |
||||
article, aside, canvas, details, embed, |
||||
figure, figcaption, footer, header, hgroup, |
||||
menu, nav, output, ruby, section, summary, |
||||
time, mark, audio, video { |
||||
margin: 0; |
||||
padding: 0; |
||||
border: 0; |
||||
font-size: 100%; |
||||
font: inherit; |
||||
vertical-align: baseline; |
||||
} |
||||
/* HTML5 display-role reset for older browsers */ |
||||
article, aside, details, figcaption, figure, |
||||
footer, header, hgroup, menu, nav, section { |
||||
display: block; |
||||
} |
||||
body { |
||||
line-height: 1; |
||||
} |
||||
ol, ul { |
||||
list-style: none; |
||||
} |
||||
blockquote, q { |
||||
quotes: none; |
||||
} |
||||
blockquote:before, blockquote:after, |
||||
q:before, q:after { |
||||
content: ''; |
||||
content: none; |
||||
} |
||||
table { |
||||
border-collapse: collapse; |
||||
border-spacing: 0; |
||||
} |
@ -0,0 +1,108 @@
@@ -0,0 +1,108 @@
|
||||
.navbar-default .navbar-brand { |
||||
color: #0099e5; |
||||
} |
||||
|
||||
.menu ul.list li a[data-type='chapter-link'], |
||||
.menu ul.list li.chapter .simple { |
||||
color: #939da3; |
||||
text-transform: uppercase; |
||||
} |
||||
|
||||
.content h1, |
||||
.content h2, |
||||
.content h3, |
||||
.content h4, |
||||
.content h5 { |
||||
color: #292e31; |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.content { |
||||
color: #4c555a; |
||||
} |
||||
|
||||
.menu ul.list li.title { |
||||
padding: 5px 0; |
||||
} |
||||
|
||||
a { |
||||
color: #0099e5; |
||||
text-decoration: none; |
||||
} |
||||
a:hover { |
||||
color: #292e31; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.menu ul.list li:nth-child(2) { |
||||
margin-top: 0; |
||||
} |
||||
|
||||
.menu ul.list li.title a, |
||||
.navbar a { |
||||
color: #0099e5; |
||||
text-decoration: none; |
||||
font-size: 16px; |
||||
} |
||||
|
||||
.menu ul.list li a.active { |
||||
color: #0099e5; |
||||
} |
||||
|
||||
code { |
||||
box-sizing: border-box; |
||||
display: inline-block; |
||||
padding: 0 5px; |
||||
background: #fafcfc; |
||||
border-radius: 4px; |
||||
color: #b93d6a; |
||||
font-size: 13px; |
||||
line-height: 20px; |
||||
} |
||||
|
||||
pre { |
||||
margin: 0; |
||||
padding: 12px 12px; |
||||
background: #272b2d; |
||||
border-radius: 5px; |
||||
font-size: 13px; |
||||
line-height: 1.5em; |
||||
font-weight: 500; |
||||
} |
||||
|
||||
@media (prefers-color-scheme: dark) { |
||||
body { |
||||
color: #fafafa; |
||||
} |
||||
.content h1, |
||||
.content h2, |
||||
.content h3, |
||||
.content h4, |
||||
.content h5 { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
code { |
||||
background: none; |
||||
} |
||||
|
||||
.content { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.menu ul.list li a[data-type='chapter-link'], |
||||
.menu ul.list li.chapter .simple { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.menu ul.list li.title a { |
||||
color: #fafafa; |
||||
} |
||||
|
||||
.menu ul.list li a { |
||||
color: #fafafa; |
||||
} |
||||
.menu ul.list li a.active { |
||||
color: #7fc9ff; |
||||
} |
||||
} |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
@import "./reset.css"; |
||||
@import "./bootstrap.min.css"; |
||||
@import "./bootstrap-card.css"; |
||||
@import "./prism.css"; |
||||
@import "./ionicons.min.css"; |
||||
@import "./compodoc.css"; |
||||
@import "./tablesort.css"; |
@ -0,0 +1,33 @@
@@ -0,0 +1,33 @@
|
||||
th[role=columnheader]:not(.no-sort) { |
||||
cursor: pointer; |
||||
} |
||||
|
||||
th[role=columnheader]:not(.no-sort):after { |
||||
content: ''; |
||||
float: right; |
||||
margin-top: 7px; |
||||
border-width: 0 4px 4px; |
||||
border-style: solid; |
||||
border-color: #404040 transparent; |
||||
visibility: visible; |
||||
opacity: 1; |
||||
-ms-user-select: none; |
||||
-webkit-user-select: none; |
||||
-moz-user-select: none; |
||||
user-select: none; |
||||
} |
||||
|
||||
th[aria-sort=ascending]:not(.no-sort):after { |
||||
border-bottom: none; |
||||
border-width: 4px 4px 0; |
||||
} |
||||
|
||||
th[aria-sort]:not(.no-sort):after { |
||||
visibility: visible; |
||||
opacity: 0.4; |
||||
} |
||||
|
||||
th[role=columnheader]:not(.no-sort):hover:after { |
||||
visibility: visible; |
||||
opacity: 1; |
||||
} |