n_a_types 3.0.7 → 3.0.8

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/V3.ts +18 -6
  2. package/package.json +1 -1
package/V3.ts CHANGED
@@ -22,7 +22,8 @@ export type Guidebook = {
22
22
  heroImage: string;
23
23
  state: string;
24
24
  accessTrailPolylines: TrailPolyline[];
25
- parkingInfo: POI[]
25
+ parkingInfo: POI[];
26
+ digitalGuidePrice: number
26
27
  }
27
28
 
28
29
  export type Section = {
@@ -75,12 +76,12 @@ export type ClimbImageGroup = {
75
76
  image: string;
76
77
  areaId: number | null;
77
78
  areaName: string;
78
- sortOrder: number | null;
79
+ sortOrder: number;
79
80
  anchors: Coord[];
80
81
  }
81
82
 
82
83
  export type Climb = {
83
- primaryClimbImageGroup?: ({
84
+ primaryClimbImageGroup: ({
84
85
  climbPaths: {
85
86
  id: number;
86
87
  climbId: number | null;
@@ -92,9 +93,10 @@ export type Climb = {
92
93
  image: string;
93
94
  areaId: number | null;
94
95
  areaName: string;
95
- sortOrder: number | null;
96
+ sortOrder: number;
96
97
  anchors: Coord[];
97
- }),
98
+ }) | null,
99
+ primaryClimbImageGroupid: number | null,
98
100
  climbImageGroups: ({
99
101
  climbPaths: {
100
102
  id: number;
@@ -107,7 +109,7 @@ export type Climb = {
107
109
  image: string;
108
110
  areaId: number | null;
109
111
  areaName: string;
110
- sortOrder: number | null;
112
+ sortOrder: number;
111
113
  anchors: Coord[];
112
114
  })[];
113
115
  id: number;
@@ -131,6 +133,15 @@ export type Climb = {
131
133
  guidebookId: number | null;
132
134
  topo3DUrl: string | null;
133
135
  overviewImageURL: string | null;
136
+ additionalImages: Image[];
137
+ }
138
+
139
+ export type Image = {
140
+ s3Key: string;
141
+ s3URL: string;
142
+ description: string | null;
143
+ blurhash: string | null;
144
+ climbId: number | null;
134
145
  }
135
146
 
136
147
  export type POI = {
@@ -156,5 +167,6 @@ export type GuidebookProductData = {
156
167
  heroImage: string;
157
168
  state: string;
158
169
  accessTrailPolylines: TrailPolyline[];
170
+ digitalGuidePrice: number;
159
171
  }[], apiVersion: number;
160
172
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n_a_types",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "types",
5
5
  "main": "index.ts",
6
6
  "author": "",