@thejob/schema 1.0.73 → 1.0.74
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/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts +6 -6
- package/dist/cjs/page/page.schema.d.ts +1 -1
- package/dist/cjs/resume/resume.schema.d.ts +13 -13
- package/dist/cjs/user/update-education.schema.d.ts +1 -1
- package/dist/cjs/user/update-language.schema.d.ts +1 -1
- package/dist/cjs/user/update-skill.schema.d.ts +1 -1
- package/dist/cjs/user/update-social-account.schema.d.ts +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/job-role-template/job-role-template.schema.d.ts +6 -6
- package/dist/esm/page/page.schema.d.ts +1 -1
- package/dist/esm/resume/resume.schema.d.ts +13 -13
- package/dist/esm/user/update-education.schema.d.ts +1 -1
- package/dist/esm/user/update-language.schema.d.ts +1 -1
- package/dist/esm/user/update-skill.schema.d.ts +1 -1
- package/dist/esm/user/update-social-account.schema.d.ts +1 -1
- package/package.json +1 -6
package/dist/cjs/index.d.ts
CHANGED
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -39,4 +39,5 @@ __exportStar(require("./group"), exports);
|
|
|
39
39
|
__exportStar(require("./social-account"), exports);
|
|
40
40
|
__exportStar(require("./design-and-font"), exports);
|
|
41
41
|
__exportStar(require("./yup-extended"), exports);
|
|
42
|
+
__exportStar(require("./constants"), exports);
|
|
42
43
|
__exportStar(require("./interfaces.index"), exports);
|
|
@@ -12,13 +12,13 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
12
12
|
} | undefined;
|
|
13
13
|
description: string;
|
|
14
14
|
headline: string;
|
|
15
|
-
educationLevel: (import("
|
|
15
|
+
educationLevel: (import("..").EducationLevel | undefined)[];
|
|
16
16
|
questionnaire: ({
|
|
17
17
|
label?: string | undefined;
|
|
18
18
|
isNew?: boolean | undefined;
|
|
19
19
|
isOptional?: boolean | undefined;
|
|
20
20
|
readonly?: boolean | undefined;
|
|
21
|
-
optionsFrom?: import("
|
|
21
|
+
optionsFrom?: import("..").Common.ExperienceLevel | import("..").Common.EducationLevel | import("..").Common.Skill | undefined;
|
|
22
22
|
preferredAnswer?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
|
|
23
23
|
answers?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
|
|
24
24
|
title: string;
|
|
@@ -52,8 +52,8 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
52
52
|
type: import("..").QuestionType.ReadAndAcknowledge;
|
|
53
53
|
default: boolean;
|
|
54
54
|
description: string;
|
|
55
|
-
preferredAnswer: NonNullable<import("
|
|
56
|
-
answers: NonNullable<import("
|
|
55
|
+
preferredAnswer: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
|
|
56
|
+
answers: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
|
|
57
57
|
} | {
|
|
58
58
|
label?: string | undefined;
|
|
59
59
|
isNew?: boolean | undefined;
|
|
@@ -68,7 +68,7 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
68
68
|
isNew?: boolean | undefined;
|
|
69
69
|
isOptional?: boolean | undefined;
|
|
70
70
|
readonly?: boolean | undefined;
|
|
71
|
-
optionsFrom?: import("
|
|
71
|
+
optionsFrom?: import("..").Common.ExperienceLevel | import("..").Common.EducationLevel | import("..").Common.Skill | undefined;
|
|
72
72
|
preferredAnswer?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
|
|
73
73
|
title: string;
|
|
74
74
|
type: import("..").QuestionType.Choice;
|
|
@@ -91,7 +91,7 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
91
91
|
type: import("..").QuestionType.ReadAndAcknowledge;
|
|
92
92
|
default: boolean;
|
|
93
93
|
description: string;
|
|
94
|
-
preferredAnswer: NonNullable<import("
|
|
94
|
+
preferredAnswer: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
|
|
95
95
|
})[] | undefined;
|
|
96
96
|
}, import("yup").AnyObject, {
|
|
97
97
|
uniqueId: undefined;
|
|
@@ -38,7 +38,7 @@ export declare const PageSchema: import("yup").ObjectSchema<NonNullable<{
|
|
|
38
38
|
id: string;
|
|
39
39
|
}[];
|
|
40
40
|
socialAccounts: {
|
|
41
|
-
type: NonNullable<import("
|
|
41
|
+
type: NonNullable<import("..").SocialAccount | undefined>;
|
|
42
42
|
url: string;
|
|
43
43
|
isNew: boolean;
|
|
44
44
|
}[] | undefined;
|
|
@@ -14,7 +14,7 @@ declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
|
|
|
14
14
|
mobile: string | null | undefined;
|
|
15
15
|
emailVerified: string | null | undefined;
|
|
16
16
|
mobileVerified: string | null | undefined;
|
|
17
|
-
experienceLevel: NonNullable<import("
|
|
17
|
+
experienceLevel: NonNullable<import("..").ExperienceLevel | undefined>;
|
|
18
18
|
location: {
|
|
19
19
|
state?: string | null | undefined;
|
|
20
20
|
stateCode?: string | null | undefined;
|
|
@@ -83,7 +83,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
83
83
|
sections: {
|
|
84
84
|
id: NonNullable<ResumeSectionType | undefined>;
|
|
85
85
|
data: {
|
|
86
|
-
type: NonNullable<import("
|
|
86
|
+
type: NonNullable<import("..").SocialAccount | undefined>;
|
|
87
87
|
url: string;
|
|
88
88
|
isNew: boolean;
|
|
89
89
|
}[] | {
|
|
@@ -111,7 +111,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
111
111
|
last?: string | undefined;
|
|
112
112
|
first: string;
|
|
113
113
|
};
|
|
114
|
-
experienceLevel: NonNullable<import("
|
|
114
|
+
experienceLevel: NonNullable<import("..").ExperienceLevel | undefined>;
|
|
115
115
|
} | {
|
|
116
116
|
description?: string | undefined;
|
|
117
117
|
location: {
|
|
@@ -174,7 +174,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
174
174
|
name: string;
|
|
175
175
|
};
|
|
176
176
|
isDistanceLearning: boolean;
|
|
177
|
-
studyType: NonNullable<import("
|
|
177
|
+
studyType: NonNullable<import("..").StudyType | undefined>;
|
|
178
178
|
duration: {
|
|
179
179
|
startDate: string;
|
|
180
180
|
endDate: string;
|
|
@@ -189,7 +189,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
189
189
|
light: string;
|
|
190
190
|
} | null;
|
|
191
191
|
};
|
|
192
|
-
proficiencyLevel: NonNullable<import("
|
|
192
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
193
193
|
}[] | {
|
|
194
194
|
url?: string | undefined;
|
|
195
195
|
name: string;
|
|
@@ -218,7 +218,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
218
218
|
name: string;
|
|
219
219
|
};
|
|
220
220
|
isNew: boolean;
|
|
221
|
-
proficiencyLevel: NonNullable<import("
|
|
221
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
222
222
|
}[] | null;
|
|
223
223
|
}[];
|
|
224
224
|
} & {
|
|
@@ -289,7 +289,7 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
|
|
|
289
289
|
languages: never[];
|
|
290
290
|
additionalInfo: never[];
|
|
291
291
|
status: undefined;
|
|
292
|
-
roles: import("
|
|
292
|
+
roles: import("..").UserRole[];
|
|
293
293
|
id: undefined;
|
|
294
294
|
name: {
|
|
295
295
|
first: undefined;
|
|
@@ -340,7 +340,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
340
340
|
name: string;
|
|
341
341
|
};
|
|
342
342
|
isNew: boolean;
|
|
343
|
-
proficiencyLevel: NonNullable<import("
|
|
343
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
344
344
|
}[];
|
|
345
345
|
skills: {
|
|
346
346
|
lastUsed?: string | undefined;
|
|
@@ -351,7 +351,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
351
351
|
light: string;
|
|
352
352
|
} | null;
|
|
353
353
|
};
|
|
354
|
-
proficiencyLevel: NonNullable<import("
|
|
354
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
355
355
|
}[];
|
|
356
356
|
email: string;
|
|
357
357
|
additionalInfo: {
|
|
@@ -360,7 +360,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
360
360
|
isNew: boolean;
|
|
361
361
|
}[];
|
|
362
362
|
socialAccounts: {
|
|
363
|
-
type: NonNullable<import("
|
|
363
|
+
type: NonNullable<import("..").SocialAccount | undefined>;
|
|
364
364
|
url: string;
|
|
365
365
|
isNew: boolean;
|
|
366
366
|
}[];
|
|
@@ -427,7 +427,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
427
427
|
name: string;
|
|
428
428
|
};
|
|
429
429
|
isDistanceLearning: boolean;
|
|
430
|
-
studyType: NonNullable<import("
|
|
430
|
+
studyType: NonNullable<import("..").StudyType | undefined>;
|
|
431
431
|
duration: {
|
|
432
432
|
startDate: string;
|
|
433
433
|
endDate: string;
|
|
@@ -464,7 +464,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
464
464
|
last?: string | undefined;
|
|
465
465
|
first: string;
|
|
466
466
|
};
|
|
467
|
-
experienceLevel: NonNullable<import("
|
|
467
|
+
experienceLevel: NonNullable<import("..").ExperienceLevel | undefined>;
|
|
468
468
|
};
|
|
469
469
|
title: string;
|
|
470
470
|
jobUrl: string | undefined;
|
|
@@ -481,7 +481,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
481
481
|
languages: never[];
|
|
482
482
|
additionalInfo: never[];
|
|
483
483
|
status: undefined;
|
|
484
|
-
roles: import("
|
|
484
|
+
roles: import("..").UserRole[];
|
|
485
485
|
id: undefined;
|
|
486
486
|
name: {
|
|
487
487
|
first: undefined;
|
|
@@ -33,7 +33,7 @@ export declare const UpdateEducationsSchema: import("yup").ObjectSchema<{
|
|
|
33
33
|
name: string;
|
|
34
34
|
};
|
|
35
35
|
isDistanceLearning: boolean;
|
|
36
|
-
studyType: NonNullable<import("
|
|
36
|
+
studyType: NonNullable<import("..").StudyType | undefined>;
|
|
37
37
|
duration: {
|
|
38
38
|
startDate: string;
|
|
39
39
|
endDate: string;
|
|
@@ -5,7 +5,7 @@ export declare const UpdateLanguagesSchema: import("yup").ObjectSchema<{
|
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
7
7
|
isNew: boolean;
|
|
8
|
-
proficiencyLevel: NonNullable<import("
|
|
8
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
9
9
|
}[];
|
|
10
10
|
}, import("yup").AnyObject, {
|
|
11
11
|
languages: undefined;
|
|
@@ -9,7 +9,7 @@ export declare const UpdateUserSkillsSchema: import("yup").ObjectSchema<{
|
|
|
9
9
|
light: string;
|
|
10
10
|
} | null;
|
|
11
11
|
};
|
|
12
|
-
proficiencyLevel: NonNullable<import("
|
|
12
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
13
13
|
}[];
|
|
14
14
|
}, import("yup").AnyObject, {
|
|
15
15
|
skills: undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InferType } from "../yup-extended";
|
|
2
2
|
export declare const UpdateSocialAccountsSchema: import("yup").ObjectSchema<{
|
|
3
3
|
socialAccounts: {
|
|
4
|
-
type: NonNullable<import("
|
|
4
|
+
type: NonNullable<import("..").SocialAccount | undefined>;
|
|
5
5
|
url: string;
|
|
6
6
|
isNew: boolean;
|
|
7
7
|
}[];
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -12,13 +12,13 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
12
12
|
} | undefined;
|
|
13
13
|
description: string;
|
|
14
14
|
headline: string;
|
|
15
|
-
educationLevel: (import("
|
|
15
|
+
educationLevel: (import("..").EducationLevel | undefined)[];
|
|
16
16
|
questionnaire: ({
|
|
17
17
|
label?: string | undefined;
|
|
18
18
|
isNew?: boolean | undefined;
|
|
19
19
|
isOptional?: boolean | undefined;
|
|
20
20
|
readonly?: boolean | undefined;
|
|
21
|
-
optionsFrom?: import("
|
|
21
|
+
optionsFrom?: import("..").Common.ExperienceLevel | import("..").Common.EducationLevel | import("..").Common.Skill | undefined;
|
|
22
22
|
preferredAnswer?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
|
|
23
23
|
answers?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
|
|
24
24
|
title: string;
|
|
@@ -52,8 +52,8 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
52
52
|
type: import("..").QuestionType.ReadAndAcknowledge;
|
|
53
53
|
default: boolean;
|
|
54
54
|
description: string;
|
|
55
|
-
preferredAnswer: NonNullable<import("
|
|
56
|
-
answers: NonNullable<import("
|
|
55
|
+
preferredAnswer: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
|
|
56
|
+
answers: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
|
|
57
57
|
} | {
|
|
58
58
|
label?: string | undefined;
|
|
59
59
|
isNew?: boolean | undefined;
|
|
@@ -68,7 +68,7 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
68
68
|
isNew?: boolean | undefined;
|
|
69
69
|
isOptional?: boolean | undefined;
|
|
70
70
|
readonly?: boolean | undefined;
|
|
71
|
-
optionsFrom?: import("
|
|
71
|
+
optionsFrom?: import("..").Common.ExperienceLevel | import("..").Common.EducationLevel | import("..").Common.Skill | undefined;
|
|
72
72
|
preferredAnswer?: import("..").TMixedValue | import("..").TMixedValue[] | undefined;
|
|
73
73
|
title: string;
|
|
74
74
|
type: import("..").QuestionType.Choice;
|
|
@@ -91,7 +91,7 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
91
91
|
type: import("..").QuestionType.ReadAndAcknowledge;
|
|
92
92
|
default: boolean;
|
|
93
93
|
description: string;
|
|
94
|
-
preferredAnswer: NonNullable<import("
|
|
94
|
+
preferredAnswer: NonNullable<import("..").Common.Yes | import("..").Common.No | undefined>;
|
|
95
95
|
})[] | undefined;
|
|
96
96
|
}, import("yup").AnyObject, {
|
|
97
97
|
uniqueId: undefined;
|
|
@@ -38,7 +38,7 @@ export declare const PageSchema: import("yup").ObjectSchema<NonNullable<{
|
|
|
38
38
|
id: string;
|
|
39
39
|
}[];
|
|
40
40
|
socialAccounts: {
|
|
41
|
-
type: NonNullable<import("
|
|
41
|
+
type: NonNullable<import("..").SocialAccount | undefined>;
|
|
42
42
|
url: string;
|
|
43
43
|
isNew: boolean;
|
|
44
44
|
}[] | undefined;
|
|
@@ -14,7 +14,7 @@ declare const ResumeGeneralInfoSectionSchema: import("yup").ObjectSchema<{
|
|
|
14
14
|
mobile: string | null | undefined;
|
|
15
15
|
emailVerified: string | null | undefined;
|
|
16
16
|
mobileVerified: string | null | undefined;
|
|
17
|
-
experienceLevel: NonNullable<import("
|
|
17
|
+
experienceLevel: NonNullable<import("..").ExperienceLevel | undefined>;
|
|
18
18
|
location: {
|
|
19
19
|
state?: string | null | undefined;
|
|
20
20
|
stateCode?: string | null | undefined;
|
|
@@ -83,7 +83,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
83
83
|
sections: {
|
|
84
84
|
id: NonNullable<ResumeSectionType | undefined>;
|
|
85
85
|
data: {
|
|
86
|
-
type: NonNullable<import("
|
|
86
|
+
type: NonNullable<import("..").SocialAccount | undefined>;
|
|
87
87
|
url: string;
|
|
88
88
|
isNew: boolean;
|
|
89
89
|
}[] | {
|
|
@@ -111,7 +111,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
111
111
|
last?: string | undefined;
|
|
112
112
|
first: string;
|
|
113
113
|
};
|
|
114
|
-
experienceLevel: NonNullable<import("
|
|
114
|
+
experienceLevel: NonNullable<import("..").ExperienceLevel | undefined>;
|
|
115
115
|
} | {
|
|
116
116
|
description?: string | undefined;
|
|
117
117
|
location: {
|
|
@@ -174,7 +174,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
174
174
|
name: string;
|
|
175
175
|
};
|
|
176
176
|
isDistanceLearning: boolean;
|
|
177
|
-
studyType: NonNullable<import("
|
|
177
|
+
studyType: NonNullable<import("..").StudyType | undefined>;
|
|
178
178
|
duration: {
|
|
179
179
|
startDate: string;
|
|
180
180
|
endDate: string;
|
|
@@ -189,7 +189,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
189
189
|
light: string;
|
|
190
190
|
} | null;
|
|
191
191
|
};
|
|
192
|
-
proficiencyLevel: NonNullable<import("
|
|
192
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
193
193
|
}[] | {
|
|
194
194
|
url?: string | undefined;
|
|
195
195
|
name: string;
|
|
@@ -218,7 +218,7 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
|
|
|
218
218
|
name: string;
|
|
219
219
|
};
|
|
220
220
|
isNew: boolean;
|
|
221
|
-
proficiencyLevel: NonNullable<import("
|
|
221
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
222
222
|
}[] | null;
|
|
223
223
|
}[];
|
|
224
224
|
} & {
|
|
@@ -289,7 +289,7 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
|
|
|
289
289
|
languages: never[];
|
|
290
290
|
additionalInfo: never[];
|
|
291
291
|
status: undefined;
|
|
292
|
-
roles: import("
|
|
292
|
+
roles: import("..").UserRole[];
|
|
293
293
|
id: undefined;
|
|
294
294
|
name: {
|
|
295
295
|
first: undefined;
|
|
@@ -340,7 +340,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
340
340
|
name: string;
|
|
341
341
|
};
|
|
342
342
|
isNew: boolean;
|
|
343
|
-
proficiencyLevel: NonNullable<import("
|
|
343
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
344
344
|
}[];
|
|
345
345
|
skills: {
|
|
346
346
|
lastUsed?: string | undefined;
|
|
@@ -351,7 +351,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
351
351
|
light: string;
|
|
352
352
|
} | null;
|
|
353
353
|
};
|
|
354
|
-
proficiencyLevel: NonNullable<import("
|
|
354
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
355
355
|
}[];
|
|
356
356
|
email: string;
|
|
357
357
|
additionalInfo: {
|
|
@@ -360,7 +360,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
360
360
|
isNew: boolean;
|
|
361
361
|
}[];
|
|
362
362
|
socialAccounts: {
|
|
363
|
-
type: NonNullable<import("
|
|
363
|
+
type: NonNullable<import("..").SocialAccount | undefined>;
|
|
364
364
|
url: string;
|
|
365
365
|
isNew: boolean;
|
|
366
366
|
}[];
|
|
@@ -427,7 +427,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
427
427
|
name: string;
|
|
428
428
|
};
|
|
429
429
|
isDistanceLearning: boolean;
|
|
430
|
-
studyType: NonNullable<import("
|
|
430
|
+
studyType: NonNullable<import("..").StudyType | undefined>;
|
|
431
431
|
duration: {
|
|
432
432
|
startDate: string;
|
|
433
433
|
endDate: string;
|
|
@@ -464,7 +464,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
464
464
|
last?: string | undefined;
|
|
465
465
|
first: string;
|
|
466
466
|
};
|
|
467
|
-
experienceLevel: NonNullable<import("
|
|
467
|
+
experienceLevel: NonNullable<import("..").ExperienceLevel | undefined>;
|
|
468
468
|
};
|
|
469
469
|
title: string;
|
|
470
470
|
jobUrl: string | undefined;
|
|
@@ -481,7 +481,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
481
481
|
languages: never[];
|
|
482
482
|
additionalInfo: never[];
|
|
483
483
|
status: undefined;
|
|
484
|
-
roles: import("
|
|
484
|
+
roles: import("..").UserRole[];
|
|
485
485
|
id: undefined;
|
|
486
486
|
name: {
|
|
487
487
|
first: undefined;
|
|
@@ -33,7 +33,7 @@ export declare const UpdateEducationsSchema: import("yup").ObjectSchema<{
|
|
|
33
33
|
name: string;
|
|
34
34
|
};
|
|
35
35
|
isDistanceLearning: boolean;
|
|
36
|
-
studyType: NonNullable<import("
|
|
36
|
+
studyType: NonNullable<import("..").StudyType | undefined>;
|
|
37
37
|
duration: {
|
|
38
38
|
startDate: string;
|
|
39
39
|
endDate: string;
|
|
@@ -5,7 +5,7 @@ export declare const UpdateLanguagesSchema: import("yup").ObjectSchema<{
|
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
7
7
|
isNew: boolean;
|
|
8
|
-
proficiencyLevel: NonNullable<import("
|
|
8
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
9
9
|
}[];
|
|
10
10
|
}, import("yup").AnyObject, {
|
|
11
11
|
languages: undefined;
|
|
@@ -9,7 +9,7 @@ export declare const UpdateUserSkillsSchema: import("yup").ObjectSchema<{
|
|
|
9
9
|
light: string;
|
|
10
10
|
} | null;
|
|
11
11
|
};
|
|
12
|
-
proficiencyLevel: NonNullable<import("
|
|
12
|
+
proficiencyLevel: NonNullable<import("..").ProficiencyLevel | undefined>;
|
|
13
13
|
}[];
|
|
14
14
|
}, import("yup").AnyObject, {
|
|
15
15
|
skills: undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InferType } from "../yup-extended";
|
|
2
2
|
export declare const UpdateSocialAccountsSchema: import("yup").ObjectSchema<{
|
|
3
3
|
socialAccounts: {
|
|
4
|
-
type: NonNullable<import("
|
|
4
|
+
type: NonNullable<import("..").SocialAccount | undefined>;
|
|
5
5
|
url: string;
|
|
6
6
|
isNew: boolean;
|
|
7
7
|
}[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thejob/schema",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.74",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/esm/index.d.ts",
|
|
@@ -54,11 +54,6 @@
|
|
|
54
54
|
"require": "./dist/cjs/index.js",
|
|
55
55
|
"import": "./dist/esm/index.js"
|
|
56
56
|
},
|
|
57
|
-
"./constants": {
|
|
58
|
-
"types": "./dist/esm/constants/index.d.ts",
|
|
59
|
-
"require": "./dist/cjs/constants/index.js",
|
|
60
|
-
"import": "./dist/esm/constants/index.js"
|
|
61
|
-
},
|
|
62
57
|
"./package.json": "./package.json"
|
|
63
58
|
}
|
|
64
59
|
}
|