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.
- package/V3.ts +9 -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
|
|
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
|
}
|