Files
GeyserWebsite/src/types/providers.ts
T

20 lines
529 B
TypeScript
Raw Normal View History

2023-11-07 21:13:48 -06:00
export type HostingProvider = {
2024-01-25 22:38:57 -08:00
name: string;
url: string;
description?: string;
description_template?: "default" | "ip_and_port" | "forwarding_option" | "java_ip";
2023-11-07 21:13:48 -06:00
}
export type ProviderType = "built_in" | "support" | "no_support";
export type Providers = {
2024-01-25 22:38:57 -08:00
description_templates: {
default: string;
ip_and_port: string;
forwarding_option: string;
java_ip: string;
},
built_in: HostingProvider[];
support: HostingProvider[];
no_support: HostingProvider[];
2023-11-07 21:13:48 -06:00
}