@thejob/schema 1.0.56 → 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 (65) hide show
  1. package/dist/cjs/index.d.ts +0 -1
  2. package/dist/cjs/index.d.ts.map +1 -1
  3. package/dist/cjs/index.js +0 -1
  4. package/dist/cjs/interfaces.index.d.ts +81 -148
  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 +10 -27
  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/index.d.ts +0 -1
  28. package/dist/esm/index.d.ts.map +1 -1
  29. package/dist/esm/index.js +0 -1
  30. package/dist/esm/interfaces.index.d.ts +81 -148
  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 +10 -27
  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
  54. package/dist/cjs/job-group/index.d.ts +0 -2
  55. package/dist/cjs/job-group/index.d.ts.map +0 -1
  56. package/dist/cjs/job-group/index.js +0 -17
  57. package/dist/cjs/job-group/job-group.schema.d.ts +0 -103
  58. package/dist/cjs/job-group/job-group.schema.d.ts.map +0 -1
  59. package/dist/cjs/job-group/job-group.schema.js +0 -45
  60. package/dist/esm/job-group/index.d.ts +0 -2
  61. package/dist/esm/job-group/index.d.ts.map +0 -1
  62. package/dist/esm/job-group/index.js +0 -1
  63. package/dist/esm/job-group/job-group.schema.d.ts +0 -103
  64. package/dist/esm/job-group/job-group.schema.d.ts.map +0 -1
  65. package/dist/esm/job-group/job-group.schema.js +0 -42
@@ -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":"A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"}
@@ -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.56",
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",
@@ -1,2 +0,0 @@
1
- export * from "./job-group.schema";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/job-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./job-group.schema"), exports);
@@ -1,103 +0,0 @@
1
- import { InferType } from "../yup-extended";
2
- export declare const JobGroupFilterSchema: import("yup").ObjectSchema<{
3
- category: string | undefined;
4
- industry: string | undefined;
5
- subCategories: (string | undefined)[] | undefined;
6
- employmentType: string | undefined;
7
- workMode: string | undefined;
8
- experienceLevel: string | undefined;
9
- educationLevel: (string | undefined)[] | undefined;
10
- skills: (string | undefined)[] | undefined;
11
- locations: (string | undefined)[] | undefined;
12
- tags: (string | undefined)[] | undefined;
13
- } | undefined, import("yup").AnyObject, {
14
- category: undefined;
15
- industry: undefined;
16
- subCategories: "";
17
- employmentType: undefined;
18
- workMode: undefined;
19
- experienceLevel: undefined;
20
- educationLevel: "";
21
- skills: "";
22
- locations: "";
23
- tags: "";
24
- }, "">;
25
- export declare const JobGroupSEOSchema: import("yup").ObjectSchema<{
26
- title: string;
27
- description: string;
28
- keywords: (string | undefined)[] | undefined;
29
- }, import("yup").AnyObject, {
30
- title: undefined;
31
- description: undefined;
32
- keywords: "";
33
- }, "">;
34
- export declare const JobGroupSchema: import("yup").ObjectSchema<{
35
- slug: string;
36
- name: string;
37
- description: string;
38
- icon: string | undefined;
39
- filters: {
40
- skills?: (string | undefined)[] | undefined;
41
- locations?: (string | undefined)[] | undefined;
42
- educationLevel?: (string | undefined)[] | undefined;
43
- experienceLevel?: string | undefined;
44
- category?: string | undefined;
45
- tags?: (string | undefined)[] | undefined;
46
- employmentType?: string | undefined;
47
- workMode?: string | undefined;
48
- industry?: string | undefined;
49
- subCategories?: (string | undefined)[] | undefined;
50
- };
51
- seo: {
52
- keywords?: (string | undefined)[] | undefined;
53
- description: string;
54
- title: string;
55
- };
56
- isActive: boolean;
57
- order: number;
58
- isFeatured: boolean;
59
- bannerImage: string | undefined;
60
- } & {
61
- id: string;
62
- shortId: string;
63
- createdBy: string;
64
- createdAt: number;
65
- updatedBy: string | undefined;
66
- updatedAt: number | undefined;
67
- }, import("yup").AnyObject, {
68
- slug: undefined;
69
- name: undefined;
70
- description: undefined;
71
- icon: undefined;
72
- filters: {
73
- category: undefined;
74
- industry: undefined;
75
- subCategories: "";
76
- employmentType: undefined;
77
- workMode: undefined;
78
- experienceLevel: undefined;
79
- educationLevel: "";
80
- skills: "";
81
- locations: "";
82
- tags: "";
83
- };
84
- seo: {
85
- title: undefined;
86
- description: undefined;
87
- keywords: "";
88
- };
89
- isActive: true;
90
- order: 0;
91
- isFeatured: false;
92
- bannerImage: undefined;
93
- id: undefined;
94
- shortId: undefined;
95
- createdBy: undefined;
96
- createdAt: undefined;
97
- updatedBy: undefined;
98
- updatedAt: undefined;
99
- }, "">;
100
- export type TJobGroupSchema = InferType<typeof JobGroupSchema>;
101
- export type TJobGroupFilterSchema = InferType<typeof JobGroupFilterSchema>;
102
- export type TJobGroupSEOSchema = InferType<typeof JobGroupSEOSchema>;
103
- //# sourceMappingURL=job-group.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"job-group.schema.d.ts","sourceRoot":"","sources":["../../../src/job-group/job-group.schema.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EAMV,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;MAcL,CAAC;AAE7B,eAAO,MAAM,iBAAiB;;;;;;;;MAOL,CAAC;AAE1B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgBN,CAAC;AAEtB,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,OAAO,cAAc,CAAC,CAAC;AAC/D,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC3E,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JobGroupSchema = exports.JobGroupSEOSchema = exports.JobGroupFilterSchema = void 0;
4
- const common_1 = require("../common");
5
- const yup_extended_1 = require("../yup-extended");
6
- exports.JobGroupFilterSchema = (0, yup_extended_1.object)()
7
- .shape({
8
- category: (0, yup_extended_1.string)().optional().label("Category"),
9
- industry: (0, yup_extended_1.string)().optional().label("Industry"),
10
- subCategories: (0, yup_extended_1.array)().of((0, yup_extended_1.string)()).optional().label("Sub Categories"),
11
- employmentType: (0, yup_extended_1.string)().optional().label("Employment Type"),
12
- workMode: (0, yup_extended_1.string)().optional().label("Work Mode"),
13
- experienceLevel: (0, yup_extended_1.string)().optional().label("Experience Level"),
14
- educationLevel: (0, yup_extended_1.array)().of((0, yup_extended_1.string)()).optional().label("Education Level"),
15
- skills: (0, yup_extended_1.array)().of((0, yup_extended_1.string)()).optional().label("Skills"),
16
- locations: (0, yup_extended_1.array)().of((0, yup_extended_1.string)()).optional().label("Locations"),
17
- tags: (0, yup_extended_1.array)().of((0, yup_extended_1.string)()).optional().label("Tags"),
18
- })
19
- .optional()
20
- .label("Job Group Filter");
21
- exports.JobGroupSEOSchema = (0, yup_extended_1.object)()
22
- .shape({
23
- title: (0, yup_extended_1.string)().required().max(100).label("SEO Title"),
24
- description: (0, yup_extended_1.string)().required().max(200).label("SEO Description"),
25
- keywords: (0, yup_extended_1.array)().of((0, yup_extended_1.string)()).optional().label("SEO Keywords"),
26
- })
27
- .required()
28
- .label("Job Group SEO");
29
- exports.JobGroupSchema = (0, yup_extended_1.object)()
30
- .shape({
31
- slug: (0, yup_extended_1.string)().trim().required().max(100).label("Slug"),
32
- name: (0, yup_extended_1.string)().trim().required().max(100).label("Name"),
33
- description: (0, yup_extended_1.string)().trim().required().max(500).label("Description"),
34
- icon: (0, yup_extended_1.string)().optional().label("Icon"),
35
- filters: exports.JobGroupFilterSchema.required().label("Filters"),
36
- seo: exports.JobGroupSEOSchema.required().label("SEO"),
37
- isActive: (0, yup_extended_1.boolean)().optional().default(true).label("Is Active"),
38
- order: (0, yup_extended_1.number)().optional().default(0).label("Order"),
39
- isFeatured: (0, yup_extended_1.boolean)().optional().default(false).label("Is Featured"),
40
- bannerImage: (0, yup_extended_1.string)().optional().label("Banner Image"),
41
- })
42
- .concat(common_1.DbDefaultSchema)
43
- .noUnknown()
44
- .strict()
45
- .label("Job Group");
@@ -1,2 +0,0 @@
1
- export * from "./job-group.schema";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/job-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- export * from "./job-group.schema";
@@ -1,103 +0,0 @@
1
- import { InferType } from "../yup-extended";
2
- export declare const JobGroupFilterSchema: import("yup").ObjectSchema<{
3
- category: string | undefined;
4
- industry: string | undefined;
5
- subCategories: (string | undefined)[] | undefined;
6
- employmentType: string | undefined;
7
- workMode: string | undefined;
8
- experienceLevel: string | undefined;
9
- educationLevel: (string | undefined)[] | undefined;
10
- skills: (string | undefined)[] | undefined;
11
- locations: (string | undefined)[] | undefined;
12
- tags: (string | undefined)[] | undefined;
13
- } | undefined, import("yup").AnyObject, {
14
- category: undefined;
15
- industry: undefined;
16
- subCategories: "";
17
- employmentType: undefined;
18
- workMode: undefined;
19
- experienceLevel: undefined;
20
- educationLevel: "";
21
- skills: "";
22
- locations: "";
23
- tags: "";
24
- }, "">;
25
- export declare const JobGroupSEOSchema: import("yup").ObjectSchema<{
26
- title: string;
27
- description: string;
28
- keywords: (string | undefined)[] | undefined;
29
- }, import("yup").AnyObject, {
30
- title: undefined;
31
- description: undefined;
32
- keywords: "";
33
- }, "">;
34
- export declare const JobGroupSchema: import("yup").ObjectSchema<{
35
- slug: string;
36
- name: string;
37
- description: string;
38
- icon: string | undefined;
39
- filters: {
40
- skills?: (string | undefined)[] | undefined;
41
- locations?: (string | undefined)[] | undefined;
42
- educationLevel?: (string | undefined)[] | undefined;
43
- experienceLevel?: string | undefined;
44
- category?: string | undefined;
45
- tags?: (string | undefined)[] | undefined;
46
- employmentType?: string | undefined;
47
- workMode?: string | undefined;
48
- industry?: string | undefined;
49
- subCategories?: (string | undefined)[] | undefined;
50
- };
51
- seo: {
52
- keywords?: (string | undefined)[] | undefined;
53
- description: string;
54
- title: string;
55
- };
56
- isActive: boolean;
57
- order: number;
58
- isFeatured: boolean;
59
- bannerImage: string | undefined;
60
- } & {
61
- id: string;
62
- shortId: string;
63
- createdBy: string;
64
- createdAt: number;
65
- updatedBy: string | undefined;
66
- updatedAt: number | undefined;
67
- }, import("yup").AnyObject, {
68
- slug: undefined;
69
- name: undefined;
70
- description: undefined;
71
- icon: undefined;
72
- filters: {
73
- category: undefined;
74
- industry: undefined;
75
- subCategories: "";
76
- employmentType: undefined;
77
- workMode: undefined;
78
- experienceLevel: undefined;
79
- educationLevel: "";
80
- skills: "";
81
- locations: "";
82
- tags: "";
83
- };
84
- seo: {
85
- title: undefined;
86
- description: undefined;
87
- keywords: "";
88
- };
89
- isActive: true;
90
- order: 0;
91
- isFeatured: false;
92
- bannerImage: undefined;
93
- id: undefined;
94
- shortId: undefined;
95
- createdBy: undefined;
96
- createdAt: undefined;
97
- updatedBy: undefined;
98
- updatedAt: undefined;
99
- }, "">;
100
- export type TJobGroupSchema = InferType<typeof JobGroupSchema>;
101
- export type TJobGroupFilterSchema = InferType<typeof JobGroupFilterSchema>;
102
- export type TJobGroupSEOSchema = InferType<typeof JobGroupSEOSchema>;
103
- //# sourceMappingURL=job-group.schema.d.ts.map