@thejob/schema 1.0.14 → 1.0.16

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.
Files changed (37) hide show
  1. package/dist/cjs/common/common.schema.d.ts +4 -4
  2. package/dist/cjs/common/common.schema.d.ts.map +1 -1
  3. package/dist/cjs/common/common.schema.js +2 -8
  4. package/dist/cjs/interfaces.index.d.ts +40 -40
  5. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  6. package/dist/cjs/job/job.schema.d.ts +6 -6
  7. package/dist/cjs/job-application/job-application.schema.d.ts +10 -10
  8. package/dist/cjs/job-role-template/job-role-template.schema.d.ts +2 -2
  9. package/dist/cjs/page/page.schema.d.ts +4 -4
  10. package/dist/cjs/resume/resume.schema.d.ts +9 -11
  11. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  12. package/dist/cjs/resume/resume.schema.js +1 -1
  13. package/dist/cjs/skill/skill.schema.d.ts +4 -4
  14. package/dist/cjs/user/education/education.schema.d.ts +2 -2
  15. package/dist/cjs/user/update-education.schema.d.ts +2 -2
  16. package/dist/cjs/user/update-work-experience.schema.d.ts +2 -2
  17. package/dist/cjs/user/user.schema.d.ts +4 -4
  18. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +2 -2
  19. package/dist/esm/common/common.schema.d.ts +4 -4
  20. package/dist/esm/common/common.schema.d.ts.map +1 -1
  21. package/dist/esm/common/common.schema.js +3 -9
  22. package/dist/esm/interfaces.index.d.ts +40 -40
  23. package/dist/esm/interfaces.index.d.ts.map +1 -1
  24. package/dist/esm/job/job.schema.d.ts +6 -6
  25. package/dist/esm/job-application/job-application.schema.d.ts +10 -10
  26. package/dist/esm/job-role-template/job-role-template.schema.d.ts +2 -2
  27. package/dist/esm/page/page.schema.d.ts +4 -4
  28. package/dist/esm/resume/resume.schema.d.ts +9 -11
  29. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  30. package/dist/esm/resume/resume.schema.js +1 -1
  31. package/dist/esm/skill/skill.schema.d.ts +4 -4
  32. package/dist/esm/user/education/education.schema.d.ts +2 -2
  33. package/dist/esm/user/update-education.schema.d.ts +2 -2
  34. package/dist/esm/user/update-work-experience.schema.d.ts +2 -2
  35. package/dist/esm/user/user.schema.d.ts +4 -4
  36. package/dist/esm/user/work-experience/work-experience.schema.d.ts +2 -2
  37. package/package.json +1 -1
@@ -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: string;
10
+ createdAt: number;
11
11
  updatedBy: string | undefined;
12
- updatedAt: string | undefined;
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: string;
20
+ createdAt: undefined;
21
21
  updatedBy: undefined;
22
- updatedAt: string;
22
+ updatedAt: undefined;
23
23
  }, "">;
24
24
  export type TSkillSchema = InferType<typeof SkillSchema>;
25
25
  //# sourceMappingURL=skill.schema.d.ts.map
@@ -5,7 +5,7 @@ export declare const EducationSchema: ObjectSchema<{
5
5
  otherValue: string | string[];
6
6
  } | Pick<{
7
7
  updatedBy?: string | undefined;
8
- updatedAt?: string | undefined;
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 EducationSchema: ObjectSchema<{
52
52
  } | null;
53
53
  shortId: string;
54
54
  createdBy: string;
55
- createdAt: string;
55
+ createdAt: number;
56
56
  about: string;
57
57
  website: string;
58
58
  slug: string;
@@ -10,7 +10,7 @@ export declare const UpdateEducationsSchema: import("yup").ObjectSchema<{
10
10
  otherValue: string | string[];
11
11
  } | Pick<{
12
12
  updatedBy?: string | undefined;
13
- updatedAt?: string | undefined;
13
+ updatedAt?: number | undefined;
14
14
  socialAccounts?: {
15
15
  type: NonNullable<import("..").SocialAccount | undefined>;
16
16
  url: string;
@@ -57,7 +57,7 @@ export declare const UpdateEducationsSchema: import("yup").ObjectSchema<{
57
57
  } | null;
58
58
  shortId: string;
59
59
  createdBy: string;
60
- createdAt: string;
60
+ createdAt: number;
61
61
  about: string;
62
62
  website: string;
63
63
  slug: string;
@@ -7,7 +7,7 @@ export declare const UpdateWorkExperiencesSchema: import("yup").ObjectSchema<{
7
7
  otherValue: string | string[];
8
8
  } | Pick<{
9
9
  updatedBy?: string | undefined;
10
- updatedAt?: string | undefined;
10
+ updatedAt?: number | undefined;
11
11
  socialAccounts?: {
12
12
  type: NonNullable<import("..").SocialAccount | undefined>;
13
13
  url: string;
@@ -54,7 +54,7 @@ export declare const UpdateWorkExperiencesSchema: import("yup").ObjectSchema<{
54
54
  } | null;
55
55
  shortId: string;
56
56
  createdBy: string;
57
- createdAt: string;
57
+ createdAt: number;
58
58
  about: string;
59
59
  website: string;
60
60
  slug: string;
@@ -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?: string | undefined;
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: string;
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?: string | undefined;
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: string;
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?: string | undefined;
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: string;
55
+ createdAt: number;
56
56
  about: string;
57
57
  website: string;
58
58
  slug: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thejob/schema",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",