Indexer.ts
This module interfaces with the indexer to source data.
Added in v2.0.0
Signature
export declare class IndexerErrorAdded in v2.0.0
Signature
static fromClientError(error: ClientError)Added in v2.0.0
Source: src/Indexer.ts:42
A “generic” GraphQL request containing document and variables. TODO: This should be defined on a per-request basis, which not only will provide better type safety but also abstract over GraphQL backing.
Signature
export declare class IndexerRequestAdded in v2.0.0
Signature
;[PrimaryKey.symbol]()Added in v2.0.0
Source: src/Indexer.ts:147
Signature
export declare class GetPacketHashBySubmissionTxHashAdded in v2.0.0
Source: src/Indexer.ts:177
Define TTL strategy given some GQL document.
NOTE: Determines TTL by virtue of custom @cached directive.
Signature
export declare class GraphQLCacheAdded in v2.0.0
Source: src/Indexer.ts:83
Signature
export declare class IndexerAdded in v2.0.0
Source: src/Indexer.ts:194
Signature
export declare const operationNamesFromDocumentNode: <T extends TadaDocumentNode<any, any>>(doc: T) => string[]Source: src/Indexer.ts:68
Added in v2.0.0