interfaces.d.ts 783 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * Structures data as returned by the API and consumed by the structures page
  3. */
  4. interface Structure {
  5. readonly id: number,
  6. name: string,
  7. logoId?: string,
  8. principalType?: string,
  9. website?: string,
  10. latitude?: number,
  11. longitude?: number,
  12. streetAddress?: string,
  13. postalCode?: string,
  14. addressCity?: string,
  15. country?: string,
  16. telphone?: string,
  17. email?: string,
  18. facebook?: string,
  19. twitter?: string,
  20. practices: Array<string>,
  21. n1Id: number | null,
  22. n1Name: string | null,
  23. n2Id: number | null,
  24. n3Id: number | null,
  25. n4Id: number | null,
  26. n5Id: number | null,
  27. parents: Array<string>
  28. }
  29. /**
  30. * Items of the UiSearchAddress component
  31. */
  32. interface Address {
  33. text: string,
  34. value: { longitude: number, latitude: number },
  35. disabled?: boolean
  36. }