@thejob/schema 1.0.27 → 1.0.29
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/common/common.schema.d.ts.map +1 -1
- package/dist/cjs/interfaces.index.d.ts +144 -77
- package/dist/cjs/interfaces.index.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.d.ts +35 -8
- package/dist/cjs/job/job.schema.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.js +3 -1
- package/dist/cjs/job/utils.d.ts +3 -2
- package/dist/cjs/job/utils.d.ts.map +1 -1
- package/dist/cjs/job-application/job-application.schema.d.ts +29 -9
- package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/cjs/job-application/job-application.schema.js +54 -52
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts +35 -8
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts.map +1 -1
- package/dist/cjs/page/page-location/page-location.schema.d.ts.map +1 -1
- package/dist/cjs/question/choice-question.schema.d.ts +47 -3
- package/dist/cjs/question/choice-question.schema.d.ts.map +1 -1
- package/dist/cjs/question/choice-question.schema.js +38 -4
- package/dist/cjs/question/input-question.schema.d.ts +25 -3
- package/dist/cjs/question/input-question.schema.d.ts.map +1 -1
- package/dist/cjs/question/input-question.schema.js +15 -2
- package/dist/cjs/question/question.schema.d.ts +2 -17
- package/dist/cjs/question/question.schema.d.ts.map +1 -1
- package/dist/cjs/question/question.schema.js +8 -11
- package/dist/cjs/question/read-and-acknowledge.schema.d.ts +28 -3
- package/dist/cjs/question/read-and-acknowledge.schema.d.ts.map +1 -1
- package/dist/cjs/question/read-and-acknowledge.schema.js +13 -6
- package/dist/esm/common/common.schema.d.ts.map +1 -1
- package/dist/esm/common/common.schema.js +1 -1
- package/dist/esm/interfaces.index.d.ts +144 -77
- package/dist/esm/interfaces.index.d.ts.map +1 -1
- package/dist/esm/job/job.schema.d.ts +35 -8
- package/dist/esm/job/job.schema.d.ts.map +1 -1
- package/dist/esm/job/job.schema.js +3 -1
- package/dist/esm/job/utils.d.ts +3 -2
- package/dist/esm/job/utils.d.ts.map +1 -1
- package/dist/esm/job-application/job-application.schema.d.ts +29 -9
- package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/esm/job-application/job-application.schema.js +56 -54
- package/dist/esm/job-role-template/job-role-template.schema.d.ts +35 -8
- package/dist/esm/job-role-template/job-role-template.schema.d.ts.map +1 -1
- package/dist/esm/page/page-location/page-location.schema.d.ts.map +1 -1
- package/dist/esm/page/page-location/page-location.schema.js +1 -1
- package/dist/esm/question/choice-question.schema.d.ts +47 -3
- package/dist/esm/question/choice-question.schema.d.ts.map +1 -1
- package/dist/esm/question/choice-question.schema.js +40 -6
- package/dist/esm/question/input-question.schema.d.ts +25 -3
- package/dist/esm/question/input-question.schema.d.ts.map +1 -1
- package/dist/esm/question/input-question.schema.js +15 -2
- package/dist/esm/question/question.schema.d.ts +2 -17
- package/dist/esm/question/question.schema.d.ts.map +1 -1
- package/dist/esm/question/question.schema.js +10 -13
- package/dist/esm/question/read-and-acknowledge.schema.d.ts +28 -3
- package/dist/esm/question/read-and-acknowledge.schema.d.ts.map +1 -1
- package/dist/esm/question/read-and-acknowledge.schema.js +13 -6
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.schema.d.ts","sourceRoot":"","sources":["../../../src/common/common.schema.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"common.schema.d.ts","sourceRoot":"","sources":["../../../src/common/common.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAKV,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,gBAAgB;;;;;;;;MAOlB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,gBAAgB;;;;;;MAwBlB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,uBAAuB;;;;MAIlC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;MAYjB,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,eAAO,MAAM,uBAAuB,GAAI,WAAU,MAAW;;;;;;;;MAKzD,CAAC;AAEL,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;MAGnC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,SAAS,CAC/C,OAAO,wBAAwB,CAChC,CAAC"}
|
|
@@ -158,16 +158,32 @@ export interface IJobSchema {
|
|
|
158
158
|
contactEmail?: string | undefined;
|
|
159
159
|
workingHoursPerWeek?: number | undefined;
|
|
160
160
|
tags?: any[] | undefined;
|
|
161
|
-
questionnaire?: {
|
|
162
|
-
|
|
161
|
+
questionnaire?: ({
|
|
162
|
+
label?: string | undefined;
|
|
163
|
+
isNew?: boolean | undefined;
|
|
164
|
+
isOptional?: boolean | undefined;
|
|
165
|
+
readonly?: boolean | undefined;
|
|
166
|
+
preferredAnswer?: string | undefined;
|
|
167
|
+
answers?: string | undefined;
|
|
168
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
169
|
+
default: boolean;
|
|
170
|
+
title: string;
|
|
171
|
+
} | {
|
|
163
172
|
label?: string | undefined;
|
|
164
173
|
isNew?: boolean | undefined;
|
|
165
174
|
isOptional?: boolean | undefined;
|
|
166
175
|
readonly?: boolean | undefined;
|
|
167
|
-
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
176
|
+
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;
|
|
177
|
+
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | (string | number | boolean | {
|
|
178
|
+
logo?: string | undefined;
|
|
179
|
+
name: string;
|
|
180
|
+
id: string;
|
|
181
|
+
} | {
|
|
182
|
+
value: "others" | (string | undefined)[];
|
|
183
|
+
otherValue: string | string[];
|
|
184
|
+
} | undefined)[] | undefined;
|
|
185
|
+
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;
|
|
186
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
171
187
|
default: boolean;
|
|
172
188
|
title: string;
|
|
173
189
|
options: (string | {
|
|
@@ -177,9 +193,20 @@ export interface IJobSchema {
|
|
|
177
193
|
} | {
|
|
178
194
|
value: "others" | (string | undefined)[];
|
|
179
195
|
otherValue: string | string[];
|
|
180
|
-
})[];
|
|
196
|
+
} | undefined)[];
|
|
181
197
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
182
|
-
}
|
|
198
|
+
} | {
|
|
199
|
+
label?: string | undefined;
|
|
200
|
+
isNew?: boolean | undefined;
|
|
201
|
+
isOptional?: boolean | undefined;
|
|
202
|
+
readonly?: boolean | undefined;
|
|
203
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
|
|
204
|
+
description: string;
|
|
205
|
+
default: boolean;
|
|
206
|
+
title: string;
|
|
207
|
+
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>;
|
|
208
|
+
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>;
|
|
209
|
+
})[] | undefined;
|
|
183
210
|
jdSummary?: string | undefined;
|
|
184
211
|
canCreateAlert?: boolean | undefined;
|
|
185
212
|
canDirectApply?: boolean | undefined;
|
|
@@ -320,15 +347,31 @@ export interface IobRoleTemplate {
|
|
|
320
347
|
}[];
|
|
321
348
|
tags: string[];
|
|
322
349
|
questionnaire?: ({
|
|
323
|
-
description?: string | undefined;
|
|
324
350
|
label?: string | undefined;
|
|
325
351
|
isNew?: boolean | undefined;
|
|
326
352
|
isOptional?: boolean | undefined;
|
|
327
353
|
readonly?: boolean | undefined;
|
|
328
|
-
preferredAnswer?:
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
354
|
+
preferredAnswer?: string | undefined;
|
|
355
|
+
answers?: string | undefined;
|
|
356
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
357
|
+
default: boolean;
|
|
358
|
+
title: string;
|
|
359
|
+
} | {
|
|
360
|
+
label?: string | undefined;
|
|
361
|
+
isNew?: boolean | undefined;
|
|
362
|
+
isOptional?: boolean | undefined;
|
|
363
|
+
readonly?: boolean | undefined;
|
|
364
|
+
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;
|
|
365
|
+
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | (string | number | boolean | {
|
|
366
|
+
logo?: string | undefined;
|
|
367
|
+
name: string;
|
|
368
|
+
id: string;
|
|
369
|
+
} | {
|
|
370
|
+
value: "others" | (string | undefined)[];
|
|
371
|
+
otherValue: string | string[];
|
|
372
|
+
} | undefined)[] | undefined;
|
|
373
|
+
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;
|
|
374
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
332
375
|
default: boolean;
|
|
333
376
|
title: string;
|
|
334
377
|
options: (string | {
|
|
@@ -338,32 +381,41 @@ export interface IobRoleTemplate {
|
|
|
338
381
|
} | {
|
|
339
382
|
value: "others" | (string | undefined)[];
|
|
340
383
|
otherValue: string | string[];
|
|
341
|
-
})[];
|
|
384
|
+
} | undefined)[];
|
|
342
385
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
343
|
-
}
|
|
386
|
+
})[] | undefined;
|
|
344
387
|
educationLevel?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel[] | undefined;
|
|
345
388
|
}
|
|
346
389
|
export interface IJobApplicationSchema {
|
|
347
390
|
updatedBy?: string | undefined;
|
|
348
391
|
updatedAt?: number | undefined;
|
|
349
392
|
score?: number | undefined;
|
|
350
|
-
questionnaire?: {
|
|
351
|
-
|
|
393
|
+
questionnaire?: ({
|
|
394
|
+
label?: string | undefined;
|
|
395
|
+
isNew?: boolean | undefined;
|
|
396
|
+
isOptional?: boolean | undefined;
|
|
397
|
+
readonly?: boolean | undefined;
|
|
398
|
+
preferredAnswer?: string | undefined;
|
|
399
|
+
answers?: string | undefined;
|
|
400
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
401
|
+
default: boolean;
|
|
402
|
+
title: string;
|
|
403
|
+
} | {
|
|
352
404
|
label?: string | undefined;
|
|
353
405
|
isNew?: boolean | undefined;
|
|
354
406
|
isOptional?: boolean | undefined;
|
|
355
407
|
readonly?: boolean | undefined;
|
|
356
|
-
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
357
|
-
|
|
358
|
-
answers?: string | {
|
|
408
|
+
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;
|
|
409
|
+
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | (string | number | boolean | {
|
|
359
410
|
logo?: string | undefined;
|
|
360
411
|
name: string;
|
|
361
412
|
id: string;
|
|
362
413
|
} | {
|
|
363
414
|
value: "others" | (string | undefined)[];
|
|
364
415
|
otherValue: string | string[];
|
|
365
|
-
} | undefined;
|
|
366
|
-
|
|
416
|
+
} | undefined)[] | undefined;
|
|
417
|
+
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;
|
|
418
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
367
419
|
default: boolean;
|
|
368
420
|
title: string;
|
|
369
421
|
options: (string | {
|
|
@@ -373,9 +425,20 @@ export interface IJobApplicationSchema {
|
|
|
373
425
|
} | {
|
|
374
426
|
value: "others" | (string | undefined)[];
|
|
375
427
|
otherValue: string | string[];
|
|
376
|
-
})[];
|
|
428
|
+
} | undefined)[];
|
|
377
429
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
378
|
-
}
|
|
430
|
+
} | {
|
|
431
|
+
label?: string | undefined;
|
|
432
|
+
isNew?: boolean | undefined;
|
|
433
|
+
isOptional?: boolean | undefined;
|
|
434
|
+
readonly?: boolean | undefined;
|
|
435
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
|
|
436
|
+
description: string;
|
|
437
|
+
default: boolean;
|
|
438
|
+
title: string;
|
|
439
|
+
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>;
|
|
440
|
+
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>;
|
|
441
|
+
})[] | undefined;
|
|
379
442
|
applicationSummary?: string | undefined;
|
|
380
443
|
name: {
|
|
381
444
|
first: string;
|
|
@@ -635,16 +698,32 @@ export interface IJobRoleTemplateSchema {
|
|
|
635
698
|
otherValue: string | string[];
|
|
636
699
|
} | undefined)[] | undefined;
|
|
637
700
|
tags?: any[] | undefined;
|
|
638
|
-
questionnaire?: {
|
|
639
|
-
description?: string | undefined;
|
|
701
|
+
questionnaire?: ({
|
|
640
702
|
label?: string | undefined;
|
|
641
703
|
isNew?: boolean | undefined;
|
|
642
704
|
isOptional?: boolean | undefined;
|
|
643
705
|
readonly?: boolean | undefined;
|
|
644
|
-
preferredAnswer?:
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
706
|
+
preferredAnswer?: string | undefined;
|
|
707
|
+
answers?: string | undefined;
|
|
708
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
709
|
+
default: boolean;
|
|
710
|
+
title: string;
|
|
711
|
+
} | {
|
|
712
|
+
label?: string | undefined;
|
|
713
|
+
isNew?: boolean | undefined;
|
|
714
|
+
isOptional?: boolean | undefined;
|
|
715
|
+
readonly?: boolean | undefined;
|
|
716
|
+
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;
|
|
717
|
+
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | (string | number | boolean | {
|
|
718
|
+
logo?: string | undefined;
|
|
719
|
+
name: string;
|
|
720
|
+
id: string;
|
|
721
|
+
} | {
|
|
722
|
+
value: "others" | (string | undefined)[];
|
|
723
|
+
otherValue: string | string[];
|
|
724
|
+
} | undefined)[] | undefined;
|
|
725
|
+
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;
|
|
726
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
648
727
|
default: boolean;
|
|
649
728
|
title: string;
|
|
650
729
|
options: (string | {
|
|
@@ -654,9 +733,20 @@ export interface IJobRoleTemplateSchema {
|
|
|
654
733
|
} | {
|
|
655
734
|
value: "others" | (string | undefined)[];
|
|
656
735
|
otherValue: string | string[];
|
|
657
|
-
})[];
|
|
736
|
+
} | undefined)[];
|
|
658
737
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
659
|
-
}
|
|
738
|
+
} | {
|
|
739
|
+
label?: string | undefined;
|
|
740
|
+
isNew?: boolean | undefined;
|
|
741
|
+
isOptional?: boolean | undefined;
|
|
742
|
+
readonly?: boolean | undefined;
|
|
743
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
|
|
744
|
+
description: string;
|
|
745
|
+
default: boolean;
|
|
746
|
+
title: string;
|
|
747
|
+
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>;
|
|
748
|
+
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>;
|
|
749
|
+
})[] | undefined;
|
|
660
750
|
description: string;
|
|
661
751
|
headline: string;
|
|
662
752
|
designation: NonNullable<{
|
|
@@ -766,15 +856,21 @@ export interface IMobileNumberSchema {
|
|
|
766
856
|
};
|
|
767
857
|
}
|
|
768
858
|
export interface IChoiceQuestionSchema {
|
|
769
|
-
description?: string | undefined;
|
|
770
859
|
label?: string | undefined;
|
|
771
860
|
isNew?: boolean | undefined;
|
|
772
861
|
isOptional?: boolean | undefined;
|
|
773
862
|
readonly?: boolean | undefined;
|
|
774
|
-
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
863
|
+
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;
|
|
864
|
+
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | (string | number | boolean | {
|
|
865
|
+
logo?: string | undefined;
|
|
866
|
+
name: string;
|
|
867
|
+
id: string;
|
|
868
|
+
} | {
|
|
869
|
+
value: "others" | (string | undefined)[];
|
|
870
|
+
otherValue: string | string[];
|
|
871
|
+
} | undefined)[] | undefined;
|
|
872
|
+
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;
|
|
873
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
|
|
778
874
|
default: boolean;
|
|
779
875
|
title: string;
|
|
780
876
|
options: (string | {
|
|
@@ -784,77 +880,48 @@ export interface IChoiceQuestionSchema {
|
|
|
784
880
|
} | {
|
|
785
881
|
value: "others" | (string | undefined)[];
|
|
786
882
|
otherValue: string | string[];
|
|
787
|
-
})[];
|
|
883
|
+
} | undefined)[];
|
|
788
884
|
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
789
885
|
}
|
|
790
886
|
export interface IInputQuestionSchema {
|
|
791
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
792
|
-
description?: string | undefined;
|
|
793
887
|
label?: string | undefined;
|
|
794
888
|
isNew?: boolean | undefined;
|
|
795
|
-
default: boolean;
|
|
796
|
-
title: string;
|
|
797
889
|
isOptional?: boolean | undefined;
|
|
798
890
|
readonly?: boolean | undefined;
|
|
799
|
-
preferredAnswer?:
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
891
|
+
preferredAnswer?: string | undefined;
|
|
892
|
+
answers?: string | undefined;
|
|
893
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
|
|
894
|
+
default: boolean;
|
|
895
|
+
title: string;
|
|
803
896
|
}
|
|
804
897
|
export interface IMixedValue {
|
|
805
|
-
toString: (() => string) | ((radix?: number | undefined) => string) | (() => string)
|
|
898
|
+
toString: (() => string) | ((radix?: number | undefined) => string) | (() => string);
|
|
806
899
|
valueOf: (() => string) | (() => number) | (() => boolean) | (() => Object);
|
|
807
900
|
toLocaleString: (() => string) | {
|
|
808
901
|
(locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
|
|
809
902
|
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
|
|
810
|
-
} | {
|
|
811
|
-
(): string;
|
|
812
|
-
(locales: string | string[], options?: (Intl.NumberFormatOptions & Intl.DateTimeFormatOptions) | undefined): string;
|
|
813
903
|
};
|
|
814
904
|
}
|
|
815
905
|
export interface IQuestionSchema {
|
|
816
906
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
817
|
-
description?: string | undefined;
|
|
818
907
|
label?: string | undefined;
|
|
819
908
|
isNew?: boolean | undefined;
|
|
820
909
|
default: boolean;
|
|
821
910
|
title: string;
|
|
822
911
|
isOptional?: boolean | undefined;
|
|
823
912
|
readonly?: boolean | undefined;
|
|
824
|
-
preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
825
|
-
optionsFrom?: string | undefined;
|
|
826
|
-
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
827
|
-
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
828
|
-
options: (string | {
|
|
829
|
-
logo?: string | undefined;
|
|
830
|
-
name: string;
|
|
831
|
-
id: string;
|
|
832
|
-
} | {
|
|
833
|
-
value: "others" | (string | undefined)[];
|
|
834
|
-
otherValue: string | string[];
|
|
835
|
-
})[];
|
|
836
913
|
}
|
|
837
914
|
export interface IReadAndAcknowledgeQuestionSchema {
|
|
838
|
-
description?: string | undefined;
|
|
839
915
|
label?: string | undefined;
|
|
840
916
|
isNew?: boolean | undefined;
|
|
841
917
|
isOptional?: boolean | undefined;
|
|
842
918
|
readonly?: boolean | undefined;
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
|
|
846
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
|
|
919
|
+
type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
|
|
920
|
+
description: string;
|
|
847
921
|
default: boolean;
|
|
848
922
|
title: string;
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
name: string;
|
|
852
|
-
id: string;
|
|
853
|
-
} | {
|
|
854
|
-
value: "others" | (string | undefined)[];
|
|
855
|
-
otherValue: string | string[];
|
|
856
|
-
})[];
|
|
857
|
-
answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
|
|
923
|
+
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>;
|
|
924
|
+
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>;
|
|
858
925
|
}
|
|
859
926
|
export interface IResumeGeneralInfoSchema {
|
|
860
927
|
headline?: string | undefined;
|