first commit
Build and deploy / build-and-push (push) Successful in 17s
Build and deploy / deploy (push) Successful in 10s

This commit is contained in:
william
2026-08-21 16:23:49 +02:00
committed by william
commit 3f4ebc4527
248 changed files with 10180 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
"""Constantes partagées de la couche données."""
import os
PROJECTS_DIR = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "projects")
# Types de champ exposés dans l'interface -> type de colonne SQLite réel.
FIELD_TYPES = {
"texte": {"label": "Texte court", "sql": "TEXT"},
"texte_long": {"label": "Texte long", "sql": "TEXT"},
"nombre_entier": {"label": "Nombre entier", "sql": "INTEGER"},
"nombre_decimal": {"label": "Nombre décimal", "sql": "REAL"},
"booleen": {"label": "Oui / Non", "sql": "INTEGER"},
"date": {"label": "Date", "sql": "TEXT"},
"relation": {"label": "Relation vers un autre objet", "sql": "INTEGER"},
}