Publish partially complete changes in order to make applications
This commit is contained in:
parent
3698e926ea
commit
4bf6f04222
184 changed files with 753 additions and 742 deletions
|
@ -16,7 +16,14 @@ const posts = defineCollection({
|
|||
alt: z.string(),
|
||||
}),
|
||||
tags: z.array(z.string()),
|
||||
extraAuthors: z.array(z.string()).optional(),
|
||||
extraAuthors: z
|
||||
.array(
|
||||
z.object({
|
||||
name: z.string().min(1),
|
||||
url: z.string().url(),
|
||||
}),
|
||||
)
|
||||
.optional(),
|
||||
categories: z.array(z.string()),
|
||||
})
|
||||
.merge(rssSchema),
|
||||
|
@ -37,11 +44,18 @@ const projects = defineCollection({
|
|||
alt: z.string(),
|
||||
}),
|
||||
tags: z.array(z.string()),
|
||||
extraAuthors: z.array(z.string()).optional(),
|
||||
extraAuthors: z
|
||||
.array(
|
||||
z.object({
|
||||
name: z.string().min(1),
|
||||
url: z.string().url(),
|
||||
}),
|
||||
)
|
||||
.optional(),
|
||||
categories: z.array(z.string()),
|
||||
featured: z.boolean().optional(),
|
||||
collection: z.boolean().optional(),
|
||||
includeHero: z.boolean().optional(),
|
||||
rank: z.number().positive().optional(),
|
||||
})
|
||||
.merge(rssSchema),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue