Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / IndexerAPIReportsListPendingSchemaType

Type Alias: IndexerAPIReportsListPendingSchemaType

type IndexerAPIReportsListPendingSchemaType = {
  pagination: {
     endCursor?: `0x${string}`;
     hasNext: boolean;
     hasPrevious: boolean;
     limit: number;
     startCursor?: `0x${string}`;
  };
  results: {
     commentId: `0x${string}`;
     createdAt: Date;
     id: string;
     message: string;
     reportee: `0x${string}`;
     status: "pending" | "resolved" | "closed";
     updatedAt: Date;
  }[];
};

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

Type declaration

pagination

pagination: {
  endCursor?: `0x${string}`;
  hasNext: boolean;
  hasPrevious: boolean;
  limit: number;
  startCursor?: `0x${string}`;
} = IndexerAPICursorPaginationSchema;

pagination.endCursor?

optional endCursor: `0x${string}`;

pagination.hasNext

hasNext: boolean;

pagination.hasPrevious

hasPrevious: boolean;

pagination.limit

limit: number;

pagination.startCursor?

optional startCursor: `0x${string}`;

results

results: {
  commentId: `0x${string}`;
  createdAt: Date;
  id: string;
  message: string;
  reportee: `0x${string}`;
  status: "pending" | "resolved" | "closed";
  updatedAt: Date;
}[];