Add field endpoint
Some checks failed
CI / Typos (push) Successful in 21s
CI / Clippy (push) Successful in 3m23s
CI / Build and test (push) Failing after 3m16s
CI / Build and test (all features) (push) Failing after 9m17s

This commit is contained in:
2026-03-24 09:19:15 -07:00
parent f7ea25f059
commit 32e606c30e
5 changed files with 207 additions and 46 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
//