@thejob/schema 1.0.106 → 2.0.0
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/.claude/settings.local.json +121 -0
- package/.gitattributes +2 -0
- package/dist/index.cjs +1004 -0
- package/dist/index.d.cts +1706 -0
- package/dist/index.d.ts +1706 -0
- package/dist/index.js +899 -0
- package/package.json +22 -52
- package/pnpm-workspace.yaml +2 -0
- package/src/common/common.constant.ts +34 -0
- package/src/common/common.schema.ts +28 -0
- package/src/duration/duration.schema.ts +51 -0
- package/src/extensions/date-string.extension.ts +87 -0
- package/src/group/group.constant.ts +20 -0
- package/src/group/group.schema.ts +94 -0
- package/src/index.ts +72 -0
- package/src/location/location.schema.ts +15 -0
- package/src/page/company/company.schema.ts +16 -0
- package/src/page/company/perks-and-benefits.schema.ts +8 -0
- package/{dist/esm/page/institute/institute.schema.js → src/page/institute/institute.schema.ts} +2 -1
- package/src/page/page-location.schema.ts +19 -0
- package/src/page/page.constant.ts +39 -0
- package/src/page/page.schema.ts +83 -0
- package/src/pagination/pagination.constant.ts +20 -0
- package/src/pagination/pagination.schema.ts +13 -0
- package/src/skill/skill.schema.ts +19 -0
- package/src/social-account/social-account.constant.ts +33 -0
- package/src/social-account/social-account.schema.ts +18 -0
- package/src/user/education.schema.ts +37 -0
- package/src/user/general-detail.schema.ts +48 -0
- package/src/user/project.schema.ts +27 -0
- package/src/user/user-additional-info.schema.ts +9 -0
- package/src/user/user-certification.schema.ts +24 -0
- package/src/user/user-completeness.schema.ts +21 -0
- package/src/user/user-coordinator-profile.schema.ts +45 -0
- package/src/user/user-interest.schema.ts +3 -0
- package/src/user/user-job-preferences.schema.ts +208 -0
- package/src/user/user-language.schema.ts +15 -0
- package/src/user/user-recruiter-profile.schema.ts +45 -0
- package/src/user/user-skill.schema.ts +19 -0
- package/src/user/user.constant.ts +93 -0
- package/src/user/user.schema.ts +132 -0
- package/src/user/user.types.ts +17 -0
- package/src/user/work-experience.schema.ts +27 -0
- package/tsconfig.json +29 -0
- package/tsup.config.ts +8 -0
- package/dist/cjs/ai/ai.types.d.ts +0 -172
- package/dist/cjs/ai/ai.types.d.ts.map +0 -1
- package/dist/cjs/ai/ai.types.js +0 -2
- package/dist/cjs/ai/index.d.ts +0 -2
- package/dist/cjs/ai/index.d.ts.map +0 -1
- package/dist/cjs/ai/index.js +0 -17
- package/dist/cjs/category/category.schema.d.ts +0 -8
- package/dist/cjs/category/category.schema.d.ts.map +0 -1
- package/dist/cjs/category/category.schema.js +0 -11
- package/dist/cjs/category/index.d.ts +0 -2
- package/dist/cjs/category/index.d.ts.map +0 -1
- package/dist/cjs/category/index.js +0 -17
- package/dist/cjs/common/common.schema.d.ts +0 -60
- package/dist/cjs/common/common.schema.d.ts.map +0 -1
- package/dist/cjs/common/common.schema.js +0 -61
- package/dist/cjs/common/common.types.d.ts +0 -52
- package/dist/cjs/common/common.types.d.ts.map +0 -1
- package/dist/cjs/common/common.types.js +0 -2
- package/dist/cjs/common/index.d.ts +0 -4
- package/dist/cjs/common/index.d.ts.map +0 -1
- package/dist/cjs/common/index.js +0 -19
- package/dist/cjs/common/utils.d.ts +0 -6
- package/dist/cjs/common/utils.d.ts.map +0 -1
- package/dist/cjs/common/utils.js +0 -15
- package/dist/cjs/constants/auth/auth.d.ts +0 -12
- package/dist/cjs/constants/auth/auth.d.ts.map +0 -1
- package/dist/cjs/constants/auth/auth.js +0 -17
- package/dist/cjs/constants/auth/index.d.ts +0 -2
- package/dist/cjs/constants/auth/index.d.ts.map +0 -1
- package/dist/cjs/constants/auth/index.js +0 -17
- package/dist/cjs/constants/authorization/authorization.d.ts +0 -10
- package/dist/cjs/constants/authorization/authorization.d.ts.map +0 -1
- package/dist/cjs/constants/authorization/authorization.js +0 -15
- package/dist/cjs/constants/authorization/index.d.ts +0 -2
- package/dist/cjs/constants/authorization/index.d.ts.map +0 -1
- package/dist/cjs/constants/authorization/index.js +0 -17
- package/dist/cjs/constants/campaign/campaign.d.ts +0 -8
- package/dist/cjs/constants/campaign/campaign.d.ts.map +0 -1
- package/dist/cjs/constants/campaign/campaign.js +0 -12
- package/dist/cjs/constants/campaign/index.d.ts +0 -2
- package/dist/cjs/constants/campaign/index.d.ts.map +0 -1
- package/dist/cjs/constants/campaign/index.js +0 -17
- package/dist/cjs/constants/common/common.d.ts +0 -30
- package/dist/cjs/constants/common/common.d.ts.map +0 -1
- package/dist/cjs/constants/common/common.js +0 -36
- package/dist/cjs/constants/common/index.d.ts +0 -2
- package/dist/cjs/constants/common/index.d.ts.map +0 -1
- package/dist/cjs/constants/common/index.js +0 -17
- package/dist/cjs/constants/database/database.d.ts +0 -370
- package/dist/cjs/constants/database/database.d.ts.map +0 -1
- package/dist/cjs/constants/database/database.js +0 -375
- package/dist/cjs/constants/database/index.d.ts +0 -2
- package/dist/cjs/constants/database/index.d.ts.map +0 -1
- package/dist/cjs/constants/database/index.js +0 -17
- package/dist/cjs/constants/education/education.d.ts +0 -19
- package/dist/cjs/constants/education/education.d.ts.map +0 -1
- package/dist/cjs/constants/education/education.js +0 -24
- package/dist/cjs/constants/education/index.d.ts +0 -2
- package/dist/cjs/constants/education/index.d.ts.map +0 -1
- package/dist/cjs/constants/education/index.js +0 -17
- package/dist/cjs/constants/file/file.d.ts +0 -31
- package/dist/cjs/constants/file/file.d.ts.map +0 -1
- package/dist/cjs/constants/file/file.js +0 -39
- package/dist/cjs/constants/file/index.d.ts +0 -2
- package/dist/cjs/constants/file/index.d.ts.map +0 -1
- package/dist/cjs/constants/file/index.js +0 -17
- package/dist/cjs/constants/http/http.d.ts +0 -147
- package/dist/cjs/constants/http/http.d.ts.map +0 -1
- package/dist/cjs/constants/http/http.js +0 -153
- package/dist/cjs/constants/http/index.d.ts +0 -2
- package/dist/cjs/constants/http/index.d.ts.map +0 -1
- package/dist/cjs/constants/http/index.js +0 -17
- package/dist/cjs/constants/index.d.ts +0 -17
- package/dist/cjs/constants/index.d.ts.map +0 -1
- package/dist/cjs/constants/index.js +0 -49
- package/dist/cjs/constants/job/index.d.ts +0 -2
- package/dist/cjs/constants/job/index.d.ts.map +0 -1
- package/dist/cjs/constants/job/index.js +0 -17
- package/dist/cjs/constants/job/job.d.ts +0 -53
- package/dist/cjs/constants/job/job.d.ts.map +0 -1
- package/dist/cjs/constants/job/job.js +0 -62
- package/dist/cjs/constants/notification/index.d.ts +0 -2
- package/dist/cjs/constants/notification/index.d.ts.map +0 -1
- package/dist/cjs/constants/notification/index.js +0 -17
- package/dist/cjs/constants/notification/notification.d.ts +0 -15
- package/dist/cjs/constants/notification/notification.d.ts.map +0 -1
- package/dist/cjs/constants/notification/notification.js +0 -19
- package/dist/cjs/constants/page/index.d.ts +0 -2
- package/dist/cjs/constants/page/index.d.ts.map +0 -1
- package/dist/cjs/constants/page/index.js +0 -17
- package/dist/cjs/constants/page/page.d.ts +0 -8
- package/dist/cjs/constants/page/page.d.ts.map +0 -1
- package/dist/cjs/constants/page/page.js +0 -12
- package/dist/cjs/constants/report/index.d.ts +0 -2
- package/dist/cjs/constants/report/index.d.ts.map +0 -1
- package/dist/cjs/constants/report/index.js +0 -17
- package/dist/cjs/constants/report/report.d.ts +0 -18
- package/dist/cjs/constants/report/report.d.ts.map +0 -1
- package/dist/cjs/constants/report/report.js +0 -23
- package/dist/cjs/constants/reward/index.d.ts +0 -2
- package/dist/cjs/constants/reward/index.d.ts.map +0 -1
- package/dist/cjs/constants/reward/index.js +0 -17
- package/dist/cjs/constants/reward/reward.d.ts +0 -37
- package/dist/cjs/constants/reward/reward.d.ts.map +0 -1
- package/dist/cjs/constants/reward/reward.js +0 -43
- package/dist/cjs/constants/user/index.d.ts +0 -2
- package/dist/cjs/constants/user/index.d.ts.map +0 -1
- package/dist/cjs/constants/user/index.js +0 -17
- package/dist/cjs/constants/user/user.d.ts +0 -78
- package/dist/cjs/constants/user/user.d.ts.map +0 -1
- package/dist/cjs/constants/user/user.js +0 -87
- package/dist/cjs/constants/validation/index.d.ts +0 -2
- package/dist/cjs/constants/validation/index.d.ts.map +0 -1
- package/dist/cjs/constants/validation/index.js +0 -17
- package/dist/cjs/constants/validation/validation.d.ts +0 -27
- package/dist/cjs/constants/validation/validation.d.ts.map +0 -1
- package/dist/cjs/constants/validation/validation.js +0 -31
- package/dist/cjs/constants/webhook/index.d.ts +0 -2
- package/dist/cjs/constants/webhook/index.d.ts.map +0 -1
- package/dist/cjs/constants/webhook/index.js +0 -17
- package/dist/cjs/constants/webhook/webhook.d.ts +0 -11
- package/dist/cjs/constants/webhook/webhook.d.ts.map +0 -1
- package/dist/cjs/constants/webhook/webhook.js +0 -16
- package/dist/cjs/course/course.constant.d.ts +0 -6
- package/dist/cjs/course/course.constant.d.ts.map +0 -1
- package/dist/cjs/course/course.constant.js +0 -9
- package/dist/cjs/course/course.schema.d.ts +0 -11
- package/dist/cjs/course/course.schema.d.ts.map +0 -1
- package/dist/cjs/course/course.schema.js +0 -16
- package/dist/cjs/course/index.d.ts +0 -3
- package/dist/cjs/course/index.d.ts.map +0 -1
- package/dist/cjs/course/index.js +0 -18
- package/dist/cjs/design-and-font/design-and-font.schema.d.ts +0 -46
- package/dist/cjs/design-and-font/design-and-font.schema.d.ts.map +0 -1
- package/dist/cjs/design-and-font/design-and-font.schema.js +0 -28
- package/dist/cjs/design-and-font/index.d.ts +0 -2
- package/dist/cjs/design-and-font/index.d.ts.map +0 -1
- package/dist/cjs/design-and-font/index.js +0 -17
- package/dist/cjs/designation/designation.schema.d.ts +0 -8
- package/dist/cjs/designation/designation.schema.d.ts.map +0 -1
- package/dist/cjs/designation/designation.schema.js +0 -11
- package/dist/cjs/designation/index.d.ts +0 -2
- package/dist/cjs/designation/index.d.ts.map +0 -1
- package/dist/cjs/designation/index.js +0 -17
- package/dist/cjs/duration/duration.schema.d.ts +0 -19
- package/dist/cjs/duration/duration.schema.d.ts.map +0 -1
- package/dist/cjs/duration/duration.schema.js +0 -35
- package/dist/cjs/duration/index.d.ts +0 -2
- package/dist/cjs/duration/index.d.ts.map +0 -1
- package/dist/cjs/duration/index.js +0 -17
- package/dist/cjs/field-of-study/field-of-study.schema.d.ts +0 -8
- package/dist/cjs/field-of-study/field-of-study.schema.d.ts.map +0 -1
- package/dist/cjs/field-of-study/field-of-study.schema.js +0 -11
- package/dist/cjs/field-of-study/index.d.ts +0 -2
- package/dist/cjs/field-of-study/index.d.ts.map +0 -1
- package/dist/cjs/field-of-study/index.js +0 -17
- package/dist/cjs/filter/filter.schema.d.ts +0 -8
- package/dist/cjs/filter/filter.schema.d.ts.map +0 -1
- package/dist/cjs/filter/filter.schema.js +0 -23
- package/dist/cjs/filter/index.d.ts +0 -2
- package/dist/cjs/filter/index.d.ts.map +0 -1
- package/dist/cjs/filter/index.js +0 -17
- package/dist/cjs/group/group-membership.schema.d.ts +0 -19
- package/dist/cjs/group/group-membership.schema.d.ts.map +0 -1
- package/dist/cjs/group/group-membership.schema.js +0 -16
- package/dist/cjs/group/group.schema.d.ts +0 -113
- package/dist/cjs/group/group.schema.d.ts.map +0 -1
- package/dist/cjs/group/group.schema.js +0 -100
- package/dist/cjs/group/index.d.ts +0 -3
- package/dist/cjs/group/index.d.ts.map +0 -1
- package/dist/cjs/group/index.js +0 -18
- package/dist/cjs/index.d.ts +0 -30
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -45
- package/dist/cjs/interfaces.index.d.ts +0 -2410
- package/dist/cjs/interfaces.index.d.ts.map +0 -1
- package/dist/cjs/interfaces.index.js +0 -2
- package/dist/cjs/job/index.d.ts +0 -5
- package/dist/cjs/job/index.d.ts.map +0 -1
- package/dist/cjs/job/index.js +0 -20
- package/dist/cjs/job/job.constant.d.ts +0 -9
- package/dist/cjs/job/job.constant.d.ts.map +0 -1
- package/dist/cjs/job/job.constant.js +0 -12
- package/dist/cjs/job/job.schema.d.ts +0 -281
- package/dist/cjs/job/job.schema.d.ts.map +0 -1
- package/dist/cjs/job/job.schema.js +0 -411
- package/dist/cjs/job/job.types.d.ts +0 -13
- package/dist/cjs/job/job.types.d.ts.map +0 -1
- package/dist/cjs/job/job.types.js +0 -2
- package/dist/cjs/job/utils.d.ts +0 -4
- package/dist/cjs/job/utils.d.ts.map +0 -1
- package/dist/cjs/job/utils.js +0 -17
- package/dist/cjs/job-application/index.d.ts +0 -3
- package/dist/cjs/job-application/index.d.ts.map +0 -1
- package/dist/cjs/job-application/index.js +0 -18
- package/dist/cjs/job-application/job-application.constant.d.ts +0 -20
- package/dist/cjs/job-application/job-application.constant.d.ts.map +0 -1
- package/dist/cjs/job-application/job-application.constant.js +0 -38
- package/dist/cjs/job-application/job-application.schema.d.ts +0 -248
- package/dist/cjs/job-application/job-application.schema.d.ts.map +0 -1
- package/dist/cjs/job-application/job-application.schema.js +0 -115
- package/dist/cjs/job-role-template/index.d.ts +0 -2
- package/dist/cjs/job-role-template/index.d.ts.map +0 -1
- package/dist/cjs/job-role-template/index.js +0 -17
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts +0 -189
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts.map +0 -1
- package/dist/cjs/job-role-template/job-role-template.schema.js +0 -13
- package/dist/cjs/language/index.d.ts +0 -2
- package/dist/cjs/language/index.d.ts.map +0 -1
- package/dist/cjs/language/index.js +0 -17
- package/dist/cjs/language/language.schema.d.ts +0 -8
- package/dist/cjs/language/language.schema.d.ts.map +0 -1
- package/dist/cjs/language/language.schema.js +0 -20
- package/dist/cjs/location/index.d.ts +0 -2
- package/dist/cjs/location/index.d.ts.map +0 -1
- package/dist/cjs/location/index.js +0 -17
- package/dist/cjs/location/location.schema.d.ts +0 -26
- package/dist/cjs/location/location.schema.d.ts.map +0 -1
- package/dist/cjs/location/location.schema.js +0 -16
- package/dist/cjs/page/company/company.schema.d.ts +0 -21
- package/dist/cjs/page/company/company.schema.d.ts.map +0 -1
- package/dist/cjs/page/company/company.schema.js +0 -18
- package/dist/cjs/page/company/index.d.ts +0 -3
- package/dist/cjs/page/company/index.d.ts.map +0 -1
- package/dist/cjs/page/company/index.js +0 -18
- package/dist/cjs/page/company/perks-and-benefits/index.d.ts +0 -2
- package/dist/cjs/page/company/perks-and-benefits/index.d.ts.map +0 -1
- package/dist/cjs/page/company/perks-and-benefits/index.js +0 -17
- package/dist/cjs/page/company/perks-and-benefits/perks-and-benefits.schema.d.ts +0 -19
- package/dist/cjs/page/company/perks-and-benefits/perks-and-benefits.schema.d.ts.map +0 -1
- package/dist/cjs/page/company/perks-and-benefits/perks-and-benefits.schema.js +0 -13
- package/dist/cjs/page/index.d.ts +0 -5
- package/dist/cjs/page/index.d.ts.map +0 -1
- package/dist/cjs/page/index.js +0 -20
- package/dist/cjs/page/institute/index.d.ts +0 -2
- package/dist/cjs/page/institute/index.d.ts.map +0 -1
- package/dist/cjs/page/institute/index.js +0 -17
- package/dist/cjs/page/institute/institute.schema.d.ts +0 -2
- package/dist/cjs/page/institute/institute.schema.d.ts.map +0 -1
- package/dist/cjs/page/institute/institute.schema.js +0 -5
- package/dist/cjs/page/page-location/index.d.ts +0 -2
- package/dist/cjs/page/page-location/index.d.ts.map +0 -1
- package/dist/cjs/page/page-location/index.js +0 -17
- package/dist/cjs/page/page-location/page-location.schema.d.ts +0 -22
- package/dist/cjs/page/page-location/page-location.schema.d.ts.map +0 -1
- package/dist/cjs/page/page-location/page-location.schema.js +0 -21
- package/dist/cjs/page/page.constant.d.ts +0 -23
- package/dist/cjs/page/page.constant.d.ts.map +0 -1
- package/dist/cjs/page/page.constant.js +0 -36
- package/dist/cjs/page/page.schema.d.ts +0 -96
- package/dist/cjs/page/page.schema.d.ts.map +0 -1
- package/dist/cjs/page/page.schema.js +0 -73
- package/dist/cjs/pagination/index.d.ts +0 -3
- package/dist/cjs/pagination/index.d.ts.map +0 -1
- package/dist/cjs/pagination/index.js +0 -18
- package/dist/cjs/pagination/pagination.constant.d.ts +0 -5
- package/dist/cjs/pagination/pagination.constant.d.ts.map +0 -1
- package/dist/cjs/pagination/pagination.constant.js +0 -13
- package/dist/cjs/pagination/pagination.schema.d.ts +0 -18
- package/dist/cjs/pagination/pagination.schema.d.ts.map +0 -1
- package/dist/cjs/pagination/pagination.schema.js +0 -15
- package/dist/cjs/phone/index.d.ts +0 -2
- package/dist/cjs/phone/index.d.ts.map +0 -1
- package/dist/cjs/phone/index.js +0 -17
- package/dist/cjs/phone/mobile.schema.d.ts +0 -13
- package/dist/cjs/phone/mobile.schema.d.ts.map +0 -1
- package/dist/cjs/phone/mobile.schema.js +0 -17
- package/dist/cjs/question/choice-question.schema.d.ts +0 -42
- package/dist/cjs/question/choice-question.schema.d.ts.map +0 -1
- package/dist/cjs/question/choice-question.schema.js +0 -142
- package/dist/cjs/question/index.d.ts +0 -6
- package/dist/cjs/question/index.d.ts.map +0 -1
- package/dist/cjs/question/index.js +0 -21
- package/dist/cjs/question/input-question.schema.d.ts +0 -27
- package/dist/cjs/question/input-question.schema.d.ts.map +0 -1
- package/dist/cjs/question/input-question.schema.js +0 -22
- package/dist/cjs/question/question.constant.d.ts +0 -12
- package/dist/cjs/question/question.constant.d.ts.map +0 -1
- package/dist/cjs/question/question.constant.js +0 -16
- package/dist/cjs/question/question.schema.d.ts +0 -24
- package/dist/cjs/question/question.schema.d.ts.map +0 -1
- package/dist/cjs/question/question.schema.js +0 -22
- package/dist/cjs/question/read-and-acknowledge.schema.d.ts +0 -30
- package/dist/cjs/question/read-and-acknowledge.schema.d.ts.map +0 -1
- package/dist/cjs/question/read-and-acknowledge.schema.js +0 -20
- package/dist/cjs/recruiter-job-description/index.d.ts +0 -2
- package/dist/cjs/recruiter-job-description/index.d.ts.map +0 -1
- package/dist/cjs/recruiter-job-description/index.js +0 -17
- package/dist/cjs/recruiter-job-description/recruiter-job-description.schema.d.ts +0 -28
- package/dist/cjs/recruiter-job-description/recruiter-job-description.schema.d.ts.map +0 -1
- package/dist/cjs/recruiter-job-description/recruiter-job-description.schema.js +0 -38
- package/dist/cjs/resume/index.d.ts +0 -3
- package/dist/cjs/resume/index.d.ts.map +0 -1
- package/dist/cjs/resume/index.js +0 -18
- package/dist/cjs/resume/resume.constant.d.ts +0 -36
- package/dist/cjs/resume/resume.constant.d.ts.map +0 -1
- package/dist/cjs/resume/resume.constant.js +0 -42
- package/dist/cjs/resume/resume.schema.d.ts +0 -532
- package/dist/cjs/resume/resume.schema.d.ts.map +0 -1
- package/dist/cjs/resume/resume.schema.js +0 -225
- package/dist/cjs/skill/index.d.ts +0 -2
- package/dist/cjs/skill/index.d.ts.map +0 -1
- package/dist/cjs/skill/index.js +0 -17
- package/dist/cjs/skill/skill.schema.d.ts +0 -28
- package/dist/cjs/skill/skill.schema.d.ts.map +0 -1
- package/dist/cjs/skill/skill.schema.js +0 -21
- package/dist/cjs/social-account/index.d.ts +0 -2
- package/dist/cjs/social-account/index.d.ts.map +0 -1
- package/dist/cjs/social-account/index.js +0 -17
- package/dist/cjs/social-account/social-account.schema.d.ts +0 -12
- package/dist/cjs/social-account/social-account.schema.d.ts.map +0 -1
- package/dist/cjs/social-account/social-account.schema.js +0 -18
- package/dist/cjs/subscription/index.d.ts +0 -3
- package/dist/cjs/subscription/index.d.ts.map +0 -1
- package/dist/cjs/subscription/index.js +0 -18
- package/dist/cjs/subscription/subscription.constant.d.ts +0 -19
- package/dist/cjs/subscription/subscription.constant.d.ts.map +0 -1
- package/dist/cjs/subscription/subscription.constant.js +0 -24
- package/dist/cjs/subscription/subscription.schema.d.ts +0 -35
- package/dist/cjs/subscription/subscription.schema.d.ts.map +0 -1
- package/dist/cjs/subscription/subscription.schema.js +0 -32
- package/dist/cjs/uploaded-file/index.d.ts +0 -2
- package/dist/cjs/uploaded-file/index.d.ts.map +0 -1
- package/dist/cjs/uploaded-file/index.js +0 -17
- package/dist/cjs/uploaded-file/uploaded-file.schema.d.ts +0 -16
- package/dist/cjs/uploaded-file/uploaded-file.schema.d.ts.map +0 -1
- package/dist/cjs/uploaded-file/uploaded-file.schema.js +0 -15
- package/dist/cjs/user/create-user.schema.d.ts +0 -15
- package/dist/cjs/user/create-user.schema.d.ts.map +0 -1
- package/dist/cjs/user/create-user.schema.js +0 -14
- package/dist/cjs/user/education/education.schema.d.ts +0 -73
- package/dist/cjs/user/education/education.schema.d.ts.map +0 -1
- package/dist/cjs/user/education/education.schema.js +0 -64
- package/dist/cjs/user/education/index.d.ts +0 -2
- package/dist/cjs/user/education/index.d.ts.map +0 -1
- package/dist/cjs/user/education/index.js +0 -17
- package/dist/cjs/user/general-detail/general-detail.schema.d.ts +0 -53
- package/dist/cjs/user/general-detail/general-detail.schema.d.ts.map +0 -1
- package/dist/cjs/user/general-detail/general-detail.schema.js +0 -44
- package/dist/cjs/user/general-detail/index.d.ts +0 -2
- package/dist/cjs/user/general-detail/index.d.ts.map +0 -1
- package/dist/cjs/user/general-detail/index.js +0 -17
- package/dist/cjs/user/index.d.ts +0 -24
- package/dist/cjs/user/index.d.ts.map +0 -1
- package/dist/cjs/user/index.js +0 -39
- package/dist/cjs/user/project/index.d.ts +0 -2
- package/dist/cjs/user/project/index.d.ts.map +0 -1
- package/dist/cjs/user/project/index.js +0 -17
- package/dist/cjs/user/project/project.schema.d.ts +0 -18
- package/dist/cjs/user/project/project.schema.d.ts.map +0 -1
- package/dist/cjs/user/project/project.schema.js +0 -27
- package/dist/cjs/user/update-additional-info.schema.d.ts +0 -12
- package/dist/cjs/user/update-additional-info.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-additional-info.schema.js +0 -13
- package/dist/cjs/user/update-certification.schema.d.ts +0 -18
- package/dist/cjs/user/update-certification.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-certification.schema.js +0 -13
- package/dist/cjs/user/update-education.schema.d.ts +0 -43
- package/dist/cjs/user/update-education.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-education.schema.js +0 -16
- package/dist/cjs/user/update-interest.schema.d.ts +0 -12
- package/dist/cjs/user/update-interest.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-interest.schema.js +0 -13
- package/dist/cjs/user/update-language.schema.d.ts +0 -14
- package/dist/cjs/user/update-language.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-language.schema.js +0 -13
- package/dist/cjs/user/update-project.schema.d.ts +0 -17
- package/dist/cjs/user/update-project.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-project.schema.js +0 -13
- package/dist/cjs/user/update-skill.schema.d.ts +0 -18
- package/dist/cjs/user/update-skill.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-skill.schema.js +0 -13
- package/dist/cjs/user/update-social-account.schema.d.ts +0 -12
- package/dist/cjs/user/update-social-account.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-social-account.schema.js +0 -13
- package/dist/cjs/user/update-user.schema.d.ts +0 -19
- package/dist/cjs/user/update-user.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-user.schema.js +0 -16
- package/dist/cjs/user/update-work-experience.schema.d.ts +0 -38
- package/dist/cjs/user/update-work-experience.schema.d.ts.map +0 -1
- package/dist/cjs/user/update-work-experience.schema.js +0 -13
- package/dist/cjs/user/user-additional-info/index.d.ts +0 -2
- package/dist/cjs/user/user-additional-info/index.d.ts.map +0 -1
- package/dist/cjs/user/user-additional-info/index.js +0 -17
- package/dist/cjs/user/user-additional-info/user-additional-info.schema.d.ts +0 -12
- package/dist/cjs/user/user-additional-info/user-additional-info.schema.d.ts.map +0 -1
- package/dist/cjs/user/user-additional-info/user-additional-info.schema.js +0 -14
- package/dist/cjs/user/user-certification/index.d.ts +0 -2
- package/dist/cjs/user/user-certification/index.d.ts.map +0 -1
- package/dist/cjs/user/user-certification/index.js +0 -17
- package/dist/cjs/user/user-certification/user-certification.schema.d.ts +0 -20
- package/dist/cjs/user/user-certification/user-certification.schema.d.ts.map +0 -1
- package/dist/cjs/user/user-certification/user-certification.schema.js +0 -24
- package/dist/cjs/user/user-completeness.schema.d.ts +0 -136
- package/dist/cjs/user/user-completeness.schema.d.ts.map +0 -1
- package/dist/cjs/user/user-completeness.schema.js +0 -22
- package/dist/cjs/user/user-interest/index.d.ts +0 -2
- package/dist/cjs/user/user-interest/index.d.ts.map +0 -1
- package/dist/cjs/user/user-interest/index.js +0 -17
- package/dist/cjs/user/user-interest/user-interest.schema.d.ts +0 -12
- package/dist/cjs/user/user-interest/user-interest.schema.d.ts.map +0 -1
- package/dist/cjs/user/user-interest/user-interest.schema.js +0 -10
- package/dist/cjs/user/user-language/index.d.ts +0 -2
- package/dist/cjs/user/user-language/index.d.ts.map +0 -1
- package/dist/cjs/user/user-language/index.js +0 -17
- package/dist/cjs/user/user-language/user-language.schema.d.ts +0 -16
- package/dist/cjs/user/user-language/user-language.schema.d.ts.map +0 -1
- package/dist/cjs/user/user-language/user-language.schema.js +0 -24
- package/dist/cjs/user/user-skill/index.d.ts +0 -2
- package/dist/cjs/user/user-skill/index.d.ts.map +0 -1
- package/dist/cjs/user/user-skill/index.js +0 -17
- package/dist/cjs/user/user-skill/user-skill.schema.d.ts +0 -28
- package/dist/cjs/user/user-skill/user-skill.schema.d.ts.map +0 -1
- package/dist/cjs/user/user-skill/user-skill.schema.js +0 -21
- package/dist/cjs/user/user.schema.d.ts +0 -192
- package/dist/cjs/user/user.schema.d.ts.map +0 -1
- package/dist/cjs/user/user.schema.js +0 -138
- package/dist/cjs/user/user.types.d.ts +0 -19
- package/dist/cjs/user/user.types.d.ts.map +0 -1
- package/dist/cjs/user/user.types.js +0 -2
- package/dist/cjs/user/work-experience/index.d.ts +0 -2
- package/dist/cjs/user/work-experience/index.d.ts.map +0 -1
- package/dist/cjs/user/work-experience/index.js +0 -17
- package/dist/cjs/user/work-experience/work-experience.schema.d.ts +0 -69
- package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +0 -1
- package/dist/cjs/user/work-experience/work-experience.schema.js +0 -29
- package/dist/cjs/yup-extended.d.ts +0 -41
- package/dist/cjs/yup-extended.d.ts.map +0 -1
- package/dist/cjs/yup-extended.js +0 -247
- package/dist/esm/ai/ai.types.d.ts +0 -172
- package/dist/esm/ai/ai.types.d.ts.map +0 -1
- package/dist/esm/ai/ai.types.js +0 -1
- package/dist/esm/ai/index.d.ts +0 -2
- package/dist/esm/ai/index.d.ts.map +0 -1
- package/dist/esm/ai/index.js +0 -1
- package/dist/esm/category/category.schema.d.ts +0 -8
- package/dist/esm/category/category.schema.d.ts.map +0 -1
- package/dist/esm/category/category.schema.js +0 -8
- package/dist/esm/category/index.d.ts +0 -2
- package/dist/esm/category/index.d.ts.map +0 -1
- package/dist/esm/category/index.js +0 -1
- package/dist/esm/common/common.schema.d.ts +0 -60
- package/dist/esm/common/common.schema.d.ts.map +0 -1
- package/dist/esm/common/common.schema.js +0 -57
- package/dist/esm/common/common.types.d.ts +0 -52
- package/dist/esm/common/common.types.d.ts.map +0 -1
- package/dist/esm/common/common.types.js +0 -1
- package/dist/esm/common/index.d.ts +0 -4
- package/dist/esm/common/index.d.ts.map +0 -1
- package/dist/esm/common/index.js +0 -3
- package/dist/esm/common/utils.d.ts +0 -6
- package/dist/esm/common/utils.d.ts.map +0 -1
- package/dist/esm/common/utils.js +0 -11
- package/dist/esm/constants/auth/auth.d.ts +0 -12
- package/dist/esm/constants/auth/auth.d.ts.map +0 -1
- package/dist/esm/constants/auth/auth.js +0 -14
- package/dist/esm/constants/auth/index.d.ts +0 -2
- package/dist/esm/constants/auth/index.d.ts.map +0 -1
- package/dist/esm/constants/auth/index.js +0 -1
- package/dist/esm/constants/authorization/authorization.d.ts +0 -10
- package/dist/esm/constants/authorization/authorization.d.ts.map +0 -1
- package/dist/esm/constants/authorization/authorization.js +0 -12
- package/dist/esm/constants/authorization/index.d.ts +0 -2
- package/dist/esm/constants/authorization/index.d.ts.map +0 -1
- package/dist/esm/constants/authorization/index.js +0 -1
- package/dist/esm/constants/campaign/campaign.d.ts +0 -8
- package/dist/esm/constants/campaign/campaign.d.ts.map +0 -1
- package/dist/esm/constants/campaign/campaign.js +0 -9
- package/dist/esm/constants/campaign/index.d.ts +0 -2
- package/dist/esm/constants/campaign/index.d.ts.map +0 -1
- package/dist/esm/constants/campaign/index.js +0 -1
- package/dist/esm/constants/common/common.d.ts +0 -30
- package/dist/esm/constants/common/common.d.ts.map +0 -1
- package/dist/esm/constants/common/common.js +0 -33
- package/dist/esm/constants/common/index.d.ts +0 -2
- package/dist/esm/constants/common/index.d.ts.map +0 -1
- package/dist/esm/constants/common/index.js +0 -1
- package/dist/esm/constants/database/database.d.ts +0 -370
- package/dist/esm/constants/database/database.d.ts.map +0 -1
- package/dist/esm/constants/database/database.js +0 -372
- package/dist/esm/constants/database/index.d.ts +0 -2
- package/dist/esm/constants/database/index.d.ts.map +0 -1
- package/dist/esm/constants/database/index.js +0 -1
- package/dist/esm/constants/education/education.d.ts +0 -19
- package/dist/esm/constants/education/education.d.ts.map +0 -1
- package/dist/esm/constants/education/education.js +0 -21
- package/dist/esm/constants/education/index.d.ts +0 -2
- package/dist/esm/constants/education/index.d.ts.map +0 -1
- package/dist/esm/constants/education/index.js +0 -1
- package/dist/esm/constants/file/file.d.ts +0 -31
- package/dist/esm/constants/file/file.d.ts.map +0 -1
- package/dist/esm/constants/file/file.js +0 -36
- package/dist/esm/constants/file/index.d.ts +0 -2
- package/dist/esm/constants/file/index.d.ts.map +0 -1
- package/dist/esm/constants/file/index.js +0 -1
- package/dist/esm/constants/http/http.d.ts +0 -147
- package/dist/esm/constants/http/http.d.ts.map +0 -1
- package/dist/esm/constants/http/http.js +0 -150
- package/dist/esm/constants/http/index.d.ts +0 -2
- package/dist/esm/constants/http/index.d.ts.map +0 -1
- package/dist/esm/constants/http/index.js +0 -1
- package/dist/esm/constants/index.d.ts +0 -17
- package/dist/esm/constants/index.d.ts.map +0 -1
- package/dist/esm/constants/index.js +0 -33
- package/dist/esm/constants/job/index.d.ts +0 -2
- package/dist/esm/constants/job/index.d.ts.map +0 -1
- package/dist/esm/constants/job/index.js +0 -1
- package/dist/esm/constants/job/job.d.ts +0 -53
- package/dist/esm/constants/job/job.d.ts.map +0 -1
- package/dist/esm/constants/job/job.js +0 -59
- package/dist/esm/constants/notification/index.d.ts +0 -2
- package/dist/esm/constants/notification/index.d.ts.map +0 -1
- package/dist/esm/constants/notification/index.js +0 -1
- package/dist/esm/constants/notification/notification.d.ts +0 -15
- package/dist/esm/constants/notification/notification.d.ts.map +0 -1
- package/dist/esm/constants/notification/notification.js +0 -16
- package/dist/esm/constants/page/index.d.ts +0 -2
- package/dist/esm/constants/page/index.d.ts.map +0 -1
- package/dist/esm/constants/page/index.js +0 -1
- package/dist/esm/constants/page/page.d.ts +0 -8
- package/dist/esm/constants/page/page.d.ts.map +0 -1
- package/dist/esm/constants/page/page.js +0 -9
- package/dist/esm/constants/report/index.d.ts +0 -2
- package/dist/esm/constants/report/index.d.ts.map +0 -1
- package/dist/esm/constants/report/index.js +0 -1
- package/dist/esm/constants/report/report.d.ts +0 -18
- package/dist/esm/constants/report/report.d.ts.map +0 -1
- package/dist/esm/constants/report/report.js +0 -20
- package/dist/esm/constants/reward/index.d.ts +0 -2
- package/dist/esm/constants/reward/index.d.ts.map +0 -1
- package/dist/esm/constants/reward/index.js +0 -1
- package/dist/esm/constants/reward/reward.d.ts +0 -37
- package/dist/esm/constants/reward/reward.d.ts.map +0 -1
- package/dist/esm/constants/reward/reward.js +0 -40
- package/dist/esm/constants/user/index.d.ts +0 -2
- package/dist/esm/constants/user/index.d.ts.map +0 -1
- package/dist/esm/constants/user/index.js +0 -1
- package/dist/esm/constants/user/user.d.ts +0 -78
- package/dist/esm/constants/user/user.d.ts.map +0 -1
- package/dist/esm/constants/user/user.js +0 -84
- package/dist/esm/constants/validation/index.d.ts +0 -2
- package/dist/esm/constants/validation/index.d.ts.map +0 -1
- package/dist/esm/constants/validation/index.js +0 -1
- package/dist/esm/constants/validation/validation.d.ts +0 -27
- package/dist/esm/constants/validation/validation.d.ts.map +0 -1
- package/dist/esm/constants/validation/validation.js +0 -28
- package/dist/esm/constants/webhook/index.d.ts +0 -2
- package/dist/esm/constants/webhook/index.d.ts.map +0 -1
- package/dist/esm/constants/webhook/index.js +0 -1
- package/dist/esm/constants/webhook/webhook.d.ts +0 -11
- package/dist/esm/constants/webhook/webhook.d.ts.map +0 -1
- package/dist/esm/constants/webhook/webhook.js +0 -13
- package/dist/esm/course/course.constant.d.ts +0 -6
- package/dist/esm/course/course.constant.d.ts.map +0 -1
- package/dist/esm/course/course.constant.js +0 -6
- package/dist/esm/course/course.schema.d.ts +0 -11
- package/dist/esm/course/course.schema.d.ts.map +0 -1
- package/dist/esm/course/course.schema.js +0 -13
- package/dist/esm/course/index.d.ts +0 -3
- package/dist/esm/course/index.d.ts.map +0 -1
- package/dist/esm/course/index.js +0 -2
- package/dist/esm/design-and-font/design-and-font.schema.d.ts +0 -46
- package/dist/esm/design-and-font/design-and-font.schema.d.ts.map +0 -1
- package/dist/esm/design-and-font/design-and-font.schema.js +0 -25
- package/dist/esm/design-and-font/index.d.ts +0 -2
- package/dist/esm/design-and-font/index.d.ts.map +0 -1
- package/dist/esm/design-and-font/index.js +0 -1
- package/dist/esm/designation/designation.schema.d.ts +0 -8
- package/dist/esm/designation/designation.schema.d.ts.map +0 -1
- package/dist/esm/designation/designation.schema.js +0 -8
- package/dist/esm/designation/index.d.ts +0 -2
- package/dist/esm/designation/index.d.ts.map +0 -1
- package/dist/esm/designation/index.js +0 -1
- package/dist/esm/duration/duration.schema.d.ts +0 -19
- package/dist/esm/duration/duration.schema.d.ts.map +0 -1
- package/dist/esm/duration/duration.schema.js +0 -31
- package/dist/esm/duration/index.d.ts +0 -2
- package/dist/esm/duration/index.d.ts.map +0 -1
- package/dist/esm/duration/index.js +0 -1
- package/dist/esm/field-of-study/field-of-study.schema.d.ts +0 -8
- package/dist/esm/field-of-study/field-of-study.schema.d.ts.map +0 -1
- package/dist/esm/field-of-study/field-of-study.schema.js +0 -8
- package/dist/esm/field-of-study/index.d.ts +0 -2
- package/dist/esm/field-of-study/index.d.ts.map +0 -1
- package/dist/esm/field-of-study/index.js +0 -1
- package/dist/esm/filter/filter.schema.d.ts +0 -8
- package/dist/esm/filter/filter.schema.d.ts.map +0 -1
- package/dist/esm/filter/filter.schema.js +0 -20
- package/dist/esm/filter/index.d.ts +0 -2
- package/dist/esm/filter/index.d.ts.map +0 -1
- package/dist/esm/filter/index.js +0 -1
- package/dist/esm/group/group-membership.schema.d.ts +0 -19
- package/dist/esm/group/group-membership.schema.d.ts.map +0 -1
- package/dist/esm/group/group-membership.schema.js +0 -13
- package/dist/esm/group/group.schema.d.ts +0 -113
- package/dist/esm/group/group.schema.d.ts.map +0 -1
- package/dist/esm/group/group.schema.js +0 -97
- package/dist/esm/group/index.d.ts +0 -3
- package/dist/esm/group/index.d.ts.map +0 -1
- package/dist/esm/group/index.js +0 -2
- package/dist/esm/index.d.ts +0 -30
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -29
- package/dist/esm/interfaces.index.d.ts +0 -2410
- package/dist/esm/interfaces.index.d.ts.map +0 -1
- package/dist/esm/interfaces.index.js +0 -1
- package/dist/esm/job/index.d.ts +0 -5
- package/dist/esm/job/index.d.ts.map +0 -1
- package/dist/esm/job/index.js +0 -4
- package/dist/esm/job/job.constant.d.ts +0 -9
- package/dist/esm/job/job.constant.d.ts.map +0 -1
- package/dist/esm/job/job.constant.js +0 -9
- package/dist/esm/job/job.schema.d.ts +0 -281
- package/dist/esm/job/job.schema.d.ts.map +0 -1
- package/dist/esm/job/job.schema.js +0 -408
- package/dist/esm/job/job.types.d.ts +0 -13
- package/dist/esm/job/job.types.d.ts.map +0 -1
- package/dist/esm/job/job.types.js +0 -1
- package/dist/esm/job/utils.d.ts +0 -4
- package/dist/esm/job/utils.d.ts.map +0 -1
- package/dist/esm/job/utils.js +0 -13
- package/dist/esm/job-application/index.d.ts +0 -3
- package/dist/esm/job-application/index.d.ts.map +0 -1
- package/dist/esm/job-application/index.js +0 -2
- package/dist/esm/job-application/job-application.constant.d.ts +0 -20
- package/dist/esm/job-application/job-application.constant.d.ts.map +0 -1
- package/dist/esm/job-application/job-application.constant.js +0 -35
- package/dist/esm/job-application/job-application.schema.d.ts +0 -248
- package/dist/esm/job-application/job-application.schema.d.ts.map +0 -1
- package/dist/esm/job-application/job-application.schema.js +0 -112
- package/dist/esm/job-role-template/index.d.ts +0 -2
- package/dist/esm/job-role-template/index.d.ts.map +0 -1
- package/dist/esm/job-role-template/index.js +0 -1
- package/dist/esm/job-role-template/job-role-template.schema.d.ts +0 -189
- package/dist/esm/job-role-template/job-role-template.schema.d.ts.map +0 -1
- package/dist/esm/job-role-template/job-role-template.schema.js +0 -10
- package/dist/esm/language/index.d.ts +0 -2
- package/dist/esm/language/index.d.ts.map +0 -1
- package/dist/esm/language/index.js +0 -1
- package/dist/esm/language/language.schema.d.ts +0 -8
- package/dist/esm/language/language.schema.d.ts.map +0 -1
- package/dist/esm/language/language.schema.js +0 -17
- package/dist/esm/location/index.d.ts +0 -2
- package/dist/esm/location/index.d.ts.map +0 -1
- package/dist/esm/location/index.js +0 -1
- package/dist/esm/location/location.schema.d.ts +0 -26
- package/dist/esm/location/location.schema.d.ts.map +0 -1
- package/dist/esm/location/location.schema.js +0 -13
- package/dist/esm/page/company/company.schema.d.ts +0 -21
- package/dist/esm/page/company/company.schema.d.ts.map +0 -1
- package/dist/esm/page/company/company.schema.js +0 -15
- package/dist/esm/page/company/index.d.ts +0 -3
- package/dist/esm/page/company/index.d.ts.map +0 -1
- package/dist/esm/page/company/index.js +0 -2
- package/dist/esm/page/company/perks-and-benefits/index.d.ts +0 -2
- package/dist/esm/page/company/perks-and-benefits/index.d.ts.map +0 -1
- package/dist/esm/page/company/perks-and-benefits/index.js +0 -1
- package/dist/esm/page/company/perks-and-benefits/perks-and-benefits.schema.d.ts +0 -19
- package/dist/esm/page/company/perks-and-benefits/perks-and-benefits.schema.d.ts.map +0 -1
- package/dist/esm/page/company/perks-and-benefits/perks-and-benefits.schema.js +0 -10
- package/dist/esm/page/index.d.ts +0 -5
- package/dist/esm/page/index.d.ts.map +0 -1
- package/dist/esm/page/index.js +0 -4
- package/dist/esm/page/institute/index.d.ts +0 -2
- package/dist/esm/page/institute/index.d.ts.map +0 -1
- package/dist/esm/page/institute/index.js +0 -1
- package/dist/esm/page/institute/institute.schema.d.ts +0 -2
- package/dist/esm/page/institute/institute.schema.d.ts.map +0 -1
- package/dist/esm/page/page-location/index.d.ts +0 -2
- package/dist/esm/page/page-location/index.d.ts.map +0 -1
- package/dist/esm/page/page-location/index.js +0 -1
- package/dist/esm/page/page-location/page-location.schema.d.ts +0 -22
- package/dist/esm/page/page-location/page-location.schema.d.ts.map +0 -1
- package/dist/esm/page/page-location/page-location.schema.js +0 -18
- package/dist/esm/page/page.constant.d.ts +0 -23
- package/dist/esm/page/page.constant.d.ts.map +0 -1
- package/dist/esm/page/page.constant.js +0 -33
- package/dist/esm/page/page.schema.d.ts +0 -96
- package/dist/esm/page/page.schema.d.ts.map +0 -1
- package/dist/esm/page/page.schema.js +0 -70
- package/dist/esm/pagination/index.d.ts +0 -3
- package/dist/esm/pagination/index.d.ts.map +0 -1
- package/dist/esm/pagination/index.js +0 -2
- package/dist/esm/pagination/pagination.constant.d.ts +0 -5
- package/dist/esm/pagination/pagination.constant.d.ts.map +0 -1
- package/dist/esm/pagination/pagination.constant.js +0 -10
- package/dist/esm/pagination/pagination.schema.d.ts +0 -18
- package/dist/esm/pagination/pagination.schema.d.ts.map +0 -1
- package/dist/esm/pagination/pagination.schema.js +0 -12
- package/dist/esm/phone/index.d.ts +0 -2
- package/dist/esm/phone/index.d.ts.map +0 -1
- package/dist/esm/phone/index.js +0 -1
- package/dist/esm/phone/mobile.schema.d.ts +0 -13
- package/dist/esm/phone/mobile.schema.d.ts.map +0 -1
- package/dist/esm/phone/mobile.schema.js +0 -14
- package/dist/esm/question/choice-question.schema.d.ts +0 -42
- package/dist/esm/question/choice-question.schema.d.ts.map +0 -1
- package/dist/esm/question/choice-question.schema.js +0 -139
- package/dist/esm/question/index.d.ts +0 -6
- package/dist/esm/question/index.d.ts.map +0 -1
- package/dist/esm/question/index.js +0 -5
- package/dist/esm/question/input-question.schema.d.ts +0 -27
- package/dist/esm/question/input-question.schema.d.ts.map +0 -1
- package/dist/esm/question/input-question.schema.js +0 -19
- package/dist/esm/question/question.constant.d.ts +0 -12
- package/dist/esm/question/question.constant.d.ts.map +0 -1
- package/dist/esm/question/question.constant.js +0 -13
- package/dist/esm/question/question.schema.d.ts +0 -24
- package/dist/esm/question/question.schema.d.ts.map +0 -1
- package/dist/esm/question/question.schema.js +0 -19
- package/dist/esm/question/read-and-acknowledge.schema.d.ts +0 -30
- package/dist/esm/question/read-and-acknowledge.schema.d.ts.map +0 -1
- package/dist/esm/question/read-and-acknowledge.schema.js +0 -17
- package/dist/esm/recruiter-job-description/index.d.ts +0 -2
- package/dist/esm/recruiter-job-description/index.d.ts.map +0 -1
- package/dist/esm/recruiter-job-description/index.js +0 -1
- package/dist/esm/recruiter-job-description/recruiter-job-description.schema.d.ts +0 -28
- package/dist/esm/recruiter-job-description/recruiter-job-description.schema.d.ts.map +0 -1
- package/dist/esm/recruiter-job-description/recruiter-job-description.schema.js +0 -35
- package/dist/esm/resume/index.d.ts +0 -3
- package/dist/esm/resume/index.d.ts.map +0 -1
- package/dist/esm/resume/index.js +0 -2
- package/dist/esm/resume/resume.constant.d.ts +0 -36
- package/dist/esm/resume/resume.constant.d.ts.map +0 -1
- package/dist/esm/resume/resume.constant.js +0 -39
- package/dist/esm/resume/resume.schema.d.ts +0 -532
- package/dist/esm/resume/resume.schema.d.ts.map +0 -1
- package/dist/esm/resume/resume.schema.js +0 -221
- package/dist/esm/skill/index.d.ts +0 -2
- package/dist/esm/skill/index.d.ts.map +0 -1
- package/dist/esm/skill/index.js +0 -1
- package/dist/esm/skill/skill.schema.d.ts +0 -28
- package/dist/esm/skill/skill.schema.d.ts.map +0 -1
- package/dist/esm/skill/skill.schema.js +0 -18
- package/dist/esm/social-account/index.d.ts +0 -2
- package/dist/esm/social-account/index.d.ts.map +0 -1
- package/dist/esm/social-account/index.js +0 -1
- package/dist/esm/social-account/social-account.schema.d.ts +0 -12
- package/dist/esm/social-account/social-account.schema.d.ts.map +0 -1
- package/dist/esm/social-account/social-account.schema.js +0 -15
- package/dist/esm/subscription/index.d.ts +0 -3
- package/dist/esm/subscription/index.d.ts.map +0 -1
- package/dist/esm/subscription/index.js +0 -2
- package/dist/esm/subscription/subscription.constant.d.ts +0 -19
- package/dist/esm/subscription/subscription.constant.d.ts.map +0 -1
- package/dist/esm/subscription/subscription.constant.js +0 -21
- package/dist/esm/subscription/subscription.schema.d.ts +0 -35
- package/dist/esm/subscription/subscription.schema.d.ts.map +0 -1
- package/dist/esm/subscription/subscription.schema.js +0 -29
- package/dist/esm/uploaded-file/index.d.ts +0 -2
- package/dist/esm/uploaded-file/index.d.ts.map +0 -1
- package/dist/esm/uploaded-file/index.js +0 -1
- package/dist/esm/uploaded-file/uploaded-file.schema.d.ts +0 -16
- package/dist/esm/uploaded-file/uploaded-file.schema.d.ts.map +0 -1
- package/dist/esm/uploaded-file/uploaded-file.schema.js +0 -12
- package/dist/esm/user/create-user.schema.d.ts +0 -15
- package/dist/esm/user/create-user.schema.d.ts.map +0 -1
- package/dist/esm/user/create-user.schema.js +0 -11
- package/dist/esm/user/education/education.schema.d.ts +0 -73
- package/dist/esm/user/education/education.schema.d.ts.map +0 -1
- package/dist/esm/user/education/education.schema.js +0 -61
- package/dist/esm/user/education/index.d.ts +0 -2
- package/dist/esm/user/education/index.d.ts.map +0 -1
- package/dist/esm/user/education/index.js +0 -1
- package/dist/esm/user/general-detail/general-detail.schema.d.ts +0 -53
- package/dist/esm/user/general-detail/general-detail.schema.d.ts.map +0 -1
- package/dist/esm/user/general-detail/general-detail.schema.js +0 -41
- package/dist/esm/user/general-detail/index.d.ts +0 -2
- package/dist/esm/user/general-detail/index.d.ts.map +0 -1
- package/dist/esm/user/general-detail/index.js +0 -1
- package/dist/esm/user/index.d.ts +0 -24
- package/dist/esm/user/index.d.ts.map +0 -1
- package/dist/esm/user/index.js +0 -23
- package/dist/esm/user/project/index.d.ts +0 -2
- package/dist/esm/user/project/index.d.ts.map +0 -1
- package/dist/esm/user/project/index.js +0 -1
- package/dist/esm/user/project/project.schema.d.ts +0 -18
- package/dist/esm/user/project/project.schema.d.ts.map +0 -1
- package/dist/esm/user/project/project.schema.js +0 -24
- package/dist/esm/user/update-additional-info.schema.d.ts +0 -12
- package/dist/esm/user/update-additional-info.schema.d.ts.map +0 -1
- package/dist/esm/user/update-additional-info.schema.js +0 -10
- package/dist/esm/user/update-certification.schema.d.ts +0 -18
- package/dist/esm/user/update-certification.schema.d.ts.map +0 -1
- package/dist/esm/user/update-certification.schema.js +0 -10
- package/dist/esm/user/update-education.schema.d.ts +0 -43
- package/dist/esm/user/update-education.schema.d.ts.map +0 -1
- package/dist/esm/user/update-education.schema.js +0 -13
- package/dist/esm/user/update-interest.schema.d.ts +0 -12
- package/dist/esm/user/update-interest.schema.d.ts.map +0 -1
- package/dist/esm/user/update-interest.schema.js +0 -10
- package/dist/esm/user/update-language.schema.d.ts +0 -14
- package/dist/esm/user/update-language.schema.d.ts.map +0 -1
- package/dist/esm/user/update-language.schema.js +0 -10
- package/dist/esm/user/update-project.schema.d.ts +0 -17
- package/dist/esm/user/update-project.schema.d.ts.map +0 -1
- package/dist/esm/user/update-project.schema.js +0 -10
- package/dist/esm/user/update-skill.schema.d.ts +0 -18
- package/dist/esm/user/update-skill.schema.d.ts.map +0 -1
- package/dist/esm/user/update-skill.schema.js +0 -10
- package/dist/esm/user/update-social-account.schema.d.ts +0 -12
- package/dist/esm/user/update-social-account.schema.d.ts.map +0 -1
- package/dist/esm/user/update-social-account.schema.js +0 -10
- package/dist/esm/user/update-user.schema.d.ts +0 -19
- package/dist/esm/user/update-user.schema.d.ts.map +0 -1
- package/dist/esm/user/update-user.schema.js +0 -13
- package/dist/esm/user/update-work-experience.schema.d.ts +0 -38
- package/dist/esm/user/update-work-experience.schema.d.ts.map +0 -1
- package/dist/esm/user/update-work-experience.schema.js +0 -10
- package/dist/esm/user/user-additional-info/index.d.ts +0 -2
- package/dist/esm/user/user-additional-info/index.d.ts.map +0 -1
- package/dist/esm/user/user-additional-info/index.js +0 -1
- package/dist/esm/user/user-additional-info/user-additional-info.schema.d.ts +0 -12
- package/dist/esm/user/user-additional-info/user-additional-info.schema.d.ts.map +0 -1
- package/dist/esm/user/user-additional-info/user-additional-info.schema.js +0 -11
- package/dist/esm/user/user-certification/index.d.ts +0 -2
- package/dist/esm/user/user-certification/index.d.ts.map +0 -1
- package/dist/esm/user/user-certification/index.js +0 -1
- package/dist/esm/user/user-certification/user-certification.schema.d.ts +0 -20
- package/dist/esm/user/user-certification/user-certification.schema.d.ts.map +0 -1
- package/dist/esm/user/user-certification/user-certification.schema.js +0 -21
- package/dist/esm/user/user-completeness.schema.d.ts +0 -136
- package/dist/esm/user/user-completeness.schema.d.ts.map +0 -1
- package/dist/esm/user/user-completeness.schema.js +0 -19
- package/dist/esm/user/user-interest/index.d.ts +0 -2
- package/dist/esm/user/user-interest/index.d.ts.map +0 -1
- package/dist/esm/user/user-interest/index.js +0 -1
- package/dist/esm/user/user-interest/user-interest.schema.d.ts +0 -12
- package/dist/esm/user/user-interest/user-interest.schema.d.ts.map +0 -1
- package/dist/esm/user/user-interest/user-interest.schema.js +0 -7
- package/dist/esm/user/user-language/index.d.ts +0 -2
- package/dist/esm/user/user-language/index.d.ts.map +0 -1
- package/dist/esm/user/user-language/index.js +0 -1
- package/dist/esm/user/user-language/user-language.schema.d.ts +0 -16
- package/dist/esm/user/user-language/user-language.schema.d.ts.map +0 -1
- package/dist/esm/user/user-language/user-language.schema.js +0 -21
- package/dist/esm/user/user-skill/index.d.ts +0 -2
- package/dist/esm/user/user-skill/index.d.ts.map +0 -1
- package/dist/esm/user/user-skill/index.js +0 -1
- package/dist/esm/user/user-skill/user-skill.schema.d.ts +0 -28
- package/dist/esm/user/user-skill/user-skill.schema.d.ts.map +0 -1
- package/dist/esm/user/user-skill/user-skill.schema.js +0 -18
- package/dist/esm/user/user.schema.d.ts +0 -192
- package/dist/esm/user/user.schema.d.ts.map +0 -1
- package/dist/esm/user/user.schema.js +0 -135
- package/dist/esm/user/user.types.d.ts +0 -19
- package/dist/esm/user/user.types.d.ts.map +0 -1
- package/dist/esm/user/user.types.js +0 -1
- package/dist/esm/user/work-experience/index.d.ts +0 -2
- package/dist/esm/user/work-experience/index.d.ts.map +0 -1
- package/dist/esm/user/work-experience/index.js +0 -1
- package/dist/esm/user/work-experience/work-experience.schema.d.ts +0 -69
- package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +0 -1
- package/dist/esm/user/work-experience/work-experience.schema.js +0 -26
- package/dist/esm/yup-extended.d.ts +0 -41
- package/dist/esm/yup-extended.d.ts.map +0 -1
- package/dist/esm/yup-extended.js +0 -225
|
@@ -1,408 +0,0 @@
|
|
|
1
|
-
import { DbDefaultSchema, UserIdAndCreatedAtSchema, } from "../common";
|
|
2
|
-
import { ApplicationReceivePreference, SupportedCompensationTypes, SupportedEducationLevels, SupportedExperienceLevels, SYSTEM_DATE_FORMAT, } from "../constants";
|
|
3
|
-
import { DurationSchema } from "../duration";
|
|
4
|
-
import { LocationSchema } from "../location";
|
|
5
|
-
import { PageSchema } from "../page";
|
|
6
|
-
import { QuestionType, } from "../question";
|
|
7
|
-
import { SkillSchema } from "../skill";
|
|
8
|
-
import { array, boolean, lazy, mixed, number, object, string, } from "../yup-extended";
|
|
9
|
-
import { JobStatus, SupportedJobStatuses } from "./job.constant";
|
|
10
|
-
import { getSchemaByQuestion } from "./utils";
|
|
11
|
-
export const JobSchema = object({
|
|
12
|
-
/**
|
|
13
|
-
* Unique ID for the job post, it can be used by external systems to reference the job.
|
|
14
|
-
*/
|
|
15
|
-
uniqueId: string().optional().label("Unique ID"),
|
|
16
|
-
/*
|
|
17
|
-
* Job headline defines the title of the job post.
|
|
18
|
-
* It is required and should be a string with a minimum length of 10 characters and a maximum length of 100 characters.
|
|
19
|
-
* This field is used to display the job title in job listings and search results.
|
|
20
|
-
*/
|
|
21
|
-
headline: string().required().min(5).max(150).label("Headline"),
|
|
22
|
-
/*
|
|
23
|
-
* Job slug is a unique identifier for the job post.
|
|
24
|
-
* It is required and should be a string with a maximum length of 250 characters.
|
|
25
|
-
* This field is used to create a user-friendly URL for the job post.
|
|
26
|
-
*/
|
|
27
|
-
slug: string().required().max(250).label("Slug"),
|
|
28
|
-
/*
|
|
29
|
-
* Application receive preference defines how the job applications are received.
|
|
30
|
-
* It is required and should be one of the following values:
|
|
31
|
-
* - Inbox: Applications are received in the job portal's inbox.
|
|
32
|
-
* - ExternalWebsite: Applications are received on an external website.
|
|
33
|
-
* This field is used to determine how the job applications are processed.
|
|
34
|
-
*/
|
|
35
|
-
applicationReceivePreference: mixed()
|
|
36
|
-
.oneOf([
|
|
37
|
-
ApplicationReceivePreference.Inbox,
|
|
38
|
-
ApplicationReceivePreference.ExternalWebsite,
|
|
39
|
-
])
|
|
40
|
-
.required()
|
|
41
|
-
.label("Preference"),
|
|
42
|
-
/*
|
|
43
|
-
* External apply link is the link to the external website where the job applications are received.
|
|
44
|
-
* It is required if the application receive preference is set to ExternalWebsite.
|
|
45
|
-
* It should be a valid URL.
|
|
46
|
-
* This field is used to redirect users to the external website for job applications.
|
|
47
|
-
*/
|
|
48
|
-
externalApplyLink: string().when("applicationReceivePreference", {
|
|
49
|
-
is: (value) => value === ApplicationReceivePreference.ExternalWebsite,
|
|
50
|
-
then: (schema) => schema.url().required().label("Apply for Job link"),
|
|
51
|
-
otherwise: (schema) => schema.optional(),
|
|
52
|
-
}),
|
|
53
|
-
/*
|
|
54
|
-
* This property is required and can be used to specify the company associated with the job post.
|
|
55
|
-
* It can be a predefined company (NameIdLogoSchema) or an other value (OtherValueSchema).
|
|
56
|
-
* The value should be an object with name, id, and logo properties.
|
|
57
|
-
*/
|
|
58
|
-
company: PageSchema.pick(["name", "slug", "type", "logo"])
|
|
59
|
-
.deepPartial()
|
|
60
|
-
.concat(PageSchema.pick(["name", "type"]))
|
|
61
|
-
.required()
|
|
62
|
-
.label("Company"),
|
|
63
|
-
/*
|
|
64
|
-
* @deprecated: This field is deprecated and will be removed in future versions.
|
|
65
|
-
* This property is required and can be used to specify the designation associated with the job post.
|
|
66
|
-
* It can be a predefined designation (NameIdLogoSchema) or an other value (OtherValueSchema).
|
|
67
|
-
* The value should be an object with name, id, and logo properties.
|
|
68
|
-
*/
|
|
69
|
-
designation: string().optional().nullable().label("Designation"),
|
|
70
|
-
/*
|
|
71
|
-
* Employment type defines the type of employment 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 employment type, such as full-time, part-time, contract, etc.
|
|
74
|
-
*/
|
|
75
|
-
employmentType: string().required().label("Employment type"),
|
|
76
|
-
/*
|
|
77
|
-
* Work mode defines the mode of work for the job post.
|
|
78
|
-
* It is required and should be a string with a maximum length of 50 characters.
|
|
79
|
-
* This field is used to categorize the job based on work mode, such as remote, on-site, or hybrid.
|
|
80
|
-
*/
|
|
81
|
-
workMode: string().required().label("Work mode"),
|
|
82
|
-
/*
|
|
83
|
-
* This section is optional and can be used to specify the skills required for the job.
|
|
84
|
-
* It is useful for jobs that require specific skills, such as programming languages, frameworks, etc.
|
|
85
|
-
* The value should be an array of skills, each skill can be a predefined skill (NameIdLogoSchema) or an other value (OtherValueSchema).
|
|
86
|
-
*
|
|
87
|
-
* TODO: Make this field as array of string.
|
|
88
|
-
* TODO: Add knockout skills that if not present in the application should immediately disqualify the application.
|
|
89
|
-
*/
|
|
90
|
-
skills: array()
|
|
91
|
-
.of(SkillSchema.pick(["name", "logo"]).required().label("Skill"))
|
|
92
|
-
.nullable()
|
|
93
|
-
.optional()
|
|
94
|
-
.label("Skills"),
|
|
95
|
-
/*
|
|
96
|
-
* This field will store the information about users who have bookmarked the job post.
|
|
97
|
-
* It is optional and can be used to track the users who are interested in the job
|
|
98
|
-
*/
|
|
99
|
-
bookmarks: array().of(UserIdAndCreatedAtSchema).optional().label("Bookmarks"),
|
|
100
|
-
embedding: object({
|
|
101
|
-
vector: array(number().required()).optional().label("Embedding vector"),
|
|
102
|
-
model: string().optional().label("Embedding model"),
|
|
103
|
-
})
|
|
104
|
-
.nullable()
|
|
105
|
-
.optional()
|
|
106
|
-
.label("Embedding"),
|
|
107
|
-
/*
|
|
108
|
-
* This field will store the information about users who have applied for the job post using Direct/Quick Apply feature.
|
|
109
|
-
* It is optional and can be used to track the users who have applied for the job.
|
|
110
|
-
* It includes the user ID and the date when the application was made.
|
|
111
|
-
* It is also useful for analytics and reporting purposes.
|
|
112
|
-
*/
|
|
113
|
-
applicants: array()
|
|
114
|
-
.of(UserIdAndCreatedAtSchema)
|
|
115
|
-
.optional()
|
|
116
|
-
.label("Applicants"),
|
|
117
|
-
/**
|
|
118
|
-
* Number of applicants for the job (Direct Apply/Quick Apply).
|
|
119
|
-
* This is optional and can be used to track the number of applicants.
|
|
120
|
-
*/
|
|
121
|
-
applicantCount: number().optional().label("Applicant count"),
|
|
122
|
-
// /*
|
|
123
|
-
// * This field is optional and can be used to track the users who have applied for the job through an external website.
|
|
124
|
-
// * It includes the user ID and the date when the application was made.
|
|
125
|
-
// * It is also useful for analytics and reporting purposes.
|
|
126
|
-
// */
|
|
127
|
-
// externalApplicants: array()
|
|
128
|
-
// .of(UserIdAndCreatedAtSchema)
|
|
129
|
-
// .optional()
|
|
130
|
-
// .label("External Applicants"),
|
|
131
|
-
// /**
|
|
132
|
-
// * Number of external applicants for the job.
|
|
133
|
-
// */
|
|
134
|
-
// externalApplicantCount: number()
|
|
135
|
-
// .optional()
|
|
136
|
-
// .label("External applicant count"),
|
|
137
|
-
externalApplicationLinkClickCount: number()
|
|
138
|
-
.optional()
|
|
139
|
-
.label("External application link click count"),
|
|
140
|
-
/*
|
|
141
|
-
* This field is required and should be used to store the job description.
|
|
142
|
-
* It is useful for providing detailed information about the job responsibilities, requirements, and other relevant details.
|
|
143
|
-
* It is recommended to use a Markdown editor to write the job description.
|
|
144
|
-
*/
|
|
145
|
-
description: string().required().min(100).max(50000).label("Description"),
|
|
146
|
-
/*
|
|
147
|
-
* This field is required and can be used to specify the job description.
|
|
148
|
-
* It is useful for providing detailed information about the job responsibilities, requirements, and other relevant details.
|
|
149
|
-
*/
|
|
150
|
-
descriptionMarkdown: string().required().label("Description Markdown"),
|
|
151
|
-
/*
|
|
152
|
-
* This field is require and should be used to store generated HTML string after parsing Markdown description.
|
|
153
|
-
* The value should be a string in HTML format.
|
|
154
|
-
* It is recommended to use a Markdown editor to convert the Markdown description to HTML.
|
|
155
|
-
*
|
|
156
|
-
* Note: This field is required to ensure that the job description is always available in HTML format for rendering.
|
|
157
|
-
* It is important to keep this field in sync with the Markdown description field.
|
|
158
|
-
* If the Markdown description is updated, the HTML description should also be updated accordingly.
|
|
159
|
-
* This can be done using a Markdown parser library that converts Markdown to HTML.
|
|
160
|
-
* For example, you can use libraries like `marked`, `markdown-it`, or `showdown` to convert Markdown to HTML.
|
|
161
|
-
* Ensure that the HTML is sanitized to prevent XSS attacks and other security vulnerabilities.
|
|
162
|
-
*/
|
|
163
|
-
descriptionHTML: string().optional().label("Description HTML"),
|
|
164
|
-
/*
|
|
165
|
-
* Location section
|
|
166
|
-
* This section is required and can be used to specify the location of the job.
|
|
167
|
-
* It is useful for jobs that are location-specific, such as on-site jobs.
|
|
168
|
-
* The value should be an array of locations.
|
|
169
|
-
* NOTE: Location is also required even if the job is remote, This is to comply with compliance and legal requirements.
|
|
170
|
-
*
|
|
171
|
-
* TODO: Make this field optional in the future.
|
|
172
|
-
*/
|
|
173
|
-
locations: array()
|
|
174
|
-
.of(LocationSchema)
|
|
175
|
-
.default([])
|
|
176
|
-
// .required()
|
|
177
|
-
// .min(1)
|
|
178
|
-
.label("Location"),
|
|
179
|
-
/*
|
|
180
|
-
* Educational level section
|
|
181
|
-
* This section is optional and can be used to specify the educational level required for the job.
|
|
182
|
-
* It is useful for jobs that require specific educational qualifications, such as Bachelor's, Master's, etc.
|
|
183
|
-
* The value should be an array of supported education levels.
|
|
184
|
-
*/
|
|
185
|
-
educationLevel: array(string().oneOf(SupportedEducationLevels))
|
|
186
|
-
.required()
|
|
187
|
-
.min(1)
|
|
188
|
-
.label("Educational level"),
|
|
189
|
-
/*
|
|
190
|
-
* Validity section
|
|
191
|
-
* This section is optional and can be used to specify the validity of the job post.
|
|
192
|
-
* This can be useful for jobs that have a specific duration or deadline.
|
|
193
|
-
* The value should be an object with start and end dates.
|
|
194
|
-
*/
|
|
195
|
-
validity: DurationSchema({
|
|
196
|
-
format: SYSTEM_DATE_FORMAT,
|
|
197
|
-
startLabel: "Start Date",
|
|
198
|
-
endLabel: "Expiry Date",
|
|
199
|
-
}).label("Validity"),
|
|
200
|
-
/*
|
|
201
|
-
* Experience level section
|
|
202
|
-
* This section is optional and can be used to specify the experience level required for the job.
|
|
203
|
-
* It is useful for jobs that require specific levels of experience, such as entry-level, mid-level, or senior-level positions.
|
|
204
|
-
* The value should be one of the supported experience levels.
|
|
205
|
-
*/
|
|
206
|
-
experienceLevel: string()
|
|
207
|
-
.oneOf(SupportedExperienceLevels)
|
|
208
|
-
.nullable()
|
|
209
|
-
.optional()
|
|
210
|
-
.label("Experience level"),
|
|
211
|
-
/*
|
|
212
|
-
* Contact email section
|
|
213
|
-
* This section is optional and can be used to specify the contact email for the job post.
|
|
214
|
-
* It is useful for jobs that require direct communication with the employer.
|
|
215
|
-
*/
|
|
216
|
-
contactEmail: string().email().nullable().optional().label("Contact email"),
|
|
217
|
-
/*
|
|
218
|
-
* Working hours per week section
|
|
219
|
-
* This section is optional and can be used to specify the number of working hours per week for the job.
|
|
220
|
-
* It is useful for jobs that have a fixed number of hours per week, such as part-time or full-time jobs.
|
|
221
|
-
* The value should be a number between 1 and 168 (24 hours * 7 days).
|
|
222
|
-
*/
|
|
223
|
-
workingHoursPerWeek: number()
|
|
224
|
-
.nullable()
|
|
225
|
-
.optional()
|
|
226
|
-
.min(1)
|
|
227
|
-
.max(24 * 7)
|
|
228
|
-
.label("Working hours per week"),
|
|
229
|
-
/*
|
|
230
|
-
* Tags are used to categorize the job post.
|
|
231
|
-
* They are optional and can be used to filter job posts.
|
|
232
|
-
*/
|
|
233
|
-
tags: array().max(50).optional().label("Tags"),
|
|
234
|
-
/*
|
|
235
|
-
* Questionnaire section
|
|
236
|
-
* This section contains a list of questions that the user must answer when applying for the job through Direct/Quick Apply.
|
|
237
|
-
* It is optional and can be used to gather additional information from the applicants.
|
|
238
|
-
*/
|
|
239
|
-
questionnaire: array()
|
|
240
|
-
.of(lazy((question) => {
|
|
241
|
-
const schema = getSchemaByQuestion(question.type);
|
|
242
|
-
if (question.type === QuestionType.Input) {
|
|
243
|
-
return schema.omit([
|
|
244
|
-
"answers",
|
|
245
|
-
]);
|
|
246
|
-
}
|
|
247
|
-
else if (question.type === QuestionType.Choice) {
|
|
248
|
-
return schema.omit([
|
|
249
|
-
"answers",
|
|
250
|
-
]);
|
|
251
|
-
}
|
|
252
|
-
else if (question.type === QuestionType.ReadAndAcknowledge) {
|
|
253
|
-
return schema.omit(["answers"]);
|
|
254
|
-
}
|
|
255
|
-
return schema;
|
|
256
|
-
}))
|
|
257
|
-
.label("Questionnaire"),
|
|
258
|
-
/**
|
|
259
|
-
* Status of the job post.
|
|
260
|
-
* This is required and can be one of the supported job statuses.
|
|
261
|
-
* It defaults to 'Draft' if not provided.
|
|
262
|
-
* This field is used to track the current state of the job post.
|
|
263
|
-
* Possible values include:
|
|
264
|
-
* - Draft: The job post is in draft mode and not yet published.
|
|
265
|
-
* - Published: The job post is live and visible to users.
|
|
266
|
-
* - Closed: The job post is closed and no longer accepting applications.
|
|
267
|
-
* - Deleted: The job post has been deleted and is no longer available.
|
|
268
|
-
*/
|
|
269
|
-
status: string()
|
|
270
|
-
.oneOf(SupportedJobStatuses)
|
|
271
|
-
.default(JobStatus.Draft)
|
|
272
|
-
.required()
|
|
273
|
-
.label("Status"),
|
|
274
|
-
/**
|
|
275
|
-
* SEO tags for the job post.
|
|
276
|
-
* This is optional and can be used to improve the visibility of the job post in search engines.
|
|
277
|
-
* It includes meta tags for description and keywords.
|
|
278
|
-
*/
|
|
279
|
-
seoTags: object({
|
|
280
|
-
description: string().optional().label("Description"),
|
|
281
|
-
keywords: array().of(string()).optional().label("Keywords"),
|
|
282
|
-
})
|
|
283
|
-
.nullable()
|
|
284
|
-
.optional()
|
|
285
|
-
.label("SEO Tags"),
|
|
286
|
-
/**
|
|
287
|
-
* Short job summary.
|
|
288
|
-
* This is optional and can be used to provide a brief overview of the job post.
|
|
289
|
-
* It is displayed in job listings and search results.
|
|
290
|
-
*/
|
|
291
|
-
jdSummary: string().optional().label("JD Summary"),
|
|
292
|
-
/*
|
|
293
|
-
* Indicates if the job can be bookmarked by the user.
|
|
294
|
-
* This is optional and can be used to determine if the job supports bookmarking.
|
|
295
|
-
*/
|
|
296
|
-
canCreateAlert: boolean().optional().label("Can create alert"),
|
|
297
|
-
/*
|
|
298
|
-
* Indicates if the job can be directly applied to without going through an external website.
|
|
299
|
-
* This is optional and can be used to determine if the job supports direct applications.
|
|
300
|
-
*/
|
|
301
|
-
canDirectApply: boolean().optional().label("Can direct apply"),
|
|
302
|
-
/*
|
|
303
|
-
* Indicates if the user has applied for the job.
|
|
304
|
-
* This is optional and can be used to determine if the user has already applied.
|
|
305
|
-
*/
|
|
306
|
-
hasApplied: boolean().optional().label("Has applied"),
|
|
307
|
-
/**
|
|
308
|
-
* Indicates if the user is the owner of the job.
|
|
309
|
-
* This is optional and can be used to determine if the user has permissions to edit/delete the job.
|
|
310
|
-
*/
|
|
311
|
-
isOwner: boolean().optional().label("Is owner"),
|
|
312
|
-
/**
|
|
313
|
-
* Has the job been bookmarked by the user.
|
|
314
|
-
*/
|
|
315
|
-
hasBookmarked: boolean().optional().label("Has bookmarked"),
|
|
316
|
-
/**
|
|
317
|
-
* Indicates if the job has been reported by the user.
|
|
318
|
-
* This is optional and can be used to track if the job has been reported for any reason.
|
|
319
|
-
* It is useful for moderation and ensuring the quality of job posts.
|
|
320
|
-
*/
|
|
321
|
-
hasReported: boolean().optional().label("Has reported"),
|
|
322
|
-
/**
|
|
323
|
-
* Rate per hour for the job.
|
|
324
|
-
* This is optional and can be used for freelance or contract jobs.
|
|
325
|
-
*/
|
|
326
|
-
ratePerHour: number().optional().min(0).label("Rate per hour"),
|
|
327
|
-
/**
|
|
328
|
-
* Indicates if the job is promoted.
|
|
329
|
-
* This is optional and can be used to determine if the job is featured or highlighted.
|
|
330
|
-
*/
|
|
331
|
-
isPromoted: boolean().optional().label("Is promoted"),
|
|
332
|
-
/**
|
|
333
|
-
* Salary range for the job.
|
|
334
|
-
* This is optional and can be used to specify the salary range for the job.
|
|
335
|
-
* It includes currency, minimum, and maximum salary.
|
|
336
|
-
*/
|
|
337
|
-
salaryRange: object({
|
|
338
|
-
currency: string().required().label("Currency").default("USD"), // Default to USD if not provided
|
|
339
|
-
min: number().nullable().optional().min(0).label("Minimum Salary"),
|
|
340
|
-
max: number().nullable().optional().min(0).label("Maximum Salary"),
|
|
341
|
-
compensationType: string()
|
|
342
|
-
.oneOf(SupportedCompensationTypes)
|
|
343
|
-
.nullable()
|
|
344
|
-
.optional()
|
|
345
|
-
.label("Compensation Type"),
|
|
346
|
-
isNegotiable: boolean()
|
|
347
|
-
.nullable()
|
|
348
|
-
.optional()
|
|
349
|
-
.default(true)
|
|
350
|
-
.label("Is Negotiable"),
|
|
351
|
-
})
|
|
352
|
-
.nullable()
|
|
353
|
-
.optional()
|
|
354
|
-
.label("Salary Range"),
|
|
355
|
-
/*
|
|
356
|
-
* This field will store the information about users who have reported the job post.
|
|
357
|
-
* It is optional and can be used to track the users who have reported the job for any reason.
|
|
358
|
-
* It includes the user ID and the date when the report was made.
|
|
359
|
-
* It is also useful for analytics and reporting purposes.
|
|
360
|
-
*/
|
|
361
|
-
reports: array().of(UserIdAndCreatedAtSchema).optional().label("Reports"),
|
|
362
|
-
/**
|
|
363
|
-
* This field can be used to categorize the job post under a specific category.
|
|
364
|
-
* It is optional and can help in organizing and filtering job posts based on categories.
|
|
365
|
-
*/
|
|
366
|
-
category: string().nullable().optional().label("Category"),
|
|
367
|
-
/**
|
|
368
|
-
* This field can be used to specify the industry related to the job post.
|
|
369
|
-
* It is optional and can help in organizing and filtering job posts based on industries.
|
|
370
|
-
*/
|
|
371
|
-
industry: string().nullable().optional().label("Industry"),
|
|
372
|
-
/**
|
|
373
|
-
* This field can be used to specify the sub-categories related to the job post.
|
|
374
|
-
* It is optional and can help in organizing and filtering job posts based on sub-categories.
|
|
375
|
-
*/
|
|
376
|
-
subCategories: array()
|
|
377
|
-
.of(string().trim().required())
|
|
378
|
-
.nullable()
|
|
379
|
-
.optional()
|
|
380
|
-
.label("Sub Categories"),
|
|
381
|
-
/*
|
|
382
|
-
* Indicates if the user has accepted the terms and conditions for posting a job.
|
|
383
|
-
* This is required and should be a boolean value.
|
|
384
|
-
* It is used to ensure that the user agrees to the terms before proceeding with the job post.
|
|
385
|
-
*/
|
|
386
|
-
termsAccepted: boolean()
|
|
387
|
-
.oneOf([true], "Accept terms before proceeding")
|
|
388
|
-
.required("Accept terms before proceeding")
|
|
389
|
-
.label("Terms accepted"),
|
|
390
|
-
/**
|
|
391
|
-
* Indicates if the job is featured on the home page or other prominent locations.
|
|
392
|
-
* This is managed by admins. Defaults to false.
|
|
393
|
-
*/
|
|
394
|
-
isFeatured: boolean().optional().default(false).label("Is featured"),
|
|
395
|
-
/**
|
|
396
|
-
* List of market country codes where this job should be featured.
|
|
397
|
-
* If empty, the job is featured globally across all markets.
|
|
398
|
-
* Example: ["us", "gb", "se"]
|
|
399
|
-
*/
|
|
400
|
-
featuredMarkets: array()
|
|
401
|
-
.of(string().required())
|
|
402
|
-
.optional()
|
|
403
|
-
.default([])
|
|
404
|
-
.label("Featured markets"),
|
|
405
|
-
})
|
|
406
|
-
.concat(DbDefaultSchema)
|
|
407
|
-
.noUnknown()
|
|
408
|
-
.label("Job");
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TOtherValueSchema } from "../common";
|
|
2
|
-
import { EducationLevel } from "../constants";
|
|
3
|
-
import { TChoiceQuestionSchema, TInputQuestionSchema } from "../question";
|
|
4
|
-
export type JobRoleTemplate = {
|
|
5
|
-
headline: string;
|
|
6
|
-
description: string;
|
|
7
|
-
designation: TOtherValueSchema;
|
|
8
|
-
skills: TOtherValueSchema[];
|
|
9
|
-
tags: string[];
|
|
10
|
-
questionnaire?: Array<TChoiceQuestionSchema | TInputQuestionSchema>;
|
|
11
|
-
educationLevel?: Array<EducationLevel>;
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=job.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"job.types.d.ts","sourceRoot":"","sources":["../../../src/job/job.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAC5B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,aAAa,CAAC,EAAE,KAAK,CAAC,qBAAqB,GAAG,oBAAoB,CAAC,CAAC;IACpE,cAAc,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACxC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/esm/job/utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/job/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EAGL,YAAY,EAEZ,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,mBAAmB,GAC9B,MAAM,YAAY,KACjB,YAAY,CAAC,eAAe,CAW9B,CAAC"}
|
package/dist/esm/job/utils.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ChoiceQuestionSchema, InputQuestionSchema, QuestionType, ReadAndAcknowledgeQuestionSchema, } from "../question";
|
|
2
|
-
export const getSchemaByQuestion = (type) => {
|
|
3
|
-
switch (type) {
|
|
4
|
-
case QuestionType.Input:
|
|
5
|
-
return InputQuestionSchema;
|
|
6
|
-
case QuestionType.Choice:
|
|
7
|
-
return ChoiceQuestionSchema;
|
|
8
|
-
case QuestionType.ReadAndAcknowledge:
|
|
9
|
-
return ReadAndAcknowledgeQuestionSchema;
|
|
10
|
-
default:
|
|
11
|
-
throw Error("Unsupported schema: " + type);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/job-application/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare enum JobApplicationStatus {
|
|
2
|
-
Open = "open",
|
|
3
|
-
Shortlisted = "shortlisted",
|
|
4
|
-
Interview = "interview",
|
|
5
|
-
Offered = "offered",
|
|
6
|
-
Rejected = "rejected",
|
|
7
|
-
Hired = "hired",
|
|
8
|
-
Closed = "closed",
|
|
9
|
-
Archived = "archived",
|
|
10
|
-
Expired = "expired"
|
|
11
|
-
}
|
|
12
|
-
export declare const SupportedJobApplicationsStatuses: JobApplicationStatus[];
|
|
13
|
-
export declare enum JobApplicationScore {
|
|
14
|
-
Exceptional = 10,
|
|
15
|
-
Qualified = 9,
|
|
16
|
-
Potential = 8,
|
|
17
|
-
NotRecommended = 1
|
|
18
|
-
}
|
|
19
|
-
export declare const SupportedJobApplicationScores: JobApplicationScore[];
|
|
20
|
-
//# sourceMappingURL=job-application.constant.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"job-application.constant.d.ts","sourceRoot":"","sources":["../../../src/job-application/job-application.constant.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,gCAAgC,wBAS5C,CAAC;AAEF,oBAAY,mBAAmB;IAC7B,WAAW,KAAK;IAChB,SAAS,IAAI;IACb,SAAS,IAAI;IACb,cAAc,IAAI;CACnB;AAED,eAAO,MAAM,6BAA6B,uBAKzC,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export var JobApplicationStatus;
|
|
2
|
-
(function (JobApplicationStatus) {
|
|
3
|
-
JobApplicationStatus["Open"] = "open";
|
|
4
|
-
JobApplicationStatus["Shortlisted"] = "shortlisted";
|
|
5
|
-
JobApplicationStatus["Interview"] = "interview";
|
|
6
|
-
JobApplicationStatus["Offered"] = "offered";
|
|
7
|
-
JobApplicationStatus["Rejected"] = "rejected";
|
|
8
|
-
JobApplicationStatus["Hired"] = "hired";
|
|
9
|
-
JobApplicationStatus["Closed"] = "closed";
|
|
10
|
-
JobApplicationStatus["Archived"] = "archived";
|
|
11
|
-
JobApplicationStatus["Expired"] = "expired";
|
|
12
|
-
})(JobApplicationStatus || (JobApplicationStatus = {}));
|
|
13
|
-
export const SupportedJobApplicationsStatuses = [
|
|
14
|
-
JobApplicationStatus.Open,
|
|
15
|
-
JobApplicationStatus.Shortlisted,
|
|
16
|
-
JobApplicationStatus.Interview,
|
|
17
|
-
JobApplicationStatus.Offered,
|
|
18
|
-
JobApplicationStatus.Rejected,
|
|
19
|
-
JobApplicationStatus.Hired,
|
|
20
|
-
JobApplicationStatus.Closed,
|
|
21
|
-
JobApplicationStatus.Archived,
|
|
22
|
-
];
|
|
23
|
-
export var JobApplicationScore;
|
|
24
|
-
(function (JobApplicationScore) {
|
|
25
|
-
JobApplicationScore[JobApplicationScore["Exceptional"] = 10] = "Exceptional";
|
|
26
|
-
JobApplicationScore[JobApplicationScore["Qualified"] = 9] = "Qualified";
|
|
27
|
-
JobApplicationScore[JobApplicationScore["Potential"] = 8] = "Potential";
|
|
28
|
-
JobApplicationScore[JobApplicationScore["NotRecommended"] = 1] = "NotRecommended";
|
|
29
|
-
})(JobApplicationScore || (JobApplicationScore = {}));
|
|
30
|
-
export const SupportedJobApplicationScores = [
|
|
31
|
-
JobApplicationScore.Exceptional,
|
|
32
|
-
JobApplicationScore.Qualified,
|
|
33
|
-
JobApplicationScore.Potential,
|
|
34
|
-
JobApplicationScore.NotRecommended,
|
|
35
|
-
];
|