SDK modules added/enhanced: - compliance-hub, compliance-scope, consent-management, notfallplan - audit-report, workflow, source-policy, dsms - advisory-board documentation section - TOM dashboard components, TOM generator SDM mapping - DSFA: mitigation library, risk catalog, threshold analysis, source attribution - VVT: baseline catalog, profiling engine, types - Loeschfristen: baseline catalog, compliance engine, export, profiling, types - Compliance scope: engine, profiling, golden tests, types Existing SDK pages updated: - dsfa/[id], tom, vvt, loeschfristen, advisory-board — expanded functionality - SDKSidebar, StepHeader — new navigation items and layout - SDK layout, context, types — expanded type system Other admin-v2 changes: - AI agents page, RAG pipeline DSFA integration - GridOverlay component updates - Companion feature (development + education) - Compliance advisor SOUL definition Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
389 B
TypeScript
16 lines
389 B
TypeScript
'use client'
|
|
|
|
import { TOMGeneratorProvider } from '@/lib/sdk/tom-generator/context'
|
|
import { useSDK } from '@/lib/sdk'
|
|
|
|
export default function TOMLayout({ children }: { children: React.ReactNode }) {
|
|
const { state } = useSDK()
|
|
const tenantId = state?.tenantId || 'default'
|
|
|
|
return (
|
|
<TOMGeneratorProvider tenantId={tenantId}>
|
|
{children}
|
|
</TOMGeneratorProvider>
|
|
)
|
|
}
|