mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-11 14:52:52 +01:00
fix: 修復 spec 收藏未定義提示 (#516)
Some checks failed
Code quality / quality (push) Failing after 10s
Build and Check / Astro Check for Node.js 22 (push) Failing after 5s
Build and Check / Astro Check for Node.js 23 (push) Failing after 4s
Build and Check / Astro Build for Node.js 22 (push) Failing after 4s
Build and Check / Astro Build for Node.js 23 (push) Failing after 4s
Some checks failed
Code quality / quality (push) Failing after 10s
Build and Check / Astro Check for Node.js 22 (push) Failing after 5s
Build and Check / Astro Check for Node.js 23 (push) Failing after 4s
Build and Check / Astro Build for Node.js 22 (push) Failing after 4s
Build and Check / Astro Build for Node.js 23 (push) Failing after 4s
This commit is contained in:
@@ -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,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user