API optional augmentation (#4355)
* API optional augmentation
* Rebuild
* Rebuild
* Cleanups
* Adjust, no multi-imports
* Adjust
* Adjust
* Dedupe
* Augmented exports
* It builds via references (no circulars)
* Don't output *.manual.{js,cjs}
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// Copyright 2017-2021 @polkadot/types-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import './lookup';
|
||||
import './registry';
|
||||
import './types';
|
||||
import './lookup';
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BitVec, Compact, Enum, Null, Option, Struct, Vec, u16, u32 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { H256, PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
declare module '@polkadot/types/lookup' {
|
||||
import type { BitVec, Compact, Enum, Null, Option, Struct, Vec, u16, u32 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { H256, PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
declare module '@polkadot/types-augment/lookup' {
|
||||
/** @name KusamaRuntimeProxyType (73) */
|
||||
export interface KusamaRuntimeProxyType extends Enum {
|
||||
readonly isAny: boolean;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BitVec, Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
declare module '@polkadot/types/lookup' {
|
||||
import type { BitVec, Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||
import type { AccountId32, H256, PerU16 } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
declare module '@polkadot/types-augment/lookup' {
|
||||
/** @name PolkadotRuntimeCommonClaimsPalletEvent (64) */
|
||||
export interface PolkadotRuntimeCommonClaimsPalletEvent extends Enum {
|
||||
readonly isClaimed: boolean;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import type { Data } from '@polkadot/types';
|
||||
import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { Vote } from '@polkadot/types/interfaces/elections';
|
||||
import type { AccountId32, Call, H256, MultiAddress, PerU16, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { Event } from '@polkadot/types/interfaces/system';
|
||||
declare module '@polkadot/types/lookup' {
|
||||
import type { Data } from '@polkadot/types';
|
||||
import type { BTreeMap, Bytes, Compact, Enum, Null, Option, Result, Set, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
||||
import type { ITuple } from '@polkadot/types-codec/types';
|
||||
import type { Vote } from '@polkadot/types/interfaces/elections';
|
||||
import type { AccountId32, Call, H256, MultiAddress, PerU16, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
||||
import type { Event } from '@polkadot/types/interfaces/system';
|
||||
|
||||
declare module '@polkadot/types-augment/lookup' {
|
||||
/** @name FrameSystemAccountInfo (3) */
|
||||
export interface FrameSystemAccountInfo extends Struct {
|
||||
readonly nonce: u32;
|
||||
|
||||
@@ -60,7 +60,7 @@ import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
|
||||
import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
|
||||
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
|
||||
|
||||
declare module '@polkadot/types-augment/registry' {
|
||||
declare module '@polkadot/types/types/registry' {
|
||||
export interface InterfaceTypes {
|
||||
AbridgedCandidateReceipt: AbridgedCandidateReceipt;
|
||||
AbridgedHostConfiguration: AbridgedHostConfiguration;
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
// Copyright 2017-2021 @polkadot/types-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// NOTE: This is not a typical types export, rather this is to augment types
|
||||
|
||||
import './lookup';
|
||||
import './registry';
|
||||
@@ -1,6 +0,0 @@
|
||||
// Copyright 2017-2021 @polkadot/types-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
declare module '@polkadot/types/lookup' {
|
||||
export * from '@polkadot/types-augment/lookup';
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
// Copyright 2017-2021 @polkadot/types-augment authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
declare module '@polkadot/types/types/registry' {
|
||||
export { InterfaceTypes } from '@polkadot/types-augment/registry';
|
||||
}
|
||||
Reference in New Issue
Block a user