@thejob/schema 1.0.14 → 1.0.15
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 +4 -4
- package/dist/cjs/common/common.schema.d.ts.map +1 -1
- package/dist/cjs/common/common.schema.js +2 -8
- package/dist/cjs/interfaces.index.d.ts +38 -38
- package/dist/cjs/job/job.schema.d.ts +6 -6
- package/dist/cjs/job-application/job-application.schema.d.ts +10 -10
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts +2 -2
- package/dist/cjs/page/page.schema.d.ts +4 -4
- package/dist/cjs/resume/resume.schema.d.ts +8 -8
- package/dist/cjs/skill/skill.schema.d.ts +4 -4
- package/dist/cjs/user/education/education.schema.d.ts +2 -2
- package/dist/cjs/user/update-education.schema.d.ts +2 -2
- package/dist/cjs/user/update-work-experience.schema.d.ts +2 -2
- package/dist/cjs/user/user.schema.d.ts +4 -4
- package/dist/cjs/user/work-experience/work-experience.schema.d.ts +2 -2
- package/dist/esm/common/common.schema.d.ts +4 -4
- package/dist/esm/common/common.schema.d.ts.map +1 -1
- package/dist/esm/common/common.schema.js +3 -9
- package/dist/esm/interfaces.index.d.ts +38 -38
- package/dist/esm/job/job.schema.d.ts +6 -6
- package/dist/esm/job-application/job-application.schema.d.ts +10 -10
- package/dist/esm/job-role-template/job-role-template.schema.d.ts +2 -2
- package/dist/esm/page/page.schema.d.ts +4 -4
- package/dist/esm/resume/resume.schema.d.ts +8 -8
- package/dist/esm/skill/skill.schema.d.ts +4 -4
- package/dist/esm/user/education/education.schema.d.ts +2 -2
- package/dist/esm/user/update-education.schema.d.ts +2 -2
- package/dist/esm/user/update-work-experience.schema.d.ts +2 -2
- package/dist/esm/user/user.schema.d.ts +4 -4
- package/dist/esm/user/work-experience/work-experience.schema.d.ts +2 -2
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
12
12
|
otherValue: string | string[];
|
|
13
13
|
} | Pick<{
|
|
14
14
|
updatedBy?: string | undefined;
|
|
15
|
-
updatedAt?:
|
|
15
|
+
updatedAt?: number | undefined;
|
|
16
16
|
socialAccounts?: {
|
|
17
17
|
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
18
18
|
url: string;
|
|
@@ -59,7 +59,7 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
59
59
|
} | null;
|
|
60
60
|
shortId: string;
|
|
61
61
|
createdBy: string;
|
|
62
|
-
createdAt:
|
|
62
|
+
createdAt: number;
|
|
63
63
|
about: string;
|
|
64
64
|
website: string;
|
|
65
65
|
slug: string;
|
|
@@ -104,7 +104,7 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
104
104
|
otherValue: string | string[];
|
|
105
105
|
} | Pick<{
|
|
106
106
|
updatedBy?: string | undefined;
|
|
107
|
-
updatedAt?:
|
|
107
|
+
updatedAt?: number | undefined;
|
|
108
108
|
socialAccounts?: {
|
|
109
109
|
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
110
110
|
url: string;
|
|
@@ -151,7 +151,7 @@ export declare const UserSchema: import("yup").ObjectSchema<{
|
|
|
151
151
|
} | null;
|
|
152
152
|
shortId: string;
|
|
153
153
|
createdBy: string;
|
|
154
|
-
createdAt:
|
|
154
|
+
createdAt: number;
|
|
155
155
|
about: string;
|
|
156
156
|
website: string;
|
|
157
157
|
slug: string;
|
|
@@ -5,7 +5,7 @@ export declare const WorkExperienceSchema: ObjectSchema<{
|
|
|
5
5
|
otherValue: string | string[];
|
|
6
6
|
} | Pick<{
|
|
7
7
|
updatedBy?: string | undefined;
|
|
8
|
-
updatedAt?:
|
|
8
|
+
updatedAt?: number | undefined;
|
|
9
9
|
socialAccounts?: {
|
|
10
10
|
type: NonNullable<import("../../common").SocialAccount | undefined>;
|
|
11
11
|
url: string;
|
|
@@ -52,7 +52,7 @@ export declare const WorkExperienceSchema: ObjectSchema<{
|
|
|
52
52
|
} | null;
|
|
53
53
|
shortId: string;
|
|
54
54
|
createdBy: string;
|
|
55
|
-
createdAt:
|
|
55
|
+
createdAt: number;
|
|
56
56
|
about: string;
|
|
57
57
|
website: string;
|
|
58
58
|
slug: string;
|
|
@@ -27,16 +27,16 @@ export declare const DbDefaultSchema: import("yup").ObjectSchema<{
|
|
|
27
27
|
id: string;
|
|
28
28
|
shortId: string;
|
|
29
29
|
createdBy: string;
|
|
30
|
-
createdAt:
|
|
30
|
+
createdAt: number;
|
|
31
31
|
updatedBy: string | undefined;
|
|
32
|
-
updatedAt:
|
|
32
|
+
updatedAt: number | undefined;
|
|
33
33
|
}, import("yup").AnyObject, {
|
|
34
34
|
id: undefined;
|
|
35
35
|
shortId: undefined;
|
|
36
36
|
createdBy: undefined;
|
|
37
|
-
createdAt:
|
|
37
|
+
createdAt: undefined;
|
|
38
38
|
updatedBy: undefined;
|
|
39
|
-
updatedAt:
|
|
39
|
+
updatedAt: undefined;
|
|
40
40
|
}, "">;
|
|
41
41
|
export type TDBDefaultSchema = InferType<typeof DbDefaultSchema>;
|
|
42
42
|
export declare const CompletenessScoreSchema: (minScore?: number) => import("yup").ObjectSchema<{
|
|
@@ -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;;;;;;;;;;;;;;MAYjB,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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { object, string, array, boolean, lazy, number,
|
|
1
|
+
import { object, string, array, boolean, lazy, number, } from "../yup-extended";
|
|
2
2
|
export const NameIdLogoSchema = object()
|
|
3
3
|
.shape({
|
|
4
4
|
id: string().objectId().required().label("Id"),
|
|
@@ -39,15 +39,9 @@ export const DbDefaultSchema = object()
|
|
|
39
39
|
id: string().objectId().required().label("Id"),
|
|
40
40
|
shortId: string().required().max(12).label("Short ID"),
|
|
41
41
|
createdBy: string().required().label("Created By"),
|
|
42
|
-
createdAt:
|
|
43
|
-
.required()
|
|
44
|
-
.typeError(`Create date must be a valid date`)
|
|
45
|
-
.label("Created At"),
|
|
42
|
+
createdAt: number().required().label("Created At"),
|
|
46
43
|
updatedBy: string().label("Updated By"),
|
|
47
|
-
updatedAt:
|
|
48
|
-
.optional()
|
|
49
|
-
.typeError(`Update date must be a valid date`)
|
|
50
|
-
.label("Updated At"),
|
|
44
|
+
updatedAt: number().optional().label("Updated At"),
|
|
51
45
|
})
|
|
52
46
|
.label("Db Default Schema")
|
|
53
47
|
.noUnknown()
|
|
@@ -15,11 +15,11 @@ export interface ITermsAndConditionSchema {
|
|
|
15
15
|
}
|
|
16
16
|
export interface IDBDefaultSchema {
|
|
17
17
|
updatedBy?: string | undefined;
|
|
18
|
-
updatedAt?:
|
|
18
|
+
updatedAt?: number | undefined;
|
|
19
19
|
id: string;
|
|
20
20
|
shortId: string;
|
|
21
21
|
createdBy: string;
|
|
22
|
-
createdAt:
|
|
22
|
+
createdAt: number;
|
|
23
23
|
}
|
|
24
24
|
export interface ICompletenessScoreSchema {
|
|
25
25
|
score: number;
|
|
@@ -127,7 +127,7 @@ export interface IGroupSchema {
|
|
|
127
127
|
}
|
|
128
128
|
export interface IJobSchema {
|
|
129
129
|
updatedBy?: string | undefined;
|
|
130
|
-
updatedAt?:
|
|
130
|
+
updatedAt?: number | undefined;
|
|
131
131
|
seoTags?: {
|
|
132
132
|
meta: {
|
|
133
133
|
description?: string | undefined;
|
|
@@ -206,7 +206,7 @@ export interface IJobSchema {
|
|
|
206
206
|
termsAccepted: NonNullable<boolean | undefined>;
|
|
207
207
|
shortId: string;
|
|
208
208
|
createdBy: string;
|
|
209
|
-
createdAt:
|
|
209
|
+
createdAt: number;
|
|
210
210
|
description: string;
|
|
211
211
|
slug: string;
|
|
212
212
|
headline: string;
|
|
@@ -229,7 +229,7 @@ export interface IJobSchema {
|
|
|
229
229
|
otherValue: string | string[];
|
|
230
230
|
} | Pick<{
|
|
231
231
|
updatedBy?: string | undefined;
|
|
232
|
-
updatedAt?:
|
|
232
|
+
updatedAt?: number | undefined;
|
|
233
233
|
headline?: string | undefined;
|
|
234
234
|
employeeCount?: string | undefined;
|
|
235
235
|
yearFounded?: string | undefined;
|
|
@@ -275,7 +275,7 @@ export interface IJobSchema {
|
|
|
275
275
|
} | null;
|
|
276
276
|
shortId: string;
|
|
277
277
|
createdBy: string;
|
|
278
|
-
createdAt:
|
|
278
|
+
createdAt: number;
|
|
279
279
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
280
280
|
slug: string;
|
|
281
281
|
about: string;
|
|
@@ -344,7 +344,7 @@ export interface IobRoleTemplate {
|
|
|
344
344
|
}
|
|
345
345
|
export interface IJobApplicationSchema {
|
|
346
346
|
updatedBy?: string | undefined;
|
|
347
|
-
updatedAt?:
|
|
347
|
+
updatedAt?: number | undefined;
|
|
348
348
|
score?: number | undefined;
|
|
349
349
|
questionnaire?: {
|
|
350
350
|
description?: string | undefined;
|
|
@@ -383,7 +383,7 @@ export interface IJobApplicationSchema {
|
|
|
383
383
|
id: string;
|
|
384
384
|
shortId: string;
|
|
385
385
|
createdBy: string;
|
|
386
|
-
createdAt:
|
|
386
|
+
createdAt: number;
|
|
387
387
|
userId: string;
|
|
388
388
|
email: string;
|
|
389
389
|
experienceLevel: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").ExperienceLevel | undefined>;
|
|
@@ -429,7 +429,7 @@ export interface IJobApplicationSchema {
|
|
|
429
429
|
otherValue: string | string[];
|
|
430
430
|
} | Pick<{
|
|
431
431
|
updatedBy?: string | undefined;
|
|
432
|
-
updatedAt?:
|
|
432
|
+
updatedAt?: number | undefined;
|
|
433
433
|
headline?: string | undefined;
|
|
434
434
|
employeeCount?: string | undefined;
|
|
435
435
|
yearFounded?: string | undefined;
|
|
@@ -475,7 +475,7 @@ export interface IJobApplicationSchema {
|
|
|
475
475
|
} | null;
|
|
476
476
|
shortId: string;
|
|
477
477
|
createdBy: string;
|
|
478
|
-
createdAt:
|
|
478
|
+
createdAt: number;
|
|
479
479
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
480
480
|
slug: string;
|
|
481
481
|
about: string;
|
|
@@ -539,7 +539,7 @@ export interface IJobApplicationSchema {
|
|
|
539
539
|
otherValue: string | string[];
|
|
540
540
|
} | Pick<{
|
|
541
541
|
updatedBy?: string | undefined;
|
|
542
|
-
updatedAt?:
|
|
542
|
+
updatedAt?: number | undefined;
|
|
543
543
|
headline?: string | undefined;
|
|
544
544
|
employeeCount?: string | undefined;
|
|
545
545
|
yearFounded?: string | undefined;
|
|
@@ -585,7 +585,7 @@ export interface IJobApplicationSchema {
|
|
|
585
585
|
} | null;
|
|
586
586
|
shortId: string;
|
|
587
587
|
createdBy: string;
|
|
588
|
-
createdAt:
|
|
588
|
+
createdAt: number;
|
|
589
589
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
590
590
|
slug: string;
|
|
591
591
|
about: string;
|
|
@@ -678,7 +678,7 @@ export interface ILocationSchema {
|
|
|
678
678
|
}
|
|
679
679
|
export interface IPageSchema {
|
|
680
680
|
updatedBy?: string | undefined;
|
|
681
|
-
updatedAt?:
|
|
681
|
+
updatedAt?: number | undefined;
|
|
682
682
|
headline?: string | undefined;
|
|
683
683
|
employeeCount?: string | undefined;
|
|
684
684
|
yearFounded?: string | undefined;
|
|
@@ -724,7 +724,7 @@ export interface IPageSchema {
|
|
|
724
724
|
} | null;
|
|
725
725
|
shortId: string;
|
|
726
726
|
createdBy: string;
|
|
727
|
-
createdAt:
|
|
727
|
+
createdAt: number;
|
|
728
728
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
729
729
|
slug: string;
|
|
730
730
|
about: string;
|
|
@@ -1067,11 +1067,11 @@ export interface IResumeSectionSchema {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
export interface IResumeSchema {
|
|
1069
1069
|
updatedBy?: string | undefined;
|
|
1070
|
-
updatedAt?:
|
|
1070
|
+
updatedAt?: number | undefined;
|
|
1071
1071
|
id: string;
|
|
1072
1072
|
shortId: string;
|
|
1073
1073
|
createdBy: string;
|
|
1074
|
-
createdAt:
|
|
1074
|
+
createdAt: number;
|
|
1075
1075
|
userId: string;
|
|
1076
1076
|
slug: string;
|
|
1077
1077
|
title: string;
|
|
@@ -1140,7 +1140,7 @@ export interface INewResumePromptSchema {
|
|
|
1140
1140
|
otherValue: string | string[];
|
|
1141
1141
|
} | Pick<{
|
|
1142
1142
|
updatedBy?: string | undefined;
|
|
1143
|
-
updatedAt?:
|
|
1143
|
+
updatedAt?: number | undefined;
|
|
1144
1144
|
headline?: string | undefined;
|
|
1145
1145
|
employeeCount?: string | undefined;
|
|
1146
1146
|
yearFounded?: string | undefined;
|
|
@@ -1186,7 +1186,7 @@ export interface INewResumePromptSchema {
|
|
|
1186
1186
|
} | null;
|
|
1187
1187
|
shortId: string;
|
|
1188
1188
|
createdBy: string;
|
|
1189
|
-
createdAt:
|
|
1189
|
+
createdAt: number;
|
|
1190
1190
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1191
1191
|
slug: string;
|
|
1192
1192
|
about: string;
|
|
@@ -1250,7 +1250,7 @@ export interface INewResumePromptSchema {
|
|
|
1250
1250
|
otherValue: string | string[];
|
|
1251
1251
|
} | Pick<{
|
|
1252
1252
|
updatedBy?: string | undefined;
|
|
1253
|
-
updatedAt?:
|
|
1253
|
+
updatedAt?: number | undefined;
|
|
1254
1254
|
headline?: string | undefined;
|
|
1255
1255
|
employeeCount?: string | undefined;
|
|
1256
1256
|
yearFounded?: string | undefined;
|
|
@@ -1296,7 +1296,7 @@ export interface INewResumePromptSchema {
|
|
|
1296
1296
|
} | null;
|
|
1297
1297
|
shortId: string;
|
|
1298
1298
|
createdBy: string;
|
|
1299
|
-
createdAt:
|
|
1299
|
+
createdAt: number;
|
|
1300
1300
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1301
1301
|
slug: string;
|
|
1302
1302
|
about: string;
|
|
@@ -1377,13 +1377,13 @@ export interface INewResumePromptSchema {
|
|
|
1377
1377
|
export interface ISkillSchema {
|
|
1378
1378
|
logo?: string | undefined;
|
|
1379
1379
|
updatedBy?: string | undefined;
|
|
1380
|
-
updatedAt?:
|
|
1380
|
+
updatedAt?: number | undefined;
|
|
1381
1381
|
tags?: (string | undefined)[] | undefined;
|
|
1382
1382
|
name: string;
|
|
1383
1383
|
id: string;
|
|
1384
1384
|
shortId: string;
|
|
1385
1385
|
createdBy: string;
|
|
1386
|
-
createdAt:
|
|
1386
|
+
createdAt: number;
|
|
1387
1387
|
}
|
|
1388
1388
|
export interface ISocialAccountSchema {
|
|
1389
1389
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/common/constants").SocialAccount | undefined>;
|
|
@@ -1450,7 +1450,7 @@ export interface IUpdateEducationsSchema {
|
|
|
1450
1450
|
otherValue: string | string[];
|
|
1451
1451
|
} | Pick<{
|
|
1452
1452
|
updatedBy?: string | undefined;
|
|
1453
|
-
updatedAt?:
|
|
1453
|
+
updatedAt?: number | undefined;
|
|
1454
1454
|
headline?: string | undefined;
|
|
1455
1455
|
employeeCount?: string | undefined;
|
|
1456
1456
|
yearFounded?: string | undefined;
|
|
@@ -1496,7 +1496,7 @@ export interface IUpdateEducationsSchema {
|
|
|
1496
1496
|
} | null;
|
|
1497
1497
|
shortId: string;
|
|
1498
1498
|
createdBy: string;
|
|
1499
|
-
createdAt:
|
|
1499
|
+
createdAt: number;
|
|
1500
1500
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1501
1501
|
slug: string;
|
|
1502
1502
|
about: string;
|
|
@@ -1599,7 +1599,7 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1599
1599
|
otherValue: string | string[];
|
|
1600
1600
|
} | Pick<{
|
|
1601
1601
|
updatedBy?: string | undefined;
|
|
1602
|
-
updatedAt?:
|
|
1602
|
+
updatedAt?: number | undefined;
|
|
1603
1603
|
headline?: string | undefined;
|
|
1604
1604
|
employeeCount?: string | undefined;
|
|
1605
1605
|
yearFounded?: string | undefined;
|
|
@@ -1645,7 +1645,7 @@ export interface IUpdateWorkExperiencesSchema {
|
|
|
1645
1645
|
} | null;
|
|
1646
1646
|
shortId: string;
|
|
1647
1647
|
createdBy: string;
|
|
1648
|
-
createdAt:
|
|
1648
|
+
createdAt: number;
|
|
1649
1649
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1650
1650
|
slug: string;
|
|
1651
1651
|
about: string;
|
|
@@ -1801,7 +1801,7 @@ export interface IUserSchema {
|
|
|
1801
1801
|
otherValue: string | string[];
|
|
1802
1802
|
} | Pick<{
|
|
1803
1803
|
updatedBy?: string | undefined;
|
|
1804
|
-
updatedAt?:
|
|
1804
|
+
updatedAt?: number | undefined;
|
|
1805
1805
|
headline?: string | undefined;
|
|
1806
1806
|
employeeCount?: string | undefined;
|
|
1807
1807
|
yearFounded?: string | undefined;
|
|
@@ -1847,7 +1847,7 @@ export interface IUserSchema {
|
|
|
1847
1847
|
} | null;
|
|
1848
1848
|
shortId: string;
|
|
1849
1849
|
createdBy: string;
|
|
1850
|
-
createdAt:
|
|
1850
|
+
createdAt: number;
|
|
1851
1851
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1852
1852
|
slug: string;
|
|
1853
1853
|
about: string;
|
|
@@ -1911,7 +1911,7 @@ export interface IUserSchema {
|
|
|
1911
1911
|
otherValue: string | string[];
|
|
1912
1912
|
} | Pick<{
|
|
1913
1913
|
updatedBy?: string | undefined;
|
|
1914
|
-
updatedAt?:
|
|
1914
|
+
updatedAt?: number | undefined;
|
|
1915
1915
|
headline?: string | undefined;
|
|
1916
1916
|
employeeCount?: string | undefined;
|
|
1917
1917
|
yearFounded?: string | undefined;
|
|
@@ -1957,7 +1957,7 @@ export interface IUserSchema {
|
|
|
1957
1957
|
} | null;
|
|
1958
1958
|
shortId: string;
|
|
1959
1959
|
createdBy: string;
|
|
1960
|
-
createdAt:
|
|
1960
|
+
createdAt: number;
|
|
1961
1961
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
1962
1962
|
slug: string;
|
|
1963
1963
|
about: string;
|
|
@@ -2069,7 +2069,7 @@ export interface IserProfileOverview {
|
|
|
2069
2069
|
otherValue: string | string[];
|
|
2070
2070
|
} | Pick<{
|
|
2071
2071
|
updatedBy?: string | undefined;
|
|
2072
|
-
updatedAt?:
|
|
2072
|
+
updatedAt?: number | undefined;
|
|
2073
2073
|
headline?: string | undefined;
|
|
2074
2074
|
employeeCount?: string | undefined;
|
|
2075
2075
|
yearFounded?: string | undefined;
|
|
@@ -2115,7 +2115,7 @@ export interface IserProfileOverview {
|
|
|
2115
2115
|
} | null;
|
|
2116
2116
|
shortId: string;
|
|
2117
2117
|
createdBy: string;
|
|
2118
|
-
createdAt:
|
|
2118
|
+
createdAt: number;
|
|
2119
2119
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2120
2120
|
slug: string;
|
|
2121
2121
|
about: string;
|
|
@@ -2179,7 +2179,7 @@ export interface IserProfileOverview {
|
|
|
2179
2179
|
otherValue: string | string[];
|
|
2180
2180
|
} | Pick<{
|
|
2181
2181
|
updatedBy?: string | undefined;
|
|
2182
|
-
updatedAt?:
|
|
2182
|
+
updatedAt?: number | undefined;
|
|
2183
2183
|
headline?: string | undefined;
|
|
2184
2184
|
employeeCount?: string | undefined;
|
|
2185
2185
|
yearFounded?: string | undefined;
|
|
@@ -2225,7 +2225,7 @@ export interface IserProfileOverview {
|
|
|
2225
2225
|
} | null;
|
|
2226
2226
|
shortId: string;
|
|
2227
2227
|
createdBy: string;
|
|
2228
|
-
createdAt:
|
|
2228
|
+
createdAt: number;
|
|
2229
2229
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2230
2230
|
slug: string;
|
|
2231
2231
|
about: string;
|
|
@@ -2303,7 +2303,7 @@ export interface IEducationSchema {
|
|
|
2303
2303
|
otherValue: string | string[];
|
|
2304
2304
|
} | Pick<{
|
|
2305
2305
|
updatedBy?: string | undefined;
|
|
2306
|
-
updatedAt?:
|
|
2306
|
+
updatedAt?: number | undefined;
|
|
2307
2307
|
headline?: string | undefined;
|
|
2308
2308
|
employeeCount?: string | undefined;
|
|
2309
2309
|
yearFounded?: string | undefined;
|
|
@@ -2349,7 +2349,7 @@ export interface IEducationSchema {
|
|
|
2349
2349
|
} | null;
|
|
2350
2350
|
shortId: string;
|
|
2351
2351
|
createdBy: string;
|
|
2352
|
-
createdAt:
|
|
2352
|
+
createdAt: number;
|
|
2353
2353
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2354
2354
|
slug: string;
|
|
2355
2355
|
about: string;
|
|
@@ -2476,7 +2476,7 @@ export interface IWorkExperienceSchema {
|
|
|
2476
2476
|
otherValue: string | string[];
|
|
2477
2477
|
} | Pick<{
|
|
2478
2478
|
updatedBy?: string | undefined;
|
|
2479
|
-
updatedAt?:
|
|
2479
|
+
updatedAt?: number | undefined;
|
|
2480
2480
|
headline?: string | undefined;
|
|
2481
2481
|
employeeCount?: string | undefined;
|
|
2482
2482
|
yearFounded?: string | undefined;
|
|
@@ -2522,7 +2522,7 @@ export interface IWorkExperienceSchema {
|
|
|
2522
2522
|
} | null;
|
|
2523
2523
|
shortId: string;
|
|
2524
2524
|
createdBy: string;
|
|
2525
|
-
createdAt:
|
|
2525
|
+
createdAt: number;
|
|
2526
2526
|
type: NonNullable<import("/Users/nadeem.ahmad/Documents/GitHub/thejob-yup-schema/src/page/page.constant").PageType | undefined>;
|
|
2527
2527
|
slug: string;
|
|
2528
2528
|
about: string;
|
|
@@ -12,7 +12,7 @@ export declare const JobSchema: ObjectSchema<{
|
|
|
12
12
|
otherValue: string | string[];
|
|
13
13
|
} | Pick<{
|
|
14
14
|
updatedBy?: string | undefined;
|
|
15
|
-
updatedAt?:
|
|
15
|
+
updatedAt?: number | undefined;
|
|
16
16
|
socialAccounts?: {
|
|
17
17
|
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
18
18
|
url: string;
|
|
@@ -59,7 +59,7 @@ export declare const JobSchema: ObjectSchema<{
|
|
|
59
59
|
} | null;
|
|
60
60
|
shortId: string;
|
|
61
61
|
createdBy: string;
|
|
62
|
-
createdAt:
|
|
62
|
+
createdAt: number;
|
|
63
63
|
about: string;
|
|
64
64
|
website: string;
|
|
65
65
|
slug: string;
|
|
@@ -180,9 +180,9 @@ export declare const JobSchema: ObjectSchema<{
|
|
|
180
180
|
id: string;
|
|
181
181
|
shortId: string;
|
|
182
182
|
createdBy: string;
|
|
183
|
-
createdAt:
|
|
183
|
+
createdAt: number;
|
|
184
184
|
updatedBy: string | undefined;
|
|
185
|
-
updatedAt:
|
|
185
|
+
updatedAt: number | undefined;
|
|
186
186
|
}, import("yup").AnyObject, {
|
|
187
187
|
headline: undefined;
|
|
188
188
|
slug: undefined;
|
|
@@ -230,9 +230,9 @@ export declare const JobSchema: ObjectSchema<{
|
|
|
230
230
|
id: undefined;
|
|
231
231
|
shortId: undefined;
|
|
232
232
|
createdBy: undefined;
|
|
233
|
-
createdAt:
|
|
233
|
+
createdAt: undefined;
|
|
234
234
|
updatedBy: undefined;
|
|
235
|
-
updatedAt:
|
|
235
|
+
updatedAt: undefined;
|
|
236
236
|
}, "">;
|
|
237
237
|
export type TJobSchema = InferType<typeof JobSchema>;
|
|
238
238
|
//# sourceMappingURL=job.schema.d.ts.map
|
|
@@ -42,7 +42,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
42
42
|
otherValue: string | string[];
|
|
43
43
|
} | Pick<{
|
|
44
44
|
updatedBy?: string | undefined;
|
|
45
|
-
updatedAt?:
|
|
45
|
+
updatedAt?: number | undefined;
|
|
46
46
|
socialAccounts?: {
|
|
47
47
|
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
48
48
|
url: string;
|
|
@@ -89,7 +89,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
89
89
|
} | null;
|
|
90
90
|
shortId: string;
|
|
91
91
|
createdBy: string;
|
|
92
|
-
createdAt:
|
|
92
|
+
createdAt: number;
|
|
93
93
|
about: string;
|
|
94
94
|
website: string;
|
|
95
95
|
slug: string;
|
|
@@ -134,7 +134,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
134
134
|
otherValue: string | string[];
|
|
135
135
|
} | Pick<{
|
|
136
136
|
updatedBy?: string | undefined;
|
|
137
|
-
updatedAt?:
|
|
137
|
+
updatedAt?: number | undefined;
|
|
138
138
|
socialAccounts?: {
|
|
139
139
|
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
140
140
|
url: string;
|
|
@@ -181,7 +181,7 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
181
181
|
} | null;
|
|
182
182
|
shortId: string;
|
|
183
183
|
createdBy: string;
|
|
184
|
-
createdAt:
|
|
184
|
+
createdAt: number;
|
|
185
185
|
about: string;
|
|
186
186
|
website: string;
|
|
187
187
|
slug: string;
|
|
@@ -272,9 +272,9 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
272
272
|
id: string;
|
|
273
273
|
shortId: string;
|
|
274
274
|
createdBy: string;
|
|
275
|
-
createdAt:
|
|
275
|
+
createdAt: number;
|
|
276
276
|
updatedBy: string | undefined;
|
|
277
|
-
updatedAt:
|
|
277
|
+
updatedAt: number | undefined;
|
|
278
278
|
}, import("yup").AnyObject, {
|
|
279
279
|
name: {
|
|
280
280
|
first: undefined;
|
|
@@ -301,9 +301,9 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
301
301
|
id: undefined;
|
|
302
302
|
shortId: undefined;
|
|
303
303
|
createdBy: undefined;
|
|
304
|
-
createdAt:
|
|
304
|
+
createdAt: undefined;
|
|
305
305
|
updatedBy: undefined;
|
|
306
|
-
updatedAt:
|
|
306
|
+
updatedAt: undefined;
|
|
307
307
|
};
|
|
308
308
|
status: JobApplicationStatus.Open;
|
|
309
309
|
questionnaire: "";
|
|
@@ -311,9 +311,9 @@ export declare const JobApplicationSchema: ObjectSchema<{
|
|
|
311
311
|
id: undefined;
|
|
312
312
|
shortId: undefined;
|
|
313
313
|
createdBy: undefined;
|
|
314
|
-
createdAt:
|
|
314
|
+
createdAt: undefined;
|
|
315
315
|
updatedBy: undefined;
|
|
316
|
-
updatedAt:
|
|
316
|
+
updatedAt: undefined;
|
|
317
317
|
}, "">;
|
|
318
318
|
export type TJobApplicationSchema = InferType<typeof JobApplicationSchema>;
|
|
319
319
|
//# sourceMappingURL=job-application.schema.d.ts.map
|
|
@@ -89,9 +89,9 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
89
89
|
id: undefined;
|
|
90
90
|
shortId: undefined;
|
|
91
91
|
createdBy: undefined;
|
|
92
|
-
createdAt:
|
|
92
|
+
createdAt: undefined;
|
|
93
93
|
updatedBy: undefined;
|
|
94
|
-
updatedAt:
|
|
94
|
+
updatedAt: undefined;
|
|
95
95
|
}, "">;
|
|
96
96
|
export type TJobRoleTemplateSchema = InferType<typeof JobRoleTemplateSchema>;
|
|
97
97
|
//# sourceMappingURL=job-role-template.schema.d.ts.map
|
|
@@ -57,9 +57,9 @@ export declare const PageSchema: import("yup").ObjectSchema<NonNullable<{
|
|
|
57
57
|
id: string;
|
|
58
58
|
shortId: string;
|
|
59
59
|
createdBy: string;
|
|
60
|
-
createdAt:
|
|
60
|
+
createdAt: number;
|
|
61
61
|
updatedBy: string | undefined;
|
|
62
|
-
updatedAt:
|
|
62
|
+
updatedAt: number | undefined;
|
|
63
63
|
}>, import("yup").AnyObject, {
|
|
64
64
|
id: undefined;
|
|
65
65
|
shortId: undefined;
|
|
@@ -81,9 +81,9 @@ export declare const PageSchema: import("yup").ObjectSchema<NonNullable<{
|
|
|
81
81
|
equalOpportunityEmployer: undefined;
|
|
82
82
|
perksAndBenefits: "";
|
|
83
83
|
createdBy: undefined;
|
|
84
|
-
createdAt:
|
|
84
|
+
createdAt: undefined;
|
|
85
85
|
updatedBy: undefined;
|
|
86
|
-
updatedAt:
|
|
86
|
+
updatedAt: undefined;
|
|
87
87
|
}, "">;
|
|
88
88
|
export type TPageSchema = InferType<typeof PageSchema>;
|
|
89
89
|
//# sourceMappingURL=page.schema.d.ts.map
|
|
@@ -245,9 +245,9 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
|
|
|
245
245
|
id: string;
|
|
246
246
|
shortId: string;
|
|
247
247
|
createdBy: string;
|
|
248
|
-
createdAt:
|
|
248
|
+
createdAt: number;
|
|
249
249
|
updatedBy: string | undefined;
|
|
250
|
-
updatedAt:
|
|
250
|
+
updatedAt: number | undefined;
|
|
251
251
|
}, import("yup").AnyObject, {
|
|
252
252
|
title: undefined;
|
|
253
253
|
userId: undefined;
|
|
@@ -258,9 +258,9 @@ export declare const ResumeSchema: import("yup").ObjectSchema<{
|
|
|
258
258
|
id: undefined;
|
|
259
259
|
shortId: undefined;
|
|
260
260
|
createdBy: undefined;
|
|
261
|
-
createdAt:
|
|
261
|
+
createdAt: undefined;
|
|
262
262
|
updatedBy: undefined;
|
|
263
|
-
updatedAt:
|
|
263
|
+
updatedAt: undefined;
|
|
264
264
|
}, "">;
|
|
265
265
|
export type TResumeSchema = InferType<typeof ResumeSchema>;
|
|
266
266
|
export declare const NewResumePromptSchema: (host?: string) => import("yup").ObjectSchema<{
|
|
@@ -292,7 +292,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
292
292
|
otherValue: string | string[];
|
|
293
293
|
} | Pick<{
|
|
294
294
|
updatedBy?: string | undefined;
|
|
295
|
-
updatedAt?:
|
|
295
|
+
updatedAt?: number | undefined;
|
|
296
296
|
socialAccounts?: {
|
|
297
297
|
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
298
298
|
url: string;
|
|
@@ -339,7 +339,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
339
339
|
} | null;
|
|
340
340
|
shortId: string;
|
|
341
341
|
createdBy: string;
|
|
342
|
-
createdAt:
|
|
342
|
+
createdAt: number;
|
|
343
343
|
about: string;
|
|
344
344
|
website: string;
|
|
345
345
|
slug: string;
|
|
@@ -384,7 +384,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
384
384
|
otherValue: string | string[];
|
|
385
385
|
} | Pick<{
|
|
386
386
|
updatedBy?: string | undefined;
|
|
387
|
-
updatedAt?:
|
|
387
|
+
updatedAt?: number | undefined;
|
|
388
388
|
socialAccounts?: {
|
|
389
389
|
type: NonNullable<import("../common").SocialAccount | undefined>;
|
|
390
390
|
url: string;
|
|
@@ -431,7 +431,7 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
|
|
|
431
431
|
} | null;
|
|
432
432
|
shortId: string;
|
|
433
433
|
createdBy: string;
|
|
434
|
-
createdAt:
|
|
434
|
+
createdAt: number;
|
|
435
435
|
about: string;
|
|
436
436
|
website: string;
|
|
437
437
|
slug: string;
|
|
@@ -7,9 +7,9 @@ export declare const SkillSchema: import("yup").ObjectSchema<{
|
|
|
7
7
|
id: string;
|
|
8
8
|
shortId: string;
|
|
9
9
|
createdBy: string;
|
|
10
|
-
createdAt:
|
|
10
|
+
createdAt: number;
|
|
11
11
|
updatedBy: string | undefined;
|
|
12
|
-
updatedAt:
|
|
12
|
+
updatedAt: number | undefined;
|
|
13
13
|
}, import("yup").AnyObject, {
|
|
14
14
|
name: undefined;
|
|
15
15
|
logo: undefined;
|
|
@@ -17,9 +17,9 @@ export declare const SkillSchema: import("yup").ObjectSchema<{
|
|
|
17
17
|
id: undefined;
|
|
18
18
|
shortId: undefined;
|
|
19
19
|
createdBy: undefined;
|
|
20
|
-
createdAt:
|
|
20
|
+
createdAt: undefined;
|
|
21
21
|
updatedBy: undefined;
|
|
22
|
-
updatedAt:
|
|
22
|
+
updatedAt: undefined;
|
|
23
23
|
}, "">;
|
|
24
24
|
export type TSkillSchema = InferType<typeof SkillSchema>;
|
|
25
25
|
//# sourceMappingURL=skill.schema.d.ts.map
|