286 lines
10 KiB
HTML
286 lines
10 KiB
HTML
<!doctype html>
|
|
<html class="no-js" lang="">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<title>hometask 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">
|
|
<link rel="stylesheet" href="../styles/readthedocs.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="navbar navbar-default navbar-fixed-top visible-xs">
|
|
<a href="../" class="navbar-brand">hometask 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 5.0.0 (20220707.1540)
|
|
-->
|
|
<!-- Title: dependencies Pages: 1 -->
|
|
<svg width="284pt" height="174pt"
|
|
viewBox="0.00 0.00 284.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 280,-169.8 280,4 -4,4"/>
|
|
<text text-anchor="middle" x="138" 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 268,-157.8 268,-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 260,-92.8 260,-40.8 16,-40.8"/>
|
|
</g>
|
|
<!-- CommonModule -->
|
|
<g id="node1" class="node">
|
|
<title>CommonModule</title>
|
|
<polygon fill="#8dd3c7" stroke="black" points="251.67,-84.8 248.67,-88.8 227.67,-88.8 224.67,-84.8 140.33,-84.8 140.33,-48.8 251.67,-48.8 251.67,-84.8"/>
|
|
<text text-anchor="middle" x="196" y="-62.6" font-family="Times,serif" font-size="14.00">CommonModule</text>
|
|
</g>
|
|
<!-- AppModule -->
|
|
<g id="node3" class="node">
|
|
<title>AppModule</title>
|
|
<polygon fill="#8dd3c7" stroke="black" points="175.66,-149.8 172.66,-153.8 151.66,-153.8 148.66,-149.8 92.34,-149.8 92.34,-113.8 175.66,-113.8 175.66,-149.8"/>
|
|
<text text-anchor="middle" x="134" y="-127.6" font-family="Times,serif" font-size="14.00">AppModule</text>
|
|
</g>
|
|
<!-- CommonModule->AppModule -->
|
|
<g id="edge1" class="edge">
|
|
<title>CommonModule->AppModule</title>
|
|
<path fill="none" stroke="black" d="M158,-84.91C158,-84.91 158,-103.79 158,-103.79"/>
|
|
<polygon fill="black" stroke="black" points="154.5,-103.79 158,-113.79 161.5,-103.79 154.5,-103.79"/>
|
|
</g>
|
|
<!-- SearchModule -->
|
|
<g id="node2" class="node">
|
|
<title>SearchModule</title>
|
|
<polygon fill="#8dd3c7" stroke="black" points="121.64,-84.8 118.64,-88.8 97.64,-88.8 94.64,-84.8 24.36,-84.8 24.36,-48.8 121.64,-48.8 121.64,-84.8"/>
|
|
<text text-anchor="middle" x="73" y="-62.6" font-family="Times,serif" font-size="14.00">SearchModule</text>
|
|
</g>
|
|
<!-- SearchModule->AppModule -->
|
|
<g id="edge2" class="edge">
|
|
<title>SearchModule->AppModule</title>
|
|
<path fill="none" stroke="black" d="M106.99,-84.91C106.99,-84.91 106.99,-103.79 106.99,-103.79"/>
|
|
<polygon fill="black" stroke="black" points="103.49,-103.79 106.99,-113.79 110.49,-103.79 103.49,-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/infrastructure/modules/app.module.ts</code>
|
|
</p>
|
|
|
|
|
|
|
|
<p class="comment">
|
|
<h3>Description</h3>
|
|
</p>
|
|
<p class="comment">
|
|
<p>application module</p>
|
|
|
|
</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/CommonModule.html">CommonModule</a>
|
|
</li>
|
|
<li class="list-group-item">
|
|
<a href="../modules/SearchModule.html">SearchModule</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 { CacheInterceptor, CacheModule, Module } from '@nestjs/common';
|
|
import { APP_INTERCEPTOR } from '@nestjs/core';
|
|
import { ConfigModule } from '@nestjs/config';
|
|
import { configuration } from '../config/env.objects';
|
|
import { validate } from '../config/env.validation';
|
|
import { LoggerInterceptor } from '../../core/interceptors'
|
|
import * as modules from '../../core/modules'
|
|
import { CommonModule } from './common/common.module';
|
|
import { PrometheusModule } from '@willsoto/nestjs-prometheus';
|
|
import { SearchModule } from './search.module';
|
|
|
|
/**
|
|
* application modules list
|
|
*/
|
|
const modulesList = Object.keys(modules).map(moduleIndex => modules[moduleIndex as keyof typeof modules]);
|
|
|
|
/**
|
|
* application module
|
|
*/
|
|
@Module({
|
|
imports: [
|
|
SearchModule,
|
|
PrometheusModule.register(),
|
|
CacheModule.register(),
|
|
CommonModule,
|
|
ConfigModule.forRoot({
|
|
load: [configuration],
|
|
validate,
|
|
isGlobal: true,
|
|
cache: true,
|
|
expandVariables: true,
|
|
}),
|
|
...modulesList,
|
|
],
|
|
providers: [
|
|
{
|
|
provide: APP_INTERCEPTOR,
|
|
useClass: CacheInterceptor,
|
|
},
|
|
{
|
|
provide: APP_INTERCEPTOR,
|
|
useClass: LoggerInterceptor,
|
|
},
|
|
],
|
|
controllers: [],
|
|
})
|
|
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> results 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>
|
|
|
|
<label class="dark-mode-switch">
|
|
<input type="checkbox">
|
|
<span class="slider">
|
|
<svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
</svg>
|
|
</span>
|
|
</label>
|
|
|
|
<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 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>
|