Allow proper translation of providers
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
8 files changed
+655
-467
No files matched your search
@@ -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[];
|
||||
|
||||
Reference in new issue
Block a user