nestia 3.0.13 → 3.0.14-dev.20220930

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.
@@ -71,6 +71,8 @@ var ControllerAnalyzer;
71
71
  const common = Object.assign(Object.assign({}, func), { parameters,
72
72
  output,
73
73
  imports, symbol: `${controller.name}.${func.name}()`, comments: signature.getDocumentationComment(undefined), tags: signature.getJsDocTags() });
74
+ if (common.tags.find(tag => tag.name === "internal"))
75
+ return [];
74
76
  // CONFIGURE PATHS
75
77
  const pathList = [];
76
78
  for (const controllerPath of controller.paths)
@@ -1 +1 @@
1
- {"version":3,"file":"ControllerAnalyzer.js","sourceRoot":"","sources":["../../src/analyses/ControllerAnalyzer.ts"],"names":[],"mappings":";;;;;;AAAA,4DAA4B;AAC5B,oDAAiD;AAMjD,uDAAoD;AACpD,qDAAkD;AAClD,iDAA8C;AAE9C,IAAiB,kBAAkB,CAgMlC;AAhMD,WAAiB,kBAAkB;IAC/B,SAAgB,OAAO,CACnB,OAAuB,EACvB,UAAyB,EACzB,UAAuB;QAEvB,wBAAwB;QACxB,MAAM,GAAG,GAAa,EAAE,CAAC;QACzB,oBAAE,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE;;YACjC,IACI,oBAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC;gBAC3B,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,WAAW,MAAK,UAAU,CAAC,IAAI,EAC5C;gBACE,yBAAyB;gBACzB,GAAG,CAAC,IAAI,CAAC,GAAG,mBAAmB,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;gBAC5D,OAAO;aACV;QACL,CAAC,CAAC,CAAC;QACH,OAAO,GAAG,CAAC;IACf,CAAC;IAlBe,0BAAO,UAkBtB,CAAA;IAED;;gEAE4D;IAC5D,SAAS,mBAAmB,CACxB,OAAuB,EACvB,UAAuB,EACvB,SAA8B;QAE9B,MAAM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AAI,EAAE,EAAE,CAAC,iCACvB,MAAM,KACT,IAAI,IACN,CAAC,CAAC;IACR,CAAC;IAED;;gEAE4D;IAC5D,SAAS,kBAAkB,CACvB,OAAuB,EACvB,WAAuC,EACvC,UAAqC,EACrC,UAAuB,EACvB,QAAgB,EAChB,KAA6B,EAC7B,MAAiB;QAEjB,MAAM,IAAI,GAAY,OAAO,CAAC,yBAAyB,CACnD,MAAM,EACN,MAAM,CAAC,gBAAiB,CAC3B,CAAC;QACF,MAAM,IAAI,GAAW,MAAM,CAAC,cAAc,EAAE,CAAC,QAAQ,EAAE,CAAC;QAExD,gCAAgC;QAChC,IAAI,KAAK,CAAC,QAAQ,KAAK,MAAM,IAAI,KAAK,CAAC,KAAK,KAAK,SAAS,EAAE;YACxD,MAAM,MAAM,GAAW,GAAG,UAAU,CAAC,IAAI,IAAI,QAAQ,IAAI,CAAC;YAC1D,MAAM,IAAI,KAAK,CACX,YAAY,MAAM,sDAAsD;gBACpE,wBAAwB,MAAM,IAAI,IAAI,iBAAiB;gBACvD,mEAAmE,CAC1E,CAAC;SACL;QAED,OAAO;YACH,IAAI;YACJ,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,SAAS,EAAE,KAAK,CAAC,SAAS;YAC1B,IAAI,EAAE,+BAAc,CAAC,OAAO,CACxB,OAAO,EACP,WAAW,EACX,UAAU,EACV,IAAI,CACP;SACJ,CAAC;IACN,CAAC;AACL,CAAC,EAlMgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAkMlC"}
@@ -63,10 +63,10 @@ var NestiaConfig;
63
63
  throw new Error("Error on NestiaConfig.get(): failed to load data");
64
64
  const config = typeof loaded.default === "object" ? loaded.default : loaded;
65
65
  return (input => { ((input, path = "$input") => {
66
- const $pred = typescript_json_1.assertType.predicate;
66
+ const $predicate = typescript_json_1.assertType.predicate;
67
67
  const $ao = [
68
- (input, path, exceptionable) => $pred(null !== input.input && undefined !== input.input && $pred("string" === typeof input.input || Array.isArray(input.input) && input.input.every((elem, index8010919627192961) => $pred("string" === typeof elem, exceptionable, () => ({
69
- path: path + ".input[" + index8010919627192961 + "]",
68
+ (input, path, exceptionable) => $predicate(null !== input.input && undefined !== input.input && $predicate("string" === typeof input.input || Array.isArray(input.input) && input.input.every((elem, index1) => $predicate("string" === typeof elem, exceptionable, () => ({
69
+ path: path + ".input[" + index1 + "]",
70
70
  expected: "string",
71
71
  value: elem
72
72
  }))) || "object" === typeof input.input && null !== input.input && $ao[1](input.input, path + ".input", true && exceptionable), exceptionable, () => ({
@@ -77,11 +77,11 @@ var NestiaConfig;
77
77
  path: path + ".input",
78
78
  expected: "(Array<string> | Resolve<IConfiguration.IInput> | string)",
79
79
  value: input.input
80
- })) && $pred(undefined === input.output || "string" === typeof input.output, exceptionable, () => ({
80
+ })) && $predicate(undefined === input.output || "string" === typeof input.output, exceptionable, () => ({
81
81
  path: path + ".output",
82
82
  expected: "(string | undefined)",
83
83
  value: input.output
84
- })) && $pred(null !== input.compilerOptions && $pred(undefined === input.compilerOptions || "object" === typeof input.compilerOptions && null !== input.compilerOptions && $ao[2](input.compilerOptions, path + ".compilerOptions", true && exceptionable), exceptionable, () => ({
84
+ })) && $predicate(null !== input.compilerOptions && $predicate(undefined === input.compilerOptions || "object" === typeof input.compilerOptions && null !== input.compilerOptions && $ao[2](input.compilerOptions, path + ".compilerOptions", true && exceptionable), exceptionable, () => ({
85
85
  path: path + ".compilerOptions",
86
86
  expected: "(Resolve<__type.o1> | undefined)",
87
87
  value: input.compilerOptions
@@ -89,19 +89,19 @@ var NestiaConfig;
89
89
  path: path + ".compilerOptions",
90
90
  expected: "(Resolve<__type.o1> | undefined)",
91
91
  value: input.compilerOptions
92
- })) && $pred(undefined === input.assert || "boolean" === typeof input.assert, exceptionable, () => ({
92
+ })) && $predicate(undefined === input.assert || "boolean" === typeof input.assert, exceptionable, () => ({
93
93
  path: path + ".assert",
94
94
  expected: "(boolean | undefined)",
95
95
  value: input.assert
96
- })) && $pred(undefined === input.json || "boolean" === typeof input.json, exceptionable, () => ({
96
+ })) && $predicate(undefined === input.json || "boolean" === typeof input.json, exceptionable, () => ({
97
97
  path: path + ".json",
98
98
  expected: "(boolean | undefined)",
99
99
  value: input.json
100
- })) && $pred(undefined === input.primitive || "boolean" === typeof input.primitive, exceptionable, () => ({
100
+ })) && $predicate(undefined === input.primitive || "boolean" === typeof input.primitive, exceptionable, () => ({
101
101
  path: path + ".primitive",
102
102
  expected: "(boolean | undefined)",
103
103
  value: input.primitive
104
- })) && $pred(null !== input.swagger && $pred(undefined === input.swagger || "object" === typeof input.swagger && null !== input.swagger && $ao[4](input.swagger, path + ".swagger", true && exceptionable), exceptionable, () => ({
104
+ })) && $predicate(null !== input.swagger && $predicate(undefined === input.swagger || "object" === typeof input.swagger && null !== input.swagger && $ao[4](input.swagger, path + ".swagger", true && exceptionable), exceptionable, () => ({
105
105
  path: path + ".swagger",
106
106
  expected: "(Resolve<IConfiguration.ISwagger> | undefined)",
107
107
  value: input.swagger
@@ -110,16 +110,16 @@ var NestiaConfig;
110
110
  expected: "(Resolve<IConfiguration.ISwagger> | undefined)",
111
111
  value: input.swagger
112
112
  })),
113
- (input, path, exceptionable) => $pred(Array.isArray(input.include) && input.include.every((elem, index3177272049394029) => $pred("string" === typeof elem, exceptionable, () => ({
114
- path: path + ".include[" + index3177272049394029 + "]",
113
+ (input, path, exceptionable) => $predicate(Array.isArray(input.include) && input.include.every((elem, index2) => $predicate("string" === typeof elem, exceptionable, () => ({
114
+ path: path + ".include[" + index2 + "]",
115
115
  expected: "string",
116
116
  value: elem
117
117
  }))), exceptionable, () => ({
118
118
  path: path + ".include",
119
119
  expected: "Array<string>",
120
120
  value: input.include
121
- })) && $pred(undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem, index5771929097835) => $pred("string" === typeof elem, exceptionable, () => ({
122
- path: path + ".exclude[" + index5771929097835 + "]",
121
+ })) && $predicate(undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem, index3) => $predicate("string" === typeof elem, exceptionable, () => ({
122
+ path: path + ".exclude[" + index3 + "]",
123
123
  expected: "string",
124
124
  value: elem
125
125
  }))), exceptionable, () => ({
@@ -127,223 +127,223 @@ var NestiaConfig;
127
127
  expected: "(Array<string> | undefined)",
128
128
  value: input.exclude
129
129
  })),
130
- (input, path, exceptionable) => $pred(undefined === input.allowJs || "boolean" === typeof input.allowJs, exceptionable, () => ({
130
+ (input, path, exceptionable) => $predicate(undefined === input.allowJs || "boolean" === typeof input.allowJs, exceptionable, () => ({
131
131
  path: path + ".allowJs",
132
132
  expected: "(boolean | undefined)",
133
133
  value: input.allowJs
134
- })) && $pred(undefined === input.allowSyntheticDefaultImports || "boolean" === typeof input.allowSyntheticDefaultImports, exceptionable, () => ({
134
+ })) && $predicate(undefined === input.allowSyntheticDefaultImports || "boolean" === typeof input.allowSyntheticDefaultImports, exceptionable, () => ({
135
135
  path: path + ".allowSyntheticDefaultImports",
136
136
  expected: "(boolean | undefined)",
137
137
  value: input.allowSyntheticDefaultImports
138
- })) && $pred(undefined === input.allowUmdGlobalAccess || "boolean" === typeof input.allowUmdGlobalAccess, exceptionable, () => ({
138
+ })) && $predicate(undefined === input.allowUmdGlobalAccess || "boolean" === typeof input.allowUmdGlobalAccess, exceptionable, () => ({
139
139
  path: path + ".allowUmdGlobalAccess",
140
140
  expected: "(boolean | undefined)",
141
141
  value: input.allowUmdGlobalAccess
142
- })) && $pred(undefined === input.allowUnreachableCode || "boolean" === typeof input.allowUnreachableCode, exceptionable, () => ({
142
+ })) && $predicate(undefined === input.allowUnreachableCode || "boolean" === typeof input.allowUnreachableCode, exceptionable, () => ({
143
143
  path: path + ".allowUnreachableCode",
144
144
  expected: "(boolean | undefined)",
145
145
  value: input.allowUnreachableCode
146
- })) && $pred(undefined === input.allowUnusedLabels || "boolean" === typeof input.allowUnusedLabels, exceptionable, () => ({
146
+ })) && $predicate(undefined === input.allowUnusedLabels || "boolean" === typeof input.allowUnusedLabels, exceptionable, () => ({
147
147
  path: path + ".allowUnusedLabels",
148
148
  expected: "(boolean | undefined)",
149
149
  value: input.allowUnusedLabels
150
- })) && $pred(undefined === input.alwaysStrict || "boolean" === typeof input.alwaysStrict, exceptionable, () => ({
150
+ })) && $predicate(undefined === input.alwaysStrict || "boolean" === typeof input.alwaysStrict, exceptionable, () => ({
151
151
  path: path + ".alwaysStrict",
152
152
  expected: "(boolean | undefined)",
153
153
  value: input.alwaysStrict
154
- })) && $pred(undefined === input.baseUrl || "string" === typeof input.baseUrl, exceptionable, () => ({
154
+ })) && $predicate(undefined === input.baseUrl || "string" === typeof input.baseUrl, exceptionable, () => ({
155
155
  path: path + ".baseUrl",
156
156
  expected: "(string | undefined)",
157
157
  value: input.baseUrl
158
- })) && $pred(undefined === input.charset || "string" === typeof input.charset, exceptionable, () => ({
158
+ })) && $predicate(undefined === input.charset || "string" === typeof input.charset, exceptionable, () => ({
159
159
  path: path + ".charset",
160
160
  expected: "(string | undefined)",
161
161
  value: input.charset
162
- })) && $pred(undefined === input.checkJs || "boolean" === typeof input.checkJs, exceptionable, () => ({
162
+ })) && $predicate(undefined === input.checkJs || "boolean" === typeof input.checkJs, exceptionable, () => ({
163
163
  path: path + ".checkJs",
164
164
  expected: "(boolean | undefined)",
165
165
  value: input.checkJs
166
- })) && $pred(undefined === input.declaration || "boolean" === typeof input.declaration, exceptionable, () => ({
166
+ })) && $predicate(undefined === input.declaration || "boolean" === typeof input.declaration, exceptionable, () => ({
167
167
  path: path + ".declaration",
168
168
  expected: "(boolean | undefined)",
169
169
  value: input.declaration
170
- })) && $pred(undefined === input.declarationMap || "boolean" === typeof input.declarationMap, exceptionable, () => ({
170
+ })) && $predicate(undefined === input.declarationMap || "boolean" === typeof input.declarationMap, exceptionable, () => ({
171
171
  path: path + ".declarationMap",
172
172
  expected: "(boolean | undefined)",
173
173
  value: input.declarationMap
174
- })) && $pred(undefined === input.emitDeclarationOnly || "boolean" === typeof input.emitDeclarationOnly, exceptionable, () => ({
174
+ })) && $predicate(undefined === input.emitDeclarationOnly || "boolean" === typeof input.emitDeclarationOnly, exceptionable, () => ({
175
175
  path: path + ".emitDeclarationOnly",
176
176
  expected: "(boolean | undefined)",
177
177
  value: input.emitDeclarationOnly
178
- })) && $pred(undefined === input.declarationDir || "string" === typeof input.declarationDir, exceptionable, () => ({
178
+ })) && $predicate(undefined === input.declarationDir || "string" === typeof input.declarationDir, exceptionable, () => ({
179
179
  path: path + ".declarationDir",
180
180
  expected: "(string | undefined)",
181
181
  value: input.declarationDir
182
- })) && $pred(undefined === input.disableSizeLimit || "boolean" === typeof input.disableSizeLimit, exceptionable, () => ({
182
+ })) && $predicate(undefined === input.disableSizeLimit || "boolean" === typeof input.disableSizeLimit, exceptionable, () => ({
183
183
  path: path + ".disableSizeLimit",
184
184
  expected: "(boolean | undefined)",
185
185
  value: input.disableSizeLimit
186
- })) && $pred(undefined === input.disableSourceOfProjectReferenceRedirect || "boolean" === typeof input.disableSourceOfProjectReferenceRedirect, exceptionable, () => ({
186
+ })) && $predicate(undefined === input.disableSourceOfProjectReferenceRedirect || "boolean" === typeof input.disableSourceOfProjectReferenceRedirect, exceptionable, () => ({
187
187
  path: path + ".disableSourceOfProjectReferenceRedirect",
188
188
  expected: "(boolean | undefined)",
189
189
  value: input.disableSourceOfProjectReferenceRedirect
190
- })) && $pred(undefined === input.disableSolutionSearching || "boolean" === typeof input.disableSolutionSearching, exceptionable, () => ({
190
+ })) && $predicate(undefined === input.disableSolutionSearching || "boolean" === typeof input.disableSolutionSearching, exceptionable, () => ({
191
191
  path: path + ".disableSolutionSearching",
192
192
  expected: "(boolean | undefined)",
193
193
  value: input.disableSolutionSearching
194
- })) && $pred(undefined === input.disableReferencedProjectLoad || "boolean" === typeof input.disableReferencedProjectLoad, exceptionable, () => ({
194
+ })) && $predicate(undefined === input.disableReferencedProjectLoad || "boolean" === typeof input.disableReferencedProjectLoad, exceptionable, () => ({
195
195
  path: path + ".disableReferencedProjectLoad",
196
196
  expected: "(boolean | undefined)",
197
197
  value: input.disableReferencedProjectLoad
198
- })) && $pred(undefined === input.downlevelIteration || "boolean" === typeof input.downlevelIteration, exceptionable, () => ({
198
+ })) && $predicate(undefined === input.downlevelIteration || "boolean" === typeof input.downlevelIteration, exceptionable, () => ({
199
199
  path: path + ".downlevelIteration",
200
200
  expected: "(boolean | undefined)",
201
201
  value: input.downlevelIteration
202
- })) && $pred(undefined === input.emitBOM || "boolean" === typeof input.emitBOM, exceptionable, () => ({
202
+ })) && $predicate(undefined === input.emitBOM || "boolean" === typeof input.emitBOM, exceptionable, () => ({
203
203
  path: path + ".emitBOM",
204
204
  expected: "(boolean | undefined)",
205
205
  value: input.emitBOM
206
- })) && $pred(undefined === input.emitDecoratorMetadata || "boolean" === typeof input.emitDecoratorMetadata, exceptionable, () => ({
206
+ })) && $predicate(undefined === input.emitDecoratorMetadata || "boolean" === typeof input.emitDecoratorMetadata, exceptionable, () => ({
207
207
  path: path + ".emitDecoratorMetadata",
208
208
  expected: "(boolean | undefined)",
209
209
  value: input.emitDecoratorMetadata
210
- })) && $pred(undefined === input.exactOptionalPropertyTypes || "boolean" === typeof input.exactOptionalPropertyTypes, exceptionable, () => ({
210
+ })) && $predicate(undefined === input.exactOptionalPropertyTypes || "boolean" === typeof input.exactOptionalPropertyTypes, exceptionable, () => ({
211
211
  path: path + ".exactOptionalPropertyTypes",
212
212
  expected: "(boolean | undefined)",
213
213
  value: input.exactOptionalPropertyTypes
214
- })) && $pred(undefined === input.experimentalDecorators || "boolean" === typeof input.experimentalDecorators, exceptionable, () => ({
214
+ })) && $predicate(undefined === input.experimentalDecorators || "boolean" === typeof input.experimentalDecorators, exceptionable, () => ({
215
215
  path: path + ".experimentalDecorators",
216
216
  expected: "(boolean | undefined)",
217
217
  value: input.experimentalDecorators
218
- })) && $pred(undefined === input.forceConsistentCasingInFileNames || "boolean" === typeof input.forceConsistentCasingInFileNames, exceptionable, () => ({
218
+ })) && $predicate(undefined === input.forceConsistentCasingInFileNames || "boolean" === typeof input.forceConsistentCasingInFileNames, exceptionable, () => ({
219
219
  path: path + ".forceConsistentCasingInFileNames",
220
220
  expected: "(boolean | undefined)",
221
221
  value: input.forceConsistentCasingInFileNames
222
- })) && $pred(undefined === input.importHelpers || "boolean" === typeof input.importHelpers, exceptionable, () => ({
222
+ })) && $predicate(undefined === input.importHelpers || "boolean" === typeof input.importHelpers, exceptionable, () => ({
223
223
  path: path + ".importHelpers",
224
224
  expected: "(boolean | undefined)",
225
225
  value: input.importHelpers
226
- })) && true && $pred(undefined === input.inlineSourceMap || "boolean" === typeof input.inlineSourceMap, exceptionable, () => ({
226
+ })) && true && $predicate(undefined === input.inlineSourceMap || "boolean" === typeof input.inlineSourceMap, exceptionable, () => ({
227
227
  path: path + ".inlineSourceMap",
228
228
  expected: "(boolean | undefined)",
229
229
  value: input.inlineSourceMap
230
- })) && $pred(undefined === input.inlineSources || "boolean" === typeof input.inlineSources, exceptionable, () => ({
230
+ })) && $predicate(undefined === input.inlineSources || "boolean" === typeof input.inlineSources, exceptionable, () => ({
231
231
  path: path + ".inlineSources",
232
232
  expected: "(boolean | undefined)",
233
233
  value: input.inlineSources
234
- })) && $pred(undefined === input.isolatedModules || "boolean" === typeof input.isolatedModules, exceptionable, () => ({
234
+ })) && $predicate(undefined === input.isolatedModules || "boolean" === typeof input.isolatedModules, exceptionable, () => ({
235
235
  path: path + ".isolatedModules",
236
236
  expected: "(boolean | undefined)",
237
237
  value: input.isolatedModules
238
- })) && true && $pred(undefined === input.keyofStringsOnly || "boolean" === typeof input.keyofStringsOnly, exceptionable, () => ({
238
+ })) && true && $predicate(undefined === input.keyofStringsOnly || "boolean" === typeof input.keyofStringsOnly, exceptionable, () => ({
239
239
  path: path + ".keyofStringsOnly",
240
240
  expected: "(boolean | undefined)",
241
241
  value: input.keyofStringsOnly
242
- })) && $pred(undefined === input.lib || Array.isArray(input.lib) && input.lib.every((elem, index8577363607483242) => $pred("string" === typeof elem, exceptionable, () => ({
243
- path: path + ".lib[" + index8577363607483242 + "]",
242
+ })) && $predicate(undefined === input.lib || Array.isArray(input.lib) && input.lib.every((elem, index4) => $predicate("string" === typeof elem, exceptionable, () => ({
243
+ path: path + ".lib[" + index4 + "]",
244
244
  expected: "string",
245
245
  value: elem
246
246
  }))), exceptionable, () => ({
247
247
  path: path + ".lib",
248
248
  expected: "(Array<string> | undefined)",
249
249
  value: input.lib
250
- })) && $pred(undefined === input.locale || "string" === typeof input.locale, exceptionable, () => ({
250
+ })) && $predicate(undefined === input.locale || "string" === typeof input.locale, exceptionable, () => ({
251
251
  path: path + ".locale",
252
252
  expected: "(string | undefined)",
253
253
  value: input.locale
254
- })) && $pred(undefined === input.mapRoot || "string" === typeof input.mapRoot, exceptionable, () => ({
254
+ })) && $predicate(undefined === input.mapRoot || "string" === typeof input.mapRoot, exceptionable, () => ({
255
255
  path: path + ".mapRoot",
256
256
  expected: "(string | undefined)",
257
257
  value: input.mapRoot
258
- })) && true && true && true && $pred(undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every((elem, index29741108625137413) => $pred("string" === typeof elem, exceptionable, () => ({
259
- path: path + ".moduleSuffixes[" + index29741108625137413 + "]",
258
+ })) && true && true && true && $predicate(undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every((elem, index5) => $predicate("string" === typeof elem, exceptionable, () => ({
259
+ path: path + ".moduleSuffixes[" + index5 + "]",
260
260
  expected: "string",
261
261
  value: elem
262
262
  }))), exceptionable, () => ({
263
263
  path: path + ".moduleSuffixes",
264
264
  expected: "(Array<string> | undefined)",
265
265
  value: input.moduleSuffixes
266
- })) && true && true && $pred(undefined === input.noEmit || "boolean" === typeof input.noEmit, exceptionable, () => ({
266
+ })) && true && true && $predicate(undefined === input.noEmit || "boolean" === typeof input.noEmit, exceptionable, () => ({
267
267
  path: path + ".noEmit",
268
268
  expected: "(boolean | undefined)",
269
269
  value: input.noEmit
270
- })) && $pred(undefined === input.noEmitHelpers || "boolean" === typeof input.noEmitHelpers, exceptionable, () => ({
270
+ })) && $predicate(undefined === input.noEmitHelpers || "boolean" === typeof input.noEmitHelpers, exceptionable, () => ({
271
271
  path: path + ".noEmitHelpers",
272
272
  expected: "(boolean | undefined)",
273
273
  value: input.noEmitHelpers
274
- })) && $pred(undefined === input.noEmitOnError || "boolean" === typeof input.noEmitOnError, exceptionable, () => ({
274
+ })) && $predicate(undefined === input.noEmitOnError || "boolean" === typeof input.noEmitOnError, exceptionable, () => ({
275
275
  path: path + ".noEmitOnError",
276
276
  expected: "(boolean | undefined)",
277
277
  value: input.noEmitOnError
278
- })) && $pred(undefined === input.noErrorTruncation || "boolean" === typeof input.noErrorTruncation, exceptionable, () => ({
278
+ })) && $predicate(undefined === input.noErrorTruncation || "boolean" === typeof input.noErrorTruncation, exceptionable, () => ({
279
279
  path: path + ".noErrorTruncation",
280
280
  expected: "(boolean | undefined)",
281
281
  value: input.noErrorTruncation
282
- })) && $pred(undefined === input.noFallthroughCasesInSwitch || "boolean" === typeof input.noFallthroughCasesInSwitch, exceptionable, () => ({
282
+ })) && $predicate(undefined === input.noFallthroughCasesInSwitch || "boolean" === typeof input.noFallthroughCasesInSwitch, exceptionable, () => ({
283
283
  path: path + ".noFallthroughCasesInSwitch",
284
284
  expected: "(boolean | undefined)",
285
285
  value: input.noFallthroughCasesInSwitch
286
- })) && $pred(undefined === input.noImplicitAny || "boolean" === typeof input.noImplicitAny, exceptionable, () => ({
286
+ })) && $predicate(undefined === input.noImplicitAny || "boolean" === typeof input.noImplicitAny, exceptionable, () => ({
287
287
  path: path + ".noImplicitAny",
288
288
  expected: "(boolean | undefined)",
289
289
  value: input.noImplicitAny
290
- })) && $pred(undefined === input.noImplicitReturns || "boolean" === typeof input.noImplicitReturns, exceptionable, () => ({
290
+ })) && $predicate(undefined === input.noImplicitReturns || "boolean" === typeof input.noImplicitReturns, exceptionable, () => ({
291
291
  path: path + ".noImplicitReturns",
292
292
  expected: "(boolean | undefined)",
293
293
  value: input.noImplicitReturns
294
- })) && $pred(undefined === input.noImplicitThis || "boolean" === typeof input.noImplicitThis, exceptionable, () => ({
294
+ })) && $predicate(undefined === input.noImplicitThis || "boolean" === typeof input.noImplicitThis, exceptionable, () => ({
295
295
  path: path + ".noImplicitThis",
296
296
  expected: "(boolean | undefined)",
297
297
  value: input.noImplicitThis
298
- })) && $pred(undefined === input.noStrictGenericChecks || "boolean" === typeof input.noStrictGenericChecks, exceptionable, () => ({
298
+ })) && $predicate(undefined === input.noStrictGenericChecks || "boolean" === typeof input.noStrictGenericChecks, exceptionable, () => ({
299
299
  path: path + ".noStrictGenericChecks",
300
300
  expected: "(boolean | undefined)",
301
301
  value: input.noStrictGenericChecks
302
- })) && $pred(undefined === input.noUnusedLocals || "boolean" === typeof input.noUnusedLocals, exceptionable, () => ({
302
+ })) && $predicate(undefined === input.noUnusedLocals || "boolean" === typeof input.noUnusedLocals, exceptionable, () => ({
303
303
  path: path + ".noUnusedLocals",
304
304
  expected: "(boolean | undefined)",
305
305
  value: input.noUnusedLocals
306
- })) && $pred(undefined === input.noUnusedParameters || "boolean" === typeof input.noUnusedParameters, exceptionable, () => ({
306
+ })) && $predicate(undefined === input.noUnusedParameters || "boolean" === typeof input.noUnusedParameters, exceptionable, () => ({
307
307
  path: path + ".noUnusedParameters",
308
308
  expected: "(boolean | undefined)",
309
309
  value: input.noUnusedParameters
310
- })) && $pred(undefined === input.noImplicitUseStrict || "boolean" === typeof input.noImplicitUseStrict, exceptionable, () => ({
310
+ })) && $predicate(undefined === input.noImplicitUseStrict || "boolean" === typeof input.noImplicitUseStrict, exceptionable, () => ({
311
311
  path: path + ".noImplicitUseStrict",
312
312
  expected: "(boolean | undefined)",
313
313
  value: input.noImplicitUseStrict
314
- })) && $pred(undefined === input.noPropertyAccessFromIndexSignature || "boolean" === typeof input.noPropertyAccessFromIndexSignature, exceptionable, () => ({
314
+ })) && $predicate(undefined === input.noPropertyAccessFromIndexSignature || "boolean" === typeof input.noPropertyAccessFromIndexSignature, exceptionable, () => ({
315
315
  path: path + ".noPropertyAccessFromIndexSignature",
316
316
  expected: "(boolean | undefined)",
317
317
  value: input.noPropertyAccessFromIndexSignature
318
- })) && $pred(undefined === input.assumeChangesOnlyAffectDirectDependencies || "boolean" === typeof input.assumeChangesOnlyAffectDirectDependencies, exceptionable, () => ({
318
+ })) && $predicate(undefined === input.assumeChangesOnlyAffectDirectDependencies || "boolean" === typeof input.assumeChangesOnlyAffectDirectDependencies, exceptionable, () => ({
319
319
  path: path + ".assumeChangesOnlyAffectDirectDependencies",
320
320
  expected: "(boolean | undefined)",
321
321
  value: input.assumeChangesOnlyAffectDirectDependencies
322
- })) && $pred(undefined === input.noLib || "boolean" === typeof input.noLib, exceptionable, () => ({
322
+ })) && $predicate(undefined === input.noLib || "boolean" === typeof input.noLib, exceptionable, () => ({
323
323
  path: path + ".noLib",
324
324
  expected: "(boolean | undefined)",
325
325
  value: input.noLib
326
- })) && $pred(undefined === input.noResolve || "boolean" === typeof input.noResolve, exceptionable, () => ({
326
+ })) && $predicate(undefined === input.noResolve || "boolean" === typeof input.noResolve, exceptionable, () => ({
327
327
  path: path + ".noResolve",
328
328
  expected: "(boolean | undefined)",
329
329
  value: input.noResolve
330
- })) && $pred(undefined === input.noUncheckedIndexedAccess || "boolean" === typeof input.noUncheckedIndexedAccess, exceptionable, () => ({
330
+ })) && $predicate(undefined === input.noUncheckedIndexedAccess || "boolean" === typeof input.noUncheckedIndexedAccess, exceptionable, () => ({
331
331
  path: path + ".noUncheckedIndexedAccess",
332
332
  expected: "(boolean | undefined)",
333
333
  value: input.noUncheckedIndexedAccess
334
- })) && $pred(undefined === input.out || "string" === typeof input.out, exceptionable, () => ({
334
+ })) && $predicate(undefined === input.out || "string" === typeof input.out, exceptionable, () => ({
335
335
  path: path + ".out",
336
336
  expected: "(string | undefined)",
337
337
  value: input.out
338
- })) && $pred(undefined === input.outDir || "string" === typeof input.outDir, exceptionable, () => ({
338
+ })) && $predicate(undefined === input.outDir || "string" === typeof input.outDir, exceptionable, () => ({
339
339
  path: path + ".outDir",
340
340
  expected: "(string | undefined)",
341
341
  value: input.outDir
342
- })) && $pred(undefined === input.outFile || "string" === typeof input.outFile, exceptionable, () => ({
342
+ })) && $predicate(undefined === input.outFile || "string" === typeof input.outFile, exceptionable, () => ({
343
343
  path: path + ".outFile",
344
344
  expected: "(string | undefined)",
345
345
  value: input.outFile
346
- })) && $pred(null !== input.paths && $pred(undefined === input.paths || "object" === typeof input.paths && null !== input.paths && $ao[3](input.paths, path + ".paths", true && exceptionable), exceptionable, () => ({
346
+ })) && $predicate(null !== input.paths && $predicate(undefined === input.paths || "object" === typeof input.paths && null !== input.paths && $ao[3](input.paths, path + ".paths", true && exceptionable), exceptionable, () => ({
347
347
  path: path + ".paths",
348
348
  expected: "(Resolve<ts.MapLike<Array<string>>> | undefined)",
349
349
  value: input.paths
@@ -351,163 +351,163 @@ var NestiaConfig;
351
351
  path: path + ".paths",
352
352
  expected: "(Resolve<ts.MapLike<Array<string>>> | undefined)",
353
353
  value: input.paths
354
- })) && $pred(undefined === input.preserveConstEnums || "boolean" === typeof input.preserveConstEnums, exceptionable, () => ({
354
+ })) && $predicate(undefined === input.preserveConstEnums || "boolean" === typeof input.preserveConstEnums, exceptionable, () => ({
355
355
  path: path + ".preserveConstEnums",
356
356
  expected: "(boolean | undefined)",
357
357
  value: input.preserveConstEnums
358
- })) && $pred(undefined === input.noImplicitOverride || "boolean" === typeof input.noImplicitOverride, exceptionable, () => ({
358
+ })) && $predicate(undefined === input.noImplicitOverride || "boolean" === typeof input.noImplicitOverride, exceptionable, () => ({
359
359
  path: path + ".noImplicitOverride",
360
360
  expected: "(boolean | undefined)",
361
361
  value: input.noImplicitOverride
362
- })) && $pred(undefined === input.preserveSymlinks || "boolean" === typeof input.preserveSymlinks, exceptionable, () => ({
362
+ })) && $predicate(undefined === input.preserveSymlinks || "boolean" === typeof input.preserveSymlinks, exceptionable, () => ({
363
363
  path: path + ".preserveSymlinks",
364
364
  expected: "(boolean | undefined)",
365
365
  value: input.preserveSymlinks
366
- })) && $pred(undefined === input.preserveValueImports || "boolean" === typeof input.preserveValueImports, exceptionable, () => ({
366
+ })) && $predicate(undefined === input.preserveValueImports || "boolean" === typeof input.preserveValueImports, exceptionable, () => ({
367
367
  path: path + ".preserveValueImports",
368
368
  expected: "(boolean | undefined)",
369
369
  value: input.preserveValueImports
370
- })) && $pred(undefined === input.project || "string" === typeof input.project, exceptionable, () => ({
370
+ })) && $predicate(undefined === input.project || "string" === typeof input.project, exceptionable, () => ({
371
371
  path: path + ".project",
372
372
  expected: "(string | undefined)",
373
373
  value: input.project
374
- })) && $pred(undefined === input.reactNamespace || "string" === typeof input.reactNamespace, exceptionable, () => ({
374
+ })) && $predicate(undefined === input.reactNamespace || "string" === typeof input.reactNamespace, exceptionable, () => ({
375
375
  path: path + ".reactNamespace",
376
376
  expected: "(string | undefined)",
377
377
  value: input.reactNamespace
378
- })) && $pred(undefined === input.jsxFactory || "string" === typeof input.jsxFactory, exceptionable, () => ({
378
+ })) && $predicate(undefined === input.jsxFactory || "string" === typeof input.jsxFactory, exceptionable, () => ({
379
379
  path: path + ".jsxFactory",
380
380
  expected: "(string | undefined)",
381
381
  value: input.jsxFactory
382
- })) && $pred(undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory, exceptionable, () => ({
382
+ })) && $predicate(undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory, exceptionable, () => ({
383
383
  path: path + ".jsxFragmentFactory",
384
384
  expected: "(string | undefined)",
385
385
  value: input.jsxFragmentFactory
386
- })) && $pred(undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource, exceptionable, () => ({
386
+ })) && $predicate(undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource, exceptionable, () => ({
387
387
  path: path + ".jsxImportSource",
388
388
  expected: "(string | undefined)",
389
389
  value: input.jsxImportSource
390
- })) && $pred(undefined === input.composite || "boolean" === typeof input.composite, exceptionable, () => ({
390
+ })) && $predicate(undefined === input.composite || "boolean" === typeof input.composite, exceptionable, () => ({
391
391
  path: path + ".composite",
392
392
  expected: "(boolean | undefined)",
393
393
  value: input.composite
394
- })) && $pred(undefined === input.incremental || "boolean" === typeof input.incremental, exceptionable, () => ({
394
+ })) && $predicate(undefined === input.incremental || "boolean" === typeof input.incremental, exceptionable, () => ({
395
395
  path: path + ".incremental",
396
396
  expected: "(boolean | undefined)",
397
397
  value: input.incremental
398
- })) && $pred(undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile, exceptionable, () => ({
398
+ })) && $predicate(undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile, exceptionable, () => ({
399
399
  path: path + ".tsBuildInfoFile",
400
400
  expected: "(string | undefined)",
401
401
  value: input.tsBuildInfoFile
402
- })) && $pred(undefined === input.removeComments || "boolean" === typeof input.removeComments, exceptionable, () => ({
402
+ })) && $predicate(undefined === input.removeComments || "boolean" === typeof input.removeComments, exceptionable, () => ({
403
403
  path: path + ".removeComments",
404
404
  expected: "(boolean | undefined)",
405
405
  value: input.removeComments
406
- })) && $pred(undefined === input.rootDir || "string" === typeof input.rootDir, exceptionable, () => ({
406
+ })) && $predicate(undefined === input.rootDir || "string" === typeof input.rootDir, exceptionable, () => ({
407
407
  path: path + ".rootDir",
408
408
  expected: "(string | undefined)",
409
409
  value: input.rootDir
410
- })) && $pred(undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every((elem, index28812192308702067) => $pred("string" === typeof elem, exceptionable, () => ({
411
- path: path + ".rootDirs[" + index28812192308702067 + "]",
410
+ })) && $predicate(undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every((elem, index6) => $predicate("string" === typeof elem, exceptionable, () => ({
411
+ path: path + ".rootDirs[" + index6 + "]",
412
412
  expected: "string",
413
413
  value: elem
414
414
  }))), exceptionable, () => ({
415
415
  path: path + ".rootDirs",
416
416
  expected: "(Array<string> | undefined)",
417
417
  value: input.rootDirs
418
- })) && $pred(undefined === input.skipLibCheck || "boolean" === typeof input.skipLibCheck, exceptionable, () => ({
418
+ })) && $predicate(undefined === input.skipLibCheck || "boolean" === typeof input.skipLibCheck, exceptionable, () => ({
419
419
  path: path + ".skipLibCheck",
420
420
  expected: "(boolean | undefined)",
421
421
  value: input.skipLibCheck
422
- })) && $pred(undefined === input.skipDefaultLibCheck || "boolean" === typeof input.skipDefaultLibCheck, exceptionable, () => ({
422
+ })) && $predicate(undefined === input.skipDefaultLibCheck || "boolean" === typeof input.skipDefaultLibCheck, exceptionable, () => ({
423
423
  path: path + ".skipDefaultLibCheck",
424
424
  expected: "(boolean | undefined)",
425
425
  value: input.skipDefaultLibCheck
426
- })) && $pred(undefined === input.sourceMap || "boolean" === typeof input.sourceMap, exceptionable, () => ({
426
+ })) && $predicate(undefined === input.sourceMap || "boolean" === typeof input.sourceMap, exceptionable, () => ({
427
427
  path: path + ".sourceMap",
428
428
  expected: "(boolean | undefined)",
429
429
  value: input.sourceMap
430
- })) && $pred(undefined === input.sourceRoot || "string" === typeof input.sourceRoot, exceptionable, () => ({
430
+ })) && $predicate(undefined === input.sourceRoot || "string" === typeof input.sourceRoot, exceptionable, () => ({
431
431
  path: path + ".sourceRoot",
432
432
  expected: "(string | undefined)",
433
433
  value: input.sourceRoot
434
- })) && $pred(undefined === input.strict || "boolean" === typeof input.strict, exceptionable, () => ({
434
+ })) && $predicate(undefined === input.strict || "boolean" === typeof input.strict, exceptionable, () => ({
435
435
  path: path + ".strict",
436
436
  expected: "(boolean | undefined)",
437
437
  value: input.strict
438
- })) && $pred(undefined === input.strictFunctionTypes || "boolean" === typeof input.strictFunctionTypes, exceptionable, () => ({
438
+ })) && $predicate(undefined === input.strictFunctionTypes || "boolean" === typeof input.strictFunctionTypes, exceptionable, () => ({
439
439
  path: path + ".strictFunctionTypes",
440
440
  expected: "(boolean | undefined)",
441
441
  value: input.strictFunctionTypes
442
- })) && $pred(undefined === input.strictBindCallApply || "boolean" === typeof input.strictBindCallApply, exceptionable, () => ({
442
+ })) && $predicate(undefined === input.strictBindCallApply || "boolean" === typeof input.strictBindCallApply, exceptionable, () => ({
443
443
  path: path + ".strictBindCallApply",
444
444
  expected: "(boolean | undefined)",
445
445
  value: input.strictBindCallApply
446
- })) && $pred(undefined === input.strictNullChecks || "boolean" === typeof input.strictNullChecks, exceptionable, () => ({
446
+ })) && $predicate(undefined === input.strictNullChecks || "boolean" === typeof input.strictNullChecks, exceptionable, () => ({
447
447
  path: path + ".strictNullChecks",
448
448
  expected: "(boolean | undefined)",
449
449
  value: input.strictNullChecks
450
- })) && $pred(undefined === input.strictPropertyInitialization || "boolean" === typeof input.strictPropertyInitialization, exceptionable, () => ({
450
+ })) && $predicate(undefined === input.strictPropertyInitialization || "boolean" === typeof input.strictPropertyInitialization, exceptionable, () => ({
451
451
  path: path + ".strictPropertyInitialization",
452
452
  expected: "(boolean | undefined)",
453
453
  value: input.strictPropertyInitialization
454
- })) && $pred(undefined === input.stripInternal || "boolean" === typeof input.stripInternal, exceptionable, () => ({
454
+ })) && $predicate(undefined === input.stripInternal || "boolean" === typeof input.stripInternal, exceptionable, () => ({
455
455
  path: path + ".stripInternal",
456
456
  expected: "(boolean | undefined)",
457
457
  value: input.stripInternal
458
- })) && $pred(undefined === input.suppressExcessPropertyErrors || "boolean" === typeof input.suppressExcessPropertyErrors, exceptionable, () => ({
458
+ })) && $predicate(undefined === input.suppressExcessPropertyErrors || "boolean" === typeof input.suppressExcessPropertyErrors, exceptionable, () => ({
459
459
  path: path + ".suppressExcessPropertyErrors",
460
460
  expected: "(boolean | undefined)",
461
461
  value: input.suppressExcessPropertyErrors
462
- })) && $pred(undefined === input.suppressImplicitAnyIndexErrors || "boolean" === typeof input.suppressImplicitAnyIndexErrors, exceptionable, () => ({
462
+ })) && $predicate(undefined === input.suppressImplicitAnyIndexErrors || "boolean" === typeof input.suppressImplicitAnyIndexErrors, exceptionable, () => ({
463
463
  path: path + ".suppressImplicitAnyIndexErrors",
464
464
  expected: "(boolean | undefined)",
465
465
  value: input.suppressImplicitAnyIndexErrors
466
- })) && true && $pred(undefined === input.traceResolution || "boolean" === typeof input.traceResolution, exceptionable, () => ({
466
+ })) && true && $predicate(undefined === input.traceResolution || "boolean" === typeof input.traceResolution, exceptionable, () => ({
467
467
  path: path + ".traceResolution",
468
468
  expected: "(boolean | undefined)",
469
469
  value: input.traceResolution
470
- })) && $pred(undefined === input.useUnknownInCatchVariables || "boolean" === typeof input.useUnknownInCatchVariables, exceptionable, () => ({
470
+ })) && $predicate(undefined === input.useUnknownInCatchVariables || "boolean" === typeof input.useUnknownInCatchVariables, exceptionable, () => ({
471
471
  path: path + ".useUnknownInCatchVariables",
472
472
  expected: "(boolean | undefined)",
473
473
  value: input.useUnknownInCatchVariables
474
- })) && $pred(undefined === input.resolveJsonModule || "boolean" === typeof input.resolveJsonModule, exceptionable, () => ({
474
+ })) && $predicate(undefined === input.resolveJsonModule || "boolean" === typeof input.resolveJsonModule, exceptionable, () => ({
475
475
  path: path + ".resolveJsonModule",
476
476
  expected: "(boolean | undefined)",
477
477
  value: input.resolveJsonModule
478
- })) && $pred(undefined === input.types || Array.isArray(input.types) && input.types.every((elem, index9675824578480436) => $pred("string" === typeof elem, exceptionable, () => ({
479
- path: path + ".types[" + index9675824578480436 + "]",
478
+ })) && $predicate(undefined === input.types || Array.isArray(input.types) && input.types.every((elem, index7) => $predicate("string" === typeof elem, exceptionable, () => ({
479
+ path: path + ".types[" + index7 + "]",
480
480
  expected: "string",
481
481
  value: elem
482
482
  }))), exceptionable, () => ({
483
483
  path: path + ".types",
484
484
  expected: "(Array<string> | undefined)",
485
485
  value: input.types
486
- })) && $pred(undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every((elem, index4511362076970524) => $pred("string" === typeof elem, exceptionable, () => ({
487
- path: path + ".typeRoots[" + index4511362076970524 + "]",
486
+ })) && $predicate(undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every((elem, index8) => $predicate("string" === typeof elem, exceptionable, () => ({
487
+ path: path + ".typeRoots[" + index8 + "]",
488
488
  expected: "string",
489
489
  value: elem
490
490
  }))), exceptionable, () => ({
491
491
  path: path + ".typeRoots",
492
492
  expected: "(Array<string> | undefined)",
493
493
  value: input.typeRoots
494
- })) && $pred(undefined === input.esModuleInterop || "boolean" === typeof input.esModuleInterop, exceptionable, () => ({
494
+ })) && $predicate(undefined === input.esModuleInterop || "boolean" === typeof input.esModuleInterop, exceptionable, () => ({
495
495
  path: path + ".esModuleInterop",
496
496
  expected: "(boolean | undefined)",
497
497
  value: input.esModuleInterop
498
- })) && $pred(undefined === input.useDefineForClassFields || "boolean" === typeof input.useDefineForClassFields, exceptionable, () => ({
498
+ })) && $predicate(undefined === input.useDefineForClassFields || "boolean" === typeof input.useDefineForClassFields, exceptionable, () => ({
499
499
  path: path + ".useDefineForClassFields",
500
500
  expected: "(boolean | undefined)",
501
501
  value: input.useDefineForClassFields
502
502
  })),
503
503
  (input, path, exceptionable) => true,
504
- (input, path, exceptionable) => $pred("string" === typeof input.output, exceptionable, () => ({
504
+ (input, path, exceptionable) => $predicate("string" === typeof input.output, exceptionable, () => ({
505
505
  path: path + ".output",
506
506
  expected: "string",
507
507
  value: input.output
508
508
  }))
509
509
  ];
510
- return $pred(null !== input && $pred("object" === typeof input && null !== input && $ao[0](input, path + "", true), true, () => ({
510
+ return $predicate(null !== input && $predicate("object" === typeof input && null !== input && $ao[0](input, path + "", true), true, () => ({
511
511
  path: path + "",
512
512
  expected: "Resolve<__type>",
513
513
  value: input
@@ -1 +1 @@
1
- {"version":3,"file":"NestiaConfig.js","sourceRoot":"","sources":["../../../src/executable/internal/NestiaConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAoB;AACpB,gDAAwB;AACxB,gDAAkC;AAClC,mDAA2C;AAC3C,qDAAkD;AAClD,qDAA6C;AAI7C,IAAiB,YAAY,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAC,0BAAS,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;IAC/C,CAAC,CAAA,CAAC,CAAC;AACP,CAAC,EA1BgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA0B5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestia",
3
- "version": "3.0.13",
3
+ "version": "3.0.14-dev.20220930",
4
4
  "description": "Automatic SDK and Document generator for the NestJS",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -42,7 +42,8 @@
42
42
  "tgrid": "^0.8.7",
43
43
  "tsconfck": "^2.0.1",
44
44
  "tsconfig-paths": "^4.0.0",
45
- "tstl": "^2.5.8"
45
+ "tstl": "^2.5.8",
46
+ "typescript-json": "^3.3.0"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@types/cli": "^0.11.19",
@@ -59,7 +60,6 @@
59
60
  "ts-node": "10.8.x",
60
61
  "ttypescript": "^1.5.13",
61
62
  "typescript": "^4.7.4",
62
- "typescript-json": "^3.1.1",
63
63
  "typescript-transform-paths": "^3.3.1",
64
64
  "uuid": "^8.3.2"
65
65
  }