import type { DatasetData, StoryData } from './lib'; interface MetadataWithSlug { metadata: T; slug: string; } interface WithContent extends MetadataWithSlug { content: string; } export type DatasetMetadata = MetadataWithSlug; export type DatasetWithContent = WithContent; export type StoryMetadata = MetadataWithSlug; export type StoryWithContent = WithContent; export type ContentMetadata = MetadataWithSlug;