@jjlmoya/utils-cooking 1.36.0 → 1.38.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/category/index.ts +6 -0
- package/src/entries.ts +7 -1
- package/src/index.ts +3 -0
- package/src/tests/brix-sorbet-density-calculator.test.ts +53 -0
- package/src/tests/i18n-titles.test.ts +2 -2
- package/src/tests/leavener-acid-neutralizer.test.ts +42 -0
- package/src/tests/locale_completeness.test.ts +2 -2
- package/src/tests/tool_validation.test.ts +2 -2
- package/src/tool/brix-sorbet-density-calculator/bibliography.astro +6 -0
- package/src/tool/brix-sorbet-density-calculator/bibliography.ts +10 -0
- package/src/tool/brix-sorbet-density-calculator/brix-sorbet-density-calculator.css +878 -0
- package/src/tool/brix-sorbet-density-calculator/component.astro +220 -0
- package/src/tool/brix-sorbet-density-calculator/entry.ts +26 -0
- package/src/tool/brix-sorbet-density-calculator/helpers.ts +102 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/de.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/en.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/es.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/fr.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/id.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/it.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/ja.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/ko.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/nl.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/pl.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/pt.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/ru.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/sv.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/tr.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/i18n/zh.ts +295 -0
- package/src/tool/brix-sorbet-density-calculator/index.ts +11 -0
- package/src/tool/brix-sorbet-density-calculator/logic.ts +180 -0
- package/src/tool/brix-sorbet-density-calculator/script.ts +114 -0
- package/src/tool/brix-sorbet-density-calculator/seo.astro +15 -0
- package/src/tool/leavener-acid-neutralizer/bibliography.astro +6 -0
- package/src/tool/leavener-acid-neutralizer/bibliography.ts +10 -0
- package/src/tool/leavener-acid-neutralizer/component.astro +335 -0
- package/src/tool/leavener-acid-neutralizer/entry.ts +26 -0
- package/src/tool/leavener-acid-neutralizer/i18n/de.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/en.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/es.ts +275 -0
- package/src/tool/leavener-acid-neutralizer/i18n/fr.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/id.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/it.ts +275 -0
- package/src/tool/leavener-acid-neutralizer/i18n/ja.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/ko.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/nl.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/pl.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/pt.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/ru.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/sv.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/tr.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/i18n/zh.ts +279 -0
- package/src/tool/leavener-acid-neutralizer/index.ts +10 -0
- package/src/tool/leavener-acid-neutralizer/leavener-acid-neutralizer.css +424 -0
- package/src/tool/leavener-acid-neutralizer/logic.ts +57 -0
- package/src/tool/leavener-acid-neutralizer/seo.astro +15 -0
- package/src/tool/oil-smoke-point-tracker/bibliography.astro +6 -0
- package/src/tool/oil-smoke-point-tracker/bibliography.ts +10 -0
- package/src/tool/oil-smoke-point-tracker/component.astro +445 -0
- package/src/tool/oil-smoke-point-tracker/entry.ts +26 -0
- package/src/tool/oil-smoke-point-tracker/i18n/de.ts +285 -0
- package/src/tool/oil-smoke-point-tracker/i18n/en.ts +285 -0
- package/src/tool/oil-smoke-point-tracker/i18n/es.ts +285 -0
- package/src/tool/oil-smoke-point-tracker/i18n/fr.ts +285 -0
- package/src/tool/oil-smoke-point-tracker/i18n/id.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/it.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/ja.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/ko.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/nl.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/pl.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/pt.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/ru.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/sv.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/tr.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/i18n/zh.ts +244 -0
- package/src/tool/oil-smoke-point-tracker/index.ts +11 -0
- package/src/tool/oil-smoke-point-tracker/logic.ts +70 -0
- package/src/tool/oil-smoke-point-tracker/oil-smoke-point-tracker.css +937 -0
- package/src/tool/oil-smoke-point-tracker/seo.astro +15 -0
- package/src/tools.ts +6 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
import { SEORenderer } from '@jjlmoya/utils-shared';
|
|
3
|
+
import { oilSmokePoint } from './entry';
|
|
4
|
+
import type { KnownLocale } from '../../types';
|
|
5
|
+
|
|
6
|
+
interface Props {
|
|
7
|
+
locale?: KnownLocale;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const { locale = 'en' } = Astro.props;
|
|
11
|
+
const content = await oilSmokePoint.i18n[locale]?.();
|
|
12
|
+
if (!content) return null;
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
{content.seo?.length > 0 && <SEORenderer content={{ locale, sections: content.seo }} />}
|
package/src/tools.ts
CHANGED
|
@@ -21,6 +21,9 @@ import { MEAT_BINDER_TRANSGLUTAMINASE_TOOL } from './tool/meat-binder-transgluta
|
|
|
21
21
|
import { CARRY_OVER_COOKING_TOOL } from './tool/carry-over-cooking-predictor';
|
|
22
22
|
import { MAILLARD_REACTION_TOOL } from './tool/maillard-reaction-optimizer';
|
|
23
23
|
import { MACARON_DRYING_TOOL } from './tool/macaron-drying-predictor';
|
|
24
|
+
import { BRIX_SORBET_DENSITY_CALCULATOR_TOOL } from './tool/brix-sorbet-density-calculator';
|
|
25
|
+
import { OIL_SMOKE_POINT_TRACKER_TOOL } from './tool/oil-smoke-point-tracker';
|
|
26
|
+
import { LEAVENER_ACID_NEUTRALIZER_TOOL } from './tool/leavener-acid-neutralizer';
|
|
24
27
|
|
|
25
28
|
export const ALL_TOOLS: ToolDefinition[] = [
|
|
26
29
|
AMERICAN_KITCHEN_CONVERTER_TOOL,
|
|
@@ -44,5 +47,8 @@ export const ALL_TOOLS: ToolDefinition[] = [
|
|
|
44
47
|
CARRY_OVER_COOKING_TOOL,
|
|
45
48
|
MAILLARD_REACTION_TOOL,
|
|
46
49
|
MACARON_DRYING_TOOL,
|
|
50
|
+
BRIX_SORBET_DENSITY_CALCULATOR_TOOL,
|
|
51
|
+
OIL_SMOKE_POINT_TRACKER_TOOL,
|
|
52
|
+
LEAVENER_ACID_NEUTRALIZER_TOOL,
|
|
47
53
|
];
|
|
48
54
|
|