@zyacreatives/shared 2.1.1 → 2.1.2
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.
|
@@ -127,7 +127,7 @@ export declare const JobApplicationEntitySchema: z.ZodObject<{
|
|
|
127
127
|
}, z.core.$strip>>>;
|
|
128
128
|
coverLetter: z.ZodString;
|
|
129
129
|
receiveEmailUpdates: z.ZodBoolean;
|
|
130
|
-
wagesAmount: z.ZodOptional<z.
|
|
130
|
+
wagesAmount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
131
131
|
availability: z.ZodEnum<{
|
|
132
132
|
"Immediate (Within 1 week)": "Immediate (Within 1 week)";
|
|
133
133
|
"2 weeks notice": "2 weeks notice";
|
|
@@ -179,7 +179,7 @@ export declare const CreateJobApplicationInputSchema: z.ZodObject<{
|
|
|
179
179
|
}, z.core.$strip>>>;
|
|
180
180
|
coverLetter: z.ZodString;
|
|
181
181
|
receiveEmailUpdates: z.ZodBoolean;
|
|
182
|
-
wagesAmount: z.ZodOptional<z.
|
|
182
|
+
wagesAmount: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
183
183
|
availability: z.ZodOptional<z.ZodEnum<{
|
|
184
184
|
readonly IMMEDIATE: "Immediate (Within 1 week)";
|
|
185
185
|
readonly TWO_WEEKS_NOTICE: "2 weeks notice";
|
|
@@ -78,7 +78,7 @@ exports.JobApplicationEntitySchema = zod_openapi_1.z.object({
|
|
|
78
78
|
.optional(),
|
|
79
79
|
coverLetter: zod_openapi_1.z.string(),
|
|
80
80
|
receiveEmailUpdates: zod_openapi_1.z.boolean(),
|
|
81
|
-
wagesAmount: zod_openapi_1.z.
|
|
81
|
+
wagesAmount: zod_openapi_1.z.coerce.number().optional(),
|
|
82
82
|
availability: zod_openapi_1.z.enum(Object.values(constants_1.JOB_AVAILABILITY_TYPES)),
|
|
83
83
|
createdAt: zod_openapi_1.z.coerce
|
|
84
84
|
.date()
|
|
@@ -117,7 +117,7 @@ exports.CreateJobApplicationInputSchema = zod_openapi_1.z.object({
|
|
|
117
117
|
.optional(),
|
|
118
118
|
coverLetter: zod_openapi_1.z.string(),
|
|
119
119
|
receiveEmailUpdates: zod_openapi_1.z.boolean(),
|
|
120
|
-
wagesAmount: zod_openapi_1.z.
|
|
120
|
+
wagesAmount: zod_openapi_1.z.coerce.number().optional(),
|
|
121
121
|
availability: zod_openapi_1.z.enum(constants_1.JOB_AVAILABILITY_TYPES).optional(),
|
|
122
122
|
});
|
|
123
123
|
exports.UpdateJobApplicationStatusSchema = zod_openapi_1.z.object({
|
package/package.json
CHANGED
|
@@ -120,7 +120,7 @@ export const JobApplicationEntitySchema = z.object({
|
|
|
120
120
|
.optional(),
|
|
121
121
|
coverLetter: z.string(),
|
|
122
122
|
receiveEmailUpdates: z.boolean(),
|
|
123
|
-
wagesAmount: z.
|
|
123
|
+
wagesAmount: z.coerce.number().optional(),
|
|
124
124
|
availability: z.enum(
|
|
125
125
|
Object.values(JOB_AVAILABILITY_TYPES) as [
|
|
126
126
|
JobAvailabilityTypes,
|
|
@@ -172,7 +172,7 @@ export const CreateJobApplicationInputSchema = z.object({
|
|
|
172
172
|
.optional(),
|
|
173
173
|
coverLetter: z.string(),
|
|
174
174
|
receiveEmailUpdates: z.boolean(),
|
|
175
|
-
wagesAmount: z.
|
|
175
|
+
wagesAmount: z.coerce.number().optional(),
|
|
176
176
|
availability: z.enum(JOB_AVAILABILITY_TYPES).optional(),
|
|
177
177
|
});
|
|
178
178
|
|