add warning description

This commit is contained in:
Henry
2023-07-08 01:55:44 +01:00
parent 5b55ca0389
commit 7e076028df
5 changed files with 24 additions and 4 deletions
@@ -58,7 +58,8 @@ class Cheerio_DocumentLoaders implements INode {
default: 10,
optional: true,
additionalParams: true,
description: 'Set 0 to crawl/scrape all relative links'
description: 'Set 0 to crawl/scrape all relative links',
warning: `Scraping all links might take long time, and all links will be upserted again if the flow's state changed (eg: different URL, chunk size, etc) `
},
{
label: 'Metadata',
@@ -58,7 +58,8 @@ class Playwright_DocumentLoaders implements INode {
default: 10,
optional: true,
additionalParams: true,
description: 'Set 0 to crawl/scrape all relative links'
description: 'Set 0 to crawl/scrape all relative links',
warning: `Scraping all links might take long time, and all links will be upserted again if the flow's state changed (eg: different URL, chunk size, etc) `
},
{
label: 'Metadata',
@@ -58,7 +58,8 @@ class Puppeteer_DocumentLoaders implements INode {
default: 10,
optional: true,
additionalParams: true,
description: 'Set 0 to crawl/scrape all relative links'
description: 'Set 0 to crawl/scrape all relative links',
warning: `Scraping all links might take long time, and all links will be upserted again if the flow's state changed (eg: different URL, chunk size, etc) `
},
{
label: 'Metadata',
+1
View File
@@ -57,6 +57,7 @@ export interface INodeParams {
type: NodeParamsType | string
default?: CommonType | ICommonObject | ICommonObject[]
description?: string
warning?: string
options?: Array<INodeOptionsValue>
optional?: boolean | INodeDisplay
rows?: number