astro-pure
Version:
A simple, clean but powerful blog theme build by astro.
29 lines (27 loc) • 674 B
text/typescript
import { z } from 'astro/zod'
export const FriendLinksSchema = () =>
z
.object({
logbook: z.array(
z.object({
date: z.string(),
content: z.string()
})
),
applyTip: z.array(
z.object({
name: z.string(),
val: z.string()
})
)
})
.default({
logbook: [],
applyTip: [
{ name: 'Name', val: 'Astro Pure' },
{ name: 'Desc', val: 'Null' },
{ name: 'Link', val: 'https://astro-pure.js.org/' },
{ name: 'Avatar', val: 'https://astro-pure.js.org/favicon/favicon.ico' }
]
})
.describe('Friend links for your website.')