@thejob/schema 1.0.60 → 1.0.62

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 (45) hide show
  1. package/dist/cjs/interfaces.index.d.ts +179 -1211
  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 +22 -151
  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.d.ts.map +1 -1
  8. package/dist/cjs/page/page.schema.js +1 -16
  9. package/dist/cjs/resume/resume.schema.d.ts +44 -302
  10. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  11. package/dist/cjs/user/education/education.schema.d.ts +44 -82
  12. package/dist/cjs/user/education/education.schema.d.ts.map +1 -1
  13. package/dist/cjs/user/education/education.schema.js +41 -12
  14. package/dist/cjs/user/update-education.schema.d.ts +12 -79
  15. package/dist/cjs/user/update-education.schema.d.ts.map +1 -1
  16. package/dist/cjs/user/update-work-experience.schema.d.ts +10 -72
  17. package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
  18. package/dist/cjs/user/user.schema.d.ts +22 -151
  19. package/dist/cjs/user/user.schema.d.ts.map +1 -1
  20. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +39 -74
  21. package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
  22. package/dist/cjs/user/work-experience/work-experience.schema.js +9 -10
  23. package/dist/esm/interfaces.index.d.ts +179 -1211
  24. package/dist/esm/interfaces.index.d.ts.map +1 -1
  25. package/dist/esm/job/job.schema.d.ts +1 -1
  26. package/dist/esm/job-application/job-application.schema.d.ts +22 -151
  27. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  28. package/dist/esm/page/page.schema.d.ts +1 -1
  29. package/dist/esm/page/page.schema.d.ts.map +1 -1
  30. package/dist/esm/page/page.schema.js +1 -16
  31. package/dist/esm/resume/resume.schema.d.ts +44 -302
  32. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  33. package/dist/esm/user/education/education.schema.d.ts +44 -82
  34. package/dist/esm/user/education/education.schema.d.ts.map +1 -1
  35. package/dist/esm/user/education/education.schema.js +43 -14
  36. package/dist/esm/user/update-education.schema.d.ts +12 -79
  37. package/dist/esm/user/update-education.schema.d.ts.map +1 -1
  38. package/dist/esm/user/update-work-experience.schema.d.ts +10 -72
  39. package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
  40. package/dist/esm/user/user.schema.d.ts +22 -151
  41. package/dist/esm/user/user.schema.d.ts.map +1 -1
  42. package/dist/esm/user/work-experience/work-experience.schema.d.ts +39 -74
  43. package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
  44. package/dist/esm/user/work-experience/work-experience.schema.js +10 -11
  45. package/package.json +1 -1
@@ -346,7 +346,7 @@ export interface IAiPromptJobApplicationSummary {
346
346
  website: string;
347
347
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
348
348
  logo: {
349
- dark?: string | undefined;
349
+ dark?: string | null | undefined;
350
350
  light: string;
351
351
  } | null;
352
352
  categories: {
@@ -463,80 +463,18 @@ export interface IAiPromptJobApplicationSummary {
463
463
  }[];
464
464
  recentWork: {
465
465
  description?: string | undefined;
466
- company: NonNullable<{
467
- value: "others" | (string | undefined)[];
468
- otherValue: string | string[];
469
- } | Pick<{
470
- headline?: string | undefined;
471
- employeeCount?: string | undefined;
472
- yearFounded?: string | undefined;
473
- locations?: {
474
- coverImage?: string | undefined;
475
- name: string;
476
- isHeadquarters: boolean;
477
- contact: {
478
- email?: string | undefined;
479
- phone?: string | undefined;
480
- address: string;
481
- };
482
- }[] | undefined;
483
- contacts?: {
484
- label?: string | undefined;
485
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
486
- value: string;
487
- isPrimary: boolean;
488
- isVerified: boolean;
489
- }[] | undefined;
490
- verified?: Date | undefined;
491
- socialAccounts?: {
492
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
493
- isNew: boolean;
494
- url: string;
495
- }[] | undefined;
496
- isOwner?: boolean | undefined;
497
- equalOpportunityEmployer?: boolean | undefined;
498
- perksAndBenefits?: {
499
- category?: {
500
- logo?: string | undefined;
501
- id: string;
502
- name: string;
503
- } | {
504
- value: "others" | (string | undefined)[];
505
- otherValue: string | string[];
506
- } | undefined;
507
- name: string;
508
- description: string;
509
- }[] | undefined;
510
- updatedBy?: string | undefined;
511
- updatedAt?: number | undefined;
512
- slug: string;
513
- id: string;
514
- shortId: string;
466
+ company: {
467
+ slug?: string | undefined;
468
+ logo?: {
469
+ dark?: string | null | undefined;
470
+ light?: string | undefined;
471
+ } | null | undefined;
515
472
  name: string;
516
- about: string;
517
- website: string;
518
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
519
- logo: {
520
- dark?: string | undefined;
521
- light: string;
522
- } | null;
523
- categories: {
524
- logo?: string | undefined;
525
- id: string;
526
- name: string;
527
- }[];
528
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
529
- createdBy: string;
530
- createdAt: number;
531
- }, "slug" | "name" | "type" | "logo"> | undefined>;
532
- designation: NonNullable<{
533
- logo?: string | undefined;
534
- id: string;
473
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
474
+ };
475
+ designation: {
535
476
  name: string;
536
- } | {
537
- value: "others" | (string | undefined)[];
538
- otherValue: string | string[];
539
- } | undefined>;
477
+ };
540
478
  isRemote: boolean;
541
479
  duration: {
542
480
  startDate: string;
@@ -575,88 +513,21 @@ export interface IAiPromptJobApplicationSummary {
575
513
  coordinates: number[];
576
514
  };
577
515
  };
578
- institute: NonNullable<{
579
- value: "others" | (string | undefined)[];
580
- otherValue: string | string[];
581
- } | Pick<{
582
- headline?: string | undefined;
583
- employeeCount?: string | undefined;
584
- yearFounded?: string | undefined;
585
- locations?: {
586
- coverImage?: string | undefined;
587
- name: string;
588
- isHeadquarters: boolean;
589
- contact: {
590
- email?: string | undefined;
591
- phone?: string | undefined;
592
- address: string;
593
- };
594
- }[] | undefined;
595
- contacts?: {
596
- label?: string | undefined;
597
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
598
- value: string;
599
- isPrimary: boolean;
600
- isVerified: boolean;
601
- }[] | undefined;
602
- verified?: Date | undefined;
603
- socialAccounts?: {
604
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
605
- isNew: boolean;
606
- url: string;
607
- }[] | undefined;
608
- isOwner?: boolean | undefined;
609
- equalOpportunityEmployer?: boolean | undefined;
610
- perksAndBenefits?: {
611
- category?: {
612
- logo?: string | undefined;
613
- id: string;
614
- name: string;
615
- } | {
616
- value: "others" | (string | undefined)[];
617
- otherValue: string | string[];
618
- } | undefined;
619
- name: string;
620
- description: string;
621
- }[] | undefined;
622
- updatedBy?: string | undefined;
623
- updatedAt?: number | undefined;
624
- slug: string;
625
- id: string;
626
- shortId: string;
516
+ institute: {
517
+ slug?: string | undefined;
518
+ logo?: {
519
+ dark?: string | null | undefined;
520
+ light?: string | undefined;
521
+ } | null | undefined;
627
522
  name: string;
628
- about: string;
629
- website: string;
630
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
631
- logo: {
632
- dark?: string | undefined;
633
- light: string;
634
- } | null;
635
- categories: {
636
- logo?: string | undefined;
637
- id: string;
638
- name: string;
639
- }[];
640
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
641
- createdBy: string;
642
- createdAt: number;
643
- }, "slug" | "name" | "type" | "logo"> | undefined>;
644
- course: NonNullable<{
645
- logo?: string | undefined;
646
- id: string;
523
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
524
+ };
525
+ course: {
647
526
  name: string;
648
- } | {
649
- value: "others" | (string | undefined)[];
650
- otherValue: string | string[];
651
- } | undefined>;
652
- fieldOfStudy: NonNullable<NonNullable<{
653
- logo?: string | undefined;
654
- id: string;
527
+ };
528
+ fieldOfStudy: {
655
529
  name: string;
656
- } | {
657
- value: "others" | (string | undefined)[];
658
- otherValue: string | string[];
659
- } | undefined>>;
530
+ };
660
531
  isDistanceLearning: boolean;
661
532
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
662
533
  };
@@ -1021,7 +892,7 @@ export interface IJobSchema {
1021
892
  website: string;
1022
893
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1023
894
  logo: {
1024
- dark?: string | undefined;
895
+ dark?: string | null | undefined;
1025
896
  light: string;
1026
897
  } | null;
1027
898
  categories: {
@@ -1183,80 +1054,18 @@ export interface IJobApplicationSchema {
1183
1054
  }[];
1184
1055
  recentWork: {
1185
1056
  description?: string | undefined;
1186
- company: NonNullable<{
1187
- value: "others" | (string | undefined)[];
1188
- otherValue: string | string[];
1189
- } | Pick<{
1190
- headline?: string | undefined;
1191
- employeeCount?: string | undefined;
1192
- yearFounded?: string | undefined;
1193
- locations?: {
1194
- coverImage?: string | undefined;
1195
- name: string;
1196
- isHeadquarters: boolean;
1197
- contact: {
1198
- email?: string | undefined;
1199
- phone?: string | undefined;
1200
- address: string;
1201
- };
1202
- }[] | undefined;
1203
- contacts?: {
1204
- label?: string | undefined;
1205
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1206
- value: string;
1207
- isPrimary: boolean;
1208
- isVerified: boolean;
1209
- }[] | undefined;
1210
- verified?: Date | undefined;
1211
- socialAccounts?: {
1212
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1213
- isNew: boolean;
1214
- url: string;
1215
- }[] | undefined;
1216
- isOwner?: boolean | undefined;
1217
- equalOpportunityEmployer?: boolean | undefined;
1218
- perksAndBenefits?: {
1219
- category?: {
1220
- logo?: string | undefined;
1221
- id: string;
1222
- name: string;
1223
- } | {
1224
- value: "others" | (string | undefined)[];
1225
- otherValue: string | string[];
1226
- } | undefined;
1227
- name: string;
1228
- description: string;
1229
- }[] | undefined;
1230
- updatedBy?: string | undefined;
1231
- updatedAt?: number | undefined;
1232
- slug: string;
1233
- id: string;
1234
- shortId: string;
1057
+ company: {
1058
+ slug?: string | undefined;
1059
+ logo?: {
1060
+ dark?: string | null | undefined;
1061
+ light?: string | undefined;
1062
+ } | null | undefined;
1235
1063
  name: string;
1236
- about: string;
1237
- website: string;
1238
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1239
- logo: {
1240
- dark?: string | undefined;
1241
- light: string;
1242
- } | null;
1243
- categories: {
1244
- logo?: string | undefined;
1245
- id: string;
1246
- name: string;
1247
- }[];
1248
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
1249
- createdBy: string;
1250
- createdAt: number;
1251
- }, "slug" | "name" | "type" | "logo"> | undefined>;
1252
- designation: NonNullable<{
1253
- logo?: string | undefined;
1254
- id: string;
1064
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1065
+ };
1066
+ designation: {
1255
1067
  name: string;
1256
- } | {
1257
- value: "others" | (string | undefined)[];
1258
- otherValue: string | string[];
1259
- } | undefined>;
1068
+ };
1260
1069
  isRemote: boolean;
1261
1070
  duration: {
1262
1071
  startDate: string;
@@ -1295,88 +1104,21 @@ export interface IJobApplicationSchema {
1295
1104
  coordinates: number[];
1296
1105
  };
1297
1106
  };
1298
- institute: NonNullable<{
1299
- value: "others" | (string | undefined)[];
1300
- otherValue: string | string[];
1301
- } | Pick<{
1302
- headline?: string | undefined;
1303
- employeeCount?: string | undefined;
1304
- yearFounded?: string | undefined;
1305
- locations?: {
1306
- coverImage?: string | undefined;
1307
- name: string;
1308
- isHeadquarters: boolean;
1309
- contact: {
1310
- email?: string | undefined;
1311
- phone?: string | undefined;
1312
- address: string;
1313
- };
1314
- }[] | undefined;
1315
- contacts?: {
1316
- label?: string | undefined;
1317
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1318
- value: string;
1319
- isPrimary: boolean;
1320
- isVerified: boolean;
1321
- }[] | undefined;
1322
- verified?: Date | undefined;
1323
- socialAccounts?: {
1324
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1325
- isNew: boolean;
1326
- url: string;
1327
- }[] | undefined;
1328
- isOwner?: boolean | undefined;
1329
- equalOpportunityEmployer?: boolean | undefined;
1330
- perksAndBenefits?: {
1331
- category?: {
1332
- logo?: string | undefined;
1333
- id: string;
1334
- name: string;
1335
- } | {
1336
- value: "others" | (string | undefined)[];
1337
- otherValue: string | string[];
1338
- } | undefined;
1339
- name: string;
1340
- description: string;
1341
- }[] | undefined;
1342
- updatedBy?: string | undefined;
1343
- updatedAt?: number | undefined;
1344
- slug: string;
1345
- id: string;
1346
- shortId: string;
1107
+ institute: {
1108
+ slug?: string | undefined;
1109
+ logo?: {
1110
+ dark?: string | null | undefined;
1111
+ light?: string | undefined;
1112
+ } | null | undefined;
1347
1113
  name: string;
1348
- about: string;
1349
- website: string;
1350
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1351
- logo: {
1352
- dark?: string | undefined;
1353
- light: string;
1354
- } | null;
1355
- categories: {
1356
- logo?: string | undefined;
1357
- id: string;
1358
- name: string;
1359
- }[];
1360
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
1361
- createdBy: string;
1362
- createdAt: number;
1363
- }, "slug" | "name" | "type" | "logo"> | undefined>;
1364
- course: NonNullable<{
1365
- logo?: string | undefined;
1366
- id: string;
1114
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1115
+ };
1116
+ course: {
1367
1117
  name: string;
1368
- } | {
1369
- value: "others" | (string | undefined)[];
1370
- otherValue: string | string[];
1371
- } | undefined>;
1372
- fieldOfStudy: NonNullable<NonNullable<{
1373
- logo?: string | undefined;
1374
- id: string;
1118
+ };
1119
+ fieldOfStudy: {
1375
1120
  name: string;
1376
- } | {
1377
- value: "others" | (string | undefined)[];
1378
- otherValue: string | string[];
1379
- } | undefined>>;
1121
+ };
1380
1122
  isDistanceLearning: boolean;
1381
1123
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
1382
1124
  };
@@ -1542,7 +1284,7 @@ export interface IPageSchema {
1542
1284
  website: string;
1543
1285
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1544
1286
  logo: {
1545
- dark?: string | undefined;
1287
+ dark?: string | null | undefined;
1546
1288
  light: string;
1547
1289
  } | null;
1548
1290
  categories: {
@@ -1719,80 +1461,18 @@ export interface IResumeSchemaV2 {
1719
1461
  url: string;
1720
1462
  }[] | {
1721
1463
  description?: string | undefined;
1722
- company: NonNullable<{
1723
- value: "others" | (string | undefined)[];
1724
- otherValue: string | string[];
1725
- } | Pick<{
1726
- headline?: string | undefined;
1727
- employeeCount?: string | undefined;
1728
- yearFounded?: string | undefined;
1729
- locations?: {
1730
- coverImage?: string | undefined;
1731
- name: string;
1732
- isHeadquarters: boolean;
1733
- contact: {
1734
- email?: string | undefined;
1735
- phone?: string | undefined;
1736
- address: string;
1737
- };
1738
- }[] | undefined;
1739
- contacts?: {
1740
- label?: string | undefined;
1741
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1742
- value: string;
1743
- isPrimary: boolean;
1744
- isVerified: boolean;
1745
- }[] | undefined;
1746
- verified?: Date | undefined;
1747
- socialAccounts?: {
1748
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1749
- isNew: boolean;
1750
- url: string;
1751
- }[] | undefined;
1752
- isOwner?: boolean | undefined;
1753
- equalOpportunityEmployer?: boolean | undefined;
1754
- perksAndBenefits?: {
1755
- category?: {
1756
- logo?: string | undefined;
1757
- id: string;
1758
- name: string;
1759
- } | {
1760
- value: "others" | (string | undefined)[];
1761
- otherValue: string | string[];
1762
- } | undefined;
1763
- name: string;
1764
- description: string;
1765
- }[] | undefined;
1766
- updatedBy?: string | undefined;
1767
- updatedAt?: number | undefined;
1768
- slug: string;
1769
- id: string;
1770
- shortId: string;
1464
+ company: {
1465
+ slug?: string | undefined;
1466
+ logo?: {
1467
+ dark?: string | null | undefined;
1468
+ light?: string | undefined;
1469
+ } | null | undefined;
1771
1470
  name: string;
1772
- about: string;
1773
- website: string;
1774
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1775
- logo: {
1776
- dark?: string | undefined;
1777
- light: string;
1778
- } | null;
1779
- categories: {
1780
- logo?: string | undefined;
1781
- id: string;
1782
- name: string;
1783
- }[];
1784
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
1785
- createdBy: string;
1786
- createdAt: number;
1787
- }, "slug" | "name" | "type" | "logo"> | undefined>;
1788
- designation: NonNullable<{
1789
- logo?: string | undefined;
1790
- id: string;
1471
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1472
+ };
1473
+ designation: {
1791
1474
  name: string;
1792
- } | {
1793
- value: "others" | (string | undefined)[];
1794
- otherValue: string | string[];
1795
- } | undefined>;
1475
+ };
1796
1476
  isRemote: boolean;
1797
1477
  duration: {
1798
1478
  startDate: string;
@@ -1830,88 +1510,21 @@ export interface IResumeSchemaV2 {
1830
1510
  coordinates: number[];
1831
1511
  };
1832
1512
  };
1833
- institute: NonNullable<{
1834
- value: "others" | (string | undefined)[];
1835
- otherValue: string | string[];
1836
- } | Pick<{
1837
- headline?: string | undefined;
1838
- employeeCount?: string | undefined;
1839
- yearFounded?: string | undefined;
1840
- locations?: {
1841
- coverImage?: string | undefined;
1842
- name: string;
1843
- isHeadquarters: boolean;
1844
- contact: {
1845
- email?: string | undefined;
1846
- phone?: string | undefined;
1847
- address: string;
1848
- };
1849
- }[] | undefined;
1850
- contacts?: {
1851
- label?: string | undefined;
1852
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1853
- value: string;
1854
- isPrimary: boolean;
1855
- isVerified: boolean;
1856
- }[] | undefined;
1857
- verified?: Date | undefined;
1858
- socialAccounts?: {
1859
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1860
- isNew: boolean;
1861
- url: string;
1862
- }[] | undefined;
1863
- isOwner?: boolean | undefined;
1864
- equalOpportunityEmployer?: boolean | undefined;
1865
- perksAndBenefits?: {
1866
- category?: {
1867
- logo?: string | undefined;
1868
- id: string;
1869
- name: string;
1870
- } | {
1871
- value: "others" | (string | undefined)[];
1872
- otherValue: string | string[];
1873
- } | undefined;
1874
- name: string;
1875
- description: string;
1876
- }[] | undefined;
1877
- updatedBy?: string | undefined;
1878
- updatedAt?: number | undefined;
1879
- slug: string;
1880
- id: string;
1881
- shortId: string;
1513
+ institute: {
1514
+ slug?: string | undefined;
1515
+ logo?: {
1516
+ dark?: string | null | undefined;
1517
+ light?: string | undefined;
1518
+ } | null | undefined;
1882
1519
  name: string;
1883
- about: string;
1884
- website: string;
1885
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1886
- logo: {
1887
- dark?: string | undefined;
1888
- light: string;
1889
- } | null;
1890
- categories: {
1891
- logo?: string | undefined;
1892
- id: string;
1893
- name: string;
1894
- }[];
1895
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
1896
- createdBy: string;
1897
- createdAt: number;
1898
- }, "slug" | "name" | "type" | "logo"> | undefined>;
1899
- course: NonNullable<{
1900
- logo?: string | undefined;
1901
- id: string;
1520
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1521
+ };
1522
+ course: {
1902
1523
  name: string;
1903
- } | {
1904
- value: "others" | (string | undefined)[];
1905
- otherValue: string | string[];
1906
- } | undefined>;
1907
- fieldOfStudy: NonNullable<NonNullable<{
1908
- logo?: string | undefined;
1909
- id: string;
1524
+ };
1525
+ fieldOfStudy: {
1910
1526
  name: string;
1911
- } | {
1912
- value: "others" | (string | undefined)[];
1913
- otherValue: string | string[];
1914
- } | undefined>>;
1527
+ };
1915
1528
  isDistanceLearning: boolean;
1916
1529
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
1917
1530
  }[] | {
@@ -2058,80 +1671,18 @@ export interface INewResumePromptSchema {
2058
1671
  };
2059
1672
  workExperiences: {
2060
1673
  description?: string | undefined;
2061
- company: NonNullable<{
2062
- value: "others" | (string | undefined)[];
2063
- otherValue: string | string[];
2064
- } | Pick<{
2065
- headline?: string | undefined;
2066
- employeeCount?: string | undefined;
2067
- yearFounded?: string | undefined;
2068
- locations?: {
2069
- coverImage?: string | undefined;
2070
- name: string;
2071
- isHeadquarters: boolean;
2072
- contact: {
2073
- email?: string | undefined;
2074
- phone?: string | undefined;
2075
- address: string;
2076
- };
2077
- }[] | undefined;
2078
- contacts?: {
2079
- label?: string | undefined;
2080
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2081
- value: string;
2082
- isPrimary: boolean;
2083
- isVerified: boolean;
2084
- }[] | undefined;
2085
- verified?: Date | undefined;
2086
- socialAccounts?: {
2087
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2088
- isNew: boolean;
2089
- url: string;
2090
- }[] | undefined;
2091
- isOwner?: boolean | undefined;
2092
- equalOpportunityEmployer?: boolean | undefined;
2093
- perksAndBenefits?: {
2094
- category?: {
2095
- logo?: string | undefined;
2096
- id: string;
2097
- name: string;
2098
- } | {
2099
- value: "others" | (string | undefined)[];
2100
- otherValue: string | string[];
2101
- } | undefined;
2102
- name: string;
2103
- description: string;
2104
- }[] | undefined;
2105
- updatedBy?: string | undefined;
2106
- updatedAt?: number | undefined;
2107
- slug: string;
2108
- id: string;
2109
- shortId: string;
1674
+ company: {
1675
+ slug?: string | undefined;
1676
+ logo?: {
1677
+ dark?: string | null | undefined;
1678
+ light?: string | undefined;
1679
+ } | null | undefined;
2110
1680
  name: string;
2111
- about: string;
2112
- website: string;
2113
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2114
- logo: {
2115
- dark?: string | undefined;
2116
- light: string;
2117
- } | null;
2118
- categories: {
2119
- logo?: string | undefined;
2120
- id: string;
2121
- name: string;
2122
- }[];
2123
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2124
- createdBy: string;
2125
- createdAt: number;
2126
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2127
- designation: NonNullable<{
2128
- logo?: string | undefined;
2129
- id: string;
1681
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1682
+ };
1683
+ designation: {
2130
1684
  name: string;
2131
- } | {
2132
- value: "others" | (string | undefined)[];
2133
- otherValue: string | string[];
2134
- } | undefined>;
1685
+ };
2135
1686
  isRemote: boolean;
2136
1687
  duration: {
2137
1688
  startDate: string;
@@ -2170,88 +1721,21 @@ export interface INewResumePromptSchema {
2170
1721
  coordinates: number[];
2171
1722
  };
2172
1723
  };
2173
- institute: NonNullable<{
2174
- value: "others" | (string | undefined)[];
2175
- otherValue: string | string[];
2176
- } | Pick<{
2177
- headline?: string | undefined;
2178
- employeeCount?: string | undefined;
2179
- yearFounded?: string | undefined;
2180
- locations?: {
2181
- coverImage?: string | undefined;
2182
- name: string;
2183
- isHeadquarters: boolean;
2184
- contact: {
2185
- email?: string | undefined;
2186
- phone?: string | undefined;
2187
- address: string;
2188
- };
2189
- }[] | undefined;
2190
- contacts?: {
2191
- label?: string | undefined;
2192
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2193
- value: string;
2194
- isPrimary: boolean;
2195
- isVerified: boolean;
2196
- }[] | undefined;
2197
- verified?: Date | undefined;
2198
- socialAccounts?: {
2199
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2200
- isNew: boolean;
2201
- url: string;
2202
- }[] | undefined;
2203
- isOwner?: boolean | undefined;
2204
- equalOpportunityEmployer?: boolean | undefined;
2205
- perksAndBenefits?: {
2206
- category?: {
2207
- logo?: string | undefined;
2208
- id: string;
2209
- name: string;
2210
- } | {
2211
- value: "others" | (string | undefined)[];
2212
- otherValue: string | string[];
2213
- } | undefined;
2214
- name: string;
2215
- description: string;
2216
- }[] | undefined;
2217
- updatedBy?: string | undefined;
2218
- updatedAt?: number | undefined;
2219
- slug: string;
2220
- id: string;
2221
- shortId: string;
1724
+ institute: {
1725
+ slug?: string | undefined;
1726
+ logo?: {
1727
+ dark?: string | null | undefined;
1728
+ light?: string | undefined;
1729
+ } | null | undefined;
2222
1730
  name: string;
2223
- about: string;
2224
- website: string;
2225
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2226
- logo: {
2227
- dark?: string | undefined;
2228
- light: string;
2229
- } | null;
2230
- categories: {
2231
- logo?: string | undefined;
2232
- id: string;
2233
- name: string;
2234
- }[];
2235
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2236
- createdBy: string;
2237
- createdAt: number;
2238
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2239
- course: NonNullable<{
2240
- logo?: string | undefined;
2241
- id: string;
1731
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1732
+ };
1733
+ course: {
2242
1734
  name: string;
2243
- } | {
2244
- value: "others" | (string | undefined)[];
2245
- otherValue: string | string[];
2246
- } | undefined>;
2247
- fieldOfStudy: NonNullable<NonNullable<{
2248
- logo?: string | undefined;
2249
- id: string;
1735
+ };
1736
+ fieldOfStudy: {
2250
1737
  name: string;
2251
- } | {
2252
- value: "others" | (string | undefined)[];
2253
- otherValue: string | string[];
2254
- } | undefined>>;
1738
+ };
2255
1739
  isDistanceLearning: boolean;
2256
1740
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
2257
1741
  }[];
@@ -2373,88 +1857,21 @@ export interface IUpdateEducationsSchema {
2373
1857
  coordinates: number[];
2374
1858
  };
2375
1859
  };
2376
- institute: NonNullable<{
2377
- value: "others" | (string | undefined)[];
2378
- otherValue: string | string[];
2379
- } | Pick<{
2380
- headline?: string | undefined;
2381
- employeeCount?: string | undefined;
2382
- yearFounded?: string | undefined;
2383
- locations?: {
2384
- coverImage?: string | undefined;
2385
- name: string;
2386
- isHeadquarters: boolean;
2387
- contact: {
2388
- email?: string | undefined;
2389
- phone?: string | undefined;
2390
- address: string;
2391
- };
2392
- }[] | undefined;
2393
- contacts?: {
2394
- label?: string | undefined;
2395
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2396
- value: string;
2397
- isPrimary: boolean;
2398
- isVerified: boolean;
2399
- }[] | undefined;
2400
- verified?: Date | undefined;
2401
- socialAccounts?: {
2402
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2403
- isNew: boolean;
2404
- url: string;
2405
- }[] | undefined;
2406
- isOwner?: boolean | undefined;
2407
- equalOpportunityEmployer?: boolean | undefined;
2408
- perksAndBenefits?: {
2409
- category?: {
2410
- logo?: string | undefined;
2411
- id: string;
2412
- name: string;
2413
- } | {
2414
- value: "others" | (string | undefined)[];
2415
- otherValue: string | string[];
2416
- } | undefined;
2417
- name: string;
2418
- description: string;
2419
- }[] | undefined;
2420
- updatedBy?: string | undefined;
2421
- updatedAt?: number | undefined;
2422
- slug: string;
2423
- id: string;
2424
- shortId: string;
1860
+ institute: {
1861
+ slug?: string | undefined;
1862
+ logo?: {
1863
+ dark?: string | null | undefined;
1864
+ light?: string | undefined;
1865
+ } | null | undefined;
2425
1866
  name: string;
2426
- about: string;
2427
- website: string;
2428
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2429
- logo: {
2430
- dark?: string | undefined;
2431
- light: string;
2432
- } | null;
2433
- categories: {
2434
- logo?: string | undefined;
2435
- id: string;
2436
- name: string;
2437
- }[];
2438
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2439
- createdBy: string;
2440
- createdAt: number;
2441
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2442
- course: NonNullable<{
2443
- logo?: string | undefined;
2444
- id: string;
1867
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1868
+ };
1869
+ course: {
2445
1870
  name: string;
2446
- } | {
2447
- value: "others" | (string | undefined)[];
2448
- otherValue: string | string[];
2449
- } | undefined>;
2450
- fieldOfStudy: NonNullable<NonNullable<{
2451
- logo?: string | undefined;
2452
- id: string;
1871
+ };
1872
+ fieldOfStudy: {
2453
1873
  name: string;
2454
- } | {
2455
- value: "others" | (string | undefined)[];
2456
- otherValue: string | string[];
2457
- } | undefined>>;
1874
+ };
2458
1875
  isDistanceLearning: boolean;
2459
1876
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
2460
1877
  }[];
@@ -2526,80 +1943,18 @@ export interface IUpdateUserSchema {
2526
1943
  export interface IUpdateWorkExperiencesSchema {
2527
1944
  workExperiences: {
2528
1945
  description?: string | undefined;
2529
- company: NonNullable<{
2530
- value: "others" | (string | undefined)[];
2531
- otherValue: string | string[];
2532
- } | Pick<{
2533
- headline?: string | undefined;
2534
- employeeCount?: string | undefined;
2535
- yearFounded?: string | undefined;
2536
- locations?: {
2537
- coverImage?: string | undefined;
2538
- name: string;
2539
- isHeadquarters: boolean;
2540
- contact: {
2541
- email?: string | undefined;
2542
- phone?: string | undefined;
2543
- address: string;
2544
- };
2545
- }[] | undefined;
2546
- contacts?: {
2547
- label?: string | undefined;
2548
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2549
- value: string;
2550
- isPrimary: boolean;
2551
- isVerified: boolean;
2552
- }[] | undefined;
2553
- verified?: Date | undefined;
2554
- socialAccounts?: {
2555
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2556
- isNew: boolean;
2557
- url: string;
2558
- }[] | undefined;
2559
- isOwner?: boolean | undefined;
2560
- equalOpportunityEmployer?: boolean | undefined;
2561
- perksAndBenefits?: {
2562
- category?: {
2563
- logo?: string | undefined;
2564
- id: string;
2565
- name: string;
2566
- } | {
2567
- value: "others" | (string | undefined)[];
2568
- otherValue: string | string[];
2569
- } | undefined;
2570
- name: string;
2571
- description: string;
2572
- }[] | undefined;
2573
- updatedBy?: string | undefined;
2574
- updatedAt?: number | undefined;
2575
- slug: string;
2576
- id: string;
2577
- shortId: string;
1946
+ company: {
1947
+ slug?: string | undefined;
1948
+ logo?: {
1949
+ dark?: string | null | undefined;
1950
+ light?: string | undefined;
1951
+ } | null | undefined;
2578
1952
  name: string;
2579
- about: string;
2580
- website: string;
2581
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2582
- logo: {
2583
- dark?: string | undefined;
2584
- light: string;
2585
- } | null;
2586
- categories: {
2587
- logo?: string | undefined;
2588
- id: string;
2589
- name: string;
2590
- }[];
2591
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2592
- createdBy: string;
2593
- createdAt: number;
2594
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2595
- designation: NonNullable<{
2596
- logo?: string | undefined;
2597
- id: string;
1953
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1954
+ };
1955
+ designation: {
2598
1956
  name: string;
2599
- } | {
2600
- value: "others" | (string | undefined)[];
2601
- otherValue: string | string[];
2602
- } | undefined>;
1957
+ };
2603
1958
  isRemote: boolean;
2604
1959
  duration: {
2605
1960
  startDate: string;
@@ -2723,80 +2078,18 @@ export interface IUserSchema {
2723
2078
  };
2724
2079
  workExperiences: {
2725
2080
  description?: string | undefined;
2726
- company: NonNullable<{
2727
- value: "others" | (string | undefined)[];
2728
- otherValue: string | string[];
2729
- } | Pick<{
2730
- headline?: string | undefined;
2731
- employeeCount?: string | undefined;
2732
- yearFounded?: string | undefined;
2733
- locations?: {
2734
- coverImage?: string | undefined;
2735
- name: string;
2736
- isHeadquarters: boolean;
2737
- contact: {
2738
- email?: string | undefined;
2739
- phone?: string | undefined;
2740
- address: string;
2741
- };
2742
- }[] | undefined;
2743
- contacts?: {
2744
- label?: string | undefined;
2745
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2746
- value: string;
2747
- isPrimary: boolean;
2748
- isVerified: boolean;
2749
- }[] | undefined;
2750
- verified?: Date | undefined;
2751
- socialAccounts?: {
2752
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2753
- isNew: boolean;
2754
- url: string;
2755
- }[] | undefined;
2756
- isOwner?: boolean | undefined;
2757
- equalOpportunityEmployer?: boolean | undefined;
2758
- perksAndBenefits?: {
2759
- category?: {
2760
- logo?: string | undefined;
2761
- id: string;
2762
- name: string;
2763
- } | {
2764
- value: "others" | (string | undefined)[];
2765
- otherValue: string | string[];
2766
- } | undefined;
2767
- name: string;
2768
- description: string;
2769
- }[] | undefined;
2770
- updatedBy?: string | undefined;
2771
- updatedAt?: number | undefined;
2772
- slug: string;
2773
- id: string;
2774
- shortId: string;
2081
+ company: {
2082
+ slug?: string | undefined;
2083
+ logo?: {
2084
+ dark?: string | null | undefined;
2085
+ light?: string | undefined;
2086
+ } | null | undefined;
2775
2087
  name: string;
2776
- about: string;
2777
- website: string;
2778
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2779
- logo: {
2780
- dark?: string | undefined;
2781
- light: string;
2782
- } | null;
2783
- categories: {
2784
- logo?: string | undefined;
2785
- id: string;
2786
- name: string;
2787
- }[];
2788
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2789
- createdBy: string;
2790
- createdAt: number;
2791
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2792
- designation: NonNullable<{
2793
- logo?: string | undefined;
2794
- id: string;
2088
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2089
+ };
2090
+ designation: {
2795
2091
  name: string;
2796
- } | {
2797
- value: "others" | (string | undefined)[];
2798
- otherValue: string | string[];
2799
- } | undefined>;
2092
+ };
2800
2093
  isRemote: boolean;
2801
2094
  duration: {
2802
2095
  startDate: string;
@@ -2835,88 +2128,21 @@ export interface IUserSchema {
2835
2128
  coordinates: number[];
2836
2129
  };
2837
2130
  };
2838
- institute: NonNullable<{
2839
- value: "others" | (string | undefined)[];
2840
- otherValue: string | string[];
2841
- } | Pick<{
2842
- headline?: string | undefined;
2843
- employeeCount?: string | undefined;
2844
- yearFounded?: string | undefined;
2845
- locations?: {
2846
- coverImage?: string | undefined;
2847
- name: string;
2848
- isHeadquarters: boolean;
2849
- contact: {
2850
- email?: string | undefined;
2851
- phone?: string | undefined;
2852
- address: string;
2853
- };
2854
- }[] | undefined;
2855
- contacts?: {
2856
- label?: string | undefined;
2857
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2858
- value: string;
2859
- isPrimary: boolean;
2860
- isVerified: boolean;
2861
- }[] | undefined;
2862
- verified?: Date | undefined;
2863
- socialAccounts?: {
2864
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2865
- isNew: boolean;
2866
- url: string;
2867
- }[] | undefined;
2868
- isOwner?: boolean | undefined;
2869
- equalOpportunityEmployer?: boolean | undefined;
2870
- perksAndBenefits?: {
2871
- category?: {
2872
- logo?: string | undefined;
2873
- id: string;
2874
- name: string;
2875
- } | {
2876
- value: "others" | (string | undefined)[];
2877
- otherValue: string | string[];
2878
- } | undefined;
2879
- name: string;
2880
- description: string;
2881
- }[] | undefined;
2882
- updatedBy?: string | undefined;
2883
- updatedAt?: number | undefined;
2884
- slug: string;
2885
- id: string;
2886
- shortId: string;
2131
+ institute: {
2132
+ slug?: string | undefined;
2133
+ logo?: {
2134
+ dark?: string | null | undefined;
2135
+ light?: string | undefined;
2136
+ } | null | undefined;
2887
2137
  name: string;
2888
- about: string;
2889
- website: string;
2890
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2891
- logo: {
2892
- dark?: string | undefined;
2893
- light: string;
2894
- } | null;
2895
- categories: {
2896
- logo?: string | undefined;
2897
- id: string;
2898
- name: string;
2899
- }[];
2900
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2901
- createdBy: string;
2902
- createdAt: number;
2903
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2904
- course: NonNullable<{
2905
- logo?: string | undefined;
2906
- id: string;
2138
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2139
+ };
2140
+ course: {
2907
2141
  name: string;
2908
- } | {
2909
- value: "others" | (string | undefined)[];
2910
- otherValue: string | string[];
2911
- } | undefined>;
2912
- fieldOfStudy: NonNullable<NonNullable<{
2913
- logo?: string | undefined;
2914
- id: string;
2142
+ };
2143
+ fieldOfStudy: {
2915
2144
  name: string;
2916
- } | {
2917
- value: "others" | (string | undefined)[];
2918
- otherValue: string | string[];
2919
- } | undefined>>;
2145
+ };
2920
2146
  isDistanceLearning: boolean;
2921
2147
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
2922
2148
  }[];
@@ -2996,80 +2222,18 @@ export interface IUserProfileOverview {
2996
2222
  } | undefined;
2997
2223
  recentWork?: {
2998
2224
  description?: string | undefined;
2999
- company: NonNullable<{
3000
- value: "others" | (string | undefined)[];
3001
- otherValue: string | string[];
3002
- } | Pick<{
3003
- headline?: string | undefined;
3004
- employeeCount?: string | undefined;
3005
- yearFounded?: string | undefined;
3006
- locations?: {
3007
- coverImage?: string | undefined;
3008
- name: string;
3009
- isHeadquarters: boolean;
3010
- contact: {
3011
- email?: string | undefined;
3012
- phone?: string | undefined;
3013
- address: string;
3014
- };
3015
- }[] | undefined;
3016
- contacts?: {
3017
- label?: string | undefined;
3018
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
3019
- value: string;
3020
- isPrimary: boolean;
3021
- isVerified: boolean;
3022
- }[] | undefined;
3023
- verified?: Date | undefined;
3024
- socialAccounts?: {
3025
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
3026
- isNew: boolean;
3027
- url: string;
3028
- }[] | undefined;
3029
- isOwner?: boolean | undefined;
3030
- equalOpportunityEmployer?: boolean | undefined;
3031
- perksAndBenefits?: {
3032
- category?: {
3033
- logo?: string | undefined;
3034
- id: string;
3035
- name: string;
3036
- } | {
3037
- value: "others" | (string | undefined)[];
3038
- otherValue: string | string[];
3039
- } | undefined;
3040
- name: string;
3041
- description: string;
3042
- }[] | undefined;
3043
- updatedBy?: string | undefined;
3044
- updatedAt?: number | undefined;
3045
- slug: string;
3046
- id: string;
3047
- shortId: string;
2225
+ company: {
2226
+ slug?: string | undefined;
2227
+ logo?: {
2228
+ dark?: string | null | undefined;
2229
+ light?: string | undefined;
2230
+ } | null | undefined;
3048
2231
  name: string;
3049
- about: string;
3050
- website: string;
3051
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3052
- logo: {
3053
- dark?: string | undefined;
3054
- light: string;
3055
- } | null;
3056
- categories: {
3057
- logo?: string | undefined;
3058
- id: string;
3059
- name: string;
3060
- }[];
3061
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
3062
- createdBy: string;
3063
- createdAt: number;
3064
- }, "slug" | "name" | "type" | "logo"> | undefined>;
3065
- designation: NonNullable<{
3066
- logo?: string | undefined;
3067
- id: string;
2232
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2233
+ };
2234
+ designation: {
3068
2235
  name: string;
3069
- } | {
3070
- value: "others" | (string | undefined)[];
3071
- otherValue: string | string[];
3072
- } | undefined>;
2236
+ };
3073
2237
  isRemote: boolean;
3074
2238
  duration: {
3075
2239
  startDate: string;
@@ -3108,88 +2272,21 @@ export interface IUserProfileOverview {
3108
2272
  coordinates: number[];
3109
2273
  };
3110
2274
  };
3111
- institute: NonNullable<{
3112
- value: "others" | (string | undefined)[];
3113
- otherValue: string | string[];
3114
- } | Pick<{
3115
- headline?: string | undefined;
3116
- employeeCount?: string | undefined;
3117
- yearFounded?: string | undefined;
3118
- locations?: {
3119
- coverImage?: string | undefined;
3120
- name: string;
3121
- isHeadquarters: boolean;
3122
- contact: {
3123
- email?: string | undefined;
3124
- phone?: string | undefined;
3125
- address: string;
3126
- };
3127
- }[] | undefined;
3128
- contacts?: {
3129
- label?: string | undefined;
3130
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
3131
- value: string;
3132
- isPrimary: boolean;
3133
- isVerified: boolean;
3134
- }[] | undefined;
3135
- verified?: Date | undefined;
3136
- socialAccounts?: {
3137
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
3138
- isNew: boolean;
3139
- url: string;
3140
- }[] | undefined;
3141
- isOwner?: boolean | undefined;
3142
- equalOpportunityEmployer?: boolean | undefined;
3143
- perksAndBenefits?: {
3144
- category?: {
3145
- logo?: string | undefined;
3146
- id: string;
3147
- name: string;
3148
- } | {
3149
- value: "others" | (string | undefined)[];
3150
- otherValue: string | string[];
3151
- } | undefined;
3152
- name: string;
3153
- description: string;
3154
- }[] | undefined;
3155
- updatedBy?: string | undefined;
3156
- updatedAt?: number | undefined;
3157
- slug: string;
3158
- id: string;
3159
- shortId: string;
2275
+ institute: {
2276
+ slug?: string | undefined;
2277
+ logo?: {
2278
+ dark?: string | null | undefined;
2279
+ light?: string | undefined;
2280
+ } | null | undefined;
3160
2281
  name: string;
3161
- about: string;
3162
- website: string;
3163
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3164
- logo: {
3165
- dark?: string | undefined;
3166
- light: string;
3167
- } | null;
3168
- categories: {
3169
- logo?: string | undefined;
3170
- id: string;
3171
- name: string;
3172
- }[];
3173
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
3174
- createdBy: string;
3175
- createdAt: number;
3176
- }, "slug" | "name" | "type" | "logo"> | undefined>;
3177
- course: NonNullable<{
3178
- logo?: string | undefined;
3179
- id: string;
2282
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2283
+ };
2284
+ course: {
3180
2285
  name: string;
3181
- } | {
3182
- value: "others" | (string | undefined)[];
3183
- otherValue: string | string[];
3184
- } | undefined>;
3185
- fieldOfStudy: NonNullable<NonNullable<{
3186
- logo?: string | undefined;
3187
- id: string;
2286
+ };
2287
+ fieldOfStudy: {
3188
2288
  name: string;
3189
- } | {
3190
- value: "others" | (string | undefined)[];
3191
- otherValue: string | string[];
3192
- } | undefined>>;
2289
+ };
3193
2290
  isDistanceLearning: boolean;
3194
2291
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
3195
2292
  } | undefined;
@@ -3238,88 +2335,21 @@ export interface IEducationSchema {
3238
2335
  coordinates: number[];
3239
2336
  };
3240
2337
  };
3241
- institute: NonNullable<{
3242
- value: "others" | (string | undefined)[];
3243
- otherValue: string | string[];
3244
- } | Pick<{
3245
- headline?: string | undefined;
3246
- employeeCount?: string | undefined;
3247
- yearFounded?: string | undefined;
3248
- locations?: {
3249
- coverImage?: string | undefined;
3250
- name: string;
3251
- isHeadquarters: boolean;
3252
- contact: {
3253
- email?: string | undefined;
3254
- phone?: string | undefined;
3255
- address: string;
3256
- };
3257
- }[] | undefined;
3258
- contacts?: {
3259
- label?: string | undefined;
3260
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
3261
- value: string;
3262
- isPrimary: boolean;
3263
- isVerified: boolean;
3264
- }[] | undefined;
3265
- verified?: Date | undefined;
3266
- socialAccounts?: {
3267
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
3268
- isNew: boolean;
3269
- url: string;
3270
- }[] | undefined;
3271
- isOwner?: boolean | undefined;
3272
- equalOpportunityEmployer?: boolean | undefined;
3273
- perksAndBenefits?: {
3274
- category?: {
3275
- logo?: string | undefined;
3276
- id: string;
3277
- name: string;
3278
- } | {
3279
- value: "others" | (string | undefined)[];
3280
- otherValue: string | string[];
3281
- } | undefined;
3282
- name: string;
3283
- description: string;
3284
- }[] | undefined;
3285
- updatedBy?: string | undefined;
3286
- updatedAt?: number | undefined;
3287
- slug: string;
3288
- id: string;
3289
- shortId: string;
2338
+ institute: {
2339
+ slug?: string | undefined;
2340
+ logo?: {
2341
+ dark?: string | null | undefined;
2342
+ light?: string | undefined;
2343
+ } | null | undefined;
3290
2344
  name: string;
3291
- about: string;
3292
- website: string;
3293
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3294
- logo: {
3295
- dark?: string | undefined;
3296
- light: string;
3297
- } | null;
3298
- categories: {
3299
- logo?: string | undefined;
3300
- id: string;
3301
- name: string;
3302
- }[];
3303
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
3304
- createdBy: string;
3305
- createdAt: number;
3306
- }, "slug" | "name" | "type" | "logo"> | undefined>;
3307
- course: NonNullable<{
3308
- logo?: string | undefined;
3309
- id: string;
2345
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2346
+ };
2347
+ course: {
3310
2348
  name: string;
3311
- } | {
3312
- value: "others" | (string | undefined)[];
3313
- otherValue: string | string[];
3314
- } | undefined>;
3315
- fieldOfStudy: NonNullable<NonNullable<{
3316
- logo?: string | undefined;
3317
- id: string;
2349
+ };
2350
+ fieldOfStudy: {
3318
2351
  name: string;
3319
- } | {
3320
- value: "others" | (string | undefined)[];
3321
- otherValue: string | string[];
3322
- } | undefined>>;
2352
+ };
3323
2353
  isDistanceLearning: boolean;
3324
2354
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
3325
2355
  }
@@ -3407,80 +2437,18 @@ export interface IUserSkillSchema {
3407
2437
  }
3408
2438
  export interface IWorkExperienceSchema {
3409
2439
  description?: string | undefined;
3410
- company: NonNullable<{
3411
- value: "others" | (string | undefined)[];
3412
- otherValue: string | string[];
3413
- } | Pick<{
3414
- headline?: string | undefined;
3415
- employeeCount?: string | undefined;
3416
- yearFounded?: string | undefined;
3417
- locations?: {
3418
- coverImage?: string | undefined;
3419
- name: string;
3420
- isHeadquarters: boolean;
3421
- contact: {
3422
- email?: string | undefined;
3423
- phone?: string | undefined;
3424
- address: string;
3425
- };
3426
- }[] | undefined;
3427
- contacts?: {
3428
- label?: string | undefined;
3429
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
3430
- value: string;
3431
- isPrimary: boolean;
3432
- isVerified: boolean;
3433
- }[] | undefined;
3434
- verified?: Date | undefined;
3435
- socialAccounts?: {
3436
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
3437
- isNew: boolean;
3438
- url: string;
3439
- }[] | undefined;
3440
- isOwner?: boolean | undefined;
3441
- equalOpportunityEmployer?: boolean | undefined;
3442
- perksAndBenefits?: {
3443
- category?: {
3444
- logo?: string | undefined;
3445
- id: string;
3446
- name: string;
3447
- } | {
3448
- value: "others" | (string | undefined)[];
3449
- otherValue: string | string[];
3450
- } | undefined;
3451
- name: string;
3452
- description: string;
3453
- }[] | undefined;
3454
- updatedBy?: string | undefined;
3455
- updatedAt?: number | undefined;
3456
- slug: string;
3457
- id: string;
3458
- shortId: string;
2440
+ company: {
2441
+ slug?: string | undefined;
2442
+ logo?: {
2443
+ dark?: string | null | undefined;
2444
+ light?: string | undefined;
2445
+ } | null | undefined;
3459
2446
  name: string;
3460
- about: string;
3461
- website: string;
3462
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3463
- logo: {
3464
- dark?: string | undefined;
3465
- light: string;
3466
- } | null;
3467
- categories: {
3468
- logo?: string | undefined;
3469
- id: string;
3470
- name: string;
3471
- }[];
3472
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
3473
- createdBy: string;
3474
- createdAt: number;
3475
- }, "slug" | "name" | "type" | "logo"> | undefined>;
3476
- designation: NonNullable<{
3477
- logo?: string | undefined;
3478
- id: string;
2447
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2448
+ };
2449
+ designation: {
3479
2450
  name: string;
3480
- } | {
3481
- value: "others" | (string | undefined)[];
3482
- otherValue: string | string[];
3483
- } | undefined>;
2451
+ };
3484
2452
  isRemote: boolean;
3485
2453
  duration: {
3486
2454
  startDate: string;