Bump deps w/ export ordering (#5614)

This commit is contained in:
Jaco
2023-04-26 12:40:14 +03:00
committed by GitHub
parent cd440ea3c4
commit a6adeb739f
30 changed files with 162 additions and 127 deletions
+11 -7
View File
@@ -4,15 +4,19 @@
import * as typeDefinitions from './interfaces/definitions.js';
import rpcDefinitions from './interfaces/jsonrpc.js';
// all external
export { TypeDefInfo } from '@polkadot/types-create';
// all named
export { convertSiV0toV1 } from './metadata/PortableRegistry/index.js';
export { packageInfo } from './packageInfo.js';
export { unwrapStorageType } from './util/index.js';
// all starred
export * from './codec/index.js';
export * from './create/index.js';
export * from './index.types.js';
export * from './metadata/index.js';
export { TypeDefInfo } from '@polkadot/types-create';
export { convertSiV0toV1 } from './metadata/PortableRegistry/index.js';
export { unwrapStorageType } from './util/index.js';
export { packageInfo } from './packageInfo.js';
export { typeDefinitions, rpcDefinitions };
// local
export { rpcDefinitions, typeDefinitions };
+1 -1
View File
@@ -6,4 +6,4 @@
// expand with slight care (for instance, Length is really only used internally to
// others, so there _should_ not be need for direct use)
export { BTreeMap, BTreeSet, Compact, DoNotConstruct, Enum, HashMap, Int, Json, Linkage, CodecMap, Map, Option, Range, RangeInclusive, Raw, Result, CodecSet, Set, Struct, Tuple, UInt, U8aFixed, Vec, VecFixed, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec';
export { BTreeMap, BTreeSet, CodecMap, CodecSet, Compact, DoNotConstruct, Enum, HashMap, Int, Json, Linkage, Map, Option, Range, RangeInclusive, Raw, Result, Set, Struct, Tuple, U8aFixed, UInt, Vec, VecFixed, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec';
+2
View File
@@ -1,8 +1,10 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all external
export * from '@polkadot/types-create';
// all local
export * from './createClass.js';
export * from './createType.js';
export * from './lazy.js';
+2
View File
@@ -1,7 +1,9 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all types
export type { CodecCreateOptions as CreateOptions } from '@polkadot/types-codec/types';
export type { TypeDef } from '@polkadot/types-create/types';
// all enums
export { TypeDefInfo } from '@polkadot/types-create';
+3 -1
View File
@@ -1,11 +1,13 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
// all named
export { GenericExtrinsic } from './Extrinsic.js';
export { GenericExtrinsicEra, MortalEra as GenericMortalEra, ImmortalEra as GenericImmortalEra } from './ExtrinsicEra.js';
export { GenericExtrinsicEra, ImmortalEra as GenericImmortalEra, MortalEra as GenericMortalEra } from './ExtrinsicEra.js';
export { GenericExtrinsicPayload } from './ExtrinsicPayload.js';
export { GenericExtrinsicPayloadUnknown } from './ExtrinsicPayloadUnknown.js';
export { GenericExtrinsicUnknown } from './ExtrinsicUnknown.js';
export { GenericSignerPayload } from './SignerPayload.js';
// all starred
export * from './v4/index.js';
+5 -3
View File
@@ -1,8 +1,7 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from '../ethereum/index.js';
// all named
export { GenericAccountId, GenericAccountId as GenericAccountId32, GenericAccountId33 } from './AccountId.js';
export { GenericAccountIndex } from './AccountIndex.js';
export { GenericBlock } from './Block.js';
@@ -11,5 +10,8 @@ export { GenericChainProperties } from './ChainProperties.js';
export { GenericConsensusEngineId } from './ConsensusEngineId.js';
export { GenericEvent, GenericEventData } from './Event.js';
export { GenericLookupSource } from './LookupSource.js';
export { GenericMultiAddress, GenericMultiAddress as GenericAddress } from './MultiAddress.js';
export { GenericMultiAddress as GenericAddress, GenericMultiAddress } from './MultiAddress.js';
export { GenericVote } from './Vote.js';
// all starred
export * from '../ethereum/index.js';
+1 -1
View File
@@ -5,8 +5,8 @@ export * from './essentials.js';
// substrate types
export { default as assets } from './assets/definitions.js';
export { default as authorship } from './authorship/definitions.js';
export { default as aura } from './aura/definitions.js';
export { default as authorship } from './authorship/definitions.js';
export { default as babe } from './babe/definitions.js';
export { default as balances } from './balances/definitions.js';
export { default as beefy } from './beefy/definitions.js';
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2023 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { decorateConstants, decorateExtrinsics, decorateStorage, expandMetadata } from './decorate/index.js';
export { Metadata } from './Metadata.js';
export { PortableRegistry } from './PortableRegistry/index.js';
export { decorateConstants, decorateExtrinsics, decorateStorage, expandMetadata } from './decorate/index.js';
+4 -1
View File
@@ -4,7 +4,10 @@
/**
* @summary Type definitions that are used in the system
*/
export { BitVec, bool, Bool, Bytes, f32, F32, f64, F64, i8, I8, i16, I16, i32, I32, i64, I64, i128, I128, i256, I256, isize, ISize, Null, OptionBool, Text, Type, u8, U8, u16, U16, u32, U32, u64, U64, u128, U128, u256, U256, usize, USize } from '@polkadot/types-codec';
// all external
export { BitVec, Bool, bool, Bytes, F32, f32, F64, f64, I8, i8, I16, i16, I32, i32, I64, i64, I128, i128, I256, i256, ISize, isize, Null, OptionBool, Text, Type, U8, u8, U16, u16, U32, u32, U64, u64, U128, u128, U256, u256, USize, usize } from '@polkadot/types-codec';
// all local
export { Data } from './Data.js';
export { StorageKey } from './StorageKey.js';
+1 -1
View File
@@ -3,7 +3,7 @@
import type { Codec } from '@polkadot/types-codec/types';
export type { AnyJson, AnyFunction, AnyNumber, AnyString, AnyTuple, AnyU8a, ArgsDef, BareOpts, Codec, CodecClass, CodecClass as Constructor, CodecTo, Inspect } from '@polkadot/types-codec/types';
export type { AnyFunction, AnyJson, AnyNumber, AnyString, AnyTuple, AnyU8a, ArgsDef, BareOpts, Codec, CodecClass, CodecTo, CodecClass as Constructor, Inspect } from '@polkadot/types-codec/types';
// helper to extract keys from an array
export type ArrayElementType<T extends ReadonlyArray<unknown>> = T extends ReadonlyArray<infer ElementType>