@zyacreatives/shared 1.9.7 → 1.9.9
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 +128 -4
- package/dist/schemas/job.js +7 -5
- package/dist/types/job.d.ts +3 -1
- package/package.json +1 -1
- package/src/schemas/job.ts +14 -6
- package/src/types/job.ts +10 -0
package/dist/schemas/job.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare const JobEntitySchema: z.ZodObject<{
|
|
|
17
17
|
gigType: z.ZodNullable<z.ZodEnum<{
|
|
18
18
|
[x: string]: string;
|
|
19
19
|
}>>;
|
|
20
|
-
location: z.
|
|
20
|
+
location: z.ZodEnum<{
|
|
21
21
|
Africa: "Africa";
|
|
22
22
|
Asia: "Asia";
|
|
23
23
|
Europe: "Europe";
|
|
@@ -30,7 +30,7 @@ export declare const JobEntitySchema: z.ZodObject<{
|
|
|
30
30
|
Remote: "Remote";
|
|
31
31
|
EMEA: "EMEA";
|
|
32
32
|
"Asia Pacific": "Asia Pacific";
|
|
33
|
-
}
|
|
33
|
+
}>;
|
|
34
34
|
createdAt: z.ZodDate;
|
|
35
35
|
updatedAt: z.ZodDate;
|
|
36
36
|
}, z.core.$strip>;
|
|
@@ -42,7 +42,7 @@ export declare const GigJobEntitySchema: z.ZodObject<{
|
|
|
42
42
|
workMode: z.ZodEnum<{
|
|
43
43
|
[x: string]: string;
|
|
44
44
|
}>;
|
|
45
|
-
location: z.
|
|
45
|
+
location: z.ZodEnum<{
|
|
46
46
|
Africa: "Africa";
|
|
47
47
|
Asia: "Asia";
|
|
48
48
|
Europe: "Europe";
|
|
@@ -55,7 +55,64 @@ export declare const GigJobEntitySchema: z.ZodObject<{
|
|
|
55
55
|
Remote: "Remote";
|
|
56
56
|
EMEA: "EMEA";
|
|
57
57
|
"Asia Pacific": "Asia Pacific";
|
|
58
|
+
}>;
|
|
59
|
+
createdAt: z.ZodDate;
|
|
60
|
+
updatedAt: z.ZodDate;
|
|
61
|
+
id: z.ZodCUID2;
|
|
62
|
+
jobType: z.ZodLiteral<string>;
|
|
63
|
+
employmentType: z.ZodNull;
|
|
64
|
+
gigType: z.ZodEnum<{
|
|
65
|
+
[x: string]: string;
|
|
66
|
+
}>;
|
|
67
|
+
overview: z.ZodString;
|
|
68
|
+
deliverables: z.ZodArray<z.ZodString>;
|
|
69
|
+
employeeRequirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
|
+
aboutCompany: z.ZodOptional<z.ZodString>;
|
|
71
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
72
|
+
wagesMin: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
wagesMax: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
USD: "USD";
|
|
76
|
+
EUR: "EUR";
|
|
77
|
+
GBP: "GBP";
|
|
78
|
+
NGN: "NGN";
|
|
79
|
+
CAD: "CAD";
|
|
80
|
+
AUD: "AUD";
|
|
81
|
+
JPY: "JPY";
|
|
82
|
+
CHF: "CHF";
|
|
83
|
+
INR: "INR";
|
|
84
|
+
ZAR: "ZAR";
|
|
58
85
|
}>>;
|
|
86
|
+
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
HOURLY: "HOURLY";
|
|
88
|
+
DAILY: "DAILY";
|
|
89
|
+
WEEKLY: "WEEKLY";
|
|
90
|
+
MONTHLY: "MONTHLY";
|
|
91
|
+
PROJECT_BASED: "PROJECT_BASED";
|
|
92
|
+
}>>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
export declare const JobWithGigDetailsEntitySchema: z.ZodObject<{
|
|
95
|
+
title: z.ZodString;
|
|
96
|
+
brandId: z.ZodCUID2;
|
|
97
|
+
brandName: z.ZodCUID2;
|
|
98
|
+
brandImgUrl: z.ZodOptional<z.ZodCUID2>;
|
|
99
|
+
workMode: z.ZodEnum<{
|
|
100
|
+
[x: string]: string;
|
|
101
|
+
}>;
|
|
102
|
+
location: z.ZodEnum<{
|
|
103
|
+
Africa: "Africa";
|
|
104
|
+
Asia: "Asia";
|
|
105
|
+
Europe: "Europe";
|
|
106
|
+
"North America": "North America";
|
|
107
|
+
"South America": "South America";
|
|
108
|
+
"Middle East": "Middle East";
|
|
109
|
+
Oceania: "Oceania";
|
|
110
|
+
Global: "Global";
|
|
111
|
+
Other: "Other";
|
|
112
|
+
Remote: "Remote";
|
|
113
|
+
EMEA: "EMEA";
|
|
114
|
+
"Asia Pacific": "Asia Pacific";
|
|
115
|
+
}>;
|
|
59
116
|
createdAt: z.ZodDate;
|
|
60
117
|
updatedAt: z.ZodDate;
|
|
61
118
|
id: z.ZodCUID2;
|
|
@@ -100,7 +157,7 @@ export declare const RoleJobEntitySchema: z.ZodObject<{
|
|
|
100
157
|
workMode: z.ZodEnum<{
|
|
101
158
|
[x: string]: string;
|
|
102
159
|
}>;
|
|
103
|
-
location: z.
|
|
160
|
+
location: z.ZodEnum<{
|
|
104
161
|
Africa: "Africa";
|
|
105
162
|
Asia: "Asia";
|
|
106
163
|
Europe: "Europe";
|
|
@@ -113,7 +170,70 @@ export declare const RoleJobEntitySchema: z.ZodObject<{
|
|
|
113
170
|
Remote: "Remote";
|
|
114
171
|
EMEA: "EMEA";
|
|
115
172
|
"Asia Pacific": "Asia Pacific";
|
|
173
|
+
}>;
|
|
174
|
+
createdAt: z.ZodDate;
|
|
175
|
+
updatedAt: z.ZodDate;
|
|
176
|
+
jobType: z.ZodLiteral<string>;
|
|
177
|
+
gigType: z.ZodNull;
|
|
178
|
+
employmentType: z.ZodEnum<{
|
|
179
|
+
[x: string]: string;
|
|
180
|
+
}>;
|
|
181
|
+
experienceLevel: z.ZodEnum<{
|
|
182
|
+
"0-1 year": "0-1 year";
|
|
183
|
+
"1-3 years": "1-3 years";
|
|
184
|
+
"3-5 years": "3-5 years";
|
|
185
|
+
"5+ years": "5+ years";
|
|
186
|
+
}>;
|
|
187
|
+
overview: z.ZodString;
|
|
188
|
+
keyResponsibilities: z.ZodArray<z.ZodString>;
|
|
189
|
+
requiredSkills: z.ZodArray<z.ZodString>;
|
|
190
|
+
employeeRequirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
191
|
+
companyBenefits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
192
|
+
wagesMin: z.ZodOptional<z.ZodNumber>;
|
|
193
|
+
wagesMax: z.ZodOptional<z.ZodNumber>;
|
|
194
|
+
wagesCurrency: z.ZodOptional<z.ZodEnum<{
|
|
195
|
+
USD: "USD";
|
|
196
|
+
EUR: "EUR";
|
|
197
|
+
GBP: "GBP";
|
|
198
|
+
NGN: "NGN";
|
|
199
|
+
CAD: "CAD";
|
|
200
|
+
AUD: "AUD";
|
|
201
|
+
JPY: "JPY";
|
|
202
|
+
CHF: "CHF";
|
|
203
|
+
INR: "INR";
|
|
204
|
+
ZAR: "ZAR";
|
|
116
205
|
}>>;
|
|
206
|
+
wagesType: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
HOURLY: "HOURLY";
|
|
208
|
+
DAILY: "DAILY";
|
|
209
|
+
WEEKLY: "WEEKLY";
|
|
210
|
+
MONTHLY: "MONTHLY";
|
|
211
|
+
PROJECT_BASED: "PROJECT_BASED";
|
|
212
|
+
}>>;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
export declare const JobWithRoleDetailsEntitySchema: z.ZodObject<{
|
|
215
|
+
id: z.ZodCUID2;
|
|
216
|
+
title: z.ZodString;
|
|
217
|
+
brandId: z.ZodCUID2;
|
|
218
|
+
brandName: z.ZodCUID2;
|
|
219
|
+
brandImgUrl: z.ZodOptional<z.ZodCUID2>;
|
|
220
|
+
workMode: z.ZodEnum<{
|
|
221
|
+
[x: string]: string;
|
|
222
|
+
}>;
|
|
223
|
+
location: z.ZodEnum<{
|
|
224
|
+
Africa: "Africa";
|
|
225
|
+
Asia: "Asia";
|
|
226
|
+
Europe: "Europe";
|
|
227
|
+
"North America": "North America";
|
|
228
|
+
"South America": "South America";
|
|
229
|
+
"Middle East": "Middle East";
|
|
230
|
+
Oceania: "Oceania";
|
|
231
|
+
Global: "Global";
|
|
232
|
+
Other: "Other";
|
|
233
|
+
Remote: "Remote";
|
|
234
|
+
EMEA: "EMEA";
|
|
235
|
+
"Asia Pacific": "Asia Pacific";
|
|
236
|
+
}>;
|
|
117
237
|
createdAt: z.ZodDate;
|
|
118
238
|
updatedAt: z.ZodDate;
|
|
119
239
|
jobType: z.ZodLiteral<string>;
|
|
@@ -185,6 +305,7 @@ export declare const CreateJobInputSchema: z.ZodObject<{
|
|
|
185
305
|
}>>>;
|
|
186
306
|
}, z.core.$strip>;
|
|
187
307
|
export declare const CreateRoleJobInputSchema: z.ZodObject<{
|
|
308
|
+
jobId: z.ZodCUID2;
|
|
188
309
|
experienceLevel: z.ZodEnum<{
|
|
189
310
|
"0-1 year": "0-1 year";
|
|
190
311
|
"1-3 years": "1-3 years";
|
|
@@ -219,6 +340,7 @@ export declare const CreateRoleJobInputSchema: z.ZodObject<{
|
|
|
219
340
|
}>>;
|
|
220
341
|
}, z.core.$strip>;
|
|
221
342
|
export declare const CreateGigJobInputSchema: z.ZodObject<{
|
|
343
|
+
jobId: z.ZodCUID2;
|
|
222
344
|
overview: z.ZodString;
|
|
223
345
|
deliverables: z.ZodArray<z.ZodString>;
|
|
224
346
|
employeeRequirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -247,6 +369,7 @@ export declare const CreateGigJobInputSchema: z.ZodObject<{
|
|
|
247
369
|
}>>;
|
|
248
370
|
}, z.core.$strip>;
|
|
249
371
|
export declare const UpdateRoleJobInputSchema: z.ZodObject<{
|
|
372
|
+
jobId: z.ZodOptional<z.ZodCUID2>;
|
|
250
373
|
experienceLevel: z.ZodOptional<z.ZodEnum<{
|
|
251
374
|
"0-1 year": "0-1 year";
|
|
252
375
|
"1-3 years": "1-3 years";
|
|
@@ -285,6 +408,7 @@ export declare const UpdateRoleJobInputSchema: z.ZodObject<{
|
|
|
285
408
|
}>>>;
|
|
286
409
|
}, z.core.$strip>;
|
|
287
410
|
export declare const UpdateGigJobInputSchema: z.ZodObject<{
|
|
411
|
+
jobId: z.ZodOptional<z.ZodCUID2>;
|
|
288
412
|
overview: z.ZodOptional<z.ZodString>;
|
|
289
413
|
deliverables: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
290
414
|
employeeRequirements: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
package/dist/schemas/job.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateJobInputSchema = exports.UpdateGigJobInputSchema = exports.UpdateRoleJobInputSchema = exports.CreateGigJobInputSchema = exports.CreateRoleJobInputSchema = exports.CreateJobInputSchema = exports.RoleJobEntitySchema = exports.GigJobEntitySchema = exports.JobEntitySchema = void 0;
|
|
3
|
+
exports.UpdateJobInputSchema = exports.UpdateGigJobInputSchema = exports.UpdateRoleJobInputSchema = exports.CreateGigJobInputSchema = exports.CreateRoleJobInputSchema = exports.CreateJobInputSchema = exports.JobWithRoleDetailsEntitySchema = exports.RoleJobEntitySchema = exports.JobWithGigDetailsEntitySchema = exports.GigJobEntitySchema = exports.JobEntitySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const constants_1 = require("../constants");
|
|
6
6
|
exports.JobEntitySchema = zod_1.z.object({
|
|
@@ -17,16 +17,14 @@ exports.JobEntitySchema = zod_1.z.object({
|
|
|
17
17
|
gigType: zod_1.z
|
|
18
18
|
.enum(Object.values(constants_1.GIG_TYPE))
|
|
19
19
|
.nullable(), // nullable because ROLE jobs don’t have it
|
|
20
|
-
location: zod_1.z
|
|
21
|
-
.array(zod_1.z.enum(Object.values(constants_1.JOB_LOCATIONS)))
|
|
22
|
-
.nonempty(),
|
|
20
|
+
location: zod_1.z.enum(Object.values(constants_1.JOB_LOCATIONS)),
|
|
23
21
|
createdAt: zod_1.z.date(),
|
|
24
22
|
updatedAt: zod_1.z.date(),
|
|
25
23
|
});
|
|
26
24
|
exports.GigJobEntitySchema = exports.JobEntitySchema.extend({
|
|
27
25
|
id: zod_1.z.cuid2(),
|
|
28
26
|
jobType: zod_1.z.literal(constants_1.JOB_TYPE.GIG),
|
|
29
|
-
employmentType: zod_1.z.null(),
|
|
27
|
+
employmentType: zod_1.z.null(),
|
|
30
28
|
gigType: zod_1.z.enum(Object.values(constants_1.GIG_TYPE)),
|
|
31
29
|
overview: zod_1.z.string(),
|
|
32
30
|
deliverables: zod_1.z.array(zod_1.z.string()),
|
|
@@ -42,6 +40,7 @@ exports.GigJobEntitySchema = exports.JobEntitySchema.extend({
|
|
|
42
40
|
.enum(Object.values(constants_1.WAGE_TYPES))
|
|
43
41
|
.optional(),
|
|
44
42
|
});
|
|
43
|
+
exports.JobWithGigDetailsEntitySchema = exports.JobEntitySchema.extend(exports.GigJobEntitySchema.shape);
|
|
45
44
|
exports.RoleJobEntitySchema = exports.JobEntitySchema.extend({
|
|
46
45
|
jobType: zod_1.z.literal(constants_1.JOB_TYPE.ROLE),
|
|
47
46
|
gigType: zod_1.z.null(), // enforce null for ROLE
|
|
@@ -61,6 +60,7 @@ exports.RoleJobEntitySchema = exports.JobEntitySchema.extend({
|
|
|
61
60
|
.enum(Object.values(constants_1.WAGE_TYPES))
|
|
62
61
|
.optional(),
|
|
63
62
|
});
|
|
63
|
+
exports.JobWithRoleDetailsEntitySchema = exports.JobEntitySchema.extend(exports.RoleJobEntitySchema.shape);
|
|
64
64
|
exports.CreateJobInputSchema = zod_1.z
|
|
65
65
|
.object({
|
|
66
66
|
title: zod_1.z.string(),
|
|
@@ -112,6 +112,7 @@ exports.CreateJobInputSchema = zod_1.z
|
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
exports.CreateRoleJobInputSchema = zod_1.z.object({
|
|
115
|
+
jobId: zod_1.z.cuid2(),
|
|
115
116
|
experienceLevel: zod_1.z.enum(Object.values(constants_1.EXPERIENCE_LEVELS)),
|
|
116
117
|
overview: zod_1.z.string(),
|
|
117
118
|
keyResponsibilities: zod_1.z.array(zod_1.z.string()),
|
|
@@ -128,6 +129,7 @@ exports.CreateRoleJobInputSchema = zod_1.z.object({
|
|
|
128
129
|
.optional(),
|
|
129
130
|
});
|
|
130
131
|
exports.CreateGigJobInputSchema = zod_1.z.object({
|
|
132
|
+
jobId: zod_1.z.cuid2(),
|
|
131
133
|
overview: zod_1.z.string(),
|
|
132
134
|
deliverables: zod_1.z.array(zod_1.z.string()),
|
|
133
135
|
employeeRequirements: zod_1.z.array(zod_1.z.string()).optional(),
|
package/dist/types/job.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { JobEntitySchema, GigJobEntitySchema, RoleJobEntitySchema, CreateJobInputSchema, CreateRoleJobInputSchema, CreateGigJobInputSchema, UpdateRoleJobInputSchema, UpdateGigJobInputSchema, UpdateJobInputSchema } from "../schemas/job";
|
|
2
|
+
import { JobEntitySchema, GigJobEntitySchema, RoleJobEntitySchema, CreateJobInputSchema, CreateRoleJobInputSchema, CreateGigJobInputSchema, UpdateRoleJobInputSchema, UpdateGigJobInputSchema, UpdateJobInputSchema, JobWithGigDetailsEntitySchema, JobWithRoleDetailsEntitySchema } from "../schemas/job";
|
|
3
3
|
export type JobEntity = z.infer<typeof JobEntitySchema>;
|
|
4
4
|
export type GigJobEntity = z.infer<typeof GigJobEntitySchema>;
|
|
5
5
|
export type RoleJobEntity = z.infer<typeof RoleJobEntitySchema>;
|
|
6
|
+
export type JobWithGigDetailsEntity = z.infer<typeof JobWithGigDetailsEntitySchema>;
|
|
7
|
+
export type JobWithRoleDetailsEntity = z.infer<typeof JobWithRoleDetailsEntitySchema>;
|
|
6
8
|
export type CreateJobInput = z.infer<typeof CreateJobInputSchema>;
|
|
7
9
|
export type CreateRoleJobInput = z.infer<typeof CreateRoleJobInputSchema>;
|
|
8
10
|
export type CreateGigJobInput = z.infer<typeof CreateGigJobInputSchema>;
|
package/package.json
CHANGED
package/src/schemas/job.ts
CHANGED
|
@@ -37,11 +37,9 @@ export const JobEntitySchema = z.object({
|
|
|
37
37
|
gigType: z
|
|
38
38
|
.enum(Object.values(GIG_TYPE) as [GigType, ...GigType[]])
|
|
39
39
|
.nullable(), // nullable because ROLE jobs don’t have it
|
|
40
|
-
location: z
|
|
41
|
-
.
|
|
42
|
-
|
|
43
|
-
)
|
|
44
|
-
.nonempty(),
|
|
40
|
+
location: z.enum(
|
|
41
|
+
Object.values(JOB_LOCATIONS) as [JobLocation, ...JobLocation[]]
|
|
42
|
+
),
|
|
45
43
|
createdAt: z.date(),
|
|
46
44
|
updatedAt: z.date(),
|
|
47
45
|
});
|
|
@@ -49,7 +47,7 @@ export const JobEntitySchema = z.object({
|
|
|
49
47
|
export const GigJobEntitySchema = JobEntitySchema.extend({
|
|
50
48
|
id: z.cuid2(),
|
|
51
49
|
jobType: z.literal(JOB_TYPE.GIG),
|
|
52
|
-
employmentType: z.null(),
|
|
50
|
+
employmentType: z.null(),
|
|
53
51
|
gigType: z.enum(Object.values(GIG_TYPE) as [GigType, ...GigType[]]),
|
|
54
52
|
overview: z.string(),
|
|
55
53
|
deliverables: z.array(z.string()),
|
|
@@ -66,6 +64,10 @@ export const GigJobEntitySchema = JobEntitySchema.extend({
|
|
|
66
64
|
.optional(),
|
|
67
65
|
});
|
|
68
66
|
|
|
67
|
+
export const JobWithGigDetailsEntitySchema = JobEntitySchema.extend(
|
|
68
|
+
GigJobEntitySchema.shape
|
|
69
|
+
);
|
|
70
|
+
|
|
69
71
|
export const RoleJobEntitySchema = JobEntitySchema.extend({
|
|
70
72
|
jobType: z.literal(JOB_TYPE.ROLE),
|
|
71
73
|
gigType: z.null(), // enforce null for ROLE
|
|
@@ -90,6 +92,10 @@ export const RoleJobEntitySchema = JobEntitySchema.extend({
|
|
|
90
92
|
.optional(),
|
|
91
93
|
});
|
|
92
94
|
|
|
95
|
+
export const JobWithRoleDetailsEntitySchema = JobEntitySchema.extend(
|
|
96
|
+
RoleJobEntitySchema.shape
|
|
97
|
+
);
|
|
98
|
+
|
|
93
99
|
export const CreateJobInputSchema = z
|
|
94
100
|
.object({
|
|
95
101
|
title: z.string(),
|
|
@@ -147,6 +153,7 @@ export const CreateJobInputSchema = z
|
|
|
147
153
|
});
|
|
148
154
|
|
|
149
155
|
export const CreateRoleJobInputSchema = z.object({
|
|
156
|
+
jobId: z.cuid2(),
|
|
150
157
|
experienceLevel: z.enum(
|
|
151
158
|
Object.values(EXPERIENCE_LEVELS) as [ExperienceLevel, ...ExperienceLevel[]]
|
|
152
159
|
),
|
|
@@ -166,6 +173,7 @@ export const CreateRoleJobInputSchema = z.object({
|
|
|
166
173
|
});
|
|
167
174
|
|
|
168
175
|
export const CreateGigJobInputSchema = z.object({
|
|
176
|
+
jobId: z.cuid2(),
|
|
169
177
|
overview: z.string(),
|
|
170
178
|
deliverables: z.array(z.string()),
|
|
171
179
|
employeeRequirements: z.array(z.string()).optional(),
|
package/src/types/job.ts
CHANGED
|
@@ -9,6 +9,8 @@ import {
|
|
|
9
9
|
UpdateRoleJobInputSchema,
|
|
10
10
|
UpdateGigJobInputSchema,
|
|
11
11
|
UpdateJobInputSchema,
|
|
12
|
+
JobWithGigDetailsEntitySchema,
|
|
13
|
+
JobWithRoleDetailsEntitySchema,
|
|
12
14
|
} from "../schemas/job";
|
|
13
15
|
|
|
14
16
|
export type JobEntity = z.infer<typeof JobEntitySchema>;
|
|
@@ -17,6 +19,14 @@ export type GigJobEntity = z.infer<typeof GigJobEntitySchema>;
|
|
|
17
19
|
|
|
18
20
|
export type RoleJobEntity = z.infer<typeof RoleJobEntitySchema>;
|
|
19
21
|
|
|
22
|
+
export type JobWithGigDetailsEntity = z.infer<
|
|
23
|
+
typeof JobWithGigDetailsEntitySchema
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
export type JobWithRoleDetailsEntity = z.infer<
|
|
27
|
+
typeof JobWithRoleDetailsEntitySchema
|
|
28
|
+
>;
|
|
29
|
+
|
|
20
30
|
export type CreateJobInput = z.infer<typeof CreateJobInputSchema>;
|
|
21
31
|
|
|
22
32
|
export type CreateRoleJobInput = z.infer<typeof CreateRoleJobInputSchema>;
|