sd-webui-infinite-image-bro.../vue/dist/assets/db-7a9551b2.js

2 lines
971 B
JavaScript

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