feat: add syncrhonize typsense command
This commit is contained in:
@ -68,6 +68,18 @@ export const menus: Record<string, Menu> = {
|
||||
return !!getCookie("session_cookie");
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "Sync Typesense",
|
||||
icon: "IconStarFilled",
|
||||
cb: () => {
|
||||
fetch("/api/query/sync", {
|
||||
method: "POST",
|
||||
});
|
||||
},
|
||||
visible: () => {
|
||||
return !!getCookie("session_cookie");
|
||||
},
|
||||
},
|
||||
addSeriesInfo,
|
||||
createNewArticle,
|
||||
createNewMovie,
|
||||
|
Reference in New Issue
Block a user