| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- /**
- * Structures data as returned by the API and consumed by the structures page
- */
- interface Address {
- type: string,
- // type: 'ADDRESS_PRACTICE' | 'ADDRESS_OTHER' | 'ADDRESS_HEAD_OFFICE' | 'ADDRESS_CONTACT' | 'ADDRESS_BILL',
- latitude: number,
- longitude: number,
- streetAddress: string,
- postalCode: string,
- addressCity: string,
- country: string
- }
- interface Article {
- id: number,
- date: string,
- link: string,
- title: string
- }
- interface Structure {
- readonly id: number,
- name: string,
- logoId: string | null,
- type: string | null,
- website: string | null,
- mapAddress: Address | null,
- postalAddress: Address | null,
- addresses: Array<Address>,
- phone: string | null,
- mobilePhone: string | null,
- email: string | null,
- facebook: string | null,
- twitter: string | null,
- instagram: string | null,
- youtube: string | null,
- practices: Array<string>,
- parentId: number | null,
- parentName: string | null,
- parents: Array<number>,
- description: string | null,
- imageId: string | null,
- articles: Array<Article>
- }
- interface Coordinates {
- latitude: number,
- longitude: number
- }
- /**
- * Items of the UiSearchAddress component
- */
- interface UiSearchAddressItem {
- text: string,
- value: Coordinates,
- disabled?: boolean
- }
- interface PublicEvent {
- uuid: string,
- organizationId: number,
- name: string,
- description: string,
- url: string,
- datetimeStart: Date,
- datetimeEnd: Date,
- address: Address | null,
- roomName: string,
- roomDescription: string,
- roomCapacity: string,
- roomFloorSize: string,
- imageId: number,
- categories: Array<string>,
- origin: string,
- entityId: number
- }
- interface DateRange {
- start: string,
- end: string
- }
- interface DateRangePreset {
- label: string,
- range: DateRange
- }
|