import type { PageSeo, Page, Navigation, Product } from "../types/index"; import type { TranslationsData, } from "./Mock/_i18n/mockTranslations"; /** * Adapter Interface für Datenquellen * Jeder Adapter muss diese Schnittstelle implementieren */ export interface DataAdapter { // Product Operations getProducts(limit?: number): Promise; getProduct(id: string): Promise; // Page Operations getPage(slug: string, locale?: string): Promise; getPages(locale?: string): Promise; // SEO Operations getPageSeo(locale?: string): Promise; // Navigation Operations getNavigation(locale?: string): Promise; // Translation Operations getTranslations(locale?: string, namespace?: string): Promise; }