Modify tech full names

This commit is contained in:
2026-07-16 17:25:09 +02:00
parent 7957831878
commit 561cc9e0bc
2 changed files with 7 additions and 9 deletions

View File

@@ -7,10 +7,8 @@ import { getParamsFromFolders } from "../src/service/ImageRepository.js";
* Show all possible parameters for manifest URLs * Show all possible parameters for manifest URLs
*/ */
export default async function exposeParams() { export default async function exposeParams() {
console.log(process.env.IMAGES_DIR);
const techs = Object.entries(TECH_NAMES).map(([key, fullname]) => ({ const techs = Object.entries(TECH_NAMES).map(([key, fullname]) => ({
acronym: key.toUpperCase(), acronym: key.toUpperCase().replaceAll('_', ' '),
fullname, fullname,
})); }));

View File

@@ -9,14 +9,14 @@ export const authors = {
export const TECH_NAMES = { export const TECH_NAMES = {
dn: "Neapolitan drawing", dn: "Neapolitan drawing",
do: "Oxonian drawing", do: "Oxonian drawing",
nir: "NIR 1000 nm", nir: "NIR Image 1000 nm",
visr: "Raking-light VIS", visr: "Raking-light VIS Image",
hsi: "SWIR Hyperspectral Imaging", hsi: "SWIR Hyperspectral Image",
uvf: "Technical Photography UVF", uvf: "Technical Photography UVF",
mbi: "Multispectral Imaging", mbi: "Multispectral Imaging",
hiroxnir: "HIROX NIR", hiroxnir: "HIROX NIR Image 930nm",
hiroxnir_layers_replaced: "HIROX NIR layers replaced", hiroxnir_layers_replaced: "HIROX NIR Image 930nm with layers replaced",
splitview: "Split view VISr/NIR", splitview: "Split view Raking-light VIS Image/NIR Image 1000nm",
}; };
export const COPYRIGHT = { export const COPYRIGHT = {