chore: update to version 16.5.9, align with pezkuwichain brand and fix tests

This commit is contained in:
2026-01-11 11:32:15 +03:00
parent c97f94045f
commit c2f759f58d
136 changed files with 19370 additions and 2342 deletions
+30
View File
@@ -0,0 +1,30 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/calls';
{{{ importsAll }}}
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
declare module '@pezkuwi/api-base/types/calls' {
interface AugmentedCalls<ApiType extends ApiTypes> {
{{#each modules}}
/** {{{sectionHash}}}/{{{sectionVersion}}} */
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedCall<ApiType, ({{{args}}}) => Observable<{{{type}}}>>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic call
**/
[key: string]: DecoratedCallBase<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedCalls
} // declare module
+28
View File
@@ -0,0 +1,28 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/consts';
{{{ importsAll }}}
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
declare module '@pezkuwi/api-base/types/consts' {
interface AugmentedConsts<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: {{{type}}} & AugmentedConst<ApiType>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic const
**/
[key: string]: Codec;
{{/unless}}
};
{{/each}}
} // AugmentedConsts
} // declare module
+7
View File
@@ -0,0 +1,7 @@
{{#if docs.length}}
/**
{{#each docs}}
* {{#trim}}{{{this}}}{{/trim}}
{{/each}}
**/
{{/if}}
+28
View File
@@ -0,0 +1,28 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/errors';
{{{ importsAll }}}
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
declare module '@pezkuwi/api-base/types/errors' {
interface AugmentedErrors<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedError<ApiType>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic error
**/
[key: string]: AugmentedError<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedErrors
} // declare module
+28
View File
@@ -0,0 +1,28 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/events';
{{{ importsAll }}}
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
declare module '@pezkuwi/api-base/types/events' {
interface AugmentedEvents<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedEvent<ApiType, {{{type}}}>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic event
**/
[key: string]: AugmentedEvent<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedEvents
} // declare module
+2
View File
@@ -0,0 +1,2 @@
// Auto-generated via `yarn polkadot-types-from-{{headerType}}`, do not edit
/* eslint-disable */
@@ -0,0 +1,15 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/types/types/registry';
{{{ importsAll }}}
declare module '@pezkuwi/types/types/registry' {
interface InterfaceTypes {
{{#each items}}
{{{this}}}: {{{this}}};
{{/each}}
} // InterfaceTypes
} // declare module
@@ -0,0 +1,12 @@
{{> header }}
/* eslint-disable sort-keys */
export default {
{{#each defs}}
{{> docs}}
{{#each defs}}
{{{this}}}
{{/each}}
{{/each}}
};
@@ -0,0 +1,15 @@
{{> header }}
/* eslint-disable sort-keys */
export default {
rpc: {},
types: {
{{#each defs}}
{{> docs}}
{{#each defs}}
{{{this}}}
{{/each}}
{{/each}}
}
};
@@ -0,0 +1,3 @@
{{> header }}
export * from './types.js';
@@ -0,0 +1,14 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/types/lookup';
{{{ importsAll }}}
declare module '@pezkuwi/types/lookup' {
{{#each items}}
{{{this}}}
{{/each}}
} // declare module
+29
View File
@@ -0,0 +1,29 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/storage';
{{{ importsAll }}}
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
declare module '@pezkuwi/api-base/types/storage' {
interface AugmentedQueries<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: {{{entryType}}}<ApiType, ({{{params}}}) => Observable<{{{returnType}}}>, [{{{args}}}]>{{#unless @root.isStrict}} & QueryableStorageEntry<ApiType, [{{{args}}}]>{{/unless}};
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic query
**/
[key: string]: QueryableStorageEntry<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedQueries
} // declare module
+22
View File
@@ -0,0 +1,22 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/rpc-core/types/jsonrpc';
{{{ importsAll }}}
export type __AugmentedRpc = AugmentedRpc<() => unknown>;
declare module '@pezkuwi/rpc-core/types/jsonrpc' {
interface RpcInterface {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedRpc<{{#if generic}}<{{{generic}}}>{{/if}}({{{args}}}) => Observable<{{{type}}}>>;
{{/each}}
};
{{/each}}
} // RpcInterface
} // declare module
@@ -0,0 +1,3 @@
{{> header }}
export * from './types.js';
@@ -0,0 +1,10 @@
{{> header }}
{{{ importsAll }}}
{{#each items}}
{{{this}}}
{{/each}}
export type PHANTOM_{{#upper}}{{{name}}}{{/upper}} = '{{{name}}}';
@@ -0,0 +1,7 @@
{{> header }}
{{#each items}}
export * from './{{{this}}}/types.js';
{{/each}}
export type PHANTOM_GENERATED = 'generated';
+30
View File
@@ -0,0 +1,30 @@
{{> header }}
// import type lookup before we augment - in some environments
// this is required to allow for ambient/previous definitions
import '@pezkuwi/api-base/types/submittable';
{{{ importsAll }}}
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
declare module '@pezkuwi/api-base/types/submittable' {
interface AugmentedSubmittables<ApiType extends ApiTypes> {
{{#each modules}}
{{{name}}}: {
{{#each items}}
{{> docs}}
{{{name}}}: AugmentedSubmittable<({{{params}}}) => SubmittableExtrinsic<ApiType>, [{{{args}}}]>;
{{/each}}
{{#unless @root.isStrict}}
/**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
{{/unless}}
};
{{/each}}
} // AugmentedSubmittables
} // declare module