Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / IndexerAPICommentOutputSchemaType

Type Alias: IndexerAPICommentOutputSchemaType

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

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

Type declaration

reactionCounts

reactionCounts: Record<string, number>;

replies

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

replies.extra

extra: IndexerAPIExtraSchemaType;

replies.pagination

pagination: IndexerAPICursorRepliesPaginationSchemaType;

replies.results

results: IndexerAPICommentOutputSchemaType[];

viewerReactions

viewerReactions: Record<string, IndexerAPICommentOutputSchemaType[]>;