This commit is contained in:
louiscklaw
2025-04-24 01:08:44 +08:00
parent 41cc82d54d
commit da08798b10
87 changed files with 66682 additions and 6003 deletions

View File

@@ -1,6 +1,6 @@
import { pb } from '@/lib/pb';
import { COL_CUSTOMERS } from '@/constants';
export async function deleteCustomer(id) {
export async function deleteCustomer(id: string): Promise<boolean> {
return pb.collection(COL_CUSTOMERS).delete(id);
}