mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 14:44:21 +01:00
Add comprehensive profile enhancements: languages, certifications, profile info, and fix duplicate resource ID bug
Co-authored-by: ArthurDanjou <29738535+ArthurDanjou@users.noreply.github.com>
This commit is contained in:
@@ -79,13 +79,63 @@ export default defineContentConfig({
|
||||
schema: z.object({
|
||||
body: z.array(z.object({
|
||||
name: z.string(),
|
||||
url: z.string().url()
|
||||
icon: z.string().optional(),
|
||||
value: z.string().url()
|
||||
}))
|
||||
})
|
||||
}),
|
||||
hobbies: defineCollection({
|
||||
type: 'page',
|
||||
source: 'hobbies.md'
|
||||
}),
|
||||
languages: defineCollection({
|
||||
type: 'page',
|
||||
source: 'languages.json',
|
||||
schema: z.object({
|
||||
body: z.array(z.object({
|
||||
name: z.string(),
|
||||
level: z.string(),
|
||||
proficiency: z.string()
|
||||
}))
|
||||
})
|
||||
}),
|
||||
certifications: defineCollection({
|
||||
type: 'page',
|
||||
source: 'certifications.json',
|
||||
schema: z.object({
|
||||
body: z.array(z.object({
|
||||
name: z.string(),
|
||||
issuer: z.string(),
|
||||
date: z.string(),
|
||||
url: z.string().url().optional()
|
||||
}))
|
||||
})
|
||||
}),
|
||||
profile: defineCollection({
|
||||
type: 'page',
|
||||
source: 'profile.json',
|
||||
schema: z.object({
|
||||
shortBio: z.string(),
|
||||
location: z.object({
|
||||
current: z.string(),
|
||||
timezone: z.string(),
|
||||
remote: z.boolean()
|
||||
}),
|
||||
availability: z.object({
|
||||
status: z.string(),
|
||||
types: z.array(z.string()),
|
||||
preferences: z.array(z.string()),
|
||||
startDate: z.string().optional()
|
||||
}),
|
||||
careerGoals: z.array(z.string()),
|
||||
workPreferences: z.object({
|
||||
workStyle: z.array(z.string()),
|
||||
companySize: z.array(z.string()),
|
||||
industries: z.array(z.string()),
|
||||
roles: z.array(z.string())
|
||||
}),
|
||||
achievements: z.array(z.string())
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user