@thejob/schema 1.0.11 → 1.0.12
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/interfaces.index.d.ts +5 -19
- 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/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/user/education/education.schema.d.ts +0 -1
- package/dist/cjs/user/education/education.schema.d.ts.map +1 -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/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/interfaces.index.d.ts +5 -19
- 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/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/user/education/education.schema.d.ts +0 -1
- package/dist/esm/user/education/education.schema.d.ts.map +1 -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/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
|
@@ -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"}
|
|
@@ -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,OAAO,yBAAyB,CACjC,CAAC;AAOF,QAAA,MAAM,oBAAoB;;;;;;;;MAMN,CAAC;AAErB,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,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,cAAc,CAAC,EAAE,2BAA2B,CAAC;IAChE,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,6BAA6B,CAAC;CAC9D,CAAC;AAOF,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAOzE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4BA,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3D,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuBb,CAAC;AAEvC,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
|
@@ -4,7 +4,7 @@ export declare const SkillSchema: import("yup").ObjectSchema<{
|
|
|
4
4
|
logo: string | undefined;
|
|
5
5
|
tags: (string | undefined)[] | undefined;
|
|
6
6
|
} & {
|
|
7
|
-
|
|
7
|
+
id: string;
|
|
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;
|
|
@@ -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"}
|
|
@@ -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"}
|
|
@@ -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()
|
|
@@ -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,7 +1380,7 @@ 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;
|
|
@@ -1495,7 +1489,6 @@ export interface IUpdateEducationsSchema {
|
|
|
1495
1489
|
dark?: string | undefined;
|
|
1496
1490
|
light: string;
|
|
1497
1491
|
} | null;
|
|
1498
|
-
_id: string;
|
|
1499
1492
|
shortId: string;
|
|
1500
1493
|
createdBy: string;
|
|
1501
1494
|
createdAt: string;
|
|
@@ -1645,7 +1638,6 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1645
1638
|
dark?: string | undefined;
|
|
1646
1639
|
light: string;
|
|
1647
1640
|
} | null;
|
|
1648
|
-
_id: string;
|
|
1649
1641
|
shortId: string;
|
|
1650
1642
|
createdBy: string;
|
|
1651
1643
|
createdAt: string;
|
|
@@ -1848,7 +1840,6 @@ export interface IUserSchema {
|
|
|
1848
1840
|
dark?: string | undefined;
|
|
1849
1841
|
light: string;
|
|
1850
1842
|
} | null;
|
|
1851
|
-
_id: string;
|
|
1852
1843
|
shortId: string;
|
|
1853
1844
|
createdBy: string;
|
|
1854
1845
|
createdAt: string;
|
|
@@ -1959,7 +1950,6 @@ export interface IUserSchema {
|
|
|
1959
1950
|
dark?: string | undefined;
|
|
1960
1951
|
light: string;
|
|
1961
1952
|
} | null;
|
|
1962
|
-
_id: string;
|
|
1963
1953
|
shortId: string;
|
|
1964
1954
|
createdBy: string;
|
|
1965
1955
|
createdAt: string;
|
|
@@ -2118,7 +2108,6 @@ export interface IserProfileOverview {
|
|
|
2118
2108
|
dark?: string | undefined;
|
|
2119
2109
|
light: string;
|
|
2120
2110
|
} | null;
|
|
2121
|
-
_id: string;
|
|
2122
2111
|
shortId: string;
|
|
2123
2112
|
createdBy: string;
|
|
2124
2113
|
createdAt: string;
|
|
@@ -2229,7 +2218,6 @@ export interface IserProfileOverview {
|
|
|
2229
2218
|
dark?: string | undefined;
|
|
2230
2219
|
light: string;
|
|
2231
2220
|
} | null;
|
|
2232
|
-
_id: string;
|
|
2233
2221
|
shortId: string;
|
|
2234
2222
|
createdBy: string;
|
|
2235
2223
|
createdAt: string;
|
|
@@ -2354,7 +2342,6 @@ export interface IEducationSchema {
|
|
|
2354
2342
|
dark?: string | undefined;
|
|
2355
2343
|
light: string;
|
|
2356
2344
|
} | null;
|
|
2357
|
-
_id: string;
|
|
2358
2345
|
shortId: string;
|
|
2359
2346
|
createdBy: string;
|
|
2360
2347
|
createdAt: string;
|
|
@@ -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;
|