Member Junction
    Preparing search index...

    Interface SchemaHydrationOptions

    Runtime helpers for a multi-schema catalog.

    Metadata.Entities is the complete, always-in-sync catalog. We do not shard that array by schema — agents, permissions, and RunView all assume every entity is addressable. What we do offer is hydrate-by-schema: take the full catalog and project the subset (or the compact summary) a caller actually needs. MCP tools and agent prompts should ask for bsd_crm rather than stuffing 2,880 table definitions into a context window.

    This module is pure. It never talks to a provider.

    interface SchemaHydrationOptions {
        includeFields?: boolean;
        maxEntities?: number;
        schemas?: readonly string[];
    }
    Index

    Properties

    includeFields?: boolean

    Include a compact field list (name + type) per entity. Default false.

    maxEntities?: number

    Hard cap on entities in the projection, applied after schema filtering.

    schemas?: readonly string[]

    Restrict to these schema names (case-insensitive). Omit to use every schema.