[CI Skip] 0.31.11
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
|
||||
[](https://polkadot.js.org)  [](https://github.com/Flet/semistandard) [](https://www.npmjs.com/package/@polkadot/storage) [](https://travis-ci.org/polkadot-js/api) [](https://codeclimate.com/github/polkadot-js/api/maintainability) [](https://coveralls.io/github/polkadot-js/api?branch=master) [](https://david-dm.org/polkadot-js/api?path=packages/type-storage) [](https://david-dm.org/polkadot-js/api?path=packages/type-storage#info=devDependencies)
|
||||
|
||||
@polkadot/storage
|
||||
=================
|
||||
|
||||
|
||||
@@ -3,8 +3,5 @@
|
||||
* ["static"](modules/_static_.md)
|
||||
* ["storage"](modules/_storage_.md)
|
||||
* ["substrate"](modules/_substrate_.md)
|
||||
* ["types.d"](modules/_types_d_.md)
|
||||
* [ModuleStorage](interfaces/_types_d_.modulestorage.md)
|
||||
* [Storage](interfaces/_types_d_.storage.md)
|
||||
* ["utils/createFunction"](modules/_utils_createfunction_.md)
|
||||
* [CreateItemOptions](interfaces/_utils_createfunction_.createitemoptions.md)
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
|
||||
|
||||
# Hierarchy
|
||||
|
||||
**ModuleStorage**
|
||||
|
||||
# Indexable
|
||||
|
||||
\[key: `string`\]: `StorageFunction`
|
||||
@@ -1,23 +0,0 @@
|
||||
|
||||
|
||||
# Hierarchy
|
||||
|
||||
**Storage**
|
||||
|
||||
# Indexable
|
||||
|
||||
\[key: `string`\]: [ModuleStorage](_types_d_.modulestorage.md)
|
||||
# Properties
|
||||
|
||||
<a id="substrate"></a>
|
||||
|
||||
## substrate
|
||||
|
||||
**● substrate**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:18](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/types.d.ts#L18)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
___
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
**● isUnhashed**: * `undefined` | `false` | `true`
|
||||
*
|
||||
|
||||
*Defined in [utils/createFunction.ts:16](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/utils/createFunction.ts#L16)*
|
||||
*Defined in [utils/createFunction.ts:16](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/utils/createFunction.ts#L16)*
|
||||
|
||||
___
|
||||
<a id="method"></a>
|
||||
@@ -23,7 +23,7 @@ ___
|
||||
**● method**: * `undefined` | `string`
|
||||
*
|
||||
|
||||
*Defined in [utils/createFunction.ts:17](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/utils/createFunction.ts#L17)*
|
||||
*Defined in [utils/createFunction.ts:17](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/utils/createFunction.ts#L17)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
## fromMetadata
|
||||
|
||||
▸ **fromMetadata**(metadata: *`Metadata`*): [Storage](../interfaces/_types_d_.storage.md)
|
||||
▸ **fromMetadata**(metadata: *`Metadata`*): `Storage`
|
||||
|
||||
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/fromMetadata.ts#L20)*
|
||||
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/fromMetadata.ts#L20)*
|
||||
|
||||
Extend a storage object with the storage modules & module functions present in the metadata.
|
||||
|
||||
@@ -18,7 +18,7 @@ Extend a storage object with the storage modules & module functions present in t
|
||||
| ------ | ------ | ------ |
|
||||
| metadata | `Metadata` | The metadata to extend the storage object against. |
|
||||
|
||||
**Returns:** [Storage](../interfaces/_types_d_.storage.md)
|
||||
**Returns:** `Storage`
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**storage**: *`object`*
|
||||
|
||||
*Defined in [storage.ts:8](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/storage.ts#L8)*
|
||||
*Defined in [storage.ts:8](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/storage.ts#L8)*
|
||||
|
||||
<a id="storage.substrate"></a>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
**● substrate**: *["substrate"](_substrate_.md)*
|
||||
|
||||
*Defined in [storage.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/storage.ts#L9)*
|
||||
*Defined in [storage.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/storage.ts#L9)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
type: 'u32'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/substrate.ts#L44)*
|
||||
*Defined in [substrate.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/substrate.ts#L44)*
|
||||
|
||||
___
|
||||
<a id="authorityprefix"></a>
|
||||
@@ -23,7 +23,7 @@ ___
|
||||
type: 'u32'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:49](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/substrate.ts#L49)*
|
||||
*Defined in [substrate.ts:49](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/substrate.ts#L49)*
|
||||
|
||||
___
|
||||
<a id="changestrieconfig"></a>
|
||||
@@ -35,7 +35,7 @@ ___
|
||||
type: 'u32'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:59](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/substrate.ts#L59)*
|
||||
*Defined in [substrate.ts:59](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/substrate.ts#L59)*
|
||||
|
||||
___
|
||||
<a id="code"></a>
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
type: 'Bytes'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:34](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/substrate.ts#L34)*
|
||||
*Defined in [substrate.ts:34](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/substrate.ts#L34)*
|
||||
|
||||
___
|
||||
<a id="extrinsicindex"></a>
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
type: 'u32'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:54](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/substrate.ts#L54)*
|
||||
*Defined in [substrate.ts:54](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/substrate.ts#L54)*
|
||||
|
||||
___
|
||||
<a id="heappages"></a>
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
type: 'u64'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:39](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/substrate.ts#L39)*
|
||||
*Defined in [substrate.ts:39](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/substrate.ts#L39)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **createFunction**(section: *`Text`*, method: *`Text`*, meta: *`StorageFunctionMetadata`*, options?: *[CreateItemOptions](../interfaces/_utils_createfunction_.createitemoptions.md)*): `StorageFunction`
|
||||
|
||||
*Defined in [utils/createFunction.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/type-storage/src/utils/createFunction.ts#L30)*
|
||||
*Defined in [utils/createFunction.ts:30](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/type-storage/src/utils/createFunction.ts#L30)*
|
||||
|
||||
From the schema of a function in the module's storage, generate the function that will return the correct storage key.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user