diff options
author | MS <ms@taler.net> | 2023-01-17 18:40:15 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2023-01-17 18:40:15 +0100 |
commit | 01a1e689e2f7d6877ddd453e4a21169242d3e81c (patch) | |
tree | fa255de76e6c5378cfe97f6402f5d8ea6cce26fe | |
parent | 15cbdf8cd7a73ff1f74afa74703805568e5bbc2e (diff) | |
download | deployment-01a1e689e2f7d6877ddd453e4a21169242d3e81c.tar.gz deployment-01a1e689e2f7d6877ddd453e4a21169242d3e81c.tar.bz2 deployment-01a1e689e2f7d6877ddd453e4a21169242d3e81c.zip |
remove unused config
-rw-r--r-- | sandcastle/config/deployment.ts | 63 |
1 files changed, 0 insertions, 63 deletions
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; -} |