@tripsam/onboarding 1.0.95 → 1.0.96
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/common/index.cjs +2 -1
- package/dist/common/index.d.cts +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +2 -1
- package/dist/{index-D1jB_U2u.d.cts → index-BJuwZblE.d.cts} +6 -4
- package/dist/{index-D1jB_U2u.d.ts → index-BJuwZblE.d.ts} +6 -4
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/common/index.cjs
CHANGED
|
@@ -81,7 +81,8 @@ var onboard = import_zod2.z.object({
|
|
|
81
81
|
id: import_zod2.z.string(),
|
|
82
82
|
status: import_zod2.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
83
83
|
remark: import_zod2.z.string().optional().default(""),
|
|
84
|
-
type: safeSas,
|
|
84
|
+
type: safeSas.array().default([]),
|
|
85
|
+
safariName: import_zod2.z.string().trim().nonempty("required"),
|
|
85
86
|
currentStep: import_zod2.z.string().default("1.0")
|
|
86
87
|
});
|
|
87
88
|
var onboardUser = import_zod2.z.object({
|
package/dist/common/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-
|
|
1
|
+
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-BJuwZblE.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/common/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-
|
|
1
|
+
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-BJuwZblE.js';
|
|
2
2
|
import 'zod';
|
package/dist/common/index.js
CHANGED
|
@@ -47,7 +47,8 @@ var onboard = z2.object({
|
|
|
47
47
|
id: z2.string(),
|
|
48
48
|
status: z2.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
49
49
|
remark: z2.string().optional().default(""),
|
|
50
|
-
type: safeSas,
|
|
50
|
+
type: safeSas.array().default([]),
|
|
51
|
+
safariName: z2.string().trim().nonempty("required"),
|
|
51
52
|
currentStep: z2.string().default("1.0")
|
|
52
53
|
});
|
|
53
54
|
var onboardUser = z2.object({
|
|
@@ -50,14 +50,15 @@ declare const onboard: z.ZodObject<{
|
|
|
50
50
|
completed: "completed";
|
|
51
51
|
}>;
|
|
52
52
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
53
|
-
type: z.ZodEnum<{
|
|
53
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
54
54
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
55
55
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
56
56
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
57
57
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
58
58
|
LION_SAFARI: "LION_SAFARI";
|
|
59
59
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
60
|
-
}
|
|
60
|
+
}>>>;
|
|
61
|
+
safariName: z.ZodString;
|
|
61
62
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
62
63
|
}, z.core.$strip>;
|
|
63
64
|
declare const onboardUser: z.ZodObject<{
|
|
@@ -83,14 +84,15 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
83
84
|
completed: "completed";
|
|
84
85
|
}>;
|
|
85
86
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
86
|
-
type: z.ZodEnum<{
|
|
87
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
87
88
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
88
89
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
89
90
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
90
91
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
91
92
|
LION_SAFARI: "LION_SAFARI";
|
|
92
93
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
93
|
-
}
|
|
94
|
+
}>>>;
|
|
95
|
+
safariName: z.ZodString;
|
|
94
96
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
95
97
|
}, z.core.$strip>>;
|
|
96
98
|
type SafeOnboard = z.output<typeof onboard>;
|
|
@@ -50,14 +50,15 @@ declare const onboard: z.ZodObject<{
|
|
|
50
50
|
completed: "completed";
|
|
51
51
|
}>;
|
|
52
52
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
53
|
-
type: z.ZodEnum<{
|
|
53
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
54
54
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
55
55
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
56
56
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
57
57
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
58
58
|
LION_SAFARI: "LION_SAFARI";
|
|
59
59
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
60
|
-
}
|
|
60
|
+
}>>>;
|
|
61
|
+
safariName: z.ZodString;
|
|
61
62
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
62
63
|
}, z.core.$strip>;
|
|
63
64
|
declare const onboardUser: z.ZodObject<{
|
|
@@ -83,14 +84,15 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
83
84
|
completed: "completed";
|
|
84
85
|
}>;
|
|
85
86
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
86
|
-
type: z.ZodEnum<{
|
|
87
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
87
88
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
88
89
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
89
90
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
90
91
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
91
92
|
LION_SAFARI: "LION_SAFARI";
|
|
92
93
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
93
|
-
}
|
|
94
|
+
}>>>;
|
|
95
|
+
safariName: z.ZodString;
|
|
94
96
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
95
97
|
}, z.core.$strip>>;
|
|
96
98
|
type SafeOnboard = z.output<typeof onboard>;
|
package/dist/index.cjs
CHANGED
|
@@ -458,7 +458,8 @@ var onboard = import_zod13.z.object({
|
|
|
458
458
|
id: import_zod13.z.string(),
|
|
459
459
|
status: import_zod13.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
460
460
|
remark: import_zod13.z.string().optional().default(""),
|
|
461
|
-
type: safeSas2,
|
|
461
|
+
type: safeSas2.array().default([]),
|
|
462
|
+
safariName: import_zod13.z.string().trim().nonempty("required"),
|
|
462
463
|
currentStep: import_zod13.z.string().default("1.0")
|
|
463
464
|
});
|
|
464
465
|
var onboardUser = import_zod13.z.object({
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -427,7 +427,8 @@ var onboard = z13.object({
|
|
|
427
427
|
id: z13.string(),
|
|
428
428
|
status: z13.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
429
429
|
remark: z13.string().optional().default(""),
|
|
430
|
-
type: safeSas2,
|
|
430
|
+
type: safeSas2.array().default([]),
|
|
431
|
+
safariName: z13.string().trim().nonempty("required"),
|
|
431
432
|
currentStep: z13.string().default("1.0")
|
|
432
433
|
});
|
|
433
434
|
var onboardUser = z13.object({
|