ghost-portal/tsconfig.base.json
Arjun Porwal d449a243f9
Staking Next Page (#11483)
* feat: initialized staking-next page

* feat: enhance staking-next page with dynamic tabs and translation support

* feat: enabled payouts page for staking-next

* feat: enabled pools page for staking-next

* feat: enabled bags page for staking-next

* fix: build errors

* chore: added translation files

* refactor: relay and system staking page

* feat: enabled overview page for staking-next

* feat: enabled actions page for staking-next

* feat: enabled targets page for staking-next

* feat: enabled query page for staking-next

* feat: add Command Center component and integrate with Relay Staking Page

* feat: limit event display to a maximum of 5 and adjust styling in Command Center

* feat: display more info for relay command center

* chore: added translations

* refactor: relay section for command center

* feat: storage fetch for ah api

* feat: integrate Command Center into StakingApp routing

* feat: add AssetHubSection component and update RelaySection styling

* chore: added translation

* feat: implement API check for staking-next route

* feat: enhance AssetHubSection with detailed multiblock and staking summaries

* chore: added translations

* chore: delete folder

* chore: added folders

* feat: update layout and styling in CommandCenter components

* feat: improve layout of relay chain and events summary in AssetHubSection

* feat: add Slashes component to StakingApp and update TypeScript paths

* feat: enhance CommandCenter with relay and para endpoints integration

* feat: refactor CommandCenter to integrate relay and para endpoints with improved state management

* feat: enhance AssetHubSection and RelaySection with API connection indicators

* feat: enhance CommandCenter and RelaySection with children prop and dropdown for API selection

* feat: improve API disconnection handling and reset state in CommandCenter

* feat: improve command center API handling and enhance relay section styling

* feat: add translations for Active Validators and All Validators in locale files

* feat: update route path for targets to all-validators in StakingApp

* feat: update README with details on Asset Hub migration and staking workflow changes

* feat: update staking-related API references to use assetHubStakingClient and improve UI components

* feat: rename stakign-next to staking-async

* fix: pallets and events renaming

* feat: enhance AssetHub and Relay sections with URL and relay chain support

* fix: avoid duplication of events
2025-06-19 10:34:38 +05:30

139 lines
8.9 KiB
JSON

{
"extends": "@polkadot/dev/config/tsconfig.json",
"compilerOptions": {
"composite": true,
/**
* NOTE We have a lot of these, for ergonomic purposes it is
* better just letting the status-quo be (for the time being)
*
* Reverts https://github.com/polkadot-js/dev/pull/1074
**/
"noPropertyAccessFromIndexSignature": false,
"paths": {
"@polkadot/apps": ["apps/src/index.tsx"],
"@polkadot/apps/Root": ["apps/src/Root.tsx"],
"@polkadot/apps-config": ["apps-config/src/index.ts"],
"@polkadot/apps-config/endpoints": ["apps-config/src/endpoints/index.ts"],
"@polkadot/apps-config/endpoints/*": ["apps-config/src/endpoints/*.ts"],
"@polkadot/apps-config/links/*": ["apps-config/src/links/*.ts"],
"@polkadot/apps-config/settings/*": ["apps-config/src/settings/*.ts"],
"@polkadot/apps-config/ui/logos/*": ["apps-config/src/ui/logos/*/index.ts"],
"@polkadot/apps-routing": ["apps-routing/src/index.ts"],
"@polkadot/apps-routing/*": ["apps-routing/src/*.ts"],
"@polkadot/app-accounts": ["page-accounts/src/index.tsx"],
"@polkadot/app-addresses": ["page-addresses/src/index.tsx"],
"@polkadot/app-alliance": ["page-alliance/src/index.tsx"],
"@polkadot/app-ambassador": ["page-ambassador/src/index.tsx"],
"@polkadot/app-assets": ["page-assets/src/index.tsx"],
"@polkadot/app-broker": ["page-broker/src/index.tsx"],
"@polkadot/app-bounties": ["page-bounties/src/index.tsx"],
"@polkadot/app-calendar": ["page-calendar/src/index.tsx"],
"@polkadot/app-claims": ["page-claims/src/index.tsx"],
"@polkadot/app-claims/useCounter": ["page-claims/src/useCounter.ts"],
"@polkadot/app-collator": ["page-collator/src/index.tsx"],
"@polkadot/app-contracts": ["page-contracts/src/index.tsx"],
"@polkadot/app-council": ["page-council/src/index.tsx"],
"@polkadot/app-coretime": ["page-coretime/src/index.tsx"],
"@polkadot/app-democracy": ["page-democracy/src/index.tsx"],
"@polkadot/app-democracy/*": ["page-democracy/src/*.tsx"],
"@polkadot/app-extrinsics": ["page-extrinsics/src/index.tsx"],
"@polkadot/app-explorer": ["page-explorer/src/index.tsx"],
"@polkadot/app-explorer/*": ["page-explorer/src/*.tsx"],
"@polkadot/app-fellowship": ["page-fellowship/src/index.tsx"],
"@polkadot/app-files": ["page-files/src/index.tsx"],
"@polkadot/app-gilt": ["page-gilt/src/index.tsx"],
"@polkadot/app-i18n": ["page-i18n/src/index.tsx"],
"@polkadot/app-js": ["page-js/src/index.tsx"],
"@polkadot/app-membership": ["page-membership/src/index.tsx"],
"@polkadot/app-nfts": ["page-nfts/src/index.tsx"],
"@polkadot/app-nis": ["page-nis/src/index.tsx"],
"@polkadot/app-parachains": ["page-parachains/src/index.tsx"],
"@polkadot/app-parachains/Teleport": ["page-parachains/src/Teleport.tsx"],
"@polkadot/app-parachains/useLeaseRanges": ["page-parachains/src/useLeaseRanges.ts"],
"@polkadot/app-poll": ["page-poll/src/index.tsx"],
"@polkadot/app-preimages": ["page-preimages/src/index.tsx"],
"@polkadot/app-preimages/Preimages/Add": ["page-preimages/src/Preimages/Add/index.tsx"],
"@polkadot/app-preimages/Preimages/Call": ["page-preimages/src/Preimages/Call.tsx"],
"@polkadot/app-preimages/Preimages/Hash": ["page-preimages/src/Preimages/Hash.tsx"],
"@polkadot/app-ranked": ["page-ranked/src/index.tsx"],
"@polkadot/app-ranked/*": ["page-ranked/src/*.tsx"],
"@polkadot/app-referenda": ["page-referenda/src/index.tsx"],
"@polkadot/app-referenda/Referenda": ["page-referenda/src/Referenda/index.tsx"],
"@polkadot/app-referenda/useAccountLocks": ["page-referenda/src/useAccountLocks.ts"],
"@polkadot/app-referenda/useCounter": ["page-referenda/src/useCounter.ts"],
"@polkadot/app-rpc": ["page-rpc/src/index.tsx"],
"@polkadot/app-runtime": ["page-runtime/src/index.tsx"],
"@polkadot/app-scheduler": ["page-scheduler/src/index.tsx"],
"@polkadot/app-settings": ["page-settings/src/index.tsx"],
"@polkadot/app-settings/useCounter": ["page-settings/src/useCounter.ts"],
"@polkadot/app-settings/util": ["page-settings/src/util.tsx"],
"@polkadot/app-signing": ["page-signing/src/index.tsx"],
"@polkadot/app-society": ["page-society/src/index.tsx"],
"@polkadot/app-staking": ["page-staking/src/index.tsx"],
"@polkadot/app-staking/Payouts": ["page-staking/src/Payouts/index.tsx"],
"@polkadot/app-staking/Bags": ["page-staking/src/Bags/index.tsx"],
"@polkadot/app-staking/Validators": ["page-staking/src/Validators/index.tsx"],
"@polkadot/app-staking/Actions": ["page-staking/src/Actions/index.tsx"],
"@polkadot/app-staking/Targets": ["page-staking/src/Targets/index.tsx"],
"@polkadot/app-staking/Slashes": ["page-staking/src/Slashes/index.tsx"],
"@polkadot/app-staking/Query": ["page-staking/src/Query/index.tsx"],
"@polkadot/app-staking/*": ["page-staking/src/*.ts"],
"@polkadot/app-staking-async": ["page-staking-async/src/index.tsx"],
"@polkadot/app-staking2": ["page-staking2/src/index.tsx"],
"@polkadot/app-staking2/Legend": ["page-staking2/src/Legend.tsx"],
"@polkadot/app-staking2/Pools": ["page-staking2/src/Pools/index.tsx"],
"@polkadot/app-staking2/Pools/*": ["page-staking2/src/Pools/*.ts"],
"@polkadot/app-staking-legacy": ["page-staking-legacy/src/index.tsx"],
"@polkadot/app-storage": ["page-storage/src/index.tsx"],
"@polkadot/app-sudo": ["page-sudo/src/index.tsx"],
"@polkadot/app-tech-comm": ["page-tech-comm/src/index.tsx"],
"@polkadot/app-tech-comm/App": ["page-tech-comm/src/App.tsx"],
"@polkadot/app-tech-comm/Proposals": ["page-tech-comm/src/Proposals/index.tsx"],
"@polkadot/app-treasury": ["page-treasury/src/index.tsx"],
"@polkadot/app-utilities": ["page-utilities/src/index.tsx"],
"@polkadot/app-whitelist": ["page-whitelist/src/index.tsx"],
"@polkadot/react-api": ["react-api/src/index.ts"],
"@polkadot/react-api/hoc": ["react-api/src/hoc/index.ts"],
"@polkadot/react-api/util": ["react-api/src/util/index.ts"],
"@polkadot/react-api/*": ["react-api/src/*.ts"],
"@polkadot/react-components": ["react-components/src/index.ts"],
"@polkadot/react-components/i18n": ["react-components/src/i18n/index.ts"],
"@polkadot/react-components/i18n/*": ["react-components/src/i18n/*.ts"],
"@polkadot/react-components/InputConsts/*": ["react-components/src/InputConsts/*.ts"],
"@polkadot/react-components/Popup/*": ["react-components/src/Popup/*.ts"],
"@polkadot/react-components/Status/*": ["react-components/src/Status/*.ts"],
"@polkadot/react-components/styled": ["react-components/src/styled.ts"],
"@polkadot/react-components/styles": ["react-components/src/styles/index.ts"],
"@polkadot/react-components/styles/*": ["react-components/src/styles/*.ts"],
"@polkadot/react-components/types": ["react-components/src/types.ts"],
"@polkadot/react-components/util": ["react-components/src/util/index.ts"],
"@polkadot/react-components/util/types": ["react-components/src/util/types.ts"],
"@polkadot/react-components/*": ["react-components/src/*.tsx"],
"@polkadot/react-hooks": ["react-hooks/src/index.ts"],
"@polkadot/react-hooks/ctx/types": ["react-hooks/src/ctx/types.ts"],
"@polkadot/react-hooks/ctx/*": ["react-hooks/src/ctx/*.tsx"],
"@polkadot/react-hooks/*": ["react-hooks/src/*.ts"],
"@polkadot/react-params": ["react-params/src/index.tsx"],
"@polkadot/react-params/Param/*": ["react-params/src/Param/*.tsx"],
"@polkadot/react-params/types": ["react-params/src/types.ts"],
"@polkadot/react-params/util": ["react-params/src/util.ts"],
"@polkadot/react-params/valueToText": ["react-params/src/valueToText.tsx"],
"@polkadot/react-query": ["react-query/src/index.ts"],
"@polkadot/react-signer": ["react-signer/src/index.tsx"],
"@polkadot/react-signer/signers": ["react-signer/src/signers/index.ts"],
"@polkadot/test-support/api": ["test-support/src/api/index.ts"],
"@polkadot/test-support/creation/*": ["test-support/src/creation/*.ts"],
"@polkadot/test-support/hooks": ["test-support/src/hooks/index.ts"],
"@polkadot/test-support/keyring": ["test-support/src/keyring/index.ts"],
"@polkadot/test-support/mockData": ["test-support/src/mockData/index.ts"],
"@polkadot/test-support/pages/*": ["test-support/src/pages/*.tsx"],
"@polkadot/test-support/pagesElements": ["test-support/src/pagesElements/index.ts"],
"@polkadot/test-support/react": ["test-support/src/react/index.ts"],
"@polkadot/test-support/substrate": ["test-support/src/substrate/index.ts"],
"@polkadot/test-support/types": ["test-support/src/types.ts"],
"@polkadot/test-support/transaction": ["test-support/src/transaction/index.ts"],
"@polkadot/test-support/utils": ["test-support/src/utils/index.ts"]
}
}
}