@thejob/schema 1.0.37 → 1.0.39
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/interfaces.index.d.ts +148 -3
- package/dist/cjs/interfaces.index.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.d.ts +42 -1
- package/dist/cjs/job/job.schema.d.ts.map +1 -1
- package/dist/cjs/job/utils.d.ts +3 -83
- package/dist/cjs/job/utils.d.ts.map +1 -1
- package/dist/cjs/job-application/job-application.schema.d.ts +11 -11
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts +42 -1
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts.map +1 -1
- package/dist/cjs/question/question.schema.d.ts +4 -2
- package/dist/cjs/question/question.schema.d.ts.map +1 -1
- package/dist/cjs/resume/resume.constant.d.ts +9 -8
- package/dist/cjs/resume/resume.constant.d.ts.map +1 -1
- package/dist/cjs/resume/resume.constant.js +9 -8
- package/dist/cjs/resume/resume.schema.d.ts +6 -0
- package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
- package/dist/cjs/resume/resume.schema.js +12 -8
- package/dist/esm/interfaces.index.d.ts +148 -3
- package/dist/esm/interfaces.index.d.ts.map +1 -1
- package/dist/esm/job/job.schema.d.ts +42 -1
- package/dist/esm/job/job.schema.d.ts.map +1 -1
- package/dist/esm/job/utils.d.ts +3 -83
- package/dist/esm/job/utils.d.ts.map +1 -1
- package/dist/esm/job-application/job-application.schema.d.ts +11 -11
- package/dist/esm/job-role-template/job-role-template.schema.d.ts +42 -1
- package/dist/esm/job-role-template/job-role-template.schema.d.ts.map +1 -1
- package/dist/esm/question/question.schema.d.ts +4 -2
- package/dist/esm/question/question.schema.d.ts.map +1 -1
- package/dist/esm/resume/resume.constant.d.ts +9 -8
- package/dist/esm/resume/resume.constant.d.ts.map +1 -1
- package/dist/esm/resume/resume.constant.js +9 -8
- package/dist/esm/resume/resume.schema.d.ts +6 -0
- package/dist/esm/resume/resume.schema.d.ts.map +1 -1
- package/dist/esm/resume/resume.schema.js +11 -7
- package/package.json +1 -1
|
@@ -161,6 +161,16 @@ export interface IAiPromptJobApplicationSummary {
|
|
|
161
161
|
workingHoursPerWeek?: number | undefined;
|
|
162
162
|
tags?: any[] | undefined;
|
|
163
163
|
questionnaire?: ({
|
|
164
|
+
label?: string | undefined;
|
|
165
|
+
isNew?: boolean | undefined;
|
|
166
|
+
isOptional?: boolean | undefined;
|
|
167
|
+
readonly?: boolean | undefined;
|
|
168
|
+
preferredAnswer?: string | undefined;
|
|
169
|
+
answers?: string | undefined;
|
|
170
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
171
|
+
default: boolean;
|
|
172
|
+
title: string;
|
|
173
|
+
} | {
|
|
164
174
|
label?: string | undefined;
|
|
165
175
|
isNew?: boolean | undefined;
|
|
166
176
|
isOptional?: boolean | undefined;
|
|
@@ -169,6 +179,26 @@ export interface IAiPromptJobApplicationSummary {
|
|
|
169
179
|
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
170
180
|
default: boolean;
|
|
171
181
|
title: string;
|
|
182
|
+
} | {
|
|
183
|
+
label?: string | undefined;
|
|
184
|
+
isNew?: boolean | undefined;
|
|
185
|
+
isOptional?: boolean | undefined;
|
|
186
|
+
readonly?: boolean | undefined;
|
|
187
|
+
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;
|
|
188
|
+
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;
|
|
189
|
+
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;
|
|
190
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
191
|
+
default: boolean;
|
|
192
|
+
title: string;
|
|
193
|
+
options: (string | {
|
|
194
|
+
logo?: string | undefined;
|
|
195
|
+
id: string;
|
|
196
|
+
name: string;
|
|
197
|
+
} | {
|
|
198
|
+
value: "others" | (string | undefined)[];
|
|
199
|
+
otherValue: string | string[];
|
|
200
|
+
} | undefined)[];
|
|
201
|
+
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
172
202
|
} | {
|
|
173
203
|
label?: string | undefined;
|
|
174
204
|
isNew?: boolean | undefined;
|
|
@@ -188,6 +218,17 @@ export interface IAiPromptJobApplicationSummary {
|
|
|
188
218
|
otherValue: string | string[];
|
|
189
219
|
} | undefined)[];
|
|
190
220
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
221
|
+
} | {
|
|
222
|
+
label?: string | undefined;
|
|
223
|
+
isNew?: boolean | undefined;
|
|
224
|
+
isOptional?: boolean | undefined;
|
|
225
|
+
readonly?: boolean | undefined;
|
|
226
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
|
|
227
|
+
description: string;
|
|
228
|
+
default: boolean;
|
|
229
|
+
title: string;
|
|
230
|
+
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>;
|
|
231
|
+
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>;
|
|
191
232
|
} | {
|
|
192
233
|
label?: string | undefined;
|
|
193
234
|
isNew?: boolean | undefined;
|
|
@@ -783,6 +824,16 @@ export interface IJobSchema {
|
|
|
783
824
|
workingHoursPerWeek?: number | undefined;
|
|
784
825
|
tags?: any[] | undefined;
|
|
785
826
|
questionnaire?: ({
|
|
827
|
+
label?: string | undefined;
|
|
828
|
+
isNew?: boolean | undefined;
|
|
829
|
+
isOptional?: boolean | undefined;
|
|
830
|
+
readonly?: boolean | undefined;
|
|
831
|
+
preferredAnswer?: string | undefined;
|
|
832
|
+
answers?: string | undefined;
|
|
833
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
834
|
+
default: boolean;
|
|
835
|
+
title: string;
|
|
836
|
+
} | {
|
|
786
837
|
label?: string | undefined;
|
|
787
838
|
isNew?: boolean | undefined;
|
|
788
839
|
isOptional?: boolean | undefined;
|
|
@@ -791,6 +842,26 @@ export interface IJobSchema {
|
|
|
791
842
|
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
792
843
|
default: boolean;
|
|
793
844
|
title: string;
|
|
845
|
+
} | {
|
|
846
|
+
label?: string | undefined;
|
|
847
|
+
isNew?: boolean | undefined;
|
|
848
|
+
isOptional?: boolean | undefined;
|
|
849
|
+
readonly?: boolean | undefined;
|
|
850
|
+
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;
|
|
851
|
+
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;
|
|
852
|
+
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;
|
|
853
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
854
|
+
default: boolean;
|
|
855
|
+
title: string;
|
|
856
|
+
options: (string | {
|
|
857
|
+
logo?: string | undefined;
|
|
858
|
+
id: string;
|
|
859
|
+
name: string;
|
|
860
|
+
} | {
|
|
861
|
+
value: "others" | (string | undefined)[];
|
|
862
|
+
otherValue: string | string[];
|
|
863
|
+
} | undefined)[];
|
|
864
|
+
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
794
865
|
} | {
|
|
795
866
|
label?: string | undefined;
|
|
796
867
|
isNew?: boolean | undefined;
|
|
@@ -810,6 +881,17 @@ export interface IJobSchema {
|
|
|
810
881
|
otherValue: string | string[];
|
|
811
882
|
} | undefined)[];
|
|
812
883
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
884
|
+
} | {
|
|
885
|
+
label?: string | undefined;
|
|
886
|
+
isNew?: boolean | undefined;
|
|
887
|
+
isOptional?: boolean | undefined;
|
|
888
|
+
readonly?: boolean | undefined;
|
|
889
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
|
|
890
|
+
description: string;
|
|
891
|
+
default: boolean;
|
|
892
|
+
title: string;
|
|
893
|
+
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>;
|
|
894
|
+
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>;
|
|
813
895
|
} | {
|
|
814
896
|
label?: string | undefined;
|
|
815
897
|
isNew?: boolean | undefined;
|
|
@@ -1305,6 +1387,16 @@ export interface IJobRoleTemplateSchema {
|
|
|
1305
1387
|
} | undefined)[] | undefined;
|
|
1306
1388
|
tags?: any[] | undefined;
|
|
1307
1389
|
questionnaire?: ({
|
|
1390
|
+
label?: string | undefined;
|
|
1391
|
+
isNew?: boolean | undefined;
|
|
1392
|
+
isOptional?: boolean | undefined;
|
|
1393
|
+
readonly?: boolean | undefined;
|
|
1394
|
+
preferredAnswer?: string | undefined;
|
|
1395
|
+
answers?: string | undefined;
|
|
1396
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
1397
|
+
default: boolean;
|
|
1398
|
+
title: string;
|
|
1399
|
+
} | {
|
|
1308
1400
|
label?: string | undefined;
|
|
1309
1401
|
isNew?: boolean | undefined;
|
|
1310
1402
|
isOptional?: boolean | undefined;
|
|
@@ -1313,6 +1405,26 @@ export interface IJobRoleTemplateSchema {
|
|
|
1313
1405
|
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
1314
1406
|
default: boolean;
|
|
1315
1407
|
title: string;
|
|
1408
|
+
} | {
|
|
1409
|
+
label?: string | undefined;
|
|
1410
|
+
isNew?: boolean | undefined;
|
|
1411
|
+
isOptional?: boolean | undefined;
|
|
1412
|
+
readonly?: boolean | undefined;
|
|
1413
|
+
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;
|
|
1414
|
+
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;
|
|
1415
|
+
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;
|
|
1416
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
1417
|
+
default: boolean;
|
|
1418
|
+
title: string;
|
|
1419
|
+
options: (string | {
|
|
1420
|
+
logo?: string | undefined;
|
|
1421
|
+
id: string;
|
|
1422
|
+
name: string;
|
|
1423
|
+
} | {
|
|
1424
|
+
value: "others" | (string | undefined)[];
|
|
1425
|
+
otherValue: string | string[];
|
|
1426
|
+
} | undefined)[];
|
|
1427
|
+
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
1316
1428
|
} | {
|
|
1317
1429
|
label?: string | undefined;
|
|
1318
1430
|
isNew?: boolean | undefined;
|
|
@@ -1332,6 +1444,17 @@ export interface IJobRoleTemplateSchema {
|
|
|
1332
1444
|
otherValue: string | string[];
|
|
1333
1445
|
} | undefined)[];
|
|
1334
1446
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
1447
|
+
} | {
|
|
1448
|
+
label?: string | undefined;
|
|
1449
|
+
isNew?: boolean | undefined;
|
|
1450
|
+
isOptional?: boolean | undefined;
|
|
1451
|
+
readonly?: boolean | undefined;
|
|
1452
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
|
|
1453
|
+
description: string;
|
|
1454
|
+
default: boolean;
|
|
1455
|
+
title: string;
|
|
1456
|
+
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>;
|
|
1457
|
+
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>;
|
|
1335
1458
|
} | {
|
|
1336
1459
|
label?: string | undefined;
|
|
1337
1460
|
isNew?: boolean | undefined;
|
|
@@ -1486,13 +1609,29 @@ export interface IInputQuestionSchema {
|
|
|
1486
1609
|
export interface IMixedValue {
|
|
1487
1610
|
}
|
|
1488
1611
|
export interface IQuestionSchema {
|
|
1489
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
1490
1612
|
label?: string | undefined;
|
|
1491
1613
|
isNew?: boolean | undefined;
|
|
1492
|
-
default: boolean;
|
|
1493
|
-
title: string;
|
|
1494
1614
|
isOptional?: boolean | undefined;
|
|
1495
1615
|
readonly?: boolean | undefined;
|
|
1616
|
+
preferredAnswer?: string | number | boolean | {
|
|
1617
|
+
logo?: string | undefined;
|
|
1618
|
+
id: string;
|
|
1619
|
+
name: string;
|
|
1620
|
+
} | {
|
|
1621
|
+
value: "others" | (string | undefined)[];
|
|
1622
|
+
otherValue: string | string[];
|
|
1623
|
+
} | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue[] | undefined;
|
|
1624
|
+
answers?: string | number | boolean | {
|
|
1625
|
+
logo?: string | undefined;
|
|
1626
|
+
id: string;
|
|
1627
|
+
name: string;
|
|
1628
|
+
} | {
|
|
1629
|
+
value: "others" | (string | undefined)[];
|
|
1630
|
+
otherValue: string | string[];
|
|
1631
|
+
} | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue[] | undefined;
|
|
1632
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType;
|
|
1633
|
+
default: boolean;
|
|
1634
|
+
title: string;
|
|
1496
1635
|
}
|
|
1497
1636
|
export interface IReadAndAcknowledgeQuestionSchema {
|
|
1498
1637
|
label?: string | undefined;
|
|
@@ -1555,6 +1694,8 @@ export interface IResumeInterestSectionSchema {
|
|
|
1555
1694
|
}
|
|
1556
1695
|
export interface IResumeLanguageSectionSchema {
|
|
1557
1696
|
}
|
|
1697
|
+
export interface IResumeSocialAccountSectionSchema {
|
|
1698
|
+
}
|
|
1558
1699
|
export interface IResumeSchemaV2 {
|
|
1559
1700
|
updatedBy?: string | undefined;
|
|
1560
1701
|
updatedAt?: number | undefined;
|
|
@@ -1567,6 +1708,10 @@ export interface IResumeSchemaV2 {
|
|
|
1567
1708
|
sections: {
|
|
1568
1709
|
id: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/resume/resume.constant").ResumeSectionType | undefined>;
|
|
1569
1710
|
data: {
|
|
1711
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1712
|
+
isNew: boolean;
|
|
1713
|
+
url: string;
|
|
1714
|
+
}[] | {
|
|
1570
1715
|
description?: string | undefined;
|
|
1571
1716
|
company: NonNullable<{
|
|
1572
1717
|
value: "others" | (string | undefined)[];
|