@zyacreatives/shared 2.2.0 → 2.2.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.
@@ -247,6 +247,7 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
247
247
  }>>>;
248
248
  isBookmarked: z.ZodBoolean;
249
249
  createdAt: z.ZodDate;
250
+ version: z.ZodInt;
250
251
  updatedAt: z.ZodDate;
251
252
  id: z.ZodCUID2;
252
253
  jobType: z.ZodLiteral<"GIG">;
@@ -276,7 +277,6 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
276
277
  Monthly: "Monthly";
277
278
  "Project Based": "Project Based";
278
279
  }>>;
279
- version: z.ZodInt;
280
280
  }, z.core.$strip>, z.ZodObject<{
281
281
  id: z.ZodCUID2;
282
282
  title: z.ZodString;
@@ -374,6 +374,7 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
374
374
  }>>>;
375
375
  isBookmarked: z.ZodBoolean;
376
376
  createdAt: z.ZodDate;
377
+ version: z.ZodInt;
377
378
  updatedAt: z.ZodDate;
378
379
  id: z.ZodCUID2;
379
380
  jobType: z.ZodLiteral<"ROLE">;
@@ -409,7 +410,6 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
409
410
  Monthly: "Monthly";
410
411
  "Project Based": "Project Based";
411
412
  }>>;
412
- version: z.ZodInt;
413
413
  }, z.core.$strip>]>;
414
414
  }, z.core.$strip>;
415
415
  export declare const UpdateJobApplicationInputSchema: z.ZodObject<{
@@ -545,6 +545,7 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
545
545
  }>>>;
546
546
  isBookmarked: z.ZodBoolean;
547
547
  createdAt: z.ZodDate;
548
+ version: z.ZodInt;
548
549
  updatedAt: z.ZodDate;
549
550
  id: z.ZodCUID2;
550
551
  jobType: z.ZodLiteral<"GIG">;
@@ -574,7 +575,6 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
574
575
  Monthly: "Monthly";
575
576
  "Project Based": "Project Based";
576
577
  }>>;
577
- version: z.ZodInt;
578
578
  }, z.core.$strip>, z.ZodObject<{
579
579
  id: z.ZodCUID2;
580
580
  title: z.ZodString;
@@ -672,6 +672,7 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
672
672
  }>>>;
673
673
  isBookmarked: z.ZodBoolean;
674
674
  createdAt: z.ZodDate;
675
+ version: z.ZodInt;
675
676
  updatedAt: z.ZodDate;
676
677
  id: z.ZodCUID2;
677
678
  jobType: z.ZodLiteral<"ROLE">;
@@ -707,7 +708,6 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
707
708
  Monthly: "Monthly";
708
709
  "Project Based": "Project Based";
709
710
  }>>;
710
- version: z.ZodInt;
711
711
  }, z.core.$strip>]>;
712
712
  }, z.core.$strip>>;
713
713
  total: z.ZodNumber;
@@ -143,7 +143,6 @@ export declare const GigJobEntitySchema: z.ZodObject<{
143
143
  Monthly: "Monthly";
144
144
  "Project Based": "Project Based";
145
145
  }>>;
146
- version: z.ZodInt;
147
146
  }, z.core.$strip>;
148
147
  export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
149
148
  title: z.ZodString;
@@ -190,6 +189,7 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
190
189
  }>>>;
191
190
  isBookmarked: z.ZodBoolean;
192
191
  createdAt: z.ZodDate;
192
+ version: z.ZodInt;
193
193
  updatedAt: z.ZodDate;
194
194
  id: z.ZodCUID2;
195
195
  jobType: z.ZodLiteral<"GIG">;
@@ -219,7 +219,6 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
219
219
  Monthly: "Monthly";
220
220
  "Project Based": "Project Based";
221
221
  }>>;
222
- version: z.ZodInt;
223
222
  }, z.core.$strip>;
224
223
  export declare const RoleJobEntitySchema: z.ZodObject<{
225
224
  id: z.ZodCUID2;
@@ -256,7 +255,6 @@ export declare const RoleJobEntitySchema: z.ZodObject<{
256
255
  Monthly: "Monthly";
257
256
  "Project Based": "Project Based";
258
257
  }>>;
259
- version: z.ZodInt;
260
258
  }, z.core.$strip>;
261
259
  export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
262
260
  title: z.ZodString;
@@ -303,6 +301,7 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
303
301
  }>>>;
304
302
  isBookmarked: z.ZodBoolean;
305
303
  createdAt: z.ZodDate;
304
+ version: z.ZodInt;
306
305
  updatedAt: z.ZodDate;
307
306
  id: z.ZodCUID2;
308
307
  jobType: z.ZodLiteral<"ROLE">;
@@ -338,7 +337,6 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
338
337
  Monthly: "Monthly";
339
338
  "Project Based": "Project Based";
340
339
  }>>;
341
- version: z.ZodInt;
342
340
  }, z.core.$strip>;
343
341
  export declare const CreateJobInputSchema: z.ZodPipe<z.ZodObject<{
344
342
  title: z.ZodString;
@@ -621,6 +619,7 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
621
619
  }>>>;
622
620
  isBookmarked: z.ZodBoolean;
623
621
  createdAt: z.ZodDate;
622
+ version: z.ZodInt;
624
623
  updatedAt: z.ZodDate;
625
624
  id: z.ZodCUID2;
626
625
  jobType: z.ZodLiteral<"GIG">;
@@ -650,7 +649,6 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
650
649
  Monthly: "Monthly";
651
650
  "Project Based": "Project Based";
652
651
  }>>;
653
- version: z.ZodInt;
654
652
  }, z.core.$strip>, z.ZodObject<{
655
653
  id: z.ZodCUID2;
656
654
  title: z.ZodString;
@@ -748,6 +746,7 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
748
746
  }>>>;
749
747
  isBookmarked: z.ZodBoolean;
750
748
  createdAt: z.ZodDate;
749
+ version: z.ZodInt;
751
750
  updatedAt: z.ZodDate;
752
751
  id: z.ZodCUID2;
753
752
  jobType: z.ZodLiteral<"ROLE">;
@@ -783,7 +782,6 @@ export declare const NormalizedJobSchema: z.ZodUnion<readonly [z.ZodObject<{
783
782
  Monthly: "Monthly";
784
783
  "Project Based": "Project Based";
785
784
  }>>;
786
- version: z.ZodInt;
787
785
  }, z.core.$strip>]>;
788
786
  export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
789
787
  jobs: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -831,6 +829,7 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
831
829
  }>>>;
832
830
  isBookmarked: z.ZodBoolean;
833
831
  createdAt: z.ZodDate;
832
+ version: z.ZodInt;
834
833
  updatedAt: z.ZodDate;
835
834
  id: z.ZodCUID2;
836
835
  jobType: z.ZodLiteral<"GIG">;
@@ -860,7 +859,6 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
860
859
  Monthly: "Monthly";
861
860
  "Project Based": "Project Based";
862
861
  }>>;
863
- version: z.ZodInt;
864
862
  }, z.core.$strip>, z.ZodObject<{
865
863
  id: z.ZodCUID2;
866
864
  title: z.ZodString;
@@ -958,6 +956,7 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
958
956
  }>>>;
959
957
  isBookmarked: z.ZodBoolean;
960
958
  createdAt: z.ZodDate;
959
+ version: z.ZodInt;
961
960
  updatedAt: z.ZodDate;
962
961
  id: z.ZodCUID2;
963
962
  jobType: z.ZodLiteral<"ROLE">;
@@ -993,7 +992,6 @@ export declare const GetCreatedJobsOutputSchema: z.ZodObject<{
993
992
  Monthly: "Monthly";
994
993
  "Project Based": "Project Based";
995
994
  }>>;
996
- version: z.ZodInt;
997
995
  }, z.core.$strip>]>>;
998
996
  noOfJobs: z.ZodNumber;
999
997
  noOfActiveJobs: z.ZodNumber;
@@ -1085,6 +1083,7 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
1085
1083
  }>>>;
1086
1084
  isBookmarked: z.ZodBoolean;
1087
1085
  createdAt: z.ZodDate;
1086
+ version: z.ZodInt;
1088
1087
  updatedAt: z.ZodDate;
1089
1088
  id: z.ZodCUID2;
1090
1089
  jobType: z.ZodLiteral<"GIG">;
@@ -1114,7 +1113,6 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
1114
1113
  Monthly: "Monthly";
1115
1114
  "Project Based": "Project Based";
1116
1115
  }>>;
1117
- version: z.ZodInt;
1118
1116
  }, z.core.$strip>, z.ZodObject<{
1119
1117
  id: z.ZodCUID2;
1120
1118
  title: z.ZodString;
@@ -1212,6 +1210,7 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
1212
1210
  }>>>;
1213
1211
  isBookmarked: z.ZodBoolean;
1214
1212
  createdAt: z.ZodDate;
1213
+ version: z.ZodInt;
1215
1214
  updatedAt: z.ZodDate;
1216
1215
  id: z.ZodCUID2;
1217
1216
  jobType: z.ZodLiteral<"ROLE">;
@@ -1247,7 +1246,6 @@ export declare const GetJobsOutputSchema: z.ZodObject<{
1247
1246
  Monthly: "Monthly";
1248
1247
  "Project Based": "Project Based";
1249
1248
  }>>;
1250
- version: z.ZodInt;
1251
1249
  }, z.core.$strip>]>>;
1252
1250
  total: z.ZodNumber;
1253
1251
  page: z.ZodNumber;
@@ -84,7 +84,6 @@ exports.GigJobEntitySchema = zod_1.z.object({
84
84
  wagesType: zod_1.z
85
85
  .enum(Object.values(constants_1.WAGE_TYPES))
86
86
  .optional(),
87
- version: zod_1.z.int(),
88
87
  });
89
88
  exports.JobWithGigDetailsEntitySchema = exports.JobEntitySchema.extend(exports.GigJobEntitySchema.shape);
90
89
  exports.RoleJobEntitySchema = zod_1.z.object({
@@ -104,7 +103,6 @@ exports.RoleJobEntitySchema = zod_1.z.object({
104
103
  wagesType: zod_1.z
105
104
  .enum(Object.values(constants_1.WAGE_TYPES))
106
105
  .optional(),
107
- version: zod_1.z.int(),
108
106
  });
109
107
  exports.JobWithRoleDetailsEntitySchema = exports.JobEntitySchema.extend(exports.RoleJobEntitySchema.shape);
110
108
  const CreateJobInputBaseSchema = zod_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -117,7 +117,6 @@ export const GigJobEntitySchema = z.object({
117
117
  wagesType: z
118
118
  .enum(Object.values(WAGE_TYPES) as [WageTypes, ...WageTypes[]])
119
119
  .optional(),
120
- version: z.int(),
121
120
  });
122
121
 
123
122
  export const JobWithGigDetailsEntitySchema = JobEntitySchema.extend(
@@ -143,7 +142,6 @@ export const RoleJobEntitySchema = z.object({
143
142
  wagesType: z
144
143
  .enum(Object.values(WAGE_TYPES) as [WageTypes, ...WageTypes[]])
145
144
  .optional(),
146
- version: z.int(),
147
145
  });
148
146
 
149
147
  export const JobWithRoleDetailsEntitySchema = JobEntitySchema.extend(