FeDirect/static/known_software.mts

19 lines
354 B
TypeScript
Raw Normal View History

2025-01-12 04:47:05 +01:00
type Software = {
2025-01-12 06:39:38 +01:00
name: string,
2025-01-12 04:47:05 +01:00
aliases: string[],
groups: string[],
forkOf?: string,
}
type Group = {
2025-01-12 06:39:38 +01:00
name: string,
2025-01-12 04:47:05 +01:00
aliases: string[],
}
type KnownSoftware = {
software: Record<string, Software>,
groups: Record<string, Group>,
}
export default await fetch("/known-software.json").then(r => r.json()) as KnownSoftware;