@zyacreatives/shared 2.1.23 → 2.1.24
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.
|
@@ -454,6 +454,13 @@ export declare const UpdateJobApplicationInputSchema: z.ZodObject<{
|
|
|
454
454
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
455
455
|
}, z.core.$strip>>>>;
|
|
456
456
|
id: z.ZodCUID2;
|
|
457
|
+
applicationStatus: z.ZodOptional<z.ZodEnum<{
|
|
458
|
+
readonly SENT: "Application Sent";
|
|
459
|
+
readonly OPENED: "Opened";
|
|
460
|
+
readonly REJECTED: "Rejected";
|
|
461
|
+
readonly OFFERED: "Offered";
|
|
462
|
+
readonly HIRED: "Hired";
|
|
463
|
+
}>>;
|
|
457
464
|
}, z.core.$strip>;
|
|
458
465
|
export declare const GetTrackedJobApplicationsInputSchema: z.ZodObject<{
|
|
459
466
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -141,7 +141,10 @@ exports.TrackedJobApplicationEntitySchema = zod_openapi_1.z.object({
|
|
|
141
141
|
applicationStatus: zod_openapi_1.z.enum(Object.values(constants_1.APPLICATION_STATUS)),
|
|
142
142
|
job: job_1.NormalizedJobSchema,
|
|
143
143
|
});
|
|
144
|
-
exports.UpdateJobApplicationInputSchema = exports.CreateJobApplicationInputSchema.partial().extend({
|
|
144
|
+
exports.UpdateJobApplicationInputSchema = exports.CreateJobApplicationInputSchema.partial().extend({
|
|
145
|
+
id: zod_openapi_1.z.cuid2(),
|
|
146
|
+
applicationStatus: zod_openapi_1.z.enum(constants_1.APPLICATION_STATUS).optional(),
|
|
147
|
+
});
|
|
145
148
|
exports.GetTrackedJobApplicationsInputSchema = zod_openapi_1.z.object({
|
|
146
149
|
query: zod_openapi_1.z.string().optional(),
|
|
147
150
|
status: zod_openapi_1.z
|
package/package.json
CHANGED
|
@@ -212,7 +212,10 @@ export const TrackedJobApplicationEntitySchema = z.object({
|
|
|
212
212
|
});
|
|
213
213
|
|
|
214
214
|
export const UpdateJobApplicationInputSchema =
|
|
215
|
-
CreateJobApplicationInputSchema.partial().extend({
|
|
215
|
+
CreateJobApplicationInputSchema.partial().extend({
|
|
216
|
+
id: z.cuid2(),
|
|
217
|
+
applicationStatus: z.enum(APPLICATION_STATUS).optional(),
|
|
218
|
+
});
|
|
216
219
|
|
|
217
220
|
export const GetTrackedJobApplicationsInputSchema = z.object({
|
|
218
221
|
query: z.string().optional(),
|