@thejob/schema 1.0.42 → 1.0.43
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.
- package/dist/cjs/common/constants.d.ts +1 -0
- package/dist/cjs/common/constants.d.ts.map +1 -1
- package/dist/cjs/common/constants.js +2 -1
- package/dist/cjs/interfaces.index.d.ts +217 -217
- package/dist/cjs/interfaces.index.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.d.ts +18 -12
- package/dist/cjs/job/job.schema.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.js +3 -3
- package/dist/cjs/job-application/job-application.schema.d.ts +21 -21
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts +9 -3
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts.map +1 -1
- package/dist/cjs/location/location.schema.d.ts +7 -7
- package/dist/cjs/location/location.schema.d.ts.map +1 -1
- package/dist/cjs/location/location.schema.js +7 -4
- package/dist/cjs/resume/resume.schema.d.ts +49 -49
- package/dist/cjs/user/education/education.schema.d.ts +7 -7
- package/dist/cjs/user/general-detail/general-detail.schema.d.ts +7 -7
- package/dist/cjs/user/update-education.schema.d.ts +7 -7
- package/dist/cjs/user/update-work-experience.schema.d.ts +7 -7
- package/dist/cjs/user/user.schema.d.ts +21 -21
- package/dist/cjs/user/work-experience/work-experience.schema.d.ts +7 -7
- package/dist/esm/common/constants.d.ts +1 -0
- package/dist/esm/common/constants.d.ts.map +1 -1
- package/dist/esm/common/constants.js +1 -0
- package/dist/esm/interfaces.index.d.ts +217 -217
- package/dist/esm/interfaces.index.d.ts.map +1 -1
- package/dist/esm/job/job.schema.d.ts +18 -12
- package/dist/esm/job/job.schema.d.ts.map +1 -1
- package/dist/esm/job/job.schema.js +3 -3
- package/dist/esm/job-application/job-application.schema.d.ts +21 -21
- package/dist/esm/job-role-template/job-role-template.schema.d.ts +9 -3
- package/dist/esm/job-role-template/job-role-template.schema.d.ts.map +1 -1
- package/dist/esm/location/location.schema.d.ts +7 -7
- package/dist/esm/location/location.schema.d.ts.map +1 -1
- package/dist/esm/location/location.schema.js +7 -4
- package/dist/esm/resume/resume.schema.d.ts +49 -49
- package/dist/esm/user/education/education.schema.d.ts +7 -7
- package/dist/esm/user/general-detail/general-detail.schema.d.ts +7 -7
- package/dist/esm/user/update-education.schema.d.ts +7 -7
- package/dist/esm/user/update-work-experience.schema.d.ts +7 -7
- package/dist/esm/user/user.schema.d.ts +21 -21
- package/dist/esm/user/work-experience/work-experience.schema.d.ts +7 -7
- package/package.json +1 -1
|
@@ -68,7 +68,7 @@ export const JobSchema = object({
|
|
|
68
68
|
*/
|
|
69
69
|
designation: mixed()
|
|
70
70
|
.oneOfSchema([NameIdLogoSchema, OtherValueSchema])
|
|
71
|
-
.
|
|
71
|
+
.optional()
|
|
72
72
|
.label("Designation"),
|
|
73
73
|
/*
|
|
74
74
|
* Employment type defines the type of employment for the job post.
|
|
@@ -159,7 +159,7 @@ export const JobSchema = object({
|
|
|
159
159
|
* For example, you can use libraries like `marked`, `markdown-it`, or `showdown` to convert Markdown to HTML.
|
|
160
160
|
* Ensure that the HTML is sanitized to prevent XSS attacks and other security vulnerabilities.
|
|
161
161
|
*/
|
|
162
|
-
descriptionHTML: string().
|
|
162
|
+
descriptionHTML: string().optional().label("Description HTML"),
|
|
163
163
|
/*
|
|
164
164
|
* Location section
|
|
165
165
|
* This section is required and can be used to specify the location of the job.
|
|
@@ -342,7 +342,7 @@ export const JobSchema = object({
|
|
|
342
342
|
.label("Compensation Type"),
|
|
343
343
|
isNegotiable: boolean().optional().default(false).label("Is Negotiable"),
|
|
344
344
|
})
|
|
345
|
-
.
|
|
345
|
+
.nullable()
|
|
346
346
|
.optional()
|
|
347
347
|
.label("Salary Range"),
|
|
348
348
|
/*
|
|
@@ -22,16 +22,16 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
22
22
|
score: number | undefined;
|
|
23
23
|
experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
|
|
24
24
|
location: {
|
|
25
|
-
state?: string | undefined;
|
|
26
|
-
stateCode?: string | undefined;
|
|
25
|
+
state?: string | null | undefined;
|
|
26
|
+
stateCode?: string | null | undefined;
|
|
27
|
+
city?: string | null | undefined;
|
|
28
|
+
address?: string | null | undefined;
|
|
27
29
|
country: string;
|
|
28
30
|
countryCode: string;
|
|
29
|
-
city: string;
|
|
30
|
-
address: string;
|
|
31
31
|
latLong: {
|
|
32
|
-
country?: (number | undefined)[] | undefined;
|
|
33
|
-
state?: number[] | undefined;
|
|
34
|
-
city?: number[] | undefined;
|
|
32
|
+
country?: (number | undefined)[] | null | undefined;
|
|
33
|
+
state?: number[] | null | undefined;
|
|
34
|
+
city?: number[] | null | undefined;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
recentWork: {
|
|
@@ -108,16 +108,16 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
108
108
|
isActive: boolean;
|
|
109
109
|
};
|
|
110
110
|
location: {
|
|
111
|
-
state?: string | undefined;
|
|
112
|
-
stateCode?: string | undefined;
|
|
111
|
+
state?: string | null | undefined;
|
|
112
|
+
stateCode?: string | null | undefined;
|
|
113
|
+
city?: string | null | undefined;
|
|
114
|
+
address?: string | null | undefined;
|
|
113
115
|
country: string;
|
|
114
116
|
countryCode: string;
|
|
115
|
-
city: string;
|
|
116
|
-
address: string;
|
|
117
117
|
latLong: {
|
|
118
|
-
country?: (number | undefined)[] | undefined;
|
|
119
|
-
state?: number[] | undefined;
|
|
120
|
-
city?: number[] | undefined;
|
|
118
|
+
country?: (number | undefined)[] | null | undefined;
|
|
119
|
+
state?: number[] | null | undefined;
|
|
120
|
+
city?: number[] | null | undefined;
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
123
|
designation: NonNullable<{
|
|
@@ -222,16 +222,16 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
222
222
|
isActive: boolean;
|
|
223
223
|
};
|
|
224
224
|
location: {
|
|
225
|
-
state?: string | undefined;
|
|
226
|
-
stateCode?: string | undefined;
|
|
225
|
+
state?: string | null | undefined;
|
|
226
|
+
stateCode?: string | null | undefined;
|
|
227
|
+
city?: string | null | undefined;
|
|
228
|
+
address?: string | null | undefined;
|
|
227
229
|
country: string;
|
|
228
230
|
countryCode: string;
|
|
229
|
-
city: string;
|
|
230
|
-
address: string;
|
|
231
231
|
latLong: {
|
|
232
|
-
country?: (number | undefined)[] | undefined;
|
|
233
|
-
state?: number[] | undefined;
|
|
234
|
-
city?: number[] | undefined;
|
|
232
|
+
country?: (number | undefined)[] | null | undefined;
|
|
233
|
+
state?: number[] | null | undefined;
|
|
234
|
+
city?: number[] | null | undefined;
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
237
|
};
|
|
@@ -11,14 +11,14 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
11
11
|
educationLevel: (import("..").EducationLevel | undefined)[];
|
|
12
12
|
description: string;
|
|
13
13
|
headline: string;
|
|
14
|
-
designation:
|
|
14
|
+
designation: {
|
|
15
15
|
logo?: string | undefined;
|
|
16
16
|
name: string;
|
|
17
17
|
id: string;
|
|
18
18
|
} | {
|
|
19
19
|
value: "others" | (string | undefined)[];
|
|
20
20
|
otherValue: string | string[];
|
|
21
|
-
} | undefined
|
|
21
|
+
} | undefined;
|
|
22
22
|
tags: any[] | undefined;
|
|
23
23
|
questionnaire: ({
|
|
24
24
|
label?: string | undefined;
|
|
@@ -142,7 +142,13 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
142
142
|
hasReported: undefined;
|
|
143
143
|
ratePerHour: undefined;
|
|
144
144
|
isPromoted: undefined;
|
|
145
|
-
salaryRange:
|
|
145
|
+
salaryRange: {
|
|
146
|
+
currency: "USD";
|
|
147
|
+
min: undefined;
|
|
148
|
+
max: undefined;
|
|
149
|
+
compensationType: undefined;
|
|
150
|
+
isNegotiable: false;
|
|
151
|
+
};
|
|
146
152
|
reports: "";
|
|
147
153
|
termsAccepted: undefined;
|
|
148
154
|
id: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQhC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -2,14 +2,14 @@ import { InferType } from "../yup-extended";
|
|
|
2
2
|
export declare const LocationSchema: import("yup").ObjectSchema<{
|
|
3
3
|
country: string;
|
|
4
4
|
countryCode: string;
|
|
5
|
-
state: string | undefined;
|
|
6
|
-
stateCode: string | undefined;
|
|
7
|
-
city: string;
|
|
8
|
-
address: string;
|
|
5
|
+
state: string | null | undefined;
|
|
6
|
+
stateCode: string | null | undefined;
|
|
7
|
+
city: string | null | undefined;
|
|
8
|
+
address: string | null | undefined;
|
|
9
9
|
latLong: {
|
|
10
|
-
country?: (number | undefined)[] | undefined;
|
|
11
|
-
state?: number[] | undefined;
|
|
12
|
-
city?: number[] | undefined;
|
|
10
|
+
country?: (number | undefined)[] | null | undefined;
|
|
11
|
+
state?: number[] | null | undefined;
|
|
12
|
+
city?: number[] | null | undefined;
|
|
13
13
|
};
|
|
14
14
|
}, import("yup").AnyObject, {
|
|
15
15
|
country: undefined;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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"}
|
|
@@ -2,25 +2,28 @@ import { array, number, object, string } from "../yup-extended";
|
|
|
2
2
|
export const LocationSchema = object().shape({
|
|
3
3
|
country: string().required().label("Country"),
|
|
4
4
|
countryCode: string().required().label("Country code"),
|
|
5
|
-
state: string().optional().label("State"),
|
|
6
|
-
stateCode: string().optional().label("State code"),
|
|
7
|
-
city: string().
|
|
8
|
-
address: string().
|
|
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
9
|
latLong: object()
|
|
10
10
|
.shape({
|
|
11
11
|
city: array()
|
|
12
12
|
.of(number().required())
|
|
13
13
|
.length(2)
|
|
14
|
+
.nullable()
|
|
14
15
|
.optional()
|
|
15
16
|
.label("City long lat"),
|
|
16
17
|
state: array()
|
|
17
18
|
.of(number().required())
|
|
18
19
|
.length(2)
|
|
20
|
+
.nullable()
|
|
19
21
|
.optional()
|
|
20
22
|
.label("State long lat"),
|
|
21
23
|
country: array()
|
|
22
24
|
.of(number())
|
|
23
25
|
.length(2)
|
|
26
|
+
.nullable()
|
|
24
27
|
.optional()
|
|
25
28
|
.label("Country long lat"),
|
|
26
29
|
})
|
|
@@ -23,16 +23,16 @@ declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
|
|
|
23
23
|
emailVerified: string | null | undefined;
|
|
24
24
|
experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
|
|
25
25
|
location: {
|
|
26
|
-
state?: string | undefined;
|
|
27
|
-
stateCode?: string | undefined;
|
|
26
|
+
state?: string | null | undefined;
|
|
27
|
+
stateCode?: string | null | undefined;
|
|
28
|
+
city?: string | null | undefined;
|
|
29
|
+
address?: string | null | undefined;
|
|
28
30
|
country: string;
|
|
29
31
|
countryCode: string;
|
|
30
|
-
city: string;
|
|
31
|
-
address: string;
|
|
32
32
|
latLong: {
|
|
33
|
-
country?: (number | undefined)[] | undefined;
|
|
34
|
-
state?: number[] | undefined;
|
|
35
|
-
city?: number[] | undefined;
|
|
33
|
+
country?: (number | undefined)[] | null | undefined;
|
|
34
|
+
state?: number[] | null | undefined;
|
|
35
|
+
city?: number[] | null | undefined;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
}, import("yup").AnyObject, {
|
|
@@ -106,16 +106,16 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
106
106
|
};
|
|
107
107
|
experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
|
|
108
108
|
location: {
|
|
109
|
-
state?: string | undefined;
|
|
110
|
-
stateCode?: string | undefined;
|
|
109
|
+
state?: string | null | undefined;
|
|
110
|
+
stateCode?: string | null | undefined;
|
|
111
|
+
city?: string | null | undefined;
|
|
112
|
+
address?: string | null | undefined;
|
|
111
113
|
country: string;
|
|
112
114
|
countryCode: string;
|
|
113
|
-
city: string;
|
|
114
|
-
address: string;
|
|
115
115
|
latLong: {
|
|
116
|
-
country?: (number | undefined)[] | undefined;
|
|
117
|
-
state?: number[] | undefined;
|
|
118
|
-
city?: number[] | undefined;
|
|
116
|
+
country?: (number | undefined)[] | null | undefined;
|
|
117
|
+
state?: number[] | null | undefined;
|
|
118
|
+
city?: number[] | null | undefined;
|
|
119
119
|
};
|
|
120
120
|
};
|
|
121
121
|
mobile: {
|
|
@@ -201,16 +201,16 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
201
201
|
isActive: boolean;
|
|
202
202
|
};
|
|
203
203
|
location: {
|
|
204
|
-
state?: string | undefined;
|
|
205
|
-
stateCode?: string | undefined;
|
|
204
|
+
state?: string | null | undefined;
|
|
205
|
+
stateCode?: string | null | undefined;
|
|
206
|
+
city?: string | null | undefined;
|
|
207
|
+
address?: string | null | undefined;
|
|
206
208
|
country: string;
|
|
207
209
|
countryCode: string;
|
|
208
|
-
city: string;
|
|
209
|
-
address: string;
|
|
210
210
|
latLong: {
|
|
211
|
-
country?: (number | undefined)[] | undefined;
|
|
212
|
-
state?: number[] | undefined;
|
|
213
|
-
city?: number[] | undefined;
|
|
211
|
+
country?: (number | undefined)[] | null | undefined;
|
|
212
|
+
state?: number[] | null | undefined;
|
|
213
|
+
city?: number[] | null | undefined;
|
|
214
214
|
};
|
|
215
215
|
};
|
|
216
216
|
designation: NonNullable<{
|
|
@@ -314,16 +314,16 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
314
314
|
isActive: boolean;
|
|
315
315
|
};
|
|
316
316
|
location: {
|
|
317
|
-
state?: string | undefined;
|
|
318
|
-
stateCode?: string | undefined;
|
|
317
|
+
state?: string | null | undefined;
|
|
318
|
+
stateCode?: string | null | undefined;
|
|
319
|
+
city?: string | null | undefined;
|
|
320
|
+
address?: string | null | undefined;
|
|
319
321
|
country: string;
|
|
320
322
|
countryCode: string;
|
|
321
|
-
city: string;
|
|
322
|
-
address: string;
|
|
323
323
|
latLong: {
|
|
324
|
-
country?: (number | undefined)[] | undefined;
|
|
325
|
-
state?: number[] | undefined;
|
|
326
|
-
city?: number[] | undefined;
|
|
324
|
+
country?: (number | undefined)[] | null | undefined;
|
|
325
|
+
state?: number[] | null | undefined;
|
|
326
|
+
city?: number[] | null | undefined;
|
|
327
327
|
};
|
|
328
328
|
};
|
|
329
329
|
}[] | {
|
|
@@ -561,16 +561,16 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
561
561
|
isActive: boolean;
|
|
562
562
|
};
|
|
563
563
|
location: {
|
|
564
|
-
state?: string | undefined;
|
|
565
|
-
stateCode?: string | undefined;
|
|
564
|
+
state?: string | null | undefined;
|
|
565
|
+
stateCode?: string | null | undefined;
|
|
566
|
+
city?: string | null | undefined;
|
|
567
|
+
address?: string | null | undefined;
|
|
566
568
|
country: string;
|
|
567
569
|
countryCode: string;
|
|
568
|
-
city: string;
|
|
569
|
-
address: string;
|
|
570
570
|
latLong: {
|
|
571
|
-
country?: (number | undefined)[] | undefined;
|
|
572
|
-
state?: number[] | undefined;
|
|
573
|
-
city?: number[] | undefined;
|
|
571
|
+
country?: (number | undefined)[] | null | undefined;
|
|
572
|
+
state?: number[] | null | undefined;
|
|
573
|
+
city?: number[] | null | undefined;
|
|
574
574
|
};
|
|
575
575
|
};
|
|
576
576
|
designation: NonNullable<{
|
|
@@ -675,16 +675,16 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
675
675
|
isActive: boolean;
|
|
676
676
|
};
|
|
677
677
|
location: {
|
|
678
|
-
state?: string | undefined;
|
|
679
|
-
stateCode?: string | undefined;
|
|
678
|
+
state?: string | null | undefined;
|
|
679
|
+
stateCode?: string | null | undefined;
|
|
680
|
+
city?: string | null | undefined;
|
|
681
|
+
address?: string | null | undefined;
|
|
680
682
|
country: string;
|
|
681
683
|
countryCode: string;
|
|
682
|
-
city: string;
|
|
683
|
-
address: string;
|
|
684
684
|
latLong: {
|
|
685
|
-
country?: (number | undefined)[] | undefined;
|
|
686
|
-
state?: number[] | undefined;
|
|
687
|
-
city?: number[] | undefined;
|
|
685
|
+
country?: (number | undefined)[] | null | undefined;
|
|
686
|
+
state?: number[] | null | undefined;
|
|
687
|
+
city?: number[] | null | undefined;
|
|
688
688
|
};
|
|
689
689
|
};
|
|
690
690
|
}[];
|
|
@@ -740,16 +740,16 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
740
740
|
}[];
|
|
741
741
|
experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
|
|
742
742
|
location: {
|
|
743
|
-
state?: string | undefined;
|
|
744
|
-
stateCode?: string | undefined;
|
|
743
|
+
state?: string | null | undefined;
|
|
744
|
+
stateCode?: string | null | undefined;
|
|
745
|
+
city?: string | null | undefined;
|
|
746
|
+
address?: string | null | undefined;
|
|
745
747
|
country: string;
|
|
746
748
|
countryCode: string;
|
|
747
|
-
city: string;
|
|
748
|
-
address: string;
|
|
749
749
|
latLong: {
|
|
750
|
-
country?: (number | undefined)[] | undefined;
|
|
751
|
-
state?: number[] | undefined;
|
|
752
|
-
city?: number[] | undefined;
|
|
750
|
+
country?: (number | undefined)[] | null | undefined;
|
|
751
|
+
state?: number[] | null | undefined;
|
|
752
|
+
city?: number[] | null | undefined;
|
|
753
753
|
};
|
|
754
754
|
};
|
|
755
755
|
mobile: {
|
|
@@ -90,16 +90,16 @@ export declare const EducationSchema: ObjectSchema<{
|
|
|
90
90
|
description: string | undefined;
|
|
91
91
|
isDistanceLearning: boolean;
|
|
92
92
|
location: {
|
|
93
|
-
state?: string | undefined;
|
|
94
|
-
stateCode?: string | undefined;
|
|
93
|
+
state?: string | null | undefined;
|
|
94
|
+
stateCode?: string | null | undefined;
|
|
95
|
+
city?: string | null | undefined;
|
|
96
|
+
address?: string | null | undefined;
|
|
95
97
|
country: string;
|
|
96
98
|
countryCode: string;
|
|
97
|
-
city: string;
|
|
98
|
-
address: string;
|
|
99
99
|
latLong: {
|
|
100
|
-
country?: (number | undefined)[] | undefined;
|
|
101
|
-
state?: number[] | undefined;
|
|
102
|
-
city?: number[] | undefined;
|
|
100
|
+
country?: (number | undefined)[] | null | undefined;
|
|
101
|
+
state?: number[] | null | undefined;
|
|
102
|
+
city?: number[] | null | undefined;
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
105
|
studyType: NonNullable<import("../../common").StudyType | undefined>;
|
|
@@ -21,16 +21,16 @@ export declare const UserGeneralDetailSchema: ObjectSchema<{
|
|
|
21
21
|
emailVerified: string | null | undefined;
|
|
22
22
|
experienceLevel: NonNullable<import("../../common").ExperienceLevel | undefined>;
|
|
23
23
|
location: {
|
|
24
|
-
state?: string | undefined;
|
|
25
|
-
stateCode?: string | undefined;
|
|
24
|
+
state?: string | null | undefined;
|
|
25
|
+
stateCode?: string | null | undefined;
|
|
26
|
+
city?: string | null | undefined;
|
|
27
|
+
address?: string | null | undefined;
|
|
26
28
|
country: string;
|
|
27
29
|
countryCode: string;
|
|
28
|
-
city: string;
|
|
29
|
-
address: string;
|
|
30
30
|
latLong: {
|
|
31
|
-
country?: (number | undefined)[] | undefined;
|
|
32
|
-
state?: number[] | undefined;
|
|
33
|
-
city?: number[] | undefined;
|
|
31
|
+
country?: (number | undefined)[] | null | undefined;
|
|
32
|
+
state?: number[] | null | undefined;
|
|
33
|
+
city?: number[] | null | undefined;
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
}, import("yup").AnyObject, {
|
|
@@ -95,16 +95,16 @@ export declare const UpdateEducationsSchema: import("yup").ObjectSchema<{
|
|
|
95
95
|
isActive: boolean;
|
|
96
96
|
};
|
|
97
97
|
location: {
|
|
98
|
-
state?: string | undefined;
|
|
99
|
-
stateCode?: string | undefined;
|
|
98
|
+
state?: string | null | undefined;
|
|
99
|
+
stateCode?: string | null | undefined;
|
|
100
|
+
city?: string | null | undefined;
|
|
101
|
+
address?: string | null | undefined;
|
|
100
102
|
country: string;
|
|
101
103
|
countryCode: string;
|
|
102
|
-
city: string;
|
|
103
|
-
address: string;
|
|
104
104
|
latLong: {
|
|
105
|
-
country?: (number | undefined)[] | undefined;
|
|
106
|
-
state?: number[] | undefined;
|
|
107
|
-
city?: number[] | undefined;
|
|
105
|
+
country?: (number | undefined)[] | null | undefined;
|
|
106
|
+
state?: number[] | null | undefined;
|
|
107
|
+
city?: number[] | null | undefined;
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
110
|
}[];
|
|
@@ -74,16 +74,16 @@ export declare const UpdateWorkExperiencesSchema: import("yup").ObjectSchema<{
|
|
|
74
74
|
isActive: boolean;
|
|
75
75
|
};
|
|
76
76
|
location: {
|
|
77
|
-
state?: string | undefined;
|
|
78
|
-
stateCode?: string | undefined;
|
|
77
|
+
state?: string | null | undefined;
|
|
78
|
+
stateCode?: string | null | undefined;
|
|
79
|
+
city?: string | null | undefined;
|
|
80
|
+
address?: string | null | undefined;
|
|
79
81
|
country: string;
|
|
80
82
|
countryCode: string;
|
|
81
|
-
city: string;
|
|
82
|
-
address: string;
|
|
83
83
|
latLong: {
|
|
84
|
-
country?: (number | undefined)[] | undefined;
|
|
85
|
-
state?: number[] | undefined;
|
|
86
|
-
city?: number[] | undefined;
|
|
84
|
+
country?: (number | undefined)[] | null | undefined;
|
|
85
|
+
state?: number[] | null | undefined;
|
|
86
|
+
city?: number[] | null | undefined;
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
designation: NonNullable<{
|
|
@@ -79,16 +79,16 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
79
79
|
isActive: boolean;
|
|
80
80
|
};
|
|
81
81
|
location: {
|
|
82
|
-
state?: string | undefined;
|
|
83
|
-
stateCode?: string | undefined;
|
|
82
|
+
state?: string | null | undefined;
|
|
83
|
+
stateCode?: string | null | undefined;
|
|
84
|
+
city?: string | null | undefined;
|
|
85
|
+
address?: string | null | undefined;
|
|
84
86
|
country: string;
|
|
85
87
|
countryCode: string;
|
|
86
|
-
city: string;
|
|
87
|
-
address: string;
|
|
88
88
|
latLong: {
|
|
89
|
-
country?: (number | undefined)[] | undefined;
|
|
90
|
-
state?: number[] | undefined;
|
|
91
|
-
city?: number[] | undefined;
|
|
89
|
+
country?: (number | undefined)[] | null | undefined;
|
|
90
|
+
state?: number[] | null | undefined;
|
|
91
|
+
city?: number[] | null | undefined;
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
94
|
designation: NonNullable<{
|
|
@@ -193,16 +193,16 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
193
193
|
isActive: boolean;
|
|
194
194
|
};
|
|
195
195
|
location: {
|
|
196
|
-
state?: string | undefined;
|
|
197
|
-
stateCode?: string | undefined;
|
|
196
|
+
state?: string | null | undefined;
|
|
197
|
+
stateCode?: string | null | undefined;
|
|
198
|
+
city?: string | null | undefined;
|
|
199
|
+
address?: string | null | undefined;
|
|
198
200
|
country: string;
|
|
199
201
|
countryCode: string;
|
|
200
|
-
city: string;
|
|
201
|
-
address: string;
|
|
202
202
|
latLong: {
|
|
203
|
-
country?: (number | undefined)[] | undefined;
|
|
204
|
-
state?: number[] | undefined;
|
|
205
|
-
city?: number[] | undefined;
|
|
203
|
+
country?: (number | undefined)[] | null | undefined;
|
|
204
|
+
state?: number[] | null | undefined;
|
|
205
|
+
city?: number[] | null | undefined;
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
208
|
}[];
|
|
@@ -285,16 +285,16 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
285
285
|
emailVerified: string | null | undefined;
|
|
286
286
|
experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
|
|
287
287
|
location: {
|
|
288
|
-
state?: string | undefined;
|
|
289
|
-
stateCode?: string | undefined;
|
|
288
|
+
state?: string | null | undefined;
|
|
289
|
+
stateCode?: string | null | undefined;
|
|
290
|
+
city?: string | null | undefined;
|
|
291
|
+
address?: string | null | undefined;
|
|
290
292
|
country: string;
|
|
291
293
|
countryCode: string;
|
|
292
|
-
city: string;
|
|
293
|
-
address: string;
|
|
294
294
|
latLong: {
|
|
295
|
-
country?: (number | undefined)[] | undefined;
|
|
296
|
-
state?: number[] | undefined;
|
|
297
|
-
city?: number[] | undefined;
|
|
295
|
+
country?: (number | undefined)[] | null | undefined;
|
|
296
|
+
state?: number[] | null | undefined;
|
|
297
|
+
city?: number[] | null | undefined;
|
|
298
298
|
};
|
|
299
299
|
};
|
|
300
300
|
}, import("yup").AnyObject, {
|
|
@@ -81,16 +81,16 @@ export declare const WorkExperienceSchema: ObjectSchema<{
|
|
|
81
81
|
};
|
|
82
82
|
description: string | undefined;
|
|
83
83
|
location: {
|
|
84
|
-
state?: string | undefined;
|
|
85
|
-
stateCode?: string | undefined;
|
|
84
|
+
state?: string | null | undefined;
|
|
85
|
+
stateCode?: string | null | undefined;
|
|
86
|
+
city?: string | null | undefined;
|
|
87
|
+
address?: string | null | undefined;
|
|
86
88
|
country: string;
|
|
87
89
|
countryCode: string;
|
|
88
|
-
city: string;
|
|
89
|
-
address: string;
|
|
90
90
|
latLong: {
|
|
91
|
-
country?: (number | undefined)[] | undefined;
|
|
92
|
-
state?: number[] | undefined;
|
|
93
|
-
city?: number[] | undefined;
|
|
91
|
+
country?: (number | undefined)[] | null | undefined;
|
|
92
|
+
state?: number[] | null | undefined;
|
|
93
|
+
city?: number[] | null | undefined;
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
isRemote: boolean;
|