import { SingleBase, WhitelistNft } from 'solana-candy-shop-schema/dist'; import { ListBase, CandyShop } from 'solana-candy-shop-schema/src/response'; import { AxiosInstance } from 'axios'; export async function fetchShopWhitelistNftByShopId( axiosInstance: AxiosInstance, shopId: string ): Promise> { return axiosInstance.get>(`/shop/wlNfts/${shopId}`).then((response) => response.data); } export async function fetchShopByShopId(axiosInstance: AxiosInstance, shopId: string): Promise> { return axiosInstance.get>(`/shop/id/${shopId}`).then((response) => response.data); }