forked from loafle/openapi-generator-original
update ts template to remove supportsES6 option
This commit is contained in:
parent
ce3bd1f79d
commit
d49b20b3ba
@ -4,8 +4,8 @@
|
|||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
"suppressImplicitAnyIndexErrors": true,
|
||||||
"target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
|
"target": "es6",
|
||||||
"module": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}commonjs{{/supportsES6}}",
|
"module": "es6",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
@ -10,8 +10,7 @@
|
|||||||
"browser": "./dist/Api.js",
|
"browser": "./dist/Api.js",
|
||||||
"typings": "./dist/Api.d.ts",
|
"typings": "./dist/Api.d.ts",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
{{^supportsES6}}"core-js": "^2.4.0",
|
"isomorphic-fetch": "^2.2.1",
|
||||||
{{/supportsES6}}"isomorphic-fetch": "^2.2.1",
|
|
||||||
"aurelia-framework": "^1.3.1",
|
"aurelia-framework": "^1.3.1",
|
||||||
"aurelia-http-client": "^1.3.0"
|
"aurelia-http-client": "^1.3.0"
|
||||||
},
|
},
|
||||||
|
@ -17,12 +17,10 @@
|
|||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"typings": "./dist/index.d.ts",
|
||||||
{{#supportsES6}}
|
|
||||||
"module": "./dist/esm/index.js",
|
"module": "./dist/esm/index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
{{/supportsES6}}
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc {{#supportsES6}}&& tsc -p tsconfig.esm.json{{/supportsES6}}",
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "{{#supportsES6}}ES6{{/supportsES6}}{{^supportsES6}}ES5{{/supportsES6}}",
|
"target": "ES6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -13,12 +13,10 @@
|
|||||||
{{^packageAsSourceOnlyLibrary}}
|
{{^packageAsSourceOnlyLibrary}}
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"typings": "./dist/index.d.ts",
|
||||||
{{#supportsES6}}
|
|
||||||
"module": "./dist/esm/index.js",
|
"module": "./dist/esm/index.js",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
{{/supportsES6}}
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc{{#supportsES6}} && tsc -p tsconfig.esm.json{{/supportsES6}}"{{^sagasAndRecords}},
|
"build": "tsc && tsc -p tsconfig.esm.json"{{^sagasAndRecords}},
|
||||||
"prepare": "npm run build"{{/sagasAndRecords}}
|
"prepare": "npm run build"{{/sagasAndRecords}}
|
||||||
},
|
},
|
||||||
{{/packageAsSourceOnlyLibrary}}
|
{{/packageAsSourceOnlyLibrary}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
|
"target": "es6",
|
||||||
{{#sagasAndRecords}}
|
{{#sagasAndRecords}}
|
||||||
"strict": true,
|
"strict": true,
|
||||||
{{/sagasAndRecords}}
|
{{/sagasAndRecords}}
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
"suppressImplicitAnyIndexErrors": true,
|
||||||
"target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
|
"target": "es6",
|
||||||
"module": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}commonjs{{/supportsES6}}",
|
"module": "es6",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
"suppressImplicitAnyIndexErrors": true,
|
||||||
"target": "{{#supportsES6}}ES6{{/supportsES6}}{{^supportsES6}}ES5{{/supportsES6}}",
|
"target": "ES6",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
|
"target": "es6",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
"suppressImplicitAnyIndexErrors": true,
|
||||||
"target": "{{#supportsES6}}ES6{{/supportsES6}}{{^supportsES6}}ES5{{/supportsES6}}",
|
"target": "ES6",
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -4,7 +4,7 @@ import {Configuration} from '../configuration{{importFileExtension}}';
|
|||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http{{importFileExtension}}';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http{{importFileExtension}}';
|
||||||
{{#platforms}}
|
{{#platforms}}
|
||||||
{{#node}}
|
{{#node}}
|
||||||
import {{^supportsES6}}* as{{/supportsES6}} FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
{{/node}}
|
{{/node}}
|
||||||
{{/platforms}}
|
{{/platforms}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{{#platforms}}
|
{{#platforms}}
|
||||||
{{#node}}
|
{{#node}}
|
||||||
// TODO: evaluate if we can easily get rid of this library
|
// TODO: evaluate if we can easily get rid of this library
|
||||||
import {{^supportsES6}}* as{{/supportsES6}} FormData from "form-data{{importFileExtension}}";
|
import FormData from "form-data{{importFileExtension}}";
|
||||||
import { URL, URLSearchParams } from 'url{{importFileExtension}}';
|
import { URL, URLSearchParams } from 'url{{importFileExtension}}';
|
||||||
import * as http from 'http{{importFileExtension}}';
|
import * as http from 'http{{importFileExtension}}';
|
||||||
import * as https from 'https{{importFileExtension}}';
|
import * as https from 'https{{importFileExtension}}';
|
||||||
|
@ -15,21 +15,11 @@
|
|||||||
],
|
],
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
{{#supportsES6}}
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"module": "./dist/index.js",
|
"module": "./dist/index.js",
|
||||||
{{/supportsES6}}
|
|
||||||
{{^supportsES6}}
|
|
||||||
"type": "commonjs",
|
|
||||||
{{/supportsES6}}
|
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
{{#supportsES6}}
|
|
||||||
"import": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
{{/supportsES6}}
|
|
||||||
{{^supportsES6}}
|
|
||||||
"require": "./dist/index.js",
|
|
||||||
{{/supportsES6}}
|
|
||||||
"types": "./dist/index.d.js"
|
"types": "./dist/index.d.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2,13 +2,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
/* Basic Options */
|
/* Basic Options */
|
||||||
{{#supportsES6}}
|
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
{{/supportsES6}}
|
|
||||||
{{^supportsES6}}
|
|
||||||
"target": "es5",
|
|
||||||
{{/supportsES6}}
|
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -15,10 +15,11 @@
|
|||||||
],
|
],
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"type": "commonjs",
|
"type": "module",
|
||||||
|
"module": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"require": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
"types": "./dist/index.d.js"
|
"types": "./dist/index.d.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
/* Basic Options */
|
/* Basic Options */
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
|
"esModuleInterop": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
"suppressImplicitAnyIndexErrors": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "es6",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
"browser": "./dist/Api.js",
|
"browser": "./dist/Api.js",
|
||||||
"typings": "./dist/Api.d.ts",
|
"typings": "./dist/Api.d.ts",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"core-js": "^2.4.0",
|
|
||||||
"isomorphic-fetch": "^2.2.1",
|
"isomorphic-fetch": "^2.2.1",
|
||||||
"aurelia-framework": "^1.3.1",
|
"aurelia-framework": "^1.3.1",
|
||||||
"aurelia-http-client": "^1.3.0"
|
"aurelia-http-client": "^1.3.0"
|
||||||
|
@ -18,4 +18,5 @@ model/some/levels/deep/pet.ts
|
|||||||
model/some/levels/deep/tag.ts
|
model/some/levels/deep/tag.ts
|
||||||
model/some/levels/deep/user.ts
|
model/some/levels/deep/user.ts
|
||||||
package.json
|
package.json
|
||||||
|
tsconfig.esm.json
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
|
@ -17,8 +17,10 @@
|
|||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"typings": "./dist/index.d.ts",
|
||||||
|
"module": "./dist/esm/index.js",
|
||||||
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc ",
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "ES5",
|
"target": "ES6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -8,4 +8,5 @@ configuration.ts
|
|||||||
git_push.sh
|
git_push.sh
|
||||||
index.ts
|
index.ts
|
||||||
package.json
|
package.json
|
||||||
|
tsconfig.esm.json
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
|
@ -17,8 +17,10 @@
|
|||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"typings": "./dist/index.d.ts",
|
||||||
|
"module": "./dist/esm/index.js",
|
||||||
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc ",
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "ES5",
|
"target": "ES6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -15,4 +15,5 @@ src/models/Tag.ts
|
|||||||
src/models/User.ts
|
src/models/User.ts
|
||||||
src/models/index.ts
|
src/models/index.ts
|
||||||
src/runtime.ts
|
src/runtime.ts
|
||||||
|
tsconfig.esm.json
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
|
@ -9,8 +9,10 @@
|
|||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"typings": "./dist/index.d.ts",
|
||||||
|
"module": "./dist/esm/index.js",
|
||||||
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -15,4 +15,5 @@ src/models/Tag.ts
|
|||||||
src/models/User.ts
|
src/models/User.ts
|
||||||
src/models/index.ts
|
src/models/index.ts
|
||||||
src/runtime.ts
|
src/runtime.ts
|
||||||
|
tsconfig.esm.json
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
|
@ -9,8 +9,10 @@
|
|||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"typings": "./dist/index.d.ts",
|
||||||
|
"module": "./dist/esm/index.js",
|
||||||
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -9,4 +9,5 @@ src/apis/index.ts
|
|||||||
src/index.ts
|
src/index.ts
|
||||||
src/models/index.ts
|
src/models/index.ts
|
||||||
src/runtime.ts
|
src/runtime.ts
|
||||||
|
tsconfig.esm.json
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
|
@ -9,8 +9,10 @@
|
|||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"typings": "./dist/index.d.ts",
|
"typings": "./dist/index.d.ts",
|
||||||
|
"module": "./dist/esm/index.js",
|
||||||
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
"suppressImplicitAnyIndexErrors": true,
|
||||||
"target": "ES5",
|
"target": "ES6",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"suppressImplicitAnyIndexErrors": true,
|
"suppressImplicitAnyIndexErrors": true,
|
||||||
"target": "ES5",
|
"target": "ES6",
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
|
@ -15,10 +15,11 @@
|
|||||||
],
|
],
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"type": "commonjs",
|
"type": "module",
|
||||||
|
"module": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"require": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
"types": "./dist/index.d.js"
|
"types": "./dist/index.d.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
/* Basic Options */
|
/* Basic Options */
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
|
"esModuleInterop": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
||||||
import {Configuration} from '../configuration';
|
import {Configuration} from '../configuration';
|
||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
import {ObjectSerializer} from '../models/ObjectSerializer';
|
import {ObjectSerializer} from '../models/ObjectSerializer';
|
||||||
import {ApiException} from './exception';
|
import {ApiException} from './exception';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
||||||
import {Configuration} from '../configuration';
|
import {Configuration} from '../configuration';
|
||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
import {ObjectSerializer} from '../models/ObjectSerializer';
|
import {ObjectSerializer} from '../models/ObjectSerializer';
|
||||||
import {ApiException} from './exception';
|
import {ApiException} from './exception';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
||||||
import {Configuration} from '../configuration';
|
import {Configuration} from '../configuration';
|
||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
import {ObjectSerializer} from '../models/ObjectSerializer';
|
import {ObjectSerializer} from '../models/ObjectSerializer';
|
||||||
import {ApiException} from './exception';
|
import {ApiException} from './exception';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// TODO: evaluate if we can easily get rid of this library
|
// TODO: evaluate if we can easily get rid of this library
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URL, URLSearchParams } from 'url';
|
import { URL, URLSearchParams } from 'url';
|
||||||
import * as http from 'http';
|
import * as http from 'http';
|
||||||
import * as https from 'https';
|
import * as https from 'https';
|
||||||
|
@ -15,10 +15,11 @@
|
|||||||
],
|
],
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"type": "commonjs",
|
"type": "module",
|
||||||
|
"module": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"require": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
"types": "./dist/index.d.js"
|
"types": "./dist/index.d.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
/* Basic Options */
|
/* Basic Options */
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
|
"esModuleInterop": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
||||||
import {Configuration} from '../configuration';
|
import {Configuration} from '../configuration';
|
||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
import {ObjectSerializer} from '../models/ObjectSerializer';
|
import {ObjectSerializer} from '../models/ObjectSerializer';
|
||||||
import {ApiException} from './exception';
|
import {ApiException} from './exception';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
||||||
import {Configuration} from '../configuration';
|
import {Configuration} from '../configuration';
|
||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
import {ObjectSerializer} from '../models/ObjectSerializer';
|
import {ObjectSerializer} from '../models/ObjectSerializer';
|
||||||
import {ApiException} from './exception';
|
import {ApiException} from './exception';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
||||||
import {Configuration} from '../configuration';
|
import {Configuration} from '../configuration';
|
||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
import {ObjectSerializer} from '../models/ObjectSerializer';
|
import {ObjectSerializer} from '../models/ObjectSerializer';
|
||||||
import {ApiException} from './exception';
|
import {ApiException} from './exception';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// TODO: evaluate if we can easily get rid of this library
|
// TODO: evaluate if we can easily get rid of this library
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URL, URLSearchParams } from 'url';
|
import { URL, URLSearchParams } from 'url';
|
||||||
import * as http from 'http';
|
import * as http from 'http';
|
||||||
import * as https from 'https';
|
import * as https from 'https';
|
||||||
|
@ -15,10 +15,11 @@
|
|||||||
],
|
],
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"type": "commonjs",
|
"type": "module",
|
||||||
|
"module": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"require": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
"types": "./dist/index.d.js"
|
"types": "./dist/index.d.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
/* Basic Options */
|
/* Basic Options */
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
|
"esModuleInterop": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
||||||
|
@ -15,10 +15,11 @@
|
|||||||
],
|
],
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"type": "commonjs",
|
"type": "module",
|
||||||
|
"module": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"require": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
"types": "./dist/index.d.js"
|
"types": "./dist/index.d.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
/* Basic Options */
|
/* Basic Options */
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
|
"esModuleInterop": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
||||||
import {Configuration} from '../configuration';
|
import {Configuration} from '../configuration';
|
||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
import {ObjectSerializer} from '../models/ObjectSerializer';
|
import {ObjectSerializer} from '../models/ObjectSerializer';
|
||||||
import {ApiException} from './exception';
|
import {ApiException} from './exception';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
||||||
import {Configuration} from '../configuration';
|
import {Configuration} from '../configuration';
|
||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
import {ObjectSerializer} from '../models/ObjectSerializer';
|
import {ObjectSerializer} from '../models/ObjectSerializer';
|
||||||
import {ApiException} from './exception';
|
import {ApiException} from './exception';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
import {BaseAPIRequestFactory, RequiredError, COLLECTION_FORMATS} from './baseapi';
|
||||||
import {Configuration} from '../configuration';
|
import {Configuration} from '../configuration';
|
||||||
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
import {RequestContext, HttpMethod, ResponseContext, HttpFile} from '../http/http';
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URLSearchParams } from 'url';
|
import { URLSearchParams } from 'url';
|
||||||
import {ObjectSerializer} from '../models/ObjectSerializer';
|
import {ObjectSerializer} from '../models/ObjectSerializer';
|
||||||
import {ApiException} from './exception';
|
import {ApiException} from './exception';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// TODO: evaluate if we can easily get rid of this library
|
// TODO: evaluate if we can easily get rid of this library
|
||||||
import * as FormData from "form-data";
|
import FormData from "form-data";
|
||||||
import { URL, URLSearchParams } from 'url';
|
import { URL, URLSearchParams } from 'url';
|
||||||
import * as http from 'http';
|
import * as http from 'http';
|
||||||
import * as https from 'https';
|
import * as https from 'https';
|
||||||
|
@ -15,10 +15,11 @@
|
|||||||
],
|
],
|
||||||
"license": "Unlicense",
|
"license": "Unlicense",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"type": "commonjs",
|
"type": "module",
|
||||||
|
"module": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"require": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
"types": "./dist/index.d.js"
|
"types": "./dist/index.d.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
/* Basic Options */
|
/* Basic Options */
|
||||||
"target": "es5",
|
"target": "es6",
|
||||||
|
"esModuleInterop": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user