commit 01a1e689e2f7d6877ddd453e4a21169242d3e81c parent 15cbdf8cd7a73ff1f74afa74703805568e5bbc2e Author: MS <ms@taler.net> Date: Tue, 17 Jan 2023 18:40:15 +0100 remove unused config Diffstat:
| D | sandcastle/config/deployment.ts | | | 63 | --------------------------------------------------------------- |
1 file changed, 0 insertions(+), 63 deletions(-)
diff --git a/sandcastle/config/deployment.ts b/sandcastle/config/deployment.ts @@ -1,63 +0,0 @@ -/** - * Not belonging here: ports to expose when - * starting the services and Git tags. - */ - -interface BankAccount { - username: string; - password: string; -} - -interface NexusAccount { - username: string; - password: string; -} - -class ApiKey { - apikey: string; - constructor(apikey: string) { - if (!apikey.startsWith("secret-token:")) { - throw Error("Given API key lacks leading 'secret-token:' part.") - } - this.apikey = apikey; - } -} - -interface TalerConfigUrls { - merchantUrl: URL; - landingUrl: URL; - blogUrl: URL; - donationsUrl: URL; - surveyUrl: URL; - syncUrl: URL; - // was bank-url in INI config: - bankWebUiUrl: URL; - // Used to point the Web UI. - bankSandboxUrl: URL; - // was default-exchange in INI config: - exchangeUrl: URL; -} - -interface TalerConfigSecrets { - merchantApiKey: ApiKey; - dbPassword: string; -} - -interface TalerConfigBankAccounts { - exchange: BankAccount; - blog: BankAccount; - pos: BankAccount; - gnunet: BankAccount; - taler: BankAccount; - tor: BankAccount; - survey: BankAccount; - defaultMerchantInstance: BankAccount; -} - -interface TalerConfig { - currency: string; - urls: TalerConfigUrls; - secrets: TalerConfigSecrets; - bankAccounts: TalerConfigBankAccounts; - exchangeNexusAccount: NexusAccount; -}