@jjlmoya/utils-alcohol 1.25.0 → 1.26.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 +1 -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
package/package.json
CHANGED
package/src/entries.ts
CHANGED
|
@@ -8,10 +8,16 @@ export { cocktailBalancer } from './tool/cocktailBalancer/entry';
|
|
|
8
8
|
export type { CocktailBalancerUI, CocktailBalancerLocaleContent } from './tool/cocktailBalancer/entry';
|
|
9
9
|
export { partyKeg } from './tool/partyKeg/entry';
|
|
10
10
|
export type { PartyKegUI, PartyKegLocaleContent } from './tool/partyKeg/entry';
|
|
11
|
+
export { jelloShotLab } from './tool/jelloShotLab/entry';
|
|
12
|
+
export type { JelloShotLabUI, JelloShotLabLocaleContent } from './tool/jelloShotLab/entry';
|
|
13
|
+
export { fortifiedWine } from './tool/fortifiedWine/entry';
|
|
14
|
+
export type { FortifiedWineBuilderUI, FortifiedWineBuilderLocaleContent } from './tool/fortifiedWine/entry';
|
|
11
15
|
export { alcoholCategory, toolsCategory } from './category';
|
|
12
16
|
import { alcoholClearance } from './tool/alcoholClearance/entry';
|
|
13
17
|
import { beerCooler } from './tool/beerCooler/entry';
|
|
14
18
|
import { carbonationCalculator } from './tool/carbonationCalculator/entry';
|
|
15
19
|
import { cocktailBalancer } from './tool/cocktailBalancer/entry';
|
|
16
20
|
import { partyKeg } from './tool/partyKeg/entry';
|
|
17
|
-
|
|
21
|
+
import { jelloShotLab } from './tool/jelloShotLab/entry';
|
|
22
|
+
import { fortifiedWine } from './tool/fortifiedWine/entry';
|
|
23
|
+
export const ALL_ENTRIES = [alcoholClearance, beerCooler, carbonationCalculator, cocktailBalancer, partyKeg, jelloShotLab, fortifiedWine];
|
package/src/index.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './tool/beerCooler';
|
|
|
3
3
|
export * from './tool/carbonationCalculator';
|
|
4
4
|
export * from './tool/cocktailBalancer';
|
|
5
5
|
export * from './tool/partyKeg';
|
|
6
|
+
export * from './tool/fortifiedWine';
|
|
6
7
|
|
|
7
8
|
export { alcoholCategory } from './category';
|
|
8
9
|
export const AlcoholCategorySEO = () => import('./category/seo.astro').then((m) => m.default);
|
|
@@ -45,7 +45,7 @@ export async function getStaticPaths() {
|
|
|
45
45
|
);
|
|
46
46
|
paths.push({
|
|
47
47
|
params: { locale, slug: content.slug },
|
|
48
|
-
props: { Component, locale, content, localeUrls, allToolsNav },
|
|
48
|
+
props: { Component, locale, content, localeUrls, allToolsNav, toolId: entry.id },
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -66,9 +66,14 @@ interface Props {
|
|
|
66
66
|
content: ToolLocaleContent;
|
|
67
67
|
localeUrls: Partial<Record<KnownLocale, string>>;
|
|
68
68
|
allToolsNav: NavItem[];
|
|
69
|
+
toolId: string;
|
|
69
70
|
}
|
|
70
71
|
|
|
71
|
-
const { Component, locale, content, localeUrls, allToolsNav } = Astro.props;
|
|
72
|
+
const { Component, locale, content, localeUrls, allToolsNav, toolId } = Astro.props;
|
|
73
|
+
|
|
74
|
+
const toolCssModules = import.meta.glob('../../tool/*/*.css');
|
|
75
|
+
const cssKey = Object.keys(toolCssModules).find(k => k.endsWith(`/${toolId}.css`));
|
|
76
|
+
if (cssKey) await toolCssModules[cssKey]();
|
|
72
77
|
|
|
73
78
|
const seoContent: UtilitySEOContent = { locale, sections: content.seo };
|
|
74
79
|
|
|
@@ -125,7 +130,6 @@ const titleBase = words.slice(1).join(" ") || "";
|
|
|
125
130
|
|
|
126
131
|
<section class="section-bibliography">
|
|
127
132
|
<Bibliography
|
|
128
|
-
title={content.bibliographyTitle}
|
|
129
133
|
links={content.bibliography}
|
|
130
134
|
/>
|
|
131
135
|
</section>
|
|
@@ -19,24 +19,19 @@ describe('Locale Completeness Validation', () => {
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
|
|
22
|
-
it('
|
|
22
|
+
it('bibliography should be a non-empty array when defined', async () => {
|
|
23
23
|
const loader = tool.entry.i18n[locale as keyof typeof tool.entry.i18n];
|
|
24
24
|
const content = (await loader?.()) as ToolLocaleContent;
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
expect(
|
|
28
|
-
content.bibliographyTitle,
|
|
29
|
-
`Tool "${tool.entry.id}" locale "${locale}" has ${content.bibliography.length} bibliography items but is missing bibliographyTitle`,
|
|
30
|
-
).toBeTruthy();
|
|
31
|
-
}
|
|
26
|
+
expect(Array.isArray(content.bibliography)).toBe(true);
|
|
32
27
|
});
|
|
33
28
|
});
|
|
34
29
|
});
|
|
35
30
|
});
|
|
36
31
|
});
|
|
37
32
|
|
|
38
|
-
it('all
|
|
39
|
-
expect(ALL_TOOLS.length).toBe(
|
|
33
|
+
it('all 7 tools registered', () => {
|
|
34
|
+
expect(ALL_TOOLS.length).toBe(7);
|
|
40
35
|
});
|
|
41
36
|
});
|
|
42
37
|
|
|
@@ -3,8 +3,8 @@ import { ALL_TOOLS } from '../tools';
|
|
|
3
3
|
|
|
4
4
|
describe('Tool Validation Suite', () => {
|
|
5
5
|
describe('Library Registration', () => {
|
|
6
|
-
it('should have
|
|
7
|
-
expect(ALL_TOOLS.length).toBe(
|
|
6
|
+
it('should have 7 tools in ALL_TOOLS', () => {
|
|
7
|
+
expect(ALL_TOOLS.length).toBe(7);
|
|
8
8
|
});
|
|
9
9
|
|
|
10
10
|
it('all tools should have defined i18n', () => {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BibliographyEntry } from '../../types';
|
|
2
|
+
|
|
3
|
+
export const bibliography: BibliographyEntry[] = [
|
|
4
|
+
{ name: 'Alcohol calculations and their uncertainty - PMC', url: 'https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/' },
|
|
5
|
+
{ name: 'Alcohol Metabolism: How the body processes alcohol - NIH', url: 'https://www.niaaa.nih.gov/publications/alcohol-metabolism' },
|
|
6
|
+
];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bibliography } from '../bibliography';
|
|
1
2
|
import type { WithContext, SoftwareApplication, FAQPage, HowTo } from 'schema-dts';
|
|
2
3
|
import type { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Häufig gestellte Fragen';
|
|
34
|
-
const bibliographyTitle = 'Literaturverzeichnis & Quellen';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "Alkoholberechnungen und ihre Unsicherheit - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Alkoholstoffwechsel: Wie der Körper Alkohol verarbeitet - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Frequently Asked Questions';
|
|
34
|
-
const bibliographyTitle = 'Bibliography & Sources';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "Alcohol calculations and their uncertainty - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Alcohol Metabolism: How the body processes alcohol - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Preguntas Frecuentes';
|
|
34
|
-
const bibliographyTitle = 'Bibliografía y Fuentes';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -75,16 +75,6 @@ const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
|
75
75
|
},
|
|
76
76
|
];
|
|
77
77
|
|
|
78
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
79
|
-
{
|
|
80
|
-
name: "Alcohol calculations and their uncertainty - PMC",
|
|
81
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: "Alcohol Metabolism: How the body processes alcohol - NIH",
|
|
85
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
86
|
-
},
|
|
87
|
-
];
|
|
88
78
|
|
|
89
79
|
const seo: AlcoholClearanceLocaleContent['seo'] = [
|
|
90
80
|
{
|
|
@@ -207,7 +197,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
207
197
|
seo,
|
|
208
198
|
faqTitle,
|
|
209
199
|
faq,
|
|
210
|
-
bibliographyTitle,
|
|
211
200
|
bibliography,
|
|
212
201
|
howTo,
|
|
213
202
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Foire Aux Questions';
|
|
34
|
-
const bibliographyTitle = 'Bibliographie & Sources';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "Alcohol calculations and their uncertainty - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Alcohol Metabolism: How the body processes alcohol - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -189,7 +179,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
189
179
|
seo,
|
|
190
180
|
faqTitle,
|
|
191
181
|
faq,
|
|
192
|
-
bibliographyTitle,
|
|
193
182
|
bibliography,
|
|
194
183
|
howTo,
|
|
195
184
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Pertanyaan yang Sering Diajukan';
|
|
34
|
-
const bibliographyTitle = 'Bibliografi & Sumber';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "Perhitungan alkohol dan ketidakpastiannya - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Metabolisme Alkohol: Bagaimana tubuh memproses alkohol - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Domande frequenti';
|
|
34
|
-
const bibliographyTitle = 'Bibliografia e fonti';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: 'Calcoli di alcol e loro incertezza - PMC',
|
|
66
|
-
url: 'https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/',
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: 'Metabolismo dell\'alcol: Come il corpo elabora l\'alcol - NIH',
|
|
70
|
-
url: 'https://www.niaaa.nih.gov/publications/alcohol-metabolism',
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -173,7 +163,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
173
163
|
seo,
|
|
174
164
|
faqTitle,
|
|
175
165
|
faq,
|
|
176
|
-
bibliographyTitle,
|
|
177
166
|
bibliography,
|
|
178
167
|
howTo,
|
|
179
168
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'よくある質問';
|
|
34
|
-
const bibliographyTitle = '参考文献・情報源';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: 'アルコール計算とその不確実性 - PMC',
|
|
66
|
-
url: 'https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/',
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: 'アルコール代謝:体がアルコールを処理する方法 - NIH',
|
|
70
|
-
url: 'https://www.niaaa.nih.gov/publications/alcohol-metabolism',
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = '자주 묻는 질문';
|
|
34
|
-
const bibliographyTitle = '참고 자료 및 출처';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "알콜 계산 및 불확실성 - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "알콜 신진대사: 신체가 알콜을 처리하는 방식 - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Veelgestelde vragen';
|
|
34
|
-
const bibliographyTitle = 'Bibliografie en bronnen';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "Alcoholberekeningen en hun onzekerheid - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Alcoholstofwisseling: Hoe het lichaam alcohol verwerkt - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Często Zadawane Pytania';
|
|
34
|
-
const bibliographyTitle = 'Bibliografia i Źródła';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "Alcohol calculations and their uncertainty - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Alcohol Metabolism: How the body processes alcohol - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Perguntas Frequentes';
|
|
34
|
-
const bibliographyTitle = 'Referências e Fontes';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "Alcohol calculations and their uncertainty - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Alcohol Metabolism: How the body processes alcohol - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Часто задаваемые вопросы';
|
|
34
|
-
const bibliographyTitle = 'Источники и литература';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "Расчёты алкоголя и их неопределённость - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Метаболизм алкоголя: как организм перерабатывает спирт - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle = 'Vanliga frågor';
|
|
34
|
-
const bibliographyTitle = 'Litteraturreferenser';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: "Alkoholberäkningar och deras osäkerhet - PMC",
|
|
66
|
-
url: "https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Alkoholmetabolism: Hur kroppen bryter ner alkohol - NIH",
|
|
70
|
-
url: "https://www.niaaa.nih.gov/publications/alcohol-metabolism",
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -198,7 +188,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
198
188
|
seo,
|
|
199
189
|
faqTitle,
|
|
200
190
|
faq,
|
|
201
|
-
bibliographyTitle,
|
|
202
191
|
bibliography,
|
|
203
192
|
howTo,
|
|
204
193
|
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 { AlcoholClearanceUI, AlcoholClearanceLocaleContent } from '../index';
|
|
3
4
|
|
|
@@ -31,7 +32,6 @@ const ui: AlcoholClearanceUI = {
|
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
const faqTitle: string = 'Sıkça Sorulan Sorular';
|
|
34
|
-
const bibliographyTitle: string = 'Bibliyografi ve Kaynaklar';
|
|
35
35
|
|
|
36
36
|
const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
37
37
|
{
|
|
@@ -60,16 +60,6 @@ const faq: AlcoholClearanceLocaleContent['faq'] = [
|
|
|
60
60
|
},
|
|
61
61
|
];
|
|
62
62
|
|
|
63
|
-
const bibliography: AlcoholClearanceLocaleContent['bibliography'] = [
|
|
64
|
-
{
|
|
65
|
-
name: 'Alkol hesaplamaları ve belirsizliği - PMC',
|
|
66
|
-
url: 'https://pmc.ncbi.nlm.nih.gov/articles/PMC4361698/',
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: 'Alkol Metabolizması: Vücudun alkoli nasıl işler - NIH',
|
|
70
|
-
url: 'https://www.niaaa.nih.gov/publications/alcohol-metabolism',
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
63
|
|
|
74
64
|
const howTo: AlcoholClearanceLocaleContent['howTo'] = [
|
|
75
65
|
{
|
|
@@ -173,7 +163,6 @@ export const content: AlcoholClearanceLocaleContent = {
|
|
|
173
163
|
seo,
|
|
174
164
|
faqTitle,
|
|
175
165
|
faq,
|
|
176
|
-
bibliographyTitle,
|
|
177
166
|
bibliography,
|
|
178
167
|
howTo,
|
|
179
168
|
schemas,
|