@thejob/schema 1.0.61 → 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 (41) hide show
  1. package/dist/cjs/interfaces.index.d.ts +137 -657
  2. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  3. package/dist/cjs/job-application/job-application.schema.d.ts +17 -82
  4. package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
  5. package/dist/cjs/page/page.schema.d.ts.map +1 -1
  6. package/dist/cjs/page/page.schema.js +0 -15
  7. package/dist/cjs/resume/resume.schema.d.ts +34 -164
  8. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  9. package/dist/cjs/user/education/education.schema.d.ts +44 -82
  10. package/dist/cjs/user/education/education.schema.d.ts.map +1 -1
  11. package/dist/cjs/user/education/education.schema.js +41 -12
  12. package/dist/cjs/user/update-education.schema.d.ts +12 -79
  13. package/dist/cjs/user/update-education.schema.d.ts.map +1 -1
  14. package/dist/cjs/user/update-work-experience.schema.d.ts +5 -3
  15. package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
  16. package/dist/cjs/user/user.schema.d.ts +17 -82
  17. package/dist/cjs/user/user.schema.d.ts.map +1 -1
  18. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +8 -4
  19. package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
  20. package/dist/cjs/user/work-experience/work-experience.schema.js +9 -4
  21. package/dist/esm/interfaces.index.d.ts +137 -657
  22. package/dist/esm/interfaces.index.d.ts.map +1 -1
  23. package/dist/esm/job-application/job-application.schema.d.ts +17 -82
  24. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  25. package/dist/esm/page/page.schema.d.ts.map +1 -1
  26. package/dist/esm/page/page.schema.js +0 -15
  27. package/dist/esm/resume/resume.schema.d.ts +34 -164
  28. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  29. package/dist/esm/user/education/education.schema.d.ts +44 -82
  30. package/dist/esm/user/education/education.schema.d.ts.map +1 -1
  31. package/dist/esm/user/education/education.schema.js +43 -14
  32. package/dist/esm/user/update-education.schema.d.ts +12 -79
  33. package/dist/esm/user/update-education.schema.d.ts.map +1 -1
  34. package/dist/esm/user/update-work-experience.schema.d.ts +5 -3
  35. package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
  36. package/dist/esm/user/user.schema.d.ts +17 -82
  37. package/dist/esm/user/user.schema.d.ts.map +1 -1
  38. package/dist/esm/user/work-experience/work-experience.schema.d.ts +8 -4
  39. package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
  40. package/dist/esm/user/work-experience/work-experience.schema.js +9 -4
  41. package/package.json +1 -1
@@ -465,14 +465,16 @@ export interface IAiPromptJobApplicationSummary {
465
465
  description?: string | undefined;
466
466
  company: {
467
467
  slug?: string | undefined;
468
- type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
469
468
  logo?: {
470
469
  dark?: string | null | undefined;
471
- light: string;
470
+ light?: string | undefined;
472
471
  } | null | undefined;
473
472
  name: string;
473
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
474
+ };
475
+ designation: {
476
+ name: string;
474
477
  };
475
- designation: string;
476
478
  isRemote: boolean;
477
479
  duration: {
478
480
  startDate: string;
@@ -511,88 +513,21 @@ export interface IAiPromptJobApplicationSummary {
511
513
  coordinates: number[];
512
514
  };
513
515
  };
514
- institute: NonNullable<{
515
- value: "others" | (string | undefined)[];
516
- otherValue: string | string[];
517
- } | Pick<{
518
- headline?: string | undefined;
519
- employeeCount?: string | undefined;
520
- yearFounded?: string | undefined;
521
- locations?: {
522
- coverImage?: string | undefined;
523
- name: string;
524
- isHeadquarters: boolean;
525
- contact: {
526
- email?: string | undefined;
527
- phone?: string | undefined;
528
- address: string;
529
- };
530
- }[] | undefined;
531
- contacts?: {
532
- label?: string | undefined;
533
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
534
- value: string;
535
- isPrimary: boolean;
536
- isVerified: boolean;
537
- }[] | undefined;
538
- verified?: Date | undefined;
539
- socialAccounts?: {
540
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
541
- isNew: boolean;
542
- url: string;
543
- }[] | undefined;
544
- isOwner?: boolean | undefined;
545
- equalOpportunityEmployer?: boolean | undefined;
546
- perksAndBenefits?: {
547
- category?: {
548
- logo?: string | undefined;
549
- id: string;
550
- name: string;
551
- } | {
552
- value: "others" | (string | undefined)[];
553
- otherValue: string | string[];
554
- } | undefined;
555
- name: string;
556
- description: string;
557
- }[] | undefined;
558
- updatedBy?: string | undefined;
559
- updatedAt?: number | undefined;
560
- slug: string;
561
- id: string;
562
- shortId: string;
563
- name: string;
564
- about: string;
565
- website: string;
566
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
567
- logo: {
516
+ institute: {
517
+ slug?: string | undefined;
518
+ logo?: {
568
519
  dark?: string | null | undefined;
569
- light: string;
570
- } | null;
571
- categories: {
572
- logo?: string | undefined;
573
- id: string;
574
- name: string;
575
- }[];
576
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
577
- createdBy: string;
578
- createdAt: number;
579
- }, "slug" | "name" | "type" | "logo"> | undefined>;
580
- course: NonNullable<{
581
- logo?: string | undefined;
582
- id: string;
520
+ light?: string | undefined;
521
+ } | null | undefined;
583
522
  name: string;
584
- } | {
585
- value: "others" | (string | undefined)[];
586
- otherValue: string | string[];
587
- } | undefined>;
588
- fieldOfStudy: NonNullable<NonNullable<{
589
- logo?: string | undefined;
590
- id: string;
523
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
524
+ };
525
+ course: {
591
526
  name: string;
592
- } | {
593
- value: "others" | (string | undefined)[];
594
- otherValue: string | string[];
595
- } | undefined>>;
527
+ };
528
+ fieldOfStudy: {
529
+ name: string;
530
+ };
596
531
  isDistanceLearning: boolean;
597
532
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
598
533
  };
@@ -1121,14 +1056,16 @@ export interface IJobApplicationSchema {
1121
1056
  description?: string | undefined;
1122
1057
  company: {
1123
1058
  slug?: string | undefined;
1124
- type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
1125
1059
  logo?: {
1126
1060
  dark?: string | null | undefined;
1127
- light: string;
1061
+ light?: string | undefined;
1128
1062
  } | null | undefined;
1129
1063
  name: string;
1064
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1065
+ };
1066
+ designation: {
1067
+ name: string;
1130
1068
  };
1131
- designation: string;
1132
1069
  isRemote: boolean;
1133
1070
  duration: {
1134
1071
  startDate: string;
@@ -1167,88 +1104,21 @@ export interface IJobApplicationSchema {
1167
1104
  coordinates: number[];
1168
1105
  };
1169
1106
  };
1170
- institute: NonNullable<{
1171
- value: "others" | (string | undefined)[];
1172
- otherValue: string | string[];
1173
- } | Pick<{
1174
- headline?: string | undefined;
1175
- employeeCount?: string | undefined;
1176
- yearFounded?: string | undefined;
1177
- locations?: {
1178
- coverImage?: string | undefined;
1179
- name: string;
1180
- isHeadquarters: boolean;
1181
- contact: {
1182
- email?: string | undefined;
1183
- phone?: string | undefined;
1184
- address: string;
1185
- };
1186
- }[] | undefined;
1187
- contacts?: {
1188
- label?: string | undefined;
1189
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1190
- value: string;
1191
- isPrimary: boolean;
1192
- isVerified: boolean;
1193
- }[] | undefined;
1194
- verified?: Date | undefined;
1195
- socialAccounts?: {
1196
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1197
- isNew: boolean;
1198
- url: string;
1199
- }[] | undefined;
1200
- isOwner?: boolean | undefined;
1201
- equalOpportunityEmployer?: boolean | undefined;
1202
- perksAndBenefits?: {
1203
- category?: {
1204
- logo?: string | undefined;
1205
- id: string;
1206
- name: string;
1207
- } | {
1208
- value: "others" | (string | undefined)[];
1209
- otherValue: string | string[];
1210
- } | undefined;
1211
- name: string;
1212
- description: string;
1213
- }[] | undefined;
1214
- updatedBy?: string | undefined;
1215
- updatedAt?: number | undefined;
1216
- slug: string;
1217
- id: string;
1218
- shortId: string;
1219
- name: string;
1220
- about: string;
1221
- website: string;
1222
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1223
- logo: {
1107
+ institute: {
1108
+ slug?: string | undefined;
1109
+ logo?: {
1224
1110
  dark?: string | null | undefined;
1225
- light: string;
1226
- } | null;
1227
- categories: {
1228
- logo?: string | undefined;
1229
- id: string;
1230
- name: string;
1231
- }[];
1232
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
1233
- createdBy: string;
1234
- createdAt: number;
1235
- }, "slug" | "name" | "type" | "logo"> | undefined>;
1236
- course: NonNullable<{
1237
- logo?: string | undefined;
1238
- id: string;
1111
+ light?: string | undefined;
1112
+ } | null | undefined;
1239
1113
  name: string;
1240
- } | {
1241
- value: "others" | (string | undefined)[];
1242
- otherValue: string | string[];
1243
- } | undefined>;
1244
- fieldOfStudy: NonNullable<NonNullable<{
1245
- logo?: string | undefined;
1246
- id: string;
1114
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1115
+ };
1116
+ course: {
1247
1117
  name: string;
1248
- } | {
1249
- value: "others" | (string | undefined)[];
1250
- otherValue: string | string[];
1251
- } | undefined>>;
1118
+ };
1119
+ fieldOfStudy: {
1120
+ name: string;
1121
+ };
1252
1122
  isDistanceLearning: boolean;
1253
1123
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
1254
1124
  };
@@ -1593,14 +1463,16 @@ export interface IResumeSchemaV2 {
1593
1463
  description?: string | undefined;
1594
1464
  company: {
1595
1465
  slug?: string | undefined;
1596
- type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
1597
1466
  logo?: {
1598
1467
  dark?: string | null | undefined;
1599
- light: string;
1468
+ light?: string | undefined;
1600
1469
  } | null | undefined;
1601
1470
  name: string;
1471
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1472
+ };
1473
+ designation: {
1474
+ name: string;
1602
1475
  };
1603
- designation: string;
1604
1476
  isRemote: boolean;
1605
1477
  duration: {
1606
1478
  startDate: string;
@@ -1638,88 +1510,21 @@ export interface IResumeSchemaV2 {
1638
1510
  coordinates: number[];
1639
1511
  };
1640
1512
  };
1641
- institute: NonNullable<{
1642
- value: "others" | (string | undefined)[];
1643
- otherValue: string | string[];
1644
- } | Pick<{
1645
- headline?: string | undefined;
1646
- employeeCount?: string | undefined;
1647
- yearFounded?: string | undefined;
1648
- locations?: {
1649
- coverImage?: string | undefined;
1650
- name: string;
1651
- isHeadquarters: boolean;
1652
- contact: {
1653
- email?: string | undefined;
1654
- phone?: string | undefined;
1655
- address: string;
1656
- };
1657
- }[] | undefined;
1658
- contacts?: {
1659
- label?: string | undefined;
1660
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1661
- value: string;
1662
- isPrimary: boolean;
1663
- isVerified: boolean;
1664
- }[] | undefined;
1665
- verified?: Date | undefined;
1666
- socialAccounts?: {
1667
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1668
- isNew: boolean;
1669
- url: string;
1670
- }[] | undefined;
1671
- isOwner?: boolean | undefined;
1672
- equalOpportunityEmployer?: boolean | undefined;
1673
- perksAndBenefits?: {
1674
- category?: {
1675
- logo?: string | undefined;
1676
- id: string;
1677
- name: string;
1678
- } | {
1679
- value: "others" | (string | undefined)[];
1680
- otherValue: string | string[];
1681
- } | undefined;
1682
- name: string;
1683
- description: string;
1684
- }[] | undefined;
1685
- updatedBy?: string | undefined;
1686
- updatedAt?: number | undefined;
1687
- slug: string;
1688
- id: string;
1689
- shortId: string;
1690
- name: string;
1691
- about: string;
1692
- website: string;
1693
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1694
- logo: {
1513
+ institute: {
1514
+ slug?: string | undefined;
1515
+ logo?: {
1695
1516
  dark?: string | null | undefined;
1696
- light: string;
1697
- } | null;
1698
- categories: {
1699
- logo?: string | undefined;
1700
- id: string;
1701
- name: string;
1702
- }[];
1703
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
1704
- createdBy: string;
1705
- createdAt: number;
1706
- }, "slug" | "name" | "type" | "logo"> | undefined>;
1707
- course: NonNullable<{
1708
- logo?: string | undefined;
1709
- id: string;
1517
+ light?: string | undefined;
1518
+ } | null | undefined;
1710
1519
  name: string;
1711
- } | {
1712
- value: "others" | (string | undefined)[];
1713
- otherValue: string | string[];
1714
- } | undefined>;
1715
- fieldOfStudy: NonNullable<NonNullable<{
1716
- logo?: string | undefined;
1717
- id: string;
1520
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1521
+ };
1522
+ course: {
1718
1523
  name: string;
1719
- } | {
1720
- value: "others" | (string | undefined)[];
1721
- otherValue: string | string[];
1722
- } | undefined>>;
1524
+ };
1525
+ fieldOfStudy: {
1526
+ name: string;
1527
+ };
1723
1528
  isDistanceLearning: boolean;
1724
1529
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
1725
1530
  }[] | {
@@ -1868,14 +1673,16 @@ export interface INewResumePromptSchema {
1868
1673
  description?: string | undefined;
1869
1674
  company: {
1870
1675
  slug?: string | undefined;
1871
- type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
1872
1676
  logo?: {
1873
1677
  dark?: string | null | undefined;
1874
- light: string;
1678
+ light?: string | undefined;
1875
1679
  } | null | undefined;
1876
1680
  name: string;
1681
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1682
+ };
1683
+ designation: {
1684
+ name: string;
1877
1685
  };
1878
- designation: string;
1879
1686
  isRemote: boolean;
1880
1687
  duration: {
1881
1688
  startDate: string;
@@ -1914,88 +1721,21 @@ export interface INewResumePromptSchema {
1914
1721
  coordinates: number[];
1915
1722
  };
1916
1723
  };
1917
- institute: NonNullable<{
1918
- value: "others" | (string | undefined)[];
1919
- otherValue: string | string[];
1920
- } | Pick<{
1921
- headline?: string | undefined;
1922
- employeeCount?: string | undefined;
1923
- yearFounded?: string | undefined;
1924
- locations?: {
1925
- coverImage?: string | undefined;
1926
- name: string;
1927
- isHeadquarters: boolean;
1928
- contact: {
1929
- email?: string | undefined;
1930
- phone?: string | undefined;
1931
- address: string;
1932
- };
1933
- }[] | undefined;
1934
- contacts?: {
1935
- label?: string | undefined;
1936
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
1937
- value: string;
1938
- isPrimary: boolean;
1939
- isVerified: boolean;
1940
- }[] | undefined;
1941
- verified?: Date | undefined;
1942
- socialAccounts?: {
1943
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
1944
- isNew: boolean;
1945
- url: string;
1946
- }[] | undefined;
1947
- isOwner?: boolean | undefined;
1948
- equalOpportunityEmployer?: boolean | undefined;
1949
- perksAndBenefits?: {
1950
- category?: {
1951
- logo?: string | undefined;
1952
- id: string;
1953
- name: string;
1954
- } | {
1955
- value: "others" | (string | undefined)[];
1956
- otherValue: string | string[];
1957
- } | undefined;
1958
- name: string;
1959
- description: string;
1960
- }[] | undefined;
1961
- updatedBy?: string | undefined;
1962
- updatedAt?: number | undefined;
1963
- slug: string;
1964
- id: string;
1965
- shortId: string;
1966
- name: string;
1967
- about: string;
1968
- website: string;
1969
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1970
- logo: {
1724
+ institute: {
1725
+ slug?: string | undefined;
1726
+ logo?: {
1971
1727
  dark?: string | null | undefined;
1972
- light: string;
1973
- } | null;
1974
- categories: {
1975
- logo?: string | undefined;
1976
- id: string;
1977
- name: string;
1978
- }[];
1979
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
1980
- createdBy: string;
1981
- createdAt: number;
1982
- }, "slug" | "name" | "type" | "logo"> | undefined>;
1983
- course: NonNullable<{
1984
- logo?: string | undefined;
1985
- id: string;
1728
+ light?: string | undefined;
1729
+ } | null | undefined;
1986
1730
  name: string;
1987
- } | {
1988
- value: "others" | (string | undefined)[];
1989
- otherValue: string | string[];
1990
- } | undefined>;
1991
- fieldOfStudy: NonNullable<NonNullable<{
1992
- logo?: string | undefined;
1993
- id: string;
1731
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1732
+ };
1733
+ course: {
1994
1734
  name: string;
1995
- } | {
1996
- value: "others" | (string | undefined)[];
1997
- otherValue: string | string[];
1998
- } | undefined>>;
1735
+ };
1736
+ fieldOfStudy: {
1737
+ name: string;
1738
+ };
1999
1739
  isDistanceLearning: boolean;
2000
1740
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
2001
1741
  }[];
@@ -2117,88 +1857,21 @@ export interface IUpdateEducationsSchema {
2117
1857
  coordinates: number[];
2118
1858
  };
2119
1859
  };
2120
- institute: NonNullable<{
2121
- value: "others" | (string | undefined)[];
2122
- otherValue: string | string[];
2123
- } | Pick<{
2124
- headline?: string | undefined;
2125
- employeeCount?: string | undefined;
2126
- yearFounded?: string | undefined;
2127
- locations?: {
2128
- coverImage?: string | undefined;
2129
- name: string;
2130
- isHeadquarters: boolean;
2131
- contact: {
2132
- email?: string | undefined;
2133
- phone?: string | undefined;
2134
- address: string;
2135
- };
2136
- }[] | undefined;
2137
- contacts?: {
2138
- label?: string | undefined;
2139
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2140
- value: string;
2141
- isPrimary: boolean;
2142
- isVerified: boolean;
2143
- }[] | undefined;
2144
- verified?: Date | undefined;
2145
- socialAccounts?: {
2146
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2147
- isNew: boolean;
2148
- url: string;
2149
- }[] | undefined;
2150
- isOwner?: boolean | undefined;
2151
- equalOpportunityEmployer?: boolean | undefined;
2152
- perksAndBenefits?: {
2153
- category?: {
2154
- logo?: string | undefined;
2155
- id: string;
2156
- name: string;
2157
- } | {
2158
- value: "others" | (string | undefined)[];
2159
- otherValue: string | string[];
2160
- } | undefined;
2161
- name: string;
2162
- description: string;
2163
- }[] | undefined;
2164
- updatedBy?: string | undefined;
2165
- updatedAt?: number | undefined;
2166
- slug: string;
2167
- id: string;
2168
- shortId: string;
2169
- name: string;
2170
- about: string;
2171
- website: string;
2172
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2173
- logo: {
1860
+ institute: {
1861
+ slug?: string | undefined;
1862
+ logo?: {
2174
1863
  dark?: string | null | undefined;
2175
- light: string;
2176
- } | null;
2177
- categories: {
2178
- logo?: string | undefined;
2179
- id: string;
2180
- name: string;
2181
- }[];
2182
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2183
- createdBy: string;
2184
- createdAt: number;
2185
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2186
- course: NonNullable<{
2187
- logo?: string | undefined;
2188
- id: string;
1864
+ light?: string | undefined;
1865
+ } | null | undefined;
2189
1866
  name: string;
2190
- } | {
2191
- value: "others" | (string | undefined)[];
2192
- otherValue: string | string[];
2193
- } | undefined>;
2194
- fieldOfStudy: NonNullable<NonNullable<{
2195
- logo?: string | undefined;
2196
- id: string;
1867
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
1868
+ };
1869
+ course: {
2197
1870
  name: string;
2198
- } | {
2199
- value: "others" | (string | undefined)[];
2200
- otherValue: string | string[];
2201
- } | undefined>>;
1871
+ };
1872
+ fieldOfStudy: {
1873
+ name: string;
1874
+ };
2202
1875
  isDistanceLearning: boolean;
2203
1876
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
2204
1877
  }[];
@@ -2272,15 +1945,17 @@ export interface IUpdateWorkExperiencesSchema {
2272
1945
  description?: string | undefined;
2273
1946
  company: {
2274
1947
  slug?: string | undefined;
2275
- type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2276
1948
  logo?: {
2277
1949
  dark?: string | null | undefined;
2278
- light: string;
1950
+ light?: string | undefined;
2279
1951
  } | null | undefined;
2280
1952
  name: string;
1953
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2281
1954
  };
2282
- designation: string;
2283
- isRemote: boolean;
1955
+ designation: {
1956
+ name: string;
1957
+ };
1958
+ isRemote: boolean;
2284
1959
  duration: {
2285
1960
  startDate: string;
2286
1961
  endDate: string;
@@ -2405,14 +2080,16 @@ export interface IUserSchema {
2405
2080
  description?: string | undefined;
2406
2081
  company: {
2407
2082
  slug?: string | undefined;
2408
- type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2409
2083
  logo?: {
2410
2084
  dark?: string | null | undefined;
2411
- light: string;
2085
+ light?: string | undefined;
2412
2086
  } | null | undefined;
2413
2087
  name: string;
2088
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2089
+ };
2090
+ designation: {
2091
+ name: string;
2414
2092
  };
2415
- designation: string;
2416
2093
  isRemote: boolean;
2417
2094
  duration: {
2418
2095
  startDate: string;
@@ -2451,88 +2128,21 @@ export interface IUserSchema {
2451
2128
  coordinates: number[];
2452
2129
  };
2453
2130
  };
2454
- institute: NonNullable<{
2455
- value: "others" | (string | undefined)[];
2456
- otherValue: string | string[];
2457
- } | Pick<{
2458
- headline?: string | undefined;
2459
- employeeCount?: string | undefined;
2460
- yearFounded?: string | undefined;
2461
- locations?: {
2462
- coverImage?: string | undefined;
2463
- name: string;
2464
- isHeadquarters: boolean;
2465
- contact: {
2466
- email?: string | undefined;
2467
- phone?: string | undefined;
2468
- address: string;
2469
- };
2470
- }[] | undefined;
2471
- contacts?: {
2472
- label?: string | undefined;
2473
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2474
- value: string;
2475
- isPrimary: boolean;
2476
- isVerified: boolean;
2477
- }[] | undefined;
2478
- verified?: Date | undefined;
2479
- socialAccounts?: {
2480
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2481
- isNew: boolean;
2482
- url: string;
2483
- }[] | undefined;
2484
- isOwner?: boolean | undefined;
2485
- equalOpportunityEmployer?: boolean | undefined;
2486
- perksAndBenefits?: {
2487
- category?: {
2488
- logo?: string | undefined;
2489
- id: string;
2490
- name: string;
2491
- } | {
2492
- value: "others" | (string | undefined)[];
2493
- otherValue: string | string[];
2494
- } | undefined;
2495
- name: string;
2496
- description: string;
2497
- }[] | undefined;
2498
- updatedBy?: string | undefined;
2499
- updatedAt?: number | undefined;
2500
- slug: string;
2501
- id: string;
2502
- shortId: string;
2503
- name: string;
2504
- about: string;
2505
- website: string;
2506
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2507
- logo: {
2131
+ institute: {
2132
+ slug?: string | undefined;
2133
+ logo?: {
2508
2134
  dark?: string | null | undefined;
2509
- light: string;
2510
- } | null;
2511
- categories: {
2512
- logo?: string | undefined;
2513
- id: string;
2514
- name: string;
2515
- }[];
2516
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2517
- createdBy: string;
2518
- createdAt: number;
2519
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2520
- course: NonNullable<{
2521
- logo?: string | undefined;
2522
- id: string;
2135
+ light?: string | undefined;
2136
+ } | null | undefined;
2523
2137
  name: string;
2524
- } | {
2525
- value: "others" | (string | undefined)[];
2526
- otherValue: string | string[];
2527
- } | undefined>;
2528
- fieldOfStudy: NonNullable<NonNullable<{
2529
- logo?: string | undefined;
2530
- id: string;
2138
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2139
+ };
2140
+ course: {
2531
2141
  name: string;
2532
- } | {
2533
- value: "others" | (string | undefined)[];
2534
- otherValue: string | string[];
2535
- } | undefined>>;
2142
+ };
2143
+ fieldOfStudy: {
2144
+ name: string;
2145
+ };
2536
2146
  isDistanceLearning: boolean;
2537
2147
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
2538
2148
  }[];
@@ -2614,14 +2224,16 @@ export interface IUserProfileOverview {
2614
2224
  description?: string | undefined;
2615
2225
  company: {
2616
2226
  slug?: string | undefined;
2617
- type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2618
2227
  logo?: {
2619
2228
  dark?: string | null | undefined;
2620
- light: string;
2229
+ light?: string | undefined;
2621
2230
  } | null | undefined;
2622
2231
  name: string;
2232
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2233
+ };
2234
+ designation: {
2235
+ name: string;
2623
2236
  };
2624
- designation: string;
2625
2237
  isRemote: boolean;
2626
2238
  duration: {
2627
2239
  startDate: string;
@@ -2660,88 +2272,21 @@ export interface IUserProfileOverview {
2660
2272
  coordinates: number[];
2661
2273
  };
2662
2274
  };
2663
- institute: NonNullable<{
2664
- value: "others" | (string | undefined)[];
2665
- otherValue: string | string[];
2666
- } | Pick<{
2667
- headline?: string | undefined;
2668
- employeeCount?: string | undefined;
2669
- yearFounded?: string | undefined;
2670
- locations?: {
2671
- coverImage?: string | undefined;
2672
- name: string;
2673
- isHeadquarters: boolean;
2674
- contact: {
2675
- email?: string | undefined;
2676
- phone?: string | undefined;
2677
- address: string;
2678
- };
2679
- }[] | undefined;
2680
- contacts?: {
2681
- label?: string | undefined;
2682
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2683
- value: string;
2684
- isPrimary: boolean;
2685
- isVerified: boolean;
2686
- }[] | undefined;
2687
- verified?: Date | undefined;
2688
- socialAccounts?: {
2689
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2690
- isNew: boolean;
2691
- url: string;
2692
- }[] | undefined;
2693
- isOwner?: boolean | undefined;
2694
- equalOpportunityEmployer?: boolean | undefined;
2695
- perksAndBenefits?: {
2696
- category?: {
2697
- logo?: string | undefined;
2698
- id: string;
2699
- name: string;
2700
- } | {
2701
- value: "others" | (string | undefined)[];
2702
- otherValue: string | string[];
2703
- } | undefined;
2704
- name: string;
2705
- description: string;
2706
- }[] | undefined;
2707
- updatedBy?: string | undefined;
2708
- updatedAt?: number | undefined;
2709
- slug: string;
2710
- id: string;
2711
- shortId: string;
2712
- name: string;
2713
- about: string;
2714
- website: string;
2715
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2716
- logo: {
2275
+ institute: {
2276
+ slug?: string | undefined;
2277
+ logo?: {
2717
2278
  dark?: string | null | undefined;
2718
- light: string;
2719
- } | null;
2720
- categories: {
2721
- logo?: string | undefined;
2722
- id: string;
2723
- name: string;
2724
- }[];
2725
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2726
- createdBy: string;
2727
- createdAt: number;
2728
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2729
- course: NonNullable<{
2730
- logo?: string | undefined;
2731
- id: string;
2279
+ light?: string | undefined;
2280
+ } | null | undefined;
2732
2281
  name: string;
2733
- } | {
2734
- value: "others" | (string | undefined)[];
2735
- otherValue: string | string[];
2736
- } | undefined>;
2737
- fieldOfStudy: NonNullable<NonNullable<{
2738
- logo?: string | undefined;
2739
- id: string;
2282
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2283
+ };
2284
+ course: {
2740
2285
  name: string;
2741
- } | {
2742
- value: "others" | (string | undefined)[];
2743
- otherValue: string | string[];
2744
- } | undefined>>;
2286
+ };
2287
+ fieldOfStudy: {
2288
+ name: string;
2289
+ };
2745
2290
  isDistanceLearning: boolean;
2746
2291
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
2747
2292
  } | undefined;
@@ -2790,88 +2335,21 @@ export interface IEducationSchema {
2790
2335
  coordinates: number[];
2791
2336
  };
2792
2337
  };
2793
- institute: NonNullable<{
2794
- value: "others" | (string | undefined)[];
2795
- otherValue: string | string[];
2796
- } | Pick<{
2797
- headline?: string | undefined;
2798
- employeeCount?: string | undefined;
2799
- yearFounded?: string | undefined;
2800
- locations?: {
2801
- coverImage?: string | undefined;
2802
- name: string;
2803
- isHeadquarters: boolean;
2804
- contact: {
2805
- email?: string | undefined;
2806
- phone?: string | undefined;
2807
- address: string;
2808
- };
2809
- }[] | undefined;
2810
- contacts?: {
2811
- label?: string | undefined;
2812
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").ContactTypes | undefined>;
2813
- value: string;
2814
- isPrimary: boolean;
2815
- isVerified: boolean;
2816
- }[] | undefined;
2817
- verified?: Date | undefined;
2818
- socialAccounts?: {
2819
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
2820
- isNew: boolean;
2821
- url: string;
2822
- }[] | undefined;
2823
- isOwner?: boolean | undefined;
2824
- equalOpportunityEmployer?: boolean | undefined;
2825
- perksAndBenefits?: {
2826
- category?: {
2827
- logo?: string | undefined;
2828
- id: string;
2829
- name: string;
2830
- } | {
2831
- value: "others" | (string | undefined)[];
2832
- otherValue: string | string[];
2833
- } | undefined;
2834
- name: string;
2835
- description: string;
2836
- }[] | undefined;
2837
- updatedBy?: string | undefined;
2838
- updatedAt?: number | undefined;
2839
- slug: string;
2840
- id: string;
2841
- shortId: string;
2842
- name: string;
2843
- about: string;
2844
- website: string;
2845
- type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2846
- logo: {
2338
+ institute: {
2339
+ slug?: string | undefined;
2340
+ logo?: {
2847
2341
  dark?: string | null | undefined;
2848
- light: string;
2849
- } | null;
2850
- categories: {
2851
- logo?: string | undefined;
2852
- id: string;
2853
- name: string;
2854
- }[];
2855
- status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageStatus | undefined>;
2856
- createdBy: string;
2857
- createdAt: number;
2858
- }, "slug" | "name" | "type" | "logo"> | undefined>;
2859
- course: NonNullable<{
2860
- logo?: string | undefined;
2861
- id: string;
2342
+ light?: string | undefined;
2343
+ } | null | undefined;
2862
2344
  name: string;
2863
- } | {
2864
- value: "others" | (string | undefined)[];
2865
- otherValue: string | string[];
2866
- } | undefined>;
2867
- fieldOfStudy: NonNullable<NonNullable<{
2868
- logo?: string | undefined;
2869
- id: string;
2345
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2346
+ };
2347
+ course: {
2870
2348
  name: string;
2871
- } | {
2872
- value: "others" | (string | undefined)[];
2873
- otherValue: string | string[];
2874
- } | undefined>>;
2349
+ };
2350
+ fieldOfStudy: {
2351
+ name: string;
2352
+ };
2875
2353
  isDistanceLearning: boolean;
2876
2354
  studyType: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").StudyType | undefined>;
2877
2355
  }
@@ -2961,14 +2439,16 @@ export interface IWorkExperienceSchema {
2961
2439
  description?: string | undefined;
2962
2440
  company: {
2963
2441
  slug?: string | undefined;
2964
- type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2965
2442
  logo?: {
2966
2443
  dark?: string | null | undefined;
2967
- light: string;
2444
+ light?: string | undefined;
2968
2445
  } | null | undefined;
2969
2446
  name: string;
2447
+ type: import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType;
2448
+ };
2449
+ designation: {
2450
+ name: string;
2970
2451
  };
2971
- designation: string;
2972
2452
  isRemote: boolean;
2973
2453
  duration: {
2974
2454
  startDate: string;