n_a_types 3.0.18 → 3.0.20

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 +17 -0
  2. package/package.json +1 -1
package/V3.ts CHANGED
@@ -8,6 +8,8 @@ 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
 
11
+ export type ClimbLogAttemptType = 'FLASH' | 'REDPOINT' | 'ONSIGHT' | 'ATTEMPT';
12
+
11
13
  ///GUIDEBOOK FETCH
12
14
  export type Guidebook = {
13
15
  digitalVersionPublished: boolean,
@@ -214,4 +216,19 @@ export type ClimbMapGroup = {
214
216
  areaId: number,
215
217
  climbs: { id: number }[],
216
218
  geojsonMultiPolygon: GeoJSONMultiPolygon | null
219
+ }
220
+
221
+ export type ClimbLogWithClimbData = {
222
+ id: string;
223
+ attemptDate: string;
224
+ createdAt: string;
225
+ attemptType: ClimbLogAttemptType;
226
+ notes: string | null;
227
+ userId: string;
228
+ climbId: number;
229
+ climb: {
230
+ id: number;
231
+ climbName: string;
232
+ grade: string | null
233
+ }
217
234
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n_a_types",
3
- "version": "3.0.18",
3
+ "version": "3.0.20",
4
4
  "description": "types",
5
5
  "main": "index.ts",
6
6
  "author": "",