Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / indexer / IndexerAPICommentReferenceURLWebPageSchemaType

Type Alias: IndexerAPICommentReferenceURLWebPageSchemaType

type IndexerAPICommentReferenceURLWebPageSchemaType = {
  description: null | string;
  favicon: null | string;
  opengraph:   | null
     | {
     description: null | string;
     image: string;
     title: string;
     url: string;
   };
  position: {
     end: number;
     start: number;
  };
  title: string;
  type: "webpage";
  url: string;
};

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

Type declaration

description

description: null | string;

favicon

favicon: null | string;

opengraph

opengraph: 
  | null
  | {
  description: null | string;
  image: string;
  title: string;
  url: string;
};

position

position: {
  end: number;
  start: number;
} = IndexerAPICommentReferencePositionSchema;

position.end

end: number;

position.start

start: number;

title

title: string;

type

type: "webpage";

url

url: string;