sd-webui-infinite-image-bro.../vue/dist/assets/db-66d20dea.js

2 lines
846 B
JavaScript

import{c4 as t}from"./index-cc731081.js";const n=async()=>(await t.value.get("/db/basic_info")).data,c=async()=>(await t.value.get("/db/expired_dirs")).data,d=async()=>{await t.value.post("/db/update_image_data",{},{timeout:1/0})},g=async(a,s)=>(await t.value.post("/db/match_images_by_tags",{...a,cursor:s})).data,u=async a=>(await t.value.post("/db/add_custom_tag",a)).data,p=async a=>(await t.value.post("/db/toggle_custom_tag_to_img",a)).data,i=async a=>{await t.value.post("/db/remove_custom_tag",a)},m=async(a,s)=>(await t.value.get("/db/search_by_substr",{params:{substr:a,cursor:s}})).data,e="/db/extra_paths",_=async a=>{await t.value.post(e,a)},b=async a=>{await t.value.delete(e,{data:a})},y=async a=>(await t.value.post("/db/get_image_tags",{paths:a})).data;export{_ as a,n as b,c,u as d,i as e,m as f,g,y as h,b as r,p as t,d as u};