diff --git a/docs/docs/components/data.mdx b/docs/docs/components/data.mdx index e69de29bb..94620d047 100644 --- a/docs/docs/components/data.mdx +++ b/docs/docs/components/data.mdx @@ -0,0 +1,87 @@ +import Admonition from '@theme/Admonition'; + +# Data + +### API Request + +This component makes HTTP requests to the specified URLs. + +**Params** + +- **URLs:** URLs to make requests to. +- **Method:** The HTTP method to use. +- **Headers:** The headers to send with the request. +- **Body:** The body to send with the request (for POST, PATCH, PUT). +- **Timeout:** The timeout to use for the request. + + +

+ Use this component to make HTTP requests to external APIs or services and retrieve data. +

+

+ Ensure that you provide valid URLs and configure the method, headers, body, and timeout appropriately. +

+
+ +--- + +### Directory + +This component recursively loads files from a directory. + +**Params** + +- **Path:** The path to the directory. +- **Types:** File types to load. Leave empty to load all types. +- **Depth:** Depth to search for files. +- **Max Concurrency:** The maximum number of concurrent file loading operations. +- **Load Hidden:** If true, hidden files will be loaded. +- **Recursive:** If true, the search will be recursive. +- **Silent Errors:** If true, errors will not raise an exception. +- **Use Multithreading:** If true, use multithreading for loading files. + + +

+ Use this component to load files from a directory, such as text files, JSON files, etc. +

+

+ Ensure that you provide the correct path to the directory and configure other parameters as needed. +

+
+ + +--- + +### File + +This component loads a generic file. + +**Params** + +- **Path:** The path to the file. +- **Silent Errors:** If true, errors will not raise an exception. + + +

+ Use this component to load a generic file, such as a text file, JSON file, etc. +

+

+ Ensure that you provide the correct path to the file and configure other parameters as needed. +

+
+ +--- + +### URL + +This component fetches content from one or more URLs. + +**Params** + +- **URLs:** The URLs from which content will be fetched. + + +

+ Ensure that you provide valid URLs and configure other parameters as needed. +

+
diff --git a/docs/sidebars.js b/docs/sidebars.js index a50945c7e..a63add1fc 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -37,22 +37,22 @@ module.exports = { label: "Migration Guides", collapsed: false, items: [ - "migration/flow-of-data", + // "migration/flow-of-data", "migration/inputs-and-outputs", - "migration/supported-frameworks", - "migration/sidebar-and-interaction-panel", - "migration/new-categories-and-components", - "migration/text-and-record", - "migration/custom-component", + // "migration/supported-frameworks", + // "migration/sidebar-and-interaction-panel", + // "migration/new-categories-and-components", + // "migration/text-and-record", + // "migration/custom-component", "migration/compatibility", - "migration/multiple-flows", - "migration/component-status-and-data-passing", - "migration/connecting-output-components", - "migration/renaming-and-editing-components", - "migration/passing-tweaks-and-inputs", - "migration/global-variables", - "migration/experimental-components", - "migration/state-management", + // "migration/multiple-flows", + // "migration/component-status-and-data-passing", + // "migration/connecting-output-components", + // "migration/renaming-and-editing-components", + // "migration/passing-tweaks-and-inputs", + // "migration/global-variables", + // "migration/experimental-components", + // "migration/state-management", ], }, {