feat(codev): M1 - NocoDB table schema + 3 endpoints API + runtimeConfig

This commit is contained in:
Jules Neny
2026-05-06 15:56:19 +02:00
parent 5eda4bd53d
commit 5103942698
5 changed files with 146 additions and 0 deletions

18
types/codev.ts Normal file
View File

@@ -0,0 +1,18 @@
export interface CodevFiche {
id: number
nom: string
besoin: string
offre: string
hashtags: string[] // parsé depuis CSV NocoDB
created_at: string // ISO
}
export interface CodevMatch {
fromId: number
toId: number
score: number // 0-1
mode: 'solution' | 'alliance' | 'surprise'
// solution : fromId.besoin matche toId.offre (orienté)
// alliance : symétrique sur besoin
// surprise : symétrique sur offre
}