@thejob/schema 1.0.27 → 1.0.28

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.
Files changed (55) hide show
  1. package/dist/cjs/common/common.schema.d.ts.map +1 -1
  2. package/dist/cjs/index.d.ts +5 -0
  3. package/dist/cjs/index.d.ts.map +1 -1
  4. package/dist/cjs/index.js +5 -0
  5. package/dist/cjs/interfaces.index.d.ts +103 -77
  6. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  7. package/dist/cjs/job/job.schema.d.ts +23 -8
  8. package/dist/cjs/job/job.schema.d.ts.map +1 -1
  9. package/dist/cjs/job/job.schema.js +3 -1
  10. package/dist/cjs/job/utils.d.ts +3 -2
  11. package/dist/cjs/job/utils.d.ts.map +1 -1
  12. package/dist/cjs/job-application/job-application.schema.d.ts +19 -11
  13. package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
  14. package/dist/cjs/job-application/job-application.schema.js +54 -52
  15. package/dist/cjs/job-role-template/job-role-template.schema.d.ts +23 -8
  16. package/dist/cjs/job-role-template/job-role-template.schema.d.ts.map +1 -1
  17. package/dist/cjs/page/page-location/page-location.schema.d.ts.map +1 -1
  18. package/dist/cjs/question/choice-question.schema.d.ts +44 -3
  19. package/dist/cjs/question/choice-question.schema.d.ts.map +1 -1
  20. package/dist/cjs/question/choice-question.schema.js +38 -11
  21. package/dist/cjs/question/input-question.schema.d.ts +26 -4
  22. package/dist/cjs/question/input-question.schema.d.ts.map +1 -1
  23. package/dist/cjs/question/input-question.schema.js +15 -2
  24. package/dist/cjs/question/question.schema.d.ts +2 -17
  25. package/dist/cjs/question/question.schema.d.ts.map +1 -1
  26. package/dist/cjs/question/question.schema.js +3 -11
  27. package/dist/esm/common/common.schema.d.ts.map +1 -1
  28. package/dist/esm/common/common.schema.js +1 -1
  29. package/dist/esm/index.d.ts +5 -0
  30. package/dist/esm/index.d.ts.map +1 -1
  31. package/dist/esm/index.js +5 -0
  32. package/dist/esm/interfaces.index.d.ts +103 -77
  33. package/dist/esm/interfaces.index.d.ts.map +1 -1
  34. package/dist/esm/job/job.schema.d.ts +23 -8
  35. package/dist/esm/job/job.schema.d.ts.map +1 -1
  36. package/dist/esm/job/job.schema.js +3 -1
  37. package/dist/esm/job/utils.d.ts +3 -2
  38. package/dist/esm/job/utils.d.ts.map +1 -1
  39. package/dist/esm/job-application/job-application.schema.d.ts +19 -11
  40. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  41. package/dist/esm/job-application/job-application.schema.js +56 -54
  42. package/dist/esm/job-role-template/job-role-template.schema.d.ts +23 -8
  43. package/dist/esm/job-role-template/job-role-template.schema.d.ts.map +1 -1
  44. package/dist/esm/page/page-location/page-location.schema.d.ts.map +1 -1
  45. package/dist/esm/page/page-location/page-location.schema.js +1 -1
  46. package/dist/esm/question/choice-question.schema.d.ts +44 -3
  47. package/dist/esm/question/choice-question.schema.d.ts.map +1 -1
  48. package/dist/esm/question/choice-question.schema.js +41 -14
  49. package/dist/esm/question/input-question.schema.d.ts +26 -4
  50. package/dist/esm/question/input-question.schema.d.ts.map +1 -1
  51. package/dist/esm/question/input-question.schema.js +15 -2
  52. package/dist/esm/question/question.schema.d.ts +2 -17
  53. package/dist/esm/question/question.schema.d.ts.map +1 -1
  54. package/dist/esm/question/question.schema.js +5 -13
  55. 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,EACL,SAAS,EAQV,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"}
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"}
@@ -23,4 +23,9 @@ export * from "./group";
23
23
  export * from "./social-account";
24
24
  export * from "./yup-extended";
25
25
  export * from './interfaces.index';
26
+ export * from './interfaces.index';
27
+ export * from './interfaces.index';
28
+ export * from './interfaces.index';
29
+ export * from './interfaces.index';
30
+ export * from './interfaces.index';
26
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -39,3 +39,8 @@ __exportStar(require("./group"), exports);
39
39
  __exportStar(require("./social-account"), exports);
40
40
  __exportStar(require("./yup-extended"), exports);
41
41
  __exportStar(require("./interfaces.index"), exports);
42
+ __exportStar(require("./interfaces.index"), exports);
43
+ __exportStar(require("./interfaces.index"), exports);
44
+ __exportStar(require("./interfaces.index"), exports);
45
+ __exportStar(require("./interfaces.index"), exports);
46
+ __exportStar(require("./interfaces.index"), exports);
@@ -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
- description?: string | undefined;
161
+ questionnaire?: ({
163
162
  label?: string | undefined;
164
163
  isNew?: boolean | undefined;
165
164
  isOptional?: boolean | undefined;
166
165
  readonly?: boolean | undefined;
167
- preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | 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
+ } | {
172
+ label?: string | undefined;
173
+ isNew?: boolean | undefined;
174
+ isOptional?: boolean | undefined;
175
+ readonly?: boolean | undefined;
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;
168
185
  optionsFrom?: string | undefined;
169
- answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
170
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | 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,8 @@ export interface IJobSchema {
177
193
  } | {
178
194
  value: "others" | (string | undefined)[];
179
195
  otherValue: string | string[];
180
- })[];
181
- answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
182
- }[] | undefined;
196
+ } | undefined)[];
197
+ } | {})[] | undefined;
183
198
  jdSummary?: string | undefined;
184
199
  canCreateAlert?: boolean | undefined;
185
200
  canDirectApply?: boolean | undefined;
@@ -320,15 +335,31 @@ export interface IobRoleTemplate {
320
335
  }[];
321
336
  tags: string[];
322
337
  questionnaire?: ({
323
- description?: string | undefined;
324
338
  label?: string | undefined;
325
339
  isNew?: boolean | undefined;
326
340
  isOptional?: boolean | undefined;
327
341
  readonly?: boolean | undefined;
328
- preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
342
+ preferredAnswer?: string | undefined;
343
+ answers?: string | undefined;
344
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
345
+ default: boolean;
346
+ title: string;
347
+ } | {
348
+ label?: string | undefined;
349
+ isNew?: boolean | undefined;
350
+ isOptional?: boolean | undefined;
351
+ readonly?: boolean | undefined;
352
+ 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;
353
+ answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | (string | number | boolean | {
354
+ logo?: string | undefined;
355
+ name: string;
356
+ id: string;
357
+ } | {
358
+ value: "others" | (string | undefined)[];
359
+ otherValue: string | string[];
360
+ } | undefined)[] | undefined;
329
361
  optionsFrom?: string | undefined;
330
- answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
331
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
362
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
332
363
  default: boolean;
333
364
  title: string;
334
365
  options: (string | {
@@ -338,32 +369,40 @@ export interface IobRoleTemplate {
338
369
  } | {
339
370
  value: "others" | (string | undefined)[];
340
371
  otherValue: string | string[];
341
- })[];
342
- answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
343
- } | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/input-question.schema").TInputQuestionSchema)[] | undefined;
372
+ } | undefined)[];
373
+ })[] | undefined;
344
374
  educationLevel?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").EducationLevel[] | undefined;
345
375
  }
346
376
  export interface IJobApplicationSchema {
347
377
  updatedBy?: string | undefined;
348
378
  updatedAt?: number | undefined;
349
379
  score?: number | undefined;
350
- questionnaire?: {
351
- description?: string | undefined;
380
+ questionnaire?: ({
352
381
  label?: string | undefined;
353
382
  isNew?: boolean | undefined;
354
383
  isOptional?: boolean | undefined;
355
384
  readonly?: boolean | undefined;
356
- preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
357
- optionsFrom?: string | undefined;
358
- answers?: string | {
385
+ preferredAnswer?: string | undefined;
386
+ answers?: string | undefined;
387
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
388
+ default: boolean;
389
+ title: string;
390
+ } | {
391
+ label?: string | undefined;
392
+ isNew?: boolean | undefined;
393
+ isOptional?: boolean | undefined;
394
+ readonly?: boolean | undefined;
395
+ 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;
396
+ answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | (string | number | boolean | {
359
397
  logo?: string | undefined;
360
398
  name: string;
361
399
  id: string;
362
400
  } | {
363
401
  value: "others" | (string | undefined)[];
364
402
  otherValue: string | string[];
365
- } | undefined;
366
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
403
+ } | undefined)[] | undefined;
404
+ optionsFrom?: string | undefined;
405
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
367
406
  default: boolean;
368
407
  title: string;
369
408
  options: (string | {
@@ -373,9 +412,8 @@ export interface IJobApplicationSchema {
373
412
  } | {
374
413
  value: "others" | (string | undefined)[];
375
414
  otherValue: string | string[];
376
- })[];
377
- answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
378
- }[] | undefined;
415
+ } | undefined)[];
416
+ } | {})[] | undefined;
379
417
  applicationSummary?: string | undefined;
380
418
  name: {
381
419
  first: string;
@@ -635,16 +673,32 @@ export interface IJobRoleTemplateSchema {
635
673
  otherValue: string | string[];
636
674
  } | undefined)[] | undefined;
637
675
  tags?: any[] | undefined;
638
- questionnaire?: {
639
- description?: string | undefined;
676
+ questionnaire?: ({
640
677
  label?: string | undefined;
641
678
  isNew?: boolean | undefined;
642
679
  isOptional?: boolean | undefined;
643
680
  readonly?: boolean | undefined;
644
- preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
681
+ preferredAnswer?: string | undefined;
682
+ answers?: string | undefined;
683
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
684
+ default: boolean;
685
+ title: string;
686
+ } | {
687
+ label?: string | undefined;
688
+ isNew?: boolean | undefined;
689
+ isOptional?: boolean | undefined;
690
+ readonly?: boolean | undefined;
691
+ 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;
692
+ answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | (string | number | boolean | {
693
+ logo?: string | undefined;
694
+ name: string;
695
+ id: string;
696
+ } | {
697
+ value: "others" | (string | undefined)[];
698
+ otherValue: string | string[];
699
+ } | undefined)[] | undefined;
645
700
  optionsFrom?: string | undefined;
646
- answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
647
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
701
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
648
702
  default: boolean;
649
703
  title: string;
650
704
  options: (string | {
@@ -654,9 +708,8 @@ export interface IJobRoleTemplateSchema {
654
708
  } | {
655
709
  value: "others" | (string | undefined)[];
656
710
  otherValue: string | string[];
657
- })[];
658
- answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
659
- }[] | undefined;
711
+ } | undefined)[];
712
+ } | {})[] | undefined;
660
713
  description: string;
661
714
  headline: string;
662
715
  designation: NonNullable<{
@@ -766,15 +819,21 @@ export interface IMobileNumberSchema {
766
819
  };
767
820
  }
768
821
  export interface IChoiceQuestionSchema {
769
- description?: string | undefined;
770
822
  label?: string | undefined;
771
823
  isNew?: boolean | undefined;
772
824
  isOptional?: boolean | undefined;
773
825
  readonly?: boolean | undefined;
774
- preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
826
+ 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;
827
+ answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | (string | number | boolean | {
828
+ logo?: string | undefined;
829
+ name: string;
830
+ id: string;
831
+ } | {
832
+ value: "others" | (string | undefined)[];
833
+ otherValue: string | string[];
834
+ } | undefined)[] | undefined;
775
835
  optionsFrom?: string | undefined;
776
- answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
777
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
836
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
778
837
  default: boolean;
779
838
  title: string;
780
839
  options: (string | {
@@ -784,77 +843,44 @@ export interface IChoiceQuestionSchema {
784
843
  } | {
785
844
  value: "others" | (string | undefined)[];
786
845
  otherValue: string | string[];
787
- })[];
788
- answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
846
+ } | undefined)[];
789
847
  }
790
848
  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
849
  label?: string | undefined;
794
850
  isNew?: boolean | undefined;
795
- default: boolean;
796
- title: string;
797
851
  isOptional?: boolean | undefined;
798
852
  readonly?: boolean | undefined;
799
- preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
800
- optionsFrom?: string | undefined;
801
- answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
802
- answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
853
+ preferredAnswer?: string | undefined;
854
+ answers?: string | undefined;
855
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
856
+ default: boolean;
857
+ title: string;
803
858
  }
804
859
  export interface IMixedValue {
805
- toString: (() => string) | ((radix?: number | undefined) => string) | (() => string) | (() => string);
860
+ toString: (() => string) | ((radix?: number | undefined) => string) | (() => string);
806
861
  valueOf: (() => string) | (() => number) | (() => boolean) | (() => Object);
807
862
  toLocaleString: (() => string) | {
808
863
  (locales?: string | string[] | undefined, options?: Intl.NumberFormatOptions | undefined): string;
809
864
  (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions | undefined): string;
810
- } | {
811
- (): string;
812
- (locales: string | string[], options?: (Intl.NumberFormatOptions & Intl.DateTimeFormatOptions) | undefined): string;
813
865
  };
814
866
  }
815
867
  export interface IQuestionSchema {
816
868
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
817
- description?: string | undefined;
818
869
  label?: string | undefined;
819
870
  isNew?: boolean | undefined;
820
871
  default: boolean;
821
872
  title: string;
822
873
  isOptional?: boolean | undefined;
823
874
  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
875
  }
837
876
  export interface IReadAndAcknowledgeQuestionSchema {
838
- description?: string | undefined;
839
877
  label?: string | undefined;
840
878
  isNew?: boolean | undefined;
841
879
  isOptional?: boolean | undefined;
842
880
  readonly?: boolean | undefined;
843
- preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
844
- optionsFrom?: string | undefined;
845
- answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | undefined;
846
881
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
847
882
  default: boolean;
848
883
  title: string;
849
- options: (string | {
850
- logo?: string | undefined;
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>;
858
884
  }
859
885
  export interface IResumeGeneralInfoSchema {
860
886
  headline?: string | undefined;