30 lines
1.6 KiB
JSON
30 lines
1.6 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(python -m venv .venv)",
|
|
"Bash(source .venv/Scripts/activate)",
|
|
"Bash(pip install:*)",
|
|
"Bash(py --version)",
|
|
"Bash(python3 -m venv .venv)",
|
|
"Bash(python3 -m venv /d/noval/backend/.venv)",
|
|
"Bash(python3 -m venv D:/noval/backend/.venv)",
|
|
"Bash(python3 -c \"import sys; print\\(sys.executable, sys.version\\)\")",
|
|
"Bash(py -3 --version)",
|
|
"Bash(py -3 -c \"import sys; print\\(sys.executable\\)\")",
|
|
"Bash(py -3 -m venv D:/noval/backend/.venv)",
|
|
"Bash(D:/noval/backend/.venv/Scripts/pip install:*)",
|
|
"Bash(npm create:*)",
|
|
"Bash(D:/noval/backend/.venv/Scripts/python -c \"from app.database import init_db; init_db\\(\\); print\\(''DB init OK''\\)\")",
|
|
"Bash(.venv/Scripts/python -c \"from app.database import init_db; init_db\\(\\); print\\(''DB init OK''\\)\")",
|
|
"Bash(curl -s -X POST http://127.0.0.1:8000/api/novels -H \"Content-Type: application/json; charset=utf-8\" --data-raw \"{\"\"title\"\":\"\"Test Novel\"\",\"\"description\"\":\"\"A test description\"\"}\")",
|
|
"Bash(curl -s http://127.0.0.1:8000/api/novels)",
|
|
"Bash(curl -s -X POST http://127.0.0.1:8000/api/novels -H \"Content-Type: application/json\" --data-raw \"{\"\"title\"\":\"\"Novel A\"\",\"\"description\"\":\"\"Desc A\"\"}\")",
|
|
"Bash(curl -s -X POST http://127.0.0.1:8000/api/novels -H \"Content-Type: application/json\" --data-raw \"{\"\"title\"\":\"\"Novel B\"\",\"\"description\"\":\"\"Desc B\"\"}\")",
|
|
"Bash(taskkill //F //IM uvicorn.exe)",
|
|
"Bash(taskkill //F //IM python.exe)",
|
|
"Bash(git add:*)",
|
|
"Bash(git commit:*)"
|
|
]
|
|
}
|
|
}
|