n_a_types 3.0.19 → 3.0.21

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 +9 -2
  2. package/package.json +1 -1
package/V3.ts CHANGED
@@ -7,7 +7,6 @@ export type StarRating = "ONE" | "TWO" | "THREE" | "FOUR";
7
7
  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
-
11
10
  export type ClimbLogAttemptType = 'FLASH' | 'REDPOINT' | 'ONSIGHT' | 'ATTEMPT';
12
11
 
13
12
  ///GUIDEBOOK FETCH
@@ -218,7 +217,7 @@ export type ClimbMapGroup = {
218
217
  geojsonMultiPolygon: GeoJSONMultiPolygon | null
219
218
  }
220
219
 
221
- export type ClimbLog = {
220
+ export type ClimbLogWithClimbData = {
222
221
  id: string;
223
222
  attemptDate: string;
224
223
  createdAt: string;
@@ -226,4 +225,12 @@ export type ClimbLog = {
226
225
  notes: string | null;
227
226
  userId: string;
228
227
  climbId: number;
228
+ climb: {
229
+ id: number;
230
+ climbName: string;
231
+ grade: string | null
232
+ };
233
+ userStarRating: number | null;
234
+ numberOfAttempts: number | null;
235
+
229
236
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n_a_types",
3
- "version": "3.0.19",
3
+ "version": "3.0.21",
4
4
  "description": "types",
5
5
  "main": "index.ts",
6
6
  "author": "",