|
|
@@ -3,6 +3,7 @@ import {
|
|
|
} from '@/shared/sections';
|
|
|
import { TableCellsIcon } from '@heroicons/react/24/solid';
|
|
|
import { Hero } from './Hero';
|
|
|
+import { buildProductTranslations } from '@/config/navigation-translations';
|
|
|
|
|
|
export const das = {
|
|
|
name: 'DAS API',
|
|
|
@@ -80,156 +81,53 @@ export const das = {
|
|
|
],
|
|
|
},
|
|
|
],
|
|
|
- localizedNavigation: {
|
|
|
- en: {
|
|
|
- headline: 'Fetch Digital Asset Data',
|
|
|
- description: 'A DAS API Client to access Digital Asset data on chain',
|
|
|
- sections: {
|
|
|
- 'Introduction': 'Introduction',
|
|
|
- 'Methods & Playground': 'Methods & Playground',
|
|
|
- 'Guides': 'Guides',
|
|
|
- 'Core Extension SDK': 'Core Extension SDK'
|
|
|
- },
|
|
|
- links: {
|
|
|
- 'Overview': 'Overview',
|
|
|
- 'Getting Started': 'Getting Started',
|
|
|
- 'DAS API RPC Providers': 'DAS API RPC Providers',
|
|
|
- 'Display Options': 'Display Options',
|
|
|
- 'Method Overview': 'Method Overview',
|
|
|
- 'Get Asset': 'Get Asset',
|
|
|
- 'Get Assets': 'Get Assets',
|
|
|
- 'Get Asset Proof': 'Get Asset Proof',
|
|
|
- 'Get Asset Proofs': 'Get Asset Proofs',
|
|
|
- 'Get Asset Signatures': 'Get Asset Signatures',
|
|
|
- 'Get Assets By Authority': 'Get Assets By Authority',
|
|
|
- 'Get Assets By Creator': 'Get Assets By Creator',
|
|
|
- 'Get Assets By Group': 'Get Assets By Group',
|
|
|
- 'Get Assets By Owner': 'Get Assets By Owner',
|
|
|
- 'Get NFT Editions': 'Get NFT Editions',
|
|
|
- 'Get Token Accounts': 'Get Token Accounts',
|
|
|
- 'Search Assets': 'Search Assets',
|
|
|
- 'Guides Overview': 'Guides Overview',
|
|
|
- 'Pagination': 'Pagination',
|
|
|
- 'Get Collection NFTs': 'Get Collection NFTs',
|
|
|
- 'Get NFTs by Owner': 'Get NFTs by Owner',
|
|
|
- 'Get Wallet Tokens': 'Get Wallet Tokens',
|
|
|
- 'Get Fungible Assets': 'Get Fungible Assets',
|
|
|
- 'Search by Criteria': 'Search by Criteria',
|
|
|
- 'Owner and Collection': 'Owner and Collection',
|
|
|
- 'Find Compressed NFTs': 'Find Compressed NFTs',
|
|
|
- 'Collection Statistics': 'Collection Statistics',
|
|
|
- 'Find Token Holders': 'Find Token Holders',
|
|
|
- 'Extension Overview': 'Extension Overview',
|
|
|
- 'Get Core Asset': 'Get Core Asset',
|
|
|
- 'Get Core Collection': 'Get Core Collection',
|
|
|
- 'Get Core Assets By Authority': 'Get Core Assets By Authority',
|
|
|
- 'Get Core Assets By Collection': 'Get Core Assets By Collection',
|
|
|
- 'Get Core Assets By Owner': 'Get Core Assets By Owner',
|
|
|
- 'Search Core Assets': 'Search Core Assets',
|
|
|
- 'Search Core Collections': 'Search Core Collections',
|
|
|
- 'Plugin Derivation': 'Plugin Derivation',
|
|
|
- 'Type Conversion': 'Type Conversion'
|
|
|
- }
|
|
|
+ localizedNavigation: buildProductTranslations({
|
|
|
+ productKey: 'dasApi',
|
|
|
+ sectionKeys: {
|
|
|
+ 'Introduction': 'sections.introduction',
|
|
|
+ 'Methods & Playground': 'sections.methods',
|
|
|
+ 'Guides': 'sections.guides',
|
|
|
+ 'Core Extension SDK': 'sections.coreExtension'
|
|
|
},
|
|
|
- ja: {
|
|
|
- headline: 'デジタルアセットデータの取得',
|
|
|
- description: 'オンチェーンデジタルアセットデータにアクセスするDAS APIクライアント',
|
|
|
- sections: {
|
|
|
- 'Introduction': '紹介',
|
|
|
- 'Methods & Playground': 'メソッドとプレイグラウンド',
|
|
|
- 'Guides': 'ガイド',
|
|
|
- 'Core Extension SDK': 'Core拡張SDK'
|
|
|
- },
|
|
|
- links: {
|
|
|
- 'Overview': '概要',
|
|
|
- 'Getting Started': 'はじめに',
|
|
|
- 'DAS API RPC Providers': 'DAS API RPCプロバイダー',
|
|
|
- 'Display Options': '表示オプション',
|
|
|
- 'Method Overview': 'メソッド概要',
|
|
|
- 'Get Asset': 'アセットの取得',
|
|
|
- 'Get Assets': '複数アセットの取得',
|
|
|
- 'Get Asset Proof': 'アセット証明の取得',
|
|
|
- 'Get Asset Proofs': '複数アセット証明の取得',
|
|
|
- 'Get Asset Signatures': 'アセット署名の取得',
|
|
|
- 'Get Assets By Authority': '権限別アセットの取得',
|
|
|
- 'Get Assets By Creator': '作成者別アセットの取得',
|
|
|
- 'Get Assets By Group': 'グループ別アセットの取得',
|
|
|
- 'Get Assets By Owner': '所有者別アセットの取得',
|
|
|
- 'Get NFT Editions': 'NFTエディションの取得',
|
|
|
- 'Get Token Accounts': 'トークンアカウントの取得',
|
|
|
- 'Search Assets': 'アセットの検索',
|
|
|
- 'Guides Overview': 'ガイド概要',
|
|
|
- 'Pagination': 'ページネーション',
|
|
|
- 'Get Collection NFTs': 'コレクションNFTの取得',
|
|
|
- 'Get NFTs by Owner': '所有者別NFTの取得',
|
|
|
- 'Get Wallet Tokens': 'ウォレットトークンの取得',
|
|
|
- 'Get Fungible Assets': 'ファンジブルアセットの取得',
|
|
|
- 'Search by Criteria': '条件による検索',
|
|
|
- 'Owner and Collection': '所有者とコレクション',
|
|
|
- 'Find Compressed NFTs': '圧縮NFTの検索',
|
|
|
- 'Collection Statistics': 'コレクション統計',
|
|
|
- 'Find Token Holders': 'トークン保有者の検索',
|
|
|
- 'Extension Overview': '拡張機能の概要',
|
|
|
- 'Get Core Asset': 'Coreアセットの取得',
|
|
|
- 'Get Core Collection': 'Coreコレクションの取得',
|
|
|
- 'Get Core Assets By Authority': '権限別Coreアセットの取得',
|
|
|
- 'Get Core Assets By Collection': 'コレクション別Coreアセットの取得',
|
|
|
- 'Get Core Assets By Owner': '所有者別Coreアセットの取得',
|
|
|
- 'Search Core Assets': 'Coreアセットの検索',
|
|
|
- 'Search Core Collections': 'Coreコレクションの検索',
|
|
|
- 'Plugin Derivation': 'プラグインの導出',
|
|
|
- 'Type Conversion': '型変換'
|
|
|
- }
|
|
|
- },
|
|
|
- ko: {
|
|
|
- headline: '디지털 에셋 데이터 가져오기',
|
|
|
- description: '온체인 디지털 에셋 데이터에 접근하는 DAS API 클라이언트',
|
|
|
- sections: {
|
|
|
- 'Introduction': '소개',
|
|
|
- 'Methods & Playground': '메서드와 플레이그라운드',
|
|
|
- 'Guides': '가이드',
|
|
|
- 'Core Extension SDK': 'Core 확장 SDK'
|
|
|
- },
|
|
|
- links: {
|
|
|
- 'Overview': '개요',
|
|
|
- 'Getting Started': '시작하기',
|
|
|
- 'DAS API RPC Providers': 'DAS API RPC 제공업체',
|
|
|
- 'Display Options': '표시 옵션',
|
|
|
- 'Method Overview': '메서드 개요',
|
|
|
- 'Get Asset': '에셋 가져오기',
|
|
|
- 'Get Assets': '여러 에셋 가져오기',
|
|
|
- 'Get Asset Proof': '에셋 증명 가져오기',
|
|
|
- 'Get Asset Proofs': '여러 에셋 증명 가져오기',
|
|
|
- 'Get Asset Signatures': '에셋 서명 가져오기',
|
|
|
- 'Get Assets By Authority': '권한별 에셋 가져오기',
|
|
|
- 'Get Assets By Creator': '생성자별 에셋 가져오기',
|
|
|
- 'Get Assets By Group': '그룹별 에셋 가져오기',
|
|
|
- 'Get Assets By Owner': '소유자별 에셋 가져오기',
|
|
|
- 'Get NFT Editions': 'NFT 에디션 가져오기',
|
|
|
- 'Get Token Accounts': '토큰 계정 가져오기',
|
|
|
- 'Search Assets': '에셋 검색',
|
|
|
- 'Guides Overview': '가이드 개요',
|
|
|
- 'Pagination': '페이지네이션',
|
|
|
- 'Get Collection NFTs': '컬렉션 NFT 가져오기',
|
|
|
- 'Get NFTs by Owner': '소유자별 NFT 가져오기',
|
|
|
- 'Get Wallet Tokens': '지갑 토큰 가져오기',
|
|
|
- 'Get Fungible Assets': '대체 가능 에셋 가져오기',
|
|
|
- 'Search by Criteria': '조건별 검색',
|
|
|
- 'Owner and Collection': '소유자와 컬렉션',
|
|
|
- 'Find Compressed NFTs': '압축 NFT 찾기',
|
|
|
- 'Collection Statistics': '컬렉션 통계',
|
|
|
- 'Find Token Holders': '토큰 보유자 찾기',
|
|
|
- 'Extension Overview': '확장 개요',
|
|
|
- 'Get Core Asset': 'Core 에셋 가져오기',
|
|
|
- 'Get Core Collection': 'Core 컬렉션 가져오기',
|
|
|
- 'Get Core Assets By Authority': '권한별 Core 에셋 가져오기',
|
|
|
- 'Get Core Assets By Collection': '컬렉션별 Core 에셋 가져오기',
|
|
|
- 'Get Core Assets By Owner': '소유자별 Core 에셋 가져오기',
|
|
|
- 'Search Core Assets': 'Core 에셋 검색',
|
|
|
- 'Search Core Collections': 'Core 컬렉션 검색',
|
|
|
- 'Plugin Derivation': '플러그인 파생',
|
|
|
- 'Type Conversion': '타입 변환'
|
|
|
- }
|
|
|
+ linkKeys: {
|
|
|
+ 'Overview': 'links.overview',
|
|
|
+ 'Getting Started': 'links.gettingStarted',
|
|
|
+ 'DAS API RPC Providers': 'links.dasApiProviders',
|
|
|
+ 'Display Options': 'links.displayOptions',
|
|
|
+ 'Method Overview': 'links.methodOverview',
|
|
|
+ 'Get Asset': 'links.getAsset',
|
|
|
+ 'Get Assets': 'links.getAssets',
|
|
|
+ 'Get Asset Proof': 'links.getAssetProof',
|
|
|
+ 'Get Asset Proofs': 'links.getAssetProofs',
|
|
|
+ 'Get Asset Signatures': 'links.getAssetSignatures',
|
|
|
+ 'Get Assets By Authority': 'links.getAssetsByAuthority',
|
|
|
+ 'Get Assets By Creator': 'links.getAssetsByCreator',
|
|
|
+ 'Get Assets By Group': 'links.getAssetsByGroup',
|
|
|
+ 'Get Assets By Owner': 'links.getAssetsByOwner',
|
|
|
+ 'Get NFT Editions': 'links.getNftEditions',
|
|
|
+ 'Get Token Accounts': 'links.getTokenAccounts',
|
|
|
+ 'Search Assets': 'links.searchAssets',
|
|
|
+ 'Guides Overview': 'links.guidesOverview',
|
|
|
+ 'Pagination': 'links.pagination',
|
|
|
+ 'Get Collection NFTs': 'links.getCollectionNfts',
|
|
|
+ 'Get NFTs by Owner': 'links.getNftsByOwner',
|
|
|
+ 'Get Wallet Tokens': 'links.getWalletTokens',
|
|
|
+ 'Get Fungible Assets': 'links.getFungibleAssets',
|
|
|
+ 'Search by Criteria': 'links.searchByCriteria',
|
|
|
+ 'Owner and Collection': 'links.ownerAndCollection',
|
|
|
+ 'Find Compressed NFTs': 'links.findCompressedNfts',
|
|
|
+ 'Collection Statistics': 'links.collectionStatistics',
|
|
|
+ 'Find Token Holders': 'links.findTokenHolders',
|
|
|
+ 'Extension Overview': 'links.extensionOverview',
|
|
|
+ 'Get Core Asset': 'links.getCoreAsset',
|
|
|
+ 'Get Core Collection': 'links.getCoreCollection',
|
|
|
+ 'Get Core Assets By Authority': 'links.getCoreAssetsByAuthority',
|
|
|
+ 'Get Core Assets By Collection': 'links.getCoreAssetsByCollection',
|
|
|
+ 'Get Core Assets By Owner': 'links.getCoreAssetsByOwner',
|
|
|
+ 'Search Core Assets': 'links.searchCoreAssets',
|
|
|
+ 'Search Core Collections': 'links.searchCoreCollections',
|
|
|
+ 'Plugin Derivation': 'links.pluginDerivation',
|
|
|
+ 'Type Conversion': 'links.typeConversion'
|
|
|
}
|
|
|
- }
|
|
|
+ })
|
|
|
}
|