@goast/typescript 0.5.2 → 0.5.3-beta.1

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 (90) hide show
  1. package/LICENSE +21 -21
  2. package/assets/client/k6/request-builder.ts +362 -362
  3. package/esm/src/generators/services/fetch-clients/fetch-client-generator.d.ts.map +1 -1
  4. package/esm/src/generators/services/fetch-clients/fetch-client-generator.js +6 -2
  5. package/package.json +1 -1
  6. package/script/src/generators/services/fetch-clients/fetch-client-generator.d.ts.map +1 -1
  7. package/script/src/generators/services/fetch-clients/fetch-client-generator.js +6 -2
  8. package/src/mod.ts +0 -7
  9. package/src/src/assets.ts +0 -9
  10. package/src/src/ast/_index.ts +0 -54
  11. package/src/src/ast/common.ts +0 -1
  12. package/src/src/ast/index.ts +0 -1
  13. package/src/src/ast/node.ts +0 -10
  14. package/src/src/ast/nodes/argument.ts +0 -40
  15. package/src/src/ast/nodes/array-type.ts +0 -49
  16. package/src/src/ast/nodes/arrow-function.ts +0 -91
  17. package/src/src/ast/nodes/call.ts +0 -55
  18. package/src/src/ast/nodes/class.ts +0 -133
  19. package/src/src/ast/nodes/constructor-parameter.ts +0 -70
  20. package/src/src/ast/nodes/constructor.ts +0 -77
  21. package/src/src/ast/nodes/decorator.ts +0 -76
  22. package/src/src/ast/nodes/doc-tag.ts +0 -291
  23. package/src/src/ast/nodes/doc.ts +0 -102
  24. package/src/src/ast/nodes/enum-value.ts +0 -72
  25. package/src/src/ast/nodes/enum.ts +0 -77
  26. package/src/src/ast/nodes/export.ts +0 -54
  27. package/src/src/ast/nodes/function-type.ts +0 -60
  28. package/src/src/ast/nodes/function.ts +0 -107
  29. package/src/src/ast/nodes/generic-parameter.ts +0 -71
  30. package/src/src/ast/nodes/indexer.ts +0 -60
  31. package/src/src/ast/nodes/interface.ts +0 -117
  32. package/src/src/ast/nodes/intersection-type.ts +0 -67
  33. package/src/src/ast/nodes/lookup-type.ts +0 -53
  34. package/src/src/ast/nodes/method.ts +0 -138
  35. package/src/src/ast/nodes/object-type.ts +0 -52
  36. package/src/src/ast/nodes/object.ts +0 -48
  37. package/src/src/ast/nodes/parameter.ts +0 -85
  38. package/src/src/ast/nodes/property-accessor.ts +0 -173
  39. package/src/src/ast/nodes/property.ts +0 -192
  40. package/src/src/ast/nodes/reference.ts +0 -194
  41. package/src/src/ast/nodes/string.ts +0 -49
  42. package/src/src/ast/nodes/tuple.ts +0 -53
  43. package/src/src/ast/nodes/type-alias.ts +0 -75
  44. package/src/src/ast/nodes/typeof.ts +0 -42
  45. package/src/src/ast/nodes/types.ts +0 -40
  46. package/src/src/ast/nodes/union-type.ts +0 -62
  47. package/src/src/ast/nodes/variable.ts +0 -73
  48. package/src/src/ast/references/angular.ts +0 -24
  49. package/src/src/ast/references/easy-network-stub.ts +0 -21
  50. package/src/src/ast/references/index.ts +0 -5
  51. package/src/src/ast/references/k6.ts +0 -8
  52. package/src/src/ast/references/rxjs.ts +0 -7
  53. package/src/src/ast/references/typescript.ts +0 -35
  54. package/src/src/ast/utils/get-type-script-builder-options.ts +0 -19
  55. package/src/src/ast/utils/to-ts-node.ts +0 -27
  56. package/src/src/ast/utils/write-ts-generic-parameters.ts +0 -25
  57. package/src/src/ast/utils/write-ts-members.ts +0 -28
  58. package/src/src/ast/utils/write-ts-nodes.ts +0 -35
  59. package/src/src/ast/utils/write-ts-parameters.ts +0 -25
  60. package/src/src/common-results.ts +0 -26
  61. package/src/src/config.ts +0 -89
  62. package/src/src/file-builder.ts +0 -136
  63. package/src/src/generators/file-generator.ts +0 -15
  64. package/src/src/generators/index.ts +0 -6
  65. package/src/src/generators/models/index.ts +0 -3
  66. package/src/src/generators/models/model-generator.ts +0 -469
  67. package/src/src/generators/models/models-generator.ts +0 -108
  68. package/src/src/generators/models/models.ts +0 -121
  69. package/src/src/generators/services/angular-services/angular-service-generator.ts +0 -406
  70. package/src/src/generators/services/angular-services/angular-services-generator.ts +0 -295
  71. package/src/src/generators/services/angular-services/index.ts +0 -3
  72. package/src/src/generators/services/angular-services/models.ts +0 -277
  73. package/src/src/generators/services/angular-services/refs.ts +0 -54
  74. package/src/src/generators/services/easy-network-stub/easy-network-stub-generator.ts +0 -242
  75. package/src/src/generators/services/easy-network-stub/easy-network-stubs-generator.ts +0 -211
  76. package/src/src/generators/services/easy-network-stub/index.ts +0 -3
  77. package/src/src/generators/services/easy-network-stub/models.ts +0 -124
  78. package/src/src/generators/services/easy-network-stub/refs.ts +0 -45
  79. package/src/src/generators/services/fetch-clients/fetch-client-generator.ts +0 -267
  80. package/src/src/generators/services/fetch-clients/fetch-clients-generator.ts +0 -163
  81. package/src/src/generators/services/fetch-clients/index.ts +0 -3
  82. package/src/src/generators/services/fetch-clients/models.ts +0 -130
  83. package/src/src/generators/services/fetch-clients/refs.ts +0 -21
  84. package/src/src/generators/services/k6-clients/index.ts +0 -3
  85. package/src/src/generators/services/k6-clients/k6-client-generator.ts +0 -465
  86. package/src/src/generators/services/k6-clients/k6-clients-generator.ts +0 -171
  87. package/src/src/generators/services/k6-clients/models.ts +0 -247
  88. package/src/src/generators/services/k6-clients/refs.ts +0 -16
  89. package/src/src/import-collection.ts +0 -236
  90. package/src/src/utils.ts +0 -72
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Marc Schmidt
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Marc Schmidt
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.