17 lines
318 B
TypeScript
17 lines
318 B
TypeScript
|
type Software = {
|
||
|
aliases: string[],
|
||
|
groups: string[],
|
||
|
forkOf?: string,
|
||
|
}
|
||
|
|
||
|
type Group = {
|
||
|
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;
|