cloudflare
Version:
The official TypeScript library for the Cloudflare API
78 lines • 4.1 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BrowserRendering = exports.BaseBrowserRendering = void 0;
const tslib_1 = require("../../internal/tslib.js");
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
const resource_1 = require("../../core/resource.js");
const AccessibilityTreeAPI = tslib_1.__importStar(require("./accessibility-tree.js"));
const accessibility_tree_1 = require("./accessibility-tree.js");
const ContentAPI = tslib_1.__importStar(require("./content.js"));
const content_1 = require("./content.js");
const CrawlAPI = tslib_1.__importStar(require("./crawl.js"));
const crawl_1 = require("./crawl.js");
const JsonAPI = tslib_1.__importStar(require("./json.js"));
const json_1 = require("./json.js");
const LinksAPI = tslib_1.__importStar(require("./links.js"));
const links_1 = require("./links.js");
const MarkdownAPI = tslib_1.__importStar(require("./markdown.js"));
const markdown_1 = require("./markdown.js");
const PDFAPI = tslib_1.__importStar(require("./pdf.js"));
const pdf_1 = require("./pdf.js");
const ScrapeAPI = tslib_1.__importStar(require("./scrape.js"));
const scrape_1 = require("./scrape.js");
const ScreenshotAPI = tslib_1.__importStar(require("./screenshot.js"));
const screenshot_1 = require("./screenshot.js");
const SnapshotAPI = tslib_1.__importStar(require("./snapshot.js"));
const snapshot_1 = require("./snapshot.js");
const DevtoolsAPI = tslib_1.__importStar(require("./devtools/devtools.js"));
const devtools_1 = require("./devtools/devtools.js");
var BaseBrowserRendering = /* @__PURE__ */ (() => {
class BaseBrowserRendering extends resource_1.APIResource {
}
BaseBrowserRendering._key = Object.freeze(['browserRendering']);
return BaseBrowserRendering;
})();
exports.BaseBrowserRendering = BaseBrowserRendering;
var BrowserRendering = /* @__PURE__ */ (() => {
class BrowserRendering extends BaseBrowserRendering {
constructor() {
super(...arguments);
this.content = new ContentAPI.Content(this._client);
this.pdf = new PDFAPI.PDF(this._client);
this.scrape = new ScrapeAPI.Scrape(this._client);
this.screenshot = new ScreenshotAPI.Screenshot(this._client);
this.snapshot = new SnapshotAPI.Snapshot(this._client);
this.json = new JsonAPI.Json(this._client);
this.links = new LinksAPI.Links(this._client);
this.markdown = new MarkdownAPI.Markdown(this._client);
this.accessibilityTree = new AccessibilityTreeAPI.AccessibilityTree(this._client);
this.crawl = new CrawlAPI.Crawl(this._client);
this.devtools = new DevtoolsAPI.Devtools(this._client);
}
}
BrowserRendering.Content = content_1.Content;
BrowserRendering.BaseContent = content_1.BaseContent;
BrowserRendering.PDF = pdf_1.PDF;
BrowserRendering.BasePDF = pdf_1.BasePDF;
BrowserRendering.Scrape = scrape_1.Scrape;
BrowserRendering.BaseScrape = scrape_1.BaseScrape;
BrowserRendering.Screenshot = screenshot_1.Screenshot;
BrowserRendering.BaseScreenshot = screenshot_1.BaseScreenshot;
BrowserRendering.Snapshot = snapshot_1.Snapshot;
BrowserRendering.BaseSnapshot = snapshot_1.BaseSnapshot;
BrowserRendering.Json = json_1.Json;
BrowserRendering.BaseJson = json_1.BaseJson;
BrowserRendering.Links = links_1.Links;
BrowserRendering.BaseLinks = links_1.BaseLinks;
BrowserRendering.Markdown = markdown_1.Markdown;
BrowserRendering.BaseMarkdown = markdown_1.BaseMarkdown;
BrowserRendering.AccessibilityTree = accessibility_tree_1.AccessibilityTree;
BrowserRendering.BaseAccessibilityTree = accessibility_tree_1.BaseAccessibilityTree;
BrowserRendering.Crawl = crawl_1.Crawl;
BrowserRendering.BaseCrawl = crawl_1.BaseCrawl;
BrowserRendering.Devtools = devtools_1.Devtools;
BrowserRendering.BaseDevtools = devtools_1.BaseDevtools;
return BrowserRendering;
})();
exports.BrowserRendering = BrowserRendering;
//# sourceMappingURL=browser-rendering.js.map