@zyacreatives/shared 2.0.12 → 2.0.13
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 +0 -6
- package/dist/schemas/job.js +0 -6
- package/package.json +1 -1
- package/src/schemas/job.ts +0 -6
package/dist/schemas/job.d.ts
CHANGED
|
@@ -125,7 +125,6 @@ export declare const GigJobEntitySchema: z.ZodObject<{
|
|
|
125
125
|
Monthly: "Monthly";
|
|
126
126
|
"Project Based": "Project Based";
|
|
127
127
|
}>>;
|
|
128
|
-
jobSections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
129
128
|
}, z.core.$strip>;
|
|
130
129
|
export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
131
130
|
title: z.ZodString;
|
|
@@ -197,7 +196,6 @@ export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
|
197
196
|
Monthly: "Monthly";
|
|
198
197
|
"Project Based": "Project Based";
|
|
199
198
|
}>>;
|
|
200
|
-
jobSections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
201
199
|
}, z.core.$strip>;
|
|
202
200
|
export declare const RoleJobEntitySchema: z.ZodObject<{
|
|
203
201
|
id: z.ZodCUID2;
|
|
@@ -234,7 +232,6 @@ export declare const RoleJobEntitySchema: z.ZodObject<{
|
|
|
234
232
|
Monthly: "Monthly";
|
|
235
233
|
"Project Based": "Project Based";
|
|
236
234
|
}>>;
|
|
237
|
-
jobSections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
238
235
|
}, z.core.$strip>;
|
|
239
236
|
export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
240
237
|
title: z.ZodString;
|
|
@@ -312,7 +309,6 @@ export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
|
312
309
|
Monthly: "Monthly";
|
|
313
310
|
"Project Based": "Project Based";
|
|
314
311
|
}>>;
|
|
315
|
-
jobSections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
316
312
|
}, z.core.$strip>;
|
|
317
313
|
export declare const CreateJobInputSchema: z.ZodObject<{
|
|
318
314
|
title: z.ZodString;
|
|
@@ -593,7 +589,6 @@ export declare const NormalizedJobOutputSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
593
589
|
Monthly: "Monthly";
|
|
594
590
|
"Project Based": "Project Based";
|
|
595
591
|
}>>;
|
|
596
|
-
jobSections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
597
592
|
}, z.core.$strip>, z.ZodObject<{
|
|
598
593
|
title: z.ZodString;
|
|
599
594
|
brandId: z.ZodCUID2;
|
|
@@ -670,5 +665,4 @@ export declare const NormalizedJobOutputSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
670
665
|
Monthly: "Monthly";
|
|
671
666
|
"Project Based": "Project Based";
|
|
672
667
|
}>>;
|
|
673
|
-
jobSections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
674
668
|
}, z.core.$strip>], "jobType">;
|
package/dist/schemas/job.js
CHANGED
|
@@ -59,9 +59,6 @@ exports.GigJobEntitySchema = zod_1.z.object({
|
|
|
59
59
|
wagesType: zod_1.z
|
|
60
60
|
.enum(Object.values(constants_1.WAGE_TYPES))
|
|
61
61
|
.optional(),
|
|
62
|
-
jobSections: zod_1.z
|
|
63
|
-
.array(zod_1.z.string())
|
|
64
|
-
.default(["PERSONAL_INFORMATION", "PROFESSIONAL_INFORMATION", "RESUME"]),
|
|
65
62
|
});
|
|
66
63
|
exports.JobWithGigDetailsEntitySchema = exports.JobEntitySchema.extend(exports.GigJobEntitySchema.shape);
|
|
67
64
|
exports.RoleJobEntitySchema = zod_1.z.object({
|
|
@@ -81,9 +78,6 @@ exports.RoleJobEntitySchema = zod_1.z.object({
|
|
|
81
78
|
wagesType: zod_1.z
|
|
82
79
|
.enum(Object.values(constants_1.WAGE_TYPES))
|
|
83
80
|
.optional(),
|
|
84
|
-
jobSections: zod_1.z
|
|
85
|
-
.array(zod_1.z.string())
|
|
86
|
-
.default(["PERSONAL_INFORMATION", "PROFESSIONAL_INFORMATION", "RESUME"]),
|
|
87
81
|
});
|
|
88
82
|
exports.JobWithRoleDetailsEntitySchema = exports.JobEntitySchema.extend(exports.RoleJobEntitySchema.shape);
|
|
89
83
|
exports.CreateJobInputSchema = zod_1.z
|
package/package.json
CHANGED
package/src/schemas/job.ts
CHANGED
|
@@ -93,9 +93,6 @@ export const GigJobEntitySchema = z.object({
|
|
|
93
93
|
wagesType: z
|
|
94
94
|
.enum(Object.values(WAGE_TYPES) as [WageTypes, ...WageTypes[]])
|
|
95
95
|
.optional(),
|
|
96
|
-
jobSections: z
|
|
97
|
-
.array(z.string())
|
|
98
|
-
.default(["PERSONAL_INFORMATION", "PROFESSIONAL_INFORMATION", "RESUME"]),
|
|
99
96
|
});
|
|
100
97
|
|
|
101
98
|
export const JobWithGigDetailsEntitySchema = JobEntitySchema.extend(
|
|
@@ -121,9 +118,6 @@ export const RoleJobEntitySchema = z.object({
|
|
|
121
118
|
wagesType: z
|
|
122
119
|
.enum(Object.values(WAGE_TYPES) as [WageTypes, ...WageTypes[]])
|
|
123
120
|
.optional(),
|
|
124
|
-
jobSections: z
|
|
125
|
-
.array(z.string())
|
|
126
|
-
.default(["PERSONAL_INFORMATION", "PROFESSIONAL_INFORMATION", "RESUME"]),
|
|
127
121
|
});
|
|
128
122
|
|
|
129
123
|
export const JobWithRoleDetailsEntitySchema = JobEntitySchema.extend(
|