This commit is contained in:
2025-07-23 16:57:31 +03:30
parent 96b0d450b6
commit ffe1d06893
4701 changed files with 449700 additions and 367 deletions
+1
View File
@@ -0,0 +1 @@
import{ay as a,N as s}from"./Gb1ZnXU3.js";const c=async e=>{let t=s.from("collections").select("*");return e!=null&&e.length&&t.like("title",`%${e}%`),(await t.select("*").order("created_at",{ascending:!1})).data},o=async e=>{await a.fetch("collections","insert",{data:e})},i=async(e,t)=>a.fetch("collections","update",{data:t,field:"id",value:e}),n=async e=>a.fetch("collections","delete",{field:"id",value:e});export{o as c,n as d,c as g,i as u};