19 lines
451 B
TypeScript
19 lines
451 B
TypeScript
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
|
|
}
|