'use client' import React from 'react' import { LoeschfristPolicy, STATUS_LABELS, PolicyStatus, ReviewInterval, REVIEW_INTERVAL_LABELS, } from '@/lib/sdk/loeschfristen-types' import { TagInput } from './TagInput' // --------------------------------------------------------------------------- // Shared type (defined in EditorSectionsB to avoid circular imports) // --------------------------------------------------------------------------- export type { SetFn } from './EditorSectionsB' import type { SetFn } from './EditorSectionsB' // --------------------------------------------------------------------------- // Re-exports from EditorSectionsB (keeps existing import paths working) // --------------------------------------------------------------------------- export { DeletionLogicSection, StorageSection } from './EditorSectionsB' // --------------------------------------------------------------------------- // Sektion 1: Datenobjekt // --------------------------------------------------------------------------- export function DataObjectSection({ policy, set }: { policy: LoeschfristPolicy; set: SetFn }) { return (

1. Datenobjekt

set('dataObjectName', e.target.value)} placeholder="z.B. Bewerbungsunterlagen" className="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-purple-500" />