import { Entry } from '@keystatic/core/reader';
import keystaticConfig from '~/keystatic.config';

export type AuthorData = Entry<(typeof keystaticConfig.collections)['authors']>;
export type TagData = Entry<(typeof keystaticConfig.collections)['tags']>;

export type Author = AuthorData & { slug: string };
export type Tag = TagData & { slug: string };
