Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / IndexerAPICommentSchemaInputType

Type Alias: IndexerAPICommentSchemaInputType

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

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

Type declaration

reactionCounts

reactionCounts: Record<string, number>;

replies

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

replies.extra

extra: IndexerAPIExtraSchemaType;

replies.pagination

pagination: IndexerAPICursorRepliesPaginationSchemaType;

replies.results

results: IndexerAPICommentSchemaInputType[];

viewerReactions

viewerReactions: Record<string, IndexerAPICommentSchemaInputType[]>;