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

export type WBPost = Entry<(typeof keystaticConfig.collections)['wb_posts']>;
export type WBElement = Entry<
  (typeof keystaticConfig.collections)['wb_elements']
>;

export type WBContent = WBPost | WBElement;
