mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 06:27:38 +00:00
chore(store): normalize model
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ const page = {
|
|||||||
const store = {
|
const store = {
|
||||||
country: process.env.COUNTRY ?? 'usa',
|
country: process.env.COUNTRY ?? 'usa',
|
||||||
showOnlyBrands: process.env.SHOW_ONLY_BRANDS ? process.env.SHOW_ONLY_BRANDS.split(',') : [],
|
showOnlyBrands: process.env.SHOW_ONLY_BRANDS ? process.env.SHOW_ONLY_BRANDS.split(',') : [],
|
||||||
showOnlySeries: process.env.SHOW_ONLY_SERIES ? process.env.SHOW_ONLY_SERIES.split(',') : ['3070', '3080', '3090'],
|
showOnlySeries: process.env.SHOW_ONLY_SERIES ? process.env.SHOW_ONLY_SERIES.split(',') : [],
|
||||||
stores: process.env.STORES ? process.env.STORES.split(',') : ['nvidia']
|
stores: process.env.STORES ? process.env.STORES.split(',') : ['nvidia']
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export const Adorama: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.adorama.com/ev08gp43067k.html'
|
url: 'https://www.adorama.com/ev08gp43067k.html'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export const AmazonCa: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.amazon.ca/dp/B07PBLD2MX'
|
url: 'https://www.amazon.ca/dp/B07PBLD2MX'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export const Amazon: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.amazon.com/dp/B07MQ36Z6L'
|
url: 'https://www.amazon.com/dp/B07MQ36Z6L'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export const Asus: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://store.asus.com/us/item/202003AM280000002/'
|
url: 'https://store.asus.com/us/item/202003AM280000002/'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export const BAndH: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.bhphotovideo.com/c/product/1452927-REG/evga_06g_p4_2063_kr_geforce_rtx_2060_xc.html'
|
url: 'https://www.bhphotovideo.com/c/product/1452927-REG/evga_06g_p4_2063_kr_geforce_rtx_2060_xc.html'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export const BestBuyCa: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.bestbuy.ca/en-ca/product/msi-nvidia-geforce-rtx-2060-super-gaming-x-8gb-gddr6-video-card/14419420?intl=nosplash'
|
url: 'https://www.bestbuy.ca/en-ca/product/msi-nvidia-geforce-rtx-2060-super-gaming-x-8gb-gddr6-video-card/14419420?intl=nosplash'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export const BestBuy: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.bestbuy.com/site/nvidia-geforce-rtx-2060-super-8gb-gddr6-pci-express-graphics-card-black-silver/6361329.p?skuId=6361329&intl=nosplash'
|
url: 'https://www.bestbuy.com/site/nvidia-geforce-rtx-2060-super-8gb-gddr6-pci-express-graphics-card-black-silver/6361329.p?skuId=6361329&intl=nosplash'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export const Evga: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.evga.com/products/product.aspx?pn=06G-P4-2065-KR'
|
url: 'https://www.evga.com/products/product.aspx?pn=06G-P4-2065-KR'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ export function generateLinks(): Link[] {
|
|||||||
if (fe2060SuperId) {
|
if (fe2060SuperId) {
|
||||||
links.push({
|
links.push({
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
openCartAction: generateOpenCartAction(fe2060SuperId, nvidiaLocale, drLocale, 'TEST CARD debug'),
|
openCartAction: generateOpenCartAction(fe2060SuperId, nvidiaLocale, drLocale, 'TEST CARD debug'),
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: digitalRiverStockUrl(fe2060SuperId, drLocale)
|
url: digitalRiverStockUrl(fe2060SuperId, drLocale)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export const MicroCenter: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.microcenter.com/product/618433/evga-geforce-rtx-2060-ko-ultra-overclocked-dual-fan-6gb-gddr6-pcie-30-graphics-card'
|
url: 'https://www.microcenter.com/product/618433/evga-geforce-rtx-2060-ko-ultra-overclocked-dual-fan-6gb-gddr6-pcie-30-graphics-card'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export const NewEggCa: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.newegg.ca/evga-geforce-rtx-2060-06g-p4-2066-kr/p/N82E16814487488'
|
url: 'https://www.newegg.ca/evga-geforce-rtx-2060-06g-p4-2066-kr/p/N82E16814487488'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export const NewEgg: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.newegg.com/evga-geforce-rtx-2060-06g-p4-2066-kr/p/N82E16814487488'
|
url: 'https://www.newegg.com/evga-geforce-rtx-2060-06g-p4-2066-kr/p/N82E16814487488'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export const OfficeDepot: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://www.officedepot.com/a/products/4652239/EVGA-GeForce-RTX-2060-Graphic-Card/'
|
url: 'https://www.officedepot.com/a/products/4652239/EVGA-GeForce-RTX-2060-Graphic-Card/'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export const Zotac: Store = {
|
|||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
brand: 'test:brand',
|
brand: 'test:brand',
|
||||||
model: 'CARD',
|
model: 'test:model',
|
||||||
series: 'test:series',
|
series: 'test:series',
|
||||||
url: 'https://store.zotac.com/zotac-gaming-geforce-rtx-2060-twin-fan-zt-t20600f-10m'
|
url: 'https://store.zotac.com/zotac-gaming-geforce-rtx-2060-twin-fan-zt-t20600f-10m'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user