@jjlmoya/utils-diy 1.27.0 → 1.29.0

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 (307) hide show
  1. package/package.json +2 -2
  2. package/src/category/i18n/de.ts +12 -12
  3. package/src/category/i18n/en.ts +110 -110
  4. package/src/category/i18n/es.ts +110 -110
  5. package/src/category/i18n/fr.ts +101 -101
  6. package/src/category/i18n/id.ts +12 -12
  7. package/src/category/i18n/it.ts +12 -12
  8. package/src/category/i18n/ja.ts +12 -12
  9. package/src/category/i18n/ko.ts +12 -12
  10. package/src/category/i18n/nl.ts +12 -12
  11. package/src/category/i18n/pl.ts +12 -12
  12. package/src/category/i18n/pt.ts +12 -12
  13. package/src/category/i18n/ru.ts +12 -12
  14. package/src/category/i18n/sv.ts +12 -12
  15. package/src/category/i18n/tr.ts +12 -12
  16. package/src/category/i18n/zh.ts +12 -12
  17. package/src/category/index.ts +36 -36
  18. package/src/category/seo.astro +1 -1
  19. package/src/components/PreviewNavSidebar.astro +1 -1
  20. package/src/components/PreviewToolbar.astro +1 -1
  21. package/src/data.ts +1 -1
  22. package/src/entries.ts +37 -37
  23. package/src/env.d.ts +1 -1
  24. package/src/index.ts +50 -50
  25. package/src/layouts/PreviewLayout.astro +1 -1
  26. package/src/pages/index.astro +1 -1
  27. package/src/tests/bibliography_wellformed_export.test.ts +46 -0
  28. package/src/tests/category_seo_quality.test.ts +74 -0
  29. package/src/tests/faq_count.test.ts +1 -1
  30. package/src/tests/mocks/astro_mock.js +1 -1
  31. package/src/tests/no_h1_in_components.test.ts +1 -1
  32. package/src/tests/seo_length.test.ts +1 -1
  33. package/src/tests/seo_parity.test.ts +2 -2
  34. package/src/tests/seo_wellformed_export.test.ts +65 -0
  35. package/src/tests/tool_validation.test.ts +15 -15
  36. package/src/tool/balusterCalculator/bibliography.ts +16 -16
  37. package/src/tool/balusterCalculator/i18n/de.ts +251 -251
  38. package/src/tool/balusterCalculator/i18n/en.ts +251 -251
  39. package/src/tool/balusterCalculator/i18n/es.ts +251 -251
  40. package/src/tool/balusterCalculator/i18n/fr.ts +251 -251
  41. package/src/tool/balusterCalculator/i18n/id.ts +251 -251
  42. package/src/tool/balusterCalculator/i18n/it.ts +251 -251
  43. package/src/tool/balusterCalculator/i18n/ja.ts +251 -251
  44. package/src/tool/balusterCalculator/i18n/ko.ts +251 -251
  45. package/src/tool/balusterCalculator/i18n/nl.ts +251 -251
  46. package/src/tool/balusterCalculator/i18n/pl.ts +251 -251
  47. package/src/tool/balusterCalculator/i18n/pt.ts +251 -251
  48. package/src/tool/balusterCalculator/i18n/ru.ts +251 -251
  49. package/src/tool/balusterCalculator/i18n/sv.ts +251 -251
  50. package/src/tool/balusterCalculator/i18n/tr.ts +251 -251
  51. package/src/tool/balusterCalculator/i18n/zh.ts +251 -251
  52. package/src/tool/balusterCalculator/seo.astro +15 -15
  53. package/src/tool/clayCalculator/bibliography.ts +12 -12
  54. package/src/tool/clayCalculator/i18n/de.ts +174 -174
  55. package/src/tool/clayCalculator/i18n/en.ts +174 -174
  56. package/src/tool/clayCalculator/i18n/es.ts +174 -174
  57. package/src/tool/clayCalculator/i18n/fr.ts +174 -174
  58. package/src/tool/clayCalculator/i18n/id.ts +174 -174
  59. package/src/tool/clayCalculator/i18n/it.ts +174 -174
  60. package/src/tool/clayCalculator/i18n/ja.ts +173 -173
  61. package/src/tool/clayCalculator/i18n/ko.ts +174 -174
  62. package/src/tool/clayCalculator/i18n/nl.ts +174 -174
  63. package/src/tool/clayCalculator/i18n/pl.ts +174 -174
  64. package/src/tool/clayCalculator/i18n/pt.ts +174 -174
  65. package/src/tool/clayCalculator/i18n/ru.ts +174 -174
  66. package/src/tool/clayCalculator/i18n/sv.ts +174 -174
  67. package/src/tool/clayCalculator/i18n/tr.ts +174 -174
  68. package/src/tool/clayCalculator/i18n/zh.ts +174 -174
  69. package/src/tool/clayCalculator/seo.astro +15 -15
  70. package/src/tool/concreteCalculator/bibliography.ts +7 -7
  71. package/src/tool/concreteCalculator/i18n/de.ts +188 -188
  72. package/src/tool/concreteCalculator/i18n/en.ts +188 -188
  73. package/src/tool/concreteCalculator/i18n/es.ts +188 -188
  74. package/src/tool/concreteCalculator/i18n/fr.ts +188 -188
  75. package/src/tool/concreteCalculator/i18n/id.ts +188 -188
  76. package/src/tool/concreteCalculator/i18n/it.ts +188 -188
  77. package/src/tool/concreteCalculator/i18n/ja.ts +188 -188
  78. package/src/tool/concreteCalculator/i18n/ko.ts +188 -188
  79. package/src/tool/concreteCalculator/i18n/nl.ts +188 -188
  80. package/src/tool/concreteCalculator/i18n/pl.ts +188 -188
  81. package/src/tool/concreteCalculator/i18n/pt.ts +188 -188
  82. package/src/tool/concreteCalculator/i18n/ru.ts +188 -188
  83. package/src/tool/concreteCalculator/i18n/sv.ts +188 -188
  84. package/src/tool/concreteCalculator/i18n/tr.ts +188 -188
  85. package/src/tool/concreteCalculator/i18n/zh.ts +188 -188
  86. package/src/tool/concreteCalculator/seo.astro +15 -15
  87. package/src/tool/cutOptimizer/bibliography.ts +12 -12
  88. package/src/tool/cutOptimizer/i18n/de.ts +169 -169
  89. package/src/tool/cutOptimizer/i18n/en.ts +169 -169
  90. package/src/tool/cutOptimizer/i18n/es.ts +169 -169
  91. package/src/tool/cutOptimizer/i18n/fr.ts +169 -169
  92. package/src/tool/cutOptimizer/i18n/id.ts +169 -169
  93. package/src/tool/cutOptimizer/i18n/it.ts +169 -169
  94. package/src/tool/cutOptimizer/i18n/ja.ts +169 -169
  95. package/src/tool/cutOptimizer/i18n/ko.ts +169 -169
  96. package/src/tool/cutOptimizer/i18n/nl.ts +169 -169
  97. package/src/tool/cutOptimizer/i18n/pl.ts +169 -169
  98. package/src/tool/cutOptimizer/i18n/pt.ts +169 -169
  99. package/src/tool/cutOptimizer/i18n/ru.ts +169 -169
  100. package/src/tool/cutOptimizer/i18n/sv.ts +169 -169
  101. package/src/tool/cutOptimizer/i18n/tr.ts +169 -169
  102. package/src/tool/cutOptimizer/i18n/zh.ts +169 -169
  103. package/src/tool/cutOptimizer/seo.astro +15 -15
  104. package/src/tool/drillCalculator/bibliography.ts +12 -12
  105. package/src/tool/drillCalculator/i18n/de.ts +134 -134
  106. package/src/tool/drillCalculator/i18n/en.ts +134 -134
  107. package/src/tool/drillCalculator/i18n/es.ts +134 -134
  108. package/src/tool/drillCalculator/i18n/fr.ts +134 -134
  109. package/src/tool/drillCalculator/i18n/id.ts +134 -134
  110. package/src/tool/drillCalculator/i18n/it.ts +134 -134
  111. package/src/tool/drillCalculator/i18n/ja.ts +134 -134
  112. package/src/tool/drillCalculator/i18n/ko.ts +134 -134
  113. package/src/tool/drillCalculator/i18n/nl.ts +134 -134
  114. package/src/tool/drillCalculator/i18n/pl.ts +134 -134
  115. package/src/tool/drillCalculator/i18n/pt.ts +134 -134
  116. package/src/tool/drillCalculator/i18n/ru.ts +134 -134
  117. package/src/tool/drillCalculator/i18n/sv.ts +134 -134
  118. package/src/tool/drillCalculator/i18n/tr.ts +134 -134
  119. package/src/tool/drillCalculator/i18n/zh.ts +134 -134
  120. package/src/tool/drillCalculator/seo.astro +15 -15
  121. package/src/tool/drillSharpener/bibliography.ts +16 -16
  122. package/src/tool/drillSharpener/i18n/de.ts +117 -117
  123. package/src/tool/drillSharpener/i18n/en.ts +117 -117
  124. package/src/tool/drillSharpener/i18n/es.ts +117 -117
  125. package/src/tool/drillSharpener/i18n/fr.ts +117 -117
  126. package/src/tool/drillSharpener/i18n/id.ts +117 -117
  127. package/src/tool/drillSharpener/i18n/it.ts +117 -117
  128. package/src/tool/drillSharpener/i18n/ja.ts +117 -117
  129. package/src/tool/drillSharpener/i18n/ko.ts +117 -117
  130. package/src/tool/drillSharpener/i18n/nl.ts +117 -117
  131. package/src/tool/drillSharpener/i18n/pl.ts +117 -117
  132. package/src/tool/drillSharpener/i18n/pt.ts +117 -117
  133. package/src/tool/drillSharpener/i18n/ru.ts +117 -117
  134. package/src/tool/drillSharpener/i18n/sv.ts +117 -117
  135. package/src/tool/drillSharpener/i18n/tr.ts +117 -117
  136. package/src/tool/drillSharpener/i18n/zh.ts +117 -117
  137. package/src/tool/drillSharpener/seo.astro +15 -15
  138. package/src/tool/drywallCalculator/seo.astro +12 -11
  139. package/src/tool/epoxyCalculator/bibliography.ts +20 -20
  140. package/src/tool/epoxyCalculator/i18n/de.ts +116 -116
  141. package/src/tool/epoxyCalculator/i18n/en.ts +178 -178
  142. package/src/tool/epoxyCalculator/i18n/es.ts +178 -178
  143. package/src/tool/epoxyCalculator/i18n/fr.ts +178 -178
  144. package/src/tool/epoxyCalculator/i18n/id.ts +116 -116
  145. package/src/tool/epoxyCalculator/i18n/it.ts +116 -116
  146. package/src/tool/epoxyCalculator/i18n/ja.ts +116 -116
  147. package/src/tool/epoxyCalculator/i18n/ko.ts +116 -116
  148. package/src/tool/epoxyCalculator/i18n/nl.ts +116 -116
  149. package/src/tool/epoxyCalculator/i18n/pl.ts +116 -116
  150. package/src/tool/epoxyCalculator/i18n/pt.ts +116 -116
  151. package/src/tool/epoxyCalculator/i18n/ru.ts +116 -116
  152. package/src/tool/epoxyCalculator/i18n/sv.ts +116 -116
  153. package/src/tool/epoxyCalculator/i18n/tr.ts +116 -116
  154. package/src/tool/epoxyCalculator/i18n/zh.ts +116 -116
  155. package/src/tool/epoxyCalculator/seo.astro +15 -15
  156. package/src/tool/excavationVolumeCalculator/seo.astro +12 -8
  157. package/src/tool/furnitureFit/bibliography.ts +12 -12
  158. package/src/tool/furnitureFit/i18n/de.ts +111 -111
  159. package/src/tool/furnitureFit/i18n/en.ts +149 -149
  160. package/src/tool/furnitureFit/i18n/es.ts +149 -149
  161. package/src/tool/furnitureFit/i18n/fr.ts +149 -149
  162. package/src/tool/furnitureFit/i18n/id.ts +111 -111
  163. package/src/tool/furnitureFit/i18n/it.ts +111 -111
  164. package/src/tool/furnitureFit/i18n/ja.ts +111 -111
  165. package/src/tool/furnitureFit/i18n/ko.ts +111 -111
  166. package/src/tool/furnitureFit/i18n/nl.ts +111 -111
  167. package/src/tool/furnitureFit/i18n/pl.ts +111 -111
  168. package/src/tool/furnitureFit/i18n/pt.ts +111 -111
  169. package/src/tool/furnitureFit/i18n/ru.ts +111 -111
  170. package/src/tool/furnitureFit/i18n/sv.ts +111 -111
  171. package/src/tool/furnitureFit/i18n/tr.ts +111 -111
  172. package/src/tool/furnitureFit/i18n/zh.ts +111 -111
  173. package/src/tool/furnitureFit/seo.astro +15 -15
  174. package/src/tool/mortarCalculator/bibliography.ts +20 -20
  175. package/src/tool/mortarCalculator/i18n/de.ts +130 -130
  176. package/src/tool/mortarCalculator/i18n/en.ts +202 -202
  177. package/src/tool/mortarCalculator/i18n/es.ts +179 -179
  178. package/src/tool/mortarCalculator/i18n/fr.ts +203 -203
  179. package/src/tool/mortarCalculator/i18n/id.ts +130 -130
  180. package/src/tool/mortarCalculator/i18n/it.ts +130 -130
  181. package/src/tool/mortarCalculator/i18n/ja.ts +130 -130
  182. package/src/tool/mortarCalculator/i18n/ko.ts +130 -130
  183. package/src/tool/mortarCalculator/i18n/nl.ts +130 -130
  184. package/src/tool/mortarCalculator/i18n/pl.ts +130 -130
  185. package/src/tool/mortarCalculator/i18n/pt.ts +130 -130
  186. package/src/tool/mortarCalculator/i18n/ru.ts +130 -130
  187. package/src/tool/mortarCalculator/i18n/sv.ts +130 -130
  188. package/src/tool/mortarCalculator/i18n/tr.ts +130 -130
  189. package/src/tool/mortarCalculator/i18n/zh.ts +130 -130
  190. package/src/tool/mortarCalculator/seo.astro +15 -15
  191. package/src/tool/passepartoutCalculator/bibliography.ts +16 -16
  192. package/src/tool/passepartoutCalculator/i18n/de.ts +108 -108
  193. package/src/tool/passepartoutCalculator/i18n/en.ts +165 -165
  194. package/src/tool/passepartoutCalculator/i18n/es.ts +165 -165
  195. package/src/tool/passepartoutCalculator/i18n/fr.ts +165 -165
  196. package/src/tool/passepartoutCalculator/i18n/id.ts +108 -108
  197. package/src/tool/passepartoutCalculator/i18n/it.ts +108 -108
  198. package/src/tool/passepartoutCalculator/i18n/ja.ts +108 -108
  199. package/src/tool/passepartoutCalculator/i18n/ko.ts +108 -108
  200. package/src/tool/passepartoutCalculator/i18n/nl.ts +108 -108
  201. package/src/tool/passepartoutCalculator/i18n/pl.ts +108 -108
  202. package/src/tool/passepartoutCalculator/i18n/pt.ts +108 -108
  203. package/src/tool/passepartoutCalculator/i18n/ru.ts +108 -108
  204. package/src/tool/passepartoutCalculator/i18n/sv.ts +108 -108
  205. package/src/tool/passepartoutCalculator/i18n/tr.ts +108 -108
  206. package/src/tool/passepartoutCalculator/i18n/zh.ts +108 -108
  207. package/src/tool/passepartoutCalculator/seo.astro +15 -15
  208. package/src/tool/pythagoreanRightAngleCalculator/bibliography.ts +12 -12
  209. package/src/tool/pythagoreanRightAngleCalculator/i18n/de.ts +129 -129
  210. package/src/tool/pythagoreanRightAngleCalculator/i18n/en.ts +129 -129
  211. package/src/tool/pythagoreanRightAngleCalculator/i18n/es.ts +129 -129
  212. package/src/tool/pythagoreanRightAngleCalculator/i18n/fr.ts +129 -129
  213. package/src/tool/pythagoreanRightAngleCalculator/i18n/id.ts +129 -129
  214. package/src/tool/pythagoreanRightAngleCalculator/i18n/it.ts +129 -129
  215. package/src/tool/pythagoreanRightAngleCalculator/i18n/ja.ts +129 -129
  216. package/src/tool/pythagoreanRightAngleCalculator/i18n/ko.ts +129 -129
  217. package/src/tool/pythagoreanRightAngleCalculator/i18n/nl.ts +129 -129
  218. package/src/tool/pythagoreanRightAngleCalculator/i18n/pl.ts +129 -129
  219. package/src/tool/pythagoreanRightAngleCalculator/i18n/pt.ts +129 -129
  220. package/src/tool/pythagoreanRightAngleCalculator/i18n/ru.ts +129 -129
  221. package/src/tool/pythagoreanRightAngleCalculator/i18n/sv.ts +129 -129
  222. package/src/tool/pythagoreanRightAngleCalculator/i18n/tr.ts +129 -129
  223. package/src/tool/pythagoreanRightAngleCalculator/i18n/zh.ts +129 -129
  224. package/src/tool/stairCalculator/bibliography.ts +16 -16
  225. package/src/tool/stairCalculator/i18n/de.ts +143 -143
  226. package/src/tool/stairCalculator/i18n/en.ts +145 -145
  227. package/src/tool/stairCalculator/i18n/es.ts +145 -145
  228. package/src/tool/stairCalculator/i18n/fr.ts +145 -145
  229. package/src/tool/stairCalculator/i18n/id.ts +143 -143
  230. package/src/tool/stairCalculator/i18n/it.ts +143 -143
  231. package/src/tool/stairCalculator/i18n/ja.ts +143 -143
  232. package/src/tool/stairCalculator/i18n/ko.ts +143 -143
  233. package/src/tool/stairCalculator/i18n/nl.ts +143 -143
  234. package/src/tool/stairCalculator/i18n/pl.ts +143 -143
  235. package/src/tool/stairCalculator/i18n/pt.ts +143 -143
  236. package/src/tool/stairCalculator/i18n/ru.ts +143 -143
  237. package/src/tool/stairCalculator/i18n/sv.ts +143 -143
  238. package/src/tool/stairCalculator/i18n/tr.ts +143 -143
  239. package/src/tool/stairCalculator/i18n/zh.ts +143 -143
  240. package/src/tool/stairCalculator/seo.astro +15 -15
  241. package/src/tool/thermalExpansionCalculator/bibliography.ts +16 -16
  242. package/src/tool/thermalExpansionCalculator/i18n/de.ts +132 -132
  243. package/src/tool/thermalExpansionCalculator/i18n/en.ts +170 -170
  244. package/src/tool/thermalExpansionCalculator/i18n/es.ts +170 -170
  245. package/src/tool/thermalExpansionCalculator/i18n/fr.ts +170 -170
  246. package/src/tool/thermalExpansionCalculator/i18n/id.ts +132 -132
  247. package/src/tool/thermalExpansionCalculator/i18n/it.ts +132 -132
  248. package/src/tool/thermalExpansionCalculator/i18n/ja.ts +132 -132
  249. package/src/tool/thermalExpansionCalculator/i18n/ko.ts +132 -132
  250. package/src/tool/thermalExpansionCalculator/i18n/nl.ts +132 -132
  251. package/src/tool/thermalExpansionCalculator/i18n/pl.ts +132 -132
  252. package/src/tool/thermalExpansionCalculator/i18n/pt.ts +132 -132
  253. package/src/tool/thermalExpansionCalculator/i18n/ru.ts +132 -132
  254. package/src/tool/thermalExpansionCalculator/i18n/sv.ts +132 -132
  255. package/src/tool/thermalExpansionCalculator/i18n/tr.ts +132 -132
  256. package/src/tool/thermalExpansionCalculator/i18n/zh.ts +132 -132
  257. package/src/tool/thermalExpansionCalculator/seo.astro +15 -15
  258. package/src/tool/twoStrokeMixtureCalculator/bibliography.ts +12 -12
  259. package/src/tool/twoStrokeMixtureCalculator/i18n/de.ts +194 -194
  260. package/src/tool/twoStrokeMixtureCalculator/i18n/en.ts +194 -194
  261. package/src/tool/twoStrokeMixtureCalculator/i18n/es.ts +194 -194
  262. package/src/tool/twoStrokeMixtureCalculator/i18n/fr.ts +194 -194
  263. package/src/tool/twoStrokeMixtureCalculator/i18n/id.ts +194 -194
  264. package/src/tool/twoStrokeMixtureCalculator/i18n/it.ts +194 -194
  265. package/src/tool/twoStrokeMixtureCalculator/i18n/ja.ts +194 -194
  266. package/src/tool/twoStrokeMixtureCalculator/i18n/ko.ts +194 -194
  267. package/src/tool/twoStrokeMixtureCalculator/i18n/nl.ts +194 -194
  268. package/src/tool/twoStrokeMixtureCalculator/i18n/pl.ts +194 -194
  269. package/src/tool/twoStrokeMixtureCalculator/i18n/pt.ts +194 -194
  270. package/src/tool/twoStrokeMixtureCalculator/i18n/ru.ts +194 -194
  271. package/src/tool/twoStrokeMixtureCalculator/i18n/sv.ts +194 -194
  272. package/src/tool/twoStrokeMixtureCalculator/i18n/tr.ts +194 -194
  273. package/src/tool/twoStrokeMixtureCalculator/i18n/zh.ts +194 -194
  274. package/src/tool/voltageDropCalculator/bibliography.ts +16 -16
  275. package/src/tool/voltageDropCalculator/i18n/de.ts +113 -113
  276. package/src/tool/voltageDropCalculator/i18n/en.ts +151 -151
  277. package/src/tool/voltageDropCalculator/i18n/es.ts +151 -151
  278. package/src/tool/voltageDropCalculator/i18n/fr.ts +145 -145
  279. package/src/tool/voltageDropCalculator/i18n/id.ts +113 -113
  280. package/src/tool/voltageDropCalculator/i18n/it.ts +113 -113
  281. package/src/tool/voltageDropCalculator/i18n/ja.ts +113 -113
  282. package/src/tool/voltageDropCalculator/i18n/ko.ts +113 -113
  283. package/src/tool/voltageDropCalculator/i18n/nl.ts +113 -113
  284. package/src/tool/voltageDropCalculator/i18n/pl.ts +113 -113
  285. package/src/tool/voltageDropCalculator/i18n/pt.ts +113 -113
  286. package/src/tool/voltageDropCalculator/i18n/ru.ts +113 -113
  287. package/src/tool/voltageDropCalculator/i18n/sv.ts +113 -113
  288. package/src/tool/voltageDropCalculator/i18n/tr.ts +113 -113
  289. package/src/tool/voltageDropCalculator/i18n/zh.ts +113 -113
  290. package/src/tool/voltageDropCalculator/seo.astro +15 -15
  291. package/src/tool/workshopFractionConverter/bibliography.ts +12 -12
  292. package/src/tool/workshopFractionConverter/i18n/de.ts +147 -147
  293. package/src/tool/workshopFractionConverter/i18n/en.ts +147 -147
  294. package/src/tool/workshopFractionConverter/i18n/es.ts +147 -147
  295. package/src/tool/workshopFractionConverter/i18n/fr.ts +147 -147
  296. package/src/tool/workshopFractionConverter/i18n/id.ts +147 -147
  297. package/src/tool/workshopFractionConverter/i18n/it.ts +147 -147
  298. package/src/tool/workshopFractionConverter/i18n/ja.ts +147 -147
  299. package/src/tool/workshopFractionConverter/i18n/ko.ts +147 -147
  300. package/src/tool/workshopFractionConverter/i18n/nl.ts +147 -147
  301. package/src/tool/workshopFractionConverter/i18n/pl.ts +147 -147
  302. package/src/tool/workshopFractionConverter/i18n/pt.ts +147 -147
  303. package/src/tool/workshopFractionConverter/i18n/ru.ts +147 -147
  304. package/src/tool/workshopFractionConverter/i18n/sv.ts +147 -147
  305. package/src/tool/workshopFractionConverter/i18n/tr.ts +147 -147
  306. package/src/tool/workshopFractionConverter/i18n/zh.ts +147 -147
  307. package/src/tools.ts +20 -20
@@ -140,4 +140,4 @@ const otherLocales = Object.entries(localeUrls).filter(([l]) => l !== currentLoc
140
140
  box-shadow: inset -4px -2px 0 #1e293b;
141
141
  }
142
142
  </style>
143
-
143
+
package/src/data.ts CHANGED
@@ -8,4 +8,4 @@ export type {
8
8
  DiyToolEntry,
9
9
  DiyCategoryEntry,
10
10
  } from './types';
11
-
11
+
package/src/entries.ts CHANGED
@@ -1,43 +1,43 @@
1
- export { balusterCalculator } from './tool/balusterCalculator/entry';
2
- export type { BalusterCalculatorLocaleContent } from './tool/balusterCalculator/entry';
3
- export { clayCalculator } from './tool/clayCalculator/entry';
4
- export type { ClayCalculatorLocaleContent } from './tool/clayCalculator/entry';
5
- export { concreteCalculator } from './tool/concreteCalculator/entry';
6
- export { cutOptimizer } from './tool/cutOptimizer/entry';
7
- export { drillCalculator } from './tool/drillCalculator/entry';
8
- export { drillSharpener } from './tool/drillSharpener/entry';
9
- export { epoxyCalculator } from './tool/epoxyCalculator/entry';
10
- export type { EpoxyCalculatorLocaleContent } from './tool/epoxyCalculator/entry';
11
- export { furnitureFit } from './tool/furnitureFit/entry';
12
- export { mortarCalculator } from './tool/mortarCalculator/entry';
13
- export { passepartoutCalculator } from './tool/passepartoutCalculator/entry';
14
- export { stairCalculator } from './tool/stairCalculator/entry';
15
- export { thermalExpansionCalculator } from './tool/thermalExpansionCalculator/entry';
16
- export { voltageDropCalculator } from './tool/voltageDropCalculator/entry';
17
- export { workshopFractionConverter } from './tool/workshopFractionConverter/entry';
18
- export { pythagoreanRightAngleCalculator } from './tool/pythagoreanRightAngleCalculator/entry';
19
- export { twoStrokeMixtureCalculator } from './tool/twoStrokeMixtureCalculator/entry';
20
- export { drywallCalculatorEntry } from './tool/drywallCalculator/entry';
1
+ export { balusterCalculator } from './tool/balusterCalculator/entry';
2
+ export type { BalusterCalculatorLocaleContent } from './tool/balusterCalculator/entry';
3
+ export { clayCalculator } from './tool/clayCalculator/entry';
4
+ export type { ClayCalculatorLocaleContent } from './tool/clayCalculator/entry';
5
+ export { concreteCalculator } from './tool/concreteCalculator/entry';
6
+ export { cutOptimizer } from './tool/cutOptimizer/entry';
7
+ export { drillCalculator } from './tool/drillCalculator/entry';
8
+ export { drillSharpener } from './tool/drillSharpener/entry';
9
+ export { epoxyCalculator } from './tool/epoxyCalculator/entry';
10
+ export type { EpoxyCalculatorLocaleContent } from './tool/epoxyCalculator/entry';
11
+ export { furnitureFit } from './tool/furnitureFit/entry';
12
+ export { mortarCalculator } from './tool/mortarCalculator/entry';
13
+ export { passepartoutCalculator } from './tool/passepartoutCalculator/entry';
14
+ export { stairCalculator } from './tool/stairCalculator/entry';
15
+ export { thermalExpansionCalculator } from './tool/thermalExpansionCalculator/entry';
16
+ export { voltageDropCalculator } from './tool/voltageDropCalculator/entry';
17
+ export { workshopFractionConverter } from './tool/workshopFractionConverter/entry';
18
+ export { pythagoreanRightAngleCalculator } from './tool/pythagoreanRightAngleCalculator/entry';
19
+ export { twoStrokeMixtureCalculator } from './tool/twoStrokeMixtureCalculator/entry';
20
+ export { drywallCalculatorEntry } from './tool/drywallCalculator/entry';
21
21
  export type { DrywallCalculatorLocaleContent } from './tool/drywallCalculator/entry';
22
22
  export { excavationVolumeCalculator } from './tool/excavationVolumeCalculator/entry';
23
23
  export type { ExcavationVolumeCalculatorLocaleContent } from './tool/excavationVolumeCalculator/entry';
24
- export { diyCategory } from './category';
25
- import { balusterCalculator } from './tool/balusterCalculator/entry';
26
- import { clayCalculator } from './tool/clayCalculator/entry';
27
- import { concreteCalculator } from './tool/concreteCalculator/entry';
28
- import { cutOptimizer } from './tool/cutOptimizer/entry';
29
- import { drillCalculator } from './tool/drillCalculator/entry';
30
- import { drillSharpener } from './tool/drillSharpener/entry';
24
+ export { diyCategory } from './category';
25
+ import { balusterCalculator } from './tool/balusterCalculator/entry';
26
+ import { clayCalculator } from './tool/clayCalculator/entry';
27
+ import { concreteCalculator } from './tool/concreteCalculator/entry';
28
+ import { cutOptimizer } from './tool/cutOptimizer/entry';
29
+ import { drillCalculator } from './tool/drillCalculator/entry';
30
+ import { drillSharpener } from './tool/drillSharpener/entry';
31
31
  import { drywallCalculatorEntry } from './tool/drywallCalculator/entry';
32
32
  import { excavationVolumeCalculator } from './tool/excavationVolumeCalculator/entry';
33
- import { epoxyCalculator } from './tool/epoxyCalculator/entry';
34
- import { furnitureFit } from './tool/furnitureFit/entry';
35
- import { mortarCalculator } from './tool/mortarCalculator/entry';
36
- import { passepartoutCalculator } from './tool/passepartoutCalculator/entry';
37
- import { stairCalculator } from './tool/stairCalculator/entry';
38
- import { thermalExpansionCalculator } from './tool/thermalExpansionCalculator/entry';
39
- import { voltageDropCalculator } from './tool/voltageDropCalculator/entry';
40
- import { workshopFractionConverter } from './tool/workshopFractionConverter/entry';
41
- import { pythagoreanRightAngleCalculator } from './tool/pythagoreanRightAngleCalculator/entry';
42
- import { twoStrokeMixtureCalculator } from './tool/twoStrokeMixtureCalculator/entry';
33
+ import { epoxyCalculator } from './tool/epoxyCalculator/entry';
34
+ import { furnitureFit } from './tool/furnitureFit/entry';
35
+ import { mortarCalculator } from './tool/mortarCalculator/entry';
36
+ import { passepartoutCalculator } from './tool/passepartoutCalculator/entry';
37
+ import { stairCalculator } from './tool/stairCalculator/entry';
38
+ import { thermalExpansionCalculator } from './tool/thermalExpansionCalculator/entry';
39
+ import { voltageDropCalculator } from './tool/voltageDropCalculator/entry';
40
+ import { workshopFractionConverter } from './tool/workshopFractionConverter/entry';
41
+ import { pythagoreanRightAngleCalculator } from './tool/pythagoreanRightAngleCalculator/entry';
42
+ import { twoStrokeMixtureCalculator } from './tool/twoStrokeMixtureCalculator/entry';
43
43
  export const ALL_ENTRIES = [balusterCalculator, clayCalculator, concreteCalculator, cutOptimizer, drillCalculator, drillSharpener, drywallCalculatorEntry, epoxyCalculator, furnitureFit, mortarCalculator, passepartoutCalculator, stairCalculator, thermalExpansionCalculator, voltageDropCalculator, workshopFractionConverter, pythagoreanRightAngleCalculator, twoStrokeMixtureCalculator, excavationVolumeCalculator];
package/src/env.d.ts CHANGED
@@ -2,4 +2,4 @@ declare module '*.astro' {
2
2
  const Component: (_props: Record<string, unknown>) => unknown;
3
3
  export default Component;
4
4
  }
5
-
5
+
package/src/index.ts CHANGED
@@ -1,50 +1,50 @@
1
- export { diyCategory } from './category';
2
- export const diyCategorySEO = () => import('./category/seo.astro').then((m) => m.default);
3
-
4
- export type {
5
- KnownLocale,
6
- FAQItem,
7
- BibliographyEntry,
8
- HowToStep,
9
- ToolLocaleContent,
10
- CategoryLocaleContent,
11
- LocaleLoader,
12
- LocaleMap,
13
- DiyToolEntry,
14
- DiyCategoryEntry,
15
- ToolDefinition,
16
- } from './types';
17
-
18
- export { ALL_ENTRIES, ALL_TOOLS } from './tools';
19
-
20
- export { CLAY_CALCULATOR_TOOL } from './tool/clayCalculator/index';
21
-
22
- export { EPOXY_CALCULATOR_TOOL } from './tool/epoxyCalculator/index';
23
-
24
- export { BALUSTER_CALCULATOR_TOOL } from './tool/balusterCalculator/index';
25
-
26
- export { MORTAR_CALCULATOR_TOOL } from './tool/mortarCalculator/index';
27
-
28
- export { PASSEPARTOUT_CALCULATOR_TOOL } from './tool/passepartoutCalculator/index';
29
-
30
- export { CONCRETE_CALCULATOR_TOOL } from './tool/concreteCalculator/index';
31
-
32
- export { CUT_OPTIMIZER_TOOL } from './tool/cutOptimizer/index';
33
-
34
- export { VOLTAGE_DROP_CALCULATOR_TOOL } from './tool/voltageDropCalculator/index';
35
-
36
- export { FURNITURE_FIT_TOOL } from './tool/furnitureFit/index';
37
-
38
- export { THERMAL_EXPANSION_CALCULATOR_TOOL } from './tool/thermalExpansionCalculator/index';
39
-
40
- export { DRILL_CALCULATOR_TOOL } from './tool/drillCalculator/index';
41
-
42
- export { STAIR_CALCULATOR_TOOL } from './tool/stairCalculator/index';
43
-
44
- export { DRILL_SHARPENER_TOOL } from './tool/drillSharpener/index';
45
-
46
- export { WORKSHOP_FRACTION_CONVERTER_TOOL } from './tool/workshopFractionConverter/index';
47
-
48
- export { PYTHAGOREAN_RIGHT_ANGLE_CALCULATOR_TOOL } from './tool/pythagoreanRightAngleCalculator/index';
49
-
50
- export { TWO_STROKE_MIXTURE_CALCULATOR_TOOL } from './tool/twoStrokeMixtureCalculator/index';
1
+ export { diyCategory } from './category';
2
+ export const diyCategorySEO = () => import('./category/seo.astro').then((m) => m.default);
3
+
4
+ export type {
5
+ KnownLocale,
6
+ FAQItem,
7
+ BibliographyEntry,
8
+ HowToStep,
9
+ ToolLocaleContent,
10
+ CategoryLocaleContent,
11
+ LocaleLoader,
12
+ LocaleMap,
13
+ DiyToolEntry,
14
+ DiyCategoryEntry,
15
+ ToolDefinition,
16
+ } from './types';
17
+
18
+ export { ALL_ENTRIES, ALL_TOOLS } from './tools';
19
+
20
+ export { CLAY_CALCULATOR_TOOL } from './tool/clayCalculator/index';
21
+
22
+ export { EPOXY_CALCULATOR_TOOL } from './tool/epoxyCalculator/index';
23
+
24
+ export { BALUSTER_CALCULATOR_TOOL } from './tool/balusterCalculator/index';
25
+
26
+ export { MORTAR_CALCULATOR_TOOL } from './tool/mortarCalculator/index';
27
+
28
+ export { PASSEPARTOUT_CALCULATOR_TOOL } from './tool/passepartoutCalculator/index';
29
+
30
+ export { CONCRETE_CALCULATOR_TOOL } from './tool/concreteCalculator/index';
31
+
32
+ export { CUT_OPTIMIZER_TOOL } from './tool/cutOptimizer/index';
33
+
34
+ export { VOLTAGE_DROP_CALCULATOR_TOOL } from './tool/voltageDropCalculator/index';
35
+
36
+ export { FURNITURE_FIT_TOOL } from './tool/furnitureFit/index';
37
+
38
+ export { THERMAL_EXPANSION_CALCULATOR_TOOL } from './tool/thermalExpansionCalculator/index';
39
+
40
+ export { DRILL_CALCULATOR_TOOL } from './tool/drillCalculator/index';
41
+
42
+ export { STAIR_CALCULATOR_TOOL } from './tool/stairCalculator/index';
43
+
44
+ export { DRILL_SHARPENER_TOOL } from './tool/drillSharpener/index';
45
+
46
+ export { WORKSHOP_FRACTION_CONVERTER_TOOL } from './tool/workshopFractionConverter/index';
47
+
48
+ export { PYTHAGOREAN_RIGHT_ANGLE_CALCULATOR_TOOL } from './tool/pythagoreanRightAngleCalculator/index';
49
+
50
+ export { TWO_STROKE_MIXTURE_CALCULATOR_TOOL } from './tool/twoStrokeMixtureCalculator/index';
@@ -115,4 +115,4 @@ const { title, currentLocale = "es", localeUrls = {}, hasSidebar = false } = Ast
115
115
  }
116
116
  }
117
117
  </style>
118
-
118
+
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  ---
3
3
  <meta http-equiv="refresh" content="0;url=/es" />
4
-
4
+
@@ -0,0 +1,46 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import { readdirSync, readFileSync, existsSync } from 'fs';
3
+ import { join, relative } from 'path';
4
+
5
+ function findBibliographyAstroFiles(dir: string): string[] {
6
+ const files: string[] = [];
7
+ if (!existsSync(dir)) return files;
8
+ const entries = readdirSync(dir, { withFileTypes: true });
9
+
10
+ for (const entry of entries) {
11
+ const fullPath = join(dir, entry.name);
12
+ if (entry.isDirectory()) {
13
+ files.push(...findBibliographyAstroFiles(fullPath));
14
+ } else if (entry.isFile() && entry.name === 'bibliography.astro') {
15
+ files.push(fullPath);
16
+ }
17
+ }
18
+
19
+ return files;
20
+ }
21
+
22
+ const toolDir = join(process.cwd(), 'src', 'tool');
23
+ const bibliographyFiles = findBibliographyAstroFiles(toolDir);
24
+
25
+ describe('Bibliography Component Wellformed Export', () => {
26
+ it('found tool bibliography.astro components', () => {
27
+ expect(bibliographyFiles.length).toBeGreaterThan(0);
28
+ });
29
+
30
+ bibliographyFiles.forEach((file) => {
31
+ const relativePath = relative(process.cwd(), file);
32
+
33
+ it(`${relativePath} should use SharedBibliography from @jjlmoya/utils-shared`, () => {
34
+ const content = readFileSync(file, 'utf-8');
35
+
36
+ const usesSharedComponent =
37
+ content.includes('@jjlmoya/utils-shared') &&
38
+ (content.includes('Bibliography') || content.includes('SharedBibliography'));
39
+
40
+ expect(
41
+ usesSharedComponent,
42
+ `File "${relativePath}" does not use the standard Bibliography component from @jjlmoya/utils-shared, resulting in unstyled or raw bibliography output.`,
43
+ ).toBe(true);
44
+ });
45
+ });
46
+ });
@@ -0,0 +1,74 @@
1
+ import { describe, expect, it } from 'vitest';
2
+ import type { CategoryLocaleContent } from '../types';
3
+
4
+ const EXPECTED_LOCALES = [
5
+ 'de', 'en', 'es', 'fr', 'id', 'it', 'ja', 'ko', 'nl', 'pl', 'pt', 'ru', 'sv', 'tr', 'zh',
6
+ ] as const;
7
+ const COMPACT_LOCALES = new Set(['ja', 'ko', 'zh']);
8
+
9
+ const localeModules = import.meta.glob('../category/i18n/*.ts', { eager: true }) as Record<
10
+ string,
11
+ { content: CategoryLocaleContent }
12
+ >;
13
+
14
+ function textFrom(value: unknown): string {
15
+ if (typeof value === 'string') return value.replace(/<[^>]*>/g, ' ');
16
+ if (Array.isArray(value)) return value.map(textFrom).join(' ');
17
+ if (value && typeof value === 'object') return Object.values(value).map(textFrom).join(' ');
18
+ return '';
19
+ }
20
+
21
+ const STRONG_CLAIM = /\b(?:garantiz\w*|guarante\w*|validat(?:ed)|valid(?:ated|ado|ada|ados|adas|ée|ées)|actualizad\w*)\b/iu;
22
+
23
+ function getContents(): Map<string, CategoryLocaleContent> {
24
+ return new Map(
25
+ Object.entries(localeModules).map(([file, module]) => [file.match(/\/([a-z]{2})\.ts$/u)?.[1] ?? file, module.content]),
26
+ );
27
+ }
28
+
29
+ function validateContent(locale: string, content: CategoryLocaleContent): string[] {
30
+ const failures: string[] = [];
31
+ const check = (condition: boolean, message: string) => { if (!condition) failures.push(`${locale}: ${message}`); };
32
+ const minimumTitleLength = COMPACT_LOCALES.has(locale) ? 4 : 12;
33
+ const minimumDescriptionLength = COMPACT_LOCALES.has(locale) ? 20 : 60;
34
+ check(content.title.trim().length >= minimumTitleLength && content.title.trim().length <= 70, 'title must use a useful 4/12–70 character length');
35
+ check(content.description.trim().length >= minimumDescriptionLength && content.description.trim().length <= 180, 'description must use a useful 20/60–180 character length');
36
+ check(content.seo.length >= 2, 'SEO needs at least two sections');
37
+ check(content.seo.some((section) => section.type === 'paragraph'), 'SEO needs visible explanatory copy');
38
+
39
+ const seoText = textFrom(content.seo).replace(/\s+/g, ' ').trim();
40
+ const minimumSeoLength = COMPACT_LOCALES.has(locale) ? 120 : 240;
41
+ check(seoText.length >= minimumSeoLength, 'SEO copy must contain the minimum visible copy for its script');
42
+ check(content.seo.filter((section) => section.type === 'title').length >= 1, 'SEO needs a section heading');
43
+ check(!/[�]/u.test(seoText), 'SEO contains replacement characters');
44
+ check(!/ {2,}/u.test(seoText), 'SEO contains duplicated whitespace');
45
+ check(!STRONG_CLAIM.test(seoText), 'SEO contains an unsupported strong claim');
46
+
47
+ check(content.slug.trim().length > 0 && /^[a-z0-9-]+$/u.test(content.slug), 'slug must be a non-empty URL-safe value');
48
+ return failures;
49
+ }
50
+
51
+ describe('Category SEO quality contract', () => {
52
+ it('has one content file for every configured locale', () => {
53
+ const contents = getContents();
54
+ expect([...contents.keys()].sort()).toEqual([...EXPECTED_LOCALES].sort());
55
+ });
56
+
57
+ it('keeps metadata, SEO structure and copy quality above the minimum in every locale', () => {
58
+ const contents = getContents();
59
+ const english = contents.get('en');
60
+ expect(english, 'English category content is required as the structural reference').toBeDefined();
61
+
62
+ const failures = EXPECTED_LOCALES.flatMap((locale) => {
63
+ const content = contents.get(locale);
64
+ return content ? validateContent(locale, content) : [];
65
+ });
66
+
67
+ for (const locale of EXPECTED_LOCALES) {
68
+ const content = contents.get(locale);
69
+ if (!content) failures.push(`${locale}: category content is missing`);
70
+ }
71
+
72
+ expect(failures, 'category SEO quality failures').toEqual([]);
73
+ }, 30000);
74
+ });
@@ -16,4 +16,4 @@ describe('FAQ Content Validation', () => {
16
16
  expect(TOOLS.length).toBe(0);
17
17
  });
18
18
  });
19
-
19
+
@@ -1,2 +1,2 @@
1
1
  export default function () { return null; }
2
-
2
+
@@ -45,4 +45,4 @@ describe('No H1 in Components', () => {
45
45
  });
46
46
  });
47
47
  });
48
-
48
+
@@ -22,4 +22,4 @@ describe('SEO Content Length Validation', () => {
22
22
  });
23
23
  });
24
24
  });
25
-
25
+
@@ -27,7 +27,7 @@ async function verifyLocaleParity(
27
27
  expect(
28
28
  locSeoCount,
29
29
  `Locale ${loc} SEO sections count (${locSeoCount}) must match EN (${expected.seo})`,
30
- ).toBe(expected.seo);
30
+ ).toBeGreaterThanOrEqual(expected.seo);
31
31
  expect(
32
32
  locFaqCount,
33
33
  `Locale ${loc} FAQ items count (${locFaqCount}) must match EN (${expected.faq})`,
@@ -41,7 +41,7 @@ async function verifyLocaleParity(
41
41
  describe('SEO & i18n Structural Parity Suite', () => {
42
42
  ALL_ENTRIES.forEach((entry) => {
43
43
  describe(`Tool: ${entry.id}`, () => {
44
- it('all 15 locales should have identical SEO section counts and types as English', async () => {
44
+ it('all 15 locales should provide at least the complete English SEO section set', async () => {
45
45
  const enContent = await entry.i18n.en?.();
46
46
  expect(enContent).toBeDefined();
47
47
  const expected: ExpectedCounts = {
@@ -0,0 +1,65 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import { readdirSync, readFileSync, existsSync } from 'fs';
3
+ import { join, relative } from 'path';
4
+
5
+ function findSeoAstroFiles(dir: string): string[] {
6
+ const files: string[] = [];
7
+ if (!existsSync(dir)) return files;
8
+ const entries = readdirSync(dir, { withFileTypes: true });
9
+
10
+ for (const entry of entries) {
11
+ const fullPath = join(dir, entry.name);
12
+ if (entry.isDirectory()) {
13
+ files.push(...findSeoAstroFiles(fullPath));
14
+ } else if (entry.isFile() && entry.name === 'seo.astro') {
15
+ files.push(fullPath);
16
+ }
17
+ }
18
+
19
+ return files;
20
+ }
21
+
22
+ const toolDir = join(process.cwd(), 'src', 'tool');
23
+ const seoFiles = findSeoAstroFiles(toolDir);
24
+
25
+ describe('SEO Component Wellformed Export', () => {
26
+ it('found tool seo.astro components', () => {
27
+ expect(seoFiles.length).toBeGreaterThan(0);
28
+ });
29
+
30
+ seoFiles.forEach((file) => {
31
+ const relativePath = relative(process.cwd(), file);
32
+
33
+ it(`${relativePath} should dynamically load SEO sections and use SEORenderer`, () => {
34
+ const content = readFileSync(file, 'utf-8');
35
+
36
+ const usesSeoRenderer =
37
+ content.includes('@jjlmoya/utils-shared') &&
38
+ (content.includes('SEORenderer') || content.includes('SEOArticle'));
39
+
40
+ const acquiresDynamicContent =
41
+ content.includes('.i18n') ||
42
+ content.includes('loader') ||
43
+ content.includes('await loader') ||
44
+ content.includes('.seo');
45
+
46
+ const isBrokenPattern =
47
+ /sections\s*=\s*\[\s*\]/.test(content) && !acquiresDynamicContent;
48
+
49
+ expect(
50
+ usesSeoRenderer,
51
+ `File "${relativePath}" does not import or use SEORenderer from @jjlmoya/utils-shared.`,
52
+ ).toBe(true);
53
+
54
+ expect(
55
+ isBrokenPattern,
56
+ `File "${relativePath}" relies on a static sections=[] prop default without fetching content from entry.i18n, resulting in empty SEO text on consumers.`,
57
+ ).toBe(false);
58
+
59
+ expect(
60
+ acquiresDynamicContent,
61
+ `File "${relativePath}" does not fetch dynamic i18n content for SEO rendering.`,
62
+ ).toBe(true);
63
+ });
64
+ });
65
+ });
@@ -1,17 +1,17 @@
1
- import { describe, it, expect } from 'vitest';
2
- import { ALL_TOOLS } from '../tools';
3
- import { diyCategory } from '../data';
4
-
5
- describe('Tool Validation Suite', () => {
6
- describe('Library Registration', () => {
1
+ import { describe, it, expect } from 'vitest';
2
+ import { ALL_TOOLS } from '../tools';
3
+ import { diyCategory } from '../data';
4
+
5
+ describe('Tool Validation Suite', () => {
6
+ describe('Library Registration', () => {
7
7
  it('should have 18 tools in ALL_TOOLS', () => {
8
8
  expect(ALL_TOOLS.length).toBe(18);
9
- });
10
-
11
- it('diyCategory should be defined', () => {
12
- expect(diyCategory).toBeDefined();
13
- expect(diyCategory.i18n).toBeDefined();
14
- });
15
- });
16
- });
17
-
9
+ });
10
+
11
+ it('diyCategory should be defined', () => {
12
+ expect(diyCategory).toBeDefined();
13
+ expect(diyCategory.i18n).toBeDefined();
14
+ });
15
+ });
16
+ });
17
+
@@ -1,16 +1,16 @@
1
- import type { BibliographyEntry } from '../../types';
2
-
3
- export const bibliography: BibliographyEntry[] = [
4
- {
5
- name: 'IRC - International Residential Code (USA)',
6
- url: 'https://codes.iccsafe.org/content/IRC2021',
7
- },
8
- {
9
- name: 'IBC - International Building Code',
10
- url: 'https://codes.iccsafe.org/content/IBC2021',
11
- },
12
- {
13
- name: 'CTE - Código Técnico de la Edificación (Spain)',
14
- url: 'https://www.codigotecnico.org/',
15
- },
16
- ];
1
+ import type { BibliographyEntry } from '../../types';
2
+
3
+ export const bibliography: BibliographyEntry[] = [
4
+ {
5
+ name: 'IRC - International Residential Code (USA)',
6
+ url: 'https://codes.iccsafe.org/content/IRC2021',
7
+ },
8
+ {
9
+ name: 'IBC - International Building Code',
10
+ url: 'https://codes.iccsafe.org/content/IBC2021',
11
+ },
12
+ {
13
+ name: 'CTE - Código Técnico de la Edificación (Spain)',
14
+ url: 'https://www.codigotecnico.org/',
15
+ },
16
+ ];