diff --git a/src/index.ts b/src/index.ts index a56053c..4270122 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,6 +31,9 @@ type Options = { }; type Result = Summary & { + /** + * The actual url of that web page + */ url: string; }; diff --git a/src/summary.ts b/src/summary.ts index e5921fd..25d3c56 100644 --- a/src/summary.ts +++ b/src/summary.ts @@ -1,8 +1,27 @@ type Summary = { + /** + * The description of that web page + */ description: string; + + /** + * The url of the icon of that web page + */ icon: string; + + /** + * The name of site of that web page + */ sitename: string; + + /** + * The url of the thumbnail of that web page + */ thumbnail: string; + + /** + * The title of that web page + */ title: string; }