/**
 * Eval-side source-kind registry (W0215).
 *
 * Core declares the generic discriminator pattern (`kind?: string` on
 * `DocSourceConfig` and the four ref interfaces). The taxonomy of *known*
 * kinds lives here, alongside the compile-time check that keeps
 * `KnownDocSourceConfig` and `RefBySource` in lockstep.
 *
 * Adding a new adapter is purely additive: widen `KnownDocSourceConfig` to
 * include the new source type, add the matching entry to `RefBySource`, and
 * register a preset factory in `PRESET_FACTORY_BY_SOURCE` (see
 * `pipeline/compiler/presets/by-source.ts`). The `_Exhaustive` assertion
 * below fails to compile when those three sets drift.
 */
const _assert = true;
void _assert;
// ---------------------------------------------------------------------------
// Default-kind helper
// ---------------------------------------------------------------------------
/**
 * The kind assumed for untagged `DocSourceConfig` entries (backward compat).
 * Typed as the literal (not the kind union) so callers can use it where
 * narrowing to `SanityContentLakeSource` is required.
 */
export const DEFAULT_SOURCE_KIND = "sanity-content-lake";
