Member Junction
    Preparing search index...

    Function computeSchemasToExcludeForIncludeList

    • Resolve an opt-in includeSchemas positive scope into the list of schema names to ADD to excludeSchemas. A schema stays IN SCOPE iff it is named in includeSchemas AND not already in existingExcludeSchemas; every other schema in allSchemas is returned for exclusion. Matching is case-insensitive + trimmed, and the result is de-duplicated. No hidden auto-includes — the MJ core schema is excluded unless it is listed explicitly (include shrinks the addressable space; excludeSchemas still overlays on top).

      Parameters

      • allSchemas: string[]

        the schema universe to scope against — see applyIncludeSchemaScope for why this must be sourced from the DATABASE, not from loaded metadata

      • includeSchemas: string[]

        the opt-in positive scope (assumed non-empty by the caller)

      • existingExcludeSchemas: string[]

        schemas already excluded (system + user config), left untouched

      Returns string[]

      the schema names to append to excludeSchemas