@zyacreatives/shared 2.5.55 → 2.5.57
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-application.d.ts +44 -56
- package/dist/schemas/job.d.ts +380 -78
- package/dist/schemas/job.js +67 -34
- package/dist/schemas/project.d.ts +444 -349
- package/dist/schemas/project.js +144 -98
- package/dist/schemas/user.d.ts +14 -14
- package/package.json +1 -1
- package/src/schemas/job.ts +74 -40
- package/src/schemas/project.ts +258 -137
|
@@ -174,25 +174,11 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
174
174
|
version: z.ZodInt;
|
|
175
175
|
title: z.ZodString;
|
|
176
176
|
brandId: z.ZodCUID2;
|
|
177
|
-
jobType: z.ZodEnum<{
|
|
178
|
-
GIG: "GIG";
|
|
179
|
-
ROLE: "ROLE";
|
|
180
|
-
}>;
|
|
181
|
-
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
182
|
-
"Full Time": "Full Time";
|
|
183
|
-
"Part Time": "Part Time";
|
|
184
|
-
Freelance: "Freelance";
|
|
185
|
-
Internship: "Internship";
|
|
186
|
-
}>>;
|
|
187
177
|
workMode: z.ZodEnum<{
|
|
188
178
|
Remote: "Remote";
|
|
189
179
|
Hybrid: "Hybrid";
|
|
190
180
|
"On Site": "On Site";
|
|
191
181
|
}>;
|
|
192
|
-
gigType: z.ZodOptional<z.ZodEnum<{
|
|
193
|
-
"One Time": "One Time";
|
|
194
|
-
Recurring: "Recurring";
|
|
195
|
-
}>>;
|
|
196
182
|
location: z.ZodEnum<{
|
|
197
183
|
Africa: "Africa";
|
|
198
184
|
Asia: "Asia";
|
|
@@ -237,6 +223,17 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
237
223
|
Monthly: "Monthly";
|
|
238
224
|
"Project Based": "Project Based";
|
|
239
225
|
}>>;
|
|
226
|
+
jobType: z.ZodLiteral<"GIG">;
|
|
227
|
+
gigType: z.ZodEnum<{
|
|
228
|
+
"One Time": "One Time";
|
|
229
|
+
Recurring: "Recurring";
|
|
230
|
+
}>;
|
|
231
|
+
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
232
|
+
"Full Time": "Full Time";
|
|
233
|
+
"Part Time": "Part Time";
|
|
234
|
+
Freelance: "Freelance";
|
|
235
|
+
Internship: "Internship";
|
|
236
|
+
}>>;
|
|
240
237
|
}, z.core.$strip>, z.ZodObject<{
|
|
241
238
|
status: z.ZodEnum<{
|
|
242
239
|
ACTIVE: "ACTIVE";
|
|
@@ -253,25 +250,11 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
253
250
|
version: z.ZodInt;
|
|
254
251
|
title: z.ZodString;
|
|
255
252
|
brandId: z.ZodCUID2;
|
|
256
|
-
jobType: z.ZodEnum<{
|
|
257
|
-
GIG: "GIG";
|
|
258
|
-
ROLE: "ROLE";
|
|
259
|
-
}>;
|
|
260
|
-
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
261
|
-
"Full Time": "Full Time";
|
|
262
|
-
"Part Time": "Part Time";
|
|
263
|
-
Freelance: "Freelance";
|
|
264
|
-
Internship: "Internship";
|
|
265
|
-
}>>;
|
|
266
253
|
workMode: z.ZodEnum<{
|
|
267
254
|
Remote: "Remote";
|
|
268
255
|
Hybrid: "Hybrid";
|
|
269
256
|
"On Site": "On Site";
|
|
270
257
|
}>;
|
|
271
|
-
gigType: z.ZodOptional<z.ZodEnum<{
|
|
272
|
-
"One Time": "One Time";
|
|
273
|
-
Recurring: "Recurring";
|
|
274
|
-
}>>;
|
|
275
258
|
location: z.ZodEnum<{
|
|
276
259
|
Africa: "Africa";
|
|
277
260
|
Asia: "Asia";
|
|
@@ -322,6 +305,17 @@ export declare const TrackedJobApplicationEntitySchema: z.ZodObject<{
|
|
|
322
305
|
Monthly: "Monthly";
|
|
323
306
|
"Project Based": "Project Based";
|
|
324
307
|
}>>;
|
|
308
|
+
jobType: z.ZodLiteral<"ROLE">;
|
|
309
|
+
employmentType: z.ZodEnum<{
|
|
310
|
+
"Full Time": "Full Time";
|
|
311
|
+
"Part Time": "Part Time";
|
|
312
|
+
Freelance: "Freelance";
|
|
313
|
+
Internship: "Internship";
|
|
314
|
+
}>;
|
|
315
|
+
gigType: z.ZodOptional<z.ZodEnum<{
|
|
316
|
+
"One Time": "One Time";
|
|
317
|
+
Recurring: "Recurring";
|
|
318
|
+
}>>;
|
|
325
319
|
}, z.core.$strip>, z.ZodObject<{
|
|
326
320
|
status: z.ZodEnum<{
|
|
327
321
|
ACTIVE: "ACTIVE";
|
|
@@ -543,25 +537,11 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
543
537
|
version: z.ZodInt;
|
|
544
538
|
title: z.ZodString;
|
|
545
539
|
brandId: z.ZodCUID2;
|
|
546
|
-
jobType: z.ZodEnum<{
|
|
547
|
-
GIG: "GIG";
|
|
548
|
-
ROLE: "ROLE";
|
|
549
|
-
}>;
|
|
550
|
-
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
551
|
-
"Full Time": "Full Time";
|
|
552
|
-
"Part Time": "Part Time";
|
|
553
|
-
Freelance: "Freelance";
|
|
554
|
-
Internship: "Internship";
|
|
555
|
-
}>>;
|
|
556
540
|
workMode: z.ZodEnum<{
|
|
557
541
|
Remote: "Remote";
|
|
558
542
|
Hybrid: "Hybrid";
|
|
559
543
|
"On Site": "On Site";
|
|
560
544
|
}>;
|
|
561
|
-
gigType: z.ZodOptional<z.ZodEnum<{
|
|
562
|
-
"One Time": "One Time";
|
|
563
|
-
Recurring: "Recurring";
|
|
564
|
-
}>>;
|
|
565
545
|
location: z.ZodEnum<{
|
|
566
546
|
Africa: "Africa";
|
|
567
547
|
Asia: "Asia";
|
|
@@ -606,6 +586,17 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
606
586
|
Monthly: "Monthly";
|
|
607
587
|
"Project Based": "Project Based";
|
|
608
588
|
}>>;
|
|
589
|
+
jobType: z.ZodLiteral<"GIG">;
|
|
590
|
+
gigType: z.ZodEnum<{
|
|
591
|
+
"One Time": "One Time";
|
|
592
|
+
Recurring: "Recurring";
|
|
593
|
+
}>;
|
|
594
|
+
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
595
|
+
"Full Time": "Full Time";
|
|
596
|
+
"Part Time": "Part Time";
|
|
597
|
+
Freelance: "Freelance";
|
|
598
|
+
Internship: "Internship";
|
|
599
|
+
}>>;
|
|
609
600
|
}, z.core.$strip>, z.ZodObject<{
|
|
610
601
|
status: z.ZodEnum<{
|
|
611
602
|
ACTIVE: "ACTIVE";
|
|
@@ -622,25 +613,11 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
622
613
|
version: z.ZodInt;
|
|
623
614
|
title: z.ZodString;
|
|
624
615
|
brandId: z.ZodCUID2;
|
|
625
|
-
jobType: z.ZodEnum<{
|
|
626
|
-
GIG: "GIG";
|
|
627
|
-
ROLE: "ROLE";
|
|
628
|
-
}>;
|
|
629
|
-
employmentType: z.ZodOptional<z.ZodEnum<{
|
|
630
|
-
"Full Time": "Full Time";
|
|
631
|
-
"Part Time": "Part Time";
|
|
632
|
-
Freelance: "Freelance";
|
|
633
|
-
Internship: "Internship";
|
|
634
|
-
}>>;
|
|
635
616
|
workMode: z.ZodEnum<{
|
|
636
617
|
Remote: "Remote";
|
|
637
618
|
Hybrid: "Hybrid";
|
|
638
619
|
"On Site": "On Site";
|
|
639
620
|
}>;
|
|
640
|
-
gigType: z.ZodOptional<z.ZodEnum<{
|
|
641
|
-
"One Time": "One Time";
|
|
642
|
-
Recurring: "Recurring";
|
|
643
|
-
}>>;
|
|
644
621
|
location: z.ZodEnum<{
|
|
645
622
|
Africa: "Africa";
|
|
646
623
|
Asia: "Asia";
|
|
@@ -691,6 +668,17 @@ export declare const GetTrackedJobApplicationsOutputSchema: z.ZodObject<{
|
|
|
691
668
|
Monthly: "Monthly";
|
|
692
669
|
"Project Based": "Project Based";
|
|
693
670
|
}>>;
|
|
671
|
+
jobType: z.ZodLiteral<"ROLE">;
|
|
672
|
+
employmentType: z.ZodEnum<{
|
|
673
|
+
"Full Time": "Full Time";
|
|
674
|
+
"Part Time": "Part Time";
|
|
675
|
+
Freelance: "Freelance";
|
|
676
|
+
Internship: "Internship";
|
|
677
|
+
}>;
|
|
678
|
+
gigType: z.ZodOptional<z.ZodEnum<{
|
|
679
|
+
"One Time": "One Time";
|
|
680
|
+
Recurring: "Recurring";
|
|
681
|
+
}>>;
|
|
694
682
|
}, z.core.$strip>, z.ZodObject<{
|
|
695
683
|
status: z.ZodEnum<{
|
|
696
684
|
ACTIVE: "ACTIVE";
|