mgtypes 1.0.92 → 1.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/Content.ts +11 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mgtypes",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "types for mg development",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/types/Content.ts CHANGED
@@ -47,7 +47,7 @@ export interface mgContentReference {
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
49
  referencedContent: {
50
- content:mgContent;
50
+ content: mgContent;
51
51
  tags: mgTag[];
52
52
  contentable: mgContentable;
53
53
  user: mgUser;
@@ -243,12 +243,16 @@ export interface mgRoute {
243
243
  */
244
244
  export interface mgMapBillboard {
245
245
  title: string;
246
- icon: string | null;
247
- latitude: number;
248
- longitude: number;
249
- iconColor: string | null;
250
- image: string | null;
251
- boundingBox: Position[];
246
+ image?: string;
247
+ icon?: string;
248
+ iconColor?: string;
249
+ coordinate: Position;
250
+ CAMERA_INSTRUCTIONS: {
251
+ centerCoordinate: Position;
252
+ zoomLevel: number;
253
+ pitch?: number;
254
+ heading?: number;
255
+ };
252
256
  }
253
257
  export interface mgMapBillboards {
254
258
  zoomThresholds: number[];