@thejob/schema 1.0.57 → 1.0.59

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 (53) hide show
  1. package/dist/cjs/common/constants.d.ts +2 -1
  2. package/dist/cjs/common/constants.d.ts.map +1 -1
  3. package/dist/cjs/common/constants.js +1 -0
  4. package/dist/cjs/interfaces.index.d.ts +81 -108
  5. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  6. package/dist/cjs/job/job.schema.d.ts +3 -4
  7. package/dist/cjs/job/job.schema.d.ts.map +1 -1
  8. package/dist/cjs/job-application/job-application.schema.d.ts +9 -12
  9. package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
  10. package/dist/cjs/location/location.schema.d.ts +6 -8
  11. package/dist/cjs/location/location.schema.d.ts.map +1 -1
  12. package/dist/cjs/location/location.schema.js +11 -30
  13. package/dist/cjs/resume/resume.schema.d.ts +21 -28
  14. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  15. package/dist/cjs/user/education/education.schema.d.ts +3 -4
  16. package/dist/cjs/user/education/education.schema.d.ts.map +1 -1
  17. package/dist/cjs/user/general-detail/general-detail.schema.d.ts +3 -4
  18. package/dist/cjs/user/general-detail/general-detail.schema.d.ts.map +1 -1
  19. package/dist/cjs/user/update-education.schema.d.ts +3 -4
  20. package/dist/cjs/user/update-education.schema.d.ts.map +1 -1
  21. package/dist/cjs/user/update-work-experience.schema.d.ts +3 -4
  22. package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
  23. package/dist/cjs/user/user.schema.d.ts +9 -12
  24. package/dist/cjs/user/user.schema.d.ts.map +1 -1
  25. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +3 -4
  26. package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
  27. package/dist/esm/common/constants.d.ts +2 -1
  28. package/dist/esm/common/constants.d.ts.map +1 -1
  29. package/dist/esm/common/constants.js +1 -0
  30. package/dist/esm/interfaces.index.d.ts +81 -108
  31. package/dist/esm/interfaces.index.d.ts.map +1 -1
  32. package/dist/esm/job/job.schema.d.ts +3 -4
  33. package/dist/esm/job/job.schema.d.ts.map +1 -1
  34. package/dist/esm/job-application/job-application.schema.d.ts +9 -12
  35. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  36. package/dist/esm/location/location.schema.d.ts +6 -8
  37. package/dist/esm/location/location.schema.d.ts.map +1 -1
  38. package/dist/esm/location/location.schema.js +11 -30
  39. package/dist/esm/resume/resume.schema.d.ts +21 -28
  40. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  41. package/dist/esm/user/education/education.schema.d.ts +3 -4
  42. package/dist/esm/user/education/education.schema.d.ts.map +1 -1
  43. package/dist/esm/user/general-detail/general-detail.schema.d.ts +3 -4
  44. package/dist/esm/user/general-detail/general-detail.schema.d.ts.map +1 -1
  45. package/dist/esm/user/update-education.schema.d.ts +3 -4
  46. package/dist/esm/user/update-education.schema.d.ts.map +1 -1
  47. package/dist/esm/user/update-work-experience.schema.d.ts +3 -4
  48. package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
  49. package/dist/esm/user/user.schema.d.ts +9 -12
  50. package/dist/esm/user/user.schema.d.ts.map +1 -1
  51. package/dist/esm/user/work-experience/work-experience.schema.d.ts +3 -4
  52. package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
  53. package/package.json +1 -1
@@ -183,7 +183,8 @@ export declare enum UserStatus {
183
183
  Active = "active",
184
184
  Blocked = "blocked",
185
185
  Pending = "pending",
186
- Deleted = "deleted"
186
+ Deleted = "deleted",
187
+ MarkedForDeletion = "markedForDeletion"
187
188
  }
188
189
  export declare const SupportedUserStatuses: UserStatus[];
189
190
  export declare const DefaultUserRoles: UserRole[];
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,QAAQ,cAAc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Y,UAAU;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,iBAAiB,sBAAsB;CACxC;AAED,eAAO,MAAM,qBAAqB,cAA4B,CAAC;AAE/D,eAAO,MAAM,gBAAgB,YAAoB,CAAC;AAElD,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,aAAa;IACpB,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,0BAA0B,oBAAkC,CAAC"}
@@ -240,6 +240,7 @@ var UserStatus;
240
240
  UserStatus["Blocked"] = "blocked";
241
241
  UserStatus["Pending"] = "pending";
242
242
  UserStatus["Deleted"] = "deleted";
243
+ UserStatus["MarkedForDeletion"] = "markedForDeletion";
243
244
  })(UserStatus || (exports.UserStatus = UserStatus = {}));
244
245
  exports.SupportedUserStatuses = Object.values(UserStatus);
245
246
  exports.DefaultUserRoles = [UserRole.Normal];
@@ -283,10 +283,9 @@ export interface IAiPromptJobApplicationSummary {
283
283
  city?: string | null | undefined;
284
284
  country: string;
285
285
  countryCode: string;
286
- latLong: {
287
- country?: (number | undefined)[] | null | undefined;
288
- state?: number[] | null | undefined;
289
- city?: number[] | null | undefined;
286
+ geo: {
287
+ type: "Point";
288
+ coordinates: number[];
290
289
  };
291
290
  }[];
292
291
  status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job/job.constant").JobStatus | undefined>;
@@ -447,10 +446,9 @@ export interface IAiPromptJobApplicationSummary {
447
446
  city?: string | null | undefined;
448
447
  country: string;
449
448
  countryCode: string;
450
- latLong: {
451
- country?: (number | undefined)[] | null | undefined;
452
- state?: number[] | null | undefined;
453
- city?: number[] | null | undefined;
449
+ geo: {
450
+ type: "Point";
451
+ coordinates: number[];
454
452
  };
455
453
  };
456
454
  resume: {
@@ -552,10 +550,9 @@ export interface IAiPromptJobApplicationSummary {
552
550
  city?: string | null | undefined;
553
551
  country: string;
554
552
  countryCode: string;
555
- latLong: {
556
- country?: (number | undefined)[] | null | undefined;
557
- state?: number[] | null | undefined;
558
- city?: number[] | null | undefined;
553
+ geo: {
554
+ type: "Point";
555
+ coordinates: number[];
559
556
  };
560
557
  };
561
558
  };
@@ -573,10 +570,9 @@ export interface IAiPromptJobApplicationSummary {
573
570
  city?: string | null | undefined;
574
571
  country: string;
575
572
  countryCode: string;
576
- latLong: {
577
- country?: (number | undefined)[] | null | undefined;
578
- state?: number[] | null | undefined;
579
- city?: number[] | null | undefined;
573
+ geo: {
574
+ type: "Point";
575
+ coordinates: number[];
580
576
  };
581
577
  };
582
578
  institute: NonNullable<{
@@ -962,10 +958,9 @@ export interface IJobSchema {
962
958
  city?: string | null | undefined;
963
959
  country: string;
964
960
  countryCode: string;
965
- latLong: {
966
- country?: (number | undefined)[] | null | undefined;
967
- state?: number[] | null | undefined;
968
- city?: number[] | null | undefined;
961
+ geo: {
962
+ type: "Point";
963
+ coordinates: number[];
969
964
  };
970
965
  }[];
971
966
  status: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/job/job.constant").JobStatus | undefined>;
@@ -1171,10 +1166,9 @@ export interface IJobApplicationSchema {
1171
1166
  city?: string | null | undefined;
1172
1167
  country: string;
1173
1168
  countryCode: string;
1174
- latLong: {
1175
- country?: (number | undefined)[] | null | undefined;
1176
- state?: number[] | null | undefined;
1177
- city?: number[] | null | undefined;
1169
+ geo: {
1170
+ type: "Point";
1171
+ coordinates: number[];
1178
1172
  };
1179
1173
  };
1180
1174
  resume: {
@@ -1276,10 +1270,9 @@ export interface IJobApplicationSchema {
1276
1270
  city?: string | null | undefined;
1277
1271
  country: string;
1278
1272
  countryCode: string;
1279
- latLong: {
1280
- country?: (number | undefined)[] | null | undefined;
1281
- state?: number[] | null | undefined;
1282
- city?: number[] | null | undefined;
1273
+ geo: {
1274
+ type: "Point";
1275
+ coordinates: number[];
1283
1276
  };
1284
1277
  };
1285
1278
  };
@@ -1297,10 +1290,9 @@ export interface IJobApplicationSchema {
1297
1290
  city?: string | null | undefined;
1298
1291
  country: string;
1299
1292
  countryCode: string;
1300
- latLong: {
1301
- country?: (number | undefined)[] | null | undefined;
1302
- state?: number[] | null | undefined;
1303
- city?: number[] | null | undefined;
1293
+ geo: {
1294
+ type: "Point";
1295
+ coordinates: number[];
1304
1296
  };
1305
1297
  };
1306
1298
  institute: NonNullable<{
@@ -1494,10 +1486,9 @@ export interface ILocationSchema {
1494
1486
  city?: string | null | undefined;
1495
1487
  country: string;
1496
1488
  countryCode: string;
1497
- latLong: {
1498
- country?: (number | undefined)[] | null | undefined;
1499
- state?: number[] | null | undefined;
1500
- city?: number[] | null | undefined;
1489
+ geo: {
1490
+ type: "Point";
1491
+ coordinates: number[];
1501
1492
  };
1502
1493
  }
1503
1494
  export interface IPageSchema {
@@ -1679,10 +1670,9 @@ export interface IResumeGeneralInfoSectionSchema {
1679
1670
  city?: string | null | undefined;
1680
1671
  country: string;
1681
1672
  countryCode: string;
1682
- latLong: {
1683
- country?: (number | undefined)[] | null | undefined;
1684
- state?: number[] | null | undefined;
1685
- city?: number[] | null | undefined;
1673
+ geo: {
1674
+ type: "Point";
1675
+ coordinates: number[];
1686
1676
  };
1687
1677
  };
1688
1678
  }
@@ -1823,10 +1813,9 @@ export interface IResumeSchemaV2 {
1823
1813
  city?: string | null | undefined;
1824
1814
  country: string;
1825
1815
  countryCode: string;
1826
- latLong: {
1827
- country?: (number | undefined)[] | null | undefined;
1828
- state?: number[] | null | undefined;
1829
- city?: number[] | null | undefined;
1816
+ geo: {
1817
+ type: "Point";
1818
+ coordinates: number[];
1830
1819
  };
1831
1820
  };
1832
1821
  }[] | {
@@ -1843,10 +1832,9 @@ export interface IResumeSchemaV2 {
1843
1832
  city?: string | null | undefined;
1844
1833
  country: string;
1845
1834
  countryCode: string;
1846
- latLong: {
1847
- country?: (number | undefined)[] | null | undefined;
1848
- state?: number[] | null | undefined;
1849
- city?: number[] | null | undefined;
1835
+ geo: {
1836
+ type: "Point";
1837
+ coordinates: number[];
1850
1838
  };
1851
1839
  };
1852
1840
  institute: NonNullable<{
@@ -2006,10 +1994,9 @@ export interface IResumeSchemaV2 {
2006
1994
  city?: string | null | undefined;
2007
1995
  country: string;
2008
1996
  countryCode: string;
2009
- latLong: {
2010
- country?: (number | undefined)[] | null | undefined;
2011
- state?: number[] | null | undefined;
2012
- city?: number[] | null | undefined;
1997
+ geo: {
1998
+ type: "Point";
1999
+ coordinates: number[];
2013
2000
  };
2014
2001
  };
2015
2002
  } | null;
@@ -2085,10 +2072,9 @@ export interface INewResumePromptSchema {
2085
2072
  city?: string | null | undefined;
2086
2073
  country: string;
2087
2074
  countryCode: string;
2088
- latLong: {
2089
- country?: (number | undefined)[] | null | undefined;
2090
- state?: number[] | null | undefined;
2091
- city?: number[] | null | undefined;
2075
+ geo: {
2076
+ type: "Point";
2077
+ coordinates: number[];
2092
2078
  };
2093
2079
  };
2094
2080
  workExperiences: {
@@ -2180,10 +2166,9 @@ export interface INewResumePromptSchema {
2180
2166
  city?: string | null | undefined;
2181
2167
  country: string;
2182
2168
  countryCode: string;
2183
- latLong: {
2184
- country?: (number | undefined)[] | null | undefined;
2185
- state?: number[] | null | undefined;
2186
- city?: number[] | null | undefined;
2169
+ geo: {
2170
+ type: "Point";
2171
+ coordinates: number[];
2187
2172
  };
2188
2173
  };
2189
2174
  }[];
@@ -2201,10 +2186,9 @@ export interface INewResumePromptSchema {
2201
2186
  city?: string | null | undefined;
2202
2187
  country: string;
2203
2188
  countryCode: string;
2204
- latLong: {
2205
- country?: (number | undefined)[] | null | undefined;
2206
- state?: number[] | null | undefined;
2207
- city?: number[] | null | undefined;
2189
+ geo: {
2190
+ type: "Point";
2191
+ coordinates: number[];
2208
2192
  };
2209
2193
  };
2210
2194
  institute: NonNullable<{
@@ -2405,10 +2389,9 @@ export interface IUpdateEducationsSchema {
2405
2389
  city?: string | null | undefined;
2406
2390
  country: string;
2407
2391
  countryCode: string;
2408
- latLong: {
2409
- country?: (number | undefined)[] | null | undefined;
2410
- state?: number[] | null | undefined;
2411
- city?: number[] | null | undefined;
2392
+ geo: {
2393
+ type: "Point";
2394
+ coordinates: number[];
2412
2395
  };
2413
2396
  };
2414
2397
  institute: NonNullable<{
@@ -2651,10 +2634,9 @@ export interface IUpdateWorkExperiencesSchema {
2651
2634
  city?: string | null | undefined;
2652
2635
  country: string;
2653
2636
  countryCode: string;
2654
- latLong: {
2655
- country?: (number | undefined)[] | null | undefined;
2656
- state?: number[] | null | undefined;
2657
- city?: number[] | null | undefined;
2637
+ geo: {
2638
+ type: "Point";
2639
+ coordinates: number[];
2658
2640
  };
2659
2641
  };
2660
2642
  }[];
@@ -2762,10 +2744,9 @@ export interface IUserSchema {
2762
2744
  city?: string | null | undefined;
2763
2745
  country: string;
2764
2746
  countryCode: string;
2765
- latLong: {
2766
- country?: (number | undefined)[] | null | undefined;
2767
- state?: number[] | null | undefined;
2768
- city?: number[] | null | undefined;
2747
+ geo: {
2748
+ type: "Point";
2749
+ coordinates: number[];
2769
2750
  };
2770
2751
  };
2771
2752
  workExperiences: {
@@ -2857,10 +2838,9 @@ export interface IUserSchema {
2857
2838
  city?: string | null | undefined;
2858
2839
  country: string;
2859
2840
  countryCode: string;
2860
- latLong: {
2861
- country?: (number | undefined)[] | null | undefined;
2862
- state?: number[] | null | undefined;
2863
- city?: number[] | null | undefined;
2841
+ geo: {
2842
+ type: "Point";
2843
+ coordinates: number[];
2864
2844
  };
2865
2845
  };
2866
2846
  }[];
@@ -2878,10 +2858,9 @@ export interface IUserSchema {
2878
2858
  city?: string | null | undefined;
2879
2859
  country: string;
2880
2860
  countryCode: string;
2881
- latLong: {
2882
- country?: (number | undefined)[] | null | undefined;
2883
- state?: number[] | null | undefined;
2884
- city?: number[] | null | undefined;
2861
+ geo: {
2862
+ type: "Point";
2863
+ coordinates: number[];
2885
2864
  };
2886
2865
  };
2887
2866
  institute: NonNullable<{
@@ -3028,10 +3007,9 @@ export interface IUserProfileOverview {
3028
3007
  city?: string | null | undefined;
3029
3008
  country: string;
3030
3009
  countryCode: string;
3031
- latLong: {
3032
- country?: (number | undefined)[] | null | undefined;
3033
- state?: number[] | null | undefined;
3034
- city?: number[] | null | undefined;
3010
+ geo: {
3011
+ type: "Point";
3012
+ coordinates: number[];
3035
3013
  };
3036
3014
  } | undefined;
3037
3015
  emailVerified?: boolean | undefined;
@@ -3133,10 +3111,9 @@ export interface IUserProfileOverview {
3133
3111
  city?: string | null | undefined;
3134
3112
  country: string;
3135
3113
  countryCode: string;
3136
- latLong: {
3137
- country?: (number | undefined)[] | null | undefined;
3138
- state?: number[] | null | undefined;
3139
- city?: number[] | null | undefined;
3114
+ geo: {
3115
+ type: "Point";
3116
+ coordinates: number[];
3140
3117
  };
3141
3118
  };
3142
3119
  } | undefined;
@@ -3154,10 +3131,9 @@ export interface IUserProfileOverview {
3154
3131
  city?: string | null | undefined;
3155
3132
  country: string;
3156
3133
  countryCode: string;
3157
- latLong: {
3158
- country?: (number | undefined)[] | null | undefined;
3159
- state?: number[] | null | undefined;
3160
- city?: number[] | null | undefined;
3134
+ geo: {
3135
+ type: "Point";
3136
+ coordinates: number[];
3161
3137
  };
3162
3138
  };
3163
3139
  institute: NonNullable<{
@@ -3285,10 +3261,9 @@ export interface IEducationSchema {
3285
3261
  city?: string | null | undefined;
3286
3262
  country: string;
3287
3263
  countryCode: string;
3288
- latLong: {
3289
- country?: (number | undefined)[] | null | undefined;
3290
- state?: number[] | null | undefined;
3291
- city?: number[] | null | undefined;
3264
+ geo: {
3265
+ type: "Point";
3266
+ coordinates: number[];
3292
3267
  };
3293
3268
  };
3294
3269
  institute: NonNullable<{
@@ -3404,10 +3379,9 @@ export interface IUserGeneralDetailSchema {
3404
3379
  city?: string | null | undefined;
3405
3380
  country: string;
3406
3381
  countryCode: string;
3407
- latLong: {
3408
- country?: (number | undefined)[] | null | undefined;
3409
- state?: number[] | null | undefined;
3410
- city?: number[] | null | undefined;
3382
+ geo: {
3383
+ type: "Point";
3384
+ coordinates: number[];
3411
3385
  };
3412
3386
  };
3413
3387
  }
@@ -3555,10 +3529,9 @@ export interface IWorkExperienceSchema {
3555
3529
  city?: string | null | undefined;
3556
3530
  country: string;
3557
3531
  countryCode: string;
3558
- latLong: {
3559
- country?: (number | undefined)[] | null | undefined;
3560
- state?: number[] | null | undefined;
3561
- city?: number[] | null | undefined;
3532
+ geo: {
3533
+ type: "Point";
3534
+ coordinates: number[];
3562
3535
  };
3563
3536
  };
3564
3537
  }