n_a_types 3.0.7 → 3.0.9

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 +26 -6
  2. package/package.json +1 -1
package/V3.ts CHANGED
@@ -16,13 +16,18 @@ export type Guidebook = {
16
16
  title: string;
17
17
  author: string;
18
18
  coverImage: string;
19
+ coverImageNew: Image | null;
19
20
  description: string;
20
21
  isFreeSampleGuidebook: boolean;
21
22
  version: number;
22
23
  heroImage: string;
24
+ heroImageNew: Image | null;
23
25
  state: string;
24
26
  accessTrailPolylines: TrailPolyline[];
25
- parkingInfo: POI[]
27
+ parkingInfo: POI[];
28
+ digitalGuidePrice: number;
29
+ coverImageS3Key: string | null;
30
+ heroImageS3Key: string | null;
26
31
  }
27
32
 
28
33
  export type Section = {
@@ -75,12 +80,12 @@ export type ClimbImageGroup = {
75
80
  image: string;
76
81
  areaId: number | null;
77
82
  areaName: string;
78
- sortOrder: number | null;
83
+ sortOrder: number;
79
84
  anchors: Coord[];
80
85
  }
81
86
 
82
87
  export type Climb = {
83
- primaryClimbImageGroup?: ({
88
+ primaryClimbImageGroup: ({
84
89
  climbPaths: {
85
90
  id: number;
86
91
  climbId: number | null;
@@ -92,9 +97,10 @@ export type Climb = {
92
97
  image: string;
93
98
  areaId: number | null;
94
99
  areaName: string;
95
- sortOrder: number | null;
100
+ sortOrder: number;
96
101
  anchors: Coord[];
97
- }),
102
+ }) | null,
103
+ primaryClimbImageGroupid: number | null,
98
104
  climbImageGroups: ({
99
105
  climbPaths: {
100
106
  id: number;
@@ -107,7 +113,7 @@ export type Climb = {
107
113
  image: string;
108
114
  areaId: number | null;
109
115
  areaName: string;
110
- sortOrder: number | null;
116
+ sortOrder: number;
111
117
  anchors: Coord[];
112
118
  })[];
113
119
  id: number;
@@ -131,6 +137,15 @@ export type Climb = {
131
137
  guidebookId: number | null;
132
138
  topo3DUrl: string | null;
133
139
  overviewImageURL: string | null;
140
+ additionalImages: Image[];
141
+ }
142
+
143
+ export type Image = {
144
+ s3Key: string;
145
+ s3URL: string;
146
+ description: string | null;
147
+ blurhash: string | null;
148
+ climbId: number | null;
134
149
  }
135
150
 
136
151
  export type POI = {
@@ -156,5 +171,10 @@ export type GuidebookProductData = {
156
171
  heroImage: string;
157
172
  state: string;
158
173
  accessTrailPolylines: TrailPolyline[];
174
+ digitalGuidePrice: number;
175
+ coverImageNew: Image | null;
176
+ heroImageNew: Image | null;
177
+ coverImageS3Key: string | null;
178
+ heroImageS3Key: string | null;
159
179
  }[], apiVersion: number;
160
180
  }
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.9",
4
4
  "description": "types",
5
5
  "main": "index.ts",
6
6
  "author": "",