From 01a1e689e2f7d6877ddd453e4a21169242d3e81c Mon Sep 17 00:00:00 2001 From: MS Date: Tue, 17 Jan 2023 18:40:15 +0100 Subject: remove unused config --- sandcastle/config/deployment.ts | 63 ----------------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 sandcastle/config/deployment.ts diff --git a/sandcastle/config/deployment.ts b/sandcastle/config/deployment.ts deleted file mode 100644 index 6805171..0000000 --- a/sandcastle/config/deployment.ts +++ /dev/null @@ -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; -} -- cgit v1.2.3