// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

part of '../quick_capture.dart';

/// Outcome of a quick-capture request.
///
/// The UI can use this status to decide whether to show a passive success, draw
/// a scheduled card on the timeline, or display validation messages. It is not
/// an exception-based flow because quick capture should fail gently and keep the
/// user's typed task available.
enum QuickCaptureStatus {
  /// Capture succeeded and the task remains unscheduled in backlog.
  addedToBacklog,

  /// Capture succeeded and the task was placed on the timeline.
  scheduled,

  /// Capture could not complete the requested flow; see result messages.
  validationError,
}
