Règle posée (CKPT-AEP-1211-B4b-RECAP §4 point 4) : une posture lue dans NocoDB s'affiche sans source par posture ; la source reste au mapping. Une ligne au type vide retombe sur le mapping pour les deux colonnes. Recoupé sur la base réelle : 91 lignes, 0 écart avec le mapping. Suite taxonomie 41 → 56. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
/**
|
|
* Interface canonique Org — NAV V2
|
|
* Source unique : types/org.ts
|
|
* Importée dans pages/index.vue, pages/fiche/[id].vue, composants.
|
|
*/
|
|
export interface Org {
|
|
Id: number
|
|
nom: string
|
|
// Champs V1 (legacy — conservés pour compatibilité OrgCard)
|
|
type_org?: string
|
|
// Taxonomie N (B4b-2, colonnes NocoDB du 12/11) : choix unique, choix multiple en « a,b »
|
|
type_organisation?: string | null
|
|
postures?: string | string[] | null
|
|
description?: string
|
|
tags?: string
|
|
lien?: string
|
|
// Champs V2
|
|
echelle?: string
|
|
tags_fonction?: string
|
|
territoire?: string
|
|
localisation_ville?: string
|
|
latitude?: number | null
|
|
longitude?: number | null
|
|
url?: string
|
|
prioritaire?: boolean
|
|
moderation_status?: string
|
|
// Contenu enrichi IA
|
|
description_user?: string
|
|
description_enrichie?: string
|
|
points_cles?: string | null
|
|
// Statuts traitement
|
|
ai_processed?: boolean
|
|
scrape_status?: string
|
|
submitted_by_email?: string
|
|
submitted_at?: string
|
|
moderated_at?: string
|
|
moderator_note?: string
|
|
// Hiérarchie (V2.5)
|
|
parent_id?: number | null
|
|
is_root?: boolean | null
|
|
}
|