@zyacreatives/shared 2.0.16 → 2.0.17
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/schemas/job.d.ts +6 -6
- package/dist/schemas/job.js +2 -2
- package/package.json +1 -1
- package/src/schemas/job.ts +2 -2
package/dist/schemas/job.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ export declare const GigJobEntitySchema: z.ZodObject<{
|
|
|
109
109
|
deliverables: z.ZodString;
|
|
110
110
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
111
111
|
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
112
|
-
requiredSkills: z.ZodString
|
|
112
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
113
113
|
wagesMin: z.ZodOptional<z.ZodNumber>;
|
|
114
114
|
wagesMax: z.ZodOptional<z.ZodNumber>;
|
|
115
115
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
@@ -183,7 +183,7 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
|
183
183
|
deliverables: z.ZodString;
|
|
184
184
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
185
185
|
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
186
|
-
requiredSkills: z.ZodString
|
|
186
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
187
187
|
wagesMin: z.ZodOptional<z.ZodNumber>;
|
|
188
188
|
wagesMax: z.ZodOptional<z.ZodNumber>;
|
|
189
189
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
@@ -217,7 +217,7 @@ export declare const RoleJobEntitySchema: z.ZodObject<{
|
|
|
217
217
|
}>;
|
|
218
218
|
overview: z.ZodString;
|
|
219
219
|
keyResponsibilities: z.ZodString;
|
|
220
|
-
requiredSkills: z.ZodString
|
|
220
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
221
221
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
222
222
|
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
223
223
|
wagesMin: z.ZodOptional<z.ZodNumber>;
|
|
@@ -297,7 +297,7 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
|
297
297
|
}>;
|
|
298
298
|
overview: z.ZodString;
|
|
299
299
|
keyResponsibilities: z.ZodString;
|
|
300
|
-
requiredSkills: z.ZodString
|
|
300
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
301
301
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
302
302
|
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
303
303
|
wagesMin: z.ZodOptional<z.ZodNumber>;
|
|
@@ -582,7 +582,7 @@ export declare const NormalizedJobOutputSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
582
582
|
deliverables: z.ZodString;
|
|
583
583
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
584
584
|
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
585
|
-
requiredSkills: z.ZodString
|
|
585
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
586
586
|
wagesMin: z.ZodOptional<z.ZodNumber>;
|
|
587
587
|
wagesMax: z.ZodOptional<z.ZodNumber>;
|
|
588
588
|
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
@@ -659,7 +659,7 @@ export declare const NormalizedJobOutputSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
659
659
|
}>;
|
|
660
660
|
overview: z.ZodString;
|
|
661
661
|
keyResponsibilities: z.ZodString;
|
|
662
|
-
requiredSkills: z.ZodString
|
|
662
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
663
663
|
employeeRequirements: z.ZodOptional<z.ZodString>;
|
|
664
664
|
companyBenefits: z.ZodOptional<z.ZodString>;
|
|
665
665
|
wagesMin: z.ZodOptional<z.ZodNumber>;
|
package/dist/schemas/job.js
CHANGED
|
@@ -64,7 +64,7 @@ exports.GigJobEntitySchema = zod_1.z.object({
|
|
|
64
64
|
deliverables: zod_1.z.string(),
|
|
65
65
|
employeeRequirements: zod_1.z.string().optional(),
|
|
66
66
|
aboutCompany: zod_1.z.string().optional(),
|
|
67
|
-
requiredSkills: zod_1.z.string(),
|
|
67
|
+
requiredSkills: zod_1.z.array(zod_1.z.string()),
|
|
68
68
|
wagesMin: zod_1.z.number().optional(),
|
|
69
69
|
wagesMax: zod_1.z.number().optional(),
|
|
70
70
|
wagesCurrency: zod_1.z
|
|
@@ -81,7 +81,7 @@ exports.RoleJobEntitySchema = zod_1.z.object({
|
|
|
81
81
|
experienceLevel: zod_1.z.enum(Object.values(constants_1.EXPERIENCE_LEVELS)),
|
|
82
82
|
overview: zod_1.z.string(),
|
|
83
83
|
keyResponsibilities: zod_1.z.string(),
|
|
84
|
-
requiredSkills: zod_1.z.string(),
|
|
84
|
+
requiredSkills: zod_1.z.array(zod_1.z.string()),
|
|
85
85
|
employeeRequirements: zod_1.z.string().optional(),
|
|
86
86
|
companyBenefits: zod_1.z.string().optional(),
|
|
87
87
|
wagesMin: zod_1.z.number().optional(),
|
package/package.json
CHANGED
package/src/schemas/job.ts
CHANGED
|
@@ -99,7 +99,7 @@ export const GigJobEntitySchema = z.object({
|
|
|
99
99
|
deliverables: z.string(),
|
|
100
100
|
employeeRequirements: z.string().optional(),
|
|
101
101
|
aboutCompany: z.string().optional(),
|
|
102
|
-
requiredSkills: z.string(),
|
|
102
|
+
requiredSkills: z.array(z.string()),
|
|
103
103
|
wagesMin: z.number().optional(),
|
|
104
104
|
wagesMax: z.number().optional(),
|
|
105
105
|
wagesCurrency: z
|
|
@@ -122,7 +122,7 @@ export const RoleJobEntitySchema = z.object({
|
|
|
122
122
|
),
|
|
123
123
|
overview: z.string(),
|
|
124
124
|
keyResponsibilities: z.string(),
|
|
125
|
-
requiredSkills: z.string(),
|
|
125
|
+
requiredSkills: z.array(z.string()),
|
|
126
126
|
employeeRequirements: z.string().optional(),
|
|
127
127
|
companyBenefits: z.string().optional(),
|
|
128
128
|
wagesMin: z.number().optional(),
|