Files
sell/middlelayer/__cms/Contentful_Navigation.ts

15 lines
399 B
TypeScript

import type { CF_Link } from "./Contentful_Link";
import type { CF_ContentType } from "./Contentful_ContentType.enum";
import type { CF_Page } from "./Contentful_Page";
export interface CF_Navigation {
name: string;
internal: string;
links: Array<{ fields: CF_Link | CF_Page }>;
}
export type CF_NavigationSkeleton = {
contentTypeId: CF_ContentType.navigation;
fields: CF_Navigation;
};