Barrel-split pattern: each original becomes a thin re-export barrel; logic moved to sibling files so no consumer imports need updating. Files split: - loeschfristen-profiling.ts → profiling-data.ts + profiling-generator.ts - vendor-compliance/catalog/vendor-templates.ts → vendor-country-profiles.ts - vendor-compliance/catalog/legal-basis.ts → legal-basis-retention.ts - dsfa/eu-legal-frameworks.ts → eu-legal-frameworks-national.ts - compliance-scope-types/document-scope-matrix-core.ts → core-part2.ts - compliance-scope-types/document-scope-matrix-extended.ts → extended-part2.ts - app/sdk/document-generator/contextBridge.ts → contextBridge-helpers.ts - app/api/sdk/drafting-engine/draft/route.ts → draft-helpers.ts + draft-helpers-v2.ts All files ≤ 500 LOC. Zero behavior changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
716 B
TypeScript
24 lines
716 B
TypeScript
// =============================================================================
|
|
// Loeschfristen Module - Profiling Wizard (barrel)
|
|
// =============================================================================
|
|
|
|
// Types, steps, and step-level data
|
|
export type {
|
|
ProfilingStepId,
|
|
ProfilingQuestion,
|
|
ProfilingAnswer,
|
|
ProfilingStep,
|
|
ProfilingResult,
|
|
} from './loeschfristen-profiling-data'
|
|
export { PROFILING_STEPS } from './loeschfristen-profiling-data'
|
|
|
|
// Generator, helpers, and scope integration
|
|
export {
|
|
getAnswerValue,
|
|
isStepComplete,
|
|
getProfilingProgress,
|
|
generatePoliciesFromProfile,
|
|
prefillFromScopeAnswers,
|
|
SCOPE_PREFILLED_LF_QUESTIONS,
|
|
} from './loeschfristen-profiling-generator'
|