mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-21 23:37:57 +00:00
fix: fix lint errors and update headers
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { ApiPromise } from '@pezkuwi/api';
|
||||
|
||||
import { CERE_NETWORK_GENESIS, CERE_NETWORK_TESTNET_GENESIS, DOCK_POS_TESTNET_GENESIS, JOYSTREAM_GENESIS, DICLE_GENESIS, NEATCOIN_GENESIS, NFTMART_GENESIS, PEZKUWI_GENESIS, VARA_NETWORK_GENESIS, VARA_NETWORK_TESTNET_GENESIS, ZKVERIFY_GENESIS, ZKVERIFY_VOLTA_GENESIS } from '../constants.js';
|
||||
import { CERE_NETWORK_GENESIS, CERE_NETWORK_TESTNET_GENESIS, DICLE_GENESIS, DOCK_POS_TESTNET_GENESIS, JOYSTREAM_GENESIS, NEATCOIN_GENESIS, NFTMART_GENESIS, PEZKUWI_GENESIS, VARA_NETWORK_GENESIS, VARA_NETWORK_TESTNET_GENESIS, ZKVERIFY_GENESIS, ZKVERIFY_VOLTA_GENESIS } from '../constants.js';
|
||||
|
||||
interface InflationParams {
|
||||
auctionAdjust: number;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { ApiPromise } from '@pezkuwi/api';
|
||||
|
||||
import { KULUPU_GENESIS, DICLE_GENESIS, PEZKUWI_GENESIS } from '../constants.js';
|
||||
import { DICLE_GENESIS, KULUPU_GENESIS, PEZKUWI_GENESIS } from '../constants.js';
|
||||
|
||||
// normal fast-track proposals
|
||||
const FAST_TRACK: Record<string, number> = {
|
||||
@@ -16,8 +16,8 @@ const FAST_TRACK_NO_DELAY: Record<string, number> = {
|
||||
};
|
||||
|
||||
const PROPOSE: Record<string, number> = {
|
||||
[KULUPU_GENESIS]: 1,
|
||||
[DICLE_GENESIS]: 1 / 2,
|
||||
[KULUPU_GENESIS]: 1,
|
||||
[PEZKUWI_GENESIS]: 3 / 5,
|
||||
default: 1 / 2
|
||||
};
|
||||
@@ -29,8 +29,8 @@ const SLASH: Record<string, number> = {
|
||||
};
|
||||
|
||||
const TREASURY: Record<string, number> = {
|
||||
[KULUPU_GENESIS]: 1 / 2,
|
||||
[DICLE_GENESIS]: 3 / 5,
|
||||
[KULUPU_GENESIS]: 1 / 2,
|
||||
[PEZKUWI_GENESIS]: 3 / 5,
|
||||
default: 3 / 5
|
||||
};
|
||||
|
||||
@@ -18,8 +18,8 @@ import bifrost from './bifrost.js';
|
||||
import bifrostAsgard from './bifrost-asgard.js';
|
||||
import bifrostTeyrchain from './bifrost-parachain.js';
|
||||
import bitcountry from './bitcountry.js';
|
||||
import bitcountryPioneer from './bitcountry-pioneer.js';
|
||||
import bitcountryTeyrchain from './bitcountry-pezkuwichain.js';
|
||||
import bitcountryPioneer from './bitcountry-pioneer.js';
|
||||
import bittensor from './bittensor.js';
|
||||
import centrifuge from './centrifuge.js';
|
||||
import centrifugeChain from './centrifuge-chain.js';
|
||||
|
||||
@@ -96,7 +96,7 @@ export const prodRelayDicle: EndpointOption = {
|
||||
],
|
||||
providers: {
|
||||
'Pezkuwi Foundation': 'wss://dicle-rpc.pezkuwichain.io',
|
||||
'Local': 'ws://127.0.0.1:9944'
|
||||
Local: 'ws://127.0.0.1:9944'
|
||||
},
|
||||
teleport: [1000],
|
||||
text: 'Dicle',
|
||||
|
||||
@@ -97,7 +97,7 @@ export const prodRelayPezkuwi: EndpointOption = {
|
||||
providers: {
|
||||
'Pezkuwi Foundation': 'wss://rpc.pezkuwichain.io',
|
||||
'Pezkuwi Zagros': 'wss://zagros-rpc.pezkuwichain.io',
|
||||
'Local': 'ws://127.0.0.1:9944'
|
||||
Local: 'ws://127.0.0.1:9944'
|
||||
},
|
||||
teleport: [1000],
|
||||
text: 'Pezkuwi',
|
||||
|
||||
@@ -5,7 +5,7 @@ import type { EndpointOption } from './types.js';
|
||||
|
||||
import { ZKVERIFY_VOLTA_GENESIS } from '../api/constants.js';
|
||||
import { chains3dpassSVG, chainsAcalaSVG, chainsAlephSVG, chainsAllfeatSVG, chainsAnalogSVG, chainsArgonSVG, chainsBrainstormPNG, chainsChainflipPNG, chainsCreditcoinTestPNG, chainsDebioSVG, chainsEquilibriumSVG, chainsFerrumPNG, chainsFragnovaPNG, chainsJurPNG, chainsKintsugiPNG, chainsLiberlandPNG, chainsLogionPNG, chainsMyriadPNG, chainsQfNetworkPNG, chainsSkyekiwiPNG, chainsTanglePNG, chainsVaraTestnetPNG } from '../ui/logos/chains/index.js';
|
||||
import { nodesArcticPNG, nodesAresGladiosSVG, nodesAutonomysPNG, nodesBifrostSVG, nodesBitcountryPNG, nodesCereSVG, nodesCessPNG, nodesCloverSVG, nodesCrustMaxwellSVG, nodesCurioSVG, nodesDancelightSVG, nodesDatahighwayPNG, nodesDockPNG, nodesDolphinSVG, nodesDotmogSVG, nodesEdgewareWhitePNG, nodesEncointerBlueSVG, nodesFantourPNG, nodesGalitalLogoPNG, nodesGamepowerSVG, nodesGeekSVG, nodesInterlaySVG, nodesIpsePNG, nodesJazPNG, nodesJupiterSVG, nodesKarmachainSVG, nodesKhalaSVG, nodesKlugPNG, nodesKylinPNG, nodesLaminarCircleSVG, nodesMantaPNG, nodesMathSVG, nodesMinixPNG, nodesMoonbaseAlphaSVG, nodesMybankPNG, nodesNftmartPNG, nodesNodleSVG, nodesOpportunityPNG, nodesPhalaSVG, nodesPhoenixPNG, nodesPhykenNetworkPNG, nodesPichiuPNG, nodesPolkadexSVG, nodesPolkafoundrySVG, nodesPolymeshSVG, nodesPontemSVG, nodesPrismPNG, nodesRealisPNG, nodesRiochainSVG, nodesSherpaxPNG, nodesSoonsocialPNG, nodesSoraSubstrateSVG, nodesSubdaoPNG, nodesSubgameSVG, nodesSubspacePNG, nodesBizinikiwiHexagonSVG, nodesTernoaSVG, nodesThebifrostPNG, nodesUniartsPNG, nodesUniqueSVG, nodesUnitnetworkPNG, nodesVFlowPNG, nodesWeb3gamesSVG, nodesZCloakSVG, nodesZeroSVG, nodesZkVerifyPNG } from '../ui/logos/nodes/index.js';
|
||||
import { nodesArcticPNG, nodesAresGladiosSVG, nodesAutonomysPNG, nodesBifrostSVG, nodesBitcountryPNG, nodesBizinikiwiHexagonSVG, nodesCereSVG, nodesCessPNG, nodesCloverSVG, nodesCrustMaxwellSVG, nodesCurioSVG, nodesDancelightSVG, nodesDatahighwayPNG, nodesDockPNG, nodesDolphinSVG, nodesDotmogSVG, nodesEdgewareWhitePNG, nodesEncointerBlueSVG, nodesFantourPNG, nodesGalitalLogoPNG, nodesGamepowerSVG, nodesGeekSVG, nodesInterlaySVG, nodesIpsePNG, nodesJazPNG, nodesJupiterSVG, nodesKarmachainSVG, nodesKhalaSVG, nodesKlugPNG, nodesKylinPNG, nodesLaminarCircleSVG, nodesMantaPNG, nodesMathSVG, nodesMinixPNG, nodesMoonbaseAlphaSVG, nodesMybankPNG, nodesNftmartPNG, nodesNodleSVG, nodesOpportunityPNG, nodesPhalaSVG, nodesPhoenixPNG, nodesPhykenNetworkPNG, nodesPichiuPNG, nodesPolkadexSVG, nodesPolkafoundrySVG, nodesPolymeshSVG, nodesPontemSVG, nodesPrismPNG, nodesRealisPNG, nodesRiochainSVG, nodesSherpaxPNG, nodesSoonsocialPNG, nodesSoraSubstrateSVG, nodesSubdaoPNG, nodesSubgameSVG, nodesSubspacePNG, nodesTernoaSVG, nodesThebifrostPNG, nodesUniartsPNG, nodesUniqueSVG, nodesUnitnetworkPNG, nodesVFlowPNG, nodesWeb3gamesSVG, nodesZCloakSVG, nodesZeroSVG, nodesZkVerifyPNG } from '../ui/logos/nodes/index.js';
|
||||
|
||||
export * from './testingRelayPaseo.js';
|
||||
export * from './testingRelayZagros.js';
|
||||
|
||||
@@ -96,7 +96,7 @@ export const testRelayZagros: EndpointOption = {
|
||||
],
|
||||
providers: {
|
||||
'Pezkuwi Foundation': 'wss://zagros-rpc.pezkuwichain.io',
|
||||
'Local': 'ws://127.0.0.1:9944'
|
||||
Local: 'ws://127.0.0.1:9944'
|
||||
},
|
||||
teleport: [1000],
|
||||
text: 'Zagros',
|
||||
|
||||
@@ -26,7 +26,6 @@ import js from './js.js';
|
||||
import membership from './membership.js';
|
||||
import nfts from './nfts.js';
|
||||
import nis from './nis.js';
|
||||
import teyrchains from './teyrchains.js';
|
||||
import poll from './poll.js';
|
||||
import preimages from './preimages.js';
|
||||
import ranked from './ranked.js';
|
||||
@@ -45,6 +44,7 @@ import storage from './storage.js';
|
||||
import sudo from './sudo.js';
|
||||
import techcomm from './techcomm.js';
|
||||
import teleport from './teleport.js';
|
||||
import teyrchains from './teyrchains.js';
|
||||
import transfer from './transfer.js';
|
||||
import treasury from './treasury.js';
|
||||
import utilities from './utilities.js';
|
||||
|
||||
@@ -12,7 +12,7 @@ module.exports = merge(
|
||||
{
|
||||
devServer: {
|
||||
client: {
|
||||
overlay: false // Disable error overlay
|
||||
overlay: false // Disable error overlay
|
||||
},
|
||||
headers: {
|
||||
'Content-Security-Policy': "frame-ancestors 'none'",
|
||||
|
||||
@@ -180,7 +180,7 @@ function Overview ({ className = '', onStatusChange }: Props): React.ReactElemen
|
||||
const accountsMap = useMemo(
|
||||
() => allAccounts
|
||||
.map((address, index): Omit<SortedAccount, 'account'> & { account: KeyringAddress | undefined } => {
|
||||
const deleg = delegations && delegations[index]?.isDelegating && delegations[index]?.asDelegating;
|
||||
const deleg = delegations?.[index]?.isDelegating && delegations[index]?.asDelegating;
|
||||
const delegation: Delegation | undefined = (deleg && {
|
||||
accountDelegated: deleg.target.toString(),
|
||||
amount: deleg.balance,
|
||||
|
||||
@@ -13,9 +13,9 @@ import { ThemeProvider } from 'styled-components';
|
||||
import AccountsApp from '@pezkuwi/app-accounts';
|
||||
import { ApiCtxRoot } from '@pezkuwi/react-api';
|
||||
import { lightTheme } from '@pezkuwi/react-components';
|
||||
import { BIZINIKIWI_PORT } from '@pezkuwi/test-support/bizinikiwi';
|
||||
import { MemoryStore } from '@pezkuwi/test-support/keyring';
|
||||
import { WaitForApi } from '@pezkuwi/test-support/react';
|
||||
import { BIZINIKIWI_PORT } from '@pezkuwi/test-support/bizinikiwi';
|
||||
|
||||
function noop (): void {
|
||||
// do nothing
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
// Copyright 2017-2026 @pezkuwi/app-accounts authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { GeneratorMatch, GeneratorMatches, GeneratorResult } from '@polkadot/vanitygen/types';
|
||||
import type { ActionStatus } from '@pezkuwi/react-components/Status/types';
|
||||
import type { KeypairType } from '@pezkuwi/util-crypto/types';
|
||||
import type { GeneratorMatch, GeneratorMatches, GeneratorResult } from '@polkadot/vanitygen/types';
|
||||
|
||||
import generator from '@polkadot/vanitygen/generator';
|
||||
import matchRegex from '@polkadot/vanitygen/regex';
|
||||
import generatorSort from '@polkadot/vanitygen/sort';
|
||||
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
import { Button, Dropdown, Input, styled, Table } from '@pezkuwi/react-components';
|
||||
import { useApi, useIsMountedRef } from '@pezkuwi/react-hooks';
|
||||
import { settings } from '@pezkuwi/ui-settings';
|
||||
import { nextTick } from '@pezkuwi/util';
|
||||
import generator from '@polkadot/vanitygen/generator';
|
||||
import matchRegex from '@polkadot/vanitygen/regex';
|
||||
import generatorSort from '@polkadot/vanitygen/sort';
|
||||
|
||||
import CreateModal from '../modals/Create.js';
|
||||
import { useTranslation } from '../translate.js';
|
||||
|
||||
@@ -23,7 +23,7 @@ interface Props {
|
||||
relayName: RelayName,
|
||||
}
|
||||
|
||||
function Summary ({ config, teyrchainCount, relayName, status }: Props): React.ReactElement<Props> {
|
||||
function Summary ({ config, relayName, status, teyrchainCount }: Props): React.ReactElement<Props> {
|
||||
const { t } = useTranslation();
|
||||
const { coretimeInfo, currentRegionEnd, currentRegionStart, saleEndDate, saleStartDate } = useCoretimeContext();
|
||||
|
||||
|
||||
@@ -22,11 +22,11 @@ function Overview ({ className, relayName }: Props): React.ReactElement<Props> {
|
||||
{coretimeInfo && (
|
||||
<Summary
|
||||
config={coretimeInfo?.config}
|
||||
teyrchainCount={coretimeInfo.taskIds?.length || 0}
|
||||
region={coretimeInfo?.region}
|
||||
relayName={relayName}
|
||||
saleInfo={coretimeInfo?.salesInfo}
|
||||
status={coretimeInfo?.status}
|
||||
teyrchainCount={coretimeInfo.taskIds?.length || 0}
|
||||
/>
|
||||
)}
|
||||
{!!coretimeInfo &&
|
||||
|
||||
@@ -42,7 +42,7 @@ function Collection ({ className, value: { details, id, ipfsData } }: Props): Re
|
||||
}
|
||||
</td>
|
||||
<td className='address media--1000'>{details && <AddressSmall value={details.owner} />}</td>
|
||||
<td className='string'>{details && details.isFrozen.isTrue && t('Frozen')}</td>
|
||||
<td className='string'>{details?.isFrozen.isTrue && t('Frozen')}</td>
|
||||
<td className='number'>{details && formatNumber(details.items || (details as unknown as { instances: BN }).instances)}</td>
|
||||
</tr>
|
||||
);
|
||||
|
||||
@@ -19,7 +19,7 @@ interface Props {
|
||||
upcomingCount?: number;
|
||||
}
|
||||
|
||||
function Summary ({ leasePeriod, teyrchainCount, proposalCount, upcomingCount }: Props): React.ReactElement<Props> {
|
||||
function Summary ({ leasePeriod, proposalCount, teyrchainCount, upcomingCount }: Props): React.ReactElement<Props> {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
|
||||
@@ -14,8 +14,8 @@ import { formatNumber } from '@pezkuwi/util';
|
||||
|
||||
import { useTranslation } from '../translate.js';
|
||||
import Lifecycle from './Lifecycle.js';
|
||||
import TeyrchainInfo from './TeyrchainInfo.js';
|
||||
import Periods from './Periods.js';
|
||||
import TeyrchainInfo from './TeyrchainInfo.js';
|
||||
import useParaInfo from './useParaInfo.js';
|
||||
|
||||
interface Props {
|
||||
|
||||
@@ -6,8 +6,8 @@ import type { LeasePeriod, Proposals, QueuedAction } from '../types.js';
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import Teyrchains from './Teyrchains.js';
|
||||
import Summary from './Summary.js';
|
||||
import Teyrchains from './Teyrchains.js';
|
||||
|
||||
interface Props {
|
||||
actionsQueue: QueuedAction[];
|
||||
@@ -24,8 +24,8 @@ function Overview ({ actionsQueue, className, leasePeriod, paraIds, proposals, t
|
||||
<div className={className}>
|
||||
<Summary
|
||||
leasePeriod={leasePeriod}
|
||||
teyrchainCount={paraIds?.length}
|
||||
proposalCount={proposals?.proposalIds.length}
|
||||
teyrchainCount={paraIds?.length}
|
||||
upcomingCount={threadIds?.length}
|
||||
/>
|
||||
<Teyrchains
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Option } from '@pezkuwi/types';
|
||||
import type { TeyrchainProposal, ParaId } from '@pezkuwi/types/interfaces';
|
||||
import type { ParaId, TeyrchainProposal } from '@pezkuwi/types/interfaces';
|
||||
import type { ProposalExt, ScheduledProposals } from '../types.js';
|
||||
|
||||
import { useMemo } from 'react';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright 2017-2026 @pezkuwi/app-teyrchains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AccountId, AuctionIndex, BalanceOf, BlockNumber, LeasePeriodOf, TeyrchainProposal, ParaId, SessionIndex } from '@pezkuwi/types/interfaces';
|
||||
import type { PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezkuwiRuntimeCommonCrowdloanFundInfo, PezkuwiRuntimeCommonParasRegistrarParaInfo, PezkuwiRuntimeTeyrchainsHrmpHrmpChannel } from '@pezkuwi/types/lookup';
|
||||
import type { AccountId, AuctionIndex, BalanceOf, BlockNumber, LeasePeriodOf, ParaId, SessionIndex, TeyrchainProposal } from '@pezkuwi/types/interfaces';
|
||||
import type { PezkuwiRuntimeCommonCrowdloanFundInfo, PezkuwiRuntimeCommonParasRegistrarParaInfo, PezkuwiRuntimeTeyrchainsHrmpHrmpChannel, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId } from '@pezkuwi/types/lookup';
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
|
||||
export type ChannelMap = Record<string, [PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezkuwiRuntimeTeyrchainsHrmpHrmpChannel][]>;
|
||||
|
||||
@@ -20,7 +20,7 @@ function Free ({ className, value: { count, deposit, proposalHash, status } }: P
|
||||
const { api } = useApi();
|
||||
const { allAccounts } = useAccounts();
|
||||
const isAvailable = useMemo(
|
||||
() => count === 0 && status && status.isUnrequested && deposit && allAccounts.includes(deposit.who),
|
||||
() => count === 0 && status?.isUnrequested && deposit && allAccounts.includes(deposit.who),
|
||||
[allAccounts, count, deposit, status]
|
||||
);
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ function group (tracks: TrackDescription[], totalIssuance?: BN, referenda?: Refe
|
||||
for (let i = 0, count = referenda.length; i < count; i++) {
|
||||
const ref = referenda[i];
|
||||
|
||||
if (!ref.info || !ref.info.isOngoing) {
|
||||
if (!ref.info?.isOngoing) {
|
||||
// info is undefined or not ongoing — can't get track
|
||||
other.referenda.push(ref);
|
||||
continue;
|
||||
|
||||
@@ -72,7 +72,7 @@ function Pool ({ className = '', members, ownAccounts, params, poolId }: Props):
|
||||
withLoading
|
||||
/>
|
||||
<td className='number media--1400'>{info && !info.rewardClaimable.isZero() && <FormatBalance value={info.rewardClaimable} />}</td>
|
||||
<td className='number'>{info && info.bonded.commission.current.value && <div>{info.bonded.commission.current.value[0]?.toHuman()}</div>}</td>
|
||||
<td className='number'>{info?.bonded.commission.current.value && <div>{info.bonded.commission.current.value[0]?.toHuman()}</div>}</td>
|
||||
<td className='number'>
|
||||
{info && info.nominating.length !== 0 && (
|
||||
<ExpanderScroll
|
||||
|
||||
@@ -10,9 +10,10 @@ import type { Signer, SignerResult } from '@pezkuwi/api/types';
|
||||
import type { Ledger, LedgerGeneric } from '@pezkuwi/hw-ledger';
|
||||
import type { Registry, SignerPayloadJSON } from '@pezkuwi/types/types';
|
||||
|
||||
import { merkleizeMetadata } from '@polkadot-api/merkleize-metadata';
|
||||
|
||||
import { settings } from '@pezkuwi/ui-settings';
|
||||
import { objectSpread, u8aToHex } from '@pezkuwi/util';
|
||||
import { merkleizeMetadata } from '@polkadot-api/merkleize-metadata';
|
||||
|
||||
let id = 0;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2026 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2026 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2026 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
// Copyright 2017-2026 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { formatNumber, stringCamelCase } from '@pezkuwi/util';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
|
||||
import { formatNumber, stringCamelCase } from '@polkadot/util';
|
||||
|
||||
const MAX_SIZE = 48 * 1024;
|
||||
|
||||
// FIXME The sorting here and the sorting from linting seems like a mismatch...
|
||||
const HEADER = '// Copyright 2017-2026 @polkadot/apps authors & contributors\n// SPDX-License-Identifier: Apache-2.0\n\n// Do not edit. Auto-generated via node scripts/imgConvert.mjs\n\n';
|
||||
const HEADER = '// Copyright 2017-2026 @pezkuwi/apps authors & contributors\n// SPDX-License-Identifier: Apache-2.0\n\n// Do not edit. Auto-generated via node scripts/imgConvert.mjs\n\n';
|
||||
|
||||
/** @type {Record<string, string>} */
|
||||
const MIME = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2026 @polkadot/apps authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
@@ -7,12 +7,11 @@
|
||||
import CrustPinner from '@crustio/crust-pin';
|
||||
import PinataSDK from '@pinata/sdk';
|
||||
// @ts-expect-error No definition file
|
||||
import { execSync } from '@pezkuwi/dev/scripts/util.mjs';
|
||||
// @ts-expect-error No definition file
|
||||
import cloudflare from 'dnslink-cloudflare';
|
||||
import fs from 'node:fs';
|
||||
|
||||
// @ts-expect-error No definition file
|
||||
import { execSync } from '@polkadot/dev/scripts/util.mjs';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore Using ignore since the file won't be there in dev
|
||||
import { createWsEndpoints } from '../packages/apps-config/build/endpoints/index.js';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2026 @polkadot/react-components authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/react-components authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
|
||||
const HEADER = `// Copyright 2017-2026 @polkadot/react-components authors & contributors
|
||||
const HEADER = `// Copyright 2017-2026 @pezkuwi/react-components authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Automatically generated, do not edit
|
||||
|
||||
Reference in New Issue
Block a user