ghost-portal/packages
Stefanie Doll 7d451c6f88 Add endpoint fallbacks option and handling of consts to ui-api (#1416)
* Add `fallback` option to ui-api to pass more than one endpoint for backwards compatibility

* set correct endpoint

* remove console.logs

* linting issues

* const -> consts typo

* changed query example to blockPeriod

* turn `fallback`: string[] | string into fallbacks array

* turn while loop into map

* less params & removed let

* Adjust withCall typing, don't allow voting in treasury
2019-07-18 15:11:57 +02:00
..
app-123code [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-accounts [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-address-book [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-contracts Add endpoint fallbacks option and handling of consts to ui-api (#1416) 2019-07-18 15:11:57 +02:00
app-council [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-dashboard [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-democracy Add endpoint fallbacks option and handling of consts to ui-api (#1416) 2019-07-18 15:11:57 +02:00
app-explorer [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-extrinsics [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-js Add endpoint fallbacks option and handling of consts to ui-api (#1416) 2019-07-18 15:11:57 +02:00
app-parachains [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-settings [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-staking [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-storage [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-sudo [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-toolbox [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-transfer [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
app-treasury Add endpoint fallbacks option and handling of consts to ui-api (#1416) 2019-07-18 15:11:57 +02:00
apps [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
apps-routing [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
ui-api Add endpoint fallbacks option and handling of consts to ui-api (#1416) 2019-07-18 15:11:57 +02:00
ui-app [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
ui-params [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
ui-reactive [CI Skip] 0.34.0-beta.72 2019-07-18 08:29:25 +00:00
ui-signer Add endpoint fallbacks option and handling of consts to ui-api (#1416) 2019-07-18 15:11:57 +02:00