Added PageHeader and first content
Some checks failed
Build and Deploy Astro Site / deploy (push) Failing after 42s
Some checks failed
Build and Deploy Astro Site / deploy (push) Failing after 42s
This commit is contained in:
19
types/keystatic.ts
Normal file
19
types/keystatic.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Entry } from '@keystatic/core/reader'
|
||||
import keystaticConfig from '~/keystatic.config'
|
||||
|
||||
export type Author = Entry<(typeof keystaticConfig.collections)['authors']>
|
||||
export type Tag = Entry<(typeof keystaticConfig.collections)['tags']>
|
||||
export type AWQArticle = Entry<
|
||||
(typeof keystaticConfig.collections)['awq_posts']
|
||||
>
|
||||
export type AWQTalent = Entry<
|
||||
(typeof keystaticConfig.collections)['awq_talents']
|
||||
>
|
||||
export type MetaArticle = Entry<
|
||||
(typeof keystaticConfig.collections)['meta_posts']
|
||||
>
|
||||
|
||||
export type AWQContent = AWQArticle | AWQTalent
|
||||
export type MetaContent = MetaArticle
|
||||
|
||||
export type ArticleContent = AWQContent | MetaContent
|
||||
Reference in New Issue
Block a user