mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-07-19 21:55:41 +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,12 +1,12 @@
|
||||
// Copyright 2017-2025 @polkadot/app-coretime authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ChainInformation } from '@polkadot/react-hooks/types';
|
||||
import type { ChainInformation } from '@pezkuwi/react-hooks/types';
|
||||
import type { ActiveFilters } from '../types.js';
|
||||
|
||||
import React, { useCallback, useState } from 'react';
|
||||
|
||||
import { Button, Dropdown, Input } from '@polkadot/react-components';
|
||||
import { Button, Dropdown, Input } from '@pezkuwi/react-components';
|
||||
|
||||
import { useTranslation } from '../translate.js';
|
||||
import { FilterType, useBlocksSort, useSearchFilter, useTypeFilter } from './filters/index.js';
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
// Copyright 2017-2025 @polkadot/app-coretime authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BrokerStatus, CoreDescription, PalletBrokerConfigRecord, PalletBrokerSaleInfoRecord, RegionInfo } from '@polkadot/react-hooks/types';
|
||||
import type { BrokerStatus, CoreDescription, PezpalletBrokerConfigRecord, PezpalletBrokerSaleInfoRecord, RegionInfo } from '@pezkuwi/react-hooks/types';
|
||||
import type { RelayName } from '../types.js';
|
||||
|
||||
import React, { useMemo } from 'react';
|
||||
|
||||
import { CardSummary, SummaryBox } from '@polkadot/react-components';
|
||||
import { BN } from '@polkadot/util';
|
||||
import { CardSummary, SummaryBox } from '@pezkuwi/react-components';
|
||||
import { BN } from '@pezkuwi/util';
|
||||
|
||||
import { useCoretimeContext } from '../CoretimeContext.js';
|
||||
import { useTranslation } from '../translate.js';
|
||||
@@ -15,8 +15,8 @@ import { FirstCycleStart } from '../utils/index.js';
|
||||
|
||||
interface Props {
|
||||
coreDscriptors?: CoreDescription[];
|
||||
saleInfo: PalletBrokerSaleInfoRecord
|
||||
config: PalletBrokerConfigRecord,
|
||||
saleInfo: PezpalletBrokerSaleInfoRecord
|
||||
config: PezpalletBrokerConfigRecord,
|
||||
region: RegionInfo[],
|
||||
status: BrokerStatus,
|
||||
parachainCount: number
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/app-coretime authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export * from '../../types.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/app-coretime authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ChainInformation } from '@polkadot/react-hooks/types';
|
||||
import type { ChainInformation } from '@pezkuwi/react-hooks/types';
|
||||
import type { ChainInfoFilterProps, SortDirection } from '../../types.js';
|
||||
|
||||
import { useCallback, useState } from 'react';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright 2017-2025 @polkadot/app-coretime authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useMemo, useState } from 'react';
|
||||
|
||||
import { useRelayEndpoints } from '@polkadot/react-hooks/useParaEndpoints';
|
||||
import { useRelayEndpoints } from '@pezkuwi/react-hooks/useParaEndpoints';
|
||||
|
||||
interface UseSearchFilterProps {
|
||||
data: number[];
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
// Copyright 2017-2025 @polkadot/app-coretime authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { FlagColor } from '@polkadot/react-components/types';
|
||||
import type { FlagColor } from '@pezkuwi/react-components/types';
|
||||
import type { ChainInfoFilterProps } from '../../types.js';
|
||||
|
||||
import React, { useCallback, useState } from 'react';
|
||||
|
||||
import { Tag } from '@polkadot/react-components';
|
||||
import { CoreTimeTypes } from '@polkadot/react-hooks/constants';
|
||||
import { Tag } from '@pezkuwi/react-components';
|
||||
import { CoreTimeTypes } from '@pezkuwi/react-hooks/constants';
|
||||
|
||||
import { coretimeTypeColours } from '../../utils/index.js';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/app-coretime authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/app-coretime authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { RelayName } from '../types.js';
|
||||
|
||||
Reference in New Issue
Block a user