@zyacreatives/shared 2.0.15 → 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.
@@ -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>;
@@ -372,7 +372,7 @@ export declare const CreateRoleJobInputSchema: z.ZodObject<{
372
372
  }>;
373
373
  overview: z.ZodString;
374
374
  keyResponsibilities: z.ZodString;
375
- requiredSkills: z.ZodString;
375
+ requiredSkills: z.ZodArray<z.ZodString>;
376
376
  employeeRequirements: z.ZodOptional<z.ZodString>;
377
377
  companyBenefits: z.ZodOptional<z.ZodString>;
378
378
  wagesMin: z.ZodOptional<z.ZodNumber>;
@@ -403,7 +403,7 @@ export declare const CreateGigJobInputSchema: z.ZodObject<{
403
403
  deliverables: z.ZodString;
404
404
  employeeRequirements: z.ZodOptional<z.ZodString>;
405
405
  aboutCompany: z.ZodOptional<z.ZodString>;
406
- requiredSkills: z.ZodString;
406
+ requiredSkills: z.ZodArray<z.ZodString>;
407
407
  wagesMin: z.ZodOptional<z.ZodNumber>;
408
408
  wagesMax: z.ZodOptional<z.ZodNumber>;
409
409
  wagesCurrency: z.ZodOptional<z.ZodEnum<{
@@ -436,7 +436,7 @@ export declare const UpdateRoleJobInputSchema: z.ZodObject<{
436
436
  }>>;
437
437
  overview: z.ZodOptional<z.ZodString>;
438
438
  keyResponsibilities: z.ZodOptional<z.ZodString>;
439
- requiredSkills: z.ZodOptional<z.ZodString>;
439
+ requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
440
440
  employeeRequirements: z.ZodOptional<z.ZodOptional<z.ZodString>>;
441
441
  companyBenefits: z.ZodOptional<z.ZodOptional<z.ZodString>>;
442
442
  wagesMin: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -467,7 +467,7 @@ export declare const UpdateGigJobInputSchema: z.ZodObject<{
467
467
  deliverables: z.ZodOptional<z.ZodString>;
468
468
  employeeRequirements: z.ZodOptional<z.ZodOptional<z.ZodString>>;
469
469
  aboutCompany: z.ZodOptional<z.ZodOptional<z.ZodString>>;
470
- requiredSkills: z.ZodOptional<z.ZodString>;
470
+ requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
471
471
  wagesMin: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
472
472
  wagesMax: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
473
473
  wagesCurrency: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
@@ -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>;
@@ -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(),
@@ -161,7 +161,7 @@ exports.CreateRoleJobInputSchema = zod_1.z.object({
161
161
  experienceLevel: zod_1.z.enum(Object.values(constants_1.EXPERIENCE_LEVELS)),
162
162
  overview: zod_1.z.string(),
163
163
  keyResponsibilities: zod_1.z.string(),
164
- requiredSkills: zod_1.z.string(),
164
+ requiredSkills: zod_1.z.array(zod_1.z.string()),
165
165
  employeeRequirements: zod_1.z.string().optional(),
166
166
  companyBenefits: zod_1.z.string().optional(),
167
167
  wagesMin: zod_1.z.number().optional(),
@@ -179,7 +179,7 @@ exports.CreateGigJobInputSchema = zod_1.z.object({
179
179
  deliverables: zod_1.z.string(),
180
180
  employeeRequirements: zod_1.z.string().optional(),
181
181
  aboutCompany: zod_1.z.string().optional(),
182
- requiredSkills: zod_1.z.string(),
182
+ requiredSkills: zod_1.z.array(zod_1.z.string()),
183
183
  wagesMin: zod_1.z.number().optional(),
184
184
  wagesMax: zod_1.z.number().optional(),
185
185
  wagesCurrency: zod_1.z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.0.15",
3
+ "version": "2.0.17",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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(),
@@ -217,7 +217,7 @@ export const CreateRoleJobInputSchema = z.object({
217
217
  ),
218
218
  overview: z.string(),
219
219
  keyResponsibilities: z.string(),
220
- requiredSkills: z.string(),
220
+ requiredSkills: z.array(z.string()),
221
221
  employeeRequirements: z.string().optional(),
222
222
  companyBenefits: z.string().optional(),
223
223
  wagesMin: z.number().optional(),
@@ -236,7 +236,7 @@ export const CreateGigJobInputSchema = z.object({
236
236
  deliverables: z.string(),
237
237
  employeeRequirements: z.string().optional(),
238
238
  aboutCompany: z.string().optional(),
239
- requiredSkills: z.string(),
239
+ requiredSkills: z.array(z.string()),
240
240
  wagesMin: z.number().optional(),
241
241
  wagesMax: z.number().optional(),
242
242
  wagesCurrency: z
@@ -249,7 +249,7 @@ export const CreateGigJobInputSchema = z.object({
249
249
 
250
250
  export const UpdateRoleJobInputSchema =
251
251
  CreateRoleJobInputSchema.partial().required({ id: true });
252
-
252
+
253
253
  export const UpdateGigJobInputSchema =
254
254
  CreateGigJobInputSchema.partial().required({ id: true });
255
255