Initial Commit

This commit is contained in:
Wieland Schöbl
2021-08-04 13:25:50 +02:00
parent 42c9d02036
commit 87d2a6fa09
5 changed files with 26 additions and 14 deletions

View File

@@ -18,8 +18,8 @@ import {readFileSync, writeFileSync} from 'fs';
import got from 'got';
import {resolve} from 'path';
import {exit} from 'process';
import {getProjectReflection} from './project-reflection';
import {generateTemplate} from './mapping';
import {getProjectReflection} from './project-reflection';
// handle unhandled promise rejections
process.on('unhandledRejection', async (reason: unknown) => {

View File

@@ -28,11 +28,11 @@ import {
TypeParameterType,
UnionType,
} from 'typedoc/dist/lib/models';
import {AggregationSchema, ESNestedAggregation} from './types/aggregation';
import {fieldmap, filterableMap, filterableTagName} from './config/fieldmap';
import {premaps} from './config/premap';
import {settings} from './config/settings';
import {dynamicTypes, ElasticsearchDataType, typemap} from './config/typemap';
import {AggregationSchema, ESNestedAggregation} from './types/aggregation';
import {
ElasticsearchDynamicTemplate,
ElasticsearchObject,

View File

@@ -12,11 +12,11 @@
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {existsSync, PathLike} from "fs";
import {join, sep} from "path";
import {platform} from "os";
import {Logger} from "@openstapps/logger";
import {Application, ProjectReflection} from "typedoc";
import {Logger} from '@openstapps/logger';
import {existsSync, PathLike} from 'fs';
import {platform} from 'os';
import {join, sep} from 'path';
import {Application, ProjectReflection} from 'typedoc';
import {ModuleKind, ScriptTarget} from 'typescript';
/**