n_a_types 3.1.0 → 3.1.1

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/index.ts +8 -8
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -83,7 +83,7 @@ export const climbImageGroupSchema = z.object({
83
83
  export type ClimbImageGroup = z.infer<typeof climbImageGroupSchema>
84
84
 
85
85
 
86
- const poiSchema = z.object({
86
+ export const poiSchema = z.object({
87
87
  id: z.string(),
88
88
  image: z.string().nullable(),
89
89
  description: z.string(),
@@ -94,7 +94,7 @@ const poiSchema = z.object({
94
94
  export type POI = z.infer<typeof poiSchema>
95
95
 
96
96
 
97
- const guidebookProductDataSchema = z.object({
97
+ export const guidebookProductDataSchema = z.object({
98
98
  guidebooks: z.array(z.object({
99
99
  additionalImages: z.array(imageSchema),
100
100
  digitalVersionPublished: z.boolean(),
@@ -168,7 +168,7 @@ export const climbLogSchema = z.object({
168
168
  export type ClimbLog = z.infer<typeof climbLogSchema>
169
169
 
170
170
 
171
- const climbSchema = z.object({
171
+ export const climbSchema = z.object({
172
172
  primaryClimbImageGroup: climbLogPrimaryCIGSchema.nullable(),
173
173
  primaryClimbImageGroupid: z.number().nullable(),
174
174
  climbImageGroups: z.array(climbLogPrimaryCIGSchema),
@@ -201,7 +201,7 @@ const climbSchema = z.object({
201
201
  export type Climb = z.infer<typeof climbSchema>
202
202
 
203
203
 
204
- const climbFeedbackSchema = z.object({
204
+ export const climbFeedbackSchema = z.object({
205
205
  climbId: z.number(),
206
206
  userId: z.string(),
207
207
  userStarRating: z.number().or(z.null()),
@@ -230,7 +230,7 @@ export const climbFeedbackAggregateDataSchema = z.object({
230
230
  export type ClimbFeedbackAggregateData = z.infer<typeof climbFeedbackAggregateDataSchema>;
231
231
 
232
232
 
233
- const areaSchema = z.object({
233
+ export const areaSchema = z.object({
234
234
  climbImageGroups: z.array(climbImageGroupSchema),
235
235
  climbMapGroups: z.array(climbMapGroupSchema),
236
236
  climbs: z.array(climbSchema),
@@ -256,7 +256,7 @@ const areaSchema = z.object({
256
256
  export type Area = z.infer<typeof areaSchema>
257
257
 
258
258
 
259
- const sectionSchema = z.object({
259
+ export const sectionSchema = z.object({
260
260
  areas: z.array(areaSchema),
261
261
  sectionName: z.string(),
262
262
  guidebookId: z.number().nullable(),
@@ -267,7 +267,7 @@ const sectionSchema = z.object({
267
267
  export type Section = z.infer<typeof sectionSchema>
268
268
 
269
269
 
270
- const mapInfoAreaSchema = z.object({
270
+ export const mapInfoAreaSchema = z.object({
271
271
  id: z.string(),
272
272
  mapLabel: z.string(),
273
273
  infoSheetTitle: z.string(),
@@ -280,7 +280,7 @@ const mapInfoAreaSchema = z.object({
280
280
  export type MapInfoArea = z.infer<typeof mapInfoAreaSchema>
281
281
 
282
282
 
283
- const guidebookSchema = z.object({
283
+ export const guidebookSchema = z.object({
284
284
  digitalVersionPublished: z.boolean(),
285
285
  apiVersion: z.number(),
286
286
  images: z.array(z.string()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n_a_types",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "types",
5
5
  "main": "index.ts",
6
6
  "author": "",