@thejob/schema 1.0.13 → 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 +7 -13
- package/dist/cjs/job/job.schema.d.ts.map +1 -1
- package/dist/cjs/job/job.schema.js +1 -1
- package/dist/cjs/job-application/job-application.schema.d.ts +10 -10
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts +3 -9
- package/dist/cjs/job-role-template/job-role-template.schema.d.ts.map +1 -1
- package/dist/cjs/page/institute/index.d.ts +2 -0
- package/dist/cjs/page/institute/index.d.ts.map +1 -0
- package/dist/cjs/page/institute/index.js +17 -0
- package/dist/cjs/page/institute/institute.schema.d.ts +2 -0
- package/dist/cjs/page/institute/institute.schema.d.ts.map +1 -0
- package/dist/cjs/page/institute/institute.schema.js +5 -0
- package/dist/cjs/page/page.schema.d.ts +4 -4
- package/dist/cjs/page/page.schema.d.ts.map +1 -1
- package/dist/cjs/page/page.schema.js +2 -0
- 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 +7 -13
- package/dist/esm/job/job.schema.d.ts.map +1 -1
- package/dist/esm/job/job.schema.js +1 -1
- package/dist/esm/job-application/job-application.schema.d.ts +10 -10
- package/dist/esm/job-role-template/job-role-template.schema.d.ts +3 -9
- package/dist/esm/job-role-template/job-role-template.schema.d.ts.map +1 -1
- package/dist/esm/page/institute/index.d.ts +2 -0
- package/dist/esm/page/institute/index.d.ts.map +1 -0
- package/dist/esm/page/institute/index.js +1 -0
- package/dist/esm/page/institute/institute.schema.d.ts +2 -0
- package/dist/esm/page/institute/institute.schema.d.ts.map +1 -0
- package/dist/esm/page/institute/institute.schema.js +2 -0
- package/dist/esm/page/page.schema.d.ts +4 -4
- package/dist/esm/page/page.schema.d.ts.map +1 -1
- package/dist/esm/page/page.schema.js +2 -0
- 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
|
@@ -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
|
|
@@ -83,21 +83,15 @@ export declare const JobRoleTemplateSchema: import("yup").ObjectSchema<{
|
|
|
83
83
|
ratePerHour: undefined;
|
|
84
84
|
externalApplicantCount: undefined;
|
|
85
85
|
isPromoted: undefined;
|
|
86
|
-
salaryRange:
|
|
87
|
-
currency: "USD";
|
|
88
|
-
min: undefined;
|
|
89
|
-
max: undefined;
|
|
90
|
-
compensationType: undefined;
|
|
91
|
-
isNegotiable: false;
|
|
92
|
-
};
|
|
86
|
+
salaryRange: undefined;
|
|
93
87
|
reports: "";
|
|
94
88
|
termsAccepted: undefined;
|
|
95
89
|
id: undefined;
|
|
96
90
|
shortId: undefined;
|
|
97
91
|
createdBy: undefined;
|
|
98
|
-
createdAt:
|
|
92
|
+
createdAt: undefined;
|
|
99
93
|
updatedBy: undefined;
|
|
100
|
-
updatedAt:
|
|
94
|
+
updatedAt: undefined;
|
|
101
95
|
}, "">;
|
|
102
96
|
export type TJobRoleTemplateSchema = InferType<typeof JobRoleTemplateSchema>;
|
|
103
97
|
//# sourceMappingURL=job-role-template.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"job-role-template.schema.d.ts","sourceRoot":"","sources":["../../../src/job-role-template/job-role-template.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQhC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/page/institute/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./institute.schema";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"institute.schema.d.ts","sourceRoot":"","sources":["../../../../src/page/institute/institute.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,iEAA8C,CAAC"}
|
|
@@ -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
|
|
@@ -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;
|
|
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;AAMzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwEA,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { DbDefaultSchema, NameIdLogoSchema } from "../common";
|
|
|
2
2
|
import { SocialAccountSchema } from "../social-account";
|
|
3
3
|
import { array, boolean, date, object, string, } from "../yup-extended";
|
|
4
4
|
import { CompanySchema } from "./company";
|
|
5
|
+
import { InstituteSchema } from "./institute";
|
|
5
6
|
import { PageLocationSchema } from "./page-location";
|
|
6
7
|
import { SupportedContactTypes, SupportedPageTypes } from "./page.constant";
|
|
7
8
|
export const PageSchema = object()
|
|
@@ -68,6 +69,7 @@ export const PageSchema = object()
|
|
|
68
69
|
isOwner: boolean().optional().label("Is Owner"),
|
|
69
70
|
})
|
|
70
71
|
.concat(CompanySchema)
|
|
72
|
+
.concat(InstituteSchema)
|
|
71
73
|
.concat(DbDefaultSchema)
|
|
72
74
|
.noUnknown(true)
|
|
73
75
|
.strict(true)
|
|
@@ -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
|
|
@@ -5,7 +5,7 @@ export declare const EducationSchema: 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 EducationSchema: 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;
|
|
@@ -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?:
|
|
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:
|
|
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?:
|
|
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:
|
|
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?:
|
|
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;
|