This commit is contained in:
g
2025-02-07 05:22:21 +00:00
parent f19797e752
commit 3205bb1a6b
11 changed files with 1021 additions and 432 deletions

12
lib/types.ts Normal file
View File

@@ -0,0 +1,12 @@
// lib/types.ts
export interface ShippingMethod {
_id?: string; // Optional before saving, required after fetching
name: string;
price: number;
}
export interface ShippingData {
_id?: string; // Optional before saving
name: string;
price: number;
}