@thejob/schema 1.0.60 → 1.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/cjs/interfaces.index.d.ts +117 -629
  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 +10 -74
  5. package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
  6. package/dist/cjs/page/page.schema.d.ts +1 -1
  7. package/dist/cjs/page/page.schema.js +1 -1
  8. package/dist/cjs/resume/resume.schema.d.ts +20 -148
  9. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  10. package/dist/cjs/user/education/education.schema.d.ts +1 -1
  11. package/dist/cjs/user/update-education.schema.d.ts +1 -1
  12. package/dist/cjs/user/update-work-experience.schema.d.ts +9 -73
  13. package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
  14. package/dist/cjs/user/user.schema.d.ts +10 -74
  15. package/dist/cjs/user/user.schema.d.ts.map +1 -1
  16. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +34 -73
  17. package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
  18. package/dist/cjs/user/work-experience/work-experience.schema.js +5 -11
  19. package/dist/esm/interfaces.index.d.ts +117 -629
  20. package/dist/esm/interfaces.index.d.ts.map +1 -1
  21. package/dist/esm/job/job.schema.d.ts +1 -1
  22. package/dist/esm/job-application/job-application.schema.d.ts +10 -74
  23. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  24. package/dist/esm/page/page.schema.d.ts +1 -1
  25. package/dist/esm/page/page.schema.js +1 -1
  26. package/dist/esm/resume/resume.schema.d.ts +20 -148
  27. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  28. package/dist/esm/user/education/education.schema.d.ts +1 -1
  29. package/dist/esm/user/update-education.schema.d.ts +1 -1
  30. package/dist/esm/user/update-work-experience.schema.d.ts +9 -73
  31. package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
  32. package/dist/esm/user/user.schema.d.ts +10 -74
  33. package/dist/esm/user/user.schema.d.ts.map +1 -1
  34. package/dist/esm/user/work-experience/work-experience.schema.d.ts +34 -73
  35. package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
  36. package/dist/esm/user/work-experience/work-experience.schema.js +6 -12
  37. 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,16 @@ 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;
515
- 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;
466
+ company: {
467
+ slug?: string | undefined;
468
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
469
+ logo?: {
470
+ dark?: string | null | undefined;
521
471
  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;
472
+ } | null | undefined;
535
473
  name: string;
536
- } | {
537
- value: "others" | (string | undefined)[];
538
- otherValue: string | string[];
539
- } | undefined>;
474
+ };
475
+ designation: string;
540
476
  isRemote: boolean;
541
477
  duration: {
542
478
  startDate: string;
@@ -629,7 +565,7 @@ export interface IAiPromptJobApplicationSummary {
629
565
  website: string;
630
566
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
631
567
  logo: {
632
- dark?: string | undefined;
568
+ dark?: string | null | undefined;
633
569
  light: string;
634
570
  } | null;
635
571
  categories: {
@@ -1021,7 +957,7 @@ export interface IJobSchema {
1021
957
  website: string;
1022
958
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1023
959
  logo: {
1024
- dark?: string | undefined;
960
+ dark?: string | null | undefined;
1025
961
  light: string;
1026
962
  } | null;
1027
963
  categories: {
@@ -1183,80 +1119,16 @@ export interface IJobApplicationSchema {
1183
1119
  }[];
1184
1120
  recentWork: {
1185
1121
  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;
1235
- 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;
1122
+ company: {
1123
+ slug?: string | undefined;
1124
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
1125
+ logo?: {
1126
+ dark?: string | null | undefined;
1241
1127
  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;
1128
+ } | null | undefined;
1255
1129
  name: string;
1256
- } | {
1257
- value: "others" | (string | undefined)[];
1258
- otherValue: string | string[];
1259
- } | undefined>;
1130
+ };
1131
+ designation: string;
1260
1132
  isRemote: boolean;
1261
1133
  duration: {
1262
1134
  startDate: string;
@@ -1349,7 +1221,7 @@ export interface IJobApplicationSchema {
1349
1221
  website: string;
1350
1222
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1351
1223
  logo: {
1352
- dark?: string | undefined;
1224
+ dark?: string | null | undefined;
1353
1225
  light: string;
1354
1226
  } | null;
1355
1227
  categories: {
@@ -1542,7 +1414,7 @@ export interface IPageSchema {
1542
1414
  website: string;
1543
1415
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1544
1416
  logo: {
1545
- dark?: string | undefined;
1417
+ dark?: string | null | undefined;
1546
1418
  light: string;
1547
1419
  } | null;
1548
1420
  categories: {
@@ -1719,80 +1591,16 @@ export interface IResumeSchemaV2 {
1719
1591
  url: string;
1720
1592
  }[] | {
1721
1593
  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;
1771
- 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;
1594
+ company: {
1595
+ slug?: string | undefined;
1596
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
1597
+ logo?: {
1598
+ dark?: string | null | undefined;
1777
1599
  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;
1600
+ } | null | undefined;
1791
1601
  name: string;
1792
- } | {
1793
- value: "others" | (string | undefined)[];
1794
- otherValue: string | string[];
1795
- } | undefined>;
1602
+ };
1603
+ designation: string;
1796
1604
  isRemote: boolean;
1797
1605
  duration: {
1798
1606
  startDate: string;
@@ -1884,7 +1692,7 @@ export interface IResumeSchemaV2 {
1884
1692
  website: string;
1885
1693
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
1886
1694
  logo: {
1887
- dark?: string | undefined;
1695
+ dark?: string | null | undefined;
1888
1696
  light: string;
1889
1697
  } | null;
1890
1698
  categories: {
@@ -2058,7 +1866,55 @@ export interface INewResumePromptSchema {
2058
1866
  };
2059
1867
  workExperiences: {
2060
1868
  description?: string | undefined;
2061
- company: NonNullable<{
1869
+ company: {
1870
+ slug?: string | undefined;
1871
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
1872
+ logo?: {
1873
+ dark?: string | null | undefined;
1874
+ light: string;
1875
+ } | null | undefined;
1876
+ name: string;
1877
+ };
1878
+ designation: string;
1879
+ isRemote: boolean;
1880
+ duration: {
1881
+ startDate: string;
1882
+ endDate: string;
1883
+ isActive: boolean;
1884
+ };
1885
+ location: {
1886
+ address?: string | null | undefined;
1887
+ state?: string | null | undefined;
1888
+ stateCode?: string | null | undefined;
1889
+ city?: string | null | undefined;
1890
+ country: string;
1891
+ countryCode: string;
1892
+ geo: {
1893
+ type: "Point";
1894
+ coordinates: number[];
1895
+ };
1896
+ };
1897
+ }[];
1898
+ educations: {
1899
+ description?: string | undefined;
1900
+ duration: {
1901
+ startDate: string;
1902
+ endDate: string;
1903
+ isActive: boolean;
1904
+ };
1905
+ location: {
1906
+ address?: string | null | undefined;
1907
+ state?: string | null | undefined;
1908
+ stateCode?: string | null | undefined;
1909
+ city?: string | null | undefined;
1910
+ country: string;
1911
+ countryCode: string;
1912
+ geo: {
1913
+ type: "Point";
1914
+ coordinates: number[];
1915
+ };
1916
+ };
1917
+ institute: NonNullable<{
2062
1918
  value: "others" | (string | undefined)[];
2063
1919
  otherValue: string | string[];
2064
1920
  } | Pick<{
@@ -2112,7 +1968,7 @@ export interface INewResumePromptSchema {
2112
1968
  website: string;
2113
1969
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2114
1970
  logo: {
2115
- dark?: string | undefined;
1971
+ dark?: string | null | undefined;
2116
1972
  light: string;
2117
1973
  } | null;
2118
1974
  categories: {
@@ -2124,119 +1980,7 @@ export interface INewResumePromptSchema {
2124
1980
  createdBy: string;
2125
1981
  createdAt: number;
2126
1982
  }, "slug" | "name" | "type" | "logo"> | undefined>;
2127
- designation: NonNullable<{
2128
- logo?: string | undefined;
2129
- id: string;
2130
- name: string;
2131
- } | {
2132
- value: "others" | (string | undefined)[];
2133
- otherValue: string | string[];
2134
- } | undefined>;
2135
- isRemote: boolean;
2136
- duration: {
2137
- startDate: string;
2138
- endDate: string;
2139
- isActive: boolean;
2140
- };
2141
- location: {
2142
- address?: string | null | undefined;
2143
- state?: string | null | undefined;
2144
- stateCode?: string | null | undefined;
2145
- city?: string | null | undefined;
2146
- country: string;
2147
- countryCode: string;
2148
- geo: {
2149
- type: "Point";
2150
- coordinates: number[];
2151
- };
2152
- };
2153
- }[];
2154
- educations: {
2155
- description?: string | undefined;
2156
- duration: {
2157
- startDate: string;
2158
- endDate: string;
2159
- isActive: boolean;
2160
- };
2161
- location: {
2162
- address?: string | null | undefined;
2163
- state?: string | null | undefined;
2164
- stateCode?: string | null | undefined;
2165
- city?: string | null | undefined;
2166
- country: string;
2167
- countryCode: string;
2168
- geo: {
2169
- type: "Point";
2170
- coordinates: number[];
2171
- };
2172
- };
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;
2222
- 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<{
1983
+ course: NonNullable<{
2240
1984
  logo?: string | undefined;
2241
1985
  id: string;
2242
1986
  name: string;
@@ -2427,7 +2171,7 @@ export interface IUpdateEducationsSchema {
2427
2171
  website: string;
2428
2172
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2429
2173
  logo: {
2430
- dark?: string | undefined;
2174
+ dark?: string | null | undefined;
2431
2175
  light: string;
2432
2176
  } | null;
2433
2177
  categories: {
@@ -2526,80 +2270,16 @@ export interface IUpdateUserSchema {
2526
2270
  export interface IUpdateWorkExperiencesSchema {
2527
2271
  workExperiences: {
2528
2272
  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;
2578
- 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;
2273
+ company: {
2274
+ slug?: string | undefined;
2275
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2276
+ logo?: {
2277
+ dark?: string | null | undefined;
2584
2278
  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;
2279
+ } | null | undefined;
2598
2280
  name: string;
2599
- } | {
2600
- value: "others" | (string | undefined)[];
2601
- otherValue: string | string[];
2602
- } | undefined>;
2281
+ };
2282
+ designation: string;
2603
2283
  isRemote: boolean;
2604
2284
  duration: {
2605
2285
  startDate: string;
@@ -2723,80 +2403,16 @@ export interface IUserSchema {
2723
2403
  };
2724
2404
  workExperiences: {
2725
2405
  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;
2775
- 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;
2406
+ company: {
2407
+ slug?: string | undefined;
2408
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2409
+ logo?: {
2410
+ dark?: string | null | undefined;
2781
2411
  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;
2412
+ } | null | undefined;
2795
2413
  name: string;
2796
- } | {
2797
- value: "others" | (string | undefined)[];
2798
- otherValue: string | string[];
2799
- } | undefined>;
2414
+ };
2415
+ designation: string;
2800
2416
  isRemote: boolean;
2801
2417
  duration: {
2802
2418
  startDate: string;
@@ -2889,7 +2505,7 @@ export interface IUserSchema {
2889
2505
  website: string;
2890
2506
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
2891
2507
  logo: {
2892
- dark?: string | undefined;
2508
+ dark?: string | null | undefined;
2893
2509
  light: string;
2894
2510
  } | null;
2895
2511
  categories: {
@@ -2996,80 +2612,16 @@ export interface IUserProfileOverview {
2996
2612
  } | undefined;
2997
2613
  recentWork?: {
2998
2614
  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;
3048
- 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;
2615
+ company: {
2616
+ slug?: string | undefined;
2617
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2618
+ logo?: {
2619
+ dark?: string | null | undefined;
3054
2620
  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;
2621
+ } | null | undefined;
3068
2622
  name: string;
3069
- } | {
3070
- value: "others" | (string | undefined)[];
3071
- otherValue: string | string[];
3072
- } | undefined>;
2623
+ };
2624
+ designation: string;
3073
2625
  isRemote: boolean;
3074
2626
  duration: {
3075
2627
  startDate: string;
@@ -3162,7 +2714,7 @@ export interface IUserProfileOverview {
3162
2714
  website: string;
3163
2715
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3164
2716
  logo: {
3165
- dark?: string | undefined;
2717
+ dark?: string | null | undefined;
3166
2718
  light: string;
3167
2719
  } | null;
3168
2720
  categories: {
@@ -3292,7 +2844,7 @@ export interface IEducationSchema {
3292
2844
  website: string;
3293
2845
  type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
3294
2846
  logo: {
3295
- dark?: string | undefined;
2847
+ dark?: string | null | undefined;
3296
2848
  light: string;
3297
2849
  } | null;
3298
2850
  categories: {
@@ -3407,80 +2959,16 @@ export interface IUserSkillSchema {
3407
2959
  }
3408
2960
  export interface IWorkExperienceSchema {
3409
2961
  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;
3459
- 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;
2962
+ company: {
2963
+ slug?: string | undefined;
2964
+ type?: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined> | undefined;
2965
+ logo?: {
2966
+ dark?: string | null | undefined;
3465
2967
  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;
2968
+ } | null | undefined;
3479
2969
  name: string;
3480
- } | {
3481
- value: "others" | (string | undefined)[];
3482
- otherValue: string | string[];
3483
- } | undefined>;
2970
+ };
2971
+ designation: string;
3484
2972
  isRemote: boolean;
3485
2973
  duration: {
3486
2974
  startDate: string;