@zyacreatives/shared 2.1.21 → 2.1.22
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/types/job.d.ts +2 -2
- package/package.json +1 -1
- package/src/types/job.ts +4 -1
package/dist/types/job.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { JobEntitySchema, GigJobEntitySchema, RoleJobEntitySchema, CreateJobInputSchema, CreateRoleJobInputSchema, CreateGigJobInputSchema, UpdateRoleJobInputSchema, UpdateGigJobInputSchema, UpdateJobInputSchema, JobWithGigDetailsEntitySchema, JobWithRoleDetailsEntitySchema, BaseJobEntitySchema, JobIdSchema, GetJobsOutputSchema,
|
|
2
|
+
import { JobEntitySchema, GigJobEntitySchema, RoleJobEntitySchema, CreateJobInputSchema, CreateRoleJobInputSchema, CreateGigJobInputSchema, UpdateRoleJobInputSchema, UpdateGigJobInputSchema, UpdateJobInputSchema, JobWithGigDetailsEntitySchema, JobWithRoleDetailsEntitySchema, BaseJobEntitySchema, JobIdSchema, GetJobsOutputSchema, GetJobsInputSchema, GetCreatedJobsOutputSchema } from "../schemas/job";
|
|
3
3
|
export type BaseJobEntity = z.infer<typeof BaseJobEntitySchema>;
|
|
4
4
|
export type JobIdInput = z.infer<typeof JobIdSchema>;
|
|
5
5
|
export type JobEntity = z.infer<typeof JobEntitySchema>;
|
|
@@ -23,4 +23,4 @@ export type JobWithRoleDetailsEntity = z.infer<typeof JobWithRoleDetailsEntitySc
|
|
|
23
23
|
export type GetJobsInput = z.infer<typeof GetJobsInputSchema>;
|
|
24
24
|
export type GetJobsOutput = z.infer<typeof GetJobsOutputSchema>;
|
|
25
25
|
export type GetCreatedJobsOutput = z.infer<typeof GetCreatedJobsOutputSchema>;
|
|
26
|
-
export type NormalizedJobEntity =
|
|
26
|
+
export type NormalizedJobEntity = JobEntity | JobWithGigDetailsEntity | JobWithRoleDetailsEntity;
|
package/package.json
CHANGED
package/src/types/job.ts
CHANGED
|
@@ -66,4 +66,7 @@ export type JobWithRoleDetailsEntity = z.infer<
|
|
|
66
66
|
export type GetJobsInput = z.infer<typeof GetJobsInputSchema>;
|
|
67
67
|
export type GetJobsOutput = z.infer<typeof GetJobsOutputSchema>;
|
|
68
68
|
export type GetCreatedJobsOutput = z.infer<typeof GetCreatedJobsOutputSchema>;
|
|
69
|
-
export type NormalizedJobEntity =
|
|
69
|
+
export type NormalizedJobEntity =
|
|
70
|
+
| JobEntity
|
|
71
|
+
| JobWithGigDetailsEntity
|
|
72
|
+
| JobWithRoleDetailsEntity;
|