@thejob/schema 1.0.38 → 1.0.40

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 (47) hide show
  1. package/dist/cjs/design-and-font/design-and-font.schema.d.ts +46 -0
  2. package/dist/cjs/design-and-font/design-and-font.schema.d.ts.map +1 -0
  3. package/dist/cjs/design-and-font/design-and-font.schema.js +28 -0
  4. package/dist/cjs/design-and-font/index.d.ts +2 -0
  5. package/dist/cjs/design-and-font/index.d.ts.map +1 -0
  6. package/dist/cjs/design-and-font/index.js +17 -0
  7. package/dist/cjs/index.d.ts +1 -0
  8. package/dist/cjs/index.d.ts.map +1 -1
  9. package/dist/cjs/index.js +1 -0
  10. package/dist/cjs/interfaces.index.d.ts +185 -3
  11. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  12. package/dist/cjs/job/job.schema.d.ts +42 -1
  13. package/dist/cjs/job/job.schema.d.ts.map +1 -1
  14. package/dist/cjs/job/utils.d.ts +3 -83
  15. package/dist/cjs/job/utils.d.ts.map +1 -1
  16. package/dist/cjs/job-application/job-application.schema.d.ts +11 -11
  17. package/dist/cjs/job-role-template/job-role-template.schema.d.ts +42 -1
  18. package/dist/cjs/job-role-template/job-role-template.schema.d.ts.map +1 -1
  19. package/dist/cjs/question/question.schema.d.ts +4 -2
  20. package/dist/cjs/question/question.schema.d.ts.map +1 -1
  21. package/dist/cjs/resume/resume.schema.d.ts +26 -0
  22. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  23. package/dist/cjs/resume/resume.schema.js +2 -0
  24. package/dist/esm/design-and-font/design-and-font.schema.d.ts +46 -0
  25. package/dist/esm/design-and-font/design-and-font.schema.d.ts.map +1 -0
  26. package/dist/esm/design-and-font/design-and-font.schema.js +25 -0
  27. package/dist/esm/design-and-font/index.d.ts +2 -0
  28. package/dist/esm/design-and-font/index.d.ts.map +1 -0
  29. package/dist/esm/design-and-font/index.js +1 -0
  30. package/dist/esm/index.d.ts +1 -0
  31. package/dist/esm/index.d.ts.map +1 -1
  32. package/dist/esm/index.js +1 -0
  33. package/dist/esm/interfaces.index.d.ts +185 -3
  34. package/dist/esm/interfaces.index.d.ts.map +1 -1
  35. package/dist/esm/job/job.schema.d.ts +42 -1
  36. package/dist/esm/job/job.schema.d.ts.map +1 -1
  37. package/dist/esm/job/utils.d.ts +3 -83
  38. package/dist/esm/job/utils.d.ts.map +1 -1
  39. package/dist/esm/job-application/job-application.schema.d.ts +11 -11
  40. package/dist/esm/job-role-template/job-role-template.schema.d.ts +42 -1
  41. package/dist/esm/job-role-template/job-role-template.schema.d.ts.map +1 -1
  42. package/dist/esm/question/question.schema.d.ts +4 -2
  43. package/dist/esm/question/question.schema.d.ts.map +1 -1
  44. package/dist/esm/resume/resume.schema.d.ts +26 -0
  45. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  46. package/dist/esm/resume/resume.schema.js +2 -0
  47. package/package.json +1 -1
@@ -0,0 +1,46 @@
1
+ import { InferType } from "../yup-extended";
2
+ export declare const BackgroundSchema: import("yup").ObjectSchema<{
3
+ image: string;
4
+ height: string | number | undefined;
5
+ width: string | number | undefined;
6
+ top: number | undefined;
7
+ right: number | undefined;
8
+ bottom: number | undefined;
9
+ left: number | undefined;
10
+ }, import("yup").AnyObject, {
11
+ image: undefined;
12
+ height: undefined;
13
+ width: undefined;
14
+ top: undefined;
15
+ right: undefined;
16
+ bottom: undefined;
17
+ left: undefined;
18
+ }, "">;
19
+ export type TBackgroundSchema = InferType<typeof BackgroundSchema>;
20
+ export declare const DesignAndFontSchema: import("yup").ObjectSchema<{
21
+ pageMargin: number;
22
+ sectionSpacing: number;
23
+ baseColor: string;
24
+ fontStyle: string;
25
+ fontSize: number;
26
+ lineHeight: number;
27
+ background: {
28
+ height?: string | number | undefined;
29
+ width?: string | number | undefined;
30
+ top?: number | undefined;
31
+ right?: number | undefined;
32
+ bottom?: number | undefined;
33
+ left?: number | undefined;
34
+ image: string;
35
+ }[];
36
+ }, import("yup").AnyObject, {
37
+ pageMargin: 10;
38
+ sectionSpacing: 10;
39
+ baseColor: "blue";
40
+ fontStyle: "Roboto";
41
+ fontSize: 12;
42
+ lineHeight: 1.15;
43
+ background: never[];
44
+ }, "">;
45
+ export type TDesignAndFontSchema = InferType<typeof DesignAndFontSchema>;
46
+ //# sourceMappingURL=design-and-font.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"design-and-font.schema.d.ts","sourceRoot":"","sources":["../../../src/design-and-font/design-and-font.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EAKV,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;MAc3B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;MAQ9B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DesignAndFontSchema = exports.BackgroundSchema = void 0;
4
+ const yup_extended_1 = require("../yup-extended");
5
+ exports.BackgroundSchema = (0, yup_extended_1.object)().shape({
6
+ image: (0, yup_extended_1.string)().required().label("Image"),
7
+ height: (0, yup_extended_1.mixed)()
8
+ .oneOfSchema([(0, yup_extended_1.string)(), (0, yup_extended_1.number)()])
9
+ .optional()
10
+ .label("Height"),
11
+ width: (0, yup_extended_1.mixed)()
12
+ .oneOfSchema([(0, yup_extended_1.string)(), (0, yup_extended_1.number)()])
13
+ .optional()
14
+ .label("Width"),
15
+ top: (0, yup_extended_1.number)().optional().label("Top"),
16
+ right: (0, yup_extended_1.number)().optional().label("Right"),
17
+ bottom: (0, yup_extended_1.number)().optional().label("Bottom"),
18
+ left: (0, yup_extended_1.number)().optional().label("Left"),
19
+ });
20
+ exports.DesignAndFontSchema = (0, yup_extended_1.object)().shape({
21
+ pageMargin: (0, yup_extended_1.number)().required().default(10).label("Page Margin"),
22
+ sectionSpacing: (0, yup_extended_1.number)().required().default(10).label("Section Spacing"),
23
+ baseColor: (0, yup_extended_1.string)().required().default("blue").label("Base Color"),
24
+ fontStyle: (0, yup_extended_1.string)().required().default("Roboto").label("Font Style"),
25
+ fontSize: (0, yup_extended_1.number)().required().default(12).label("Font Size"),
26
+ lineHeight: (0, yup_extended_1.number)().required().default(1.15).label("Line Height"),
27
+ background: (0, yup_extended_1.array)().of(exports.BackgroundSchema).default([]).label("Background"),
28
+ });
@@ -0,0 +1,2 @@
1
+ export * from "./design-and-font.schema";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/design-and-font/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./design-and-font.schema"), exports);
@@ -21,6 +21,7 @@ export * from "./job-role-template";
21
21
  export * from "./ai";
22
22
  export * from "./group";
23
23
  export * from "./social-account";
24
+ export * from "./design-and-font";
24
25
  export * from "./yup-extended";
25
26
  export * from './interfaces.index';
26
27
  //# 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,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -37,5 +37,6 @@ __exportStar(require("./job-role-template"), exports);
37
37
  __exportStar(require("./ai"), exports);
38
38
  __exportStar(require("./group"), exports);
39
39
  __exportStar(require("./social-account"), exports);
40
+ __exportStar(require("./design-and-font"), exports);
40
41
  __exportStar(require("./yup-extended"), exports);
41
42
  __exportStar(require("./interfaces.index"), exports);
@@ -161,6 +161,16 @@ export interface IAiPromptJobApplicationSummary {
161
161
  workingHoursPerWeek?: number | undefined;
162
162
  tags?: any[] | undefined;
163
163
  questionnaire?: ({
164
+ label?: string | undefined;
165
+ isNew?: boolean | undefined;
166
+ isOptional?: boolean | undefined;
167
+ readonly?: boolean | undefined;
168
+ preferredAnswer?: string | undefined;
169
+ answers?: string | undefined;
170
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
171
+ default: boolean;
172
+ title: string;
173
+ } | {
164
174
  label?: string | undefined;
165
175
  isNew?: boolean | undefined;
166
176
  isOptional?: boolean | undefined;
@@ -169,6 +179,26 @@ export interface IAiPromptJobApplicationSummary {
169
179
  type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
170
180
  default: boolean;
171
181
  title: string;
182
+ } | {
183
+ label?: string | undefined;
184
+ isNew?: boolean | undefined;
185
+ isOptional?: boolean | undefined;
186
+ readonly?: boolean | undefined;
187
+ preferredAnswer?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue[] | undefined;
188
+ answers?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue[] | undefined;
189
+ optionsFrom?: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.EducationLevel | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.ExperienceLevel | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Skill | undefined;
190
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
191
+ default: boolean;
192
+ title: string;
193
+ options: (string | {
194
+ logo?: string | undefined;
195
+ id: string;
196
+ name: string;
197
+ } | {
198
+ value: "others" | (string | undefined)[];
199
+ otherValue: string | string[];
200
+ } | undefined)[];
201
+ answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
172
202
  } | {
173
203
  label?: string | undefined;
174
204
  isNew?: boolean | undefined;
@@ -188,6 +218,17 @@ export interface IAiPromptJobApplicationSummary {
188
218
  otherValue: string | string[];
189
219
  } | undefined)[];
190
220
  answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
221
+ } | {
222
+ label?: string | undefined;
223
+ isNew?: boolean | undefined;
224
+ isOptional?: boolean | undefined;
225
+ readonly?: boolean | undefined;
226
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
227
+ description: string;
228
+ default: boolean;
229
+ title: string;
230
+ preferredAnswer: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
231
+ answers: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.Yes | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").Common.No | undefined>;
191
232
  } | {
192
233
  label?: string | undefined;
193
234
  isNew?: boolean | undefined;
@@ -725,6 +766,32 @@ export interface ICourseSchema {
725
766
  name: string;
726
767
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/course/course.constant").CourseType | undefined>;
727
768
  }
769
+ export interface IBackgroundSchema {
770
+ height?: string | number | undefined;
771
+ width?: string | number | undefined;
772
+ top?: number | undefined;
773
+ right?: number | undefined;
774
+ bottom?: number | undefined;
775
+ left?: number | undefined;
776
+ image: string;
777
+ }
778
+ export interface IDesignAndFontSchema {
779
+ pageMargin: number;
780
+ sectionSpacing: number;
781
+ baseColor: string;
782
+ fontStyle: string;
783
+ fontSize: number;
784
+ lineHeight: number;
785
+ background: {
786
+ height?: string | number | undefined;
787
+ width?: string | number | undefined;
788
+ top?: number | undefined;
789
+ right?: number | undefined;
790
+ bottom?: number | undefined;
791
+ left?: number | undefined;
792
+ image: string;
793
+ }[];
794
+ }
728
795
  export interface IDesignationSchema {
729
796
  name: string;
730
797
  }
@@ -783,6 +850,16 @@ export interface IJobSchema {
783
850
  workingHoursPerWeek?: number | undefined;
784
851
  tags?: any[] | undefined;
785
852
  questionnaire?: ({
853
+ label?: string | undefined;
854
+ isNew?: boolean | undefined;
855
+ isOptional?: boolean | undefined;
856
+ readonly?: boolean | undefined;
857
+ preferredAnswer?: string | undefined;
858
+ answers?: string | undefined;
859
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
860
+ default: boolean;
861
+ title: string;
862
+ } | {
786
863
  label?: string | undefined;
787
864
  isNew?: boolean | undefined;
788
865
  isOptional?: boolean | undefined;
@@ -797,6 +874,7 @@ export interface IJobSchema {
797
874
  isOptional?: boolean | undefined;
798
875
  readonly?: boolean | undefined;
799
876
  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;
877
+ 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
878
  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
879
  type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
802
880
  default: boolean;
@@ -810,6 +888,36 @@ export interface IJobSchema {
810
888
  otherValue: string | string[];
811
889
  } | undefined)[];
812
890
  answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
891
+ } | {
892
+ label?: string | undefined;
893
+ isNew?: boolean | undefined;
894
+ isOptional?: boolean | undefined;
895
+ readonly?: boolean | undefined;
896
+ 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;
897
+ 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;
898
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
899
+ default: boolean;
900
+ title: string;
901
+ options: (string | {
902
+ logo?: string | undefined;
903
+ id: string;
904
+ name: string;
905
+ } | {
906
+ value: "others" | (string | undefined)[];
907
+ otherValue: string | string[];
908
+ } | undefined)[];
909
+ answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
910
+ } | {
911
+ label?: string | undefined;
912
+ isNew?: boolean | undefined;
913
+ isOptional?: boolean | undefined;
914
+ readonly?: boolean | undefined;
915
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
916
+ description: string;
917
+ default: boolean;
918
+ title: string;
919
+ 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>;
920
+ 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
921
  } | {
814
922
  label?: string | undefined;
815
923
  isNew?: boolean | undefined;
@@ -1305,6 +1413,16 @@ export interface IJobRoleTemplateSchema {
1305
1413
  } | undefined)[] | undefined;
1306
1414
  tags?: any[] | undefined;
1307
1415
  questionnaire?: ({
1416
+ label?: string | undefined;
1417
+ isNew?: boolean | undefined;
1418
+ isOptional?: boolean | undefined;
1419
+ readonly?: boolean | undefined;
1420
+ preferredAnswer?: string | undefined;
1421
+ answers?: string | undefined;
1422
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Input;
1423
+ default: boolean;
1424
+ title: string;
1425
+ } | {
1308
1426
  label?: string | undefined;
1309
1427
  isNew?: boolean | undefined;
1310
1428
  isOptional?: boolean | undefined;
@@ -1319,6 +1437,7 @@ export interface IJobRoleTemplateSchema {
1319
1437
  isOptional?: boolean | undefined;
1320
1438
  readonly?: boolean | undefined;
1321
1439
  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;
1440
+ 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
1441
  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
1442
  type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
1324
1443
  default: boolean;
@@ -1332,6 +1451,36 @@ export interface IJobRoleTemplateSchema {
1332
1451
  otherValue: string | string[];
1333
1452
  } | undefined)[];
1334
1453
  answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
1454
+ } | {
1455
+ label?: string | undefined;
1456
+ isNew?: boolean | undefined;
1457
+ isOptional?: boolean | undefined;
1458
+ readonly?: boolean | undefined;
1459
+ 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;
1460
+ 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;
1461
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.Choice;
1462
+ default: boolean;
1463
+ title: string;
1464
+ options: (string | {
1465
+ logo?: string | undefined;
1466
+ id: string;
1467
+ name: string;
1468
+ } | {
1469
+ value: "others" | (string | undefined)[];
1470
+ otherValue: string | string[];
1471
+ } | undefined)[];
1472
+ answerChoiceType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").AnswerChoiceType | undefined>;
1473
+ } | {
1474
+ label?: string | undefined;
1475
+ isNew?: boolean | undefined;
1476
+ isOptional?: boolean | undefined;
1477
+ readonly?: boolean | undefined;
1478
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType.ReadAndAcknowledge;
1479
+ description: string;
1480
+ default: boolean;
1481
+ title: string;
1482
+ 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>;
1483
+ 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
1484
  } | {
1336
1485
  label?: string | undefined;
1337
1486
  isNew?: boolean | undefined;
@@ -1486,13 +1635,29 @@ export interface IInputQuestionSchema {
1486
1635
  export interface IMixedValue {
1487
1636
  }
1488
1637
  export interface IQuestionSchema {
1489
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType | undefined>;
1490
1638
  label?: string | undefined;
1491
1639
  isNew?: boolean | undefined;
1492
- default: boolean;
1493
- title: string;
1494
1640
  isOptional?: boolean | undefined;
1495
1641
  readonly?: boolean | undefined;
1642
+ preferredAnswer?: string | number | boolean | {
1643
+ logo?: string | undefined;
1644
+ id: string;
1645
+ name: string;
1646
+ } | {
1647
+ value: "others" | (string | undefined)[];
1648
+ otherValue: string | string[];
1649
+ } | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue[] | undefined;
1650
+ answers?: string | number | boolean | {
1651
+ logo?: string | undefined;
1652
+ id: string;
1653
+ name: string;
1654
+ } | {
1655
+ value: "others" | (string | undefined)[];
1656
+ otherValue: string | string[];
1657
+ } | import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.schema").TMixedValue[] | undefined;
1658
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/question/question.constant").QuestionType;
1659
+ default: boolean;
1660
+ title: string;
1496
1661
  }
1497
1662
  export interface IReadAndAcknowledgeQuestionSchema {
1498
1663
  label?: string | undefined;
@@ -1566,6 +1731,23 @@ export interface IResumeSchemaV2 {
1566
1731
  createdBy: string;
1567
1732
  createdAt: number;
1568
1733
  userId: string;
1734
+ styles: {
1735
+ pageMargin: number;
1736
+ sectionSpacing: number;
1737
+ baseColor: string;
1738
+ fontStyle: string;
1739
+ fontSize: number;
1740
+ lineHeight: number;
1741
+ background: {
1742
+ height?: string | number | undefined;
1743
+ width?: string | number | undefined;
1744
+ top?: number | undefined;
1745
+ right?: number | undefined;
1746
+ bottom?: number | undefined;
1747
+ left?: number | undefined;
1748
+ image: string;
1749
+ }[];
1750
+ };
1569
1751
  sections: {
1570
1752
  id: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/resume/resume.constant").ResumeSectionType | undefined>;
1571
1753
  data: {