feat(aep): carte AEP — push Gitea 2026-04-28
This commit is contained in:
38
types/org.ts
Normal file
38
types/org.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* 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
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user