@thejob/schema 1.0.57 → 1.0.58

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 (47) hide show
  1. package/dist/cjs/interfaces.index.d.ts +81 -108
  2. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  3. package/dist/cjs/job/job.schema.d.ts +3 -4
  4. package/dist/cjs/job/job.schema.d.ts.map +1 -1
  5. package/dist/cjs/job-application/job-application.schema.d.ts +9 -12
  6. package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
  7. package/dist/cjs/location/location.schema.d.ts +6 -8
  8. package/dist/cjs/location/location.schema.d.ts.map +1 -1
  9. package/dist/cjs/location/location.schema.js +10 -27
  10. package/dist/cjs/resume/resume.schema.d.ts +21 -28
  11. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  12. package/dist/cjs/user/education/education.schema.d.ts +3 -4
  13. package/dist/cjs/user/education/education.schema.d.ts.map +1 -1
  14. package/dist/cjs/user/general-detail/general-detail.schema.d.ts +3 -4
  15. package/dist/cjs/user/general-detail/general-detail.schema.d.ts.map +1 -1
  16. package/dist/cjs/user/update-education.schema.d.ts +3 -4
  17. package/dist/cjs/user/update-education.schema.d.ts.map +1 -1
  18. package/dist/cjs/user/update-work-experience.schema.d.ts +3 -4
  19. package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
  20. package/dist/cjs/user/user.schema.d.ts +9 -12
  21. package/dist/cjs/user/user.schema.d.ts.map +1 -1
  22. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +3 -4
  23. package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
  24. package/dist/esm/interfaces.index.d.ts +81 -108
  25. package/dist/esm/interfaces.index.d.ts.map +1 -1
  26. package/dist/esm/job/job.schema.d.ts +3 -4
  27. package/dist/esm/job/job.schema.d.ts.map +1 -1
  28. package/dist/esm/job-application/job-application.schema.d.ts +9 -12
  29. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  30. package/dist/esm/location/location.schema.d.ts +6 -8
  31. package/dist/esm/location/location.schema.d.ts.map +1 -1
  32. package/dist/esm/location/location.schema.js +10 -27
  33. package/dist/esm/resume/resume.schema.d.ts +21 -28
  34. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  35. package/dist/esm/user/education/education.schema.d.ts +3 -4
  36. package/dist/esm/user/education/education.schema.d.ts.map +1 -1
  37. package/dist/esm/user/general-detail/general-detail.schema.d.ts +3 -4
  38. package/dist/esm/user/general-detail/general-detail.schema.d.ts.map +1 -1
  39. package/dist/esm/user/update-education.schema.d.ts +3 -4
  40. package/dist/esm/user/update-education.schema.d.ts.map +1 -1
  41. package/dist/esm/user/update-work-experience.schema.d.ts +3 -4
  42. package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
  43. package/dist/esm/user/user.schema.d.ts +9 -12
  44. package/dist/esm/user/user.schema.d.ts.map +1 -1
  45. package/dist/esm/user/work-experience/work-experience.schema.d.ts +3 -4
  46. package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
  47. package/package.json +1 -1
@@ -6,10 +6,9 @@ export declare const LocationSchema: import("yup").ObjectSchema<{
6
6
  stateCode: string | null | undefined;
7
7
  city: string | null | undefined;
8
8
  address: string | null | undefined;
9
- latLong: {
10
- country?: (number | undefined)[] | null | undefined;
11
- state?: number[] | null | undefined;
12
- city?: number[] | null | undefined;
9
+ geo: {
10
+ type: "Point";
11
+ coordinates: number[];
13
12
  };
14
13
  }, import("yup").AnyObject, {
15
14
  country: undefined;
@@ -18,10 +17,9 @@ export declare const LocationSchema: import("yup").ObjectSchema<{
18
17
  stateCode: undefined;
19
18
  city: undefined;
20
19
  address: undefined;
21
- latLong: {
22
- city: "";
23
- state: "";
24
- country: "";
20
+ geo: {
21
+ type: "Point";
22
+ coordinates: "";
25
23
  };
26
24
  }, "">;
27
25
  export type TLocationSchema = InferType<typeof LocationSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"location.schema.d.ts","sourceRoot":"","sources":["../../../src/location/location.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,SAAS,EAA0B,MAAM,iBAAiB,CAAC;AAE3E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;MA8BzB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"location.schema.d.ts","sourceRoot":"","sources":["../../../src/location/location.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,SAAS,EAA0B,MAAM,iBAAiB,CAAC;AAE3E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;MAazB,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -1,32 +1,15 @@
1
1
  import { array, number, object, string } from "../yup-extended";
2
2
  export const LocationSchema = object().shape({
3
- country: string().required().label("Country"),
4
- countryCode: string().required().label("Country code"),
5
- state: string().optional().nullable().label("State"),
6
- stateCode: string().optional().nullable().label("State code"),
7
- city: string().optional().nullable().label("City"),
8
- address: string().optional().nullable().label("Address"),
9
- latLong: object()
3
+ country: string().required(),
4
+ countryCode: string().required(),
5
+ state: string().optional().nullable(),
6
+ stateCode: string().optional().nullable(),
7
+ city: string().optional().nullable(),
8
+ address: string().optional().nullable(),
9
+ geo: object()
10
10
  .shape({
11
- city: array()
12
- .of(number().required())
13
- .length(2)
14
- .nullable()
15
- .optional()
16
- .label("City long lat"),
17
- state: array()
18
- .of(number().required())
19
- .length(2)
20
- .nullable()
21
- .optional()
22
- .label("State long lat"),
23
- country: array()
24
- .of(number())
25
- .length(2)
26
- .nullable()
27
- .optional()
28
- .label("Country long lat"),
11
+ type: string().oneOf(["Point"]).default("Point"),
12
+ coordinates: array().of(number().required()).length(2).required(), // [longitude, latitude]
29
13
  })
30
- .required()
31
- .label("Long lats"),
14
+ .required(),
32
15
  });
@@ -29,10 +29,9 @@ declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
29
29
  address?: string | null | undefined;
30
30
  country: string;
31
31
  countryCode: string;
32
- latLong: {
33
- country?: (number | undefined)[] | null | undefined;
34
- state?: number[] | null | undefined;
35
- city?: number[] | null | undefined;
32
+ geo: {
33
+ type: "Point";
34
+ coordinates: number[];
36
35
  };
37
36
  };
38
37
  }, import("yup").AnyObject, {
@@ -112,10 +111,9 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
112
111
  address?: string | null | undefined;
113
112
  country: string;
114
113
  countryCode: string;
115
- latLong: {
116
- country?: (number | undefined)[] | null | undefined;
117
- state?: number[] | null | undefined;
118
- city?: number[] | null | undefined;
114
+ geo: {
115
+ type: "Point";
116
+ coordinates: number[];
119
117
  };
120
118
  };
121
119
  mobile: {
@@ -207,10 +205,9 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
207
205
  address?: string | null | undefined;
208
206
  country: string;
209
207
  countryCode: string;
210
- latLong: {
211
- country?: (number | undefined)[] | null | undefined;
212
- state?: number[] | null | undefined;
213
- city?: number[] | null | undefined;
208
+ geo: {
209
+ type: "Point";
210
+ coordinates: number[];
214
211
  };
215
212
  };
216
213
  designation: NonNullable<{
@@ -320,10 +317,9 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
320
317
  address?: string | null | undefined;
321
318
  country: string;
322
319
  countryCode: string;
323
- latLong: {
324
- country?: (number | undefined)[] | null | undefined;
325
- state?: number[] | null | undefined;
326
- city?: number[] | null | undefined;
320
+ geo: {
321
+ type: "Point";
322
+ coordinates: number[];
327
323
  };
328
324
  };
329
325
  }[] | {
@@ -567,10 +563,9 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
567
563
  address?: string | null | undefined;
568
564
  country: string;
569
565
  countryCode: string;
570
- latLong: {
571
- country?: (number | undefined)[] | null | undefined;
572
- state?: number[] | null | undefined;
573
- city?: number[] | null | undefined;
566
+ geo: {
567
+ type: "Point";
568
+ coordinates: number[];
574
569
  };
575
570
  };
576
571
  designation: NonNullable<{
@@ -681,10 +676,9 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
681
676
  address?: string | null | undefined;
682
677
  country: string;
683
678
  countryCode: string;
684
- latLong: {
685
- country?: (number | undefined)[] | null | undefined;
686
- state?: number[] | null | undefined;
687
- city?: number[] | null | undefined;
679
+ geo: {
680
+ type: "Point";
681
+ coordinates: number[];
688
682
  };
689
683
  };
690
684
  }[];
@@ -746,10 +740,9 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
746
740
  address?: string | null | undefined;
747
741
  country: string;
748
742
  countryCode: string;
749
- latLong: {
750
- country?: (number | undefined)[] | null | undefined;
751
- state?: number[] | null | undefined;
752
- city?: number[] | null | undefined;
743
+ geo: {
744
+ type: "Point";
745
+ coordinates: number[];
753
746
  };
754
747
  };
755
748
  mobile: {
@@ -1 +1 @@
1
- {"version":3,"file":"resume.schema.d.ts","sourceRoot":"","sources":["../../../src/resume/resume.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAuC,MAAM,SAAS,CAAC;AAC3E,OAAO,EAEL,WAAW,EAEX,SAAS,EAMV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EAIb,MAAM,mBAAmB,CAAC;AAO3B,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA0B,CAAC;AAE/D,MAAM,MAAM,+BAA+B,GAAG,SAAS,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAOF,QAAA,MAAM,iCAAiC,EACrC,WAAW,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE,MAAM,CACf,CAAC;AAEtC,MAAM,MAAM,kCAAkC,GAAG,SAAS,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAOF,QAAA,MAAM,4BAA4B,EAChC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,E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AAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuBb,CAAC;AAEvC,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC"}
@@ -96,10 +96,9 @@ export declare const EducationSchema: ObjectSchema<{
96
96
  address?: string | null | undefined;
97
97
  country: string;
98
98
  countryCode: string;
99
- latLong: {
100
- country?: (number | undefined)[] | null | undefined;
101
- state?: number[] | null | undefined;
102
- city?: number[] | null | undefined;
99
+ geo: {
100
+ type: "Point";
101
+ coordinates: number[];
103
102
  };
104
103
  };
105
104
  studyType: NonNullable<import("../../common").StudyType | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"education.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/education/education.schema.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,SAAS,EAGT,YAAY,EAEb,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyCP,CAAC;AAEtB,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,OAAO,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"education.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/education/education.schema.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,SAAS,EAGT,YAAY,EAEb,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyCP,CAAC;AAEtB,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -27,10 +27,9 @@ export declare const UserGeneralDetailSchema: ObjectSchema<{
27
27
  address?: string | null | undefined;
28
28
  country: string;
29
29
  countryCode: string;
30
- latLong: {
31
- country?: (number | undefined)[] | null | undefined;
32
- state?: number[] | null | undefined;
33
- city?: number[] | null | undefined;
30
+ geo: {
31
+ type: "Point";
32
+ coordinates: number[];
34
33
  };
35
34
  };
36
35
  }, import("yup").AnyObject, {
@@ -1 +1 @@
1
- {"version":3,"file":"general-detail.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/general-detail/general-detail.schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAU,YAAY,EAAU,MAAM,oBAAoB,CAAC;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BV,CAAC;AAE3B,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,OAAO,uBAAuB,CAC/B,CAAC"}
1
+ {"version":3,"file":"general-detail.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/general-detail/general-detail.schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAU,YAAY,EAAU,MAAM,oBAAoB,CAAC;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BV,CAAC;AAE3B,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,OAAO,uBAAuB,CAC/B,CAAC"}
@@ -101,10 +101,9 @@ export declare const UpdateEducationsSchema: import("yup").ObjectSchema<{
101
101
  address?: string | null | undefined;
102
102
  country: string;
103
103
  countryCode: string;
104
- latLong: {
105
- country?: (number | undefined)[] | null | undefined;
106
- state?: number[] | null | undefined;
107
- city?: number[] | null | undefined;
104
+ geo: {
105
+ type: "Point";
106
+ coordinates: number[];
108
107
  };
109
108
  };
110
109
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"update-education.schema.d.ts","sourceRoot":"","sources":["../../../src/user/update-education.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAU,MAAM,iBAAiB,CAAC;AAGjE;;GAEG;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASM,CAAC;AAE1C,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"update-education.schema.d.ts","sourceRoot":"","sources":["../../../src/user/update-education.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAU,MAAM,iBAAiB,CAAC;AAGjE;;GAEG;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASM,CAAC;AAE1C,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -80,10 +80,9 @@ export declare const UpdateWorkExperiencesSchema: import("yup").ObjectSchema<{
80
80
  address?: string | null | undefined;
81
81
  country: string;
82
82
  countryCode: string;
83
- latLong: {
84
- country?: (number | undefined)[] | null | undefined;
85
- state?: number[] | null | undefined;
86
- city?: number[] | null | undefined;
83
+ geo: {
84
+ type: "Point";
85
+ coordinates: number[];
87
86
  };
88
87
  };
89
88
  designation: NonNullable<{
@@ -1 +1 @@
1
- {"version":3,"file":"update-work-experience.schema.d.ts","sourceRoot":"","sources":["../../../src/user/update-work-experience.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAU,MAAM,iBAAiB,CAAC;AAGjE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASO,CAAC;AAEhD,MAAM,MAAM,4BAA4B,GAAG,SAAS,CAClD,OAAO,2BAA2B,CACnC,CAAC"}
1
+ {"version":3,"file":"update-work-experience.schema.d.ts","sourceRoot":"","sources":["../../../src/user/update-work-experience.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAU,MAAM,iBAAiB,CAAC;AAGjE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MASO,CAAC;AAEhD,MAAM,MAAM,4BAA4B,GAAG,SAAS,CAClD,OAAO,2BAA2B,CACnC,CAAC"}
@@ -85,10 +85,9 @@ export declare const UserSchema: import("yup").ObjectSchema<{
85
85
  address?: string | null | undefined;
86
86
  country: string;
87
87
  countryCode: string;
88
- latLong: {
89
- country?: (number | undefined)[] | null | undefined;
90
- state?: number[] | null | undefined;
91
- city?: number[] | null | undefined;
88
+ geo: {
89
+ type: "Point";
90
+ coordinates: number[];
92
91
  };
93
92
  };
94
93
  designation: NonNullable<{
@@ -199,10 +198,9 @@ export declare const UserSchema: import("yup").ObjectSchema<{
199
198
  address?: string | null | undefined;
200
199
  country: string;
201
200
  countryCode: string;
202
- latLong: {
203
- country?: (number | undefined)[] | null | undefined;
204
- state?: number[] | null | undefined;
205
- city?: number[] | null | undefined;
201
+ geo: {
202
+ type: "Point";
203
+ coordinates: number[];
206
204
  };
207
205
  };
208
206
  }[];
@@ -291,10 +289,9 @@ export declare const UserSchema: import("yup").ObjectSchema<{
291
289
  address?: string | null | undefined;
292
290
  country: string;
293
291
  countryCode: string;
294
- latLong: {
295
- country?: (number | undefined)[] | null | undefined;
296
- state?: number[] | null | undefined;
297
- city?: number[] | null | undefined;
292
+ geo: {
293
+ type: "Point";
294
+ coordinates: number[];
298
295
  };
299
296
  };
300
297
  }, import("yup").AnyObject, {
@@ -1 +1 @@
1
- {"version":3,"file":"user.schema.d.ts","sourceRoot":"","sources":["../../../src/user/user.schema.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAyB,MAAM,iBAAiB,CAAC;AAWnE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyFA,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"user.schema.d.ts","sourceRoot":"","sources":["../../../src/user/user.schema.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAyB,MAAM,iBAAiB,CAAC;AAWnE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyFA,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -87,10 +87,9 @@ export declare const WorkExperienceSchema: ObjectSchema<{
87
87
  address?: string | null | undefined;
88
88
  country: string;
89
89
  countryCode: string;
90
- latLong: {
91
- country?: (number | undefined)[] | null | undefined;
92
- state?: number[] | null | undefined;
93
- city?: number[] | null | undefined;
90
+ geo: {
91
+ type: "Point";
92
+ coordinates: number[];
94
93
  };
95
94
  };
96
95
  isRemote: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"work-experience.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/work-experience/work-experience.schema.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,SAAS,EAGT,YAAY,EAEb,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BN,CAAC;AAE5B,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"work-experience.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/work-experience/work-experience.schema.ts"],"names":[],"mappings":"AASA,OAAO,EAEL,SAAS,EAGT,YAAY,EAEb,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BN,CAAC;AAE5B,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thejob/schema",
3
- "version": "1.0.57",
3
+ "version": "1.0.58",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",