@jjlmoya/utils-cooking 1.35.0 → 1.37.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/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/macaron-drying-predictor/bibliography.astro +6 -0
- package/src/tool/macaron-drying-predictor/bibliography.ts +14 -0
- package/src/tool/macaron-drying-predictor/component.astro +319 -0
- package/src/tool/macaron-drying-predictor/entry.ts +26 -0
- package/src/tool/macaron-drying-predictor/i18n/de.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/en.ts +247 -0
- package/src/tool/macaron-drying-predictor/i18n/es.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/fr.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/id.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/it.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/ja.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/ko.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/nl.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/pl.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/pt.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/ru.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/sv.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/tr.ts +245 -0
- package/src/tool/macaron-drying-predictor/i18n/zh.ts +245 -0
- package/src/tool/macaron-drying-predictor/index.ts +11 -0
- package/src/tool/macaron-drying-predictor/logic.ts +58 -0
- package/src/tool/macaron-drying-predictor/macaron-drying-predictor.css +551 -0
- package/src/tool/macaron-drying-predictor/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
|
@@ -20,6 +20,9 @@ import { BOTULISM_CANNING_SAFETY_TOOL } from './tool/botulism-canning-safety';
|
|
|
20
20
|
import { MEAT_BINDER_TRANSGLUTAMINASE_TOOL } from './tool/meat-binder-transglutaminase-calculator';
|
|
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
|
+
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';
|
|
23
26
|
|
|
24
27
|
export const ALL_TOOLS: ToolDefinition[] = [
|
|
25
28
|
AMERICAN_KITCHEN_CONVERTER_TOOL,
|
|
@@ -42,5 +45,8 @@ export const ALL_TOOLS: ToolDefinition[] = [
|
|
|
42
45
|
MEAT_BINDER_TRANSGLUTAMINASE_TOOL,
|
|
43
46
|
CARRY_OVER_COOKING_TOOL,
|
|
44
47
|
MAILLARD_REACTION_TOOL,
|
|
48
|
+
MACARON_DRYING_TOOL,
|
|
49
|
+
BRIX_SORBET_DENSITY_CALCULATOR_TOOL,
|
|
50
|
+
OIL_SMOKE_POINT_TRACKER_TOOL,
|
|
45
51
|
];
|
|
46
52
|
|