fix: 修復 spec 收藏未定義提示 (#516)
This commit is contained in:
parent
b1f509a82f
commit
b06f908b2b
1 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ const postsCollection = defineCollection({
|
||||||
nextSlug: z.string().default(""),
|
nextSlug: z.string().default(""),
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
const specCollection = defineCollection({
|
||||||
|
schema: z.object({}),
|
||||||
|
});
|
||||||
export const collections = {
|
export const collections = {
|
||||||
posts: postsCollection,
|
posts: postsCollection,
|
||||||
|
spec: specCollection,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue