mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-12-03 03:07:04 +00:00
Rebrand: polkadot → pezkuwi build fixes
- Fixed TypeScript type assertion issues - Updated imports from api-augment/substrate to api-augment/bizinikiwi - Fixed imgConvert.mjs header and imports - Added @ts-expect-error for runtime-converted types - Fixed all @polkadot copyright headers to @pezkuwi
This commit is contained in:
1 parent
fe2cd390f6
commit
1295c36241
4678 files changed
+26389
-63316
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/app-accounts authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/app-accounts authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Environment } from '../types.js';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright 2017-2025 @polkadot/react-api authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Hash } from '@polkadot/types/interfaces';
|
||||
import type { Codec } from '@polkadot/types/types';
|
||||
import type { Hash } from '@pezkuwi/types/interfaces';
|
||||
import type { Codec } from '@pezkuwi/types/types';
|
||||
|
||||
type AtQuery <I extends unknown[]> = (hash: string | Uint8Array, ...params: I) => Promise<Codec>;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-api authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { getEnvironment } from './getEnvironment.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-api authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type React from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-api authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
function flatten (_key: string | null, value?: unknown): unknown {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright 2017-2025 @polkadot/react-api authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-api authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OnChangeCb } from '../types.js';
|
||||
|
||||
import { isFunction, isObservable } from '@polkadot/util';
|
||||
import { isFunction, isObservable } from '@pezkuwi/util';
|
||||
|
||||
export function triggerChange (value?: unknown, ...callOnResult: (OnChangeCb | undefined)[]): void {
|
||||
if (!callOnResult?.length) {
|
||||
|
||||
Reference in new issue
Block a user