@appcorp/fusion-storybook 0.3.39 → 0.3.41

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.
@@ -554,7 +554,6 @@ export const useStudentFeeModule = () => {
554
554
  });
555
555
  },
556
556
  errorCallback: (errors) => {
557
- console.log("errors", errors);
558
557
  dispatch({
559
558
  type: STUDENT_FEE_ACTION_TYPES.SET_ERRORS,
560
559
  payload: { errors },
@@ -16,15 +16,15 @@ export declare const studentProfileFormValidation: z.ZodObject<{
16
16
  phone: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null | undefined, string | null | undefined>>;
17
17
  emergencyPhone: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | null | undefined, string | null | undefined>>;
18
18
  status: z.ZodString;
19
- dateOfBirth: z.ZodOptional<z.ZodString>;
20
- enrollmentDate: z.ZodOptional<z.ZodString>;
21
- gender: z.ZodOptional<z.ZodString>;
22
- bloodGroup: z.ZodOptional<z.ZodString>;
23
- address: z.ZodOptional<z.ZodString>;
24
- city: z.ZodOptional<z.ZodString>;
25
- state: z.ZodOptional<z.ZodString>;
26
- postalCode: z.ZodOptional<z.ZodString>;
27
- country: z.ZodOptional<z.ZodString>;
28
- discountCodeId: z.ZodOptional<z.ZodString>;
19
+ dateOfBirth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ enrollmentDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ bloodGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ discountCodeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  enabled: z.ZodOptional<z.ZodBoolean>;
30
30
  }, z.core.$strip>;
@@ -23,15 +23,15 @@ export const studentProfileFormValidation = z.object({
23
23
  .nullish()
24
24
  .transform((val) => { var _a; return (val ? (_a = toE164Phone(val)) !== null && _a !== void 0 ? _a : val : val); }),
25
25
  status: z.string().min(1, VALIDATION_KEYS.statusRequired),
26
- dateOfBirth: z.string().optional(),
27
- enrollmentDate: z.string().optional(),
28
- gender: z.string().optional(),
29
- bloodGroup: z.string().optional(),
30
- address: z.string().optional(),
31
- city: z.string().optional(),
32
- state: z.string().optional(),
33
- postalCode: z.string().optional(),
34
- country: z.string().optional(),
35
- discountCodeId: z.string().optional(),
26
+ dateOfBirth: z.string().nullish(),
27
+ enrollmentDate: z.string().nullish(),
28
+ gender: z.string().nullish(),
29
+ bloodGroup: z.string().nullish(),
30
+ address: z.string().nullish(),
31
+ city: z.string().nullish(),
32
+ state: z.string().nullish(),
33
+ postalCode: z.string().nullish(),
34
+ country: z.string().nullish(),
35
+ discountCodeId: z.string().nullish(),
36
36
  enabled: z.boolean().optional(),
37
37
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/fusion-storybook",
3
- "version": "0.3.39",
3
+ "version": "0.3.41",
4
4
  "scripts": {
5
5
  "build-storybook": "storybook build",
6
6
  "build:next": "next build",