import menuData from "@/plugins/data/menu-data";
import categoryData from "@/plugins/data/category-data";
import productData from "@/plugins/data/product-data";
import relatedProductsData from "@/plugins/data/related-product-data";
import categoryFeaturedData from "@/plugins/data/category-featured-data";
import brandData from "@/plugins/data/brand-data";
import brandFeaturedData from "@/plugins/data/brand-featured-data";
import userLoginData from "@/plugins/data/user-login-data";
import productReviewsData from "@/plugins/data/product-reviews-data";
import userLogoutData from "@/plugins/data/user-logout-data";
import productDifferentsData from "@/plugins/data/product-differents-data";
import productAccessoriesGroupsData from "@/plugins/data/product-accessories-groups-data";
import siteSettingsData from "@/plugins/data/site-settings-data";
import cartFeesData from "@/plugins/data/cart-fees-data";
import userAddressesData from "@/plugins/data/user-addresses-data";
import topCategoryData from "@/plugins/data/top-category-data";
import contactUsData from "@/plugins/data/contact-us-data";
import userOrdersData from "@/plugins/data/user-orders-data";
import productAddionalsData from "@/plugins/data/product-addionals-data";
import cartData from "@/plugins/data/cart-data";
import countriesData from "@/plugins/data/country-data";

export const api = {
    menuData,
    categoryData,
    productData,
    relatedProductsData,
    categoryFeaturedData,
    brandData,
    brandFeaturedData,
    userLoginData,
    userLogoutData,
    productReviewsData,
    productDifferentsData,
    productAccessoriesGroupsData,
    siteSettingsData,
    cartFeesData,
    cartData,
    userAddressesData,
    topCategoryData,
    contactUsData,
    userOrdersData,
    productAddionalsData,
    countriesData,
};

export default defineNuxtPlugin(() => {
    return {
        provide: {
            api
        },
    }
})