@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.
- package/package.json +1 -1
- package/src/entries.ts +7 -1
- package/src/index.ts +2 -0
- package/src/pages/[locale]/[slug].astro +7 -3
- package/src/tests/locale_completeness.test.ts +4 -9
- package/src/tests/tool_validation.test.ts +2 -2
- package/src/tool/alcoholClearance/bibliography.ts +6 -0
- package/src/tool/alcoholClearance/entry.ts +1 -0
- package/src/tool/alcoholClearance/i18n/de.ts +1 -12
- package/src/tool/alcoholClearance/i18n/en.ts +1 -12
- package/src/tool/alcoholClearance/i18n/es.ts +1 -12
- package/src/tool/alcoholClearance/i18n/fr.ts +1 -12
- package/src/tool/alcoholClearance/i18n/id.ts +1 -12
- package/src/tool/alcoholClearance/i18n/it.ts +1 -12
- package/src/tool/alcoholClearance/i18n/ja.ts +1 -12
- package/src/tool/alcoholClearance/i18n/ko.ts +1 -12
- package/src/tool/alcoholClearance/i18n/nl.ts +1 -12
- package/src/tool/alcoholClearance/i18n/pl.ts +1 -12
- package/src/tool/alcoholClearance/i18n/pt.ts +1 -12
- package/src/tool/alcoholClearance/i18n/ru.ts +1 -12
- package/src/tool/alcoholClearance/i18n/sv.ts +1 -12
- package/src/tool/alcoholClearance/i18n/tr.ts +1 -12
- package/src/tool/alcoholClearance/i18n/zh.ts +1 -12
- package/src/tool/beerCooler/bibliography.ts +6 -0
- package/src/tool/beerCooler/entry.ts +1 -0
- package/src/tool/beerCooler/i18n/de.ts +1 -12
- package/src/tool/beerCooler/i18n/en.ts +1 -12
- package/src/tool/beerCooler/i18n/es.ts +1 -12
- package/src/tool/beerCooler/i18n/fr.ts +1 -12
- package/src/tool/beerCooler/i18n/id.ts +1 -12
- package/src/tool/beerCooler/i18n/it.ts +1 -12
- package/src/tool/beerCooler/i18n/ja.ts +1 -12
- package/src/tool/beerCooler/i18n/ko.ts +1 -12
- package/src/tool/beerCooler/i18n/nl.ts +1 -12
- package/src/tool/beerCooler/i18n/pl.ts +1 -12
- package/src/tool/beerCooler/i18n/pt.ts +1 -12
- package/src/tool/beerCooler/i18n/ru.ts +1 -12
- package/src/tool/beerCooler/i18n/sv.ts +1 -12
- package/src/tool/beerCooler/i18n/tr.ts +1 -12
- package/src/tool/beerCooler/i18n/zh.ts +1 -12
- package/src/tool/carbonationCalculator/bibliography.ts +6 -0
- package/src/tool/carbonationCalculator/entry.ts +1 -0
- package/src/tool/carbonationCalculator/i18n/de.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/en.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/es.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/fr.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/id.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/it.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/ja.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/ko.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/nl.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/pl.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/pt.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/ru.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/sv.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/tr.ts +1 -12
- package/src/tool/carbonationCalculator/i18n/zh.ts +1 -12
- package/src/tool/cocktailBalancer/bibliography.ts +7 -0
- package/src/tool/cocktailBalancer/entry.ts +1 -0
- package/src/tool/cocktailBalancer/i18n/de.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/en.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/es.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/fr.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/id.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/it.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/ja.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/ko.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/nl.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/pl.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/pt.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/ru.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/sv.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/tr.ts +1 -16
- package/src/tool/cocktailBalancer/i18n/zh.ts +1 -16
- package/src/tool/fortifiedWine/bibliography.astro +14 -0
- package/src/tool/fortifiedWine/bibliography.ts +7 -0
- package/src/tool/fortifiedWine/component.astro +331 -0
- package/src/tool/fortifiedWine/entry.ts +62 -0
- package/src/tool/fortifiedWine/fortified-wine-builder.css +534 -0
- package/src/tool/fortifiedWine/i18n/de.ts +66 -0
- package/src/tool/fortifiedWine/i18n/en.ts +140 -0
- package/src/tool/fortifiedWine/i18n/es.ts +140 -0
- package/src/tool/fortifiedWine/i18n/fr.ts +91 -0
- package/src/tool/fortifiedWine/i18n/id.ts +91 -0
- package/src/tool/fortifiedWine/i18n/it.ts +91 -0
- package/src/tool/fortifiedWine/i18n/ja.ts +91 -0
- package/src/tool/fortifiedWine/i18n/ko.ts +91 -0
- package/src/tool/fortifiedWine/i18n/nl.ts +91 -0
- package/src/tool/fortifiedWine/i18n/pl.ts +91 -0
- package/src/tool/fortifiedWine/i18n/pt.ts +91 -0
- package/src/tool/fortifiedWine/i18n/ru.ts +91 -0
- package/src/tool/fortifiedWine/i18n/sv.ts +91 -0
- package/src/tool/fortifiedWine/i18n/tr.ts +91 -0
- package/src/tool/fortifiedWine/i18n/zh.ts +91 -0
- package/src/tool/fortifiedWine/index.ts +8 -0
- package/src/tool/fortifiedWine/logic.ts +46 -0
- package/src/tool/fortifiedWine/seo.astro +41 -0
- package/src/tool/jelloShotLab/bibliography.astro +14 -0
- package/src/tool/jelloShotLab/bibliography.ts +8 -0
- package/src/tool/jelloShotLab/component.astro +183 -0
- package/src/tool/jelloShotLab/entry.ts +62 -0
- package/src/tool/jelloShotLab/i18n/de.ts +156 -0
- package/src/tool/jelloShotLab/i18n/en.ts +156 -0
- package/src/tool/jelloShotLab/i18n/es.ts +156 -0
- package/src/tool/jelloShotLab/i18n/fr.ts +156 -0
- package/src/tool/jelloShotLab/i18n/id.ts +156 -0
- package/src/tool/jelloShotLab/i18n/it.ts +156 -0
- package/src/tool/jelloShotLab/i18n/ja.ts +156 -0
- package/src/tool/jelloShotLab/i18n/ko.ts +156 -0
- package/src/tool/jelloShotLab/i18n/nl.ts +156 -0
- package/src/tool/jelloShotLab/i18n/pl.ts +156 -0
- package/src/tool/jelloShotLab/i18n/pt.ts +156 -0
- package/src/tool/jelloShotLab/i18n/ru.ts +156 -0
- package/src/tool/jelloShotLab/i18n/sv.ts +156 -0
- package/src/tool/jelloShotLab/i18n/tr.ts +156 -0
- package/src/tool/jelloShotLab/i18n/zh.ts +156 -0
- package/src/tool/jelloShotLab/index.ts +11 -0
- package/src/tool/jelloShotLab/jello-shot-lab.css +229 -0
- package/src/tool/jelloShotLab/logic.ts +29 -0
- package/src/tool/jelloShotLab/seo.astro +53 -0
- package/src/tool/partyKeg/bibliography.ts +6 -0
- package/src/tool/partyKeg/entry.ts +1 -0
- package/src/tool/partyKeg/i18n/de.ts +1 -12
- package/src/tool/partyKeg/i18n/en.ts +1 -12
- package/src/tool/partyKeg/i18n/es.ts +1 -12
- package/src/tool/partyKeg/i18n/fr.ts +1 -12
- package/src/tool/partyKeg/i18n/id.ts +1 -12
- package/src/tool/partyKeg/i18n/it.ts +1 -12
- package/src/tool/partyKeg/i18n/ja.ts +1 -12
- package/src/tool/partyKeg/i18n/ko.ts +1 -12
- package/src/tool/partyKeg/i18n/nl.ts +1 -12
- package/src/tool/partyKeg/i18n/pl.ts +1 -12
- package/src/tool/partyKeg/i18n/pt.ts +1 -12
- package/src/tool/partyKeg/i18n/ru.ts +1 -12
- package/src/tool/partyKeg/i18n/sv.ts +1 -12
- package/src/tool/partyKeg/i18n/tr.ts +1 -12
- package/src/tool/partyKeg/i18n/zh.ts +1 -12
- package/src/tools.ts +5 -0
- 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
|
|
34
|
+
bibliographyTitle?: string;
|
|
35
35
|
bibliography: BibliographyEntry[];
|
|
36
36
|
howTo: HowToStep[];
|
|
37
37
|
schemas: WithContext<Thing>[];
|