Add field endpoint
Some checks failed
CI / Typos (push) Successful in 17s
CI / Build and test (push) Failing after 2m37s
CI / Clippy (push) Successful in 3m29s
CI / Build and test (all features) (push) Has been cancelled

This commit is contained in:
2026-03-24 09:44:01 -07:00
parent f7ea25f059
commit 5b0953d250
6 changed files with 224 additions and 60 deletions

View File

@@ -96,19 +96,10 @@ pub enum Source {
#[derive(Debug, Clone, Deserialize)]
pub struct FieldSpec {
/// The type of this field
pub r#type: FieldType,
/// How to find this field in a data entry
pub path: Vec<ObjectPath>,
}
#[derive(Debug, Clone, Copy, Deserialize, PartialEq, Eq)]
#[serde(rename_all = "lowercase")]
pub enum FieldType {
Text,
}
//
// MARK: fts
//