22 lines
1.1 KiB
JSON
22 lines
1.1 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(curl -X POST \"http://localhost:3001/api/nodes\" -H \"Content-Type: application/json\" -d \"{\\\\\"id\\\\\":\\\\\"test_node_1\\\\\",\\\\\"label\\\\\":\\\\\"测试节点\\\\\",\\\\\"type\\\\\":\\\\\"测试类型\\\\\",\\\\\"x\\\\\":100,\\\\\"y\\\\\":200}\" -s)",
|
|
"Bash(curl -X PUT \"http://localhost:3001/api/nodes/test_node_1\" -H \"Content-Type: application/json\" -d \"{\\\\\"label\\\\\":\\\\\"更新后的测试节点\\\\\",\\\\\"x\\\\\":150}\" -s)",
|
|
"Bash(curl:*)",
|
|
"Bash(~/go/bin/swag init:*)",
|
|
"Bash(go run:*)",
|
|
"Bash(go list:*)",
|
|
"Bash(cat \"D:\\\\code\\\\knowledge-graph-agent\\\\backend\\\\handlers\"/*.go)",
|
|
"Bash(cat \"D:\\\\code\\\\knowledge-graph-agent\\\\backend\\\\neo4j\"/*.go)",
|
|
"Bash(mkdir:*)",
|
|
"Bash(go build:*)",
|
|
"Bash(sed -i 's/models\\\\./model\\\\./g' internal/service/neo4j_service.go)",
|
|
"Bash(sed -i 's/models\\\\./model\\\\./g' internal/handler/*.go)",
|
|
"Bash(sed -i 's/models\\\\./model\\\\./g' cmd/server/main.go)",
|
|
"Bash(go test:*)",
|
|
"Bash(swag init:*)"
|
|
]
|
|
}
|
|
}
|