@anoki/fse-common
Version:
Common types for FSE
13 lines (12 loc) • 464 B
TypeScript
import { WithMongooseProps } from './with-mongoose-props';
import { WithTranslations } from './with-translations';
import { AggregationPageTypes } from '../constants';
export type AggregationPageTranslations = {
name: string;
description: string;
};
export type AggregationPage = WithMongooseProps<AggregationPageTranslations & {
translations: WithTranslations<AggregationPageTranslations>;
pageType: AggregationPageTypes;
pageUrl: string;
}>;