import type { ApiResponse } from './ApiResponse';

export interface SaveContentRequest {
    content: Record<string, unknown> | { sections: EditorSection[] };
    locale: 'fr' | 'en';
    title?: string;
}

export type SaveContentResponse = ApiResponse;

export interface EditorSection {
    id: string;
    type: string;
    fields: Record<string, string>;
}
