@zyacreatives/shared 2.0.98 → 2.0.99

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.
@@ -358,9 +358,9 @@ export declare const CreateJobInputSchema: z.ZodObject<{
358
358
  EMEA: "EMEA";
359
359
  "Asia Pacific": "Asia Pacific";
360
360
  }>>;
361
- jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
361
+ jobSections: z.ZodArray<z.ZodEnum<{
362
362
  [x: string]: string;
363
- }>>>;
363
+ }>>;
364
364
  }, z.core.$strip>;
365
365
  export declare const CreateRoleJobInputSchema: z.ZodObject<{
366
366
  id: z.ZodCUID2;
@@ -526,9 +526,9 @@ export declare const UpdateJobInputSchema: z.ZodObject<{
526
526
  EMEA: "EMEA";
527
527
  "Asia Pacific": "Asia Pacific";
528
528
  }>>>;
529
- jobSections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
529
+ jobSections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
530
530
  [x: string]: string;
531
- }>>>>;
531
+ }>>>;
532
532
  id: z.ZodCUID2;
533
533
  status: z.ZodOptional<z.ZodEnum<{
534
534
  ACTIVE: "ACTIVE";
@@ -111,11 +111,6 @@ exports.CreateJobInputSchema = zod_1.z
111
111
  .default(constants_1.JOB_LOCATIONS.REMOTE),
112
112
  jobSections: zod_1.z
113
113
  .array(JobSectionEnum)
114
- .default([
115
- constants_1.JOB_SECTIONS.PERSONAL_INFORMATION,
116
- constants_1.JOB_SECTIONS.PROFESSIONAL_INFORMATION,
117
- constants_1.JOB_SECTIONS.RESUME,
118
- ])
119
114
  .refine((sections) => sections.includes(constants_1.JOB_SECTIONS.PERSONAL_INFORMATION) &&
120
115
  sections.includes(constants_1.JOB_SECTIONS.PROFESSIONAL_INFORMATION) &&
121
116
  sections.includes(constants_1.JOB_SECTIONS.RESUME), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.0.98",
3
+ "version": "2.0.99",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -158,11 +158,6 @@ export const CreateJobInputSchema = z
158
158
  .default(JOB_LOCATIONS.REMOTE),
159
159
  jobSections: z
160
160
  .array(JobSectionEnum)
161
- .default([
162
- JOB_SECTIONS.PERSONAL_INFORMATION,
163
- JOB_SECTIONS.PROFESSIONAL_INFORMATION,
164
- JOB_SECTIONS.RESUME,
165
- ])
166
161
  .refine(
167
162
  (sections) =>
168
163
  sections.includes(JOB_SECTIONS.PERSONAL_INFORMATION) &&