@thejob/schema 1.0.6 → 1.0.8

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.
Files changed (31) hide show
  1. package/dist/cjs/common/common.schema.d.ts +12 -4
  2. package/dist/cjs/common/common.schema.d.ts.map +1 -1
  3. package/dist/cjs/common/common.schema.js +14 -4
  4. package/dist/cjs/common/constants.d.ts +8 -0
  5. package/dist/cjs/common/constants.d.ts.map +1 -1
  6. package/dist/cjs/common/constants.js +10 -1
  7. package/dist/cjs/interfaces.index.d.ts +28 -11
  8. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  9. package/dist/cjs/job/job.schema.d.ts +35 -12
  10. package/dist/cjs/job/job.schema.d.ts.map +1 -1
  11. package/dist/cjs/job/job.schema.js +232 -46
  12. package/dist/cjs/job-application/job-application.schema.d.ts +7 -7
  13. package/dist/cjs/job-role-template/job-role-template.schema.d.ts +15 -5
  14. package/dist/cjs/job-role-template/job-role-template.schema.d.ts.map +1 -1
  15. package/dist/cjs/resume/resume.schema.d.ts +4 -4
  16. package/dist/esm/common/common.schema.d.ts +12 -4
  17. package/dist/esm/common/common.schema.d.ts.map +1 -1
  18. package/dist/esm/common/common.schema.js +14 -4
  19. package/dist/esm/common/constants.d.ts +8 -0
  20. package/dist/esm/common/constants.d.ts.map +1 -1
  21. package/dist/esm/common/constants.js +9 -0
  22. package/dist/esm/interfaces.index.d.ts +28 -11
  23. package/dist/esm/interfaces.index.d.ts.map +1 -1
  24. package/dist/esm/job/job.schema.d.ts +35 -12
  25. package/dist/esm/job/job.schema.d.ts.map +1 -1
  26. package/dist/esm/job/job.schema.js +234 -48
  27. package/dist/esm/job-application/job-application.schema.d.ts +7 -7
  28. package/dist/esm/job-role-template/job-role-template.schema.d.ts +15 -5
  29. package/dist/esm/job-role-template/job-role-template.schema.d.ts.map +1 -1
  30. package/dist/esm/resume/resume.schema.d.ts +4 -4
  31. package/package.json +1 -1
@@ -1,16 +1,30 @@
1
- import { ApplicationReceivePreference, DbDefaultSchema, NameIdLogoSchema, OtherValueSchema, SupportedEducationLevels, SupportedExperienceLevels, SystemDateFormat, } from "../common";
1
+ import { ApplicationReceivePreference, DbDefaultSchema, NameIdLogoSchema, OtherValueSchema, SupportedCompensationTypes, SupportedEducationLevels, SupportedExperienceLevels, SystemDateFormat, UserIdAndCreatedAtSchema, } from "../common";
2
2
  import { DurationSchema } from "../duration";
3
3
  import { LocationSchema } from "../location";
4
- import { array, boolean, date, lazy, mixed, number, object, string, } from "../yup-extended";
4
+ import { array, boolean, lazy, mixed, number, object, string, } from "../yup-extended";
5
5
  import { JobStatus, SupportedJobStatuses } from "./job.constant";
6
6
  import { getSchemaByQuestion } from "./utils";
7
7
  export const JobSchema = object()
8
8
  .shape({
9
- // Headline section
9
+ /*
10
+ * Job headline defines the title of the job post.
11
+ * It is required and should be a string with a minimum length of 10 characters and a maximum length of 100 characters.
12
+ * This field is used to display the job title in job listings and search results.
13
+ */
10
14
  headline: string().required().min(10).max(150).label("Headline"),
11
- slug: string().optional().max(250).label("Slug"),
12
- // TODO: Make shortId required
13
- // Application receive preference section
15
+ /*
16
+ * Job slug is a unique identifier for the job post.
17
+ * It is required and should be a string with a maximum length of 250 characters.
18
+ * This field is used to create a user-friendly URL for the job post.
19
+ */
20
+ slug: string().required().max(250).label("Slug"),
21
+ /*
22
+ * Application receive preference defines how the job applications are received.
23
+ * It is required and should be one of the following values:
24
+ * - Inbox: Applications are received in the job portal's inbox.
25
+ * - ExternalWebsite: Applications are received on an external website.
26
+ * This field is used to determine how the job applications are processed.
27
+ */
14
28
  applicationReceivePreference: mixed()
15
29
  .oneOf([
16
30
  ApplicationReceivePreference.Inbox,
@@ -18,27 +32,54 @@ export const JobSchema = object()
18
32
  ])
19
33
  .required()
20
34
  .label("Preference"),
21
- // External apply link section
35
+ /*
36
+ * External apply link is the link to the external website where the job applications are received.
37
+ * It is required if the application receive preference is set to ExternalWebsite.
38
+ * It should be a valid URL.
39
+ * This field is used to redirect users to the external website for job applications.
40
+ */
22
41
  externalApplyLink: string().when("applicationReceivePreference", {
23
42
  is: (value) => value === ApplicationReceivePreference.ExternalWebsite,
24
43
  then: (schema) => schema.url().required().label("Apply for Job link"),
25
44
  otherwise: (schema) => schema.optional(),
26
45
  }),
27
- // Company section
46
+ /*
47
+ * This property is required and can be used to specify the company associated with the job post.
48
+ * It can be a predefined company (NameIdLogoSchema) or an other value (OtherValueSchema).
49
+ * The value should be an object with name, id, and logo properties.
50
+ */
28
51
  company: mixed()
29
52
  .oneOfSchema([NameIdLogoSchema, OtherValueSchema])
30
53
  .required()
31
54
  .label("Company"),
32
- // Designation section
55
+ /*
56
+ * This property is required and can be used to specify the designation associated with the job post.
57
+ * It can be a predefined designation (NameIdLogoSchema) or an other value (OtherValueSchema).
58
+ * The value should be an object with name, id, and logo properties.
59
+ */
33
60
  designation: mixed()
34
61
  .oneOfSchema([NameIdLogoSchema, OtherValueSchema])
35
62
  .required()
36
63
  .label("Designation"),
37
- // Employment type section
64
+ /*
65
+ * Employment type defines the type of employment for the job post.
66
+ * It is required and should be a string with a maximum length of 50 characters.
67
+ * This field is used to categorize the job based on employment type, such as full-time, part-time, contract, etc.
68
+ */
38
69
  employmentType: string().required().label("Employment type"),
39
- // Work mode section
70
+ /*
71
+ * Work mode defines the mode of work for the job post.
72
+ * It is required and should be a string with a maximum length of 50 characters.
73
+ * This field is used to categorize the job based on work mode, such as remote, on-site, or hybrid.
74
+ */
40
75
  workMode: string().required().label("Work mode"),
41
- // Skill section
76
+ /*
77
+ * This section is optional and can be used to specify the skills required for the job.
78
+ * It is useful for jobs that require specific skills, such as programming languages, frameworks, etc.
79
+ * The value should be an array of skills, each skill can be a predefined skill (NameIdLogoSchema) or an other value (OtherValueSchema).
80
+ *
81
+ * TODO: Add knockout skills that if not present in the application should immediately disqualify the application.
82
+ */
42
83
  skills: array()
43
84
  .of(mixed().oneOfSchema([
44
85
  NameIdLogoSchema,
@@ -47,79 +88,150 @@ export const JobSchema = object()
47
88
  .optional()
48
89
  .max(20)
49
90
  .label("Skills"),
50
- // TODO: Add knockout skills that if not present in the application should immediately disqualify the application.
91
+ /*
92
+ * This field will store the information about users who have bookmarked the job post.
93
+ * It is optional and can be used to track the users who are interested in the job
94
+ */
51
95
  bookmarks: array()
52
- .of(object().shape({
53
- userId: string().required().label("Use Id"),
54
- createdAt: string().optional().label("Created At"),
55
- }))
96
+ .of(UserIdAndCreatedAtSchema)
56
97
  .optional()
57
98
  .label("Bookmarks"),
99
+ /*
100
+ * This field will store the information about users who have applied for the job post using Direct/Quick Apply feature.
101
+ * It is optional and can be used to track the users who have applied for the job.
102
+ * It includes the user ID and the date when the application was made.
103
+ * It is also useful for analytics and reporting purposes.
104
+ */
58
105
  applicants: array()
59
- .of(object({
60
- userId: string().required().label("User Id"),
61
- appliedOn: date().required().label("Applied On"),
62
- }))
106
+ .of(UserIdAndCreatedAtSchema)
63
107
  .optional()
64
108
  .label("Applicants"),
109
+ /*
110
+ * This field is optional and can be used to track the users who have applied for the job through an external website.
111
+ * It includes the user ID and the date when the application was made.
112
+ * It is also useful for analytics and reporting purposes.
113
+ */
65
114
  externalApplicants: array()
66
- .of(object({
67
- userId: string().required().label("User Id"),
68
- appliedOn: date().required().label("Applied On"),
69
- }))
115
+ .of(UserIdAndCreatedAtSchema)
70
116
  .optional()
71
117
  .label("External Applicants"),
72
- // Description section
118
+ /*
119
+ * This field is required and should be used to store the job description.
120
+ * It is useful for providing detailed information about the job responsibilities, requirements, and other relevant details.
121
+ * It is recommended to use a Markdown editor to write the job description.
122
+ */
73
123
  description: string().required().min(250).max(10000).label("Description"),
74
- descriptionHTML: string().optional().label("Description Markup"),
124
+ /*
125
+ * This field is required and can be used to specify the job description.
126
+ * It is useful for providing detailed information about the job responsibilities, requirements, and other relevant details.
127
+ */
75
128
  descriptionMarkdown: string().optional().label("Description Markdown"),
76
- promoted: boolean().optional().label("Promoted"),
77
- // Location section
129
+ /*
130
+ * This field is require and should be used to store generated HTML string after parsing Markdown description.
131
+ * The value should be a string in HTML format.
132
+ * It is recommended to use a Markdown editor to convert the Markdown description to HTML.
133
+ *
134
+ * Note: This field is required to ensure that the job description is always available in HTML format for rendering.
135
+ * It is important to keep this field in sync with the Markdown description field.
136
+ * If the Markdown description is updated, the HTML description should also be updated accordingly.
137
+ * This can be done using a Markdown parser library that converts Markdown to HTML.
138
+ * For example, you can use libraries like `marked`, `markdown-it`, or `showdown` to convert Markdown to HTML.
139
+ * Ensure that the HTML is sanitized to prevent XSS attacks and other security vulnerabilities.
140
+ */
141
+ descriptionHTML: string().required().label("Description Markup"),
142
+ /*
143
+ * Location section
144
+ * This section is required and can be used to specify the location of the job.
145
+ * It is useful for jobs that are location-specific, such as on-site jobs.
146
+ * The value should be an array of locations.
147
+ *
148
+ * NOTE: Location is also required even if the job is remote, This is to comply with compliance and legal requirements.
149
+ */
78
150
  locations: array()
79
151
  .of(LocationSchema)
80
152
  .required()
81
153
  .min(1)
82
154
  .label("Location"),
83
- // // Category section TODO: Remove this section
84
- // category: array().optional().default([]).max(3).label("Category"),
85
- // Education level section
155
+ /*
156
+ * Educational level section
157
+ * This section is optional and can be used to specify the educational level required for the job.
158
+ * It is useful for jobs that require specific educational qualifications, such as Bachelor's, Master's, etc.
159
+ * The value should be an array of supported education levels.
160
+ */
86
161
  educationLevel: array(string().oneOf(SupportedEducationLevels))
87
162
  .required()
88
163
  .min(1)
89
164
  .label("Educational level"),
90
- // Job post validity section
165
+ /*
166
+ * Validity section
167
+ * This section is optional and can be used to specify the validity of the job post.
168
+ * This can be useful for jobs that have a specific duration or deadline.
169
+ * The value should be an object with start and end dates.
170
+ */
91
171
  validity: DurationSchema({
92
172
  format: SystemDateFormat,
93
173
  startLabel: "Start Date",
94
174
  endLabel: "Expiry Date",
95
175
  }).label("Validity"),
96
- // // Experience level section
176
+ /*
177
+ * Experience level section
178
+ * This section is optional and can be used to specify the experience level required for the job.
179
+ * It is useful for jobs that require specific levels of experience, such as entry-level, mid-level, or senior-level positions.
180
+ * The value should be one of the supported experience levels.
181
+ */
97
182
  experienceLevel: string()
98
183
  .oneOf(SupportedExperienceLevels)
99
184
  .optional()
100
185
  .label("Experience level"),
101
- // Contact section
186
+ /*
187
+ * Contact email section
188
+ * This section is optional and can be used to specify the contact email for the job post.
189
+ * It is useful for jobs that require direct communication with the employer.
190
+ */
102
191
  contactEmail: string().email().optional().label("Contact email"),
103
- // Career level section
104
- // careerLevel: string()
105
- // .oneOf(SupportedCareerLevels)
106
- // .optional()
107
- // .label("Career level"),
108
- // Working hours per week section
192
+ /*
193
+ * Working hours per week section
194
+ * This section is optional and can be used to specify the number of working hours per week for the job.
195
+ * It is useful for jobs that have a fixed number of hours per week, such as part-time or full-time jobs.
196
+ * The value should be a number between 1 and 168 (24 hours * 7 days).
197
+ */
109
198
  workingHoursPerWeek: number()
110
199
  .optional()
111
200
  .min(1)
112
201
  .max(24 * 7)
113
202
  .label("Working hours per week"),
114
- // Tags section
203
+ /*
204
+ * Tags are used to categorize the job post.
205
+ * They are optional and can be used to filter job posts.
206
+ */
115
207
  tags: array().max(50).optional().label("Tags"),
116
- //TODO: Add questionnaire section
208
+ /*
209
+ * Questionnaire section
210
+ * This section contains a list of questions that the user must answer when applying for the job through Direct/Quick Apply.
211
+ * It is optional and can be used to gather additional information from the applicants.
212
+ */
117
213
  questionnaire: array().of(lazy((question) => getSchemaByQuestion(question.type))),
214
+ /**
215
+ * Status of the job post.
216
+ * This is required and can be one of the supported job statuses.
217
+ * It defaults to 'Draft' if not provided.
218
+ * This field is used to track the current state of the job post.
219
+ * Possible values include:
220
+ * - Draft: The job post is in draft mode and not yet published.
221
+ * - Published: The job post is live and visible to users.
222
+ * - Closed: The job post is closed and no longer accepting applications.
223
+ * - Deleted: The job post has been deleted and is no longer available.
224
+ */
118
225
  status: string()
119
226
  .oneOf(SupportedJobStatuses)
120
227
  .default(JobStatus.Draft)
121
228
  .required()
122
229
  .label("Status"),
230
+ /**
231
+ * SEO tags for the job post.
232
+ * This is optional and can be used to improve the visibility of the job post in search engines.
233
+ * It includes meta tags for description and keywords.
234
+ */
123
235
  seoTags: object()
124
236
  .shape({
125
237
  meta: object().shape({
@@ -129,21 +241,95 @@ export const JobSchema = object()
129
241
  })
130
242
  .optional()
131
243
  .label("SEO Tags"),
244
+ /**
245
+ * Short job summary.
246
+ * This is optional and can be used to provide a brief overview of the job post.
247
+ * It is displayed in job listings and search results.
248
+ */
132
249
  jdSummary: string().optional().label("JD Summary"),
133
- // Addidional properties
250
+ /*
251
+ * Indicates if the job can be bookmarked by the user.
252
+ * This is optional and can be used to determine if the job supports bookmarking.
253
+ */
134
254
  canCreateAlert: boolean().optional().label("Can create alert"),
255
+ /*
256
+ * Indicates if the job can be directly applied to without going through an external website.
257
+ * This is optional and can be used to determine if the job supports direct applications.
258
+ */
135
259
  canDirectApply: boolean().optional().label("Can direct apply"),
260
+ /*
261
+ * Indicates if the user has applied for the job.
262
+ * This is optional and can be used to determine if the user has already applied.
263
+ */
136
264
  hasApplied: boolean().optional().label("Has applied"),
265
+ /**
266
+ * Indicates if the user is the owner of the job.
267
+ * This is optional and can be used to determine if the user has permissions to edit/delete the job.
268
+ */
137
269
  isOwner: boolean().optional().label("Is owner"),
270
+ /**
271
+ * Has the job been bookmarked by the user.
272
+ */
138
273
  hasBookmarked: boolean().optional().label("Has bookmarked"),
274
+ /**
275
+ * Number of applicants for the job (Direct Apply/Quick Apply).
276
+ * This is optional and can be used to track the number of applicants.
277
+ */
139
278
  applicantCount: number().optional().label("Applicant count"),
279
+ /**
280
+ * Rate per hour for the job.
281
+ * This is optional and can be used for freelance or contract jobs.
282
+ */
283
+ ratePerHour: number().optional().min(0).label("Rate per hour"),
284
+ /**
285
+ * Number of external applicants for the job.
286
+ */
140
287
  externalApplicantCount: number()
141
288
  .optional()
142
289
  .label("External applicant count"),
143
- // TODO: Add termsAccepted section to the schema
144
- // termsAccepted: boolean()
145
- // .oneOf([true], "Accept terms before proceeding")
146
- // .required("Accept terms before proceeding"),
290
+ /**
291
+ * Indicates if the job is promoted.
292
+ * This is optional and can be used to determine if the job is featured or highlighted.
293
+ */
294
+ isPromoted: boolean().optional().label("Is promoted"),
295
+ /**
296
+ * Salary range for the job.
297
+ * This is optional and can be used to specify the salary range for the job.
298
+ * It includes currency, minimum, and maximum salary.
299
+ */
300
+ salaryRange: object()
301
+ .shape({
302
+ currency: string().required().label("Currency").default("USD"), // Default to USD if not provided
303
+ min: number().optional().min(0).label("Minimum Salary"),
304
+ max: number().optional().min(0).label("Maximum Salary"),
305
+ compensationType: string()
306
+ .oneOf(SupportedCompensationTypes)
307
+ .required()
308
+ .label("Compensation Type"),
309
+ isNegotiable: boolean()
310
+ .optional()
311
+ .default(false)
312
+ .label("Is Negotiable"),
313
+ })
314
+ .optional()
315
+ .label("Salary Range"),
316
+ /*
317
+ * This field will store the information about users who have reported the job post.
318
+ * It is optional and can be used to track the users who have reported the job for any reason.
319
+ * It includes the user ID and the date when the report was made.
320
+ * It is also useful for analytics and reporting purposes.
321
+ */
322
+ reports: array().of(UserIdAndCreatedAtSchema).optional().label("Reports"),
323
+ /*
324
+ * Indicates if the user has accepted the terms and conditions for posting a job.
325
+ * This is required and should be a boolean value.
326
+ * It is used to ensure that the user agrees to the terms before proceeding with the job post.
327
+ */
328
+ termsAccepted: boolean()
329
+ .oneOf([true], "Accept terms before proceeding")
330
+ .required("Accept terms before proceeding")
331
+ .required()
332
+ .label("Terms accepted"),
147
333
  })
148
334
  .concat(DbDefaultSchema)
149
335
  .noUnknown()
@@ -161,7 +161,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
161
161
  status: NonNullable<JobApplicationStatus | undefined>;
162
162
  }[];
163
163
  } & {
164
- id: string;
164
+ _id: string;
165
165
  shortId: string;
166
166
  createdBy: string;
167
167
  createdAt: string;
@@ -190,22 +190,22 @@ export declare const JobApplicationSchema: ObjectSchema<{
190
190
  status: import("../resume").ResumeStatus.Draft;
191
191
  markdown: undefined;
192
192
  markdownStyling: import("../resume").ResumeMarkdownStyle.Classic;
193
- id: undefined;
193
+ _id: undefined;
194
194
  shortId: undefined;
195
195
  createdBy: undefined;
196
- createdAt: undefined;
196
+ createdAt: string;
197
197
  updatedBy: undefined;
198
- updatedAt: undefined;
198
+ updatedAt: string;
199
199
  };
200
200
  status: JobApplicationStatus.Open;
201
201
  questionnaire: "";
202
202
  history: never[];
203
- id: undefined;
203
+ _id: undefined;
204
204
  shortId: undefined;
205
205
  createdBy: undefined;
206
- createdAt: undefined;
206
+ createdAt: string;
207
207
  updatedBy: undefined;
208
- updatedAt: undefined;
208
+ updatedAt: string;
209
209
  }, "">;
210
210
  export type TJobApplicationSchema = InferType<typeof JobApplicationSchema>;
211
211
  //# sourceMappingURL=job-application.schema.d.ts.map
@@ -56,9 +56,8 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
56
56
  applicants: "";
57
57
  externalApplicants: "";
58
58
  description: undefined;
59
- descriptionHTML: undefined;
60
59
  descriptionMarkdown: undefined;
61
- promoted: undefined;
60
+ descriptionHTML: undefined;
62
61
  locations: "";
63
62
  educationLevel: undefined;
64
63
  validity: any;
@@ -81,13 +80,24 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
81
80
  isOwner: undefined;
82
81
  hasBookmarked: undefined;
83
82
  applicantCount: undefined;
83
+ ratePerHour: undefined;
84
84
  externalApplicantCount: undefined;
85
- id: undefined;
85
+ isPromoted: undefined;
86
+ salaryRange: {
87
+ currency: "USD";
88
+ min: undefined;
89
+ max: undefined;
90
+ compensationType: undefined;
91
+ isNegotiable: false;
92
+ };
93
+ reports: "";
94
+ termsAccepted: undefined;
95
+ _id: undefined;
86
96
  shortId: undefined;
87
97
  createdBy: undefined;
88
- createdAt: undefined;
98
+ createdAt: string;
89
99
  updatedBy: undefined;
90
- updatedAt: undefined;
100
+ updatedAt: string;
91
101
  }, "">;
92
102
  export type TJobRoleTemplateSchema = InferType<typeof JobRoleTemplateSchema>;
93
103
  //# sourceMappingURL=job-role-template.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQhC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQhC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -242,7 +242,7 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
242
242
  markdown: string;
243
243
  markdownStyling: ResumeMarkdownStyle;
244
244
  } & {
245
- id: string;
245
+ _id: string;
246
246
  shortId: string;
247
247
  createdBy: string;
248
248
  createdAt: string;
@@ -255,12 +255,12 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
255
255
  status: ResumeStatus.Draft;
256
256
  markdown: undefined;
257
257
  markdownStyling: ResumeMarkdownStyle.Classic;
258
- id: undefined;
258
+ _id: undefined;
259
259
  shortId: undefined;
260
260
  createdBy: undefined;
261
- createdAt: undefined;
261
+ createdAt: string;
262
262
  updatedBy: undefined;
263
- updatedAt: undefined;
263
+ updatedAt: string;
264
264
  }, "">;
265
265
  export type TResumeSchema = InferType<typeof ResumeSchema>;
266
266
  export declare const NewResumePromptSchema: (host?: string) => import("yup").ObjectSchema<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thejob/schema",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",