@anoki/fse-common
Version:
Common types for FSE
19 lines (18 loc) • 489 B
TypeScript
import { Upload } from './upload-file';
import { WithMongooseProps } from './with-mongoose-props';
export type seoDataTranslationSchema = {
metaTitle: string;
metaDescription: string;
};
export type Seo = WithMongooseProps<{
pageUrl: string;
metaTitle: string;
metaDescription: string;
canonicalUrl: string;
ogImage: Upload | null;
indexed: boolean;
translations: {
it: seoDataTranslationSchema;
en: seoDataTranslationSchema;
};
}>;