Riksdagsmonitor Intelligence Platform - v0.7.19
    Preparing search index...

    Module Shared/Types

    Core type definitions for Riksdagsmonitor browser modules. Provides shared interfaces for chart configuration, data loading, and dashboard components.

    Intelligence domain type system — canonical data models for political entities (MPs, parties, coalitions, voting records), risk scoring dimensions, and intelligence product schemas. Ensures type-safe data flow from CIA Platform CSV exports through analysis pipelines to visualization output.

    Developer experience investment — strong typing reduces integration bugs, accelerates onboarding for contributors, and makes the API surface self-documenting. Critical for future developer ecosystem (API consumers, plugin authors, third-party integrations).

    Technical credibility asset — TypeScript type definitions demonstrate engineering maturity to technical audiences (CTOs, developers, open-source community). Publishable as npm types package for ecosystem growth.

    Interfaces

    ThemeColors
    Breakpoints
    ChartOptions
    DataSource
    LoadOptions
    LoadResult
    DashboardModule
    DashboardConfig
    CSVRow
    NewsArticleMetadata