@matech/thebigpos-sdk 2.36.4 → 2.36.9-rc0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/README.md +73 -73
- package/dist/index.d.ts +11 -34
- package/dist/index.js +7 -19
- package/dist/index.js.map +1 -1
- package/docs/sdk_generation.md +149 -149
- package/package.json +39 -39
- package/scripts/apply-json-patch-content-type.js +56 -56
- package/src/index.ts +23 -61
- package/tsconfig.json +27 -27
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@matech/thebigpos-sdk",
|
|
3
|
-
"version": "2.36.
|
|
4
|
-
"description": "The Big POS Typescript SDK",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "rimraf dist && tsc",
|
|
9
|
-
"test": "mocha -r ts-node/register 'src/api_test.spec.ts' --exit",
|
|
10
|
-
"browserify": "tsc && esbuild dist/index.js --bundle --minify --sourcemap --global-name=thebigpos --outfile=dist/thebigpos.min.js",
|
|
11
|
-
"prepare": "husky"
|
|
12
|
-
},
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript.git"
|
|
16
|
-
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"pos",
|
|
19
|
-
"loans",
|
|
20
|
-
"mortgage",
|
|
21
|
-
"automation"
|
|
22
|
-
],
|
|
23
|
-
"author": "Mortgage Automation Technologies",
|
|
24
|
-
"license": "MIT",
|
|
25
|
-
"bugs": {
|
|
26
|
-
"url": "https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript/issues"
|
|
27
|
-
},
|
|
28
|
-
"homepage": "https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript#readme",
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"axios": "^1.13.5"
|
|
31
|
-
},
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"esbuild": "^0.27.0",
|
|
34
|
-
"husky": "^9.1.5",
|
|
35
|
-
"rimraf": "6.1.1",
|
|
36
|
-
"ts-node": "^10.9.2",
|
|
37
|
-
"typescript": "^5.5.4"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@matech/thebigpos-sdk",
|
|
3
|
+
"version": "2.36.9-rc0",
|
|
4
|
+
"description": "The Big POS Typescript SDK",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "rimraf dist && tsc",
|
|
9
|
+
"test": "mocha -r ts-node/register 'src/api_test.spec.ts' --exit",
|
|
10
|
+
"browserify": "tsc && esbuild dist/index.js --bundle --minify --sourcemap --global-name=thebigpos --outfile=dist/thebigpos.min.js",
|
|
11
|
+
"prepare": "husky"
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript.git"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"pos",
|
|
19
|
+
"loans",
|
|
20
|
+
"mortgage",
|
|
21
|
+
"automation"
|
|
22
|
+
],
|
|
23
|
+
"author": "Mortgage Automation Technologies",
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript#readme",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"axios": "^1.13.5"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"esbuild": "^0.27.0",
|
|
34
|
+
"husky": "^9.1.5",
|
|
35
|
+
"rimraf": "6.1.1",
|
|
36
|
+
"ts-node": "^10.9.2",
|
|
37
|
+
"typescript": "^5.5.4"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
/*
|
|
2
|
-
This script is meant to run after the SDK has been generated.
|
|
3
|
-
|
|
4
|
-
- It updates the generated code to ensure that all PATCH methods use ContentType.JsonPatch.
|
|
5
|
-
- It also ensures that the ContentType enum includes JsonPatch and modifies the Operation interface
|
|
6
|
-
to allow any value for the `value` property instead of just object or null.
|
|
7
|
-
|
|
8
|
-
This is necessary because the SDK generation does not currently handle these cases correctly.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
const fs = require('fs')
|
|
12
|
-
|
|
13
|
-
const path = require('path').resolve(__dirname, '../src/index.ts')
|
|
14
|
-
|
|
15
|
-
if (!fs.existsSync(path)) {
|
|
16
|
-
console.error(`Error: File not found at path "${path}". Please ensure the SDK has been generated.`)
|
|
17
|
-
process.exit(1)
|
|
18
|
-
}
|
|
19
|
-
let content
|
|
20
|
-
try {
|
|
21
|
-
content = fs.readFileSync(path, 'utf8')
|
|
22
|
-
} catch (err) {
|
|
23
|
-
console.error(`Error: Unable to read file at path "${path}". Details: ${err.message}`)
|
|
24
|
-
process.exit(1)
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Update PATCH methods to use ContentType.JsonPatch
|
|
28
|
-
content = content.replace(
|
|
29
|
-
/(method:\s*"PATCH"[\s\S]+?)type:\s*ContentType\.Json/g,
|
|
30
|
-
(match) => match.replace('ContentType.Json', 'ContentType.JsonPatch')
|
|
31
|
-
)
|
|
32
|
-
|
|
33
|
-
// Ensure JsonPatch is included in the ContentType enum
|
|
34
|
-
content = content.replace(
|
|
35
|
-
/export enum ContentType\s*{([\s\S]*?)}/,
|
|
36
|
-
(match, enumBody) => {
|
|
37
|
-
if (enumBody.includes('JsonPatch')) return match
|
|
38
|
-
const insertion = ` JsonPatch = "application/json-patch+json",\n `
|
|
39
|
-
return `export enum ContentType {\n${insertion}${enumBody.trim()}\n}`
|
|
40
|
-
}
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
// Fix the Operation interface to allow any value
|
|
44
|
-
content = content.replace(
|
|
45
|
-
/export interface Operation\s*{([\s\S]*?)}/,
|
|
46
|
-
(match, body) => {
|
|
47
|
-
const updated = body.replace(
|
|
48
|
-
/value\?:\s*object\s*\|?\s*null?;/,
|
|
49
|
-
'value?: string | number | boolean | null | object;'
|
|
50
|
-
)
|
|
51
|
-
return `export interface Operation {\n ${updated.trim()}\n}`
|
|
52
|
-
}
|
|
53
|
-
)
|
|
54
|
-
|
|
55
|
-
fs.writeFileSync(path, content)
|
|
56
|
-
console.log('SDK patch complete: All PATCH methods now use ContentType.JsonPatch.')
|
|
1
|
+
/*
|
|
2
|
+
This script is meant to run after the SDK has been generated.
|
|
3
|
+
|
|
4
|
+
- It updates the generated code to ensure that all PATCH methods use ContentType.JsonPatch.
|
|
5
|
+
- It also ensures that the ContentType enum includes JsonPatch and modifies the Operation interface
|
|
6
|
+
to allow any value for the `value` property instead of just object or null.
|
|
7
|
+
|
|
8
|
+
This is necessary because the SDK generation does not currently handle these cases correctly.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const fs = require('fs')
|
|
12
|
+
|
|
13
|
+
const path = require('path').resolve(__dirname, '../src/index.ts')
|
|
14
|
+
|
|
15
|
+
if (!fs.existsSync(path)) {
|
|
16
|
+
console.error(`Error: File not found at path "${path}". Please ensure the SDK has been generated.`)
|
|
17
|
+
process.exit(1)
|
|
18
|
+
}
|
|
19
|
+
let content
|
|
20
|
+
try {
|
|
21
|
+
content = fs.readFileSync(path, 'utf8')
|
|
22
|
+
} catch (err) {
|
|
23
|
+
console.error(`Error: Unable to read file at path "${path}". Details: ${err.message}`)
|
|
24
|
+
process.exit(1)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Update PATCH methods to use ContentType.JsonPatch
|
|
28
|
+
content = content.replace(
|
|
29
|
+
/(method:\s*"PATCH"[\s\S]+?)type:\s*ContentType\.Json/g,
|
|
30
|
+
(match) => match.replace('ContentType.Json', 'ContentType.JsonPatch')
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
// Ensure JsonPatch is included in the ContentType enum
|
|
34
|
+
content = content.replace(
|
|
35
|
+
/export enum ContentType\s*{([\s\S]*?)}/,
|
|
36
|
+
(match, enumBody) => {
|
|
37
|
+
if (enumBody.includes('JsonPatch')) return match
|
|
38
|
+
const insertion = ` JsonPatch = "application/json-patch+json",\n `
|
|
39
|
+
return `export enum ContentType {\n${insertion}${enumBody.trim()}\n}`
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
// Fix the Operation interface to allow any value
|
|
44
|
+
content = content.replace(
|
|
45
|
+
/export interface Operation\s*{([\s\S]*?)}/,
|
|
46
|
+
(match, body) => {
|
|
47
|
+
const updated = body.replace(
|
|
48
|
+
/value\?:\s*object\s*\|?\s*null?;/,
|
|
49
|
+
'value?: string | number | boolean | null | object;'
|
|
50
|
+
)
|
|
51
|
+
return `export interface Operation {\n ${updated.trim()}\n}`
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
fs.writeFileSync(path, content)
|
|
56
|
+
console.log('SDK patch complete: All PATCH methods now use ContentType.JsonPatch.')
|
package/src/index.ts
CHANGED
|
@@ -304,8 +304,6 @@ export type FilterType =
|
|
|
304
304
|
| "StringNotEquals"
|
|
305
305
|
| "StringNotContains";
|
|
306
306
|
|
|
307
|
-
export type Environment = "Development" | "Staging" | "UAT" | "Production";
|
|
308
|
-
|
|
309
307
|
export type EntityType =
|
|
310
308
|
| "Account"
|
|
311
309
|
| "Corporate"
|
|
@@ -319,10 +317,10 @@ export type EncompassLogOperationType =
|
|
|
319
317
|
| "FieldUpdate"
|
|
320
318
|
| "EConsentUpdate"
|
|
321
319
|
| "DocumentSync"
|
|
322
|
-
| "
|
|
323
|
-
| "
|
|
324
|
-
| "
|
|
325
|
-
| "
|
|
320
|
+
| "MilestoneUpdate"
|
|
321
|
+
| "DocumentAttachment"
|
|
322
|
+
| "General"
|
|
323
|
+
| "FieldReader";
|
|
326
324
|
|
|
327
325
|
export type DraftType = "NewLoan" | "EditLoan";
|
|
328
326
|
|
|
@@ -1011,19 +1009,15 @@ export interface CreateAccountRequest {
|
|
|
1011
1009
|
/** @minLength 1 */
|
|
1012
1010
|
domain: string;
|
|
1013
1011
|
eConsentBucket?: string | null;
|
|
1014
|
-
ignoreCoBorrowerRelationship: boolean;
|
|
1015
1012
|
user: AdminUser;
|
|
1016
1013
|
companyAddress: CompanyAddress;
|
|
1017
1014
|
contactInfo: ContactInfo;
|
|
1018
|
-
theme: Theme;
|
|
1019
1015
|
/**
|
|
1020
1016
|
* @format int64
|
|
1021
1017
|
* @min 0
|
|
1022
1018
|
*/
|
|
1023
1019
|
nlmsid: number;
|
|
1024
1020
|
settings: AccountSettingsRequest;
|
|
1025
|
-
environment: CreateAccountRequestEnvironmentEnum;
|
|
1026
|
-
losIntegration: LOSIntegration;
|
|
1027
1021
|
billingSettings: AccountBillingRequest;
|
|
1028
1022
|
}
|
|
1029
1023
|
|
|
@@ -2027,10 +2021,6 @@ export interface Invite {
|
|
|
2027
2021
|
/** Array of operations to perform */
|
|
2028
2022
|
export type JsonPatchDocument = Operation[];
|
|
2029
2023
|
|
|
2030
|
-
export interface LOSIntegration {
|
|
2031
|
-
instanceID: string;
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
2024
|
export interface LOSSettings {
|
|
2035
2025
|
retailLoanClosingDateFieldID: string;
|
|
2036
2026
|
wholesaleLoanClosingDateFieldID: string;
|
|
@@ -2191,6 +2181,8 @@ export interface Loan {
|
|
|
2191
2181
|
lastLosDocumentsSyncDate?: string | null;
|
|
2192
2182
|
isLocked: boolean;
|
|
2193
2183
|
isLockedFromEditing: boolean;
|
|
2184
|
+
/** @format date-time */
|
|
2185
|
+
sensitiveDataPurgedOn?: string | null;
|
|
2194
2186
|
excludeFromAutoTaskReminders?: boolean | null;
|
|
2195
2187
|
loanSettings?: LoanSettings | null;
|
|
2196
2188
|
loanOfficer?: LoanOfficer | null;
|
|
@@ -3211,6 +3203,8 @@ export interface LoanDocument {
|
|
|
3211
3203
|
losStatus: string;
|
|
3212
3204
|
contents?: string | null;
|
|
3213
3205
|
failoverDocumentPath?: string | null;
|
|
3206
|
+
/** @format date-time */
|
|
3207
|
+
sensitiveDataPurgedOn?: string | null;
|
|
3214
3208
|
}
|
|
3215
3209
|
|
|
3216
3210
|
export interface LoanDocumentSearch {
|
|
@@ -3230,6 +3224,8 @@ export interface LoanDocumentSearch {
|
|
|
3230
3224
|
losStatus: string;
|
|
3231
3225
|
contents?: string | null;
|
|
3232
3226
|
failoverDocumentPath?: string | null;
|
|
3227
|
+
/** @format date-time */
|
|
3228
|
+
sensitiveDataPurgedOn?: string | null;
|
|
3233
3229
|
}
|
|
3234
3230
|
|
|
3235
3231
|
export interface LoanDocumentSearchCriteria {
|
|
@@ -5144,15 +5140,6 @@ export interface TestSendNotificationForLoanRequest {
|
|
|
5144
5140
|
attachments: Attachment[];
|
|
5145
5141
|
}
|
|
5146
5142
|
|
|
5147
|
-
export interface Theme {
|
|
5148
|
-
logoURL: string;
|
|
5149
|
-
primaryColor: string;
|
|
5150
|
-
secondaryColor: string;
|
|
5151
|
-
backgroundColor?: string | null;
|
|
5152
|
-
textColor?: string | null;
|
|
5153
|
-
iconColor?: string | null;
|
|
5154
|
-
}
|
|
5155
|
-
|
|
5156
5143
|
export interface TimeAtAddress {
|
|
5157
5144
|
/** @format uuid */
|
|
5158
5145
|
id?: string | null;
|
|
@@ -5321,7 +5308,7 @@ export interface UpdateMeRequest {
|
|
|
5321
5308
|
email: string;
|
|
5322
5309
|
title?: string | null;
|
|
5323
5310
|
forcePasswordReset: boolean;
|
|
5324
|
-
mfaEnabled
|
|
5311
|
+
mfaEnabled?: boolean | null;
|
|
5325
5312
|
notificationSettings: UserNotificationSettingsUpdateRequest;
|
|
5326
5313
|
/** @format uuid */
|
|
5327
5314
|
preferredLoanOfficerId?: string | null;
|
|
@@ -5358,7 +5345,7 @@ export interface UpdateUserRequest {
|
|
|
5358
5345
|
/** @format uuid */
|
|
5359
5346
|
branchId?: string | null;
|
|
5360
5347
|
forcePasswordReset: boolean;
|
|
5361
|
-
mfaEnabled
|
|
5348
|
+
mfaEnabled?: boolean | null;
|
|
5362
5349
|
/** @format uuid */
|
|
5363
5350
|
preferredLoanOfficerId?: string | null;
|
|
5364
5351
|
}
|
|
@@ -5844,12 +5831,6 @@ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
|
5844
5831
|
|
|
5845
5832
|
export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
|
|
5846
5833
|
|
|
5847
|
-
export type CreateAccountRequestEnvironmentEnum =
|
|
5848
|
-
| "Development"
|
|
5849
|
-
| "Staging"
|
|
5850
|
-
| "UAT"
|
|
5851
|
-
| "Production";
|
|
5852
|
-
|
|
5853
5834
|
export type CreateGroupMemberRequestLoanRoleEnum =
|
|
5854
5835
|
| "Borrower"
|
|
5855
5836
|
| "CoBorrower"
|
|
@@ -5897,10 +5878,10 @@ export type EncompassRequestLogOperationTypeEnum =
|
|
|
5897
5878
|
| "FieldUpdate"
|
|
5898
5879
|
| "EConsentUpdate"
|
|
5899
5880
|
| "DocumentSync"
|
|
5900
|
-
| "
|
|
5901
|
-
| "
|
|
5902
|
-
| "
|
|
5903
|
-
| "
|
|
5881
|
+
| "MilestoneUpdate"
|
|
5882
|
+
| "DocumentAttachment"
|
|
5883
|
+
| "General"
|
|
5884
|
+
| "FieldReader";
|
|
5904
5885
|
|
|
5905
5886
|
export type EncompassRequestLogOutcomeEnum =
|
|
5906
5887
|
| "Success"
|
|
@@ -6316,7 +6297,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
6316
6297
|
|
|
6317
6298
|
/**
|
|
6318
6299
|
* @title The Big POS API
|
|
6319
|
-
* @version v2.36.
|
|
6300
|
+
* @version v2.36.9
|
|
6320
6301
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
6321
6302
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
6322
6303
|
*/
|
|
@@ -8572,7 +8553,7 @@ export class Api<
|
|
|
8572
8553
|
method: "PATCH",
|
|
8573
8554
|
body: data,
|
|
8574
8555
|
secure: true,
|
|
8575
|
-
type: ContentType.
|
|
8556
|
+
type: ContentType.JsonPatch,
|
|
8576
8557
|
format: "json",
|
|
8577
8558
|
...params,
|
|
8578
8559
|
}),
|
|
@@ -8682,7 +8663,7 @@ export class Api<
|
|
|
8682
8663
|
method: "PATCH",
|
|
8683
8664
|
body: data,
|
|
8684
8665
|
secure: true,
|
|
8685
|
-
type: ContentType.
|
|
8666
|
+
type: ContentType.JsonPatch,
|
|
8686
8667
|
format: "json",
|
|
8687
8668
|
...params,
|
|
8688
8669
|
}),
|
|
@@ -8709,7 +8690,7 @@ export class Api<
|
|
|
8709
8690
|
method: "PATCH",
|
|
8710
8691
|
body: data,
|
|
8711
8692
|
secure: true,
|
|
8712
|
-
type: ContentType.
|
|
8693
|
+
type: ContentType.JsonPatch,
|
|
8713
8694
|
format: "json",
|
|
8714
8695
|
...params,
|
|
8715
8696
|
}),
|
|
@@ -8951,7 +8932,7 @@ export class Api<
|
|
|
8951
8932
|
method: "PATCH",
|
|
8952
8933
|
body: data,
|
|
8953
8934
|
secure: true,
|
|
8954
|
-
type: ContentType.
|
|
8935
|
+
type: ContentType.JsonPatch,
|
|
8955
8936
|
format: "json",
|
|
8956
8937
|
...params,
|
|
8957
8938
|
}),
|
|
@@ -9031,7 +9012,7 @@ export class Api<
|
|
|
9031
9012
|
method: "PATCH",
|
|
9032
9013
|
body: data,
|
|
9033
9014
|
secure: true,
|
|
9034
|
-
type: ContentType.
|
|
9015
|
+
type: ContentType.JsonPatch,
|
|
9035
9016
|
format: "json",
|
|
9036
9017
|
...params,
|
|
9037
9018
|
}),
|
|
@@ -10551,25 +10532,6 @@ export class Api<
|
|
|
10551
10532
|
...params,
|
|
10552
10533
|
}),
|
|
10553
10534
|
|
|
10554
|
-
/**
|
|
10555
|
-
* No description
|
|
10556
|
-
*
|
|
10557
|
-
* @tags LoanSensitiveDataPurge
|
|
10558
|
-
* @name PurgeSensitiveLoanData
|
|
10559
|
-
* @summary Manually trigger sensitive data purge for a specific loan
|
|
10560
|
-
* @request POST:/api/loans/sensitive-data-purge/{loanId}
|
|
10561
|
-
* @secure
|
|
10562
|
-
* @response `204` `void` No Content
|
|
10563
|
-
* @response `404` `ProblemDetails` Not Found
|
|
10564
|
-
*/
|
|
10565
|
-
purgeSensitiveLoanData: (loanId: string, params: RequestParams = {}) =>
|
|
10566
|
-
this.request<void, ProblemDetails>({
|
|
10567
|
-
path: `/api/loans/sensitive-data-purge/${loanId}`,
|
|
10568
|
-
method: "POST",
|
|
10569
|
-
secure: true,
|
|
10570
|
-
...params,
|
|
10571
|
-
}),
|
|
10572
|
-
|
|
10573
10535
|
/**
|
|
10574
10536
|
* No description
|
|
10575
10537
|
*
|
|
@@ -10601,7 +10563,7 @@ export class Api<
|
|
|
10601
10563
|
query: query,
|
|
10602
10564
|
body: data,
|
|
10603
10565
|
secure: true,
|
|
10604
|
-
type: ContentType.
|
|
10566
|
+
type: ContentType.JsonPatch,
|
|
10605
10567
|
format: "json",
|
|
10606
10568
|
...params,
|
|
10607
10569
|
}),
|
package/tsconfig.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es6",
|
|
4
|
-
"module": "esnext",
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"sourceMap": true,
|
|
7
|
-
"outDir": "./dist",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"moduleResolution": "node",
|
|
10
|
-
"baseUrl": "./",
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"paths": {
|
|
13
|
-
"*": [
|
|
14
|
-
"node_modules/*"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"typeRoots": [
|
|
18
|
-
"./node_modules/@types"
|
|
19
|
-
],
|
|
20
|
-
"esModuleInterop": true,
|
|
21
|
-
"skipLibCheck": true,
|
|
22
|
-
"forceConsistentCasingInFileNames": true,
|
|
23
|
-
"resolveJsonModule": true
|
|
24
|
-
},
|
|
25
|
-
"include": ["./src/**/*"],
|
|
26
|
-
"exclude": ["./dist"]
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es6",
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"sourceMap": true,
|
|
7
|
+
"outDir": "./dist",
|
|
8
|
+
"strict": true,
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"baseUrl": "./",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"paths": {
|
|
13
|
+
"*": [
|
|
14
|
+
"node_modules/*"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"typeRoots": [
|
|
18
|
+
"./node_modules/@types"
|
|
19
|
+
],
|
|
20
|
+
"esModuleInterop": true,
|
|
21
|
+
"skipLibCheck": true,
|
|
22
|
+
"forceConsistentCasingInFileNames": true,
|
|
23
|
+
"resolveJsonModule": true
|
|
24
|
+
},
|
|
25
|
+
"include": ["./src/**/*"],
|
|
26
|
+
"exclude": ["./dist"]
|
|
27
|
+
}
|