api-client.ts is now a thin delegating class (263 LOC) backed by: - api-client-types.ts (84) — shared types, config, FetchContext - api-client-state.ts (120) — state CRUD + export - api-client-projects.ts (160) — project management - api-client-wiki.ts (116) — wiki knowledge base - api-client-operations.ts (299) — checkpoints, flow, modules, UCCA, import, screening endpoints.ts is now a barrel (25 LOC) aggregating the 4 existing domain files (endpoints-python-core, endpoints-python-gdpr, endpoints-python-ops, endpoints-go). All files stay under the 500-line hard cap. Build verified with `npx next build`. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
921 B
TypeScript
26 lines
921 B
TypeScript
/**
|
|
* API Documentation — endpoint definitions (barrel).
|
|
*
|
|
* All endpoint data lives in domain-specific sibling files:
|
|
* endpoints-python-core.ts — core compliance framework, audit, projects, etc.
|
|
* endpoints-python-gdpr.ts — GDPR, DSR, consent, data-subject modules
|
|
* endpoints-python-ops.ts — TOM, VVT, vendor, ISMS, incidents, etc.
|
|
* endpoints-go.ts — Go/Gin AI compliance SDK modules
|
|
*
|
|
* This file aggregates them into a single `apiModules` array that the
|
|
* API docs page consumes.
|
|
*/
|
|
|
|
import { ApiModule } from './types'
|
|
import { pythonCoreModules } from './endpoints-python-core'
|
|
import { pythonGdprModules } from './endpoints-python-gdpr'
|
|
import { pythonOpsModules } from './endpoints-python-ops'
|
|
import { goModules } from './endpoints-go'
|
|
|
|
export const apiModules: ApiModule[] = [
|
|
...pythonCoreModules,
|
|
...pythonGdprModules,
|
|
...pythonOpsModules,
|
|
...goModules,
|
|
]
|