Add a Decorated class, which will be offline decorated Metadata (#1463)

* Move Metadata to api-metadata

* Make tests in api-metadata pass

* Make tests in api-metadata pass

* Refactor fromMetadata into decorated

* Fix some linting

* Replace headers

* Fix all tests

* Small lint

* Fix tests

* Fix metadata docs scripts

* Fix import ordering

* Add line breaks

* Grumbles

* Fix forgotten import

* rpcMetadata everywhere

* Fixlint

* s/api-metadata/metadata

* Fix latest tests

* Fix lint

* Fix tests
This commit is contained in:
Amaury Martiny
2019-11-12 12:06:18 +01:00
committed by Jaco Greeff
parent c87ba33893
commit 16e0ea9315
152 changed files with 510 additions and 413 deletions
+2 -2
View File
@@ -14,8 +14,8 @@
"@polkadot/api-contract/*": ["packages/api-contract/src/*"],
"@polkadot/api-derive": ["packages/api-derive/src"],
"@polkadot/api-derive/*": ["packages/api-derive/src/*"],
"@polkadot/api-metadata": ["packages/api-metadata/src"],
"@polkadot/api-metadata/*": ["packages/api-metadata/src/*"],
"@polkadot/metadata": ["packages/metadata/src"],
"@polkadot/metadata/*": ["packages/metadata/src/*"],
"@polkadot/rpc-core": ["packages/rpc-core/src"],
"@polkadot/rpc-core/*": ["packages/rpc-core/src/*"],
"@polkadot/rpc-provider": ["packages/rpc-provider/src"],