n_a_types 3.0.6 → 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.
- package/V3.ts +20 -7
- 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 = {
|
|
@@ -49,7 +50,8 @@ export type Area = {
|
|
|
49
50
|
directions: string | null;
|
|
50
51
|
approach: string | null;
|
|
51
52
|
aspect: string | null;
|
|
52
|
-
swipeDirection: AreaSwipeDirection
|
|
53
|
+
swipeDirection: AreaSwipeDirection;
|
|
54
|
+
accessClosureDescription: string | null;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
export type ClimbImageGroup = {
|
|
@@ -74,12 +76,12 @@ export type ClimbImageGroup = {
|
|
|
74
76
|
image: string;
|
|
75
77
|
areaId: number | null;
|
|
76
78
|
areaName: string;
|
|
77
|
-
sortOrder: number
|
|
79
|
+
sortOrder: number;
|
|
78
80
|
anchors: Coord[];
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
export type Climb = {
|
|
82
|
-
primaryClimbImageGroup
|
|
84
|
+
primaryClimbImageGroup: ({
|
|
83
85
|
climbPaths: {
|
|
84
86
|
id: number;
|
|
85
87
|
climbId: number | null;
|
|
@@ -91,9 +93,10 @@ export type Climb = {
|
|
|
91
93
|
image: string;
|
|
92
94
|
areaId: number | null;
|
|
93
95
|
areaName: string;
|
|
94
|
-
sortOrder: number
|
|
96
|
+
sortOrder: number;
|
|
95
97
|
anchors: Coord[];
|
|
96
|
-
}),
|
|
98
|
+
}) | null,
|
|
99
|
+
primaryClimbImageGroupid: number | null,
|
|
97
100
|
climbImageGroups: ({
|
|
98
101
|
climbPaths: {
|
|
99
102
|
id: number;
|
|
@@ -106,7 +109,7 @@ export type Climb = {
|
|
|
106
109
|
image: string;
|
|
107
110
|
areaId: number | null;
|
|
108
111
|
areaName: string;
|
|
109
|
-
sortOrder: number
|
|
112
|
+
sortOrder: number;
|
|
110
113
|
anchors: Coord[];
|
|
111
114
|
})[];
|
|
112
115
|
id: number;
|
|
@@ -130,6 +133,15 @@ export type Climb = {
|
|
|
130
133
|
guidebookId: number | null;
|
|
131
134
|
topo3DUrl: string | null;
|
|
132
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;
|
|
133
145
|
}
|
|
134
146
|
|
|
135
147
|
export type POI = {
|
|
@@ -155,5 +167,6 @@ export type GuidebookProductData = {
|
|
|
155
167
|
heroImage: string;
|
|
156
168
|
state: string;
|
|
157
169
|
accessTrailPolylines: TrailPolyline[];
|
|
170
|
+
digitalGuidePrice: number;
|
|
158
171
|
}[], apiVersion: number;
|
|
159
172
|
}
|