@thejob/schema 1.0.59 → 1.0.60
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/interfaces.index.d.ts +10 -45
- package/dist/cjs/interfaces.index.d.ts.map +1 -1
- package/dist/cjs/job-application/job-application.schema.d.ts +1 -0
- package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/cjs/resume/resume.schema.d.ts +9 -27
- package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
- package/dist/cjs/user/general-detail/general-detail.schema.d.ts +3 -9
- package/dist/cjs/user/general-detail/general-detail.schema.d.ts.map +1 -1
- package/dist/cjs/user/general-detail/general-detail.schema.js +3 -3
- package/dist/cjs/user/user.schema.d.ts +3 -9
- package/dist/cjs/user/user.schema.d.ts.map +1 -1
- package/dist/esm/interfaces.index.d.ts +10 -45
- package/dist/esm/interfaces.index.d.ts.map +1 -1
- package/dist/esm/job-application/job-application.schema.d.ts +1 -0
- package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/esm/resume/resume.schema.d.ts +9 -27
- package/dist/esm/resume/resume.schema.d.ts.map +1 -1
- package/dist/esm/user/general-detail/general-detail.schema.d.ts +3 -9
- package/dist/esm/user/general-detail/general-detail.schema.d.ts.map +1 -1
- package/dist/esm/user/general-detail/general-detail.schema.js +3 -3
- package/dist/esm/user/user.schema.d.ts +3 -9
- package/dist/esm/user/user.schema.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -11,16 +11,9 @@ declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
|
|
|
11
11
|
image: string | undefined;
|
|
12
12
|
aboutMe: string | undefined;
|
|
13
13
|
email: string;
|
|
14
|
-
mobile:
|
|
15
|
-
number: string;
|
|
16
|
-
country: {
|
|
17
|
-
locale?: string | undefined;
|
|
18
|
-
name: string;
|
|
19
|
-
dial_code: string;
|
|
20
|
-
code: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
14
|
+
mobile: string | null | undefined;
|
|
23
15
|
emailVerified: string | null | undefined;
|
|
16
|
+
mobileVerified: string | null | undefined;
|
|
24
17
|
experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
|
|
25
18
|
location: {
|
|
26
19
|
state?: string | null | undefined;
|
|
@@ -46,6 +39,7 @@ declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
|
|
|
46
39
|
email: undefined;
|
|
47
40
|
mobile: undefined;
|
|
48
41
|
emailVerified: undefined;
|
|
42
|
+
mobileVerified: undefined;
|
|
49
43
|
experienceLevel: undefined;
|
|
50
44
|
location: any;
|
|
51
45
|
}, "">;
|
|
@@ -97,7 +91,9 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
97
91
|
headline?: string | undefined;
|
|
98
92
|
image?: string | undefined;
|
|
99
93
|
aboutMe?: string | undefined;
|
|
94
|
+
mobile?: string | null | undefined;
|
|
100
95
|
emailVerified?: string | null | undefined;
|
|
96
|
+
mobileVerified?: string | null | undefined;
|
|
101
97
|
email: string;
|
|
102
98
|
name: {
|
|
103
99
|
last?: string | undefined;
|
|
@@ -116,15 +112,6 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
116
112
|
coordinates: number[];
|
|
117
113
|
};
|
|
118
114
|
};
|
|
119
|
-
mobile: {
|
|
120
|
-
number: string;
|
|
121
|
-
country: {
|
|
122
|
-
locale?: string | undefined;
|
|
123
|
-
name: string;
|
|
124
|
-
dial_code: string;
|
|
125
|
-
code: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
115
|
} | {
|
|
129
116
|
description?: string | undefined;
|
|
130
117
|
company: NonNullable<{
|
|
@@ -449,6 +436,7 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
|
|
|
449
436
|
email: undefined;
|
|
450
437
|
mobile: undefined;
|
|
451
438
|
emailVerified: undefined;
|
|
439
|
+
mobileVerified: undefined;
|
|
452
440
|
experienceLevel: undefined;
|
|
453
441
|
location: any;
|
|
454
442
|
};
|
|
@@ -467,7 +455,9 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
467
455
|
headline?: string | undefined;
|
|
468
456
|
image?: string | undefined;
|
|
469
457
|
aboutMe?: string | undefined;
|
|
458
|
+
mobile?: string | null | undefined;
|
|
470
459
|
emailVerified?: string | null | undefined;
|
|
460
|
+
mobileVerified?: string | null | undefined;
|
|
471
461
|
email: string;
|
|
472
462
|
name: {
|
|
473
463
|
last?: string | undefined;
|
|
@@ -745,15 +735,6 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
745
735
|
coordinates: number[];
|
|
746
736
|
};
|
|
747
737
|
};
|
|
748
|
-
mobile: {
|
|
749
|
-
number: string;
|
|
750
|
-
country: {
|
|
751
|
-
locale?: string | undefined;
|
|
752
|
-
name: string;
|
|
753
|
-
dial_code: string;
|
|
754
|
-
code: string;
|
|
755
|
-
};
|
|
756
|
-
};
|
|
757
738
|
};
|
|
758
739
|
title: string;
|
|
759
740
|
jobUrl: string | undefined;
|
|
@@ -782,6 +763,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
782
763
|
email: undefined;
|
|
783
764
|
mobile: undefined;
|
|
784
765
|
emailVerified: undefined;
|
|
766
|
+
mobileVerified: undefined;
|
|
785
767
|
experienceLevel: undefined;
|
|
786
768
|
location: any;
|
|
787
769
|
};
|
|
@@ -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
|
|
1
|
+
{"version":3,"file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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
|
|
@@ -9,16 +9,9 @@ export declare const UserGeneralDetailSchema: ObjectSchema<{
|
|
|
9
9
|
image: string | undefined;
|
|
10
10
|
aboutMe: string | undefined;
|
|
11
11
|
email: string;
|
|
12
|
-
mobile:
|
|
13
|
-
number: string;
|
|
14
|
-
country: {
|
|
15
|
-
locale?: string | undefined;
|
|
16
|
-
name: string;
|
|
17
|
-
dial_code: string;
|
|
18
|
-
code: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
12
|
+
mobile: string | null | undefined;
|
|
21
13
|
emailVerified: string | null | undefined;
|
|
14
|
+
mobileVerified: string | null | undefined;
|
|
22
15
|
experienceLevel: NonNullable<import("../../common").ExperienceLevel | undefined>;
|
|
23
16
|
location: {
|
|
24
17
|
state?: string | null | undefined;
|
|
@@ -44,6 +37,7 @@ export declare const UserGeneralDetailSchema: ObjectSchema<{
|
|
|
44
37
|
email: undefined;
|
|
45
38
|
mobile: undefined;
|
|
46
39
|
emailVerified: undefined;
|
|
40
|
+
mobileVerified: undefined;
|
|
47
41
|
experienceLevel: undefined;
|
|
48
42
|
location: any;
|
|
49
43
|
}, "">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general-detail.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/general-detail/general-detail.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"general-detail.schema.d.ts","sourceRoot":"","sources":["../../../../src/user/general-detail/general-detail.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAU,YAAY,EAAU,MAAM,oBAAoB,CAAC;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BV,CAAC;AAE3B,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,OAAO,uBAAuB,CAC/B,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SupportedExperienceLevels } from "../../common";
|
|
2
2
|
import { LocationSchema } from "../../location";
|
|
3
|
-
import { MobileNumberSchema } from "../../phone";
|
|
4
3
|
import { object, string } from "../../yup-extended";
|
|
5
4
|
export const UserGeneralDetailSchema = object()
|
|
6
5
|
.shape({
|
|
@@ -16,8 +15,9 @@ export const UserGeneralDetailSchema = object()
|
|
|
16
15
|
image: string().optional().label("Image"),
|
|
17
16
|
aboutMe: string().trim().max(3000).optional().label("About Me"),
|
|
18
17
|
email: string().emailStrict().required().label("Email"),
|
|
19
|
-
mobile:
|
|
20
|
-
emailVerified: string().nullable().label("Email Verified"),
|
|
18
|
+
mobile: string().nullable().optional().label("Mobile"),
|
|
19
|
+
emailVerified: string().nullable().optional().label("Email Verified"),
|
|
20
|
+
mobileVerified: string().nullable().optional().label("Mobile Verified"),
|
|
21
21
|
experienceLevel: string()
|
|
22
22
|
.oneOf(SupportedExperienceLevels)
|
|
23
23
|
.required()
|
|
@@ -271,16 +271,9 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
271
271
|
image: string | undefined;
|
|
272
272
|
aboutMe: string | undefined;
|
|
273
273
|
email: string;
|
|
274
|
-
mobile:
|
|
275
|
-
number: string;
|
|
276
|
-
country: {
|
|
277
|
-
locale?: string | undefined;
|
|
278
|
-
name: string;
|
|
279
|
-
dial_code: string;
|
|
280
|
-
code: string;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
274
|
+
mobile: string | null | undefined;
|
|
283
275
|
emailVerified: string | null | undefined;
|
|
276
|
+
mobileVerified: string | null | undefined;
|
|
284
277
|
experienceLevel: NonNullable<import("../common").ExperienceLevel | undefined>;
|
|
285
278
|
location: {
|
|
286
279
|
state?: string | null | undefined;
|
|
@@ -317,6 +310,7 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
317
310
|
email: undefined;
|
|
318
311
|
mobile: undefined;
|
|
319
312
|
emailVerified: undefined;
|
|
313
|
+
mobileVerified: undefined;
|
|
320
314
|
experienceLevel: undefined;
|
|
321
315
|
location: any;
|
|
322
316
|
}, "">;
|
|
@@ -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
|
|
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"}
|