Pipelinen parannuksia building blockeilla
This commit is contained in:
43
zipit/template_runs/tmpl_v1/spec.json
Normal file
43
zipit/template_runs/tmpl_v1/spec.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"project_name": "todo-app",
|
||||
"description": "A simple Todo application with CRUD endpoints using FastAPI and SQLite.",
|
||||
"entities": [
|
||||
{
|
||||
"name": "Todo",
|
||||
"table_name": "todos",
|
||||
"fields": [
|
||||
{
|
||||
"name": "title",
|
||||
"sa_type": "String(255)",
|
||||
"py_type": "str",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "description",
|
||||
"sa_type": "Text",
|
||||
"py_type": "str | None",
|
||||
"nullable": true,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "due_date",
|
||||
"sa_type": "Date",
|
||||
"py_type": "date | None",
|
||||
"nullable": true,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"sa_type": "String(20)",
|
||||
"py_type": "str",
|
||||
"nullable": false,
|
||||
"default": "pending"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"extra_imports": [
|
||||
"from datetime import date"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user