Initial commit

This commit is contained in:
jingrow 2025-10-27 04:02:18 +08:00
commit ad3f0174f3
12 changed files with 153 additions and 0 deletions

18
.gitignore vendored Normal file
View File

@ -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/

1
jin/__init__.py Normal file
View File

@ -0,0 +1 @@
__version__ = "0.0.1"

0
jin/config/__init__.py Normal file
View File

6
jin/hooks.py Normal file
View File

@ -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"

0
jin/jform/__init__.py Normal file
View File

View File

View File

View File

@ -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": []
}

14
jin/jin.json Normal file
View File

@ -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编辑器"
}

0
jin/jin/__init__.py Normal file
View File

1
jin/modules.txt Normal file
View File

@ -0,0 +1 @@
Jin

0
jin/public/.gitkeep Normal file
View File