Allow proper translation of providers

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle committed 2024-03-03 17:09:29 -08:00
1 parent 201c034da3
commit f0bbb44555
8 files changed
+655 -467

No files matched your search

+3 -8
View File
@@ -1,19 +1,14 @@
import React from "react";
export type HostingProvider = {
name: string;
url: string;
description?: string;
description_template?: "default" | "ip_and_port" | "forwarding_option" | "java_ip";
description: React.ReactNode;
}
export type ProviderType = "built_in" | "support" | "no_support";
export type Providers = {
description_templates: {
default: string;
ip_and_port: string;
forwarding_option: string;
java_ip: string;
},
built_in: HostingProvider[];
support: HostingProvider[];
no_support: HostingProvider[];