nestia 2.1.13 → 2.2.0-dev.20220625

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.
Files changed (77) hide show
  1. package/README.md +28 -29
  2. package/lib/IConfiguration.d.ts +5 -6
  3. package/lib/NestiaApplication.d.ts +0 -1
  4. package/lib/analyses/ControllerAnalyzer.d.ts +0 -1
  5. package/lib/analyses/GenericAnalyzer.d.ts +0 -1
  6. package/lib/analyses/ImportAnalyzer.d.ts +2 -3
  7. package/lib/analyses/ImportAnalyzer.js +3 -2
  8. package/lib/analyses/ReflectAnalyzer.d.ts +0 -1
  9. package/lib/analyses/SourceFinder.d.ts +0 -1
  10. package/lib/executable/internal/CompilerOptions.d.ts +0 -1
  11. package/lib/executable/internal/CompilerOptions.js +1 -1
  12. package/lib/executable/internal/NestiaCommand.d.ts +0 -1
  13. package/lib/executable/internal/NestiaConfig.d.ts +0 -1
  14. package/lib/executable/internal/NestiaConfig.js +572 -184
  15. package/lib/executable/internal/nestia.config.getter.d.ts +0 -1
  16. package/lib/executable/nestia.d.ts +0 -1
  17. package/lib/executable/nestia.js +1 -1
  18. package/lib/generates/FileGenerator.d.ts +0 -1
  19. package/lib/generates/FileGenerator.js +3 -5
  20. package/lib/generates/FunctionGenerator.d.ts +0 -1
  21. package/lib/generates/FunctionGenerator.js +7 -9
  22. package/lib/generates/SdkGenerator.d.ts +0 -1
  23. package/lib/generates/SwaggerGenerator.d.ts +0 -1
  24. package/lib/generates/SwaggerGenerator.js +38 -21
  25. package/lib/index.d.ts +0 -1
  26. package/lib/module.d.ts +0 -1
  27. package/lib/structures/IController.d.ts +0 -1
  28. package/lib/structures/IRoute.d.ts +3 -4
  29. package/lib/structures/ISwagger.d.ts +0 -1
  30. package/lib/structures/ITypeTuple.d.ts +5 -0
  31. package/lib/structures/{IMetadata.js → ITypeTuple.js} +1 -1
  32. package/lib/structures/MethodType.d.ts +0 -1
  33. package/lib/structures/ParamCategory.d.ts +0 -1
  34. package/lib/structures/TypeEntry.d.ts +0 -1
  35. package/lib/utils/ArrayUtil.d.ts +0 -1
  36. package/lib/utils/DirectoryUtil.d.ts +0 -1
  37. package/lib/utils/ImportDictionary.d.ts +0 -1
  38. package/lib/utils/MapUtil.d.ts +0 -1
  39. package/lib/utils/StringUtil.d.ts +0 -1
  40. package/package.json +4 -5
  41. package/lib/IConfiguration.d.ts.map +0 -1
  42. package/lib/NestiaApplication.d.ts.map +0 -1
  43. package/lib/analyses/ControllerAnalyzer.d.ts.map +0 -1
  44. package/lib/analyses/GenericAnalyzer.d.ts.map +0 -1
  45. package/lib/analyses/ImportAnalyzer.d.ts.map +0 -1
  46. package/lib/analyses/ReflectAnalyzer.d.ts.map +0 -1
  47. package/lib/analyses/SourceFinder.d.ts.map +0 -1
  48. package/lib/executable/internal/CompilerOptions.d.ts.map +0 -1
  49. package/lib/executable/internal/NestiaCommand.d.ts.map +0 -1
  50. package/lib/executable/internal/NestiaConfig.d.ts.map +0 -1
  51. package/lib/executable/internal/nestia.config.getter.d.ts.map +0 -1
  52. package/lib/executable/nestia.d.ts.map +0 -1
  53. package/lib/factories/TypeFactry.d.ts +0 -7
  54. package/lib/factories/TypeFactry.d.ts.map +0 -1
  55. package/lib/factories/TypeFactry.js +0 -81
  56. package/lib/generates/FileGenerator.d.ts.map +0 -1
  57. package/lib/generates/FunctionGenerator.d.ts.map +0 -1
  58. package/lib/generates/SdkGenerator.d.ts.map +0 -1
  59. package/lib/generates/SwaggerGenerator.d.ts.map +0 -1
  60. package/lib/index.d.ts.map +0 -1
  61. package/lib/module.d.ts.map +0 -1
  62. package/lib/structures/IController.d.ts.map +0 -1
  63. package/lib/structures/IMetadata.d.ts +0 -21
  64. package/lib/structures/IMetadata.d.ts.map +0 -1
  65. package/lib/structures/IRoute.d.ts.map +0 -1
  66. package/lib/structures/ISwagger.d.ts.map +0 -1
  67. package/lib/structures/IType.d.ts +0 -6
  68. package/lib/structures/IType.d.ts.map +0 -1
  69. package/lib/structures/IType.js +0 -3
  70. package/lib/structures/MethodType.d.ts.map +0 -1
  71. package/lib/structures/ParamCategory.d.ts.map +0 -1
  72. package/lib/structures/TypeEntry.d.ts.map +0 -1
  73. package/lib/utils/ArrayUtil.d.ts.map +0 -1
  74. package/lib/utils/DirectoryUtil.d.ts.map +0 -1
  75. package/lib/utils/ImportDictionary.d.ts.map +0 -1
  76. package/lib/utils/MapUtil.d.ts.map +0 -1
  77. package/lib/utils/StringUtil.d.ts.map +0 -1
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=nestia.config.getter.d.ts.map
@@ -1,3 +1,2 @@
1
1
  #!/usr/bin/env node
2
2
  export {};
3
- //# sourceMappingURL=nestia.d.ts.map
@@ -58,7 +58,7 @@ function install() {
58
58
  var e_1, _a;
59
59
  try {
60
60
  // INSTALL DEPENDENCIES
61
- for (var _b = __values(["nestia-fetcher", "typescript-is", "typescript-json"]), _c = _b.next(); !_c.done; _c = _b.next()) {
61
+ for (var _b = __values(["nestia-fetcher", "typescript-json"]), _c = _b.next(); !_c.done; _c = _b.next()) {
62
62
  var lib = _c.value;
63
63
  var command = "npm install ".concat(lib);
64
64
  child_process_1.default.execSync(command, { stdio: "inherit" });
@@ -3,4 +3,3 @@ import { IRoute } from "../structures/IRoute";
3
3
  export declare namespace FileGenerator {
4
4
  function generate(config: IConfiguration, routeList: IRoute[]): Promise<void>;
5
5
  }
6
- //# sourceMappingURL=FileGenerator.d.ts.map
@@ -255,7 +255,7 @@ var FileGenerator;
255
255
  // FINALIZE THE CONTENT
256
256
  if (directory.routes.length !== 0) {
257
257
  primitived = directory.routes.some(function (route) {
258
- return route.output.escapedText !== "void" ||
258
+ return route.output.name !== "void" ||
259
259
  route.parameters.some(function (param) { return param.category !== "param"; });
260
260
  });
261
261
  asserted = config.assert === true &&
@@ -273,10 +273,8 @@ var FileGenerator;
273
273
  "import { ".concat(fetcher.join(", "), " } from \"nestia-fetcher\";"),
274
274
  "import type { IConnection } from \"nestia-fetcher\";",
275
275
  ];
276
- if (asserted)
277
- head.push("import { assertType } from \"typescript-is\";");
278
- if (json)
279
- head.push("import { createStringifier } from \"typescript-json\";");
276
+ if (asserted || json)
277
+ head.push("import TSON from \"typescript-json\";");
280
278
  if (!importDict.empty())
281
279
  head.push("", importDict.toScript(outDir));
282
280
  content.push.apply(content, __spreadArray(__spreadArray(__spreadArray([], __read(head), false), [""], false), __read(content.splice(0, content.length)), false));
@@ -3,4 +3,3 @@ import { IRoute } from "../structures/IRoute";
3
3
  export declare namespace FunctionGenerator {
4
4
  function generate(config: IConfiguration, route: IRoute): string;
5
5
  }
6
- //# sourceMappingURL=FunctionGenerator.d.ts.map
@@ -147,13 +147,11 @@ var FunctionGenerator;
147
147
  ], __read(route.parameters.map(function (param) {
148
148
  var type = param === query || param === input
149
149
  ? "Primitive<".concat(route.name, ".").concat(param === query ? "Query" : "Input", ">")
150
- : param.type.escapedText;
150
+ : param.type.name;
151
151
  return "".concat(param.name, ": ").concat(type);
152
152
  })), false);
153
153
  // OUTPUT TYPE
154
- var output = route.output.escapedText === "void"
155
- ? "void"
156
- : "".concat(route.name, ".Output");
154
+ var output = route.output.name === "void" ? "void" : "".concat(route.name, ".Output");
157
155
  // RETURNS WITH CONSTRUCTION
158
156
  return ("" +
159
157
  "/**\n" +
@@ -169,11 +167,11 @@ var FunctionGenerator;
169
167
  // LIST UP TYPES
170
168
  var types = [];
171
169
  if (query !== undefined)
172
- types.push(new Pair_1.Pair("Query", query.type.escapedText));
170
+ types.push(new Pair_1.Pair("Query", query.type.name));
173
171
  if (input !== undefined)
174
- types.push(new Pair_1.Pair("Input", input.type.escapedText));
175
- if (route.output.escapedText !== "void")
176
- types.push(new Pair_1.Pair("Output", route.output.escapedText));
172
+ types.push(new Pair_1.Pair("Input", input.type.name));
173
+ if (route.output.name !== "void")
174
+ types.push(new Pair_1.Pair("Output", route.output.name));
177
175
  // PATH WITH PARAMETERS
178
176
  var parameters = filter_parameters(route, query);
179
177
  var path = compute_path(query, parameters, route.path);
@@ -195,7 +193,7 @@ var FunctionGenerator;
195
193
  " };\n" +
196
194
  "\n" +
197
195
  " export function path(".concat(parameters
198
- .map(function (param) { return "".concat(param.name, ": ").concat(param.type.escapedText); })
196
+ .map(function (param) { return "".concat(param.name, ": ").concat(param.type.name); })
199
197
  .join(", "), "): string\n") +
200
198
  " {\n" +
201
199
  " return ".concat(path, ";\n") +
@@ -5,4 +5,3 @@ export declare namespace SdkGenerator {
5
5
  function generate(_checker: ts.TypeChecker, config: IConfiguration, routeList: IRoute[]): Promise<void>;
6
6
  const BUNDLE_PATH: string;
7
7
  }
8
- //# sourceMappingURL=SdkGenerator.d.ts.map
@@ -4,4 +4,3 @@ import { IRoute } from "../structures/IRoute";
4
4
  export declare namespace SwaggerGenerator {
5
5
  function generate(checker: ts.TypeChecker, config: IConfiguration.ISwagger, routeList: IRoute[]): Promise<void>;
6
6
  }
7
- //# sourceMappingURL=SwaggerGenerator.d.ts.map
@@ -83,15 +83,15 @@ var path_1 = __importDefault(require("path"));
83
83
  var Singleton_1 = require("tstl/thread/Singleton");
84
84
  var VariadicSingleton_1 = require("tstl/thread/VariadicSingleton");
85
85
  var CommentFactory_1 = require("typescript-json/lib/factories/CommentFactory");
86
- var MetadataCollection_1 = require("typescript-json/lib/storages/MetadataCollection");
86
+ var ApplicationProgrammer_1 = require("typescript-json/lib/programmers/ApplicationProgrammer");
87
+ var MetadataCollection_1 = require("typescript-json/lib/factories/MetadataCollection");
87
88
  var MetadataFactory_1 = require("typescript-json/lib/factories/MetadataFactory");
88
- var SchemaFactory_1 = require("typescript-json/lib/factories/SchemaFactory");
89
89
  var MapUtil_1 = require("../utils/MapUtil");
90
90
  var SwaggerGenerator;
91
91
  (function (SwaggerGenerator) {
92
92
  function generate(checker, config, routeList) {
93
93
  return __awaiter(this, void 0, void 0, function () {
94
- var parsed, location, swagger, collection, pathDict, routeList_1, routeList_1_1, route, path, pathDict_1, pathDict_1_1, _a, path, routes;
94
+ var parsed, location, collection, tupleList, swagger, pathDict, routeList_1, routeList_1_1, route, path, pathDict_1, pathDict_1_1, _a, path, routes, application;
95
95
  var e_1, _b, e_2, _c;
96
96
  return __generator(this, function (_d) {
97
97
  switch (_d.label) {
@@ -100,16 +100,19 @@ var SwaggerGenerator;
100
100
  location = !!parsed.ext
101
101
  ? path_1.default.resolve(config.output)
102
102
  : path_1.default.join(path_1.default.resolve(config.output), "swagger.json");
103
+ collection = new MetadataCollection_1.MetadataCollection({
104
+ replace: MetadataCollection_1.MetadataCollection.replace
105
+ });
106
+ tupleList = [];
103
107
  return [4 /*yield*/, initialize(location)];
104
108
  case 1:
105
109
  swagger = _d.sent();
106
- collection = new MetadataCollection_1.MetadataCollection(false);
107
110
  pathDict = new Map();
108
111
  try {
109
112
  for (routeList_1 = __values(routeList), routeList_1_1 = routeList_1.next(); !routeList_1_1.done; routeList_1_1 = routeList_1.next()) {
110
113
  route = routeList_1_1.value;
111
114
  path = MapUtil_1.MapUtil.take(pathDict, get_path(route.path, route.parameters), function () { return ({}); });
112
- path[route.method.toLowerCase()] = generate_route(checker, collection, route);
115
+ path[route.method.toLowerCase()] = generate_route(checker, collection, tupleList, route);
113
116
  }
114
117
  }
115
118
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -133,8 +136,17 @@ var SwaggerGenerator;
133
136
  }
134
137
  finally { if (e_2) throw e_2.error; }
135
138
  }
136
- // CONSTRUCT COMPONENTS
137
- swagger.components = __assign(__assign({}, (swagger.components || {})), SchemaFactory_1.SchemaFactory.components(collection.storage()));
139
+ application = ApplicationProgrammer_1.ApplicationProgrammer.generate(tupleList.map(function (_a) {
140
+ var metadata = _a.metadata;
141
+ return metadata;
142
+ }), {
143
+ purpose: "swagger",
144
+ });
145
+ swagger.components = __assign(__assign({}, (swagger.components || {})), { schemas: application.components.schemas });
146
+ tupleList.forEach(function (_a, index) {
147
+ var schema = _a.schema;
148
+ Object.assign(schema, application.schemas[index]);
149
+ });
138
150
  // DO GENERATE
139
151
  return [4 /*yield*/, fs_1.default.promises.writeFile(location, JSON.stringify(swagger, null, 2), "utf8")];
140
152
  case 2:
@@ -204,7 +216,7 @@ var SwaggerGenerator;
204
216
  }
205
217
  return path;
206
218
  }
207
- function generate_route(checker, collection, route) {
219
+ function generate_route(checker, collection, tupleList, route) {
208
220
  var bodyParam = route.parameters.find(function (param) { return param.category === "body"; });
209
221
  var tags = route.tags
210
222
  .filter(function (tag) {
@@ -221,53 +233,53 @@ var SwaggerGenerator;
221
233
  parameters: route.parameters
222
234
  .filter(function (param) { return param.category !== "body"; })
223
235
  .map(function (param) {
224
- return generate_parameter(checker, collection, route, param);
236
+ return generate_parameter(checker, collection, tupleList, route, param);
225
237
  }),
226
238
  requestBody: bodyParam
227
- ? generate_request_body(checker, collection, route, bodyParam)
239
+ ? generate_request_body(checker, collection, tupleList, route, bodyParam)
228
240
  : undefined,
229
- responses: generate_response_body(checker, collection, route),
241
+ responses: generate_response_body(checker, collection, tupleList, route),
230
242
  description: CommentFactory_1.CommentFactory.generate(route.comments),
231
243
  };
232
244
  }
233
245
  /* ---------------------------------------------------------
234
246
  REQUEST & RESPONSE
235
247
  --------------------------------------------------------- */
236
- function generate_parameter(checker, collection, route, parameter) {
248
+ function generate_parameter(checker, collection, tupleList, route, parameter) {
237
249
  return {
238
250
  name: parameter.field || parameter.name,
239
251
  in: parameter.category === "param" ? "path" : parameter.category,
240
252
  description: get_parametric_description(route, "param", parameter.name) ||
241
253
  "",
242
- schema: generate_schema(checker, collection, parameter.type.metadata),
254
+ schema: generate_schema(checker, collection, tupleList, parameter.type.type),
243
255
  required: true,
244
256
  };
245
257
  }
246
- function generate_request_body(checker, collection, route, parameter) {
258
+ function generate_request_body(checker, collection, tupleList, route, parameter) {
247
259
  return {
248
260
  description: warning.get(parameter.encrypted).get("request") +
249
261
  (get_parametric_description(route, "param", parameter.name) ||
250
262
  ""),
251
263
  content: {
252
264
  "application/json": {
253
- schema: generate_schema(checker, collection, parameter.type.metadata),
265
+ schema: generate_schema(checker, collection, tupleList, parameter.type.type),
254
266
  },
255
267
  },
256
268
  required: true,
257
269
  };
258
270
  }
259
- function generate_response_body(checker, collection, route) {
271
+ function generate_response_body(checker, collection, tupleList, route) {
260
272
  var _a;
261
273
  // OUTPUT WITH SUCCESS STATUS
262
274
  var status = route.method === "GET" || route.method === "DELETE" ? "200" : "201";
263
- var schema = generate_schema(checker, collection, route.output.metadata);
275
+ var schema = generate_schema(checker, collection, tupleList, route.output.type);
264
276
  var success = (_a = {},
265
277
  _a[status] = {
266
278
  description: warning.get(route.encrypted).get("response", route.method) +
267
279
  (get_parametric_description(route, "return") ||
268
280
  get_parametric_description(route, "returns") ||
269
281
  ""),
270
- content: route.output.escapedText === "void"
282
+ content: route.output.name === "void"
271
283
  ? undefined
272
284
  : {
273
285
  "application/json": {
@@ -305,9 +317,14 @@ var SwaggerGenerator;
305
317
  /* ---------------------------------------------------------
306
318
  UTILS
307
319
  --------------------------------------------------------- */
308
- function generate_schema(checker, collection, type) {
309
- var entity = MetadataFactory_1.MetadataFactory.generate(checker, type, collection);
310
- return SchemaFactory_1.SchemaFactory.schema((entity === null || entity === void 0 ? void 0 : entity.metadata) || null);
320
+ function generate_schema(checker, collection, tupleList, type) {
321
+ var metadata = MetadataFactory_1.MetadataFactory.generate(checker, collection, type, {
322
+ resolve: false,
323
+ constant: true,
324
+ });
325
+ var schema = {};
326
+ tupleList.push({ metadata: metadata, schema: schema });
327
+ return schema;
311
328
  }
312
329
  function get_parametric_description(route, tagName, parameterName) {
313
330
  var _a;
package/lib/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  import * as nestia from "./module";
2
2
  export default nestia;
3
- //# sourceMappingURL=index.d.ts.map
package/lib/module.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export * from "./IConfiguration";
2
2
  export * from "./NestiaApplication";
3
- //# sourceMappingURL=module.d.ts.map
@@ -21,4 +21,3 @@ export declare namespace IController {
21
21
  encrypted: boolean;
22
22
  }
23
23
  }
24
- //# sourceMappingURL=IController.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import ts from "typescript";
2
- import { IType } from "./IType";
2
+ import { ITypeTuple } from "./ITypeTuple";
3
3
  import { ParamCategory } from "./ParamCategory";
4
4
  export interface IRoute {
5
5
  name: string;
@@ -8,7 +8,7 @@ export interface IRoute {
8
8
  encrypted: boolean;
9
9
  parameters: IRoute.IParameter[];
10
10
  imports: [string, string[]][];
11
- output: IType;
11
+ output: ITypeTuple;
12
12
  symbol: string;
13
13
  comments: ts.SymbolDisplayPart[];
14
14
  tags: ts.JSDocTagInfo[];
@@ -19,7 +19,6 @@ export declare namespace IRoute {
19
19
  field: string | undefined;
20
20
  category: ParamCategory;
21
21
  encrypted: boolean;
22
- type: IType;
22
+ type: ITypeTuple;
23
23
  }
24
24
  }
25
- //# sourceMappingURL=IRoute.d.ts.map
@@ -47,4 +47,3 @@ export declare namespace ISwagger {
47
47
  };
48
48
  }
49
49
  }
50
- //# sourceMappingURL=ISwagger.d.ts.map
@@ -0,0 +1,5 @@
1
+ import ts from "typescript";
2
+ export interface ITypeTuple {
3
+ type: ts.Type;
4
+ name: string;
5
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IMetadata.js.map
3
+ //# sourceMappingURL=ITypeTuple.js.map
@@ -2,4 +2,3 @@ export declare type MethodType = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
2
2
  export declare namespace MethodType {
3
3
  const VALUES: MethodType[];
4
4
  }
5
- //# sourceMappingURL=MethodType.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare type ParamCategory = "param" | "query" | "body";
2
- //# sourceMappingURL=ParamCategory.d.ts.map
@@ -7,4 +7,3 @@ export declare class TypeEntry {
7
7
  equals(obj: TypeEntry): boolean;
8
8
  hashCode(): number;
9
9
  }
10
- //# sourceMappingURL=TypeEntry.d.ts.map
@@ -3,4 +3,3 @@ export declare namespace ArrayUtil {
3
3
  function asyncMap<Input, Output>(array: Input[], closure: (input: Input) => Promise<Output>): Promise<Output[]>;
4
4
  function asyncFilter<Input>(array: Input[], closure: (input: Input) => Promise<boolean>): Promise<Input[]>;
5
5
  }
6
- //# sourceMappingURL=ArrayUtil.d.ts.map
@@ -3,4 +3,3 @@ export declare namespace DirectoryUtil {
3
3
  function remake(path: string): Promise<void>;
4
4
  function copy(from: string, to: string): Promise<void>;
5
5
  }
6
- //# sourceMappingURL=DirectoryUtil.d.ts.map
@@ -4,4 +4,3 @@ export declare class ImportDictionary {
4
4
  emplace(file: string, realistic: boolean, instance: string): void;
5
5
  toScript(outDir: string): string;
6
6
  }
7
- //# sourceMappingURL=ImportDictionary.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export declare namespace MapUtil {
2
2
  function take<Key, T>(dict: Map<Key, T>, key: Key, generator: () => T): T;
3
3
  }
4
- //# sourceMappingURL=MapUtil.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export declare namespace StringUtil {
2
2
  function betweens(str: string, start: string, end: string): string[];
3
3
  }
4
- //# sourceMappingURL=StringUtil.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestia",
3
- "version": "2.1.13",
3
+ "version": "2.2.0-dev.20220625",
4
4
  "description": "Automatic SDK and Document generator for the NestJS",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -44,9 +44,8 @@
44
44
  "tsconfig-paths": "^3.14.1",
45
45
  "tstl": "^2.5.6",
46
46
  "ttypescript": "^1.5.13",
47
- "typescript": "^4.7.2",
48
- "typescript-is": "^0.19.0",
49
- "typescript-json": "^2.1.6",
47
+ "typescript": "^4.7.4",
48
+ "typescript-json": "^3.0.0-dev.20220625",
50
49
  "typescript-transform-paths": "^3.3.1"
51
50
  },
52
51
  "devDependencies": {
@@ -57,7 +56,7 @@
57
56
  "@typescript-eslint/eslint-plugin": "^5.26.0",
58
57
  "@typescript-eslint/parser": "^5.26.0",
59
58
  "eslint": "^8.16.0",
60
- "nestia-helper": "^2.1.1",
59
+ "nestia-helper": "^2.2.0-dev.20220625",
61
60
  "prettier": "^2.6.2",
62
61
  "rimraf": "^3.0.2"
63
62
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"IConfiguration.d.ts","sourceRoot":"","sources":["../src/IConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,cAAc,CAAC,MAAM,CAAC;IAEjD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;;;;;;;;;;;;;;OAmBG;IACH,eAAe,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC;IAErC;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC;CACrC;AACD,yBAAiB,cAAc,CAAC;IAC5B;;;OAGG;IACH,UAAiB,MAAM;QACnB;;WAEG;QACH,OAAO,EAAE,MAAM,EAAE,CAAC;QAElB;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;KACtB;IAED;;OAEG;IACH,UAAiB,QAAQ;QACrB;;;;;;WAMG;QACH,MAAM,EAAE,MAAM,CAAC;KAClB;CACJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NestiaApplication.d.ts","sourceRoot":"","sources":["../src/NestiaApplication.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIlD,qBAAa,iBAAiB;IAC1B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAiB;IACzC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAE9B;gBAEiB,MAAM,EAAE,cAAc;IAmC5B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;IAgBpB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;YAsBvB,QAAQ;IAuDtB,OAAO,CAAC,OAAO;YA0BD,eAAe;CAchC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ControllerAnalyzer.d.ts","sourceRoot":"","sources":["../../src/analyses/ControllerAnalyzer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAM9C,yBAAiB,kBAAkB,CAAC;IAChC,SAAgB,OAAO,CACnB,OAAO,EAAE,EAAE,CAAC,WAAW,EACvB,UAAU,EAAE,EAAE,CAAC,UAAU,EACzB,UAAU,EAAE,WAAW,GACxB,MAAM,EAAE,CAcV;CA6KJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenericAnalyzer.d.ts","sourceRoot":"","sources":["../../src/analyses/GenericAnalyzer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,yBAAiB,eAAe,CAAC;IAC7B,KAAY,UAAU,GAAG,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC;IAEnD,SAAgB,OAAO,CACnB,OAAO,EAAE,EAAE,CAAC,WAAW,EACvB,SAAS,EAAE,EAAE,CAAC,gBAAgB,GAC/B,UAAU,CAIZ;CAwCJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImportAnalyzer.d.ts","sourceRoot":"","sources":["../../src/analyses/ImportAnalyzer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,yBAAiB,cAAc,CAAC;IAC5B,UAAiB,OAAO;QACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;QAC/B,KAAK,EAAE,MAAM,CAAC;KACjB;IAED,KAAY,UAAU,GAAG,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAE1D,SAAgB,OAAO,CACnB,OAAO,EAAE,EAAE,CAAC,WAAW,EACvB,WAAW,EAAE,eAAe,CAAC,UAAU,EACvC,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,EAAE,CAAC,IAAI,GACd,KAAK,CAUP;CAqHJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReflectAnalyzer.d.ts","sourceRoot":"","sources":["../../src/analyses/ReflectAnalyzer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAOxD,yBAAiB,eAAe,CAAC;IAC7B,SAAsB,OAAO,CACzB,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,EACpB,IAAI,EAAE,MAAM,GACb,OAAO,CAAC,WAAW,EAAE,CAAC,CAexB;CAkPJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SourceFinder.d.ts","sourceRoot":"","sources":["../../src/analyses/SourceFinder.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,yBAAiB,YAAY,CAAC;IAC1B,SAAsB,IAAI,CACtB,KAAK,EAAE,cAAc,CAAC,MAAM,GAC7B,OAAO,CAAC,MAAM,EAAE,CAAC,CAOnB;CA0CJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompilerOptions.d.ts","sourceRoot":"","sources":["../../../src/executable/internal/CompilerOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B,yBAAiB,eAAe,CAAC;IAYtB,MAAM,eAAe;;;;;;;;KAI3B,CAAC;IAEF,SAAgB,KAAK,CACjB,OAAO,EAAE,EAAE,CAAC,eAAe,EAC3B,MAAM,EAAE,OAAO,GAChB,CAAC,OAAO,EAAE,OAAO,CAAC,CAmCpB;CAUJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NestiaCommand.d.ts","sourceRoot":"","sources":["../../../src/executable/internal/NestiaCommand.ts"],"names":[],"mappings":"AAqBA,yBAAiB,aAAa,CAAC;IAC3B,SAAgB,GAAG,CACf,QAAQ,EAAE,MAAM,EAAE,EAClB,IAAI,GAAE,OAAc,GACrB,OAAO,CAAC,IAAI,CAAC,CAWf;IAED,SAAgB,OAAO,CACnB,QAAQ,EAAE,MAAM,EAAE,EAClB,IAAI,GAAE,OAAc,GACrB,OAAO,CAAC,IAAI,CAAC,CAef;CAgGJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NestiaConfig.d.ts","sourceRoot":"","sources":["../../../src/executable/internal/NestiaConfig.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,yBAAiB,YAAY,CAAC;IAC1B,SAAgB,GAAG,IAAI,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAEpD;CAuCJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"nestia.config.getter.d.ts","sourceRoot":"","sources":["../../../src/executable/internal/nestia.config.getter.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"nestia.d.ts","sourceRoot":"","sources":["../../src/executable/nestia.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import ts from "typescript";
2
- export declare namespace TypeFactory {
3
- function escape(checker: ts.TypeChecker, type: ts.Type): [ts.Type, boolean];
4
- function is_function(node: ts.Node): boolean;
5
- function full_name(checker: ts.TypeChecker, type: ts.Type): string;
6
- }
7
- //# sourceMappingURL=TypeFactry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TypeFactry.d.ts","sourceRoot":"","sources":["../../src/factories/TypeFactry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,yBAAiB,WAAW,CAAC;IACzB,SAAgB,MAAM,CAClB,OAAO,EAAE,EAAE,CAAC,WAAW,EACvB,IAAI,EAAE,EAAE,CAAC,IAAI,GACd,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAOpB;IAED,SAAgB,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,OAAO,CAElD;IAmCD,SAAgB,SAAS,CAAC,OAAO,EAAE,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,GAAG,MAAM,CAiCxE;CAiBJ"}
@@ -1,81 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.TypeFactory = void 0;
7
- var typescript_1 = __importDefault(require("typescript"));
8
- var TypeFactory;
9
- (function (TypeFactory) {
10
- function escape(checker, type) {
11
- var converted = get_return_type(checker, type, "toJSON");
12
- return [converted || type, !!converted];
13
- }
14
- TypeFactory.escape = escape;
15
- function is_function(node) {
16
- return get_function(node) !== null;
17
- }
18
- TypeFactory.is_function = is_function;
19
- function get_function(node) {
20
- return typescript_1.default.isFunctionLike(node)
21
- ? node
22
- : typescript_1.default.isPropertyAssignment(node) || typescript_1.default.isPropertyDeclaration(node)
23
- ? typescript_1.default.isFunctionLike(node.initializer)
24
- ? node.initializer
25
- : null
26
- : null;
27
- }
28
- function get_return_type(checker, type, name) {
29
- // FIND TO-JSON METHOD
30
- var symbol = type.getProperty(name);
31
- if (!symbol)
32
- return null;
33
- else if (!symbol.declarations || !symbol.declarations[0])
34
- return null;
35
- // GET FUNCTION DECLARATION
36
- var declaration = symbol.declarations[0];
37
- var functor = get_function(declaration);
38
- if (functor === null)
39
- return null;
40
- // RETURNS THE RETURN-TYPE
41
- var signature = checker.getSignatureFromDeclaration(functor);
42
- return signature ? signature.getReturnType() : null;
43
- }
44
- function full_name(checker, type) {
45
- // PRIMITIVE
46
- var symbol = type.aliasSymbol || type.getSymbol();
47
- if (symbol === undefined)
48
- return checker.typeToString(type, undefined, undefined);
49
- // UNION OR INTERSECT
50
- else if (type.aliasSymbol === undefined &&
51
- type.isUnionOrIntersection()) {
52
- var joiner = type.isIntersection() ? " & " : " | ";
53
- return type.types
54
- .map(function (child) { return full_name(checker, child); })
55
- .join(joiner);
56
- }
57
- //----
58
- // SPECIALIZATION
59
- //----
60
- var name = get_name(symbol);
61
- // CHECK GENERIC
62
- var generic = checker.getTypeArguments(type);
63
- return generic.length
64
- ? name === "Promise"
65
- ? full_name(checker, generic[0])
66
- : "".concat(name, "<").concat(generic
67
- .map(function (child) { return full_name(checker, child); })
68
- .join(", "), ">")
69
- : name;
70
- }
71
- TypeFactory.full_name = full_name;
72
- function explore_name(name, decl) {
73
- return typescript_1.default.isModuleBlock(decl)
74
- ? explore_name("".concat(decl.parent.name.getText(), ".").concat(name), decl.parent.parent)
75
- : name;
76
- }
77
- function get_name(symbol) {
78
- return explore_name(symbol.escapedName.toString(), symbol.getDeclarations()[0].parent);
79
- }
80
- })(TypeFactory = exports.TypeFactory || (exports.TypeFactory = {}));
81
- //# sourceMappingURL=TypeFactry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileGenerator.d.ts","sourceRoot":"","sources":["../../src/generates/FileGenerator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAI9C,yBAAiB,aAAa,CAAC;IAI3B,SAAsB,QAAQ,CAC1B,MAAM,EAAE,cAAc,EACtB,SAAS,EAAE,MAAM,EAAE,GACpB,OAAO,CAAC,IAAI,CAAC,CAUf;CAkHJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FunctionGenerator.d.ts","sourceRoot":"","sources":["../../src/generates/FunctionGenerator.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,yBAAiB,iBAAiB,CAAC;IAC/B,SAAgB,QAAQ,CAAC,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAYtE;CAkOJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SdkGenerator.d.ts","sourceRoot":"","sources":["../../src/generates/SdkGenerator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,YAAY,CAAC;AAI5B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,yBAAiB,YAAY,CAAC;IAC1B,SAAsB,QAAQ,CAC1B,QAAQ,EAAE,EAAE,CAAC,WAAW,EACxB,MAAM,EAAE,cAAc,EACtB,SAAS,EAAE,MAAM,EAAE,GACpB,OAAO,CAAC,IAAI,CAAC,CA+Bf;IAEM,MAAM,WAAW,QAAiD,CAAC;CAC7E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwaggerGenerator.d.ts","sourceRoot":"","sources":["../../src/generates/SwaggerGenerator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,YAAY,CAAC;AAU5B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAK9C,yBAAiB,gBAAgB,CAAC;IAC9B,SAAsB,QAAQ,CAC1B,OAAO,EAAE,EAAE,CAAC,WAAW,EACvB,MAAM,EAAE,cAAc,CAAC,QAAQ,EAC/B,SAAS,EAAE,MAAM,EAAE,GACpB,OAAO,CAAC,IAAI,CAAC,CAuCf;CAkOJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,eAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IController.d.ts","sourceRoot":"","sources":["../../src/structures/IController.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,EAAE,WAAW,CAAC,SAAS,EAAE,CAAC;CACtC;AAED,yBAAiB,WAAW,CAAC;IACzB,UAAiB,SAAS;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,SAAS,EAAE,OAAO,CAAC;QAEnB,UAAU,EAAE,UAAU,EAAE,CAAC;KAC5B;IAED,UAAiB,UAAU;QACvB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;QAC1B,QAAQ,EAAE,aAAa,CAAC;QACxB,SAAS,EAAE,OAAO,CAAC;KACtB;CACJ"}
@@ -1,21 +0,0 @@
1
- export interface IMetadata {
2
- atomics: Set<string>;
3
- arraies: Map<string, IMetadata | null>;
4
- objects: Set<string>;
5
- nullable: boolean;
6
- required: boolean;
7
- description?: string;
8
- }
9
- export declare namespace IMetadata {
10
- interface IObject {
11
- description: string;
12
- properties: Record<string, IMetadata | null>;
13
- nullable: boolean;
14
- }
15
- interface IApplication {
16
- metadata: IMetadata;
17
- storage: IStorage;
18
- }
19
- type IStorage = Record<string, IMetadata.IObject>;
20
- }
21
- //# sourceMappingURL=IMetadata.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IMetadata.d.ts","sourceRoot":"","sources":["../../src/structures/IMetadata.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC,CAAC;IACvC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,yBAAiB,SAAS,CAAC;IACvB,UAAiB,OAAO;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC,CAAC;QAC7C,QAAQ,EAAE,OAAO,CAAC;KACrB;IAED,UAAiB,YAAY;QACzB,QAAQ,EAAE,SAAS,CAAC;QACpB,OAAO,EAAE,QAAQ,CAAC;KACrB;IACD,KAAY,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"IRoute.d.ts","sourceRoot":"","sources":["../../src/structures/IRoute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;IAEnB,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,CAAC;IAChC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;IAC9B,MAAM,EAAE,KAAK,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,EAAE,CAAC,iBAAiB,EAAE,CAAC;IACjC,IAAI,EAAE,EAAE,CAAC,YAAY,EAAE,CAAC;CAC3B;AAED,yBAAiB,MAAM,CAAC;IACpB,UAAiB,UAAU;QACvB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;QAC1B,QAAQ,EAAE,aAAa,CAAC;QACxB,SAAS,EAAE,OAAO,CAAC;QACnB,IAAI,EAAE,KAAK,CAAC;KACf;CACJ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISwagger.d.ts","sourceRoot":"","sources":["../../src/structures/ISwagger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAEzE,MAAM,WAAW,QAAQ;IACrB,OAAO,EAAE,KAAK,CAAC;IACf,OAAO,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC5B,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtC,UAAU,EAAE,eAAe,CAAC;CAC/B;AACD,yBAAiB,QAAQ,CAAC;IACtB,KAAY,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C,UAAiB,MAAM;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,EAAE,CAAC;QACf,UAAU,EAAE,UAAU,EAAE,CAAC;QACzB,SAAS,EAAE,aAAa,CAAC;QACzB,WAAW,CAAC,EAAE,YAAY,CAAC;QAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB;IAED,UAAiB,KAAK;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACjB;IACD,UAAiB,UAAU;QACvB,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,MAAM,EAAE,WAAW,CAAC;QACpB,QAAQ,EAAE,IAAI,CAAC;QACf,WAAW,EAAE,MAAM,CAAC;KACvB;IACD,UAAiB,YAAY;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,YAAY,CAAC;QACtB,QAAQ,EAAE,IAAI,CAAC;KAClB;IACD,KAAY,aAAa,GAAG,MAAM,CAC9B,MAAM,EACN;QACI,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,CAAC,EAAE,YAAY,CAAC;KAC1B,CACJ,CAAC;IAEF,UAAiB,OAAO;QACpB,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,CAAC,EAAE,MAAM,CAAC;KACxB;IAED,UAAiB,YAAY;QACzB,kBAAkB,EAAE;YAChB,MAAM,EAAE,WAAW,CAAC;SACvB,CAAC;KACL;CACJ"}
@@ -1,6 +0,0 @@
1
- import ts from "typescript";
2
- export interface IType {
3
- metadata: ts.Type;
4
- escapedText: string;
5
- }
6
- //# sourceMappingURL=IType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IType.d.ts","sourceRoot":"","sources":["../../src/structures/IType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,MAAM,WAAW,KAAK;IAClB,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACvB"}