package indexDB

type Condition struct {
	Field    string
	Operator string
	Value    any
}

type SearchResult struct {
	ID       string
	Score    float32
	Content  string
	Preview  string
	Metadata map[string]any
}

type RawDocument struct {
	ID         string
	Text       string
	Metadata   map[string]any
	AllowUsers []string
}
