@jjlmoya/utils-alcohol 1.25.0 → 1.27.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/entries.ts +7 -1
  3. package/src/index.ts +2 -0
  4. package/src/pages/[locale]/[slug].astro +7 -3
  5. package/src/tests/locale_completeness.test.ts +4 -9
  6. package/src/tests/tool_validation.test.ts +2 -2
  7. package/src/tool/alcoholClearance/bibliography.ts +6 -0
  8. package/src/tool/alcoholClearance/entry.ts +1 -0
  9. package/src/tool/alcoholClearance/i18n/de.ts +1 -12
  10. package/src/tool/alcoholClearance/i18n/en.ts +1 -12
  11. package/src/tool/alcoholClearance/i18n/es.ts +1 -12
  12. package/src/tool/alcoholClearance/i18n/fr.ts +1 -12
  13. package/src/tool/alcoholClearance/i18n/id.ts +1 -12
  14. package/src/tool/alcoholClearance/i18n/it.ts +1 -12
  15. package/src/tool/alcoholClearance/i18n/ja.ts +1 -12
  16. package/src/tool/alcoholClearance/i18n/ko.ts +1 -12
  17. package/src/tool/alcoholClearance/i18n/nl.ts +1 -12
  18. package/src/tool/alcoholClearance/i18n/pl.ts +1 -12
  19. package/src/tool/alcoholClearance/i18n/pt.ts +1 -12
  20. package/src/tool/alcoholClearance/i18n/ru.ts +1 -12
  21. package/src/tool/alcoholClearance/i18n/sv.ts +1 -12
  22. package/src/tool/alcoholClearance/i18n/tr.ts +1 -12
  23. package/src/tool/alcoholClearance/i18n/zh.ts +1 -12
  24. package/src/tool/beerCooler/bibliography.ts +6 -0
  25. package/src/tool/beerCooler/entry.ts +1 -0
  26. package/src/tool/beerCooler/i18n/de.ts +1 -12
  27. package/src/tool/beerCooler/i18n/en.ts +1 -12
  28. package/src/tool/beerCooler/i18n/es.ts +1 -12
  29. package/src/tool/beerCooler/i18n/fr.ts +1 -12
  30. package/src/tool/beerCooler/i18n/id.ts +1 -12
  31. package/src/tool/beerCooler/i18n/it.ts +1 -12
  32. package/src/tool/beerCooler/i18n/ja.ts +1 -12
  33. package/src/tool/beerCooler/i18n/ko.ts +1 -12
  34. package/src/tool/beerCooler/i18n/nl.ts +1 -12
  35. package/src/tool/beerCooler/i18n/pl.ts +1 -12
  36. package/src/tool/beerCooler/i18n/pt.ts +1 -12
  37. package/src/tool/beerCooler/i18n/ru.ts +1 -12
  38. package/src/tool/beerCooler/i18n/sv.ts +1 -12
  39. package/src/tool/beerCooler/i18n/tr.ts +1 -12
  40. package/src/tool/beerCooler/i18n/zh.ts +1 -12
  41. package/src/tool/carbonationCalculator/bibliography.ts +6 -0
  42. package/src/tool/carbonationCalculator/entry.ts +1 -0
  43. package/src/tool/carbonationCalculator/i18n/de.ts +1 -12
  44. package/src/tool/carbonationCalculator/i18n/en.ts +1 -12
  45. package/src/tool/carbonationCalculator/i18n/es.ts +1 -12
  46. package/src/tool/carbonationCalculator/i18n/fr.ts +1 -12
  47. package/src/tool/carbonationCalculator/i18n/id.ts +1 -12
  48. package/src/tool/carbonationCalculator/i18n/it.ts +1 -12
  49. package/src/tool/carbonationCalculator/i18n/ja.ts +1 -12
  50. package/src/tool/carbonationCalculator/i18n/ko.ts +1 -12
  51. package/src/tool/carbonationCalculator/i18n/nl.ts +1 -12
  52. package/src/tool/carbonationCalculator/i18n/pl.ts +1 -12
  53. package/src/tool/carbonationCalculator/i18n/pt.ts +1 -12
  54. package/src/tool/carbonationCalculator/i18n/ru.ts +1 -12
  55. package/src/tool/carbonationCalculator/i18n/sv.ts +1 -12
  56. package/src/tool/carbonationCalculator/i18n/tr.ts +1 -12
  57. package/src/tool/carbonationCalculator/i18n/zh.ts +1 -12
  58. package/src/tool/cocktailBalancer/bibliography.ts +7 -0
  59. package/src/tool/cocktailBalancer/entry.ts +1 -0
  60. package/src/tool/cocktailBalancer/i18n/de.ts +1 -16
  61. package/src/tool/cocktailBalancer/i18n/en.ts +1 -16
  62. package/src/tool/cocktailBalancer/i18n/es.ts +1 -16
  63. package/src/tool/cocktailBalancer/i18n/fr.ts +1 -16
  64. package/src/tool/cocktailBalancer/i18n/id.ts +1 -16
  65. package/src/tool/cocktailBalancer/i18n/it.ts +1 -16
  66. package/src/tool/cocktailBalancer/i18n/ja.ts +1 -16
  67. package/src/tool/cocktailBalancer/i18n/ko.ts +1 -16
  68. package/src/tool/cocktailBalancer/i18n/nl.ts +1 -16
  69. package/src/tool/cocktailBalancer/i18n/pl.ts +1 -16
  70. package/src/tool/cocktailBalancer/i18n/pt.ts +1 -16
  71. package/src/tool/cocktailBalancer/i18n/ru.ts +1 -16
  72. package/src/tool/cocktailBalancer/i18n/sv.ts +1 -16
  73. package/src/tool/cocktailBalancer/i18n/tr.ts +1 -16
  74. package/src/tool/cocktailBalancer/i18n/zh.ts +1 -16
  75. package/src/tool/fortifiedWine/bibliography.astro +14 -0
  76. package/src/tool/fortifiedWine/bibliography.ts +7 -0
  77. package/src/tool/fortifiedWine/component.astro +331 -0
  78. package/src/tool/fortifiedWine/entry.ts +62 -0
  79. package/src/tool/fortifiedWine/fortified-wine-builder.css +534 -0
  80. package/src/tool/fortifiedWine/i18n/de.ts +66 -0
  81. package/src/tool/fortifiedWine/i18n/en.ts +140 -0
  82. package/src/tool/fortifiedWine/i18n/es.ts +140 -0
  83. package/src/tool/fortifiedWine/i18n/fr.ts +91 -0
  84. package/src/tool/fortifiedWine/i18n/id.ts +91 -0
  85. package/src/tool/fortifiedWine/i18n/it.ts +91 -0
  86. package/src/tool/fortifiedWine/i18n/ja.ts +91 -0
  87. package/src/tool/fortifiedWine/i18n/ko.ts +91 -0
  88. package/src/tool/fortifiedWine/i18n/nl.ts +91 -0
  89. package/src/tool/fortifiedWine/i18n/pl.ts +91 -0
  90. package/src/tool/fortifiedWine/i18n/pt.ts +91 -0
  91. package/src/tool/fortifiedWine/i18n/ru.ts +91 -0
  92. package/src/tool/fortifiedWine/i18n/sv.ts +91 -0
  93. package/src/tool/fortifiedWine/i18n/tr.ts +91 -0
  94. package/src/tool/fortifiedWine/i18n/zh.ts +91 -0
  95. package/src/tool/fortifiedWine/index.ts +8 -0
  96. package/src/tool/fortifiedWine/logic.ts +46 -0
  97. package/src/tool/fortifiedWine/seo.astro +41 -0
  98. package/src/tool/jelloShotLab/bibliography.astro +14 -0
  99. package/src/tool/jelloShotLab/bibliography.ts +8 -0
  100. package/src/tool/jelloShotLab/component.astro +183 -0
  101. package/src/tool/jelloShotLab/entry.ts +62 -0
  102. package/src/tool/jelloShotLab/i18n/de.ts +156 -0
  103. package/src/tool/jelloShotLab/i18n/en.ts +156 -0
  104. package/src/tool/jelloShotLab/i18n/es.ts +156 -0
  105. package/src/tool/jelloShotLab/i18n/fr.ts +156 -0
  106. package/src/tool/jelloShotLab/i18n/id.ts +156 -0
  107. package/src/tool/jelloShotLab/i18n/it.ts +156 -0
  108. package/src/tool/jelloShotLab/i18n/ja.ts +156 -0
  109. package/src/tool/jelloShotLab/i18n/ko.ts +156 -0
  110. package/src/tool/jelloShotLab/i18n/nl.ts +156 -0
  111. package/src/tool/jelloShotLab/i18n/pl.ts +156 -0
  112. package/src/tool/jelloShotLab/i18n/pt.ts +156 -0
  113. package/src/tool/jelloShotLab/i18n/ru.ts +156 -0
  114. package/src/tool/jelloShotLab/i18n/sv.ts +156 -0
  115. package/src/tool/jelloShotLab/i18n/tr.ts +156 -0
  116. package/src/tool/jelloShotLab/i18n/zh.ts +156 -0
  117. package/src/tool/jelloShotLab/index.ts +11 -0
  118. package/src/tool/jelloShotLab/jello-shot-lab.css +229 -0
  119. package/src/tool/jelloShotLab/logic.ts +29 -0
  120. package/src/tool/jelloShotLab/seo.astro +53 -0
  121. package/src/tool/partyKeg/bibliography.ts +6 -0
  122. package/src/tool/partyKeg/entry.ts +1 -0
  123. package/src/tool/partyKeg/i18n/de.ts +1 -12
  124. package/src/tool/partyKeg/i18n/en.ts +1 -12
  125. package/src/tool/partyKeg/i18n/es.ts +1 -12
  126. package/src/tool/partyKeg/i18n/fr.ts +1 -12
  127. package/src/tool/partyKeg/i18n/id.ts +1 -12
  128. package/src/tool/partyKeg/i18n/it.ts +1 -12
  129. package/src/tool/partyKeg/i18n/ja.ts +1 -12
  130. package/src/tool/partyKeg/i18n/ko.ts +1 -12
  131. package/src/tool/partyKeg/i18n/nl.ts +1 -12
  132. package/src/tool/partyKeg/i18n/pl.ts +1 -12
  133. package/src/tool/partyKeg/i18n/pt.ts +1 -12
  134. package/src/tool/partyKeg/i18n/ru.ts +1 -12
  135. package/src/tool/partyKeg/i18n/sv.ts +1 -12
  136. package/src/tool/partyKeg/i18n/tr.ts +1 -12
  137. package/src/tool/partyKeg/i18n/zh.ts +1 -12
  138. package/src/tools.ts +5 -0
  139. package/src/types.ts +1 -1
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { PartyKegUI, PartyKegLocaleContent } from '../index';
3
4
 
@@ -27,7 +28,6 @@ const ui: PartyKegUI = {
27
28
  };
28
29
 
29
30
  const faqTitle = 'Perguntas Frequentes';
30
- const bibliographyTitle = 'Bibliografia e Fontes';
31
31
 
32
32
  const faq: PartyKegLocaleContent['faq'] = [
33
33
  {
@@ -63,16 +63,6 @@ const howTo: PartyKegLocaleContent['howTo'] = [
63
63
  },
64
64
  ];
65
65
 
66
- const bibliography: PartyKegLocaleContent['bibliography'] = [
67
- {
68
- name: "Event Planning: Alcohol & Bar Calculations - Spruce Eats",
69
- url: "https://www.thespruceeats.com/stock-your-bar-for-a-party-760394",
70
- },
71
- {
72
- name: "Thermodynamics of Ice Melting - Engineering Toolbox",
73
- url: "https://www.engineeringtoolbox.com/saturated-ice-steam-d_970.html",
74
- },
75
- ];
76
66
 
77
67
  const seo: PartyKegLocaleContent['seo'] = [
78
68
  {
@@ -180,7 +170,6 @@ export const content: PartyKegLocaleContent = {
180
170
  seo,
181
171
  faqTitle,
182
172
  faq,
183
- bibliographyTitle,
184
173
  bibliography,
185
174
  howTo,
186
175
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { PartyKegUI, PartyKegLocaleContent } from '../index';
3
4
 
@@ -27,7 +28,6 @@ const ui: PartyKegUI = {
27
28
  };
28
29
 
29
30
  const faqTitle = 'Часто Задаваемые Вопросы';
30
- const bibliographyTitle = 'Библиография и Источники';
31
31
 
32
32
  const faq: PartyKegLocaleContent['faq'] = [
33
33
  {
@@ -63,16 +63,6 @@ const howTo: PartyKegLocaleContent['howTo'] = [
63
63
  },
64
64
  ];
65
65
 
66
- const bibliography: PartyKegLocaleContent['bibliography'] = [
67
- {
68
- name: "Event Planning: Alcohol & Bar Calculations - Spruce Eats",
69
- url: "https://www.thespruceeats.com/stock-your-bar-for-a-party-760394",
70
- },
71
- {
72
- name: "Thermodynamics of Ice Melting - Engineering Toolbox",
73
- url: "https://www.engineeringtoolbox.com/saturated-ice-steam-d_970.html",
74
- },
75
- ];
76
66
 
77
67
  const seo: PartyKegLocaleContent['seo'] = [
78
68
  {
@@ -180,7 +170,6 @@ export const content: PartyKegLocaleContent = {
180
170
  seo,
181
171
  faqTitle,
182
172
  faq,
183
- bibliographyTitle,
184
173
  bibliography,
185
174
  howTo,
186
175
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { PartyKegUI, PartyKegLocaleContent } from '../index';
3
4
 
@@ -27,7 +28,6 @@ const ui: PartyKegUI = {
27
28
  };
28
29
 
29
30
  const faqTitle = 'Vanliga Frågor';
30
- const bibliographyTitle = 'Bibliografi och Källor';
31
31
 
32
32
  const faq: PartyKegLocaleContent['faq'] = [
33
33
  {
@@ -63,16 +63,6 @@ const howTo: PartyKegLocaleContent['howTo'] = [
63
63
  },
64
64
  ];
65
65
 
66
- const bibliography: PartyKegLocaleContent['bibliography'] = [
67
- {
68
- name: "Event Planning: Alcohol & Bar Calculations - Spruce Eats",
69
- url: "https://www.thespruceeats.com/stock-your-bar-for-a-party-760394",
70
- },
71
- {
72
- name: "Thermodynamics of Ice Melting - Engineering Toolbox",
73
- url: "https://www.engineeringtoolbox.com/saturated-ice-steam-d_970.html",
74
- },
75
- ];
76
66
 
77
67
  const seo: PartyKegLocaleContent['seo'] = [
78
68
  {
@@ -180,7 +170,6 @@ export const content: PartyKegLocaleContent = {
180
170
  seo,
181
171
  faqTitle,
182
172
  faq,
183
- bibliographyTitle,
184
173
  bibliography,
185
174
  howTo,
186
175
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { PartyKegUI, PartyKegLocaleContent } from '../index';
3
4
 
@@ -27,7 +28,6 @@ const ui: PartyKegUI = {
27
28
  };
28
29
 
29
30
  const faqTitle = 'Sıkça Sorulan Sorular';
30
- const bibliographyTitle = 'Bibliyografi ve Kaynaklar';
31
31
 
32
32
  const faq: PartyKegLocaleContent['faq'] = [
33
33
  {
@@ -63,16 +63,6 @@ const howTo: PartyKegLocaleContent['howTo'] = [
63
63
  },
64
64
  ];
65
65
 
66
- const bibliography: PartyKegLocaleContent['bibliography'] = [
67
- {
68
- name: 'Etkinlik Planlama: Alkol ve Bar Hesaplamaları - Spruce Eats',
69
- url: 'https://www.thespruceeats.com/stock-your-bar-for-a-party-760394',
70
- },
71
- {
72
- name: 'Buz Eritme Termodinamiği - Mühendislik Araç Kutusu',
73
- url: 'https://www.engineeringtoolbox.com/saturated-ice-steam-d_970.html',
74
- },
75
- ];
76
66
 
77
67
  const seo: PartyKegLocaleContent['seo'] = [
78
68
  {
@@ -180,7 +170,6 @@ export const content: PartyKegLocaleContent = {
180
170
  seo,
181
171
  faqTitle,
182
172
  faq,
183
- bibliographyTitle,
184
173
  bibliography,
185
174
  howTo,
186
175
  schemas,
@@ -1,3 +1,4 @@
1
+ import { bibliography } from '../bibliography';
1
2
  import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
2
3
  import type { PartyKegUI, PartyKegLocaleContent } from '../index';
3
4
 
@@ -27,7 +28,6 @@ const ui: PartyKegUI = {
27
28
  };
28
29
 
29
30
  const faqTitle = '常见问题';
30
- const bibliographyTitle = '参考文献和来源';
31
31
 
32
32
  const faq: PartyKegLocaleContent['faq'] = [
33
33
  {
@@ -63,16 +63,6 @@ const howTo: PartyKegLocaleContent['howTo'] = [
63
63
  },
64
64
  ];
65
65
 
66
- const bibliography: PartyKegLocaleContent['bibliography'] = [
67
- {
68
- name: "Event Planning: Alcohol & Bar Calculations - Spruce Eats",
69
- url: "https://www.thespruceeats.com/stock-your-bar-for-a-party-760394",
70
- },
71
- {
72
- name: "Thermodynamics of Ice Melting - Engineering Toolbox",
73
- url: "https://www.engineeringtoolbox.com/saturated-ice-steam-d_970.html",
74
- },
75
- ];
76
66
 
77
67
  const seo: PartyKegLocaleContent['seo'] = [
78
68
  {
@@ -180,7 +170,6 @@ export const content: PartyKegLocaleContent = {
180
170
  seo,
181
171
  faqTitle,
182
172
  faq,
183
- bibliographyTitle,
184
173
  bibliography,
185
174
  howTo,
186
175
  schemas,
package/src/tools.ts CHANGED
@@ -6,11 +6,16 @@ import { PARTY_KEG_TOOL } from './tool/partyKeg';
6
6
  import { CARBONATION_TOOL } from './tool/carbonationCalculator';
7
7
  import { ALCOHOL_CLEARANCE_TOOL } from './tool/alcoholClearance';
8
8
 
9
+ import { JELLO_SHOT_LAB_TOOL } from './tool/jelloShotLab';
10
+ import { FORTIFIED_WINE_TOOL } from './tool/fortifiedWine';
11
+
9
12
  export const ALL_TOOLS: ToolDefinition[] = [
10
13
  COCKTAIL_BALANCER_TOOL,
11
14
  BEER_COOLER_TOOL,
12
15
  PARTY_KEG_TOOL,
13
16
  CARBONATION_TOOL,
14
17
  ALCOHOL_CLEARANCE_TOOL,
18
+ JELLO_SHOT_LAB_TOOL,
19
+ FORTIFIED_WINE_TOOL,
15
20
  ];
16
21
 
package/src/types.ts CHANGED
@@ -31,7 +31,7 @@ export interface ToolLocaleContent<TUI extends Record<string, string> = Record<s
31
31
  seo: SEOSection[];
32
32
  faqTitle: string;
33
33
  faq: FAQItem[];
34
- bibliographyTitle: string;
34
+ bibliographyTitle?: string;
35
35
  bibliography: BibliographyEntry[];
36
36
  howTo: HowToStep[];
37
37
  schemas: WithContext<Thing>[];