definition-generator-framework 1.12.4 → 1.12.6

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 (185) hide show
  1. package/dist/framework/definition-component.d.ts +11 -9
  2. package/dist/framework/definition-component.js +18 -18
  3. package/dist/framework/definition-generator.d.ts +6 -5
  4. package/dist/framework/definition-generator.js +16 -18
  5. package/dist/framework/file-content-generator/file-content-generator.js +1 -1
  6. package/dist/framework/file-content-generator/file-content-generator.test.js +49 -49
  7. package/dist/framework/framework.d.ts +14 -13
  8. package/dist/framework/framework.data.d.ts +3 -3
  9. package/dist/framework/framework.data.js +13 -7
  10. package/dist/framework/framework.js +36 -33
  11. package/dist/framework/framework.model.d.ts +15 -15
  12. package/dist/framework/framework.model.js +3 -3
  13. package/dist/helpers/common-functions/common-functions.js +1 -1
  14. package/dist/helpers/common-functions/common-functions.spec.d.ts +1 -0
  15. package/dist/helpers/common-functions/common-functions.spec.js +50 -0
  16. package/dist/helpers/duplicate-helper/duplicate-helper.spec.d.ts +1 -0
  17. package/dist/helpers/duplicate-helper/duplicate-helper.spec.js +54 -0
  18. package/dist/helpers/output-helper/output-helper.d.ts +26 -26
  19. package/dist/helpers/output-helper/output-helper.js +127 -107
  20. package/dist/helpers/output-helper/output-helper.spec.d.ts +24 -0
  21. package/dist/helpers/output-helper/output-helper.spec.js +261 -0
  22. package/dist/helpers/output-helper/output-helper.test.d.ts +22 -22
  23. package/dist/helpers/output-helper/output-helper.test.js +224 -212
  24. package/dist/helpers/raw-definition-helper/raw-definition.helper.spec.d.ts +1 -0
  25. package/dist/helpers/raw-definition-helper/raw-definition.helper.spec.js +143 -0
  26. package/dist/helpers/validator/custom-validator-helper/custom-validator.helper.spec.d.ts +1 -0
  27. package/dist/helpers/validator/custom-validator-helper/custom-validator.helper.spec.js +191 -0
  28. package/dist/helpers/validator/custom-validators/image.custom-validator.d.ts +6 -6
  29. package/dist/helpers/validator/custom-validators/image.custom-validator.js +40 -39
  30. package/dist/helpers/validator/custom-validators/unique-name-group.custom-validator.d.ts +4 -4
  31. package/dist/helpers/validator/custom-validators/unique-name-group.custom-validator.js +29 -29
  32. package/dist/helpers/validator/joi-custom-validators.spec.d.ts +1 -0
  33. package/dist/helpers/validator/joi-custom-validators.spec.js +304 -0
  34. package/dist/helpers/validator/validator.spec.d.ts +1 -0
  35. package/dist/helpers/validator/validator.spec.js +332 -0
  36. package/dist/pipeline/1-select-definitions-helper.d.ts +13 -13
  37. package/dist/pipeline/1-select-definitions-helper.js +68 -72
  38. package/dist/pipeline/1-select-definitions.helper.test.js +40 -40
  39. package/dist/pipeline/1-select-definitions.spec.d.ts +1 -0
  40. package/dist/pipeline/1-select-definitions.spec.js +140 -0
  41. package/dist/pipeline/2-structure-parser.helper.spec.d.ts +1 -0
  42. package/dist/pipeline/2-structure-parser.helper.spec.js +280 -0
  43. package/dist/pipeline/parsers/array-parser.spec.d.ts +1 -0
  44. package/dist/pipeline/parsers/array-parser.spec.js +128 -0
  45. package/dist/pipeline/parsers/object-parser.spec.d.ts +1 -0
  46. package/dist/pipeline/parsers/object-parser.spec.js +179 -0
  47. package/dist/pipeline/parsers/primitive-parser.spec.d.ts +1 -0
  48. package/dist/pipeline/parsers/primitive-parser.spec.js +79 -0
  49. package/dist/pre-made-components/assets/3-font.js +4 -4
  50. package/dist/pre-made-components/events/1-event.d.ts +1 -1
  51. package/dist/pre-made-components/events/1-event.js +157 -125
  52. package/dist/pre-made-components/events/2-event-test.d.ts +8 -8
  53. package/dist/pre-made-components/events/2-event-test.js +156 -119
  54. package/dist/pre-made-components/events/2-script-test.js +0 -1
  55. package/dist/pre-made-components/events/event-setup.d.ts +10 -5
  56. package/dist/pre-made-components/events/event-setup.js +15 -15
  57. package/dist/pre-made-components/events/script-setup.d.ts +5 -3
  58. package/dist/pre-made-components/events/script-setup.js +11 -11
  59. package/package.json +11 -11
  60. package/.eslintrc.js +0 -212
  61. package/.vscode/launch.json +0 -15
  62. package/.vscode/settings.json +0 -25
  63. package/coverage/clover.xml +0 -503
  64. package/coverage/coverage-final.json +0 -16
  65. package/coverage/lcov-report/_mocks/index.html +0 -116
  66. package/coverage/lcov-report/_mocks/mocks.ts.html +0 -223
  67. package/coverage/lcov-report/base.css +0 -224
  68. package/coverage/lcov-report/block-navigation.js +0 -87
  69. package/coverage/lcov-report/favicon.png +0 -0
  70. package/coverage/lcov-report/framework/framework.data.ts.html +0 -109
  71. package/coverage/lcov-report/framework/index.html +0 -116
  72. package/coverage/lcov-report/helpers/common-functions/common-functions.ts.html +0 -178
  73. package/coverage/lcov-report/helpers/common-functions/index.html +0 -116
  74. package/coverage/lcov-report/helpers/duplicate-helper/duplicate-helper.ts.html +0 -196
  75. package/coverage/lcov-report/helpers/duplicate-helper/index.html +0 -116
  76. package/coverage/lcov-report/helpers/output-helper/index.html +0 -116
  77. package/coverage/lcov-report/helpers/output-helper/output-helper.ts.html +0 -277
  78. package/coverage/lcov-report/helpers/raw-definition-helper/index.html +0 -116
  79. package/coverage/lcov-report/helpers/raw-definition-helper/raw-definition.helper.ts.html +0 -256
  80. package/coverage/lcov-report/helpers/validator/index.html +0 -131
  81. package/coverage/lcov-report/helpers/validator/joi-custom-validators.ts.html +0 -643
  82. package/coverage/lcov-report/helpers/validator/validator.ts.html +0 -310
  83. package/coverage/lcov-report/index.html +0 -251
  84. package/coverage/lcov-report/pipeline/1-select-definitions-helper.ts.html +0 -358
  85. package/coverage/lcov-report/pipeline/2-structure-parser.helper.ts.html +0 -301
  86. package/coverage/lcov-report/pipeline/3-config.ts.html +0 -178
  87. package/coverage/lcov-report/pipeline/_mocks/index.html +0 -116
  88. package/coverage/lcov-report/pipeline/_mocks/index.ts.html +0 -229
  89. package/coverage/lcov-report/pipeline/index.html +0 -146
  90. package/coverage/lcov-report/pipeline/parsers/array-parser.ts.html +0 -271
  91. package/coverage/lcov-report/pipeline/parsers/index.html +0 -146
  92. package/coverage/lcov-report/pipeline/parsers/object-parser.ts.html +0 -439
  93. package/coverage/lcov-report/pipeline/parsers/primitive-parser.ts.html +0 -370
  94. package/coverage/lcov-report/prettify.css +0 -1
  95. package/coverage/lcov-report/prettify.js +0 -2
  96. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  97. package/coverage/lcov-report/sorter.js +0 -196
  98. package/coverage/lcov.info +0 -911
  99. package/dist/_mocks/mocks.js.map +0 -1
  100. package/dist/decorators/definition-component.js.map +0 -1
  101. package/dist/decorators/definition-generator.js.map +0 -1
  102. package/dist/framework/context.js.map +0 -1
  103. package/dist/framework/definition-component.js.map +0 -1
  104. package/dist/framework/definition-generator.js.map +0 -1
  105. package/dist/framework/definition-store.js.map +0 -1
  106. package/dist/framework/file-content-generator/file-content-generator.js.map +0 -1
  107. package/dist/framework/file-content-generator/file-content-generator.test.js.map +0 -1
  108. package/dist/framework/framework.data.js.map +0 -1
  109. package/dist/framework/framework.js.map +0 -1
  110. package/dist/framework/framework.model.js.map +0 -1
  111. package/dist/framework/index-file-generator/index-file-generator.js.map +0 -1
  112. package/dist/framework/interfaces.js.map +0 -1
  113. package/dist/framework/kernel.js.map +0 -1
  114. package/dist/helpers/common-functions/common-functions.js.map +0 -1
  115. package/dist/helpers/common-functions/common-functions.spec.js.map +0 -1
  116. package/dist/helpers/common-functions/common-functions.test.js.map +0 -1
  117. package/dist/helpers/duplicate-helper/duplicate-helper.js.map +0 -1
  118. package/dist/helpers/duplicate-helper/duplicate-helper.spec.js.map +0 -1
  119. package/dist/helpers/duplicate-helper/duplicate-helper.test.js.map +0 -1
  120. package/dist/helpers/output-helper/output-helper.js.map +0 -1
  121. package/dist/helpers/output-helper/output-helper.spec.js.map +0 -1
  122. package/dist/helpers/output-helper/output-helper.test.js.map +0 -1
  123. package/dist/helpers/raw-definition-helper/raw-definition.helper.js.map +0 -1
  124. package/dist/helpers/raw-definition-helper/raw-definition.helper.spec.js.map +0 -1
  125. package/dist/helpers/raw-definition-helper/raw-definition.helper.test.js.map +0 -1
  126. package/dist/helpers/validator/custom-validator-helper/custom-validator.helper.js.map +0 -1
  127. package/dist/helpers/validator/custom-validator-helper/custom-validator.helper.spec.js.map +0 -1
  128. package/dist/helpers/validator/custom-validator-helper/custom-validator.helper.test.js.map +0 -1
  129. package/dist/helpers/validator/custom-validators/helpers/sprite-validation.helper.js.map +0 -1
  130. package/dist/helpers/validator/custom-validators/helpers/sprite-validation.helper.test.js.map +0 -1
  131. package/dist/helpers/validator/custom-validators/image.custom-validator.js.map +0 -1
  132. package/dist/helpers/validator/custom-validators/path.custom-validator.js.map +0 -1
  133. package/dist/helpers/validator/custom-validators/position-on-sprite.js.map +0 -1
  134. package/dist/helpers/validator/custom-validators/reference.custom-validator.js.map +0 -1
  135. package/dist/helpers/validator/custom-validators/sprite.custom-validator.js.map +0 -1
  136. package/dist/helpers/validator/custom-validators/unique-name-group.custom-validator.js.map +0 -1
  137. package/dist/helpers/validator/custom-validators/unique.custom-validator.js.map +0 -1
  138. package/dist/helpers/validator/joi-custom-validators.js.map +0 -1
  139. package/dist/helpers/validator/joi-custom-validators.spec.js.map +0 -1
  140. package/dist/helpers/validator/validator.js.map +0 -1
  141. package/dist/helpers/validator/validator.spec.js.map +0 -1
  142. package/dist/helpers/validator/validator.test.js.map +0 -1
  143. package/dist/index.js.map +0 -1
  144. package/dist/pipeline/1-select-definitions-helper.js.map +0 -1
  145. package/dist/pipeline/1-select-definitions.helper.js.map +0 -1
  146. package/dist/pipeline/1-select-definitions.helper.test.js.map +0 -1
  147. package/dist/pipeline/1-select-definitions.spec.js.map +0 -1
  148. package/dist/pipeline/2-structure-parser.helper.js.map +0 -1
  149. package/dist/pipeline/2-structure-parser.helper.spec.js.map +0 -1
  150. package/dist/pipeline/2-structure-parser.helper.test.js.map +0 -1
  151. package/dist/pipeline/3-config.js.map +0 -1
  152. package/dist/pipeline/_mocks/index.js.map +0 -1
  153. package/dist/pipeline/parsers/array-parser.js.map +0 -1
  154. package/dist/pipeline/parsers/array-parser.spec.js.map +0 -1
  155. package/dist/pipeline/parsers/array-parser.test.js.map +0 -1
  156. package/dist/pipeline/parsers/object-parser.js.map +0 -1
  157. package/dist/pipeline/parsers/object-parser.spec.js.map +0 -1
  158. package/dist/pipeline/parsers/object-parser.test.js.map +0 -1
  159. package/dist/pipeline/parsers/primitive-parser.js.map +0 -1
  160. package/dist/pipeline/parsers/primitive-parser.spec.js.map +0 -1
  161. package/dist/pipeline/parsers/primitive-parser.test.js.map +0 -1
  162. package/dist/pipeline/raw-data-parser.js.map +0 -1
  163. package/dist/pre-made-components/_validators/shape-validators.js.map +0 -1
  164. package/dist/pre-made-components/_validators/sprite-validators.js.map +0 -1
  165. package/dist/pre-made-components/assets/1-sprite.js.map +0 -1
  166. package/dist/pre-made-components/assets/2-sprite-group.js.map +0 -1
  167. package/dist/pre-made-components/assets/3-font.js.map +0 -1
  168. package/dist/pre-made-components/events/1-event.js.map +0 -1
  169. package/dist/pre-made-components/events/1-script.js.map +0 -1
  170. package/dist/pre-made-components/events/2-event-test.js.map +0 -1
  171. package/dist/pre-made-components/events/2-script-test.js.map +0 -1
  172. package/dist/pre-made-components/events/3-event.js.map +0 -1
  173. package/dist/pre-made-components/events/4-event-test.js.map +0 -1
  174. package/dist/pre-made-components/events/event-setup.js.map +0 -1
  175. package/dist/pre-made-components/events/helpers/quotes-to-tags.helper.js.map +0 -1
  176. package/dist/pre-made-components/events/helpers/quotes-to-tags.helper.test.js.map +0 -1
  177. package/dist/pre-made-components/events/helpers/script-testing.helper.js.map +0 -1
  178. package/dist/pre-made-components/events/script-setup.js.map +0 -1
  179. package/dist/pre-made-components/events/scripting-setup.js.map +0 -1
  180. package/dist/pre-made-components/events/validators.js.map +0 -1
  181. package/dist/setup.js.map +0 -1
  182. package/package.json.bak +0 -60
  183. package/scripts/prepare-package-json.ts +0 -23
  184. package/tsconfig.json +0 -24
  185. package/vitest.config.ts +0 -1
@@ -1,15 +0,0 @@
1
- {
2
- "configurations": [
3
- {
4
- "name": "Unit Tests",
5
- "type": "node",
6
- "request": "launch",
7
- "autoAttachChildProcesses": true,
8
- "skipFiles": ["<node_internals>/**", "**/node_modules/**"],
9
- "program": "${workspaceRoot}/node_modules/vitest/vitest.mjs",
10
- "args": ["run"],
11
- "smartStep": true,
12
- "console": "integratedTerminal"
13
- }
14
- ]
15
- }
@@ -1,25 +0,0 @@
1
- {
2
- "javascript.preferences.importModuleSpecifier": "relative",
3
- "typescript.preferences.importModuleSpecifier": "relative",
4
- "workbench.activityBar.location": "top",
5
- "window.zoomLevel": 0,
6
- "editor.stickyScroll.enabled": false,
7
- "workbench.tree.enableStickyScroll": false,
8
- "terminal.integrated.shellIntegration.decorationsEnabled": "never",
9
- "editor.wrappingIndent": "indent",
10
- "editor.codeActionsOnSave": {
11
- "source.fixAll.eslint": "always",
12
- "source.organizeImports": "never",
13
- "source.removeUnusedImports": "always"
14
- },
15
- "eslint.validate": [
16
- "javascript",
17
- "typescript"
18
- ],
19
- "eslint.run": "onType",
20
- "editor.formatOnSave": true,
21
- "typescript.suggest.autoImports": true,
22
- "typescript.updateImportsOnFileMove.enabled": "always",
23
- "typescript.tsdk": "node_modules/typescript/lib",
24
- "typescript.enablePromptUseWorkspaceTsdk": true
25
- }
@@ -1,503 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1703615215725" clover="3.2.0">
3
- <project timestamp="1703615215725" name="All files">
4
- <metrics statements="422" coveredstatements="399" conditionals="182" coveredconditionals="168" methods="86" coveredmethods="79" elements="690" coveredelements="646" complexity="0" loc="422" ncloc="422" packages="10" files="15" classes="15"/>
5
- <package name="_mocks">
6
- <metrics statements="14" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
7
- <file name="mocks.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\_mocks\mocks.ts">
8
- <metrics statements="14" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="2"/>
9
- <line num="3" count="9" type="stmt"/>
10
- <line num="4" count="20" type="stmt"/>
11
- <line num="16" count="9" type="stmt"/>
12
- <line num="17" count="0" type="stmt"/>
13
- <line num="18" count="0" type="stmt"/>
14
- <line num="19" count="0" type="stmt"/>
15
- <line num="20" count="0" type="stmt"/>
16
- <line num="21" count="0" type="stmt"/>
17
- <line num="23" count="0" type="stmt"/>
18
- <line num="26" count="9" type="stmt"/>
19
- <line num="27" count="7" type="stmt"/>
20
- <line num="33" count="9" type="stmt"/>
21
- <line num="38" count="9" type="stmt"/>
22
- <line num="43" count="9" type="stmt"/>
23
- </file>
24
- </package>
25
- <package name="framework">
26
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
27
- <file name="framework.data.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\framework\framework.data.ts">
28
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
29
- <line num="2" count="1" type="stmt"/>
30
- <line num="4" count="1" type="stmt"/>
31
- <line num="5" count="1" type="stmt"/>
32
- <line num="6" count="1" type="stmt"/>
33
- <line num="7" count="1" type="stmt"/>
34
- </file>
35
- </package>
36
- <package name="helpers.common-functions">
37
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
38
- <file name="common-functions.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\common-functions\common-functions.ts">
39
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
40
- <line num="3" count="20" type="stmt"/>
41
- <line num="7" count="25" type="stmt"/>
42
- <line num="11" count="39" type="stmt"/>
43
- <line num="15" count="25" type="stmt"/>
44
- <line num="19" count="59" type="stmt"/>
45
- <line num="27" count="17" type="stmt"/>
46
- <line num="31" count="7" type="stmt"/>
47
- </file>
48
- </package>
49
- <package name="helpers.duplicate-helper">
50
- <metrics statements="19" coveredstatements="19" conditionals="5" coveredconditionals="5" methods="4" coveredmethods="4"/>
51
- <file name="duplicate-helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\duplicate-helper\duplicate-helper.ts">
52
- <metrics statements="19" coveredstatements="19" conditionals="5" coveredconditionals="5" methods="4" coveredmethods="4"/>
53
- <line num="3" count="4" type="stmt"/>
54
- <line num="4" count="16" type="stmt"/>
55
- <line num="5" count="16" type="stmt"/>
56
- <line num="6" count="16" type="stmt"/>
57
- <line num="7" count="16" type="stmt"/>
58
- <line num="9" count="16" type="stmt"/>
59
- <line num="12" count="22" type="cond" truecount="2" falsecount="0"/>
60
- <line num="13" count="4" type="cond" truecount="1" falsecount="0"/>
61
- <line num="14" count="3" type="stmt"/>
62
- <line num="15" count="3" type="stmt"/>
63
- <line num="16" count="3" type="cond" truecount="2" falsecount="0"/>
64
- <line num="19" count="4" type="stmt"/>
65
- <line num="20" count="4" type="stmt"/>
66
- <line num="22" count="18" type="stmt"/>
67
- <line num="23" count="18" type="stmt"/>
68
- <line num="24" count="18" type="stmt"/>
69
- <line num="29" count="14" type="stmt"/>
70
- <line num="30" count="7" type="stmt"/>
71
- <line num="34" count="7" type="stmt"/>
72
- </file>
73
- </package>
74
- <package name="helpers.output-helper">
75
- <metrics statements="19" coveredstatements="16" conditionals="10" coveredconditionals="7" methods="6" coveredmethods="6"/>
76
- <file name="output-helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\output-helper\output-helper.ts">
77
- <metrics statements="19" coveredstatements="16" conditionals="10" coveredconditionals="7" methods="6" coveredmethods="6"/>
78
- <line num="1" count="1" type="stmt"/>
79
- <line num="10" count="3" type="stmt"/>
80
- <line num="11" count="3" type="cond" truecount="0" falsecount="1"/>
81
- <line num="12" count="0" type="stmt"/>
82
- <line num="15" count="3" type="cond" truecount="1" falsecount="1"/>
83
- <line num="16" count="3" type="cond" truecount="2" falsecount="0"/>
84
- <line num="17" count="3" type="stmt"/>
85
- <line num="19" count="0" type="stmt"/>
86
- <line num="24" count="3" type="stmt"/>
87
- <line num="33" count="3" type="stmt"/>
88
- <line num="34" count="3" type="cond" truecount="0" falsecount="1"/>
89
- <line num="35" count="0" type="stmt"/>
90
- <line num="38" count="3" type="cond" truecount="2" falsecount="0"/>
91
- <line num="39" count="2" type="stmt"/>
92
- <line num="41" count="1" type="stmt"/>
93
- <line num="44" count="3" type="stmt"/>
94
- <line num="48" count="6" type="stmt"/>
95
- <line num="60" count="59" type="cond" truecount="2" falsecount="0"/>
96
- <line num="64" count="1" type="stmt"/>
97
- </file>
98
- </package>
99
- <package name="helpers.raw-definition-helper">
100
- <metrics statements="26" coveredstatements="26" conditionals="18" coveredconditionals="18" methods="6" coveredmethods="6"/>
101
- <file name="raw-definition.helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\raw-definition-helper\raw-definition.helper.ts">
102
- <metrics statements="26" coveredstatements="26" conditionals="18" coveredconditionals="18" methods="6" coveredmethods="6"/>
103
- <line num="1" count="4" type="stmt"/>
104
- <line num="5" count="4" type="stmt"/>
105
- <line num="7" count="28" type="cond" truecount="2" falsecount="0"/>
106
- <line num="8" count="3" type="stmt"/>
107
- <line num="10" count="25" type="cond" truecount="2" falsecount="0"/>
108
- <line num="15" count="41" type="stmt"/>
109
- <line num="19" count="30" type="stmt"/>
110
- <line num="22" count="30" type="cond" truecount="3" falsecount="0"/>
111
- <line num="23" count="30" type="cond" truecount="2" falsecount="0"/>
112
- <line num="24" count="3" type="cond" truecount="1" falsecount="0"/>
113
- <line num="25" count="3" type="stmt"/>
114
- <line num="28" count="27" type="cond" truecount="1" falsecount="0"/>
115
- <line num="29" count="27" type="stmt"/>
116
- <line num="34" count="30" type="cond" truecount="1" falsecount="0"/>
117
- <line num="35" count="29" type="cond" truecount="2" falsecount="0"/>
118
- <line num="36" count="24" type="stmt"/>
119
- <line num="38" count="5" type="stmt"/>
120
- <line num="44" count="110" type="cond" truecount="2" falsecount="0"/>
121
- <line num="45" count="12" type="stmt"/>
122
- <line num="46" count="103" type="cond" truecount="2" falsecount="0"/>
123
- <line num="47" count="38" type="stmt"/>
124
- <line num="48" count="38" type="stmt"/>
125
- <line num="49" count="57" type="stmt"/>
126
- <line num="50" count="57" type="stmt"/>
127
- <line num="51" count="57" type="stmt"/>
128
- <line num="54" count="65" type="stmt"/>
129
- </file>
130
- </package>
131
- <package name="helpers.validator">
132
- <metrics statements="111" coveredstatements="106" conditionals="45" coveredconditionals="41" methods="34" coveredmethods="33"/>
133
- <file name="joi-custom-validators.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\validator\joi-custom-validators.ts">
134
- <metrics statements="83" coveredstatements="78" conditionals="33" coveredconditionals="29" methods="23" coveredmethods="22"/>
135
- <line num="1" count="3" type="stmt"/>
136
- <line num="3" count="3" type="stmt"/>
137
- <line num="4" count="3" type="stmt"/>
138
- <line num="5" count="3" type="stmt"/>
139
- <line num="8" count="3" type="stmt"/>
140
- <line num="20" count="3" type="stmt"/>
141
- <line num="21" count="3" type="stmt"/>
142
- <line num="22" count="3" type="stmt"/>
143
- <line num="23" count="3" type="stmt"/>
144
- <line num="26" count="17" type="stmt"/>
145
- <line num="30" count="0" type="stmt"/>
146
- <line num="35" count="2" type="stmt"/>
147
- <line num="36" count="4" type="stmt"/>
148
- <line num="39" count="24" type="stmt"/>
149
- <line num="41" count="24" type="stmt"/>
150
- <line num="42" count="24" type="cond" truecount="2" falsecount="0"/>
151
- <line num="43" count="16" type="stmt"/>
152
- <line num="44" count="16" type="stmt"/>
153
- <line num="46" count="16" type="stmt"/>
154
- <line num="51" count="16" type="stmt"/>
155
- <line num="52" count="8" type="cond" truecount="1" falsecount="1"/>
156
- <line num="53" count="8" type="stmt"/>
157
- <line num="55" count="0" type="stmt"/>
158
- <line num="59" count="4" type="stmt"/>
159
- <line num="60" count="4" type="cond" truecount="0" falsecount="1"/>
160
- <line num="61" count="0" type="stmt"/>
161
- <line num="66" count="4" type="stmt"/>
162
- <line num="70" count="2" type="stmt"/>
163
- <line num="71" count="2" type="stmt"/>
164
- <line num="74" count="18" type="stmt"/>
165
- <line num="75" count="18" type="cond" truecount="2" falsecount="0"/>
166
- <line num="76" count="12" type="stmt"/>
167
- <line num="78" count="12" type="stmt"/>
168
- <line num="79" count="12" type="stmt"/>
169
- <line num="81" count="12" type="cond" truecount="2" falsecount="0"/>
170
- <line num="82" count="1" type="stmt"/>
171
- <line num="84" count="11" type="stmt"/>
172
- <line num="87" count="6" type="stmt"/>
173
- <line num="91" count="9" type="stmt"/>
174
- <line num="92" count="9" type="cond" truecount="2" falsecount="0"/>
175
- <line num="93" count="6" type="stmt"/>
176
- <line num="96" count="3" type="cond" truecount="1" falsecount="0"/>
177
- <line num="97" count="1" type="stmt"/>
178
- <line num="100" count="9" type="stmt"/>
179
- <line num="104" count="2" type="stmt"/>
180
- <line num="107" count="4" type="stmt"/>
181
- <line num="110" count="7" type="stmt"/>
182
- <line num="112" count="7" type="stmt"/>
183
- <line num="113" count="7" type="cond" truecount="2" falsecount="0"/>
184
- <line num="114" count="8" type="stmt"/>
185
- <line num="115" count="6" type="cond" truecount="2" falsecount="0"/>
186
- <line num="116" count="2" type="stmt"/>
187
- <line num="118" count="4" type="stmt"/>
188
- <line num="121" count="1" type="stmt"/>
189
- <line num="125" count="3" type="stmt"/>
190
- <line num="126" count="3" type="stmt"/>
191
- <line num="128" count="3" type="cond" truecount="2" falsecount="0"/>
192
- <line num="129" count="1" type="stmt"/>
193
- <line num="132" count="2" type="cond" truecount="1" falsecount="0"/>
194
- <line num="133" count="2" type="stmt"/>
195
- <line num="136" count="3" type="stmt"/>
196
- <line num="144" count="10" type="cond" truecount="2" falsecount="0"/>
197
- <line num="146" count="6" type="stmt"/>
198
- <line num="152" count="49" type="cond" truecount="1" falsecount="1"/>
199
- <line num="153" count="0" type="stmt"/>
200
- <line num="154" count="49" type="cond" truecount="2" falsecount="0"/>
201
- <line num="155" count="1" type="stmt"/>
202
- <line num="156" count="48" type="cond" truecount="3" falsecount="1"/>
203
- <line num="157" count="48" type="cond" truecount="2" falsecount="0"/>
204
- <line num="159" count="0" type="stmt"/>
205
- <line num="164" count="28" type="stmt"/>
206
- <line num="165" count="28" type="stmt"/>
207
- <line num="166" count="28" type="stmt"/>
208
- <line num="170" count="19" type="stmt"/>
209
- <line num="171" count="19" type="cond" truecount="1" falsecount="0"/>
210
- <line num="172" count="13" type="stmt"/>
211
- <line num="173" count="13" type="stmt"/>
212
- <line num="175" count="19" type="stmt"/>
213
- <line num="179" count="16" type="stmt"/>
214
- <line num="180" count="16" type="cond" truecount="1" falsecount="0"/>
215
- <line num="181" count="13" type="stmt"/>
216
- <line num="182" count="13" type="stmt"/>
217
- <line num="184" count="16" type="stmt"/>
218
- </file>
219
- <file name="validator.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\helpers\validator\validator.ts">
220
- <metrics statements="28" coveredstatements="28" conditionals="12" coveredconditionals="12" methods="11" coveredmethods="11"/>
221
- <line num="4" count="2" type="stmt"/>
222
- <line num="11" count="2" type="stmt"/>
223
- <line num="12" count="2" type="stmt"/>
224
- <line num="17" count="7" type="stmt"/>
225
- <line num="18" count="8" type="stmt"/>
226
- <line num="19" count="8" type="stmt"/>
227
- <line num="21" count="7" type="stmt"/>
228
- <line num="22" count="8" type="stmt"/>
229
- <line num="24" count="8" type="stmt"/>
230
- <line num="25" count="8" type="stmt"/>
231
- <line num="26" count="8" type="stmt"/>
232
- <line num="28" count="8" type="stmt"/>
233
- <line num="32" count="3" type="stmt"/>
234
- <line num="33" count="3" type="cond" truecount="2" falsecount="0"/>
235
- <line num="34" count="1" type="cond" truecount="1" falsecount="0"/>
236
- <line num="35" count="1" type="stmt"/>
237
- <line num="39" count="1" type="stmt"/>
238
- <line num="41" count="2" type="cond" truecount="2" falsecount="0"/>
239
- <line num="42" count="1" type="stmt"/>
240
- <line num="43" count="2" type="stmt"/>
241
- <line num="45" count="2" type="stmt"/>
242
- <line num="49" count="2" type="stmt"/>
243
- <line num="52" count="1" type="stmt"/>
244
- <line num="57" count="24" type="stmt"/>
245
- <line num="62" count="24" type="cond" truecount="4" falsecount="0"/>
246
- <line num="63" count="7" type="stmt"/>
247
- <line num="70" count="6" type="stmt"/>
248
- <line num="72" count="18" type="stmt"/>
249
- </file>
250
- </package>
251
- <package name="pipeline">
252
- <metrics statements="74" coveredstatements="68" conditionals="29" coveredconditionals="23" methods="11" coveredmethods="10"/>
253
- <file name="1-select-definitions-helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\1-select-definitions-helper.ts">
254
- <metrics statements="35" coveredstatements="35" conditionals="13" coveredconditionals="13" methods="4" coveredmethods="4"/>
255
- <line num="1" count="1" type="stmt"/>
256
- <line num="2" count="1" type="stmt"/>
257
- <line num="16" count="1" type="stmt"/>
258
- <line num="17" count="7" type="stmt"/>
259
- <line num="19" count="7" type="stmt"/>
260
- <line num="20" count="7" type="stmt"/>
261
- <line num="21" count="7" type="stmt"/>
262
- <line num="24" count="7" type="stmt"/>
263
- <line num="25" count="7" type="stmt"/>
264
- <line num="26" count="7" type="stmt"/>
265
- <line num="27" count="7" type="stmt"/>
266
- <line num="28" count="7" type="stmt"/>
267
- <line num="30" count="7" type="stmt"/>
268
- <line num="31" count="47" type="stmt"/>
269
- <line num="33" count="47" type="cond" truecount="2" falsecount="0"/>
270
- <line num="34" count="29" type="cond" truecount="2" falsecount="0"/>
271
- <line num="35" count="8" type="stmt"/>
272
- <line num="36" count="8" type="stmt"/>
273
- <line num="37" count="21" type="cond" truecount="3" falsecount="0"/>
274
- <line num="38" count="10" type="stmt"/>
275
- <line num="40" count="18" type="cond" truecount="1" falsecount="0"/>
276
- <line num="41" count="5" type="stmt"/>
277
- <line num="45" count="7" type="stmt"/>
278
- <line num="47" count="7" type="stmt"/>
279
- <line num="54" count="15" type="cond" truecount="1" falsecount="0"/>
280
- <line num="55" count="6" type="cond" truecount="2" falsecount="0"/>
281
- <line num="56" count="5" type="stmt"/>
282
- <line num="58" count="1" type="stmt"/>
283
- <line num="62" count="1" type="stmt"/>
284
- <line num="65" count="15" type="stmt"/>
285
- <line num="69" count="8" type="cond" truecount="2" falsecount="0"/>
286
- <line num="70" count="6" type="stmt"/>
287
- <line num="79" count="2" type="stmt"/>
288
- <line num="87" count="2" type="stmt"/>
289
- <line num="88" count="2" type="stmt"/>
290
- </file>
291
- <file name="2-structure-parser.helper.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\2-structure-parser.helper.ts">
292
- <metrics statements="29" coveredstatements="26" conditionals="14" coveredconditionals="10" methods="6" coveredmethods="6"/>
293
- <line num="2" count="3" type="stmt"/>
294
- <line num="3" count="3" type="stmt"/>
295
- <line num="4" count="3" type="stmt"/>
296
- <line num="7" count="3" type="cond" truecount="2" falsecount="0"/>
297
- <line num="8" count="3" type="stmt"/>
298
- <line num="9" count="3" type="stmt"/>
299
- <line num="10" count="3" type="stmt"/>
300
- <line num="18" count="3" type="stmt"/>
301
- <line num="20" count="71" type="stmt"/>
302
- <line num="21" count="71" type="cond" truecount="3" falsecount="0"/>
303
- <line num="23" count="11" type="stmt"/>
304
- <line num="25" count="11" type="stmt"/>
305
- <line num="27" count="49" type="stmt"/>
306
- <line num="32" count="71" type="cond" truecount="2" falsecount="0"/>
307
- <line num="33" count="11" type="stmt"/>
308
- <line num="34" count="60" type="cond" truecount="2" falsecount="0"/>
309
- <line num="35" count="11" type="stmt"/>
310
- <line num="37" count="49" type="stmt"/>
311
- <line num="42" count="12" type="stmt"/>
312
- <line num="43" count="12" type="stmt"/>
313
- <line num="45" count="12" type="stmt"/>
314
- <line num="46" count="12" type="cond" truecount="1" falsecount="0"/>
315
- <line num="47" count="11" type="stmt"/>
316
- <line num="55" count="11" type="stmt"/>
317
- <line num="58" count="0" type="cond" truecount="0" falsecount="4"/>
318
- <line num="59" count="0" type="stmt"/>
319
- <line num="61" count="0" type="stmt"/>
320
- <line num="68" count="12" type="stmt"/>
321
- <line num="70" count="12" type="stmt"/>
322
- </file>
323
- <file name="3-config.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\3-config.ts">
324
- <metrics statements="10" coveredstatements="7" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
325
- <line num="1" count="1" type="stmt"/>
326
- <line num="3" count="1" type="stmt"/>
327
- <line num="4" count="1" type="stmt"/>
328
- <line num="7" count="1" type="stmt"/>
329
- <line num="17" count="1" type="stmt"/>
330
- <line num="19" count="1" type="stmt"/>
331
- <line num="20" count="1" type="stmt"/>
332
- <line num="26" count="0" type="stmt"/>
333
- <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
334
- <line num="29" count="0" type="stmt"/>
335
- </file>
336
- </package>
337
- <package name="pipeline._mocks">
338
- <metrics statements="15" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="3"/>
339
- <file name="index.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\_mocks\index.ts">
340
- <metrics statements="15" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="3"/>
341
- <line num="2" count="3" type="stmt"/>
342
- <line num="5" count="3" type="stmt"/>
343
- <line num="6" count="0" type="stmt"/>
344
- <line num="13" count="3" type="stmt"/>
345
- <line num="14" count="0" type="stmt"/>
346
- <line num="21" count="3" type="stmt"/>
347
- <line num="22" count="0" type="stmt"/>
348
- <line num="28" count="3" type="stmt"/>
349
- <line num="29" count="5" type="stmt"/>
350
- <line num="35" count="3" type="stmt"/>
351
- <line num="36" count="3" type="stmt"/>
352
- <line num="40" count="29" type="stmt"/>
353
- <line num="41" count="29" type="stmt"/>
354
- <line num="43" count="29" type="stmt"/>
355
- <line num="46" count="29" type="stmt"/>
356
- </file>
357
- </package>
358
- <package name="pipeline.parsers">
359
- <metrics statements="132" coveredstatements="132" conditionals="75" coveredconditionals="74" methods="8" coveredmethods="8"/>
360
- <file name="array-parser.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\parsers\array-parser.ts">
361
- <metrics statements="29" coveredstatements="29" conditionals="14" coveredconditionals="14" methods="2" coveredmethods="2"/>
362
- <line num="2" count="3" type="stmt"/>
363
- <line num="4" count="3" type="stmt"/>
364
- <line num="6" count="21" type="stmt"/>
365
- <line num="7" count="21" type="stmt"/>
366
- <line num="8" count="21" type="stmt"/>
367
- <line num="10" count="21" type="stmt"/>
368
- <line num="11" count="46" type="cond" truecount="2" falsecount="0"/>
369
- <line num="12" count="37" type="cond" truecount="4" falsecount="0"/>
370
- <line num="13" count="4" type="stmt"/>
371
- <line num="17" count="4" type="stmt"/>
372
- <line num="18" count="33" type="cond" truecount="2" falsecount="0"/>
373
- <line num="19" count="2" type="cond" truecount="2" falsecount="0"/>
374
- <line num="20" count="1" type="stmt"/>
375
- <line num="24" count="1" type="stmt"/>
376
- <line num="26" count="1" type="stmt"/>
377
- <line num="30" count="1" type="stmt"/>
378
- <line num="33" count="31" type="cond" truecount="1" falsecount="0"/>
379
- <line num="34" count="14" type="stmt"/>
380
- <line num="35" count="14" type="stmt"/>
381
- <line num="38" count="31" type="stmt"/>
382
- <line num="39" count="31" type="stmt"/>
383
- <line num="41" count="9" type="cond" truecount="2" falsecount="0"/>
384
- <line num="42" count="1" type="stmt"/>
385
- <line num="46" count="1" type="stmt"/>
386
- <line num="48" count="8" type="stmt"/>
387
- <line num="52" count="14" type="cond" truecount="1" falsecount="0"/>
388
- <line num="53" count="14" type="stmt"/>
389
- <line num="54" count="14" type="stmt"/>
390
- <line num="57" count="14" type="stmt"/>
391
- </file>
392
- <file name="object-parser.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\parsers\object-parser.ts">
393
- <metrics statements="68" coveredstatements="68" conditionals="35" coveredconditionals="35" methods="2" coveredmethods="2"/>
394
- <line num="2" count="3" type="stmt"/>
395
- <line num="3" count="3" type="stmt"/>
396
- <line num="5" count="3" type="stmt"/>
397
- <line num="7" count="29" type="stmt"/>
398
- <line num="8" count="29" type="stmt"/>
399
- <line num="9" count="29" type="stmt"/>
400
- <line num="11" count="29" type="stmt"/>
401
- <line num="13" count="29" type="stmt"/>
402
- <line num="14" count="66" type="cond" truecount="5" falsecount="0"/>
403
- <line num="15" count="44" type="cond" truecount="2" falsecount="0"/>
404
- <line num="16" count="1" type="stmt"/>
405
- <line num="20" count="1" type="stmt"/>
406
- <line num="21" count="43" type="cond" truecount="2" falsecount="0"/>
407
- <line num="22" count="1" type="stmt"/>
408
- <line num="26" count="1" type="stmt"/>
409
- <line num="27" count="42" type="cond" truecount="4" falsecount="0"/>
410
- <line num="28" count="4" type="stmt"/>
411
- <line num="32" count="4" type="stmt"/>
412
- <line num="33" count="38" type="cond" truecount="2" falsecount="0"/>
413
- <line num="34" count="1" type="stmt"/>
414
- <line num="38" count="1" type="stmt"/>
415
- <line num="39" count="37" type="cond" truecount="2" falsecount="0"/>
416
- <line num="40" count="3" type="stmt"/>
417
- <line num="44" count="3" type="stmt"/>
418
- <line num="46" count="34" type="cond" truecount="1" falsecount="0"/>
419
- <line num="47" count="4" type="stmt"/>
420
- <line num="48" count="4" type="stmt"/>
421
- <line num="49" count="4" type="stmt"/>
422
- <line num="50" count="4" type="stmt"/>
423
- <line num="51" count="4" type="stmt"/>
424
- <line num="52" count="4" type="stmt"/>
425
- <line num="54" count="34" type="stmt"/>
426
- <line num="55" count="34" type="cond" truecount="2" falsecount="0"/>
427
- <line num="56" count="10" type="stmt"/>
428
- <line num="57" count="10" type="stmt"/>
429
- <line num="59" count="10" type="cond" truecount="2" falsecount="0"/>
430
- <line num="60" count="1" type="stmt"/>
431
- <line num="64" count="1" type="stmt"/>
432
- <line num="66" count="9" type="stmt"/>
433
- <line num="67" count="9" type="cond" truecount="2" falsecount="0"/>
434
- <line num="69" count="24" type="cond" truecount="2" falsecount="0"/>
435
- <line num="70" count="1" type="stmt"/>
436
- <line num="71" count="1" type="stmt"/>
437
- <line num="72" count="1" type="stmt"/>
438
- <line num="73" count="1" type="stmt"/>
439
- <line num="75" count="23" type="stmt"/>
440
- <line num="76" count="23" type="stmt"/>
441
- <line num="77" count="23" type="stmt"/>
442
- <line num="80" count="22" type="cond" truecount="2" falsecount="0"/>
443
- <line num="81" count="2" type="cond" truecount="2" falsecount="0"/>
444
- <line num="82" count="1" type="stmt"/>
445
- <line num="86" count="1" type="stmt"/>
446
- <line num="88" count="1" type="stmt"/>
447
- <line num="92" count="1" type="stmt"/>
448
- <line num="94" count="20" type="cond" truecount="2" falsecount="0"/>
449
- <line num="95" count="1" type="stmt"/>
450
- <line num="96" count="1" type="stmt"/>
451
- <line num="97" count="1" type="stmt"/>
452
- <line num="98" count="1" type="stmt"/>
453
- <line num="99" count="1" type="stmt"/>
454
- <line num="100" count="1" type="stmt"/>
455
- <line num="101" count="1" type="stmt"/>
456
- <line num="103" count="19" type="cond" truecount="2" falsecount="0"/>
457
- <line num="107" count="16" type="cond" truecount="1" falsecount="0"/>
458
- <line num="108" count="4" type="stmt"/>
459
- <line num="109" count="4" type="stmt"/>
460
- <line num="110" count="4" type="stmt"/>
461
- <line num="113" count="16" type="stmt"/>
462
- </file>
463
- <file name="primitive-parser.ts" path="D:\Projects\Game-Dev\Framework\Definition-Generator-Framework\src\pipeline\parsers\primitive-parser.ts">
464
- <metrics statements="35" coveredstatements="35" conditionals="26" coveredconditionals="25" methods="4" coveredmethods="4"/>
465
- <line num="3" count="4" type="stmt"/>
466
- <line num="5" count="63" type="stmt"/>
467
- <line num="6" count="63" type="cond" truecount="2" falsecount="0"/>
468
- <line num="7" count="7" type="stmt"/>
469
- <line num="8" count="56" type="cond" truecount="2" falsecount="0"/>
470
- <line num="9" count="1" type="stmt"/>
471
- <line num="13" count="1" type="stmt"/>
472
- <line num="15" count="55" type="cond" truecount="2" falsecount="0"/>
473
- <line num="16" count="5" type="stmt"/>
474
- <line num="18" count="50" type="stmt"/>
475
- <line num="24" count="50" type="cond" truecount="2" falsecount="0"/>
476
- <line num="25" count="2" type="stmt"/>
477
- <line num="29" count="2" type="stmt"/>
478
- <line num="31" count="48" type="stmt"/>
479
- <line num="39" count="5" type="cond" truecount="3" falsecount="1"/>
480
- <line num="40" count="1" type="stmt"/>
481
- <line num="44" count="1" type="stmt"/>
482
- <line num="45" count="4" type="cond" truecount="2" falsecount="0"/>
483
- <line num="46" count="1" type="stmt"/>
484
- <line num="50" count="1" type="stmt"/>
485
- <line num="52" count="3" type="stmt"/>
486
- <line num="60" count="7" type="stmt"/>
487
- <line num="61" count="7" type="cond" truecount="2" falsecount="0"/>
488
- <line num="62" count="1" type="stmt"/>
489
- <line num="66" count="1" type="stmt"/>
490
- <line num="67" count="6" type="cond" truecount="4" falsecount="0"/>
491
- <line num="68" count="1" type="stmt"/>
492
- <line num="72" count="1" type="stmt"/>
493
- <line num="73" count="5" type="cond" truecount="2" falsecount="0"/>
494
- <line num="74" count="1" type="stmt"/>
495
- <line num="78" count="1" type="stmt"/>
496
- <line num="79" count="4" type="cond" truecount="2" falsecount="0"/>
497
- <line num="80" count="1" type="stmt"/>
498
- <line num="84" count="1" type="stmt"/>
499
- <line num="86" count="3" type="stmt"/>
500
- </file>
501
- </package>
502
- </project>
503
- </coverage>