aboutsummaryrefslogtreecommitdiff
blob: 9b3aa6d4877e9f30d37daebfdc93b110f6bd8632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { FeatureCollection } from 'geojson';
import MediaItem from './MediaItem';

export default interface Group {
  /**
   * ID of the group used in URLs.
   */
  id: string;

  /**
   * Name of the group.
   */
  name?: string;

  /**
   * Description of the group.
   */

  description?: string;

  /**
   * Medias in the group.
   */
  media: MediaItem[];

  /**
   * Geo data track info in GeoJSON format.
   */
  geoData?: FeatureCollection[];

  /**
   * Metadata that can be displayed in the description.
   */
  metadata?: { [key: string]: string | number };
}