Skip to content

Commit

Permalink
Updated tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicF96 committed Aug 7, 2024
1 parent 99062d4 commit 0b71f50
Show file tree
Hide file tree
Showing 67 changed files with 871 additions and 13 deletions.
Empty file.
2 changes: 1 addition & 1 deletion data/chains/V2/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is auto-generated on pre-commit to avoid maintaining it.
// Do not modify manually as it will be overwritten.
// Last generation on 8/7/2024, 2:24:44 PM.
// Last generation on 8/7/2024, 3:00:02 PM.

export { default as arbone } from './arbone/meta';
export { default as arbgoerli } from './arbone/testnets/arbgoerli/meta';
Expand Down
2 changes: 1 addition & 1 deletion data/index.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Chains under ordered were manually placed, to manage the z-index (priority order) of chains.
// Chains under missing are generated from available data, make sure to order them.
// Include deprecated or future chains.
// Last generation on 8/7/2024, 2:24:44 PM.
// Last generation on 8/7/2024, 3:00:02 PM.

export default {
ordered: {
Expand Down
4 changes: 4 additions & 0 deletions dist/data/services.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { ServiceEndpoint } from '../types/service.types';
declare const services: Array<ServiceEndpoint>;
export default services;
//# sourceMappingURL=services.d.ts.map
1 change: 1 addition & 0 deletions dist/data/services.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions dist/data/services.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/data/services.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/types/block.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export type BlockType = {
label: string;
url: string;
};
//# sourceMappingURL=block.types.d.ts.map
1 change: 1 addition & 0 deletions dist/types/block.types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/types/block.types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/block.types.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 93 additions & 0 deletions dist/types/chain.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
import { BlockType } from './block.types';
import { GraphID } from './graph.types';
import { PinaxID } from './pinax.types';
import {
___InternalConsensusLayerServices,
___InternalSupportedServices,
ConsensusLayerServices,
SupportedServices,
} from './service.types';
import { Standard } from './standard.types';
export type ChainBase = {
id: PinaxID;
name: string;
alt_names: string[];
graph_id: GraphID | null;
index?: number;
standard: Standard | null;
is_detailed_blocks: boolean;
block_type: BlockType;
};
export type ___InternalTestnet = ChainBase & {
supported_services: ___InternalSupportedServices;
metadata?: {
deprecated_replacing_chain?: PinaxID;
};
};
export type ___InternalConsensusLayer = ChainBase & {
supported_services: ___InternalConsensusLayerServices;
};
export type ___InternalEVM = ChainBase & {
supported_services: ___InternalSupportedServices;
};
/**
* Describes the Data that needs to be provided for a Chain.
*
* The Chain type theb extends the Chain type to include
* the generated fields.
*/
export interface ___InternalChain extends ChainBase {
icon: {
id: string;
brand_theme: 'light' | 'dark' | 'both';
variants?: Array<'branded' | 'mono'>;
};
supported_services: ___InternalSupportedServices;
testnets?: Array<___InternalTestnet>;
consensus?: Array<___InternalConsensusLayer>;
evms?: Array<___InternalEVM>;
metadata?: {
layer?: 'L0' | 'L1' | 'L2' | 'L3';
website?: string;
mainchain_id?: PinaxID | string;
tags?: string[];
deprecated_replacing_chain?: PinaxID;
};
}
export type Testnet = ChainBase & {
supported_services: SupportedServices;
metadata?: {
deprecated_replacing_chain?: PinaxID;
};
};
export type ConsensusLayer = ChainBase & {
supported_services: ConsensusLayerServices;
};
export type EVM = ChainBase & {
supported_services: SupportedServices;
};
/**
* Describes the Data that needs to be provided for a Chain.
*
* The Chain type theb extends the Chain type to include
* the generated fields.
*/
export interface Chain extends ChainBase {
icon: {
id: string;
brand_theme: 'light' | 'dark' | 'both';
variants?: Array<'branded' | 'mono'>;
};
supported_services: SupportedServices;
testnets?: Array<Testnet>;
consensus?: Array<ConsensusLayer>;
evms?: Array<EVM>;
metadata?: {
layer?: 'L0' | 'L1' | 'L2' | 'L3';
website?: string;
mainchain_id?: PinaxID | string;
tags?: string[];
deprecated_replacing_chain?: PinaxID;
};
}
//# sourceMappingURL=chain.types.d.ts.map
1 change: 1 addition & 0 deletions dist/types/chain.types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/types/chain.types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/chain.types.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions dist/types/graph.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
export type GraphID =
| 'arbitrum-nova'
| 'arbitrum-one'
| 'arbitrum-sepolia'
| 'arweave-mainnet'
| 'astar-zkevm-mainnet'
| 'aurora'
| 'aurora-testnet'
| 'avalanche'
| 'base'
| 'base-sepolia'
| 'blast-mainnet'
| 'blast-testnet'
| 'boba'
| 'bsc'
| 'btc'
| 'celo'
| 'celo-alfajores'
| 'chapel'
| 'cosmoshub-4'
| 'etherlink-mainnet'
| 'etherlink-testnet'
| 'fantom'
| 'fantom-testnet'
| 'fuji'
| 'fuse'
| 'gnosis'
| 'gnosis-chiado'
| 'gravity-mainnet'
| 'gravity-testnet'
| 'harmony'
| 'holesky'
| 'iotex'
| 'iotex-testnet'
| 'linea'
| 'linea-sepolia'
| 'mainnet'
| 'matic'
| 'mbase'
| 'mode-mainnet'
| 'mode-sepolia'
| 'moonbeam'
| 'moonriver'
| 'near-mainnet'
| 'near-testnet'
| 'neox'
| 'neox-testnet'
| 'optimism'
| 'optimism-sepolia'
| 'osmo-test-4'
| 'osmosis-1'
| 'polygon-amoy'
| 'polygon-zkevm'
| 'polygon-zkevm-cardona'
| 'rootstock'
| 'scroll'
| 'scroll-sepolia'
| 'sei-atlantic'
| 'sei-mainnet'
| 'sei-testnet'
| 'sepolia'
| 'solana-mainnet-beta'
| 'theta-testnet-001'
| 'xlayer-mainnet'
| 'xlayer-sepolia'
| 'zksync-era'
| 'zksync-era-sepolia'
| 'zksync-era-testnet'
| 'zkyoto-testnet';
//# sourceMappingURL=graph.types.d.ts.map
1 change: 1 addition & 0 deletions dist/types/graph.types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/types/graph.types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/graph.types.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export * from './block.types';
export * from './chain.types';
export * from './graph.types';
export * from './pinax.types';
export * from './service.types';
export * from './standard.types';
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions dist/types/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/types/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions dist/types/pinax.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
export type PinaxID =
| 'arbone'
| 'arbgoerli'
| 'arbsepolia'
| 'arweave'
| 'avalanche'
| 'base'
| 'bitcoin'
| 'blast'
| 'blastsepolia'
| 'boba'
| 'bobasepolia'
| 'bsc'
| 'chapel'
| 'cardano'
| 'celo'
| 'alfajores'
| 'cosmoshub'
| 'juno'
| 'theta'
| 'cronos'
| 'decimal'
| 'eosevm'
| 'eos'
| 'jungle4'
| 'kylin'
| 'eth-cl'
| 'goerli-cl'
| 'holesky-cl'
| 'sepolia-cl'
| 'eth'
| 'goerli'
| 'holesky'
| 'sepolia'
| 'fantom'
| 'fuse'
| 'chiado-cl'
| 'gnosis-cl'
| 'gnosis'
| 'chiado'
| 'kava'
| 'linea'
| 'litecoin'
| 'mode'
| 'moonbeam'
| 'near'
| 'neartest'
| 'optimism'
| 'ore'
| 'orestage'
| 'osmosis'
| 'polygon'
| 'amoy'
| 'mumbai'
| 'ronin'
| 'scroll'
| 'sei'
| 'starknet'
| 'telos'
| 'telostest'
| 'wax'
| 'waxtest'
| 'x-layer'
| 'xai'
| 'zkastar'
| 'zkatana'
| 'zkyoto'
| 'zksync'
| 'zora';
//# sourceMappingURL=pinax.types.d.ts.map
1 change: 1 addition & 0 deletions dist/types/pinax.types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/types/pinax.types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/pinax.types.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions dist/types/service.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
export type ConsensusLayerServiceID = 'substreams' | 'firehose';
export type ServiceID = ConsensusLayerServiceID | 'rpc';
export type ServiceEndpoint = {
name: string;
endpoint_slug: ServiceID;
port: number;
};
export type ___InternalConsensusLayerServices = {
[key in ConsensusLayerServiceID]: ServiceStatusDates;
};
export type ___InternalSupportedServices = {
[key in ServiceID]: ServiceStatusDates;
};
export type ServiceStatusDates = {
beta_released_at: string | null;
full_released_at: string | null;
deprecated_at: string | null;
};
export type ConsensusLayerServices = {
[key in ConsensusLayerServiceID]: ServiceStatusDates;
};
export type SupportedServices = {
[key in ServiceID]: ServiceStatusDates;
};
//# sourceMappingURL=service.types.d.ts.map
1 change: 1 addition & 0 deletions dist/types/service.types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/types/service.types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/service.types.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions dist/types/standard.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export type Standard =
| 'antelope'
| 'arweave'
| 'brc20'
| 'cosmos'
| 'erc20'
| 'ltc20'
| 'near'
| 'rrc20'
| 'sei'
| 'cardano';
//# sourceMappingURL=standard.types.d.ts.map
1 change: 1 addition & 0 deletions dist/types/standard.types.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0b71f50

Please sign in to comment.