Reorganize repo structure and standards references

This commit is contained in:
david committed 2026-06-29 05:03:42 +02:00
1 parent 3cb93a81be
commit be2054274d
5885 files changed
+2588 -195

No files matched your search

@@ -0,0 +1,27 @@
export type SeparatorFormatType = "Enter" | "Tab" | "," | ";" | " " | ".";
export const SeparatorFormats: { name: string; value: SeparatorFormatType; labelKey: string }[] = [
{ name: "Enter", value: "Enter", labelKey: "formats.separator.enter" },
{ name: "Tab", value: "Tab", labelKey: "formats.separator.tab" },
{ name: "Comma", value: ",", labelKey: "formats.separator.comma" },
{ name: "Semicolon", value: ";", labelKey: "formats.separator.semicolon" },
{ name: "Space", value: " ", labelKey: "formats.separator.space" },
{ name: "Dot", value: ".", labelKey: "formats.separator.dot" },
];
export function getSeparator(separator: string | undefined): SeparatorFormatType {
switch (separator) {
case "Enter":
return "Enter";
case "Tab":
return "Tab";
case ",":
return ",";
case ";":
return ";";
case " ":
return " ";
case ".":
return ".";
default:
return "Enter";
}
}