@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.
@@ -1,84 +1,4 @@
1
- import { QuestionType } from "../question";
2
- export declare const getSchemaByQuestion: (type: QuestionType) => import("yup").ObjectSchema<{
3
- label: string | undefined;
4
- default: boolean;
5
- title: string;
6
- type: QuestionType.Input;
7
- isOptional: boolean | undefined;
8
- readonly: boolean | undefined;
9
- isNew: boolean | undefined;
10
- } & {
11
- type: QuestionType.Input;
12
- preferredAnswer: string | undefined;
13
- answers: string | undefined;
14
- }, import("yup").AnyObject, {
15
- label: undefined;
16
- default: false;
17
- title: undefined;
18
- type: undefined;
19
- isOptional: undefined;
20
- readonly: undefined;
21
- isNew: undefined;
22
- preferredAnswer: undefined;
23
- answers: undefined;
24
- }, ""> | import("yup").ObjectSchema<{
25
- label: string | undefined;
26
- default: boolean;
27
- title: string;
28
- type: QuestionType.Choice;
29
- isOptional: boolean | undefined;
30
- readonly: boolean | undefined;
31
- isNew: boolean | undefined;
32
- } & {
33
- type: QuestionType.Choice;
34
- optionsFrom: import("..").Common.EducationLevel | import("..").Common.ExperienceLevel | import("..").Common.Skill | undefined;
35
- options: (string | {
36
- logo?: string | undefined;
37
- name: string;
38
- id: string;
39
- } | {
40
- value: "others" | (string | undefined)[];
41
- otherValue: string | string[];
42
- } | undefined)[];
43
- answerChoiceType: NonNullable<import("../question").AnswerChoiceType | undefined>;
44
- preferredAnswer: import("../question").TMixedValue | import("../question").TMixedValue[] | undefined;
45
- answers: import("../question").TMixedValue | import("../question").TMixedValue[] | undefined;
46
- }, import("yup").AnyObject, {
47
- label: undefined;
48
- default: false;
49
- title: undefined;
50
- type: undefined;
51
- isOptional: undefined;
52
- readonly: undefined;
53
- isNew: undefined;
54
- optionsFrom: undefined;
55
- options: "";
56
- answerChoiceType: import("../question").AnswerChoiceType.Single;
57
- preferredAnswer: undefined;
58
- answers: undefined;
59
- }, ""> | import("yup").ObjectSchema<{
60
- label: string | undefined;
61
- default: boolean;
62
- title: string;
63
- type: QuestionType.ReadAndAcknowledge;
64
- isOptional: boolean | undefined;
65
- readonly: boolean | undefined;
66
- isNew: boolean | undefined;
67
- } & {
68
- type: QuestionType.ReadAndAcknowledge;
69
- description: string;
70
- preferredAnswer: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
71
- answers: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
72
- }, import("yup").AnyObject, {
73
- label: undefined;
74
- default: false;
75
- title: undefined;
76
- type: undefined;
77
- isOptional: undefined;
78
- readonly: undefined;
79
- isNew: undefined;
80
- description: undefined;
81
- preferredAnswer: undefined;
82
- answers: undefined;
83
- }, "">;
1
+ import { ObjectSchema } from "yup";
2
+ import { QuestionType, TQuestionSchema } from "../question";
3
+ export declare const getSchemaByQuestion: (type: QuestionType) => ObjectSchema<TQuestionSchema>;
84
4
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/job/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEb,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,mBAAmB,GAAI,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAWrD,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/job/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EAGL,YAAY,EAEZ,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,mBAAmB,GAC9B,MAAM,YAAY,KACjB,YAAY,CAAC,eAAe,CAW9B,CAAC"}
@@ -245,19 +245,9 @@ export declare const JobApplicationSchema: ObjectSchema<{
245
245
  isNew?: boolean | undefined;
246
246
  isOptional?: boolean | undefined;
247
247
  readonly?: boolean | undefined;
248
- preferredAnswer?: string | undefined;
249
- answers?: string | undefined;
250
- type: import("../question").QuestionType.Input;
251
- default: boolean;
252
- title: string;
253
- } | {
254
- label?: string | undefined;
255
- isNew?: boolean | undefined;
256
- isOptional?: boolean | undefined;
257
- readonly?: boolean | undefined;
248
+ optionsFrom?: import("../common").Common.EducationLevel | import("../common").Common.ExperienceLevel | import("../common").Common.Skill | undefined;
258
249
  preferredAnswer?: import("../question").TMixedValue | import("../question").TMixedValue[] | undefined;
259
250
  answers?: import("../question").TMixedValue | import("../question").TMixedValue[] | undefined;
260
- optionsFrom?: import("../common").Common.EducationLevel | import("../common").Common.ExperienceLevel | import("../common").Common.Skill | undefined;
261
251
  type: import("../question").QuestionType.Choice;
262
252
  default: boolean;
263
253
  title: string;
@@ -270,6 +260,16 @@ export declare const JobApplicationSchema: ObjectSchema<{
270
260
  otherValue: string | string[];
271
261
  } | undefined)[];
272
262
  answerChoiceType: NonNullable<import("../question").AnswerChoiceType | undefined>;
263
+ } | {
264
+ label?: string | undefined;
265
+ isNew?: boolean | undefined;
266
+ isOptional?: boolean | undefined;
267
+ readonly?: boolean | undefined;
268
+ preferredAnswer?: string | undefined;
269
+ answers?: string | undefined;
270
+ type: import("../question").QuestionType.Input;
271
+ default: boolean;
272
+ title: string;
273
273
  } | {
274
274
  label?: string | undefined;
275
275
  isNew?: boolean | undefined;
@@ -21,6 +21,47 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
21
21
  } | undefined>;
22
22
  tags: any[] | undefined;
23
23
  questionnaire: ({
24
+ label?: string | undefined;
25
+ isNew?: boolean | undefined;
26
+ isOptional?: boolean | undefined;
27
+ readonly?: boolean | undefined;
28
+ optionsFrom?: import("..").Common.EducationLevel | import("..").Common.ExperienceLevel | import("..").Common.Skill | undefined;
29
+ preferredAnswer?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
30
+ answers?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
31
+ type: import("..").QuestionType.Choice;
32
+ default: boolean;
33
+ title: string;
34
+ options: (string | {
35
+ logo?: string | undefined;
36
+ name: string;
37
+ id: string;
38
+ } | {
39
+ value: "others" | (string | undefined)[];
40
+ otherValue: string | string[];
41
+ } | undefined)[];
42
+ answerChoiceType: NonNullable<import("..").AnswerChoiceType | undefined>;
43
+ } | {
44
+ label?: string | undefined;
45
+ isNew?: boolean | undefined;
46
+ isOptional?: boolean | undefined;
47
+ readonly?: boolean | undefined;
48
+ preferredAnswer?: string | undefined;
49
+ answers?: string | undefined;
50
+ type: import("..").QuestionType.Input;
51
+ default: boolean;
52
+ title: string;
53
+ } | {
54
+ label?: string | undefined;
55
+ isNew?: boolean | undefined;
56
+ isOptional?: boolean | undefined;
57
+ readonly?: boolean | undefined;
58
+ type: import("..").QuestionType.ReadAndAcknowledge;
59
+ default: boolean;
60
+ description: string;
61
+ title: string;
62
+ preferredAnswer: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
63
+ answers: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
64
+ } | {
24
65
  label?: string | undefined;
25
66
  isNew?: boolean | undefined;
26
67
  isOptional?: boolean | undefined;
@@ -34,8 +75,8 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
34
75
  isNew?: boolean | undefined;
35
76
  isOptional?: boolean | undefined;
36
77
  readonly?: boolean | undefined;
37
- preferredAnswer?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
38
78
  optionsFrom?: import("..").Common.EducationLevel | import("..").Common.ExperienceLevel | import("..").Common.Skill | undefined;
79
+ preferredAnswer?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
39
80
  type: import("..").QuestionType.Choice;
40
81
  default: boolean;
41
82
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQhC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQhC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import { TNameIdLogoSchema, TOtherValueSchema } from "../common";
2
- import { InferType } from "../yup-extended";
2
+ import { TChoiceQuestionSchema } from "./choice-question.schema";
3
+ import { TInputQuestionSchema } from "./input-question.schema";
4
+ import { TReadAndAcknowledgeQuestionSchema } from "./read-and-acknowledge.schema";
3
5
  export type TMixedValue = string | boolean | number | TNameIdLogoSchema | TOtherValueSchema;
4
6
  export declare const QuestionSchema: import("yup").ObjectSchema<{
5
7
  label: string | undefined;
@@ -18,5 +20,5 @@ export declare const QuestionSchema: import("yup").ObjectSchema<{
18
20
  readonly: undefined;
19
21
  isNew: undefined;
20
22
  }, "">;
21
- export type TQuestionSchema = Omit<InferType<typeof QuestionSchema>, "options">;
23
+ export type TQuestionSchema = TInputQuestionSchema | TChoiceQuestionSchema | TReadAndAcknowledgeQuestionSchema;
22
24
  //# sourceMappingURL=question.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"question.schema.d.ts","sourceRoot":"","sources":["../../../src/question/question.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAW,SAAS,EAAkB,MAAM,iBAAiB,CAAC;AAGrE,MAAM,MAAM,WAAW,GACnB,MAAM,GACN,OAAO,GACP,MAAM,GACN,iBAAiB,GACjB,iBAAiB,CAAC;AAEtB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;MAQzB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,cAAc,CAAC,EAAE,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"question.schema.d.ts","sourceRoot":"","sources":["../../../src/question/question.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA+B,CAAC;AAElF,MAAM,MAAM,WAAW,GACnB,MAAM,GACN,OAAO,GACP,MAAM,GACN,iBAAiB,GACjB,iBAAiB,CAAC;AAEtB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;MAQzB,CAAC;AAEH,MAAM,MAAM,eAAe,GACvB,oBAAoB,GACpB,qBAAqB,GACrB,iCAAiC,CAAC"}
@@ -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;