n_a_types 3.0.24 → 3.0.26

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 +13 -2
  2. package/package.json +1 -1
package/V3.ts CHANGED
@@ -8,7 +8,6 @@ export type AreaSwipeDirection = 'LEFT_TO_RIGHT' | 'RIGHT_TO_LEFT';
8
8
  import type { GeoJSONFeature, GeoJSONMultiPolygon } from "zod-geojson";
9
9
  export type GeojsonFeaturePolygon = GeoJSONFeature;
10
10
  export type ClimbLogAttemptType = 'FLASH' | 'REDPOINT' | 'ONSIGHT' | 'ATTEMPT';
11
-
12
11
  export type GradeFeedbackTag = 'SOFT' | 'SOLID' | 'SANDBAG';
13
12
 
14
13
  ///GUIDEBOOK FETCH
@@ -38,6 +37,15 @@ export type Guidebook = {
38
37
  heroImageS3Key: string | null;
39
38
  swipeDirection: AreaSwipeDirection;
40
39
  longDescription: string | null;
40
+ mapInfoAreas: {
41
+ id: string;
42
+ mapLabel: string;
43
+ infoSheetTitle: string;
44
+ infoSheetBody: string;
45
+ infoExternalWebLink: string | null;
46
+ guidebookId: number | null;
47
+ boundaryPolyline: LatLong[];
48
+ }[]
41
49
  }
42
50
 
43
51
  export type Section = {
@@ -250,5 +258,8 @@ export type ClimbFeedback = {
250
258
  export type ClimbFeedbackAggregateData = {
251
259
  climbId: number,
252
260
  tags: Record<GradeFeedbackTag, number>,
253
- averageUserStarRating: number | null
261
+ averageUserStarRating: {
262
+ rating: number | null,
263
+ count: number
264
+ }
254
265
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n_a_types",
3
- "version": "3.0.24",
3
+ "version": "3.0.26",
4
4
  "description": "types",
5
5
  "main": "index.ts",
6
6
  "author": "",