/** * Structures data as returned by the API and consumed by the structures page */ interface Structure { readonly id: number, name: string, logoId: string | null, principalType: string | null, website: string | null, latitude: number | null, longitude: number | null, streetAddress: string | null, postalCode: string | null, addressCity: string | null, country: string | null, telphone: string | null, email: string | null, facebook: string | null, twitter: string | null, instagram: string | null, youtube: string | null, practices: Array, n1Id: number | null, n1Name: string | null, n2Id: number | null, n3Id: number | null, n4Id: number | null, n5Id: number | null, parents: Array, description: string | null, imageId: string | null, articles: Array<{id: number, title: string, date: string, link: string}> } interface Coordinates { latitude: number, longitude: number } /** * Items of the UiSearchAddress component */ interface Address { text: string, value: Coordinates, disabled?: boolean }