added sale-price

This commit is contained in:
2026-03-07 16:09:22 +03:30
parent 2e4389e311
commit d4ddc1f987
4991 changed files with 489998 additions and 7072 deletions
+1
View File
@@ -0,0 +1 @@
import{N as s,ar as t}from"./sHYMdOhR.js";const r=async a=>{let e=s.from("brands").select("*");return a?.length&&e.like("title",`%${a}%`),(await e.select("*").order("created_at",{ascending:!1})).data},n=async a=>{await t.fetch("brands","insert",{data:a})},c=async(a,e)=>t.fetch("brands","update",{data:e,field:"id",value:a}),i=async a=>t.fetch("brands","delete",{field:"id",value:a});export{n as c,i as d,r as g,c as u};