aboutsummaryrefslogtreecommitdiff
blob: c0d281d790bfa026db55e3fa8b6dd16d344ab045 (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
36
37
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;

  /**
   * Media 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 };

  [key: string]: any;
}