@zyacreatives/shared 2.1.0 → 2.1.1

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.
@@ -151,7 +151,7 @@ export declare const CreateJobApplicationInputSchema: z.ZodObject<{
151
151
  "3-5 years": "3-5 years";
152
152
  "5+ years": "5+ years";
153
153
  }>;
154
- jobSections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
154
+ jobSections: z.ZodOptional<z.ZodArray<z.ZodEnum<{
155
155
  readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
156
156
  readonly PHONE_NO: "PHONE_NO";
157
157
  readonly PROFESSIONAL_INFORMATION: "PROFESSIONAL_INFORMATION";
@@ -95,14 +95,7 @@ exports.CreateJobApplicationInputSchema = zod_openapi_1.z.object({
95
95
  phoneNumber: zod_openapi_1.z.string().optional(),
96
96
  currentRole: zod_openapi_1.z.string(),
97
97
  experienceLevel: zod_openapi_1.z.enum(Object.values(constants_1.EXPERIENCE_LEVELS)),
98
- jobSections: zod_openapi_1.z
99
- .array(zod_openapi_1.z.enum(constants_1.JOB_SECTIONS))
100
- .default([
101
- "PERSONAL_INFORMATION",
102
- "PROFESSIONAL_INFORMATION",
103
- "RESUME",
104
- "COVER_LETTER",
105
- ]),
98
+ jobSections: zod_openapi_1.z.array(zod_openapi_1.z.enum(constants_1.JOB_SECTIONS)).optional(),
106
99
  resumeUrl: zod_openapi_1.z.url(),
107
100
  workSampleUrls: zod_openapi_1.z
108
101
  .array(zod_openapi_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -145,14 +145,8 @@ export const CreateJobApplicationInputSchema = z.object({
145
145
  experienceLevel: z.enum(
146
146
  Object.values(EXPERIENCE_LEVELS) as [ExperienceLevel, ...ExperienceLevel[]]
147
147
  ),
148
- jobSections: z
149
- .array(z.enum(JOB_SECTIONS))
150
- .default([
151
- "PERSONAL_INFORMATION",
152
- "PROFESSIONAL_INFORMATION",
153
- "RESUME",
154
- "COVER_LETTER",
155
- ]),
148
+ jobSections: z.array(z.enum(JOB_SECTIONS)).optional(),
149
+
156
150
  resumeUrl: z.url(),
157
151
  workSampleUrls: z
158
152
  .array(