n_a_types 3.0.18 → 3.0.19
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 +12 -0
- 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,14 @@ export type ClimbMapGroup = {
|
|
|
214
216
|
areaId: number,
|
|
215
217
|
climbs: { id: number }[],
|
|
216
218
|
geojsonMultiPolygon: GeoJSONMultiPolygon | null
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export type ClimbLog = {
|
|
222
|
+
id: string;
|
|
223
|
+
attemptDate: string;
|
|
224
|
+
createdAt: string;
|
|
225
|
+
attemptType: ClimbLogAttemptType;
|
|
226
|
+
notes: string | null;
|
|
227
|
+
userId: string;
|
|
228
|
+
climbId: number;
|
|
217
229
|
}
|