@thejob/schema 1.0.38 → 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 +142 -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/esm/interfaces.index.d.ts +142 -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/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;
|
|
@@ -175,6 +185,7 @@ export interface IAiPromptJobApplicationSummary {
|
|
|
175
185
|
isOptional?: boolean | undefined;
|
|
176
186
|
readonly?: boolean | undefined;
|
|
177
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;
|
|
178
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;
|
|
179
190
|
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
180
191
|
default: boolean;
|
|
@@ -188,6 +199,36 @@ export interface IAiPromptJobApplicationSummary {
|
|
|
188
199
|
otherValue: string | string[];
|
|
189
200
|
} | undefined)[];
|
|
190
201
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
202
|
+
} | {
|
|
203
|
+
label?: string | undefined;
|
|
204
|
+
isNew?: boolean | undefined;
|
|
205
|
+
isOptional?: boolean | undefined;
|
|
206
|
+
readonly?: boolean | undefined;
|
|
207
|
+
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;
|
|
208
|
+
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;
|
|
209
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
210
|
+
default: boolean;
|
|
211
|
+
title: string;
|
|
212
|
+
options: (string | {
|
|
213
|
+
logo?: string | undefined;
|
|
214
|
+
id: string;
|
|
215
|
+
name: string;
|
|
216
|
+
} | {
|
|
217
|
+
value: "others" | (string | undefined)[];
|
|
218
|
+
otherValue: string | string[];
|
|
219
|
+
} | undefined)[];
|
|
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;
|
|
@@ -797,6 +848,7 @@ export interface IJobSchema {
|
|
|
797
848
|
isOptional?: boolean | undefined;
|
|
798
849
|
readonly?: boolean | undefined;
|
|
799
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;
|
|
800
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;
|
|
801
853
|
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
802
854
|
default: boolean;
|
|
@@ -810,6 +862,36 @@ export interface IJobSchema {
|
|
|
810
862
|
otherValue: string | string[];
|
|
811
863
|
} | undefined)[];
|
|
812
864
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
865
|
+
} | {
|
|
866
|
+
label?: string | undefined;
|
|
867
|
+
isNew?: boolean | undefined;
|
|
868
|
+
isOptional?: boolean | undefined;
|
|
869
|
+
readonly?: boolean | undefined;
|
|
870
|
+
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;
|
|
871
|
+
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;
|
|
872
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
873
|
+
default: boolean;
|
|
874
|
+
title: string;
|
|
875
|
+
options: (string | {
|
|
876
|
+
logo?: string | undefined;
|
|
877
|
+
id: string;
|
|
878
|
+
name: string;
|
|
879
|
+
} | {
|
|
880
|
+
value: "others" | (string | undefined)[];
|
|
881
|
+
otherValue: string | string[];
|
|
882
|
+
} | undefined)[];
|
|
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;
|
|
@@ -1319,6 +1411,7 @@ export interface IJobRoleTemplateSchema {
|
|
|
1319
1411
|
isOptional?: boolean | undefined;
|
|
1320
1412
|
readonly?: boolean | undefined;
|
|
1321
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;
|
|
1322
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;
|
|
1323
1416
|
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
1324
1417
|
default: boolean;
|
|
@@ -1332,6 +1425,36 @@ export interface IJobRoleTemplateSchema {
|
|
|
1332
1425
|
otherValue: string | string[];
|
|
1333
1426
|
} | undefined)[];
|
|
1334
1427
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
1428
|
+
} | {
|
|
1429
|
+
label?: string | undefined;
|
|
1430
|
+
isNew?: boolean | undefined;
|
|
1431
|
+
isOptional?: boolean | undefined;
|
|
1432
|
+
readonly?: boolean | undefined;
|
|
1433
|
+
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;
|
|
1434
|
+
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;
|
|
1435
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
1436
|
+
default: boolean;
|
|
1437
|
+
title: string;
|
|
1438
|
+
options: (string | {
|
|
1439
|
+
logo?: string | undefined;
|
|
1440
|
+
id: string;
|
|
1441
|
+
name: string;
|
|
1442
|
+
} | {
|
|
1443
|
+
value: "others" | (string | undefined)[];
|
|
1444
|
+
otherValue: string | string[];
|
|
1445
|
+
} | undefined)[];
|
|
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;
|