@thejob/schema 1.0.59 → 1.0.61

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 (43) hide show
  1. package/dist/cjs/interfaces.index.d.ts +85 -632
  2. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  3. package/dist/cjs/job/job.schema.d.ts +1 -1
  4. package/dist/cjs/job-application/job-application.schema.d.ts +11 -74
  5. package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
  6. package/dist/cjs/page/page.schema.d.ts +1 -1
  7. package/dist/cjs/page/page.schema.js +1 -1
  8. package/dist/cjs/resume/resume.schema.d.ts +29 -175
  9. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  10. package/dist/cjs/user/education/education.schema.d.ts +1 -1
  11. package/dist/cjs/user/general-detail/general-detail.schema.d.ts +3 -9
  12. package/dist/cjs/user/general-detail/general-detail.schema.d.ts.map +1 -1
  13. package/dist/cjs/user/general-detail/general-detail.schema.js +3 -3
  14. package/dist/cjs/user/update-education.schema.d.ts +1 -1
  15. package/dist/cjs/user/update-work-experience.schema.d.ts +9 -73
  16. package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
  17. package/dist/cjs/user/user.schema.d.ts +13 -83
  18. package/dist/cjs/user/user.schema.d.ts.map +1 -1
  19. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +34 -73
  20. package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
  21. package/dist/cjs/user/work-experience/work-experience.schema.js +5 -11
  22. package/dist/esm/interfaces.index.d.ts +85 -632
  23. package/dist/esm/interfaces.index.d.ts.map +1 -1
  24. package/dist/esm/job/job.schema.d.ts +1 -1
  25. package/dist/esm/job-application/job-application.schema.d.ts +11 -74
  26. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  27. package/dist/esm/page/page.schema.d.ts +1 -1
  28. package/dist/esm/page/page.schema.js +1 -1
  29. package/dist/esm/resume/resume.schema.d.ts +29 -175
  30. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  31. package/dist/esm/user/education/education.schema.d.ts +1 -1
  32. package/dist/esm/user/general-detail/general-detail.schema.d.ts +3 -9
  33. package/dist/esm/user/general-detail/general-detail.schema.d.ts.map +1 -1
  34. package/dist/esm/user/general-detail/general-detail.schema.js +3 -3
  35. package/dist/esm/user/update-education.schema.d.ts +1 -1
  36. package/dist/esm/user/update-work-experience.schema.d.ts +9 -73
  37. package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
  38. package/dist/esm/user/user.schema.d.ts +13 -83
  39. package/dist/esm/user/user.schema.d.ts.map +1 -1
  40. package/dist/esm/user/work-experience/work-experience.schema.d.ts +34 -73
  41. package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
  42. package/dist/esm/user/work-experience/work-experience.schema.js +6 -12
  43. package/package.json +1 -1
@@ -29,7 +29,7 @@ export declare const PageSchema: import("yup").ObjectSchema<NonNullable<{
29
29
  }[] | undefined;
30
30
  verified: Date | undefined;
31
31
  logo: {
32
- dark?: string | undefined;
32
+ dark?: string | null | undefined;
33
33
  light: string;
34
34
  } | null;
35
35
  categories: {
@@ -50,7 +50,7 @@ export const PageSchema = object()
50
50
  // .label("Logo File"),
51
51
  logo: object()
52
52
  .shape({
53
- dark: string().label("Dark Logo"),
53
+ dark: string().optional().nullable().label("Dark Logo"),
54
54
  light: string().required().label("Light Logo"),
55
55
  })
56
56
  .optional()
@@ -11,16 +11,9 @@ declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
11
11
  image: string | undefined;
12
12
  aboutMe: string | undefined;
13
13
  email: string;
14
- mobile: {
15
- number: string;
16
- country: {
17
- locale?: string | undefined;
18
- name: string;
19
- dial_code: string;
20
- code: string;
21
- };
22
- };
14
+ mobile: string | null | undefined;
23
15
  emailVerified: string | null | undefined;
16
+ mobileVerified: string | null | undefined;
24
17
  experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
25
18
  location: {
26
19
  state?: string | null | undefined;
@@ -46,6 +39,7 @@ declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
46
39
  email: undefined;
47
40
  mobile: undefined;
48
41
  emailVerified: undefined;
42
+ mobileVerified: undefined;
49
43
  experienceLevel: undefined;
50
44
  location: any;
51
45
  }, "">;
@@ -97,7 +91,9 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
97
91
  headline?: string | undefined;
98
92
  image?: string | undefined;
99
93
  aboutMe?: string | undefined;
94
+ mobile?: string | null | undefined;
100
95
  emailVerified?: string | null | undefined;
96
+ mobileVerified?: string | null | undefined;
101
97
  email: string;
102
98
  name: {
103
99
  last?: string | undefined;
@@ -116,83 +112,17 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
116
112
  coordinates: number[];
117
113
  };
118
114
  };
119
- mobile: {
120
- number: string;
121
- country: {
122
- locale?: string | undefined;
123
- name: string;
124
- dial_code: string;
125
- code: string;
126
- };
127
- };
128
115
  } | {
129
116
  description?: string | undefined;
130
- company: NonNullable<{
131
- value: "others" | (string | undefined)[];
132
- otherValue: string | string[];
133
- } | Pick<{
134
- updatedBy?: string | undefined;
135
- updatedAt?: number | undefined;
136
- socialAccounts?: {
137
- type: NonNullable<import("../common").SocialAccount | undefined>;
138
- url: string;
139
- isNew: boolean;
140
- }[] | undefined;
141
- perksAndBenefits?: {
142
- category?: {
143
- logo?: string | undefined;
144
- name: string;
145
- id: string;
146
- } | {
147
- value: "others" | (string | undefined)[];
148
- otherValue: string | string[];
149
- } | undefined;
150
- name: string;
151
- description: string;
152
- }[] | undefined;
153
- locations?: {
154
- coverImage?: string | undefined;
155
- name: string;
156
- isHeadquarters: boolean;
157
- contact: {
158
- email?: string | undefined;
159
- phone?: string | undefined;
160
- address: string;
161
- };
162
- }[] | undefined;
163
- equalOpportunityEmployer?: boolean | undefined;
164
- headline?: string | undefined;
165
- employeeCount?: string | undefined;
166
- yearFounded?: string | undefined;
167
- contacts?: {
168
- label?: string | undefined;
169
- type: NonNullable<import("..").ContactTypes | undefined>;
170
- value: string;
171
- isPrimary: boolean;
172
- isVerified: boolean;
173
- }[] | undefined;
174
- verified?: Date | undefined;
175
- isOwner?: boolean | undefined;
176
- type: NonNullable<import("..").PageType | undefined>;
177
- name: string;
178
- id: string;
179
- logo: {
180
- dark?: string | undefined;
117
+ company: {
118
+ type?: NonNullable<import("..").PageType | undefined> | undefined;
119
+ logo?: {
120
+ dark?: string | null | undefined;
181
121
  light: string;
182
- } | null;
183
- shortId: string;
184
- createdBy: string;
185
- createdAt: number;
186
- about: string;
187
- website: string;
188
- slug: string;
189
- categories: {
190
- logo?: string | undefined;
191
- name: string;
192
- id: string;
193
- }[];
194
- status: NonNullable<import("..").PageStatus | undefined>;
195
- }, "type" | "name" | "logo" | "slug"> | undefined>;
122
+ } | null | undefined;
123
+ slug?: string | undefined;
124
+ name: string;
125
+ };
196
126
  duration: {
197
127
  startDate: string;
198
128
  endDate: string;
@@ -210,14 +140,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
210
140
  coordinates: number[];
211
141
  };
212
142
  };
213
- designation: NonNullable<{
214
- logo?: string | undefined;
215
- name: string;
216
- id: string;
217
- } | {
218
- value: "others" | (string | undefined)[];
219
- otherValue: string | string[];
220
- } | undefined>;
143
+ designation: string;
221
144
  isRemote: boolean;
222
145
  }[] | {
223
146
  description?: string | undefined;
@@ -271,7 +194,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
271
194
  name: string;
272
195
  id: string;
273
196
  logo: {
274
- dark?: string | undefined;
197
+ dark?: string | null | undefined;
275
198
  light: string;
276
199
  } | null;
277
200
  shortId: string;
@@ -449,6 +372,7 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
449
372
  email: undefined;
450
373
  mobile: undefined;
451
374
  emailVerified: undefined;
375
+ mobileVerified: undefined;
452
376
  experienceLevel: undefined;
453
377
  location: any;
454
378
  };
@@ -467,7 +391,9 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
467
391
  headline?: string | undefined;
468
392
  image?: string | undefined;
469
393
  aboutMe?: string | undefined;
394
+ mobile?: string | null | undefined;
470
395
  emailVerified?: string | null | undefined;
396
+ mobileVerified?: string | null | undefined;
471
397
  email: string;
472
398
  name: {
473
399
  last?: string | undefined;
@@ -485,72 +411,15 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
485
411
  }[];
486
412
  workExperiences: {
487
413
  description?: string | undefined;
488
- company: NonNullable<{
489
- value: "others" | (string | undefined)[];
490
- otherValue: string | string[];
491
- } | Pick<{
492
- updatedBy?: string | undefined;
493
- updatedAt?: number | undefined;
494
- socialAccounts?: {
495
- type: NonNullable<import("../common").SocialAccount | undefined>;
496
- url: string;
497
- isNew: boolean;
498
- }[] | undefined;
499
- perksAndBenefits?: {
500
- category?: {
501
- logo?: string | undefined;
502
- name: string;
503
- id: string;
504
- } | {
505
- value: "others" | (string | undefined)[];
506
- otherValue: string | string[];
507
- } | undefined;
508
- name: string;
509
- description: string;
510
- }[] | undefined;
511
- locations?: {
512
- coverImage?: string | undefined;
513
- name: string;
514
- isHeadquarters: boolean;
515
- contact: {
516
- email?: string | undefined;
517
- phone?: string | undefined;
518
- address: string;
519
- };
520
- }[] | undefined;
521
- equalOpportunityEmployer?: boolean | undefined;
522
- headline?: string | undefined;
523
- employeeCount?: string | undefined;
524
- yearFounded?: string | undefined;
525
- contacts?: {
526
- label?: string | undefined;
527
- type: NonNullable<import("..").ContactTypes | undefined>;
528
- value: string;
529
- isPrimary: boolean;
530
- isVerified: boolean;
531
- }[] | undefined;
532
- verified?: Date | undefined;
533
- isOwner?: boolean | undefined;
534
- type: NonNullable<import("..").PageType | undefined>;
535
- name: string;
536
- id: string;
537
- logo: {
538
- dark?: string | undefined;
414
+ company: {
415
+ type?: NonNullable<import("..").PageType | undefined> | undefined;
416
+ logo?: {
417
+ dark?: string | null | undefined;
539
418
  light: string;
540
- } | null;
541
- shortId: string;
542
- createdBy: string;
543
- createdAt: number;
544
- about: string;
545
- website: string;
546
- slug: string;
547
- categories: {
548
- logo?: string | undefined;
549
- name: string;
550
- id: string;
551
- }[];
552
- status: NonNullable<import("..").PageStatus | undefined>;
553
- }, "type" | "name" | "logo" | "slug"> | undefined>;
419
+ } | null | undefined;
420
+ slug?: string | undefined;
421
+ name: string;
422
+ };
554
423
  duration: {
555
424
  startDate: string;
556
425
  endDate: string;
@@ -568,14 +437,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
568
437
  coordinates: number[];
569
438
  };
570
439
  };
571
- designation: NonNullable<{
572
- logo?: string | undefined;
573
- name: string;
574
- id: string;
575
- } | {
576
- value: "others" | (string | undefined)[];
577
- otherValue: string | string[];
578
- } | undefined>;
440
+ designation: string;
579
441
  isRemote: boolean;
580
442
  }[];
581
443
  educations: {
@@ -630,7 +492,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
630
492
  name: string;
631
493
  id: string;
632
494
  logo: {
633
- dark?: string | undefined;
495
+ dark?: string | null | undefined;
634
496
  light: string;
635
497
  } | null;
636
498
  shortId: string;
@@ -745,15 +607,6 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
745
607
  coordinates: number[];
746
608
  };
747
609
  };
748
- mobile: {
749
- number: string;
750
- country: {
751
- locale?: string | undefined;
752
- name: string;
753
- dial_code: string;
754
- code: string;
755
- };
756
- };
757
610
  };
758
611
  title: string;
759
612
  jobUrl: string | undefined;
@@ -782,6 +635,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
782
635
  email: undefined;
783
636
  mobile: undefined;
784
637
  emailVerified: undefined;
638
+ mobileVerified: undefined;
785
639
  experienceLevel: undefined;
786
640
  location: any;
787
641
  };
@@ -1 +1 @@
1
- {"version":3,"file":"resume.schema.d.ts","sourceRoot":"","sources":["../../../src/resume/resume.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAuC,MAAM,SAAS,CAAC;AAC3E,OAAO,EAEL,WAAW,EAEX,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiEC,CAAC;AAC7B,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,OAAO,cAAc,CAAC,CAAC;AAoB/D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+BA,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3D,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuBb,CAAC;AAEvC,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC"}
@@ -50,7 +50,7 @@ export declare const EducationSchema: ObjectSchema<{
50
50
  name: string;
51
51
  id: string;
52
52
  logo: {
53
- dark?: string | undefined;
53
+ dark?: string | null | undefined;
54
54
  light: string;
55
55
  } | null;
56
56
  shortId: string;
@@ -9,16 +9,9 @@ export declare const UserGeneralDetailSchema: ObjectSchema<{
9
9
  image: string | undefined;
10
10
  aboutMe: string | undefined;
11
11
  email: string;
12
- mobile: {
13
- number: string;
14
- country: {
15
- locale?: string | undefined;
16
- name: string;
17
- dial_code: string;
18
- code: string;
19
- };
20
- };
12
+ mobile: string | null | undefined;
21
13
  emailVerified: string | null | undefined;
14
+ mobileVerified: string | null | undefined;
22
15
  experienceLevel: NonNullable<import("../../common").ExperienceLevel | undefined>;
23
16
  location: {
24
17
  state?: string | null | undefined;
@@ -44,6 +37,7 @@ export declare const UserGeneralDetailSchema: ObjectSchema<{
44
37
  email: undefined;
45
38
  mobile: undefined;
46
39
  emailVerified: undefined;
40
+ mobileVerified: undefined;
47
41
  experienceLevel: undefined;
48
42
  location: any;
49
43
  }, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"general-detail.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/general-detail/general-detail.schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAU,YAAY,EAAU,MAAM,oBAAoB,CAAC;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BV,CAAC;AAE3B,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,OAAO,uBAAuB,CAC/B,CAAC"}
1
+ {"version":3,"file":"general-detail.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/general-detail/general-detail.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAU,YAAY,EAAU,MAAM,oBAAoB,CAAC;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BV,CAAC;AAE3B,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,OAAO,uBAAuB,CAC/B,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { SupportedExperienceLevels } from "../../common";
2
2
  import { LocationSchema } from "../../location";
3
- import { MobileNumberSchema } from "../../phone";
4
3
  import { object, string } from "../../yup-extended";
5
4
  export const UserGeneralDetailSchema = object()
6
5
  .shape({
@@ -16,8 +15,9 @@ export const UserGeneralDetailSchema = object()
16
15
  image: string().optional().label("Image"),
17
16
  aboutMe: string().trim().max(3000).optional().label("About Me"),
18
17
  email: string().emailStrict().required().label("Email"),
19
- mobile: MobileNumberSchema,
20
- emailVerified: string().nullable().label("Email Verified"),
18
+ mobile: string().nullable().optional().label("Mobile"),
19
+ emailVerified: string().nullable().optional().label("Email Verified"),
20
+ mobileVerified: string().nullable().optional().label("Mobile Verified"),
21
21
  experienceLevel: string()
22
22
  .oneOf(SupportedExperienceLevels)
23
23
  .required()
@@ -55,7 +55,7 @@ export declare const UpdateEducationsSchema: import("yup").ObjectSchema<{
55
55
  name: string;
56
56
  id: string;
57
57
  logo: {
58
- dark?: string | undefined;
58
+ dark?: string | null | undefined;
59
59
  light: string;
60
60
  } | null;
61
61
  shortId: string;
@@ -2,72 +2,15 @@ import { InferType } from "../yup-extended";
2
2
  export declare const UpdateWorkExperiencesSchema: import("yup").ObjectSchema<{
3
3
  workExperiences: {
4
4
  description?: string | undefined;
5
- company: NonNullable<{
6
- value: "others" | (string | undefined)[];
7
- otherValue: string | string[];
8
- } | Pick<{
9
- updatedBy?: string | undefined;
10
- updatedAt?: number | undefined;
11
- socialAccounts?: {
12
- type: NonNullable<import("..").SocialAccount | undefined>;
13
- url: string;
14
- isNew: boolean;
15
- }[] | undefined;
16
- perksAndBenefits?: {
17
- category?: {
18
- logo?: string | undefined;
19
- name: string;
20
- id: string;
21
- } | {
22
- value: "others" | (string | undefined)[];
23
- otherValue: string | string[];
24
- } | undefined;
25
- name: string;
26
- description: string;
27
- }[] | undefined;
28
- locations?: {
29
- coverImage?: string | undefined;
30
- name: string;
31
- isHeadquarters: boolean;
32
- contact: {
33
- email?: string | undefined;
34
- phone?: string | undefined;
35
- address: string;
36
- };
37
- }[] | undefined;
38
- equalOpportunityEmployer?: boolean | undefined;
39
- headline?: string | undefined;
40
- employeeCount?: string | undefined;
41
- yearFounded?: string | undefined;
42
- contacts?: {
43
- label?: string | undefined;
44
- type: NonNullable<import("..").ContactTypes | undefined>;
45
- value: string;
46
- isPrimary: boolean;
47
- isVerified: boolean;
48
- }[] | undefined;
49
- verified?: Date | undefined;
50
- isOwner?: boolean | undefined;
51
- type: NonNullable<import("..").PageType | undefined>;
52
- name: string;
53
- id: string;
54
- logo: {
55
- dark?: string | undefined;
5
+ company: {
6
+ type?: NonNullable<import("..").PageType | undefined> | undefined;
7
+ logo?: {
8
+ dark?: string | null | undefined;
56
9
  light: string;
57
- } | null;
58
- shortId: string;
59
- createdBy: string;
60
- createdAt: number;
61
- about: string;
62
- website: string;
63
- slug: string;
64
- categories: {
65
- logo?: string | undefined;
66
- name: string;
67
- id: string;
68
- }[];
69
- status: NonNullable<import("..").PageStatus | undefined>;
70
- }, "type" | "name" | "logo" | "slug"> | undefined>;
10
+ } | null | undefined;
11
+ slug?: string | undefined;
12
+ name: string;
13
+ };
71
14
  duration: {
72
15
  startDate: string;
73
16
  endDate: string;
@@ -85,14 +28,7 @@ export declare const UpdateWorkExperiencesSchema: import("yup").ObjectSchema<{
85
28
  coordinates: number[];
86
29
  };
87
30
  };
88
- designation: NonNullable<{
89
- logo?: string | undefined;
90
- name: string;
91
- id: string;
92
- } | {
93
- value: "others" | (string | undefined)[];
94
- otherValue: string | string[];
95
- } | undefined>;
31
+ designation: string;
96
32
  isRemote: boolean;
97
33
  }[];
98
34
  }, import("yup").AnyObject, {
@@ -1 +1 @@
1
- {"version":3,"file":"update-work-experience.schema.d.ts","sourceRoot":"","sources":["../../../src/user/update-work-experience.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAU,MAAM,iBAAiB,CAAC;AAGjE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASO,CAAC;AAEhD,MAAM,MAAM,4BAA4B,GAAG,SAAS,CAClD,OAAO,2BAA2B,CACnC,CAAC"}
1
+ {"version":3,"file":"update-work-experience.schema.d.ts","sourceRoot":"","sources":["../../../src/user/update-work-experience.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAU,MAAM,iBAAiB,CAAC;AAGjE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASO,CAAC;AAEhD,MAAM,MAAM,4BAA4B,GAAG,SAAS,CAClD,OAAO,2BAA2B,CACnC,CAAC"}
@@ -7,72 +7,15 @@ export declare const UserSchema: import("yup").ObjectSchema<{
7
7
  }[];
8
8
  workExperiences: {
9
9
  description?: string | undefined;
10
- company: NonNullable<{
11
- value: "others" | (string | undefined)[];
12
- otherValue: string | string[];
13
- } | Pick<{
14
- updatedBy?: string | undefined;
15
- updatedAt?: number | undefined;
16
- socialAccounts?: {
17
- type: NonNullable<import("../common").SocialAccount | undefined>;
18
- url: string;
19
- isNew: boolean;
20
- }[] | undefined;
21
- perksAndBenefits?: {
22
- category?: {
23
- logo?: string | undefined;
24
- name: string;
25
- id: string;
26
- } | {
27
- value: "others" | (string | undefined)[];
28
- otherValue: string | string[];
29
- } | undefined;
30
- name: string;
31
- description: string;
32
- }[] | undefined;
33
- locations?: {
34
- coverImage?: string | undefined;
35
- name: string;
36
- isHeadquarters: boolean;
37
- contact: {
38
- email?: string | undefined;
39
- phone?: string | undefined;
40
- address: string;
41
- };
42
- }[] | undefined;
43
- equalOpportunityEmployer?: boolean | undefined;
44
- headline?: string | undefined;
45
- employeeCount?: string | undefined;
46
- yearFounded?: string | undefined;
47
- contacts?: {
48
- label?: string | undefined;
49
- type: NonNullable<import("..").ContactTypes | undefined>;
50
- value: string;
51
- isPrimary: boolean;
52
- isVerified: boolean;
53
- }[] | undefined;
54
- verified?: Date | undefined;
55
- isOwner?: boolean | undefined;
56
- type: NonNullable<import("..").PageType | undefined>;
57
- name: string;
58
- id: string;
59
- logo: {
60
- dark?: string | undefined;
10
+ company: {
11
+ type?: NonNullable<import("..").PageType | undefined> | undefined;
12
+ logo?: {
13
+ dark?: string | null | undefined;
61
14
  light: string;
62
- } | null;
63
- shortId: string;
64
- createdBy: string;
65
- createdAt: number;
66
- about: string;
67
- website: string;
68
- slug: string;
69
- categories: {
70
- logo?: string | undefined;
71
- name: string;
72
- id: string;
73
- }[];
74
- status: NonNullable<import("..").PageStatus | undefined>;
75
- }, "type" | "name" | "logo" | "slug"> | undefined>;
15
+ } | null | undefined;
16
+ slug?: string | undefined;
17
+ name: string;
18
+ };
76
19
  duration: {
77
20
  startDate: string;
78
21
  endDate: string;
@@ -90,14 +33,7 @@ export declare const UserSchema: import("yup").ObjectSchema<{
90
33
  coordinates: number[];
91
34
  };
92
35
  };
93
- designation: NonNullable<{
94
- logo?: string | undefined;
95
- name: string;
96
- id: string;
97
- } | {
98
- value: "others" | (string | undefined)[];
99
- otherValue: string | string[];
100
- } | undefined>;
36
+ designation: string;
101
37
  isRemote: boolean;
102
38
  }[];
103
39
  educations: {
@@ -152,7 +88,7 @@ export declare const UserSchema: import("yup").ObjectSchema<{
152
88
  name: string;
153
89
  id: string;
154
90
  logo: {
155
- dark?: string | undefined;
91
+ dark?: string | null | undefined;
156
92
  light: string;
157
93
  } | null;
158
94
  shortId: string;
@@ -271,16 +207,9 @@ export declare const UserSchema: import("yup").ObjectSchema<{
271
207
  image: string | undefined;
272
208
  aboutMe: string | undefined;
273
209
  email: string;
274
- mobile: {
275
- number: string;
276
- country: {
277
- locale?: string | undefined;
278
- name: string;
279
- dial_code: string;
280
- code: string;
281
- };
282
- };
210
+ mobile: string | null | undefined;
283
211
  emailVerified: string | null | undefined;
212
+ mobileVerified: string | null | undefined;
284
213
  experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
285
214
  location: {
286
215
  state?: string | null | undefined;
@@ -317,6 +246,7 @@ export declare const UserSchema: import("yup").ObjectSchema<{
317
246
  email: undefined;
318
247
  mobile: undefined;
319
248
  emailVerified: undefined;
249
+ mobileVerified: undefined;
320
250
  experienceLevel: undefined;
321
251
  location: any;
322
252
  }, "">;
@@ -1 +1 @@
1
- {"version":3,"file":"user.schema.d.ts","sourceRoot":"","sources":["../../../src/user/user.schema.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAyB,MAAM,iBAAiB,CAAC;AAWnE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyFA,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"user.schema.d.ts","sourceRoot":"","sources":["../../../src/user/user.schema.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAyB,MAAM,iBAAiB,CAAC;AAWnE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyFA,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}