@jjlmoya/utils-health 1.6.0 → 1.9.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/index.ts +1 -1
- package/src/pages/[locale]/[slug].astro +3 -4
- package/src/tool/binauralTuner/index.ts +3 -7
- package/src/tool/bloodUnitConverter/index.ts +3 -7
- package/src/tool/bmiCalculator/index.ts +3 -7
- package/src/tool/breathingVisualizer/index.ts +3 -7
- package/src/tool/caffeineTracker/index.ts +3 -7
- package/src/tool/daltonismSimulator/index.ts +3 -7
- package/src/tool/digestionStopwatch/index.ts +3 -7
- package/src/tool/epworthSleepinessScale/index.ts +3 -7
- package/src/tool/hydrationCalculator/index.ts +3 -7
- package/src/tool/pelliRobsonTest/index.ts +3 -7
- package/src/tool/peripheralVisionTrainer/index.ts +3 -7
- package/src/tool/readingDistanceCalculator/index.ts +3 -11
- package/src/tool/screenDecompressionTime/index.ts +3 -7
- package/src/tool/tinnitusReliever/index.ts +3 -7
- package/src/tool/ubeCalculator/index.ts +3 -7
- package/src/tool/waterPurifier/index.ts +3 -7
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -16,7 +16,7 @@ export * from './tool/readingDistanceCalculator';
|
|
|
16
16
|
export * from './tool/hydrationCalculator';
|
|
17
17
|
|
|
18
18
|
export { healthCategory } from './category';
|
|
19
|
-
export
|
|
19
|
+
export const healthCategorySEO = () => import('./category/seo.astro').then((m) => m.default);
|
|
20
20
|
|
|
21
21
|
export type {
|
|
22
22
|
KnownLocale,
|
|
@@ -14,7 +14,8 @@ import type { UtilitySEOContent } from "@jjlmoya/utils-shared";
|
|
|
14
14
|
export async function getStaticPaths() {
|
|
15
15
|
const paths = [];
|
|
16
16
|
|
|
17
|
-
for (const { entry, Component } of ALL_TOOLS) {
|
|
17
|
+
for (const { entry, Component: lazyComp } of ALL_TOOLS) {
|
|
18
|
+
const { default: Component } = await lazyComp();
|
|
18
19
|
const localeEntries = Object.entries(entry.i18n) as [
|
|
19
20
|
KnownLocale,
|
|
20
21
|
() => Promise<ToolLocaleContent>,
|
|
@@ -52,8 +53,6 @@ export async function getStaticPaths() {
|
|
|
52
53
|
return paths;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
type ToolComponent = (props: { ui: Record<string, string> }) => unknown;
|
|
56
|
-
|
|
57
56
|
interface NavItem {
|
|
58
57
|
id: string;
|
|
59
58
|
title: string;
|
|
@@ -62,7 +61,7 @@ interface NavItem {
|
|
|
62
61
|
}
|
|
63
62
|
|
|
64
63
|
interface Props {
|
|
65
|
-
Component:
|
|
64
|
+
Component: unknown;
|
|
66
65
|
locale: KnownLocale;
|
|
67
66
|
content: ToolLocaleContent;
|
|
68
67
|
localeUrls: Partial<Record<KnownLocale, string>>;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import BinauralTunerComponent from './component.astro';
|
|
3
|
-
import BinauralTunerSEO from './seo.astro';
|
|
4
|
-
import BinauralTunerBibliography from './bibliography.astro';
|
|
5
2
|
import type { BinauralTunerUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const binauralTuner: HealthToolEntry<BinauralTunerUI> = {
|
|
@@ -29,11 +26,10 @@ export const binauralTuner: HealthToolEntry<BinauralTunerUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { BinauralTunerComponent, BinauralTunerSEO, BinauralTunerBibliography };
|
|
33
29
|
|
|
34
30
|
export const BINAURAL_TUNER_TOOL: ToolDefinition = {
|
|
35
31
|
entry: binauralTuner,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import BloodUnitConverterComponent from './component.astro';
|
|
3
|
-
import BloodUnitConverterSEO from './seo.astro';
|
|
4
|
-
import BloodUnitConverterBibliography from './bibliography.astro';
|
|
5
2
|
import type { BloodUnitConverterUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const bloodUnitConverter: HealthToolEntry<BloodUnitConverterUI> = {
|
|
@@ -29,11 +26,10 @@ export const bloodUnitConverter: HealthToolEntry<BloodUnitConverterUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { BloodUnitConverterComponent, BloodUnitConverterSEO, BloodUnitConverterBibliography };
|
|
33
29
|
|
|
34
30
|
export const BLOOD_UNIT_CONVERTER_TOOL: ToolDefinition = {
|
|
35
31
|
entry: bloodUnitConverter,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import BMICalculatorComponent from './component.astro';
|
|
3
|
-
import BMICalculatorSEO from './seo.astro';
|
|
4
|
-
import BMICalculatorBibliography from './bibliography.astro';
|
|
5
2
|
import type { BMICalculatorUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const bmiCalculator: HealthToolEntry<BMICalculatorUI> = {
|
|
@@ -29,11 +26,10 @@ export const bmiCalculator: HealthToolEntry<BMICalculatorUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { BMICalculatorComponent, BMICalculatorSEO, BMICalculatorBibliography };
|
|
33
29
|
|
|
34
30
|
export const BMI_CALCULATOR_TOOL: ToolDefinition = {
|
|
35
31
|
entry: bmiCalculator,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import BreathingVisualizerComponent from './component.astro';
|
|
3
|
-
import BreathingVisualizerSEO from './seo.astro';
|
|
4
|
-
import BreathingVisualizerBibliography from './bibliography.astro';
|
|
5
2
|
import type { BreathingVisualizerUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const breathingVisualizer: HealthToolEntry<BreathingVisualizerUI> = {
|
|
@@ -29,11 +26,10 @@ export const breathingVisualizer: HealthToolEntry<BreathingVisualizerUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { BreathingVisualizerComponent, BreathingVisualizerSEO, BreathingVisualizerBibliography };
|
|
33
29
|
|
|
34
30
|
export const BREATHING_VISUALIZER_TOOL: ToolDefinition = {
|
|
35
31
|
entry: breathingVisualizer,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import CaffeineTrackerComponent from './component.astro';
|
|
3
|
-
import CaffeineTrackerSEO from './seo.astro';
|
|
4
|
-
import CaffeineTrackerBibliography from './bibliography.astro';
|
|
5
2
|
import type { CaffeineTrackerUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const caffeineTracker: HealthToolEntry<CaffeineTrackerUI> = {
|
|
@@ -29,11 +26,10 @@ export const caffeineTracker: HealthToolEntry<CaffeineTrackerUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { CaffeineTrackerComponent, CaffeineTrackerSEO, CaffeineTrackerBibliography };
|
|
33
29
|
|
|
34
30
|
export const CAFFEINE_TRACKER_TOOL: ToolDefinition = {
|
|
35
31
|
entry: caffeineTracker,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import DaltonismSimulatorComponent from './component.astro';
|
|
3
|
-
import DaltonismSimulatorSEO from './seo.astro';
|
|
4
|
-
import DaltonismSimulatorBibliography from './bibliography.astro';
|
|
5
2
|
import type { DaltonismSimulatorUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const daltonismSimulator: HealthToolEntry<DaltonismSimulatorUI> = {
|
|
@@ -29,11 +26,10 @@ export const daltonismSimulator: HealthToolEntry<DaltonismSimulatorUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { DaltonismSimulatorComponent, DaltonismSimulatorSEO, DaltonismSimulatorBibliography };
|
|
33
29
|
|
|
34
30
|
export const DALTONISM_SIMULATOR_TOOL: ToolDefinition = {
|
|
35
31
|
entry: daltonismSimulator,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import DigestionStopwatchComponent from './component.astro';
|
|
3
|
-
import DigestionStopwatchSEO from './seo.astro';
|
|
4
|
-
import DigestionStopwatchBibliography from './bibliography.astro';
|
|
5
2
|
import type { DigestionStopwatchUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const digestionStopwatch: HealthToolEntry<DigestionStopwatchUI> = {
|
|
@@ -29,11 +26,10 @@ export const digestionStopwatch: HealthToolEntry<DigestionStopwatchUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { DigestionStopwatchComponent, DigestionStopwatchSEO, DigestionStopwatchBibliography };
|
|
33
29
|
|
|
34
30
|
export const DIGESTION_STOPWATCH_TOOL: ToolDefinition = {
|
|
35
31
|
entry: digestionStopwatch,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import EpworthSleepinessScaleComponent from './component.astro';
|
|
3
|
-
import EpworthSleepinessScaleSEO from './seo.astro';
|
|
4
|
-
import EpworthSleepinessScaleBibliography from './bibliography.astro';
|
|
5
2
|
import type { EpworthSleepinessScaleUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const epworthSleepinessScale: HealthToolEntry<EpworthSleepinessScaleUI> = {
|
|
@@ -29,11 +26,10 @@ export const epworthSleepinessScale: HealthToolEntry<EpworthSleepinessScaleUI> =
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { EpworthSleepinessScaleComponent, EpworthSleepinessScaleSEO, EpworthSleepinessScaleBibliography };
|
|
33
29
|
|
|
34
30
|
export const EPWORTH_SLEEPINESS_SCALE_TOOL: ToolDefinition = {
|
|
35
31
|
entry: epworthSleepinessScale,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import HydrationCalculatorComponent from './component.astro';
|
|
3
|
-
import HydrationCalculatorSEO from './seo.astro';
|
|
4
|
-
import HydrationCalculatorBibliography from './bibliography.astro';
|
|
5
2
|
import type { HydrationCalculatorUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const hydrationCalculator: HealthToolEntry<HydrationCalculatorUI> = {
|
|
@@ -29,11 +26,10 @@ export const hydrationCalculator: HealthToolEntry<HydrationCalculatorUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { HydrationCalculatorComponent, HydrationCalculatorSEO, HydrationCalculatorBibliography };
|
|
33
29
|
|
|
34
30
|
export const HYDRATION_CALCULATOR_TOOL: ToolDefinition = {
|
|
35
31
|
entry: hydrationCalculator,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import PelliRobsonTestComponent from './component.astro';
|
|
3
|
-
import PelliRobsonTestSEO from './seo.astro';
|
|
4
|
-
import PelliRobsonTestBibliography from './bibliography.astro';
|
|
5
2
|
import type { PelliRobsonTestUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const pelliRobsonTest: HealthToolEntry<PelliRobsonTestUI> = {
|
|
@@ -29,11 +26,10 @@ export const pelliRobsonTest: HealthToolEntry<PelliRobsonTestUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { PelliRobsonTestComponent, PelliRobsonTestSEO, PelliRobsonTestBibliography };
|
|
33
29
|
|
|
34
30
|
export const PELLI_ROBSON_TEST_TOOL: ToolDefinition = {
|
|
35
31
|
entry: pelliRobsonTest,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import PeripheralVisionTrainerComponent from './component.astro';
|
|
3
|
-
import PeripheralVisionTrainerSEO from './seo.astro';
|
|
4
|
-
import PeripheralVisionTrainerBibliography from './bibliography.astro';
|
|
5
2
|
import type { PeripheralVisionTrainerUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const peripheralVisionTrainer: HealthToolEntry<PeripheralVisionTrainerUI> = {
|
|
@@ -29,11 +26,10 @@ export const peripheralVisionTrainer: HealthToolEntry<PeripheralVisionTrainerUI>
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { PeripheralVisionTrainerComponent, PeripheralVisionTrainerSEO, PeripheralVisionTrainerBibliography };
|
|
33
29
|
|
|
34
30
|
export const PERIPHERAL_VISION_TRAINER_TOOL: ToolDefinition = {
|
|
35
31
|
entry: peripheralVisionTrainer,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import ReadingDistanceCalculatorComponent from './component.astro';
|
|
3
|
-
import ReadingDistanceCalculatorSEO from './seo.astro';
|
|
4
|
-
import ReadingDistanceCalculatorBibliography from './bibliography.astro';
|
|
5
2
|
import type { ReadingDistanceCalculatorUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const readingDistanceCalculator: HealthToolEntry<ReadingDistanceCalculatorUI> = {
|
|
@@ -29,15 +26,10 @@ export const readingDistanceCalculator: HealthToolEntry<ReadingDistanceCalculato
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export {
|
|
33
|
-
ReadingDistanceCalculatorComponent,
|
|
34
|
-
ReadingDistanceCalculatorSEO,
|
|
35
|
-
ReadingDistanceCalculatorBibliography,
|
|
36
|
-
};
|
|
37
29
|
|
|
38
30
|
export const READING_DISTANCE_CALCULATOR_TOOL: ToolDefinition = {
|
|
39
31
|
entry: readingDistanceCalculator,
|
|
40
|
-
Component:
|
|
41
|
-
SEOComponent:
|
|
42
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
43
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import ScreenDecompressionTimeComponent from './component.astro';
|
|
3
|
-
import ScreenDecompressionTimeSEO from './seo.astro';
|
|
4
|
-
import ScreenDecompressionTimeBibliography from './bibliography.astro';
|
|
5
2
|
import type { ScreenDecompressionTimeUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const screenDecompressionTime: HealthToolEntry<ScreenDecompressionTimeUI> = {
|
|
@@ -29,11 +26,10 @@ export const screenDecompressionTime: HealthToolEntry<ScreenDecompressionTimeUI>
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { ScreenDecompressionTimeComponent, ScreenDecompressionTimeSEO, ScreenDecompressionTimeBibliography };
|
|
33
29
|
|
|
34
30
|
export const SCREEN_DECOMPRESSION_TIME_TOOL: ToolDefinition = {
|
|
35
31
|
entry: screenDecompressionTime,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import TinnitusRelieverComponent from './component.astro';
|
|
3
|
-
import TinnitusRelieverSEO from './seo.astro';
|
|
4
|
-
import TinnitusRelieverBibliography from './bibliography.astro';
|
|
5
2
|
import type { TinnitusRelieverUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const tinnitusReliever: HealthToolEntry<TinnitusRelieverUI> = {
|
|
@@ -29,11 +26,10 @@ export const tinnitusReliever: HealthToolEntry<TinnitusRelieverUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { TinnitusRelieverComponent, TinnitusRelieverSEO, TinnitusRelieverBibliography };
|
|
33
29
|
|
|
34
30
|
export const TINNITUS_RELIEVER_TOOL: ToolDefinition = {
|
|
35
31
|
entry: tinnitusReliever,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import UbeCalculatorComponent from './component.astro';
|
|
3
|
-
import UbeCalculatorSEO from './seo.astro';
|
|
4
|
-
import UbeCalculatorBibliography from './bibliography.astro';
|
|
5
2
|
import type { UbeCalculatorUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const ubeCalculator: HealthToolEntry<UbeCalculatorUI> = {
|
|
@@ -29,11 +26,10 @@ export const ubeCalculator: HealthToolEntry<UbeCalculatorUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { UbeCalculatorComponent, UbeCalculatorSEO, UbeCalculatorBibliography };
|
|
33
29
|
|
|
34
30
|
export const UBE_CALCULATOR_TOOL: ToolDefinition = {
|
|
35
31
|
entry: ubeCalculator,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import type { HealthToolEntry, ToolDefinition } from '../../types';
|
|
2
|
-
import WaterPurifierComponent from './component.astro';
|
|
3
|
-
import WaterPurifierSEO from './seo.astro';
|
|
4
|
-
import WaterPurifierBibliography from './bibliography.astro';
|
|
5
2
|
import type { WaterPurifierUI } from './ui';
|
|
6
3
|
|
|
7
4
|
export const waterPurifier: HealthToolEntry<WaterPurifierUI> = {
|
|
@@ -29,11 +26,10 @@ export const waterPurifier: HealthToolEntry<WaterPurifierUI> = {
|
|
|
29
26
|
},
|
|
30
27
|
};
|
|
31
28
|
|
|
32
|
-
export { WaterPurifierComponent, WaterPurifierSEO, WaterPurifierBibliography };
|
|
33
29
|
|
|
34
30
|
export const WATER_PURIFIER_TOOL: ToolDefinition = {
|
|
35
31
|
entry: waterPurifier,
|
|
36
|
-
Component:
|
|
37
|
-
SEOComponent:
|
|
38
|
-
BibliographyComponent:
|
|
32
|
+
Component: () => import('./component.astro'),
|
|
33
|
+
SEOComponent: () => import('./seo.astro'),
|
|
34
|
+
BibliographyComponent: () => import('./bibliography.astro'),
|
|
39
35
|
};
|