@thejob/schema 1.0.67 → 1.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ai/ai.types.d.ts +1 -1
- package/dist/cjs/ai/ai.types.d.ts.map +1 -1
- package/dist/cjs/common/common.types.d.ts +1 -1
- package/dist/cjs/common/common.types.d.ts.map +1 -1
- package/dist/cjs/common/index.d.ts +0 -1
- package/dist/cjs/common/index.d.ts.map +1 -1
- package/dist/cjs/common/index.js +0 -1
- package/dist/cjs/constants/auth.d.ts +12 -0
- package/dist/cjs/constants/auth.d.ts.map +1 -0
- package/dist/cjs/constants/auth.js +17 -0
- package/dist/cjs/constants/authorization.d.ts +10 -0
- package/dist/cjs/constants/authorization.d.ts.map +1 -0
- package/dist/cjs/constants/authorization.js +15 -0
- package/dist/cjs/constants/campaign.d.ts +8 -0
- package/dist/cjs/constants/campaign.d.ts.map +1 -0
- package/dist/cjs/constants/campaign.js +12 -0
- package/dist/cjs/constants/common.d.ts +29 -0
- package/dist/cjs/constants/common.d.ts.map +1 -0
- package/dist/cjs/constants/common.js +35 -0
- package/dist/cjs/constants/database.d.ts +366 -0
- package/dist/cjs/constants/database.d.ts.map +1 -0
- package/dist/cjs/constants/database.js +371 -0
- package/dist/cjs/constants/education.d.ts +19 -0
- package/dist/cjs/constants/education.d.ts.map +1 -0
- package/dist/cjs/constants/education.js +24 -0
- package/dist/cjs/constants/file.d.ts +31 -0
- package/dist/cjs/constants/file.d.ts.map +1 -0
- package/dist/cjs/constants/file.js +39 -0
- package/dist/cjs/constants/http.d.ts +147 -0
- package/dist/cjs/constants/http.d.ts.map +1 -0
- package/dist/cjs/constants/http.js +153 -0
- package/dist/cjs/constants/index.d.ts +17 -0
- package/dist/cjs/constants/index.d.ts.map +1 -0
- package/dist/cjs/constants/index.js +49 -0
- package/dist/cjs/constants/job.d.ts +53 -0
- package/dist/cjs/constants/job.d.ts.map +1 -0
- package/dist/cjs/constants/job.js +62 -0
- package/dist/cjs/constants/notification.d.ts +15 -0
- package/dist/cjs/constants/notification.d.ts.map +1 -0
- package/dist/cjs/constants/notification.js +19 -0
- package/dist/cjs/constants/page.d.ts +8 -0
- package/dist/cjs/constants/page.d.ts.map +1 -0
- package/dist/cjs/constants/page.js +12 -0
- package/dist/cjs/constants/report.d.ts +18 -0
- package/dist/cjs/constants/report.d.ts.map +1 -0
- package/dist/cjs/constants/report.js +23 -0
- package/dist/cjs/constants/reward.d.ts +37 -0
- package/dist/cjs/constants/reward.d.ts.map +1 -0
- package/dist/cjs/constants/reward.js +43 -0
- package/dist/cjs/constants/user.d.ts +71 -0
- package/dist/cjs/constants/user.d.ts.map +1 -0
- package/dist/cjs/constants/user.js +79 -0
- package/dist/cjs/constants/validation.d.ts +27 -0
- package/dist/cjs/constants/validation.d.ts.map +1 -0
- package/dist/cjs/constants/validation.js +31 -0
- package/dist/cjs/constants/webhook.d.ts +11 -0
- package/dist/cjs/constants/webhook.d.ts.map +1 -0
- package/dist/cjs/constants/webhook.js +16 -0
- package/dist/cjs/design-and-font/design-and-font.schema.d.ts +1 -1
- package/dist/cjs/group/group.schema.d.ts +1 -1
- package/dist/cjs/index.d.ts +8 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +8 -0
- package/dist/cjs/interfaces.index.d.ts +79 -74
- package/dist/cjs/interfaces.index.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.d.ts +15 -15
- package/dist/cjs/job/job.schema.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.js +8 -7
- package/dist/cjs/job/job.types.d.ts +2 -1
- package/dist/cjs/job/job.types.d.ts.map +1 -1
- package/dist/cjs/job-application/job-application.schema.d.ts +29 -29
- package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/cjs/job-application/job-application.schema.js +2 -1
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts +12 -12
- package/dist/cjs/page/page.schema.d.ts +1 -1
- package/dist/cjs/question/choice-question.schema.d.ts +2 -2
- package/dist/cjs/question/choice-question.schema.d.ts.map +1 -1
- package/dist/cjs/question/choice-question.schema.js +2 -1
- package/dist/cjs/question/read-and-acknowledge.schema.d.ts +1 -1
- package/dist/cjs/question/read-and-acknowledge.schema.d.ts.map +1 -1
- package/dist/cjs/question/read-and-acknowledge.schema.js +2 -2
- package/dist/cjs/resume/resume.constant.d.ts +8 -8
- package/dist/cjs/resume/resume.constant.js +8 -8
- package/dist/cjs/resume/resume.schema.d.ts +87 -87
- package/dist/cjs/social-account/social-account.schema.d.ts +1 -1
- package/dist/cjs/social-account/social-account.schema.js +2 -2
- package/dist/cjs/user/education/education.schema.d.ts +1 -1
- package/dist/cjs/user/education/education.schema.js +2 -2
- package/dist/cjs/user/general-detail/general-detail.schema.d.ts +1 -1
- package/dist/cjs/user/general-detail/general-detail.schema.js +2 -2
- package/dist/cjs/user/update-additional-info.schema.d.ts +1 -1
- package/dist/cjs/user/update-education.schema.d.ts +12 -12
- package/dist/cjs/user/update-work-experience.schema.d.ts +14 -14
- package/dist/cjs/user/user-completeness.schema.d.ts.map +1 -1
- package/dist/cjs/user/user-completeness.schema.js +2 -1
- package/dist/cjs/user/user-language/user-language.schema.d.ts +1 -1
- package/dist/cjs/user/user-language/user-language.schema.js +2 -2
- package/dist/cjs/user/user-skill/user-skill.schema.d.ts +1 -1
- package/dist/cjs/user/user-skill/user-skill.schema.js +2 -2
- package/dist/cjs/user/user.schema.d.ts +28 -28
- package/dist/cjs/user/user.schema.js +4 -4
- package/dist/cjs/user/user.types.d.ts +1 -1
- package/dist/cjs/user/user.types.d.ts.map +1 -1
- package/dist/esm/ai/ai.types.d.ts +1 -1
- package/dist/esm/ai/ai.types.d.ts.map +1 -1
- package/dist/esm/common/common.types.d.ts +1 -1
- package/dist/esm/common/common.types.d.ts.map +1 -1
- package/dist/esm/common/index.d.ts +0 -1
- package/dist/esm/common/index.d.ts.map +1 -1
- package/dist/esm/common/index.js +0 -1
- package/dist/esm/constants/auth.d.ts +12 -0
- package/dist/esm/constants/auth.d.ts.map +1 -0
- package/dist/esm/constants/auth.js +14 -0
- package/dist/esm/constants/authorization.d.ts +10 -0
- package/dist/esm/constants/authorization.d.ts.map +1 -0
- package/dist/esm/constants/authorization.js +12 -0
- package/dist/esm/constants/campaign.d.ts +8 -0
- package/dist/esm/constants/campaign.d.ts.map +1 -0
- package/dist/esm/constants/campaign.js +9 -0
- package/dist/esm/constants/common.d.ts +29 -0
- package/dist/esm/constants/common.d.ts.map +1 -0
- package/dist/esm/constants/common.js +32 -0
- package/dist/esm/constants/database.d.ts +366 -0
- package/dist/esm/constants/database.d.ts.map +1 -0
- package/dist/esm/constants/database.js +368 -0
- package/dist/esm/constants/education.d.ts +19 -0
- package/dist/esm/constants/education.d.ts.map +1 -0
- package/dist/esm/constants/education.js +21 -0
- package/dist/esm/constants/file.d.ts +31 -0
- package/dist/esm/constants/file.d.ts.map +1 -0
- package/dist/esm/constants/file.js +36 -0
- package/dist/esm/constants/http.d.ts +147 -0
- package/dist/esm/constants/http.d.ts.map +1 -0
- package/dist/esm/constants/http.js +150 -0
- package/dist/esm/constants/index.d.ts +17 -0
- package/dist/esm/constants/index.d.ts.map +1 -0
- package/dist/esm/constants/index.js +33 -0
- package/dist/esm/constants/job.d.ts +53 -0
- package/dist/esm/constants/job.d.ts.map +1 -0
- package/dist/esm/constants/job.js +59 -0
- package/dist/esm/constants/notification.d.ts +15 -0
- package/dist/esm/constants/notification.d.ts.map +1 -0
- package/dist/esm/constants/notification.js +16 -0
- package/dist/esm/constants/page.d.ts +8 -0
- package/dist/esm/constants/page.d.ts.map +1 -0
- package/dist/esm/constants/page.js +9 -0
- package/dist/esm/constants/report.d.ts +18 -0
- package/dist/esm/constants/report.d.ts.map +1 -0
- package/dist/esm/constants/report.js +20 -0
- package/dist/esm/constants/reward.d.ts +37 -0
- package/dist/esm/constants/reward.d.ts.map +1 -0
- package/dist/esm/constants/reward.js +40 -0
- package/dist/esm/constants/user.d.ts +71 -0
- package/dist/esm/constants/user.d.ts.map +1 -0
- package/dist/esm/constants/user.js +76 -0
- package/dist/esm/constants/validation.d.ts +27 -0
- package/dist/esm/constants/validation.d.ts.map +1 -0
- package/dist/esm/constants/validation.js +28 -0
- package/dist/esm/constants/webhook.d.ts +11 -0
- package/dist/esm/constants/webhook.d.ts.map +1 -0
- package/dist/esm/constants/webhook.js +13 -0
- package/dist/esm/design-and-font/design-and-font.schema.d.ts +1 -1
- package/dist/esm/group/group.schema.d.ts +1 -1
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +8 -0
- package/dist/esm/interfaces.index.d.ts +79 -74
- package/dist/esm/interfaces.index.d.ts.map +1 -1
- package/dist/esm/job/job.schema.d.ts +15 -15
- package/dist/esm/job/job.schema.d.ts.map +1 -1
- package/dist/esm/job/job.schema.js +3 -2
- package/dist/esm/job/job.types.d.ts +2 -1
- package/dist/esm/job/job.types.d.ts.map +1 -1
- package/dist/esm/job-application/job-application.schema.d.ts +29 -29
- package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/esm/job-application/job-application.schema.js +2 -1
- package/dist/esm/job-role-template/job-role-template.schema.d.ts +12 -12
- package/dist/esm/page/page.schema.d.ts +1 -1
- package/dist/esm/question/choice-question.schema.d.ts +2 -2
- package/dist/esm/question/choice-question.schema.d.ts.map +1 -1
- package/dist/esm/question/choice-question.schema.js +2 -1
- package/dist/esm/question/read-and-acknowledge.schema.d.ts +1 -1
- package/dist/esm/question/read-and-acknowledge.schema.d.ts.map +1 -1
- package/dist/esm/question/read-and-acknowledge.schema.js +1 -1
- package/dist/esm/resume/resume.constant.d.ts +8 -8
- package/dist/esm/resume/resume.constant.js +8 -8
- package/dist/esm/resume/resume.schema.d.ts +87 -87
- package/dist/esm/social-account/social-account.schema.d.ts +1 -1
- package/dist/esm/social-account/social-account.schema.js +1 -1
- package/dist/esm/user/education/education.schema.d.ts +1 -1
- package/dist/esm/user/education/education.schema.js +1 -1
- package/dist/esm/user/general-detail/general-detail.schema.d.ts +1 -1
- package/dist/esm/user/general-detail/general-detail.schema.js +1 -1
- package/dist/esm/user/update-additional-info.schema.d.ts +1 -1
- package/dist/esm/user/update-education.schema.d.ts +12 -12
- package/dist/esm/user/update-work-experience.schema.d.ts +14 -14
- package/dist/esm/user/user-completeness.schema.d.ts.map +1 -1
- package/dist/esm/user/user-completeness.schema.js +2 -1
- package/dist/esm/user/user-language/user-language.schema.d.ts +1 -1
- package/dist/esm/user/user-language/user-language.schema.js +1 -1
- package/dist/esm/user/user-skill/user-skill.schema.d.ts +1 -1
- package/dist/esm/user/user-skill/user-skill.schema.js +1 -1
- package/dist/esm/user/user.schema.d.ts +28 -28
- package/dist/esm/user/user.schema.js +1 -1
- package/dist/esm/user/user.types.d.ts +1 -1
- package/dist/esm/user/user.types.d.ts.map +1 -1
- package/package.json +4 -3
- package/dist/cjs/common/constants.d.ts +0 -200
- package/dist/cjs/common/constants.d.ts.map +0 -1
- package/dist/cjs/common/constants.js +0 -256
- package/dist/esm/common/constants.d.ts +0 -200
- package/dist/esm/common/constants.d.ts.map +0 -1
- package/dist/esm/common/constants.js +0 -253
|
@@ -20,7 +20,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
20
20
|
userId: string;
|
|
21
21
|
applicationSummary: string | undefined;
|
|
22
22
|
score: number | undefined;
|
|
23
|
-
experienceLevel: NonNullable<import("../
|
|
23
|
+
experienceLevel: NonNullable<import("../constants").ExperienceLevel | undefined>;
|
|
24
24
|
location: {
|
|
25
25
|
state?: string | null | undefined;
|
|
26
26
|
stateCode?: string | null | undefined;
|
|
@@ -35,6 +35,18 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
35
35
|
};
|
|
36
36
|
recentWork: {
|
|
37
37
|
description?: string | undefined;
|
|
38
|
+
location: {
|
|
39
|
+
state?: string | null | undefined;
|
|
40
|
+
stateCode?: string | null | undefined;
|
|
41
|
+
city?: string | null | undefined;
|
|
42
|
+
address?: string | null | undefined;
|
|
43
|
+
country: string;
|
|
44
|
+
countryCode: string;
|
|
45
|
+
geo: {
|
|
46
|
+
type: "Point";
|
|
47
|
+
coordinates: number[];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
38
50
|
company: {
|
|
39
51
|
logo?: {
|
|
40
52
|
dark?: string | null | undefined;
|
|
@@ -44,11 +56,18 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
44
56
|
type: import("..").PageType;
|
|
45
57
|
name: string;
|
|
46
58
|
};
|
|
59
|
+
designation: {
|
|
60
|
+
name: string;
|
|
61
|
+
};
|
|
47
62
|
duration: {
|
|
48
63
|
startDate: string;
|
|
49
64
|
endDate: string;
|
|
50
65
|
isActive: boolean;
|
|
51
66
|
};
|
|
67
|
+
isRemote: boolean;
|
|
68
|
+
};
|
|
69
|
+
recentEducation: {
|
|
70
|
+
description?: string | undefined;
|
|
52
71
|
location: {
|
|
53
72
|
state?: string | null | undefined;
|
|
54
73
|
stateCode?: string | null | undefined;
|
|
@@ -61,13 +80,6 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
61
80
|
coordinates: number[];
|
|
62
81
|
};
|
|
63
82
|
};
|
|
64
|
-
designation: {
|
|
65
|
-
name: string;
|
|
66
|
-
};
|
|
67
|
-
isRemote: boolean;
|
|
68
|
-
};
|
|
69
|
-
recentEducation: {
|
|
70
|
-
description?: string | undefined;
|
|
71
83
|
institute: {
|
|
72
84
|
logo?: {
|
|
73
85
|
dark?: string | null | undefined;
|
|
@@ -84,24 +96,12 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
84
96
|
name: string;
|
|
85
97
|
};
|
|
86
98
|
isDistanceLearning: boolean;
|
|
87
|
-
studyType: NonNullable<import("../
|
|
99
|
+
studyType: NonNullable<import("../constants").StudyType | undefined>;
|
|
88
100
|
duration: {
|
|
89
101
|
startDate: string;
|
|
90
102
|
endDate: string;
|
|
91
103
|
isActive: boolean;
|
|
92
104
|
};
|
|
93
|
-
location: {
|
|
94
|
-
state?: string | null | undefined;
|
|
95
|
-
stateCode?: string | null | undefined;
|
|
96
|
-
city?: string | null | undefined;
|
|
97
|
-
address?: string | null | undefined;
|
|
98
|
-
country: string;
|
|
99
|
-
countryCode: string;
|
|
100
|
-
geo: {
|
|
101
|
-
type: "Point";
|
|
102
|
-
coordinates: number[];
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
105
|
};
|
|
106
106
|
resume: {
|
|
107
107
|
markdown: string;
|
|
@@ -113,12 +113,12 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
113
113
|
isNew?: boolean | undefined;
|
|
114
114
|
isOptional?: boolean | undefined;
|
|
115
115
|
readonly?: boolean | undefined;
|
|
116
|
-
optionsFrom?: import("../
|
|
116
|
+
optionsFrom?: import("../constants").Common.ExperienceLevel | import("../constants").Common.EducationLevel | import("../constants").Common.Skill | undefined;
|
|
117
117
|
preferredAnswer?: import("../question").TMixedValue | import("../question").TMixedValue[] | undefined;
|
|
118
118
|
answers?: import("../question").TMixedValue | import("../question").TMixedValue[] | undefined;
|
|
119
|
+
title: string;
|
|
119
120
|
type: import("../question").QuestionType.Choice;
|
|
120
121
|
default: boolean;
|
|
121
|
-
title: string;
|
|
122
122
|
options: (string | {
|
|
123
123
|
logo?: string | undefined;
|
|
124
124
|
name: string;
|
|
@@ -135,26 +135,26 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
135
135
|
readonly?: boolean | undefined;
|
|
136
136
|
preferredAnswer?: string | undefined;
|
|
137
137
|
answers?: string | undefined;
|
|
138
|
+
title: string;
|
|
138
139
|
type: import("../question").QuestionType.Input;
|
|
139
140
|
default: boolean;
|
|
140
|
-
title: string;
|
|
141
141
|
} | {
|
|
142
142
|
label?: string | undefined;
|
|
143
143
|
isNew?: boolean | undefined;
|
|
144
144
|
isOptional?: boolean | undefined;
|
|
145
145
|
readonly?: boolean | undefined;
|
|
146
|
+
title: string;
|
|
146
147
|
type: import("../question").QuestionType.ReadAndAcknowledge;
|
|
147
148
|
default: boolean;
|
|
148
149
|
description: string;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
answers: NonNullable<import("../common").Common.Yes | import("../common").Common.No | undefined>;
|
|
150
|
+
preferredAnswer: NonNullable<import("../constants").Common.Yes | import("../constants").Common.No | undefined>;
|
|
151
|
+
answers: NonNullable<import("../constants").Common.Yes | import("../constants").Common.No | undefined>;
|
|
152
152
|
})[] | undefined;
|
|
153
153
|
history: {
|
|
154
154
|
message?: string | undefined;
|
|
155
|
+
status: NonNullable<JobApplicationStatus | undefined>;
|
|
155
156
|
updatedBy: string;
|
|
156
157
|
updatedAt: Date;
|
|
157
|
-
status: NonNullable<JobApplicationStatus | undefined>;
|
|
158
158
|
}[];
|
|
159
159
|
} & {
|
|
160
160
|
id: string;
|
|
@@ -197,7 +197,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
197
197
|
languages: never[];
|
|
198
198
|
additionalInfo: never[];
|
|
199
199
|
status: undefined;
|
|
200
|
-
roles: import("../
|
|
200
|
+
roles: import("../constants").UserRole[];
|
|
201
201
|
id: undefined;
|
|
202
202
|
name: {
|
|
203
203
|
first: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-application.schema.d.ts","sourceRoot":"","sources":["../../../src/job-application/job-application.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"job-application.schema.d.ts","sourceRoot":"","sources":["../../../src/job-application/job-application.schema.ts"],"names":[],"mappings":"AAaA,OAAO,EAIL,SAAS,EAIT,YAAY,EAEb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EAGrB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiHN,CAAC;AAE5B,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.JobApplicationSchema = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
|
+
const constants_1 = require("../constants");
|
|
5
6
|
const utils_1 = require("../job/utils");
|
|
6
7
|
const location_1 = require("../location");
|
|
7
8
|
const phone_1 = require("../phone");
|
|
@@ -26,7 +27,7 @@ exports.JobApplicationSchema = (0, yup_extended_1.object)()
|
|
|
26
27
|
.optional()
|
|
27
28
|
.label("Score"),
|
|
28
29
|
experienceLevel: (0, yup_extended_1.string)()
|
|
29
|
-
.oneOf(
|
|
30
|
+
.oneOf(constants_1.SupportedExperienceLevels)
|
|
30
31
|
.required()
|
|
31
32
|
.label("Experience Level"),
|
|
32
33
|
location: (location_1.LocationSchema.required().label("Location")),
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { InferType } from "../yup-extended";
|
|
2
2
|
export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
3
3
|
skills: (string | undefined)[] | null | undefined;
|
|
4
|
-
|
|
5
|
-
description: string;
|
|
6
|
-
headline: string;
|
|
4
|
+
tags: any[] | undefined;
|
|
7
5
|
designation: {
|
|
8
6
|
logo?: string | undefined;
|
|
9
7
|
name: string;
|
|
@@ -12,18 +10,20 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
12
10
|
value: "others" | (string | undefined)[];
|
|
13
11
|
otherValue: string | string[];
|
|
14
12
|
} | undefined;
|
|
15
|
-
|
|
13
|
+
description: string;
|
|
14
|
+
headline: string;
|
|
15
|
+
educationLevel: (import("..").EducationLevel | undefined)[];
|
|
16
16
|
questionnaire: ({
|
|
17
17
|
label?: string | undefined;
|
|
18
18
|
isNew?: boolean | undefined;
|
|
19
19
|
isOptional?: boolean | undefined;
|
|
20
20
|
readonly?: boolean | undefined;
|
|
21
|
-
optionsFrom?: import("..").Common.
|
|
21
|
+
optionsFrom?: import("..").Common.ExperienceLevel | import("..").Common.EducationLevel | import("..").Common.Skill | undefined;
|
|
22
22
|
preferredAnswer?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
|
|
23
23
|
answers?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
|
|
24
|
+
title: string;
|
|
24
25
|
type: import("..").QuestionType.Choice;
|
|
25
26
|
default: boolean;
|
|
26
|
-
title: string;
|
|
27
27
|
options: (string | {
|
|
28
28
|
logo?: string | undefined;
|
|
29
29
|
name: string;
|
|
@@ -40,18 +40,18 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
40
40
|
readonly?: boolean | undefined;
|
|
41
41
|
preferredAnswer?: string | undefined;
|
|
42
42
|
answers?: string | undefined;
|
|
43
|
+
title: string;
|
|
43
44
|
type: import("..").QuestionType.Input;
|
|
44
45
|
default: boolean;
|
|
45
|
-
title: string;
|
|
46
46
|
} | {
|
|
47
47
|
label?: string | undefined;
|
|
48
48
|
isNew?: boolean | undefined;
|
|
49
49
|
isOptional?: boolean | undefined;
|
|
50
50
|
readonly?: boolean | undefined;
|
|
51
|
+
title: string;
|
|
51
52
|
type: import("..").QuestionType.ReadAndAcknowledge;
|
|
52
53
|
default: boolean;
|
|
53
54
|
description: string;
|
|
54
|
-
title: string;
|
|
55
55
|
preferredAnswer: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
|
|
56
56
|
answers: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
|
|
57
57
|
} | {
|
|
@@ -60,19 +60,19 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
60
60
|
isOptional?: boolean | undefined;
|
|
61
61
|
readonly?: boolean | undefined;
|
|
62
62
|
preferredAnswer?: string | undefined;
|
|
63
|
+
title: string;
|
|
63
64
|
type: import("..").QuestionType.Input;
|
|
64
65
|
default: boolean;
|
|
65
|
-
title: string;
|
|
66
66
|
} | {
|
|
67
67
|
label?: string | undefined;
|
|
68
68
|
isNew?: boolean | undefined;
|
|
69
69
|
isOptional?: boolean | undefined;
|
|
70
70
|
readonly?: boolean | undefined;
|
|
71
|
-
optionsFrom?: import("..").Common.
|
|
71
|
+
optionsFrom?: import("..").Common.ExperienceLevel | import("..").Common.EducationLevel | import("..").Common.Skill | undefined;
|
|
72
72
|
preferredAnswer?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
|
|
73
|
+
title: string;
|
|
73
74
|
type: import("..").QuestionType.Choice;
|
|
74
75
|
default: boolean;
|
|
75
|
-
title: string;
|
|
76
76
|
options: (string | {
|
|
77
77
|
logo?: string | undefined;
|
|
78
78
|
name: string;
|
|
@@ -87,10 +87,10 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
87
87
|
isNew?: boolean | undefined;
|
|
88
88
|
isOptional?: boolean | undefined;
|
|
89
89
|
readonly?: boolean | undefined;
|
|
90
|
+
title: string;
|
|
90
91
|
type: import("..").QuestionType.ReadAndAcknowledge;
|
|
91
92
|
default: boolean;
|
|
92
93
|
description: string;
|
|
93
|
-
title: string;
|
|
94
94
|
preferredAnswer: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
|
|
95
95
|
})[] | undefined;
|
|
96
96
|
}, import("yup").AnyObject, {
|
|
@@ -38,7 +38,7 @@ export declare const PageSchema: import("yup").ObjectSchema<NonNullable<{
|
|
|
38
38
|
id: string;
|
|
39
39
|
}[];
|
|
40
40
|
socialAccounts: {
|
|
41
|
-
type: NonNullable<import("
|
|
41
|
+
type: NonNullable<import("..").SocialAccount | undefined>;
|
|
42
42
|
url: string;
|
|
43
43
|
isNew: boolean;
|
|
44
44
|
}[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Common } from "../
|
|
1
|
+
import { Common } from "../constants";
|
|
2
2
|
import { InferType } from "../yup-extended";
|
|
3
3
|
import { AnswerChoiceType, QuestionType } from "./question.constant";
|
|
4
4
|
import { TMixedValue } from "./question.schema";
|
|
@@ -12,7 +12,7 @@ export declare const ChoiceQuestionSchema: import("yup").ObjectSchema<{
|
|
|
12
12
|
isNew: boolean | undefined;
|
|
13
13
|
} & {
|
|
14
14
|
type: QuestionType.Choice;
|
|
15
|
-
optionsFrom: Common.
|
|
15
|
+
optionsFrom: Common.ExperienceLevel | Common.EducationLevel | Common.Skill | undefined;
|
|
16
16
|
options: (string | {
|
|
17
17
|
logo?: string | undefined;
|
|
18
18
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"choice-question.schema.d.ts","sourceRoot":"","sources":["../../../src/question/choice-question.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"choice-question.schema.d.ts","sourceRoot":"","sources":["../../../src/question/choice-question.schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAS,SAAS,EAA+B,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,gBAAgB,EAChB,YAAY,EAEb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAkB,WAAW,EAAE,MAAM,mBAAmB,CAAC;AA+HhE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsChC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ChoiceQuestionSchema = void 0;
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5
5
|
const common_1 = require("../common");
|
|
6
|
+
const constants_1 = require("../constants");
|
|
6
7
|
const yup_extended_1 = require("../yup-extended");
|
|
7
8
|
const question_constant_1 = require("./question.constant");
|
|
8
9
|
const question_schema_1 = require("./question.schema");
|
|
@@ -113,7 +114,7 @@ exports.ChoiceQuestionSchema = question_schema_1.QuestionSchema.concat((0, yup_e
|
|
|
113
114
|
.required()
|
|
114
115
|
.label("Question type"),
|
|
115
116
|
optionsFrom: (0, yup_extended_1.string)()
|
|
116
|
-
.oneOf([
|
|
117
|
+
.oneOf([constants_1.Common.Skill, constants_1.Common.EducationLevel, constants_1.Common.ExperienceLevel])
|
|
117
118
|
.optional()
|
|
118
119
|
.label("Option field"),
|
|
119
120
|
options: (0, yup_extended_1.array)()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-and-acknowledge.schema.d.ts","sourceRoot":"","sources":["../../../src/question/read-and-acknowledge.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"read-and-acknowledge.schema.d.ts","sourceRoot":"","sources":["../../../src/question/read-and-acknowledge.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,SAAS,EAAkB,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAOnD,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;MAU5C,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG,SAAS,CACvD,OAAO,gCAAgC,CACxC,CAAC"}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ReadAndAcknowledgeQuestionSchema = void 0;
|
|
4
4
|
// read-and-acknowledge-question.schema.ts
|
|
5
|
-
const
|
|
5
|
+
const constants_1 = require("../constants");
|
|
6
6
|
const yup_extended_1 = require("../yup-extended");
|
|
7
7
|
const question_constant_1 = require("./question.constant");
|
|
8
8
|
const question_schema_1 = require("./question.schema");
|
|
9
9
|
const AcknowledgeAnswerSchema = (0, yup_extended_1.string)()
|
|
10
|
-
.oneOf([
|
|
10
|
+
.oneOf([constants_1.Common.Yes, constants_1.Common.No])
|
|
11
11
|
.required("This question must be acknowledged.");
|
|
12
12
|
exports.ReadAndAcknowledgeQuestionSchema = question_schema_1.QuestionSchema.concat((0, yup_extended_1.object)().shape({
|
|
13
13
|
type: (0, yup_extended_1.string)()
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare enum ResumeMarkdownStyle {
|
|
2
|
-
Default = "
|
|
3
|
-
Modern = "
|
|
4
|
-
Classic = "
|
|
5
|
-
Professional = "
|
|
2
|
+
Default = "default",
|
|
3
|
+
Modern = "modern",
|
|
4
|
+
Classic = "classic",
|
|
5
|
+
Professional = "professional"
|
|
6
6
|
}
|
|
7
7
|
export declare const SupportedResumeMarkdownStyles: ResumeMarkdownStyle[];
|
|
8
8
|
export declare enum ResumeTemplate {
|
|
9
|
-
Default = "
|
|
10
|
-
Modern = "
|
|
11
|
-
Classic = "
|
|
12
|
-
Professional = "
|
|
9
|
+
Default = "default",
|
|
10
|
+
Modern = "modern",
|
|
11
|
+
Classic = "classic",
|
|
12
|
+
Professional = "professional"
|
|
13
13
|
}
|
|
14
14
|
export declare const SupportedResumeTemplates: ResumeTemplate[];
|
|
15
15
|
export declare enum ResumeStatus {
|
|
@@ -3,18 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SupportedResumeSectionTypes = exports.ResumeSectionType = exports.SupportedResumeStatuses = exports.ResumeStatus = exports.SupportedResumeTemplates = exports.ResumeTemplate = exports.SupportedResumeMarkdownStyles = exports.ResumeMarkdownStyle = void 0;
|
|
4
4
|
var ResumeMarkdownStyle;
|
|
5
5
|
(function (ResumeMarkdownStyle) {
|
|
6
|
-
ResumeMarkdownStyle["Default"] = "
|
|
7
|
-
ResumeMarkdownStyle["Modern"] = "
|
|
8
|
-
ResumeMarkdownStyle["Classic"] = "
|
|
9
|
-
ResumeMarkdownStyle["Professional"] = "
|
|
6
|
+
ResumeMarkdownStyle["Default"] = "default";
|
|
7
|
+
ResumeMarkdownStyle["Modern"] = "modern";
|
|
8
|
+
ResumeMarkdownStyle["Classic"] = "classic";
|
|
9
|
+
ResumeMarkdownStyle["Professional"] = "professional";
|
|
10
10
|
})(ResumeMarkdownStyle || (exports.ResumeMarkdownStyle = ResumeMarkdownStyle = {}));
|
|
11
11
|
exports.SupportedResumeMarkdownStyles = Object.values(ResumeMarkdownStyle);
|
|
12
12
|
var ResumeTemplate;
|
|
13
13
|
(function (ResumeTemplate) {
|
|
14
|
-
ResumeTemplate["Default"] = "
|
|
15
|
-
ResumeTemplate["Modern"] = "
|
|
16
|
-
ResumeTemplate["Classic"] = "
|
|
17
|
-
ResumeTemplate["Professional"] = "
|
|
14
|
+
ResumeTemplate["Default"] = "default";
|
|
15
|
+
ResumeTemplate["Modern"] = "modern";
|
|
16
|
+
ResumeTemplate["Classic"] = "classic";
|
|
17
|
+
ResumeTemplate["Professional"] = "professional";
|
|
18
18
|
})(ResumeTemplate || (exports.ResumeTemplate = ResumeTemplate = {}));
|
|
19
19
|
exports.SupportedResumeTemplates = Object.values(ResumeTemplate);
|
|
20
20
|
var ResumeStatus;
|