Defines the canonical IndexInput request shape for indexing operations from CLI, API, or UI, separating public input from internal job configuration. Reuse for stable indexing request APIs.
// Source: https://github.com/spacedriveapp/spacedrive | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
//! # Indexing Input Types
//!
//! Defines IndexInput, the canonical request shape for all indexing operations regardless
//! of origin (CLI, API, UI). This type is deserialized from external requests, validated,
//! and converted into IndexerJobConfig for internal execution. Separating input from config
//! keeps the public API stable while internal job parameters evolve.
use super::job::IndexScope;
use serde::{Deserialize, Serialize};
use specta::Type;
use std::path::PathBuf;
/// Canonical input for indexing requests from any interface (CLI, API, etc.)
#[derive(Debug, Clone,
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key