Skip to content

Commit

Permalink
fix: frontend typings
Browse files Browse the repository at this point in the history
feat: more scraping form stuff

fix: more form fixes

fix: only add scraping settings if expanded

fix: validate form
  • Loading branch information
drew-harris committed Oct 10, 2024
1 parent d4c389b commit 8364a30
Show file tree
Hide file tree
Showing 5 changed files with 764 additions and 768 deletions.
4 changes: 3 additions & 1 deletion clients/ts-sdk/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -7597,9 +7597,11 @@
"CrawlShopifyOptions": {
"type": "object",
"title": "CrawlShopifyOptions",
"description": "Options for Crawling Shopify",
"properties": {
"boost_item_names": {
"group_variants": {
"type": "boolean",
"description": "This option will ingest all variants as individual chunks and place them in groups by product id. Turning this off will only scrape 1 variant per product. default: true",
"nullable": true
}
}
Expand Down
8 changes: 7 additions & 1 deletion clients/ts-sdk/src/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,14 @@ export type CrawlOptions = {
site_url?: (string) | null;
};

/**
* Options for Crawling Shopify
*/
export type CrawlShopifyOptions = {
boost_item_names?: (boolean) | null;
/**
* This option will ingest all variants as individual chunks and place them in groups by product id. Turning this off will only scrape 1 variant per product. default: true
*/
group_variants?: (boolean) | null;
};

export type CreateBatchChunkGroupReqPayload = Array<CreateSingleChunkGroupReqPayload>;
Expand Down
Loading

0 comments on commit 8364a30

Please sign in to comment.