feat: add vote_flashcard MCP tool
This commit is contained in:
1 parent
cd8e872491
commit
a40542f7b4
4 files changed
+143
No files matched your search
@@ -14,6 +14,16 @@ type entry struct {
|
||||
Created string `json:"created"`
|
||||
}
|
||||
|
||||
type vote struct {
|
||||
ID int64 `json:"_id"`
|
||||
FlashcardID int64 `json:"flashcard_id"`
|
||||
Value int `json:"value"`
|
||||
User string `json:"user"`
|
||||
Repo string `json:"repo"`
|
||||
Message string `json:"message"`
|
||||
Created string `json:"created"`
|
||||
}
|
||||
|
||||
type searchResult struct {
|
||||
Entry entry `json:",inline"`
|
||||
Score float32 `json:"score"`
|
||||
|
||||
Reference in new issue
Block a user