From cfe9d18881b71f57a1a47bec5ec3c4a7e54fbc65 Mon Sep 17 00:00:00 2001 From: Stefanie Doll Date: Tue, 23 Apr 2019 15:44:04 +0200 Subject: [PATCH] Type definitions formatting fix (#851) * attempt to fix vuepress falsy markdown interpretation * Linebreak fix * Roll-back yarn.lock --- packages/types/README.md | 18 +++++++++--------- yarn.lock | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/types/README.md b/packages/types/README.md index 1846431418..a3365f02eb 100644 --- a/packages/types/README.md +++ b/packages/types/README.md @@ -1,6 +1,6 @@ # @polkadot/types -Implementation of the types and their (de-)serialisation via SCALE codec.\ +Implementation of the types and their (de-)serialisation via SCALE codec.
On the Rust side, the codec types and primitive types are implemented via the [parity-codec](https://github.com/paritytech/parity-codec). @@ -8,8 +8,8 @@ On the Rust side, the codec types and primitive types are implemented via the [p These are the base types of the codec. They are typically not used directly, but rather inherited from to create specific types. They are the building blocks for declaring custom types: -| | | | -|-|-|-| +| Type | Description | +| - | - | | [[AbstractArray]] | Manages codec arrays. It is an extension to Array | | [[Base]] | A type extends the Base class, when it holds a value | | [[Compact]] | A compact length-encoding codec wrapper. Mostly used by other types to add length-prefixed encoding | @@ -31,8 +31,8 @@ These are the base types of the codec. They are typically not used directly, but These primitive types are available: -| | | | -|-|-|-| +| Type | Description | +|-|-| | [[Bool]] | Representation for a boolean value in the system | | [[Bytes]] | A Bytes wrapper for `Vec` | | [[Data]] | A raw data structure. It is an encoding of a U8a without any length encoding | @@ -65,8 +65,8 @@ These primitive types are available: These custom types implement specific types that are found as part of the Substrate core. They're all extensions of one of the codec types: -| | | | -|-|-|-| +| Type | Description | +|-|-| | [[AccountId]] | A wrapper around an AccountId/PublicKey representation | | [[AccountIndex]] | A wrapper around an AccountIndex, which is a shortened, variable-length encoding for an Account | | [[AccountInfo]] | An Account information structure for contracts | @@ -147,8 +147,8 @@ These custom types implement specific types that are found as part of the Substr These types are not used in the runtime, but are rather used in RPC results: -| | | | -|-|-|-| +| Type | Description | +|-|-| | [[ChainProperties]] | Wraps the properties retrieved from the chain via the `system.properties` RPC call | | [[ExtrinsicStatus]] | An EnumType that indicates the status of the Extrinsic as been submitted | | [[Health]] | A system health indicator, reported back over RPC | diff --git a/yarn.lock b/yarn.lock index 05d2fb6410..26f42f85b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12725,4 +12725,4 @@ yargs@^12.0.1, yargs@^12.0.2: zepto@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/zepto/-/zepto-1.2.0.tgz#e127bd9e66fd846be5eab48c1394882f7c0e4f98" - integrity sha1-4Se9nmb9hGvl6rSME5SIL3wOT5g= + integrity sha1-4Se9nmb9hGvl6rSME5SIL3wOT5g= \ No newline at end of file