@thejob/schema 1.0.11 → 1.0.13
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/common.schema.d.ts +2 -2
- package/dist/cjs/common/common.schema.d.ts.map +1 -1
- package/dist/cjs/common/common.schema.js +2 -1
- 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/interfaces.index.d.ts +10 -24
- package/dist/cjs/interfaces.index.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.d.ts +2 -3
- package/dist/cjs/job/job.schema.d.ts.map +1 -1
- package/dist/cjs/job-application/job-application.schema.d.ts +3 -5
- package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts +1 -1
- package/dist/cjs/page/page.schema.d.ts +1 -2
- package/dist/cjs/page/page.schema.d.ts.map +1 -1
- package/dist/cjs/page/page.schema.js +2 -2
- package/dist/cjs/resume/resume.schema.d.ts +2 -4
- package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
- package/dist/cjs/skill/skill.schema.d.ts +2 -2
- package/dist/cjs/social-account/index.d.ts.map +1 -0
- package/dist/{esm/user → cjs}/social-account/social-account.schema.d.ts +2 -2
- package/dist/cjs/social-account/social-account.schema.d.ts.map +1 -0
- package/dist/cjs/{user/social-account → social-account}/social-account.schema.js +2 -2
- package/dist/cjs/user/education/education.schema.d.ts +0 -1
- package/dist/cjs/user/education/education.schema.d.ts.map +1 -1
- package/dist/cjs/user/index.d.ts +0 -1
- package/dist/cjs/user/index.d.ts.map +1 -1
- package/dist/cjs/user/index.js +0 -1
- package/dist/cjs/user/update-education.schema.d.ts +0 -1
- package/dist/cjs/user/update-education.schema.d.ts.map +1 -1
- package/dist/cjs/user/update-work-experience.schema.d.ts +0 -1
- package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
- package/dist/cjs/user/user.schema.d.ts +0 -2
- package/dist/cjs/user/user.schema.d.ts.map +1 -1
- package/dist/cjs/user/user.schema.js +1 -1
- package/dist/cjs/user/work-experience/work-experience.schema.d.ts +0 -1
- package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
- package/dist/esm/common/common.schema.d.ts +2 -2
- package/dist/esm/common/common.schema.d.ts.map +1 -1
- package/dist/esm/common/common.schema.js +2 -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/interfaces.index.d.ts +10 -24
- package/dist/esm/interfaces.index.d.ts.map +1 -1
- package/dist/esm/job/job.schema.d.ts +2 -3
- package/dist/esm/job/job.schema.d.ts.map +1 -1
- package/dist/esm/job-application/job-application.schema.d.ts +3 -5
- package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
- package/dist/esm/job-role-template/job-role-template.schema.d.ts +1 -1
- package/dist/esm/page/page.schema.d.ts +1 -2
- package/dist/esm/page/page.schema.d.ts.map +1 -1
- package/dist/esm/page/page.schema.js +1 -1
- package/dist/esm/resume/resume.schema.d.ts +2 -4
- package/dist/esm/resume/resume.schema.d.ts.map +1 -1
- package/dist/esm/skill/skill.schema.d.ts +2 -2
- package/dist/esm/social-account/index.d.ts.map +1 -0
- package/dist/{cjs/user → esm}/social-account/social-account.schema.d.ts +2 -2
- package/dist/esm/social-account/social-account.schema.d.ts.map +1 -0
- package/dist/esm/{user/social-account → social-account}/social-account.schema.js +2 -2
- package/dist/esm/user/education/education.schema.d.ts +0 -1
- package/dist/esm/user/education/education.schema.d.ts.map +1 -1
- package/dist/esm/user/index.d.ts +0 -1
- package/dist/esm/user/index.d.ts.map +1 -1
- package/dist/esm/user/index.js +0 -1
- package/dist/esm/user/update-education.schema.d.ts +0 -1
- package/dist/esm/user/update-education.schema.d.ts.map +1 -1
- package/dist/esm/user/update-work-experience.schema.d.ts +0 -1
- package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
- package/dist/esm/user/user.schema.d.ts +0 -2
- package/dist/esm/user/user.schema.d.ts.map +1 -1
- package/dist/esm/user/user.schema.js +1 -1
- package/dist/esm/user/work-experience/work-experience.schema.d.ts +0 -1
- package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/user/social-account/index.d.ts.map +0 -1
- package/dist/cjs/user/social-account/social-account.schema.d.ts.map +0 -1
- package/dist/esm/user/social-account/index.d.ts.map +0 -1
- package/dist/esm/user/social-account/social-account.schema.d.ts.map +0 -1
- /package/dist/cjs/{user/social-account → social-account}/index.d.ts +0 -0
- /package/dist/cjs/{user/social-account → social-account}/index.js +0 -0
- /package/dist/esm/{user/social-account → social-account}/index.d.ts +0 -0
- /package/dist/esm/{user/social-account → social-account}/index.js +0 -0
|
@@ -87,7 +87,6 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
87
87
|
dark?: string | undefined;
|
|
88
88
|
light: string;
|
|
89
89
|
} | null;
|
|
90
|
-
_id: string;
|
|
91
90
|
shortId: string;
|
|
92
91
|
createdBy: string;
|
|
93
92
|
createdAt: string;
|
|
@@ -180,7 +179,6 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
180
179
|
dark?: string | undefined;
|
|
181
180
|
light: string;
|
|
182
181
|
} | null;
|
|
183
|
-
_id: string;
|
|
184
182
|
shortId: string;
|
|
185
183
|
createdBy: string;
|
|
186
184
|
createdAt: string;
|
|
@@ -271,7 +269,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
271
269
|
status: NonNullable<JobApplicationStatus | undefined>;
|
|
272
270
|
}[];
|
|
273
271
|
} & {
|
|
274
|
-
|
|
272
|
+
id: string;
|
|
275
273
|
shortId: string;
|
|
276
274
|
createdBy: string;
|
|
277
275
|
createdAt: string;
|
|
@@ -300,7 +298,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
300
298
|
status: import("../resume").ResumeStatus.Draft;
|
|
301
299
|
markdown: undefined;
|
|
302
300
|
markdownStyling: import("../resume").ResumeMarkdownStyle.Classic;
|
|
303
|
-
|
|
301
|
+
id: undefined;
|
|
304
302
|
shortId: undefined;
|
|
305
303
|
createdBy: undefined;
|
|
306
304
|
createdAt: string;
|
|
@@ -310,7 +308,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
310
308
|
status: JobApplicationStatus.Open;
|
|
311
309
|
questionnaire: "";
|
|
312
310
|
history: never[];
|
|
313
|
-
|
|
311
|
+
id: undefined;
|
|
314
312
|
shortId: undefined;
|
|
315
313
|
createdBy: undefined;
|
|
316
314
|
createdAt: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-application.schema.d.ts","sourceRoot":"","sources":["../../../src/job-application/job-application.schema.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAmB,MAAM,aAAa,CAAC;AAQ9E,OAAO,EAIL,SAAS,EAKT,YAAY,EAEb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EAGrB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"job-application.schema.d.ts","sourceRoot":"","sources":["../../../src/job-application/job-application.schema.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAmB,MAAM,aAAa,CAAC;AAQ9E,OAAO,EAIL,SAAS,EAKT,YAAY,EAEb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EAGrB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgHN,CAAC;AAE5B,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -54,7 +54,7 @@ export declare const PageSchema: import("yup").ObjectSchema<NonNullable<{
|
|
|
54
54
|
description: string;
|
|
55
55
|
}[] | undefined;
|
|
56
56
|
} & {
|
|
57
|
-
|
|
57
|
+
id: string;
|
|
58
58
|
shortId: string;
|
|
59
59
|
createdBy: string;
|
|
60
60
|
createdAt: string;
|
|
@@ -80,7 +80,6 @@ export declare const PageSchema: import("yup").ObjectSchema<NonNullable<{
|
|
|
80
80
|
isOwner: undefined;
|
|
81
81
|
equalOpportunityEmployer: undefined;
|
|
82
82
|
perksAndBenefits: "";
|
|
83
|
-
_id: undefined;
|
|
84
83
|
createdBy: undefined;
|
|
85
84
|
createdAt: string;
|
|
86
85
|
updatedBy: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.schema.d.ts","sourceRoot":"","sources":["../../../src/page/page.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,SAAS,EAGV,MAAM,iBAAiB,CAAC;AAKzB,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"page.schema.d.ts","sourceRoot":"","sources":["../../../src/page/page.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,SAAS,EAGV,MAAM,iBAAiB,CAAC;AAKzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuEA,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PageSchema = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
|
-
const
|
|
5
|
+
const social_account_1 = require("../social-account");
|
|
6
6
|
const yup_extended_1 = require("../yup-extended");
|
|
7
7
|
const company_1 = require("./company");
|
|
8
8
|
const page_location_1 = require("./page-location");
|
|
@@ -65,7 +65,7 @@ exports.PageSchema = (0, yup_extended_1.object)()
|
|
|
65
65
|
.min(1)
|
|
66
66
|
.label("Categories"),
|
|
67
67
|
socialAccounts: (0, yup_extended_1.array)()
|
|
68
|
-
.of(
|
|
68
|
+
.of(social_account_1.SocialAccountSchema)
|
|
69
69
|
.optional()
|
|
70
70
|
.label("Social Accounts"),
|
|
71
71
|
isOwner: (0, yup_extended_1.boolean)().optional().label("Is Owner"),
|
|
@@ -242,7 +242,7 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
|
|
|
242
242
|
markdown: string;
|
|
243
243
|
markdownStyling: ResumeMarkdownStyle;
|
|
244
244
|
} & {
|
|
245
|
-
|
|
245
|
+
id: string;
|
|
246
246
|
shortId: string;
|
|
247
247
|
createdBy: string;
|
|
248
248
|
createdAt: string;
|
|
@@ -255,7 +255,7 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
|
|
|
255
255
|
status: ResumeStatus.Draft;
|
|
256
256
|
markdown: undefined;
|
|
257
257
|
markdownStyling: ResumeMarkdownStyle.Classic;
|
|
258
|
-
|
|
258
|
+
id: undefined;
|
|
259
259
|
shortId: undefined;
|
|
260
260
|
createdBy: undefined;
|
|
261
261
|
createdAt: string;
|
|
@@ -337,7 +337,6 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
337
337
|
dark?: string | undefined;
|
|
338
338
|
light: string;
|
|
339
339
|
} | null;
|
|
340
|
-
_id: string;
|
|
341
340
|
shortId: string;
|
|
342
341
|
createdBy: string;
|
|
343
342
|
createdAt: string;
|
|
@@ -430,7 +429,6 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
430
429
|
dark?: string | undefined;
|
|
431
430
|
light: string;
|
|
432
431
|
} | null;
|
|
433
|
-
_id: string;
|
|
434
432
|
shortId: string;
|
|
435
433
|
createdBy: string;
|
|
436
434
|
createdAt: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resume.schema.d.ts","sourceRoot":"","sources":["../../../src/resume/resume.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAc,MAAM,SAAS,CAAC;AAClD,OAAO,EAGL,SAAS,EAKV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EAMb,MAAM,mBAAmB,CAAC;AAO3B,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;MAS3B,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAgBF,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;MAWL,CAAC;AAE5B,MAAM,MAAM,2BAA2B,GAAG,SAAS,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAOF,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;MAYN,CAAC;AAEtB,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAO7E,QAAA,MAAM,iBAAiB;;;;;;;;MAON,CAAC;AAElB,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAOrE,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;MASN,CAAC;AAEpB,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAOzE,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;MASN,CAAC;AAE1B,MAAM,MAAM,0BAA0B,GAAG,SAAS,CAChD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
8
8
|
shortId: string;
|
|
9
9
|
createdBy: string;
|
|
10
10
|
createdAt: string;
|
|
@@ -14,7 +14,7 @@ export declare const SkillSchema: import("yup").ObjectSchema<{
|
|
|
14
14
|
name: undefined;
|
|
15
15
|
logo: undefined;
|
|
16
16
|
tags: "";
|
|
17
|
-
|
|
17
|
+
id: undefined;
|
|
18
18
|
shortId: undefined;
|
|
19
19
|
createdBy: undefined;
|
|
20
20
|
createdAt: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/social-account/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { InferType } from "
|
|
1
|
+
import { InferType } from "../yup-extended";
|
|
2
2
|
export declare const SocialAccountSchema: import("yup").ObjectSchema<{
|
|
3
3
|
isNew: boolean;
|
|
4
|
-
type: NonNullable<import("
|
|
4
|
+
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
5
5
|
url: string;
|
|
6
6
|
}, import("yup").AnyObject, {
|
|
7
7
|
isNew: false;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"social-account.schema.d.ts","sourceRoot":"","sources":["../../../src/social-account/social-account.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,SAAS,EAAkB,MAAM,iBAAiB,CAAC;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;MAWN,CAAC;AAE3B,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SocialAccountSchema = void 0;
|
|
4
|
-
const common_1 = require("
|
|
5
|
-
const yup_extended_1 = require("
|
|
4
|
+
const common_1 = require("../common");
|
|
5
|
+
const yup_extended_1 = require("../yup-extended");
|
|
6
6
|
exports.SocialAccountSchema = (0, yup_extended_1.object)()
|
|
7
7
|
.shape({
|
|
8
8
|
isNew: (0, yup_extended_1.boolean)().default(false).optional().label("Is New"),
|
|
@@ -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
|
|
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"}
|
package/dist/cjs/user/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export * from "./education";
|
|
|
18
18
|
export * from "./user-interest";
|
|
19
19
|
export * from "./project";
|
|
20
20
|
export * from "./user-certification";
|
|
21
|
-
export * from "./social-account";
|
|
22
21
|
export * from "./user-additional-info";
|
|
23
22
|
export * from "./user.types";
|
|
24
23
|
export * from "./user-completeness.schema";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAEhD,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAEhD,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAE7B,cAAc,4BAA4B,CAAC"}
|
package/dist/cjs/user/index.js
CHANGED
|
@@ -34,7 +34,6 @@ __exportStar(require("./education"), exports);
|
|
|
34
34
|
__exportStar(require("./user-interest"), exports);
|
|
35
35
|
__exportStar(require("./project"), exports);
|
|
36
36
|
__exportStar(require("./user-certification"), exports);
|
|
37
|
-
__exportStar(require("./social-account"), exports);
|
|
38
37
|
__exportStar(require("./user-additional-info"), exports);
|
|
39
38
|
__exportStar(require("./user.types"), exports);
|
|
40
39
|
__exportStar(require("./user-completeness.schema"), exports);
|
|
@@ -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
|
|
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 +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
|
|
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"}
|
|
@@ -57,7 +57,6 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
57
57
|
dark?: string | undefined;
|
|
58
58
|
light: string;
|
|
59
59
|
} | null;
|
|
60
|
-
_id: string;
|
|
61
60
|
shortId: string;
|
|
62
61
|
createdBy: string;
|
|
63
62
|
createdAt: string;
|
|
@@ -150,7 +149,6 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
150
149
|
dark?: string | undefined;
|
|
151
150
|
light: string;
|
|
152
151
|
} | null;
|
|
153
|
-
_id: string;
|
|
154
152
|
shortId: string;
|
|
155
153
|
createdBy: string;
|
|
156
154
|
createdAt: string;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiFA,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ const yup_extended_1 = require("../yup-extended");
|
|
|
6
6
|
const education_1 = require("./education");
|
|
7
7
|
const general_detail_schema_1 = require("./general-detail/general-detail.schema");
|
|
8
8
|
const project_1 = require("./project");
|
|
9
|
-
const social_account_1 = require("
|
|
9
|
+
const social_account_1 = require("../social-account");
|
|
10
10
|
const user_additional_info_1 = require("./user-additional-info");
|
|
11
11
|
const user_certification_1 = require("./user-certification");
|
|
12
12
|
const user_interest_1 = require("./user-interest");
|
|
@@ -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
|
|
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"}
|
|
@@ -24,14 +24,14 @@ export declare const TermsAndConditionSchema: import("yup").ObjectSchema<{
|
|
|
24
24
|
}, "">;
|
|
25
25
|
export type TTermsAndConditionSchema = InferType<typeof TermsAndConditionSchema>;
|
|
26
26
|
export declare const DbDefaultSchema: import("yup").ObjectSchema<{
|
|
27
|
-
|
|
27
|
+
id: string;
|
|
28
28
|
shortId: string;
|
|
29
29
|
createdBy: string;
|
|
30
30
|
createdAt: string;
|
|
31
31
|
updatedBy: string | undefined;
|
|
32
32
|
updatedAt: string | undefined;
|
|
33
33
|
}, import("yup").AnyObject, {
|
|
34
|
-
|
|
34
|
+
id: undefined;
|
|
35
35
|
shortId: undefined;
|
|
36
36
|
createdBy: undefined;
|
|
37
37
|
createdAt: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.schema.d.ts","sourceRoot":"","sources":["../../../src/common/common.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAQV,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,gBAAgB;;;;;;;;MAOlB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,gBAAgB;;;;;;MAwBlB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,uBAAuB;;;;MAIlC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"common.schema.d.ts","sourceRoot":"","sources":["../../../src/common/common.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAQV,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,gBAAgB;;;;;;;;MAOlB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,gBAAgB;;;;;;MAwBlB,CAAC;AACZ,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,eAAO,MAAM,uBAAuB;;;;MAIlC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;MAkBjB,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,OAAO,eAAe,CAAC,CAAC;AAEjE,eAAO,MAAM,uBAAuB,GAAI,WAAU,MAAW;;;;;;;;MAKzD,CAAC;AAEL,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAC9C,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAC3C,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;MAGnC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,SAAS,CAC/C,OAAO,wBAAwB,CAChC,CAAC"}
|
|
@@ -35,7 +35,8 @@ export const TermsAndConditionSchema = object().shape({
|
|
|
35
35
|
});
|
|
36
36
|
export const DbDefaultSchema = object()
|
|
37
37
|
.shape({
|
|
38
|
-
|
|
38
|
+
// TODO: Refactor it to use _id instead of id
|
|
39
|
+
id: string().objectId().required().label("Id"),
|
|
39
40
|
shortId: string().required().max(12).label("Short ID"),
|
|
40
41
|
createdBy: string().required().label("Created By"),
|
|
41
42
|
createdAt: dateString()
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from "./resume";
|
|
|
20
20
|
export * from "./job-role-template";
|
|
21
21
|
export * from "./ai";
|
|
22
22
|
export * from "./group";
|
|
23
|
+
export * from "./social-account";
|
|
23
24
|
export * from "./yup-extended";
|
|
24
25
|
export * from './interfaces.index';
|
|
25
26
|
//# sourceMappingURL=index.d.ts.map
|
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,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,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -16,7 +16,7 @@ export interface ITermsAndConditionSchema {
|
|
|
16
16
|
export interface IDBDefaultSchema {
|
|
17
17
|
updatedBy?: string | undefined;
|
|
18
18
|
updatedAt?: string | undefined;
|
|
19
|
-
|
|
19
|
+
id: string;
|
|
20
20
|
shortId: string;
|
|
21
21
|
createdBy: string;
|
|
22
22
|
createdAt: string;
|
|
@@ -202,8 +202,8 @@ export interface IJobSchema {
|
|
|
202
202
|
createdAt: string;
|
|
203
203
|
userId: string;
|
|
204
204
|
}[] | undefined;
|
|
205
|
+
id: string;
|
|
205
206
|
termsAccepted: NonNullable<boolean | undefined>;
|
|
206
|
-
_id: string;
|
|
207
207
|
shortId: string;
|
|
208
208
|
createdBy: string;
|
|
209
209
|
createdAt: string;
|
|
@@ -273,7 +273,6 @@ export interface IJobSchema {
|
|
|
273
273
|
dark?: string | undefined;
|
|
274
274
|
light: string;
|
|
275
275
|
} | null;
|
|
276
|
-
_id: string;
|
|
277
276
|
shortId: string;
|
|
278
277
|
createdBy: string;
|
|
279
278
|
createdAt: string;
|
|
@@ -381,7 +380,7 @@ export interface IJobApplicationSchema {
|
|
|
381
380
|
first: string;
|
|
382
381
|
last: string;
|
|
383
382
|
};
|
|
384
|
-
|
|
383
|
+
id: string;
|
|
385
384
|
shortId: string;
|
|
386
385
|
createdBy: string;
|
|
387
386
|
createdAt: string;
|
|
@@ -474,7 +473,6 @@ export interface IJobApplicationSchema {
|
|
|
474
473
|
dark?: string | undefined;
|
|
475
474
|
light: string;
|
|
476
475
|
} | null;
|
|
477
|
-
_id: string;
|
|
478
476
|
shortId: string;
|
|
479
477
|
createdBy: string;
|
|
480
478
|
createdAt: string;
|
|
@@ -585,7 +583,6 @@ export interface IJobApplicationSchema {
|
|
|
585
583
|
dark?: string | undefined;
|
|
586
584
|
light: string;
|
|
587
585
|
} | null;
|
|
588
|
-
_id: string;
|
|
589
586
|
shortId: string;
|
|
590
587
|
createdBy: string;
|
|
591
588
|
createdAt: string;
|
|
@@ -725,7 +722,6 @@ export interface IPageSchema {
|
|
|
725
722
|
dark?: string | undefined;
|
|
726
723
|
light: string;
|
|
727
724
|
} | null;
|
|
728
|
-
_id: string;
|
|
729
725
|
shortId: string;
|
|
730
726
|
createdBy: string;
|
|
731
727
|
createdAt: string;
|
|
@@ -1072,7 +1068,7 @@ export interface IResumeSectionSchema {
|
|
|
1072
1068
|
export interface IResumeSchema {
|
|
1073
1069
|
updatedBy?: string | undefined;
|
|
1074
1070
|
updatedAt?: string | undefined;
|
|
1075
|
-
|
|
1071
|
+
id: string;
|
|
1076
1072
|
shortId: string;
|
|
1077
1073
|
createdBy: string;
|
|
1078
1074
|
createdAt: string;
|
|
@@ -1188,7 +1184,6 @@ export interface INewResumePromptSchema {
|
|
|
1188
1184
|
dark?: string | undefined;
|
|
1189
1185
|
light: string;
|
|
1190
1186
|
} | null;
|
|
1191
|
-
_id: string;
|
|
1192
1187
|
shortId: string;
|
|
1193
1188
|
createdBy: string;
|
|
1194
1189
|
createdAt: string;
|
|
@@ -1299,7 +1294,6 @@ export interface INewResumePromptSchema {
|
|
|
1299
1294
|
dark?: string | undefined;
|
|
1300
1295
|
light: string;
|
|
1301
1296
|
} | null;
|
|
1302
|
-
_id: string;
|
|
1303
1297
|
shortId: string;
|
|
1304
1298
|
createdBy: string;
|
|
1305
1299
|
createdAt: string;
|
|
@@ -1386,11 +1380,16 @@ export interface ISkillSchema {
|
|
|
1386
1380
|
updatedAt?: string | undefined;
|
|
1387
1381
|
tags?: (string | undefined)[] | undefined;
|
|
1388
1382
|
name: string;
|
|
1389
|
-
|
|
1383
|
+
id: string;
|
|
1390
1384
|
shortId: string;
|
|
1391
1385
|
createdBy: string;
|
|
1392
1386
|
createdAt: string;
|
|
1393
1387
|
}
|
|
1388
|
+
export interface ISocialAccountSchema {
|
|
1389
|
+
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
1390
|
+
isNew: boolean;
|
|
1391
|
+
url: string;
|
|
1392
|
+
}
|
|
1394
1393
|
export interface IUploadedFileSchema {
|
|
1395
1394
|
type?: string | undefined;
|
|
1396
1395
|
size?: string | undefined;
|
|
@@ -1495,7 +1494,6 @@ export interface IUpdateEducationsSchema {
|
|
|
1495
1494
|
dark?: string | undefined;
|
|
1496
1495
|
light: string;
|
|
1497
1496
|
} | null;
|
|
1498
|
-
_id: string;
|
|
1499
1497
|
shortId: string;
|
|
1500
1498
|
createdBy: string;
|
|
1501
1499
|
createdAt: string;
|
|
@@ -1645,7 +1643,6 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1645
1643
|
dark?: string | undefined;
|
|
1646
1644
|
light: string;
|
|
1647
1645
|
} | null;
|
|
1648
|
-
_id: string;
|
|
1649
1646
|
shortId: string;
|
|
1650
1647
|
createdBy: string;
|
|
1651
1648
|
createdAt: string;
|
|
@@ -1848,7 +1845,6 @@ export interface IUserSchema {
|
|
|
1848
1845
|
dark?: string | undefined;
|
|
1849
1846
|
light: string;
|
|
1850
1847
|
} | null;
|
|
1851
|
-
_id: string;
|
|
1852
1848
|
shortId: string;
|
|
1853
1849
|
createdBy: string;
|
|
1854
1850
|
createdAt: string;
|
|
@@ -1959,7 +1955,6 @@ export interface IUserSchema {
|
|
|
1959
1955
|
dark?: string | undefined;
|
|
1960
1956
|
light: string;
|
|
1961
1957
|
} | null;
|
|
1962
|
-
_id: string;
|
|
1963
1958
|
shortId: string;
|
|
1964
1959
|
createdBy: string;
|
|
1965
1960
|
createdAt: string;
|
|
@@ -2118,7 +2113,6 @@ export interface IserProfileOverview {
|
|
|
2118
2113
|
dark?: string | undefined;
|
|
2119
2114
|
light: string;
|
|
2120
2115
|
} | null;
|
|
2121
|
-
_id: string;
|
|
2122
2116
|
shortId: string;
|
|
2123
2117
|
createdBy: string;
|
|
2124
2118
|
createdAt: string;
|
|
@@ -2229,7 +2223,6 @@ export interface IserProfileOverview {
|
|
|
2229
2223
|
dark?: string | undefined;
|
|
2230
2224
|
light: string;
|
|
2231
2225
|
} | null;
|
|
2232
|
-
_id: string;
|
|
2233
2226
|
shortId: string;
|
|
2234
2227
|
createdBy: string;
|
|
2235
2228
|
createdAt: string;
|
|
@@ -2354,7 +2347,6 @@ export interface IEducationSchema {
|
|
|
2354
2347
|
dark?: string | undefined;
|
|
2355
2348
|
light: string;
|
|
2356
2349
|
} | null;
|
|
2357
|
-
_id: string;
|
|
2358
2350
|
shortId: string;
|
|
2359
2351
|
createdBy: string;
|
|
2360
2352
|
createdAt: string;
|
|
@@ -2432,11 +2424,6 @@ export interface IUserProjectSchema {
|
|
|
2432
2424
|
isActive: boolean;
|
|
2433
2425
|
};
|
|
2434
2426
|
}
|
|
2435
|
-
export interface ISocialAccountSchema {
|
|
2436
|
-
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
2437
|
-
isNew: boolean;
|
|
2438
|
-
url: string;
|
|
2439
|
-
}
|
|
2440
2427
|
export interface IUserAdditionalInfoSchema {
|
|
2441
2428
|
description: string;
|
|
2442
2429
|
isNew: boolean;
|
|
@@ -2533,7 +2520,6 @@ export interface IWorkExperienceSchema {
|
|
|
2533
2520
|
dark?: string | undefined;
|
|
2534
2521
|
light: string;
|
|
2535
2522
|
} | null;
|
|
2536
|
-
_id: string;
|
|
2537
2523
|
shortId: string;
|
|
2538
2524
|
createdBy: string;
|
|
2539
2525
|
createdAt: string;
|