@tripsam/onboarding 1.0.12 → 1.0.14

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/dist/index.cjs CHANGED
@@ -107,27 +107,21 @@ var save = import_zod3.z.object({
107
107
  locationId: import_zod3.z.string(),
108
108
  safariLocation: import_zod3.z.string(),
109
109
  pickupLocation: import_zod3.z.string(),
110
- landmarkId1: import_zod3.z.string().optional(),
110
+ landmarkId1: import_zod3.z.string(),
111
111
  distanceFromLandmark1: import_zod3.z.string(),
112
- landmarkId2: import_zod3.z.string().optional(),
112
+ landmarkId2: import_zod3.z.string(),
113
113
  distanceFromLandmark2: import_zod3.z.string()
114
114
  });
115
115
  var me2 = import_zod3.z.object({
116
116
  location: minimum,
117
117
  safariLocation: import_zod3.z.string(),
118
118
  pickupLocation: import_zod3.z.string(),
119
- landmark1: {
120
- id: import_zod3.z.string(),
121
- label: import_zod3.z.string(),
122
- type: import_zod3.z.string().optional().default(""),
123
- distanceKm: import_zod3.z.coerce.number()
124
- },
125
- landmark2: {
119
+ landmarks: import_zod3.z.array(import_zod3.z.object({
126
120
  id: import_zod3.z.string(),
127
121
  label: import_zod3.z.string(),
128
122
  type: import_zod3.z.string().optional().default(""),
129
123
  distanceKm: import_zod3.z.coerce.number()
130
- },
124
+ })),
131
125
  completed: import_zod3.z.boolean()
132
126
  });
133
127
  var minimumList = import_zod3.z.array(minimum);
package/dist/index.d.cts CHANGED
@@ -77,9 +77,9 @@ declare const save: z.ZodObject<{
77
77
  locationId: z.ZodString;
78
78
  safariLocation: z.ZodString;
79
79
  pickupLocation: z.ZodString;
80
- landmarkId1: z.ZodOptional<z.ZodString>;
80
+ landmarkId1: z.ZodString;
81
81
  distanceFromLandmark1: z.ZodString;
82
- landmarkId2: z.ZodOptional<z.ZodString>;
82
+ landmarkId2: z.ZodString;
83
83
  distanceFromLandmark2: z.ZodString;
84
84
  }, z.core.$strip>;
85
85
  declare const me: z.ZodObject<{
@@ -105,18 +105,12 @@ declare const me: z.ZodObject<{
105
105
  }, z.core.$strip>;
106
106
  safariLocation: z.ZodString;
107
107
  pickupLocation: z.ZodString;
108
- landmark1: {
109
- id: z.ZodString;
110
- label: z.ZodString;
111
- type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
112
- distanceKm: z.ZodCoercedNumber<unknown>;
113
- };
114
- landmark2: {
108
+ landmarks: z.ZodArray<z.ZodObject<{
115
109
  id: z.ZodString;
116
110
  label: z.ZodString;
117
111
  type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
118
112
  distanceKm: z.ZodCoercedNumber<unknown>;
119
- };
113
+ }, z.core.$strip>>;
120
114
  completed: z.ZodBoolean;
121
115
  }, z.core.$strip>;
122
116
  declare const minimumList: z.ZodArray<z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -77,9 +77,9 @@ declare const save: z.ZodObject<{
77
77
  locationId: z.ZodString;
78
78
  safariLocation: z.ZodString;
79
79
  pickupLocation: z.ZodString;
80
- landmarkId1: z.ZodOptional<z.ZodString>;
80
+ landmarkId1: z.ZodString;
81
81
  distanceFromLandmark1: z.ZodString;
82
- landmarkId2: z.ZodOptional<z.ZodString>;
82
+ landmarkId2: z.ZodString;
83
83
  distanceFromLandmark2: z.ZodString;
84
84
  }, z.core.$strip>;
85
85
  declare const me: z.ZodObject<{
@@ -105,18 +105,12 @@ declare const me: z.ZodObject<{
105
105
  }, z.core.$strip>;
106
106
  safariLocation: z.ZodString;
107
107
  pickupLocation: z.ZodString;
108
- landmark1: {
109
- id: z.ZodString;
110
- label: z.ZodString;
111
- type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
112
- distanceKm: z.ZodCoercedNumber<unknown>;
113
- };
114
- landmark2: {
108
+ landmarks: z.ZodArray<z.ZodObject<{
115
109
  id: z.ZodString;
116
110
  label: z.ZodString;
117
111
  type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
118
112
  distanceKm: z.ZodCoercedNumber<unknown>;
119
- };
113
+ }, z.core.$strip>>;
120
114
  completed: z.ZodBoolean;
121
115
  }, z.core.$strip>;
122
116
  declare const minimumList: z.ZodArray<z.ZodObject<{
package/dist/index.js CHANGED
@@ -85,27 +85,21 @@ var save = z3.object({
85
85
  locationId: z3.string(),
86
86
  safariLocation: z3.string(),
87
87
  pickupLocation: z3.string(),
88
- landmarkId1: z3.string().optional(),
88
+ landmarkId1: z3.string(),
89
89
  distanceFromLandmark1: z3.string(),
90
- landmarkId2: z3.string().optional(),
90
+ landmarkId2: z3.string(),
91
91
  distanceFromLandmark2: z3.string()
92
92
  });
93
93
  var me2 = z3.object({
94
94
  location: minimum,
95
95
  safariLocation: z3.string(),
96
96
  pickupLocation: z3.string(),
97
- landmark1: {
98
- id: z3.string(),
99
- label: z3.string(),
100
- type: z3.string().optional().default(""),
101
- distanceKm: z3.coerce.number()
102
- },
103
- landmark2: {
97
+ landmarks: z3.array(z3.object({
104
98
  id: z3.string(),
105
99
  label: z3.string(),
106
100
  type: z3.string().optional().default(""),
107
101
  distanceKm: z3.coerce.number()
108
- },
102
+ })),
109
103
  completed: z3.boolean()
110
104
  });
111
105
  var minimumList = z3.array(minimum);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",