From ad3f0174f3319be7aa40e361de239a6a44d4f6ec Mon Sep 17 00:00:00 2001 From: jingrow Date: Mon, 27 Oct 2025 04:02:18 +0800 Subject: [PATCH] Initial commit --- .gitignore | 18 ++++ jin/__init__.py | 1 + jin/config/__init__.py | 0 jin/hooks.py | 6 ++ jin/jform/__init__.py | 0 jin/jform/pagetype/__init__.py | 0 jin/jform/pagetype/ai_node/__init__.py | 0 jin/jform/pagetype/ai_node/ai_node.json | 113 ++++++++++++++++++++++++ jin/jin.json | 14 +++ jin/jin/__init__.py | 0 jin/modules.txt | 1 + jin/public/.gitkeep | 0 12 files changed, 153 insertions(+) create mode 100644 .gitignore create mode 100644 jin/__init__.py create mode 100644 jin/config/__init__.py create mode 100644 jin/hooks.py create mode 100644 jin/jform/__init__.py create mode 100644 jin/jform/pagetype/__init__.py create mode 100644 jin/jform/pagetype/ai_node/__init__.py create mode 100644 jin/jform/pagetype/ai_node/ai_node.json create mode 100644 jin/jin.json create mode 100644 jin/jin/__init__.py create mode 100644 jin/modules.txt create mode 100644 jin/public/.gitkeep diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..21b2cc7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +*.pyc +*.py~ +*.comp.js +*.DS_Store +*.swp +*.egg-info +dist/ +__pycache__/ +*.py[cod] +.env +.cursor/ +node_modules +*.rdb +dump.rdb +test/ +output/ +files/ + diff --git a/jin/__init__.py b/jin/__init__.py new file mode 100644 index 0000000..f102a9c --- /dev/null +++ b/jin/__init__.py @@ -0,0 +1 @@ +__version__ = "0.0.1" diff --git a/jin/config/__init__.py b/jin/config/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/jin/hooks.py b/jin/hooks.py new file mode 100644 index 0000000..8b34a43 --- /dev/null +++ b/jin/hooks.py @@ -0,0 +1,6 @@ +app_name = "jin" +app_title = "Jin" +app_publisher = "Your Company" +app_description = "jin" +app_email = "support@yourcompany.com" +app_license = "mit" diff --git a/jin/jform/__init__.py b/jin/jform/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/jin/jform/pagetype/__init__.py b/jin/jform/pagetype/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/jin/jform/pagetype/ai_node/__init__.py b/jin/jform/pagetype/ai_node/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/jin/jform/pagetype/ai_node/ai_node.json b/jin/jform/pagetype/ai_node/ai_node.json new file mode 100644 index 0000000..932482a --- /dev/null +++ b/jin/jform/pagetype/ai_node/ai_node.json @@ -0,0 +1,113 @@ +{ + "actions": [], + "allow_rename": 1, + "creation": "2025-10-21 01:59:36.998573", + "custom": 1, + "engine": "InnoDB", + "field_order": [ + "node_type", + "node_label", + "node_icon", + "node_color", + "column_break_fhva", + "node_group", + "node_component", + "node_description", + "status", + "section_break_tvjm", + "node_schema" + ], + "fields": [ + { + "fieldname": "node_type", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Node Type", + "unique": 1 + }, + { + "fieldname": "node_label", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Node Label", + "search_index": 1 + }, + { + "fieldname": "node_icon", + "fieldtype": "Data", + "in_list_view": 1, + "label": "Node Icon" + }, + { + "fieldname": "node_color", + "fieldtype": "Color", + "label": "Node Color" + }, + { + "fieldname": "column_break_fhva", + "fieldtype": "Column Break" + }, + { + "fieldname": "node_group", + "fieldtype": "Select", + "in_list_view": 1, + "label": "Node Group", + "options": "\nAI\n输入\n输出\n控制\n数据\n监控" + }, + { + "fieldname": "node_component", + "fieldtype": "Select", + "in_list_view": 1, + "label": "Node Component", + "options": "GenericNode\nMultiOutputNode" + }, + { + "fieldname": "node_description", + "fieldtype": "Small Text", + "label": "Node Description" + }, + { + "fieldname": "status", + "fieldtype": "Select", + "in_list_view": 1, + "label": "Status", + "options": "Published\nUnpublished\nDraft" + }, + { + "fieldname": "section_break_tvjm", + "fieldtype": "Section Break" + }, + { + "fieldname": "node_schema", + "fieldtype": "JSON", + "label": "Node Schema" + } + ], + "grid_page_length": 50, + "index_web_pages_for_search": 1, + "links": [], + "modified": "2025-10-21 02:33:57.313356", + "modified_by": "Administrator", + "module": "Jform", + "name": "Ai Node", + "owner": "Administrator", + "pagetype": "PageType", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "row_format": "Dynamic", + "sort_field": "modified", + "sort_order": "DESC", + "states": [] +} \ No newline at end of file diff --git a/jin/jin.json b/jin/jin.json new file mode 100644 index 0000000..3fcacd8 --- /dev/null +++ b/jin/jin.json @@ -0,0 +1,14 @@ +{ + "creation": "2025-10-21 01:59:36.978758", + "idx": 7, + "license": "### MIT License\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this\nsoftware and associated documentation files (the \"Software\"), to deal in the Software\nwithout restriction, including without limitation the rights to use, copy, modify, merge,\npublish, distribute, sublicense, and/or sell copies of the Software, and to permit persons\nto whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies\nor substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\nINCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\nUSE OR OTHER DEALINGS IN THE SOFTWARE.\n", + "license_type": "MIT License", + "modified": "2025-10-21 01:59:36.978758", + "modified_by": "Administrator", + "name": "jin", + "owner": "Administrator", + "package_name": "jin", + "pagestatus": 0, + "pagetype": "Package", + "readme": "Jform\n可视化Schema编辑器" +} \ No newline at end of file diff --git a/jin/jin/__init__.py b/jin/jin/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/jin/modules.txt b/jin/modules.txt new file mode 100644 index 0000000..e9a73ee --- /dev/null +++ b/jin/modules.txt @@ -0,0 +1 @@ +Jin diff --git a/jin/public/.gitkeep b/jin/public/.gitkeep new file mode 100644 index 0000000..e69de29