@jjlmoya/utils-nature 1.20.0 → 1.22.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 (139) hide show
  1. package/package.json +1 -1
  2. package/src/category/index.ts +3 -2
  3. package/src/entries.ts +5 -1
  4. package/src/index.ts +4 -0
  5. package/src/pages/[locale]/[slug].astro +5 -4
  6. package/src/tests/diacritics_density.test.ts +1 -1
  7. package/src/tests/inverted_punctuation.test.ts +1 -1
  8. package/src/tests/script_density.test.ts +1 -1
  9. package/src/tests/seo_length.test.ts +1 -0
  10. package/src/tests/seo_translation_completeness.test.ts +69 -0
  11. package/src/tests/title_quality.test.ts +1 -1
  12. package/src/tests/tool_validation.test.ts +2 -3
  13. package/src/tests/translation_copy.test.ts +2 -2
  14. package/src/tool/compostBinVolumeRatioCalculator/bibliography.astro +18 -0
  15. package/src/tool/compostBinVolumeRatioCalculator/bibliography.ts +12 -0
  16. package/src/tool/compostBinVolumeRatioCalculator/component.astro +77 -0
  17. package/src/tool/compostBinVolumeRatioCalculator/compost-bin-volume-ratio-calculator.css +509 -0
  18. package/src/tool/compostBinVolumeRatioCalculator/controller.ts +189 -0
  19. package/src/tool/compostBinVolumeRatioCalculator/dom-views.ts +162 -0
  20. package/src/tool/compostBinVolumeRatioCalculator/entry.ts +28 -0
  21. package/src/tool/compostBinVolumeRatioCalculator/evaluator.ts +26 -0
  22. package/src/tool/compostBinVolumeRatioCalculator/i18n/de.ts +193 -0
  23. package/src/tool/compostBinVolumeRatioCalculator/i18n/en.ts +193 -0
  24. package/src/tool/compostBinVolumeRatioCalculator/i18n/es.ts +193 -0
  25. package/src/tool/compostBinVolumeRatioCalculator/i18n/fr.ts +193 -0
  26. package/src/tool/compostBinVolumeRatioCalculator/i18n/id.ts +185 -0
  27. package/src/tool/compostBinVolumeRatioCalculator/i18n/it.ts +193 -0
  28. package/src/tool/compostBinVolumeRatioCalculator/i18n/ja.ts +190 -0
  29. package/src/tool/compostBinVolumeRatioCalculator/i18n/ko.ts +190 -0
  30. package/src/tool/compostBinVolumeRatioCalculator/i18n/nl.ts +190 -0
  31. package/src/tool/compostBinVolumeRatioCalculator/i18n/pl.ts +190 -0
  32. package/src/tool/compostBinVolumeRatioCalculator/i18n/pt.ts +190 -0
  33. package/src/tool/compostBinVolumeRatioCalculator/i18n/ru.ts +190 -0
  34. package/src/tool/compostBinVolumeRatioCalculator/i18n/sv.ts +190 -0
  35. package/src/tool/compostBinVolumeRatioCalculator/i18n/tr.ts +190 -0
  36. package/src/tool/compostBinVolumeRatioCalculator/i18n/zh.ts +190 -0
  37. package/src/tool/compostBinVolumeRatioCalculator/index.ts +11 -0
  38. package/src/tool/compostBinVolumeRatioCalculator/logic.test.ts +55 -0
  39. package/src/tool/compostBinVolumeRatioCalculator/logic.ts +165 -0
  40. package/src/tool/compostBinVolumeRatioCalculator/seo.astro +23 -0
  41. package/src/tool/compostBinVolumeRatioCalculator/storage.ts +25 -0
  42. package/src/tool/compostBinVolumeRatioCalculator/ui.ts +54 -0
  43. package/src/tool/cricketThermometer/component.astro +1 -1
  44. package/src/tool/cricketThermometer/i18n/de.ts +2 -2
  45. package/src/tool/cricketThermometer/i18n/en.ts +2 -2
  46. package/src/tool/cricketThermometer/i18n/es.ts +2 -2
  47. package/src/tool/cricketThermometer/i18n/fr.ts +2 -2
  48. package/src/tool/cricketThermometer/i18n/id.ts +2 -2
  49. package/src/tool/cricketThermometer/i18n/it.ts +2 -2
  50. package/src/tool/cricketThermometer/i18n/ja.ts +2 -2
  51. package/src/tool/cricketThermometer/i18n/ko.ts +2 -2
  52. package/src/tool/cricketThermometer/i18n/nl.ts +2 -2
  53. package/src/tool/cricketThermometer/i18n/pl.ts +2 -2
  54. package/src/tool/cricketThermometer/i18n/pt.ts +2 -2
  55. package/src/tool/cricketThermometer/i18n/ru.ts +2 -2
  56. package/src/tool/cricketThermometer/i18n/sv.ts +2 -2
  57. package/src/tool/cricketThermometer/i18n/tr.ts +2 -2
  58. package/src/tool/cricketThermometer/i18n/zh.ts +2 -2
  59. package/src/tool/cricketThermometer/index.ts +1 -0
  60. package/src/tool/digitalCarbon/component.astro +3 -3
  61. package/src/tool/digitalCarbon/i18n/de.ts +2 -2
  62. package/src/tool/digitalCarbon/i18n/en.ts +2 -2
  63. package/src/tool/digitalCarbon/i18n/es.ts +2 -2
  64. package/src/tool/digitalCarbon/i18n/fr.ts +2 -2
  65. package/src/tool/digitalCarbon/i18n/id.ts +2 -2
  66. package/src/tool/digitalCarbon/i18n/it.ts +2 -2
  67. package/src/tool/digitalCarbon/i18n/ja.ts +2 -2
  68. package/src/tool/digitalCarbon/i18n/ko.ts +2 -2
  69. package/src/tool/digitalCarbon/i18n/nl.ts +2 -2
  70. package/src/tool/digitalCarbon/i18n/pl.ts +2 -2
  71. package/src/tool/digitalCarbon/i18n/pt.ts +2 -2
  72. package/src/tool/digitalCarbon/i18n/ru.ts +2 -2
  73. package/src/tool/digitalCarbon/i18n/sv.ts +2 -2
  74. package/src/tool/digitalCarbon/i18n/tr.ts +2 -2
  75. package/src/tool/digitalCarbon/i18n/zh.ts +2 -2
  76. package/src/tool/digitalCarbon/index.ts +1 -0
  77. package/src/tool/rainHarvester/i18n/de.ts +2 -2
  78. package/src/tool/rainHarvester/i18n/en.ts +2 -2
  79. package/src/tool/rainHarvester/i18n/es.ts +2 -2
  80. package/src/tool/rainHarvester/i18n/fr.ts +2 -2
  81. package/src/tool/rainHarvester/i18n/id.ts +2 -2
  82. package/src/tool/rainHarvester/i18n/it.ts +2 -2
  83. package/src/tool/rainHarvester/i18n/ja.ts +2 -2
  84. package/src/tool/rainHarvester/i18n/ko.ts +2 -2
  85. package/src/tool/rainHarvester/i18n/nl.ts +2 -2
  86. package/src/tool/rainHarvester/i18n/pl.ts +2 -2
  87. package/src/tool/rainHarvester/i18n/pt.ts +2 -2
  88. package/src/tool/rainHarvester/i18n/ru.ts +2 -2
  89. package/src/tool/rainHarvester/i18n/sv.ts +2 -2
  90. package/src/tool/rainHarvester/i18n/tr.ts +2 -2
  91. package/src/tool/rainHarvester/i18n/zh.ts +2 -2
  92. package/src/tool/rainHarvester/index.ts +1 -0
  93. package/src/tool/seedCalculator/i18n/de.ts +2 -2
  94. package/src/tool/seedCalculator/i18n/en.ts +2 -2
  95. package/src/tool/seedCalculator/i18n/es.ts +2 -2
  96. package/src/tool/seedCalculator/i18n/fr.ts +2 -2
  97. package/src/tool/seedCalculator/i18n/id.ts +2 -2
  98. package/src/tool/seedCalculator/i18n/it.ts +2 -2
  99. package/src/tool/seedCalculator/i18n/ja.ts +2 -2
  100. package/src/tool/seedCalculator/i18n/ko.ts +2 -2
  101. package/src/tool/seedCalculator/i18n/nl.ts +2 -2
  102. package/src/tool/seedCalculator/i18n/pl.ts +2 -2
  103. package/src/tool/seedCalculator/i18n/pt.ts +2 -2
  104. package/src/tool/seedCalculator/i18n/ru.ts +2 -2
  105. package/src/tool/seedCalculator/i18n/sv.ts +2 -2
  106. package/src/tool/seedCalculator/i18n/tr.ts +2 -2
  107. package/src/tool/seedCalculator/i18n/zh.ts +2 -2
  108. package/src/tool/seedCalculator/index.ts +1 -0
  109. package/src/tool/urbanGardenPlanner/bibliography.astro +9 -0
  110. package/src/tool/urbanGardenPlanner/bibliography.ts +16 -0
  111. package/src/tool/urbanGardenPlanner/component.astro +131 -0
  112. package/src/tool/urbanGardenPlanner/controller.ts +88 -0
  113. package/src/tool/urbanGardenPlanner/dom-views.ts +84 -0
  114. package/src/tool/urbanGardenPlanner/entry.ts +29 -0
  115. package/src/tool/urbanGardenPlanner/evaluator.ts +27 -0
  116. package/src/tool/urbanGardenPlanner/i18n/de.ts +50 -0
  117. package/src/tool/urbanGardenPlanner/i18n/en.ts +179 -0
  118. package/src/tool/urbanGardenPlanner/i18n/es.ts +50 -0
  119. package/src/tool/urbanGardenPlanner/i18n/fr.ts +50 -0
  120. package/src/tool/urbanGardenPlanner/i18n/id.ts +50 -0
  121. package/src/tool/urbanGardenPlanner/i18n/it.ts +45 -0
  122. package/src/tool/urbanGardenPlanner/i18n/ja.ts +39 -0
  123. package/src/tool/urbanGardenPlanner/i18n/ko.ts +39 -0
  124. package/src/tool/urbanGardenPlanner/i18n/nl.ts +39 -0
  125. package/src/tool/urbanGardenPlanner/i18n/pl.ts +39 -0
  126. package/src/tool/urbanGardenPlanner/i18n/pt.ts +39 -0
  127. package/src/tool/urbanGardenPlanner/i18n/ru.ts +39 -0
  128. package/src/tool/urbanGardenPlanner/i18n/sv.ts +39 -0
  129. package/src/tool/urbanGardenPlanner/i18n/tr.ts +104 -0
  130. package/src/tool/urbanGardenPlanner/i18n/zh.ts +104 -0
  131. package/src/tool/urbanGardenPlanner/index.ts +11 -0
  132. package/src/tool/urbanGardenPlanner/logic.test.ts +45 -0
  133. package/src/tool/urbanGardenPlanner/logic.ts +55 -0
  134. package/src/tool/urbanGardenPlanner/seo.astro +15 -0
  135. package/src/tool/urbanGardenPlanner/storage.ts +25 -0
  136. package/src/tool/urbanGardenPlanner/ui.ts +38 -0
  137. package/src/tool/urbanGardenPlanner/urban-garden-rainwater-and-soil-planner.css +531 -0
  138. package/src/tools.ts +5 -2
  139. package/src/types.ts +4 -4
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { ToolLocaleContent } from '../../../types';
4
4
  import type { CricketThermometerUI } from '../ui';
@@ -60,7 +60,7 @@ const faqSchema: WithContext<FAQPage> = {
60
60
  })),
61
61
  };
62
62
 
63
- const howToSchema: WithContext<HowToThing> = {
63
+ const howToSchema: WithContext<HowTo> = {
64
64
  '@context': 'https://schema.org',
65
65
  '@type': 'HowTo',
66
66
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { ToolLocaleContent } from '../../../types';
4
4
  import type { CricketThermometerUI } from '../ui';
@@ -60,7 +60,7 @@ const faqSchema: WithContext<FAQPage> = {
60
60
  })),
61
61
  };
62
62
 
63
- const howToSchema: WithContext<HowToThing> = {
63
+ const howToSchema: WithContext<HowTo> = {
64
64
  '@context': 'https://schema.org',
65
65
  '@type': 'HowTo',
66
66
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { ToolLocaleContent } from '../../../types';
4
4
  import type { CricketThermometerUI } from '../ui';
@@ -60,7 +60,7 @@ const faqSchema: WithContext<FAQPage> = {
60
60
  })),
61
61
  };
62
62
 
63
- const howToSchema: WithContext<HowToThing> = {
63
+ const howToSchema: WithContext<HowTo> = {
64
64
  '@context': 'https://schema.org',
65
65
  '@type': 'HowTo',
66
66
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { ToolLocaleContent } from '../../../types';
4
4
  import type { CricketThermometerUI } from '../ui';
@@ -60,7 +60,7 @@ const faqSchema: WithContext<FAQPage> = {
60
60
  })),
61
61
  };
62
62
 
63
- const howToSchema: WithContext<HowToThing> = {
63
+ const howToSchema: WithContext<HowTo> = {
64
64
  '@context': 'https://schema.org',
65
65
  '@type': 'HowTo',
66
66
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { ToolLocaleContent } from '../../../types';
4
4
  import type { CricketThermometerUI } from '../ui';
@@ -60,7 +60,7 @@ const faqSchema: WithContext<FAQPage> = {
60
60
  })),
61
61
  };
62
62
 
63
- const howToSchema: WithContext<HowToThing> = {
63
+ const howToSchema: WithContext<HowTo> = {
64
64
  '@context': 'https://schema.org',
65
65
  '@type': 'HowTo',
66
66
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { ToolLocaleContent } from '../../../types';
4
4
  import type { CricketThermometerUI } from '../ui';
@@ -60,7 +60,7 @@ const faqSchema: WithContext<FAQPage> = {
60
60
  })),
61
61
  };
62
62
 
63
- const howToSchema: WithContext<HowToThing> = {
63
+ const howToSchema: WithContext<HowTo> = {
64
64
  '@context': 'https://schema.org',
65
65
  '@type': 'HowTo',
66
66
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { ToolLocaleContent } from '../../../types';
4
4
  import type { CricketThermometerUI } from '../ui';
@@ -60,7 +60,7 @@ const faqSchema: WithContext<FAQPage> = {
60
60
  })),
61
61
  };
62
62
 
63
- const howToSchema: WithContext<HowToThing> = {
63
+ const howToSchema: WithContext<HowTo> = {
64
64
  '@context': 'https://schema.org',
65
65
  '@type': 'HowTo',
66
66
  name: title,
@@ -1,3 +1,4 @@
1
+ import type { ToolDefinition } from '../../types';
1
2
  import { cricketThermometer } from './entry';
2
3
  export * from './entry';
3
4
  export const CRICKET_THERMOMETER_TOOL: ToolDefinition = {
@@ -144,7 +144,7 @@ if (!ui) return null;
144
144
  const url = input.value.trim();
145
145
 
146
146
  if (!url || !url.startsWith('http')) {
147
- this.showError(this.ui.errorInvalidUrl);
147
+ this.showError(this.ui.errorInvalidUrl ?? "");
148
148
  return;
149
149
  }
150
150
 
@@ -156,7 +156,7 @@ if (!ui) return null;
156
156
  const result = buildResult(url, bytes);
157
157
  this.showResult(result);
158
158
  } catch {
159
- this.showError(this.ui.errorFetchFailed);
159
+ this.showError(this.ui.errorFetchFailed ?? "");
160
160
  } finally {
161
161
  this.setLoading(false);
162
162
  }
@@ -204,7 +204,7 @@ if (!ui) return null;
204
204
 
205
205
  badge.textContent = res.rating.label;
206
206
  badge.style.backgroundColor = res.rating.color;
207
- ratingDesc.textContent = this.ui[res.rating.descKey];
207
+ ratingDesc.textContent = this.ui[res.rating.descKey] ?? "";
208
208
 
209
209
  this.animateValue(resCo2, res.co2g, 2);
210
210
  this.animateValue(resEnergy, res.energyWh, 1);
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { DigitalCarbonLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,3 +1,4 @@
1
+ import type { ToolDefinition } from '../../types';
1
2
  import { digitalCarbon } from './entry';
2
3
  export * from './entry';
3
4
  export const DIGITAL_CARBON_TOOL: ToolDefinition = {
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { RainHarvesterLocaleContent } from '../index';
4
4
 
@@ -54,7 +54,7 @@ const faqSchema: WithContext<FAQPage> = {
54
54
  })),
55
55
  };
56
56
 
57
- const howToSchema: WithContext<HowToThing> = {
57
+ const howToSchema: WithContext<HowTo> = {
58
58
  '@context': 'https://schema.org',
59
59
  '@type': 'HowTo',
60
60
  name: title,
@@ -1,3 +1,4 @@
1
+ import type { ToolDefinition } from '../../types';
1
2
  import { rainHarvester } from './entry';
2
3
  export * from './entry';
3
4
  export const RAIN_HARVESTER_TOOL: ToolDefinition = {
@@ -1,4 +1,4 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
2
  import { bibliography } from '../bibliography';
3
3
  import type { ToolLocaleContent } from '../../../types';
4
4
  import type { SeedCalculatorUI } from '../ui';
@@ -60,7 +60,7 @@ const faqSchema: WithContext<FAQPage> = {
60
60
  })),
61
61
  };
62
62
 
63
- const howToSchema: WithContext<HowToThing> = {
63
+ const howToSchema: WithContext<HowTo> = {
64
64
  '@context': 'https://schema.org',
65
65
  '@type': 'HowTo',
66
66
  name: title,