Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / IndexerAPICommentSchemaType

Type Alias: IndexerAPICommentSchemaType

type IndexerAPICommentSchemaType = BaseIndexerAPICommentSchemaType & {
  reactionCounts: Record<string, number>;
  replies: {
     extra: IndexerAPIExtraSchemaType;
     pagination: IndexerAPICursorRepliesPaginationSchemaType;
     results: IndexerAPICommentSchemaType[];
  };
  viewerReactions: Record<string, IndexerAPICommentSchemaType[]>;
};

Defined in: packages/sdk/src/indexer/schemas.ts:461

Type declaration

reactionCounts

reactionCounts: Record<string, number>;

replies

replies: {
  extra: IndexerAPIExtraSchemaType;
  pagination: IndexerAPICursorRepliesPaginationSchemaType;
  results: IndexerAPICommentSchemaType[];
};

replies.extra

extra: IndexerAPIExtraSchemaType;

replies.pagination

pagination: IndexerAPICursorRepliesPaginationSchemaType;

replies.results

results: IndexerAPICommentSchemaType[];

viewerReactions

viewerReactions: Record<string, IndexerAPICommentSchemaType[]>;