@thejob/schema 1.0.32 → 1.0.34
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 +138 -142
- package/dist/cjs/ai/ai.types.d.ts.map +1 -1
- package/dist/cjs/interfaces.index.d.ts +947 -494
- package/dist/cjs/interfaces.index.d.ts.map +1 -1
- package/dist/cjs/job/utils.d.ts +3 -4
- package/dist/cjs/job/utils.d.ts.map +1 -1
- package/dist/cjs/job-application/job-application.schema.d.ts +4 -5
- package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/cjs/question/choice-question.schema.js +1 -1
- package/dist/cjs/question/input-question.schema.d.ts +2 -2
- package/dist/cjs/question/input-question.schema.d.ts.map +1 -1
- package/dist/cjs/question/input-question.schema.js +1 -1
- package/dist/cjs/resume/resume.constant.d.ts +0 -1
- package/dist/cjs/resume/resume.constant.d.ts.map +1 -1
- package/dist/cjs/resume/resume.constant.js +0 -1
- package/dist/cjs/resume/resume.schema.d.ts +318 -204
- package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
- package/dist/cjs/resume/resume.schema.js +71 -133
- package/dist/esm/ai/ai.types.d.ts +138 -142
- package/dist/esm/ai/ai.types.d.ts.map +1 -1
- package/dist/esm/interfaces.index.d.ts +947 -494
- package/dist/esm/interfaces.index.d.ts.map +1 -1
- package/dist/esm/job/utils.d.ts +3 -4
- package/dist/esm/job/utils.d.ts.map +1 -1
- package/dist/esm/job-application/job-application.schema.d.ts +4 -5
- package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/esm/job-application/job-application.schema.js +1 -1
- package/dist/esm/question/choice-question.schema.js +1 -1
- package/dist/esm/question/input-question.schema.d.ts +2 -2
- package/dist/esm/question/input-question.schema.d.ts.map +1 -1
- package/dist/esm/question/input-question.schema.js +1 -1
- package/dist/esm/resume/resume.constant.d.ts +0 -1
- package/dist/esm/resume/resume.constant.d.ts.map +1 -1
- package/dist/esm/resume/resume.constant.js +0 -1
- package/dist/esm/resume/resume.schema.d.ts +318 -204
- package/dist/esm/resume/resume.schema.d.ts.map +1 -1
- package/dist/esm/resume/resume.schema.js +72 -134
- package/package.json +10 -3
|
@@ -1,239 +1,353 @@
|
|
|
1
1
|
import { TUserSchema } from "../user";
|
|
2
|
-
import { InferType } from "../yup-extended";
|
|
2
|
+
import { ArraySchema, InferType } from "../yup-extended";
|
|
3
3
|
import { ResumeMarkdownStyle, ResumeSectionType, ResumeStatus } from "./resume.constant";
|
|
4
|
-
declare const
|
|
4
|
+
declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
|
|
5
|
+
id: string | undefined;
|
|
5
6
|
name: {
|
|
7
|
+
last?: string | undefined;
|
|
6
8
|
first: string;
|
|
7
|
-
last: string;
|
|
8
9
|
};
|
|
9
10
|
headline: string | undefined;
|
|
11
|
+
image: string | undefined;
|
|
12
|
+
aboutMe: string | undefined;
|
|
10
13
|
email: string;
|
|
11
|
-
mobile:
|
|
12
|
-
|
|
14
|
+
mobile: {
|
|
15
|
+
number: string;
|
|
16
|
+
country: {
|
|
17
|
+
locale?: string | undefined;
|
|
18
|
+
name: string;
|
|
19
|
+
dial_code: string;
|
|
20
|
+
code: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
emailVerified: string | null | undefined;
|
|
24
|
+
experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
|
|
25
|
+
location: {
|
|
26
|
+
state?: string | undefined;
|
|
27
|
+
stateCode?: string | undefined;
|
|
28
|
+
country: string;
|
|
29
|
+
countryCode: string;
|
|
30
|
+
city: string;
|
|
31
|
+
address: string;
|
|
32
|
+
latLong: {
|
|
33
|
+
country?: (number | undefined)[] | undefined;
|
|
34
|
+
state?: number[] | undefined;
|
|
35
|
+
city?: number[] | undefined;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
13
38
|
}, import("yup").AnyObject, {
|
|
39
|
+
id: undefined;
|
|
14
40
|
name: {
|
|
15
41
|
first: undefined;
|
|
16
42
|
last: undefined;
|
|
17
43
|
};
|
|
18
44
|
headline: undefined;
|
|
45
|
+
image: undefined;
|
|
46
|
+
aboutMe: undefined;
|
|
19
47
|
email: undefined;
|
|
20
48
|
mobile: undefined;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
declare const ResumeWorkExperienceSchema: import("yup").ObjectSchema<{
|
|
25
|
-
designation: string;
|
|
26
|
-
company: string;
|
|
27
|
-
startDate: string;
|
|
28
|
-
endDate: string | undefined;
|
|
29
|
-
isCurrentJob: boolean;
|
|
30
|
-
description: string | undefined;
|
|
31
|
-
location: string | undefined;
|
|
32
|
-
isRemote: boolean;
|
|
33
|
-
}, import("yup").AnyObject, {
|
|
34
|
-
designation: undefined;
|
|
35
|
-
company: undefined;
|
|
36
|
-
startDate: undefined;
|
|
37
|
-
endDate: undefined;
|
|
38
|
-
isCurrentJob: false;
|
|
39
|
-
description: undefined;
|
|
40
|
-
location: undefined;
|
|
41
|
-
isRemote: false;
|
|
42
|
-
}, "">;
|
|
43
|
-
export type TResumeWorkExperienceSchema = InferType<typeof ResumeWorkExperienceSchema>;
|
|
44
|
-
declare const ResumeEducationSchema: import("yup").ObjectSchema<{
|
|
45
|
-
institute: string;
|
|
46
|
-
course: string;
|
|
47
|
-
fieldOfStudy: string | undefined;
|
|
48
|
-
startDate: string;
|
|
49
|
-
endDate: string | undefined;
|
|
50
|
-
location: string | undefined;
|
|
51
|
-
isPursuing: boolean;
|
|
52
|
-
isDistanceLearning: boolean;
|
|
53
|
-
description: string | undefined;
|
|
54
|
-
}, import("yup").AnyObject, {
|
|
55
|
-
institute: undefined;
|
|
56
|
-
course: undefined;
|
|
57
|
-
fieldOfStudy: undefined;
|
|
58
|
-
startDate: undefined;
|
|
59
|
-
endDate: undefined;
|
|
60
|
-
location: undefined;
|
|
61
|
-
isPursuing: false;
|
|
62
|
-
isDistanceLearning: false;
|
|
63
|
-
description: undefined;
|
|
64
|
-
}, "">;
|
|
65
|
-
export type TResumeEducationSchema = InferType<typeof ResumeEducationSchema>;
|
|
66
|
-
declare const ResumeSkillSchema: import("yup").ObjectSchema<{
|
|
67
|
-
name: string;
|
|
68
|
-
proficiencyLevel: string | undefined;
|
|
69
|
-
lastUsed: string | undefined;
|
|
70
|
-
}, import("yup").AnyObject, {
|
|
71
|
-
name: undefined;
|
|
72
|
-
proficiencyLevel: undefined;
|
|
73
|
-
lastUsed: undefined;
|
|
74
|
-
}, "">;
|
|
75
|
-
export type TResumeSkillSchema = InferType<typeof ResumeSkillSchema>;
|
|
76
|
-
declare const ResumeProjectSchema: import("yup").ObjectSchema<{
|
|
77
|
-
name: string;
|
|
78
|
-
description: string;
|
|
79
|
-
startDate: string;
|
|
80
|
-
endDate: string | undefined;
|
|
81
|
-
isOngoing: boolean;
|
|
82
|
-
link: string | undefined;
|
|
83
|
-
}, import("yup").AnyObject, {
|
|
84
|
-
name: undefined;
|
|
85
|
-
description: undefined;
|
|
86
|
-
startDate: undefined;
|
|
87
|
-
endDate: undefined;
|
|
88
|
-
isOngoing: false;
|
|
89
|
-
link: undefined;
|
|
90
|
-
}, "">;
|
|
91
|
-
export type TResumeProjectSchema = InferType<typeof ResumeProjectSchema>;
|
|
92
|
-
declare const ResumeCertificationSchema: import("yup").ObjectSchema<{
|
|
93
|
-
name: string;
|
|
94
|
-
description: string | undefined;
|
|
95
|
-
authority: string;
|
|
96
|
-
startDate: string;
|
|
97
|
-
endDate: string | undefined;
|
|
98
|
-
isOngoing: boolean;
|
|
99
|
-
}, import("yup").AnyObject, {
|
|
100
|
-
name: undefined;
|
|
101
|
-
description: undefined;
|
|
102
|
-
authority: undefined;
|
|
103
|
-
startDate: undefined;
|
|
104
|
-
endDate: undefined;
|
|
105
|
-
isOngoing: false;
|
|
106
|
-
}, "">;
|
|
107
|
-
export type TResumeCertificationSchema = InferType<typeof ResumeCertificationSchema>;
|
|
108
|
-
declare const ResumeInterestSchema: import("yup").ObjectSchema<{
|
|
109
|
-
name: string;
|
|
110
|
-
category: string | undefined;
|
|
111
|
-
description: string | undefined;
|
|
112
|
-
}, import("yup").AnyObject, {
|
|
113
|
-
name: undefined;
|
|
114
|
-
category: undefined;
|
|
115
|
-
description: undefined;
|
|
116
|
-
}, "">;
|
|
117
|
-
export type TResumeInterestSchema = InferType<typeof ResumeInterestSchema>;
|
|
118
|
-
declare const ResumeLanguageSchema: import("yup").ObjectSchema<{
|
|
119
|
-
name: string;
|
|
120
|
-
proficiency: string;
|
|
121
|
-
description: string | undefined;
|
|
122
|
-
}, import("yup").AnyObject, {
|
|
123
|
-
name: undefined;
|
|
124
|
-
proficiency: undefined;
|
|
125
|
-
description: undefined;
|
|
126
|
-
}, "">;
|
|
127
|
-
export type TResumeLanguageSchema = InferType<typeof ResumeLanguageSchema>;
|
|
128
|
-
declare const ResumeAdditionalInfoSchema: import("yup").ObjectSchema<{
|
|
129
|
-
title: string;
|
|
130
|
-
description: string;
|
|
131
|
-
}, import("yup").AnyObject, {
|
|
132
|
-
title: undefined;
|
|
133
|
-
description: undefined;
|
|
134
|
-
}, "">;
|
|
135
|
-
export type TResumeAdditionalInfoSchema = InferType<typeof ResumeAdditionalInfoSchema>;
|
|
136
|
-
declare const ResumeReferenceSectionSchema: import("yup").ObjectSchema<{
|
|
137
|
-
name: string;
|
|
138
|
-
designation: string;
|
|
139
|
-
company: string;
|
|
140
|
-
email: string;
|
|
141
|
-
mobile: string;
|
|
142
|
-
profileUrl: string | undefined;
|
|
143
|
-
workedDirectly: boolean;
|
|
144
|
-
}, import("yup").AnyObject, {
|
|
145
|
-
name: undefined;
|
|
146
|
-
designation: undefined;
|
|
147
|
-
company: undefined;
|
|
148
|
-
email: undefined;
|
|
149
|
-
mobile: undefined;
|
|
150
|
-
profileUrl: undefined;
|
|
151
|
-
workedDirectly: false;
|
|
49
|
+
emailVerified: undefined;
|
|
50
|
+
experienceLevel: undefined;
|
|
51
|
+
location: any;
|
|
152
52
|
}, "">;
|
|
153
|
-
export type
|
|
154
|
-
|
|
53
|
+
export type TResumeGeneralInfoSectionSchema = InferType<typeof ResumeGeneralInfoSectionSchema>;
|
|
54
|
+
declare const ResumeWorkExperienceSectionSchema: ArraySchema<TUserSchema["workExperiences"], object>;
|
|
55
|
+
export type TResumeWorkExperienceSectionSchema = InferType<typeof ResumeWorkExperienceSectionSchema>;
|
|
56
|
+
declare const ResumeEducationSectionSchema: ArraySchema<TUserSchema["educations"], object>;
|
|
57
|
+
export type TResumeEducationSectionSchema = InferType<typeof ResumeEducationSectionSchema>;
|
|
58
|
+
declare const ResumeSkillSectionSchema: ArraySchema<TUserSchema["skills"], object>;
|
|
59
|
+
export type TResumeSkillSectionSchema = InferType<typeof ResumeSkillSectionSchema>;
|
|
60
|
+
declare const ResumeProjectSectionSchema: ArraySchema<TUserSchema["projects"], object>;
|
|
61
|
+
export type TResumeProjectSectionSchema = InferType<typeof ResumeProjectSectionSchema>;
|
|
62
|
+
declare const ResumeCertificationSectionSchema: ArraySchema<TUserSchema["certifications"], object>;
|
|
63
|
+
export type TResumeCertificationSectionSchema = InferType<typeof ResumeCertificationSectionSchema>;
|
|
64
|
+
declare const ResumeInterestSectionSchema: ArraySchema<TUserSchema["interests"], object>;
|
|
65
|
+
export type TResumeInterestSectionSchema = InferType<typeof ResumeInterestSectionSchema>;
|
|
66
|
+
declare const ResumeLanguageSectionSchema: ArraySchema<TUserSchema["languages"], object>;
|
|
67
|
+
export type TResumeLanguageSectionSchema = InferType<typeof ResumeLanguageSectionSchema>;
|
|
68
|
+
export declare const ResumeSchemaV2: ArraySchema<{
|
|
155
69
|
id: NonNullable<ResumeSectionType | undefined>;
|
|
156
|
-
data:
|
|
70
|
+
data: {
|
|
71
|
+
id?: string | undefined;
|
|
157
72
|
headline?: string | undefined;
|
|
158
|
-
|
|
73
|
+
image?: string | undefined;
|
|
74
|
+
aboutMe?: string | undefined;
|
|
75
|
+
emailVerified?: string | null | undefined;
|
|
159
76
|
email: string;
|
|
160
77
|
name: {
|
|
78
|
+
last?: string | undefined;
|
|
161
79
|
first: string;
|
|
162
|
-
last: string;
|
|
163
80
|
};
|
|
164
|
-
|
|
81
|
+
experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
|
|
82
|
+
location: {
|
|
83
|
+
state?: string | undefined;
|
|
84
|
+
stateCode?: string | undefined;
|
|
85
|
+
country: string;
|
|
86
|
+
countryCode: string;
|
|
87
|
+
city: string;
|
|
88
|
+
address: string;
|
|
89
|
+
latLong: {
|
|
90
|
+
country?: (number | undefined)[] | undefined;
|
|
91
|
+
state?: number[] | undefined;
|
|
92
|
+
city?: number[] | undefined;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
mobile: {
|
|
96
|
+
number: string;
|
|
97
|
+
country: {
|
|
98
|
+
locale?: string | undefined;
|
|
99
|
+
name: string;
|
|
100
|
+
dial_code: string;
|
|
101
|
+
code: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
165
104
|
} | {
|
|
166
105
|
description?: string | undefined;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
106
|
+
company: NonNullable<{
|
|
107
|
+
value: "others" | (string | undefined)[];
|
|
108
|
+
otherValue: string | string[];
|
|
109
|
+
} | Pick<{
|
|
110
|
+
updatedBy?: string | undefined;
|
|
111
|
+
updatedAt?: number | undefined;
|
|
112
|
+
socialAccounts?: {
|
|
113
|
+
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
114
|
+
url: string;
|
|
115
|
+
isNew: boolean;
|
|
116
|
+
}[] | undefined;
|
|
117
|
+
perksAndBenefits?: {
|
|
118
|
+
category?: {
|
|
119
|
+
logo?: string | undefined;
|
|
120
|
+
name: string;
|
|
121
|
+
id: string;
|
|
122
|
+
} | {
|
|
123
|
+
value: "others" | (string | undefined)[];
|
|
124
|
+
otherValue: string | string[];
|
|
125
|
+
} | undefined;
|
|
126
|
+
name: string;
|
|
127
|
+
description: string;
|
|
128
|
+
}[] | undefined;
|
|
129
|
+
locations?: {
|
|
130
|
+
coverImage?: string | undefined;
|
|
131
|
+
name: string;
|
|
132
|
+
isHeadquarters: boolean;
|
|
133
|
+
contact: {
|
|
134
|
+
email?: string | undefined;
|
|
135
|
+
phone?: string | undefined;
|
|
136
|
+
address: string;
|
|
137
|
+
};
|
|
138
|
+
}[] | undefined;
|
|
139
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
140
|
+
headline?: string | undefined;
|
|
141
|
+
employeeCount?: string | undefined;
|
|
142
|
+
yearFounded?: string | undefined;
|
|
143
|
+
contacts?: {
|
|
144
|
+
label?: string | undefined;
|
|
145
|
+
type: NonNullable<import("..").ContactTypes | undefined>;
|
|
146
|
+
value: string;
|
|
147
|
+
isPrimary: boolean;
|
|
148
|
+
isVerified: boolean;
|
|
149
|
+
}[] | undefined;
|
|
150
|
+
verified?: Date | undefined;
|
|
151
|
+
isOwner?: boolean | undefined;
|
|
152
|
+
type: NonNullable<import("..").PageType | undefined>;
|
|
153
|
+
name: string;
|
|
154
|
+
id: string;
|
|
155
|
+
logo: {
|
|
156
|
+
dark?: string | undefined;
|
|
157
|
+
light: string;
|
|
158
|
+
} | null;
|
|
159
|
+
shortId: string;
|
|
160
|
+
createdBy: string;
|
|
161
|
+
createdAt: number;
|
|
162
|
+
about: string;
|
|
163
|
+
website: string;
|
|
164
|
+
slug: string;
|
|
165
|
+
categories: {
|
|
166
|
+
logo?: string | undefined;
|
|
167
|
+
name: string;
|
|
168
|
+
id: string;
|
|
169
|
+
}[];
|
|
170
|
+
status: NonNullable<import("..").PageStatus | undefined>;
|
|
171
|
+
}, "type" | "name" | "logo" | "slug"> | undefined>;
|
|
172
|
+
duration: {
|
|
173
|
+
startDate: string;
|
|
174
|
+
endDate: string;
|
|
175
|
+
isActive: boolean;
|
|
176
|
+
};
|
|
177
|
+
location: {
|
|
178
|
+
state?: string | undefined;
|
|
179
|
+
stateCode?: string | undefined;
|
|
180
|
+
country: string;
|
|
181
|
+
countryCode: string;
|
|
182
|
+
city: string;
|
|
183
|
+
address: string;
|
|
184
|
+
latLong: {
|
|
185
|
+
country?: (number | undefined)[] | undefined;
|
|
186
|
+
state?: number[] | undefined;
|
|
187
|
+
city?: number[] | undefined;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
designation: NonNullable<{
|
|
191
|
+
logo?: string | undefined;
|
|
192
|
+
name: string;
|
|
193
|
+
id: string;
|
|
194
|
+
} | {
|
|
195
|
+
value: "others" | (string | undefined)[];
|
|
196
|
+
otherValue: string | string[];
|
|
197
|
+
} | undefined>;
|
|
172
198
|
isRemote: boolean;
|
|
173
|
-
|
|
174
|
-
} | {
|
|
199
|
+
}[] | {
|
|
175
200
|
description?: string | undefined;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
201
|
+
institute: NonNullable<{
|
|
202
|
+
value: "others" | (string | undefined)[];
|
|
203
|
+
otherValue: string | string[];
|
|
204
|
+
} | Pick<{
|
|
205
|
+
updatedBy?: string | undefined;
|
|
206
|
+
updatedAt?: number | undefined;
|
|
207
|
+
socialAccounts?: {
|
|
208
|
+
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
209
|
+
url: string;
|
|
210
|
+
isNew: boolean;
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
perksAndBenefits?: {
|
|
213
|
+
category?: {
|
|
214
|
+
logo?: string | undefined;
|
|
215
|
+
name: string;
|
|
216
|
+
id: string;
|
|
217
|
+
} | {
|
|
218
|
+
value: "others" | (string | undefined)[];
|
|
219
|
+
otherValue: string | string[];
|
|
220
|
+
} | undefined;
|
|
221
|
+
name: string;
|
|
222
|
+
description: string;
|
|
223
|
+
}[] | undefined;
|
|
224
|
+
locations?: {
|
|
225
|
+
coverImage?: string | undefined;
|
|
226
|
+
name: string;
|
|
227
|
+
isHeadquarters: boolean;
|
|
228
|
+
contact: {
|
|
229
|
+
email?: string | undefined;
|
|
230
|
+
phone?: string | undefined;
|
|
231
|
+
address: string;
|
|
232
|
+
};
|
|
233
|
+
}[] | undefined;
|
|
234
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
235
|
+
headline?: string | undefined;
|
|
236
|
+
employeeCount?: string | undefined;
|
|
237
|
+
yearFounded?: string | undefined;
|
|
238
|
+
contacts?: {
|
|
239
|
+
label?: string | undefined;
|
|
240
|
+
type: NonNullable<import("..").ContactTypes | undefined>;
|
|
241
|
+
value: string;
|
|
242
|
+
isPrimary: boolean;
|
|
243
|
+
isVerified: boolean;
|
|
244
|
+
}[] | undefined;
|
|
245
|
+
verified?: Date | undefined;
|
|
246
|
+
isOwner?: boolean | undefined;
|
|
247
|
+
type: NonNullable<import("..").PageType | undefined>;
|
|
248
|
+
name: string;
|
|
249
|
+
id: string;
|
|
250
|
+
logo: {
|
|
251
|
+
dark?: string | undefined;
|
|
252
|
+
light: string;
|
|
253
|
+
} | null;
|
|
254
|
+
shortId: string;
|
|
255
|
+
createdBy: string;
|
|
256
|
+
createdAt: number;
|
|
257
|
+
about: string;
|
|
258
|
+
website: string;
|
|
259
|
+
slug: string;
|
|
260
|
+
categories: {
|
|
261
|
+
logo?: string | undefined;
|
|
262
|
+
name: string;
|
|
263
|
+
id: string;
|
|
264
|
+
}[];
|
|
265
|
+
status: NonNullable<import("..").PageStatus | undefined>;
|
|
266
|
+
}, "type" | "name" | "logo" | "slug"> | undefined>;
|
|
267
|
+
course: NonNullable<{
|
|
268
|
+
logo?: string | undefined;
|
|
269
|
+
name: string;
|
|
270
|
+
id: string;
|
|
271
|
+
} | {
|
|
272
|
+
value: "others" | (string | undefined)[];
|
|
273
|
+
otherValue: string | string[];
|
|
274
|
+
} | undefined>;
|
|
275
|
+
fieldOfStudy: NonNullable<NonNullable<{
|
|
276
|
+
logo?: string | undefined;
|
|
277
|
+
name: string;
|
|
278
|
+
id: string;
|
|
279
|
+
} | {
|
|
280
|
+
value: "others" | (string | undefined)[];
|
|
281
|
+
otherValue: string | string[];
|
|
282
|
+
} | undefined>>;
|
|
182
283
|
isDistanceLearning: boolean;
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
284
|
+
studyType: NonNullable<import("../common").StudyType | undefined>;
|
|
285
|
+
duration: {
|
|
286
|
+
startDate: string;
|
|
287
|
+
endDate: string;
|
|
288
|
+
isActive: boolean;
|
|
289
|
+
};
|
|
290
|
+
location: {
|
|
291
|
+
state?: string | undefined;
|
|
292
|
+
stateCode?: string | undefined;
|
|
293
|
+
country: string;
|
|
294
|
+
countryCode: string;
|
|
295
|
+
city: string;
|
|
296
|
+
address: string;
|
|
297
|
+
latLong: {
|
|
298
|
+
country?: (number | undefined)[] | undefined;
|
|
299
|
+
state?: number[] | undefined;
|
|
300
|
+
city?: number[] | undefined;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
}[] | {
|
|
304
|
+
skill: NonNullable<{
|
|
305
|
+
logo?: string | undefined;
|
|
306
|
+
name: string;
|
|
307
|
+
id: string;
|
|
308
|
+
} | {
|
|
309
|
+
value: "others" | (string | undefined)[];
|
|
310
|
+
otherValue: string | string[];
|
|
311
|
+
} | undefined>;
|
|
312
|
+
proficiencyLevel: NonNullable<import("../common").ProficiencyLevel | undefined>;
|
|
313
|
+
lastUsed: string;
|
|
314
|
+
}[] | {
|
|
315
|
+
url?: string | undefined;
|
|
191
316
|
name: string;
|
|
192
317
|
description: string;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
318
|
+
duration: {
|
|
319
|
+
startDate: string;
|
|
320
|
+
endDate: string;
|
|
321
|
+
isActive: boolean;
|
|
322
|
+
};
|
|
323
|
+
}[] | {
|
|
324
|
+
url?: string | undefined;
|
|
325
|
+
licenseNumber?: string | undefined;
|
|
198
326
|
name: string;
|
|
199
|
-
|
|
327
|
+
duration: {
|
|
328
|
+
startDate: string;
|
|
329
|
+
endDate: string;
|
|
330
|
+
isActive: boolean;
|
|
331
|
+
};
|
|
200
332
|
authority: string;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
description?: string | undefined;
|
|
204
|
-
category?: string | undefined;
|
|
333
|
+
}[] | {
|
|
334
|
+
logo?: string | undefined;
|
|
205
335
|
name: string;
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
})[];
|
|
222
|
-
}, import("yup").AnyObject, any>;
|
|
223
|
-
export type TResumeSectionMap = {
|
|
224
|
-
[ResumeSectionType.GeneralInfo]: TResumeGeneralInfoSchema;
|
|
225
|
-
[ResumeSectionType.Summary]: string;
|
|
226
|
-
[ResumeSectionType.WorkExperience]: TResumeWorkExperienceSchema;
|
|
227
|
-
[ResumeSectionType.Education]: TResumeEducationSchema;
|
|
228
|
-
[ResumeSectionType.Skill]: TResumeSkillSchema;
|
|
229
|
-
[ResumeSectionType.Project]: TResumeProjectSchema;
|
|
230
|
-
[ResumeSectionType.Certification]: TResumeCertificationSchema;
|
|
231
|
-
[ResumeSectionType.Interest]: TResumeInterestSchema;
|
|
232
|
-
[ResumeSectionType.Language]: TResumeLanguageSchema;
|
|
233
|
-
[ResumeSectionType.AdditionalInfo]: TResumeAdditionalInfoSchema;
|
|
234
|
-
[ResumeSectionType.Reference]: TResumeReferenceSectionSchema;
|
|
235
|
-
};
|
|
236
|
-
export type TResumeSectionSchema = InferType<typeof ResumeSectionSchema>;
|
|
336
|
+
id: string;
|
|
337
|
+
}[] | {
|
|
338
|
+
language: NonNullable<{
|
|
339
|
+
logo?: string | undefined;
|
|
340
|
+
name: string;
|
|
341
|
+
id: string;
|
|
342
|
+
} | {
|
|
343
|
+
value: "others" | (string | undefined)[];
|
|
344
|
+
otherValue: string | string[];
|
|
345
|
+
} | undefined>;
|
|
346
|
+
isNew: boolean;
|
|
347
|
+
proficiencyLevel: NonNullable<import("../common").ProficiencyLevel | undefined>;
|
|
348
|
+
}[] | null;
|
|
349
|
+
}[] | undefined, import("yup").AnyObject, "", "">;
|
|
350
|
+
export type TResumeSchemaV2 = InferType<typeof ResumeSchemaV2>;
|
|
237
351
|
export declare const ResumeSchema: import("yup").ObjectSchema<{
|
|
238
352
|
title: string;
|
|
239
353
|
userId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resume.schema.d.ts","sourceRoot":"","sources":["../../../src/resume/resume.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"resume.schema.d.ts","sourceRoot":"","sources":["../../../src/resume/resume.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAuC,MAAM,SAAS,CAAC;AAC3E,OAAO,EAEL,WAAW,EAEX,SAAS,EAMV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EAIb,MAAM,mBAAmB,CAAC;AAO3B,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA0B,CAAC;AAE/D,MAAM,MAAM,+BAA+B,GAAG,SAAS,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAOF,QAAA,MAAM,iCAAiC,EACrC,WAAW,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE,MAAM,CACf,CAAC;AAEtC,MAAM,MAAM,kCAAkC,GAAG,SAAS,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAOF,QAAA,MAAM,4BAA4B,EAChC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,EAAE,MAAM,CACf,CAAC;AAEjC,MAAM,MAAM,6BAA6B,GAAG,SAAS,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAOF,QAAA,MAAM,wBAAwB,EAAI,WAA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