33
44import type { Observable } from 'rxjs' ;
55import type { BitVec , Bool , bool , Bytes , I8 , i8 , I16 , i16 , I32 , i32 , I64 , i64 , I128 , i128 , I256 , i256 , Json , Null , Raw , Text , Type , U8 , u8 , U16 , u16 , U32 , u32 , U64 , u64 , U128 , u128 , U256 , u256 , USize , usize } from '@polkadot/types-codec' ;
6- import type { RegistryError as RegistryErrorBase , RegistryTypes } from '@polkadot/types-codec/types' ;
6+ import type { Codec , CodecClass , RegistryError as RegistryErrorBase , RegistryTypes } from '@polkadot/types-codec/types' ;
77import type { CreateRegistry , TypeDef } from '@polkadot/types-create/types' ;
88import type { BN } from '@polkadot/util' ;
99import type { GenericExtrinsic , GenericExtrinsicEra , GenericExtrinsicPayload , GenericSignerPayload } from '../extrinsic' ;
1010import type { ExtDef } from '../extrinsic/signedExtensions/types' ;
11+ import type { GenericCall } from '../generic' ;
1112import type { MetadataLatest } from '../interfaces/metadata' ;
13+ import type { HeaderPartial } from '../interfaces/runtime' ;
1214import type { SiField , SiLookupTypeId } from '../interfaces/scaleInfo' ;
15+ import type { RuntimeVersionPartial } from '../interfaces/state' ;
1316import type { ChainProperties } from '../interfaces/system' ;
1417import type { Metadata , PortableRegistry } from '../metadata' ;
1518import type { Data , StorageKey } from '../primitive' ;
1619import type { CallFunction } from './calls' ;
17- import type { Codec , CodecClass } from './codec' ;
1820import type { DefinitionRpc , DefinitionRpcSub } from './definitions' ;
1921import type { DetectCodec } from './detect' ;
2022
@@ -25,10 +27,14 @@ export interface InterfaceTypes {
2527 BitVec : BitVec , Bool : Bool , Bytes : Bytes , I128 : I128 , I16 : I16 , I256 : I256 , I32 : I32 , I64 : I64 , I8 : I8 , Json : Json , Null : Null , Raw : Raw , Text : Text , Type : Type , U128 : U128 , U16 : U16 , U256 : U256 , U32 : U32 , U64 : U64 , U8 : U8 , USize : USize , bool : bool , i128 : i128 , i16 : i16 , i256 : i256 , i32 : i32 , i64 : i64 , i8 : i8 , u128 : u128 , u16 : u16 , u256 : u256 , u32 : u32 , u64 : u64 , u8 : u8 , usize : usize ,
2628 // extrinsic
2729 Extrinsic : GenericExtrinsic , ExtrinsicEra : GenericExtrinsicEra , ExtrinsicPayload : GenericExtrinsicPayload , SignerPayload : GenericSignerPayload ,
30+ // generic
31+ Call : GenericCall ,
2832 // primitive
2933 Data : Data , StorageKey : StorageKey ,
3034 // metadata
31- Metadata : Metadata , PortableRegistry : PortableRegistry
35+ Metadata : Metadata , PortableRegistry : PortableRegistry ,
36+ // interfaces
37+ HeaderPartial : HeaderPartial , RuntimeVersionPartial : RuntimeVersionPartial
3238}
3339
3440export type CodecHasher = ( data : Uint8Array ) => Uint8Array ;
0 commit comments