using Baya.Application.Models.Common;
using Baya.Application.Models.Search;
using Mediator;

namespace Baya.Application.Features.Search.Commands.RebuildSearchIndex;

/// <summary>Admin/nightly full rebuild of <c>nurse_search_index</c> from source — the convergence path.
/// Idempotent: the rebuilt index must match the incrementally-maintained one.</summary>
public record RebuildSearchIndexCommand : IRequest<OperationResult<SearchIndexRebuildResult>>;
