Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scrapegraph-js",
"version": "2.0.1",
"version": "2.1.0",
"description": "Official JavaScript/TypeScript SDK for the ScrapeGraph AI API — smart web scraping powered by AI",
"type": "module",
"main": "dist/index.js",
Expand Down
151 changes: 104 additions & 47 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,55 +13,112 @@ export {
} from "./scrapegraphai.js";

export type {
ApiFetchConfig,
ApiFetchContentType,
ApiHtmlMode,
ApiScrapeFormatEntry,
ApiScrapeRequest,
ApiScrapeResponse,
ApiScrapeFormat,
ApiScrapeResultMap,
ApiExtractRequest,
ApiExtractResponse,
ApiSearchRequest,
ApiSearchResponse,
ApiSearchResult,
ApiCrawlRequest,
ApiCrawlResponse,
ApiCrawlResult,
ApiCrawlPage,
ApiCrawlStatus,
ApiCrawlPageStatus,
ApiMonitorCreateInput,
ApiMonitorUpdateInput,
ApiMonitorResponse,
ApiMonitorResult,
ApiMonitorDiffs,
ApiMonitorActivityParams,
ApiMonitorActivityResponse,
ApiMonitorTickEntry,
ApiMonitorTickStatus,
ApiHistoryFilter,
ApiHistoryEntry,
ApiHistoryPage,
ApiHistoryService,
ApiHistoryStatus,
ApiCreditsResponse,
ApiHealthResponse,
ApiResult,
ApiTokenUsage,
ApiChunkerMetadata,
ApiBranding,
Branding,
BrandingColors,
BrandingFontEntry,
BrandingImages,
BrandingMetadata,
BrandingPersonality,
BrandingTypography,
ChunkerMetadata,
ContentPageMetadata,
CrawlHistoryEntry,
CrawlPage,
CrawlPageStatus,
CrawlRequest,
CrawlResponse,
CrawlResult,
CrawlStatus,
CreditsJobs,
CreditsResponse,
ExtractHistoryEntry,
ExtractRequest,
ExtractResponse,
FetchConfig,
FetchContentType,
FetchMode,
FetchWarning,
FetchWarningReason,
FormatConfig,
FormatError,
FormatMetadataMap,
FormatResponseMap,
FormatType,
HealthResponse,
HistoryEntry,
HistoryFilter,
HistoryPage,
HistoryPagination,
HistoryStatus,
HtmlMode,
ImageChange,
ImageContentType,
JobsStatus,
JsonChange,
MarkdownFormatConfig,
HtmlFormatConfig,
ScreenshotFormatConfig,
JsonFormatConfig,
LinksFormatConfig,
ImagesFormatConfig,
SummaryFormatConfig,
BrandingFormatConfig,
MockConfig,
MonitorActivityRequest,
MonitorActivityResponse,
MonitorCreateRequest,
MonitorDiffs,
MonitorHistoryEntry,
MonitorRefs,
MonitorResponse,
MonitorResult,
MonitorTickEntry,
MonitorTickStatus,
MonitorUpdateRequest,
PageResponse,
ScrapeHistoryEntry,
ScrapeMetadata,
ScrapeRequest,
ScrapeResponse,
ScrapeResultMap,
ScreenshotData,
SearchHistoryEntry,
SearchMetadata,
SearchRequest,
SearchResponse,
SearchResult,
Service,
SetChange,
TextChange,
TimeRange,
TokenUsage,
WebhookStatus,
} from "./types.js";

export {
apiScrapeRequestSchema,
apiExtractRequestBaseSchema,
apiSearchRequestSchema,
apiCrawlRequestSchema,
apiMonitorCreateSchema,
apiMonitorUpdateSchema,
apiHistoryFilterSchema,
apiFetchConfigSchema,
apiScrapeFormatEntrySchema,
brandingFormatConfigSchema,
crawlRequestSchema,
extractRequestSchema,
fetchConfigSchema,
fetchContentTypeSchema,
fetchModeSchema,
formatConfigSchema,
historyFilterSchema,
htmlFormatConfigSchema,
htmlModeSchema,
imagesFormatConfigSchema,
jsonFormatConfigSchema,
linksFormatConfigSchema,
markdownFormatConfigSchema,
mockConfigSchema,
monitorActivityRequestSchema,
monitorCreateRequestSchema,
monitorUpdateRequestSchema,
scrapeRequestSchema,
screenshotFormatConfigSchema,
searchRequestSchema,
serviceSchema,
summaryFormatConfigSchema,
timeRangeSchema,
} from "./schemas.js";
Loading
Loading