Add vendor snapshots

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-09-01 10:24:17 +02:00
parent d7ffed9d7f
commit 078102db74
32 changed files with 1381 additions and 426 deletions

View File

@@ -1,6 +1,7 @@
type Translator = (s: string) => string;
export const snapshotTypes = [
"VENDORS",
"ASSETS",
"DATA",
"NONCONFORMITY_REGISTRIES",
@@ -38,6 +39,8 @@ export function getSnapshotTypeLabel(__: Translator, type: string | null | undef
export function getSnapshotTypeUrlPath(type?: string): string {
switch (type) {
case "VENDORS":
return "/vendors";
case "ASSETS":
return "/assets";
case "DATA":