@thejob/schema 1.0.60 → 1.0.62

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 (45) hide show
  1. package/dist/cjs/interfaces.index.d.ts +179 -1211
  2. package/dist/cjs/interfaces.index.d.ts.map +1 -1
  3. package/dist/cjs/job/job.schema.d.ts +1 -1
  4. package/dist/cjs/job-application/job-application.schema.d.ts +22 -151
  5. package/dist/cjs/job-application/job-application.schema.d.ts.map +1 -1
  6. package/dist/cjs/page/page.schema.d.ts +1 -1
  7. package/dist/cjs/page/page.schema.d.ts.map +1 -1
  8. package/dist/cjs/page/page.schema.js +1 -16
  9. package/dist/cjs/resume/resume.schema.d.ts +44 -302
  10. package/dist/cjs/resume/resume.schema.d.ts.map +1 -1
  11. package/dist/cjs/user/education/education.schema.d.ts +44 -82
  12. package/dist/cjs/user/education/education.schema.d.ts.map +1 -1
  13. package/dist/cjs/user/education/education.schema.js +41 -12
  14. package/dist/cjs/user/update-education.schema.d.ts +12 -79
  15. package/dist/cjs/user/update-education.schema.d.ts.map +1 -1
  16. package/dist/cjs/user/update-work-experience.schema.d.ts +10 -72
  17. package/dist/cjs/user/update-work-experience.schema.d.ts.map +1 -1
  18. package/dist/cjs/user/user.schema.d.ts +22 -151
  19. package/dist/cjs/user/user.schema.d.ts.map +1 -1
  20. package/dist/cjs/user/work-experience/work-experience.schema.d.ts +39 -74
  21. package/dist/cjs/user/work-experience/work-experience.schema.d.ts.map +1 -1
  22. package/dist/cjs/user/work-experience/work-experience.schema.js +9 -10
  23. package/dist/esm/interfaces.index.d.ts +179 -1211
  24. package/dist/esm/interfaces.index.d.ts.map +1 -1
  25. package/dist/esm/job/job.schema.d.ts +1 -1
  26. package/dist/esm/job-application/job-application.schema.d.ts +22 -151
  27. package/dist/esm/job-application/job-application.schema.d.ts.map +1 -1
  28. package/dist/esm/page/page.schema.d.ts +1 -1
  29. package/dist/esm/page/page.schema.d.ts.map +1 -1
  30. package/dist/esm/page/page.schema.js +1 -16
  31. package/dist/esm/resume/resume.schema.d.ts +44 -302
  32. package/dist/esm/resume/resume.schema.d.ts.map +1 -1
  33. package/dist/esm/user/education/education.schema.d.ts +44 -82
  34. package/dist/esm/user/education/education.schema.d.ts.map +1 -1
  35. package/dist/esm/user/education/education.schema.js +43 -14
  36. package/dist/esm/user/update-education.schema.d.ts +12 -79
  37. package/dist/esm/user/update-education.schema.d.ts.map +1 -1
  38. package/dist/esm/user/update-work-experience.schema.d.ts +10 -72
  39. package/dist/esm/user/update-work-experience.schema.d.ts.map +1 -1
  40. package/dist/esm/user/user.schema.d.ts +22 -151
  41. package/dist/esm/user/user.schema.d.ts.map +1 -1
  42. package/dist/esm/user/work-experience/work-experience.schema.d.ts +39 -74
  43. package/dist/esm/user/work-experience/work-experience.schema.d.ts.map +1 -1
  44. package/dist/esm/user/work-experience/work-experience.schema.js +10 -11
  45. package/package.json +1 -1
@@ -35,72 +35,15 @@ export declare const JobApplicationSchema: ObjectSchema<{
35
35
  };
36
36
  recentWork: {
37
37
  description?: string | undefined;
38
- company: NonNullable<{
39
- value: "others" | (string | undefined)[];
40
- otherValue: string | string[];
41
- } | Pick<{
42
- updatedBy?: string | undefined;
43
- updatedAt?: number | undefined;
44
- socialAccounts?: {
45
- type: NonNullable<import("../common").SocialAccount | undefined>;
46
- url: string;
47
- isNew: boolean;
48
- }[] | undefined;
49
- perksAndBenefits?: {
50
- category?: {
51
- logo?: string | undefined;
52
- name: string;
53
- id: string;
54
- } | {
55
- value: "others" | (string | undefined)[];
56
- otherValue: string | string[];
57
- } | undefined;
58
- name: string;
59
- description: string;
60
- }[] | undefined;
61
- locations?: {
62
- coverImage?: string | undefined;
63
- name: string;
64
- isHeadquarters: boolean;
65
- contact: {
66
- email?: string | undefined;
67
- phone?: string | undefined;
68
- address: string;
69
- };
70
- }[] | undefined;
71
- equalOpportunityEmployer?: boolean | undefined;
72
- headline?: string | undefined;
73
- employeeCount?: string | undefined;
74
- yearFounded?: string | undefined;
75
- contacts?: {
76
- label?: string | undefined;
77
- type: NonNullable<import("..").ContactTypes | undefined>;
78
- value: string;
79
- isPrimary: boolean;
80
- isVerified: boolean;
81
- }[] | undefined;
82
- verified?: Date | undefined;
83
- isOwner?: boolean | undefined;
84
- type: NonNullable<import("..").PageType | undefined>;
38
+ company: {
39
+ logo?: {
40
+ dark?: string | null | undefined;
41
+ light?: string | undefined;
42
+ } | null | undefined;
43
+ slug?: string | undefined;
44
+ type: import("..").PageType;
85
45
  name: string;
86
- id: string;
87
- logo: {
88
- dark?: string | undefined;
89
- light: string;
90
- } | null;
91
- shortId: string;
92
- createdBy: string;
93
- createdAt: number;
94
- about: string;
95
- website: string;
96
- slug: string;
97
- categories: {
98
- logo?: string | undefined;
99
- name: string;
100
- id: string;
101
- }[];
102
- status: NonNullable<import("..").PageStatus | undefined>;
103
- }, "type" | "name" | "logo" | "slug"> | undefined>;
46
+ };
104
47
  duration: {
105
48
  startDate: string;
106
49
  endDate: string;
@@ -118,100 +61,28 @@ export declare const JobApplicationSchema: ObjectSchema<{
118
61
  coordinates: number[];
119
62
  };
120
63
  };
121
- designation: NonNullable<{
122
- logo?: string | undefined;
64
+ designation: {
123
65
  name: string;
124
- id: string;
125
- } | {
126
- value: "others" | (string | undefined)[];
127
- otherValue: string | string[];
128
- } | undefined>;
66
+ };
129
67
  isRemote: boolean;
130
68
  };
131
69
  recentEducation: {
132
70
  description?: string | undefined;
133
- institute: NonNullable<{
134
- value: "others" | (string | undefined)[];
135
- otherValue: string | string[];
136
- } | Pick<{
137
- updatedBy?: string | undefined;
138
- updatedAt?: number | undefined;
139
- socialAccounts?: {
140
- type: NonNullable<import("../common").SocialAccount | undefined>;
141
- url: string;
142
- isNew: boolean;
143
- }[] | undefined;
144
- perksAndBenefits?: {
145
- category?: {
146
- logo?: string | undefined;
147
- name: string;
148
- id: string;
149
- } | {
150
- value: "others" | (string | undefined)[];
151
- otherValue: string | string[];
152
- } | undefined;
153
- name: string;
154
- description: string;
155
- }[] | undefined;
156
- locations?: {
157
- coverImage?: string | undefined;
158
- name: string;
159
- isHeadquarters: boolean;
160
- contact: {
161
- email?: string | undefined;
162
- phone?: string | undefined;
163
- address: string;
164
- };
165
- }[] | undefined;
166
- equalOpportunityEmployer?: boolean | undefined;
167
- headline?: string | undefined;
168
- employeeCount?: string | undefined;
169
- yearFounded?: string | undefined;
170
- contacts?: {
171
- label?: string | undefined;
172
- type: NonNullable<import("..").ContactTypes | undefined>;
173
- value: string;
174
- isPrimary: boolean;
175
- isVerified: boolean;
176
- }[] | undefined;
177
- verified?: Date | undefined;
178
- isOwner?: boolean | undefined;
179
- type: NonNullable<import("..").PageType | undefined>;
71
+ institute: {
72
+ logo?: {
73
+ dark?: string | null | undefined;
74
+ light?: string | undefined;
75
+ } | null | undefined;
76
+ slug?: string | undefined;
77
+ type: import("..").PageType;
180
78
  name: string;
181
- id: string;
182
- logo: {
183
- dark?: string | undefined;
184
- light: string;
185
- } | null;
186
- shortId: string;
187
- createdBy: string;
188
- createdAt: number;
189
- about: string;
190
- website: string;
191
- slug: string;
192
- categories: {
193
- logo?: string | undefined;
194
- name: string;
195
- id: string;
196
- }[];
197
- status: NonNullable<import("..").PageStatus | undefined>;
198
- }, "type" | "name" | "logo" | "slug"> | undefined>;
199
- course: NonNullable<{
200
- logo?: string | undefined;
79
+ };
80
+ course: {
201
81
  name: string;
202
- id: string;
203
- } | {
204
- value: "others" | (string | undefined)[];
205
- otherValue: string | string[];
206
- } | undefined>;
207
- fieldOfStudy: NonNullable<NonNullable<{
208
- logo?: string | undefined;
82
+ };
83
+ fieldOfStudy: {
209
84
  name: string;
210
- id: string;
211
- } | {
212
- value: "others" | (string | undefined)[];
213
- otherValue: string | string[];
214
- } | undefined>>;
85
+ };
215
86
  isDistanceLearning: boolean;
216
87
  studyType: NonNullable<import("../common").StudyType | undefined>;
217
88
  duration: {
@@ -1 +1 @@
1
- {"version":3,"file":"job-application.schema.d.ts","sourceRoot":"","sources":["../../../src/job-application/job-application.schema.ts"],"names":[],"mappings":"AAYA,OAAO,EAIL,SAAS,EAIT,YAAY,EAEb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EAGrB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiHN,CAAC;AAE5B,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"job-application.schema.d.ts","sourceRoot":"","sources":["../../../src/job-application/job-application.schema.ts"],"names":[],"mappings":"AAYA,OAAO,EAIL,SAAS,EAIT,YAAY,EAEb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,EAGrB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiHN,CAAC;AAE5B,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -29,7 +29,7 @@ export declare const PageSchema: import("yup").ObjectSchema<NonNullable<{
29
29
  }[] | undefined;
30
30
  verified: Date | undefined;
31
31
  logo: {
32
- dark?: string | undefined;
32
+ dark?: string | null | undefined;
33
33
  light: string;
34
34
  } | null;
35
35
  categories: {
@@ -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;AAUzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2EA,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}
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;AAUzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4DA,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -33,24 +33,9 @@ export const PageSchema = object()
33
33
  .optional()
34
34
  .label("Contacts"),
35
35
  verified: date().optional().label("Verified"),
36
- // logoFile: object()
37
- // .shape({
38
- // light: file()
39
- // .maxSize(MaxFileSize)
40
- // .mimeType([MimeType.PNG, MimeType.JPEG, MimeType.JPG])
41
- // .required()
42
- // .label("Light Logo"),
43
- // dark: file()
44
- // .maxSize(MaxFileSize)
45
- // .mimeType([MimeType.PNG, MimeType.JPEG, MimeType.JPG])
46
- // .optional()
47
- // .label("Dark Logo"),
48
- // })
49
- // .required()
50
- // .label("Logo File"),
51
36
  logo: object()
52
37
  .shape({
53
- dark: string().label("Dark Logo"),
38
+ dark: string().optional().nullable().label("Dark Logo"),
54
39
  light: string().required().label("Light Logo"),
55
40
  })
56
41
  .optional()
@@ -114,72 +114,15 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
114
114
  };
115
115
  } | {
116
116
  description?: string | undefined;
117
- company: NonNullable<{
118
- value: "others" | (string | undefined)[];
119
- otherValue: string | string[];
120
- } | Pick<{
121
- updatedBy?: string | undefined;
122
- updatedAt?: number | undefined;
123
- socialAccounts?: {
124
- type: NonNullable<import("../common").SocialAccount | undefined>;
125
- url: string;
126
- isNew: boolean;
127
- }[] | undefined;
128
- perksAndBenefits?: {
129
- category?: {
130
- logo?: string | undefined;
131
- name: string;
132
- id: string;
133
- } | {
134
- value: "others" | (string | undefined)[];
135
- otherValue: string | string[];
136
- } | undefined;
137
- name: string;
138
- description: string;
139
- }[] | undefined;
140
- locations?: {
141
- coverImage?: string | undefined;
142
- name: string;
143
- isHeadquarters: boolean;
144
- contact: {
145
- email?: string | undefined;
146
- phone?: string | undefined;
147
- address: string;
148
- };
149
- }[] | undefined;
150
- equalOpportunityEmployer?: boolean | undefined;
151
- headline?: string | undefined;
152
- employeeCount?: string | undefined;
153
- yearFounded?: string | undefined;
154
- contacts?: {
155
- label?: string | undefined;
156
- type: NonNullable<import("..").ContactTypes | undefined>;
157
- value: string;
158
- isPrimary: boolean;
159
- isVerified: boolean;
160
- }[] | undefined;
161
- verified?: Date | undefined;
162
- isOwner?: boolean | undefined;
163
- type: NonNullable<import("..").PageType | undefined>;
117
+ company: {
118
+ logo?: {
119
+ dark?: string | null | undefined;
120
+ light?: string | undefined;
121
+ } | null | undefined;
122
+ slug?: string | undefined;
123
+ type: import("..").PageType;
164
124
  name: string;
165
- id: string;
166
- logo: {
167
- dark?: string | undefined;
168
- light: string;
169
- } | null;
170
- shortId: string;
171
- createdBy: string;
172
- createdAt: number;
173
- about: string;
174
- website: string;
175
- slug: string;
176
- categories: {
177
- logo?: string | undefined;
178
- name: string;
179
- id: string;
180
- }[];
181
- status: NonNullable<import("..").PageStatus | undefined>;
182
- }, "type" | "name" | "logo" | "slug"> | undefined>;
125
+ };
183
126
  duration: {
184
127
  startDate: string;
185
128
  endDate: string;
@@ -197,99 +140,27 @@ export declare const ResumeSchemaV2: import("yup").ObjectSchema<{
197
140
  coordinates: number[];
198
141
  };
199
142
  };
200
- designation: NonNullable<{
201
- logo?: string | undefined;
143
+ designation: {
202
144
  name: string;
203
- id: string;
204
- } | {
205
- value: "others" | (string | undefined)[];
206
- otherValue: string | string[];
207
- } | undefined>;
145
+ };
208
146
  isRemote: boolean;
209
147
  }[] | {
210
148
  description?: string | undefined;
211
- institute: NonNullable<{
212
- value: "others" | (string | undefined)[];
213
- otherValue: string | string[];
214
- } | Pick<{
215
- updatedBy?: string | undefined;
216
- updatedAt?: number | undefined;
217
- socialAccounts?: {
218
- type: NonNullable<import("../common").SocialAccount | undefined>;
219
- url: string;
220
- isNew: boolean;
221
- }[] | undefined;
222
- perksAndBenefits?: {
223
- category?: {
224
- logo?: string | undefined;
225
- name: string;
226
- id: string;
227
- } | {
228
- value: "others" | (string | undefined)[];
229
- otherValue: string | string[];
230
- } | undefined;
231
- name: string;
232
- description: string;
233
- }[] | undefined;
234
- locations?: {
235
- coverImage?: string | undefined;
236
- name: string;
237
- isHeadquarters: boolean;
238
- contact: {
239
- email?: string | undefined;
240
- phone?: string | undefined;
241
- address: string;
242
- };
243
- }[] | undefined;
244
- equalOpportunityEmployer?: boolean | undefined;
245
- headline?: string | undefined;
246
- employeeCount?: string | undefined;
247
- yearFounded?: string | undefined;
248
- contacts?: {
249
- label?: string | undefined;
250
- type: NonNullable<import("..").ContactTypes | undefined>;
251
- value: string;
252
- isPrimary: boolean;
253
- isVerified: boolean;
254
- }[] | undefined;
255
- verified?: Date | undefined;
256
- isOwner?: boolean | undefined;
257
- type: NonNullable<import("..").PageType | undefined>;
149
+ institute: {
150
+ logo?: {
151
+ dark?: string | null | undefined;
152
+ light?: string | undefined;
153
+ } | null | undefined;
154
+ slug?: string | undefined;
155
+ type: import("..").PageType;
258
156
  name: string;
259
- id: string;
260
- logo: {
261
- dark?: string | undefined;
262
- light: string;
263
- } | null;
264
- shortId: string;
265
- createdBy: string;
266
- createdAt: number;
267
- about: string;
268
- website: string;
269
- slug: string;
270
- categories: {
271
- logo?: string | undefined;
272
- name: string;
273
- id: string;
274
- }[];
275
- status: NonNullable<import("..").PageStatus | undefined>;
276
- }, "type" | "name" | "logo" | "slug"> | undefined>;
277
- course: NonNullable<{
278
- logo?: string | undefined;
157
+ };
158
+ course: {
279
159
  name: string;
280
- id: string;
281
- } | {
282
- value: "others" | (string | undefined)[];
283
- otherValue: string | string[];
284
- } | undefined>;
285
- fieldOfStudy: NonNullable<NonNullable<{
286
- logo?: string | undefined;
160
+ };
161
+ fieldOfStudy: {
287
162
  name: string;
288
- id: string;
289
- } | {
290
- value: "others" | (string | undefined)[];
291
- otherValue: string | string[];
292
- } | undefined>>;
163
+ };
293
164
  isDistanceLearning: boolean;
294
165
  studyType: NonNullable<import("../common").StudyType | undefined>;
295
166
  duration: {
@@ -475,72 +346,15 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
475
346
  }[];
476
347
  workExperiences: {
477
348
  description?: string | undefined;
478
- company: NonNullable<{
479
- value: "others" | (string | undefined)[];
480
- otherValue: string | string[];
481
- } | Pick<{
482
- updatedBy?: string | undefined;
483
- updatedAt?: number | undefined;
484
- socialAccounts?: {
485
- type: NonNullable<import("../common").SocialAccount | undefined>;
486
- url: string;
487
- isNew: boolean;
488
- }[] | undefined;
489
- perksAndBenefits?: {
490
- category?: {
491
- logo?: string | undefined;
492
- name: string;
493
- id: string;
494
- } | {
495
- value: "others" | (string | undefined)[];
496
- otherValue: string | string[];
497
- } | undefined;
498
- name: string;
499
- description: string;
500
- }[] | undefined;
501
- locations?: {
502
- coverImage?: string | undefined;
503
- name: string;
504
- isHeadquarters: boolean;
505
- contact: {
506
- email?: string | undefined;
507
- phone?: string | undefined;
508
- address: string;
509
- };
510
- }[] | undefined;
511
- equalOpportunityEmployer?: boolean | undefined;
512
- headline?: string | undefined;
513
- employeeCount?: string | undefined;
514
- yearFounded?: string | undefined;
515
- contacts?: {
516
- label?: string | undefined;
517
- type: NonNullable<import("..").ContactTypes | undefined>;
518
- value: string;
519
- isPrimary: boolean;
520
- isVerified: boolean;
521
- }[] | undefined;
522
- verified?: Date | undefined;
523
- isOwner?: boolean | undefined;
524
- type: NonNullable<import("..").PageType | undefined>;
349
+ company: {
350
+ logo?: {
351
+ dark?: string | null | undefined;
352
+ light?: string | undefined;
353
+ } | null | undefined;
354
+ slug?: string | undefined;
355
+ type: import("..").PageType;
525
356
  name: string;
526
- id: string;
527
- logo: {
528
- dark?: string | undefined;
529
- light: string;
530
- } | null;
531
- shortId: string;
532
- createdBy: string;
533
- createdAt: number;
534
- about: string;
535
- website: string;
536
- slug: string;
537
- categories: {
538
- logo?: string | undefined;
539
- name: string;
540
- id: string;
541
- }[];
542
- status: NonNullable<import("..").PageStatus | undefined>;
543
- }, "type" | "name" | "logo" | "slug"> | undefined>;
357
+ };
544
358
  duration: {
545
359
  startDate: string;
546
360
  endDate: string;
@@ -558,100 +372,28 @@ export declare const NewResumePromptSchema: (host?: string) => import("yup").Obj
558
372
  coordinates: number[];
559
373
  };
560
374
  };
561
- designation: NonNullable<{
562
- logo?: string | undefined;
375
+ designation: {
563
376
  name: string;
564
- id: string;
565
- } | {
566
- value: "others" | (string | undefined)[];
567
- otherValue: string | string[];
568
- } | undefined>;
377
+ };
569
378
  isRemote: boolean;
570
379
  }[];
571
380
  educations: {
572
381
  description?: string | undefined;
573
- institute: NonNullable<{
574
- value: "others" | (string | undefined)[];
575
- otherValue: string | string[];
576
- } | Pick<{
577
- updatedBy?: string | undefined;
578
- updatedAt?: number | undefined;
579
- socialAccounts?: {
580
- type: NonNullable<import("../common").SocialAccount | undefined>;
581
- url: string;
582
- isNew: boolean;
583
- }[] | undefined;
584
- perksAndBenefits?: {
585
- category?: {
586
- logo?: string | undefined;
587
- name: string;
588
- id: string;
589
- } | {
590
- value: "others" | (string | undefined)[];
591
- otherValue: string | string[];
592
- } | undefined;
593
- name: string;
594
- description: string;
595
- }[] | undefined;
596
- locations?: {
597
- coverImage?: string | undefined;
598
- name: string;
599
- isHeadquarters: boolean;
600
- contact: {
601
- email?: string | undefined;
602
- phone?: string | undefined;
603
- address: string;
604
- };
605
- }[] | undefined;
606
- equalOpportunityEmployer?: boolean | undefined;
607
- headline?: string | undefined;
608
- employeeCount?: string | undefined;
609
- yearFounded?: string | undefined;
610
- contacts?: {
611
- label?: string | undefined;
612
- type: NonNullable<import("..").ContactTypes | undefined>;
613
- value: string;
614
- isPrimary: boolean;
615
- isVerified: boolean;
616
- }[] | undefined;
617
- verified?: Date | undefined;
618
- isOwner?: boolean | undefined;
619
- type: NonNullable<import("..").PageType | undefined>;
382
+ institute: {
383
+ logo?: {
384
+ dark?: string | null | undefined;
385
+ light?: string | undefined;
386
+ } | null | undefined;
387
+ slug?: string | undefined;
388
+ type: import("..").PageType;
620
389
  name: string;
621
- id: string;
622
- logo: {
623
- dark?: string | undefined;
624
- light: string;
625
- } | null;
626
- shortId: string;
627
- createdBy: string;
628
- createdAt: number;
629
- about: string;
630
- website: string;
631
- slug: string;
632
- categories: {
633
- logo?: string | undefined;
634
- name: string;
635
- id: string;
636
- }[];
637
- status: NonNullable<import("..").PageStatus | undefined>;
638
- }, "type" | "name" | "logo" | "slug"> | undefined>;
639
- course: NonNullable<{
640
- logo?: string | undefined;
390
+ };
391
+ course: {
641
392
  name: string;
642
- id: string;
643
- } | {
644
- value: "others" | (string | undefined)[];
645
- otherValue: string | string[];
646
- } | undefined>;
647
- fieldOfStudy: NonNullable<NonNullable<{
648
- logo?: string | undefined;
393
+ };
394
+ fieldOfStudy: {
649
395
  name: string;
650
- id: string;
651
- } | {
652
- value: "others" | (string | undefined)[];
653
- otherValue: string | string[];
654
- } | undefined>>;
396
+ };
655
397
  isDistanceLearning: boolean;
656
398
  studyType: NonNullable<import("../common").StudyType | undefined>;
657
399
  duration: {
@@ -1 +1 @@
1
- {"version":3,"file":"resume.schema.d.ts","sourceRoot":"","sources":["../../../src/resume/resume.schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAuC,MAAM,SAAS,CAAC;AAC3E,OAAO,EAEL,WAAW,EAEX,SAAS,EAMV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EAIb,MAAM,mBAAmB,CAAC;AAO3B,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAA0B,CAAC;AAE/D,MAAM,MAAM,+BAA+B,GAAG,SAAS,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAOF,QAAA,MAAM,iCAAiC,EACrC,WAAW,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE,MAAM,CACf,CAAC;AAEtC,MAAM,MAAM,kCAAkC,GAAG,SAAS,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAOF,QAAA,MAAM,4BAA4B,EAChC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,EAAE,MAAM,CACf,CAAC;AAEjC,MAAM,MAAM,6BAA6B,GAAG,SAAS,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAOF,QAAA,MAAM,wBAAwB,EAAI,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,MAAM,CAE1E,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,SAAS,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAOF,QAAA,MAAM,0BAA0B,EAC9B,WAAW,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,MAAM,CACf,CAAC;AAE/B,MAAM,MAAM,2BAA2B,GAAG,SAAS,CACjD,OAAO,0B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