import { appSetting } from '@/plugins/setting';

export const getExtensionInfo = () => appSetting.extensionInfo.get();
export const getPlatformShopConfig = () => appSetting.platformShopConfig.get();

export const getGptConfig = () => getExtensionInfo().gpt || {};
export const getShopeePlatformConfig = () => getPlatformShopConfig().shopee || {};
export const getTiktokPlatformConfig = () => getPlatformShopConfig().tiktok || {};
export const getLazadaPlatformConfig = () => getPlatformShopConfig().lazada || {};
