base package

This commit is contained in:
hamid zarghami
2026-03-09 14:26:20 +03:30
parent 1cafbb2bfa
commit ff62b6c944
9 changed files with 622 additions and 158 deletions
+7
View File
@@ -0,0 +1,7 @@
import axios from "@/config/axios";
import type { CreateCatalogParamsType } from "../types/Types";
export const createCatalog = async (params: CreateCatalogParamsType) => {
const { data } = await axios.post("/catalogs", params);
return data;
};