merge fix

This commit is contained in:
cristhianzl 2024-05-29 20:15:29 -03:00
commit 6bbb3688ee
3 changed files with 7774 additions and 7141 deletions

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,10 @@
{ {
"id": "RecordsToText-Q69g5", "id": "RecordsToText-Q69g5",
"type": "genericNode", "type": "genericNode",
"position": { "x": -2671.5528488127866, "y": -963.4266471378126 }, "position": {
"x": -2671.5528488127866,
"y": -963.4266471378126
},
"data": { "data": {
"type": "RecordsToText", "type": "RecordsToText",
"node": { "node": {
@ -45,18 +48,26 @@
"info": "The Notion integration token.", "info": "The Notion integration token.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "" "value": ""
}, },
"_type": "CustomComponent" "_type": "CustomComponent"
}, },
"description": "Retrieve users from Notion.", "description": "Retrieve users from Notion.",
"icon": "NotionDirectoryLoader", "icon": "NotionDirectoryLoader",
"base_classes": ["Record"], "base_classes": [
"Record"
],
"display_name": "List Users [Notion] ", "display_name": "List Users [Notion] ",
"documentation": "https://docs.langflow.org/integrations/notion/list-users", "documentation": "https://docs.langflow.org/integrations/notion/list-users",
"custom_fields": { "notion_secret": null }, "custom_fields": {
"output_types": ["Record"], "notion_secret": null
},
"output_types": [
"Record"
],
"field_formatters": {}, "field_formatters": {},
"frozen": false, "frozen": false,
"field_order": [], "field_order": [],
@ -78,7 +89,10 @@
{ {
"id": "CustomComponent-PU0K5", "id": "CustomComponent-PU0K5",
"type": "genericNode", "type": "genericNode",
"position": { "x": -3077.2269116193215, "y": -960.9450220159636 }, "position": {
"x": -3077.2269116193215,
"y": -960.9450220159636
},
"data": { "data": {
"type": "CustomComponent", "type": "CustomComponent",
"node": { "node": {
@ -118,7 +132,9 @@
"info": "The ID of the Notion database.", "info": "The ID of the Notion database.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"] "input_types": [
"Text"
]
}, },
"notion_secret": { "notion_secret": {
"type": "str", "type": "str",
@ -137,7 +153,9 @@
"info": "The Notion integration token.", "info": "The Notion integration token.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "" "value": ""
}, },
"properties": { "properties": {
@ -158,13 +176,19 @@
"info": "The properties of the new page. Depending on your database setup, this can change. E.G: {'Task name': {'id': 'title', 'type': 'title', 'title': [{'type': 'text', 'text': {'content': 'Send Notion Components to LF', 'link': null}}]}}", "info": "The properties of the new page. Depending on your database setup, this can change. E.G: {'Task name': {'id': 'title', 'type': 'title', 'title': [{'type': 'text', 'text': {'content': 'Send Notion Components to LF', 'link': null}}]}}",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"] "input_types": [
"Text"
]
}, },
"_type": "CustomComponent" "_type": "CustomComponent"
}, },
"description": "A component for creating Notion pages.", "description": "A component for creating Notion pages.",
"icon": "NotionDirectoryLoader", "icon": "NotionDirectoryLoader",
"base_classes": ["object", "str", "Text"], "base_classes": [
"object",
"str",
"Text"
],
"display_name": "Create Page [Notion] ", "display_name": "Create Page [Notion] ",
"documentation": "https://docs.langflow.org/integrations/notion/page-create", "documentation": "https://docs.langflow.org/integrations/notion/page-create",
"custom_fields": { "custom_fields": {
@ -172,7 +196,9 @@
"notion_secret": null, "notion_secret": null,
"properties": null "properties": null
}, },
"output_types": ["Text"], "output_types": [
"Text"
],
"field_formatters": {}, "field_formatters": {},
"frozen": false, "frozen": false,
"field_order": [], "field_order": [],
@ -194,7 +220,10 @@
{ {
"id": "CustomComponent-YODla", "id": "CustomComponent-YODla",
"type": "genericNode", "type": "genericNode",
"position": { "x": -3485.297183150799, "y": -362.8525892356713 }, "position": {
"x": -3485.297183150799,
"y": -362.8525892356713
},
"data": { "data": {
"type": "CustomComponent", "type": "CustomComponent",
"node": { "node": {
@ -234,7 +263,9 @@
"info": "The ID of the Notion database.", "info": "The ID of the Notion database.",
"load_from_db": true, "load_from_db": true,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "NOTION_NMSTX_DB_ID" "value": "NOTION_NMSTX_DB_ID"
}, },
"notion_secret": { "notion_secret": {
@ -254,18 +285,27 @@
"info": "The Notion integration token.", "info": "The Notion integration token.",
"load_from_db": true, "load_from_db": true,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "" "value": ""
}, },
"_type": "CustomComponent" "_type": "CustomComponent"
}, },
"description": "Retrieve properties of a Notion database.", "description": "Retrieve properties of a Notion database.",
"icon": "NotionDirectoryLoader", "icon": "NotionDirectoryLoader",
"base_classes": ["Record"], "base_classes": [
"Record"
],
"display_name": "List Database Properties [Notion] ", "display_name": "List Database Properties [Notion] ",
"documentation": "https://docs.langflow.org/integrations/notion/list-database-properties", "documentation": "https://docs.langflow.org/integrations/notion/list-database-properties",
"custom_fields": { "database_id": null, "notion_secret": null }, "custom_fields": {
"output_types": ["Record"], "database_id": null,
"notion_secret": null
},
"output_types": [
"Record"
],
"field_formatters": {}, "field_formatters": {},
"frozen": false, "frozen": false,
"field_order": [], "field_order": [],
@ -279,12 +319,18 @@
"width": 384, "width": 384,
"height": 383, "height": 383,
"dragging": false, "dragging": false,
"positionAbsolute": { "x": -3485.297183150799, "y": -362.8525892356713 } "positionAbsolute": {
"x": -3485.297183150799,
"y": -362.8525892356713
}
}, },
{ {
"id": "CustomComponent-wHlSz", "id": "CustomComponent-wHlSz",
"type": "genericNode", "type": "genericNode",
"position": { "x": -2668.7714642455403, "y": -657.2376228212606 }, "position": {
"x": -2668.7714642455403,
"y": -657.2376228212606
},
"data": { "data": {
"type": "CustomComponent", "type": "CustomComponent",
"node": { "node": {
@ -324,7 +370,9 @@
"info": "The Notion integration token.", "info": "The Notion integration token.",
"load_from_db": true, "load_from_db": true,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "" "value": ""
}, },
"page_id": { "page_id": {
@ -344,7 +392,9 @@
"info": "The ID of the Notion page to update.", "info": "The ID of the Notion page to update.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"] "input_types": [
"Text"
]
}, },
"properties": { "properties": {
"type": "str", "type": "str",
@ -363,14 +413,18 @@
"info": "The properties to update on the page (as a JSON string).", "info": "The properties to update on the page (as a JSON string).",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "{ \"title\": [ { \"text\": { \"content\": \"Test Page\" } } ] }" "value": "{ \"title\": [ { \"text\": { \"content\": \"Test Page\" } } ] }"
}, },
"_type": "CustomComponent" "_type": "CustomComponent"
}, },
"description": "Update the properties of a Notion page.", "description": "Update the properties of a Notion page.",
"icon": "NotionDirectoryLoader", "icon": "NotionDirectoryLoader",
"base_classes": ["Record"], "base_classes": [
"Record"
],
"display_name": "Update Page Property [Notion]", "display_name": "Update Page Property [Notion]",
"documentation": "https://docs.langflow.org/integrations/notion/page-update", "documentation": "https://docs.langflow.org/integrations/notion/page-update",
"custom_fields": { "custom_fields": {
@ -378,7 +432,9 @@
"properties": null, "properties": null,
"notion_secret": null "notion_secret": null
}, },
"output_types": ["Record"], "output_types": [
"Record"
],
"field_formatters": {}, "field_formatters": {},
"frozen": false, "frozen": false,
"field_order": [], "field_order": [],
@ -400,7 +456,10 @@
{ {
"id": "CustomComponent-oelYw", "id": "CustomComponent-oelYw",
"type": "genericNode", "type": "genericNode",
"position": { "x": -2253.1007124701327, "y": -448.47240118604134 }, "position": {
"x": -2253.1007124701327,
"y": -448.47240118604134
},
"data": { "data": {
"type": "CustomComponent", "type": "CustomComponent",
"node": { "node": {
@ -440,7 +499,9 @@
"info": "The Notion integration token.", "info": "The Notion integration token.",
"load_from_db": true, "load_from_db": true,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "" "value": ""
}, },
"page_id": { "page_id": {
@ -460,17 +521,26 @@
"info": "The ID of the Notion page to retrieve.", "info": "The ID of the Notion page to retrieve.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"] "input_types": [
"Text"
]
}, },
"_type": "CustomComponent" "_type": "CustomComponent"
}, },
"description": "Retrieve the content of a Notion page as plain text.", "description": "Retrieve the content of a Notion page as plain text.",
"icon": "NotionDirectoryLoader", "icon": "NotionDirectoryLoader",
"base_classes": ["Record"], "base_classes": [
"Record"
],
"display_name": "Page Content Viewer [Notion] ", "display_name": "Page Content Viewer [Notion] ",
"documentation": "https://docs.langflow.org/integrations/notion/page-content-viewer", "documentation": "https://docs.langflow.org/integrations/notion/page-content-viewer",
"custom_fields": { "page_id": null, "notion_secret": null }, "custom_fields": {
"output_types": ["Record"], "page_id": null,
"notion_secret": null
},
"output_types": [
"Record"
],
"field_formatters": {}, "field_formatters": {},
"frozen": false, "frozen": false,
"field_order": [], "field_order": [],
@ -492,7 +562,10 @@
{ {
"id": "CustomComponent-Pn52w", "id": "CustomComponent-Pn52w",
"type": "genericNode", "type": "genericNode",
"position": { "x": -3070.9222948695096, "y": -472.4537855763852 }, "position": {
"x": -3070.9222948695096,
"y": -472.4537855763852
},
"data": { "data": {
"type": "CustomComponent", "type": "CustomComponent",
"node": { "node": {
@ -532,7 +605,9 @@
"info": "The ID of the Notion database to query.", "info": "The ID of the Notion database to query.",
"load_from_db": true, "load_from_db": true,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "NOTION_NMSTX_DB_ID" "value": "NOTION_NMSTX_DB_ID"
}, },
"notion_secret": { "notion_secret": {
@ -552,7 +627,9 @@
"info": "The Notion integration token.", "info": "The Notion integration token.",
"load_from_db": true, "load_from_db": true,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "" "value": ""
}, },
"query_payload": { "query_payload": {
@ -573,13 +650,17 @@
"info": "A JSON string containing the filters that will be used for querying the database. EG: {'filter': {'property': 'Status', 'status': {'equals': 'In progress'}}}", "info": "A JSON string containing the filters that will be used for querying the database. EG: {'filter': {'property': 'Status', 'status': {'equals': 'In progress'}}}",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"] "input_types": [
"Text"
]
}, },
"_type": "CustomComponent" "_type": "CustomComponent"
}, },
"description": "Query a Notion database with filtering and sorting. The input should be a JSON string containing the 'filter' and 'sorts' objects. Example input:\n{\"filter\": {\"property\": \"Status\", \"select\": {\"equals\": \"Done\"}}, \"sorts\": [{\"timestamp\": \"created_time\", \"direction\": \"descending\"}]}", "description": "Query a Notion database with filtering and sorting. The input should be a JSON string containing the 'filter' and 'sorts' objects. Example input:\n{\"filter\": {\"property\": \"Status\", \"select\": {\"equals\": \"Done\"}}, \"sorts\": [{\"timestamp\": \"created_time\", \"direction\": \"descending\"}]}",
"icon": "NotionDirectoryLoader", "icon": "NotionDirectoryLoader",
"base_classes": ["Record"], "base_classes": [
"Record"
],
"display_name": "List Pages [Notion] ", "display_name": "List Pages [Notion] ",
"documentation": "https://docs.langflow.org/integrations/notion/list-pages", "documentation": "https://docs.langflow.org/integrations/notion/list-pages",
"custom_fields": { "custom_fields": {
@ -587,10 +668,16 @@
"database_id": null, "database_id": null,
"query_payload": null "query_payload": null
}, },
"output_types": ["Record"], "output_types": [
"Record"
],
"field_formatters": {}, "field_formatters": {},
"frozen": false, "frozen": false,
"field_order": ["notion_secret", "database_id", "query_payload"], "field_order": [
"notion_secret",
"database_id",
"query_payload"
],
"beta": false "beta": false
}, },
"id": "CustomComponent-Pn52w", "id": "CustomComponent-Pn52w",
@ -609,7 +696,10 @@
{ {
"id": "CustomComponent-I8Dec", "id": "CustomComponent-I8Dec",
"type": "genericNode", "type": "genericNode",
"position": { "x": -2256.686402636563, "y": -963.4541117792749 }, "position": {
"x": -2256.686402636563,
"y": -963.4541117792749
},
"data": { "data": {
"type": "CustomComponent", "type": "CustomComponent",
"node": { "node": {
@ -631,7 +721,9 @@
"info": "The ID of the page/block to add the content.", "info": "The ID of the page/block to add the content.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"] "input_types": [
"Text"
]
}, },
"code": { "code": {
"type": "code", "type": "code",
@ -668,7 +760,9 @@
"info": "The markdown text to convert to Notion blocks.", "info": "The markdown text to convert to Notion blocks.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "# Heading 1\n\n## Heading 2\n\n### Heading 3\n\nThis is a regular paragraph.\n\nHere's another paragraph with an image:\n![Image](https://example.com/image.jpg)\n\n## Checklist\n- [x] Completed task\n- [ ] Incomplete task\n- [x] Another completed task\n\n## Numbered List\n1. First item\n2. Second item\n3. Third item\n\n## Bulleted List\n- Item 1\n- Item 2\n- Item 3\n\n## Code Block\n```python\ndef hello_world():\n print(\"Hello, World!\")\n```\n\n## Quote\n> This is a blockquote.\n> It can span multiple lines.\n\n## Horizontal Rule\n---\n\n\n## Link\n[Notion API Documentation](https://developers.notion.com)\n\n" "value": "# Heading 1\n\n## Heading 2\n\n### Heading 3\n\nThis is a regular paragraph.\n\nHere's another paragraph with an image:\n![Image](https://example.com/image.jpg)\n\n## Checklist\n- [x] Completed task\n- [ ] Incomplete task\n- [x] Another completed task\n\n## Numbered List\n1. First item\n2. Second item\n3. Third item\n\n## Bulleted List\n- Item 1\n- Item 2\n- Item 3\n\n## Code Block\n```python\ndef hello_world():\n print(\"Hello, World!\")\n```\n\n## Quote\n> This is a blockquote.\n> It can span multiple lines.\n\n## Horizontal Rule\n---\n\n\n## Link\n[Notion API Documentation](https://developers.notion.com)\n\n"
}, },
"notion_secret": { "notion_secret": {
@ -688,14 +782,18 @@
"info": "The Notion integration token.", "info": "The Notion integration token.",
"load_from_db": true, "load_from_db": true,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "" "value": ""
}, },
"_type": "CustomComponent" "_type": "CustomComponent"
}, },
"description": "Convert markdown text to Notion blocks and append them to a Notion page.", "description": "Convert markdown text to Notion blocks and append them to a Notion page.",
"icon": "NotionDirectoryLoader", "icon": "NotionDirectoryLoader",
"base_classes": ["Record"], "base_classes": [
"Record"
],
"display_name": "Add Content to Page [Notion] ", "display_name": "Add Content to Page [Notion] ",
"documentation": "https://developers.notion.com/reference/patch-block-children", "documentation": "https://developers.notion.com/reference/patch-block-children",
"custom_fields": { "custom_fields": {
@ -703,7 +801,9 @@
"block_id": null, "block_id": null,
"notion_secret": null "notion_secret": null
}, },
"output_types": ["Record"], "output_types": [
"Record"
],
"field_formatters": {}, "field_formatters": {},
"frozen": false, "frozen": false,
"field_order": [], "field_order": [],
@ -724,7 +824,10 @@
{ {
"id": "CustomComponent-ZcsA9", "id": "CustomComponent-ZcsA9",
"type": "genericNode", "type": "genericNode",
"position": { "x": -3488.029350341937, "y": -965.3756250644985 }, "position": {
"x": -3488.029350341937,
"y": -965.3756250644985
},
"data": { "data": {
"type": "CustomComponent", "type": "CustomComponent",
"node": { "node": {
@ -758,7 +861,10 @@
"fileTypes": [], "fileTypes": [],
"file_path": "", "file_path": "",
"password": false, "password": false,
"options": ["page", "database"], "options": [
"page",
"database"
],
"name": "filter_value", "name": "filter_value",
"display_name": "Filter Type", "display_name": "Filter Type",
"advanced": false, "advanced": false,
@ -766,7 +872,9 @@
"info": "Limits the results to either only pages or only databases.", "info": "Limits the results to either only pages or only databases.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"] "input_types": [
"Text"
]
}, },
"notion_secret": { "notion_secret": {
"type": "str", "type": "str",
@ -785,7 +893,9 @@
"info": "The Notion integration token.", "info": "The Notion integration token.",
"load_from_db": true, "load_from_db": true,
"title_case": false, "title_case": false,
"input_types": ["Text"], "input_types": [
"Text"
],
"value": "" "value": ""
}, },
"query": { "query": {
@ -806,7 +916,9 @@
"info": "The text that the API compares page and database titles against.", "info": "The text that the API compares page and database titles against.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"] "input_types": [
"Text"
]
}, },
"sort_direction": { "sort_direction": {
"type": "str", "type": "str",
@ -819,7 +931,10 @@
"fileTypes": [], "fileTypes": [],
"file_path": "", "file_path": "",
"password": false, "password": false,
"options": ["ascending", "descending"], "options": [
"ascending",
"descending"
],
"name": "sort_direction", "name": "sort_direction",
"display_name": "Sort Direction", "display_name": "Sort Direction",
"advanced": false, "advanced": false,
@ -827,13 +942,17 @@
"info": "The direction to sort the results.", "info": "The direction to sort the results.",
"load_from_db": false, "load_from_db": false,
"title_case": false, "title_case": false,
"input_types": ["Text"] "input_types": [
"Text"
]
}, },
"_type": "CustomComponent" "_type": "CustomComponent"
}, },
"description": "Searches all pages and databases that have been shared with an integration.", "description": "Searches all pages and databases that have been shared with an integration.",
"icon": "NotionDirectoryLoader", "icon": "NotionDirectoryLoader",
"base_classes": ["Record"], "base_classes": [
"Record"
],
"display_name": "Search [Notion]", "display_name": "Search [Notion]",
"documentation": "https://docs.langflow.org/integrations/notion/search", "documentation": "https://docs.langflow.org/integrations/notion/search",
"custom_fields": { "custom_fields": {
@ -842,7 +961,9 @@
"filter_value": null, "filter_value": null,
"sort_direction": null "sort_direction": null
}, },
"output_types": ["Record"], "output_types": [
"Record"
],
"field_formatters": {}, "field_formatters": {},
"frozen": false, "frozen": false,
"field_order": [ "field_order": [