@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,10 +1,640 @@
|
|
|
1
|
+
export interface IAiJobInfo {
|
|
2
|
+
hoursPerWeek?: string | undefined;
|
|
3
|
+
headline?: string | undefined;
|
|
4
|
+
locations?: string[] | undefined;
|
|
5
|
+
educationLevel?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel[] | undefined;
|
|
6
|
+
description: string;
|
|
7
|
+
employmentType?: string | undefined;
|
|
8
|
+
workMode?: string | undefined;
|
|
9
|
+
skills?: string[] | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface IAiCompanyInfo {
|
|
12
|
+
name: string;
|
|
13
|
+
about?: string | undefined;
|
|
14
|
+
founded?: string | undefined;
|
|
15
|
+
categories?: string | undefined;
|
|
16
|
+
employeeCount?: string | undefined;
|
|
17
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
18
|
+
perksAndBenefits?: string[] | undefined;
|
|
19
|
+
}
|
|
20
|
+
export interface IAiGeneralInfo {
|
|
21
|
+
name: {
|
|
22
|
+
first: string;
|
|
23
|
+
last: string;
|
|
24
|
+
};
|
|
25
|
+
email: string;
|
|
26
|
+
mobile?: string | undefined;
|
|
27
|
+
headline?: string | undefined;
|
|
28
|
+
location?: string | undefined;
|
|
29
|
+
}
|
|
30
|
+
export interface IAiTSocialAccount {
|
|
31
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount;
|
|
32
|
+
url: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IAiWorkExperience {
|
|
35
|
+
designation: string;
|
|
36
|
+
company: string;
|
|
37
|
+
startDate: string;
|
|
38
|
+
endDate?: string | undefined;
|
|
39
|
+
isCurrentJob: boolean;
|
|
40
|
+
location: string;
|
|
41
|
+
isRemote: boolean;
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface IAiEducation {
|
|
45
|
+
institute: string;
|
|
46
|
+
course: string;
|
|
47
|
+
fieldOfStudy?: string | undefined;
|
|
48
|
+
startDate: string;
|
|
49
|
+
endDate?: string | undefined;
|
|
50
|
+
location: string;
|
|
51
|
+
isPursuing?: boolean | undefined;
|
|
52
|
+
isDistanceLearning?: boolean | undefined;
|
|
53
|
+
description?: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
export interface IAiSkill {
|
|
56
|
+
name: string;
|
|
57
|
+
proficiency?: string | undefined;
|
|
58
|
+
lastUsed?: string | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface IAiProject {
|
|
61
|
+
name: string;
|
|
62
|
+
description: string;
|
|
63
|
+
startDate: string;
|
|
64
|
+
endDate?: string | undefined;
|
|
65
|
+
isOngoing?: boolean | undefined;
|
|
66
|
+
link?: string | undefined;
|
|
67
|
+
}
|
|
68
|
+
export interface IAiCertification {
|
|
69
|
+
name: string;
|
|
70
|
+
description?: string | undefined;
|
|
71
|
+
authority: string;
|
|
72
|
+
startDate: string;
|
|
73
|
+
endDate?: string | undefined;
|
|
74
|
+
isOngoing?: boolean | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface IAiInterest {
|
|
77
|
+
name: string;
|
|
78
|
+
category?: string | undefined;
|
|
79
|
+
description?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface IAiLanguage {
|
|
82
|
+
name: string;
|
|
83
|
+
proficiency: string;
|
|
84
|
+
description?: string | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface IAiAdditionalInfo {
|
|
87
|
+
title: string;
|
|
88
|
+
description: string;
|
|
89
|
+
}
|
|
90
|
+
export interface IAiReference {
|
|
91
|
+
name: string;
|
|
92
|
+
designation: string;
|
|
93
|
+
company: string;
|
|
94
|
+
email: string;
|
|
95
|
+
mobile: string;
|
|
96
|
+
profileUrl?: string | undefined;
|
|
97
|
+
workedDirectly: boolean;
|
|
98
|
+
}
|
|
99
|
+
export interface IAiUserInfo {
|
|
100
|
+
name: string;
|
|
101
|
+
email: string;
|
|
102
|
+
experienceLevel: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel;
|
|
103
|
+
mobile?: string | undefined;
|
|
104
|
+
headline?: string | undefined;
|
|
105
|
+
location?: string | undefined;
|
|
106
|
+
socialAccounts?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiTSocialAccount[] | undefined;
|
|
107
|
+
workExperience?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiWorkExperience[] | undefined;
|
|
108
|
+
education?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiEducation[] | undefined;
|
|
109
|
+
skills?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiSkill[] | undefined;
|
|
110
|
+
projects?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiProject[] | undefined;
|
|
111
|
+
certifications?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiCertification[] | undefined;
|
|
112
|
+
interests?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiInterest[] | undefined;
|
|
113
|
+
languages?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiLanguage[] | undefined;
|
|
114
|
+
additionalInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiAdditionalInfo[] | undefined;
|
|
115
|
+
references?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiReference[] | undefined;
|
|
116
|
+
}
|
|
117
|
+
export interface IAiPromptResume {
|
|
118
|
+
userInfo: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiUserInfo;
|
|
119
|
+
jobInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiJobInfo | undefined;
|
|
120
|
+
companyInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiCompanyInfo | undefined;
|
|
121
|
+
}
|
|
122
|
+
export interface IAiPromptJobDescription {
|
|
123
|
+
companyInfo: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiCompanyInfo;
|
|
124
|
+
jobInfo: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiJobInfo;
|
|
125
|
+
}
|
|
126
|
+
export interface IAiPromptCoverLetter {
|
|
127
|
+
userInfo: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiUserInfo;
|
|
128
|
+
jobInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiJobInfo | undefined;
|
|
129
|
+
companyInfo?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/ai/ai.types").AiCompanyInfo | undefined;
|
|
130
|
+
}
|
|
131
|
+
export interface IAiPromptOutput {
|
|
132
|
+
instruction?: string | undefined;
|
|
133
|
+
prompt: string;
|
|
134
|
+
}
|
|
135
|
+
export interface IAiPromptJobApplicationSummary {
|
|
136
|
+
job: Partial<{
|
|
137
|
+
externalApplyLink?: string | undefined;
|
|
138
|
+
isOwner?: boolean | undefined;
|
|
139
|
+
updatedBy?: string | undefined;
|
|
140
|
+
updatedAt?: number | undefined;
|
|
141
|
+
skills?: ({
|
|
142
|
+
logo?: string | undefined;
|
|
143
|
+
id: string;
|
|
144
|
+
name: string;
|
|
145
|
+
} | {
|
|
146
|
+
value: "others" | (string | undefined)[];
|
|
147
|
+
otherValue: string | string[];
|
|
148
|
+
} | undefined)[] | undefined;
|
|
149
|
+
bookmarks?: {
|
|
150
|
+
createdAt: string;
|
|
151
|
+
userId: string;
|
|
152
|
+
}[] | undefined;
|
|
153
|
+
applicants?: {
|
|
154
|
+
createdAt: string;
|
|
155
|
+
userId: string;
|
|
156
|
+
}[] | undefined;
|
|
157
|
+
applicantCount?: number | undefined;
|
|
158
|
+
externalApplicationLinkClickCount?: number | undefined;
|
|
159
|
+
experienceLevel?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined;
|
|
160
|
+
contactEmail?: string | undefined;
|
|
161
|
+
workingHoursPerWeek?: number | undefined;
|
|
162
|
+
tags?: any[] | undefined;
|
|
163
|
+
questionnaire?: ({
|
|
164
|
+
label?: string | undefined;
|
|
165
|
+
isNew?: boolean | undefined;
|
|
166
|
+
isOptional?: boolean | undefined;
|
|
167
|
+
readonly?: boolean | undefined;
|
|
168
|
+
preferredAnswer?: string | undefined;
|
|
169
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
170
|
+
default: boolean;
|
|
171
|
+
title: string;
|
|
172
|
+
} | {
|
|
173
|
+
label?: string | undefined;
|
|
174
|
+
isNew?: boolean | undefined;
|
|
175
|
+
isOptional?: boolean | undefined;
|
|
176
|
+
readonly?: boolean | undefined;
|
|
177
|
+
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue[] | undefined;
|
|
178
|
+
optionsFrom?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.EducationLevel | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.ExperienceLevel | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Skill | undefined;
|
|
179
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
180
|
+
default: boolean;
|
|
181
|
+
title: string;
|
|
182
|
+
options: (string | {
|
|
183
|
+
logo?: string | undefined;
|
|
184
|
+
id: string;
|
|
185
|
+
name: string;
|
|
186
|
+
} | {
|
|
187
|
+
value: "others" | (string | undefined)[];
|
|
188
|
+
otherValue: string | string[];
|
|
189
|
+
} | undefined)[];
|
|
190
|
+
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
191
|
+
} | {
|
|
192
|
+
label?: string | undefined;
|
|
193
|
+
isNew?: boolean | undefined;
|
|
194
|
+
isOptional?: boolean | undefined;
|
|
195
|
+
readonly?: boolean | undefined;
|
|
196
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
|
|
197
|
+
description: string;
|
|
198
|
+
default: boolean;
|
|
199
|
+
title: string;
|
|
200
|
+
preferredAnswer: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
|
|
201
|
+
})[] | undefined;
|
|
202
|
+
seoTags?: {
|
|
203
|
+
meta: {
|
|
204
|
+
description?: string | undefined;
|
|
205
|
+
keywords?: (string | undefined)[] | undefined;
|
|
206
|
+
};
|
|
207
|
+
} | undefined;
|
|
208
|
+
jdSummary?: string | undefined;
|
|
209
|
+
canCreateAlert?: boolean | undefined;
|
|
210
|
+
canDirectApply?: boolean | undefined;
|
|
211
|
+
hasApplied?: boolean | undefined;
|
|
212
|
+
hasBookmarked?: boolean | undefined;
|
|
213
|
+
hasReported?: boolean | undefined;
|
|
214
|
+
ratePerHour?: number | undefined;
|
|
215
|
+
isPromoted?: boolean | undefined;
|
|
216
|
+
salaryRange?: {
|
|
217
|
+
min?: number | undefined;
|
|
218
|
+
max?: number | undefined;
|
|
219
|
+
currency: string;
|
|
220
|
+
compensationType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").CompensationType | undefined>;
|
|
221
|
+
isNegotiable: boolean;
|
|
222
|
+
} | undefined;
|
|
223
|
+
reports?: {
|
|
224
|
+
createdAt: string;
|
|
225
|
+
userId: string;
|
|
226
|
+
}[] | undefined;
|
|
227
|
+
headline: string;
|
|
228
|
+
slug: string;
|
|
229
|
+
applicationReceivePreference: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ApplicationReceivePreference | undefined>;
|
|
230
|
+
id: string;
|
|
231
|
+
shortId: string;
|
|
232
|
+
locations: {
|
|
233
|
+
state?: string | undefined;
|
|
234
|
+
stateCode?: string | undefined;
|
|
235
|
+
address: string;
|
|
236
|
+
country: string;
|
|
237
|
+
countryCode: string;
|
|
238
|
+
city: string;
|
|
239
|
+
latLong: {
|
|
240
|
+
country?: (number | undefined)[] | undefined;
|
|
241
|
+
state?: number[] | undefined;
|
|
242
|
+
city?: number[] | undefined;
|
|
243
|
+
};
|
|
244
|
+
}[];
|
|
245
|
+
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job/job.constant").JobStatus | undefined>;
|
|
246
|
+
description: string;
|
|
247
|
+
createdBy: string;
|
|
248
|
+
createdAt: number;
|
|
249
|
+
company: NonNullable<{
|
|
250
|
+
value: "others" | (string | undefined)[];
|
|
251
|
+
otherValue: string | string[];
|
|
252
|
+
} | Pick<{
|
|
253
|
+
headline?: string | undefined;
|
|
254
|
+
employeeCount?: string | undefined;
|
|
255
|
+
yearFounded?: string | undefined;
|
|
256
|
+
locations?: {
|
|
257
|
+
coverImage?: string | undefined;
|
|
258
|
+
name: string;
|
|
259
|
+
isHeadquarters: boolean;
|
|
260
|
+
contact: {
|
|
261
|
+
email?: string | undefined;
|
|
262
|
+
phone?: string | undefined;
|
|
263
|
+
address: string;
|
|
264
|
+
};
|
|
265
|
+
}[] | undefined;
|
|
266
|
+
contacts?: {
|
|
267
|
+
label?: string | undefined;
|
|
268
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
269
|
+
value: string;
|
|
270
|
+
isPrimary: boolean;
|
|
271
|
+
isVerified: boolean;
|
|
272
|
+
}[] | undefined;
|
|
273
|
+
verified?: Date | undefined;
|
|
274
|
+
socialAccounts?: {
|
|
275
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
276
|
+
isNew: boolean;
|
|
277
|
+
url: string;
|
|
278
|
+
}[] | undefined;
|
|
279
|
+
isOwner?: boolean | undefined;
|
|
280
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
281
|
+
perksAndBenefits?: {
|
|
282
|
+
category?: {
|
|
283
|
+
logo?: string | undefined;
|
|
284
|
+
id: string;
|
|
285
|
+
name: string;
|
|
286
|
+
} | {
|
|
287
|
+
value: "others" | (string | undefined)[];
|
|
288
|
+
otherValue: string | string[];
|
|
289
|
+
} | undefined;
|
|
290
|
+
name: string;
|
|
291
|
+
description: string;
|
|
292
|
+
}[] | undefined;
|
|
293
|
+
updatedBy?: string | undefined;
|
|
294
|
+
updatedAt?: number | undefined;
|
|
295
|
+
slug: string;
|
|
296
|
+
id: string;
|
|
297
|
+
shortId: string;
|
|
298
|
+
name: string;
|
|
299
|
+
about: string;
|
|
300
|
+
website: string;
|
|
301
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
302
|
+
logo: {
|
|
303
|
+
dark?: string | undefined;
|
|
304
|
+
light: string;
|
|
305
|
+
} | null;
|
|
306
|
+
categories: {
|
|
307
|
+
logo?: string | undefined;
|
|
308
|
+
id: string;
|
|
309
|
+
name: string;
|
|
310
|
+
}[];
|
|
311
|
+
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
312
|
+
createdBy: string;
|
|
313
|
+
createdAt: number;
|
|
314
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
315
|
+
designation: NonNullable<{
|
|
316
|
+
logo?: string | undefined;
|
|
317
|
+
id: string;
|
|
318
|
+
name: string;
|
|
319
|
+
} | {
|
|
320
|
+
value: "others" | (string | undefined)[];
|
|
321
|
+
otherValue: string | string[];
|
|
322
|
+
} | undefined>;
|
|
323
|
+
employmentType: string;
|
|
324
|
+
workMode: string;
|
|
325
|
+
descriptionMarkdown: string;
|
|
326
|
+
descriptionHTML: string;
|
|
327
|
+
educationLevel: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel | undefined)[];
|
|
328
|
+
termsAccepted: NonNullable<boolean | undefined>;
|
|
329
|
+
validity: {
|
|
330
|
+
startDate: string;
|
|
331
|
+
endDate: string;
|
|
332
|
+
isActive: boolean;
|
|
333
|
+
};
|
|
334
|
+
}>;
|
|
335
|
+
application: {
|
|
336
|
+
updatedBy?: string | undefined;
|
|
337
|
+
updatedAt?: number | undefined;
|
|
338
|
+
questionnaire?: ({
|
|
339
|
+
label?: string | undefined;
|
|
340
|
+
isNew?: boolean | undefined;
|
|
341
|
+
isOptional?: boolean | undefined;
|
|
342
|
+
readonly?: boolean | undefined;
|
|
343
|
+
preferredAnswer?: string | undefined;
|
|
344
|
+
answers?: string | undefined;
|
|
345
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
346
|
+
default: boolean;
|
|
347
|
+
title: string;
|
|
348
|
+
} | {
|
|
349
|
+
label?: string | undefined;
|
|
350
|
+
isNew?: boolean | undefined;
|
|
351
|
+
isOptional?: boolean | undefined;
|
|
352
|
+
readonly?: boolean | undefined;
|
|
353
|
+
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue[] | undefined;
|
|
354
|
+
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue[] | undefined;
|
|
355
|
+
optionsFrom?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.EducationLevel | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.ExperienceLevel | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Skill | undefined;
|
|
356
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
357
|
+
default: boolean;
|
|
358
|
+
title: string;
|
|
359
|
+
options: (string | {
|
|
360
|
+
logo?: string | undefined;
|
|
361
|
+
id: string;
|
|
362
|
+
name: string;
|
|
363
|
+
} | {
|
|
364
|
+
value: "others" | (string | undefined)[];
|
|
365
|
+
otherValue: string | string[];
|
|
366
|
+
} | undefined)[];
|
|
367
|
+
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
368
|
+
} | {
|
|
369
|
+
label?: string | undefined;
|
|
370
|
+
isNew?: boolean | undefined;
|
|
371
|
+
isOptional?: boolean | undefined;
|
|
372
|
+
readonly?: boolean | undefined;
|
|
373
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
|
|
374
|
+
description: string;
|
|
375
|
+
default: boolean;
|
|
376
|
+
title: string;
|
|
377
|
+
preferredAnswer: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
|
|
378
|
+
answers: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
|
|
379
|
+
})[] | undefined;
|
|
380
|
+
applicationSummary?: string | undefined;
|
|
381
|
+
score?: number | undefined;
|
|
382
|
+
id: string;
|
|
383
|
+
shortId: string;
|
|
384
|
+
name: {
|
|
385
|
+
first: string;
|
|
386
|
+
last: string;
|
|
387
|
+
};
|
|
388
|
+
email: string;
|
|
389
|
+
status: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job-application/job-application.constant").JobApplicationStatus;
|
|
390
|
+
createdBy: string;
|
|
391
|
+
createdAt: number;
|
|
392
|
+
userId: string;
|
|
393
|
+
experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
|
|
394
|
+
emailVerified: NonNullable<boolean | undefined>;
|
|
395
|
+
mobile: {
|
|
396
|
+
number: string;
|
|
397
|
+
country: {
|
|
398
|
+
locale?: string | undefined;
|
|
399
|
+
name: string;
|
|
400
|
+
dial_code: string;
|
|
401
|
+
code: string;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
jobId: string;
|
|
405
|
+
location: {
|
|
406
|
+
state?: string | undefined;
|
|
407
|
+
stateCode?: string | undefined;
|
|
408
|
+
address: string;
|
|
409
|
+
country: string;
|
|
410
|
+
countryCode: string;
|
|
411
|
+
city: string;
|
|
412
|
+
latLong: {
|
|
413
|
+
country?: (number | undefined)[] | undefined;
|
|
414
|
+
state?: number[] | undefined;
|
|
415
|
+
city?: number[] | undefined;
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
resume: {
|
|
419
|
+
markdown: string;
|
|
420
|
+
markdownStyling: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/resume/resume.constant").ResumeMarkdownStyle;
|
|
421
|
+
};
|
|
422
|
+
history: {
|
|
423
|
+
message?: string | undefined;
|
|
424
|
+
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job-application/job-application.constant").JobApplicationStatus | undefined>;
|
|
425
|
+
updatedBy: string;
|
|
426
|
+
updatedAt: Date;
|
|
427
|
+
}[];
|
|
428
|
+
recentWork: {
|
|
429
|
+
description?: string | undefined;
|
|
430
|
+
company: NonNullable<{
|
|
431
|
+
value: "others" | (string | undefined)[];
|
|
432
|
+
otherValue: string | string[];
|
|
433
|
+
} | Pick<{
|
|
434
|
+
headline?: string | undefined;
|
|
435
|
+
employeeCount?: string | undefined;
|
|
436
|
+
yearFounded?: string | undefined;
|
|
437
|
+
locations?: {
|
|
438
|
+
coverImage?: string | undefined;
|
|
439
|
+
name: string;
|
|
440
|
+
isHeadquarters: boolean;
|
|
441
|
+
contact: {
|
|
442
|
+
email?: string | undefined;
|
|
443
|
+
phone?: string | undefined;
|
|
444
|
+
address: string;
|
|
445
|
+
};
|
|
446
|
+
}[] | undefined;
|
|
447
|
+
contacts?: {
|
|
448
|
+
label?: string | undefined;
|
|
449
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
450
|
+
value: string;
|
|
451
|
+
isPrimary: boolean;
|
|
452
|
+
isVerified: boolean;
|
|
453
|
+
}[] | undefined;
|
|
454
|
+
verified?: Date | undefined;
|
|
455
|
+
socialAccounts?: {
|
|
456
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
457
|
+
isNew: boolean;
|
|
458
|
+
url: string;
|
|
459
|
+
}[] | undefined;
|
|
460
|
+
isOwner?: boolean | undefined;
|
|
461
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
462
|
+
perksAndBenefits?: {
|
|
463
|
+
category?: {
|
|
464
|
+
logo?: string | undefined;
|
|
465
|
+
id: string;
|
|
466
|
+
name: string;
|
|
467
|
+
} | {
|
|
468
|
+
value: "others" | (string | undefined)[];
|
|
469
|
+
otherValue: string | string[];
|
|
470
|
+
} | undefined;
|
|
471
|
+
name: string;
|
|
472
|
+
description: string;
|
|
473
|
+
}[] | undefined;
|
|
474
|
+
updatedBy?: string | undefined;
|
|
475
|
+
updatedAt?: number | undefined;
|
|
476
|
+
slug: string;
|
|
477
|
+
id: string;
|
|
478
|
+
shortId: string;
|
|
479
|
+
name: string;
|
|
480
|
+
about: string;
|
|
481
|
+
website: string;
|
|
482
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
483
|
+
logo: {
|
|
484
|
+
dark?: string | undefined;
|
|
485
|
+
light: string;
|
|
486
|
+
} | null;
|
|
487
|
+
categories: {
|
|
488
|
+
logo?: string | undefined;
|
|
489
|
+
id: string;
|
|
490
|
+
name: string;
|
|
491
|
+
}[];
|
|
492
|
+
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
493
|
+
createdBy: string;
|
|
494
|
+
createdAt: number;
|
|
495
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
496
|
+
designation: NonNullable<{
|
|
497
|
+
logo?: string | undefined;
|
|
498
|
+
id: string;
|
|
499
|
+
name: string;
|
|
500
|
+
} | {
|
|
501
|
+
value: "others" | (string | undefined)[];
|
|
502
|
+
otherValue: string | string[];
|
|
503
|
+
} | undefined>;
|
|
504
|
+
isRemote: boolean;
|
|
505
|
+
duration: {
|
|
506
|
+
startDate: string;
|
|
507
|
+
endDate: string;
|
|
508
|
+
isActive: boolean;
|
|
509
|
+
};
|
|
510
|
+
location: {
|
|
511
|
+
state?: string | undefined;
|
|
512
|
+
stateCode?: string | undefined;
|
|
513
|
+
address: string;
|
|
514
|
+
country: string;
|
|
515
|
+
countryCode: string;
|
|
516
|
+
city: string;
|
|
517
|
+
latLong: {
|
|
518
|
+
country?: (number | undefined)[] | undefined;
|
|
519
|
+
state?: number[] | undefined;
|
|
520
|
+
city?: number[] | undefined;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
recentEducation: {
|
|
525
|
+
description?: string | undefined;
|
|
526
|
+
duration: {
|
|
527
|
+
startDate: string;
|
|
528
|
+
endDate: string;
|
|
529
|
+
isActive: boolean;
|
|
530
|
+
};
|
|
531
|
+
location: {
|
|
532
|
+
state?: string | undefined;
|
|
533
|
+
stateCode?: string | undefined;
|
|
534
|
+
address: string;
|
|
535
|
+
country: string;
|
|
536
|
+
countryCode: string;
|
|
537
|
+
city: string;
|
|
538
|
+
latLong: {
|
|
539
|
+
country?: (number | undefined)[] | undefined;
|
|
540
|
+
state?: number[] | undefined;
|
|
541
|
+
city?: number[] | undefined;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
institute: NonNullable<{
|
|
545
|
+
value: "others" | (string | undefined)[];
|
|
546
|
+
otherValue: string | string[];
|
|
547
|
+
} | Pick<{
|
|
548
|
+
headline?: string | undefined;
|
|
549
|
+
employeeCount?: string | undefined;
|
|
550
|
+
yearFounded?: string | undefined;
|
|
551
|
+
locations?: {
|
|
552
|
+
coverImage?: string | undefined;
|
|
553
|
+
name: string;
|
|
554
|
+
isHeadquarters: boolean;
|
|
555
|
+
contact: {
|
|
556
|
+
email?: string | undefined;
|
|
557
|
+
phone?: string | undefined;
|
|
558
|
+
address: string;
|
|
559
|
+
};
|
|
560
|
+
}[] | undefined;
|
|
561
|
+
contacts?: {
|
|
562
|
+
label?: string | undefined;
|
|
563
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
564
|
+
value: string;
|
|
565
|
+
isPrimary: boolean;
|
|
566
|
+
isVerified: boolean;
|
|
567
|
+
}[] | undefined;
|
|
568
|
+
verified?: Date | undefined;
|
|
569
|
+
socialAccounts?: {
|
|
570
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
571
|
+
isNew: boolean;
|
|
572
|
+
url: string;
|
|
573
|
+
}[] | undefined;
|
|
574
|
+
isOwner?: boolean | undefined;
|
|
575
|
+
equalOpportunityEmployer?: boolean | undefined;
|
|
576
|
+
perksAndBenefits?: {
|
|
577
|
+
category?: {
|
|
578
|
+
logo?: string | undefined;
|
|
579
|
+
id: string;
|
|
580
|
+
name: string;
|
|
581
|
+
} | {
|
|
582
|
+
value: "others" | (string | undefined)[];
|
|
583
|
+
otherValue: string | string[];
|
|
584
|
+
} | undefined;
|
|
585
|
+
name: string;
|
|
586
|
+
description: string;
|
|
587
|
+
}[] | undefined;
|
|
588
|
+
updatedBy?: string | undefined;
|
|
589
|
+
updatedAt?: number | undefined;
|
|
590
|
+
slug: string;
|
|
591
|
+
id: string;
|
|
592
|
+
shortId: string;
|
|
593
|
+
name: string;
|
|
594
|
+
about: string;
|
|
595
|
+
website: string;
|
|
596
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
597
|
+
logo: {
|
|
598
|
+
dark?: string | undefined;
|
|
599
|
+
light: string;
|
|
600
|
+
} | null;
|
|
601
|
+
categories: {
|
|
602
|
+
logo?: string | undefined;
|
|
603
|
+
id: string;
|
|
604
|
+
name: string;
|
|
605
|
+
}[];
|
|
606
|
+
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
607
|
+
createdBy: string;
|
|
608
|
+
createdAt: number;
|
|
609
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
610
|
+
course: NonNullable<{
|
|
611
|
+
logo?: string | undefined;
|
|
612
|
+
id: string;
|
|
613
|
+
name: string;
|
|
614
|
+
} | {
|
|
615
|
+
value: "others" | (string | undefined)[];
|
|
616
|
+
otherValue: string | string[];
|
|
617
|
+
} | undefined>;
|
|
618
|
+
fieldOfStudy: NonNullable<NonNullable<{
|
|
619
|
+
logo?: string | undefined;
|
|
620
|
+
id: string;
|
|
621
|
+
name: string;
|
|
622
|
+
} | {
|
|
623
|
+
value: "others" | (string | undefined)[];
|
|
624
|
+
otherValue: string | string[];
|
|
625
|
+
} | undefined>>;
|
|
626
|
+
isDistanceLearning: boolean;
|
|
627
|
+
studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
}
|
|
1
631
|
export interface ICategorySchema {
|
|
2
632
|
name: string;
|
|
3
633
|
}
|
|
4
634
|
export interface INameIdLogoSchema {
|
|
5
635
|
logo?: string | undefined;
|
|
6
|
-
name: string;
|
|
7
636
|
id: string;
|
|
637
|
+
name: string;
|
|
8
638
|
}
|
|
9
639
|
export interface IOtherValueSchema {
|
|
10
640
|
value: "others" | (string | undefined)[];
|
|
@@ -38,7 +668,7 @@ export interface IWithDBDefault {
|
|
|
38
668
|
updatedBy?: any;
|
|
39
669
|
updatedAt?: string | undefined;
|
|
40
670
|
}
|
|
41
|
-
export interface
|
|
671
|
+
export interface IPickFrom {
|
|
42
672
|
}
|
|
43
673
|
export interface IName {
|
|
44
674
|
first: string;
|
|
@@ -60,14 +690,14 @@ export interface IIdName {
|
|
|
60
690
|
id: string;
|
|
61
691
|
name: string;
|
|
62
692
|
}
|
|
63
|
-
export interface
|
|
693
|
+
export interface ISeoTags {
|
|
64
694
|
keywords: string[];
|
|
65
695
|
skills: string[];
|
|
66
696
|
description?: string | undefined;
|
|
67
697
|
job_description?: string | undefined;
|
|
68
698
|
Description?: string | undefined;
|
|
69
699
|
}
|
|
70
|
-
export interface
|
|
700
|
+
export interface ICompletenessScore {
|
|
71
701
|
score: number;
|
|
72
702
|
completedSteps: number;
|
|
73
703
|
totalSteps: number;
|
|
@@ -106,19 +736,19 @@ export interface IFieldOfStudySchema {
|
|
|
106
736
|
}
|
|
107
737
|
export interface IGroupSchema {
|
|
108
738
|
logo?: string | undefined;
|
|
109
|
-
banner?: string | undefined;
|
|
110
|
-
followersCount?: number | undefined;
|
|
111
739
|
seoTags?: {
|
|
112
740
|
meta: {
|
|
113
741
|
description?: string | undefined;
|
|
114
742
|
keywords?: (string | undefined)[] | undefined;
|
|
115
743
|
};
|
|
116
744
|
} | undefined;
|
|
117
|
-
|
|
745
|
+
banner?: string | undefined;
|
|
746
|
+
followersCount?: number | undefined;
|
|
747
|
+
slug: string;
|
|
118
748
|
id: string;
|
|
119
749
|
shortId: string;
|
|
750
|
+
name: string;
|
|
120
751
|
description: string;
|
|
121
|
-
slug: string;
|
|
122
752
|
filterQuery: {
|
|
123
753
|
jobs?: string | undefined;
|
|
124
754
|
courses?: string | undefined;
|
|
@@ -126,20 +756,14 @@ export interface IGroupSchema {
|
|
|
126
756
|
};
|
|
127
757
|
}
|
|
128
758
|
export interface IJobSchema {
|
|
129
|
-
updatedBy?: string | undefined;
|
|
130
|
-
updatedAt?: number | undefined;
|
|
131
|
-
seoTags?: {
|
|
132
|
-
meta: {
|
|
133
|
-
description?: string | undefined;
|
|
134
|
-
keywords?: (string | undefined)[] | undefined;
|
|
135
|
-
};
|
|
136
|
-
} | undefined;
|
|
137
759
|
externalApplyLink?: string | undefined;
|
|
138
760
|
isOwner?: boolean | undefined;
|
|
761
|
+
updatedBy?: string | undefined;
|
|
762
|
+
updatedAt?: number | undefined;
|
|
139
763
|
skills?: ({
|
|
140
764
|
logo?: string | undefined;
|
|
141
|
-
name: string;
|
|
142
765
|
id: string;
|
|
766
|
+
name: string;
|
|
143
767
|
} | {
|
|
144
768
|
value: "others" | (string | undefined)[];
|
|
145
769
|
otherValue: string | string[];
|
|
@@ -179,8 +803,8 @@ export interface IJobSchema {
|
|
|
179
803
|
title: string;
|
|
180
804
|
options: (string | {
|
|
181
805
|
logo?: string | undefined;
|
|
182
|
-
name: string;
|
|
183
806
|
id: string;
|
|
807
|
+
name: string;
|
|
184
808
|
} | {
|
|
185
809
|
value: "others" | (string | undefined)[];
|
|
186
810
|
otherValue: string | string[];
|
|
@@ -197,6 +821,12 @@ export interface IJobSchema {
|
|
|
197
821
|
title: string;
|
|
198
822
|
preferredAnswer: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
|
|
199
823
|
})[] | undefined;
|
|
824
|
+
seoTags?: {
|
|
825
|
+
meta: {
|
|
826
|
+
description?: string | undefined;
|
|
827
|
+
keywords?: (string | undefined)[] | undefined;
|
|
828
|
+
};
|
|
829
|
+
} | undefined;
|
|
200
830
|
jdSummary?: string | undefined;
|
|
201
831
|
canCreateAlert?: boolean | undefined;
|
|
202
832
|
canDirectApply?: boolean | undefined;
|
|
@@ -216,15 +846,11 @@ export interface IJobSchema {
|
|
|
216
846
|
createdAt: string;
|
|
217
847
|
userId: string;
|
|
218
848
|
}[] | undefined;
|
|
219
|
-
id: string;
|
|
220
|
-
termsAccepted: NonNullable<boolean | undefined>;
|
|
221
|
-
shortId: string;
|
|
222
|
-
createdBy: string;
|
|
223
|
-
createdAt: number;
|
|
224
|
-
description: string;
|
|
225
|
-
slug: string;
|
|
226
849
|
headline: string;
|
|
850
|
+
slug: string;
|
|
227
851
|
applicationReceivePreference: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ApplicationReceivePreference | undefined>;
|
|
852
|
+
id: string;
|
|
853
|
+
shortId: string;
|
|
228
854
|
locations: {
|
|
229
855
|
state?: string | undefined;
|
|
230
856
|
stateCode?: string | undefined;
|
|
@@ -239,12 +865,13 @@ export interface IJobSchema {
|
|
|
239
865
|
};
|
|
240
866
|
}[];
|
|
241
867
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job/job.constant").JobStatus | undefined>;
|
|
868
|
+
description: string;
|
|
869
|
+
createdBy: string;
|
|
870
|
+
createdAt: number;
|
|
242
871
|
company: NonNullable<{
|
|
243
872
|
value: "others" | (string | undefined)[];
|
|
244
873
|
otherValue: string | string[];
|
|
245
874
|
} | Pick<{
|
|
246
|
-
updatedBy?: string | undefined;
|
|
247
|
-
updatedAt?: number | undefined;
|
|
248
875
|
headline?: string | undefined;
|
|
249
876
|
employeeCount?: string | undefined;
|
|
250
877
|
yearFounded?: string | undefined;
|
|
@@ -260,8 +887,8 @@ export interface IJobSchema {
|
|
|
260
887
|
}[] | undefined;
|
|
261
888
|
contacts?: {
|
|
262
889
|
label?: string | undefined;
|
|
263
|
-
value: string;
|
|
264
890
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
891
|
+
value: string;
|
|
265
892
|
isPrimary: boolean;
|
|
266
893
|
isVerified: boolean;
|
|
267
894
|
}[] | undefined;
|
|
@@ -276,8 +903,8 @@ export interface IJobSchema {
|
|
|
276
903
|
perksAndBenefits?: {
|
|
277
904
|
category?: {
|
|
278
905
|
logo?: string | undefined;
|
|
279
|
-
name: string;
|
|
280
906
|
id: string;
|
|
907
|
+
name: string;
|
|
281
908
|
} | {
|
|
282
909
|
value: "others" | (string | undefined)[];
|
|
283
910
|
otherValue: string | string[];
|
|
@@ -285,30 +912,32 @@ export interface IJobSchema {
|
|
|
285
912
|
name: string;
|
|
286
913
|
description: string;
|
|
287
914
|
}[] | undefined;
|
|
288
|
-
|
|
915
|
+
updatedBy?: string | undefined;
|
|
916
|
+
updatedAt?: number | undefined;
|
|
917
|
+
slug: string;
|
|
289
918
|
id: string;
|
|
919
|
+
shortId: string;
|
|
920
|
+
name: string;
|
|
921
|
+
about: string;
|
|
922
|
+
website: string;
|
|
923
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
290
924
|
logo: {
|
|
291
925
|
dark?: string | undefined;
|
|
292
926
|
light: string;
|
|
293
927
|
} | null;
|
|
294
|
-
shortId: string;
|
|
295
|
-
createdBy: string;
|
|
296
|
-
createdAt: number;
|
|
297
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
298
|
-
slug: string;
|
|
299
|
-
about: string;
|
|
300
|
-
website: string;
|
|
301
928
|
categories: {
|
|
302
929
|
logo?: string | undefined;
|
|
303
|
-
name: string;
|
|
304
930
|
id: string;
|
|
931
|
+
name: string;
|
|
305
932
|
}[];
|
|
306
933
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
307
|
-
|
|
934
|
+
createdBy: string;
|
|
935
|
+
createdAt: number;
|
|
936
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
308
937
|
designation: NonNullable<{
|
|
309
938
|
logo?: string | undefined;
|
|
310
|
-
name: string;
|
|
311
939
|
id: string;
|
|
940
|
+
name: string;
|
|
312
941
|
} | {
|
|
313
942
|
value: "others" | (string | undefined)[];
|
|
314
943
|
otherValue: string | string[];
|
|
@@ -318,13 +947,14 @@ export interface IJobSchema {
|
|
|
318
947
|
descriptionMarkdown: string;
|
|
319
948
|
descriptionHTML: string;
|
|
320
949
|
educationLevel: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel | undefined)[];
|
|
950
|
+
termsAccepted: NonNullable<boolean | undefined>;
|
|
321
951
|
validity: {
|
|
322
952
|
startDate: string;
|
|
323
953
|
endDate: string;
|
|
324
954
|
isActive: boolean;
|
|
325
955
|
};
|
|
326
956
|
}
|
|
327
|
-
export interface
|
|
957
|
+
export interface IJobRoleTemplate {
|
|
328
958
|
headline: string;
|
|
329
959
|
description: string;
|
|
330
960
|
designation: {
|
|
@@ -359,8 +989,8 @@ export interface IobRoleTemplate {
|
|
|
359
989
|
title: string;
|
|
360
990
|
options: (string | {
|
|
361
991
|
logo?: string | undefined;
|
|
362
|
-
name: string;
|
|
363
992
|
id: string;
|
|
993
|
+
name: string;
|
|
364
994
|
} | {
|
|
365
995
|
value: "others" | (string | undefined)[];
|
|
366
996
|
otherValue: string | string[];
|
|
@@ -372,7 +1002,6 @@ export interface IobRoleTemplate {
|
|
|
372
1002
|
export interface IJobApplicationSchema {
|
|
373
1003
|
updatedBy?: string | undefined;
|
|
374
1004
|
updatedAt?: number | undefined;
|
|
375
|
-
score?: number | undefined;
|
|
376
1005
|
questionnaire?: ({
|
|
377
1006
|
label?: string | undefined;
|
|
378
1007
|
isNew?: boolean | undefined;
|
|
@@ -396,8 +1025,8 @@ export interface IJobApplicationSchema {
|
|
|
396
1025
|
title: string;
|
|
397
1026
|
options: (string | {
|
|
398
1027
|
logo?: string | undefined;
|
|
399
|
-
name: string;
|
|
400
1028
|
id: string;
|
|
1029
|
+
name: string;
|
|
401
1030
|
} | {
|
|
402
1031
|
value: "others" | (string | undefined)[];
|
|
403
1032
|
otherValue: string | string[];
|
|
@@ -416,17 +1045,18 @@ export interface IJobApplicationSchema {
|
|
|
416
1045
|
answers: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
|
|
417
1046
|
})[] | undefined;
|
|
418
1047
|
applicationSummary?: string | undefined;
|
|
1048
|
+
score?: number | undefined;
|
|
1049
|
+
id: string;
|
|
1050
|
+
shortId: string;
|
|
419
1051
|
name: {
|
|
420
1052
|
first: string;
|
|
421
1053
|
last: string;
|
|
422
1054
|
};
|
|
423
|
-
|
|
424
|
-
|
|
1055
|
+
email: string;
|
|
1056
|
+
status: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job-application/job-application.constant").JobApplicationStatus;
|
|
425
1057
|
createdBy: string;
|
|
426
1058
|
createdAt: number;
|
|
427
1059
|
userId: string;
|
|
428
|
-
email: string;
|
|
429
|
-
status: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job-application/job-application.constant").JobApplicationStatus;
|
|
430
1060
|
experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
|
|
431
1061
|
emailVerified: NonNullable<boolean | undefined>;
|
|
432
1062
|
mobile: {
|
|
@@ -458,9 +1088,9 @@ export interface IJobApplicationSchema {
|
|
|
458
1088
|
};
|
|
459
1089
|
history: {
|
|
460
1090
|
message?: string | undefined;
|
|
1091
|
+
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job-application/job-application.constant").JobApplicationStatus | undefined>;
|
|
461
1092
|
updatedBy: string;
|
|
462
1093
|
updatedAt: Date;
|
|
463
|
-
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job-application/job-application.constant").JobApplicationStatus | undefined>;
|
|
464
1094
|
}[];
|
|
465
1095
|
recentWork: {
|
|
466
1096
|
description?: string | undefined;
|
|
@@ -468,8 +1098,6 @@ export interface IJobApplicationSchema {
|
|
|
468
1098
|
value: "others" | (string | undefined)[];
|
|
469
1099
|
otherValue: string | string[];
|
|
470
1100
|
} | Pick<{
|
|
471
|
-
updatedBy?: string | undefined;
|
|
472
|
-
updatedAt?: number | undefined;
|
|
473
1101
|
headline?: string | undefined;
|
|
474
1102
|
employeeCount?: string | undefined;
|
|
475
1103
|
yearFounded?: string | undefined;
|
|
@@ -485,8 +1113,8 @@ export interface IJobApplicationSchema {
|
|
|
485
1113
|
}[] | undefined;
|
|
486
1114
|
contacts?: {
|
|
487
1115
|
label?: string | undefined;
|
|
488
|
-
value: string;
|
|
489
1116
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1117
|
+
value: string;
|
|
490
1118
|
isPrimary: boolean;
|
|
491
1119
|
isVerified: boolean;
|
|
492
1120
|
}[] | undefined;
|
|
@@ -501,8 +1129,8 @@ export interface IJobApplicationSchema {
|
|
|
501
1129
|
perksAndBenefits?: {
|
|
502
1130
|
category?: {
|
|
503
1131
|
logo?: string | undefined;
|
|
504
|
-
name: string;
|
|
505
1132
|
id: string;
|
|
1133
|
+
name: string;
|
|
506
1134
|
} | {
|
|
507
1135
|
value: "others" | (string | undefined)[];
|
|
508
1136
|
otherValue: string | string[];
|
|
@@ -510,30 +1138,32 @@ export interface IJobApplicationSchema {
|
|
|
510
1138
|
name: string;
|
|
511
1139
|
description: string;
|
|
512
1140
|
}[] | undefined;
|
|
513
|
-
|
|
1141
|
+
updatedBy?: string | undefined;
|
|
1142
|
+
updatedAt?: number | undefined;
|
|
1143
|
+
slug: string;
|
|
514
1144
|
id: string;
|
|
1145
|
+
shortId: string;
|
|
1146
|
+
name: string;
|
|
1147
|
+
about: string;
|
|
1148
|
+
website: string;
|
|
1149
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
515
1150
|
logo: {
|
|
516
1151
|
dark?: string | undefined;
|
|
517
1152
|
light: string;
|
|
518
1153
|
} | null;
|
|
519
|
-
shortId: string;
|
|
520
|
-
createdBy: string;
|
|
521
|
-
createdAt: number;
|
|
522
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
523
|
-
slug: string;
|
|
524
|
-
about: string;
|
|
525
|
-
website: string;
|
|
526
1154
|
categories: {
|
|
527
1155
|
logo?: string | undefined;
|
|
528
|
-
name: string;
|
|
529
1156
|
id: string;
|
|
1157
|
+
name: string;
|
|
530
1158
|
}[];
|
|
531
1159
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
532
|
-
|
|
1160
|
+
createdBy: string;
|
|
1161
|
+
createdAt: number;
|
|
1162
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
533
1163
|
designation: NonNullable<{
|
|
534
1164
|
logo?: string | undefined;
|
|
535
|
-
name: string;
|
|
536
1165
|
id: string;
|
|
1166
|
+
name: string;
|
|
537
1167
|
} | {
|
|
538
1168
|
value: "others" | (string | undefined)[];
|
|
539
1169
|
otherValue: string | string[];
|
|
@@ -582,8 +1212,6 @@ export interface IJobApplicationSchema {
|
|
|
582
1212
|
value: "others" | (string | undefined)[];
|
|
583
1213
|
otherValue: string | string[];
|
|
584
1214
|
} | Pick<{
|
|
585
|
-
updatedBy?: string | undefined;
|
|
586
|
-
updatedAt?: number | undefined;
|
|
587
1215
|
headline?: string | undefined;
|
|
588
1216
|
employeeCount?: string | undefined;
|
|
589
1217
|
yearFounded?: string | undefined;
|
|
@@ -599,8 +1227,8 @@ export interface IJobApplicationSchema {
|
|
|
599
1227
|
}[] | undefined;
|
|
600
1228
|
contacts?: {
|
|
601
1229
|
label?: string | undefined;
|
|
602
|
-
value: string;
|
|
603
1230
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1231
|
+
value: string;
|
|
604
1232
|
isPrimary: boolean;
|
|
605
1233
|
isVerified: boolean;
|
|
606
1234
|
}[] | undefined;
|
|
@@ -615,8 +1243,8 @@ export interface IJobApplicationSchema {
|
|
|
615
1243
|
perksAndBenefits?: {
|
|
616
1244
|
category?: {
|
|
617
1245
|
logo?: string | undefined;
|
|
618
|
-
name: string;
|
|
619
1246
|
id: string;
|
|
1247
|
+
name: string;
|
|
620
1248
|
} | {
|
|
621
1249
|
value: "others" | (string | undefined)[];
|
|
622
1250
|
otherValue: string | string[];
|
|
@@ -624,38 +1252,40 @@ export interface IJobApplicationSchema {
|
|
|
624
1252
|
name: string;
|
|
625
1253
|
description: string;
|
|
626
1254
|
}[] | undefined;
|
|
627
|
-
|
|
1255
|
+
updatedBy?: string | undefined;
|
|
1256
|
+
updatedAt?: number | undefined;
|
|
1257
|
+
slug: string;
|
|
628
1258
|
id: string;
|
|
1259
|
+
shortId: string;
|
|
1260
|
+
name: string;
|
|
1261
|
+
about: string;
|
|
1262
|
+
website: string;
|
|
1263
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
629
1264
|
logo: {
|
|
630
1265
|
dark?: string | undefined;
|
|
631
1266
|
light: string;
|
|
632
1267
|
} | null;
|
|
633
|
-
shortId: string;
|
|
634
|
-
createdBy: string;
|
|
635
|
-
createdAt: number;
|
|
636
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
637
|
-
slug: string;
|
|
638
|
-
about: string;
|
|
639
|
-
website: string;
|
|
640
1268
|
categories: {
|
|
641
1269
|
logo?: string | undefined;
|
|
642
|
-
name: string;
|
|
643
1270
|
id: string;
|
|
1271
|
+
name: string;
|
|
644
1272
|
}[];
|
|
645
1273
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
646
|
-
|
|
1274
|
+
createdBy: string;
|
|
1275
|
+
createdAt: number;
|
|
1276
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
647
1277
|
course: NonNullable<{
|
|
648
1278
|
logo?: string | undefined;
|
|
649
|
-
name: string;
|
|
650
1279
|
id: string;
|
|
1280
|
+
name: string;
|
|
651
1281
|
} | {
|
|
652
1282
|
value: "others" | (string | undefined)[];
|
|
653
1283
|
otherValue: string | string[];
|
|
654
1284
|
} | undefined>;
|
|
655
1285
|
fieldOfStudy: NonNullable<NonNullable<{
|
|
656
1286
|
logo?: string | undefined;
|
|
657
|
-
name: string;
|
|
658
1287
|
id: string;
|
|
1288
|
+
name: string;
|
|
659
1289
|
} | {
|
|
660
1290
|
value: "others" | (string | undefined)[];
|
|
661
1291
|
otherValue: string | string[];
|
|
@@ -667,8 +1297,8 @@ export interface IJobApplicationSchema {
|
|
|
667
1297
|
export interface IJobRoleTemplateSchema {
|
|
668
1298
|
skills?: ({
|
|
669
1299
|
logo?: string | undefined;
|
|
670
|
-
name: string;
|
|
671
1300
|
id: string;
|
|
1301
|
+
name: string;
|
|
672
1302
|
} | {
|
|
673
1303
|
value: "others" | (string | undefined)[];
|
|
674
1304
|
otherValue: string | string[];
|
|
@@ -695,8 +1325,8 @@ export interface IJobRoleTemplateSchema {
|
|
|
695
1325
|
title: string;
|
|
696
1326
|
options: (string | {
|
|
697
1327
|
logo?: string | undefined;
|
|
698
|
-
name: string;
|
|
699
1328
|
id: string;
|
|
1329
|
+
name: string;
|
|
700
1330
|
} | {
|
|
701
1331
|
value: "others" | (string | undefined)[];
|
|
702
1332
|
otherValue: string | string[];
|
|
@@ -713,12 +1343,12 @@ export interface IJobRoleTemplateSchema {
|
|
|
713
1343
|
title: string;
|
|
714
1344
|
preferredAnswer: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
|
|
715
1345
|
})[] | undefined;
|
|
716
|
-
description: string;
|
|
717
1346
|
headline: string;
|
|
1347
|
+
description: string;
|
|
718
1348
|
designation: NonNullable<{
|
|
719
1349
|
logo?: string | undefined;
|
|
720
|
-
name: string;
|
|
721
1350
|
id: string;
|
|
1351
|
+
name: string;
|
|
722
1352
|
} | {
|
|
723
1353
|
value: "others" | (string | undefined)[];
|
|
724
1354
|
otherValue: string | string[];
|
|
@@ -742,8 +1372,6 @@ export interface ILocationSchema {
|
|
|
742
1372
|
};
|
|
743
1373
|
}
|
|
744
1374
|
export interface IPageSchema {
|
|
745
|
-
updatedBy?: string | undefined;
|
|
746
|
-
updatedAt?: number | undefined;
|
|
747
1375
|
headline?: string | undefined;
|
|
748
1376
|
employeeCount?: string | undefined;
|
|
749
1377
|
yearFounded?: string | undefined;
|
|
@@ -759,8 +1387,8 @@ export interface IPageSchema {
|
|
|
759
1387
|
}[] | undefined;
|
|
760
1388
|
contacts?: {
|
|
761
1389
|
label?: string | undefined;
|
|
762
|
-
value: string;
|
|
763
1390
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1391
|
+
value: string;
|
|
764
1392
|
isPrimary: boolean;
|
|
765
1393
|
isVerified: boolean;
|
|
766
1394
|
}[] | undefined;
|
|
@@ -775,8 +1403,8 @@ export interface IPageSchema {
|
|
|
775
1403
|
perksAndBenefits?: {
|
|
776
1404
|
category?: {
|
|
777
1405
|
logo?: string | undefined;
|
|
778
|
-
name: string;
|
|
779
1406
|
id: string;
|
|
1407
|
+
name: string;
|
|
780
1408
|
} | {
|
|
781
1409
|
value: "others" | (string | undefined)[];
|
|
782
1410
|
otherValue: string | string[];
|
|
@@ -784,25 +1412,27 @@ export interface IPageSchema {
|
|
|
784
1412
|
name: string;
|
|
785
1413
|
description: string;
|
|
786
1414
|
}[] | undefined;
|
|
787
|
-
|
|
1415
|
+
updatedBy?: string | undefined;
|
|
1416
|
+
updatedAt?: number | undefined;
|
|
1417
|
+
slug: string;
|
|
788
1418
|
id: string;
|
|
1419
|
+
shortId: string;
|
|
1420
|
+
name: string;
|
|
1421
|
+
about: string;
|
|
1422
|
+
website: string;
|
|
1423
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
789
1424
|
logo: {
|
|
790
1425
|
dark?: string | undefined;
|
|
791
1426
|
light: string;
|
|
792
1427
|
} | null;
|
|
793
|
-
shortId: string;
|
|
794
|
-
createdBy: string;
|
|
795
|
-
createdAt: number;
|
|
796
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
797
|
-
slug: string;
|
|
798
|
-
about: string;
|
|
799
|
-
website: string;
|
|
800
1428
|
categories: {
|
|
801
1429
|
logo?: string | undefined;
|
|
802
|
-
name: string;
|
|
803
1430
|
id: string;
|
|
1431
|
+
name: string;
|
|
804
1432
|
}[];
|
|
805
1433
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
1434
|
+
createdBy: string;
|
|
1435
|
+
createdAt: number;
|
|
806
1436
|
}
|
|
807
1437
|
export interface IPaginationSchema {
|
|
808
1438
|
sortBy?: string | undefined;
|
|
@@ -834,8 +1464,8 @@ export interface IChoiceQuestionSchema {
|
|
|
834
1464
|
title: string;
|
|
835
1465
|
options: (string | {
|
|
836
1466
|
logo?: string | undefined;
|
|
837
|
-
name: string;
|
|
838
1467
|
id: string;
|
|
1468
|
+
name: string;
|
|
839
1469
|
} | {
|
|
840
1470
|
value: "others" | (string | undefined)[];
|
|
841
1471
|
otherValue: string | string[];
|
|
@@ -854,12 +1484,6 @@ export interface IInputQuestionSchema {
|
|
|
854
1484
|
title: string;
|
|
855
1485
|
}
|
|
856
1486
|
export interface IMixedValue {
|
|
857
|
-
toString: (() => string) | ((radix?: number | undefined) => string) | (() => string);
|
|
858
|
-
valueOf: (() => string) | (() => number) | (() => boolean) | (() => Object);
|
|
859
|
-
toLocaleString: (() => string) | {
|
|
860
|
-
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
|
861
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
|
862
|
-
};
|
|
863
1487
|
}
|
|
864
1488
|
export interface IQuestionSchema {
|
|
865
1489
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
@@ -882,232 +1506,61 @@ export interface IReadAndAcknowledgeQuestionSchema {
|
|
|
882
1506
|
preferredAnswer: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
|
|
883
1507
|
answers: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
|
|
884
1508
|
}
|
|
885
|
-
export interface
|
|
1509
|
+
export interface IResumeGeneralInfoSectionSchema {
|
|
886
1510
|
headline?: string | undefined;
|
|
887
|
-
|
|
1511
|
+
id?: string | undefined;
|
|
1512
|
+
emailVerified?: string | null | undefined;
|
|
1513
|
+
image?: string | undefined;
|
|
1514
|
+
aboutMe?: string | undefined;
|
|
888
1515
|
name: {
|
|
1516
|
+
last?: string | undefined;
|
|
889
1517
|
first: string;
|
|
890
|
-
last: string;
|
|
891
1518
|
};
|
|
892
1519
|
email: string;
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
}
|
|
916
|
-
export interface IResumeSkillSchema {
|
|
917
|
-
proficiencyLevel?: string | undefined;
|
|
918
|
-
lastUsed?: string | undefined;
|
|
919
|
-
name: string;
|
|
1520
|
+
experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
|
|
1521
|
+
mobile: {
|
|
1522
|
+
number: string;
|
|
1523
|
+
country: {
|
|
1524
|
+
locale?: string | undefined;
|
|
1525
|
+
name: string;
|
|
1526
|
+
dial_code: string;
|
|
1527
|
+
code: string;
|
|
1528
|
+
};
|
|
1529
|
+
};
|
|
1530
|
+
location: {
|
|
1531
|
+
state?: string | undefined;
|
|
1532
|
+
stateCode?: string | undefined;
|
|
1533
|
+
address: string;
|
|
1534
|
+
country: string;
|
|
1535
|
+
countryCode: string;
|
|
1536
|
+
city: string;
|
|
1537
|
+
latLong: {
|
|
1538
|
+
country?: (number | undefined)[] | undefined;
|
|
1539
|
+
state?: number[] | undefined;
|
|
1540
|
+
city?: number[] | undefined;
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
920
1543
|
}
|
|
921
|
-
export interface
|
|
922
|
-
link?: string | undefined;
|
|
923
|
-
endDate?: string | undefined;
|
|
924
|
-
name: string;
|
|
925
|
-
description: string;
|
|
926
|
-
startDate: string;
|
|
927
|
-
isOngoing: boolean;
|
|
1544
|
+
export interface IResumeWorkExperienceSectionSchema {
|
|
928
1545
|
}
|
|
929
|
-
export interface
|
|
930
|
-
description?: string | undefined;
|
|
931
|
-
endDate?: string | undefined;
|
|
932
|
-
name: string;
|
|
933
|
-
startDate: string;
|
|
934
|
-
authority: string;
|
|
935
|
-
isOngoing: boolean;
|
|
1546
|
+
export interface IResumeEducationSectionSchema {
|
|
936
1547
|
}
|
|
937
|
-
export interface
|
|
938
|
-
description?: string | undefined;
|
|
939
|
-
category?: string | undefined;
|
|
940
|
-
name: string;
|
|
1548
|
+
export interface IResumeSkillSectionSchema {
|
|
941
1549
|
}
|
|
942
|
-
export interface
|
|
943
|
-
description?: string | undefined;
|
|
944
|
-
name: string;
|
|
945
|
-
proficiency: string;
|
|
1550
|
+
export interface IResumeProjectSectionSchema {
|
|
946
1551
|
}
|
|
947
|
-
export interface
|
|
948
|
-
description: string;
|
|
949
|
-
title: string;
|
|
1552
|
+
export interface IResumeCertificationSectionSchema {
|
|
950
1553
|
}
|
|
951
|
-
export interface
|
|
952
|
-
profileUrl?: string | undefined;
|
|
953
|
-
name: string;
|
|
954
|
-
email: string;
|
|
955
|
-
company: string;
|
|
956
|
-
designation: string;
|
|
957
|
-
mobile: string;
|
|
958
|
-
workedDirectly: boolean;
|
|
1554
|
+
export interface IResumeInterestSectionSchema {
|
|
959
1555
|
}
|
|
960
|
-
export interface
|
|
961
|
-
generalInfo: {
|
|
962
|
-
headline?: string | undefined;
|
|
963
|
-
location?: string | undefined;
|
|
964
|
-
name: {
|
|
965
|
-
first: string;
|
|
966
|
-
last: string;
|
|
967
|
-
};
|
|
968
|
-
email: string;
|
|
969
|
-
mobile: string;
|
|
970
|
-
};
|
|
971
|
-
summary: string;
|
|
972
|
-
workExperience: {
|
|
973
|
-
description?: string | undefined;
|
|
974
|
-
endDate?: string | undefined;
|
|
975
|
-
location?: string | undefined;
|
|
976
|
-
company: string;
|
|
977
|
-
designation: string;
|
|
978
|
-
startDate: string;
|
|
979
|
-
isRemote: boolean;
|
|
980
|
-
isCurrentJob: boolean;
|
|
981
|
-
};
|
|
982
|
-
education: {
|
|
983
|
-
description?: string | undefined;
|
|
984
|
-
endDate?: string | undefined;
|
|
985
|
-
location?: string | undefined;
|
|
986
|
-
fieldOfStudy?: string | undefined;
|
|
987
|
-
startDate: string;
|
|
988
|
-
institute: string;
|
|
989
|
-
course: string;
|
|
990
|
-
isDistanceLearning: boolean;
|
|
991
|
-
isPursuing: boolean;
|
|
992
|
-
};
|
|
993
|
-
skill: {
|
|
994
|
-
proficiencyLevel?: string | undefined;
|
|
995
|
-
lastUsed?: string | undefined;
|
|
996
|
-
name: string;
|
|
997
|
-
};
|
|
998
|
-
project: {
|
|
999
|
-
link?: string | undefined;
|
|
1000
|
-
endDate?: string | undefined;
|
|
1001
|
-
name: string;
|
|
1002
|
-
description: string;
|
|
1003
|
-
startDate: string;
|
|
1004
|
-
isOngoing: boolean;
|
|
1005
|
-
};
|
|
1006
|
-
certification: {
|
|
1007
|
-
description?: string | undefined;
|
|
1008
|
-
endDate?: string | undefined;
|
|
1009
|
-
name: string;
|
|
1010
|
-
startDate: string;
|
|
1011
|
-
authority: string;
|
|
1012
|
-
isOngoing: boolean;
|
|
1013
|
-
};
|
|
1014
|
-
interest: {
|
|
1015
|
-
description?: string | undefined;
|
|
1016
|
-
category?: string | undefined;
|
|
1017
|
-
name: string;
|
|
1018
|
-
};
|
|
1019
|
-
language: {
|
|
1020
|
-
description?: string | undefined;
|
|
1021
|
-
name: string;
|
|
1022
|
-
proficiency: string;
|
|
1023
|
-
};
|
|
1024
|
-
additionalInfo: {
|
|
1025
|
-
description: string;
|
|
1026
|
-
title: string;
|
|
1027
|
-
};
|
|
1028
|
-
reference: {
|
|
1029
|
-
profileUrl?: string | undefined;
|
|
1030
|
-
name: string;
|
|
1031
|
-
email: string;
|
|
1032
|
-
company: string;
|
|
1033
|
-
designation: string;
|
|
1034
|
-
mobile: string;
|
|
1035
|
-
workedDirectly: boolean;
|
|
1036
|
-
};
|
|
1556
|
+
export interface IResumeLanguageSectionSchema {
|
|
1037
1557
|
}
|
|
1038
|
-
export interface
|
|
1039
|
-
id: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/resume/resume.constant").ResumeSectionType | undefined>;
|
|
1040
|
-
data: (string | {
|
|
1041
|
-
headline?: string | undefined;
|
|
1042
|
-
location?: string | undefined;
|
|
1043
|
-
name: {
|
|
1044
|
-
first: string;
|
|
1045
|
-
last: string;
|
|
1046
|
-
};
|
|
1047
|
-
email: string;
|
|
1048
|
-
mobile: string;
|
|
1049
|
-
} | {
|
|
1050
|
-
description?: string | undefined;
|
|
1051
|
-
endDate?: string | undefined;
|
|
1052
|
-
location?: string | undefined;
|
|
1053
|
-
company: string;
|
|
1054
|
-
designation: string;
|
|
1055
|
-
startDate: string;
|
|
1056
|
-
isRemote: boolean;
|
|
1057
|
-
isCurrentJob: boolean;
|
|
1058
|
-
} | {
|
|
1059
|
-
description?: string | undefined;
|
|
1060
|
-
endDate?: string | undefined;
|
|
1061
|
-
location?: string | undefined;
|
|
1062
|
-
fieldOfStudy?: string | undefined;
|
|
1063
|
-
startDate: string;
|
|
1064
|
-
institute: string;
|
|
1065
|
-
course: string;
|
|
1066
|
-
isDistanceLearning: boolean;
|
|
1067
|
-
isPursuing: boolean;
|
|
1068
|
-
} | {
|
|
1069
|
-
proficiencyLevel?: string | undefined;
|
|
1070
|
-
lastUsed?: string | undefined;
|
|
1071
|
-
name: string;
|
|
1072
|
-
} | {
|
|
1073
|
-
link?: string | undefined;
|
|
1074
|
-
endDate?: string | undefined;
|
|
1075
|
-
name: string;
|
|
1076
|
-
description: string;
|
|
1077
|
-
startDate: string;
|
|
1078
|
-
isOngoing: boolean;
|
|
1079
|
-
} | {
|
|
1080
|
-
description?: string | undefined;
|
|
1081
|
-
endDate?: string | undefined;
|
|
1082
|
-
name: string;
|
|
1083
|
-
startDate: string;
|
|
1084
|
-
authority: string;
|
|
1085
|
-
isOngoing: boolean;
|
|
1086
|
-
} | {
|
|
1087
|
-
description?: string | undefined;
|
|
1088
|
-
category?: string | undefined;
|
|
1089
|
-
name: string;
|
|
1090
|
-
} | {
|
|
1091
|
-
description?: string | undefined;
|
|
1092
|
-
name: string;
|
|
1093
|
-
proficiency: string;
|
|
1094
|
-
} | {
|
|
1095
|
-
description: string;
|
|
1096
|
-
title: string;
|
|
1097
|
-
} | {
|
|
1098
|
-
profileUrl?: string | undefined;
|
|
1099
|
-
name: string;
|
|
1100
|
-
email: string;
|
|
1101
|
-
company: string;
|
|
1102
|
-
designation: string;
|
|
1103
|
-
mobile: string;
|
|
1104
|
-
workedDirectly: boolean;
|
|
1105
|
-
})[];
|
|
1558
|
+
export interface IResumeSchemaV2 {
|
|
1106
1559
|
}
|
|
1107
1560
|
export interface IResumeSchema {
|
|
1561
|
+
isOwner?: boolean | undefined;
|
|
1108
1562
|
updatedBy?: string | undefined;
|
|
1109
1563
|
updatedAt?: number | undefined;
|
|
1110
|
-
isOwner?: boolean | undefined;
|
|
1111
1564
|
user?: {
|
|
1112
1565
|
name: {
|
|
1113
1566
|
last?: string | undefined;
|
|
@@ -1115,13 +1568,13 @@ export interface IResumeSchema {
|
|
|
1115
1568
|
};
|
|
1116
1569
|
email: string;
|
|
1117
1570
|
} | undefined;
|
|
1571
|
+
slug: string;
|
|
1118
1572
|
id: string;
|
|
1119
1573
|
shortId: string;
|
|
1574
|
+
status: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/resume/resume.constant").ResumeStatus;
|
|
1120
1575
|
createdBy: string;
|
|
1121
1576
|
createdAt: number;
|
|
1122
1577
|
userId: string;
|
|
1123
|
-
slug: string;
|
|
1124
|
-
status: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/resume/resume.constant").ResumeStatus;
|
|
1125
1578
|
title: string;
|
|
1126
1579
|
markdown: string;
|
|
1127
1580
|
markdownStyling: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/resume/resume.constant").ResumeMarkdownStyle;
|
|
@@ -1129,8 +1582,8 @@ export interface IResumeSchema {
|
|
|
1129
1582
|
export interface INewResumePromptSchema {
|
|
1130
1583
|
title: string;
|
|
1131
1584
|
profile: Omit<{
|
|
1132
|
-
id?: string | undefined;
|
|
1133
1585
|
headline?: string | undefined;
|
|
1586
|
+
id?: string | undefined;
|
|
1134
1587
|
emailVerified?: string | null | undefined;
|
|
1135
1588
|
image?: string | undefined;
|
|
1136
1589
|
aboutMe?: string | undefined;
|
|
@@ -1148,8 +1601,8 @@ export interface INewResumePromptSchema {
|
|
|
1148
1601
|
skills: {
|
|
1149
1602
|
skill: NonNullable<{
|
|
1150
1603
|
logo?: string | undefined;
|
|
1151
|
-
name: string;
|
|
1152
1604
|
id: string;
|
|
1605
|
+
name: string;
|
|
1153
1606
|
} | {
|
|
1154
1607
|
value: "others" | (string | undefined)[];
|
|
1155
1608
|
otherValue: string | string[];
|
|
@@ -1186,8 +1639,6 @@ export interface INewResumePromptSchema {
|
|
|
1186
1639
|
value: "others" | (string | undefined)[];
|
|
1187
1640
|
otherValue: string | string[];
|
|
1188
1641
|
} | Pick<{
|
|
1189
|
-
updatedBy?: string | undefined;
|
|
1190
|
-
updatedAt?: number | undefined;
|
|
1191
1642
|
headline?: string | undefined;
|
|
1192
1643
|
employeeCount?: string | undefined;
|
|
1193
1644
|
yearFounded?: string | undefined;
|
|
@@ -1203,8 +1654,8 @@ export interface INewResumePromptSchema {
|
|
|
1203
1654
|
}[] | undefined;
|
|
1204
1655
|
contacts?: {
|
|
1205
1656
|
label?: string | undefined;
|
|
1206
|
-
value: string;
|
|
1207
1657
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1658
|
+
value: string;
|
|
1208
1659
|
isPrimary: boolean;
|
|
1209
1660
|
isVerified: boolean;
|
|
1210
1661
|
}[] | undefined;
|
|
@@ -1219,8 +1670,8 @@ export interface INewResumePromptSchema {
|
|
|
1219
1670
|
perksAndBenefits?: {
|
|
1220
1671
|
category?: {
|
|
1221
1672
|
logo?: string | undefined;
|
|
1222
|
-
name: string;
|
|
1223
1673
|
id: string;
|
|
1674
|
+
name: string;
|
|
1224
1675
|
} | {
|
|
1225
1676
|
value: "others" | (string | undefined)[];
|
|
1226
1677
|
otherValue: string | string[];
|
|
@@ -1228,30 +1679,32 @@ export interface INewResumePromptSchema {
|
|
|
1228
1679
|
name: string;
|
|
1229
1680
|
description: string;
|
|
1230
1681
|
}[] | undefined;
|
|
1231
|
-
|
|
1682
|
+
updatedBy?: string | undefined;
|
|
1683
|
+
updatedAt?: number | undefined;
|
|
1684
|
+
slug: string;
|
|
1232
1685
|
id: string;
|
|
1686
|
+
shortId: string;
|
|
1687
|
+
name: string;
|
|
1688
|
+
about: string;
|
|
1689
|
+
website: string;
|
|
1690
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1233
1691
|
logo: {
|
|
1234
1692
|
dark?: string | undefined;
|
|
1235
1693
|
light: string;
|
|
1236
1694
|
} | null;
|
|
1237
|
-
shortId: string;
|
|
1238
|
-
createdBy: string;
|
|
1239
|
-
createdAt: number;
|
|
1240
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1241
|
-
slug: string;
|
|
1242
|
-
about: string;
|
|
1243
|
-
website: string;
|
|
1244
1695
|
categories: {
|
|
1245
1696
|
logo?: string | undefined;
|
|
1246
|
-
name: string;
|
|
1247
1697
|
id: string;
|
|
1698
|
+
name: string;
|
|
1248
1699
|
}[];
|
|
1249
1700
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
1250
|
-
|
|
1701
|
+
createdBy: string;
|
|
1702
|
+
createdAt: number;
|
|
1703
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
1251
1704
|
designation: NonNullable<{
|
|
1252
1705
|
logo?: string | undefined;
|
|
1253
|
-
name: string;
|
|
1254
1706
|
id: string;
|
|
1707
|
+
name: string;
|
|
1255
1708
|
} | {
|
|
1256
1709
|
value: "others" | (string | undefined)[];
|
|
1257
1710
|
otherValue: string | string[];
|
|
@@ -1300,8 +1753,6 @@ export interface INewResumePromptSchema {
|
|
|
1300
1753
|
value: "others" | (string | undefined)[];
|
|
1301
1754
|
otherValue: string | string[];
|
|
1302
1755
|
} | Pick<{
|
|
1303
|
-
updatedBy?: string | undefined;
|
|
1304
|
-
updatedAt?: number | undefined;
|
|
1305
1756
|
headline?: string | undefined;
|
|
1306
1757
|
employeeCount?: string | undefined;
|
|
1307
1758
|
yearFounded?: string | undefined;
|
|
@@ -1317,8 +1768,8 @@ export interface INewResumePromptSchema {
|
|
|
1317
1768
|
}[] | undefined;
|
|
1318
1769
|
contacts?: {
|
|
1319
1770
|
label?: string | undefined;
|
|
1320
|
-
value: string;
|
|
1321
1771
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1772
|
+
value: string;
|
|
1322
1773
|
isPrimary: boolean;
|
|
1323
1774
|
isVerified: boolean;
|
|
1324
1775
|
}[] | undefined;
|
|
@@ -1333,8 +1784,8 @@ export interface INewResumePromptSchema {
|
|
|
1333
1784
|
perksAndBenefits?: {
|
|
1334
1785
|
category?: {
|
|
1335
1786
|
logo?: string | undefined;
|
|
1336
|
-
name: string;
|
|
1337
1787
|
id: string;
|
|
1788
|
+
name: string;
|
|
1338
1789
|
} | {
|
|
1339
1790
|
value: "others" | (string | undefined)[];
|
|
1340
1791
|
otherValue: string | string[];
|
|
@@ -1342,38 +1793,40 @@ export interface INewResumePromptSchema {
|
|
|
1342
1793
|
name: string;
|
|
1343
1794
|
description: string;
|
|
1344
1795
|
}[] | undefined;
|
|
1345
|
-
|
|
1796
|
+
updatedBy?: string | undefined;
|
|
1797
|
+
updatedAt?: number | undefined;
|
|
1798
|
+
slug: string;
|
|
1346
1799
|
id: string;
|
|
1800
|
+
shortId: string;
|
|
1801
|
+
name: string;
|
|
1802
|
+
about: string;
|
|
1803
|
+
website: string;
|
|
1804
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1347
1805
|
logo: {
|
|
1348
1806
|
dark?: string | undefined;
|
|
1349
1807
|
light: string;
|
|
1350
1808
|
} | null;
|
|
1351
|
-
shortId: string;
|
|
1352
|
-
createdBy: string;
|
|
1353
|
-
createdAt: number;
|
|
1354
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1355
|
-
slug: string;
|
|
1356
|
-
about: string;
|
|
1357
|
-
website: string;
|
|
1358
1809
|
categories: {
|
|
1359
1810
|
logo?: string | undefined;
|
|
1360
|
-
name: string;
|
|
1361
1811
|
id: string;
|
|
1812
|
+
name: string;
|
|
1362
1813
|
}[];
|
|
1363
1814
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
1364
|
-
|
|
1815
|
+
createdBy: string;
|
|
1816
|
+
createdAt: number;
|
|
1817
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
1365
1818
|
course: NonNullable<{
|
|
1366
1819
|
logo?: string | undefined;
|
|
1367
|
-
name: string;
|
|
1368
1820
|
id: string;
|
|
1821
|
+
name: string;
|
|
1369
1822
|
} | {
|
|
1370
1823
|
value: "others" | (string | undefined)[];
|
|
1371
1824
|
otherValue: string | string[];
|
|
1372
1825
|
} | undefined>;
|
|
1373
1826
|
fieldOfStudy: NonNullable<NonNullable<{
|
|
1374
1827
|
logo?: string | undefined;
|
|
1375
|
-
name: string;
|
|
1376
1828
|
id: string;
|
|
1829
|
+
name: string;
|
|
1377
1830
|
} | {
|
|
1378
1831
|
value: "others" | (string | undefined)[];
|
|
1379
1832
|
otherValue: string | string[];
|
|
@@ -1404,24 +1857,24 @@ export interface INewResumePromptSchema {
|
|
|
1404
1857
|
}[];
|
|
1405
1858
|
interests: {
|
|
1406
1859
|
logo?: string | undefined;
|
|
1407
|
-
name: string;
|
|
1408
1860
|
id: string;
|
|
1861
|
+
name: string;
|
|
1409
1862
|
}[];
|
|
1410
1863
|
languages: {
|
|
1411
1864
|
isNew: boolean;
|
|
1412
1865
|
proficiencyLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ProficiencyLevel | undefined>;
|
|
1413
1866
|
language: NonNullable<{
|
|
1414
1867
|
logo?: string | undefined;
|
|
1415
|
-
name: string;
|
|
1416
1868
|
id: string;
|
|
1869
|
+
name: string;
|
|
1417
1870
|
} | {
|
|
1418
1871
|
value: "others" | (string | undefined)[];
|
|
1419
1872
|
otherValue: string | string[];
|
|
1420
1873
|
} | undefined>;
|
|
1421
1874
|
}[];
|
|
1422
1875
|
additionalInfo: {
|
|
1423
|
-
description: string;
|
|
1424
1876
|
isNew: boolean;
|
|
1877
|
+
description: string;
|
|
1425
1878
|
title: string;
|
|
1426
1879
|
}[];
|
|
1427
1880
|
roles: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserRole | undefined)[];
|
|
@@ -1434,9 +1887,9 @@ export interface ISkillSchema {
|
|
|
1434
1887
|
updatedBy?: string | undefined;
|
|
1435
1888
|
updatedAt?: number | undefined;
|
|
1436
1889
|
tags?: (string | undefined)[] | undefined;
|
|
1437
|
-
name: string;
|
|
1438
1890
|
id: string;
|
|
1439
1891
|
shortId: string;
|
|
1892
|
+
name: string;
|
|
1440
1893
|
createdBy: string;
|
|
1441
1894
|
createdAt: number;
|
|
1442
1895
|
}
|
|
@@ -1461,8 +1914,8 @@ export interface ICreateUserSchema {
|
|
|
1461
1914
|
}
|
|
1462
1915
|
export interface IUpdateUserAdditionalInfoSchema {
|
|
1463
1916
|
additionalInfo: {
|
|
1464
|
-
description: string;
|
|
1465
1917
|
isNew: boolean;
|
|
1918
|
+
description: string;
|
|
1466
1919
|
title: string;
|
|
1467
1920
|
}[];
|
|
1468
1921
|
}
|
|
@@ -1504,8 +1957,6 @@ export interface IUpdateEducationsSchema {
|
|
|
1504
1957
|
value: "others" | (string | undefined)[];
|
|
1505
1958
|
otherValue: string | string[];
|
|
1506
1959
|
} | Pick<{
|
|
1507
|
-
updatedBy?: string | undefined;
|
|
1508
|
-
updatedAt?: number | undefined;
|
|
1509
1960
|
headline?: string | undefined;
|
|
1510
1961
|
employeeCount?: string | undefined;
|
|
1511
1962
|
yearFounded?: string | undefined;
|
|
@@ -1521,8 +1972,8 @@ export interface IUpdateEducationsSchema {
|
|
|
1521
1972
|
}[] | undefined;
|
|
1522
1973
|
contacts?: {
|
|
1523
1974
|
label?: string | undefined;
|
|
1524
|
-
value: string;
|
|
1525
1975
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
1976
|
+
value: string;
|
|
1526
1977
|
isPrimary: boolean;
|
|
1527
1978
|
isVerified: boolean;
|
|
1528
1979
|
}[] | undefined;
|
|
@@ -1537,8 +1988,8 @@ export interface IUpdateEducationsSchema {
|
|
|
1537
1988
|
perksAndBenefits?: {
|
|
1538
1989
|
category?: {
|
|
1539
1990
|
logo?: string | undefined;
|
|
1540
|
-
name: string;
|
|
1541
1991
|
id: string;
|
|
1992
|
+
name: string;
|
|
1542
1993
|
} | {
|
|
1543
1994
|
value: "others" | (string | undefined)[];
|
|
1544
1995
|
otherValue: string | string[];
|
|
@@ -1546,38 +1997,40 @@ export interface IUpdateEducationsSchema {
|
|
|
1546
1997
|
name: string;
|
|
1547
1998
|
description: string;
|
|
1548
1999
|
}[] | undefined;
|
|
1549
|
-
|
|
2000
|
+
updatedBy?: string | undefined;
|
|
2001
|
+
updatedAt?: number | undefined;
|
|
2002
|
+
slug: string;
|
|
1550
2003
|
id: string;
|
|
2004
|
+
shortId: string;
|
|
2005
|
+
name: string;
|
|
2006
|
+
about: string;
|
|
2007
|
+
website: string;
|
|
2008
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1551
2009
|
logo: {
|
|
1552
2010
|
dark?: string | undefined;
|
|
1553
2011
|
light: string;
|
|
1554
2012
|
} | null;
|
|
1555
|
-
shortId: string;
|
|
1556
|
-
createdBy: string;
|
|
1557
|
-
createdAt: number;
|
|
1558
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1559
|
-
slug: string;
|
|
1560
|
-
about: string;
|
|
1561
|
-
website: string;
|
|
1562
2013
|
categories: {
|
|
1563
2014
|
logo?: string | undefined;
|
|
1564
|
-
name: string;
|
|
1565
2015
|
id: string;
|
|
2016
|
+
name: string;
|
|
1566
2017
|
}[];
|
|
1567
2018
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
1568
|
-
|
|
2019
|
+
createdBy: string;
|
|
2020
|
+
createdAt: number;
|
|
2021
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
1569
2022
|
course: NonNullable<{
|
|
1570
2023
|
logo?: string | undefined;
|
|
1571
|
-
name: string;
|
|
1572
2024
|
id: string;
|
|
2025
|
+
name: string;
|
|
1573
2026
|
} | {
|
|
1574
2027
|
value: "others" | (string | undefined)[];
|
|
1575
2028
|
otherValue: string | string[];
|
|
1576
2029
|
} | undefined>;
|
|
1577
2030
|
fieldOfStudy: NonNullable<NonNullable<{
|
|
1578
2031
|
logo?: string | undefined;
|
|
1579
|
-
name: string;
|
|
1580
2032
|
id: string;
|
|
2033
|
+
name: string;
|
|
1581
2034
|
} | {
|
|
1582
2035
|
value: "others" | (string | undefined)[];
|
|
1583
2036
|
otherValue: string | string[];
|
|
@@ -1589,8 +2042,8 @@ export interface IUpdateEducationsSchema {
|
|
|
1589
2042
|
export interface IUpdateInterestsSchema {
|
|
1590
2043
|
interests: {
|
|
1591
2044
|
logo?: string | undefined;
|
|
1592
|
-
name: string;
|
|
1593
2045
|
id: string;
|
|
2046
|
+
name: string;
|
|
1594
2047
|
}[];
|
|
1595
2048
|
}
|
|
1596
2049
|
export interface IUpdateLanguagesSchema {
|
|
@@ -1599,8 +2052,8 @@ export interface IUpdateLanguagesSchema {
|
|
|
1599
2052
|
proficiencyLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ProficiencyLevel | undefined>;
|
|
1600
2053
|
language: NonNullable<{
|
|
1601
2054
|
logo?: string | undefined;
|
|
1602
|
-
name: string;
|
|
1603
2055
|
id: string;
|
|
2056
|
+
name: string;
|
|
1604
2057
|
} | {
|
|
1605
2058
|
value: "others" | (string | undefined)[];
|
|
1606
2059
|
otherValue: string | string[];
|
|
@@ -1623,8 +2076,8 @@ export interface IUpdateUserSkillsSchema {
|
|
|
1623
2076
|
skills: {
|
|
1624
2077
|
skill: NonNullable<{
|
|
1625
2078
|
logo?: string | undefined;
|
|
1626
|
-
name: string;
|
|
1627
2079
|
id: string;
|
|
2080
|
+
name: string;
|
|
1628
2081
|
} | {
|
|
1629
2082
|
value: "others" | (string | undefined)[];
|
|
1630
2083
|
otherValue: string | string[];
|
|
@@ -1641,8 +2094,8 @@ export interface IUpdateSocialAccountsSchema {
|
|
|
1641
2094
|
}[];
|
|
1642
2095
|
}
|
|
1643
2096
|
export interface IUpdateUserSchema {
|
|
1644
|
-
description?: string | undefined;
|
|
1645
2097
|
headline?: string | undefined;
|
|
2098
|
+
description?: string | undefined;
|
|
1646
2099
|
emailVerified?: string | null | undefined;
|
|
1647
2100
|
name: {
|
|
1648
2101
|
last?: string | undefined;
|
|
@@ -1657,8 +2110,6 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1657
2110
|
value: "others" | (string | undefined)[];
|
|
1658
2111
|
otherValue: string | string[];
|
|
1659
2112
|
} | Pick<{
|
|
1660
|
-
updatedBy?: string | undefined;
|
|
1661
|
-
updatedAt?: number | undefined;
|
|
1662
2113
|
headline?: string | undefined;
|
|
1663
2114
|
employeeCount?: string | undefined;
|
|
1664
2115
|
yearFounded?: string | undefined;
|
|
@@ -1674,8 +2125,8 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1674
2125
|
}[] | undefined;
|
|
1675
2126
|
contacts?: {
|
|
1676
2127
|
label?: string | undefined;
|
|
1677
|
-
value: string;
|
|
1678
2128
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2129
|
+
value: string;
|
|
1679
2130
|
isPrimary: boolean;
|
|
1680
2131
|
isVerified: boolean;
|
|
1681
2132
|
}[] | undefined;
|
|
@@ -1690,8 +2141,8 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1690
2141
|
perksAndBenefits?: {
|
|
1691
2142
|
category?: {
|
|
1692
2143
|
logo?: string | undefined;
|
|
1693
|
-
name: string;
|
|
1694
2144
|
id: string;
|
|
2145
|
+
name: string;
|
|
1695
2146
|
} | {
|
|
1696
2147
|
value: "others" | (string | undefined)[];
|
|
1697
2148
|
otherValue: string | string[];
|
|
@@ -1699,30 +2150,32 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1699
2150
|
name: string;
|
|
1700
2151
|
description: string;
|
|
1701
2152
|
}[] | undefined;
|
|
1702
|
-
|
|
2153
|
+
updatedBy?: string | undefined;
|
|
2154
|
+
updatedAt?: number | undefined;
|
|
2155
|
+
slug: string;
|
|
1703
2156
|
id: string;
|
|
2157
|
+
shortId: string;
|
|
2158
|
+
name: string;
|
|
2159
|
+
about: string;
|
|
2160
|
+
website: string;
|
|
2161
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1704
2162
|
logo: {
|
|
1705
2163
|
dark?: string | undefined;
|
|
1706
2164
|
light: string;
|
|
1707
2165
|
} | null;
|
|
1708
|
-
shortId: string;
|
|
1709
|
-
createdBy: string;
|
|
1710
|
-
createdAt: number;
|
|
1711
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1712
|
-
slug: string;
|
|
1713
|
-
about: string;
|
|
1714
|
-
website: string;
|
|
1715
2166
|
categories: {
|
|
1716
2167
|
logo?: string | undefined;
|
|
1717
|
-
name: string;
|
|
1718
2168
|
id: string;
|
|
2169
|
+
name: string;
|
|
1719
2170
|
}[];
|
|
1720
2171
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
1721
|
-
|
|
2172
|
+
createdBy: string;
|
|
2173
|
+
createdAt: number;
|
|
2174
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
1722
2175
|
designation: NonNullable<{
|
|
1723
2176
|
logo?: string | undefined;
|
|
1724
|
-
name: string;
|
|
1725
2177
|
id: string;
|
|
2178
|
+
name: string;
|
|
1726
2179
|
} | {
|
|
1727
2180
|
value: "others" | (string | undefined)[];
|
|
1728
2181
|
otherValue: string | string[];
|
|
@@ -1806,8 +2259,8 @@ export interface IUserCompletenessSchema {
|
|
|
1806
2259
|
};
|
|
1807
2260
|
}
|
|
1808
2261
|
export interface IUserSchema {
|
|
1809
|
-
id?: string | undefined;
|
|
1810
2262
|
headline?: string | undefined;
|
|
2263
|
+
id?: string | undefined;
|
|
1811
2264
|
emailVerified?: string | null | undefined;
|
|
1812
2265
|
image?: string | undefined;
|
|
1813
2266
|
aboutMe?: string | undefined;
|
|
@@ -1825,8 +2278,8 @@ export interface IUserSchema {
|
|
|
1825
2278
|
skills: {
|
|
1826
2279
|
skill: NonNullable<{
|
|
1827
2280
|
logo?: string | undefined;
|
|
1828
|
-
name: string;
|
|
1829
2281
|
id: string;
|
|
2282
|
+
name: string;
|
|
1830
2283
|
} | {
|
|
1831
2284
|
value: "others" | (string | undefined)[];
|
|
1832
2285
|
otherValue: string | string[];
|
|
@@ -1863,8 +2316,6 @@ export interface IUserSchema {
|
|
|
1863
2316
|
value: "others" | (string | undefined)[];
|
|
1864
2317
|
otherValue: string | string[];
|
|
1865
2318
|
} | Pick<{
|
|
1866
|
-
updatedBy?: string | undefined;
|
|
1867
|
-
updatedAt?: number | undefined;
|
|
1868
2319
|
headline?: string | undefined;
|
|
1869
2320
|
employeeCount?: string | undefined;
|
|
1870
2321
|
yearFounded?: string | undefined;
|
|
@@ -1880,8 +2331,8 @@ export interface IUserSchema {
|
|
|
1880
2331
|
}[] | undefined;
|
|
1881
2332
|
contacts?: {
|
|
1882
2333
|
label?: string | undefined;
|
|
1883
|
-
value: string;
|
|
1884
2334
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2335
|
+
value: string;
|
|
1885
2336
|
isPrimary: boolean;
|
|
1886
2337
|
isVerified: boolean;
|
|
1887
2338
|
}[] | undefined;
|
|
@@ -1896,8 +2347,8 @@ export interface IUserSchema {
|
|
|
1896
2347
|
perksAndBenefits?: {
|
|
1897
2348
|
category?: {
|
|
1898
2349
|
logo?: string | undefined;
|
|
1899
|
-
name: string;
|
|
1900
2350
|
id: string;
|
|
2351
|
+
name: string;
|
|
1901
2352
|
} | {
|
|
1902
2353
|
value: "others" | (string | undefined)[];
|
|
1903
2354
|
otherValue: string | string[];
|
|
@@ -1905,30 +2356,32 @@ export interface IUserSchema {
|
|
|
1905
2356
|
name: string;
|
|
1906
2357
|
description: string;
|
|
1907
2358
|
}[] | undefined;
|
|
1908
|
-
|
|
2359
|
+
updatedBy?: string | undefined;
|
|
2360
|
+
updatedAt?: number | undefined;
|
|
2361
|
+
slug: string;
|
|
1909
2362
|
id: string;
|
|
2363
|
+
shortId: string;
|
|
2364
|
+
name: string;
|
|
2365
|
+
about: string;
|
|
2366
|
+
website: string;
|
|
2367
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1910
2368
|
logo: {
|
|
1911
2369
|
dark?: string | undefined;
|
|
1912
2370
|
light: string;
|
|
1913
2371
|
} | null;
|
|
1914
|
-
shortId: string;
|
|
1915
|
-
createdBy: string;
|
|
1916
|
-
createdAt: number;
|
|
1917
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1918
|
-
slug: string;
|
|
1919
|
-
about: string;
|
|
1920
|
-
website: string;
|
|
1921
2372
|
categories: {
|
|
1922
2373
|
logo?: string | undefined;
|
|
1923
|
-
name: string;
|
|
1924
2374
|
id: string;
|
|
2375
|
+
name: string;
|
|
1925
2376
|
}[];
|
|
1926
2377
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
1927
|
-
|
|
2378
|
+
createdBy: string;
|
|
2379
|
+
createdAt: number;
|
|
2380
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
1928
2381
|
designation: NonNullable<{
|
|
1929
2382
|
logo?: string | undefined;
|
|
1930
|
-
name: string;
|
|
1931
2383
|
id: string;
|
|
2384
|
+
name: string;
|
|
1932
2385
|
} | {
|
|
1933
2386
|
value: "others" | (string | undefined)[];
|
|
1934
2387
|
otherValue: string | string[];
|
|
@@ -1977,8 +2430,6 @@ export interface IUserSchema {
|
|
|
1977
2430
|
value: "others" | (string | undefined)[];
|
|
1978
2431
|
otherValue: string | string[];
|
|
1979
2432
|
} | Pick<{
|
|
1980
|
-
updatedBy?: string | undefined;
|
|
1981
|
-
updatedAt?: number | undefined;
|
|
1982
2433
|
headline?: string | undefined;
|
|
1983
2434
|
employeeCount?: string | undefined;
|
|
1984
2435
|
yearFounded?: string | undefined;
|
|
@@ -1994,8 +2445,8 @@ export interface IUserSchema {
|
|
|
1994
2445
|
}[] | undefined;
|
|
1995
2446
|
contacts?: {
|
|
1996
2447
|
label?: string | undefined;
|
|
1997
|
-
value: string;
|
|
1998
2448
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2449
|
+
value: string;
|
|
1999
2450
|
isPrimary: boolean;
|
|
2000
2451
|
isVerified: boolean;
|
|
2001
2452
|
}[] | undefined;
|
|
@@ -2010,8 +2461,8 @@ export interface IUserSchema {
|
|
|
2010
2461
|
perksAndBenefits?: {
|
|
2011
2462
|
category?: {
|
|
2012
2463
|
logo?: string | undefined;
|
|
2013
|
-
name: string;
|
|
2014
2464
|
id: string;
|
|
2465
|
+
name: string;
|
|
2015
2466
|
} | {
|
|
2016
2467
|
value: "others" | (string | undefined)[];
|
|
2017
2468
|
otherValue: string | string[];
|
|
@@ -2019,38 +2470,40 @@ export interface IUserSchema {
|
|
|
2019
2470
|
name: string;
|
|
2020
2471
|
description: string;
|
|
2021
2472
|
}[] | undefined;
|
|
2022
|
-
|
|
2473
|
+
updatedBy?: string | undefined;
|
|
2474
|
+
updatedAt?: number | undefined;
|
|
2475
|
+
slug: string;
|
|
2023
2476
|
id: string;
|
|
2477
|
+
shortId: string;
|
|
2478
|
+
name: string;
|
|
2479
|
+
about: string;
|
|
2480
|
+
website: string;
|
|
2481
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2024
2482
|
logo: {
|
|
2025
2483
|
dark?: string | undefined;
|
|
2026
2484
|
light: string;
|
|
2027
2485
|
} | null;
|
|
2028
|
-
shortId: string;
|
|
2029
|
-
createdBy: string;
|
|
2030
|
-
createdAt: number;
|
|
2031
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2032
|
-
slug: string;
|
|
2033
|
-
about: string;
|
|
2034
|
-
website: string;
|
|
2035
2486
|
categories: {
|
|
2036
2487
|
logo?: string | undefined;
|
|
2037
|
-
name: string;
|
|
2038
2488
|
id: string;
|
|
2489
|
+
name: string;
|
|
2039
2490
|
}[];
|
|
2040
2491
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
2041
|
-
|
|
2492
|
+
createdBy: string;
|
|
2493
|
+
createdAt: number;
|
|
2494
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
2042
2495
|
course: NonNullable<{
|
|
2043
2496
|
logo?: string | undefined;
|
|
2044
|
-
name: string;
|
|
2045
2497
|
id: string;
|
|
2498
|
+
name: string;
|
|
2046
2499
|
} | {
|
|
2047
2500
|
value: "others" | (string | undefined)[];
|
|
2048
2501
|
otherValue: string | string[];
|
|
2049
2502
|
} | undefined>;
|
|
2050
2503
|
fieldOfStudy: NonNullable<NonNullable<{
|
|
2051
2504
|
logo?: string | undefined;
|
|
2052
|
-
name: string;
|
|
2053
2505
|
id: string;
|
|
2506
|
+
name: string;
|
|
2054
2507
|
} | {
|
|
2055
2508
|
value: "others" | (string | undefined)[];
|
|
2056
2509
|
otherValue: string | string[];
|
|
@@ -2081,29 +2534,29 @@ export interface IUserSchema {
|
|
|
2081
2534
|
}[];
|
|
2082
2535
|
interests: {
|
|
2083
2536
|
logo?: string | undefined;
|
|
2084
|
-
name: string;
|
|
2085
2537
|
id: string;
|
|
2538
|
+
name: string;
|
|
2086
2539
|
}[];
|
|
2087
2540
|
languages: {
|
|
2088
2541
|
isNew: boolean;
|
|
2089
2542
|
proficiencyLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ProficiencyLevel | undefined>;
|
|
2090
2543
|
language: NonNullable<{
|
|
2091
2544
|
logo?: string | undefined;
|
|
2092
|
-
name: string;
|
|
2093
2545
|
id: string;
|
|
2546
|
+
name: string;
|
|
2094
2547
|
} | {
|
|
2095
2548
|
value: "others" | (string | undefined)[];
|
|
2096
2549
|
otherValue: string | string[];
|
|
2097
2550
|
} | undefined>;
|
|
2098
2551
|
}[];
|
|
2099
2552
|
additionalInfo: {
|
|
2100
|
-
description: string;
|
|
2101
2553
|
isNew: boolean;
|
|
2554
|
+
description: string;
|
|
2102
2555
|
title: string;
|
|
2103
2556
|
}[];
|
|
2104
2557
|
roles: (import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").UserRole | undefined)[];
|
|
2105
2558
|
}
|
|
2106
|
-
export interface
|
|
2559
|
+
export interface IUserProfileOverview {
|
|
2107
2560
|
name: {
|
|
2108
2561
|
first: string;
|
|
2109
2562
|
last: string;
|
|
@@ -2139,8 +2592,6 @@ export interface IserProfileOverview {
|
|
|
2139
2592
|
value: "others" | (string | undefined)[];
|
|
2140
2593
|
otherValue: string | string[];
|
|
2141
2594
|
} | Pick<{
|
|
2142
|
-
updatedBy?: string | undefined;
|
|
2143
|
-
updatedAt?: number | undefined;
|
|
2144
2595
|
headline?: string | undefined;
|
|
2145
2596
|
employeeCount?: string | undefined;
|
|
2146
2597
|
yearFounded?: string | undefined;
|
|
@@ -2156,8 +2607,8 @@ export interface IserProfileOverview {
|
|
|
2156
2607
|
}[] | undefined;
|
|
2157
2608
|
contacts?: {
|
|
2158
2609
|
label?: string | undefined;
|
|
2159
|
-
value: string;
|
|
2160
2610
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2611
|
+
value: string;
|
|
2161
2612
|
isPrimary: boolean;
|
|
2162
2613
|
isVerified: boolean;
|
|
2163
2614
|
}[] | undefined;
|
|
@@ -2172,8 +2623,8 @@ export interface IserProfileOverview {
|
|
|
2172
2623
|
perksAndBenefits?: {
|
|
2173
2624
|
category?: {
|
|
2174
2625
|
logo?: string | undefined;
|
|
2175
|
-
name: string;
|
|
2176
2626
|
id: string;
|
|
2627
|
+
name: string;
|
|
2177
2628
|
} | {
|
|
2178
2629
|
value: "others" | (string | undefined)[];
|
|
2179
2630
|
otherValue: string | string[];
|
|
@@ -2181,30 +2632,32 @@ export interface IserProfileOverview {
|
|
|
2181
2632
|
name: string;
|
|
2182
2633
|
description: string;
|
|
2183
2634
|
}[] | undefined;
|
|
2184
|
-
|
|
2635
|
+
updatedBy?: string | undefined;
|
|
2636
|
+
updatedAt?: number | undefined;
|
|
2637
|
+
slug: string;
|
|
2185
2638
|
id: string;
|
|
2639
|
+
shortId: string;
|
|
2640
|
+
name: string;
|
|
2641
|
+
about: string;
|
|
2642
|
+
website: string;
|
|
2643
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2186
2644
|
logo: {
|
|
2187
2645
|
dark?: string | undefined;
|
|
2188
2646
|
light: string;
|
|
2189
2647
|
} | null;
|
|
2190
|
-
shortId: string;
|
|
2191
|
-
createdBy: string;
|
|
2192
|
-
createdAt: number;
|
|
2193
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2194
|
-
slug: string;
|
|
2195
|
-
about: string;
|
|
2196
|
-
website: string;
|
|
2197
2648
|
categories: {
|
|
2198
2649
|
logo?: string | undefined;
|
|
2199
|
-
name: string;
|
|
2200
2650
|
id: string;
|
|
2651
|
+
name: string;
|
|
2201
2652
|
}[];
|
|
2202
2653
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
2203
|
-
|
|
2654
|
+
createdBy: string;
|
|
2655
|
+
createdAt: number;
|
|
2656
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
2204
2657
|
designation: NonNullable<{
|
|
2205
2658
|
logo?: string | undefined;
|
|
2206
|
-
name: string;
|
|
2207
2659
|
id: string;
|
|
2660
|
+
name: string;
|
|
2208
2661
|
} | {
|
|
2209
2662
|
value: "others" | (string | undefined)[];
|
|
2210
2663
|
otherValue: string | string[];
|
|
@@ -2253,8 +2706,6 @@ export interface IserProfileOverview {
|
|
|
2253
2706
|
value: "others" | (string | undefined)[];
|
|
2254
2707
|
otherValue: string | string[];
|
|
2255
2708
|
} | Pick<{
|
|
2256
|
-
updatedBy?: string | undefined;
|
|
2257
|
-
updatedAt?: number | undefined;
|
|
2258
2709
|
headline?: string | undefined;
|
|
2259
2710
|
employeeCount?: string | undefined;
|
|
2260
2711
|
yearFounded?: string | undefined;
|
|
@@ -2270,8 +2721,8 @@ export interface IserProfileOverview {
|
|
|
2270
2721
|
}[] | undefined;
|
|
2271
2722
|
contacts?: {
|
|
2272
2723
|
label?: string | undefined;
|
|
2273
|
-
value: string;
|
|
2274
2724
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2725
|
+
value: string;
|
|
2275
2726
|
isPrimary: boolean;
|
|
2276
2727
|
isVerified: boolean;
|
|
2277
2728
|
}[] | undefined;
|
|
@@ -2286,8 +2737,8 @@ export interface IserProfileOverview {
|
|
|
2286
2737
|
perksAndBenefits?: {
|
|
2287
2738
|
category?: {
|
|
2288
2739
|
logo?: string | undefined;
|
|
2289
|
-
name: string;
|
|
2290
2740
|
id: string;
|
|
2741
|
+
name: string;
|
|
2291
2742
|
} | {
|
|
2292
2743
|
value: "others" | (string | undefined)[];
|
|
2293
2744
|
otherValue: string | string[];
|
|
@@ -2295,38 +2746,40 @@ export interface IserProfileOverview {
|
|
|
2295
2746
|
name: string;
|
|
2296
2747
|
description: string;
|
|
2297
2748
|
}[] | undefined;
|
|
2298
|
-
|
|
2749
|
+
updatedBy?: string | undefined;
|
|
2750
|
+
updatedAt?: number | undefined;
|
|
2751
|
+
slug: string;
|
|
2299
2752
|
id: string;
|
|
2753
|
+
shortId: string;
|
|
2754
|
+
name: string;
|
|
2755
|
+
about: string;
|
|
2756
|
+
website: string;
|
|
2757
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2300
2758
|
logo: {
|
|
2301
2759
|
dark?: string | undefined;
|
|
2302
2760
|
light: string;
|
|
2303
2761
|
} | null;
|
|
2304
|
-
shortId: string;
|
|
2305
|
-
createdBy: string;
|
|
2306
|
-
createdAt: number;
|
|
2307
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2308
|
-
slug: string;
|
|
2309
|
-
about: string;
|
|
2310
|
-
website: string;
|
|
2311
2762
|
categories: {
|
|
2312
2763
|
logo?: string | undefined;
|
|
2313
|
-
name: string;
|
|
2314
2764
|
id: string;
|
|
2765
|
+
name: string;
|
|
2315
2766
|
}[];
|
|
2316
2767
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
2317
|
-
|
|
2768
|
+
createdBy: string;
|
|
2769
|
+
createdAt: number;
|
|
2770
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
2318
2771
|
course: NonNullable<{
|
|
2319
2772
|
logo?: string | undefined;
|
|
2320
|
-
name: string;
|
|
2321
2773
|
id: string;
|
|
2774
|
+
name: string;
|
|
2322
2775
|
} | {
|
|
2323
2776
|
value: "others" | (string | undefined)[];
|
|
2324
2777
|
otherValue: string | string[];
|
|
2325
2778
|
} | undefined>;
|
|
2326
2779
|
fieldOfStudy: NonNullable<NonNullable<{
|
|
2327
2780
|
logo?: string | undefined;
|
|
2328
|
-
name: string;
|
|
2329
2781
|
id: string;
|
|
2782
|
+
name: string;
|
|
2330
2783
|
} | {
|
|
2331
2784
|
value: "others" | (string | undefined)[];
|
|
2332
2785
|
otherValue: string | string[];
|
|
@@ -2340,8 +2793,8 @@ export interface ICompanySchema {
|
|
|
2340
2793
|
perksAndBenefits?: {
|
|
2341
2794
|
category?: {
|
|
2342
2795
|
logo?: string | undefined;
|
|
2343
|
-
name: string;
|
|
2344
2796
|
id: string;
|
|
2797
|
+
name: string;
|
|
2345
2798
|
} | {
|
|
2346
2799
|
value: "others" | (string | undefined)[];
|
|
2347
2800
|
otherValue: string | string[];
|
|
@@ -2384,8 +2837,6 @@ export interface IEducationSchema {
|
|
|
2384
2837
|
value: "others" | (string | undefined)[];
|
|
2385
2838
|
otherValue: string | string[];
|
|
2386
2839
|
} | Pick<{
|
|
2387
|
-
updatedBy?: string | undefined;
|
|
2388
|
-
updatedAt?: number | undefined;
|
|
2389
2840
|
headline?: string | undefined;
|
|
2390
2841
|
employeeCount?: string | undefined;
|
|
2391
2842
|
yearFounded?: string | undefined;
|
|
@@ -2401,8 +2852,8 @@ export interface IEducationSchema {
|
|
|
2401
2852
|
}[] | undefined;
|
|
2402
2853
|
contacts?: {
|
|
2403
2854
|
label?: string | undefined;
|
|
2404
|
-
value: string;
|
|
2405
2855
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
2856
|
+
value: string;
|
|
2406
2857
|
isPrimary: boolean;
|
|
2407
2858
|
isVerified: boolean;
|
|
2408
2859
|
}[] | undefined;
|
|
@@ -2417,8 +2868,8 @@ export interface IEducationSchema {
|
|
|
2417
2868
|
perksAndBenefits?: {
|
|
2418
2869
|
category?: {
|
|
2419
2870
|
logo?: string | undefined;
|
|
2420
|
-
name: string;
|
|
2421
2871
|
id: string;
|
|
2872
|
+
name: string;
|
|
2422
2873
|
} | {
|
|
2423
2874
|
value: "others" | (string | undefined)[];
|
|
2424
2875
|
otherValue: string | string[];
|
|
@@ -2426,38 +2877,40 @@ export interface IEducationSchema {
|
|
|
2426
2877
|
name: string;
|
|
2427
2878
|
description: string;
|
|
2428
2879
|
}[] | undefined;
|
|
2429
|
-
|
|
2880
|
+
updatedBy?: string | undefined;
|
|
2881
|
+
updatedAt?: number | undefined;
|
|
2882
|
+
slug: string;
|
|
2430
2883
|
id: string;
|
|
2884
|
+
shortId: string;
|
|
2885
|
+
name: string;
|
|
2886
|
+
about: string;
|
|
2887
|
+
website: string;
|
|
2888
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2431
2889
|
logo: {
|
|
2432
2890
|
dark?: string | undefined;
|
|
2433
2891
|
light: string;
|
|
2434
2892
|
} | null;
|
|
2435
|
-
shortId: string;
|
|
2436
|
-
createdBy: string;
|
|
2437
|
-
createdAt: number;
|
|
2438
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2439
|
-
slug: string;
|
|
2440
|
-
about: string;
|
|
2441
|
-
website: string;
|
|
2442
2893
|
categories: {
|
|
2443
2894
|
logo?: string | undefined;
|
|
2444
|
-
name: string;
|
|
2445
2895
|
id: string;
|
|
2896
|
+
name: string;
|
|
2446
2897
|
}[];
|
|
2447
2898
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
2448
|
-
|
|
2899
|
+
createdBy: string;
|
|
2900
|
+
createdAt: number;
|
|
2901
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
2449
2902
|
course: NonNullable<{
|
|
2450
2903
|
logo?: string | undefined;
|
|
2451
|
-
name: string;
|
|
2452
2904
|
id: string;
|
|
2905
|
+
name: string;
|
|
2453
2906
|
} | {
|
|
2454
2907
|
value: "others" | (string | undefined)[];
|
|
2455
2908
|
otherValue: string | string[];
|
|
2456
2909
|
} | undefined>;
|
|
2457
2910
|
fieldOfStudy: NonNullable<NonNullable<{
|
|
2458
2911
|
logo?: string | undefined;
|
|
2459
|
-
name: string;
|
|
2460
2912
|
id: string;
|
|
2913
|
+
name: string;
|
|
2461
2914
|
} | {
|
|
2462
2915
|
value: "others" | (string | undefined)[];
|
|
2463
2916
|
otherValue: string | string[];
|
|
@@ -2466,8 +2919,8 @@ export interface IEducationSchema {
|
|
|
2466
2919
|
studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
|
|
2467
2920
|
}
|
|
2468
2921
|
export interface IUserGeneralDetailSchema {
|
|
2469
|
-
id?: string | undefined;
|
|
2470
2922
|
headline?: string | undefined;
|
|
2923
|
+
id?: string | undefined;
|
|
2471
2924
|
emailVerified?: string | null | undefined;
|
|
2472
2925
|
image?: string | undefined;
|
|
2473
2926
|
aboutMe?: string | undefined;
|
|
@@ -2511,8 +2964,8 @@ export interface IUserProjectSchema {
|
|
|
2511
2964
|
};
|
|
2512
2965
|
}
|
|
2513
2966
|
export interface IUserAdditionalInfoSchema {
|
|
2514
|
-
description: string;
|
|
2515
2967
|
isNew: boolean;
|
|
2968
|
+
description: string;
|
|
2516
2969
|
title: string;
|
|
2517
2970
|
}
|
|
2518
2971
|
export interface IUserCertificationSchema {
|
|
@@ -2528,16 +2981,16 @@ export interface IUserCertificationSchema {
|
|
|
2528
2981
|
}
|
|
2529
2982
|
export interface IUserInterestSchema {
|
|
2530
2983
|
logo?: string | undefined;
|
|
2531
|
-
name: string;
|
|
2532
2984
|
id: string;
|
|
2985
|
+
name: string;
|
|
2533
2986
|
}
|
|
2534
2987
|
export interface IUserLanguageSchema {
|
|
2535
2988
|
isNew: boolean;
|
|
2536
2989
|
proficiencyLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ProficiencyLevel | undefined>;
|
|
2537
2990
|
language: NonNullable<{
|
|
2538
2991
|
logo?: string | undefined;
|
|
2539
|
-
name: string;
|
|
2540
2992
|
id: string;
|
|
2993
|
+
name: string;
|
|
2541
2994
|
} | {
|
|
2542
2995
|
value: "others" | (string | undefined)[];
|
|
2543
2996
|
otherValue: string | string[];
|
|
@@ -2546,8 +2999,8 @@ export interface IUserLanguageSchema {
|
|
|
2546
2999
|
export interface IUserSkillSchema {
|
|
2547
3000
|
skill: NonNullable<{
|
|
2548
3001
|
logo?: string | undefined;
|
|
2549
|
-
name: string;
|
|
2550
3002
|
id: string;
|
|
3003
|
+
name: string;
|
|
2551
3004
|
} | {
|
|
2552
3005
|
value: "others" | (string | undefined)[];
|
|
2553
3006
|
otherValue: string | string[];
|
|
@@ -2561,8 +3014,6 @@ export interface IWorkExperienceSchema {
|
|
|
2561
3014
|
value: "others" | (string | undefined)[];
|
|
2562
3015
|
otherValue: string | string[];
|
|
2563
3016
|
} | Pick<{
|
|
2564
|
-
updatedBy?: string | undefined;
|
|
2565
|
-
updatedAt?: number | undefined;
|
|
2566
3017
|
headline?: string | undefined;
|
|
2567
3018
|
employeeCount?: string | undefined;
|
|
2568
3019
|
yearFounded?: string | undefined;
|
|
@@ -2578,8 +3029,8 @@ export interface IWorkExperienceSchema {
|
|
|
2578
3029
|
}[] | undefined;
|
|
2579
3030
|
contacts?: {
|
|
2580
3031
|
label?: string | undefined;
|
|
2581
|
-
value: string;
|
|
2582
3032
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
|
|
3033
|
+
value: string;
|
|
2583
3034
|
isPrimary: boolean;
|
|
2584
3035
|
isVerified: boolean;
|
|
2585
3036
|
}[] | undefined;
|
|
@@ -2594,8 +3045,8 @@ export interface IWorkExperienceSchema {
|
|
|
2594
3045
|
perksAndBenefits?: {
|
|
2595
3046
|
category?: {
|
|
2596
3047
|
logo?: string | undefined;
|
|
2597
|
-
name: string;
|
|
2598
3048
|
id: string;
|
|
3049
|
+
name: string;
|
|
2599
3050
|
} | {
|
|
2600
3051
|
value: "others" | (string | undefined)[];
|
|
2601
3052
|
otherValue: string | string[];
|
|
@@ -2603,30 +3054,32 @@ export interface IWorkExperienceSchema {
|
|
|
2603
3054
|
name: string;
|
|
2604
3055
|
description: string;
|
|
2605
3056
|
}[] | undefined;
|
|
2606
|
-
|
|
3057
|
+
updatedBy?: string | undefined;
|
|
3058
|
+
updatedAt?: number | undefined;
|
|
3059
|
+
slug: string;
|
|
2607
3060
|
id: string;
|
|
3061
|
+
shortId: string;
|
|
3062
|
+
name: string;
|
|
3063
|
+
about: string;
|
|
3064
|
+
website: string;
|
|
3065
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2608
3066
|
logo: {
|
|
2609
3067
|
dark?: string | undefined;
|
|
2610
3068
|
light: string;
|
|
2611
3069
|
} | null;
|
|
2612
|
-
shortId: string;
|
|
2613
|
-
createdBy: string;
|
|
2614
|
-
createdAt: number;
|
|
2615
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2616
|
-
slug: string;
|
|
2617
|
-
about: string;
|
|
2618
|
-
website: string;
|
|
2619
3070
|
categories: {
|
|
2620
3071
|
logo?: string | undefined;
|
|
2621
|
-
name: string;
|
|
2622
3072
|
id: string;
|
|
3073
|
+
name: string;
|
|
2623
3074
|
}[];
|
|
2624
3075
|
status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
|
|
2625
|
-
|
|
3076
|
+
createdBy: string;
|
|
3077
|
+
createdAt: number;
|
|
3078
|
+
}, "slug" | "name" | "type" | "logo"> | undefined>;
|
|
2626
3079
|
designation: NonNullable<{
|
|
2627
3080
|
logo?: string | undefined;
|
|
2628
|
-
name: string;
|
|
2629
3081
|
id: string;
|
|
3082
|
+
name: string;
|
|
2630
3083
|
} | {
|
|
2631
3084
|
value: "others" | (string | undefined)[];
|
|
2632
3085
|
otherValue: string | string[];
|
|
@@ -2654,8 +3107,8 @@ export interface IWorkExperienceSchema {
|
|
|
2654
3107
|
export interface IPerksAndBenefitSchema {
|
|
2655
3108
|
category?: {
|
|
2656
3109
|
logo?: string | undefined;
|
|
2657
|
-
name: string;
|
|
2658
3110
|
id: string;
|
|
3111
|
+
name: string;
|
|
2659
3112
|
} | {
|
|
2660
3113
|
value: "others" | (string | undefined)[];
|
|
2661
3114
|
otherValue: string | string[];
|