interfaces.d.ts 900 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 | null,
  8. principalType: string | null,
  9. website: string | null,
  10. latitude: number | null,
  11. longitude: number | null,
  12. streetAddress: string | null,
  13. postalCode: string | null,
  14. addressCity: string | null,
  15. country: string | null,
  16. telphone: string | null,
  17. email: string | null,
  18. facebook: string | null,
  19. twitter: string | null,
  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<number>
  28. }
  29. interface Coordinates {
  30. latitude: number,
  31. longitude: number
  32. }
  33. /**
  34. * Items of the UiSearchAddress component
  35. */
  36. interface Address {
  37. text: string,
  38. value: Coordinates,
  39. disabled?: boolean
  40. }