@tripsam/onboarding 1.0.7 → 1.0.9
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 +2 -1
- package/dist/index.d.cts +24 -2
- package/dist/index.d.ts +24 -2
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -70,6 +70,7 @@ var update = import_zod2.z.object({
|
|
|
70
70
|
var location_exports = {};
|
|
71
71
|
__export(location_exports, {
|
|
72
72
|
minimum: () => minimum,
|
|
73
|
+
minimumList: () => minimumList,
|
|
73
74
|
suggest: () => suggest
|
|
74
75
|
});
|
|
75
76
|
var import_zod3 = require("zod");
|
|
@@ -95,11 +96,11 @@ var minimum = import_zod3.z.object({
|
|
|
95
96
|
landmarks: import_zod3.z.array(import_zod3.z.object({
|
|
96
97
|
id: import_zod3.z.string(),
|
|
97
98
|
label: import_zod3.z.string(),
|
|
98
|
-
location: import_zod3.z.string(),
|
|
99
99
|
type: import_zod3.z.string().optional().default(""),
|
|
100
100
|
distanceKm: import_zod3.z.coerce.number()
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
+
var minimumList = import_zod3.z.array(minimum);
|
|
103
104
|
// Annotate the CommonJS export names for ESM import in node:
|
|
104
105
|
0 && (module.exports = {
|
|
105
106
|
BasicDetails,
|
package/dist/index.d.cts
CHANGED
|
@@ -70,20 +70,42 @@ declare const minimum: z.ZodObject<{
|
|
|
70
70
|
landmarks: z.ZodArray<z.ZodObject<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
label: z.ZodString;
|
|
73
|
-
location: z.ZodString;
|
|
74
73
|
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
75
74
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
76
75
|
}, z.core.$strip>>;
|
|
77
76
|
}, z.core.$strip>;
|
|
77
|
+
declare const minimumList: z.ZodArray<z.ZodObject<{
|
|
78
|
+
id: z.ZodString;
|
|
79
|
+
name: z.ZodString;
|
|
80
|
+
area: z.ZodString;
|
|
81
|
+
startLat: z.ZodCoercedNumber<unknown>;
|
|
82
|
+
startLng: z.ZodCoercedNumber<unknown>;
|
|
83
|
+
endLat: z.ZodCoercedNumber<unknown>;
|
|
84
|
+
endLng: z.ZodCoercedNumber<unknown>;
|
|
85
|
+
address: z.ZodObject<{
|
|
86
|
+
city: z.ZodString;
|
|
87
|
+
state: z.ZodString;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
90
|
+
landmarks: z.ZodArray<z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
label: z.ZodString;
|
|
93
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
94
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
}, z.core.$strip>>;
|
|
78
97
|
type SafeMinimum = z.output<typeof minimum>;
|
|
98
|
+
type SafeMinimumList = z.output<typeof minimum>;
|
|
79
99
|
type SafeSuggest = z.output<typeof suggest>;
|
|
80
100
|
|
|
81
101
|
type location_SafeMinimum = SafeMinimum;
|
|
102
|
+
type location_SafeMinimumList = SafeMinimumList;
|
|
82
103
|
type location_SafeSuggest = SafeSuggest;
|
|
83
104
|
declare const location_minimum: typeof minimum;
|
|
105
|
+
declare const location_minimumList: typeof minimumList;
|
|
84
106
|
declare const location_suggest: typeof suggest;
|
|
85
107
|
declare namespace location {
|
|
86
|
-
export { type location_SafeMinimum as SafeMinimum, type location_SafeSuggest as SafeSuggest, location_minimum as minimum, location_suggest as suggest };
|
|
108
|
+
export { type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafeSuggest as SafeSuggest, location_minimum as minimum, location_minimumList as minimumList, location_suggest as suggest };
|
|
87
109
|
}
|
|
88
110
|
|
|
89
111
|
export { basicDetails as BasicDetails, location as Location, verifyEmail as VerifyEmail };
|
package/dist/index.d.ts
CHANGED
|
@@ -70,20 +70,42 @@ declare const minimum: z.ZodObject<{
|
|
|
70
70
|
landmarks: z.ZodArray<z.ZodObject<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
label: z.ZodString;
|
|
73
|
-
location: z.ZodString;
|
|
74
73
|
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
75
74
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
76
75
|
}, z.core.$strip>>;
|
|
77
76
|
}, z.core.$strip>;
|
|
77
|
+
declare const minimumList: z.ZodArray<z.ZodObject<{
|
|
78
|
+
id: z.ZodString;
|
|
79
|
+
name: z.ZodString;
|
|
80
|
+
area: z.ZodString;
|
|
81
|
+
startLat: z.ZodCoercedNumber<unknown>;
|
|
82
|
+
startLng: z.ZodCoercedNumber<unknown>;
|
|
83
|
+
endLat: z.ZodCoercedNumber<unknown>;
|
|
84
|
+
endLng: z.ZodCoercedNumber<unknown>;
|
|
85
|
+
address: z.ZodObject<{
|
|
86
|
+
city: z.ZodString;
|
|
87
|
+
state: z.ZodString;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
90
|
+
landmarks: z.ZodArray<z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
label: z.ZodString;
|
|
93
|
+
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
94
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
}, z.core.$strip>>;
|
|
78
97
|
type SafeMinimum = z.output<typeof minimum>;
|
|
98
|
+
type SafeMinimumList = z.output<typeof minimum>;
|
|
79
99
|
type SafeSuggest = z.output<typeof suggest>;
|
|
80
100
|
|
|
81
101
|
type location_SafeMinimum = SafeMinimum;
|
|
102
|
+
type location_SafeMinimumList = SafeMinimumList;
|
|
82
103
|
type location_SafeSuggest = SafeSuggest;
|
|
83
104
|
declare const location_minimum: typeof minimum;
|
|
105
|
+
declare const location_minimumList: typeof minimumList;
|
|
84
106
|
declare const location_suggest: typeof suggest;
|
|
85
107
|
declare namespace location {
|
|
86
|
-
export { type location_SafeMinimum as SafeMinimum, type location_SafeSuggest as SafeSuggest, location_minimum as minimum, location_suggest as suggest };
|
|
108
|
+
export { type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafeSuggest as SafeSuggest, location_minimum as minimum, location_minimumList as minimumList, location_suggest as suggest };
|
|
87
109
|
}
|
|
88
110
|
|
|
89
111
|
export { basicDetails as BasicDetails, location as Location, verifyEmail as VerifyEmail };
|
package/dist/index.js
CHANGED
|
@@ -48,6 +48,7 @@ var update = z2.object({
|
|
|
48
48
|
var location_exports = {};
|
|
49
49
|
__export(location_exports, {
|
|
50
50
|
minimum: () => minimum,
|
|
51
|
+
minimumList: () => minimumList,
|
|
51
52
|
suggest: () => suggest
|
|
52
53
|
});
|
|
53
54
|
import { z as z3 } from "zod";
|
|
@@ -73,11 +74,11 @@ var minimum = z3.object({
|
|
|
73
74
|
landmarks: z3.array(z3.object({
|
|
74
75
|
id: z3.string(),
|
|
75
76
|
label: z3.string(),
|
|
76
|
-
location: z3.string(),
|
|
77
77
|
type: z3.string().optional().default(""),
|
|
78
78
|
distanceKm: z3.coerce.number()
|
|
79
79
|
}))
|
|
80
80
|
});
|
|
81
|
+
var minimumList = z3.array(minimum);
|
|
81
82
|
export {
|
|
82
83
|
basic_details_exports as BasicDetails,
|
|
83
84
|
location_exports as Location,
|