summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/open-graph-scraper/dist/lib/openGraphScraper.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/addressbook/node_modules/open-graph-scraper/dist/lib/openGraphScraper.d.ts')
-rw-r--r--includes/external/addressbook/node_modules/open-graph-scraper/dist/lib/openGraphScraper.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/open-graph-scraper/dist/lib/openGraphScraper.d.ts b/includes/external/addressbook/node_modules/open-graph-scraper/dist/lib/openGraphScraper.d.ts
new file mode 100644
index 0000000..2e2947c
--- /dev/null
+++ b/includes/external/addressbook/node_modules/open-graph-scraper/dist/lib/openGraphScraper.d.ts
@@ -0,0 +1,12 @@
+import type { OpenGraphScraperOptions } from './types';
+/**
+ * sets up options for the got request and calls extract on html
+ *
+ * @param {object} options - options for ogs
+ * @return {object} object with ogs results
+ *
+ */
+export default function setOptionsAndReturnOpenGraphResults(options: OpenGraphScraperOptions): Promise<{
+ ogObject: import("./types").OgObject;
+ response: any;
+}>;